[Read] Before Unlocking your Bootloader - Sony Xperia M

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

Related

ROOT your Stock JB with relocked BL

Hello guys... Read this guide to see how to run Stock JB rooted with a locked BL device.
Unfortunately this method don't work on devices that can have their bootloader locked, this method is intended to be used for who CAN unlock his bootloader but for any reason want keep your bootloader locked.
What you're going to do is basically:
1- Unlock your device.
2- Root your device while is unlocked.
3- Relock your device and your device will keep rooted.
Question: But, when I unlock my device don't I lose my warranty and DRM keys forever (so Bravia Engine, Music download info won't work correctly)?
Answer: Yes, but this method involves to backup your TA partition [Trim Area] before you unlock it, after you will restore your TA partition and this will return your bootloader to locked status, remove unlock code key and bring your DRM keys back.
Attention! This method will work only if you have a bootloader unlockable device, but you will keep your phone rooted after you relock bootloader.​
Links:
DevShaft's TA Backup/Restore Tool v8.6 for Windows
SuperSU 1.25 and Busybox 1.20.2 ZIP for CWM
Unlock bootloader Guide
DooMLoRD's advanced stock kernel with CWM v6.0.3.2, remember to place the kernel file in the same folder of fastboot.exe.
FTF file with Jelly Bean (6.2.B.0.200) Stock Kernel
Steps:
1 - Backup your TA.
2 - Save SuperSU 1.25 and Busybox 1.20.2 ZIP in you SD Card
3 - Unlock your BL.
4 - Flash DooMLoRD's advanced stock kernel with CWM v6.0.3.2, use fastboot to flash you can do this right before unlock your BL, there is no need to unplug your device from fastboot after unlock the bootloader [command line: fastboot.exe flash boot S_DooMLoRD_AdvStkKernel_FW-200_v2.elf],
5 - When you see Sony Logo, access CWM pressing Volume UP button, select install zip from sd card and install SuperSU-1.25-Busybox-1.20.2-UPDATE.zip.
6 - Reboot your phone.
7 - Flash Jelly Bean (6.2.B.0.200) Stock Kernel.
8 - Reboot your phone.
9 - Restore your TA and reboot your device.
Enjoy your Stock Jelly Bean rooted with LOCKED BOOTLOADER!
I tested this on my own Xperia S (LT26i), if you have an Xperia SL and Xperia ion this will probably work. I don't know about Xperia acro S because @DevShaft Backup-TA tool isn't confirmed if it's working on Xperia acro S (only Xperia S, SL and ion users confirmed it's working).
UPDATE 1!
@DooMLoRD is working on a Pre-Rooted ROM for LB/UB, also he's working on a CWM for LB, it's an easier way to root but requires a clean install.
[ROM] Official Sony JB 6.2.B.0.200 ROM Pre-Rooted CWM
RHBH said:
Hello guys... Read this guide to see how to run Stock JB rooted with a locked BL device.
Unfortunately this method don't work on devices that can have their bootloader locked, this method is intended to be used for who CAN unlock his bootloader but for any reason want keep your bootloader locked.
What you're going to do is basically:
1- Unlock your device.
2- Root your device while is unlocked.
3- Relock your device and your device will keep rooted.
Question: But, when I unlock my device don't I lose my warranty and DRM keys forever (so Bravia Engine, Music download info won't work correctly)?
Answer: Yes, but this method involves to backup your TA partition [Trim Area] before you unlock it, after you will restore your TA partition and this will return your bootloader to locked status, remove unlock code key and bring your DRM keys back.
Attention! This method will work only if you have a bootloader unlockable device, but you will keep your phone rooted after you relock bootloader.​
Links:
DevShaft's TA Backup/Restore Tool v8.6 for Windows
SuperSU 1.25 and Busybox 1.20.2 ZIP for CWM
Unlock bootloader Guide
DooMLoRD's advanced stock kernel with CWM v6.0.2.7, remember to place the kernel file in the same folder of fastboot.exe.
FTF file with Jelly Bean (6.2.B.0.200) Stock Kernel
Steps:
1 - Backup your TA.
2 - Save SuperSU 1.25 and Busybox 1.20.2 ZIP in you SD Card
3 - Unlock your BL.
4 - Using fastboot flash this DooMLoRD's advanced stock kernel with CWM v6.0.2.7, you can do this right before unlock your BL, there is no need to unplug your device from fastboot after unlock the bootloader [command line: fastboot.exe flash boot S_DooMLoRD_AdvStkKernel_FW-200_v1.elf],
5 - When you see Sony Logo, access CWM pressing Volume UP button, select install zip from sd card and install SuperSU-1.25-Busybox-1.20.2-UPDATE.zip.
Optional - Reboot and test if root is working.
6 - Install Jelly Bean (6.2.B.0.200) Stock Kernel.
Optional - Reboot and test if root is working.
7 - Restore your TA and reboot your device.
Enjoy your Stock Jelly Bean rooted with LOCKED BOOTLOADER!
I tested this on my own Xperia S (LT26i), if you have an Xperia SL and Xperia ion this will probably work. I don't know about Xperia acro S because @DevShaft Backup-TA tool isn't confirmed if it's working on Xperia acro S (only Xperia S, SL and ion users confirmed it's working).
Click to expand...
Click to collapse
I have done exactly all the steps above (as I've done tons of times with ICS and the advanced stock kernel) but I confirm you twice that this method is not working
cabi.costa said:
I have done exactly all the steps above (as I've done tons of times with ICS and the advanced stock kernel) but I confirm you twice that this method is not working
Click to expand...
Click to collapse
Did you let the phone reboot on the steps I said was optional (maybe not optional afterall).
I did all steps and worked twice and worked.
RHBH said:
Did you let the phone reboot on the steps I said was optional (maybe not optional afterall).
I did all steps and worked twice and worked.
Click to expand...
Click to collapse
This ta method z very risky it can hard brick your phone
Sent from my Xperia SL using xda premium
RISHI RAJ said:
This ta method z very risky it can hard brick your phone
Sent from my Xperia SL using xda premium
Click to expand...
Click to collapse
Only if you flash someone's else TA or if you restore the TA of some device that isn't confirmed as supported.
@DevShaft 's Tool have a lot of security features to prevent the TA corruption or a fail restore.
If you want a deep discussion about it, use this topic: Backup TA for Windows
RHBH said:
Only if you flash someone's else TA or if you restore the TA of some device that isn't confirmed as supported.
@DevShaft 's Tool have a lot of security features to prevent the TA corruption or a fail restore.
If you want a deep discussion about it, use this topic: Backup TA for Windows
Click to expand...
Click to collapse
It's true that DevShaft's tool is very thorough, but fact remains that messing with the TA partition in any way is very risky.
FenrirMX said:
It's true that DevShaft's tool is very thorough, but fact remains that messing with the TA partition in any way is very risky.
Click to expand...
Click to collapse
i second that!
I WOULD HIGHLY RECOMMEND TO NOT MESS AROUND WITH TA
You are misleading people. Change Topic.. It's not Root for locked BL, but it's method to root with relocking BL. It's not same.
It is possible to share the back up TA and restore it to other xps?if yes, pls could someone share their back up TA for us to restore the missing drm keys to experienced the 100% power of our xps...thanks in advance
Sent from my LT26i using xda premium
jemju_xps-user said:
It is possible to share the back up TA and restore it to other xps?if yes, pls could someone share their back up TA for us to restore the missing drm keys to experienced the 100% power of our xps...thanks in advance
Sent from my LT26i using xda premium
Click to expand...
Click to collapse
No. You will hard brick your device if you try.

[TUTORIAL] Xperia M Bootloader Unlocking

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

[Q] flash ta backup while bootloader unlocked?

will bravia engine work with this?
i was on 6.2.b.1.96 xs 4.1.2 rooted
then i took TA Backup.
now today i unlocked bootloader for the first tym (DRM keys preserverd in TA backup.)
now if i restore my TA backup while the bootloader unlocked, then will it restore drm keys and will bravia engine work?
m nt trying it because m afraid of bricking the phone.( just recovered from a soft brick yesterday). has anyone tried?
yes surely mate ...go ahead with restore....it will restore ur DRM keys and bravia engine will work as it was at the time of backup...
recommend to do this on stock firmware on which u had taken the TA backup....Hope this helps...
mohit378 said:
yes surely mate ...go ahead with restore....it will restore ur DRM keys and bravia engine will work as it was at the time of backup...
recommend to do this on stock firmware on which u had taken the TA backup....Hope this helps...
Click to expand...
Click to collapse
but dont it look weird, unlocked bootloader and drm keys working together? i didnt read anything like that on internet. can u quote any such link?
when u restore ur TA BACKUP it will restore ur DRM keys and bravia engine & ur BOOTLOADERS will get locked again....u have to unlock it again for custom kernel flashing...
so just flash stock firmware first on which u had taken TA backup and then restore it.... if you're using a custom kernel, you'll brick the phone.......so u must be on stock firmware first before restoration process...hope this helps...
Just to add since you just recovered from a soft brick.
If you restored your TA while using a custom kernel, you will hardbrick your phone which I believe is unrecoverable...
intoxic8 said:
Just to add since you just recovered from a soft brick.
If you restored your TA while using a custom kernel, you will hardbrick your phone which I believe is unrecoverable...
Click to expand...
Click to collapse
Can you please explain the reason behind it?

How to check if phone is: rooted, boot loader locked

Hi, I believe that I have returned my phone back to stock.
But I'm frankly not sure if the phone is still rooted, and if the boot loader has been relocked.
I did use the TA Backup program to restore my DRM keys.
Then I simply used Flashtool to flash the latest ROM .108 onto my Z1C.
Will my phone be accepted for warranty repair?
lamenramen said:
I did use the TA Backup program to restore my DRM keys.
Then I simply used Flashtool to flash the latest ROM .108 onto my Z1C.
Click to expand...
Click to collapse
If you did this you are ok for warranty.No need to worry...
Thanks! I appreciate the reassurance.
so the TA isn't related to stock rom version? or in other words, it isn't important if you backed up the TA while running 757 rom, it's okay to restore TA and flash 108 for exanole?
Sent from my D5503 using Tapatalk
just to be sure,.. restore TA on the version you made it from..
my 2 cents

Doubts on rooting

I have sony xperia t2 ultra dual
i am a noob to android
Some of the doubts i have,
How to take a backup ta of the stock firmware
do i need to unlock the boot loader to take a backup
do i need to root my phone to take a backup
i am so particular in backup before rooting the phone
vnnarendran said:
I have sony xperia t2 ultra dual
i am a noob to android
Some of the doubts i have,
How to take a backup ta of the stock firmware
do i need to unlock the boot loader to take a backup
do i need to root my phone to take a backup
i am so particular in backup before rooting the phone
Click to expand...
Click to collapse
The answer is
1. to backup the ta you need a tool called backup TA from the cross development section
2. you don't need to unlock ti backup ta
3. You must be rooted to backup the ta partitions
Chena_22 said:
The answer is
1. to backup the ta you need a tool called backup TA from the cross development section
2. you don't need to unlock ti backup ta
3. You must be rooted to backup the ta partitions
Click to expand...
Click to collapse
Bro can u please provide a step by step instructions on how to backup ta partition on t2 ultra using backup ta n what r the requirements for using backup ta
I used this tool bt it does not detect my device n I have rooted my device
Zx9. said:
Bro can u please provide a step by step instructions on how to backup ta partition on t2 ultra using backup ta n what r the requirements for using backup ta
I used this tool bt it does not detect my device n I have rooted my device
Click to expand...
Click to collapse
Activate your USB debugging mode first
Chena_22 said:
Activate your USB debugging mode first
Click to expand...
Click to collapse
USB debugging is enabled bt the tool I not detecting my device

Categories

Resources