[Q] Upgrading to lollipop from pre-rooted kitkat - Xperia Z3 Compact Q&A, Help & Troubleshooting

Hey guys,
Just a quick question.
Back in february 2015 I did everything in the How-to: root, keep and backup DRM keys, etc. [KitKat/Lollipops] guide on my xperia z3c d5803 (downgraded firmware, applied root via exploit, backed up my TA partition, did not unlock bootloader) and then installed latest XZDualRecovery which was v2.8.2 and latest pre-rooted firmware availiable by then which was kitkat 23.0.1.A.5.77.
I would like to upgrade both XZDualRecovery and my firmware to lollipop so, are these steps okay?
1. Boot to recovery, (I like TWRP) and make a nandroid backup
2. Copy sdcard contents to a safe place
3. From http://nut.xperia-files.com/, Download Z3C-lockeddualrecovery2.8.19-RELEASE.flashable.zip
4. Also download latest pre-rooted lollipop flashable as per this same updated guide which is (fw 23.1.A.0.690 (Android 5.0 March 2015) at https://mega.co.nz/#!Y8tTQZgQ!yV5L2u1iEZvpURZVfkaKTdzSEYAdEklmMdSl3EZ6t18 )
5. Also download latest stock ftf firmware as per the guide, from (https://mega.co.nz/#!YYNFwY5a!cHuAuwuHmYW4FRVTNyfWsxn0Cmu9ljWHBHfixlZRW3Q)
5. Delete all files on sdcard (I like a clean install)
6. Put both dualrecovery and pre-rooted flashable zip files on sdcard
7. Using TWRP, flash XZDualRecovery 2.8.18
8. Reboot, make sure it works?
9. Using TWRP, do a normal wipe (in TWRP its called also "factory reset") (Wipe only data, cache and dalvik)
10. Reboot, make sure it works?
11. Then do the last steps from the same guide ( How-to: root, keep and backup DRM keys, etc. [KitKat/Lollipops]) from step 40
Is this okay?
Thanks a lot guys!

Related

[ROM] [STOCK] [SO-02E] Rooted 10.3.1.B.1.1 (w/XZDualRecovery 2.7.123-BETA installed)

This ROM is for on the SO-02E (NTT docomo) variant of the Xperia Z and is fully stock and rooted with all the docomo bloatware. No default files have been tweaked in anyway. This ROM is still 4.2.2, docomo needs to hurry up and upgrade to!!!
I made this ROM using the [NUT]'s guide.
I tested this on my SO-02E and everything seem to works.
No reboot issue when mounting the system as R/W and no issues booting into recovery.
No data should be lost and all apps are retained when upgrading so you should be good - but backup your data just in case.
(NOTE: This ROM includes the older NDRUtils 1.0 because the newer version doesn't work so don't upgrade. I've contacted the developer and hopefully he can fix it)
Prerequisite:
Rooted 10.1.D.0.343 or 10.3.1.B.0.256
XZDualRecovery Installed
Installation:
1. Copy SO-02E_10.3.1.B.1.1.flashable_v2.zip to your SDCard
2. Boot into recovery (I use TWRP)
3. Flash SO-02E_10.3.1.B.1.1.flashable_v2.zip
4. Wipe cache/dalvik
5. Power off
6. Flash SO-02E_10.3.1.B.1.1_stripped.ftf with Flashtool (make sure nothing is ticked)
7. Reboot (may take some time upon first boot so don’t freak out!)
Profit!!!
Stock Odexed Files:
SO-02E_10.3.1.B.1.1_stripped.ftf (MD5 = e67da64855d92a882270a4f816f215f8)
Download
SO-02E_10.3.1.B.1.1.flashable_v2.zip (MD5 = df5d5605682c64c0dade5aa526a73d27)
Download
Warning!!!
If you experience a bootloop or if it get’s stuck on the splash screen, then boot into TWRP and do a factory restore (you will lose everything). It may take up to 10 minutes to boot up so be patient.
Any chance root version without unlocking the bootloader?
renzu said:
Any chance root version without unlocking the bootloader?
Click to expand...
Click to collapse
This is for the unlocked bootloader - specifically this is for the SO-02E which the bootloader can't be unlocked. One caveat is you already have to be rooted and have XZDualRecovery installed before install this ROM.
Try using Easy Root Tool for various Xperia devices and see if it works.

Assistance upgrading stubborn software to latest stock

Currently on 4.4.2 and looking to upgrade to the latest rootable software. Could never get Bootstrap or any of the others. Thanks.
scjsean said:
Currently on 4.4.2 and looking to upgrade to the latest rootable software. Could never get Bootstrap or any of the others. Thanks.
Click to expand...
Click to collapse
1. Install towelroot (https://towelroot.com) and root your phone. Download supersu and busybox from playstore and install them. Download and install safestrap (http://forum.xda-developers.com/devdb/project/?id=2054#downloads)
2. Download the pre-rooted OC2 stock rom (lollipop) from here: https://mega.nz/#!qc8QHI6T!_8x88BL-ivTM0yj5uhbmNITernym8HMr2VKJJZB9JeE
3. Download SuperSu zip from here:http://forum.xda-developers.com/showthread.php?t=1538053
4. Download the OC1 Patch firmware from here: https://mega.nz/#!bMlBnSyZ!5v1-_p57s7es95Oj33n1mQ9EseDastIegMcT0MEu5XY
5. Download the OC2 Patch firmware from here: https://mega.nz/#!iF8xBS6Z!XQNgLscWM5SOOddlkunQYBCQp2QO03raEMN91sF1g34
6. Download Xposed framework (optional) from here: http://forum.xda-developers.com/attachment.php?attachmentid=3454433&d=1440761913
7. Download OC1/OC2 fixes/patches from here (download only the ones you think you'll need): http://forum.xda-developers.com/note-3-att/development/8-24-15-t3185574
8. Put all these zips in a single folder either in your internal storage or on your extSD card.
9. Run and install safestrap and reboot to recovery.
10. In the recovery, go to advanced wipe and factory reset your device.
11. Flash the zips that you've downloaded in steps 7-12 in the following order:-
Flash main ROM
Flash SuperSU
Flash Xposed (optional)
Flash OC1 patch firmware
Flash OC2 patch firmware
Flash OC2 Addons/Fixes
Wipe Dalvik Cache
Reboot
17. It'll take a while to boot since the ROM is de-odexed, give it 15 mins or so, and when it boots, you'll have a rooted OC2 lollipop firmware. Enjoy!
sam.stalker1608 said:
1. Install towelroot (https://towelroot.com) and root your phone. Download supersu and busybox from playstore and install them. Download and install safestrap (http://forum.xda-developers.com/devd...ct/dl/?id=7216)
2. Download the pre-rooted OC2 stock rom (lollipop) from here: https://mega.nz/#!qc8QHI6T!_8x88BL-i...HMr2VKJJZB9JeE
3. Download SuperSu zip from here: http://forum.xda-developers.com/atta...5&d=1442612185
4. Download the OC1 Patch firmware from here: https://mega.nz/#!fQ8nSbbA!qzw9IzKf6...Yv-AV4NsjyuiT8
5. Download the OC2 Patch firmware from here: https://mega.nz/#!iF8xBS6Z!XQNgLscWM...3raEMN91sF1g34
6. Download Xposed framework (optional) from here: http://forum.xda-developers.com/atta...3&d=1440761913
7. Download OC1/OC2 fixes/patches from here (download only the ones you think you'll need): http://forum.xda-developers.com/note...24-15-t3185574
8. Put all these zips in a single folder either in your internal storage or on your extSD card.
9. Run and install safestrap and reboot to recovery.
10. In the recovery, go to advanced wipe and factory reset your device.
11. Flash the zips that you've downloaded in steps 7-12 in the following order:-
Flash main ROM
Flash SuperSU
Flash Xposed (optional)
Flash OC1 patch firmware
Flash OC2 patch firmware
Flash OC2 Addons/Fixes
Wipe Dalvik Cache
Reboot
17. It'll take a while to boot since the ROM is de-odexed, give it 15 mins or so, and when it boots, you'll have a rooted OC2 lollipop firmware. Enjoy!
Click to expand...
Click to collapse
Rom says I need a key on Megaupload.
Well it seems that I am unable to get the stock rom. Weird that I can't find it anywhere.
scjsean said:
Well it seems that I am unable to get the stock rom. Weird that I can't find it anywhere.
Click to expand...
Click to collapse
Sorry, all links updated!
cheers! Have you done this personally. There is an option to restore to a given backup and install twrp. Worth it?
sam.stalker1608 said:
Sorry, all links updated!
Click to expand...
Click to collapse
Everytime I flash it with stock recovery it somehow boots into KitKat again and factory resets the phone.
scjsean said:
Everytime I flash it with stock recovery it somehow boots into KitKat again and factory resets the phone.
Click to expand...
Click to collapse
The recovery I meant was safestrap recovery (not the stock recovery), since you cannot flash custom roms using the stock recovery.

[Q] how to switch from lollipop to marshmallow and back with TWRP ?

Hi,
i have a xt1068 with lollipop rooted and with TWRP ver. 22.21.28.titan_retaildsds.retaildsdsall.en.03.reteu
i want to try marshmallow and if not satisfied go back to lollipop.
needing a TWRP flashable marshmallow!
and after... can i make a TWRP backup of my current system, flash the TWRP version of marshmallow (if exist),
and if i want go back to lollipop flashing my backup previously created?
no one? please!
-Turn off device and boot into fastboot mode (Vol. Down + PWR)
-Navigate to recovery from fastboot menu with Vol. Down, then press Vol. Up to select it.
-Once in TWRP: -make a full backup of your device, Tap backup and check 'boot', 'data', 'cache' & 'system'
-make sure and set the backup storage as your SDCard or OTG-USB (if present)
-Enable compression for backup (optional)
Click to expand...
Click to collapse
You say your device is rooted, which means your /system partition is modified and you have a custom recovery installed, thus installing marshmallow via OTA update is not an option for you. Unless you first re-flash stock Lollipop, which is a hassle. As far as I know there is no stock marshmallow flashable zip for TWRP, so your options are:
-Flash stock Marshmallow via fastboot.
OR
-Get someone with an XT1068 to make a clean TWRP backup of stock marshmallow.
Things to note:
-You will have to re-flash TWRP after flashing stock marshmallow via fastboot unless you exclude 'recovery.img' while flashing
-If this is the first time that you're upgrading to marshmallow, that means that your bootloader will be upgraded....and can not be downgraded otherwise you'll hardbrick your device.
-From that point onward you're gonna want to avoid OTA update for marshmallow if you decide to go back to lollipop, otherwise possible hardbrick.
Click to expand...
Click to collapse
Apart from that, if you dislike marshmallow then just do a factory reset via TWRP (clear ART/Dalvik cache, cache & data) then do a restore of the lollipop backup you did.
Bonus TIP: when you flash marshmallow to try it out, you can make a full backup of marshmallow via TWRP then switch to and from lollipop and marshmallow without a PC......unless you screw up your phone in some other way. Good Luck!!!
parsifal968 said:
Hi,
i have a xt1068 with lollipop rooted and with TWRP ver. 22.21.28.titan_retaildsds.retaildsdsall.en.03.reteu
i want to try marshmallow and if not satisfied go back to lollipop.
needing a TWRP flashable marshmallow!
and after... can i make a TWRP backup of my current system, flash the TWRP version of marshmallow (if exist),
and if i want go back to lollipop flashing my backup previously created?
Click to expand...
Click to collapse
Flash cm 13 mm ROM first.. That'll upgrade your boot loader then flash another mm ROM (optional) . going back to lollipop is as easy as flashing a lollipop rom via twrp

Downgrade OxygenOS from 3.5.2 to 3.2.6 with Root / Xposed / Debloat

So I downgraded my Oneplus 3 from 3.5.2 to 3.2.6 and this was kind of a painful process, so I decided to share my experience with you.
If you follow this guide you will successfully downgrade from the latest Community Build to the newly released stable.
Note: Just because this worked for me, doesn't mean that it will work for you! Use this guide on your own risk and always use backups!
You'll need:
- Oneplus with OOS 3.5.2 and modified TWRP
- OxygenOS 3.2.6 Full ROM
- Latest official TWRP
- AndroidSDKSlim (needs Oneplus 3 USB drivers installed)
- SuperSU 2.78 SR1
- Xposed Framework (optional)
- Debloat Script (optional)
Downgrade:
Before you start, please create a COMPLETE backup of all your data.
You will factory reset your phone during the process.
1. Copy OOS 3.2.6 Full ROM, SuperSU, Xposed, Debloat Script to your Oneplus
2. Flash modified TWRP if you haven't already
3. Boot into modified TWRP
4. Select Wipe -> Advanced Wipe -> Select all but internal storage -> Swipe to Wipe
5. Install OOS 3.2.6 Full ROM
6. Reboot into system and use the installation wizard to setup your phone (do not setup fingerprints, or any device PIN)
7. Reboot into bootloader
8. Connect your phone to a PC/Notebook
9. Extract AndroidSDKSlim to your Desktop and copy twrp-3.0.2-1-oneplus3.img into \AndroidSDKSlim\android-sdk-windows\platform-tools
10. Run CMD with admin rights and navigate to \AndroidSDKSlim\android-sdk-windows\platform-tools
11. Run "fastboot flash recovery twrp-3.0.2-1-oneplus3.img" to revert to official TWRP recovery
12. Disconnect your phone and boot into recovery
13. Dirty flash OOS 3.2.6 again (this might sound stupid but it's mandatory)
14. Still in recovery, flash SuperSU, Xposed and Debloat Script
15. Wipe Dalvik & Cache
16. Reboot into system and setup your phone
Thanks for your guide !
Can you just please detail how to revert back to a custom ROM like RR or Nuclear when we come from Oxygen OS 3.5.2 community build ?
darkbash said:
Thanks for your guide !
Can you just please detail how to revert back to a custom ROM like RR or Nuclear when we come from Oxygen OS 3.5.2 community build ?
Click to expand...
Click to collapse
You're welcome.
Unfortunately, I can't provide guides for procedures I never went through.
But I asume that you could just flash any Custom ROM after you completely wiped your phone in step 4. So instead of flashing OOS 3.2.6 afterwards, just flash a custom ROM. Be sure that you have all zips you need on your internal storage and a backup to revert back to, if anything goes wrong. Otherwise you will have to use ADB sideload to install a ROM.
Ok, so I have a Modified TWRP installed already. Question is If I want to flash other ROMS after wiping system,dalvik/cache,data etc. Do I have to Flash official TWRP first followed by firmware,ROM, etc?
or firmware first then ROM and lastly official TWRP?
it's quite confusing.
I made a mistake and I installed the modified recovery installed the 3.5.2 rom and before booting I decided to restore my nand backup so I flashed the official twrp recovery and now I can't go to recovery anymore and the phone doesn't boot.
I imagine I have to sideload the modified twrp again but how do I do that? How do I reboot to bootloader ?
This is the only sign of life
gigeaky said:
I made a mistake and I installed the modified recovery installed the 3.5.2 rom and before booting I decided to restore my nand backup so I flashed the official twrp recovery and now I can't go to recovery anymore and the phone doesn't boot.
I imagine I have to sideload the modified twrp again but how do I do that? How do I reboot to bootloader ?
This is the only sign of life
Click to expand...
Click to collapse
Flash modified TWRP, and the recovery will return. then, follow the guide. it happened to me too.
darkbash said:
Thanks for your guide !
Can you just please detail how to revert back to a custom ROM like RR or Nuclear when we come from Oxygen OS 3.5.2 community build ?
Click to expand...
Click to collapse
First flash modified TWRP than install official 3.2.4 than flash CM ROM or custom ROM
uniQ191 said:
So I downgraded my Oneplus 3 from 3.5.2 to 3.2.6 and this was kind of a painful process, so I decided to share my experience with you.
If you follow this guide you will successfully downgrade from the latest Community Build to the newly released stable.
Note: Just because this worked for me, doesn't mean that it will work for you! Use this guide on your own risk and always use backups!
You'll need:
- Oneplus with OOS 3.5.2 and modified TWRP
- OxygenOS 3.2.6 Full ROM
- Latest official TWRP
- AndroidSDKSlim (needs Oneplus 3 USB drivers installed)
- SuperSU 2.78 SR1
- Xposed Framework (optional)
- Debloat Script (optional)
Downgrade:
Before you start, please create a COMPLETE backup of all your data.
You will factory reset your phone during the process.
1. Copy OOS 3.2.6 Full ROM, SuperSU, Xposed, Debloat Script to your Oneplus
2. Flash modified TWRP if you haven't already
3. Boot into modified TWRP
4. Select Wipe -> Advanced Wipe -> Select all but internal storage -> Swipe to Wipe
5. Install OOS 3.2.6 Full ROM
6. Reboot into system and use the installation wizard to setup your phone (do not setup fingerprints, or any device PIN)
7. Reboot into bootloader
8. Connect your phone to a PC/Notebook
9. Extract AndroidSDKSlim to your Desktop and copy twrp-3.0.2-1-oneplus3.img into \AndroidSDKSlim\android-sdk-windows\platform-tools
10. Run CMD with admin rights and navigate to \AndroidSDKSlim\android-sdk-windows\platform-tools
11. Run "fastboot flash recovery twrp-3.0.2-1-oneplus3.img" to revert to official TWRP recovery
12. Disconnect your phone and boot into recovery
13. Dirty flash OOS 3.2.6 again (this might sound stupid but it's mandatory)
14. Still in recovery, flash SuperSU, Xposed and Debloat Script
15. Wipe Dalvik & Cache
16. Reboot into system and setup your phone
Click to expand...
Click to collapse
worked like magic. Thankyou for this education. it didnt work when i followed other folks. Much appreciated.
So it seems I have booted with 3.5.2 and modified recovery. Now my question is: can I reboot in recovery at step 7 and install the original twrp recovery? Or can I use flashify? As I don't have access to a pc
I did ok but cant use adaway do you have a fix for it?
Enviado do meu ONEPLUS A3003 através de Tapatalk
I'm trying to return to 3.2.6 after trying 3.5.2.
However, after flashing and booting 3.2.6, I boot into fastboot mode and the official TWRP refuses to flash. It reports that it's failed and then I'm left with no recovery until I reflash the modified TWRP.
I could try restoring my Nandroid backup of 3.2.6 with the modified TWRP, but I'd prefer to return to the official TWRP before doing this.
Any suggestions?
Edit: Fixed it. I downloaded the official TWRP again and it flashed. The first download must have been corrupted.
I followed a different method and successfully downgraded today to a former nandroid. I was rooted without xposed.
3.2.6 to 3.5.2 dirty flash
- installed modded twrp
- performed backup on 3.2.6
- installed modded 3.5.2 (the only that flashes in twrp)
- installed root SR1
- wiped caches only
- reboot
3.5.2 to 3.2.6 restore
- downloaded 3.2.6
- boot to modded twrp, wipe both caches, data, system
- flashed 3.2.6 stock and root SR1
- restored 3.2.6
- wiped caches
- reboot
- enjoying my LTE again
Without first installing stock, after a restore my phone was boot locking right after the oneplus white logo (capacitive buttons would light up, but it would not boot to red logo). Had to press vol down and power to force it to boot menu to select recovery and get back to twrp
Hope this helps someone, it's a bit easier than swapping twrps and no need to boot up/flash 3.2.x twice.
So if I am on the CB and want to go back to 3.2.6
I can flash 3.2.6 with the modded TWRP
Then flash Official TWRP and boot?
If I have official recovery, no root, and locked bootloader, can I downgrade from 3.5.3 to 3.2.6 without any problems, just by sideloading the zip in ADB? Thankss
popab said:
If I have official recovery, no root, and locked bootloader, can I downgrade from 3.5.3 to 3.2.6 without any problems, just by sideloading the zip in ADB? Thankss
Click to expand...
Click to collapse
i would also like to know this please
bigup7 said:
i would also like to know this please
Click to expand...
Click to collapse
I did it and it does work perfectly. Just make sure to wipe data from recovery after flashing.
I was on Comunity Build v.3.5.4. I want it back FreeDom v.1.6.
I did:
1. Flash Twrp-3.0.2-19-oneplus3.img.zip. Somebody sugested original twrp 3.0.2.1 from twrp site. For me did NOT work. Phone not booting in recovery with 3021.
2. Advanced wipe. Wipe dalvik cache/cache/system/data
3. Flash Freedom v.1.6. Clean Flash it's safer & better.
Done. System works. Recovery works.
null0seven said:
I was on Comunity Build v.3.5.4. I want it back FreeDom v.1.6.
I did:
1. Flash Twrp-3.0.2-19-oneplus3.img.zip. Somebody sugested original twrp 3.0.2.1 from twrp site. For me did NOT work. Phone not booting in recovery with 3021.
2. Advanced wipe. Wipe dalvik cache/cache/system/data
3. Flash Freedom v.1.6. Clean Flash it's safer & better.
Done. System works. Recovery works.
Click to expand...
Click to collapse
I am on CB Freddom os
I want to go back either to stock or to op3lite.
I cant reboot to recovery.
But adb works yet.
What to do plz suggest.
Sent from my ONEPLUS A3003 using Tapatalk
1. If system don't boot. Reboot to fastboot.
- Flash recovery.img. If PC don't see youre phone option 2.
2. If system boots, open phone like normal.
- Extract recovery img. Put it on the TWRP file on phone sd card.
- Download Flashify from play. Open it, flash img of recovery. Open recovery to chech if it works.
Try with both recovery (3.0.2.0 or modified 3.0.2.-19). One of those will work.
Im getting system partition has unexpected contents after OTA update after installing step 5 ????

To shift from OOS 3.5.4 CB to any custom ROM. (Noobs guide)

Perquisites :
1) OP3 running OOS 3.5.x
2) Required Firmware (LINK : Here )
3) Custom ROM and Gapps
4) Titanium Backup (Optional for people who want to keep app data and apps)
5) Official TWRP (LINK : Here ) and unofficial TWRP (Modified)(LINK : Here)
Steps to Follow :
1. Install titanium backup pro
2. Backup user app+data
3. Create update.zip
4. Boot into TWRP (modified) and make a backup of current rom
5. Wipe system , data , cache and dalvik cache
6. Install 3.2.6/3.2.7 firmware (Android N Based)* and 3.2.4 firmware (Android MM) or whichever firmware the dev mentioned
7. *Optional* Install official TWRP (Can do it from install image file from modified TWRP) Boot into official TWRP
8. *Optional* Boot into official TWRP
9. Flash rom + gapps
10. Boot into system and set up normally
11. Enable root (example Tesla N doesn't include root so move to next step)
12. Boot into recovery and flash supersu 2.78 if rom not rooted.
13. Boot into system n check if root working
14. Boot into twrp install update.zip
15. Boot and open titanium backup app and allow root
16. Reboot and wait for sometime and let titanium backup restore app data.
17. Done.
*Update : CM14.1 Builds after 02/11/16 running Stock kernel work with 3.5.5 firmware+modem. Hence you can flash CM14.1 directly after wiping system,data,cache on OOS 3.5.5 .
*Optional* - Modified TWRP works fine with all ROMs
Any Questions ? Feel free to ask ! Like if I helped !
[Reserve]
Why flashing official twrp rather than keeping the unofficial one, more up to date ?
ManuBBXX said:
Why flashing official twrp rather than keeping the unofficial one, more up to date ?
Click to expand...
Click to collapse
I had few problems I face with modified TWRP not booting up and stuff... So had used Official TWRP and works fine as long as I'm on custom ROM ( All the time ).
ManuBBXX said:
Why flashing official twrp rather than keeping the unofficial one, more up to date ?
Click to expand...
Click to collapse
Agree, I never reverted to official twrp once i flashed modified twrp(3.0.2.19) when 3.5.2 released.
I flashed several roms(H2o, CM13,14,14.1, Oos, Miui), via modified twrp never had any problems.

Categories

Resources