Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[Q] [DEV] Custom ROM in-place upgrade with new signing key

$
0
0
I'm not positive this is the proper thread, but I could not find a better place. Someone please move it if there is a more appropriate section.

I have recently been experimenting with building ROMs and have run into some issues with upgrades without factory resetting. If I try to flash an upgrade to a ROM (in my case, CyanogenMod 12.1) with an update package built with a different signing key than the currently installed build, the upgrade will always cause a bootloop, regardless of the source code being the same or different.

Is this a security feature?
What causes the upgrade to fail even when the build source code is the same (as in what code or part of the design)?
Is there any way to bypass/override this behavior?

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>