Recover after unlock bootlader - Xperia Z2 Q&A, Help & Troubleshooting

Hi.. İ did nandroid backup with TWRP my stock firmware (.314) while my bootloader was locked. Now bootloader is UNlocked.
Can i restore my system with that backup file which is i did before unlock my bootloader? Any problem on restore? Will my bootloader be locked again?
Thanks

oulouloul said:
Hi.. İ did nandroid backup with TWRP my stock firmware (.314) while my bootloader was locked. Now bootloader is UNlocked.
Can i restore my system with that backup file which is i did before unlock my bootloader? Any problem on restore? Will my bootloader be locked again?
Thanks
Click to expand...
Click to collapse
Your bootloader will not be locked unless you relock or restore your TA partition

So.. Can i restore my backup?

oulouloul said:
So.. Can i restore my backup?
Click to expand...
Click to collapse
Yes you can, there should be no problem as your on an unlocked bootloader
Forgot to answer the question
XD

Related

[Q] Relock / Return to stock

Hi,
I have a question about relocking bootloader / restoring back to stock.
I found out it was possible to relock bootloader using Flashtool. If I flash a stock Sony ROM using Emma, and then relock the bootloader with Flashtool, does it mean I will be back to factory state ? Will I be able to do OTA updates etc. ?
Or is there no way back ?
I did not save the TA partition before unlocking...
Thanks!

Return to stock

Hi
I rooted with the Geohot make it rain method and then backed up TA before unlocking boot loader. I currently have Doomkernel.
To restore to stock, is there a flashable stock zip somewhere for .402
Then is it a case of restoring TA (which relocks BL?) And then unroofing?
Thanks
Sent from my D6503 using Tapatalk
TheMathMan said:
Hi
I rooted with the Geohot make it rain method and then backed up TA before unlocking boot loader. I currently have Doomkernel.
To restore to stock, is there a flashable stock zip somewhere for .402
Then is it a case of restoring TA (which relocks BL?) And then unroofing?
Thanks
Sent from my D6503 using Tapatalk
Click to expand...
Click to collapse
Safest way:
Factory reset the phone (on the phone)
Flash a valid ftf
Re-root
Restore TA (BL will LOCK)
Reflash the ftf if you want to lose root
.
Yes, you can download a image for your device and then flash it with the flash tool. It can also relock your bootloader.
Flash tool:http://www.flashtool.net/index.php
Images: http://forum.xda-developers.com/showthread.php?t=2759934
Iekozz said:
Yes, you can download a image for your device and then flash it with the flash tool. It can also relock your bootloader.
Flash tool:http://www.flashtool.net/index.php
Images: http://forum.xda-developers.com/showthread.php?t=2759934
Click to expand...
Click to collapse
NOPE
ftf will NOT relock the bootloader.
(OP wants the BL locked, not relocked too - only TA backup can do this)
LenAsh said:
NOPE
ftf will NOT relock the bootloader.
(OP wants the BL locked, not relocked too - only TA backup can do this)
Click to expand...
Click to collapse
Yeah you're right, ignore me and my too fast reading

[Q] locked/unlocked bootloader?

If I restored a twrp backup made prior to unlocking my bootloader will it become relocked? I ask because that is what I have done and now flashtool fails to flash a kernel with this error "INFO - FAILED (remote: Command not allowed)".
Second question, would a backup made after unlocking be unlocked when restored?
adfurgerson said:
If I restored a twrp backup made prior to unlocking my bootloader will it become relocked? I ask because that is what I have done and now flashtool fails to flash a kernel with this error "INFO - FAILED (remote: Command not allowed)".
Second question, would a backup made after unlocking be unlocked when restored?
Click to expand...
Click to collapse
I don't have, and haven't used TWRP much but I seem to remember something about including or not the TA partition Not sure though...
I now recommend backing up the TA while locked and unlocked.
blueether said:
I don't have, and haven't used TWRP much but I seem to remember something about including or not the TA partition Not sure though...
I now recommend backing up the TA while locked and unlocked.
Click to expand...
Click to collapse
Will restoring an unlocked TA backup restore me to an unlocked status?
It will, without the data wipe
I am updating this to pass along my experience.
1. I used dual recovery installer to gain root.
2. Backed up TA then used TWRP to make a Nandroid.
3. Unlocked bootloader which wiped data, then installed custom ROM.
4. Had trouble with custom ROM so restored backup which Relocked bootloader.
5. Unlocked bootloader second time, only this time it didn't wipe anything.
So in my case I was able to backup with TWRP, unlock bootloader, restore backup, unlock again and have phone as it was before unlocking. I only bring this up because I haven't seen anyone else mention it, if anyone wants to verify and add it to any of the guides feel free to do so.

booting a recovery without flashing it

I've done some google searching and can't find an answer, but do I need to have the bootloader unlocked to boot a recovery without flashing it with fastboot boot recovery.img? I want to take a backup of what I have before the unlock erases everything. If so, any suggestions for getting a backup with a locked bootloader?
edit: tried different keywords and found a page that says unlocked bootloader is required. so any suggestions on getting a backup before unlocking?
jbharbin said:
I've done some google searching and can't find an answer, but do I need to have the bootloader unlocked to boot a recovery without flashing it with fastboot boot recovery.img? I want to take a backup of what I have before the unlock erases everything. If so, any suggestions for getting a backup with a locked bootloader?
edit: tried different keywords and found a page that says unlocked bootloader is required. so any suggestions on getting a backup before unlocking?
Click to expand...
Click to collapse
You'll have to unlock the bootloader in order to boot a recovery on the n9. Try helium to backup.
Sent from my Nexus 5 using XDA Free mobile app

Which partition holds the bootloader locked / unlocked status?

My device came with unlocked bootloader. Before anything I made a complete backup with TWRP (alka). Then my bootloader got relocked and I intended to restore to unlock it officialy. But surprisingly after restore the bootloader was unlocked again. Which partition (of the around 40) which are also shown here holds the locked / unlocked status?
paul_damian said:
My device came with unlocked bootloader. Before anything I made a complete backup with TWRP (alka). Then my bootloader got relocked and I intended to restore to unlock it officialy. But surprisingly after restore the bootloader was unlocked again. Which partition (of the around 40) which are also shown here holds the locked / unlocked status?
Click to expand...
Click to collapse
"Firmware" I think so because while installing the official CM13 we have flash a separate firmware zip. I extracted the zip and there was file named emmc_appsboot.mbn which is the bootloader.
adwait.bhandari said:
"Firmware" I think
Click to expand...
Click to collapse
No, it's not. When I'm restoring the nandroid backup to restore the original state of my device, so that the bootloader is unlocked again, "Firmware" is the only partition I am not restoring (it gives an error, and other users say that it should be skipped).
I took a look at the updater script and the Bootloader file is written to the aboot partition.
http://imgur.com/HqtIlsp
Aha! Next time I will relock the bootloader I will try to restore, for testing, just this partition and then check it's status. Thanks.
Later edit: Did restored only the aboot partition and got a brick

Categories

Resources