What to backup before unlocking bl and flashing rom (cm) - Sony Xperia M

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) ?

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.

[Read] Before Unlocking your Bootloader

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

[Q] Xperia SL from stock to beast :)

Hi,
I'm new and quite a newbie with android so, please bare with me
I will try to write a comprehensive guide on this during the process.
My device is XperiaSL LT26ii / Android 4.1.2 / Kernel 6.2.B.1.96 (stock, or default kernel) Rooted with bootloader locked. Busybox installed.
So the only thing I'v done after buying is rooting it.
- How to fully-backup / recovery if anything goes wrong
Before doing any operation with it I wanted to backup everything (applications, ROM, System, documents) , and I hear that there is CWM or Xrecovery for that (mentioned in some guides), nandroid, but I found different applications on Playstore and don't know which one is the right one for my device.
I understand that backing up and restoring each of these system parts requries order and probably different applications,
Can we specify here which app should I use and how it's done?
- ROM and Kernel without unlocking possibly
http://forum.xda-developers.com/showthread.php?t=2593806 it looks like possible but considering that now there is cm-11 out and not yet for "nozomi" http://download.cyanogenmod.org/?device=nozomi , I would like to try any stable, fast , light ROM out there which works for my device. Preferibly with possibility to remove any google app .
If not, how can I unlock the bootloader and do the rest?
I saw also http://forum.xda-developers.com/showthread.php?t=1617219 which looks a nice kernel.
So , what's the most adaptive ROM / kernel for my phone and how to install / flash them?
- Getting back the applications
Once it's done, how to restore back applications and data? / with what tool, without loosing anything.
Download flashtool (xda fileserver)
You can use that to unlock your bootloader
Also backbuton = volume up = BOOTLOADET MODE
Menu button = volume down =flashmode
May come in useful for unlocking your Bootloader
Also emma flashtool isnt the same as this flashtool
Also google if your not sure
If you want to know anything else then ask
Sony Xperia S was my first android
Had a nokia brick before (3310)/N95)
Envious_Data said:
Download flashtool (xda fileserver)
You can use that to unlock your bootloader
Click to expand...
Click to collapse
Thanks.
Before unlocking the bootloader , I'd like to backup everything with CWM or Xrecovery or nandroid ,
I tried installing CWM but it said my phone was not supported, so I gues I'm on the wrong place, so could you point to the right CWM?
Also, CWM I think recovers only the ROM and the kernel but no system applications, any app to do that and save everything to my PC?
xperiasl said:
Thanks.
Before unlocking the bootloader , I'd like to backup everything with CWM or Xrecovery or nandroid ,
I tried installing CWM but it said my phone was not supported, so I gues I'm on the wrong place, so could you point to the right CWM?
Also, CWM I think recovers only the ROM and the kernel but no system applications, any app to do that and save everything to my PC?
Click to expand...
Click to collapse
for locked bootloaders recovery try this......http://forum.xda-developers.com/showthread.php?t=2308493.....
after that go into recovery and make a nandroid backup of ur fon.....this will create a backup image of ur fon including rom,kernel,system applications.....them u can save it on ur pc....
mohit378 said:
for locked bootloaders recovery try this......http://forum.xda-developers.com/showthread.php?t=2308493.....
after that go into recovery and make a nandroid backup of ur fon.....this will create a backup image of ur fon including rom,kernel,system applications.....them u can save it on ur pc....
Click to expand...
Click to collapse
Thanks,
on the post it says "rooted STOCK JB ROM .200 with busybox installed"
the only thing is that I donwloaded the official .201 , is there any CWM version for locked bootloaders for that?
xperiasl said:
Thanks,
on the post it says "rooted STOCK JB ROM .200 with busybox installed"
the only thing is that I donwloaded the official .201 , is there any CWM version for locked bootloaders for that?
Click to expand...
Click to collapse
chk out this for XPERIA SL...http://forum.xda-developers.com/showthread.php?t=2245327....
mohit378 said:
chk out this for XPERIA SL...http://forum.xda-developers.com/showthread.php?t=2245327....
Click to expand...
Click to collapse
As you suggested DRW Backup tool I will probably go ahead and unlock the bootloader, the only thing is now that I'm stuck at the backup point,
Before flashing the ROM or any kernel they say "backup", and it's used CWM or other tools, and when you go to install CWM they say backup first before installing...
Am I missing something here?
It's like a loop but no solution on how to backup what it's currently installing before putting any CWM or flashing a kernel...
How did you get out of this?
hey mate first of all backup ur TA partition....then unlock ur bootloaders.....then u can flash any custom kernel with CWM recovery......from recovery u can flash any custom rom or mod .zip file.....
UNLOCKING ur bootloaders voids ur warranty so always make a TA backup before unlocking.....u can search various thread for root,unlocking bootloaders,flashing custom kernel,custom roms within the thread.....
Hope this helps.....
mohit378 said:
hey mate first of all backup ur TA partition....then unlock ur bootloaders.....then u can flash any custom kernel with CWM recovery......from recovery u can flash any custom rom or mod .zip file.....
UNLOCKING ur bootloaders voids ur warranty so always make a TA backup before unlocking.....u can search various thread for root,unlocking bootloaders,flashing custom kernel,custom roms within the thread.....
Hope this helps.....
Click to expand...
Click to collapse
Yep, thanks that's all clear, what I wanted to know is how to backup everything before installing any custome kernel/ROM or Recovery tool (CWM, Xrecovery, etc)..
Got it,
http://forum.xda-developers.com/showthread.php?t=2075736
Basically we need SUS, we update and get the files, than we decrypt and get a perfect image of the system + we backup with PC Companion + We backup the TA partitions with TA-backup and we are ready to go

[SOLVED][Question]How To Relock BootLoader Of Xperia M DUAL[C2004]

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.

Restoring TA partition question

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!

Categories

Resources