[Tip]{All firmwares} Easily root an Xperia ZR with unlocked bootloader - Sony Xperia ZR

thHello all,
This is a known way to root any android phone with an unlocked bootloader. I tested it on my ZR, it just works fine and is easy & fast to follow !
It works for all firmwares and it's a good way to root the latest stock rom (eg .67 / .244 or even KitKat firmwares).
Note: I'm not responsible if something happens to your device ! Just follow the procedure and all'd be fine !
Quick instructions
Unlock bootloader
Flash any CWM-containing kernel
Boot into recovery and flash su-bin-arm-signed.zip (or this one that worked for me on KitKat)
Revert back to stock kernel
Install SuperSU and update su.bin
Enjoy
Instructions for noobies (yes I didn't forget you !)
Unlock your bootloader.
You may want to backup your TA before. In this case you need an already rooted phone. I personnaly downgraded mine to .310 then rooted it with Doom's toolkit to be able to backup my TA.
Download and copy the following file to your phone: su-bin-arm-signed.zip (or this one for 4.3)
Install the firmware you want to be on when the phone gets rooted
Flash a kernel that contains CWM, for example this one which comes from CM 10.1 FXP234a (you can also try to hotboot it, didn't work for me).
You can flash it with a command line or a soft like FlashTool:
In FlashTool select Flash > Fastboot mode
Connect the phone in fastboot mode : when powered off, connect it to your laptop while pressing Volume + key. You can release the key when the LED turns blue
Select the kernel to flash and run the operation
> Now do not try to boot normally the phone because it won't boot, as the kernel's not compatible with the stock rom.
Boot into recovery:
Power on the phone
When the led turns violet at boot for 3", press Volume +
Now you are in recovery. Use Volume buttons to navigate and Power to confirm.
Select Install zip > Choose zip from sdcard or external sdcard (depending where you put the .zip to flash)
Choose su-bin-arm-signed.zip
Confirm
Go to Advanded > Power off
Flash back the stock kernel corresponding to the firmware installed on the phone (.244 -> .244 kernel). You can for example use Flashtool:
Download the .ftf of the build installed on your phone (no matter the location of the firmware)
Run Flashtool
Do Flash > Flashmode and select the .ftf you downloaded
Uncheck anything on the "Wipe" colon
Check everything on the "Exclude" colon except "KERNEL"
You should now only have kernel.sin and loader.sin on the content colon.
Click on Flash
Connect the phone in flash mode : when powered off, connect it to your laptop while pressing Volume - key. You can release the key when the LED turns green
Reboot the phone, install SuperSU, run it and update the su binary
You can relock the bootloader with Backup TA to recover warranty or Bravia Engine 2 without losing root.
May help:
- Stock .310 kernel
- Stock .244 kernel
- Stock .67 kernel
- Stock .569 kernel for C5503 / C5502
- Instructions by gspbeetle
Thanks to:
- Team FXP for the kernel
Sorry for my bad english and I hope I helped

NeoJeo said:
Hello all,
This is a known way to root any android phone with an unlocked bootloader. I tested it on my ZR, it just works fine and is easy & fast to follow !
It works for all firmwares and it's a good way to root the latest stock rom (eg .244).
Note: I'm not responsible if something happens to your device ! Just follow the procedure and all'd be fine !
Quick instructions
Unlock bootloader
Flash any CWM-containing kernel
Boot into recovery and flash su-bin-arm-signed.zip
Revert back to stock kernel
Install SuperSU and update su.bin
Enjoy
Instructions for noobies (yes I didn't forget you !)
Unlock your bootloader.
You may want to backup your TA before. In this case you need an already rooted phone. I personnaly downgraded mine to .310 then rooted it with Doom's toolkit to be able to backup my TA.
Download and copy the following file to your phone: su-bin-arm-signed.zip
Install the firmware you want to be on when the phone gets rooted
Flash a kernel that contains CWM, for example this one which comes from CM 10.1 FXP234a (you can also try to hotboot it, didn't work for me).
You can flash it with a command line or a soft like FlashTool:
In FlashTool select Flash > Fastboot mode
Connect the phone in fastboot mode : when powered off, connect it to your laptop while pressing Volume + key. You can release the key when the LED turns blue
Select the kernel to flash and run the operation
> Now do not try to boot normally the phone because it won't boot, as the kernel's not compatible with the stock rom.
Boot into recovery:
Power on the phone
When the led turns violet at boot for 3", press Volume +
Now you are in recovery. Use Volume buttons to navigate and Power to confirm.
Select Install zip > Choose zip from sdcard or external sdcard (depending where you put the .zip to flash)
Choose su-bin-arm-signed.zip
Confirm
Go to Advanded > Power off
Flash back the stock kernel corresponding to the firmware installed on the phone (.244 -> .244 kernel). You can for example use Flashtool:
Download the .ftf of the build installed on your phone (no matter the location of the firmware)
Run Flashtool
Do Flash > Flashmode and select the .ftf you downloaded
Uncheck anything on the "Wipe" colon
Check everything on the "Exclude" colon except "KERNEL"
You should now only have kernel.sin and loader.sin on the content colon.
Click on Flash
Connect the phone in flash mode : when powered off, connect it to your laptop while pressing Volume - key. You can release the key when the LED turns green
Reboot the phone, install SuperSU, run it and update the su binary
You can relock the bootloader with Backup TA to recover warranty or Bravia Engine 2 without losing root.
May help:
- Stock .310 kernel
- Stock .244 kernel
Thanks to:
- Team FXP for the kernel
Sorry for my bad english and I hope I helped
Click to expand...
Click to collapse
Sounds good. Testing this. Will let you know of the end results

akash4357 said:
Sounds good. Testing this. Will let you know of the end results
Click to expand...
Click to collapse
Thanks ! Did it work as expected ?

NeoJeo said:
Thanks ! Did it work as expected ?
Click to expand...
Click to collapse
Yes! It worked brilliant. Excellent find NeoJeo. Appreciate your help.

akash4357 said:
Yes! It worked brilliant. Excellent find NeoJeo. Appreciate your help.
Click to expand...
Click to collapse
Glad I helped

I wish had nown this before doing it the long way
Backing up with pc companion, downgrading with flashtool, rooting and then wait for OTA update and after that restore the backup with pc companion.
Skickat från min C5503 med Tapatalk 4

Mario.D said:
I wish had nown this before doing it the long way
Backing up with pc companion, downgrading with flashtool, rooting and then wait for OTA update and after that restore the backup with pc companion.
Skickat från min C5503 med Tapatalk 4
Click to expand...
Click to collapse
I also found the long ways to long... mostly with a slow connection. That's why I thought to this one

Regarding backup of TA partition, does it have to revert to original firmware or can I back it up even after flashing 4.2.2 with root?

grim_ripper said:
Regarding backup of TA partition, does it have to revert to original firmware or can I back it up even after flashing 4.2.2 with root?
Click to expand...
Click to collapse
Backing up TA Partition can only be done BEFORE you unlocked bootloader.

Thanks NeoJeo for this awesome rooting method! Flashed the Nordic 4.2.2 ROM on my Xperia ZR and it is working like a charm .
I've backed up my phone's TA partition just in case something goes wrong and I need to re-lock it and give it for servicing .

@ Grim_ripper: Is your bootloader already unlocked ?
@ su1979: You're welcome, glad I helped !
su1979 said:
I've backed up my phone's TA partition just in case something goes wrong and I need to re-lock it and give it for servicing .
Click to expand...
Click to collapse
I did the same ^^

thanks!! I'm testing !
Is it possible to re-lock the BL if I didn't do any TA backup before?

awwer2002 said:
thanks!! I'm testing !
Is it possible to re-lock the BL if I didn't do any TA backup before?
Click to expand...
Click to collapse
Hello,
No, not possible for the moment. For other devices such as the Xperia Z we can relock the bootloader by flashing a .ftf but without recovering the drm.
The backup and restore tool is the better way to reloock but it needs a backup before you unlock the BL.

I cant acces to the recovery mode even i press vol+ when i see the green light
Did i do something wrong?
The device is working good so far by this rooting method.
I just want the recovery mode back:cyclops:
Sorry for my bad english

awwer2002 said:
I cant acces to the recovery mode even i press vol+ when i see the green light
Did i do something wrong?
The device is working good so far by this rooting method.
I just want the recovery mode back:cyclops:
Sorry for my bad english
Click to expand...
Click to collapse
Green light? weird. Do the cyanogenmod logo displays at boot?

awwer2002 said:
I cant acces to the recovery mode even i press vol+ when i see the green light
Did i do something wrong?
The device is working good so far by this rooting method.
I just want the recovery mode back:cyclops:
Sorry for my bad english
Click to expand...
Click to collapse
If "select kernel to flash" says something like
"writing 'boot'...
FAILED (remote: Command not allowed)"
It means your bootloader is not unlocked yet.

NeoJeo said:
Green light? weird. Do the cyanogenmod logo displays at boot?
Click to expand...
Click to collapse
oh, I mean after I flashed back the stock kernel.
sorry I am new to android
---------- Post added at 09:50 PM ---------- Previous post was at 09:47 PM ----------
NeoJeo said:
Green light? weird. Do the cyanogenmod logo displays at boot?
Click to expand...
Click to collapse
gspbeetle said:
If "select kernel to flash" says something like
"writing 'boot'...
FAILED (remote: Command not allowed)"
It means your bootloader is not unlocked yet.
Click to expand...
Click to collapse
I am sure the BL is unlocked already as I flashed CM10.1 before.
anyway, Thanks for your advise

Edit: Use PRFCreated method for lollipop 5.0.2->5.1.1
Edit: For windows 8/10, you need to enable test mode for S1Boot fastboot driver install, you can also sign it with Zadig afterwards and turn off test mode.
Code:
bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS
bcdedit.exe -set TESTSIGNING ON
(reboot)
Thanks NeoJeo for the method!
For some reason, my friend's new machine have to use flashtool to create a ftf backup first after updating the official firmware . Using other kernels will fail and creates a bootloop. (Maybe carrier locked? No idea.)
Bootloop can be solved by re-flashing the stock firmware completely and redo all the steps again, so its quite safe.
Stock roms:
You can always download the latest with firmware with xperifirm.
http://forum.xda-developers.com/cro...xperifirm-xperia-firmware-downloader-t2834142
HK stock roms seem to be less bloated.
Old roms for research purpose:
C5503_10.1.1.A.1.310 (HK) (4.1.2)
https://docs.google.com/file/d/0B-WWAl17NsavUWJRZldCZVdpNTQ/edit?pli=1
* (Doomlord rooter for this rom:
http://forum.xda-developers.com/showthread.php?t=2327472)
Pre-rooted 10.4.B.0.569 (4.3.0) rom by Sijav:
http://forum.xda-developers.com/showthread.php?t=2590174
C5503_10.5.A.0.230 (HK) (4.4.2)
https://www.dropbox.com/s/phqyx3awwpjr1ab/C5503_10.5.A.0.230_Generic HK.rar
C5503_10.5.A.0.230 (NORDIC) (4.4.2):
http://forum.xda-developers.com/showthread.php?t=2774540
C5503_10.6.A.0.454 (HK) (5.0.2):
https://drive.google.com/file/d/0B7l5nu0bqYuGWUk3WkpQbm9EQm8/view?usp=sharing
Tools:
Flashtool:
http://flashtool.net/download.html
(Remember to install drivers as well from C:\Flashtool\drivers)
Backup TA:
http://forum.xda-developers.com/showthread.php?t=2292598
or https://www.dropbox.com/s/xjm6t08xy946lee/Backup-TA-9.10.zip
SDK Platfom tools:
http://developer.android.com/
or https://www.dropbox.com/s/lgs2m90p1et87hx/platform-tools.7z
Super SU zip install:
http://download.chainfire.eu/supersu
or
https://download.chainfire.eu/740/SuperSU/BETA-SuperSU-v2.49.zip
Boot.img:
http://forum.xda-developers.com/showthread.php?t=2774540
or
https://www.dropbox.com/s/0n62ripm00u4z78/boot_v8.img
UPDATE FOR 5.0.2, new boot.img:
(ref: http://forum.xda-developers.com/xperia-zr/general/c5502-unlock-bootloader-rom-c5502stock5-t3115901)
https://drive.google.com/file/d/0B7l5nu0bqYuGX19QcUl5VWdKOXc/view
Step by step reference for my friends:
1. download & install flashtool http://flashtool.net/download.html
^if doesnt work, then try https://www.dropbox.com/s/xyk493qa8psydrf/flashtool-0.9.13.0-windows.exe
2. install flashmode and fastboot drivers from C:\Flashtool\drivers
3. plugin your phone, make sure settings->security->unknown source and settings->developer options->usb debugging is checked at all times
(if cant find developer options, go to settings->about phone->build number, keep tapping build number to see what happens)
4. - If your already phone upgraded, then:
4.1 If you want to keep your current kernel for later use, see: http://forum.xda-developers.com/showthread.php?t=2334653)
4.2 download 31x kernel (4.1.2) from http://forum.xda-developers.com/showthread.php?t=2384512
4.3 save it to \Flashtool\firmwares
4.4 open FlashTool.exe, click Flash device -> Flashmode
^ to enter flashmode, either plugin usb without battery or plugin usb with Volume - while your phone is OFF
4.5 select the 31x kernel and downgrade
4.6 kill FlashTool.exe
5. download and run doomlord's rooter from http://forum.xda-developers.com/showthread.php?t=2327472
6. use task manager or cmd to kill adb.exe, if it is still running
- Now you have a rooted phone
7. download and run backup ta from http://forum.xda-developers.com/showthread.php?t=2292598 , keep the zip file for later use
- Backup TA only works with rooted rom
- If you want to use the latest andriod continue below:
7 download the latest firmware with xperifirm and bundle it with flashtool.
8. upgrade / flash your system to the latest version (see step 4, but use the latest firmware file instead)
9. get unlock key from http://unlockbootloader.sonymobile.com/unlock/step1
11. download andriod sdk from google and install http://developer.android.com/
12. open SDK manager, scroll down and check Google USB Driver then click install packages
^ if doesnt work, then try: https://www.dropbox.com/s/lgs2m90p1et87hx/platform-tools.7z
^ USB drivers is also avaible under flashtools/drivers
13. go to \sdk\platform-tools
(replace %key% below with the key from sony's email)
run fastboot.exe -i 0x0fce oem unlock 0x%key% in cmd
or create a plain text file and save it as a .bat with
Code:
fastboot.exe -i 0x0fce oem unlock 0x[B][I]%key%[/I][/B] [user=607132]@pause[/user]
^ If stuck at 'waiting for device', you can use flashtool.exe to enter 'fastboot mode via adb' (run Flashtool.exe -> Flash device -> fastbootmode
), then re-try the command above
^ while in fastboot mode, your phone screen is off and led is blue
- Now you bootloader is unlocked.
14. put this zip file into your external sd from http://download.chainfire.eu/supers...om/s/sy1vzzq9ygfvqvb/UPDATE-SuperSU-v2.01.zip
15. run Flashtool.exe -> Flash device -> fastbootmode
16. reboot into fastboot mode (via ADB)
17. after led turns blue, select kernel to flash and choose boot.img from http://www.mediafire.com/download/4bs9zy3z4sl1lvl/boot.img
^ if doesnt work, try: https://www.dropbox.com/s/y5is541wd5lck79/boot.img
18 click reboot device into system while pressing Volume +
- if LED does not turn purple at all, something must be wrong
- press Volume + as long as but NOT before the LED turn purple.
^ return to step 4 if needed, bootloader may be not properly unlocked.
19 select install zip -> choose zip from external sdcard
^ Volume+ - is up and down, Power is select
20 confirm
21 go to advance -> power off
22 remove battery and plugin usb to enter flash mode
^ Flashtool.exe should show the phone is connected in flash mode
^ But there seems to be a time limit where CM 10.1 remount itself automatically with the wired blue thing popping up and then crash
23 return to Flashtool.exe -> Flash device -> Flashmode
24 choose the .ftf either from the one in step 8 or the one you have downloaded
25 Uncheck anything on the "Wipe" colon
26 Check everything on the "Exclude" colon except "KERNEL"
^ You should now only have kernel.sin and loader.sin on the content colon
27 FLASH!
- if bootloop occurs, return to step 4 lol
^ alternatively you can just redo step 24, but this time "Wipe" everything and "Include" everything. If it boots, then jump right to step 14 and retry installing the zip
28 Install super su in google play
^ first boot may need battery in and usb removed
29 (optional) Re-run backup-ta to restore the zip from step 7 for Relocking bootloader (and check for rooted at the same time)
- if backup ta failed because of no su rights, return to step 4 lol
EDIT: do not re-lock bootloader if using the new img
EDIT:
Upgrading should keep your settings and stuff, unless something went wrong that you have to wipe data for a clean install.
Quick check list:
1. Most Important. Make sure you still have your bootloader backups.
Run Backup-TA to backup your current bootlocker if needed (new version here:http://forum.xda-developers.com/showthread.php?t=2292598). Backup-TA only works on rooted.
2. If you somehow lost it, re-obtain your unlock key from http://unlockbootloader.sonymobile.com/unlock/step1
3. Have your Flashtool and SDK ready (https://www.dropbox.com/s/xyk493qa8psydrf/flashtool-0.9.13.0-windows.exe, https://www.dropbox.com/s/lgs2m90p1et87hx/platform-tools.7z)
4. If you need the stock firmware from your carrier, remember to clear contents in something like: C:\ProgramData\Sony Ericsson\Update Engine\db\13740270\blob_fs and/or C:\ProgramData\Sony Mobile\Update Engine\db\13740270\blob_fs (or something similar in %appdata% for windows XP)
5. You can use any ADB backup tool or Sony Companion to backup your settings, best timing is right after OS update but before rooting.
To do:
1. Either upgrade with Sony Companion and use Flashtool -> SEUS Decrypt, or download by XperiFirm to create your own firmware (Will take a while to load depending on the power level of your PC.)
or just use the firmware people uploaded
2. open Flashtool.exe -> Flash device -> fastbootmode
3. reboot into fastboot mode (via ADB)
4. Unlock you bootlocker by running "fastboot.exe -i 0x0fce oem unlock 0x%key%" (%key% is your unlock key from Sony's email)
^ (Last time I checked, some people say they need to update SDK first.)
^ (unlock key may change after new firmware is flashed)
^ you need to enter fastboot mode via ADB first, or it will get stuck at 'waiting for device'
5. select kernel to flash and choose boot.img
6. click reboot device into system while pressing Volume + (press Volume + after the LED turn purple)
7. select install zip -> choose zip from external sdcard -> your-su-zip-file (http://download.chainfire.eu/supersu)
^ 'Volume+' 'Volume-' and 'Power'.
8. go to advance -> power off
^ If you get a boot loop, simply remove battery and plugin usb cable to enter flashmode and re-flash the new firmware again.
^ remember to re-enable "Usb debugging" under "Developer options"
^ tap "About phone" -> "Build number" 10 times to unlock "Developer options"
[/hide]

Thanks this works great but I am unable to successfully install a recovery with this method. Has anyone had the same issues??
Sent from my C5503 using xda app-developers app

Hello,
@awwer2002: After you succeed rooting the device did you install any recovery ? If yes, which one ?
@gmengass: Which recovery are you trying to install ?

Related

[STOCK][ROOTED][7.0.A.3.195][Thats it][29/11/12]

Introducing
STOCK ROOTED 7.0.A.3.195
[LT30p][Unlocked and Locked Bootloaders]​
No claims, no nonsense, this is just a rom for people who want a stock rom as is from SONY except with root and want a trusted source.
I hesitate to call it development. [MOD's, if you think it should be moved, feel free] Its just something I did and thought I should share​Feedback is actively encouraged​
Features
Based on [STOCK FIRMWARE][LT30p][UK Generic][7.0.A.3.195]
Rooted
No superuser app is included, as superuser apps are not stock. You can download your choice of superuser.apk or SuperSU.apk from the market.
Full changelog in post 2, will be empty because thats it! It also means I have not added a super user app, because stock rom does not come with one and you have a choice of super user apps to download from the market. ​
Installation for Unlocked Bootloader
Make a backup- Always backup just in case you ****up
Flash my kernel from here or advanced stock kernel found here Credit lzyllp (This is to get Recovery and root. Also, the kernel has a lot of tweaks. Choose either T or TX depending on your phone.)
Enter recovery
Factory reset
Flash rom.
Installation for Locked Bootloader
Use flashtool to flash any generic 7.0.A.1.303 ftf.
Root using Bin4ry's method.
Install CMW for locked bootloaders
Enter recovery, factory reset and flash the ROM. Then flash the flashable version of CMW recovery for locked bootloaders before you reboot.
FIX FOR BOOTLOOP WITH EXTENDED BATTERY MODE. Flash this in flashtool to update your kernel to stock 7.0.A.3.195 Stock kernel
[All the tools and links can be found from the all in one thread here]
Optional Installation Step
If you are coming from a ROM with the same base you can advance restore you data partition in CMW to get all your apps back.​
Known Bugs and Fixes (If applicable)
Code:
[B][U]Bug[/U][/B]
Bootloop for those who are on a locked bootloader and enable extended battery mode.
[B][U]Version[/U][/B]
All
[B][U]Cause[/U][/B]
Using a 7.0.A.3.195 ROM with a 7.0.A.1.303 kernel.
[B][U]Fix[/U][/B]
Flash [URL="http://www.mediafire.com/?2b75t7dpk72z12h"]this[/URL] file in flashtool to update the kernel to 7.0.A.3.195
How to Report Bugs
Answer these questions.
1. Which version of the ROM did you download? Please provide the download link.
2. Are you on a locked or unlocked bootloader?
3. Which kernel are you on?
4. Have you flashed anything else, or is the bug coming from a CLEAN install of this ROM?
5. What are the symtpons of the bug?
6. How can I reproduce the bug?
7. Can you provide a logcat?
8. Any other comments that might help me or others to help you.​
Credits
Sony ​
Download
Here​
Disclaimer
As usual, I am not responsible for turning your beloved phone into a bookend, please read and educate yourself fully before attempting any mod on your phone. And if you drop it down the toilet it has nothing to do with me​
Changelog
Root
Screen shots
Look at your stock Xperia T screen.
wifi dont working...flash the LT30_7.0.A.3.195_kernel.ftf than device dont open appears sony logo than not open device...
It works. Redownload
Hi. I flash your rom and enter in home screens, but when i try flash kernel .195 with flashtool, semc flash device drivers don't install and flash not start. I install any drivers from folder drivers on flashtool, but same error. What drivers files are needed to flash this kernel?
Monipeev said:
Hi. I flash your rom and enter in home screens, but when i try flash kernel .195 with flashtool, semc flash device drivers don't install and flash not start. I install any drivers from folder drivers on flashtool, but same error. What drivers files are needed to flash this kernel?
Click to expand...
Click to collapse
Have you unlocked the bootloader?
If not you will not ba bale to flash the custom kernel
gregbradley said:
Have you unlocked the bootloader?
If not you will not ba bale to flash the custom kernel
Click to expand...
Click to collapse
I know, but in step to flash rom with locked bootloader, you say flash .195 kernel.
I remember in arc thread, when need to root em, we need downgrade kernel, root and after that, flash .587.
I am on locked bootloader. If this rom is with .195 kenel, i don't need flash another. I know this.
Monipeev said:
I know, but in step to flash rom with locked bootloader, you say flash .195 kernel.
I remember in arc thread, when need to root em, we need downgrade kernel, root and after that, flash .587.
I am on locked bootloader. If this rom is with .195 kenel, i don't need flash another. I know this.
Click to expand...
Click to collapse
ok, i see. You are flashing a stock kernel. Then it should be an .ftf file .
Can you flash anything in flash tool? If so you should be bale to flash a stock kernel ftf.
Make sure you are doing it in flashmode
gregbradley said:
ok, i see. You are flashing a stock kernel. Then it should be an .ftf file .
Can you flash anything in flash tool? If so you should be bale to flash a stock kernel ftf.
Make sure you are doing it in flashmode
Click to expand...
Click to collapse
Yes, i flash old .303 ftf with flashtool before 4-5 days.
I connect device in flashmode, green led light, but when window7 notify me to install flash driver and i confirm, windows don't install any flash driver.
PS. Need em i from this kernel or this kernel/.195/ install when i flash on your rom?
Monipeev said:
Yes, i flash old .303 ftf with flashtool before 4-5 days.
I connect device in flashmode, green led light, but when window7 notify me to install flash driver and i confirm, windows don't install any flash driver.
Click to expand...
Click to collapse
goto the drivers folder in flashtool and run drivers.exe
gregbradley said:
goto the drivers folder in flashtool and run drivers.exe
Click to expand...
Click to collapse
Exactly, i install it many times, but when i enter to flashmode, to waiting flash, windows try again install flashmode drivers, but my phone after 10-15s. disconnect and install windows flash drivers stoped.
This disconnected device from flashtools without installed the drivers.
Monipeev said:
Exactly, i install it many times, but when i enter to flashmode, to waiting flash, windows try again install flashmode drivers, but my phone after 10-15s. disconnect and install windows flash drivers stoped.
This disconnected device from flashtools without installed the drivers.
Click to expand...
Click to collapse
post the log from flashtool please.
gregbradley said:
post the log from flashtool please.
Click to expand...
Click to collapse
In time when flashtools say that my device connect in flashmode, windows tried install flash drivers.
But after that device disconnect from flashtool without windows install the drivers.
When i tried again, same result.
My usb debugging is on, but flashtool post, that is Off.
After that, device disconnected again.
I restart my computer, but same ......
02/027/2012 21:27:00 - INFO - <- This level is successfully initialized
02/027/2012 21:27:00 - INFO - Flashtool Version 0.9.9.0 built on 2012-11-13 22:53:30
02/027/2012 21:27:00 - INFO - You can drag and drop ftf files here to start flashing them
02/027/2012 21:27:05 - INFO - Device disconnected
02/027/2012 21:27:11 - INFO - Device connected in flash mode
02/027/2012 21:27:55 - INFO - Device disconnected
02/028/2012 21:28:07 - INFO - Device connected with USB debugging off
02/028/2012 21:28:07 - INFO - For 2011 devices line, be sure you are not in MTP mode
Monipeev said:
In time when flashtools say that my device connect in flashmode, windows tried install flash drivers.
But after that device disconnect from flashtool without windows install the drivers.
When i tried again, same result.
Click to expand...
Click to collapse
uninstall flashtool and reboot and reinstall.
Makesure you are in mtp mode not msc.
also, drop the ftf into the open window first, then wait for the prompt screen to prompt you to connect in flashmode.
gregbradley said:
uninstall flashtool and reboot and reinstall.
Makesure you are in mtp mode not msc.
also, drop the ftf into the open window first, then wait for the prompt screen to prompt you to connect in flashmode.
Click to expand...
Click to collapse
Yes, i am sure that i am in mtp not in msc mod and it is by default after install the rom.
But ok, tomorrow i will reinstall flashtool and all drivers, and tried again.
For now i will stay with old kernel and will see that pc companion recognize my device to device that have new update.
But nevermind, tomorrow i tried fresh install of all and post here result.
Monipeev said:
Yes, i am sure that i am in mtp not in msc mod and it is by default after install the rom.
But ok, i will reinstall flashtool and all drivers, and tried again.
Click to expand...
Click to collapse
yes, and actually try to flash something before you enter flashmode...drop the ftf file into flashtool then enter flashtool when it prompts you
gregbradley said:
yes, and actually try to flash something before you enter flashmode...drop the ftf file into flashtool then enter flashtool when it prompts you
Click to expand...
Click to collapse
Ok, i will.....
I hope so, will be alright.
Hello Sir, I have a question regarding root.
Is it possible to make root this way:
(locked bootloader)
1) Latest firmware .195 (no root).
2) Flash down to .303 kernel+loader.sin with flashtool (from a ftf)
3) Make root with Bin4ary
4) Flash the .195 kernel+loader.sin with flashtools (from a ftf)
5) Ready?
I am new here on this forum, before I was Arc-boy.
datagubben said:
Hello Sir, I have a question regarding root.
Is it possible to make root this way:
(locked bootloader)
1) Latest firmware .195 (no root).
2) Flash down to .303 kernel+loader.sin with flashtool (from a ftf)
3) Make root with Bin4ary
4) Flash the .195 kernel+loader.sin with flashtools (from a ftf)
5) Ready?
I am new here on this forum, before I was Arc-boy.
Click to expand...
Click to collapse
I dont think so, I think you need to flash the whole 303 firmware. There are plenty of guides in the general section and none of them involve just flashing the kernel.

Rooting from .101 walkthrough

This is the first time I root/flash my Xperia ZR from .101. This post is to document how I rooted my phone and the problems I encountered.
Tools I used:
Helium - App Sync and Backup
https://play.google.com/store/apps/details?id=com.koushikdutta.backup
Flashtool (Windows Installer)
http://www.flashtool.net/index.php
Backup TA
http://forum.xda-developers.com/showthread.php?t=2292598
DooMLoRD Easy-Rooting-Toolkit v17
http://forum.xda-developers.com/showthread.php?t=2327472
XZDualRecovery
http://forum.xda-developers.com/showthread.php?t=2261606
ROM/files used:
[Stock ROM][LB&UB][4.3] Rooted, Deodexed & Zipaligned Stock 10.4.1.B.0.101
by IJskonijn22
http://forum.xda-developers.com/showthread.php?t=2713073
C5503_10.1.1.A.1.310_GLOBAL-LTE.ftf: which can be downloaded from the above thread
C5503_10.4.1.B.0.101_Generic NL.ftf: which can be downloaded from the above thread
Idea:
1. Downgrade to .310
2. Root it
3. Install Recovery
4. Flash rooted .101 ROM
Steps:
1. Backup all the data in the Internal Storage
2. Backup apps data using Helium - App Sync and Backup
3. Install all Flashtool and driver
Flashtool comes with drivers installer. I checked "Flashmode Drivers", "Fastboot Drivers", and "Common drivers Lagan, Fusion3 board"
4. Enable USB Debugging
5. Use Flashtool and Flashmode to downgrade to .310
When asked to hold "back buttom" and connect the USB cable, hold volumn down instead.
6. After booting into .310, enable USB Debugging Mode and UNKNOWN SOURCES
7. Make sure you close Flashtool in your PC
8. Run runme_win.bat in DooMLoRD Easy-Rooting-Toolkit v17 and root the device
9. (Optional) After rooting, backup the TA in case you need to unlock the device in the future.
10. Run install.bat and install XZDualRecovery
11. Copy the ROM zip file to the SD card and flash it using Recovery
12. Swith Off the device
13. Use Flashtool to flash C5503_10.4.1.B.0.101_Generic NL.ftf, CHECK exclude system
14. Boot and after 1-2 minutes, reboot the phone
15. Restore apps data
16. DONE
Advice:
1. Take some screenshots for the homescreen before everthing, so you can put the apps icons back to where they were after rooting the phone
2. Check MD5 checksum of the files downloaded
3. Make sure the battery of the PC and phone are enough
4. Download everything before you start
5. Have fun
Some problems I encountered:
Problem with MTP/MSC USB Mode:
MTP mode seems cannot be used with Flashtool. For .101, you can find them in Setting->Xperia->USB Connection.
Using DooMLoRD Easy-Rooting-Toolkit v17, got stuck at *daemon started successfully*:
1. Make sure ADB driver is installed
2. Make sure no other adb.exe process is on
3. Make sure USB Debugging Mode and UNKNOWN SOURCES are enabled
4. Try Restart PC
5. Try uninstall drivers and install again
Hello,
for all fellow ZR users: you do not need to downgrade your ROM version to root it.
here is a simple way, you will only need Flashtool, Cyanogenmod kernel, SuperSu zip and original .230 ROM kernel
1 Backup TA, link provided in first post (this is optional but highly RECOMMENDED)
2 Unlock Bootloader, you will need flashtool and code from Sony
3 Download SuperSu and place it somewhere on your device
4 Flash boot.img from CyanogenMod 10.2.1 (unzip and flash only boot.img using fastboot mode - USB in holding vol+ while device is powered off)
5 Boot into recovery (power on, hold Vol+), choose "install zip from SD card", find where u placed SuperSu zip, install it and power off the device, do not do anything more
6 Connect device in flashmode (USB in holding vol- while device powered off) and flash the kernel form your 10.5.A.0.230 ROM (or any .230 ftf for that matter, for ex. this). Flash ONLY kernel, uncheck everything else.
Original instructions for previous versions of ZR firmware are here courtesy of NeoJeo
drZeT said:
Hello,
for all fellow ZR users: you do not need to downgrade your ROM version to root it.
here is a simple way, you will only need Flashtool, Cyanogenmod kernel, SuperSu zip and original .230 ROM kernel
1 Backup TA, link provided in first post (this is optional but highly RECOMMENDED)
2 Unlock Bootloader, you will need flashtool and code from Sony
3 Download SuperSu and place it somewhere on your device
4 Flash boot.img from CyanogenMod 10.2.1 (unzip and flash only boot.img using fastboot mode - USB in holding vol+ while device is powered off)
5 Boot into recovery (power on, hold Vol+), choose "install zip from SD card", find where u placed SuperSu zip, install it and power off the device, do not do anything more
6 Connect device in flashmode (USB in holding vol- while device powered off) and flash the kernel form your 10.5.A.0.230 ROM (or any .230 ftf for that matter, for ex. this). Flash ONLY kernel, uncheck everything else.
Original instructions for previous versions of ZR firmware are here courtesy of NeoJeo
Click to expand...
Click to collapse
And if you dont have a ta backup you still need to downgrade to gain root.
If you dont you will lose the drm keys and bravia.
Skickat från min C5503 via Tapatalk
Mario.D said:
And if you dont have a ta backup you still need to downgrade to gain root.
If you dont you will lose the drm keys and bravia.
Skickat från min C5503 via Tapatalk
Click to expand...
Click to collapse
This is a way to root a ZR which includes unlocking the bootloader, it is clearly stated. Unlocking your bootloader is supported by manufacturer since it is Sony who provides you with a key. So I suppose it is no more unsafe than any other operation with the device, although yes it voids your warranty. That's why making TA backup is recommended, one can relock the bootloader easily with it.
If one's priority is safe play, do not proceed with flashing and rooting in the first place.
sijav said:
well that's interesting that you had restored your TA without downgrade. I couldn't.
alright I just translated with google, did you mean: derogate = void? cumbersome = bloated? and lengthy = too many steps? please correct me if I'm wrong my English is not good.
Click to expand...
Click to collapse
Derogate means belittle, make something appear less than it is. This is what you've done on Thibou's thread and here. It also means not being able to discuss thing in civilized manner, swearing and insults.
Cumbersome means inconvenient or too complex.
Lengthy means taking more time than one would expect
sijav said:
oh and I don't give a **** for your thinking too if you don't like it, you're free to report me to moderators.
Click to expand...
Click to collapse
This is exactly what I have done.
drZeT said:
Derogate means belittle, make something appear less than it is. This is what you've done on Thibou's thread and here. It also means not being able to discuss thing in civilized manner, swearing and insults.
Cumbersome means inconvenient or too complex.
Lengthy means taking more time than one would expect
This is exactly what I have done.
Click to expand...
Click to collapse
thanks for full translation of those words
This method works with prerooted 4.4 too.
If you want to backup your TA, root is required. And if you are in 4.3/4.4 already, you need to downgrade to root your device tho.
Hi , Everyone is saying one different method. Please give one method. That we will follow. I am really confused by seeing different methods. Don't understand a bit

Just a little would be great

Hello,
To start i'm familiar with android, rooting, custom roms etc. But now I have this very nice new phone this Z3 Compact. A really nice phone but i want more. I just can't get my phone downgraded to .93 firmware to root it without unlocking the bootloader. But i some way it just won't boot properly after flashing one of those. Know i've tried .264 firmware and that one just worked fine.
Mayby you guys could help me out.
I've already managed to update te latest drivers with an unsigned drivers with windows 10 so they are fine...
Hi there
I have had success with doing what you are trying to do.
Search for the file: D5803_23.0.A.2.93_Customized CE1.ftf - it came as a zip but I can't find the link now, it's on here somewhere in the development or original development part of the z3c forum.
And flash it using flashtool64, being sure to check boxes for wiping APPS_LOG AND USERDATA and when it asks if you want to use script, click no.
After you have successfully booted into that firmware, carefully follow instructions for giefroot to gain root access via USB and your computer.
http://forum.xda-developers.com/crossdevice-dev/sony/giefroot-rooting-tool-cve-2014-4322-t3011598
Somebody else will have to help you from there because I could not work out how to upgrade out of that old firmware without losing root. I ended up unlocking the bootloader and flashing viper-x which is pre-rooted marshmallow rom by Jenkins. I then applied DRM restore and it appears to have worked...I got the phone as a hand-me-down so I don't really care about losing warranty. It already had a smashed back.
Good luck.
You'll end up unlocking that son of a ***** some time ;p
I already had that file, that you recommend, it didn't work, but i'll try it again. Mayby it's a corrupt file.
Hope it is!
EDIT
Thanks m8 don't know what i was doing wrong but hey it worked! Guess a corrupt file mayby.
Ok,
I know want to backup my DRM files, but it says it can't start ADB server and offcourse the check for SU binary FAILED and also the request for root permission. But my phone is rooted, tested with root checker!
Any stepps i missed mayby?
Problem solved, I had to restart my Pc in order to start ADB deamon normal!
From this guide
40 Flash the pre-rooted fw (flashable.zip) from the recovery (touch "install zip", select /storage/sdcard1/flashable.zip then confirm install) on the phone, then power off the phone (DO NOT REBOOT)
41 To power off, go into the "power options" and hit "power off" (dont do "reboot in flashmode" DO power off)
42 Unplug USB (yes this is required, DO IT)
43 Open Flashtool and select the non-pre-rooted fw (this is 23.1.A.0.690), but DESELECT system: in "EXCLUDE" make sure you check the checkbox next to "SYSTEM", flash it.
44 press volume DOWN and plug USB cable while keeping volume DOWN pressed, when flashing starts, stop pressing the volume button
45 After flash is done and when flashtool tells you to, remove USB cable and start the phone
46 Congrats and enjoy, you made it to the end! you now have latest + recovery + root and backups of your DRM keys! (and of course all DRM functions enabled)
Click to expand...
Click to collapse
I'm currently on firmware 23.0.A.2.93 and rooted but this is android 4.4.4 and i want 5.1.1 as mentioned below.
I've downloaded a pre rooted firmware and put it on my sdcard [Rom][5.1.1][D5803]Pre-Rooted+++XZDR+2.8.21+[23.4.A.1.264]+-+BAL.zip.
I took a pre rooted firmware Newer then the guid listen to...
Is it now possible to just take this stock firmware D5803_23.4.A.1.264_1289-4696_R8C.ftf
How do i need to setup flashtool is this ok?
https://onedrive.live.com/redir?resid=AC16F01210B5FE5C!119&authkey=!ADFqguAuL4wnEps&v=3&ithint=photo%2cJPG
And why do we need to flash a stock firmware again without the system? Isn't this pre rooted firmware not enough ?
It would be great for some little help!!
I can guess why you don't want to unlock your bootloader, if its because you don't want to lose Sony's camera functionality and post image processing along with X-Reality
--------------------------------------
>Backup your DRM Keys using backup-ta get it here
>Unlock your bootloader via Sony's Website
>Flash any custom kernel with recovery pre-installed
>Flash SuperSU latest zip
>Flash this zip file to restore DRM Functions ( credits to @jimRnor )
>And you have a perfectly rooted phone with busybox installed
------------------------------------------
If you are still on kitkat ( Firmware .93 ) its very easy to get 5.1.1, just download a .246 (5.1.1) custom rom found in the Android Development Section, most custom roms are pre-rooted meaning you can flash them and still have root access on your device.
All you need to do is achieve root by using GIEFroot, and afterwards install NUTs Lockeddualrecovery so you can flash the rom. ( Take Note this only works for the .93 firmware [KK] )
If you plan to you use flashtool you cannot gain root on lollipop unless you have unlocked bootloader. Flashtool's main purpose is for locked bootloader devices to recover faster from bootloops and the like.

[KERNEL] 7.1.1 [41.2.A.2.199] Xperia XZ [F8331/F8332]

Hey guys, here are the modified rootable kernels for the Xperia XZ [F8331 & F8332] 7.1.1 fw
Kernel F8332
Kernel F8331
Thanks to tobias.waldvogel for his awesome resources.
Don't forget to flash the recovery. Here's the link
Recovery
Also, recovery can be accessed only through the official way i.e.
Power off >> Press the power key and the volume down key simultaneously >> As soon as the SONY logo appears, release ONLY the power key, don't release the volume down key >> After 20-30 seconds the device will enter recovery mode.​
arjun.arora said:
Hey guys, here's the modified rootable kernel for the Xperia XZ Dual 7.1.1 fw
Kernel
Thanks to tobias.waldvogel for his awesome resources.
Don't forget to flash the recovery. Here's the link
Recovery
Also, recovery can be accessed only through the official way i.e.
Power off >> Press the power key and the volume down key simultaneously >> As soon as the SONY logo appears, release ONLY the power key, don't release the volume down key >> After 20-30 seconds the device will enter recovery mode.​
Click to expand...
Click to collapse
Thank you
Working fine
DRM Fixed and RIC enabled
karrouma said:
Thank you
Working fine
DRM Fixed and RIC enabled
Click to expand...
Click to collapse
Glad it worked for you..
thanks a lot
Can someone please upload the same kernel for F8331 (NOT dual)? Thanks.
Papanik said:
Can someone please upload the same kernel for F8331 (NOT dual)? Thanks.
Click to expand...
Click to collapse
same kernel works with both single and dual
karrouma said:
same kernel works with both single and dual
Click to expand...
Click to collapse
OK thanks a lot.
Papanik said:
OK thanks a lot.
Click to expand...
Click to collapse
I'm not quite sure of that buddy.. Has someone tested it on the single sim version..
Extract and share the kernel.sin from the ftf file.. I'll modify it..
arjun.arora said:
I'm not quite sure of that buddy.. Has someone tested it on the single sim version..
Extract and share the kernel.sin from the ftf file.. I'll modify it..
Click to expand...
Click to collapse
No different between F8332 and F8331 kernel or fota-kernel (recovery)... Only difference are system.*.sin cach.*.sin userspace.*.sin oem.*.sin
please give me some detail instruction to install it!
my Knowledge: backup TA -> unlock bootloader -> flash this kernel -> flash recover -> flash SuperSU -> done??
after that, if i want to roll back to stock, i must do that: push TA back to phone by recovery -> reflash stock rom by flashtool.??
is this right?
and one more question : is this kernel use for stock rom and all thing will work fine??
link_it said:
please give me some detail instruction to install it!
my Knowledge: backup TA -> unlock bootloader -> flash this kernel -> flash recover -> flash SuperSU -> done??
after that, if i want to roll back to stock, i must do that: push TA back to phone by recovery -> reflash stock rom by flashtool.??
is this right?
and one more question : is this kernel use for stock rom and all thing will work fine??
Click to expand...
Click to collapse
I don't know much about the ta backup part, please make a search..
link_it said:
please give me some detail instruction to install it!
my Knowledge: backup TA -> unlock bootloader -> flash this kernel -> flash recover -> flash SuperSU -> done??
after that, if i want to roll back to stock, i must do that: push TA back to phone by recovery -> reflash stock rom by flashtool.??
is this right?
and one more question : is this kernel use for stock rom and all thing will work fine??
Click to expand...
Click to collapse
Are you on FW41 (android 7.1.1)?
If "YES" you must downgrade to MM rom and not patched "dirty-cow" vulnerable for backup TA partition (if you don't backed up later. If you have ta backup skip this step)
Then update to N 7.1.1
After update to 7.1.1:
1- unlock bootloader (backup data and internal sd, device wiped all data!)
2- go to "fastboot mode" (power off phone, when hold volume up plug your phone to pc, blue light led must be on)
3- flash that image for drm-fix and disable dm-verify with this code
Code:
fastboot flash boot boot.img
4- reboot phone complete
Code:
fastboot reboot
5- again power off and go to fastboot mode. And flash recovery now:
Code:
fastboot flash recovery twrp-***-kagura.img
fastboot reboot
6- now go to recovery and install supersu zip package.
If you want go to complete stock you need TA.img (save that several place in your PC and better save on cloud storage like google drive)
If you need, flash TA.img and flash FTF stock rom and phone back to theirs factory state.
** and for knowledge: this is not custom kernel!!!
This is custom boot.img. The kernel inside that file is completely stock. Only "ramdisk" patched for allow you to root your device and fix drm.
completery understand
GenomeX said:
Are you on FW41 (android 7.1.1)?
If "YES" you must downgrade to MM rom and not patched "dirty-cow" vulnerable for backup TA partition (if you don't backed up later. If you have ta backup skip this step)
Then update to N 7.1.1
After update to 7.1.1:
1- unlock bootloader (backup data and internal sd, device wiped all data!)
2- go to "fastboot mode" (power off phone, when hold volume up plug your phone to pc, blue light led must be on)
3- flash that image for drm-fix and disable dm-verify with this code
Code:
fastboot flash boot boot.img
4- reboot phone complete
Code:
fastboot reboot
5- again power off and go to fastboot mode. And flash recovery now:
Code:
fastboot flash recovery twrp-***-kagura.img
fastboot reboot
6- now go to recovery and install supersu zip package.
If you want go to complete stock you need TA.img (save that several place in your PC and better save on cloud storage like google drive)
If you need, flash TA.img and flash FTF stock rom and phone back to theirs factory state.
** and for knowledge: this is not custom kernel!!!
This is custom boot.img. The kernel inside that file is completely stock. Only "ramdisk" patched for allow you to root your device and fix drm.
Click to expand...
Click to collapse
many thanks for your guide. Since Z3, i've never unlock bootloader yet, so i have a bit confused because of TA partition
i'll do it on next week, after my holiday
I tried but it didn't boot.
Pedimento said:
I tried but it didn't boot.
Click to expand...
Click to collapse
Working fine with my xz dual
karrouma said:
Working fine with my xz dual
Click to expand...
Click to collapse
Mine is XZ , not dual.
Pedimento said:
Mine is XZ , not dual.
Click to expand...
Click to collapse
Same kernek. It should works
Followed the guide but it didn't boot. The problem is boot.img i think.
karrouma said:
Same kernek. It should works
Click to expand...
Click to collapse
Me too. It stuck on Sony logo. Xperia xz single sim
djgigi94 said:
Me too. It stuck on Sony logo. Xperia xz single sim
Click to expand...
Click to collapse
Share the single sim kernel.sin from the firmware..

Couldn't install Update fix

if you have any problems with updating just follow this instructions
First of all you need unlocked bootloader
1.Download and install adb and drivers (if you did it then skip this)
2. download stock rom there - https://forum.xda-developers.com/mi-a2/how-to/ota-v9-6-5-0-odimife-t3823445
(i recommenting to download your current rom version)
3.download ota flasher from here - https://downloadmirror.co/2CVe/mi-a2-OTAFlasher.zip
4.extract ota flasher and .img files to the same folder
5.switch off your phone and go to Fatsboot mode (press power + volume down button for 8sec)
6.connect your phone to pc and double click to 'OTAflasher.bat'
7.wait for finish
8. restart your phone and update it
this method worked for me and i wanted to share it with you guyz
if you need any help lemme know
have good day
You need to unlock critical partitions then only can flash stock rom
Use this command -
fastboot flashing unlock_critical
ckpv5 said:
You need to unlock critical partitions then only can flash stock rom
Use this command -
fastboot flashing unlock_critical
Click to expand...
Click to collapse
but this will earse all my data right?
Yes .. if I remember correctly this unlock_critical will erase data. That's why it is advised to do it right after unlocking bootloader.
BTW .. the OTA Flasher that is linked at item no. 3, also available at originally posted on XDA - https://forum.xda-developers.com/showpost.php?p=78123332&postcount=457
can download without waiting time.

Categories

Resources