I'm currently on stock 5.1.1 rooted with locked bootloader. I backed up my drm keys before also.
If I go the 6.0 beta:
Is the camera quality the same?
Is there still sony's sound tweaks?
What do I lose compared to sony's stock 5.1.1 rom?
Do I need to restore my drm keys after installing 6.0 since my bootloader will be unlocked?
I'll be doing a twrp back up before upgrading but can I just wipe and restore to 5.1.1 with twrp?
Thanks
Is there an entire thread dedicated to exactly this?
yes
http://forum.xda-developers.com/z3-compact/general/sonys-android-concept-marshmallow-t3229536
Related
Hi,
I hope somebody is willing to help me; I couldn't find a guide covering exactly the same problem. Actually, I'm "just" looking for the right order of steps I should perform in order to restore the factory state of my Z3C. I'm currently running Cyanogen Mod 12.1 with unlocked bootloader (obviously). I would like to return to being able to use the DRM Camera functions. Afterwards I'd probably like to try another ROOTED stock-based firmware. (Thus the DRM functions should still be available again, right?)
Current setup: CM 12.1 + bootloader Unlocked + TA Backup has been performed
Aim: flash stock firmware + restore DRM functions + install (pre-rooted) stock-based firmware
What I don't understand: If I re-flash stock firmware the phone won't be rooted anymore, Custom Recovery is going to be lost, right? Is it right to T H E N restore the TA backup? (As the bootloader will be automatically relocked?) Or do I need to perform additional steps or the above mentioned in another order?!?!?
And: Can I then simply flash a stock-based ROM without losing the DRM functions again?
Thanks in advance!
artie_ficial said:
Hi,
I hope somebody is willing to help me; I couldn't find a guide covering exactly the same problem. Actually, I'm "just" looking for the right order of steps I should perform in order to restore the factory state of my Z3C. I'm currently running Cyanogen Mod 12.1 with unlocked bootloader (obviously). I would like to return to being able to use the DRM Camera functions. Afterwards I'd probably like to try another ROOTED stock-based firmware. (Thus the DRM functions should still be available again, right?)
Current setup: CM 12.1 + bootloader Unlocked + TA Backup has been performed
Aim: flash stock firmware + restore DRM functions + install (pre-rooted) stock-based firmware
What I don't understand: If I re-flash stock firmware the phone won't be rooted anymore, Custom Recovery is going to be lost, right? Is it right to T H E N restore the TA backup? (As the bootloader will be automatically relocked?) Or do I need to perform additional steps or the above mentioned in another order?!?!?
And: Can I then simply flash a stock-based ROM without losing the DRM functions again?
Thanks in advance!
Click to expand...
Click to collapse
You simply can not restore back to factory state of your phone unless you have backed up your DRM keys. I'm thinking that you haven't so...
Anyways, you can use a pre-rooted stock ROM and you will have stock state of the Z3C and also root. To do this, you simply download any of the many alternatives in xda. I, myself, recommend you to use Wajk's SlimROM. It has good features, good debloat and awesome battery life. You'll be on stock ROM and have root but you won't be able to use DRM functions. If you want the DRM functions so badly there's a way to spoof it. You can visit here: http://forum.xda-developers.com/z3-...ocked-update-conceptmm-root-recovery-t3291722 and follow the instructions. It will give you the concept version of Marshmallow, root and DRM functions!
The thing is you have lost your DRM functions by unlocking your bootloader. So flashing any other Stock ROM will not bring it back as it has something to do with the system of the phone. If you are OK with a Stock ROM without DRM functions, there are plenty Stock Pre-Rooted Firmwares on xda. You can download one, do a factory reset, and wipe dalvik/cache, then flash the Stock ROM.zip through your recovery. Have the best of luck!
EDIT: I don't know about the TA backup as I have never used it :/
Solution
marshalpear said:
You simply can not restore back to factory state of your phone unless you have backed up your DRM keys. I'm thinking that you haven't so...
Anyways, you can use a pre-rooted stock ROM and you will have stock state of the Z3C and also root. To do this, you simply download any of the many alternatives in xda. I, myself, recommend you to use Wajk's SlimROM. It has good features, good debloat and awesome battery life. You'll be on stock ROM and have root but you won't be able to use DRM functions. If you want the DRM functions so badly there's a way to spoof it. You can visit here: http://forum.xda-developers.com/z3-...ocked-update-conceptmm-root-recovery-t3291722 and follow the instructions. It will give you the concept version of Marshmallow, root and DRM functions!
The thing is you have lost your DRM functions by unlocking your bootloader. So flashing any other Stock ROM will not bring it back as it has something to do with the system of the phone. If you are OK with a Stock ROM without DRM functions, there are plenty Stock Pre-Rooted Firmwares on xda. You can download one, do a factory reset, and wipe dalvik/cache, then flash the Stock ROM.zip through your recovery. Have the best of luck!
EDIT: I don't know about the TA backup as I have never used it :/
Click to expand...
Click to collapse
Thanks for your effort! But you misunderstood me, I have a working backup of my "former" TA partition/DRM keys. All I was wondering about was WHEN exactly I should perform the restore process. But I found out anyway. For whoever should have the same question:
- revert back to the firmware you used when performing the ta/drm backup
- if necessary: root (as the ta-backup tool needs root permissions)
- restore drm key backup with the ta-backup tool
- do whatever ... I installed a pre-rooted stock based fw and it works with DRM keys and root/recovery
artie_ficial said:
Hi,
I hope somebody is willing to help me; I couldn't find a guide covering exactly the same problem. Actually, I'm "just" looking for the right order of steps I should perform in order to restore the factory state of my Z3C. I'm currently running Cyanogen Mod 12.1 with unlocked bootloader (obviously). I would like to return to being able to use the DRM Camera functions. Afterwards I'd probably like to try another ROOTED stock-based firmware. (Thus the DRM functions should still be available again, right?)
Current setup: CM 12.1 + bootloader Unlocked + TA Backup has been performed
Aim: flash stock firmware + restore DRM functions + install (pre-rooted) stock-based firmware
What I don't understand: If I re-flash stock firmware the phone won't be rooted anymore, Custom Recovery is going to be lost, right? Is it right to T H E N restore the TA backup? (As the bootloader will be automatically relocked?) Or do I need to perform additional steps or the above mentioned in another order?!?!?
And: Can I then simply flash a stock-based ROM without losing the DRM functions again?
Thanks in advance!
Click to expand...
Click to collapse
HI
Restoring TA backup Will NOT relock your Bootloader but it will simply restore the DRM keys that you backed up while unlocking Bootloader
So you will restore the DRM keys
flash stock Firmware
flash TWRP via fastboot and the you will be able to root with chainfire auto root flashable zip
or just download a prerooted stock firmware and flash it
Hi
i've had a z3c for a long time without rooting but now after upgrading to Marshmallow i want to root but, i don't know anything about rooting (what's flashing, twrp, custom rom,)?
what i want this:
Root my D5803 without ruining the camera after losing the DRM keys
Phone info:
Model number: D5803
Android version: 6.0.1
Android security patch: February 1, 2016
Build number: 23.5.A.0.570
Gandora42 said:
Hi
i've had a z3c for a long time without rooting but now after upgrading to Marshmallow i want to root but, i don't know anything about rooting (what's flashing, twrp, custom rom,)?
Click to expand...
Click to collapse
Why not flash a pre rooted rom and keep your bootloader intact. Slim 1.3 has a good following and Wajk is a committed developer
Destroying your TA partition just so you can get onto the latest (bug ridden & problematic) deployment seems a bit extreme.
Edit: if you already have MM installed then you will need to follow bilboa1's great guide on how to back up your TA partition and root
This will mean downgrading your rom to an older version, then rooting, then adding recovery, then flashing a MM build with root built in.
It's a long process but non destructive, you'll get to the magical MM but with bootloader intact.
Didgesteve said:
Why not flash a pre rooted rom and keep your bootloader intact. Slim 1.3 has a good following and Wajk is a committed developer
Destroying your TA partition just so you can get onto the latest (bug ridden & problematic) deployment seems a bit extreme.
Edit: if you already have MM installed then you will need to follow bilboa1's great guide on how to back up your TA partition and root
This will mean downgrading your rom to an older version, then rooting, then adding recovery, then flashing a MM build with root built in.
It's a long process but non destructive, you'll get to the magical MM but with bootloader intact.
Click to expand...
Click to collapse
Thank you, one question though, you said that the bootloader will be intact, what about the drm keys? i've read that the DRM keys might go even if the bootloader is locked!
Gandora42 said:
Thank you, one question though, you said that the bootloader will be intact, what about the drm keys? i've read that the DRM keys might go even if the bootloader is locked!
Click to expand...
Click to collapse
If you take the time to read the thread linked thread above, you'll see that it shows you how to care for your DRM keys so that they can be restored in the event of something untoward happening.
There is an encrypted partition (TA) on your phone that has your personal DRM keys, unique to your phone, they can't be replaced with anyone elses. To open you phone up to a custom kernel or a CM build rom you have to overwrite this encrypted partition, or unlock the bootloader.
Once you have used the old rom exploit to root the phone, you can flash any stock rom without fear. Stock roms are designed to work with the TA partition and pushing a stock rom onto your phone will not damage your DRM keys. That's why I said unlocking the bootloader is a big deal, not to be done just to root a phone. There are less damaging ways to get to an MM build, with all your camera functions intact.
Didgesteve said:
If you take the time to read the thread linked thread above, you'll see that it shows you how to care for your DRM keys so that they can be restored in the event of something untoward happening.
There is an encrypted partition (TA) on your phone that has your personal DRM keys, unique to your phone, they can't be replaced with anyone elses. To open you phone up to a custom kernel or a CM build rom you have to overwrite this encrypted partition, or unlock the bootloader.
Once you have used the old rom exploit to root the phone, you can flash any stock rom without fear. Stock roms are designed to work with the TA partition and pushing a stock rom onto your phone will not damage your DRM keys. That's why I said unlocking the bootloader is a big deal, not to be done just to root a phone. There are less damaging ways to get to an MM build, with all your camera functions intact.
Click to expand...
Click to collapse
so if i want to root but still keep my DRM keys i must use my phone with stock roms only? that's fair
Thanks again
Gandora42 said:
so if i want to root but still keep my DRM keys i must use my phone with stock roms only? that's fair
Thanks again
Click to expand...
Click to collapse
I just would like to add that you don't have to keep stock roms (like the pre-rooted stock roms) but also stock based custom roms, for example SliMM (http://forum.xda-developers.com/z3-compact/development/rom-slimm-t3359831). There are probably more stock based custom roms but SliMM is probably the only one that is being actively developed. I use it daily and love it.
CaptainJohny said:
I just would like to add that you don't have to keep stock roms (like the pre-rooted stock roms) but also stock based custom roms, for example SliMM (http://forum.xda-developers.com/z3-compact/development/rom-slimm-t3359831). There are probably more stock based custom roms but SliMM is probably the only one that is being actively developed. I use it daily and love it.
Click to expand...
Click to collapse
Oh, you mean Slim like I mentioned in my first post
Didgesteve said:
Oh, you mean Slim like I mentioned in my first post
Click to expand...
Click to collapse
Yes. Sorry for basically repeating your post, I just wanted to make it a little bit more clear for him, that there is a difference between stock based custom rom and a custom rom
to tell you the truth, i didn't know that slimm rom was a custom rom, i thought it was a stock rom with "more features"
If you don't know what root is etc I suggest you do some research on it before just jumping in without knowing anything about it ?
Sent from my D5803 using Tapatalk
Without downgrade to 5.1
pradeepvg said:
Without downgrade to 5.1
Click to expand...
Click to collapse
No, you need to flash Lollipop .266 version and have to use Iovyroot tool to back up DRM Key. You can flash any version using flashtool with full wipe (data to be backed up)
I have a Pure Edition xt1095 with unlocked bootloader and stock Android 6.0 OTA. I just installed TWRP 3.2.1 and took a nandroid. However if I ever wanted to go back to stock without using the nandroid backup, is there any reason I cannot flash the Motorola stock 5.1 image (found here) and then take the OTA again to get back to 6.0 ? I have searched and most of the posts say it can be done but the individual was coming from CM or some other non-stock ROM. My concern is that by taking the OTA stock 6.0 firmware I have somehow updated my bootloader version and it will no longer allow me to revert back to the 5.1 image. Can anyone confirm or deny?
Hi all - what is the best way to achieve root on a fresh XZ1C out of the box?
I'd like to retain all camera functionality and quality consistent with stock rom (which I've read is possible after the latest December Pie update). I'm ok with losing DRM keys and associated features like BRAVIA display engine
From browsing this forum, I would guess the following steps are appropriate:
1. From shipped rom base, use OTA to upgrade to latest stock Pie firmware
2. Unlock bootloader using sony website
3. Install Magisk 18.0
Can anyone share their experience of advise the best way to go about this? Thanks!
Why would you want to lose drm keys as it's possible to make a backup before unlocking?
https://forum.xda-developers.com/xp...devonly-exploits-temp-root-to-backup-t3795510
This.
Downgrade -> Backup ta -> unlock bootloader Flash latest via newflasher -> flash secd patch for pie -> flash twrp -> flash magisk -> profit
wyt18 said:
Hi all - what is the best way to achieve root on a fresh XZ1C out of the box?
I'd like to retain all camera functionality and quality consistent with stock rom (which I've read is possible after the latest December Pie update). I'm ok with losing DRM keys and associated features like BRAVIA display engine
From browsing this forum, I would guess the following steps are appropriate:
1. From shipped rom base, use OTA to upgrade to latest stock Pie firmware
2. Unlock bootloader using sony website
3. Install Magisk 18.0
Can anyone share their experience of advise the best way to go about this? Thanks!
Click to expand...
Click to collapse
It's a lot of work but it's possible. I just got my phone and now have Pie with Magisk 18.0 rooted.
Basically follow the directions here. Note the step " FIRST FLASH THE LATEST FIRMWARE THEN REBOOT- USE LATEST FLASHTOOL" use Flashtools to download the latest firmware (Pie) and flash it.
From my experience DRM keys are no longer an issue with Pie because I didn't apply any fix and the camera is working.
vofferz said:
Why would you want to lose drm keys as it's possible to make a backup before unlocking?
https://forum.xda-developers.com/xp...devonly-exploits-temp-root-to-backup-t3795510
Click to expand...
Click to collapse
does this method allow you to continue flashing latest stock firmware after restoring TA? I need the regular security patch updates to meet BYOD policies
wyt18 said:
does this method allow you to continue flashing latest stock firmware after restoring TA? I need the regular security patch updates to meet BYOD policies
Click to expand...
Click to collapse
Sure. I have the latest Customized CH (47.2.A.4.41) firmware on my phone.
You just have to flash them manually if you unlock bootloader (which is required for root).
Just never flash the .ta-files or persist*.sin to avoid losing keys or userdata*.sin when you update if you want to keep your data.
Also if you flash the secd patch for Pie (provided somewhere in the TA backup thread) you get an OTA update notification when an update is available for your fw customization. You won't be able to update automatically though but have to flash manually with newflasher.
LuminousOne said:
It's a lot of work but it's possible. I just got my phone and now have Pie with Magisk 18.0 rooted.
Basically follow the directions here. Note the step " FIRST FLASH THE LATEST FIRMWARE THEN REBOOT- USE LATEST FLASHTOOL" use Flashtools to download the latest firmware (Pie) and flash it.
From my experience DRM keys are no longer an issue with Pie because I didn't apply any fix and the camera is working.
Click to expand...
Click to collapse
thanks! since this is a kernel fix, does it prevent you from upgrading to the latest stock firmware via newflasher? seems more complicated than the solution above where you backup the TA / DRM keys ...
wyt18 said:
thanks! since this is a kernel fix, does it prevent you from upgrading to the latest stock firmware via newflasher? seems more complicated than the solution above where you backup the TA / DRM keys ...
Click to expand...
Click to collapse
Not sure if I'm understanding your question but I could not get newflasher to work. Flashtools got the job done fine. If you're concerned about future updates, any root method by Magisk should be ok since it's systemless.
LuminousOne said:
Not sure if I'm understanding your question but I could not get newflasher to work. Flashtools got the job done fine. If you're concerned about future updates, any root method by Magisk should be ok since it's systemless.
Click to expand...
Click to collapse
have you updated to the latest Pie firmwares as they were released? one potential problem with the kernel DRMfix method is that the DRMfix patch comes with the kernel, which gets updated with each rom and security patch release. So new rom updates could potentially "erase" the DRMfix. Flashing a new rom over the DRMfix could keep root, but remove the effects of DRMfix (and impact camera functionality)
the other method above (backing up and restoring TA) seems to be more future proof to allow for updates as new roms get released
vofferz said:
Sure. I have the latest Customized CH (47.2.A.4.41) firmware on my phone.
You just have to flash them manually if you unlock bootloader (which is required for root).
Just never flash the .ta-files or persist*.sin to avoid losing keys or userdata*.sin when you update if you want to keep your data.
Also if you flash the secd patch for Pie (provided somewhere in the TA backup thread) you get an OTA update notification when an update is available for your fw customization. You won't be able to update automatically though but have to flash manually with newflasher.
Click to expand...
Click to collapse
how do you flash manually to retain the root? i excluded *.ta and persis*.sin on latest firmware and flash it, but root and twrp are gone
is there any file that should be excluded to retain the root?
autobanned said:
how do you flash manually to retain the root? i excluded *.ta and persis*.sin on latest firmware and flash it, but root and twrp are gone
is there any file that should be excluded to retain the root?
Click to expand...
Click to collapse
Follow the instructions on janjan's kernel thread
autobanned said:
how do you flash manually to retain the root? i excluded *.ta and persis*.sin on latest firmware and flash it, but root and twrp are gone
is there any file that should be excluded to retain the root?
Click to expand...
Click to collapse
You can just flash magisk again to gain root access. Not a big deal.
Or try j4nn's instructions with modified kernel: https://forum.xda-developers.com/xp...oted-kernel-hiding-bootloader-unlock-t3898711