[Lt30p]Keeping root with OTA-update! - Sony Xperia T, TL, TX, V

Ok I have managed to keep root with the OTA-update to 4.3!
As I have read the problem with updates to 4.3 from a <4.3 firmware is that root on 4.3 requires more than just the su binary as it was on <4.3 firmwares. So it has come to my mind(and at this point i am really confused that no one else has thought of this before) what if I install all the necessary files before I update? And guess what... It worked.
Here is what i have done:
Flash the latest 4.1 firmware with flashtool
Root using flashtool and supersu
Run the installing script that i have wrote
Load and install the OTA-update
I guess if you have used flashtool to root, steps one and two are not necessary. If you have used Bin4ry's rooting script it will not work and you will have to reflash(that's at least what i have experienced).
So what will this script to?
It will install all the files provided in the latest UPDATE-SuperSU-v1.93.zip from chainfire. And it is adapted from his update-binary.
I know it is not perfect as i have done it, but i am quite new to shell scripting. So any help to make it better is welcomed.
Thanks to the makers of flashtool and supersu for making this possible!
original post:
Last Friday the OTA arrived on my phone and I tried to update it and keep it rooted. But I failed.
Has anyone a clue how to do it or can it be assumed to be impossible?
What I tried so far:
I was rooted with chaindd's superuser on firmware version .141 as it arrived. I had just three apps in use witch required root, busybox, titanium backup and adfree.
Nevertheless my attempts to update failed at the second stage of the update.
After a few attempts I did a factory-reset, reflashed the .141 firmware and rerooted using flashtool. The update worked that time but root was lost. Even though the app and binary were still there...
Sent from my LT30p using xda app-developers app

There's been no OTA update over here what's your customization number ?
Sent from Shane's Xperia T LT30a

Have you tried using OTA root keeper ? I didn't need to use it before on my Xperia's but had to with the Motorola Razr and it worked .
Sent from my LT30p using xda app-developers app

MySpace customization number is 1266-2433. It is from the Austrian provider 3.
At my first attempts to update I also tried ota root keeper. But they all failed.
Afterwards, after the reset, I just tried it with superuser's and supersu's ota survival mode.
I have also read on other forums that if the update follows the Google update.zip format one can flash it through a custom-recovery and flash supersu.zip afterwards and keep root.
But Sony's update is probably not in that format because it's a .bin file(download_ platform.bin in /sdcard/recovery/).
By the way it's 450 mb big.
Sent from my LT30p using xda app-developers app

At the moment the only way to root is to flash THIS via recovery.
Instead if you want to keep your update with your customization number, you can unlock your bootloader (first do a TA backup)

istux said:
At the moment the only way to root is to flash THIS via recovery.
Instead if you want to keep your update with your customization number, you can unlock your bootloader (first do a TA backup)
Click to expand...
Click to collapse
How do I install CWM I can't find a compatible version and I came across a thread saying that I need an unlocked boot loader to do so ?
Sent from Shane's Xperia T LT30a

I have done it!
Ok I have managed to keep root with the OTA-update to 4.3!
As I have read the problem with updates to 4.3 from a <4.3 firmware is that root on 4.3 requires more than just the su binary as it was on <4.3 firmwares. So it has come to my mind(and at this point i am really confused that no one else has thought of this before) what if I install all the necessary files before I update? And guess what... It worked.
Here is what i have done:
Flash the latest 4.1 firmware with flashtool
Root using flashtool and supersu
Run the installing script that i have wrote
Load and install the OTA-update
I guess if you have used flashtool to root, steps one and two are not necessary. If you have used Bin4ry's rooting script it will not work and you will have to reflash(that's at least what i have experienced).
So what will this script to?
It will install all the files provided in the latest UPDATE-SuperSU-v1.93.zip from chainfire. And it is adapted from his update-binary.
I know it is not perfect as i have done it, but i am quite new to shell scripting. So any help to make it better is welcomed.
Thanks to the makers of flashtool and supersu for making this possible!

thurin said:
Ok I have managed to keep root with the OTA-update to 4.3!
As I have read the problem with updates to 4.3 from a <4.3 firmware is that root on 4.3 requires more than just the su binary as it was on <4.3 firmwares. So it has come to my mind(and at this point i am really confused that no one else has thought of this before) what if I install all the necessary files before I update? And guess what... It worked.
Here is what i have done:
Flash the latest 4.1 firmware with flashtool
Root using flashtool and supersu
Run the installing script that i have wrote
Load and install the OTA-update
I guess if you have used flashtool to root, steps one and two are not necessary. If you have used Bin4ry's rooting script it will not work and you will have to reflash(that's at least what i have experienced).
So what will this script to?
It will install all the files provided in the latest UPDATE-SuperSU-v1.93.zip from chainfire. And it is adapted from his update-binary.
I know it is not perfect as i have done it, but i am quite new to shell scripting. So any help to make it better is welcomed.
Thanks to the makers of flashtool and supersu for making this possible!
Click to expand...
Click to collapse
This is for Mac. Is it possible to make this script for Windows?

Dacha75 said:
This is for Mac. Is it possible to make this script for Windows?
Click to expand...
Click to collapse
Yes it was for mac and linux only, because i only use this two.
I have added a script for windows but I am not sure if it works, because i can't test it.
The file in my previous post has been updated.

thurin said:
Yes it was for mac and linux only, because i only use this two.
I have added a script for windows but I am not sure if it works, because i can't test it.
The file in my previous post has been updated.
Click to expand...
Click to collapse
Thank you. I'll try.

I can't root with flashtool. Which method in flashtool did you use for rooting?

Start flashtool.
Plug your phone with USB debugging on to your PC
Click on the sign of the open lock.
Then follow the instructions of flashtool
That should work for phones on a 4.1 Firmware

thurin said:
Start flashtool.
Plug your phone with USB debugging on to your PC
Click on the sign of the open lock.
Then follow the instructions of flashtool
That should work for phones on a 4.1 Firmware
Click to expand...
Click to collapse
I did that but flashtool won't root my phone.

[4.3] [T] Keep root with OTA-update
thurin said:
Ok I have managed to keep root with the OTA-update to 4.3!
As I have read the problem with updates to 4.3 from a <4.3 firmware is that root on 4.3 requires more than just the su binary as it was on <4.3 firmwares. So it has come to my mind(and at this point i am really confused that no one else has thought of this before) what if I install all the necessary files before I update? And guess what... It worked.
Here is what i have done:
Flash the latest 4.1 firmware with flashtool
Root using flashtool and supersu
Run the installing script that i have wrote
Load and install the OTA-update
I guess if you have used flashtool to root, steps one and two are not necessary. If you have used Bin4ry's rooting script it will not work and you will have to reflash(that's at least what i have experienced).
So what will this script to?
It will install all the files provided in the latest UPDATE-SuperSU-v1.93.zip from chainfire. And it is adapted from his update-binary.
I know it is not perfect as i have done it, but i am quite new to shell scripting. So any help to make it better is welcomed.
Thanks to the makers of flashtool and supersu for making this possible!
Click to expand...
Click to collapse
Your script for Windows works excellent. I have root on 4.3 after OTA-update.
Flashtool didn't wont to root my .141. I use [T/TX/V][ROOT] DooMLoRD Easy Rooting Toolkit (v17) {perf_event exploit}[20130717] for rooting.
THANK YOU !!!

thurin said:
Ok I have managed to keep root with the OTA-update to 4.3!
As I have read the problem with updates to 4.3 from a <4.3 firmware is that root on 4.3 requires more than just the su binary as it was on <4.3 firmwares. So it has come to my mind(and at this point i am really confused that no one else has thought of this before) what if I install all the necessary files before I update? And guess what... It worked.
Here is what i have done:
Flash the latest 4.1 firmware with flashtool
Root using flashtool and supersu
Run the installing script that i have wrote
Load and install the OTA-update
I guess if you have used flashtool to root, steps one and two are not necessary. If you have used Bin4ry's rooting script it will not work and you will have to reflash(that's at least what i have experienced).
So what will this script to?
It will install all the files provided in the latest UPDATE-SuperSU-v1.93.zip from chainfire. And it is adapted from his update-binary.
I know it is not perfect as i have done it, but i am quite new to shell scripting. So any help to make it better is welcomed.
Thanks to the makers of flashtool and supersu for making this possible!
Click to expand...
Click to collapse
I' ve tried your method (root with flashtools) but when I update from OTA I loose root (Supersu tells that couldn't find su binary) :crying:

thurin said:
Ok I have managed to keep root with the OTA-update to 4.3!
As I have read the problem with updates to 4.3 from a <4.3 firmware is that root on 4.3 requires more than just the su binary as it was on <4.3 firmwares. So it has come to my mind(and at this point i am really confused that no one else has thought of this before) what if I install all the necessary files before I update? And guess what... It worked.
Here is what i have done:
Flash the latest 4.1 firmware with flashtool
Root using flashtool and supersu
Run the installing script that i have wrote
Load and install the OTA-update
I guess if you have used flashtool to root, steps one and two are not necessary. If you have used Bin4ry's rooting script it will not work and you will have to reflash(that's at least what i have experienced).
So what will this script to?
It will install all the files provided in the latest UPDATE-SuperSU-v1.93.zip from chainfire. And it is adapted from his update-binary.
I know it is not perfect as i have done it, but i am quite new to shell scripting. So any help to make it better is welcomed.
Thanks to the makers of flashtool and supersu for making this possible!
Click to expand...
Click to collapse
hello friend this script work for xperia tx LT29i 4.1.2?

thurin said:
Ok I have managed to keep root with the OTA-update to 4.3!
As I have read the problem with updates to 4.3 from a <4.3 firmware is that root on 4.3 requires more than just the su binary as it was on <4.3 firmwares. So it has come to my mind(and at this point i am really confused that no one else has thought of this before) what if I install all the necessary files before I update? And guess what... It worked.
Here is what i have done:
Flash the latest 4.1 firmware with flashtool
Root using flashtool and supersu
Run the installing script that i have wrote
Load and install the OTA-update
I guess if you have used flashtool to root, steps one and two are not necessary. If you have used Bin4ry's rooting script it will not work and you will have to reflash(that's at least what i have experienced).
So what will this script to?
It will install all the files provided in the latest UPDATE-SuperSU-v1.93.zip from chainfire. And it is adapted from his update-binary.
I know it is not perfect as i have done it, but i am quite new to shell scripting. So any help to make it better is welcomed.
Thanks to the makers of flashtool and supersu for making this possible!
Click to expand...
Click to collapse
I Downloaded The Attached File from Post #7 but when I Run "runme.bat" I got this error! (Attached Pic)
Where is the problem??
I have Windows 7 64bit

Mahthenewgamer1998 said:
I Downloaded The Attached File from Post #7 but when I Run "runme.bat" I got this error! (Attached Pic)
Where is the problem??
I have Windows 7 64bit
Click to expand...
Click to collapse
You probably don't have ADB/Fastboot implemented in your system.
First do this Simple guide to ADB/Fastboot.
Then run file "runme.bat". This should work.
Link for downloading adb & fastboot on the page above is not working (for me).
View attachment adb_fastboot.zip

scrubs00 said:
hello friend this script work for xperia tx LT29i 4.1.2?
Click to expand...
Click to collapse
Yes

thurin said:
Ok I have managed to keep root with the OTA-update to 4.3!
As I have read the problem with updates to 4.3 from a <4.3 firmware is that root on 4.3 requires more than just the su binary as it was on <4.3 firmwares. So it has come to my mind(and at this point i am really confused that no one else has thought of this before) what if I install all the necessary files before I update? And guess what... It worked.
Here is what i have done:
Flash the latest 4.1 firmware with flashtool
Root using flashtool and supersu
Run the installing script that i have wrote
Load and install the OTA-update
I guess if you have used flashtool to root, steps one and two are not necessary. If you have used Bin4ry's rooting script it will not work and you will have to reflash(that's at least what i have experienced).
So what will this script to?
It will install all the files provided in the latest UPDATE-SuperSU-v1.93.zip from chainfire. And it is adapted from his update-binary.
I know it is not perfect as i have done it, but i am quite new to shell scripting. So any help to make it better is welcomed.
Thanks to the makers of flashtool and supersu for making this possible!
Click to expand...
Click to collapse
Thanks thurin. Your script worked for me too on my Xperia T. I was already rooted on JB 4.1.2 so went from step3 and now I'm still rooted on JB 4.3 firmware 9.2.A.1.199 (o2 UK). I'm surprised your post hasn't received more attention since I've seen a lot of queries about updating to JB 4.3 without losing root on bootloader locked phones.
Looking at the output in the CMD box when I ran the script it appears none of the file delete commands worked as I had lots of
"rm failed for -f, No such file or directory." errors, however I checked with ES Explorer that everything looked OK before running the OTA update.
I think it is that the android default 'rm' command doesn't support the '-f' switch, but if you amend your script to use the file delete from busybox then those errors shouldn't occur,
e.g. /system/xbin/busybox rm -f /system/bin/su

Related

[Q] Unroot for OTA Update

Hi and sorry if i'm wrong here, but i am not able to write in the dev directory, yet.
I unlocked and rooted my phone but now i am not able to update to the new OTA 39002 version.
Is there a way for a temporary unroot or something like this? Because i want to keep my root!
Thank you for help.
baxxter106 said:
Hi and sorry if i'm wrong here, but i am not able to write in the dev directory, yet.
I unlocked and rooted my phone but now i am not able to update to the new OTA 39002 version.
Is there a way for a temporary unroot or something like this? Because i want to keep my root!
Thank you for help.
Click to expand...
Click to collapse
With something like this:
https://play.google.com/store/apps/details?id=org.projectvoodoo.otarootkeeper&hl=fr
But root should not prevent for an OTA update
Le_Poilu said:
But root should not prevent for an OTA update
Click to expand...
Click to collapse
Thanks for fast answer.
I thought the same, but when it is starting up to update in the middle it shows the "dead" android with the red "!" , you know.
after that the phone boots normaly and it says "not successfull"...
i already tried some times...
I will try the rootkeeper, thanks for that again.
baxxter106 said:
Thanks for fast answer.
I thought the same, but when it is starting up to update in the middle it shows the "dead" android with the red "!" , you know.
after that the phone boots normaly and it says "not successfull"...
i already tried some times...
I will try the rootkeeper, thanks for that again.
Click to expand...
Click to collapse
Have you change some file (like to disable camera sound ) ?
I've the same issue with OTA, and I revert all changes I've made in the past, and it work.
If you rooted your Device by changing the Kernel, you have to flash the Boot signed of the Base FW (32 i guess).
The update compares the Base Rom and the Root Exploit set you an secured Kernel, that doesn't match with the System > Problem solved.
The Root won't deny the Update. You can temp. unroot with the ported Rootkeeper (thanks to Mattlgroff) and restore the Root after the Update.
But the Boot.img must fit!
I think i did not change something. Except the kernel that came wih the rooting by mattlgroffs tool.
So i need to change the kernel with a recovery kernel via adb?
Could somebody tell me the comands? (With cwm on a SGS was it a bit easier )
Sent from my XT890 using xda app-developers app
Yes, you have to use fastboot for it (it's in the Folder of the root exploit)
Download your current FW, unpack it and copy the Boot_signed into the Root folder. Then open the cmd window, navigate to the Root Folder by cd command.
Flash the image by
Fastboot flash boot boot_signed.
Alternate you can rename it to razr_i_boot.img and overwrite the secured Kernel in the Exploit. Than just root again and it will flash the right secured Kernel.
Thank you. I will try that today. Btw. where can i find mattlgroffs root keeper? The version in the play store does...nothing?
Sent from my XT890 using xda app-developers app
http://forum.xda-developers.com/showthread.php?p=34248515

[Q] root locked bootloader ZR

hello
i want to root A.2.67 firmware but my bootloader is locked
so can some1 provide me with the previous version of kernel so i can flash that kernel and root my device
coz i tried with the kernel file or ZL which did not worked it crashed my phone
and i couldnot find the kernel for ZR
so please help
thanks
sanket_naik08 said:
hello
i want to root A.2.67 firmware but my bootloader is locked
so can some1 provide me with the previous version of kernel so i can flash that kernel and root my device
coz i tried with the kernel file or ZL which did not worked it crashed my phone
and i couldnot find the kernel for ZR
so please help
thanks
Click to expand...
Click to collapse
can you just flash a new clena fw? always the best thing to do.
and btw just use vroot or framroot to root 2.67 next time, no need to flash kernels...
shteren said:
can you just flash a new clena fw? always the best thing to do.
and btw just use vroot or framroot to root 2.67 next time, no need to flash kernels...
Click to expand...
Click to collapse
Can u just guide me for either of the procedure so that i cn root my phone
Thanks
mybe if you try to Google them you will discover some wonderful things!
Sent from my C5503 using Tapatalk
shteren said:
mybe if you try to Google them you will discover some wonderful things!
Click to expand...
Click to collapse
Yeah, nice attitude buddy, but if you google vroot it points you here, where the damn thing is banned.
ToneLa said:
Yeah, nice attitude buddy, but if you google vroot it points you here, where the damn thing is banned.
Click to expand...
Click to collapse
only the download link is banned, you can get the file somewhere else, and the guide tells you how to use it, and this one is actually an easier option:
http://forum.xda-developers.com/showthread.php?t=2130276
it roots the nexus 4, which is the same hardware as our zxr, it should work.
shteren said:
only the download link is banned, you can get the file somewhere else, and the guide tells you how to use it, and this one is actually an easier option:
http://forum.xda-developers.com/showthread.php?t=2130276
it roots the nexus 4, which is the same hardware as our zxr, it should work.
Click to expand...
Click to collapse
Thanks, I gave this a try.
The two exploits, Aragorn and Gandalf, both fail. "Try another exploit if available. Error 5" Well I gave it a shot. Any advice is welcome
I also want to root my c5503, with a locked bootloader.
I found this thread: http://forum.xda-developers.com/showthread.php?t=2386405 and according to it i just need a older kernel.
So here are my questions: is the 10.1.1.A.1.310 old enough and does it work with this root method?
How do i get just the kernel out of an existing ftf file?
Thanks for help guys!
Download vroot to your pc and intall, plug your phone run vroot and press green button that says root, that's it, now you can change the superuser app of your choice.
Hope I helped
Sent from my C5502 using xda premium
...
CarlitosMendezR said:
Download vroot to your pc and intall, plug your phone run vroot and press green button that says root, that's it, now you can change the superuser app of your choice.
Hope I helped
Sent from my C5502 using xda premium
Click to expand...
Click to collapse
Not really. Vroot is no longer available anywhere.
Thanks for the hint, but i don't trust in vroot...
try kingo root
Made in ZR
I finally managed to root with the following steps:
1) flashed the .310 Nordic ftf
2) used doomlords exploid v18
3) ota updates to vers .67 --> root still persists
I also tried to flash only the 310 kernel (like rooting the description from the z says), but that ended up in a bootloop with the Sony logo. -no idea why!
wihushae said:
I finally managed to root with the following steps:
1) flashed the .310 Nordic ftf
2) used doomlords exploid v18
3) ota updates to vers .67 --> root still persists
I also tried to flash only the 310 kernel (like rooting the description from the z says), but that ended up in a bootloop with the Sony logo. -no idea why!
Click to expand...
Click to collapse
how did you enable the ota update on rooted .310? I temporarily disabled it with ota preserver but nothing happens.
I didn't had to enable it, it was enabled by default!
I just gave the ota update after the root a try and it just worked...
wihushae said:
I didn't had to enable it, it was enabled by default!
I just gave the ota update after the root a try and it just worked...
Click to expand...
Click to collapse
It thinks it's already updated for me. so is there no way to enable it?
EDIT: Never mind, managed to fix it: It turns out I was trying to upgrade from the global version of .310; reflashing to the Hong-Kong version allowed me to update.
wihushae said:
I finally managed to root with the following steps:
1) flashed the .310 Nordic ftf
2) used doomlords exploid v18
3) ota updates to vers .67 --> root still persists
I also tried to flash only the 310 kernel (like rooting the description from the z says), but that ended up in a bootloop with the Sony logo. -no idea why!
Click to expand...
Click to collapse
can you share .310 ftf
which would help me to root
Have a look here: http://forum.xda-developers.com/showthread.php?t=2465088
Download VRoot - Click Here to Download..
I rooted Xperia ZR 10.31.A.2.67 with locked bootloader, and its say ok.
But when i mount system the phone is rebooting,
How can i fix this?
I try install remountrebootfix but its say installed but teh phone still rebooting when i mount system.
---------- Post added at 06:42 PM ---------- Previous post was at 06:37 PM ----------
I rooted Xperia ZR 10.31.A.2.67 with locked bootloader, and its say ok.
But when i mount system the phone is rebooting,
How can i fix this?
I try install remountrebootfix but its say installed but teh phone still rebooting when i mount system.

Rooting xperia zr without Loosing drm data & having locked bootloader

As you know there are not many kernel options for ZR as in Z you have to unlock bootloader to root the phone to flash it with CWM or any other recovery.
So this is detailed Guide to root Xperia ZR & having Locked Bootloader
1) Don't upgrade your phone to 4.2.2_10.3.1.A.2.67 Firmware & If you already updated it to Downgrade it to 4.1.2_10.1.1.a.1.310 Firmware In Flash mode Using Flashtool 9.13 (Download Flashtool 9.11 install it After upgrade it with 9.12 & 9.13) don't unlock bootloader.
2)Now Root it Using DooMLoRD_Easy-Rooting-Toolkit_v18_perf-event-exploit. to root just click runme.bat. Your phone will get root access & you will get Superuser app
3)Then use Backup-TA-9.8 to backup your TA.img & save it at any Safe location for further Use ( It Content DRM Data & must be saved throughout lifespan of your phone).
4)Now upgrade your phone to 10.3.1.A.2.67 either by OTA or Using Sony PC companion & if you are unable to get upgrade don't panic just use flashtool & flash the 4.1.2_10.1.1.a.1.310 again & try the OTA upgrade. (As i do have both for Indian region but attachments will be too big to Attach here).
5)Now install Vroot on your PC & root your phone with it. Now you can see that your bootloader got unlocked but don't panic install SuperSu from Playstore update binary for it reboot your phone. now freeze Superuser from Vroot using titanium backup then update binary for SuperSu. Now convert Superuser from Vroot into user app using Titanium Backup. Reboot Your phone update binary for SuperSu & uninstall superuser from Vroot.
6)Now Use BLU button From Flashtool. on pressing BLU button Flashtool it will prompt to start phone in flash mode to unlock bootloader just do as prompted but dont disconnect the phone after boot loader just hit the BLU button to re-lock bootloader. Reboot your phone.
7)Now just flash Back-up your TA Using Backup-TA-9.8.
8)Congratulation now you have rooted phone with locked bootloader with full functionality.
I wrote this because i just lost DRM data things cant be undone.
SO for all Niewbies this is guide to ROOT ZR with Locked BootLoader.
sasaengineeringworks said:
As you know there are not many kernel options for ZR as in Z you have to unlock bootloader to root the phone to flash it with CWM or any other recovery.
So this is detailed Guide to root Xperia ZR & having Locked Bootloader
1) Don't upgrade your phone to 4.2.2_10.3.1.A.2.67 Firmware & If you already updated it to Downgrade it to 4.1.2_10.1.1.a.1.310 Firmware In Flash mode Using Flashtool 9.13 (Download Flashtool 9.11 install it After upgrade it with 9.12 & 9.13) don't unlock bootloader.
2)Now Root it Using DooMLoRD_Easy-Rooting-Toolkit_v18_perf-event-exploit. to root just click runme.bat. Your phone will get root access & you will get Superuser app
3)Then use Backup-TA-9.8 to backup your TA.img & save it at any Safe location for further Use ( It Content DRM Data & must be saved throughout lifespan of your phone).
4)Now upgrade your phone to 10.3.1.A.2.67 either by OTA or Using Sony PC companion & if you are unable to get upgrade don't panic just use flashtool & flash the 4.1.2_10.1.1.a.1.310 again & try the OTA upgrade. (As i do have both for Indian region but attachments will be too big to Attach here).
5)Now install Vroot on your PC & root your phone with it. Now you can see that your bootloader got unlocked but don't panic install SuperSu from Playstore update binary for it reboot your phone. now freeze Superuser from Vroot using titanium backup then update binary for SuperSu. Now convert Superuser from Vroot into user app using Titanium Backup. Reboot Your phone update binary for SuperSu & uninstall superuser from Vroot.
6)Now Use BLU button From Flashtool. on pressing BLU button Flashtool it will prompt to start phone in flash mode to unlock bootloader just do as prompted but dont disconnect the phone after boot loader just hit the BLU button to re-lock bootloader. Reboot your phone.
7)Now just flash Back-up your TA Using Backup-TA-9.8.
8)Congratulation now you have rooted phone with locked bootloader with full functionality.
I wrote this because i just lost DRM data things cant be undone.
SO for all Niewbies this is guide to ROOT ZR with Locked BootLoader.
Click to expand...
Click to collapse
May i know why DRM is important and what is it used for?
good guide. only problems are...
there are a LOT of exact same guides floating around for MONTHS already. why do u feel u need to make a new one?
also, where are your credits and permissions to share other ppls' work here?
and also, there are those easy 1-click solutions available for MONTHS already and most ppl use that now instead of this complicated method which is outdated and troublesome...
oh one more thing after i read thru it again...
sasaengineeringworks said:
5)Now install Vroot on your PC & root your phone with it. Now you can see that your bootloader got unlocked but don't panic install SuperSu from Playstore update binary for it reboot your phone. now freeze Superuser from Vroot using titanium backup then update binary for SuperSu. Now convert Superuser from Vroot into user app using Titanium Backup. Reboot Your phone update binary for SuperSu & uninstall superuser from Vroot.
Click to expand...
Click to collapse
ur this just made your entire post redundant... because... THAT is ALL you need to do. nothing else. and even that is inaccurate info...
so please, having just joined XDA only recently with 4 posts and you think ppl here don't know what inaccurate info you know? do a search first in future... don't make unnecessary posts, k?
Just a reply
chewdaniel said:
good guide. only problems are...
there are a LOT of exact same guides floating around for MONTHS already. why do u feel u need to make a new one?
also, where are your credits and permissions to share other ppls' work here?
and also, there are those easy 1-click solutions available for MONTHS already and most ppl use that now instead of this complicated method which is outdated and troublesome...
oh one more thing after i read thru it again...
ur this just made your entire post redundant... because... THAT is ALL you need to do. nothing else. and even that is inaccurate info...
so please, having just joined XDA only recently with 4 posts and you think ppl here don't know what inaccurate info you know? do a search first in future... don't make unnecessary posts, k?
Click to expand...
Click to collapse
OK i agree there are there are many guide for rooting but all are applicable to Z or Zl having many kernel options. not as Zr which has very few kernel option.
Try any Method except vroot on Zr & tell me which are more useful.
Even vroot unlocks bootloader so to get root with 4.1 without unlocking bootloader is precautionary because accidental wipe of Ta partition may void Warranty.
This is not for pro who can build kernel for those who knew very less about android, to avoid them all pain i suffered.
& again i joined this forum 4 days ago as you think but i used this subscribed it 4 years ago with my first X10 & used it Since then anonymously as i lost my password for cant retrieve it.
& Tell me What is inaccurate i will try it Myself.
If you think its ridiculous why you haven't posted how to Root Zr it would have saved me a lot of pain.
So as you done nothing before stay as you are at least i m trying to save pain of others.
DRM
Islamegy said:
May i know why DRM is important and what is it used for?
Click to expand...
Click to collapse
DRM data is Digital Rigths Management Data which links purchased data to your phone without which you cant use data u purchased. More Important without which warranty voids, Bravia Engine seizes to work properly as it works with DRM Data. & Track Id downloaded from Market will not integrate with walkman which are Sony proprietary software's.
"Even vroot unlocks bootloader..."
WRONG
Vroot on 4.2.2 works without any issue...
Sent from my C5503
chewdaniel said:
"Even vroot unlocks bootloader..."
WRONG
Vroot on 4.2.2 works without any issue...
Sent from my C5503
Click to expand...
Click to collapse
I support this, I have done it just today on my C5503 and I confirm that I STILL have BE2, I just uninstalled vRoot Immediately because of the first post in this Thread Page
Kratellismorru said:
I support this, I have done it just today on my C5503 and I confirm that I STILL have BE2, I just uninstalled vRoot Immediately because of the first post in this Thread Page
Click to expand...
Click to collapse
hmm... i don't get any sort of crap from that software on my PC... maybe cos i was smart enough not to just blindly click Next all the way. IE/reg/security settings are all fine (part of my job is IT security so i know when weird things come into my PC)
as for the screenshot of the superuser app "dialing home", well one of the first few things i did was to replace it with SuperSU...
what..?? I've never seen a rooting procedure which unlocks the BL... and that last one absolutely doesn't need to be unlocked for rooting ! Honestly, I've serious doubts about your intentions. Why the hell do you tell upgrading, flashing, flashing back and blabla... this is too complicated.
Get vroot or kingo root, that's all you need
> chewdaniel personally, I use Superuser by clockwormod, it's open source and a safe alternative as well.
chewdaniel said:
good guide. only problems are...
there are a LOT of exact same guides floating around for MONTHS already. why do u feel u need to make a new one?
also, where are your credits and permissions to share other ppls' work here?
and also, there are those easy 1-click solutions available for MONTHS already and most ppl use that now instead of this complicated method which is outdated and troublesome...
oh one more thing after i read thru it again...
ur this just made your entire post redundant... because... THAT is ALL you need to do. nothing else. and even that is inaccurate info...
so please, having just joined XDA only recently with 4 posts and you think ppl here don't know what inaccurate info you know? do a search first in future... don't make unnecessary posts, k?
Click to expand...
Click to collapse
This ^^^^^^^^
Thread closed

[Q][Solved] Rooting and OTA?

I got a brand new Xperia Z1, and I'm thinking about rooting.
After reading a bit, I saw that it is quite complicated to maintain the root throughout firmware updates (i.e. [NUT]'s guide).
I'm thinking about rooting the device using a one-click-root tool, modify the /etc/hosts file, and then update and lose the root.
Has anyone used a one-click-root and than OTA-updated successfully? If so, which of the three one-click-root tools did you use? Did you have any special problems later?
Thanks for the help!
======
Edit: It doesn't work
Just to clarify - I wanted to have root only temporarily, in order to modify the hosts file. I did not care about having it later.
Here is what I actually ended up doing.
1. Started with firmware version 14.1.G.1.534
2. Rooted using VRoot (See Guide by krabappel2548). Make sure to un-tick "verify apps over USB" in developer options
3. Changed the "/etc/hosts" file to my version of the file
4. Tried to do an OTA - and it didn't work :\
5. Used Sony PC Companion and successfully updated to 14.2.A.1.136
As expected, I lost root access. Unfortunately, the hosts file was also overrun by the update. I'm now back to a normal hosts file :\
I did a few additional steps which shouldn't be too important, but might have affected the process (backing up of the TA partition, installing SuperSU and removing it, etc...). If this topic is of some importance to you, let me know and I'll write exactly what I did.
bump
MrSavage said:
I got a brand new Xperia Z1, and I'm thinking about rooting.
After reading a bit, I saw that it is quite complicated to maintain the root throughout firmware updates (i.e. [NUT]'s guide).
I'm thinking about rooting the device using a one-click-root tool, modify the /etc/hosts file, and then update and lose the root.
Has anyone used a one-click-root and than OTA-updated successfully? If so, which of the three one-click-root tools did you use? Did you have any special problems later?
Thanks for the help!
Click to expand...
Click to collapse
It's not possible to keep root and OTA to the newest firmwares. This has been mentioned several times. All you can do is downgrade root and then flash prerooted firmwares.
I'm well aware that I will lose the root during the update. My question is whether I'll be able to do an OTA update at all.
(I want to root the device only for a few seconds, in order to modify the hosts file once)
What about ticking survival mode in supersu
Gesendet von meinem C6903 mit Tapatalk
Just tried to do it. Unfortunately, it didn't work.
OTA failed, and updating using the PC caused my hosts file to be overrun. Bummer

MRA58N Available

I noticed that MRA58N (Android 6.0.0 with November 1, 2015 Android security patch level) was available tonight. Since I didn't see any posts about it so I downloaded and installed it. I was able to root with the method in #1 here and install BusyBox and everything is working so far. I haven't tried the "Root without modifying /system" in #2 of that same post so I'm very interested in seeing if it still works with that method or if something has been done to block that method in MRA58N.
alryder said:
I haven't tried the "Root without modifying /system" in #2 of that same post so I'm very interested in seeing if it still works with that method or if something has been done to block that method in MRA58N.
Click to expand...
Click to collapse
I was on MRA58K with the experimental "systemless" root method. I extracted and flashed the system.img from MRA58N and still had root afterwards. No need to reflash the modified boot.img or anything. I did have to reinstall BusyBox and edit my build.prop for lower dpi, multiwindow, etc again.
The only issue I'm having is SELinux Mode Changer can't gain root access and Titanium Backup can't delete any apps. I have to do that manually with Root Explorer.
Face_Plant said:
The only issue I'm having is SELinux Mode Changer can't gain root access and Titanium Backup can't delete any apps. I have to do that manually with Root Explorer.
Click to expand...
Click to collapse
Thanks for your update. I didn't run into that issue using the root method #1 that uses the modified boot.img and SuperSU 2.52. I was able uninstall five system apps and reinstall them as user apps. Looks like there is still a bit of work to be done on the "systemless" root method before it's ready for prime time.
hmm..
can i just flash system.img if i have stock rooted with elementalX, rooted using SuperSU.46 or whatever awhile back...
darthchilli said:
hmm..
can i just flash system.img if i have stock rooted with elementalX, rooted using SuperSU.46 or whatever awhile back...
Click to expand...
Click to collapse
Unfortunately I'm not sure about that. The only method I have used to root Marshmallow is to flash the shamu-mra58k-boot.zip system.img from here and then flash SuperSU 2.52 from here. I haven't tried any other methods for rooting. The steps I used are:
- flash/upgrade to Marshmellow
- flash modified boot.img
- flash/boot TWRP and sideload v2.52
Sorry I can't be more helpful on this.
I've been waiting for this first update to give me the incentive to look at decrypting my N6, which I managed to encrypt (duh...) when I flashed MRA58K. Although to be honest I see no difference, it annoys me to know that there must be some performance and battery hit (yeah, I'm an anal retentive... ).
A second wish is to switch from SuperSU to doitright's open-source superuser just because of the news that SuperSU has been sold to a commercial company, and like many others I don't like the sound of that. But as mentioned in doitright's thread, it's not for noobs (yet), so I'm not clear on the process.
Would someone please be kind enough to lay out a step-by-step guide to achieving this? I could just flash the system.img as described above, but that wouldn't decrypt nor would it swap Superuser, and I don't want to end up yet again with the "wrong" configuration.
some reason every time i try to use systemless root it just says binaries are not installed, and it doesnt work, OR the modified boot will not flash at all

Categories

Resources