[Q] How to root/Back up TA Since the Guide is mangled? - Sony Xperia Z Ultra

About what it says on the tin; Since the new users guide is currently mangled since the mods removed the questionable software links, I'm unsure how to root the thing (Not that I can right now, but I should get it sometime today if UPS will get it's **** together).
Also, two tangents but slightly related; I know we need to backup the TA partition to retain the installed DRM keys, but what exactly do those DRM keys do?
And, I noticed Omni ROM now includes a Build.prop update to their install that fixes the data issues; I've never updated a build before, so just to clairify, all I do is replace the Build.prop in that folder in the .ZIP file, right?

- Root tool
- General rooting guide (ignore the vRoot part and use the first link in this post)
- TA tool with guide
DRM keys are used for X-Reality and TrackID etc. so if you unlock your bootloader, you'll lose the DRM keys and you can't get them back. That's why you should back it up in case you want to unlock the bootloader.

Perfect, thanks.

LordManhattan said:
- Root tool
- General rooting guide (ignore the vRoot part and use the first link in this post)
- TA tool with guide
DRM keys are used for X-Reality and TrackID etc. so if you unlock your bootloader, you'll lose the DRM keys and you can't get them back. That's why you should back it up in case you want to unlock the bootloader.
Click to expand...
Click to collapse
good post
it's funny tho, i never can tell any difference when my bootloader is unlocked. TrackID seems to work still(?, will have to try again sometime to confirm but i could swear i tried it), and i can still enable X-Reality(tho i have never known or seen what it brings, even when i was bone stock haha)

lmemma16 said:
good post
it's funny tho, i never can tell any difference when my bootloader is unlocked. TrackID seems to work still(?, will have to try again sometime to confirm but i could swear i tried it), and i can still enable X-Reality(tho i have never known or seen what it brings, even when i was bone stock haha)
Click to expand...
Click to collapse
You can enable it when unlocked but it wont really work

lmemma16 said:
good post
it's funny tho, i never can tell any difference when my bootloader is unlocked. TrackID seems to work still(?, will have to try again sometime to confirm but i could swear i tried it), and i can still enable X-Reality(tho i have never known or seen what it brings, even when i was bone stock haha)
Click to expand...
Click to collapse
Yeah, Gracenote (the service that fetches info about your movies/music) should also stop working after unlocking the bootloader, but i'm still using it.

LordManhattan said:
Yeah, Gracenote (the service that fetches info about your movies/music) should also stop working after unlocking the bootloader, but i'm still using it.
Click to expand...
Click to collapse
i might just stop relocking, and save myself the factory reset whenever i unlock! unless i want to install an OTA update i guess..
---------- Post added at 09:20 PM ---------- Previous post was at 09:17 PM ----------
shaolin95 said:
You can enable it when unlocked but it wont really work
Click to expand...
Click to collapse
i don't think i can even tell the difference, maybe i need to look closer lol.

Related

[Q] Questions - Bootloader / Root

Hi everyone, sorry if this is the wrong spot to ask.
I have pre ordered a Z2 and since I am new to android and have always been an avid jailbreaker, would like to root my Z2 and eventually play around with custom ROMS.
DooMLoRD announced today that Touch Recovery is working on the Z2 so it can now be unlocked and rooted. I have a few Q's specific to this process.
1. Correct me if I'm wrong but at the moment there is no way to root the Z2 WITHOUT first unlocking it?
2. You need root to do a TA backup, so the current process of unlocking then rooting will result in lost DRM keys?
3. I read that unlocking wipes all data. Does that mean that the Z2 is then unbootable until you have flashed a ROM. Or is the stock ROM still actually in place and bootable, just without any user data?
4. What specific features are lost when you don't have DRM keys? I read something about losing functionality in the photo album and walkman apps, and bravia engine (but that may have related to unlocking the Z!).
1. You are correct.
2. Correct again.
3. The stock ROM will be in place and the phone will be usable, but all user data will be wiped.
4. I have the same question for the Z2. I haven't seen the answer anywhere, but I think @DooMLoRD and @yeeson should know...
Unlock will be lost TA!
yeeson said:
Unlock will be lost TA!
Click to expand...
Click to collapse
Do you know what features you lose when you lose TA with the Z2?
JMonkeYJ said:
Do you know what features you lose when you lose TA with the Z2?
Click to expand...
Click to collapse
All the normal functions
yeeson said:
All the normal functions
Click to expand...
Click to collapse
When you say this, what exactly do you mean? Since a phone has a lot of functions. Calls still work I presume, as well as wifi and mobile data. Camera, audio, play store and google apps etc...?
I thought it was just a few Sony specific functions that stop working, like Sony's OTA updates.
It seems blog sites all over the net are reporting this method of rooting as an easy user-ready option. In their rush to get hits, they are completely neglecting to mention the fact that at the moment this is a one-way process, and that there are some very specific downsides to rushing into rooting the Z2 at the moment.
I hope people are doing their reading first
cronugs said:
When you say this, what exactly do you mean? Since a phone has a lot of functions. Calls still work I presume, as well as wifi and mobile data. Camera, audio, play store and google apps etc...?
I thought it was just a few Sony specific functions that stop working, like Sony's OTA updates.
It seems blog sites all over the net are reporting this method of rooting as an easy user-ready option. In their rush to get hits, they are completely neglecting to mention the fact that at the moment this is a one-way process, and that there are some very specific downsides to rushing into rooting the Z2 at the moment.
I hope people are doing their reading first
Click to expand...
Click to collapse
Unlock all normal !
There is no bug!
Can back to lock, and then to OTA!
yeeson said:
Unlock all normal !
There is no bug!
Can back to lock, and then to OTA!
Click to expand...
Click to collapse
But you only can relock the bootloader only if the Z2 gets a proper root with locked bootloader in order to perform a backup of the TA partition. Once you unlocked it without backup, DRM keys will be lost forever and you'll lose your warranty and you won't ever be able to relock it again. No you can't use the TA backup from another phone. It would hard-brick your phone. I hope that helps!
Sent from my D5503 using Tapatalk
jjpro45 said:
But you only can relock the bootloader only if the Z2 gets a proper root with locked bootloader in order to perform a backup of the TA partition. Once you unlocked it without backup, DRM keys will be lost forever and you'll lose your warranty and you won't ever be able to relock it again. No you can't use the TA backup from another phone. It would hard-brick your phone. I hope that helps
Click to expand...
Click to collapse
That's exactly what I thought. Is a proper root for the Z2 likely?
cronugs said:
When you say this, what exactly do you mean? Since a phone has a lot of functions. Calls still work I presume, as well as wifi and mobile data. Camera, audio, play store and google apps etc...?
I thought it was just a few Sony specific functions that stop working, like Sony's OTA updates.
It seems blog sites all over the net are reporting this method of rooting as an easy user-ready option. In their rush to get hits, they are completely neglecting to mention the fact that at the moment this is a one-way process, and that there are some very specific downsides to rushing into rooting the Z2 at the moment.
I hope people are doing their reading first
Click to expand...
Click to collapse
You MIGHT lose X Reality. DooMLoRD has tweeted a few days ago that all devices with 4.4 that unlock their bootloader will not lose it anymore, but, not that I don't believe him, but I will only be 100 about that seeing many confirmations.
Also, I think you might lose the possibility to use Music and Video Unlimited. Haven't heard anything about PS Mobile, but I think it is included. Can't remember anything else...

Bricked? Help!

HI - just got my ZU and I wanted to test the GPe ported version and now things won't come on. First I rooted it and it was working fine. Installed superSU. Then I went to utilities and booted into CWM. From there flashed the GPe rom. Then it came on a dialogue saying that root might be lost and ask if I want to fix - clicked yes => brick! I saw two instructions one for hard and the other for soft. Is this bricked? any thoughts? Thanks!
Also - I have a C6833
qdochemistry said:
HI - just got my ZU and I wanted to test the GPe ported version and now things won't come on. First I rooted it and it was working fine. Installed superSU. Then I went to utilities and booted into CWM. From there flashed the GPe rom. Then it came on a dialogue saying that root might be lost and ask if I want to fix - clicked yes => brick! I saw two instructions one for hard and the other for soft. Is this bricked? any thoughts? Thanks!
Also - I have a C6833
Click to expand...
Click to collapse
Did you unlock the bootloader? I think that needs to be done before flashing, also you would want to backup the TA partition prior to unlocking the bootloader.
qdochemistry said:
HI - just got my ZU and I wanted to test the GPe ported version and now things won't come on. First I rooted it and it was working fine. Installed superSU. Then I went to utilities and booted into CWM. From there flashed the GPe rom. Then it came on a dialogue saying that root might be lost and ask if I want to fix - clicked yes => brick! I saw two instructions one for hard and the other for soft. Is this bricked? any thoughts? Thanks!
Also - I have a C6833
Click to expand...
Click to collapse
I think I was in the same situation. If you can hold volume up/down on the phone and plug in a usb cable plugged into your pc and see a light come on you may be in luck. If so follow this guide http://forum.xda-developers.com/showthread.php?t=2428319
You need to get the a .ftf file for your phone and go into flashboot mode and install it using the guide in post 2 I believe.
Yes, sounds like you haven't unlocked the boot loader.
Do you know what the # of the software was before the flash?
Once you have it booting again do a TA backup, then unlock the boot loader. This will save your DRM keys
pogfanatic said:
I think I was in the same situation. If you can hold volume up/down on the phone and plug in a usb cable plugged into your pc and see a light come on you may be in luck. If so follow this guide http://forum.xda-developers.com/showthread.php?t=2428319
You need to get the a .ftf file for your phone and go into flashboot mode and install it using the guide in post 2 I believe.
Click to expand...
Click to collapse
I don't think its entirely bricked as vibration still comes on when i hold down the power button - when holding down the power+vol down vibration also comes on but doesn't do anything. Also, when connected to charger the notification lights was also blinking. Will test this once I get home. Thanks!!!
blueether said:
Yes, sounds like you haven't unlocked the boot loader.
Do you know what the # of the software was before the flash?
Once you have it booting again do a TA backup, then unlock the boot loader. This will save your DRM keys
Click to expand...
Click to collapse
The software number ends in 108 and I just updated it to 4.4.4 and yes, I'm totally guilty of this and have not unlocked the bootloader. I looked around the forum and remember seeing a post saying if in the back it say "Xperia" then your device has unlocked bootloader and flash away - I flashed away and it sounded like a good idea in my mind at the time :-/
Question: I bought mine from Amazon as an international version with no US warranty - Other than Bravia engine would DRM do anything else? Don't shoot me for this but I tested Bravia ported on another device before and honestly couldn't tell the difference. Thanks!
qdochemistry said:
The software number ends in 108 and I just updated it to 4.4.4 and yes, I'm totally guilty of this and have not unlocked the bootloader. I looked around the forum and remember seeing a post saying if in the back it say "Xperia" then your device has unlocked bootloader and flash away - I flashed away and it sounded like a good idea in my mind at the time :-/
Question: I bought mine from Amazon as an international version with no US warranty - Other than Bravia engine would DRM do anything else? Don't shoot me for this but I tested Bravia ported on another device before and honestly couldn't tell the difference. Thanks!
Click to expand...
Click to collapse
I can only speak from experience regarding the GPe model, which ended up having broken camera when updated beyond 4.4.2 with bootloader unlocked. Regardless it is cheap insurance since as far as I know there is not anyway to get it back after unlocking.
qdochemistry said:
The software number ends in 108 and I just updated it to 4.4.4 and yes, I'm totally guilty of this and have not unlocked the bootloader. I looked around the forum and remember seeing a post saying if in the back it say "Xperia" then your device has unlocked bootloader and flash away - I flashed away and it sounded like a good idea in my mind at the time :-/
Question: I bought mine from Amazon as an international version with no US warranty - Other than Bravia engine would DRM do anything else? Don't shoot me for this but I tested Bravia ported on another device before and honestly couldn't tell the difference. Thanks!
Click to expand...
Click to collapse
as said... I would back it up just in case Sony break something with an unlocked BL like has happened on both the Z1 and the ZU GPe with the camera
To put your mind at ease - no it's not bricked, that the BL wont load an unsigned kernel.
pogfanatic said:
I think I was in the same situation. If you can hold volume up/down on the phone and plug in a usb cable plugged into your pc and see a light come on you may be in luck. If so follow this guide http://forum.xda-developers.com/showthread.php?t=2428319
You need to get the a .ftf file for your phone and go into flashboot mode and install it using the guide in post 2 I believe.
Click to expand...
Click to collapse
Can you point me to a link? I downloaded the file in the thread but it is ftd. The flashtool would not recognnize this and it doesn't show up with my device. I read through 11 pages of the post but couldnt find anything on there or any link to a ftf to drop in the firmware folder. Of note, Flashtool doesn't work correctly on Win 8.1 (I found out the hard way and Win7 works fine).
qdochemistry said:
Can you point me to a link? I downloaded the file in the thread but it is ftd. The flashtool would not recognnize this and it doesn't show up with my device. I read through 11 pages of the post but couldnt find anything on there or any link to a ftf to drop in the firmware folder. Of note, Flashtool doesn't work correctly on Win 8.1 (I found out the hard way and Win7 works fine).
Click to expand...
Click to collapse
Widows 8.1 is stoopid! You may find the file you need here.
http://forum.xda-developers.com/xpe...tf-depository-sony-firmware-releases-t2829387
Always remember: bevore unlocking BACKUP TA PARTITION!
Never do this whithout :good:
Softbricked, huh ^^? Easy method below .
In PC Compendium (PC Compendium must know your device)
-go to the first one in the list and open it
-top left one, Klick on that
-my device dont works as it should (blue text) - click
-follow instructions
alternative - Sony Update Service (support ended last month, try to download somewhere else):
-Select your Device
-Connect it whith pressing Vol. down
-Sleep for about 25 minutes
Update Service german version found: http://www.chip.de/downloads/Sony-Mobile-Update-Service_44169249.html
If this doesn`t work because it says that this is not a supported device you have to flash a ftf via flashtool
Sorry i dont have a PC in my near ^^ because of PC Compendium
Hopefully the above works since that looks easy.
The post with the FTF files is the same thread I used to get the FTF file for mt device(6806 I believe).
As for Windows 8/8.1 you need to go into the start up settings by going into the Run tool wither by pressing the Windows key +R and typing in Windows key + R, type in "shutdown.exe /r /o /f /t 00" without the quotes and there should be a start up setting option you can choose. After you select that the PC should reboot and you will see and option to be able to use unsigned driver(I think it's option 7) and then after selecting that you can install all the needed drivers from the flash tool.
After that fun download the FTF file for you device if you haven't already and fire up the flashtool and plug in your device to the PC holding the Volume down button to put the phone in flash mode.
Once you do that hit the lightning looking button in the flashtool and select flash mode.
In the prompt thing that pops up direct the source folder to where the ftf file is or put it in the location it shows. You should see your device in the device list once it sees the firmware. Select the firmware and make sure all the "Wipe" options are selected and hit that flash button.
Hopefully I didn't skip anything. I mainly wrote the above from what I remember and anyone can feel free to jump in and correct me or call me stupid if needed.:highfive:
Yep all the above looks correct, there is a flashtool guide / video in either of the FTF download threads
adfurgerson said:
Widows 8.1 is stoopid! You may find the file you need here.
http://forum.xda-developers.com/xpe...tf-depository-sony-firmware-releases-t2829387
Click to expand...
Click to collapse
Thanks - I found the file in depository and was able to restore it. I'm probably returning this for a gpe instead. Thanks everyone for the help!!
I jz saw a post from someone that gpe is available at expansys - ordered! Hopefully, I can return this device without hassle.
qdochemistry said:
Thanks - I found the file in depository and was able to restore it. I'm probably returning this for a gpe instead. Thanks everyone for the help!!
Click to expand...
Click to collapse
I would give it another shot with bootloader unlocked first if it were my phone. The Sony version has more development at this point,but the GPe shold be seeing some more love here in the near future. Whatever you decide I am glad you were able to get it sorted out.
qdochemistry said:
Thanks - I found the file in depository and was able to restore it. I'm probably returning this for a gpe instead. Thanks everyone for the help!!
Click to expand...
Click to collapse
If you ever want to flash a custom ROM to the GPe you have to follow the same method as for the ZU
adfurgerson said:
I would give it another shot with bootloader unlocked first if it were my phone.
Click to expand...
Click to collapse
Says the man that gave up on the GPe and brought a Sont ZU
The Sony version has more development at this point,but the GPe shold be seeing some more love here in the near future. Whatever you decide I am glad you were able to get it sorted out.
Click to expand...
Click to collapse
It's satrting to get there now, slowly. Should be another two ROMs up very shortly from what I hear
blueether said:
If you ever want to flash a custom ROM to the GPe you have to follow the same method as for the ZU
Says the man that gave up on the GPe and brought a Sont ZU It's satrting to get there now, slowly. Should be another two ROMs up very shortly from what I hear
Click to expand...
Click to collapse
Im my own defense, I didn't give up after only one try. Plus now that towelroot is out the GPe can be rooted before unlocking bootloader, which may have swayed me to keep GPe had I known it would be released.
Update: my GPe came home and after playing with it for two days I totally love it!!! I noticed that battery life is not as good comparing to stamina mode. I noticed while using ZU is the "smart sync" feature when things are synced when you unlock it as opposed to constantly syncing. I looked around in market but didn't see anything like that. All these battery apps just tell you to lower screen brightness setting, shut off WiFi/data, etc .. All of which you can do yourself without the app (which defeats the purpose cause now you have another background app eating up battery). Any battery apps you guys recommend for gpe??
it's fairly hard to completely brick these devices, the secret is to not to panic and make things worse, and to take your time when considering how to recover!
If you get XperiFirm you can get the FTF for any Xperia variant, I used it last night to get the latest firmware for my C6802
http://www.xperiablog.net/2014/08/02/xperifirm-is-a-firmware-downloader-tool-for-xperia-devices/
---------- Post added at 08:24 PM ---------- Previous post was at 08:21 PM ----------
p.s. I destroyed my TA partition the first day I got my XZU, so I don't know what I'm missing. Yes, I unlocked my bootloader without doing enough research, I didn't realise you couldn't simply generate some new DRM keys, that once gone gone forever :-/

[Q] How to Root 23.0.1.A.4.30 Z2 Tablet

I have looked everywhere but it is not possible to root the 23.0.1.A.4.30 firmware with it's kernel.. I need root to backup the DRM keys before unlocking the bootloader. I want to install Cyanogenmod on it like my other devices have. The tablet is now 100% stock: no root, no custom recovery or anything.
I know I can downgrade to a lower firmware version (which I don't want to do), but does that require an unlocked bootloader??
Any suggestions? What my main question is: Is it possible to root that firmware? And would the lollipop firmware, which comes in a couple of days, make it easier to root (thanks to an exploit or something..)??
Is this true? I'll assume if so that root for 23.0.1.A.4.44 is also not possible?
nike007 said:
I have looked everywhere but it is not possible to root the 23.0.1.A.4.30 firmware with it's kernel.. I need root to backup the DRM keys before unlocking the bootloader. I want to install Cyanogenmod on it like my other devices have. The tablet is now 100% stock: no root, no custom recovery or anything.
I know I can downgrade to a lower firmware version (which I don't want to do), but does that require an unlocked bootloader??
Any suggestions? What my main question is: Is it possible to root that firmware? And would the lollipop firmware, which comes in a couple of days, make it easier to root (thanks to an exploit or something..)??
Click to expand...
Click to collapse
DroidinAndStuff said:
Is this true? I'll assume if so that root for 23.0.1.A.4.44 is also not possible?
Click to expand...
Click to collapse
Sadly it is.. I also asked on the Cyanogen Forum but they say, well just unlock the boot loader and blabla.
But I want to backup the DRM keys for a fully functional tablet.. I guess your firmware is Lollipop?
No, mine is Kitkat 4.4.4 although this week it forced an OTA update which I've been able to defer installing. If I can't root it, I'll get rid of it. What do you lose by unlocking the bootloader without the DRM keys?
Are DRM keys not one size fits all OR unique to each and every tablet making unlocking the bootloader without having them backed up a certain loss of sorts?
nike007 said:
Sadly it is.. I also asked on the Cyanogen Forum but they say, well just unlock the boot loader and blabla.
But I want to backup the DRM keys for a fully functional tablet.. I guess your firmware is Lollipop?
Click to expand...
Click to collapse
How about this?
http://forum.xda-developers.com/showthread.php?t=2792056
---------- Post added at 11:02 AM ---------- Previous post was at 10:52 AM ----------
here is a post on restoring three functions lost by losing the DRM keys
http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
DroidinAndStuff said:
No, mine is Kitkat 4.4.4 although this week it forced an OTA update which I've been able to defer installing. If I can't root it, I'll get rid of it. What do you lose by unlocking the bootloader without the DRM keys?
Are DRM keys not one size fits all OR unique to each and every tablet making unlocking the bootloader without having them backed up a certain loss of sorts?
How about this?
http://forum.xda-developers.com/showthread.php?t=2792056
---------- Post added at 11:02 AM ---------- Previous post was at 10:52 AM ----------
here is a post on restoring three functions lost by losing the DRM keys
http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
Click to expand...
Click to collapse
No, because that post just mentions older firmwares and the rooting problem is for my newer firmware version..
The DRM are specific / special for each tablet. It is not one fits all, I believe that restoring somebody else's keys bricks your tablet/phone, because it is unique.
DRM keys contain some really nice features of Sony devices like the low light camera performance, the X reality screen improvement function and some stuff more (google and you will find it). But you lose the DRM keys when you unlock your boot loader and can't get them back. And I want that in order to install Cyanogenmod.

Root and DRM keys on Marshmallow?

Dear community,
I've recently got a Z5 compact (updated it to MM already) and after reading around here and around the Z5 forums I came to a cruel conclusion (didn't do my homework before getting the phone, but that's my problem):
You cannot root without unlocking the bootloader and you cannot backup the DRM keys without having root access.
Is this correct? If so, how did people writing the tutorials about DRM keys backup achieve root access in the first place?
I'm a little bit confused here...
Sent from my Nexus 5 using Tapatalk
daniel_loft said:
Dear community,
I've recently got a Z5 compact (updated it to MM already) and after reading around here and around the Z5 forums I came to a cruel conclusion (didn't do my homework before getting the phone, but that's my problem):
You cannot root without unlocking the bootloader and you cannot backup the DRM keys without having root access.
Is this correct? If so, how did people writing the tutorials about DRM keys backup achieve root access in the first place?
I'm a little bit confused here...
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
currently,for the z5 family,there is no way to root without unlocking bootloader.Period.
the tutorials you see on the z5 pages are ways to restore sony credentials after unlocking bootloader but does not restore TA partition (where the DRM keys are) which is lost once you unlock bootloader. i.e you trick the phone into believing the bootloader is unlocked and can still enjoy the sony goodies with the patch (very simplified explanation here).
older models are able to achieve root (like the Z3+) only recently due to exploit found on MM and also using older firmwares.
you might want to hold back on unlocking bootloader for now.the z5 has impressive hardware rivaling samdung.the sad part is backing up TA partition while bootloader is locked,which has not been found.
that or you can hold out till the new nexus arrives.
Frostmore is correct in that you cannot backup DRM currently. But I disagree that you should hold off on doing so, the z5c lacks in most all places and root helps fix some stuff.
Does the loss of DRM keys affect camera performance?
DrYnternet said:
Does the loss of DRM keys affect camera performance?
Click to expand...
Click to collapse
yes it does, Mobile Bravia Engine is gone, Track ID in music player is gone and camera performance is also gone.
but now you can backup and restore your own TA if you have not unlocked bootloader yet
I thought that It is possible to backup TA partition with iovyroot here. It is working on Lollipop. So if you upgraded to Mashmallow, you need to downgrade with flashtool here which does not unlock the bootloader. After downgrade It is possible to backup DRM keys I think isn't it?
Yes downgrade then unlock boot loader then root then relock with DRM keys.
Sent from my E6633 using XDA-Developers mobile app
---------- Post added at 12:27 PM ---------- Previous post was at 12:27 PM ----------
It will say boot loader status relocked in service menu
Sent from my E6633 using XDA-Developers mobile app
I am completely baffled. I managed to restore ALL my original DRM keys!
I lost them while unlocking the bootloader, and then rooted my device. I also didnt do my homework and didn't realise I would lose all the DRM keys. When I factory resetted my device, using companion, I got my phone working on android 7.0 again, but ofcourse the drm keys were gone. Filming was almost impossible and fingerprint was not working etc.
And for whatever reason, guess I was bored, I unlocked the bootloader again, since it wouldn't matter anyway. So I unlocked the bootloader with oem unlock and the sony developer site, and then the device started rebooting. It looked like a bootloop, it took about 5 minutes, everything on my phone was gone (damnit). But when I tried fingerpringt, camera, everything worked like before! I have no idea how this happened but maybe this'll work for anyone here. aswell! From now on I'm not gonna touch ANYTHING anymore, since I just don't have enough developer knowledge.
btw: I made an account on this site especially to share this information with you :highfive:
Weslietje said:
I am completely baffled. I managed to restore ALL my original DRM keys!
I lost them while unlocking the bootloader, and then rooted my device. I also didnt do my homework and didn't realise I would lose all the DRM keys. When I factory resetted my device, using companion, I got my phone working on android 7.0 again, but ofcourse the drm keys were gone. Filming was almost impossible and fingerprint was not working etc.
And for whatever reason, guess I was bored, I unlocked the bootloader again, since it wouldn't matter anyway. So I unlocked the bootloader with oem unlock and the sony developer site, and then the device started rebooting. It looked like a bootloop, it took about 5 minutes, everything on my phone was gone (damnit). But when I tried fingerpringt, camera, everything worked like before! I have no idea how this happened but maybe this'll work for anyone here. aswell! From now on I'm not gonna touch ANYTHING anymore, since I just don't have enough developer knowledge.
btw: I made an account on this site especially to share this information with you :highfive:
Click to expand...
Click to collapse
Welcome to XDA, and thanks for going through the trouble of creating an account to share information.
However, some of the information you shared is either wrong or misinformed.
Also, this thread is quite old, digging up old threads is generally frowned upon.
First of all, if you never made a backup of your DRM keys before unlocking your bootloader, then those keys are gone. Forever. There's absolutely no possible way of restoring them.
Second, missing DRM keys do not cause the camera or fingerprint scanner to stop working. Only certain "enhancement features" are disabled, such as X-Reality that makes images appear sharper and more vivid when viewing photos/videos, or advanced low light noise reduction when taking pictures.
Many of those DRM-reliant features can be re-enabled by applying a DRM fix patch that can be found on the XDA forums.
The fingerprint scanner is disabled for certain region's firmware by Sony via software means, but it is not dependent on DRM.
You probably messed up somewhere flashing or rooting your firmware, causing functions like the camera and fingerprint scanner to not work. Do a factory reset or clean flash in case this happens.
And finally, it is clearly worded on the web page where you go to unlock the bootloader that your phone will automatically perform a factory reset upon unlocking the bootloader, so you shouldn't be surprised that all your data was erased. It's expected behavior.
You should always backup your data before fiddling with your phone, it's good practice and common sense.
So in conclusion, no, there's no way of restoring the DRM keys without a prior backup. You didn't manage to restore it.
Here's how to verify if your DRM keys are present:
In the dialer, input *#*#7378423#*#* to enter the service menu
Service tests > Security
If your keys are intact, the first three lines should all say [Key OK][Active], and at the bottom FIDO_KEYS : Provisioned
You probably fixed your camera and fingerprint issues by performing a factory reset unknowingly, which is done automatically when you unlock the bootloader as mentioned.
mhaha said:
***
Click to expand...
Click to collapse
Wow, I guess I'll just stick to reading this forum and finding solutions for my problems instead of trying to give advice. That'll look like a homeless guy, giving financial advise. Thanks for the large explanation anyway!:good:

Stock D6503 on 4.4.4 (Build# 23.0.1.A.0.167), want to upgrade soon, maybe root later

Hi All,
I've been using 4.4.4 (Build# 23.0.1.A.0.167) for a while... I've stuck with it for longer than I should have, it's just... I liked the amazing battery life and stability and didn't want to lose that after reading so many bugs with upgrades....
Any how, I was considering, finally, making the jump to the latest via Over The Air from Sony... however, is there anything I should know before taking the leap? Considering I may want to root... should I consider rooting it before the upgrade? Or will it not affect anything and I can upgrade... then root later(or again, does the upgrade prevent/make it harder to root)?
I'm stock right now, but I would like to root the phone eventually...just, I haven't had time to fool with it right now, and it's my only reliable phone that I use daily. Anything I should be aware of that the upgrade/update may impact the root?
Thanks in Advance.
If it's the Marshmallow update, I don't think there is an easy way to root after unless things have changed since I last looked. At least not without unlocking your bootloader. I recommend doing the links below to get a rooted Marshmallow without unlocking your bootloader. Unlocking the bootloader will wipe you're TA partition and effect camera performance and some viewing modes
If you root you want to backup your "DRM Keys" as a precaution. Though if you lose your DRM there is a fix on here to recover lost functions after losing keys.
Anyways I recommend using "flashtool" to flash a Lollipop firmware. Then use the 2 guides I've linked below to flash Marshmallow to your phone with root.
This code will root Lollipop with a locked bootloader.
http://forum.xda-developers.com/showthread.php?t=3108230
This guide will install a pre-rooted Marshmallow ROM fully stock still with a locked bootloader.
http://forum.xda-developers.com/showthread.php?t=3355768
Sent from my D6503 using XDA-Developers mobile app
---------- Post added at 11:34 PM ---------- Previous post was at 11:28 PM ----------
A guide to backup your TA partition and DRM Keys.
http://forum.xda-developers.com/showthread.php?t=2292598
Sent from my D6503 using XDA-Developers mobile app
RuffBuster said:
Unlocking the bootloader will wipe you're TA partition and effect camera performance and some viewing modes.
Click to expand...
Click to collapse
I have a question which relates to what you mentioned.
Unfortunately a while back I unlocked my bootloader not knowing I'd get a negative effect on camera performance as well as viewing modes.
Anyway, I recently relocked the bootloader, did a factory reset, full wipe, dalvic/cache, etc...
I done a clean install of Marshmallow .570 firmware, stock.
I have the feeling that having previously unlocking the bootloader is still affecting me.
In the display setting, when selecting X reality or Super Vivid, it does not make any visible changes!
I double checked my bootloader status and it is locked. Is there any other way I can get back the same camera performance and Sony enhancements as before? If so, how?
Thank you so much if you are able to help.
MM570+Assertive Display+greenify
SOT 6hrs same like 4.4
and faster windows animation
kanej2006 said:
I have a question which relates to what you mentioned.
Unfortunately a while back I unlocked my bootloader not knowing I'd get a negative effect on camera performance as well as viewing modes.
Anyway, I recently relocked the bootloader, did a factory reset, full wipe, dalvic/cache, etc...
I done a clean install of Marshmallow .570 firmware, stock.
I have the feeling that having previously unlocking the bootloader is still affecting me.
In the display setting, when selecting X reality or Super Vivid, it does not make any visible changes!
I double checked my bootloader status and it is locked. Is there any other way I can get back the same camera performance and Sony enhancements as before? If so, how?
Thank you so much if you are able to help.
Click to expand...
Click to collapse
Try http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
Sent from my D6503 using XDA-Developers mobile app
RuffBuster said:
Try http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
Sent from my D6503 using XDA-Developers mobile app
Click to expand...
Click to collapse
Thanks bro, I did come across that and it worked wonders! I was so worried I would never get back the quality I had before.
Now I'm finally able to use Sony image enhancements and not having to worry about camera performance and image noise!
The above fix worked 100%
Cheers.:good:
RuffBuster said:
If it's the Marshmallow update, I don't think there is an easy way to root after unless things have changed since I last looked. At least not without unlocking your bootloader. I recommend doing the links below to get a rooted Marshmallow without unlocking your bootloader. Unlocking the bootloader will wipe you're TA partition and effect camera performance and some viewing modes
If you root you want to backup your "DRM Keys" as a precaution. Though if you lose your DRM there is a fix on here to recover lost functions after losing keys.
Anyways I recommend using "flashtool" to flash a Lollipop firmware. Then use the 2 guides I've linked below to flash Marshmallow to your phone with root.
This code will root Lollipop with a locked bootloader.
http://forum.xda-developers.com/showthread.php?t=3108230
This guide will install a pre-rooted Marshmallow ROM fully stock still with a locked bootloader.
http://forum.xda-developers.com/showthread.php?t=3355768
Sent from my D6503 using XDA-Developers mobile app
---------- Post added at 11:34 PM ---------- Previous post was at 11:28 PM ----------
A guide to backup your TA partition and DRM Keys.
http://forum.xda-developers.com/showthread.php?t=2292598
Sent from my D6503 using XDA-Developers mobile app
Click to expand...
Click to collapse
Thanks for the tip. Didn't know that it was hard to root Marshmallow and up from what I get from your post. I'm on KitKat and I'm jumping up to lollipop, I'll be tearing through the guides you posted, appreciate it.
I don't have any music on my phone, but I'll probably do the DRM backup anyways, just as a precaution as you mentioned.
Cheers mate!
ssnova said:
Hi All,
I've been using 4.4.4 (Build# 23.0.1.A.0.167) for a while... I've stuck with it for longer than I should have, it's just... I liked the amazing battery life and stability and didn't want to lose that after reading so many bugs with upgrades....
Any how, I was considering, finally, making the jump to the latest via Over The Air from Sony... however, is there anything I should know before taking the leap? Considering I may want to root... should I consider rooting it before the upgrade? Or will it not affect anything and I can upgrade... then root later(or again, does the upgrade prevent/make it harder to root)?
I'm stock right now, but I would like to root the phone eventually...just, I haven't had time to fool with it right now, and it's my only reliable phone that I use daily. Anything I should be aware of that the upgrade/update may impact the root?
Thanks in Advance.
Click to expand...
Click to collapse
You can fully root your phone without any problem or losing your data and without using PC by this easy way:
1-Download KingRoot from this link: http://www.kingroot.net/wap/download
2- Install it on your phone.
3- Open it and wait until it check for the root installed or not, if it isn't installed then click on the Root icon in the middle and your phone will be fully rooted successfully.
Note: your phone maybe reboot normally during the rooting progress or after it, no problem in it ok
If there is any another question just tell me and i will answer you
What about the changing of kinguser to supersu afterwards as kinguser does not give the same root access permissions as supersu does. Also think it's only the latest version than kills Sony ric older ones will need ric killer. What about recovery? If using 5.1 use NUTS xzd recovery for z2, I'd also wipe the phone when Updating from KK to 5.1 or to mm to get the best results just use sonys back up app and Titanium Backup to save your app data.

Categories

Resources