Restore DRM keys and full camera quality when root - Xperia Z4/Z3+ Q&A, Help & Troubleshooting

Hello, and yeah, i have this not very clear, i want to root this old fam, but as far i know i cant have BOTH the drm keys and root, did i misundertood? Is there a way to have the two working a the same time? Also i have the lastes firmware from Sony

https://forum.xda-developers.com/xperia-z4/general/nougat-firmware-z3-e6553-6533-t3545481
yes! you can..
wake up brother, everything you need is in above link.

Gazer213 said:
Hello, and yeah, i have this not very clear, i want to root this old fam, but as far i know i cant have BOTH the drm keys and root, did i misundertood? Is there a way to have the two working a the same time? Also i have the lastes firmware from Sony
Click to expand...
Click to collapse
Check this link for all the necessary information you need: Link

Related

[Q] Bought used Z1. How to verify BIONZ works?

Hi guys,
I got a used Xperia Z1 that came rooted but with stock rom. That said, I have no way to know if the owner previously installed other stuff on it.
I mainly want to make sure that BIONZ (the camera engine) still works fine and enhances my images. I currently have .257 installed and the camera works fine. AFAIK the bootloader is locked - I manage to back up TA so that means it was there to be backed up.
Still, I'm not sure whether or not this BIONZ thing is working. I wanna be sure I'm getting the max quality out of my camera. Any idea how I can test it, toggle it?
If the bootloader unlock the camera simply won't work, ao if it do work you are fine.
Sent from my C6903 using Tapatalk
I will ask also here, because I will get my Z1 soon. If I unlock DRM keys are deleted, so Camera stops, I can put back the keys correct? But does the camera still doesn´t work under CM for excample?`(Even after Sony fixes the DRM problem, if ever..)
Qefx said:
I will ask also here, because I will get my Z1 soon. If I unlock DRM keys are deleted, so Camera stops, I can put back the keys correct? But does the camera still doesn´t work under CM for excample?`(Even after Sony fixes the DRM problem, if ever..)
Click to expand...
Click to collapse
hopefully sony will fix camera for unlocked bootloaders otherwise we are all stuck with sony stock rom for eternity...
or at least they whould realese some app that allows our camera to work even with unlocked bootloader..
Ok, than my guess was right, we are stucked with Sony rom, sad...
Edit: Forever, DRM reading software is not possible under CM (it would violate there license) only way would be an export import of the APPS and software needed? Anyone looked into that?

Q: Can I flash Rom with Bootloader unlocked but phone not rooted?

I saw that sony coorect the camera problem when you unlock the bootloader, so with bootloader unlocked can I flash recovery and then roms? In my previous cellphones (one X and htc inpsire 4g) I could do that, but I'm not sure here in sony.
I'm asking becouse I still on lastest official rom and I cant root it with downgrading.
Thanks all for the time
OK I see that I can do much everything but I'll loose my DRM Keys.
If I got it right, some sony software stop working, and warranty will lost forever... right?
but if you unlock the bootloader why wont you bother to root it?
Unlock. flash an insecure kernel and then SuperSU
Root is not an issue with warrenty its the bootloader so if you do that you may as well root
OK I see that I can do much everything but I'll loose my DRM Keys.
If I got it right, some sony software stop working, and warranty will lost forever... right?
deftoner said:
OK I see that I can do much everything but I'll loose my DRM Keys.
If I got it right, some sony software stop working, and warranty will lost forever... right?
Click to expand...
Click to collapse
1. Unlock Bootloader ..warranty void
2. Sony Application work well
3. Wat doesnt work...x reality ...(wat the use i dont know ) , music info,
Bionz am not sure ...Sony camera work well on 4.3 unlock on stock rom
thanks for the quick reply.
Now I just thinking about what if I lose my DRM keys. WHats is going to stop working (Besides my cellphone warranty)
thanks for the quick reply.
Now I just thinking about what if I lose my DRM keys. WHats is going to stop working (Besides my cellphone warranty)
skittishwind said:
1. Unlock Bootloader ..warranty void
2. Sony Application work well
3. Wat doesnt work...x reality ...(wat the use i dont know ) , music info,
Bionz am not sure ...Sony camera work well on 4.3 unlock on stock rom
Click to expand...
Click to collapse
THanks for the reply!
with x reality you mean the camera effects? (like the fish and that things?)
thanks for your time!
Personal choice am not fan of sony app........i just wish i could install cynogen....plain stock rom..with every function intact
btw Z1 Camera is all dependent on its extension and drm provider, drm dialog....if you root dont remove it ..yr camera will fail to start
deftoner said:
THanks for the reply!
with x reality you mean the camera effects? (like the fish and that things?)
thanks for your time!
Click to expand...
Click to collapse
I found it:
So, how does X-Reality work? According to Sony, the software breaks down the signal sent to the display into several components – texture, outline, contrast, and color. Each one is separately analyzed and processed, to ensure the clearest, sharpest, most attractive final image.
I'll miss x-reality?
deftoner said:
THanks for the reply!
with x reality you mean the camera effects? (like the fish and that things?)
thanks for your time!
Click to expand...
Click to collapse
You can find X reality through...Setting...Display..........it is suppose to enhance image but in reality it make no deference
Fish is Ar effect it will work pretty well even if u unlock
skittishwind said:
You can find X reality through...Setting...Display..........it is suppose to enhance image but in reality it make no deference
Fish is Ar effect it will work pretty well even if u unlock
Click to expand...
Click to collapse
THANKS!

Off. update/DRM keys

Hi all,
id like to put a question; since i have a Sony device for my first time, i didnt knew about camera quality decreasing and Sony services halting with bootloader unlocking. Im very up to taking photos, and camera quality is very important for me, X-Reality too. So, since i lost my DRM keys, when i flash official ftf file, then ill lock my bootloader, and then update my FW from KK to Lollipop by official way via Software Update - will it recover my DRM keys?
Carach_CZ said:
Hi all,
id like to put a question; since i have a Sony device for my first time, i didnt knew about camera quality decreasing and Sony services halting with bootloader unlocking. Im very up to taking photos, and camera quality is very important for me, X-Reality too. So, since i lost my DRM keys, when i flash official ftf file, then ill lock my bootloader, and then update my FW from KK to Lollipop by official way via Software Update - will it recover my DRM keys?
Click to expand...
Click to collapse
Sorry but once you lost the DRM keys (without backing them up) they are gone. Have you tried this "fix", it emulates a couple of functions that you lost, http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
---------- EDIT -------------
Actually I saw that you posted in that thread already yesterday saying that the patch worked - good for you!
charliebigpot said:
Sorry but once you lost the DRM keys (without backing them up) they are gone. Have you tried this "fix", it emulates a couple of functions that you lost, http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
---------- EDIT -------------
Actually I saw that you posted in that thread already yesterday saying that the patch worked - good for you!
Click to expand...
Click to collapse
is it possible to backup drm keys after i lost them? i managed to backup TA-backup-20150*****.zip several days ago (but im not sure if before/after unlocking bootloader.
EDIT: well i did saw some incerasing camera quality, but x-reality didint worked. im trying to solve my issue, but it will take a long trip. how Cyanogenmod camera holding up?
If you take a backup of nothing - you still have nothing when you restore it.
If you unlocked before backing up - that's it - nothing you do on your own is going to get the keys back. Only Sony can restore keys, and likely the only way they will do that is by replacing the mother board and charging you the parts and labor for it.
If that's not an option for you - then the DRM restore is currently the only other path to follow.

[Q] Unlocked BL, relocked BL - haven't lost DRM?

Hello everyone!
Some time ago I became bored of slow stock firmware and decided to install CM11, following my good experience with Sony LWW. I unlocked BL via fastboot on ubuntu (making no backups. I will learn someday...), then installed CM11 using CM's instructions for Xperia SP. I've got a working phone, it worked for two months, but was not as fast as I thought, and in addition to that it gave me frequent all-system ANRs with a reboot, when I browsed large pages in firefox. So i decided to go back to stock.
I downloaded a stock firmware called "C5303_12.1.A.1.205_РСТ" and flashed my phone using Flashboot. Rebooted and got a working phone. Then I relocked a bootloader, rebooted again, and again got a working phone. What's more interesting, all features which need DRM still work, i.e. Bravia, Walkman information downloading, TrackID (used to break after flashing back in time).
So I have some questions. Does that mean that I've got a fully stock phone with all features and DRM's somehow? Can I check that? Do I need to worry about DRM anyway?
airbus_sai said:
Hello everyone!
Some time ago I became bored of slow stock firmware and decided to install CM11, following my good experience with Sony LWW. I unlocked BL via fastboot on ubuntu (making no backups. I will learn someday...), then installed CM11 using CM's instructions for Xperia SP. I've got a working phone, it worked for two months, but was not as fast as I thought, and in addition to that it gave me frequent all-system ANRs with a reboot, when I browsed large pages in firefox. So i decided to go back to stock.
I downloaded a stock firmware called "C5303_12.1.A.1.205_РСТ" and flashed my phone using Flashboot. Rebooted and got a working phone. Then I relocked a bootloader, rebooted again, and again got a working phone. What's more interesting, all features which need DRM still work, i.e. Bravia, Walkman information downloading, TrackID (used to break after flashing back in time).
So I have some questions. Does that mean that I've got a fully stock phone with all features and DRM's somehow? Can I check that? Do I need to worry about DRM anyway?
Click to expand...
Click to collapse
you unlocked it you lost the DRM for sure ...but when re locking everything will ne working again don't worry
flash- said:
you unlocked it you lost the DRM for sure ...but when re locking everything will ne working again don't worry
Click to expand...
Click to collapse
But how is it still working then? I just finished downloading info on my music collection, and bravia seems to work... I don't understand what I did wrong to get it working perfectly.
airbus_sai said:
But how is it still working then? I just finished downloading info on my music collection, and bravia seems to work... I don't understand what I did wrong to get it working perfectly.
Click to expand...
Click to collapse
some users even showed us the x-reality engine with UBL...so it could be working normally in some way ...so i don't know how is that could be possible ...but maybe you are lucky ....try to backup your DRM keys see if the exists (that is impossible but try it,, you won't lose anything ) :silly:
can not find camera app in menue
Hi,
I have flashed build 06/26 (dirty). Sometimes I can not find the camera - app in menue.
Under settings -> app -> activ app I can find the camera app (is installed) but I can not start them. In menue I doesn't find the app.
Has somebody the same problem?
Sorry for this "survival" englisch and I hope everybody know what I mean
flash- said:
some users even showed us the x-reality engine with UBL...so it could be working normally in some way ...so i don't know how is that could be possible ...but maybe you are lucky ....try to backup your DRM keys see if the exists (that is impossible but try it,, you won't lose anything ) :silly:
Click to expand...
Click to collapse
Yup, does not allow me to make a backup. "Backup" and "Restore" options are grayed out in Flashtool, and only "S1 dump" is available. I assume DRM keys are gone. But as long as the features are working, I won't care. I will surely make a backup of everything before doing something to a phone next time. Thanks for an answer.
wenfosi, you may have either:
1) changed the way menu is presented. Swipe from left side of the screen in menu, and select "show apps by alphabet"; or
2) accidentally disabled the Camera app. Locate it in Settings - Apps, click on it, and look if there is a button called "Enable". It should be at the top, near the "Force stop" button. If it is there, then click on it. It will change to "Disable".
Maybe more experienced users will provide more advices. Try these at first.
wenfosi said:
Hi,
I have flashed build 06/26 (dirty). Sometimes I can not find the camera - app in menue.
Under settings -> app -> activ app I can find the camera app (is installed) but I can not start them. In menue I doesn't find the app.
Has somebody the same problem?
Sorry for this "survival" englisch and I hope everybody know what I mean
Click to expand...
Click to collapse
Have you tried another camera app from the Play Store? This information helps to find the error.
By the way, your English is OK. Is it possible that you are German?
Gesendet von meinem
Sony Xperia SP - Cyanogenmod 12.1

Stock Root?

Hey, just after a little help
I was just wondering if there was a way to root the XZ1C without unlocking the bootloader? I didn't really see a guide
Can you still hide root or go back to stock so that apps that don't work with root won't have any issues? I know unlocking the bootloader can cause issues, not sure about just root though.
I did see this, but it seems to be a bit outdated
https://forum.xda-developers.com/xp.../reference-xperia-debranding-rooting-t3667368
Oh and also, is it true that the Xperia XZ1 Compact doesn't have double tap to wake? Is there no way of getting it back? Since most of you have probably had one for a while, what are some other drawbacks or negatives about the phone?
Thanks for any assistance :good:
I don't know of any ways to root without unlocking the bootloader, at least not on any Xperia. Pretty sure it's required. It didn't cause me any problems running latest stock then unlocking and flashing TWRP and Magisk. In fact it worked pretty well.
Phone is incredibly fast and smooth. I've used different ROMs. Haven't seen double tap to wake. Anyway it's the best compact phone by far, the only drawback being no raw image support so google camera isn't compatible. The stock camera app is good but not great.
UndisputedGuy said:
I did see this, but it seems to be a bit outdated
https://forum.xda-developers.com/xp.../reference-xperia-debranding-rooting-t3667368
Click to expand...
Click to collapse
I really need to update that guide as it is outdated. To answer your first question, not really, an unlocked BL is required to get the most out of the phone.
If you want to root just unlock bootloader, flash TWRP in fastboot mode, then flash magisk in TWRP. It's fairly simple. But that's only if you unlock the bootloader.
Thanks for the responses, really appreciate the help. Good to hear the phone is still fast and smooth.
I'm pretty sure I was able to root my Z3 Compact in the past without unlocking the bootloader. I think it was through flashing a stock rooted .ftf file. I was really hoping something similar would be possible here. My concern is the apps that detect an unlocked bootloader and restrict access. Banking apps for example. Doesn't it also cause issues with Sony cameras once you unlock the bootloader?
I'm fine just being on stock Rooted and not being able to use custom ROMs if that's at all possible without unlocking the bootloader?
The XZ1C fortunately doesn't have the same issue as the other previous Xperia models when it comes to unlocking bootloader and losing DRM keys for the camera. So if you unlock, the camera will behave like it does on locked stock.
If you want to root stock you'll still need to unlock the bootloader. I haven't seen any other way to do it. Maybe it's possible if someone on root stock uploads their rooted boot.img and you take that and replace the original boot.img in the ftf but I don't know if that'll work.
It's disappointing to hear honestly. Given I did it on my Z3C, I thought it'd be possible here. Oh well, thanks for letting me know!
Maybe I'll have to see if I can make do without root. Does rooting still block Sony Apps like PS4 Remote Play, or have a lot of issues been ironed out by now? I know Banking Apps are completely blocked. You can't hide it, right?
What would you guys suggest is the best guide to rooting these days on an XZ1C on Android 9?
I use banking apps regularly and haven't had any issues despite both safetynet and CTS profile failing, I'm still looking into getting that fixed. I'm not sure about Sony remote play on root.
To root stock you just need to unlock the bootloader using the Xperia Flash tool, then in fastboot mode flash TWRP, then boot to TWRP and flash Magisk. It's surprisingly pretty simple.
There's also a recent thread here that I didn't see before about rooting with a locked bootloader, you might find something there. Haven't tested it myself though.
https://forum.xda-developers.com/xp...p-root-xz1c-xz1-xzp-including-magisk-t4047389
Thanks, I'll definitely have a look at that. I did notice it said Android Oreo when mine's on Android 9, but I assume you can downgrade using flashtool. There's probably a list of firmwares somewhere on the forum, right?
One thing I am confused about it is you mentioned you don't lose your DRM keys on the XZ1C, but a lot of guides seem to talk about backing up the keys and the TA Partition as the camera won't work otherwise. What's the reason for that? Are the guides just a bit outdated and there's no current one available?
Thanks for all the help btw, appreciate it
UndisputedGuy said:
Thanks, I'll definitely have a look at that. I did notice it said Android Oreo when mine's on Android 9, but I assume you can downgrade using flashtool. There's probably a list of firmwares somewhere on the forum, right?
One thing I am confused about it is you mentioned you don't lose your DRM keys on the XZ1C, but a lot of guides seem to talk about backing up the keys and the TA Partition as the camera won't work otherwise. What's the reason for that? Are the guides just a bit outdated and there's no current one available?
Thanks for all the help btw, appreciate it
Click to expand...
Click to collapse
No problem. Flashtool will probably only have Pie firmware available. You could try this post for a link to the Oreo firmware for Central EU:
https://www.reddit.com/r/SonyXperia/comments/b93mc9/xz1_compact_oreo_firmware_471a1620_download/
As for unlocking the DRM keys, I should clarify - I meant that if you unlock the bootloader you still lose the DRM keys but the Sony stock camera works as intended with most of features still enabled (before there used to be a green screen and glitches but not anymore for Pie, as with previous xperia models). I think some still get disabled after unlocking.
You can read more about that here: https://www.xda-developers.com/sony-xperia-android-pie-unlock-bootloader-drm-fix-camera/
betacrypt said:
No problem. Flashtool will probably only have Pie firmware available. You could try this post for a link to the Oreo firmware for Central EU:
https://www.reddit.com/r/SonyXperia/comments/b93mc9/xz1_compact_oreo_firmware_471a1620_download/
As for unlocking the DRM keys, I should clarify - I meant that if you unlock the bootloader you still lose the DRM keys but the Sony stock camera works as intended with most of features still enabled (before there used to be a green screen and glitches but not anymore for Pie, as with previous xperia models). I think some still get disabled after unlocking.
You can read more about that here: https://www.xda-developers.com/sony-xperia-android-pie-unlock-bootloader-drm-fix-camera/
Click to expand...
Click to collapse
I'll definitely try that, looks like it might be worth trying the whole temp root method from Oreo and then updating back to Pie after.
I read up on the link, it's nice to see Sony reinstated Camera functionality, but honestly I wouldn't really want to lose access to the other features too from unlocking the Bootloader. Is there a way to keep them by backing up and restoring the DRM keys? Any recommended software for that?
I clicked through and saw this link, but I'm not sure it works for the XZ1C or is the most updated version
https://forum.xda-developers.com/xz...hack-mod-sony-xperia-xz-premium-twrp-t3695171
I'll have to do a bit more reading, I was looking for a more up to date guide for everything like unlock/backup/restore etc, somewhere on this forum but I've not been able to see it honestly.
Afraid I haven't seen anything recent here on DRM backup and restore cause I haven't searched but maybe someone else knows. I haven't noticed any difference myself without the keys tbh.
UndisputedGuy said:
I clicked through and saw this link, but I'm not sure it works for the XZ1C or is the most updated version
https://forum.xda-developers.com/xz...hack-mod-sony-xperia-xz-premium-twrp-t3695171
I'll have to do a bit more reading, I was looking for a more up to date guide for everything like unlock/backup/restore etc, somewhere on this forum but I've not been able to see it honestly.
Click to expand...
Click to collapse
"I've not been able to see it honestly", seriously?! Try looking harder, and in the right section. - https://forum.xda-developers.com/xperia-xz1-compact
SXUsr said:
"I've not been able to see it honestly", seriously?! Try looking harder, and in the right section. - https://forum.xda-developers.com/xperia-xz1-compact
Click to expand...
Click to collapse
Yeah I was serious
https://forum.xda-developers.com/xp...devonly-exploits-temp-root-to-backup-t3795510
This seems to be the thread, but honestly I was pretty ill that week and didn't really read through it properly, so didn't notice it's got a full breakdown. I thought it was just steps to backup the TA partition.
In my defence it looks like another user on the forum was also looking for the same thing
[Delete]

Categories

Resources