Rooting while keeping DRM keys in MM for the complete noob - Xperia Z3 Compact Q&A, Help & Troubleshooting

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

Related

Rooting .290 JB 4.3

Hello,
Coming from a Galaxy S2 flashing and rooting is not new to me but for me there are some questions for the Xperia Z1.
When i bought the Z1 it was on 4.2.2, and offcourse i wanted root the same day
After trying numerous times with Vroot i gave up.
After some more reading i read that i had to downgrade and then flash an older version, then root and flash teh correct version and so on.....(cant find the correct topics anymore )
After doing that my phone wasnt working properly and i connected with PC Companion and it gave me the update to .290 JB 4.3 and everything was fine except foor root.
Did some more reading and found the solution,
Now I'm reading that if you are on .290 4.3JB that root isnt possible(correct me if im wrong).
I want to share how i did it because for me it went very easy.The hardest part was getting the drivers installed correctly hhaha
First i unlocked the bootloader and then i flashed a CWM with root and recovery.
I followed the steps provided on this links.
http://techbeasts.com/2013/12/18/how-to-unlock-bootloader-of-sony-xperia-devices-guide/
http://techbeasts.com/2013/12/19/in...ng-latest-14-2-0-a-290-firmware-how-to-guide/
Al of this went so easy that i'm startin to wonder if its me who did it wrong and dont understand it or if you didnt know about it,
The only thing i forgot was a TA backup :angel:
to MODS....if its in the wrong section please replace it.
Actually it is the official way. Unlock -> CWM -> Root with CWM (Notification)
Rooting 4.3 isn't impossible, but morr difficult than on earlier versions. Google wanted to improve the security of android. Most of the ways which "make" the opportunity of rooting are malware-ways too.
You don't need to backup your TA partition with .290 and above, because the camera will work after the BL unlock.
The big question is if root for unlocked boot loaders will ever be available for 4.3! I really doubt it.
Sent from my C6903 using xda app-developers app
You mean Locked Bootloader, i think?
Question about CWM, does it function the same as it did with my S2? So, back-up and restore with CWM?
sent from rooted en unlocked 4.3 Jb Xperia Z1
djg269 said:
Question about CWM, does it function the same as it did with my S2? So, back-up and restore with CWM?
sent from rooted en unlocked 4.3 Jb Xperia Z1
Click to expand...
Click to collapse
it should, why are u asking ?
Curious
Eager to try but not in the mood for a complete do over if it fails
sent from rooted en unlocked 4.3 Jb Xperia Z1
Ohh, I will be glad to rooting without unlocking BL...on 4.3..but still no way...
This works just fine, thanks for sharing this! Just FYI, this is also an interesting read about getting full root access on 4.3: http://forum.xda-developers.com/showthread.php?t=2573921
eclyptos said:
Ohh, I will be glad to rooting without unlocking BL...on 4.3..but still no way...
Click to expand...
Click to collapse
I have heard from @shem2409 that a partial root on LB for 290 (4.3) is possible, but I have not figured out how to do it yet. I think you can pull it off with the insecure ramdisk hack, but to install that, you need to install XZDualRecovery; to install XZDR, you need to be rooted; it's only possible to root 534 LB and when upgrading to 290 root is lost. So, it seems to be a chicken-and-egg problem to me at the moment. I think I must be missing something.
xasbo said:
I have heard from @shem2409 that a partial root on LB for 290 (4.3) is possible, but I have not figured out how to do it yet. I think you can pull it off with the insecure ramdisk hack, but to install that, you need to install XZDualRecovery; to install XZDR, you need to be rooted; it's only possible to root 534 LB and when upgrading to 290 root is lost. So, it seems to be a chicken-and-egg problem to me at the moment. I think I must be missing something.
Click to expand...
Click to collapse
That's why I do not rooted mine phone yet. Partial root is not worth to do, full root is what we really need but still under testing and also Unlocked Bootloader is needed. Unlock bootloader we lose the DRM keys which we need if one day we want go back to stock and not lose warranty but to do that we have to Buckup TA. To Backup TA we need root, but I updated to 4.3 and I can't. It's to early to fully rooting 4.3. We have to wait. Developers are working on that and I hope a full root come without unlock bootloader. I hope so.
eclyptos said:
That's why I do not rooted mine phone yet. Partial root is not worth to do, full root is what we really need but still under testing and also Unlocked Bootloader is needed. Unlock bootloader we lose the DRM keys which we need if one day we want go back to stock and not lose warranty but to do that we have to Buckup TA. To Backup TA we need root, but I updated to 4.3 and I can't. It's to early to fully rooting 4.3. We have to wait. Developers are working on that and I hope a full root come without unlock bootloader. I hope so.
Click to expand...
Click to collapse
If you want to backup TA now, you can - flash back to any 534 FTF, root, make your backup, then upgrade back to 290.
xasbo said:
If you want to backup TA now, you can - flash back to any 534 FTF, root, make your backup, then upgrade back to 290.
Click to expand...
Click to collapse
This is what I don't want to do. Unlocking Bootloader on 4.3 will also compromise few features like Bionz and X-Reality. I don't think I really need them but for me will be good enough to have Full Root with Locked Bootlader and Apps to SD. I don't ask to much, so I wait.
eclyptos said:
This is what I don't want to do. Unlocking Bootloader on 4.3 will also compromise few features like Bionz and X-Reality. I don't think I really need them but for me will be good enough to have Full Root with Locked Bootlader and Apps to SD. I don't ask to much, so I wait.
Click to expand...
Click to collapse
You just took those words from my fingers. The wise way here is waiting and cheering developers to figure out how things work with Z1, 4.3 just came a few weeks ago and (hopefully) we will get 4.4 soon, so for that time you'll have to do that trickery again to keep your phones rooted.
AntiDroid said:
Actually it is the official way. Unlock -> CWM -> Root with CWM (Notification)
Rooting 4.3 isn't impossible, but morr difficult than on earlier versions. Google wanted to improve the security of android. Most of the ways which "make" the opportunity of rooting are malware-ways too.
You don't need to backup your TA partition with .290 and above, because the camera will work after the BL unlock.
Click to expand...
Click to collapse
I mistakenly took the .290 update as well and I'm now looking for a way out. This whole backing up the TA thing worries me because I'm afraid I'll lose those DRM keys and bravia etc..... Are you saying that I will be fine and all the keys will be intact if I follow this guide?
Is it possible to downgrade the firmware instead?
What would you suggest?
Thanks
xasbo said:
I have heard from @shem2409 that a partial root on LB for 290 (4.3) is possible, but I have not figured out how to do it yet. I think you can pull it off with the insecure ramdisk hack, but to install that, you need to install XZDualRecovery; to install XZDR, you need to be rooted; it's only possible to root 534 LB and when upgrading to 290 root is lost. So, it seems to be a chicken-and-egg problem to me at the moment. I think I must be missing something.
Click to expand...
Click to collapse
Ok, so here is a little clarification
You need to downgrade to .534, root, install recovery and then flash a prerooted .290 rom from (http://forum.xda-developers.com/showthread.php?t=2572988) or one of the stock-based custom roms such as monxdified (http://forum.xda-developers.com/showthread.php?t=2463675) if you want a partially rooted, locked bootloader 4.3 firmware on your Z1. There is an instruction on how to install on locked bootloader in the thread.
Rooting on the newest version of Android 4.3.3 isn't impossible on the Xperia Z1, it just takes you more steps than normal to actually get full root access. I have a locked bootloader as well but I was able to get a rooted version of Android 4.3.3, specifically the iHackers 2.0 ROM running Android 4.3.3 with full root access. Here's how I got full root access on the iHackers 2.0 ROM:
1) Download the .ftf file named C6903 14.1.G.1.534 Global 1277-2880_R4A from the compiled FTF thread at this link: http://forum.xda-developers.com/showthread.php?t=2469191
This is a version of the original Stock Rom that the VROOT program will actually work on when trying to ROOT your phone.
2) Flash the ROM you downloaded using Flashtool (steps on how you can go about doing that should be in the Xperia Z1 General forum.) and now, you're ready to root your phone with it.
3) Download, install and run VROOT to root your phone. Again, more information on how to properly root your phone using VROOT can be found in the Xperia Z1 General forum. For me, I just turned on USB Debugging on my Z1, connected my phone to my computer while VROOT was running and clicked the green button until I got root access. It's extremely easy.
4) With Root Access, now you can download and install Dual Recovery for the Xperia Z1 on your phone.
5) Download the latest iHackers 2.0 ROM from the Xperia Z1 Android Development thread and copy it to your phone. This is hands down, the best ROM for the Xperia Z1 right now in terms of battery life. With the latest 4.3 update, I'm able to get over 2 Days worth of battery life on one charge. Battery life is much better on the new iHackers 2.0 ROM running Android 4.3.
6) Download the flashable Locked Dual Recovery for the Xperia Z1 here. http://nut.xperia-files.com/
The file is called XZ-lockeddualrecovery2.7.63-BETA.flashable.zip (8.48MB), download it and copy it to your phone, preferably the same place you copied the iHackers 2.0 ROM. To make things easier for yourself, create a new folder on your phone or SD Card in your phone and name it iHackers. Copy both the iHackers 2.0 ROM and the flashable Locked Dual Recovery.zip file into this folder.
7) With both files now copied to a folder on your phone, you're now ready to go into recovery to flash the iHackers 2.0 ROM. Boot into recovery and once you're there, do a Wipe Data/Factory Reset before Installing the ROM.
The rest of these steps are now taken directly from the iHackers 2.0 download thread on the Xperia Z1 Android Development forum.
8) Install the ROM and THEN Dual Recovery. Don't make the same mistake I did, once the installer is finished, DON'T REBOOT THE DEVICE. Uncheck the "Reboot Device" box and go back to recovery to install the flashable Dual Recovery.zip file that's in the iHackers 2.0 folder.
9) Switch Off Your Phone (Do Not Reboot). Select No to Disable Flash Recovery Confirmation.
10) Install Kernel.ftf for C6903 (.290) or Kernel.ftf for C6902 (.290) with Flashtool to get compatible Kernel and Baseband. To download the kernel.ftf file, go to the original iHackers 2.0 thread to download and flash the kernel using Flashtool. You should be familiar with Flashtool at this point since if you make it to this step, you've already used Flashtool once to flash the .534 baseband version of Android.
11) Reboot and Enjoy. Now you're running the latest version of Android 4.3 on your Xperia Z1 on a Locked Bootloader WITH full Root Access. Sure, it's not the stock version but the iHackers 2.0 version of Android 4.3 is just as good, if not better. This will certainly do until there's a better way to simply root the newest Stock Version of Android 4.3.
I've been looking into unlocking my bootloader to install custom kernels on my Z1 but the battery life and performance on my Z1 with a locked bootloader is already pretty impressive. I can't imagine how good it could be with a custom kernel.
deli pastrami said:
Are you saying that I will be fine and all the keys will be intact if I follow this guide?
Click to expand...
Click to collapse
No, if you Unlock Bootloader you will lost the DRM keys permanently with Bionz and X-Reality, even with Android 4.3, if you do not do a backup, but the difference from 4.2 is that your phone will still working properly.
deli pastrami said:
Is it possible to downgrade the firmware instead?
Click to expand...
Click to collapse
Yes.
deli pastrami said:
What would you suggest?
Click to expand...
Click to collapse
Nobody can suggest what to do. You have to figure out by yourself what you need. It's your own risk.
---------- Post added at 12:11 AM ---------- Previous post was at 12:00 AM ----------
x016x said:
Rooting on the newest version ..bla..bla..bla
....bla..bla..bla..bla...king my bootloader to install custom kernels on my Z1 but the battery life and performance on my Z1 with a locked bootloader is already pretty impressive. I can't imagine how good it could be with a custom kernel.
Click to expand...
Click to collapse
Thanx man. I appreciate the time you took to explain the process step by step. One step very important you forgot to mention, Backup TA, never forget to mention that. Anyway I will check if this actually get me full root and all the stuff and when I finally will lose my patient I will start follow the guide and flashing and burning my Z1.
shem2409 said:
Ok, so here is a little clarification
You need to downgrade to .534, root, install recovery and then flash a prerooted .290 rom from (http://forum.xda-developers.com/showthread.php?t=2572988) or one of the stock-based custom roms such as monxdified (http://forum.xda-developers.com/showthread.php?t=2463675) if you want a partially rooted, locked bootloader 4.3 firmware on your Z1. There is an instruction on how to install on locked bootloader in the thread.
Click to expand...
Click to collapse
Ahh, cheers, I thought there was a way to root any arbitrary ROM, that's where I was getting hung up. The pre-rooted options make total sense.
eclyptos said:
Thanx man. I appreciate the time you took to explain the process step by step. One step very important you forgot to mention, Backup TA, never forget to mention that. Anyway I will check if this actually get me full root and all the stuff and when I finally will lose my patient I will start follow the guide and flashing and burning my Z1.
Click to expand...
Click to collapse
The instructions didn't say to unlock the bootloader, which is the only sure-fire way to lose your TA partition. However, I would agree there's no good reason *not* to back it up anyway. Better safe than sorry!
xasbo said:
The instructions didn't say to unlock the bootloader, which is the only sure-fire way to lose your TA partition. However, I would agree there's no good reason *not* to back it up anyway. Better safe than sorry!
Click to expand...
Click to collapse
Ahhh, ok, so you are confirming that the guide is incomplete and we have to unlock bootloader anyway if I follow that? Hmmm...I am a bit puzzled.
eclyptos said:
Ahhh, ok, so you are confirming that the guide is incomplete and we have to unlock bootloader anyway if I follow that? Hmmm...I am a bit puzzled.
Click to expand...
Click to collapse
Sorry, no. In his instructions, UB is not necessary because XZDualRecovery can be installed on LB. The reason skipping the TA backup is okay is because the instructions do not unlock the BL.

[Q] Point me in the right direction...??

Hi there guys!
I want to root my Z1 c6906, unlock the bootloader and flash custom roms, but im kind of confused right now because i have read a lot of different guides and im not pretty sure which one to follow now. I also learned on one thread that i should do a TA and DRM Keys backup because they can be lost forever if i don't do a backup. Also the IMEI. So im not pretty sure how to do that. Also saw a thread about bricking the device, and kind of got scared. Btw, i have plenty of experience working on Android devices, unlocking, rooting, flashing roms, etc. I have used Android since the G1, but im kind of confused right now about how to proceed on this device because this is my first Sony and my last phone was a Nexus 4, which was virtually unbrickable. Can anyone help me out here?
djluis48 said:
Hi there guys!
I want to root my Z1 c6906, unlock the bootloader and flash custom roms, but im kind of confused right now because i have read a lot of different guides and im not pretty sure which one to follow now. I also learned on one thread that i should do a TA and DRM Keys backup because they can be lost forever if i don't do a backup. Also the IMEI. So im not pretty sure how to do that. Also saw a thread about bricking the device, and kind of got scared. Btw, i have plenty of experience working on Android devices, unlocking, rooting, flashing roms, etc. I have used Android since the G1, but im kind of confused right now about how to proceed on this device because this is my first Sony and my last phone was a Nexus 4, which was virtually unbrickable. Can anyone help me out here?
Click to expand...
Click to collapse
Quite simple process actually, just flash .534 ftf with flashtool and root with bin4ry or use nuts dual recovery installer. To backup your ta before unlocking bootloader, simply use the Backup TA tool
Ahki767 said:
Quite simple process actually, just flash .534 ftf with flashtool and root with bin4ry or use nuts dual recovery installer. To backup your ta before unlocking bootloader, simply use the Backup TA tool
Click to expand...
Click to collapse
Thanks. And what about the DRM keys?
djluis48 said:
Thanks. And what about the DRM keys?
Click to expand...
Click to collapse
The DRM keys are in the Ta partition
Ahki767 said:
The DRM keys are in the Ta partition
Click to expand...
Click to collapse
I see. Another question, i see that for my devices the only .534 TFT available is for Rogers. There is no problem if i flash using Flashtool?
djluis48 said:
I see. Another question, i see that for my devices the only .534 TFT available is for Rogers. There is no problem if i flash using Flashtool?
Click to expand...
Click to collapse
Yes, I'm sure there'll be no problems
Ahki767 said:
Yes, I'm sure there'll be no problems
Click to expand...
Click to collapse
Sorry for bringing back this thread. Now i got time to start trying to unlock the phone and flash custom roms, was extremely busy before with work.
New problem: After i downgraded to FTF .534, rooted and made the TA Backup, i check if the phone was "allowed" to be unlocked and surprise, it says it can't be unlocked. Tried unlocking with Flashtool and it said the same thing. Can the phone be unlocked or is there a way to flash roms without unlocking?
Right now im feeling really depressed with this phone. If i can't unlock it, i most likely will sell it and get something that can be unlocked.
One of the reasons i want to unlock is because on 4.4, Google prohibited the phone to write on the Ext.SD and i want a way to overcome that prohibition and use it like i was able to on 4.3.
If it says it cannot be unlocked then it cannot be unlocked
However, you can still sort out the issue of writing to the ext SDcard by rooting and following the instructions in this thread
http://forum.xda-developers.com/showthread.php?t=2687966
In order to do that, you only need root, not to be unlocked
gregbradley said:
If it says it cannot be unlocked then it cannot be unlocked
However, you can still sort out the issue of writing to the ext SDcard by rooting and following the instructions in this thread
http://forum.xda-developers.com/showthread.php?t=2687966
In order to do that, you only need root, not to be unlocked
Click to expand...
Click to collapse
Ok. That sucks. Thanks for the link.
Another question: How i root.757? I was able to root .534, but not sure how i need to proceed now. Do i need to download generic .757 and apply any root method? Or the root will still be there if i flash it over my current rooted .534?
1) Flash a stock 534 FTF (Ignore if you are already on 534)
2) Install dual recovery (Find files and instructions in the XZ dual recovery thread in the cross device development section)
3) Flash a prerooted 757 rom (Find files and instructions in the development section)
Done, 3 easy steps
gregbradley said:
1) Flash a stock 534 FTF (Ignore if you are already on 534)
2) Install dual recovery (Find files and instructions in the XZ dual recovery thread in the cross device development section)
3) Flash a prerooted 757 rom (Find files and instructions in the development section)
Done, 3 easy steps
Click to expand...
Click to collapse
So i can flash any rom now with that recovery? Even if my bootloader is still unlocked? Or only stock based roms?
djluis48 said:
So i can flash any rom now with that recovery? Even if my bootloader is still unlocked? Or only stock based roms?
Click to expand...
Click to collapse
If your bootloader is unlocked you can flash any rom from the development sections or the original development section
But if your bootloader is unlocked you do not need to do any of this to root.
Just flash DooMKerneL or [NUT]s XZDR kernel
If your bootloader is locked, you have to downgrade and root that way. Then you can flash any stock based rom, look in the development section for them
gregbradley said:
If your bootloader is unlocked you can flash any rom from the development sections or the original development section
But if your bootloader is unlocked you do not need to do any of this to root.
Just flash DooMKerneL or [NUT]s XZDR kernel
If your bootloader is locked, you have to downgrade and root that way. Then you can flash any stock based rom, look in the development section for them
Click to expand...
Click to collapse
Oops. Im sorry. I meant locked. Was doing something else and wrote that fast. Thanks for the answer. Will check. Got the DualRecovery installed now and will try to install a prerooted .757 later.

[Q] ViperX Concept Marshmallow by Jenkins-84

As I don't hale enough posts to ask this in Development section under ROM trend, I'm creating new one.
So I used ViperX for a long time, but now I'm back to stock and also restored DRM keys. I've notced, that you can flash Marshmallow Concept without unlocking Bootloader. So why ViperX need to have unlocked BL? In fact it's just rooted Concept with some addons. Isn't it possible to install XZDualRecovery and then flash ViperX through this? Can anybody explain this to me?
Pisiont said:
As I don't hale enough posts to ask this in Development section under ROM trend, I'm creating new one.
So I used ViperX for a long time, but now I'm back to stock and also restored DRM keys. I've notced, that you can flash Marshmallow Concept without unlocking Bootloader. So why ViperX need to have unlocked BL? In fact it's just rooted Concept with some addons. Isn't it possible to install XZDualRecovery and then flash ViperX through this? Can anybody explain this to me?
Click to expand...
Click to collapse
Its not that easy bro xD
To make it short its because bootloader, if you re-lock it you need get invited or flash stock otas, which will mean no recovery (only the stock sony one, you cant Flash stuff only signed otas from sony) also you dont have no root in /system so you cant modify it.
If you unlock it your able to Flash a custum kernel which contains recovery, that means also that you can use customized roms, such as normal root and modify all partition, also you can get twrp recovery.
If you want all answered, read Sony Concept Initiative Thread from jenkins-84 on the last 10 sites theres allmost all your question answered.
Peace

Order of steps for reverting to Stock (&Restore DRM-Functions)

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

Upgrading stock versions

First of all, first post here so hello everyone and thanks for having me
My issue is the following, I have a C6906 which I bought a couple of years ago from Ancel (one of the carriers here in Uruguay) and it has always had a branded 4.3 (14.2.A.1.136 to be precise) which has never been updated by Ancel (the version listed in XperiFirm is the same I have and my phone has never offered an OTA update). I asked Ancel about this recently to see if I could expect any official updates and was basically told "yeah, that's not happening".
So what I would like to do is upgrade the phone to Lollipop by myself, namely to 14.6.A.1.236 from the US which seems to be the most current and generic stock available. Rooting and custom ROMs are (at this point) not something I'm looking at.
So I read a bunch of stuff and I think I'm "ready" to do my upgrade, but before messing around with my phone, I wanted to have somebody else more knowledgeable check my plan and give me a couple of pointers so I avoid any snafus as much as possible
Right now I have Flashtool (0.9.21.0), XperiFirm (4.9.1) and I've used it to download/unpack the ROM I think I want (C6906_Customized US_1276-7484_14.6.A.1.236_R2D), so my questions are:
1) Are there any glaring mistakes in the tools/approach described above?
2) Since I'm doing stock -> stock, can I perform the flash/upgrade without unlocking my bootloader? As I understand it, the bootloader checks for the installed ROM signature and I would expect the new one to also be signed by Sony, but I don't know if the signature also includes my carrier (and that's why I haven't been offered an upgrade yet).
3) If the answer to 1 is negative (i.e. I have to unlock my bootloader anyway), is there any advantage in going for stock instead of some other custom ROMs? As I understand it, unlocking the bootloader removes DRM keys that might kill some functionality (like "advanced" camera algorithms), would that happen for both stock and custom ROMs?
Thanks a lot in advance for any replies/pointers :fingers-crossed:
You don't need to unlock bootloader to flash stock ROM. Unlocking is need if you want a custom kernel which is not your case. Anyway you can backup your DRM keys and use that to lock/unlock your bootloader whenever you want to. See here http://forum.xda-developers.com/showthread.php?t=2292598
Thanks... Just to confirm something else, if I try to flash without unlocking the bootloader, there's no chance the version I'm installing won't work right? If it's not a properly signed version the locked bootloader will prevent Flashtool from putting it on the phone?

Categories

Resources