Do I need to relock bootloader first when restoring TA? - Xperia Z1 Q&A, Help & Troubleshooting

Sent from my C6903 using xda app-developers app

I want tor restore my Z1's virginity was wondering would restoring TA on stock kernel automatically relock my bootloader or do I have to relock it first?
Sent from my C6903 using xda app-developers app

RealiableCandy4 said:
I want tor restore my Z1's virginity was wondering would restoring TA on stock kernel automatically relock my bootloader or do I have to relock it first?
Sent from my C6903 using xda app-developers app
Click to expand...
Click to collapse
Restoring TA backup = relocking the booloader
I don't think there is any other way to relock the bootloader, so how would you like to relock it?

Thanks for the reply I was going to use Flashtools to relock it. Cause of the camera issue I thought locking bootloader and restoring TA where completely separate from each other.
Also if you don't mind I'm on 4.3 unlocked with DooMKernel v4 and want to flash stock kernel how do I do that and where do i get. A guide on xda said if I want to relock I had to flash stock kernel.sin using Flashtool I don't know how to do that all I is how to flash a kernel using fastboot which requires me to have the .sin file which I don't know where to get it.
Sent from my C6903 using xda app-developers app

RealiableCandy4 said:
Thanks for the reply I was going to use Flashtools to relock it. Cause of the camera issue I thought locking bootloader and restoring TA where completely separate from each other.
Also if you don't mind I'm on 4.3 unlocked with DooMKernel v4 and want to flash stock kernel how do I do that and where do i get. A guide on xda said if I want to relock I had to flash stock kernel.sin using Flashtool I don't know how to do that all I is how to flash a kernel using fastboot which requires me to have the .sin file which I don't know where to get it.
Sent from my C6903 using xda app-developers app
Click to expand...
Click to collapse
The stock kernel is inside the ftf of the firmware, so just select the firmware in flashtool and on the right hand-side you will see a list of contents of the ftf that you are about to flash (system.sin , userdata.sin, kernel.sin and so on) . Exclude anything that you don't need to flash under the exclude tab.
Just a word of advise, make sure you relock the bootloader on the same version of the firmware that you made the backup on. So if you backup up TA on 4.2.2 relock it on 4.2.2. There seem to be some people that have had issues when they tried to relock on the newer firmware.

shem2409 said:
The stock kernel is inside the ftf of the firmware, so just select the firmware in flashtool and on the right hand-side you will see a list of contents of the ftf that you are about to flash (system.sin , userdata.sin, kernel.sin and so on) . Exclude anything that you don't need to flash under the exclude tab.
Just a word of advise, make sure you relock the bootloader on the same version of the firmware that you made the backup on. So if you backup up TA on 4.2.2 relock it on 4.2.2. There seem to be some people that have had issues when they tried to relock on the newer firmware.
Click to expand...
Click to collapse
Thanks a lot bro you're real help everything went smoothly

Related

[Q] Help with Reverting/Relocking

So I installed CM10.2 on my phone. For that I had to root and unlock my bootloader. I didn't really like it to be honest so I decided that I wanted to go back to stock rom, the problem however, is that i'm not sure how I should do this. I made a backup of my TA Partition so I also could get my DRM keys (Bravia Engine, etc) back. I don't know what I should do first and I was wondering if there is someone who could help me through this process. Do I first need to flash stock kernel, then flash stock ftf, and then install that TA backup in order to relock my bootloader? But I thought I needed root for this, if I flash a stock ftf then root will be gone right? So many questions
Thank you in advance
parfa10 said:
So I installed CM10.2 on my phone. For that I had to root and unlock my bootloader. I didn't really like it to be honest so I decided that I wanted to go back to stock rom, the problem however, is that i'm not sure how I should do this. I made a backup of my TA Partition so I also could get my DRM keys (Bravia Engine, etc) back. I don't know what I should do first and I was wondering if there is someone who could help me through this process. Do I first need to flash stock kernel, then flash stock ftf, and then install that TA backup in order to relock my bootloader? But I thought I needed root for this, if I flash a stock ftf then root will be gone right? So many questions
Thank you in advance
Click to expand...
Click to collapse
[Tutorial] Xperia Z & ZL Bootloader Unlocking/Relocking
:good:
hit thanks
x102x96x said:
[Tutorial] Xperia Z & ZL Bootloader Unlocking/Relocking
:good:
hit thanks
Click to expand...
Click to collapse
Thank you for your response but this is only relocking etc. My problem is that I don't know in what order I should do things. So far I think I should do it like this (but i'm not sure, so i'm asking for someone to tell me if it's wrong) : 1. Simply flash a stock ftf (with the ftf the stock kernel will be installed too, right?) 2. Relock bootloader 3. Then apply the TA Backup to get the DRM Keys back.
Is this the right order to do things? Will I make an expensive brick out of it if I do it like that?
Flash a stock FTF and root it (or flash a pre-rooted stock based ROM through recovery ). Then restore TA, which will automatcally lock bootloader and restore DRM keys
Sent from my C6603 using xda app-developers app
shoey63 said:
Flash a stock FTF and root it (or flash a pre-rooted stock based ROM through recovery ). Then restore TA, which will automatcally lock bootloader and restore DRM keys
Sent from my C6603 using xda app-developers app
Click to expand...
Click to collapse
Thank you very much, I tried this and it worked.

[Q] How to go back to Stock official ROM sony xperia z1

I'm on ihackers 2.1 ROM android 4.3
rooted
unlocked bootloader
I wanted to go back to stock to C6902_14.2.A.0.290
I found the method but I'm not sure if this is the right way http://lionking853.blogspot.co.uk/2013/11/how-to-go-back-to-stock-firmware-on.html
and if it is the right way, after going back to stock ROM, will my phone unroot and relock again?
Can I just go ahead and do this or must I relock bootloader first?
please help me since I never done this before, only rooted and unlock that I did.
Thank you so much folks
Hey u have to flash 4.2 first pure stock by flashtool using ftf,root it install recovery only if uve got TA BACKUP.Make sure ur on pure stock before restoring TA.Restore TA backup will relock bootlader then flash 4.3 ftf.If no TA backup then u can directly flash stock 4.3 ftf through flashtool & relock it using flashtool
Sent from my C6902 using XDA Premium 4 mobile app
thanks
RISHI RAJ said:
Hey u have to flash 4.2 first pure stock by flashtool using ftf,root it install recovery only if uve got TA BACKUP.Make sure ur on pure stock before restoring TA.Restore TA backup will relock bootlader then flash 4.3 ftf.If no TA backup then u can directly flash stock 4.3 ftf through flashtool & relock it using flashtool
Sent from my C6902 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I downloaded stock C6902_14.2.A.0.290 which is 4.3 it's the tft file
can I just flash it using flashtool? I want to wipe everything, no need to back up, I mean I want it to feel like a brand new phone. like factory reset.u know, and It doesn't matter about root or bootloader,
thanwachai said:
I downloaded stock C6902_14.2.A.0.290 which is 4.3 it's the tft file
can I just flash it using flashtool? I want to wipe everything, no need to back up, I mean I want it to feel like a brand new phone. like factory reset.u know, and It doesn't matter about root or bootloader,
Click to expand...
Click to collapse
if you don't want to relock your bootloader then just go back to .290 with flashtool
ok
Ahki767 said:
if you don't want to relock your bootloader then just go back to .290 with flashtool
Click to expand...
Click to collapse
Thank you, I'll do that
done
I'm finally back to stock ROM and it's much faster than custom ROM
I think it is much more stable too.
I'm no longer rooted anymore but bootloader is still unlocked.
I'm happy now
You can install custom kernel & have root
Sent from my C6902 using XDA Premium 4 mobile app
root
RISHI RAJ said:
You can install custom kernel & have root
Sent from my C6902 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
custom Kernel ? what is really a function to flash a kernel, I mean i have stock ROM, isn't the kernel already compatible? to root, maybe in the future,
Will I be able to update firmware via Sony PC companion? now .290
but the new firmware .136
I have unlocked bootloader
thanwachai said:
custom Kernel ? what is really a function to flash a kernel, I mean i have stock ROM, isn't the kernel already compatible? to root, maybe in the future,
Will I be able to update firmware via Sony PC companion? now .290
but the new firmware .136
I have unlocked bootloader
Click to expand...
Click to collapse
If you have an unlocked bootloader, you will not be able to update using PC Companion. I didnt know all this **** were involved in Sony phones.
I had unlocked my bootloader a couple of days back, didnt know I had to backup my DRM keys and ended up losing my warranty. Now I cant even update my phone using the official updating method.
BTW... the recovery is bundled with the kernel, thats why people refer to it as flashing a kernel instead of recovery. I didnt know this until 2 days back.
Thanks
subhramani said:
If you have an unlocked bootloader, you will not be able to update using PC Companion. I didnt know all this **** were involved in Sony phones.
I had unlocked my bootloader a couple of days back, didnt know I had to backup my DRM keys and ended up losing my warranty. Now I cant even update my phone using the official updating method.
BTW... the recovery is bundled with the kernel, thats why people refer to it as flashing a kernel instead of recovery. I didnt know this until 2 days back.
Click to expand...
Click to collapse
oh thank you
oh so I can't update via pc companion TT
please teach me the easiest way to relock bootloader
Thanks
done relock bootloader
Thanks anyway but I found the method and my phone now relocked bootloader
If you do have a TA backup then you don't have to do anything else then restoring it on a stock rooted firmware..If you don't then use flashtool to relock it..
Revert back for more help..
Hit Thanks if I helped you..
Sent from my LT26i using xda app-developers app
If I am on a Locked Bootloader and on a rooted custom ROM, will Sony PC Companion detect my phone when the next update comes??
This is stupid. If you are in 4.3 (.290) with un-locked boot loader you cant update via PC companion or SUS.
I ended up going to 534 (4.2) via flashtool. Root it, restore TA backup and then use SUS to update. And flashing the latest 4.3 via Flashtool din work.
No PC Companion or SUS won't detect your phone.. You've to manually flash a valid ftf from Flashtool.. Then you can connect & update your phone through PC Companion or SUS..
Sent from my LT26i using xda app-developers app
ZACQ8 said:
If I am on a Locked Bootloader and on a rooted custom ROM, will Sony PC Companion detect my phone when the next update comes??
Click to expand...
Click to collapse
I'm ok now, I'm on the latest firmware and everything works
Sent from my C6902 using xda premium
I'm good now, latest firmware and all perfect
Sent from my C6902 using xda premium
help me with process
thanwachai said:
Thanks anyway but I found the method and my phone now relocked bootloader
Click to expand...
Click to collapse
Cna you help me, how you go the relocking and stock-rom done?
thanks
Sumit
Reverting back to Stock
thanwachai said:
I'm good now, latest firmware and all perfect
Sent from my C6502 using xda premium
Click to expand...
Click to collapse
Do you still have the files? I'm looking to revert my C6602 (US) back to factory settings to I can allow PC companion to update the software.
(I'm looking to give the phone to someone, and they wont want to mess around with flashing and so on)
I'm using z1 stock rom lolipop
I tried in last two days king root its failed twice on version 4.1
then i found somewhere 4.0 with working root i tried and sucess!
then i installed titanium,greenify used phone for a day now want to backup drm for going to install custom reovery and custom roms !!!! what are my steps i failed during taking backup on drm keys..... what should i do i tried factory reset my phone now king user inside but phone is not rooted..... !!!!!!!!!!

.201 root process

Is there any way already to root. 201 firmware after updating? Thanks
Sent from my C5303 using xda app-developers app
Yes there is
Unlock bootloader
Flash Doomkernel
Flash SuperSufix via recovery
Reboot
You'll have root now.
Flash .201 kernel again
Lock bootloader
Enjoy your Rooted stock ROM with all the benefits of Locked bootloader without downgrading to .257 and flashing new ROM.
Rushaan™ said:
Yes there is
Unlock bootloader
Flash Doomkernel
Flash SuperSufix via recovery
Reboot
You'll have root now.
Flash .201 kernel again
Lock bootloader
Enjoy your Rooted stock ROM with all the benefits of Locked bootloader without downgrading to .257 and flashing new ROM.
Click to expand...
Click to collapse
Did you try it on new firmware?
silveraero said:
Did you try it on new firmware?
Click to expand...
Click to collapse
If you have Unlocked Boot Loader you can root ANY FW
If you don't... I recommend Unlock it :laugh:
and if you wanna keep warranty do backup of TA partition first
freedom74 said:
If you have Unlocked Boot Loader you can root ANY FW
If you don't... I recommend Unlock it :laugh:
and if you wanna keep warranty do backup of TA partition first
Click to expand...
Click to collapse
Ya ya, I know all these thing, I unlocked and relocked bootloader on 266 to root my phone with TA backup. Just wanna ask if you tried this on this new 201 firmware.
yeah it works i tested but i dont have 201 kernel can someone post a link plz as when i flashed doom kernal it broke wifi so i need 201 kernel thanks
ireaper4592 said:
yeah it works i tested but i dont have 201 kernel can someone post a link plz as when i flashed doom kernal it broke wifi so i need 201 kernel thanks
Click to expand...
Click to collapse
http://www.mediafire.com/download/a...e.com/download/aobkz4owf59dk61/kernel.201.ftf
freedom74 said:
If you have Unlocked Boot Loader you can root ANY FW
If you don't... I recommend Unlock it :laugh:
and if you wanna keep warranty do backup of TA partition first
Click to expand...
Click to collapse
What about for those of us that can't unlock bootloader?
Yeah. I wish doomlord released easy rooting kit. He doesnt care about SP anymore, unfortunately
Sent from my C5302 using xda app-developers app
.201 Root
silveraero said:
Did you try it on new firmware?
Click to expand...
Click to collapse
A friend of mine did
it worked
Worked for me
Sent from my C5303 using XDA Premium 4 mobile app
thehritzinator said:
What about for those of us that can't unlock bootloader?
Click to expand...
Click to collapse
There are a few pre-rooted .201 firmware floating in the development section. Need to have recovery to 'install'
Thx worked
Rushaan™ said:
Yes there is
Unlock bootloader
Flash Doomkernel
Flash SuperSufix via recovery
Reboot
You'll have root now.
Flash .201 kernel again
Lock bootloader
Enjoy your Rooted stock ROM with all the benefits of Locked bootloader without downgrading to .257 and flashing new ROM.
Click to expand...
Click to collapse
Hi. Could you please put this into a noob friendly quick guide?
aRc. said:
Hi. Could you please put this into a noob friendly quick guide?
Click to expand...
Click to collapse
Look at the root. 266 thread for unlocked bootloader..
It's exactly the same, the only difference is u have to flash the. 201 kernel again after finish rooting to experience improvements in the update..
Just a few questions please help. To keep our phone's warranty, we need to back up first the TA partition before unlocking right? I read and watched tutorials on how to back up but it needs a rooted phone so i search again on how to root, but unfortunately it requires unlock bootloader. Am i right guys? I'm using .201 all are stock and locked bl. Help guyrg.
Sent from my C5303 using xda app-developers app
Use .256 Leak Advance Kernel
s1llhoute said:
Look at the root. 266 thread for unlocked bootloader..
It's exactly the same, the only difference is u have to flash the. 201 kernel again after finish rooting to experience improvements in the update..
Click to expand...
Click to collapse
I have .201 kernel.ftf not the .elf. Does that matter?
aRc. said:
I have .201 kernel.ftf not the .elf. Does that matter?
Click to expand...
Click to collapse
.ftf extension means u have to flash it through flashmode,. elf extension through fastboot mode..
Stock kernel always in. ftf extension..
Sent from my C5302 using Tapatalk
no......... you can flash both using flashtool. For ftf use flashmode and for elf use fastboot

[Q] Relocking Bootloader, kernel, updating and more!

So, I'm on Central Europe 1 4.4.2, with doomlord kernel and root. I have a backup of my TA partition before unlocking bootloader.
I want to update to Central Europe 1 4.4.4, using the flashable zip that was posted and the stripped ftf.
Should I flash the stock kernel from FTF 4.4.2, restore my TA partition backup and update? Or update to 4.4.4, and after that restore my TA?
What are the bricking risks? Should I wipe everything? :crying: SO MANY DOUBTS
Why relock?
Just update by flashing the file
gregbradley said:
Why relock?
Just update by flashing the file
Click to expand...
Click to collapse
Word is x-reality and possible BIONZ are not working on 4.4.4....
dedei said:
Word is x-reality and possible BIONZ are not working on 4.4.4....
Click to expand...
Click to collapse
I have never noticed a difference.
Just update and then restore TA
dedei said:
So, I'm on Central Europe 1 4.4.2, with doomlord kernel and root. I have a backup of my TA partition before unlocking bootloader.
I want to update to Central Europe 1 4.4.4, using the flashable zip that was posted and the stripped ftf.
Should I flash the stock kernel from FTF 4.4.2, restore my TA partition backup and update? Or update to 4.4.4, and after that restore my TA?
What are the bricking risks? Should I wipe everything? :crying: SO MANY DOUBTS
Click to expand...
Click to collapse
If you want to go to totally "out of the box" device and have OTA update info and few other things you just said then yeah...
First flash ftf and stick kernel and then relock bootloader...
If you restore TA and leave custom kernel you could have serious problems...
Sent from my D6503 using Tapatalk
Just finished flashing 4.4.4 and stripped ftf without wipe or anything. omg I'm trembling lmao
funky0308 said:
If you restore TA and leave custom kernel you could have serious problems...
Sent from my D6503 using Tapatalk
Click to expand...
Click to collapse
No, there is no serious problem at all, you just need to flash a stock kernel via flashtool (In a stripped FTF or a full FTF) or via fastboot if you have the kernel.elf
So everything went smooth! Now i'm on 4.4.4 with root and locked bootloader BUT x-reality is not working LMAO. I'll try to install it now.
Edit: yep, it's definitely not working. I relocked bootloader for nothing! haha
gregbradley said:
No, there is no serious problem at all, you just need to flash a stock kernel via flashtool (In a stripped FTF or a full FTF) or via fastboot if you have the kernel.elf
Click to expand...
Click to collapse
Exactly what I said..
You have to flash stock kernel - there are many guys who relock bootloader on custom kernel - xda us full of stories like that..
They have toy now instead of expensive device..
Sent from my D6503 using Tapatalk
No, it's very easy to fix, just flash a stock kernel after relocking the bootloader, it does not brick the phone relocking in a custom kernel, it just gives you a boot loop which is easily fixable
Sent from my C6903 using XDA Premium 4 mobile app

Right steps to relock bootloader

If I RELOCK my bootloader will regain bionz? And all DRM keys? I also have my TA backup, and backup of stock firmware that my phone came with. I read doomlord's guide for relocking but I don't know if I would encounter a hard brick if I restore my original backup and then I relock my bootloader, how do I restore my TA backup?
Flash a stock ftf or restore your backup from stock (with a stock kernel) then restore your TA partion using the same tool you used to back it up
Sent from my C6903 using XDA Premium 4 mobile app
gregbradley said:
Flash a stock ftf or restore your backup from stock (with a stock kernel) then restore your TA partion using the same tool you used to back it up
Sent from my C6903 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks in getting back to me..
Will I regain DRM keys? As Bionz? Restoring my TA backup?
Thepho3nix said:
Thanks in getting back to me..
Will I regain DRM keys? As Bionz? Restoring my TA backup?
Click to expand...
Click to collapse
Yes
Sent from my C6903 using XDA Free mobile app
electrash said:
Yes
Sent from my C6903 using XDA Free mobile app
Click to expand...
Click to collapse
Hey two last questions.
1. How do I know if my drm keys are back again?
2. A new update popped up in PC companion, 133 firmware version, is there a risk if I update my phone being rooted? Or custom recovery?
Thepho3nix said:
Hey two last questions.
1. How do I know if my drm keys are back again?
2. A new update popped up in PC companion, 133 firmware version, is there a risk if I update my phone being rooted? Or custom recovery?
Click to expand...
Click to collapse
You cannot update using pccompanion with an unlocked bootloader.
Just flash a stock FT, restore your TA.
Then if you want to upgrade just use pccompanion and root again.

Categories

Resources