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.
Related
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
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
I'm trying to go back to stock from CM12.
I tried flashtool to flash a stock image, and after I selected relock bootloader.
it says it's gone OK, but stock doesn't boot after.
If I go back to flashtool, and I select BLU, it gives me the option to relock the bootloader! I thought it was locked already.
what can i do?
thanks
xd4d3v said:
I'm trying to go back to stock from CM12.
I tried flashtool to flash a stock image, and after I selected relock bootloader.
it says it's gone OK, but stock doesn't boot after.
If I go back to flashtool, and I select BLU, it gives me the option to relock the bootloader! I thought it was locked already.
what can i do?
thanks
Click to expand...
Click to collapse
This only works if you unlocked the bootloader using the official method of unlocking the bootloader.
If you did not do that and perhaps unlocked bootloader using flashtool the only choice you have is to restore the TA partition.
That said if you made a backup of the TA partition before unlocking the bootloader.
edit: What is the status of the phone when you say "stock doesn't boot after."?
Does the kernel not boot? = vibrates three times when power button being pressed.
Does the phone boot but get stuck in a bootloop?
SÜPERUSER said:
This only works if you unlocked the bootloader using the official method of unlocking the bootloader.
If you did not do that and perhaps unlocked bootloader using flashtool the only choice you have is to restore the TA partition.
That said if you made a backup of the TA partition before unlocking the bootloader.
edit: What is the status of the phone when you say "stock doesn't boot after."?
Does the kernel not boot? = vibrates three times when power button being pressed.
Does the phone boot but get stuck in a bootloop?
Click to expand...
Click to collapse
Somehow, after a second flash of the stock ROM, and selecting to wipe data, the phone booted in stock, and works fine.
I still had an unlocked bootloader, and flashtool relock or fastboot oem lock wouldn't work.
I managed to find out what the problem with Backup TA tool was, I replaced the adb previously, but I didn't need to, once I went back to the standard adb, the TA restore worked, and with it, the bootloader locked!
this is now solved. thanks for the help.
one question now.
Is this now the same as stock stock? will i be receiving OTAs or should I do a repair with PCcompanion just to be sure?
rather not if not necessary as I already rooted
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
Like it says in the title.
I have a Xiaomi phone with an unlocked bootloader.
Just installed the latest stock ROM and was thinking about installing the TWRP Recovery, mostly for the full backup and Nandroid restore function.
Is it possible to safely RElock the phone using the usual Fastboot command, or is that a bad idea??? Also, I have read that the "fastboot oem unlock" command will delete TWRP recovery anyway.
Some advice would be appreciated.