1 quick question. root kernel ta backup. - Xperia Z2 Q&A, Help & Troubleshooting

I recently rooted my device, butt.
I didn't yet made a ta backup
However I'm still rolling stock kernel, stock rom and locked bootloader. Only root and twrp. I'm i still in the safe zone or did i just proved to be a morron
Edit. I used the method where i didn't had to unlock my bootloader to get root, just to make that clear.

mellowbug said:
I recently rooted my device, butt.
I didn't yet made a ta backup
However I'm still rolling stock kernel, stock rom and locked bootloader. Only root and twrp. I'm i still in the safe zone or did i just proved to be a morron
Edit. I used the method where i didn't had to unlock my bootloader to get root, just to make that clear.
Click to expand...
Click to collapse
I think you can backup your TA partition because it is related to bootloader

raminta said:
I think you can backup your TA partition because it is related to bootloader
Click to expand...
Click to collapse
Oké great news. Thnx for the quick reply.

Related

Sony Xperia Ulta c6806

I read in the Developers forums that you can get Cwm for Locked Bootloaders. Ive been trying to get it for a week and can this be done? I bought the Ultra at Bell and it says its model number c6806 and its locked.
dvella21 said:
I read in the Developers forums that you can get Cwm for Locked Bootloaders. Ive been trying to get it for a week and can this be done? I bought the Ultra at Bell and it says its model number c6806 and its locked.
Click to expand...
Click to collapse
Yes. here it is:
http://forum.xda-developers.com/showthread.php?t=2426739
However just because you have CWM, doesn't mean you can flash ROM's.
All you can do is flash Root, and other mods.
hamdogg said:
Yes. here it is:
http://forum.xda-developers.com/showthread.php?t=2426739
However just because you have CWM, doesn't mean you can flash ROM's.
All you can do is flash Root, and other mods.
Click to expand...
Click to collapse
sorry for the quick question, but would that work on the C6802 on .257, with locked bootloader? i've been wondering if i could get root without unlocking the bootloader(to preserve warranty).
yogi2010 said:
sorry for the quick question, but would that work on the C6802 on .257, with locked bootloader? i've been wondering if i could get root without unlocking the bootloader(to preserve warranty).
Click to expand...
Click to collapse
yes you can root with a locked bootloader.
to unlock your bootloader you need to have root access.
You can always backup your TA partition, and then unlock bootloader, and then restore the TA partition and restore bootlock as well.
many possibilitites
hamdogg said:
yes you can root with a locked bootloader.
to unlock your bootloader you need to have root access.
You can always backup your TA partition, and then unlock bootloader, and then restore the TA partition and restore bootlock as well.
many possibilitites
Click to expand...
Click to collapse
hey thank you sir for the response. I got my phone with .257 version already on it tho, and from what I'm reading, I can't find a way to root on .257 without unlocking the boot loader. is this correct?
as I see it, the only option I have on .257 is to unlock the bootloader with the Sony method, but no way to root first. am I mistaken? thanks!
lmemma16 said:
hey thank you sir for the response. I got my phone with .257 version already on it tho, and from what I'm reading, I can't find a way to root on .257 without unlocking the boot loader. is this correct?
as I see it, the only option I have on .257 is to unlock the bootloader with the Sony method, but no way to root first. am I mistaken? thanks!
Click to expand...
Click to collapse
What you could do is use flash tool to go back to another firmware, then root, and then update to the newest version. But not flashing the kernel. then you can flash the modified kernel with CWM, and then flash the new kernel afterwards.
I think there is a tutorial on here that tells you how to do it.
hamdogg said:
What you could do is use flash tool to go back to another firmware, then root, and then update to the newest version. But not flashing the kernel. then you can flash the modified kernel with CWM, and then flash the new kernel afterwards.
I think there is a tutorial on here that tells you how to do it.
Click to expand...
Click to collapse
ah yes, OK, that's what I was wondering, whether it is possible to downgrade the firmware with a locked boot loader, using Flashtool. perhaps I will try.. thanks
I just remember on some other devices I've had, a locked boot loader wouldn't allow a firmware downgrade.

[IDEA]Root By Unlock then Relock Bootloader?

Hi guys, i have an idea. Will the idea of unlocking the bootloader and then do the root (with recovery enabled kernel that is) and then relocking (restoring the TA partition first) the bootloader work? I am a little bit confused with the fact about the DRM kind of things, since i don't want to lose it so if we could restore it back later then why this technique was never discussed? Please give me any information :angel:
hansip87 said:
Hi guys, i have an idea. Will the idea of unlocking the bootloader and then do the root (with recovery enabled kernel that is) and then relocking (restoring the TA partition first) the bootloader work? I am a little bit confused with the fact about the DRM kind of things, since i don't want to lose it so if we could restore it back later then why this technique was never discussed? Please give me any information :angel:
Click to expand...
Click to collapse
Oh yeah i forgot.. this trick will not work if you haven't done TA backup wouldn't it? :-/ I have done that before so i guess this idea won't work for anybody without TA backup i guess no?
hansip87 said:
Oh yeah i forgot.. this trick will not work if you haven't done TA backup wouldn't it? :-/ I have done that before so i guess this idea won't work for anybody without TA backup i guess no?
Click to expand...
Click to collapse
flashing the TA partition and locking the bootloader, and then flashing a stock FTF base/firmware will make your device exactly how you bought it.. It will allow x-reality to work in both movies/album, as well as track ID working.
- This technique has been discussed in previous threads.
== Do a search and you will see there is a FTF flashing guide. flashtool guide both in the android development section.
A guide on just about everything in the general section... have a look...
However even an unlocked bootloader will allow the x-reality engine to work with videos. But will stop netflicks from working. So there are probably a few apps out there that need a locked bootloader to work properly.
To have a locked bootloader you need a stock kernel. It will need to be signed, so even a boot.img or kernel.sin would be fine. Just needs to be stock.
- You could Root, backup TA partition, unlock bootloader, and then lock bootloader again. But that still uses a rooting tool.
forgive me if I'm wrong (and someone correct me) but we cant do a TA back up without root.
When I was looking into the ZU the only way to root was to unlock the bootloader then flash a new boot.img (?), this avoided vroot et al, and the issues that we seem to have atm but did mean that the first to root lost their DRM keys (TA partition) with the rooting
blueether said:
forgive me if I'm wrong (and someone correct me) but we cant do a TA back up without root.
When I was looking into the ZU the only way to root was to unlock the bootloader then flash a new boot.img (?), this avoided vroot et al, and the issues that we seem to have atm but did mean that the first to root lost their DRM keys (TA partition) with the rooting
Click to expand...
Click to collapse
yep my bad.. wrong way round.. :good:
blueether said:
forgive me if I'm wrong (and someone correct me) but we cant do a TA back up without root.
When I was looking into the ZU the only way to root was to unlock the bootloader then flash a new boot.img (?), this avoided vroot et al, and the issues that we seem to have atm but did mean that the first to root lost their DRM keys (TA partition) with the rooting
Click to expand...
Click to collapse
You can downgrade to lower firmware anytime without root, than use vroot if you don't mind some risk, than backup TA

New Device - what to do???

I will soon be getting a new Z Ultra and I would like to know what to do:
I want to stay on the stock rom but root it and update it to the latest version
So should I downgrade/root/unlock bootloader/whatever before i start using it?
If so, can someone tell me the steps to doing it e.g.
1) downgrade to .623
2) unlock bootloader
3) flash kernel and recovery
4) backup TA
5) update to latest version
6) root
???
panyan said:
I will soon be getting a new Z Ultra and I would like to know what to do:
I want to stay on the stock rom but root it and update it to the latest version
So should I downgrade/root/unlock bootloader/whatever before i start using it?
If so, can someone tell me the steps to doing it e.g.
1) downgrade to .623
2) unlock bootloader
3) flash kernel and recovery
4) backup TA
5) update to latest version
6) root
???
Click to expand...
Click to collapse
If all you are wanting is latest firmware with root just let it update then follow this thread.
http://forum.xda-developers.com/showthread.php?t=2784900
If you do decide to unlock bootloader then you have listed steps in wrong order.
1. Root
2. Backup TA
3. Unlock Bootloader
Alternately you could use the dualrecovery installer for step 1 as it has the root exploit built in.
adfurgerson said:
If all you are wanting is latest firmware with root just let it update then follow this thread.
http://forum.xda-developers.com/showthread.php?t=2784900
If you do decide to unlock bootloader then you have listed steps in wrong order.
1. Root
2. Backup TA
3. Unlock Bootloader
Alternately you could use the dualrecovery installer for step 1 as it has the root exploit built in.
Click to expand...
Click to collapse
I would like to have recovery installed and have a backup of my TA partition just in case
Can you tell me the whole process please?
1-> ?
panyan said:
I would like to have recovery installed and have a backup of my TA partition just in case
Can you tell me the whole process please?
1-> ?
Click to expand...
Click to collapse
1.http://forum.xda-developers.com/xpe...de-root-android-4-4-4-ver-14-4-0-108-t2801587
2.http://forum.xda-developers.com/showthread.php?t=2292598
Backing up TA needs to be done before unlocking bootloader as that is when DRM keys become lost. Also want to mention that I made a Nandroid right after using dualrecovery installer and before unlocking bootloader. When that backup was restored my bootloader became locked again, but I can't swear that the DRM keys remained intact.
adfurgerson said:
If all you are wanting is latest firmware with root just let it update then follow this thread.
http://forum.xda-developers.com/showthread.php?t=2784900
If you do decide to unlock bootloader then you have listed steps in wrong order.
1. Root
2. Backup TA
3. Unlock Bootloader
Alternately you could use the dualrecovery installer for step 1 as it has the root exploit built in.
Click to expand...
Click to collapse
adfurgerson said:
1.http://forum.xda-developers.com/xpe...de-root-android-4-4-4-ver-14-4-0-108-t2801587
2.http://forum.xda-developers.com/showthread.php?t=2292598
Click to expand...
Click to collapse
So the whole process would be:
1) root (http://forum.xda-developers.com/xpe...de-root-android-4-4-4-ver-14-4-0-108-t2801587)
2) backup TA (http://forum.xda-developers.com/showthread.php?t=2292598)
3) unlock bootloader?
4) flash recovery
5) update to latest version OS
6) root
?
panyan said:
So the whole process would be:
1) root (http://forum.xda-developers.com/xpe...de-root-android-4-4-4-ver-14-4-0-108-t2801587)
2) backup TA (http://forum.xda-developers.com/showthread.php?t=2292598)
3) unlock bootloader?
4) flash recovery
5) update to latest version OS
6) root
?
Click to expand...
Click to collapse
Sorry I am at work so my simple replies are even worse than normal.
The easyroot method (towelroot) and the dualrecovery exploit don't require downgrading, so just let it update to latest firmware. If you can't get the OTA for any reason you can flash the latest FTF for your region with flashtool. Then once on latest use dualrecovery installer and TA backup tool. That should have you rooted with recovery and backed up.
Edit...unlocking bootloader is only needed to flash custom ROMs or kernels.
adfurgerson said:
Sorry I am at work so my simple replies are even worse than normal.
The easyroot method (towelroot) and the dualrecovery exploit don't require downgrading, so just let it update to latest firmware. If you can't get the OTA for any reason you can flash the latest FTF for your region with flashtool. Then once on latest use dualrecovery installer and TA backup tool. That should have you rooted with recovery and backed up.
Edit...unlocking bootloader is only needed to flash custom ROMs or kernels.
Click to expand...
Click to collapse
Dont apologise, I really appreciate your help.
I will want to flash custom roms in the future so should I unlock it on day 1?
So the process is:
1) update to latest 4.4.4
2) install dual recovery from here: http://forum.xda-developers.com/showthread.php?t=2647492
3) go into recovery and make a backup
4) make a TA backup with this: http://forum.xda-developers.com/showthread.php?t=2292598
5) root with this: http://forum.xda-developers.com/showthread.php?t=2784900
panyan said:
Dont apologise, I really appreciate your help.
I will want to flash custom roms in the future so should I unlock it on day 1?
So the process is:
1) update to latest 4.4.4
2) install dual recovery from here: http://forum.xda-developers.com/showthread.php?t=2647492
3) go into recovery and make a backup
4) make a TA backup with this: http://forum.xda-developers.com/showthread.php?t=2292598
5) root with this: http://forum.xda-developers.com/showthread.php?t=2784900
Click to expand...
Click to collapse
Step 5 shouldn't be needed as the dualrecovery will take care of rooting. I didn't check the links you posted but if they are the same as I did you should be good.
adfurgerson said:
Step 5 shouldn't be needed as the dualrecovery will take care of rooting. I didn't check the links you posted but if they are the same as I did you should be good.
Click to expand...
Click to collapse
Ok, excellent
What would the process be if I wanted to unlock the bootloader too?
panyan said:
Ok, excellent
What would the process be if I wanted to unlock the bootloader too?
Click to expand...
Click to collapse
Here is a quick rundown....TA backup needs root to work, TA backup saves DRM keys needed for Sony proprietary stuff like audio, video and camera, also if warranty replacement is needed. DRM keys are lost when bootloader is unlocked, also internal storage is wiped. If unlocking a brand new phone then nothings lost, but if you have apps, pics, etc. then you will need to back them up first. I can't remember if I needed to rerun the dualrecovery after unlocking or if recovery was intact. I do know that restoring a Nandroid that I made before unlocking bootloader to phone after it was unlocked caused a soft brick until I unlocked it again. Maybe @blueether could double-check the info I have given you for accuracy as I may be over my head here.
adfurgerson said:
Here is a quick rundown....TA backup needs root to work, TA backup saves DRM keys needed for Sony proprietary stuff like audio, video and camera, also if warranty replacement is needed. DRM keys are lost when bootloader is unlocked, also internal storage is wiped. If unlocking a brand new phone then nothings lost only the DRM keys are lost, but if you have apps, pics, etc. then you will need to back them up first. I can't remember if I needed to rerun the dualrecovery after unlocking or if recovery was intact. I do know that restoring a Nandroid that I made before unlocking bootloader to phone after it was unlocked caused a soft brick until I unlocked it again. Maybe @blueether could double-check the info I have given you for accuracy as I may be over my head here.
Click to expand...
Click to collapse
It all looks about right, I would just change the above a little
blueether said:
It all looks about right, I would just change the above a little
Click to expand...
Click to collapse
Will root and recovery persist after unlocking bootloader? I can't remember if it does or not. Thanks for looking that over, the last I want is to give out erroneous advice.
adfurgerson said:
Will root and recovery persist after unlocking bootloader? I can't remember if it does or not. Thanks for looking that over, the last I want is to give out erroneous advice.
Click to expand...
Click to collapse
I cant unforget either, been too long since I've had a locked BL
1) update to latest 4.4.4 - See FTF thread
2) install dual recovery by [NUT]
3) go into recovery and make a backup - handy if you ever need to get back to stock - I'm not sure if it backs up the TA either
4) make a TA backup and save it on the cloud and on HDD
5) unlock the BL by visiting Sony's dev site and using flashtool
6) re-root / reinstall su if needed
7) make another backup of the TA and call this one unlocked - this can then be used to unlock the BL with out the data wipe
All off the top of my head and not done in ages
blueether said:
1) update to latest 4.4.4 - See FTF thread
2) install dual recovery by [NUT]
3) go into recovery and make a backup - handy if you ever need to get back to stock - I'm not sure if it backs up the TA either
4) make a TA backup and save it on the cloud and on HDD
5) unlock the BL by visiting Sony's dev site and using flashtool
6) re-root / reinstall su if needed
7) make another backup of the TA and call this one unlocked - this can then be used to unlock the BL with out the data wipe
Click to expand...
Click to collapse
Brilliant - thank you very much
You guys have been invaluable!

working root method for 5.1.1 with unlockable bootloader?

I have mine updated to 5.1.1 and the bootloader is unlockable. However, the rooting instruction is confusing for this version.
I am looking for the definite solution for rooting (if it is required to unlock the bootloader, should I backup TA partition first?) 100% stock 5.1.1.
Frankly, I don't want to mess with Kingroot or similar tools from China.
I'm interested in this as well. Sent for warranty repair and came back with 5.1.1. Looking for recommended way to root and backup TA (though I have the original backup somewhere)
http://forum.xda-developers.com/xperia-z-ultra/general/guide-how-to-root-install-recovery-t3210207
I managed to root the device. Here is a guide:
http://forum.xda-developers.com/xperia-z-ultra/general/comprehensive-guide-rooting-5-1-x-t3219502
This is how i did it...downgraded to 4.4.4 and root it,TA backup, unlocked the device, updated to 5.1.1 with stock ftf installed the new recovery an flashed the TWRP after that flash the SuperSU zip and done...
fnldstntn said:
This is how i did it...downgraded to 4.4.4 and root it,TA backup, unlocked the device, updated to 5.1.1 with stock ftf installed the new recovery an flashed the TWRP after that flash the SuperSU zip and done...
Click to expand...
Click to collapse
That's a waste of time. OP has an unlockable bootloader, so he just has to:
- Flash recovery
- Flash SuperSU
- Reboot
Klaos3000 said:
That's a waste of time. OP has an unlockable bootloader, so he just has to:
- Flash recovery
- Flash SuperSU
- Reboot
Click to expand...
Click to collapse
unlockable =/= unlocked
mingkee said:
unlockable =/= unlocked
Click to expand...
Click to collapse
Unlocking the BL is still FAR quicker than going through that hellish process for locked bootloaders. It's like trying to juggle with your hands tied to your back, but they're not really tied. Not sure why WE are arguing though. You provided a guide for a locked bootloader, while I gave one for unlocked. What OP decides to do is currently a mystery.
Klaos3000 said:
Unlocking the BL is still FAR quicker than going through that hellish process for locked bootloaders. It's like trying to juggle with your hands tied to your back, but they're not really tied. Not sure why WE are arguing though. You provided a guide for a locked bootloader, while I gave one for unlocked. What OP decides to do is currently a mystery.
Click to expand...
Click to collapse
Here is a deal: unlocking bootloader will remove DRM key. The only workaround is to backup TA partition. However, doing such also requires root, so you have to root before unlocking bootloader.
Don't you know your method is no brainer???! But dealing with DRM key is another story.
Hello !
Frankly you should try with kingroot it's not really a big deal it's quicker and don't worry you will not mess up your phone. I did the same on mine, and it's quick...
LordBli said:
Hello !
Frankly you should try with kingroot it's not really a big deal it's quicker and don't worry you will not mess up your phone. I did the same on mine, and it's quick...
Click to expand...
Click to collapse
Kingroot does not work with 5.1.x, sorry.
I still have to rollback to 4.4.x and use dualrecovery method 3.
mingkee said:
Kingroot does not work with 5.1.x, sorry.
I still have to rollback to 4.4.x and use dualrecovery method 3.
Click to expand...
Click to collapse
Okay, so roll back to KitKat, root, backup your TA, unlock bootloader, and then update to 5.1.1 again. You'll then be able to just flash a recovery and root. If you don't care about the TA partition, then unlock bootloader and flash recovery and root.
Be aware that if your device is still under warranty, it'll be voided the second you lose the DRM keys (TA). If you're not under warranty anymore, it doesn't make any difference. If your device has to go into repairs down the road, it won't matter since you don't have warranty either way. But if you have, it's a good idea to back it up.
Also, the X-Reality engine etc. were at one point dependent on the TA partition, but this changed on KitKat, so X-Reality still works on an unlocked bootloader (even though it's really bad).
Klaos3000 said:
Okay, so roll back to KitKat, root, backup your TA, unlock bootloader, and then update to 5.1.1 again. You'll then be able to just flash a recovery and root. If you don't care about the TA partition, then unlock bootloader and flash recovery and root.
Be aware that if your device is still under warranty, it'll be voided the second you lose the DRM keys (TA). If you're not under warranty anymore, it doesn't make any difference. If your device has to go into repairs down the road, it won't matter since you don't have warranty either way. But if you have, it's a good idea to back it up.
Also, the X-Reality engine etc. were at one point dependent on the TA partition, but this changed on KitKat, so X-Reality still works on an unlocked bootloader (even though it's really bad).
Click to expand...
Click to collapse
Here is what I did as mentioned on the post linked on earlier post.
Download the latest ROM with Xperifirm, and 4.4.x ROM found in a sticky on the general section.
Pack the 5.1.X ROM as flashable pre-rooted.
Use Flashtool to rollback to 4.4.x, completely wipe, made initial setup and enable debug, and install recovery.
Install pre-rooted ROM through TWRP.
Backup TA partition and device data.
Unlock bootloader.
Restore TA partition and device data.
Done.

New xz1c, best to do ?

Hi,
I get a new XZ1c,
what must I do now to get TA backup, root (magisk ?), recovery (trwp?)
must I unlock bootloader ?
best seems to follow https://forum.xda-developers.com/xperia-xz1/development/kernel-sony-xz1-23-january-2018-t3739586
but what to do before ?
janjan said:
Unlock bootloader
- A Working TWRP-with latest patch security
Click to expand...
Click to collapse
edit 47.1.a.12.270
thanks
hazote said:
Hi,
I get a new XZ1c,
what must I do now to get TA backup, root (magisk ?), recovery (trwp?)
must I unlock bootloader ?
best seems to follow https://forum.xda-developers.com/xperia-xz1/development/kernel-sony-xz1-23-january-2018-t3739586
but what to do before ?
edit 47.1.a.12.270
thanks
Click to expand...
Click to collapse
Not possible to backup TA after unlocking bootloader.
U need to unlock your device bootloader first. Then find custom twrp for your device and flash that. Finally flash my kernel to fix picture issue.
janjan said:
Not possible to backup TA after unlocking bootloader.
U need to unlock your device bootloader first. Then find custom twrp for your device and flash that. Finally flash my kernel to fix picture issue.
Click to expand...
Click to collapse
can I backup TA before ?
There is no way to backup TA partition for now.
ok thanks all.
perhaps I will wait a little before rooting my phone

Categories

Resources