Related
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 ?
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
Q&A for [Tutorial] Xperia Z & ZL Bootloader Unlocking/Relocking
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
4.4.4 Bootloader Unlock?
I have an Xperia Z C6616 (10.5.1.A.0.283) that I rooted using easy root via flashtool. However, in the service menu, it says I am unable to unlock the bootloader. Is this true? Will I be forced to flash back to 4.3 to unlock it?
japansam23 said:
I have an Xperia Z C6616 (10.5.1.A.0.283) that I rooted using easy root via flashtool. However, in the service menu, it says I am unable to unlock the bootloader. Is this true? Will I be forced to flash back to 4.3 to unlock it?
Click to expand...
Click to collapse
If it says you cannot unlock your bootloader, then you cannot unlock it at all, regardless of which firmware version is installed.
The C6616 bootloader is permanently locked because Bell requested it be that way and there's no way (either officially or unofficially) around it, unfortunately.
Sent from my C6603 using Tapatalk
If it says you cannot unlock your bootloader, then you cannot unlock it at all, regardless of which firmware version is installed.
The C6616 bootloader is permanently locked and there's no way (either officially or unofficially) around it, unfortunately.
Click to expand...
Click to collapse
Well thats incredibly frustrating. Is there any way then to flash new roms or install a recovery? Also, it might not matter, but before I updated to 4.4, it listed my model number as C6606.
Bootloader Issue
Hey guys, ran into a little issue. I flashed my phone with a stock ROM, C6603_10.3.A.0.423_Generic ES.ftf.
Figuring It'd be fine, I then proceeded to attempt to unlock my bootloader. However, this time after flashing this stock ROM, unlocking the bootloader would cause my phone to crash, resulting in having to reflash the stock rom again.
Any ideas?
Cheers.
Please help!
Hello, I need help with unlocking the bootloader for my Sony Xperia Z please. This is the first time I am doing this, so I am a extremely novice on these things. All I want is to flash the sony rom and install android 5 lollipop on my Xperia Z
I have done all the steps mentioned above but when I type the command fastboot.exe -I 0x0fce getvar version it just says waiting for device.
I don't know if my phone is even in fastboot mode. I have turned the developer mode on phone setting with USB debugging set to ON. When I connect my phone to the computer I press power and volume up for around 10 second before plugging in the USB. The phone vibrates 3 times and there is a sound in computer but nothing else happens. When I type the command adb devices, it shows no device attached.
I don't know if this is due to me not installing the drivers but I was tried to install Flashtool-drivers-1.5-20140318.exe file, the installation failed. So I went to advance startup setting and disable driver signing. It then installed. I also downloaded the fastboot package and clicked all the exe files. And my phone has its rooting status: Bootloader unlock allowed: Yes
Please help!
Kathmandu13 said:
I don't know if my phone is even in fastboot mode. I have turned the developer mode on phone setting with USB debugging set to ON. When I connect my phone to the computer I press power and volume up for around 10 second before plugging in the USB. The phone vibrates 3 times and there is a sound in computer but nothing else happens.
Click to expand...
Click to collapse
You're holding the wrong key combination.
Power your phone OFF first.
When the phone is off, hold volume UP only while connecting your device to your PC. Do not press the power button. The LED should light up blue when done correctly. You can then stop pressing the volume key.
Sent from my C6603
kingvortex said:
You're holding the wrong key combination.
Power your phone OFF first.
When the phone is off, hold volume UP only while connecting your device to your PC. Do not press the power button. The LED should light up blue when done correctly. You can then stop pressing the volume key.
Sent from my C6603
Click to expand...
Click to collapse
Oh Thank you so much! I think I unlocked the bootloader now
So what do I need to do now to install custom ROM?
If I understood correctly, I need to flash the current Sony ROM and install different one? Then again what is root? Is unlocking bootloader rooting? Also is the information on the forum up to date? because according to it the newest firmware is 10.3.1.A.0.244/10.3.1.A.2.67. But my firmware is 10.5.1.A.0.292. Please help, I tried finding these information but can't find them.
Kathmandu13 said:
Oh Thank you so much! I think I unlocked the bootloader now
So what do I need to do now to install custom ROM?
If I understood correctly, I need to flash the current Sony ROM and install different one? Then again what is root? Is unlocking bootloader rooting? Also is the information on the forum up to date? because according to it the newest firmware is 10.3.1.A.0.244/10.3.1.A.2.67. But my firmware is 10.5.1.A.0.292. Please help, I tried finding these information but can't find them.
Click to expand...
Click to collapse
In my own opinion, you shouldn't even unlock your bootloader without getting better known to the entire device and its ROMS/Kernels and etc.,
Anyway, I tink that you haven't made TA pratition backup even, and if I'm right, then you've erased your DRM keys forever without a way getting them back.
But if you have made TA partition backup, then we can proceed to explain next thing.
To flash a custom ROM, you don't have to flash newer nor older software version.
All you have to do is go to your favourite ROM thread and read the instructions very carefully, otherwise you're risking to brick/soft-brick your device.
But on different ROMs can be different flashing guides, for example, we can take "Validus" ROM:
VALIDUS
Flashing instructions are : (I'm going to quote them)
1. Make sure you have CWM installed and a working nandroid backup
2. Download the ROM.
3. Place the ROM on your SD-Card.
4.Extract boot.img included in zip and fastboot flash it via Flashtool or CMD
5. Reboot to recovery.
6. Wipe data-factory reset/cache partition/dalvik cache
7. Flash the ROM.
Optional- Flash GApps.
8. Reboot and Enjoy Validus!
Click to expand...
Click to collapse
So in overall, that mean at first you've to have CWM (ClockWorkMod Recovery) (but I think that it's not necessary if you would flash boot.img with it either way)
Secondly, you've to put the entire ROM in your SD Card (not in phone memory), you can include gapps as well,
Third, you need to extract the file named "boot.img" from the ROM which you've downloaded (Now i'm talking about VALIDUS and ONLY IF YOU'RE GOING TO INSTALL THIS ROM EXACTLY), but don't remove it from .rar/.zip.
After you've done everything what is written above, you can flash boot.img using the command prompt and fastboot file, which you were using to unlock your bootloader.
The command is this : fastboot flash boot boot.img
Then, write fastboot reboot and as soon as your LED will change color, push the volume up rocker and then you will be in recovery. After that, go to "Apply Update" --> "Choose from files" or sth (don't remember now), --> "Validus.zip/.rar". and optional you can flash gapps either.
And then pus the button to "Reboot now".
That's all - you've newest Validus build.
But the main point is that for example you would take Pabx rom, you'll have to do everything using CMD (fastboot)
PABX's ROM YUGA L
Look at yourself and compare everything.
Validus ROM is customized than Pabx ROM. It has more customatizations either : APPS, Control, Mods, Gesture and etc., and Pabx ROM is pure-stock L (I think).
I hope I anwered to all ur questions, if not - quote me
Thanks!
LaurynasVP said:
In my own opinion, you shouldn't even unlock your bootloader without getting better known to the entire device and its ROMS/Kernels and etc.,
Anyway, I tink that you haven't made TA pratition backup even, and if I'm right, then you've erased your DRM keys forever without a way getting them back.
But if you have made TA partition backup, then we can proceed to explain next thing.
To flash a custom ROM, you don't have to flash newer nor older software version.
All you have to do is go to your favourite ROM thread and read the instructions very carefully, otherwise you're risking to brick/soft-brick your device.
But on different ROMs can be different flashing guides, for example, we can take "Validus" ROM:
VALIDUS
Flashing instructions are : (I'm going to quote them)
So in overall, that mean at first you've to have CWM (ClockWorkMod Recovery) (but I think that it's not necessary if you would flash boot.img with it either way)
Secondly, you've to put the entire ROM in your SD Card (not in phone memory), you can include gapps as well,
Third, you need to extract the file named "boot.img" from the ROM which you've downloaded (Now i'm talking about VALIDUS and ONLY IF YOU'RE GOING TO INSTALL THIS ROM EXACTLY), but don't remove it from .rar/.zip.
After you've done everything what is written above, you can flash boot.img using the command prompt and fastboot file, which you were using to unlock your bootloader.
The command is this : fastboot flash boot boot.img
Then, write fastboot reboot and as soon as your LED will change color, push the volume up rocker and then you will be in recovery. After that, go to "Apply Update" --> "Choose from files" or sth (don't remember now), --> "Validus.zip/.rar". and optional you can flash gapps either.
And then pus the button to "Reboot now".
That's all - you've newest Validus build.
But the main point is that for example you would take Pabx rom, you'll have to do everything using CMD (fastboot)
PABX's ROM YUGA L
Look at yourself and compare everything.
Validus ROM is customized than Pabx ROM. It has more customatizations either : APPS, Control, Mods, Gesture and etc., and Pabx ROM is pure-stock L (I think).
I hope I anwered to all ur questions, if not - quote me
Click to expand...
Click to collapse
Thank you very much for your reply and yes perhaps you are right. I should not mess with my phone's software. My skill and knowledge on this is extremely limited. I think I did unlock my bootloader but I will leave it on that. My phone still runs fine for now. Unless I find some tutorial videos which I can understand, I will stay away from flashing my phone
Thanks again for help.
Kathmandu13 said:
Thank you very much for your reply and yes perhaps you are right. I should not mess with my phone's software. My skill and knowledge on this is extremely limited. I think I did unlock my bootloader but I will leave it on that. My phone still runs fine for now. Unless I find some tutorial videos which I can understand, I will stay away from flashing my phone
Thanks again for help.
Click to expand...
Click to collapse
Well, you shouldn't be afraid of flashing stock 5.0.x, as you're not flashing custom kernels. To flash pabx's rom, you just need to connect your phone via USB to PC, whilst holding Volum +. (Phone need to be turn on). Then blue led will show up and you're ready to write commands via CMD prompt, wich you can open in sdk/platform-tools/ (or simply download ADB and fastboot drivers).
To open them, just with holding RMB click on "open command prompt here", then write this command:
fastboot devices
Click to expand...
Click to collapse
And if it will show you like CXXXXXX (or something like that, if not even first letter is C, it's alright), you're ready to go.
Then download all files needed from Pabx site (ROM and gapps). Extract both in ADB-Fastboot driver's folder (in which are fastboot.exe, adb.exe). It should be these files: userdata.img, system.img, boot.img.
And then you just simple need to flash these IMGs:
fastboot flash userdata userdata.img
fastboot flash system system.img
fastboot flash boot boot.img
Click to expand...
Click to collapse
And then just type
fastboot reboot
Click to expand...
Click to collapse
.
Your phone will reboot and will load ~ 1-3 minutes.
Well, personally I don't encourge you to do that, I'm just suggesting. It's your choice to do that or not. I just have given you all the instructions.
Hope I helped you
Hi,
I have problem unlocking bootloader on my C6603. I successfully rooted it with easyroot, made TA backup, my phone says that unlocking bootloader is allowed but whenever i tried to do this it either fails or goes to bootloop. I was investigating a bit more and found some information saying that phone has to be simlock free with some certificates(???) and s1tool gives me answer that my simlock unlock is tampered. Is it the reason why i can't unlock bootloader? If so, is there any way to unlock it anyway?
Thanks in advance.
Sent from my C6603 using XDA Free mobile app
Unlocking Xperia Z bootloader
Hi guys
I 've got a trouble, i tried to unlock bootloader by flashtool and "classic" method. I've done it step by step like in video tutorial but finally cmd shows me that command.
I've checked it on other computer but it also failed.Installed all components + pc com.
Greetings.
Please someone tell me where is this goddamned "fastboot_with_Android_USB_file.rar" to download? It's almost four hours im searching everywhere to find it,but i can't.
Xperia Z2 stuck! help!!!
Hi guys, yesterday i tried to relock th bootloader of my xperia z2, and it was really easy, but now it doesn´t turn on, it´s stuck in flash mode, does anyone know what can i do to fix this? thanks a lot!
nikin101 said:
Hi guys, yesterday i tried to relock th bootloader of my xperia z2, and it was really easy, but now it doesn´t turn on, it´s stuck in flash mode, does anyone know what can i do to fix this? thanks a lot!
Click to expand...
Click to collapse
Did you relock while on a custom rom or kernel? Try flashing a stock FTF.
Sent from my C6603
kingvortex said:
Did you relock while on a custom rom or kernel? Try flashing a stock FTF.
Sent from my C6603
Click to expand...
Click to collapse
Yes, i think i did that. And how do i do that? And where can i download the stock FTF? Thanks, i'm new in this
nikin101 said:
Yes, i think i did that. And how do i do that? And where can i download the stock FTF? Thanks, i'm new in this
Click to expand...
Click to collapse
How to package and flash stock roms in FTF format
I wrote that guide for the Xperia Z, but the method is identical for the Z2. You will probably have to wipe data if you're coming from a custom rom.
Sent from my C6603
kingvortex said:
How to package and flash stock roms in FTF format
I wrote that guide for the Xperia Z, but the method is identical for the Z2. You will probably have to wipe data if you're coming from a custom rom.
Sent from my C6603
Click to expand...
Click to collapse
I can't find the words to thank you! I will try that today. Thanks a lot.
nikin101 said:
I can't find the words to thank you! I will try that today. Thanks a lot.
Click to expand...
Click to collapse
You're welcome.
Sent from my C6603
Hey guys
So I just bought a new Z3C and I'm planning on rooting it and installing CM12.1 on it. But before that I wanna make sure I perfectly understood the entire process. So if anyone could help by answering/confirming some of the things below, I would really appreciate that.
First, Sony devices don't come with a default recovery? Did I get that part right? That's why I need to flash a custom one, right? I suppose this is also the reason why I need a custom recovery in order to flash CM12.1 on my phone. Since I don't know if CM can run without one.
Second of all, kingroot. Ok, so this is an app for PC or phone that will root your phone in one click. Still without needing to unlock the bootloader (thus compromising that TA partition), right? It's in Chinese but I guess I don't need to know Chinese to click the only button on the screen. ) So that won't be a problem.
Third, I need root access for the backup part, right? So after running kingroot, I need to make a backup of my DRM stuff, right? It won't be of any use in CM, I suppose. So I just keep it somewhere safe.
Another thing, since I don't already have a custom recovery, I need the "installer" version of that xzdrecovery recovery, right? Cause there is also a flashable zip version of it, and I was wondering how the hell do I install that with no default recovery.
Can CM12 run on a locked bootloader? Probably stupid question. But this forum seems to pack some really interesting tricks I never thought were possible. So...I'm asking.
One thing I didn't quite understand: why do I need to flash part of CM12.1 to have a working recovery? Is the recovery not usable after installing it? Does it need a "simulated" ROM in order to be accessible/visible? I mean, on my SGS4, I just had to have a custom recovery (in my case it was CWM, but I'm not sure there is such a thing for the Z3C) and then just boot into it and flash CyanogenMod ROM or any other custom ROM for that matter. I didn't have to "split" the installation. First the boot.img, and then the rest (which will basically rewrite the boot.img anyway). So this part is still a bit confusing to me. Can anyone explain?
Thank you very much.
arsradu said:
First, Sony devices don't come with a default recovery? Did I get that part right? That's why I need to flash a custom one, right? I suppose this is also the reason why I need a custom recovery in order to flash CM12.1 on my phone. Since I don't know if CM can run without one.
Click to expand...
Click to collapse
As far as I know there really isn't a default recovery for Sony devices so to install CM you will need a recovery.
arsradu said:
Second of all, kingroot. Ok, so this is an app for PC or phone that will root your phone in one click. Still without needing to unlock the bootloader (thus compromising that TA partition), right? It's in Chinese but I guess I don't need to know Chinese to click the only button on the screen. ) So that won't be a problem.
Click to expand...
Click to collapse
I do not recommend kingroot but you can try it if you trust it. I used the xda guide on doing it and it worked fine for me: http://forum.xda-developers.com/z3-compact/general/how-to-root-backup-drm-keys-t3013343 (takes some time but its worth it if you ever want to go back to factory). As long as the bootloader stays locked the TA partition wont be touched thats right but once you unlock it you will lose all DRM keys and they wont restore if you flash a factory frimware again.
arsradu said:
Third, I need root access for the backup part, right? So after running kingroot, I need to make a backup of my DRM stuff, right? It won't be of any use in CM, I suppose. So I just keep it somewhere safe.
Click to expand...
Click to collapse
Yes you need root to backup the TA parition and yes only Sony roms use the DRM keys, CM doesn't touch them.
arsradu said:
Another thing, since I don't already have a custom recovery, I need the "installer" version of that xzdrecovery recovery, right? Cause there is also a flashable zip version of it, and I was wondering how the hell do I install that with no default recovery.
Click to expand...
Click to collapse
You install it over fastboot pretty much or with locked bootloader you use the Sony flash tool. More here: http://forum.xda-developers.com/z3-compact/general/how-to-root-backup-drm-keys-t3013343
Also keep in mind that custom Kernels like "M5 Kernel" come with a pre-installed recovery.
arsradu said:
Can CM12 run on a locked bootloader? Probably stupid question. But this forum seems to pack some really interesting tricks I never thought were possible. So...I'm asking.
Click to expand...
Click to collapse
Im pretty sure its not possible. For not sony kernels you need a unlocked bootloader, otherwise it wont even boot up.
arsradu said:
One thing I didn't quite understand: why do I need to flash part of CM12.1 to have a working recovery? Is the recovery not usable after installing it? Does it need a "simulated" ROM in order to be accessible/visible? I mean, on my SGS4, I just had to have a custom recovery (in my case it was CWM, but I'm not sure there is such a thing for the Z3C) and then just boot into it and flash CyanogenMod ROM or any other custom ROM for that matter. I didn't have to "split" the installation. First the boot.img, and then the rest (which will basically rewrite the boot.img anyway). So this part is still a bit confusing to me. Can anyone explain?
Click to expand...
Click to collapse
Unlike Samsung... Sony devices have no recovery (maybe at a later time?) so you cant just replace the stock recovery with a custom one. You have to take out boot.img because fastboot cant flash entire zips like a recovery, so you flash the boot.img over fastboot which installs the recovery for you.
After that you execute "fastboot reboot" and spam your volume up key till you enter the recovery and from there you can install cyanogenmod and other.
MyPictures said:
As far as I know there really isn't a default recovery for Sony devices so to install CM you will need a recovery.
I do not recommend kingroot but you can try it if you trust it. I used the xda guide on doing it and it worked fine for me: http://forum.xda-developers.com/z3-compact/general/how-to-root-backup-drm-keys-t3013343 (takes some time but its worth it if you ever want to go back to factory). As long as the bootloader stays locked the TA partition wont be touched thats right but once you unlock it you will lose all DRM keys and they wont restore if you flash a factory frimware again.
Yes you need root to backup the TA parition and yes only Sony roms use the DRM keys, CM doesn't touch them.
You install it over fastboot pretty much or with locked bootloader you use the Sony flash tool. More here: http://forum.xda-developers.com/z3-compact/general/how-to-root-backup-drm-keys-t3013343
Also keep in mind that custom Kernels like "M5 Kernel" come with a pre-installed recovery.
Im pretty sure its not possible. For not sony kernels you need a unlocked bootloader, otherwise it wont even boot up.
Unlike Samsung... Sony devices have no recovery (maybe at a later time?) so you cant just replace the stock recovery with a custom one. You have to take out boot.img because fastboot cant flash entire zips like a recovery, so you flash the boot.img over fastboot which installs the recovery for you.
After that you execute "fastboot reboot" and spam your volume up key till you enter the recovery and from there you can install cyanogenmod and other.
Click to expand...
Click to collapse
Alright. Thank you a lot for your answers.
So, to sum up:
First, I need to root my device. You said you would not recommend Kingroot. Ok. But I'm on stock Lollipop right now. And for as far as I understood, in order to get root on it without using Kingroot method, I need to downgrade to KitKat using FlashTool. Did I get it right?
Second, I need to backup my TA partition stuff.
Third, I need to flash the boot.img from CM12.1 flashable zip and then the recovery (flashable zip version of it, right?). In this order. Am I right?
And for the recovery part, I think I'm gonna go with that FlashTool (since I already got it for downgrading to KitKat) or via fastboot (command line), for which I need the Android SDK installed, I suppose?
Forth, unlock the bootloader. I guess I'm gonna have to Google that part. I saw some videos explaining how to do that, so I guess I'm gonna be ok.
Fifth, boot into recovery and flash CM12.1 (finally).
Please, let me know if I got the flow right or if you would make any suggestions/adjustments/corrections to it.
Also, one other thing, I heard people not being able to flash back stock and booting with it, after having a custom ROM installed, even after re-adding the content of the TA partition back and re-locking the bootloader. Any idea how to get this right from the first time, in case I need to revert to stock?
Again, big thank you for your help.
arsradu said:
Alright. Thank you a lot for your answers.
So, to sum up:
First, I need to root my device. You said you would not recommend Kingroot. Ok. But I'm on stock Lollipop right now. And for as far as I understood, in order to get root on it without using Kingroot method, I need to downgrade to KitKat using FlashTool. Did I get it right?
Second, I need to backup my TA partition stuff.
Third, I need to flash the boot.img from CM12.1 flashable zip and then the recovery (flashable zip version of it, right?). In this order. Am I right?
And for the recovery part, I think I'm gonna go with that FlashTool (since I already got it for downgrading to KitKat) or via fastboot (command line), for which I need the Android SDK installed, I suppose?
Forth, unlock the bootloader. I guess I'm gonna have to Google that part. I saw some videos explaining how to do that, so I guess I'm gonna be ok.
Fifth, boot into recovery and flash CM12.1 (finally).
Please, let me know if I got the flow right or if you would make any suggestions/adjustments/corrections to it.
Also, one other thing, I heard people not being able to flash back stock and booting with it, after having a custom ROM installed, even after re-adding the content of the TA partition back and re-locking the bootloader. Any idea how to get this right from the first time, in case I need to revert to stock?
Again, big thank you for your help.
Click to expand...
Click to collapse
- Yes you need to downgrade to a version where that root exploit isn't patched and root that way
- Yea then when you got root and all, you use that tool to backup your TA partition
- Yea after that you unlock your bootloader: http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ and then you flash boot.img from CM (or a custom Kernel that implements a recovery). After flashing the boot.img you reboot into your recovery and flash the whole Cyanogenmod.zip there (Apply update). I just installed my recovery over fastboot, never actually tried the FashTool way. fastboot.exe is in the Android SDK yeah but you can also just get the small ADB installer which has it too: http://forum.xda-developers.com/showthread.php?t=2588979 (For Linux you need to install it over your package manager I think).
- No. You need to unlock the bootloader before, otherwhise it wont allow you to flash a custom boot.img
Not sure about the restoring process, I kinda don't think that I will move back from CM anyways.
However if I would go back then I would try this:
- Relock bootloader
- Factory reset
- Flash back old sony rom with root exploit over flashtool
- Gain root over that exploit and use the TA Backup tool to restore TA partition
- Install latest Sony ROM and that should work? (Not sure)
Can you post one of those theards where they get issues with restoring? How do they do it?
MyPictures said:
- Yes you need to downgrade to a version where that root exploit isn't patched and root that way
- Yea then when you got root and all, you use that tool to backup your TA partition
- Yea after that you unlock your bootloader: http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ and then you flash boot.img from CM (or a custom Kernel that implements a recovery). After flashing the boot.img you reboot into your recovery and flash the whole Cyanogenmod.zip there (Apply update). I just installed my recovery over fastboot, never actually tried the FashTool way. fastboot.exe is in the Android SDK yeah but you can also just get the small ADB installer which has it too: http://forum.xda-developers.com/showthread.php?t=2588979 (For Linux you need to install it over your package manager I think).
- No. You need to unlock the bootloader before, otherwhise it wont allow you to flash a custom boot.img
Not sure about the restoring process, I kinda don't think that I will move back from CM anyways.
However if I would go back then I would try this:
- Relock bootloader
- Factory reset
- Flash back old sony rom with root exploit over flashtool
- Gain root over that exploit and use the TA Backup tool to restore TA partition
- Install latest Sony ROM and that should work? (Not sure)
Can you post one of those theards where they get issues with restoring? How do they do it?
Click to expand...
Click to collapse
It was a post in a long thread. I'm not sure I can find it right now.
Anyway, I got stuck at flashing back KitKat. FlashTool says "waiting for flashmode", whike asking me to disconnect my phone, press the back button (I got it that this is for older phones that do have a physical button), and plugging back. Which I did. The result being a very nice animation for charging. The USB debugging is ON. What am I missing here?
Sent from my D5803 using Tapatalk
arsradu said:
It was a post in a long thread. I'm not sure I can find it right now.
Anyway, I got stuck at flashing back KitKat. FlashTool says "waiting for flashmode", whike asking me to disconnect my phone, press the back button (I got it that this is for older phones that do have a physical button), and plugging back. Which I did. The result being a very nice animation for charging. The USB debugging is ON. What am I missing here?
Sent from my D5803 using Tapatalk
Click to expand...
Click to collapse
Did you install the drivers properly and on which Operating system are you flashing it?
MyPictures said:
Did you install the drivers properly and on which Operating system are you flashing it?
Click to expand...
Click to collapse
I would say yes. I mean...after googling a bit, I saw that I actually don't need to just "ignore" that message asking to press the Back button, but to actually press Volume Down instead. Which I did. And I was able to go into Flash Mode. (Flash Tool says "device connected in Flash Mode"). The device was properly recognized in MTP mode. Still, I had to manually install the Flash-tool drivers to get it recognized in flash mode, as well. Not sure why...
I mean, if the phone was properly recognized without manually installing anything (Windows downloaded and installed its own drivers), why the hell do I need to install custom drivers to get it recognized in flash mode? By the way, this "flash mode" is similar to Samsung's "Download Mode", for as far as I could see. And, just like on Samsung's devices, the access is made by pressing the Volume Down upon booting up.
Anyway, even though the device is now recognized in flash mode, I still get an error trying to flash stock 4.4.4.
I get this:
Code:
14/014/2015 21:14:34 - INFO - Please connect your device into flashmode.
14/016/2015 21:16:28 - INFO - Device disconnected
14/017/2015 21:17:03 - INFO - Device connected in flash mode
14/017/2015 21:17:03 - INFO - Opening device for R/W
14/017/2015 21:17:03 - INFO - Reading device information
14/017/2015 21:17:03 - INFO - Unable to read from phone after having opened it.
14/017/2015 21:17:03 - INFO - trying to continue anyway
14/017/2015 21:17:03 - INFO - Start Flashing
14/017/2015 21:17:03 - INFO - Processing loader.sin
14/017/2015 21:17:03 - INFO - Checking header
14/017/2015 21:17:03 - ERROR - Processing of loader.sin finished with errors.
14/017/2015 21:17:03 - INFO - Ending flash session
14/017/2015 21:17:03 - ERROR - Error in processHeader : 1 : Incorrect function.
14/017/2015 21:17:03 - ERROR - Error flashing. Aborted
14/017/2015 21:17:03 - INFO - Device connected in flash mode
And after a while, it automatically reboots in normal mode.
Windows version is Windows 10. But I'm not sure that's the problem here since, as I said, the device does get recognized both in MTP and flash modes. Also, for as far as I could see, other people are having the same issues on other versions of Windows.
Hmm not exactly sure but for Windows 8 and 8.1 (also Vista 64 bit and 7 64 Bit) You sometimes need to disable enforced driver signature.
Are you running the correct executable for your OS?:
FlashTool64.exe for 64 Bit OS and
FlashTool.exe for 32 Bit OS.
Is the device properly recognized in your device manager. Maybe re-downloading the frimware might help.
MyPictures said:
Hmm not exactly sure but for Windows 8 and 8.1 (also Vista 64 bit and 7 64 Bit) You sometimes need to disable enforced driver signature.
Are you running the correct executable for your OS?:
FlashTool64.exe for 64 Bit OS and
FlashTool.exe for 32 Bit OS.
Is the device properly recognized in your device manager. Maybe re-downloading the frimware might help.
Click to expand...
Click to collapse
Yes, I'm running FlashTool64.exe since I'm running a 64-bit version of Windows.
The device is correctly recognized in flash mode (after manually selecting the driver installed with flash-tool). See the attached image for more info.
But indeed maybe I got the wrong firmware. Problem is that I'm not really sure which one should I choose.
I got one called D5803_23.0.1.A.5.77_Customized_FR.ftf. I don't mind it that it's in French. All of them have English anyway.
Also, I saw one for UK here called D5803_23.0.A.2.105_UK.ftf. Seems to be different.... I will try with that as well.
Update: same error with that UK firmware, as well.
Update2: Well I'm half way there. Got 4.4.4 installed and got it rooted. YAY. Still trying to figure out why adb is not correctly running when trying to backup TA.
Update3: ok, backup done too!
Update4: the boot.img that comes with CM12.1 doesn't seem to have a recovery.... Or if it does, I couldn't boot in it so I can flash CM12.1.
I tried the one from Doomlord (Z3c_DooMLoRD_AdvStkKernel_v01_FW-105.img) and that seems to be based on CWM v6.0.4.7.
Problem with that is that, even though I can boot into recovery, I can't flash CM12.1. It says error status 7. Any idea why or how to fix this?
I belive error 7 indicates a outdated recovery (CM 12.1 needs a up to date one).
MyPictures said:
I belive error 7 indicates a outdated recovery (CM 12.1 needs a up to date one).
Click to expand...
Click to collapse
Might be. The problem is the device is not correctly recognized upon flashing (it says the device is "Aries" but the ROM is for D5803, D5833, z3c LOL), due to the check made within the updater-script (first line). For as far as I could see, this is a known issue... Not sure why it hasn't been fixed by now.
Anyway, removing that line will get the ROM installed successfully (at least with THAT recovery).
So I'm on CM12.1 , been for a few days now (thank you for your help), and I was wondering if there are any "permanent" recoveries (compatible with CM12.1, of course) that I can flash, something that can give me the ability to boot into recovery (and not Cyanogen Recovery, since that one sucks) and do things like nandroid backup (I know TWRP and CWM can do that, but I couldn't find any permanent version of those (or maybe I just didn't dig deep enough), and I'm not sure they are compatible with CM12.1) and formatting /system. The last one is really important for a clean installation of the ROM, especially since it doesn't look like it's done by the ROM itself.
Before 7.1.1 came out there was a full explanation on how to use flashtool to flash an ftf file and what files you needed to flash afterwards to gain root and custom recovery.
There was an update on how to do it for OS 7.0.
This thread seems to be gone.
Can somebody show me this thread again?
I'm trying to update to 7.1.1 and with a workaround this should be possible with flashtool but nothing works for me.
When I want to reflash the latest 7.0 flashtool very quickly says it's done, leaving my phone softbricked.
I know I can use sony's flashtool to install 7.1.1 but how to proceed then to gain root, twrp and another kernel, is there some explanation on how to do this or is there something else than flashtool (androxydes or sony's) to flash the firmware?
same problem, someone please tell us..:crying:
deboopi2 said:
Before 7.1.1 came out there was a full explanation on how to use flashtool to flash an ftf file and what files you needed to flash afterwards to gain root and custom recovery.
There was an update on how to do it for OS 7.0.
This thread seems to be gone.
Can somebody show me this thread again?
I'm trying to update to 7.1.1 and with a workaround this should be possible with flashtool but nothing works for me.
When I want to reflash the latest 7.0 flashtool very quickly says it's done, leaving my phone softbricked.
I know I can use sony's flashtool to install 7.1.1 but how to proceed then to gain root, twrp and another kernel, is there some explanation on how to do this or is there something else than flashtool (androxydes or sony's) to flash the firmware?
Click to expand...
Click to collapse
If you want to flash 7.1.1 firmwares using Flshtool by Androxyde, since there's still no fsc file for 7.1.1 (41.2.A.X.XXX), so you will encounter a warning message "WARN - No loader found or set manually. Skipping loader."
To solve this problem, first open your Flashtool and wait for it to sync device database.
Second, go to C:\Users\YOURUSERNAME\.flashTool\devices\F81XX rename the file "39.fsc" to "41.fsc"
Then Flashtool can flash 7.1.1 firmwares successfully.
NOTICE: Once you closed Flashtool, you need to do things above again.
I just found that Androxyde has uploaded the FSC script 21 hours ago.
So you don't need extra actions now. Just use Flashtool as usual and it may work.