All credit goes to @zhuhang. I have no contribution to it.
Original thread is here: http://forum.xda-developers.com/showthread.php?p=45344021
This method will help you gain root access on the latest .67 4.2.2 update that Sony recently pushed out.
Disclaimer:
- This requires a PC.
- No CWM needed.
- This installs a Chinese root manager rather than superuser or superSU. But I will teach you how to replace it below.
Instruction:
1. Download the rooting application. (This app can root many other devices )
VRoot_1.6.0.3690
http://www.mediafire.com/download/v3...3690_Setup.exe
2. Install the app. This is a Chinese app so I will guide you. Below is a step by step screenshot attached guide.
3. Start VROOT and root now!
4. Now we need to install SuperSU from play store to replace the Chinese root manager called 授权管理 1.0.4.
5. Go to play store and install SuperSU.
6. Start SuperSU and you will be asked for permission by 授权管理 1.0.4, choose 允许(means allow). (Should be the right side option.)
7. SuperSU will prompt to install SU binary, go ahead with OK and it will display successful.
8. Now, freeze 授权管理 1.0.4 in titanium backup, just in case you need it again.
Note: If you uninstall straight away from app manager, you need to make sure SuperSU updated the binary.
9. Re-run SuperSU to make sure everything is alright. You will be prompt again to install SU binary, just do what it asked.
10. After that, you are rooted with SuperSU and 授权管理 1.0.4 will not be there anymore.
Click to expand...
Click to collapse
djpeesh said:
Can someone upload an ftf with just the kernel.sin and bootloader.sin for the C5503? I tried creating one using C5502 kernel and i got stuck in a boot loop. luckily my battery was just at about 10% and so I quickly flashed back the 4.2.2 Kernel of the 5503 and all is well.
Once we get the kernel only ftf, can test and create guide for rooting 5503 on 4.2.2
Click to expand...
Click to collapse
Tried with the C5503 kernel. Same boot loop. I think we'll have to find an alternate root method, as unlike the Z, the ZR doesnt have .234 firmware [that is also 4.2]
Experimenting with the Z firmware. Wish me luck
Why not flash only kernel from the previous firmware? Isn't working?
UPD. I see - not work
djpeesh said:
Tried with the C5503 kernel. Same boot loop. I think we'll have to find an alternate root method, as unlike the Z, the ZR doesnt have .234 firmware [that is also 4.2]
Experimenting with the Z firmware. Wish me luck
Click to expand...
Click to collapse
I have rooted mine already (ie. Android 4.2.2). You have to unlock your bootloader for this method to work.
akash4357 said:
I have rooted mine already (ie. Android 4.2.2). You have to unlock your bootloader for this method to work.
Click to expand...
Click to collapse
Can you say more about your 4.2.2 rooting method?
itandy said:
Can you say more about your 4.2.2 rooting method?
Click to expand...
Click to collapse
Firstly you need to unlock your bootloader. Google that, its easy. OR you can do it through flashtools (not tested).
Enable USB Debugging and unknown sources option on your phone before proceeding.
Download Flashtool, Open it. Flash the the kernel of an old firmware of Xperia ZR which was rootable.
Reboot your Xperia ZR after flashing. Connect to PC in USB Debugging mode.
Do not forget to close FLASHTOOL.
Extract the downloaded “DooMLoRD_Easy-Rooting-Toolkit_v18_perf-event-exploit.zip” file and run the “runme_win” file.
Follow onscreen instructions to root Xperia ZR and once it is rooted, device will reboot. Verify that you are rooted, run SuperSU app.
Now switch off your Xperia ZR. OPEN FLASHTOOL.
Now you need to flash the true kernel of Android 4.2.2 10.3.1.A.0.244 firmware of Xperia ZR.
After flashing, disconnect the phone from PC, reboot it and your Xperia ZR is now rooted
Official Thread
akash4357 said:
Firstly you need to unlock your bootloader. Google that, its easy. OR you can do it through flashtools (not tested).
Enable USB Debugging and unknown sources option on your phone before proceeding.
Download Flashtool, Open it. Flash the the kernel of an old firmware of Xperia ZR which was rootable.
Reboot your Xperia ZR after flashing. Connect to PC in USB Debugging mode.
Do not forget to close FLASHTOOL.
Extract the downloaded “DooMLoRD_Easy-Rooting-Toolkit_v18_perf-event-exploit.zip” file and run the “runme_win” file.
Follow onscreen instructions to root Xperia ZR and once it is rooted, device will reboot. Verify that you are rooted, run SuperSU app.
Now switch off your Xperia ZR. OPEN FLASHTOOL.
Now you need to flash the true kernel of Android 4.2.2 10.3.1.A.0.244 firmware of Xperia ZR.
After flashing, disconnect the phone from PC, reboot it and your Xperia ZR is now rooted
Click to expand...
Click to collapse
So basically you're doing:
Use FlashTool to flash the 4.2.2 FTF
Downgrade the kernel by using FlashTool back to 4.1.2
Run the DoomLord rooting kit
Flash back 4.2.2 kernel using FlashTool
To flash the kernel you need an unlocked bootloader. What I don't understand is how to flash the kernel only? I found the kernel.sin inside the FTF file. Can I just delete other .sin file and flash the remaining FTF file?
Sorry if my questions are noob.
itandy said:
So basically you're doing:
Use FlashTool to flash the 4.2.2 FTF
Downgrade the kernel by using FlashTool back to 4.1.2
Run the DoomLord rooting kit
Flash back 4.2.2 kernel using FlashTool
To flash the kernel you need an unlocked bootloader. What I don't understand is how to flash the kernel only? I found the kernel.sin inside the FTF file. Can I just delete other .sin file and flash the remaining FTF file?
Sorry if my questions are noob.
Click to expand...
Click to collapse
You need to keep the kernel.sin and bootloader.sin in the ftf and delete the rest. Also don't delete the META-INF file.
Official thread
akash4357 said:
You need to keep the kernel.sin and bootloader.sin in the ftf and delete the rest. Also don't delete the META-INF file.
Official thread
Click to expand...
Click to collapse
The problem is the bootloader? I thought doom's thread said that this was for locked and unlocked bootloader. Unlocking the bootloader will lead to a lot of people avoiding the root method.
Sent from my C5503 using Tapatalk 2
djpeesh said:
The problem is the bootloader? I thought doom's thread said that this was for locked and unlocked bootloader. Unlocking the bootloader will lead to a lot of people avoiding the root method.
Sent from my C5503 using Tapatalk 2
Click to expand...
Click to collapse
So is an unlocked bootloader NEEDED for this method to work for ZR? I thought DoomLord said it works for both.
akash4357 said:
You need to keep the kernel.sin and bootloader.sin in the ftf and delete the rest. Also don't delete the META-INF file.
Official thread
Click to expand...
Click to collapse
Have you managed to root through this method?
djpeesh said:
Have you managed to root through this method?
Click to expand...
Click to collapse
I did manage to root it, but then the phone suddenly restarts. Now I am stuck with bootloops. Strange as I managed to install Superuser from the Play Store.
Edit. I recommend not trying to root using this method. Wait till theres a definitive rooting method.
djpeesh said:
Have you managed to root through this method?
Click to expand...
Click to collapse
I see you got bootloop from the other thread. Did you manage to fix it?
Bump.
itandy said:
I see you got bootloop from the other thread. Did you manage to fix it?
Click to expand...
Click to collapse
Yes. I fixed the bootloop issue. Need any help with the bootloop?
If you've got a bootloop, pull the battery asap as once it dies, you won't be able to flash ftf and the device will be bricked.
To fix bootloop [and still not get root access]
1. Open the 4.2.2 ftf file in flashtool.
2. Exclude everything [tick in the exclude box] except the kernel, and untick everything in the wipe box [data, applog]
3. Flash the kernel by pressing the volume down button while plugging in USB cable [DONT PRESS POWER BUTTON AFTER BATTERY PULL AS OTHERWISE YOU'LL GO BACK INTO BOOTLOOP]
4. After it flashes [should take a couple of seconds], reboot and you should be back to normal
I REPEAT PULL THE BATTERY IF IN A BOOTLOOP OR YOU'LL LAND UP WITH ANOTHER PAPERWEIGHT
djpeesh said:
Yes. I fixed the bootloop issue. Need any help with the bootloop?
If you've got a bootloop, pull the battery asap as once it dies, you won't be able to flash ftf and the device will be bricked.
To fix bootloop [and still not get root access]
1. Open the 4.2.2 ftf file in flashtool.
2. Exclude everything [tick in the exclude box] except the kernel, and untick everything in the wipe box [data, applog]
3. Flash the kernel by pressing the volume down button while plugging in USB cable [DONT PRESS POWER BUTTON AFTER BATTERY PULL AS OTHERWISE YOU'LL GO BACK INTO BOOTLOOP]
4. After it flashes [should take a couple of seconds], reboot and you should be back to normal
I REPEAT PULL THE BATTERY IF IN A BOOTLOOP OR YOU'LL LAND UP WITH ANOTHER PAPERWEIGHT
Click to expand...
Click to collapse
I just learned a lesson! Thanks!
So again you're not successful in rooting 4.2.2 using the kernel switching method?
i think the kernel switching fix will not work on ZR.. we don't have a rootable 4.2 kernel
i think the 423 kernel is 4.2
djpeesh said:
Yes. I fixed the bootloop issue. Need any help with the bootloop?
If you've got a bootloop, pull the battery asap as once it dies, you won't be able to flash ftf and the device will be bricked.
To fix bootloop [and still not get root access]
1. Open the 4.2.2 ftf file in flashtool.
2. Exclude everything [tick in the exclude box] except the kernel, and untick everything in the wipe box [data, applog]
3. Flash the kernel by pressing the volume down button while plugging in USB cable [DONT PRESS POWER BUTTON AFTER BATTERY PULL AS OTHERWISE YOU'LL GO BACK INTO BOOTLOOP]
4. After it flashes [should take a couple of seconds], reboot and you should be back to normal
I REPEAT PULL THE BATTERY IF IN A BOOTLOOP OR YOU'LL LAND UP WITH ANOTHER PAPERWEIGHT
Click to expand...
Click to collapse
I am trying to get 4.2.2, but after flashing the system rom on step 4, I got into a boot loop. I can't seem to use flashtool to recover, Please help! I can't even get to recovery
EDIT: Now I am going somewhere I think, but I don't know if this is serious, I get this from flashmode now
ERROR - Error in processHeader : 1 : Incorrect function.
ERROR - Error flashing. Aborted
EDIT: I think I bricked my device =(
grim_ripper said:
I am trying to get 4.2.2, but after flashing the system rom on step 4, I got into a boot loop. I can't seem to use flashtool to recover, Please help! I can't even get to recovery
EDIT: Now I am going somewhere I think, but I don't know if this is serious, I get this from flashmode now
ERROR - Error in processHeader : 1 : Incorrect function.
ERROR - Error flashing. Aborted
EDIT: I think I bricked my device =(
Click to expand...
Click to collapse
It happened to me also, but it's possible to recover from it.
Install PC Companion on your PC.
Go to Support Zone.
First option -> Update phone / tablet software.
You will see a underlined link that says "repair phone / tablet"
Just follow the instructions.
You will need your phone to have at least 50% battery level. Take out the battery, insert again, and connect your phone to your PC via USB while pressing the Volume + button. You will hear a sound coming from your PC meaning it's been connected.
Sony PC Companion then will flash your phone with the latest firmware. It takes a while and you need to have internet connection, but it works.
As you flashed the Russian system rom, the firmware installed in your phone by Sony PC companion will be the Russian Android 4.2.2. No problem with this as it includes all the languages.
Do this as soon as possible as you need your battery charged and you can't charge the battery in your phone while in the bootloop state.
-------------------------------------------------------------------------
-------------------------------------------------------------------------
I'm not sure what we did wrong to be stuck in a bootloop, but after my ZR being reflashed by Sony PC Companion I just flashed the Nordic 4.2.2 ROM and my phone remains unrooted until there is a easier method to get root
grim_ripper said:
I am trying to get 4.2.2, but after flashing the system rom on step 4, I got into a boot loop. I can't seem to use flashtool to recover, Please help! I can't even get to recovery
EDIT: Now I am going somewhere I think, but I don't know if this is serious, I get this from flashmode now
ERROR - Error in processHeader : 1 : Incorrect function.
ERROR - Error flashing. Aborted
EDIT: I think I bricked my device =(
Click to expand...
Click to collapse
In fact you should read the other thread for a workable root method for 4.2.2. This thread is very old and AFAIK this method doesn't work.
think i soft bricked my phone, can someone help me please,
I was on monx (257)
I flashed monXdifedZ-Honami-290_v03.00-02P] rom 4.3 from recovery
switched off my phone,
then used flashtool instructions with generic UK (290) excluding system only because there was no TA option, but at the end of flashing it said
"For flashtool, Unknown Sources and Debugging must be checked in phone settings"
but I cant boot my phone now to enable USB debugging and i cant get into recovery
I made a twrp backup of my (257) before flashing so what shall i do now???
I'm guessing I should flash stock 257 but I dont know which options to tick in flashtool??
also will i be able to root and install recovery again on 257 or do i need to go back to 534?
iamflamez said:
think i soft bricked my phone, can someone help me please,
I was on monx (257)
I flashed monXdifedZ-Honami-290_v03.00-02P] rom 4.3 from recovery
switched off my phone,
then used flashtool instructions with generic UK (290) excluding system only because there was no TA option, but at the end of flashing it said
"For flashtool, Unknown Sources and Debugging must be checked in phone settings"
but I cant boot my phone now to enable USB debugging and i cant get into recovery
I made a twrp backup of my (257) before flashing so what shall i do now???
I'm guessing I should flash stock 257 but I dont know which options to tick in flashtool??
also will i be able to root and install recovery again on 257 or do i need to go back to 534?
Click to expand...
Click to collapse
Do you have a bootlop can u enter in flashmode again ? I would recommand not to play with this stuff (4.3 update) u will end with a hard brick and then it will be a uselles dead phone ,try reparing using PCC !
Meni30 said:
Do you have a bootlop can u enter in flashmode again ? I would recommand not to play with this stuff (4.3 update) u will end with a hard brick and then it will be a uselles dead phone ,try reparing using PCC !
Click to expand...
Click to collapse
I now flashed stock 257 with flashtool, i still have my files and apps, but i have lost my nav bar, notification panel, root and recovery
edit: im back on 290 it was the generic uk 290 ftf that was cauding me problems,
only thing now is when i get a phone call the picture is really squashed and the green and red button are next to eachother directly.
Hello,
i got a Sony Xperia Z1 C6903,
i bought it 5 Weeks ago, it got the Firmware 290
i Downgraded it to 534 and rooted it with "Root with Restore by Bin4ry"
then i flashed XZ Locked Dual Recovery and had no problems
i wiped everything like i should
and then i tried to install via TWRP the 290 Flashable.zip
after it i shut off my device (i didn't reboot just shut it off)
then i started to flash the striped 290 on the device
after this when i try to start the device all i see is SONY
and nothing else..
when i downgrade the firmware again to 534 and root it there are no problems... only when i try to flash to 290 it get stuck at the sony screen...
is there someone that could help me? :/
EDIT:
after i flash the 290 firmware via TWRP i get the message:
"E:Unable to mount '/data'"
E3.14demie said:
Hello,
i got a Sony Xperia Z1 C6903,
i bought it 5 Weeks ago, it got the Firmware 290
i Downgraded it to 534 and rooted it with "Root with Restore by Bin4ry"
then i flashed XZ Locked Dual Recovery and had no problems
i wiped everything like i should
and then i tried to install via TWRP the 290 Flashable.zip
after it i shut off my device (i didn't reboot just shut it off)
then i started to flash the striped 290 on the device
after this when i try to start the device all i see is SONY
and nothing else..
when i downgrade the firmware again to 534 and root it there are no problems... only when i try to flash to 290 it get stuck at the sony screen...
is there someone that could help me? :/
EDIT:
after i flash the 290 firmware via TWRP i get the message:
"E:Unable to mount '/data'"
Click to expand...
Click to collapse
Did you wiped everything AFTER flashing 290??
ghostman2 said:
Did you wiped everything AFTER flashing 290??
Click to expand...
Click to collapse
nope, nothing.
but also i can not really install 290 because it says "can't mount /data"
E3.14demie said:
nope, nothing.
but also i can not really install 290 because it says "can't mount /data"
Click to expand...
Click to collapse
But can u install some previous firmware?
ghostman2 said:
But can u install some previous firmware?
Click to expand...
Click to collapse
yes i can via flashtool
there is no problem in flashing 534 with flashtool
was is creeping me out is that when i stuck on the sony logo i can't even go into the recovery so i have to flash everytime 534 root it install the recovery agauin and then i can try it another time...
i also tried it with phil recovery and "wipe to install a new rom" but even this didn't helped :/
when i didn't wiped anything after rooting 534 and install 290 over the rooted 534 i was able to go into the recovery and i saw "xperia" and the animation but it always rebooted at this point :/
E3.14demie said:
yes i can via flashtool
there is no problem in flashing 534 with flashtool
was is creeping me out is that when i stuck on the sony logo i can't even go into the recovery so i have to flash everytime 534 root it install the recovery agauin and then i can try it another time...
i also tried it with phil recovery and "wipe to install a new rom" but even this didn't helped :/
when i didn't wiped anything after rooting 534 and install 290 over the rooted 534 i was able to go into the recovery and i saw "xperia" and the animation but it always rebooted at this point :/
Click to expand...
Click to collapse
Have you tried another 290 firmware? Maybe this has beeing corrupted for some reason...
Nope i haven't i will try it.
Btw. Is it possible because i have a locked bootloader
E3.14demie said:
Nope i haven't i will try it.
Btw. Is it possible because i have a locked bootloader
Click to expand...
Click to collapse
Sure. Unlock bootloader is needed if you want to flash custom kernel. All ftf on sticky thread on general section are pure stock ROM, with pure stock kernel. So locked bootloader won't be a problem.
Sent from my C6903 using Tapatalk
I was having the same angry problem.
I was on. 534 with Root and DualRecovery I wipe system,cache,data,internal storage and flash than the .136 first time a Germany Version then the stripped (Germany Version) without reboot the phone .zip then I got a bootloop after 8 times flash again I notice that not I make a mistake it is the faulty .zip that have a error inside( the flash was fine but it stuck on Sony logo)
Then I take the two files from Nut Tut. 136 and it work without problems.
Sent from awesome Z1
Nemeziz 56th said:
I was having the same angry problem.
I was on. 534 with Root and DualRecovery I wipe system,cache,data,internal storage and flash than the .136 first time a Germany Version then the stripped (Germany Version) without reboot the phone .zip then I got a bootloop after 8 times flash again I notice that not I make a mistake it is the faulty .zip that have a error inside( the flash was fine but it stuck on Sony logo)
Then I take the two files from Nut Tut. 136 and it work without problems.
Sent from awesome Z1
Click to expand...
Click to collapse
nice!
but i just got my problem solved!
after i flashed the 290 firmware i had to install AGAIN the dual recovery... that as the part that i didn\t do...
now everything is working fine... now i can use a good firewall and save my prepaid and can keep on playing ingress without having skype etc. draining the money from my card
so this morning i tried to flash my xperia z with flashtool using 230 kernel tft in order to root it . it gave me an error and aborted the opperation but now it's vibrating without stopping unless i turn it off plz help !
dettol123 said:
so this morning i tried to flash my xperia z with flashtool using 230 kernel tft in order to root it . it gave me an error and aborted the opperation but now it's vibrating without stopping unless i turn it off plz help !
Click to expand...
Click to collapse
Try to flash stock kernel of same system you have installed on your system. This should help. If it does not . Download an FTF for your device and flash it using flashtool. You can search on xda about how to use FLASHTOOL. there are numerous guides. This should fix it.
Quote me back if you expect a reply. Good Luck
I had 5.1.1 rooted with kingroot then unrooted. it left it in bootloop with optimizing apps.
i tried flashing stock ROM flash went successfull but phn didnt turn on.
now i have tried flashing C5502_10.6.A.0.454_R1E_US Generic_1273-9930(4.4.4) but it says could'nt process rpm.sin
i tried flashing it while excluding it flashing completed but phone wont work.
It shows software update failed on phone after SONY logo.
everytime flashed with flashtool
please help
Sent from Dell Laptop as my XPERIA ZR is Down
try to use the latest version of flashtool
i had similar problem with header.sin flash error
just solved with latest version of flashtool
Hazem442 said:
I have tried with the latest as well as the old version but it didnt solve the prob.
Thanks
Click to expand...
Click to collapse