Restoring the ( locked bootloader )backup taken before UB - Xperia Z2 Q&A, Help & Troubleshooting

So I don't know if the title is confusing
The question is rather simple
Can I restore the backup taken while on LB and flash them back after unlocking my bootloader ?
It will work right?

Not for TA partition.

Related

[Q] How do i restore my saved TA backup??? tutorial needed

Hi guys is there a tutorial on how to restore my TA backup, i know you use the backup TA tool but not sure what to do
i have a backup TA zip file, and a TA img file.Do i have to be on stock firmware? rooted?
my bootloader is unlocked and rooted at the moment running eXistenZ 2.0
thanks.
What did you use to backup TA? I would hope that tool would allow you to restore it. If not you can restore it using flashtool, the option is under advanced >restore trim if memory serves me.
i used the TA backup tool, do i need bootloader locked or unlocked to restore TA backup?
think i need to be on stock rom but rooted???
help anyone, thanks.
Done it, flashed stock rom, rooted stock, used Ta backup tool to restore TA file, sorted...
Sent from my D6503

Weird TA backup problem

Hi guys, so before I unlocked my bootloaer I rooted and backed up my TA partition... but now I'm trying to go back to stock sony from cm12 and restore TA backup
But the thing is, even after I flash stock KK and rooted it and restored my TA partition, my BL is still unlocked and in the Service menu > security , MARLIN, WIDEVINE and WMLA still has an unknown error...
Am I doing somethnig wrong? thx advance

Relocking bootloader and restoring DRM keys

hey all,
I'm on 23.1.A.0.690 fw with UB at the moment, and I'm planning to restore my DRM key (which I have a backup of) and re-lock the bootloader.
But I was wondering about :
What comes first, the re-locking or restoring the DRM keys
Will the re-locking process wipe the internal SD
Can the the process be done while being on Lollipop fw or should I downgrade to Kitkat?
Any information or insight is highly appreciated.
Thanks.
Before restoring your DRM keys you should make sure that your Kernel and FOTAKernel are both stock (do this by flashing just them with flashtool).
To answer your first question, when you restore the DRM keys it relocks the bootloader (which is why you must make sure your kernel and FOTAkernel are both stock).
The relocking process doesn't wipe the internal SD card.
DRM keys appear to be the same for your device across all firmwares. I have restored DRM keys taken from KitKat and restored them on LP with no problems.

Questions regarding bootloader relock

So, I had my bootloader unlocked back when I was in kitkat (unsure whether I had version 4.4.2 or 4.4.4), but I had backed up my ta partition in case I wanted to relock the bootloader.
Fast forward to today, I am on lollipop (version 5.1.1) and I want to relock my bootloader. Note that I am on stock kernel.
Obviously enough, I have to restore my ta backup.
But I have some questions.
1)Do I have to downgrade to the android version the phone had when I took the ta backup, or I can simply flash the ta backup on my current android version?
2)During this procedure, does anything (such as data) get wiped?
3) Will I lose recovery during this procedure?
Mokiwipeout said:
So, I had my bootloader unlocked back when I was in kitkat (unsure whether I had version 4.4.2 or 4.4.4), but I had backed up my ta partition in case I wanted to relock the bootloader.
Fast forward to today, I am on lollipop (version 5.1.1) and I want to relock my bootloader. Note that I am on stock kernel.
Obviously enough, I have to restore my ta backup.
But I have some questions.
1)Do I have to downgrade to the android version the phone had when I took the ta backup, or I can simply flash the ta backup on my current android version?
2)During this procedure, does anything (such as data) get wiped?
3) Will I lose recovery during this procedure?
Click to expand...
Click to collapse
1. no
2. shouldent be
3. if you are using recovery for locked bootloader then no

A way to have root on MM with locked bootloader (TA partition intact) (Test Please?)

A few days ago this was released: Universal TA partition backup
This means that we can retrieve the TA partition with a LOCKED bootloader!
In theory, then we can save the TA partition, root the M4 after UNLOCKING the bootloader, and then relock it by flashing the TA partition back.
If you were wondering about DM-verity, the M4 doesn't enforce that.
Someone confirm this?
Is no one seriously going to try this out? Fine I'll try it in my own time...
I tried it last week and it doesn't work, the backup file was 0bytes. Anyway you can make a TA backup using TA backup master with downgrading to Lollipop, root using the known exploit and then unlock the bootloader.
To root on MM you have to flash boot image, which requires unlocked BL and re-locking after that will result a boot-loop.
Check out the new version. It works now. TA Dumped ^^
The main problem is still there, flashing SuperSU from twrp doesn't work, so no way for re-locking the BL with root after that.

Categories

Resources