Since we have a systemless root method would it be possible to root a stock rom systemless and reflash the stock rom for working OTAs?
The firmware flash just flashes the system partition, thats why former systemroots got removed when the stock firmware was reflashed. But when usu is located in /data it doesnt get overwritten, so should stay intakt after the reflash of the firmware or am I mistaken?
Related
I've got a Nexus 5 on Lollipop that's completely stock except for running franco kernel. Haven't touched it for awhile. If I check and there are any OTA updates available, will they install successfully?
No, you must have stock kernel, stock recovery, and unroot
micens said:
No, you must have stock kernel, stock recovery, and unroot
Click to expand...
Click to collapse
Thanks.
Is there a way to manually flash the OTA, or to install it one way or another, without having to revert to stock kernel and unroot and then re-root and re-install franco again?
Edit flash-all file and remove "-w".
Save the file and flash it from fastboot
.psd said:
Is there a way to manually flash the OTA, or to install it one way or another, without having to revert to stock kernel and unroot and then re-root and re-install franco again?
Click to expand...
Click to collapse
As of Lollipop, the OTA method has changed and instead compares the checksum/hash of the entire /system partition, as well as the boot and recovery partitions. The "old" pre-Lollipop method was to check the specific files it cares about rather than sum of the entire partition.
The best way for you to update is download the factory image, extract it then flash the boot and system images using fastboot while your device is booted into the bootloader. You may also want to flash the new bootloader and/or radio. Don't flash the userdata image as it will wipe your /data partition (which the internal storage also resides in), unless that is something you want.
After that, boot into your custom recovery and simply flash the latest SuperSU and if you want to, a Lollipop version of the kernel you want. Files required by SuperSU/root access reside in the /system partition, which prevents an OTA update, and is overwritten when flashing a factory system image. A KitKat kernel won't boot on Lollipop, and a custom kernel also prevents OTA.
OTAs are really only for those who have absolutely no software modifications (and are not informed enough to be able to flash manually) and is honestly the worst way of updating.
These files will restore stock recovery and cache for those who have rooted with CF Auto Root, so that you can return those partitions to factory status for an OTA. Remember that any changes to /system in Lollipop nullifies OTA capability so you also need to undo any changes you've made, restore any bloat, unroot from within SuperSU, etc. For those who used CF and have done minimal mods or changes, this is merely a faster (both in terms of download time and flash time) way of restoring recovery and cache (which are modified when you flash CF Auto Root) than flashing the full stock tar. If you've deleted a whole bunch of bloat, installed Xposed, flashed mods in recovery, etc. then you probably just wanna use the full tar
Flash via Odin PDA/AP slot.
OC9:
OCF:
https://www.androidfilehost.com/?fid=24052804347756901
OE2:
https://www.androidfilehost.com/?fid=24052804347757697
Is there a faster way to update the firmware without flashing KK, rooting and then reflashing the prerooted new firmware? Is this possible without loss of data?
Yes, just flash a lollipop FTF using flashtool.
If you want to keep root, just install recovery and flash a pre-rooted lollipop zip.
If you are currently not rooted and want root after update then you need to downgrade, root, install recovery and flash a pre-rooted lollipop zip
thanks!
I flashed TWRP recovery and rooted my Moto g3 XT1550 but im on stock ROM itself. Now I got a OTA notification of Marshmallow update.
So, can I download the OTA & install it without unrooting or flashing stock recovery?
[email protected] said:
I flashed TWRP recovery and rooted my Moto g3 XT1550 but im on stock ROM itself. Now I got a OTA notification of Marshmallow update.
So, can I download the OTA & install it without unrooting or flashing stock recovery?
Click to expand...
Click to collapse
No! There should be no confusion here, the ONLY possible modification that can be done to your phone where you can accept a OTA update is an unlocked bootloader, NOTHING else. No Root, no TWRP, no Xposed... Your software status should show official and if the /system partition has been modified it will fail. PERIOD.
You cannot install an OTA without returning to PURE stock, not just unrooting and flashing stock recovery, you need to have an unmodified /system partition (root and then unroot is still a modified /system partition). Flash the factory image that matches your current software, then take the OTA, and flash TWRP and root again.
Hello,
I have the Xt1562 Indian version running 5.1.1 - which I have rooted and also have TWRP as recovery.
The OTA upgrade gets downloaded but fails. I then reverted to stock recovery but still the OTA upgrade fails.
How can I upgrade to Marshmallow on this without losing my data or apps or contacts?
Thanks,
Padam
Ota fails since you're rooted. You can try TWRP flashable MM rom and dirty flash it without wiping /data
Ota is possible only if you are in stock firmware and stock recovery. Fast boot flash stock firmware and get ota or directly flash updated firmware. Githup has all stock firmware files.
Never use stock update via TWRP , you may brick your device.
During giving fast boot commands , skip fast boot erase user data will not wipe data , but while doing this I have some FC s. Otherwise backup all your files , apps data and flash firmware.