xposed and custom recovery worked lollipop backup - Xperia Z3 Compact Android Development

z3c_23.1.A.0.690_xposed_deodex_rooted_backup
my backup only for UL bootloader D5803..xposed framework is working.dont bootlop device restart..TWRP recovery working..( androidplus v50 kernel included)
backup file copy TWRP/backup folder than go to restore choose downloaded backup file...
reboot...
sorry for my engilish language...
https://.ega.co.nz/#!op0GibzJ!L3QxbGhcTWcrdO5Fk8h8vepL2KBXqwdFHHZYLbEWvGY
This backups Language is Turkish.. Please Choose Language after install backup.

gursoft41 said:
z3c_23.1.A.0.690_xposed_deodex_rooted_backup
my backup only for D5803..xposed framework is working.dont bootlop device restart..TWRP recovery working..( androidplus v50 kernel included)
backup file copy TWRP/backup folder than go to restore choose downloaded backup file...
reboot...
sorry for my engilish language...
https://mega.co.nz/#!op0GibzJ!L3QxbGhcTWcrdO5Fk8h8vepL2KBXqwdFHHZYLbEWvGY
Click to expand...
Click to collapse
Just to make clear everyone do not try this with LOCKED BOOTLOADER as it will not work.
Sent from my D5803 using XDA Premium HD app

will this work?
Im on .77 locked bootloader. Can i just unlock my bootloader and restore your backup? Should i now have lollipop and with root and recovery and working xposed?

the Backup-TA doesent find the file after i put it in the backup folder folder:/

what about LB ?

QUOTE=erico458i;59794826]Im on .77 locked bootloader. Can i just unlock my bootloader and restore your backup? Should i now have lollipop and with root and recovery and working xposed?[/QUOTE]
Yes, Xposed framework and custom recovery ( twrp) working..
No problem. But backup your device TA backup before unlock bootloader..

gursoft41 said:
QUOTE=erico458i;59794826]Im on .77 locked bootloader. Can i just unlock my bootloader and restore your backup? Should i now have lollipop and with root and recovery and working xposed?
Click to expand...
Click to collapse
Yes, Xposed framework and custom recovery ( twrp) working..
No problem. But backup your device TA backup before unlock bootloader..[/QUOTE]
Haven't looked in unlocking my bootloader much since I already have root/TWRP/KK but with having working recovery and Lollipop looking iffy at best staying locked I think it's time to unlock.
Does unlocking the bootloader wipe the device? If so at that point do I need to go through the steps to root KK again?
I have my TA backed up already so that's done. So once unlocked I can boot into TWRP restore this backup and be rooted/LP/working TWRP, then need to restore the TA backup which will lock the bootloader again if I'm correct?

FSRBIKER said:
Yes, Xposed framework and custom recovery ( twrp) working..
No problem. But backup your device TA backup before unlock bootloader..
Click to expand...
Click to collapse
Haven't looked in unlocking my bootloader much since I already have root/TWRP/KK but with having working recovery and Lollipop looking iffy at best staying locked I think it's time to unlock.
Does unlocking the bootloader wipe the device? If so at that point do I need to go through the steps to root KK again?
I have my TA backed up already so that's done. So once unlocked I can boot into TWRP restore this backup and be rooted/LP/working TWRP, then need to restore the TA backup which will lock the bootloader again if I'm correct?[/QUOTE]
no dont nedeed TA bacup than restore...before unlock bootloader one time bacup TA and when you want locked bootloader install your TA backup..

Teșekkurler @gursoft41 for the effort. Your ROM was the first one that didn't give me the headache with the home button making my screen black, BUT on this one the back camera is not working. I restored it twice, and the second time the first thing that I've tried was the camera, but there is no preview on the back camera. The rest of the interface is there. And the front one is working, but as soon as I try the back one there is no preview. Dead.
Could you please confirm that it is working for you?

I Tested again back and front camera both camera is working..

Hi.How can I install your backup?Allready have lollipop,rooted,unlocked bootloader so what app I should use to install?

gunit50 said:
Hi.How can I install your backup?Allready have lollipop,rooted,unlocked bootloader so what app I should use to install?
Click to expand...
Click to collapse
Flash the compatible andropluskernel with recovery, then paste the downloaded file in your TWRP backup folder and restore the backup in the recovery.

2mal16 said:
Flash the compatible andropluskernel with recovery, then paste the downloaded file in your TWRP backup folder and restore the backup in the recovery.
Click to expand...
Click to collapse
Yeah ok I allready have androidplus kernel v50a installed from fastboot but where is twrp?
ps.problem solved!thanks

gursoft41 said:
I Tested again back and front camera both camera is working..
Click to expand...
Click to collapse
Hmm, then I don't know what might be going on there.
Oh, yes, I believe you have left your phone number in Settings in Users section

Could anyone tell me where to put the zip? Putted it in the TWRP folder and nothing

@wuggy It's explained just a couple of messages before on this page
http://forum.xda-developers.com/showpost.php?p=59824758&postcount=12

Will try

Do you have recovery on the phone?

-V-O-Y-A-G-E-R- said:
Do you have recovery on the phone?
Click to expand...
Click to collapse
Yes

Then all you need to do is to put those files you unrared from gursoft41 into TWRP/Backup/Serial_number folder, boot into recovery and Restore the backup.
If you don't have that folder created, go to recovery, go to backup, make a small backup (choose the smallest partition, because of the speed of making the backup) and the recovery will create the appropriate folder for you. Then put those gursoft41's files in that folder and go again into recovery and restore it.
You can delete your backup that you made when you created the needed folder structure.

Related

Some Questions

Current Situation:
-Phone is on KK (version .167)
-Phone is working fine, no problems at all
-Has Locked Bootloader
-Is Missing Recovery
So my questions are:
1) Can I install recovery WITHOUT having to unlock my bootloader or flashing another rom?
If yes, then could you perhaps provide me with the necessary information to do it? (if I need a PC, and where to find the required programms, I will do everything else on my own)
2) Can I take a Nandroid Backup of just the system? (not the apps installed by me)
3) If I have a Nandroid Backup, flash another android version, and then restore the backup, everything should be as if I never flashed anything right?
4) If I take a Nandroid Backup while on locked bootloader, flash a rom, unlock my bootloader, flash a kernel, and then restore my backup, what happens?
Mokiwipeout said:
Current Situation:
-Phone is on KK (version .167)
-Phone is working fine, no problems at all
-Has Locked Bootloader
-Is Missing Recovery
So my questions are:
1) Can I install recovery WITHOUT having to unlock my bootloader or flashing another rom?
If yes, then could you perhaps provide me with the necessary information to do it? (if I need a PC, and where to find the required programms, I will do everything else on my own)
2) Can I take a Nandroid Backup of just the system? (not the apps installed by me)
3) If I have a Nandroid Backup, flash another android version, and then restore the backup, everything should be as if I never flashed anything right?
4) If I take a Nandroid Backup while on locked bootloader, flash a rom, unlock my bootloader, flash a kernel, and then restore my backup, what happens?
Click to expand...
Click to collapse
Mokiwipeout said:
Current Situation:
-Phone is on KK (version .167)
-Phone is working fine, no problems at all
-Has Locked Bootloader
-Is Missing Recovery
So my questions are:
1) Can I install recovery WITHOUT having to unlock my bootloader or flashing another rom?
If yes, then could you perhaps provide me with the necessary information to do it? (if I need a PC, and where to find the required programms, I will do everything else on my own)
Click to expand...
Click to collapse
Yes. This has been asked and answered. There is a search button to assist in asking siple thing. There is also google.
1. Root with community root kit, towelroot or king root. Install recovery image. Google twrp and it'll tell you how to install with dd.
Mokiwipeout said:
2) Can I take a Nandroid Backup of just the system? (not the apps installed by me)
Click to expand...
Click to collapse
Not really. You can take a complete backup and restore the system partition only though. Look in advanced restore of recovery. This will only recover the system partition and not the apps you install (assuming you don't install things on the system partition).
Mokiwipeout said:
3) If I have a Nandroid Backup, flash another android version, and then restore the backup, everything should be as if I never flashed anything right?
Click to expand...
Click to collapse
Yes depending on what you restore and what you wipe. E.g. If you don't wipe data you may get some interesting things like force closes or boatloads.
Mokiwipeout said:
4) If I take a Nandroid Backup while on locked bootloader, flash a rom, unlock my bootloader, flash a kernel, and then restore my backup, what happens?
Click to expand...
Click to collapse
You'll be on the original rom and kernal with an unlocked bootloader.
Sent from my D6503 using Tapatalk
1- You don't need to unlock the bootloader, there is no reason to do that. You must downgrade to 4.4.2 to install a recovery - A downgrade means you'll loose your apps and settings.Unlocking the bootloader will trigger factory reset too. And yes, you will need a PC or Mac with all the drivers installed (ADB and Flashmode are a must) See NUT's XZDR: http://forum.xda-developers.com/showthread.php?t=2261606 Download the older installer from his official download page and search for Z2-lockeddualrecovery2.8.21-RELEASE.installer.zip . It can temporarily root to install the recovery. After you have a fully functional recovery you can install the SuperSU .zip
2- Use TWRP to make a backup, also you can make a flashable update package by yourself by using PRF Creator: http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904 (You will need this to keep root/recovery on Marshmallow)
3- I usually do clean installs, so I can't answer this one
4-If you unlock the bootloader it will stay unlocked until you manually relock it.
BEWARE! Unlocking the bootloader on a Xperia is more of a downgrade. You will loose proprietary functions like noise cancelling, a bit of camera quality, some GPS functios, official updates, DRM keys...etc. First try to root on 4.4.2 and do a TA Backup (Trim Area) BEFORE tinkering with the bootloader. The DRM keys are unique to every phone, they are not interchangeable and cannot be recovered after you unlock the bootloader. Bootloader unlocking will not unlock the SIM card.
cachanilla86 said:
. You must downgrade to 4.4.2 to install a recovery
Click to expand...
Click to collapse
You should read the question before you answer.
Mokiwipeout said:
Current Situation:
-Phone is on KK (version .167)
Click to expand...
Click to collapse
cachanilla86 said:
. And yes, you will need a PC or Mac with all the drivers installed (ADB and Flashmode are a must)
Click to expand...
Click to collapse
Also not true. Root with towelroot ask (https://towelroot.com/) and install twrp. Can be done from phone 100%.
Dd Install Method (Requires Root):
Download the latest image file (.img) from the download link above. Place it in the root of your /sdcard folder and rename it to twrp.img. Run the following commands via adb shell or a terminal emulator app:
su
dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
Click to expand...
Click to collapse
https://twrp.me/devices/sonyxperiaz2.html
Sent from my D6503 using Tapatalk
Thank you guys for your responses, I know I should have searched before actually asking these questions. Anyways, thanks for saving me from actually having to search!

Confirming everything about rooting... (and a bit more)

I have found many sites with conflicting answers, so please don't tell me "google is your best friend" for my silly/already asked questions...
So first what I have: a 5 month old, non modified M4 aqua (E2306), bought from a Canadian carrier. The firmware version is 26.1.A.3.111 (bootloader locked). My goal is to root my phone when I update to MM (using the method PiSpecialist has posted, I cannot post links), but I haven't done so for the fear of losing TA partition when unlocking BL. There is currently no way to root MM with locked bootloader.
Now, my questions:
1. When I unlock my BL, I will lose the TA partition (DRM keys) of the device. Yet to back these up, I need root access. Should I root my device while it is still on Lollipop? There are ways to root BL Lollipop correct? If so, please link a preferable way to do this.
2. Will I receive OTA updates after rooting my phone? If not, I should download and flash firmware from Xperifirm?
3. Will I lose root when flashing new firmware (e.g. flashing MM to a rooted Lollipop device)?
4. Is it dangerous to flash official firmware to a rooted phone? What is a safe way?
I found that dealing with TA is dangerous and can hard brick a phone. Anybody found a reliable script/tool to do this?
So this is pretty much what I am planning to do so far, if the above is correct:
Root my phone while it is still on Lollipop with a locked bootloader.
Backup my TA partition.
Get MM (from either flashing, or OTA, depending if I still get OTA updates)
Unlock bootloader (as there is no way to root for locked bootloaders in MM)
Root phone while it is on MM (if I don't keep the root after updating from lollipop)
Restore TA partition
DONE!
Not as many questions as I thought.... Any other advice/things to look out for would be appreciated
Theres no way yet to have root in mm /system, it needs to be in kernel and you cant use custom kernel and restore ta. All the questions you did are already answered in forums.
But in case your interested ill tell you what i did step by step to have original TA part with drm and "tunned" but unrooted /system.
Keep in mind that your warranty is void, you will loose all your data and you may brick your device. Messing up with TA partition is serious and dangerous stuff. The following steps are just to tell you what i did.
If you want to do so, do it at your own risk.
1. Clean install LP 3.120 via flashtool wipping user data.
2. Root with rootkit 3.xxx and installed twrp for BL
3. Backup TA
4. Unlock bootloader and install MM fw via flashtool
5. Now with BU installed boot.img and recovery.img
6. Now with root, deleted unwanted apps, installed adblocker, installed xposed, tunned some settings/apps etc.
7. When /system was how i wanted, i made a backup via twrp (data, system, cache).
8. Clean install LP 3.120 again via flashtool, wipping user data.
9. Root via rootkit and installed twrp for BL.
10. Restored TA partition
11. Restored the backup via twrp and SHUTTED DOWN the phone because itll not match with the rest of the fw.
12. Installed MM fw again via flashtool but this time, excluded /system part and DID NOT WIPE user data nor Apps log. (as ive restored MM /data backup before)
13. Started the phone.
Now i have MM with drm, locked bootloader, unrooted, xposed working with few modules, adblocker applied and some other mods. Also i receive updates via sony apps such as whats new. And the low speaker volume seems to be fixed.
thewailer said:
Theres no way yet to have root in mm /system, it needs to be in kernel and you cant use custom kernel and restore ta. All the questions you did are already answered in forums.
But in case your interested ill tell you what i did step by step to have original TA part with drm and "tunned" but unrooted /system.
Keep in mind that your warranty is void, you will loose all your data and you may brick your device. Messing up with TA partition is serious and dangerous stuff. The following steps are just to tell you what i did.
If you want to do so, do it at your own risk.
1. Clean install LP 3.120 via flashtool wipping user data.
2. Root with rootkit 3.xxx and installed twrp for BL
3. Backup TA
4. Unlock bootloader and install MM fw via flashtool
5. Now with BU installed boot.img and recovery.img
6. Now with root, deleted unwanted apps, installed adblocker, installed xposed, tunned some settings/apps etc.
7. When /system was how i wanted, i made a backup via twrp (data, system, cache).
8. Clean install LP 3.120 again via flashtool, wipping user data.
9. Root via rootkit and installed twrp for BL.
10. Restored TA partition
11. Restored the backup via twrp and SHUTTED DOWN the phone because itll not match with the rest of the fw.
12. Installed MM fw again via flashtool but this time, excluded /system part and DID NOT WIPE user data nor Apps log. (as ive restored MM /data backup before)
13. Started the phone.
Now i have MM with drm, locked bootloader, unrooted, xposed working with few modules, adblocker applied and some other mods. Also i receive updates via sony apps such as whats new. And the low speaker volume seems to be fixed.
Click to expand...
Click to collapse
Thank you.
What adblocker can be install?
Btw, false alarm regarding speaker volume, it still saturate with bass at higher volume resulting in a lower and kinda cracked volume output, it may need to be tweaked, or even try to port LP audio parametres to MM rom, if thats even a thing and possible, until sony fix it (if they do lol). Ive tested a variety of songs
thewailer said:
Now i have MM with drm, locked bootloader, unrooted, xposed working with few modules, adblocker applied and some other mods. Also i receive updates via sony apps such as whats new. And the low speaker volume seems to be fixed.
Click to expand...
Click to collapse
Is there possibility for system to stay rooted? Btw how do u enter into recovery on MM ?
Tnx
harisdelic said:
Is there possibility for system to stay rooted? Btw how do u enter into recovery on MM ?
Tnx
Click to expand...
Click to collapse
Theres no method at this moment to put su binaries in /system, but if you dont mind you can keep the root as long as you dont restore your TA / lock bootloader as it needs a stock kernel signed by sony.
I enter twrp recovery in MM by holding power+vol down
---------- Post added at 09:42 PM ---------- Previous post was at 09:41 PM ----------
sucsong said:
Thank you.
What adblocker can be install?
Click to expand...
Click to collapse
Ive installed adaway that blocks via host file.
thewailer said:
Theres no method at this moment to put su binaries in /system, but if you dont mind you can keep the root as long as you dont restore your TA / lock bootloader as it needs a stock kernel signed by sony.
I enter twrp recovery in MM by holding power+vol down
Click to expand...
Click to collapse
Thanks man. I will try metod you write above right now
harisdelic said:
Thanks man. I will try metod you write above right now
Click to expand...
Click to collapse
No problem . Here in m4 aqua forums you have everything you need to backup TA, unlock bootloader, flash, drowngrade etc. Just follow all the tutorials carefully good luck
thewailer said:
Theres no method at this moment to put su binaries in /system, but if you dont mind you can keep the root as long as you dont restore your TA / lock bootloader as it needs a stock kernel signed by sony.
I enter twrp recovery in MM by holding power+vol down
---------- Post added at 09:42 PM ---------- Previous post was at 09:41 PM ----------
Ive installed adaway that blocks via host file.
Click to expand...
Click to collapse
I don't understand about "excluded /system part"? Flash only system file or everything
sucsong said:
I don't understand about "excluded /system part"? Flash only system file or everything
Click to expand...
Click to collapse
No, you exclude system as you restored it early via twrp, flash the rest of the firmware like modem, kernel etc. Remember to dont wipe data and apps log also
Edit: if you flash system youll loose the changes you did thats why you need to exclude from bundle when choosin in flashtool
thewailer said:
Theres no way yet to have root in mm /system, it needs to be in kernel and you cant use custom kernel and restore ta. All the questions you did are already answered in forums.
But in case your interested ill tell you what i did step by step to have original TA part with drm and "tunned" but unrooted /system.
Keep in mind that your warranty is void, you will loose all your data and you may brick your device. Messing up with TA partition is serious and dangerous stuff. The following steps are just to tell you what i did.
If you want to do so, do it at your own risk.
1. Clean install LP 3.120 via flashtool wipping user data.
2. Root with rootkit 3.xxx and installed twrp for BL
3. Backup TA
4. Unlock bootloader and install MM fw via flashtool
5. Now with BU installed boot.img and recovery.img
6. Now with root, deleted unwanted apps, installed adblocker, installed xposed, tunned some settings/apps etc.
7. When /system was how i wanted, i made a backup via twrp (data, system, cache).
8. Clean install LP 3.120 again via flashtool, wipping user data.
9. Root via rootkit and installed twrp for BL.
10. Restored TA partition
11. Restored the backup via twrp and SHUTTED DOWN the phone because itll not match with the rest of the fw.
12. Installed MM fw again via flashtool but this time, excluded /system part and DID NOT WIPE user data nor Apps log. (as ive restored MM /data backup before)
13. Started the phone.
Now i have MM with drm, locked bootloader, unrooted, xposed working with few modules, adblocker applied and some other mods. Also i receive updates via sony apps such as whats new. And the low speaker volume seems to be fixed.
Click to expand...
Click to collapse
Thanks! This was what I was looking for!
Also, will you be able to root after this? (If someone comes up with a method)
DarkerJava said:
Thanks! This was what I was looking for!
Also, will you be able to root after this? (If someone comes up with a method)
Click to expand...
Click to collapse
Your welcome. Yeah if someones finds a way to do the classic root like in LP this will be rootable for sure.
At least in the meanwhile we can have ads blocked and xposed with some modules and still keep bootloader locked with drm keys to keep functions and receive updates.
thewailer said:
Your welcome. Yeah if someones finds a way to do the classic root like in LP this will be rootable for sure.
At least in the meanwhile we can have ads blocked and xposed with some modules and still keep bootloader locked with drm keys to keep functions and receive updates.
Click to expand...
Click to collapse
This is what im going to do...
Root bootloader locked in LL
Back up TA
Unlock bootloader
MM through flashtool
Root MM (boot.img , recovery.img) (This IS what you did by flashing these, right?)
http***://forum.xda-developers.com/m4-aqua/general/root-t3421932 (going to use this boot and recovery .img)
Chang/add to Marshmallow firmware
At this point, the device should be rooted on MM, with UB TWRP and SuperSU.
Now, is it okay if I just restore TA partition NOW, instead of going back to LL? I'm not really interested in saving OTA updates... speaking of which, how did you manage to still get them? I thought as soon as you modify your device, you are excluded from OTA updates...
DarkerJava said:
This is what im going to do...
Root bootloader locked in LL
Back up TA
Unlock bootloader
MM through flashtool
Root MM (boot.img , recovery.img) (This IS what you did by flashing these, right?)
http***://forum.xda-developers.com/m4-aqua/general/root-t3421932 (going to use this boot and recovery .img)
Chang/add to Marshmallow firmware
At this point, the device should be rooted on MM, with UB TWRP and SuperSU.
Now, is it okay if I just restore TA partition NOW, instead of going back to LL? I'm not really interested in saving OTA updates... speaking of which, how did you manage to still get them? I thought as soon as you modify your device, you are excluded from OTA updates...
Click to expand...
Click to collapse
Yeah you root mm by flashimg boot.img.
First, some people reported that is recommended to restore TA partition in the same firmware as you backed them up. Second, if you restore your TA and you have custom boot.img (like that one to get the root) your device will not boot
thewailer said:
Theres no way yet to have root in mm /system, it needs to be in kernel and you cant use custom kernel and restore ta. All the questions you did are already answered in forums.
But in case your interested ill tell you what i did step by step to have original TA part with drm and "tunned" but unrooted /system.
Keep in mind that your warranty is void, you will loose all your data and you may brick your device. Messing up with TA partition is serious and dangerous stuff. The following steps are just to tell you what i did.
If you want to do so, do it at your own risk.
1. Clean install LP 3.120 via flashtool wipping user data.
2. Root with rootkit 3.xxx and installed twrp for BL
3. Backup TA
4. Unlock bootloader and install MM fw via flashtool
5. Now with BU installed boot.img and recovery.img
6. Now with root, deleted unwanted apps, installed adblocker, installed xposed, tunned some settings/apps etc.
7. When /system was how i wanted, i made a backup via twrp (data, system, cache).
8. Clean install LP 3.120 again via flashtool, wipping user data.
9. Root via rootkit and installed twrp for BL.
10. Restored TA partition
11. Restored the backup via twrp and SHUTTED DOWN the phone because itll not match with the rest of the fw.
12. Installed MM fw again via flashtool but this time, excluded /system part and DID NOT WIPE user data nor Apps log. (as ive restored MM /data backup before)
13. Started the phone.
Now i have MM with drm, locked bootloader, unrooted, xposed working with few modules, adblocker applied and some other mods. Also i receive updates via sony apps such as whats new. And the low speaker volume seems to be fixed.
Click to expand...
Click to collapse
i have locked bootloader and its not unlockable (buyed to a company) and after some test i can tell you that don't need to unlock bootloader to do this
you can do it from rooted LP with twrp, first wipe data , system and cache, install MM fromzip (you can create the zip with PRF creator using the dummy_flashable.zip instead supersu zip) after MM its installed you can now install xposed, and other kind of flashable mods, lastly, power off phone and flash tft skipping system.sin
you will have android modded and untouched bootloader without root
sergioslk said:
i have locked bootloader and its not unlockable (buyed to a company) and after some test i can tell you that don't need to unlock bootloader to do this
you can do it from rooted LP with twrp, first wipe data , system and cache, install MM fromzip (you can create the zip with PRF creator using the dummy_flashable.zip instead supersu zip) after MM its installed you can now install xposed, and other kind of flashable mods, lastly, power off phone and flash tft skipping system.sin
you will have android modded and untouched bootloader without root
Click to expand...
Click to collapse
id rather prefer to do the system changes with root in the mm firm, but sounds like a good method for those ones that cant unlock the BL.
sergioslk said:
i have locked bootloader and its not unlockable (buyed to a company) and after some test i can tell you that don't need to unlock bootloader to do this
you can do it from rooted LP with twrp, first wipe data , system and cache, install MM fromzip (you can create the zip with PRF creator using the dummy_flashable.zip instead supersu zip) after MM its installed you can now install xposed, and other kind of flashable mods, lastly, power off phone and flash tft skipping system.sin
you will have android modded and untouched bootloader without root
Click to expand...
Click to collapse
Can't everyone unlock from the Sony website?
DarkerJava said:
I have found many sites with conflicting answers, so please don't tell me "google is your best friend" for my silly/already asked questions...
So first what I have: a 5 month old, non modified M4 aqua (E2306), bought from a Canadian carrier. The firmware version is 26.1.A.3.111 (bootloader locked). My goal is to root my phone when I update to MM (using the method PiSpecialist has posted, I cannot post links), but I haven't done so for the fear of losing TA partition when unlocking BL. There is currently no way to root MM with locked bootloader.
Now, my questions:
1. When I unlock my BL, I will lose the TA partition (DRM keys) of the device. Yet to back these up, I need root access. Should I root my device while it is still on Lollipop? There are ways to root BL Lollipop correct? If so, please link a preferable way to do this.
2. Will I receive OTA updates after rooting my phone? If not, I should download and flash firmware from Xperifirm?
3. Will I lose root when flashing new firmware (e.g. flashing MM to a rooted Lollipop device)?
4. Is it dangerous to flash official firmware to a rooted phone? What is a safe way?
I found that dealing with TA is dangerous and can hard brick a phone. Anybody found a reliable script/tool to do this?
So this is pretty much what I am planning to do so far, if the above is correct:
Root my phone while it is still on Lollipop with a locked bootloader.
Backup my TA partition.
Get MM (from either flashing, or OTA, depending if I still get OTA updates)
Unlock bootloader (as there is no way to root for locked bootloaders in MM)
Root phone while it is on MM (if I don't keep the root after updating from lollipop)
Restore TA partition
DONE!
Not as many questions as I thought.... Any other advice/things to look out for would be appreciated
Click to expand...
Click to collapse
If on rooted 5.0 all you need to do is flash a pre-rooted mm zip via recovery on lollipop, no need to unlock the Bootloader for root unless you have a device that has drm-verity security activated.
Sent from my Xperia XA using XDA Labs
aidy.lucas said:
If on rooted 5.0 all you need to do is flash a pre-rooted mm zip via recovery on lollipop, no need to unlock the Bootloader for root unless you have a device that has drm-verity security activated.
Sent from my Xperia XA using XDA Labs
Click to expand...
Click to collapse
Oh yeah I completely forgot about that... someone released a prerooted rom about a week ago on the forums. This will less complicate the process for bl locked rooted MM, thanks!

A little help needed...

I've D6503 model and I'm new to Sony and Marshmallow (though I'm an advanced user and know much about flashing). I wanted to know that IF I need to backup Marshmallow ROM's system partition DO I need to Backup SYSTEM only in TWRP (3.0.2) or Both SYSTEM and SYSTEM IMAGE.
Thanks in advance.
Plus:
1 - IS it safe to backup/restore SYSTEM IMAGE or not...???
2 - Can I go back to Lollipop or KitKat by only flashing FTF without bricking or backward flashing is not allowed...???
BTW My bootloader is LOCKED.
goldenevil47 said:
I've D6503 model and I'm new to Sony and Marshmallow (though I'm an advanced user and know much about flashing). I wanted to know that IF I need to backup Marshmallow ROM's system partition DO I need to Backup SYSTEM only in TWRP (3.0.2) or Both SYSTEM and SYSTEM IMAGE.
Thanks in advance.
Plus:
1 - IS it safe to backup/restore SYSTEM IMAGE or not...???
2 - Can I go back to Lollipop or KitKat by only flashing FTF without bricking or backward flashing is not allowed...???
BTW My bootloader is LOCKED.
Click to expand...
Click to collapse
If your bootloader is locked and you have twrp then i guess you are very much familiar to sony ?.
Now come to your question , is you need to backup your system to use it again, you can backup system +data or only system from twrp. And 2 - you can go back to any firmware just flash ftf with flashtool. (Remember your ftf dont have simlock.ta and if it have then exclude simlock.ta from flashing.).Also dont disconnect the device while flashing ftf.
pixel0 said:
If your bootloader is locked and you have twrp then i guess you are very much familiar to sony .
Now come to your question , is you need to backup your system to use it again, you can backup system +data or only system from twrp. And 2 - you can go back to any firmware just flash ftf with flashtool. (Remember your ftf dont have simlock.ta and if it have then exclude simlock.ta from flashing.).Also dont disconnect the device while flashing ftf.
Click to expand...
Click to collapse
First of all Thanks buddy and secondly Yup I'm a little familiar to Sony but not much. I know flashing fones like Sony, Huawei, Lenovo, Nokia (X2), Samsung etc so Bootloader and TWRP are basics for me.
Now the point is that when I go to twrp and tap on Backup it shows me SYSTEM and SYSTEM IMAGE along with TA, Data, Boot etc.
My question is: For backing up whole system Partition (to use in future or to revert back from some other ROM) do I have to Backup SYSTEM only or SYSTEM IMAGE as well?
goldenevil47 said:
First of all Thanks buddy and secondly Yup I'm a little familiar to Sony but not much. I know flashing fones like Sony, Huawei, Lenovo, Nokia (X2), Samsung etc so Bootloader and TWRP are basics for me.
Now the point is that when I go to twrp and tap on Backup it shows me SYSTEM and SYSTEM IMAGE along with TA, Data, Boot etc.
My question is: For backing up whole system Partition (to use in future or to revert back from some other ROM) do I have to Backup SYSTEM only or SYSTEM IMAGE as well?
Click to expand...
Click to collapse
Weird, what is twrp version? And what did you use to get the recovery installed?
I don't recall seeing system image ever in twrp, but i usually backup everything except cache drive.
ticktock666 said:
Weird, what is twrp version? And what did you use to get the recovery installed?
I don't recall seeing system image ever in twrp, but i usually backup everything except cache drive.
Click to expand...
Click to collapse
Yup... I really find it weird too coz I've never seen it before.
I'm using TWRP 3.0.2-0 with existenz rom v5.6.5
I rooted the official .291 with the Tool in general section (flashing .575 kernel and rooting then going back to .291 kernel).
Before installing existenz I backed up my Official .291 ROM's system and boot partitions but SYSTEM IMAGE was not there at that time.
Now I'm on existenz and I want to make a backup of system Partition again but I'm confused b/w SYSTEM and SYSTEM IMAGE.
HERE take a look........
Update: I tried to check the contents of backed up System Image (by renaming it to .zip and opening by winrar) but winrar is unable to open it like it does not open android's .img files.
goldenevil47 said:
Yup... I really find it weird too coz I've never seen it before.
I'm using TWRP 3.0.2-0 with existenz rom v5.6.5
I rooted the official .291 with the Tool in general section (flashing .575 kernel and rooting then going back to .291 kernel).
Before installing existenz I backed up my Official .291 ROM's system and boot partitions but SYSTEM IMAGE was not there at that time.
Now I'm on existenz and I want to make a backup of system Partition again but I'm confused b/w SYSTEM and SYSTEM IMAGE.
HERE take a look........
Update: I tried to check the contents of backed up System Image (by renaming it to .zip and opening by winrar) but winrar is unable to open it like it does not open android's .img files.
Click to expand...
Click to collapse
You should reflash recovery.
Download serajr mm recovery v3 and flash it with your current recovery.
Sent from my Sony Xperia Z2 using XDA Labs
pixel0 said:
You should reflash recovery.
Download serajr mm recovery v3 and flash it with your current recovery.
Sent from my Sony Xperia Z2 using XDA Labs
Click to expand...
Click to collapse
Can you please link me to it?
goldenevil47 said:
Can you please link me to it?
Click to expand...
Click to collapse
http://forum.xda-developers.com/attachment.php?attachmentid=3787081&d=1466257973
Sent from my Sony Xperia Z2 using XDA Labs
pixel0 said:
http://forum.xda-developers.com/attachment.php?attachmentid=3787081&d=1466257973
Sent from my Sony Xperia Z2 using XDA Labs
Click to expand...
Click to collapse
Thanks man it worked like charm...
Thread Closed.
Sent from my Sony Xperia Z2 using XDA Labs

Can't restore TA partition [Solved]

Thats it!, when i follow this from the post in this forum:
Note : Restoring TA Partiton Will Re-Lock The Boot-Loader And You Will Loose Root Access.
* Copy your TA partition backup to the TA tool's extracted folder.
* Connect your device with USB Debugging Enabled
* Open up a command prompt to the extracted folder and type in the following:
tarestore.bat {Your TA Backup File}
Example :
tarestore.bat TA-14102016.img
This new restored TA partition should persist across device wipes and Android upgrades.
Click to expand...
Click to collapse
I have those errors:
Are you sure you want to restore:
/system/bin/sh: md5: not found
Then i say "Yes I want" to the restore and it says:
Error: Device not supported.
Ta backup restored
Flash stock firmware now.
But nothing happens and i don't have things like x reality engine.
I have this stock rom: E5803: Customized Vietnam: 32.2.A.0.305_R10C
I tried with kernel stock from this rom and actually with Androplus Kernel, but nothing works. What can i do?.
SebastianAlejandro said:
Thats it!, when i follow this from the post in this forum:
I have those errors:
Are you sure you want to restore:
/system/bin/sh: md5: not found
Then i say "Yes I want" to the restore and it says:
Error: Device not supported.
Ta backup restored
Flash stock firmware now.
But nothing happens and i don't have things like x reality engine.
I have this stock rom: E5803: Customized Vietnam: 32.2.A.0.305_R10C
I tried with kernel stock from this rom and actually with Androplus Kernel, but nothing works. What can i do?.
Click to expand...
Click to collapse
I think you have to get back to the FW when you backed up the TA in the first place, because I think TA backup and restore files are in a directory where it roots your device (temporarly) and I dont recall it working on MM I think you will have to get back to lolipop first then restore I am not a pro I am just assuming here am I right guys?
still try it , wouldnt harm your device
this is the ftf i used
32.0.A.6.200_r4b_australia Generic_1298-7260.ftf
http://forum.xda-developers.com/z5-compact/general/how-to-backup-restore-ta-partition-root-t3479532
theres a download link in step 3
try to flash this ftf and then try to restore the TA and tell me what happens
madshark2009 said:
I think you have to get back to the FW when you backed up the TA in the first place, because I think TA backup and restore files are in a directory where it roots your device (temporarly) and I dont recall it working on MM I think you will have to get back to lolipop first then restore I am not a pro I am just assuming here am I right guys?
still try it , wouldnt harm your device
this is the ftf i used
32.0.A.6.200_r4b_australia Generic_1298-7260.ftf
http://forum.xda-developers.com/z5-compact/general/how-to-backup-restore-ta-partition-root-t3479532
theres a download link in step 3
try to flash this ftf and then try to restore the TA and tell me what happens
Click to expand...
Click to collapse
Thanks dude! I backed to lolipop and restore TA succesfully, and now get back to marshmallow and all is working well. Thanks again for the help. :fingers-crossed:
SebastianAlejandro said:
Thanks dude! I backed to lolipop and restore TA succesfully, and now get back to marshmallow and all is working well. Thanks again for the help. :fingers-crossed:
Click to expand...
Click to collapse
aint no thing brother
happy to keep your device breathing safely
cheers
Help me sovle a simillar case
SebastianAlejandro said:
Thanks dude! I backed to lolipop and restore TA succesfully, and now get back to marshmallow and all is working well.
Click to expand...
Click to collapse
Hi all,
I got similar case.
My phone is E6883. I flashed firmare E6883__32.0.A.6.209__Malaysia_Generic_ 5.1.1.ftf for TA partion backup. After that, I unlocked boot loader and restored TA by iovyroot_v04 tool. Next, flashed 32.3.A.0.376 firmware and rooted phone. The process was ok. However, when I use by iovyroot_v04 tool to restore TA, it do not work and get error below:
Are you sure you want to restore:
/system/bin/sh: md5: not found
Type "Yes I want" if you want to restore this file: Yes I want
Starting restore
Press any key to continue . . .
iovyroot by zxz0O0
poc by idler1984
Error: Device not supported
Click to expand...
Click to collapse
I do not know what is wrong. Please help me to solve it.
Thanks for all

How to completely unroot?

So, I backed up the DRM keys, rooted, installed custom recovery and kernel. Now I want to bring the phone back to the same status as it was when I received it. I thought I start by restoring the DRM keys that should also lock the BootLoader, but I'm a bit stuck and have 3 questions.
1. I bought the US variant, flashed an European one to get the fingerprint sensor - is it enough to flas the US firmware to make the phone the same way as when I got it?
2. How to get rid of custom recovery, will flashing the original US firmware take care of that?
There is a thread about restoring TA, you need also flash stock fw.
mele80 said:
There is a thread about restoring TA, you need also flash stock fw.
Click to expand...
Click to collapse
True, but this is all it says. Says nothing about flashing anything or how to restore original recovery.
===================================How To Restore TA Partiton?==================================
Note : Restoring TA Partiton Will Re-Lock The Boot-Loader And You Will Loose Root Access.
* Copy your TA partition backup to the TA tool's extracted folder.
* Connect your device with USB Debugging Enabled
* Open up a command prompt to the extracted folder and type in the following:
tarestore.bat {Your TA Backup File}
Example :
tarestore.bat TA-14102016.img
This new restored TA partition should persist across device wipes and Android upgrades.​
Well you will just need to restore To ( relock bootloader) and then flash stock rom with flashtool ( wipe all, but take backups)
I was in ur shoes last week. First, if u backed up ur TA, downgrade to the firmware u did d backup (lollipop i presume), then restore ur TA, it will not restore on Marshmallow, after that then upgrade to marshmallow, u will bun-rooted n stock with ur drm keys.
Is there a way to restore back to normal if you didn't backup a TA?
I just want to unroot mine and relock the bootloader.
Root back
Hello, i tried root my phone but did not get any luck. As i understand i did not root it but changed kernel to Androplus. I want back to stock but not sure which steps i should make. At the moment i don't have rooted device also cant get sony updates as it is modified.
This is my phones data
Model E5823
Baseband version 8994-FAAAANAZQ-00033-25
Kernel version 3.10.84-v23 Androplus
Build number 32.1.A.1. 185
1) How much far i did got to root my phone?
2) What should i do get back stock firmware?
Thanks!

Categories

Resources