Quick tutorial for unlocking & relocking the bootloader of the Xperia M
Warning!
This procedure will wipe the /data partition of your phone, so you will loose all ur stored data, settings. INTERNAL SDCARD will BE WIPED!!!
DRM keys WILL be lost forever SO TAKE BACKUP OF IT
Click to expand...
Click to collapse
Before you unlock Bootloader
Backup your TA partionHERE
Click to expand...
Click to collapse
STEPS TO UNLOCK BOOTLOADER
1) Get the IMEI code for ur device: type *#06# in phone dialer to find it out, note only the digits (no dashes)
2) download the fastboot package with usb drivers(GOOGLE IT)
3) Now Get the UNLOCK KEY FROM SONY from HERE
4 ) After u have verified that u can unlock bootloader, scroll to the bottom of the page and click "Continue"
you will get numerous prompts, read all info and if u agree click on "Accept"/"OK"/"Proceed"
finally u will get a "Create Unlock request" page, enter your IMEI (sometimes the last digit needs to be removed for this to work), name and email address
5) Extract fastboot_with_Android_USB_file.rar and open fastboot folder
6) Hold SHIFT and right click on the background of the folder Select 'Open command window here'
7) Connect your phone in fastboot mode (turn phone off, hold Volume UP button and plug in USB Cable) [make sure drivers are installed as explained above)
8) In the cmd windows type in fastboot.exe -i 0x0fce getvar version
If a value is returned (it will return 0.5), it means the phone is correctly connected
9) Type in fastboot.exe -i 0x0fce oem unlock 0xKEY and replace KEY with the key which u received earlier.
You're device should now be bootloader unlocked
Click to expand...
Click to collapse
NOTE:-
When i unlocked my bootloader from above steps i first got a bootloop but after flashing My kernel ELIxER i recovered from bootloop and phone started well.
My apps and Data on internal SD were been WIPED so Do a backup first!
Click to expand...
Click to collapse
Credits Doomlord
:good:
good job bro!
I just wanted to ask if we could unock the bootloader using flashtool so there's no chance of voiding warranty. As backing up TA would save DRM keys.
Yes u can unlock it using flashtool. I am windows 8 so i find unlocking with fastboot is easier and it just just cause 6 mb of data.
Sent from my Xperia Keyboard
aweosomeabhijeet said:
:good:
good job bro!
I just wanted to ask if we could unock the bootloader using flashtool so there's no chance of voiding warranty. As backing up TA would save DRM keys.
Click to expand...
Click to collapse
There is always chance to void your warranty...
alvinhochun said:
There is always chance to void your warranty...
Click to expand...
Click to collapse
I see.
Well I tried with flashtool it denied unlocking :silly:
I think it would be better to go with the official unlocking.
Thanks.
u should add the TA Backup guide also
WARNING :-
When i tried to restore my DRM keys my mobile went dead so be very careful with it.
icoolguy1995 said:
WARNING :-
When i tried to restore my DRM keys my mobile went dead so be very careful with it.
Click to expand...
Click to collapse
You need to restore the stock boot partition because restoring TA partition will relock the device or else you will soft-brick it. If you have a dump of it you can restore it before restoring TA partition, otherwise you need to reflash with flashtool or SUS.
This is what I learnt from other Xperia devices in general.
alvinhochun said:
You need to restore the stock boot partition because restoring TA partition will relock the device or else you will soft-brick it. If you have a dump of it you can restore it before restoring TA partition, otherwise you need to reflash with flashtool or SUS.
This is what I learnt from other Xperia devices in general.
Click to expand...
Click to collapse
Can you still use SEUS when you have unlocked the bootloader to restore the original firmware prior to re-locking bootloader?
I thought it would be via flashtool only, because as soon as you unlock the bootloader you lose access to PC companion and SEUS.
The reason I ask is I have an XPERIA X10i and you can use anything at any time and it doesn't care.(brilliant olde device)
With my XPERIA S, I only have flashtool, as SEUS and PC Companion (and Sony OTA upgrade) are 'lost' after the bootloader is unlocked.
Dr Goodvibes said:
Can you still use SEUS when you have unlocked the bootloader to restore the original firmware prior to re-locking bootloader?
I thought it would be via flashtool only, because as soon as you unlock the bootloader you lose access to PC companion and SEUS.
The reason I ask is I have an XPERIA X10i and you can use anything at any time and it doesn't care.(brilliant olde device)
With my XPERIA S, I only have flashtool, as SEUS and PC Companion (and Sony OTA upgrade) are 'lost' after the bootloader is unlocked.
Click to expand...
Click to collapse
Really? PC Companion can recognize my Xperia M. Haven't tried SUS restore but it should work, shouldn't it? FOTA updates are known to brick unlocked Xperia devices so I strongly advice you not to try it.
But anyway if you've already restored the TA partition you already have a locked bootloader
alvinhochun said:
Really? PC Companion can recognize my Xperia M. Haven't tried SUS restore but it should work, shouldn't it? FOTA updates are known to brick unlocked Xperia devices so I strongly advice you not to try it.
But anyway if you've already restored the TA partition you already have a locked bootloader
Click to expand...
Click to collapse
PC companion still can recognize your phone even you've unlocked your bootloader, but updating your phone with SUS / PCC will surely brick your phone.
The only way to restore to the original firmware is using Flashtool or EMMA :fingers-crossed:
underd0g said:
PC companion still can recognize your phone even you've unlocked your bootloader, but updating your phone with SUS / PCC will surely brick your phone.
The only way to restore to the original firmware is using Flashtool or EMMA :fingers-crossed:
Click to expand...
Click to collapse
I dont think Pc companion will brick your phone! I never heard of this things and yes updating through FOTA can definitely brick your phone. Although i recommend not to unlock bootloader unless you are an advance user or a developer.
Sony xperia M gives very good performance over stock so noo need of scripts and other stuff, and i hope someone will develop CWM for locked bootloader too.
Sent from my C1904 using Tapatalk 4
Guys where is the relocking guide?? I can only see the unlocking one.
||""Playing Asphaltâ„¢ 8 Airborne on my sgy. LoLz.
Joke of the year. Gameloft devs will die if they hear this. ""||
Here are device files for Flashtool with loader.sin file for success bootloader unlock/relock through Flashtool
C190X C200X
1. Unpack it to '/Flashtool/devices/' folder
2. Run Flashtool and select in 'Devices/Manage/Import' M or/and M Dual
3. Now your can use BLU button
Shkerzy said:
Here are device files for Flashtool with loader.sin file for success bootloader unlock/relock through Flashtool
C190X C200X
1. Unpack it to '/Flashtool/devices/' folder
2. Run Flashtool and select in 'Devices/Manage/Import' M or/and M Dual
3. Now your can use BLU button
Click to expand...
Click to collapse
I have NOT backed up my DRM keys.. and I have an unlocked bootloader...
I connected my XM SS to Sony PCC..
It did recognize my phone.. However it did not update it stating that I am using a modified software..
Flashtool (EMMA) also recognized my phone.. but dint allow me to update my phone..
And my phone is not BRICKED..
Can you be more descriptive on the exact instructions on how you can relock XM whose DRM keys are not backed up?
Has anyone tried this?
Please quote and reply and share the method if you have tried this on a C1904 XM SS and if it is working !!!!
Thanks
I have a question...
How will I be able to backup my TA partition if root is required? I have not yet rooted my phone. I only rely on official procedures because I have bricked my two other phones previously. Have you had root installed on your phone when backing up TA partition?
.vonpatrick. said:
I have a question...
How will I be able to backup my TA partition if root is required? I have not yet rooted my phone. I only rely on official procedures because I have bricked my two other phones previously. Have you had root installed on your phone when backing up TA partition?
Click to expand...
Click to collapse
To backup your TA partition you dont need root and this current thread has not mentioned anywhere that you need root
Please refer the FAQ section of this link for more clarification
http://forum.xda-developers.com/showthread.php?t=2292598
How to backup DRM keys guys? Is it enough backup TA Partition? I've already backup TA Partition, it contains 6 files.
Sent from my C2004 using Tapatalk
SK:) said:
How to backup DRM keys guys? Is it enough backup TA Partition? I've already backup TA Partition, it contains 6 files.
Sent from my C2004 using Tapatalk
Click to expand...
Click to collapse
Yes, You are set !
durveshthorve433 said:
To backup your TA partition you dont need root and this current thread has not mentioned anywhere that you need root
Please refer the FAQ section of this link for more clarification
http://forum.xda-developers.com/showthread.php?t=2292598
Click to expand...
Click to collapse
Well, the link says that in order to backup TA partition, root is required. That's where it got me confused.
Sent from my C1904 using XDA Premium 4 mobile app
It has been confirmed that unlocking the bootloader will infect and damage TA partition of Xperia M and you will lose your DRM keys forever and loose warranty too..
So it is necessary to backup your TA partition before unlocking the bootloader. After that we can always restore the TA partition and get the warranty back.
For this purpose DevShaft has created a tool that will help you backup the TA partition.So give him a thanks for his awesome work.
For more info you can check out his thread his thread
http://forum.xda-developers.com/showthread.php?t=2292598
How to??
1.Download Backup TA tool (https://github.com/DevShaft/Backup-TA/tags) thank to DevShaft after you download!!
2.Extract it and connect your device to pc normally
3.Double click and run Backup-TA.bat
4.Follow on screen procedure.
5.Do what you want backup or restore from it.
When you want to restore your TA partition make sure you are on stock kernel and rom to avoid further problems.
Good Luck
Note:Never restore TA partition from another similar or even a same model device cause it will hard brick yours.:good: Every device has its own TA partition!!!
There was another thread like this. Anyway we need to get a mod to pin either one.
This message was brought to you by my Sony Xperia M (C1905), using the XDA app.
asidspa Sacred
Is the stock ROM available on SE site?
Woah.. Good thing I was looking around a little more... Just got my xperia m (my first xperia phone) yesterday and crossflashed 4.2.2 from dual firmware now planning to unlock the bl... This post deserves a ton of thanks for newbies planning to unlock their bl
Sent from my C2005 using xda app-developers app
Hi!
I have unlocked the bootloader of my Xperia M DUAL C2004.
Now I want to relock it. I have tried the flashtool method but it fails. Some loader.sin file missing error.
How to relock it?
I have taken Backup of Ta Partition.
Will flashing that relock my bootloader?
Please Do Reply If You Know The solution or if you know some1 who can help then suggest there name.
Its Urgent.
Anyone who wants to unlock his/her device's boot-loader first take a backup of TA Partition using this tool : Backup TA
Now Use This Thread to Unlock The Boot-loader : GUIDE
To Re-lock Follow These Steps:
1. Flash The Stock Kernel[Flashing the Stock Rom Completely and Full Data Wipe is recommended]
2. Now Use Your Desired Full Root Method.
3. Enable USB Debugging and connect to PC.
4. Use The Same TA Partition Backup Tool to restore the backup.
4. Once Done, Restart and Congratulation Your Boot-loader is relocked and ready for Warranty usage.
If This Helped You Then Please Press The Thank-you button. It really helps.
MODS If You think that this is helpful then please make it sticky so that other new comers can get help easily.
Hi everyone,
I have my TA partition backed up.
I've read somewhere here that if I restore TA partition it would also relock the bootloader.
Is that true?
I want to restore my TA partition, relock the bootloader, then flash a ftf (Customized USA 14.5.A.0.242 / R2D ) from XperiFirm. I would also be following this guide
http://www.xperiablog.net/2015/03/1...xperia-lollipop-using-xperifirm-and-flashtool
Click to expand...
Click to collapse
Should I restore my TA, then relock bootloader, then flash ftf?
Or I can just restore TA (that would also relock the bootloader as a i was asking above), then flash ftf?
Also, I'm on XZDualRecovery, would I lose it (which I would actually want to do) when I restore my TA? or if I flash a ftf?
Basically what I'm looking on here is to restore my phone like it was just bough from a store but with the latest stock ftf.
Thanks
rwhryz said:
Hi everyone,
I have my TA partition backed up.
I've read somewhere here that if I restore TA partition it would also relock the bootloader.
Is that true?
I want to restore my TA partition, relock the bootloader, then flash a ftf (Customized USA 14.5.A.0.242 / R2D ) from XperiFirm. I would also be following this guide
Should I restore my TA, then relock bootloader, then flash ftf?
Or I can just restore TA (that would also relock the bootloader as a i was asking above), then flash ftf?
Also, I'm on XZDualRecovery, would I lose it (which I would actually want to do) when I restore my TA? or if I flash a ftf?
Basically what I'm looking on here is to restore my phone like it was just bough from a store but with the latest stock ftf.
Thanks
Click to expand...
Click to collapse
- relocking the bootloader does not restore your TA
- but restoring the TA partition relocks the bootloader
- by flashing a ftf you will loose your custom recovery
to restore a phone like you bought it just do the following steps:
1. restore the TA partition
2. flash a .ftf official from Sony with flashtool
3.reboot
and you are done
moonryder said:
- relocking the bootloader does not restore your TA
- but restoring the TA partition relocks the bootloader
- by flashing a ftf you will loose your custom recovery
to restore a phone like you bought it just do the following steps:
1. restore the TA partition
2. flash a .ftf official from Sony with flashtool
3.reboot
and you are done
Click to expand...
Click to collapse
Exactly the answer I needed. Thanks!
I looked around but didn't seem to find a decent list of everything I should backup before unlocking bl on my XM (C1905) and flashing cm.
I came across the following items:
+ TA: backup for keys using Backup TA . Can anyone confirm this even still works since it is unmaintained.
+ appdata: using Titanium
+ nandroid: I need cwm for this, right? And for cwm, I have to unlock bl so there is no way to make nandroid backup without unlocking bl first?
Is this everything I need if one day I decide to want to go back to the current state of my phone?
Thanks for any help
Current phone information and state:
C1905
official rom build 15.4.A.0.23 (JB 4.3)
rooted
odexed
locked bootloader (but unlockable)
KoenGo said:
I looked around but didn't seem to find a decent list of everything I should backup before unlocking bl on my XM (C1905) and flashing cm.
I came across the following items:
+ TA: backup for keys using Backup TA . Can anyone confirm this even still works since it is unmaintained.
+ appdata: using Titanium
+ nandroid: I need cwm for this, right? And for cwm, I have to unlock bl so there is no way to make nandroid backup without unlocking bl first?
Is this everything I need if one day I decide to want to go back to the current state of my phone?
Thanks for any help
Current phone information and state:
C1905
official rom build 15.4.A.0.23 (JB 4.3)
rooted
odexed
locked bootloader (but unlockable)
Click to expand...
Click to collapse
yes, that's enough i think. but may be you can add some backup your phone data. like your contact,sms,email, and call log. try backup & restore app from sony and you can go to unlock it
KoenGo said:
I looked around but didn't seem to find a decent list of everything I should backup before unlocking bl on my XM (C1905) and flashing cm.
I came across the following items:
+ TA: backup for keys using Backup TA . Can anyone confirm this even still works since it is unmaintained.
+ appdata: using Titanium
+ nandroid: I need cwm for this, right? And for cwm, I have to unlock bl so there is no way to make nandroid backup without unlocking bl first?
Is this everything I need if one day I decide to want to go back to the current state of my phone?
Thanks for any help
Current phone information and state:
C1905
official rom build 15.4.A.0.23 (JB 4.3)
rooted
odexed
locked bootloader (but unlockable)
Click to expand...
Click to collapse
If you take a backup fo your TA then to reset your phone to original state you would need this tool alongwith flashtool and your stock rom from xperifirm.
Thanks a lot guys. Now I feel (kinda) safe to go ahead and try cm. Good thing that you mention phone data, cause I completely forgot about that.
KoenGo said:
Thanks a lot guys. Now I feel (kinda) safe to go ahead and try cm. Good thing that you mention phone data, cause I completely forgot about that.
Click to expand...
Click to collapse
@KoenGo have you ever tried restoring your backup TA? because im having trouble right now
[ ------------------------------------------------------------ ]
[ Backup TA v9.11 for Sony Xperia ]
[ ------------------------------------------------------------ ]
[ 1. Backup ]
[ 2. Restore ]
[ 3. Restore dry-run ]
[ 4. Convert TA.img ]
[ 5. Quit ]
[ ------------------------------------------------------------ ]
Please make your decision: [1,2,3,4,5]?1
=======================================
BACKUP
=======================================
When you continue Backup TA will perform a backup of the TA partition.
First it will look for the TA partition by its name. When it can not
be found this way it will ask you to perform an extensive search.
The extensive search will inspect many of the partitions on your device,
in the hope to find it and continue with the backup process.
Are you sure you want to continue? [Y,N]?Y
Waiting for USB Debugging...OK
=======================================
FIND TA PARTITION
=======================================
Partition found!
=======================================
BACKUP TA PARTITION
=======================================
dd: can't open '/sdcard/backupTA.img': No such file or directory
=======================================
INTEGRITY CHECK
=======================================
FAILED - Backup does not match TA Partition. Please try again.
*** Backup unsuccessful. ***
Press any key to continue . . .
Im planning to unlock my bootloader but when i did backup and restore dry-run my TA backup Im having this error now. I backup my TA partition using the same tool (BackupTA 9.11) few days before sony replied with my unlock code and then Im decided to unlock now but to be safe, I tried to backup again and do restore dry-run and its not working anymore.
We do have the same specs of xperia M
Sorry for the late response. I don't remember if I did the dry-run.
Maybe stupid question, but did you put image where it is expected (/sdcard/backupTA.img) ?