Clean install of new version of Android + Root? - Xperia Z3 Q&A, Help & Troubleshooting

As far as I know, upgrading from OTA or Zip via recovery its not so clean and could give some issues on the newer OS so is there any way to upgrading to 5.1.1 (or 6.0.1 in a future) at the cleanest way (Like flashtool or something like that) and having root at the same time?

You cannot use flashtool and retain root, flashtool can only uses stock system files from sony
If you use a .zip and recovery then you can do a clean install by wiping all caches first. A dirty install is called then when you do not wipe caches first.

you could always upgrade via OTA or through Sony Companion, then after upgrade is completed, perform a factory reset for "clean install"

If you use Sony PCCompanion to update you get a clean install (So no need for the factory reset), but it removes root. The OP wants to retain root.

Related

[Q] Restoring for Update

Hello. I am reverting my XT1032 to stock in preparation for the update. Does the recovery need to be resotred to stock as well or can I leave the clockworkmod recovery on?
Thanks
Yes
Stock means all is stock, even the recovery. If you leave unlocked bootloader, you can change back to cwm later.
Stock firmware
Stock recovery
No root
No system apps uninstalled or freezed
Thats what you need to succesfully OTA to Lollipop. :highfive:
Hello
I have my moto G with root and custom recovery, what are the steps to follow to get all way back to stock ?
1. Unroot.
2. Uninstall xposed if you have it
3. Flash stock recovery.
4. Make sure you have the stock ROM installed. (Unlocked bootloader is fine)
5. Initiate ota
will i be able to return to kitkat after upgrading, at any time? no bootloader conflicts, or anything?
Once you upgrade to lollipop you most likely cannot downgrade to KitKat again since the boot loader will not accept it any longer.
skyguy126 said:
1. Unroot.
2. Uninstall xposed if you have it
3. Flash stock recovery.
4. Make sure you have the stock ROM installed. (Unlocked bootloader is fine)
5. Initiate ota
Click to expand...
Click to collapse
Regarding this guide it isn't necessary to have the rom 'unmodified' i removed a few system apps from /system. is this causing a failure as well or do i have not all XPosed removed properly ?
Thanks for reply.
Do i have any alternative option than complete reflash the stock rom ?
If you removed some system apps there is a slight chance it will fail. Also I forgot to mention to remove xposed before unrooting because uninstalling xposed requires root.
Well then I think it fails because of the removed sys apps.
Will it be a chance to flash the ota using sideload? Or will this attempt fail also?
If I don't have any option I need to start over with the device when I decide to upgrade to lollipop. But at the moment it is not yet available in Germany.
I only have a due update which might increase the SD card compatibility.

[Q] [D6643]How to downgrade from 23.4.A.1.232?

How to downgrade from this version?? i commited an error on upgrading it via OTA, and, i lost my root, XZRecovery and all.. i do the search on Z3/general but cant find anything talking about D6643.. only for the other models.. can someone help me!? :/
If you really need to downgrade, Google the rom u want, just flash it, and you're done, its always there in Google
When you have root and recovery you NEVER do an ota update!
What you can try:
Flash rootable firmware as you had before with flashtool, download it via xperifirm. Then root and install recovery. After that install the rom you have been on before ota. When you do this all and never wipe data partition, you maybe keep your files and apps.
When flashing rootable ftf you must uncheck data wipe. Dalvik and cache can be wiped. Once i did this on my z1 and z3 and it worked. Should work for you too because the whole xperia plattform works mostly the same.

XT1562 upgrade to Marshmallow without losing data

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.

OTA Updates after unrooting?

I plan on rooting my s7 flat, but im wondering if its possible to get ota updates if i unroot. Possible?
You won't get them while rooted, so unrooting might be required to update, but it's unlikely Knox won't still notice.
Incase unrooting doesn't work:
Unfortunately, flashing the update with Odin typically prompts the stock recovery to factory reset( for "security") .
Thus, the upgrade process would be:
Backup all apps using ADB or Titanium.
Download firmware from a site like SamMobile
Flash new firmware with Odin.
Phone will reset at first boot.
Setup phone accounts and settings.
Reroot / flash recovery, mods etc
Restore apps.
It's not the most convenient way, nor does it allow delta updates, but it's certainly the cleanest.
Note this only applies to stock ROMs. Custom ROMs won't have nearly as many issues and likely have their own update instructions on their threads.

Installing system update with TWRP

So I decided to update my phone ot the latest version, but since I have TWRP installed when I downloading the update it reboots to TWRP, thinks for a second and then goes to the main menu. Never does the install. Anyway I can go about installing it or do I need to install the stock recovery? If so does anyone have a link to the stock recovery.
You need to be stock (not rooted) to take updates. You'll have to flash the phone back to the original firmware, take the updates and then decide if you're going to reroot. BTW just unroot in will not trick the system. You need to have an untouched system partition. If you unroot you'll still have a marked system. Only ruu can undo it.
If you are s-off or unlocked bootloader then don't change them. It's not necessary. If you have manually locked or relocked your bootloader I recommend unlocking it before you flash the firmware to avoid any problems later on.
Find the ruu in zip format and go from there.

Categories

Resources