[Q] Restore DRM keys after custom rom on a newer TFT - Xperia Z Q&A, Help & Troubleshooting

i just backed up my DRM keys then i proceed to unlock my bootloader, install custom recovery and flashed CM12, i didnt restored my DRM keys, i want to install Stock lollipop on my phone but how do i restore my drm keys? i backed up on the stock lastest KK rom, the back up would work on Lollipop?

Yes, your backup will work fine. Use the TA backup tool to restore it. Flash a stock rom before restoring the backup or you will soft brick your device.
Sent from my C6603

Related

Restoring backups from CM10.1?

So, I've been trying to get back onto my stock firmware backup after checking out cm10.1 and am absolutely stumped on how to get the backup to restore. So what I've done to get on CM10.1 is:
Rooted stock with locked (but unlockable) boot loader. Restored NFC function and restored unlockable status to yes.
Made a backup in CWM
Unlocked my bootloader.
Fasboot flashed cm10.1 kernel, flashed cm10.1 from recovery.
Had working CM10.1 but decided I wanted to go back.
Restoring the backup results in the phone not booting. LED flick red and it powers off. I put CM back on at this stage, got the kernel from the stock backup, flashed that and the restore still won't boot.
Fastboot is still accessible and I can easily get back to CM10.1 so at least that's something. I really want to restore that backup though dammit!
I am now back on the backup I had made of CM10 and all is working as it should. Is there any specific method to smoothly get back to my stock CWM backup?
I realise that I could allways just download a stock firmware and flash it with flash tool, but I don't want to go this path if the option to simply restore my backup is viable. (currently don't have broadband at home so have to go easy on the downloads).
I am sure I must be overlooking something but just can't figure it out, is there some specific method or order to do things I missed?

Back to stock

Hello I have an xperia z c6602 I'm currently using pac man rom with meow kernel
My bootloader is unlocked and I want to go back to stock
I have a CWM backup of my stock rom. And a backup of my TA partition (i read it was useful)
How do I go back to stock? Can I just restore my CWM backup? Or I have to flash through Emma? How do I restore my ta backup?
Can someone be so kind to guide in a newbie way please? (I'm use to play around with Samsung devices. This is really different!)
plotinus said:
Hello I have an xperia z c6602 I'm currently using pac man rom with meow kernel
My bootloader is unlocked and I want to go back to stock
I have a CWM backup of my stock rom. And a backup of my TA partition (i read it was useful)
How do I go back to stock? Can I just restore my CWM backup? Or I have to flash through Emma? How do I restore my ta backup?
Can someone be so kind to guide in a newbie way please? (I'm use to play around with Samsung devices. This is really different!)
Click to expand...
Click to collapse
Hello, I was on pac rom few days ago as well, then i decided to try miui which is based on stock.
So here's the steps:
BACK UP ALL YOUR INTERNAL SD FILES AND FOLDERS because flashing ftf will erase everything inside internal sd, I never did a backup, lost all the chats and messages. :crying: :crying: :crying: :crying: :crying:
copy all the flashable .zip u want to your sd card.
Flash a stock .ftf file .67 / .74 will do, then root it with any method u want
then flash original kernel using flashtool
then reboot str8 to recovery and proceed to do a clean wipe then flash any stock custom rom you want.
let me know if you have any doubts or question here.
My method is
1.Backup everything, photos, messages, app data using titanium backup, literally everything you need.
2.Store backups somewhere safe, especially titanium backup file(the whole thing).
3.Flash back stock rom and wiping everything.
4.Relock bootloader.
5.Now you have a clean phone, root it again and restore titanium backup app datas,
But be sure to only restore games, apps, but not system files, it may causes crash.
6.Restore the rest of them.
xIceCream said:
Hello, I was on pac rom few days ago as well, then i decided to try miui which is based on stock.
So here's the steps:
BACK UP ALL YOUR INTERNAL SD FILES AND FOLDERS because flashing ftf will erase everything inside internal sd, I never did a backup, lost all the chats and messages. :crying: :crying: :crying: :crying: :crying:
copy all the flashable .zip u want to your sd card.
Flash a stock .ftf file .67 / .74 will do, then root it with any method u want
then flash original kernel using flashtool
then reboot str8 to recovery and proceed to do a clean wipe then flash any stock custom rom you want.
let me know if you have any doubts or question here.
Click to expand...
Click to collapse
Thanks for the replies! Do you know how to restore my ta backup? Or by flashing the stock rom it would be the same? If not. At what part of the process should I do it?
plotinus said:
Thanks for the replies! Do you know how to restore my ta backup? Or by flashing the stock rom it would be the same? If not. At what part of the process should I do it?
Click to expand...
Click to collapse
restore ta backup is the last step basically, ( after flashing stock kernel and stock rom)
i think you used the backup ta for windows from one thread if i'm not wrong,
just restore dry run just to make sure the ta is correct and then just restore it
(the phone should be power on like normal, with usb debugging on)
for your concern, cwm backup also can be used, just restore it and it's done, but, the app data and all other things will return to the state during the time you made the backup, so the progress you did in this custom rom wil not be saved, unless you used titanium backup after you restore nandroid.
Excellent! Thanks man I will restore my backup and restore TA. And yes. I used a Windows tool to make the ta backup (don't even know what's that for. I just read it was important) haha
Sent from my C6603 using XDA Premium 4 mobile app

CWM restore

If I will restore my CWM backup will be restored kernel too?
My files in backup folder are: boot, system, cache and data. If I want to don't restore custom kernel cause I dont want to unlock my bootloader before just do not restore boot?
kael2404 said:
If I will restore my CWM backup will be restored kernel too?
My files in backup folder are: boot, system, cache and data. If I want to don't restore custom kernel cause I dont want to unlock my bootloader before just do not restore boot?
Click to expand...
Click to collapse
if you don't restore kernel your phone wont boot/will go in a bootloop
But I'm on stock rom and kernel and I want restore stock based rom only and skip restoring custom kernel. Can I do this by skipping restor 'boot' backup?
kael2404 said:
But I'm on stock rom and kernel and I want restore stock based rom only and skip restoring custom kernel. Can I do this by skipping restor 'boot' backup?
Click to expand...
Click to collapse
Restore back the entire backup, after that flash stock Sony kernel using fastboot

Going back to stock from cm

how to revert to stock from cm. i dont have ta. please help asap.
Download stock rom and flash it via flashtool
electrash said:
Download stock rom and flash it via flashtool
Click to expand...
Click to collapse
am on unlocked bootloader. no problem ryt??
dosent matter mate.
I bought this phone, backed up ta partition, unlocked bootloader, installed cm11, then iHachers ROM 4.1 (with dual recovery - CWM and TWRP). How can I return to stock, lock the bootloader and restore ta partition? (make it like it was when I bought it)
When I backed up the the ta partition, I accidently deleted it, so i recovered the deleted file with Recuva. I only managed to recover a ZIP called TA-backup-20140717... .zip, which has 6 files in it. Is this the only file needed to restore ta partition and (it is 188 KB) is it corrupt ?
I know I should use Flashtool, but I do not know which FTF to select. If I restore the phone with Sony PC Companion, will the device get bricked? Because it is rooted with custom recovery and unlocked BL.
Thanks :good:
georgevdl said:
I bought this phone, backed up ta partition, unlocked bootloader, installed cm11, then iHachers ROM 4.1 (with dual recovery - CWM and TWRP). How can I return to stock, lock the bootloader and restore ta partition? (make it like it was when I bought it)
When I backed up the the ta partition, I accidently deleted it, so i recovered the deleted file with Recuva. I only managed to recover a ZIP called TA-backup-20140717... .zip, which has 6 files in it. Is this the only file needed to restore ta partition and (it is 188 KB) is it corrupt ?
I know I should use Flashtool, but I do not know which FTF to select. If I restore the phone with Sony PC Companion, will the device get bricked? Because it is rooted with custom recovery and unlocked BL.
Thanks :good:
Click to expand...
Click to collapse
Pc companion will not even start to update your phone since it its rooted and bl uncloked.
Anyway, you need to flash FTF for your device (ex. C6903), best is Generic World latest one.
After that restore backup of TA
electrash said:
Pc companion will not even start to update your phone since it its rooted and bl uncloked.
Anyway, you need to flash FTF for your device (ex. C6903), best is Generic World latest one.
After that restore backup of TA
Click to expand...
Click to collapse
Thanks for the quick responce :laugh:
Is it possible to upgrade from iHackers 4.1 (Stock 4.4.2) with custom kernel, recovery and root, by only flashing the kernel and recovery FTF, restoring the TA (so that the BL locks again) and then upgrading over the air (OTA update) ? I know I will lose root, but are my data going to be deleted by upgrading from 4.4.2 to 4.4.4? I have the C6903 version.
Also, if I flash an ftf that includes everyhting (system, recovery, kernel,... ) and deletes all the data (so the phone will become like new), and choose a wrong generic ftf in this list ( http://storagecow.eu/index.php?dir=Xda/Sony/Xperia+Z1/C6903/Generic/14.4.A.0.108/ ), will I brick my phone?
I have never used flash tool (i have not even downloaded/installed it!) and i am afraid i will brick my z1...
Thank you for your help
georgevdl said:
Thanks for the quick responce :laugh:
Is it possible to upgrade from iHackers 4.1 (Stock 4.4.2) with custom kernel, recovery and root, by only flashing the kernel and recovery FTF, restoring the TA (so that the BL locks again) and then upgrading over the air (OTA update) ? I know I will lose root, but are my data going to be deleted by upgrading from 4.4.2 to 4.4.4? I have the C6903 version.
Also, if I flash an ftf that includes everyhting (system, recovery, kernel,... ) and deletes all the data (so the phone will become like new), and choose a wrong generic ftf in this list ( http://storagecow.eu/index.php?dir=Xda/Sony/Xperia+Z1/C6903/Generic/14.4.A.0.108/ ), will I brick my phone?
I have never used flash tool (i have not even downloaded/installed it!) and i am afraid i will brick my z1...
Thank you for your help
Click to expand...
Click to collapse
I didnt understand first one, so i will not answer to this, i dont want make any confusion.
Yes, if you flash everything your phone will become like new, and if you flash wrong "ftf" worst case scenario is that you will need to download new FTF and flash it again with correct one.
also check this thread
http://forum.xda-developers.com/cro...xperifirm-xperia-firmware-downloader-t2834142
it will probabl help you

Nandroid backup qs

Hi... If I do a nandroid backup then relock my boot loader, flash an ruu then restore the backup, will it restore my device to before the lock and flash? If so how would I back-up so that it doesn't do that?
Varss said:
Hi... If I do a nandroid backup then relock my boot loader, flash an ruu then restore the backup, will it restore my device to before the lock and flash? If so how would I back-up so that it doesn't do that?
Click to expand...
Click to collapse
If you make a nandroid and want to keep it you will need to copy it to your PC before running the RUU. And then copy it back to your internal storage afterwards as the Ruu will wipe your internal storage.
Restoring the nandroid would restore your ROM and apps to as it was before but you will still have the updated firmware. If your old rom and new rom are on the same base i.e both lollipop roms you can restore just the Data partition from your nandroid without effecting the new rom. But this is not recommended it updating from kitkat to lollipop.
You can also use titanium backup to backup your data then restore it to your new rom once you've finished updating. But again you will need to save your titanium backup folder to your PC before using the ruu.
In short if your updating from Lollipop to newer version of lollipop. You can use the Restore Data only from nandroid method.
Kitkat to Lollipop Titanium Backup would be best.
Sent from my HTC One using Tapatalk

Categories

Resources