......unroot and get back stock firmware...... - Xperia SP Q&A, Help & Troubleshooting

hi friends
i rooted and unlocked my xperia sp bootloader to install a custom rom(cyanogenmod).Now i need to get back my stock rom
Thing that I done to get stock firmware:
1. I download a stock firmware (ftf file) and flash it via flashtool.But failed several times and no suitable solution in any forums, So please help me guys.
More Informations(Actual condition of my phone when flashing)
1. My phone has unlocked bootloader at that time
2. My phone has Root Permission while flashing
Problem:
the problem showned is "system.sin error " when flashing.
pls help me friends.........

Use Flashtool v0.9.18.6.
The newer versions don't support Xperia SP.

1-Download this file (cant post it but in youtube type "Update your Xperia SP to Android 4.3 - Using Flashtool" and the frimware is not 12.1.a.1.207) and paste it in the C:\flashtool\frimware
2-Make sure your device is powered off
3-Open flashtool and press the lighting button and select flashmode
4-Select the frimware that you have downloaded
5-A window will pop-up until sometime
6-When the window pops-up,while holding the volume down button connect your device to your PC
7-And wait until the process to finish
8-There you go
Note: You can flash other stock frimwares too.
Note 2: This won't lock your bootloader! It will only flash the stock rom and unroot the device.
Did it helped? Hit the thanks button!

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.

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

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 ?

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.

OS wiped out...need help

Hi,
I just unlocked the bootloader of my Xperia Z1 C6902.
Unfortunately i had everything wiped out.
I dont have a Backup.
I can only get into TWRP.
I'm new to this n dont know what to do.
So kindly explain things in detail....
Thnx in advance
Kautilya23 said:
Hi,
I just unlocked the bootloader of my Xperia Z1 C6902.
Unfortunately i had everything wiped out.
I dont have a Backup.
I can only get into TWRP.
I'm new to this n dont know what to do.
So kindly explain things in detail....
Thnx in advance
Click to expand...
Click to collapse
It's easy all you have to do is reflash your software using flashtool by Androxyde
Download the flashtool
Search for ftf file for your country or global
ftf file: it's software file created by flashtool to flash sony software
After download and install flashtool go to
Your_Windows_Partition:\\flashtool\drivers
And install drivers for your device ,flashmode and fastboot mode
Note: if you have win 8 or higher you need to disable signture virification to install drivers
Then open flashtool and click on lighting button and press flashmode then select the folder of your ftf and flash
Note: before flash there is list called exclude check TA in this list then flash
Wait for flashtool to prepare files then after popup message put your phone in flashmode
Flashmode: connect USB with vol down pressed and wait for flash
Be aware cause flashing software wipe internal memory
Note: you mentioned that you have unlocked bootloader
You can download any custom rom like Cyanogenmod and put on sdcard and install using TWRP
hit thanks if helped
?

Flashtool doesn't work well now, so can I downgrade from N to MM?

I'm on the stock Nougat now with locked bootloader. I'm planning to downgrade to MM so I can backup the TA, but i heard flashtool have problem downgrading phone that is already on Nougat, and I guess sony pcc wont help me to downgrade to MM, so anyway I can downgrade?
Thanks
I did that with no issues. From N to MM you need to flash full firmware, that means: excluding nothing, wiping everything (all your data will be lost).
Do exclude *.ta files only (If any is present in ftf)!
Ok, thanks for the info
@serajr please can you tell me how Flashtool works and Xperia X series are not listed in the device lists? everytime i try to flash my phone it asks me to choose my model name (Xperia X) which is not listed in the flashtool supported devices...
also, when i browse to choose the FTF it doesn't recognize it.. i downloaded it from Xperifirm, and did all the bundle in Flashtool.
I have:
latest flashtool installed
installed all drivers in flashtool and in computer for my Xperia X
USB Debug and unknown resources are checked.
everything is well installed!!
please if you can help me or tell me how i can flash my Xperia X ??
give me information or guides...etc
i appreciate your help
thank you
@Nidhal AKA the king
This is basically what I do:
1. Open Flashtool with device disconnected from usb port
2. Click "Flash device" button, choose "Flashmode" and choose the firmware
3. Click "Flash" button
4. When prompted to connect the device, connect it in flashmode (plug usb cable with device's volume down rocker pressed, and release it after the flash process starts)
5. Choose "No" for script (if prompted for)
6. Wait till it finishes!
I've unlocked and I'm still at MM now
Can I get back to nougat? coz sony wont update for me now and flashtool have problem
Same, you need wipe everything.
1.relock bootloader by flashtool
2.flash MM6.0
3. use sony pc companion to upgrade.
4. you get nougat.
@serajr
the Xperia X is not available in the lists of flashtool supported devices.. i tried that and it keeps popping up a menu to choosee phone model (X not available) when I ignore it gives the error loader.sin not found and flash cancelled...
that's in the previous flashtool version... the latest one when i browse the FTF for Xperia X, it doesn't even see it in the firmware folder as there is no FTF file!
any trick or solution to make the flash successful ?
thanks!
I find out how to do it now, u need to exclude system.sin when u flash the system, afterwards flash the system.sin as system.img
The convert is complex as **** (at least for me) anyone wants the system.img just give a shout i will upload it

Categories

Resources