Hello, I want to make sure that if I will lose my DRM keys( important for camera) by using flashtool? I want to make a clean flash.
What should I choose in flashtool flashing screen?
cashflow67 said:
Hello, I want to make sure that if I will lose my DRM keys( important for camera) by using flashtool? I want to make a clean flash.
What should I choose in flashtool flashing screen?
Click to expand...
Click to collapse
You can back up drm keys and there's a bug to emulate them when you root.
http://forum.xda-developers.com/xpe...safe-bootloader-unlock-restore-t3386915/page1
Start there
The thing you won't lose your DRM keys when flashing with the firmware officially provided by Sony. The firmware itself contains the keys.
Related
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.
Hey guys,
Have a quick question here. When it was possible to (properly) unlock bootloader. I backed up my TA partition, root, unlock and custom ROM e.t.c.
Now, I wanted to test out stock 4.4 from Sony. Do I simply download the FTF and flash it via Flashtool? Will BIONZ e.t.c. work? Or do I have to go back to 4.2 stock, restore TA then it will work?
Or simply flash something like RomAur 4.4.2, and need not worry about TA (and BIONZ e.t.c. will work)?
Juzman said:
Hey guys,
Have a quick question here. When it was possible to (properly) unlock bootloader.
Click to expand...
Click to collapse
when has it not been possible and what do you mean by properly?
Now, I wanted to test out stock 4.4 from Sony. Do I simply download the FTF and flash it via Flashtool?
Click to expand...
Click to collapse
Yes
Juzman said:
Hey guys,
Have a quick question here. When it was possible to (properly) unlock bootloader. I backed up my TA partition, root, unlock and custom ROM e.t.c.
Now, I wanted to test out stock 4.4 from Sony. Do I simply download the FTF and flash it via Flashtool? Will BIONZ e.t.c. work? Or do I have to go back to 4.2 stock, restore TA then it will work?
Or simply flash something like RomAur 4.4.2, and need not worry about TA (and BIONZ e.t.c. will work)?
Click to expand...
Click to collapse
Bionz is gone after you unlocked your bootloader. You'd have to restore your ta backup to get it back
gregbradley said:
when has it not been possible and what do you mean by properly? Yes
Click to expand...
Click to collapse
It's always been possible, but there was an issue regarding unlocking bootloader at first with the camera bug.
Ahki767 said:
Bionz is gone after you unlocked your bootloader. You'd have to restore your ta backup to get it back
Click to expand...
Click to collapse
This is what I meant. So, to have bionz, I would have to restore TA, relock bootloader and not have custom kernel (like Doomlords). And just flash something like RomAur.
Juzman said:
It's always been possible, but there was an issue regarding unlocking bootloader at first. Cannot remember what it was though.
Click to expand...
Click to collapse
There was an issue with focus on the camera
This is what I meant. So, to have bionz, I would have to restore TA, relock bootloader and not have custom kernel (like Doomlords). And just flash something like RomAur.
Click to expand...
Click to collapse
Justt resotre the TA, that relocks your bootloader anyway
RomAur is not a stock rom, flash a FTF after retoring your TA, it will also install the stock kernel you will need on a LB
gregbradley said:
There was an issue with focus on the camera Justt resotre the TA, that relocks your bootloader anyway
RomAur is not a stock rom, flash a FTF after retoring your TA, it will also install the stock kernel you will need on a LB
Click to expand...
Click to collapse
Yep, from what I was reading, I have to flash the same version of the stock that I backed up TA with, then restore TA (which will re-lock bootloader), then I can flash the LB version of RomAur.
However if I want to use DoomKernel, I will need an unlocked boot loader. Since I am currently running SlimKat, it would make more sense to just download RomAur and flash it and DoomKernel via CWM and not worry about TA restore (since I lose it when unlocking).
Juzman said:
Yep, from what I was reading, I have to flash the same version of the stock that I backed up TA with, then restore TA (which will re-lock bootloader), then I can flash the LB version of RomAur.
However if I want to use DoomKernel, I will need an unlocked boot loader. Since I am currently running SlimKat, it would make more sense to just download RomAur and flash it and DoomKernel via CWM and not worry about TA restore (since I lose it when unlocking).
Click to expand...
Click to collapse
Yes, but you said you wanted a stock rom, and RomAur is not stock (It is stock based, but it is not stock)
If you want RomAur just flash it.
gregbradley said:
Yes, but you said you wanted a stock rom, and RomAur is not stock (It is stock based, but it is not stock)
If you want RomAur just flash it.
Click to expand...
Click to collapse
Yeah sorry. RomAur (stock based). Just flash it. Simple. If I want TA/BIONZ though, will need to go completely stock + locked BL.
Juzman said:
Yeah sorry. RomAur (stock based). Just flash it. Simple. If I want TA/BIONZ though, will need to go completely stock + locked BL.
Click to expand...
Click to collapse
No, just restore your TA, ensure you have a stock kernel. You can still flash stock based custom roms on a locked bootloader.
I have a xperia z1 (C6903) and i would like to flash the stock kitkat firmware from Sony into my device since there are a few bugs when i installed xposed framework. And i haven't unlocked my bootloader. So will there be any problem if i flash the stock firmware? Will my TA keys be affected by this?
binoyw said:
I have a xperia z1 (C6903) and i would like to flash the stock kitkat firmware from Sony into my device since there are a few bugs when i installed xposed framework. And i haven't unlocked my bootloader. So will there be any problem if i flash the stock firmware? Will my TA keys be affected by this?
Click to expand...
Click to collapse
it's always a good idea to keep a backup of the ta partition table...
there should not be a problem. you will lose your data when you use the flashtool to do that...
suhridkhan said:
it's always a good idea to keep a backup of the ta partition table...
there should not be a problem. you will lose your data when you use the flashtool to do that...
Click to expand...
Click to collapse
That is incorrect
You will not lose TA partition by flashing a stock FTF. You can keep all your data if you tick to exclude data on flashtool.
However, if your problems are stemming from using Xposed the best bet is to just uninstall it. There is no need to reflash a rom.
Hi,
I hope somebody is willing to help me; I couldn't find a guide covering exactly the same problem. Actually, I'm "just" looking for the right order of steps I should perform in order to restore the factory state of my Z3C. I'm currently running Cyanogen Mod 12.1 with unlocked bootloader (obviously). I would like to return to being able to use the DRM Camera functions. Afterwards I'd probably like to try another ROOTED stock-based firmware. (Thus the DRM functions should still be available again, right?)
Current setup: CM 12.1 + bootloader Unlocked + TA Backup has been performed
Aim: flash stock firmware + restore DRM functions + install (pre-rooted) stock-based firmware
What I don't understand: If I re-flash stock firmware the phone won't be rooted anymore, Custom Recovery is going to be lost, right? Is it right to T H E N restore the TA backup? (As the bootloader will be automatically relocked?) Or do I need to perform additional steps or the above mentioned in another order?!?!?
And: Can I then simply flash a stock-based ROM without losing the DRM functions again?
Thanks in advance!
artie_ficial said:
Hi,
I hope somebody is willing to help me; I couldn't find a guide covering exactly the same problem. Actually, I'm "just" looking for the right order of steps I should perform in order to restore the factory state of my Z3C. I'm currently running Cyanogen Mod 12.1 with unlocked bootloader (obviously). I would like to return to being able to use the DRM Camera functions. Afterwards I'd probably like to try another ROOTED stock-based firmware. (Thus the DRM functions should still be available again, right?)
Current setup: CM 12.1 + bootloader Unlocked + TA Backup has been performed
Aim: flash stock firmware + restore DRM functions + install (pre-rooted) stock-based firmware
What I don't understand: If I re-flash stock firmware the phone won't be rooted anymore, Custom Recovery is going to be lost, right? Is it right to T H E N restore the TA backup? (As the bootloader will be automatically relocked?) Or do I need to perform additional steps or the above mentioned in another order?!?!?
And: Can I then simply flash a stock-based ROM without losing the DRM functions again?
Thanks in advance!
Click to expand...
Click to collapse
You simply can not restore back to factory state of your phone unless you have backed up your DRM keys. I'm thinking that you haven't so...
Anyways, you can use a pre-rooted stock ROM and you will have stock state of the Z3C and also root. To do this, you simply download any of the many alternatives in xda. I, myself, recommend you to use Wajk's SlimROM. It has good features, good debloat and awesome battery life. You'll be on stock ROM and have root but you won't be able to use DRM functions. If you want the DRM functions so badly there's a way to spoof it. You can visit here: http://forum.xda-developers.com/z3-...ocked-update-conceptmm-root-recovery-t3291722 and follow the instructions. It will give you the concept version of Marshmallow, root and DRM functions!
The thing is you have lost your DRM functions by unlocking your bootloader. So flashing any other Stock ROM will not bring it back as it has something to do with the system of the phone. If you are OK with a Stock ROM without DRM functions, there are plenty Stock Pre-Rooted Firmwares on xda. You can download one, do a factory reset, and wipe dalvik/cache, then flash the Stock ROM.zip through your recovery. Have the best of luck!
EDIT: I don't know about the TA backup as I have never used it :/
Solution
marshalpear said:
You simply can not restore back to factory state of your phone unless you have backed up your DRM keys. I'm thinking that you haven't so...
Anyways, you can use a pre-rooted stock ROM and you will have stock state of the Z3C and also root. To do this, you simply download any of the many alternatives in xda. I, myself, recommend you to use Wajk's SlimROM. It has good features, good debloat and awesome battery life. You'll be on stock ROM and have root but you won't be able to use DRM functions. If you want the DRM functions so badly there's a way to spoof it. You can visit here: http://forum.xda-developers.com/z3-...ocked-update-conceptmm-root-recovery-t3291722 and follow the instructions. It will give you the concept version of Marshmallow, root and DRM functions!
The thing is you have lost your DRM functions by unlocking your bootloader. So flashing any other Stock ROM will not bring it back as it has something to do with the system of the phone. If you are OK with a Stock ROM without DRM functions, there are plenty Stock Pre-Rooted Firmwares on xda. You can download one, do a factory reset, and wipe dalvik/cache, then flash the Stock ROM.zip through your recovery. Have the best of luck!
EDIT: I don't know about the TA backup as I have never used it :/
Click to expand...
Click to collapse
Thanks for your effort! But you misunderstood me, I have a working backup of my "former" TA partition/DRM keys. All I was wondering about was WHEN exactly I should perform the restore process. But I found out anyway. For whoever should have the same question:
- revert back to the firmware you used when performing the ta/drm backup
- if necessary: root (as the ta-backup tool needs root permissions)
- restore drm key backup with the ta-backup tool
- do whatever ... I installed a pre-rooted stock based fw and it works with DRM keys and root/recovery
artie_ficial said:
Hi,
I hope somebody is willing to help me; I couldn't find a guide covering exactly the same problem. Actually, I'm "just" looking for the right order of steps I should perform in order to restore the factory state of my Z3C. I'm currently running Cyanogen Mod 12.1 with unlocked bootloader (obviously). I would like to return to being able to use the DRM Camera functions. Afterwards I'd probably like to try another ROOTED stock-based firmware. (Thus the DRM functions should still be available again, right?)
Current setup: CM 12.1 + bootloader Unlocked + TA Backup has been performed
Aim: flash stock firmware + restore DRM functions + install (pre-rooted) stock-based firmware
What I don't understand: If I re-flash stock firmware the phone won't be rooted anymore, Custom Recovery is going to be lost, right? Is it right to T H E N restore the TA backup? (As the bootloader will be automatically relocked?) Or do I need to perform additional steps or the above mentioned in another order?!?!?
And: Can I then simply flash a stock-based ROM without losing the DRM functions again?
Thanks in advance!
Click to expand...
Click to collapse
HI
Restoring TA backup Will NOT relock your Bootloader but it will simply restore the DRM keys that you backed up while unlocking Bootloader
So you will restore the DRM keys
flash stock Firmware
flash TWRP via fastboot and the you will be able to root with chainfire auto root flashable zip
or just download a prerooted stock firmware and flash it
Well, my problem is this: I have a perfect Z4, still with bootloader closed. I want have to root To use my control of PS3 with bluetooth and to have all the functions that it grants. But according to read the XReality is removed and the quality of the camera is lowered. How can I rotate while maintaining all that?
Ju4n_ said:
Well, my problem is this: I have a perfect Z4, still with bootloader closed. I want have to root To use my control of PS3 with bluetooth and to have all the functions that it grants. But according to read the XReality is removed and the quality of the camera is lowered. How can I rotate while maintaining all that?
Click to expand...
Click to collapse
Before unlocking bootloader, take back up of DRM Keys (TA Partition). For this you need to flash android 5.1 (firmware version 28.0.A.8.266) using flashtool and Iovyroot to back up DRM keys.
Guide: https://forum.xda-developers.com/xperia-z4/general/guide-safe-bootloader-unlock-restore-t3386915
After unlocking bootloader, you loose X-reality and some other functions, for that you need to patch DRM Fixed Kernel (guide available in the above link how to create patched kernel for any Android version). You can make or you can use any custom kernel availabel for your firmware. Automatically X-reality will be fixed. Once you flashed patched / custom kernel, root will not effect X-reality.
First read the guide or any other posts carefully for 2 or 3 times, keep back up of important data, then do the experiments, anything goes wrong, use flashtool and flash any version of stock (you must knowhow to flash firmware using Flashtool)
Even without bootloader unlocking, you can flash any firmware with flashtool.