[Q] How to lock bootloader and restore TA(mmcblk0p1)? - Sony Xperia ZL

Hi, is it any tutorial about locking bootloader an restoring TA.img?As I know to restore TA i beed to do smthing like
dd if=/sdcard/TA.img of=/dev/block/mmcblk0p1
How to lock bootloader?

Did you use the backup tool by DevShaft? If yes you can restore TA with that tool again.
If not I don't know... Maybe you can search in the Z forum, there you will find many instructions that also work on ZL. Good luck!
Xperia ZL, 4.2.2 Stock (.67), rooted

Solved

suleymanovemil8 said:
Solved
Click to expand...
Click to collapse
How did you do that?

CokeJunkee said:
How did you do that?
Click to expand...
Click to collapse
I had backup of my TA and just restored it)

suleymanovemil8 said:
Hi, is it any tutorial about locking bootloader an restoring TA.img?As I know to restore TA i beed to do smthing like
dd if=/sdcard/TA.img of=/dev/block/mmcblk0p1
How to lock bootloader?
Click to expand...
Click to collapse
Yesterday I executed the same code and my Xperia XA (F3111) was bricked!
https://forum.xda-developers.com/xp...bootloader-t3423654/post71125186#post71125186
suleymanovemil8 said:
I had backup of my TA and just restored it)
Click to expand...
Click to collapse
How did you restore TA without bricking your device?

lebigmac said:
Yesterday I executed the same code and my Xperia XA (F3111) was bricked!
https://forum.xda-developers.com/xp...bootloader-t3423654/post71125186#post71125186
How did you restore TA without bricking your device?
Click to expand...
Click to collapse
Some backup utility or dd worked for me. I don't remember much of the details though.

Related

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

Restore ta partition

can TA partition of 4.2 be restore on 4.3?
bhavstech said:
can TA partition of 4.2 be restore on 4.3?
Click to expand...
Click to collapse
Yes it can! its no problem because drm keys are stored deep and secure at your BIOS.
It will automatically lock the unlocked bootloader also.
Hit thanks if this helped you!

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

relock bootloader E6883?

who can give me a guide to relock back My bootloader to My z5 premium E6883?
im not see flash tool have E6883 model to relock...tq
See:
https://forum.xda-developers.com/z5-premium/help/xperia-z5-premium-dual-e6883-help-t3353950
pandan80 said:
who can give me a guide to relock back My bootloader to My z5 premium E6883?
im not see flash tool have E6883 model to relock...tq
Click to expand...
Click to collapse
why do u want to relock? do u have DRM KEYS/TA.IMG backed up somewhere in your pc ? to restore?
anways
with flashtool you can relock it and then unlock it again!
keep the original unlock key with you (just in case) or you can always ask sony for the keys
YasuHamed said:
why do u want to relock? do u have DRM KEYS/TA.IMG backed up somewhere in your pc ? to restore?
anways
with flashtool you can relock it and then unlock it again!
keep the original unlock key with you (just in case) or you can always ask sony for the keys
Click to expand...
Click to collapse
Hey, I want to put my Sony Z5 premium back to all factory to sell it, can you give me the steps to do that?
EMJI79 said:
Hey, I want to put my Sony Z5 premium back to all factory to sell it, can you give me the steps to do that?
Click to expand...
Click to collapse
if the bootloader has been unlocked it can never be fully restored. you can never lock the bootloader the way sony did.
All you can do is to wipe and flash untouched stockrom and sell it
for flashing use flashtool / fastboot modes. you can do google for tutorial. its easy.
What about drm?
EMJI79 said:
What about drm?
Click to expand...
Click to collapse
if you never took backup of your DRM then they are lost too! if you have taken backup then restore them manual. but whenever the buyer flash the device the keys will be lost too.
I have backed them up with TA backup
EMJI79 said:
I have backed them up with TA backup
Click to expand...
Click to collapse
then relock your bootloader and sell it off. if the new owner don't change anything then the keys will stay intact.
however, if you could guide the new owner about it and email them the keys also , it will be fair deal
because you cannot use these keys on any other device.
Should I lock the bootloader first or restore TA first?
Anyone?
Answer: restoring TA automatically locks Bootloader.
But it needs root, so first restoring TA then flashing stock ROM with Flashtool.

Categories

Resources