Help with stock restore - Xperia Z1 Compact Q&A, Help & Troubleshooting

Hi all,
Appreciate this may have been asked several times in different ways. However, I've got in over my head with this one so want to make sure the method is right for how I initially rooted my phone.
Essentially I followed the cyanogenmod wiki page which showed me how to unlock the bootloader and install cyanogenmod.
However, I now need to revert back to stock. Problem i'm having is that any guide I find talks about TA back ups (not mentioned in the original guide) and uses a tool called flashtool.
I used the flashboot method for my install so i'm just a bit confused as to how to go back. Is it true that Sony will be able to tell I modified it as I may need to return it for a warranty issue.
Useful info:
UK phone
Not locked to a network
Many thanks

They will if you didn't backup your DRM keys and are unable to restore them after relocking your bootloader

Ahh thats really irritating that their main guide mentions nothing about DRM then.
What am I likely to have lost in terms of losing that partition then? Will I definitely have lost it doing it via fastboot? It seems strange that they don't mention anything about that.
What does it mean by a DRM key anyway? is it a code for something or an actual bit of software?
How would I go about getting it back to stock?
Many thanks

You can back to stock without DRM keys but... Still you will don't have things like bionz and x reality if you don't have backup DRM keys you are screwd because you lost it forever you can't use DRM keys from other z1c

mosespl said:
You can back to stock without DRM keys but... Still you will don't have things like bionz and x reality if you don't have backup DRM keys you are screwd because you lost it forever you can't use DRM keys from other z1c
Click to expand...
Click to collapse
Thanks mosespl.
What is the best method of going back to stock when originally I used flashboot? Looking to relock the bootloader too.
The sony stuff was rubbish anyway, I got nothing but bug bug bug with it, its the main reason I rooted. What is a DRM key? I saved a code that I needed to unlock but i'm guessing that isn't it?

DRM keys are write on specific partition on your phone which is unvisible and once you unlock your bootloader without backup DRM keys you lost it. And if you relock your bootloader you won't be able to use bionz processor (photos in bad condition will be worst) and x reality. In cross device section in thread for stock Roms to revert this options but I don't know if its working you need to check. But in many thread was posted that before unlock bootloader everyone have to back up DRM keys I don't know what about good program to unlock or relock bootloader but everyone uses flashtool I think

This is the thread that mosespl is referring to. It's quite lengthy but might be worth reading and trying. You've nothing to lose I suppose (as you've already lost them).
http://forum.xda-developers.com/showthread.php?p=56541777

Thanks guys, i'll check it out.
I wish I had that guide in the first place! Can't believe such a big rom didn't even hint at it!

Related

Ideas for Exploiting the Bootloader

I believe that with some work, the bootloaders could be exploited.
After reading this blog, Dan has managed to either bypass or unlock bootloaders based on the Qualacom chipset.
Motorola http://blog.azimuthsecurity.com/2013/04/unlocking-motorola-bootloader.html APQ
Samsung Galaxy S4 http://blog.azimuthsecurity.com/2013/05/exploiting-samsung-galaxy-s4-secure-boot.html
I'm thinking something along the lines of how the S4 was exploited for the reasons to preserve the DRM keys for Sony related application compatibility and to keep the Bravia Engine dynamic contrast algorithm intact. Since even unlocking it the official way removes these features.
Hopefully we can get a discussion going to get more developers to try and take a look at this.
MarlowXim said:
I believe that with some work, the bootloaders could be exploited.
After reading this blog, Dan has managed to either bypass or unlock bootloaders based on the Qualacom chipset.
Motorola http://blog.azimuthsecurity.com/2013/04/unlocking-motorola-bootloader.html APQ
Samsung Galaxy S4 http://blog.azimuthsecurity.com/2013/05/exploiting-samsung-galaxy-s4-secure-boot.html
I'm thinking something along the lines of how the S4 was exploited for the reasons to preserve the DRM keys for Sony related application compatibility and to keep the Bravia Engine dynamic contrast algorithm intact. Since even unlocking it the official way removes these features.
Hopefully we can get a discussion going to get more developers to try and take a look at this.
Click to expand...
Click to collapse
you are aware you can root and back up your drm keys right....
jug6ernaut said:
you are aware you can root and back up your drm keys right....
Click to expand...
Click to collapse
From what I understand once you restore your DRM keys from your backed up TA partition. It effectively relocks your bootloader thus your custom rom or kernel that isn't signed will not boot.
Checking at the FAQ of the Backup TA partition confirms this.
DevShaft said:
Q: Can I restore my TA while running a non-stock ROM or kernel?
A: Yes, but it will soft-brick your device and you need Sony PC Companion to fix it by flashing stock firmware. Best is to first return to a complete stock ROM and kernel before restoring the TA.
Q: Will it bring my DRM keys back on a non-stock ROM or kernel?
A: No, only on a complete stock ROM and kernel.
Click to expand...
Click to collapse
MarlowXim said:
From what I understand once you restore your DRM keys from your backed up TA partition. It effectively relocks your bootloader thus your custom rom or kernel that isn't signed will not boot.
Checking at the FAQ of the Backup TA partition confirms this.
Click to expand...
Click to collapse
Well that effectively rules out simply restoring the DRM keys. Looks like its time for Plan B.

Noob question for TA backups and Root

Sorry if this is a dumb question. Can someone please explain what it means that Bravia in Album will no longer work if I unlock the bootloader? I've been reading through many resources and have seen some old and new reports that either make no sense or contradict one another. This is my first Sony device so I'm not used to having to backup a TA partition or anything like that. My goal is to have a fully functional rooted stock firmware. I'm mainly sticking with stock to preserve the camera app since I will use it the most. From the sound of it, It seems like I'll be breaking something by rooting my device. Is this the case? If so, what gets broken and is there a way to root the stock firmware otherwise?
Xentar712 said:
Sorry if this is a dumb question. Can someone please explain what it means that Bravia in Album will no longer work if I unlock the bootloader? I've been reading through many resources and have seen some old and new reports that either make no sense or contradict one another. This is my first Sony device so I'm not used to having to backup a TA partition or anything like that. My goal is to have a fully functional rooted stock firmware. I'm mainly sticking with stock to preserve the camera app since I will use it the most. From the sound of it, It seems like I'll be breaking something by rooting my device. Is this the case? If so, what gets broken and is there a way to root the stock firmware otherwise?
Click to expand...
Click to collapse
Rooting doesn't require unlocking bootloader. Unlocking bootloader is when you will need to start worrying about TA and DRM and such. Just root using this method and you won't need to worry about backing up TA first: http://forum.xda-developers.com/showthread.php?t=2784900
camaro is right, as long as the root exploit works (i.e. as long as the upstream aosp kernel bugfix isn't merged) an unlocked bootloader is only required to flash a different kernel.
Thanks guys, every thing worked great
camaro322hp said:
Rooting doesn't require unlocking bootloader. Unlocking bootloader is when you will need to start worrying about TA and DRM and such. Just root using this method and you won't need to worry about backing up TA first: http://forum.xda-developers.com/showthread.php?t=2784900
Click to expand...
Click to collapse
So I'm probably going to go the next step and unlock the bootloader soon. I'll do a TA backup before, for sure. Does unlocking the bootloader break any of the apps or services?
Xentar712 said:
So I'm probably going to go the next step and unlock the bootloader soon. I'll do a TA backup before, for sure. Does unlocking the bootloader break any of the apps or services?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2745704
Sent from my D5503
camaro322hp said:
http://forum.xda-developers.com/showthread.php?t=2745704
Sent from my D5503
Click to expand...
Click to collapse
Cool, thanks! So basically just the X-reality(Bravia engine) will be gone. Not sure if I need that so maybe I'll take a spin with it off for a few days and see if I like it still. I read somewhere that Netflix was broken from it but that report was old so I'm guessing it's fixed now.
Xentar712 said:
Cool, thanks! So basically just the X-reality(Bravia engine) will be gone. Not sure if I need that so maybe I'll take a spin with it off for a few days and see if I like it still. I read somewhere that Netflix was broken from it but that report was old so I'm guessing it's fixed now.
Click to expand...
Click to collapse
You may want to resurrect that old thread to see if anyone else has input. I never unlocked bootloader as the stock ROM rooted was sufficient for me, so I can't say for sure what gets lost.
Sent from my D5503

[Q] No Signal(sim card with exclamation mark) after rooting with all in one kit

Helo Guyz!!
I bought a new HTC One m8 a couple of days ago. I've made a call when I bought it, so the sim card was working earlier. I rooted it using "HTC M8 ALL IN ONE V2.0" yesterday so that I can restore the apps+app data via Titanium BackUp from my old Xperia Z. Just turned on my Rooted M8 and it doesn't recieve signals. It shows an icon with a simcard followed by an exclamation mark. Tried my brother's sim, no change!! Made a Factory reset(It didn't Unroot) still no change.
Please help me Guyz!!! Thanks.
I might have unlocked the bootloader while rooting as it was a necessary step in the TUT(All in one tool).
Kunnu2592 said:
Helo Guyz!!
I bought a new HTC One m8 a couple of days ago. I've made a call when I bought it, so the sim card was working earlier. I rooted it using "HTC M8 ALL IN ONE V2.0" yesterday so that I can restore the apps+app data via Titanium BackUp from my old Xperia Z. Just turned on my Rooted M8 and it doesn't recieve signals. It shows an icon with a simcard followed by an exclamation mark. Tried my brother's sim, no change!! Made a Factory reset(It didn't Unroot) still no change.
Please help me Guyz!!! Thanks.
I might have unlocked the bootloader while rooting as it was a necessary step in the TUT(All in one tool).
Click to expand...
Click to collapse
Unlocking the bootloader wouldn't affect your device in any means except factory resetting it.
Maybe the tool you used changed the radio? That's the only thing I can think of. Try flashing a different radio
Kunnu2592 said:
I might have unlocked the bootloader while rooting as it was a necessary step in the TUT(All in one tool).
Click to expand...
Click to collapse
You don't even know if you unlocked the bootloader? This is one of the big reasons why toolkits and step-by-step tutorials are a bad idea. You are modding your phone with absolutely no understanding of the primary concepts, or what you have even done with your phone. Although the no signal issue doesn't seem related to your lack of knowledge, I'd still recommend you slow down and do more learning and research before messing with the phone anymore, unless you want to risk permanent damage to the device.
Also, all a factory reset does is wipe user data, and doesn't affect the system in any way.
As mentioned in the previous response, simply unlocking the bootloader should not have resulted in no signal.
Are you presently s-on or s-off? You should list step by step what you've done to the phone. Still on the stock ROM, or otherwise? Did you try to restore any system data with Titanium? How precisely did you root the phone after unlocking the bootloader? What recovery and version?
redpoint73 said:
You don't even know if you unlocked the bootloader? This is one of the big reasons why toolkits and step-by-step tutorials are a bad idea. You are modding your phone with absolutely no understanding of the primary concepts, or what you have even done with your phone. Although the no signal issue doesn't seem related to your lack of knowledge, I'd still recommend you slow down and do more learning and research before messing with the phone anymore, unless you want to risk permanent damage to the device.
Also, all a factory reset does is wipe user data, and doesn't affect the system in any way.
As mentioned in the previous response, simply unlocking the bootloader should not have resulted in no signal.
Are you presently s-on or s-off? You should list step by step what you've done to the phone. Still on the stock ROM, or otherwise? Did you try to restore any system data with Titanium? How precisely did you root the phone after unlocking the bootloader? What recovery and version?
Click to expand...
Click to collapse
Sorry brother. I thought I was clear. Here is what I did to my phone. I followed this up. Get token, submit it, download a file which was sent via email and use it to unlock the bootloader. Root it at last using the perm root command in the tool itself.
http://forum.xda-developers.com/showthread.php?t=2699065
I haven't done anything to the phone after rooting it. No titanium restores.. Nothing. I would want to relock the bootloader want to relock the bootloader using the same tool. Is it safer? Does it makes it normal again? Do I get my warranty then? Does it wipes all the data if I lock bootloader after restoring my apps with titanium backup?
Please help guyz!!
Kunnu2592 said:
I would want to relock the bootloader want to relock the bootloader using the same tool. Is it safer? Does it makes it normal again? Does it wipes all the data if I lock bootloader after restoring my apps with titanium backup?
Click to expand...
Click to collapse
Nothing you did should have caused the no signal issue (simply unlocking the bootloader and rooting shouldn't have caused that). So its hard to say what would fix it.
You can try to re-install the stock ROM. Or try to relock the bootloader and see what happens.
Kunnu2592 said:
Does it wipes all the data if I lock bootloader after restoring my apps with titanium backup?
Click to expand...
Click to collapse
Not sure, but I believe relocking the bootloader will wipe data. So backup anything important before doing so.
redpoint73 said:
Nothing you did should have caused the no signal issue (simply unlocking the bootloader and rooting shouldn't have caused that). So its hard to say what would fix it.
You can try to re-install the stock ROM. Or try to relock the bootloader and see what happens.
Not sure, but I believe relocking the bootloader will wipe data. So backup anything important before doing so.
Click to expand...
Click to collapse
Okay bro... I would try that and be bck!!
ThanQ ?
brichardson1991 said:
Unlocking the bootloader wouldn't affect your device in any means except factory resetting it.
Maybe the tool you used changed the radio? That's the only thing I can think of. Try flashing a different radio
Click to expand...
Click to collapse
Idk what Radio is and how to change it. Is it some code that makes the signal receiver work? I just followed a guide and didn't miss any steps. Please enlighten me about it so that I could try something out. ThanQ brother.
Kunnu2592 said:
Idk what Radio is and how to change it. Is it some code that makes the signal receiver work? I just followed a guide and didn't miss any steps. Please enlighten me about it so that I could try something out.
Click to expand...
Click to collapse
You didn't answer my question whether you were S-off or S-on. But as you didn't mention it in the steps you performed, you are probably still s-on. That being the case its also likely the radio wasn't modified by anything you did (s-off is needed to write to the radio partition); and on the same note, you can't do anything to that partition now unless you s-off.
I'd go with my previous recommendations for now, and see how that goes before doing more.
Maybe a silly question, but toggling airplane more or rebooting the phone doesn't have any affect on the no signal condition?
Maybe it's not making proper contact in the tray? Tried to remove it and readjust it a bit and put it back? I recall someone mentioning a similar problem months ago and when I read up on it it seemed to be a problem with the Hox as well where they used to put some tape on the back of the sim and put it back in the tray. They did this to "thicken" it a bit so it can get pressed down properly on the circuitry?
Just throwing out my 2cents here...
BerndM14 said:
Maybe it's not making proper contact in the tray? Tried to remove it and readjust it a bit and put it back? I recall someone mentioning a similar problem months ago and when I read up on it it seemed to be a problem with the Hox as well where they used to put some tape on the back of the sim and put it back in the tray. They did this to "thicken" it a bit so it can get pressed down properly on the circuitry?
Just throwing out my 2cents here...
Click to expand...
Click to collapse
That's certainly worth exploring as well. It seems like too much a coincidence that this issue occurred right after unlocking the bootloader and rooting. But on the other hand, its odd as such modifications should not have caused the no signal issue.
redpoint73 said:
That's certainly worth exploring as well. It seems like too much a coincidence that this issue occurred right after unlocking the bootloader and rooting. But on the other hand, its odd as such modifications should not have caused the no signal issue.
Click to expand...
Click to collapse
Heh, to quote one of my favourite quotes from xxxHolic: There is no such thing as a coincidence in this world, there is only the inevitable.
Could be radio though as well. I went to do a search for this issue and found some of the old threads where they flashed radios, restored the nandroid backup etc.
But perhaps that's something that the OP can look into as well and learn some stuff.
htc one m8 sim card error site:forum.xda-developers.com In google returned many results.
[Q] Sim Card detection Error (m8)
HTC One (M8) Won't recognize Sim Card
etc etc...
brichardson1991 said:
Unlocking the bootloader wouldn't affect your device in any means except factory resetting it.
Maybe the tool you used changed the radio? That's the only thing I can think of. Try flashing a different radio
Click to expand...
Click to collapse
redpoint73 said:
Nothing you did should have caused the no signal issue (simply unlocking the bootloader and rooting shouldn't have caused that). So its hard to say what would fix it.
You can try to re-install the stock ROM. Or try to relock the bootloader and see what happens.
Not sure, but I believe relocking the bootloader will wipe data. So backup anything important before doing so.
Click to expand...
Click to collapse
It is S-on. My brother have the same phone and when I checked for his radio version in boot loader screen, Its something like "INVALID_VER_INFO" but my device shows a version number "RADIO-1.19.21331147A1.09G". We've bought both phones recently. His phone is untouched where as I messed up my device just for the apps and app data. I fee terrible now. Please help me to undo everything. I guess I cant even take it to the HTC service center as it says "TAMPERED" and "RELOCKED" banners on top of the bootloader screen.
I've used up all my savings on this device and it seems its wasted now.
Pease help me guyz... :crying:
Kunnu2592 said:
We've bought both phones recently. His phone is untouched where as I messed up my device just for the apps and app data. I fee terrible now. Please help me to undo everything.
Click to expand...
Click to collapse
You've been given several suggestions to try at this point, and haven't indicated whether you attempted them or not.
You can cry all you want. But if you fail to even try to help yourself, we can't help you either.
Kunnu2592 said:
I guess I cant even take it to the HTC service center as it says "TAMPERED" and "RELOCKED" banners on top of the bootloader screen.
Click to expand...
Click to collapse
If you are talking about a warranty claim, warranty doesn't cover damage done by mods you performed. When you chose to unlock the bootloader and root the phone, you accepted all responsibility for any damage that might occur. This is the game we play. If you can't afford to repair or replace the phone in the event of permanent damage done by mods you did; then you shouldn't be modding it in the first place.
If you are talking about paying HTC to fix it, they will still do it if its been tampered. They will likely replace the mainboard and charge you for it.
But honestly, I think your condition can be fixed by software; and sending to HTC is not necessary. But you have to be willing to put in the effort.
redpoint73 said:
You've been given several suggestions to try at this point, and haven't indicated whether you attempted them or not.
You can cry all you want. But if you fail to even try to help yourself, we can't help you either.
If you are talking about a warranty claim, warranty doesn't cover damage done by mods you performed. When you chose to unlock the bootloader and root the phone, you accepted all responsibility for any damage that might occur. This is the game we play. If you can't afford to repair or replace the phone in the event of permanent damage done by mods you did; then you shouldn't be modding it in the first place.
If you are talking about paying HTC to fix it, they will still do it if its been tampered. They will likely replace the mainboard and charge you for it.
But honestly, I think your condition can be fixed by software; and sending to HTC is not necessary. But you have to be willing to put in the effort.
Click to expand...
Click to collapse
Hieee bro..
I've relocked the bootloader and it doesn't help. There was no change. I tried to place a thin paper on back of the sim card to make a better connection. It still doesn't work. It now says TAMPERED and RELOCKED(after relocking the bootloader). I installed a stock firmware and it didn't solved the problem too.
I read endless posts but found nothing that can help the situation. Just waiting for help from my thread.
I want to try restoring my brother's backup. But is it possible to make a complete system backup to flash into my device without rooting? I don't want to mess his device too....
Thank you.
Kunnu2592 said:
I want to try restoring my brother's backup. But is it possible to make a complete system backup to flash into my device without rooting? I don't want to mess his device too....
Click to expand...
Click to collapse
Nope.
Nor will doing so yield anything that isn't already easily available here (so don't bother unlocking bootloader and rooting his phone just to help your own situation, its a waste of time): http://forum.xda-developers.com/showthread.php?t=2701376
Restore the appropriate stock ROM, and see if that helps.
redpoint73 said:
Nope.
Nor will doing so yield anything that isn't already easily available here (so don't bother unlocking bootloader and rooting his phone just to help your own situation, its a waste of time): http://forum.xda-developers.com/showthread.php?t=2701376
Restore the appropriate stock ROM, and see if that helps.
Click to expand...
Click to collapse
Yeahhh bro.. Ua right. I'll try a Stock Rom again and will be bck wid the result.
Thanks for ua help

Tips before flashing XZ1c

Hi,
I should receive my XZ1c this week. Before unlocking bootloader, flashing recovery and ROM, should I perform a system dump/backup? I heard that flashing may cause lost of DRM keys, so also other stuff may also be lost.
If I have to do a backup, which tool should I use? I also read that after flashing the camera takes green pictures, is that common to all non official ROMs?
Thanks!
fl0wfr said:
Hi,
I should receive my XZ1c this week. Before unlocking bootloader, flashing recovery and ROM, should I perform a system dump/backup? I heard that flashing may cause lost of DRM keys, so also other stuff may also be lost.
If I have to do a backup, which tool should I use? I also read that after flashing the camera takes green pictures, is that common to all non official ROMs?
Thanks!
Click to expand...
Click to collapse
I wouldn't be in a rush to unlock your phone, it comes with all sorts of problems, but the biggest one being breaking the camera.
If you have a contract phone from a major provider there's a chance that you won't be able to unlock it, the unlock feature will be disabled. This is so they don't have to deal with any warranty claims of 'Waaaa, I unlocked my phone and now it's broken'
The battery life out the box is pretty amazing and customisation can be done without root, these were always the main things that drove me to root in the past, so it's not as necessary as it used to be. You can't do a backup of your DRM keys, when you unlock the phone they will be lost and are unrecoverable. With persistance you can mount a DRMfix, that fools the phone into thinking DRM is present and all the higher functions contiune to work as stock. But you can no longer easily update, you will have to reflash everything each time there is a system update. I have rooted my phone and everything works perfectly, but I sort of wish I hadn't now as the benifits are small and the hassle of keeping it up to date with firmware rollouts is huge, in fact I've given up.
If you are determined to go down that route I would recomend paying sToRm// $20 for his Xperiafix. It's the simplest way to do it and his version 3 has come along leaps and bounds from the early versions and as long as you get the right drivers (err, no easy task) and can follow instructions, you'll get there.
For backing up what's on your phone I'd recomend Xperia Transfer, does what is says on the tin.
Unfortunately, there isn't a way to backup the DRM keys yet so should you unlock the bootloader, your DRM keys are completely and irreversibly gone forever.
As for the camera issue, when unlocked, you can either continue to use the Sony ROMs but with a DRM fix (e.g. using Storm's Xperifix tool) or you can use a custom ROM which has a DRM fix. Long story short: whatever ROM you use (official or unofficial), you'll need to make sure you have a DRM fix for it.
Edit: Nevermind, Didgesteve beat me to it!
Thanks for your replies guys!
I bought the phone without contract so no SIMlock
If I flashing back stock ROM I wouldn't be able to get DRM keys back, right? The fact is I love RR-OS ROM, so easy to customize, and I'd like to easily restore my apps with Titanium Backup.
The only reason why I personally would root nowadays is Titanium Backup.
fl0wfr said:
Thanks for your replies guys!
I bought the phone without contract so no SIMlock
If I flashing back stock ROM I wouldn't be able to get DRM keys back, right? The fact is I love RR-OS ROM, so easy to customize, and I'd like to easily restore my apps with Titanium Backup.
Click to expand...
Click to collapse
Unfortunately, that's correct - going back to stock won't restore the DRM keys. Once they're gone, they're gone forever.
fl0wfr said:
Thanks for your replies guys!
I bought the phone without contract so no SIMlock
If I flashing back stock ROM I wouldn't be able to get DRM keys back, right? The fact is I love RR-OS ROM, so easy to customize, and I'd like to easily restore my apps with Titanium Backup.
Click to expand...
Click to collapse
DRM keys gone forever, yup.
Titamium will work on magisk rooted phone, but you might struggle to get some of the apps working on a new OS.
You'll be in for less headaches if you can bite the bullet annd do a clean install.
But you're in good hands with russel5's RR build, he's really helpfull and takes part in the thread.
If I root using Magisk, will I have to unlock bootloader?
fl0wfr said:
If I root using Magisk, will I have to unlock bootloader?
Click to expand...
Click to collapse
Yes - you'll have to unlock the bootloader because in order for Magisk to work because it modifies your phone's boot partition (and it can only really do that if you unlock your phone's bootloader).
moofesr said:
Yes - you'll have to unlock the bootloader because in order for Magisk to work because it modifies your phone's boot partition (and it can only really do that if you unlock your phone's bootloader).
Click to expand...
Click to collapse
Okay but I won't have to flash ROM or install another bootloader?
fl0wfr said:
Okay but I won't have to flash ROM or install another bootloader?
Click to expand...
Click to collapse
You don't have to flash another ROM - in fact, you can stay on the stock Sony ROM if you prefer. But you'll want to flash something (DRM fix) because the moment you unlock your bootloader, your camera will stop working.
For what it's worth, you can't install another bootloader.
moofesr said:
You don't have to flash another ROM - in fact, you can stay on the stock Sony ROM if you prefer. But you'll want to flash something (DRM fix) because the moment you unlock your bootloader, your camera will stop working.
For what it's worth, you can't install another bootloader.
Click to expand...
Click to collapse
Damn... The camera issue always happens when unlocking bootloader?
fl0wfr said:
Damn... The camera issue always happens when unlocking bootloader?
Click to expand...
Click to collapse
I'm afraid so! Sony are simultaneously very open-source friendly and very dev-community hostile.
That's why the DRM keys are such a big deal for Sony devices and why everyone talks about DRM fixes
The camera on the XZ1C uses some proprietary elements and the moment you unlock your bootloader, the proprietary elements stop working and every photo you take will just be green.
In an ideal world, we would backup the DRM keys before unlocking the bootloader and then restore the DRM keys after unlocking the bootloader and the camera (and other DRM key dependent phone features) would be working as usual again. However, the 2017 line of devices has no working method of DRM backup-restore, hence the need for DRMfix to 'trick' the phone into thinking the DRM keys still exist.
Well I guess I'll stick to the stock ROM. I'll try at least SMS/MMS restore using Titanium, I hope it won't need root...
Thanks for your replies, I really appreciate it!
fl0wfr said:
Well I guess I'll stick to the stock ROM. I'll try at least SMS/MMS restore using Titanium, I hope it won't need root...
Thanks for your replies, I really appreciate it!
Click to expand...
Click to collapse
Xperia transfer is an easy way to transfer texts, files and programs (and settings)
Didgesteve said:
Xperia transfer is an easy way to transfer texts, files and programs (and settings)
Click to expand...
Click to collapse
Interesting, I'll give a try!
Didgesteve said:
... You can't do a backup of your DRM keys, when you unlock the phone they will be lost and are unrecoverable....
Click to expand...
Click to collapse
Your post is from July 2018, while since May 2018 there is a topic regarding XZ1C DRM keys backup & restore here on XDA:
https://forum.xda-developers.com/xperia-xz1-compact/development/devonly-exploits-temp-root-to-backup-t3795510
Or do I miss something I haven't gone through all the 40+ pages of the topic above yet, but it looks like a proper backup&restore solution, not a drmfix only that fools the system.
Doman said:
Your post is from July 2018, while since May 2018 there is a topic regarding XZ1C DRM keys backup & restore here on XDA:
https://forum.xda-developers.com/xperia-xz1-compact/development/devonly-exploits-temp-root-to-backup-t3795510
Or do I miss something I haven't gone through all the 40+ pages of the topic above yet, but it looks like a proper backup&restore solution, not a drmfix only that fools the system.
Click to expand...
Click to collapse
The exploit thread has indeed been going since May, but when I wrote the post in July there was still no easily accessible way for the average user to attempt the exploit.
Have you tried to back up your DRM keys with the exploit? Good luck with that.
But with Pie we don't need any exploit, the camera is fixed without any DRM manipulation.
Didgesteve said:
The exploit thread has indeed been going since May, but when I wrote the post in July there was still no easily accessible way for the average user to attempt the exploit.
Have you tried to back up your DRM keys with the exploit? Good luck with that.
But with Pie we don't need any exploit, the camera is fixed without any DRM manipulation.
Click to expand...
Click to collapse
Appreciate the explanation. I haven't done DRM backup yet. I just got my XZ1C this week, so now I gain the knowledge and prepare for modifications. I wonder if I need the DRM backup for the future though, as I plan to use Resurrection Remix or AEX, either dedicated or Treble version. But I think I will try to back it up anyway just in case.
And what do you mean about Pie in the last sentence? With Pie and bootloader unlock we still loose TA partition and DRM, but the camera still works fine? Or what happens?
Doman said:
With Pie and bootloader unlock we still loose TA partition and DRM, but the camera still works fine? Or what happens?
Click to expand...
Click to collapse
With Pie the camera works with unlocked bootloader, no fix required. So you can unlock and root and don't need any 'fix'
Sony obviously don't want anyone making money out of DRM (Xperiafix)

Backing up of Trim Area

I want to unlock my bootloader and install lineage OS, but first I would like to back up my DRM keys, but I don't know how to go about it, I would appreciate anyone who can tell how to do it
shezy14 said:
I want to unlock my bootloader and install lineage OS, but first I would like to back up my DRM keys, but I don't know how to go about it, I would appreciate anyone who can tell how to do it
Click to expand...
Click to collapse
I've backed up the TA partition on two XZ2 Compact H8324 phones successfully in order to preserve the DRM keys. But as far as I know, there hasn't yet been a way figured out to restore a TA partition. I followed this guide by Andrés Gómez https://blog.andresgomez.org/2020/0...u-linux-1-5-downgrading-sonys-stock-firmware/

Categories

Resources