Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,247 Members 47,293 Now Online
XDA Developers Android and Mobile Development Forum

[TUTORIAL] Xperia M Bootloader Unlocking

Tip us?
 
icoolguy1995
Old
(Last edited by icoolguy1995; 23rd November 2013 at 05:11 PM.)
#1  
icoolguy1995's Avatar
Recognized Contributor - OP
Thanks Meter 1,216
Posts: 1,825
Join Date: Jun 2012
Location: HARDA

 
DONATE TO ME
Default [TUTORIAL] Xperia M Bootloader Unlocking

Quick tutorial for unlocking & relocking the bootloader of the Xperia M

Warning!
Quote:
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
Before you unlock Bootloader
Quote:
  • Backup your TA partionHERE
STEPS TO UNLOCK BOOTLOADER
Quote:
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
NOTE:-
Quote:
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!

Credits Doomlord
Devices which I supports
╬ Sony xperia M ╬ Sony xperia E ╬

My Works
Code:
Error not found
If you like my work consider a donation, or else hit the thanks button.

The Following 16 Users Say Thank You to icoolguy1995 For This Useful Post: [ Click to Expand ]
 
aweosomeabhijeet
Old
#2  
aweosomeabhijeet's Avatar
Senior Member
Thanks Meter 888
Posts: 786
Join Date: Oct 2012
Location: Jaipur

 
DONATE TO ME

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.
Never be satisfied with what you get .
Devices :
Xperia M
XT530
 
icoolguy1995
Old
#3  
icoolguy1995's Avatar
Recognized Contributor - OP
Thanks Meter 1,216
Posts: 1,825
Join Date: Jun 2012
Location: HARDA

 
DONATE TO ME
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
Devices which I supports
╬ Sony xperia M ╬ Sony xperia E ╬

My Works
Code:
Error not found
If you like my work consider a donation, or else hit the thanks button.

The Following 2 Users Say Thank You to icoolguy1995 For This Useful Post: [ Click to Expand ]
 
alvinhochun
Old
#4  
alvinhochun's Avatar
Senior Member
Thanks Meter 179
Posts: 160
Join Date: Oct 2010
Quote:
Originally Posted by aweosomeabhijeet View Post

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.
There is always chance to void your warranty...
Current device: Xperia M (C1905) - MultiROM Xperia M

Past devices: Xperia Neo V, iPAQ 212
The Following 2 Users Say Thank You to alvinhochun For This Useful Post: [ Click to Expand ]
 
aweosomeabhijeet
Old
#5  
aweosomeabhijeet's Avatar
Senior Member
Thanks Meter 888
Posts: 786
Join Date: Oct 2012
Location: Jaipur

 
DONATE TO ME
Quote:
Originally Posted by alvinhochun View Post
There is always chance to void your warranty...
I see.
Well I tried with flashtool it denied unlocking
I think it would be better to go with the official unlocking.
Thanks.
Never be satisfied with what you get .
Devices :
Xperia M
XT530
 
Waledac
Old
#6  
Waledac's Avatar
Senior Member
Thanks Meter 84
Posts: 273
Join Date: Oct 2012
Location: Home
u should add the TA Backup guide also
 
icoolguy1995
Old
#7  
icoolguy1995's Avatar
Recognized Contributor - OP
Thanks Meter 1,216
Posts: 1,825
Join Date: Jun 2012
Location: HARDA

 
DONATE TO ME
WARNING :-

When i tried to restore my DRM keys my mobile went dead so be very careful with it.
Devices which I supports
╬ Sony xperia M ╬ Sony xperia E ╬

My Works
Code:
Error not found
If you like my work consider a donation, or else hit the thanks button.

The Following User Says Thank You to icoolguy1995 For This Useful Post: [ Click to Expand ]
 
alvinhochun
Old
#8  
alvinhochun's Avatar
Senior Member
Thanks Meter 179
Posts: 160
Join Date: Oct 2010
Quote:
Originally Posted by icoolguy1995 View Post
WARNING :-

When i tried to restore my DRM keys my mobile went dead so be very careful with it.
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.
Current device: Xperia M (C1905) - MultiROM Xperia M

Past devices: Xperia Neo V, iPAQ 212
The Following User Says Thank You to alvinhochun For This Useful Post: [ Click to Expand ]
 
Dr Goodvibes
Old
#9  
Dr Goodvibes's Avatar
Senior Member
Thanks Meter 622
Posts: 613
Join Date: Dec 2011
Quote:
Originally Posted by alvinhochun View Post
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.
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.
 
alvinhochun
Old
#10  
alvinhochun's Avatar
Senior Member
Thanks Meter 179
Posts: 160
Join Date: Oct 2010
Quote:
Originally Posted by Dr Goodvibes View Post
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.
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
Current device: Xperia M (C1905) - MultiROM Xperia M

Past devices: Xperia Neo V, iPAQ 212

The Following User Says Thank You to alvinhochun For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes