Related
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.
I would like to know is there any way to get back X-reallity and BionZ after bootloader unlock. I know the solution wich save DRM keys before the unlock but when I did it I didn't know about it and about I will lost this features. So I found Bravia restore solution for X-Reallity. But after I installed and did everthing what was in the install section, I dont see any differences. And the BionZ. I have stock .236 rom and Im using Adaptive display mod and for my cam I installed the Z5 premium libs. So about the pictures, I dont feel it same as it was before unlock.
I need your help guys is there any way how I can chack this feature working or not and other way for X-Reallity getting back?
Sorry for my bad english.
If you don't have a TA backup from your phone, you have lost the proprietary Sony algorithms that make pictures appear better on your screen. It is not the camera apps or libs, but rather these algorithms that matter. And they are not recoverable, even if you relock your bootloader...
So i will never get these things back?
Not on this phone...
Not true, you can have these stuffs with fake drm keys: http://forum.xda-developers.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
I'll try it
Hi everyone,
Please forgive my ignorant post, it has been a very long time since I was here.
I've recently acquired an Xperia XZ1 Compact running Android 9 Pie 47.2.A.8.24. This phone has a stupid amount of bloatware and unnecessary apps that cannot be removed, so I was considering rooting it and then installing something like Titanium Backup, to remove all the rubbish.
After doing a bit of research, it seems rooting it can cause many problems, a big one being lack of or reduced camera functionality, among other things. This is a big issue and I don't want to dumb down the great specs of the phone. In the past I rooted phones with no consequences to functionality - it was only when custom ROMs were installed that problems started to occur.
So essentially my question is, how safe is it to root my XZ1C?
Cheers
Read this DRM backup/restore guide by j4nn: https://forum.xda-developers.com/xp...devonly-exploits-temp-root-to-backup-t3795510
Read at least the first post CAREFULLY.
So basically you need to downgrade to an old firmware, backup the drm keys with j4nn's tools, unlock bootloader, restore the keys, update back to a new firmware with newflasher and install magisk to root (either via TWPR or with j4nn's modified kernel, which is prerooted via magisk: https://forum.xda-developers.com/xp...oted-kernel-hiding-bootloader-unlock-t3898711 ).
It might seem a lot to do but if you read the instructions, it's not hard. Just remember to back up the drm keys before unlocking bootloader. When you have the keys (TA-partition) backed up, you can restore them even if you make some mistake, but unlocking without backing them up will get them lost forever.
vofferz said:
Read this DRM backup/restore guide by j4nn: https://forum.xda-developers.com/xp...devonly-exploits-temp-root-to-backup-t3795510
Read at least the first post CAREFULLY.
So basically you need to downgrade to an old firmware, backup the drm keys with j4nn's tools, unlock bootloader, restore the keys, update back to a new firmware with newflasher and install magisk to root (either via TWPR or with j4nn's modified kernel, which is prerooted via magisk: https://forum.xda-developers.com/xp...oted-kernel-hiding-bootloader-unlock-t3898711 ).
It might seem a lot to do but if you read the instructions, it's not hard. Just remember to back up the drm keys before unlocking bootloader. When you have the keys (TA-partition) backed up, you can restore them even if you make some mistake, but unlocking without backing them up will get them lost forever.
Click to expand...
Click to collapse
Thanks for the helpful info, I'll give that post a read. I'm not great with 'technology', so if it's too complex I'll just have to put up with the bloatware.
Is the information in the post still valid given that it's almost a year out of date?
jjl5590 said:
Thanks for the helpful info, I'll give that post a read. I'm not great with 'technology', so if it's too complex I'll just have to put up with the bloatware.
Is the information in the post still valid given that it's almost a year out of date?
Click to expand...
Click to collapse
The first post has been updated to contain all the newest information. That's why I don't recommend reading the whole thread, unless you want a historical study about the development of the process.
If it's just the bloatware you want to get rid of and don't need root access, you might be better off with disabling the apps. Some of them can't be disabled from settings, but you can do it via ADB. https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
vofferz said:
Read this DRM backup/restore guide by j4nn: https://forum.xda-developers.com/xp...devonly-exploits-temp-root-to-backup-t3795510
Read at least the first post CAREFULLY.
So basically you need to downgrade to an old firmware, backup the drm keys with j4nn's tools, unlock bootloader, restore the keys, update back to a new firmware with newflasher and install magisk to root (either via TWPR or with j4nn's modified kernel, which is prerooted via magisk: https://forum.xda-developers.com/xp...oted-kernel-hiding-bootloader-unlock-t3898711 ).
It might seem a lot to do but if you read the instructions, it's not hard. Just remember to back up the drm keys before unlocking bootloader. When you have the keys (TA-partition) backed up, you can restore them even if you make some mistake, but unlocking without backing them up will get them lost forever.
Click to expand...
Click to collapse
How to root android 9 xperia xz1 compact 2021
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]
"As everyone knows, bootloader unlock via code from sony removes drm keys. That disables certain functions, the most critical one being the camera (outputting only solid green pictures in case of oreo fw)."
[XZ1c/XZ1/XZp] temp root exploit to backup drm keys implemented
Tools to backup TA partition (drm keys) of Xperia XZ1 Compact by j4nn https://j4nn.github.io/ As everyone knows, bootloader unlock via code from sony removes drm keys. That disables certain functions, the most critical one being the camera...
forum.xda-developers.com
If I'm going to install Lineage, do I need DRM keys? Assume I'm never going back to stock. It's insecure.
[ROM] LineageOS 17/18/19 UNOFFICIAL - (Update: 2023-06-17)
LineageOS 17/18/19 for Sony Xperia XZ1 Compact RELEASE This is an alternative ROM for the Sony Xperia XZ1 Compact. Creating this to honor the great work of modpunk and derf elot from...
forum.xda-developers.com
"17.1 has stock Sony camera (not possible on 18.1)"
Would I need DRM keys for full Sony camera support here? Safetynet? Anything?
I think it's a good question. I recently unlocked a bootloader on an XZ1C and saved the DRM keys (TA partition), just to be sure. It's not too much work with all the splendid work done by the people on this forum, and it cannot hurt.
That said, I don't think the DRM keys just work on a non-stock OS. It has to be somehow linked to the OS and that is difficult without extensive knowledge about how Sony stored the keys on the device. Indeed, it shows now (using various apps you can download for that purpose) for example, that I have only security level L3 for Widevine access and no supported HDCP level at all.
cooltime said:
If I'm going to install Lineage, do I need DRM keys? Assume I'm never going back to stock. It's insecure.
Click to expand...
Click to collapse
Indeed, I am also thinking of installing Lineage 17.1 but I'm unsure if I need to save DRM keys for the camera?
Also, should I use newflasher or fastboot to flash the recovery?