General Xperia rooting question - Xperia Z5 Compact Q&A, Help & Troubleshooting

I'm thinking of replacing my Moto X with a Sony Z ... I've never had a Sony (since the K800!), so wondering:
1. Are they fairly easy to root?
2. Are there Marshmallow ROMs available? (On the Dev forum here for Z5C I see basically nothing.)
3. Are there CM builds? (Over at CM devices I only see Z3, no Z5 ?)
4. Does Active/Ambient Display work well on these?
Thanks!
SonyNoob

1. Yes if you don't care about the DRM keys (which is required for BRAVIA engine and TrackID to work, also vastly improves low light performance of camera), go ahead and unlock the bootloader. But I don't recommend it. Once you unlock the bootloader the DRM keys will be wiped and you cannot backup the keys. There is no way to root without unlocking the bootloader yet.
2,3. Not yet. Z5C is a very new phone.
4. I don't see such option in settings. Use Xposed module if you want it.

Related

[Q] Sony apps impacted by DRM partition / Relocking the bootloader with custom kernel

Hi,
my question consists out of two parts, firstly:
Which (Sony) apps make use of the DRM-partition / DRM-keys?
and secondly:
Will my Xperia tablet Z function as it should if I backup my DRM-partition, unlock the bootloader, install a custom kernel (on stock but rooted firmware) and restore my backed up DRM-partition, effectively re-locking the bootloader again?
Thank you in advance.
Best regards.
Pihkal said:
Hi,
my question consists out of two parts, firstly:
Which (Sony) apps make use of the DRM-partition / DRM-keys?
and secondly:
Will my Xperia tablet Z function as it should if I backup my DRM-partition, unlock the bootloader, install a custom kernel (on stock but rooted firmware) and restore my backed up DRM-partition, effectively re-locking the bootloader again?
Thank you in advance.
Best regards.
Click to expand...
Click to collapse
Sorry I can't answer your specific questions, but here's my experience :
I made the mistake of unlocking the bootloader before backing up the TA partition and lost my DRM keys.
This prevented me downloading movies/music I purchased in Sony Entertainment Network using the stock Sony movie & music players.
(Fortunately I purchased the items with my free £20 credit that came with the tablet Z, and I can watch them on my Playstation. Also the SEN store is too expensive so I won't use it again anyway!)
I just use other services (Google Play Music, Amazon MP3, Google Movies), or rip my DVDs. All fine.
It has also been mentioned that the Bravia Engine will stop working. I did go back to a stock ROM at one point, and it let me select Bravia Engine in settings - but I don't know if it worked or not. Some people say it only makes the picture look false anyway.
I guess it may affect re-sale value, but most trade in sites I've used don't bother checking that level of detail. They just want the basics - device turns on, etc.
So, I've got mixed feelings. Kicking myself that I didn't read up more and back-up the DRM stuff before unlocking the bootloader...but not really missing out.
Thanks for your reply.
Bummer you lost lost your DRM keys.
I have the tendency to read a lot on the subject before I attempt it.
Judging by your post the only interesting thing that would stop working would be the Bravia-engine, I don't know how/if it enhances the image, I'll disable it and check the result once I get home from work.
I don't really care about SEN or any other Sony app, only the IR remote app and the sixaxis PS3 controller app I find useful, these need to work, and maybe also the Bravia-engine.
Any thoughts on the bootloader question?
Will the device boot if I install a custom kernel (Doomlord's for example) and re-lock the bootloader?
I can't see why it shouldn't boot but you never know...
Don't want to brick my brand new 500€ device...
Edit:
I should read some more before asking stupid questions:
2: nope a locked bootloader won´t accept any kernels beside stock sony ones
Click to expand...
Click to collapse
Regards

Root and DRM keys on Marshmallow?

Dear community,
I've recently got a Z5 compact (updated it to MM already) and after reading around here and around the Z5 forums I came to a cruel conclusion (didn't do my homework before getting the phone, but that's my problem):
You cannot root without unlocking the bootloader and you cannot backup the DRM keys without having root access.
Is this correct? If so, how did people writing the tutorials about DRM keys backup achieve root access in the first place?
I'm a little bit confused here...
Sent from my Nexus 5 using Tapatalk
daniel_loft said:
Dear community,
I've recently got a Z5 compact (updated it to MM already) and after reading around here and around the Z5 forums I came to a cruel conclusion (didn't do my homework before getting the phone, but that's my problem):
You cannot root without unlocking the bootloader and you cannot backup the DRM keys without having root access.
Is this correct? If so, how did people writing the tutorials about DRM keys backup achieve root access in the first place?
I'm a little bit confused here...
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
currently,for the z5 family,there is no way to root without unlocking bootloader.Period.
the tutorials you see on the z5 pages are ways to restore sony credentials after unlocking bootloader but does not restore TA partition (where the DRM keys are) which is lost once you unlock bootloader. i.e you trick the phone into believing the bootloader is unlocked and can still enjoy the sony goodies with the patch (very simplified explanation here).
older models are able to achieve root (like the Z3+) only recently due to exploit found on MM and also using older firmwares.
you might want to hold back on unlocking bootloader for now.the z5 has impressive hardware rivaling samdung.the sad part is backing up TA partition while bootloader is locked,which has not been found.
that or you can hold out till the new nexus arrives.
Frostmore is correct in that you cannot backup DRM currently. But I disagree that you should hold off on doing so, the z5c lacks in most all places and root helps fix some stuff.
Does the loss of DRM keys affect camera performance?
DrYnternet said:
Does the loss of DRM keys affect camera performance?
Click to expand...
Click to collapse
yes it does, Mobile Bravia Engine is gone, Track ID in music player is gone and camera performance is also gone.
but now you can backup and restore your own TA if you have not unlocked bootloader yet
I thought that It is possible to backup TA partition with iovyroot here. It is working on Lollipop. So if you upgraded to Mashmallow, you need to downgrade with flashtool here which does not unlock the bootloader. After downgrade It is possible to backup DRM keys I think isn't it?
Yes downgrade then unlock boot loader then root then relock with DRM keys.
Sent from my E6633 using XDA-Developers mobile app
---------- Post added at 12:27 PM ---------- Previous post was at 12:27 PM ----------
It will say boot loader status relocked in service menu
Sent from my E6633 using XDA-Developers mobile app
I am completely baffled. I managed to restore ALL my original DRM keys!
I lost them while unlocking the bootloader, and then rooted my device. I also didnt do my homework and didn't realise I would lose all the DRM keys. When I factory resetted my device, using companion, I got my phone working on android 7.0 again, but ofcourse the drm keys were gone. Filming was almost impossible and fingerprint was not working etc.
And for whatever reason, guess I was bored, I unlocked the bootloader again, since it wouldn't matter anyway. So I unlocked the bootloader with oem unlock and the sony developer site, and then the device started rebooting. It looked like a bootloop, it took about 5 minutes, everything on my phone was gone (damnit). But when I tried fingerpringt, camera, everything worked like before! I have no idea how this happened but maybe this'll work for anyone here. aswell! From now on I'm not gonna touch ANYTHING anymore, since I just don't have enough developer knowledge.
btw: I made an account on this site especially to share this information with you :highfive:
Weslietje said:
I am completely baffled. I managed to restore ALL my original DRM keys!
I lost them while unlocking the bootloader, and then rooted my device. I also didnt do my homework and didn't realise I would lose all the DRM keys. When I factory resetted my device, using companion, I got my phone working on android 7.0 again, but ofcourse the drm keys were gone. Filming was almost impossible and fingerprint was not working etc.
And for whatever reason, guess I was bored, I unlocked the bootloader again, since it wouldn't matter anyway. So I unlocked the bootloader with oem unlock and the sony developer site, and then the device started rebooting. It looked like a bootloop, it took about 5 minutes, everything on my phone was gone (damnit). But when I tried fingerpringt, camera, everything worked like before! I have no idea how this happened but maybe this'll work for anyone here. aswell! From now on I'm not gonna touch ANYTHING anymore, since I just don't have enough developer knowledge.
btw: I made an account on this site especially to share this information with you :highfive:
Click to expand...
Click to collapse
Welcome to XDA, and thanks for going through the trouble of creating an account to share information.
However, some of the information you shared is either wrong or misinformed.
Also, this thread is quite old, digging up old threads is generally frowned upon.
First of all, if you never made a backup of your DRM keys before unlocking your bootloader, then those keys are gone. Forever. There's absolutely no possible way of restoring them.
Second, missing DRM keys do not cause the camera or fingerprint scanner to stop working. Only certain "enhancement features" are disabled, such as X-Reality that makes images appear sharper and more vivid when viewing photos/videos, or advanced low light noise reduction when taking pictures.
Many of those DRM-reliant features can be re-enabled by applying a DRM fix patch that can be found on the XDA forums.
The fingerprint scanner is disabled for certain region's firmware by Sony via software means, but it is not dependent on DRM.
You probably messed up somewhere flashing or rooting your firmware, causing functions like the camera and fingerprint scanner to not work. Do a factory reset or clean flash in case this happens.
And finally, it is clearly worded on the web page where you go to unlock the bootloader that your phone will automatically perform a factory reset upon unlocking the bootloader, so you shouldn't be surprised that all your data was erased. It's expected behavior.
You should always backup your data before fiddling with your phone, it's good practice and common sense.
So in conclusion, no, there's no way of restoring the DRM keys without a prior backup. You didn't manage to restore it.
Here's how to verify if your DRM keys are present:
In the dialer, input *#*#7378423#*#* to enter the service menu
Service tests > Security
If your keys are intact, the first three lines should all say [Key OK][Active], and at the bottom FIDO_KEYS : Provisioned
You probably fixed your camera and fingerprint issues by performing a factory reset unknowingly, which is done automatically when you unlock the bootloader as mentioned.
mhaha said:
***
Click to expand...
Click to collapse
Wow, I guess I'll just stick to reading this forum and finding solutions for my problems instead of trying to give advice. That'll look like a homeless guy, giving financial advise. Thanks for the large explanation anyway!:good:

Just want root access; happy with stock ROM. Possible?

ok so please be gentle here, coming back here after 7 years, from old Windows Mobile days!
I am a newbie to Android and want to root my Z5 compact. The only reason I want to root it is to enable some apps like Greenify and GSam battery monitor to work with all their features enabled. I do not want to flash a new ROM. I am happy with Sony's stock ROM.
Is it possible to get root access without installing / flashing a new ROM?
I have searched the internet but people talk about flashing every time I read about rooting. Then I also saw this thread: http://forum.xda-developers.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605
Lots of geeky stuff there which is fine, but again, it seems to talk about flashing the ROM, which I really do not want to do or do not see the need (yet).
Unlock boot loader:
I see that Sony lets me unlock the boot loader from their dev site. I am willing to unlock the boot loader. (Not sure if I want to do that first. Maybe unlocking BL is all I need?)
rajdude said:
ok so please be gentle here, coming back here after 7 years, from old Windows Mobile days!
I am a newbie to Android and want to root my Z5 compact. The only reason I want to root it is to enable some apps like Greenify and GSam battery monitor to work with all their features enabled. I do not want to flash a new ROM. I am happy with Sony's stock ROM.
Is it possible to get root access without installing / flashing a new ROM?
I have searched the internet but people talk about flashing every time I read about rooting. Then I also saw this thread: http://forum.xda-developers.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605
Lots of geeky stuff there which is fine, but again, it seems to talk about flashing the ROM, which I really do not want to do or do not see the need (yet).
Unlock boot loader:
I see that Sony lets me unlock the boot loader from their dev site. I am willing to unlock the boot loader. (Not sure if I want to do that first. Maybe unlocking BL is all I need?)
Click to expand...
Click to collapse
The only reason to use that guide is to backup ta keys for whatever reason you'd want to do that.
If you're after root on stock ROM the single easiest way is to unlock bootloader, flash twrp 3.0.2, flash xpower 3.0, and that's it. Solid marshmallow with root goodies. Xpower has everything and is deodexed and ready for xposed framework.
just a little more clarification please?
civicsr2cool said:
.....easiest way is to unlock bootloader, flash twrp 3.0.2, flash xpower 3.0, and that's it. ......
Click to expand...
Click to collapse
Ok thanks.....that sounds straight forward.....but isn't TWRP a ROM? (sorry, the moment I hear flashing...I think ROM)
And I am looking up xpower...not sure what that is (yet) and why do I need it
I do want xposed framework though.
I wish there was a simple straightforward answer
rajdude said:
Ok thanks.....that sounds straight forward.....but isn't TWRP a ROM? (sorry, the moment I hear flashing...I think ROM)
And I am looking up xpower...not sure what that is (yet) and why do I need it
I do want xposed framework though.
I wish there was a simple straightforward answer
Click to expand...
Click to collapse
Twrp is your recovery,you flash through fastboot, xpower 3.0 is the ROM, just a pre-modded stock ROM with options of xperia x addons. Use lite and stock kernel for xpower and you'll be set.
still a little confused
civicsr2cool said:
Twrp is your recovery,you flash through fastboot, xpower 3.0 is the ROM, just a pre-modded stock ROM with options of xperia x addons. Use lite and stock kernel for xpower and you'll be set.
Click to expand...
Click to collapse
Ok thanks! So my understanding (so far) is :
We "must" flash a ROM in order to root a phone. Did I get that correct?
Since I said I like the stock Sony ROM, you recommended the xpower 3.0 ROM.........but the point is.....I still have to flash ROM.
A little confused here...
I am a systems engineer (my day job). In Linux or Windows OS, if we want root access (to run some software or a low level command, like partitioning a disk etc), we either run SU command and put root's password OR right click and run as administrator......
We never have to install a brand new Operating System to get root access.
Just a total newbie question.....Why do we have do install a whole new OS (flash new ROM) on our Android phones to get root access?
rajdude said:
Ok thanks! So my understanding (so far) is :
We "must" flash a ROM in order to root a phone. Did I get that correct?
Since I said I like the stock Sony ROM, you recommended the xpower 3.0 ROM.........but the point is.....I still have to flash ROM.
A little confused here...
I am a systems engineer (my d Linux or Windows OS, if we want root access (to run some software or a low level command, like partitioning a disk etc), we either run SU command and put root's password OR right click and run as administrator......
We never have to install a brand new Operating System to get root access.
Just a total newbie question.....Why do we have do install a whole new OS (flash new ROM) on our Android phones to get root access?
Click to expand...
Click to collapse
Android is Linux, to gain root in the ROM you have on your phone currently all you need is an unlocked bootloader to run SU, but then you'll be left with a phone that still needs a customized kernel to keep root and a DRM fix for the camera. Xpower 3.0 is that package.
You could really benefit from reading more. Google up on dm-verity and Sony Ric, and fastboot/adb for a little better understanding of what you're getting into without a pre compiled ROM. Messing around with any Android you'll have the majority of the same steps, unlock bootloader with fastboot, flash Supersu, customized kernel.. Etc
Why use a stable compiled ROM?
Let me list down and explain to you why it's best to use a stable compiled ROM. But first you need to understand these few things before you decide to unlock your bootloader and root.
Before Sony Z models kicked in, every rooted Sony device are still able to retain all the features that came together with the phone before it was rooted. When Sony introduce the first Z model, they start to create these things called DRM keys. DRM keys are unique algorithm (i guess i should put it that way) which is attached to every phone the same way an IMEI number is attached to every phone. In short, my DRM keys cannot be used on your phone and vice versa.
DRM key: It's a unique algorithm that holds all the unique features that an unrooted Sony phone boast such as camera quality, X-reality, High Res Audio etc etc.
The moment you unlock your bootloader, that's the moment your DRM keys will be lost. But don't panic, the wonderful devs on XDA have prepared a tool to backup your TA partition (a partition that contains your DRM key) for your own convenience if you want to relock your bootloader.
Then recently Sony/Android come up with new features called Sony RIC and dm-verity. (You may Google what these are all about but to my understanding it is placing limitations to people who root their phones to meddle around with the system settings of thier phone)
With all these "hurdles", it have taken some time for devs here to find a work around and like every fairytale ending, they manage to find a way.
Now you're wondering if you can actually root without flashing another rom. Good news for you: you can! There's a guide that will teach you how to actually root and apply the work around after unlocking your bootloader and rooting.
.. But ask yourself what's the point of going through the hassle of rooting and your phone is not tweaked for performance or for theming purposes?
That's when people flash roms and in Z5 compact's case, XPower is the best rom there is. It gives you all the performance tweak you need to make your phone lag free, it has a lite version that removes all the unnecessary system apps you can't delete without root, it gives you an option to add themes and framework from Xperia X with all those work around in place.
For your second question: why is there a need to install TWRP?
TWRP is a recovery tool which is a need for all rooted phone. It's also a tool for you to backup and restore your current rom so that you can rollback to the last working configuration if your phone went into a bootloop etc. Plus i believe all these guides require you to actually use TWRP to flash the SuperSU to successfully root your phone.
I hope this explains your doubts.
Thanks a lot but...
firdyRAY, thanks a lot for the comprehensive reply to my questions. And yes, it has shed a LOT of light on my doubts.
I googled Sony RIC and dm-verity:
I could not get find much on ric
Dm-verity seems to me a way to check if the boot image has been modified from the last boot, and if it has, stop from booting. Sounds like a good idea until we understand that to flash a ROM dm-verity needs to be bypassed/turned off.
So to compile what I have understood so far:
By unlocking bootloader, you lose DRM keys. There is a way to backup DRM keys which are in the TA partition, but this is to be done BEFORE you unlock bootloader. Good that I have not done anything to my X5c yet.
The next steps for me would be to look into XPower 3 ROM…which I did and here is what I found out:
http://forum.xda-developers.com/z5-compact/development/rom-xpower-v1-0-aroma-debloat-custom-t3371100
First, what's up with the scary looking warning in RED right at the top of the first thread. I did read the OP and the second post, I did not see anything in there which IF I missed will cause my phone to explode! That is probably posted to make noobs read all instructions, right?
Second, I do not see any step in there to backup the DRM / TA partition. I guess the dev is assuming the phone already has lost the DRM, right? So I gotta find instructions on how to backup DRM / TA
Then I searched for problems in this ROM and seems to me that the fingerprint sensor is reported by many to be not working and/or buggy. I rely on the fingerprint sensor day and night. I have many apps which rely on that, like lastpass. That would be a major deal breaker for me.
So going back to stock ROM option…I remember you said "There's a guide that will teach you how to actually root and apply the work around after unlocking your bootloader and rooting."
Could you please post a link to that?
Thanks again!
I think this is a pretty great thread rajdude. It's getting people to spell out a lot of information to noobs like us that it seems most posters have taken for granted over time.
I'm a complete novice at all of this. Sort of gleaning information as I go along, but I used this guide: http://twigstechtips.blogspot.hk/2016/04/sony-z5-compact-root-without-losing-ta.html?m=0
Along with this guide: http://forum.xda-developers.com/xperia-z5/general/guide-rooting-unlocking-bootloader-t3354307
The first guide is pretty basic step-by-step instructions. It unfortunately occasionally kind of skips over a couple very small things (that will be clear as you go along), or occasionally words things in such a way that might not be completely intuitive, but maybe that's cause I need things explained to me like I'm five sometimes. Any time I might have had a question about something in the the first guide, I went to the other and found the answer. It didn't take me long to get the gist of the whole thing though, and overall, it wasn't as scary as I thought it was going to be. It'd be fantastic if someone created a video walkthrough, but so far as I know, no one has done that yet.
The guide will help you back up your TA Partition where your DRM keys are stored, unlock your bootloader, root your device, and then restore your DRM keys. In order to do this you need to downgrade to Lollipop (if you're not already on it), and then upgrade back up to Marshmallow. It will also install TWRP (which I had no clue was installed until I went into "recovery mode" by pressing UP when I saw the LED flash yellow during boot). There may be an easier way to go about this whole process, but this is the process I used.
Before jumping into anything, I'd hold off until you heard more from firdyRAY or someone more experienced. They may look at the guide I linked and be horrified.
And yeah, I haven't installed xpower yet for the same reasons you haven't. Sounds like there's even an xpower 4.0 that was released recently, but still seems kinda buggy. Being rooted with stock I've been able to give Greenify access to root. Install Adaway (which was worth getting root to begin with). Install sound/music mods like DiVA-X, Viper4Android and Dolby Atmos. Install Titanium Backup. And make a few other minor tweaks (that I've since reversed). I still don't know much about custom ROMs and all that jazz, so I'm holding off until I get more understanding. I'd love to install the xpower ROM (when the bugs are worked out), and maybe some sort of sound ROM. I also need to get more understanding on some of the other vernacular like what exactly a "dirty flash" is.
rajdude said:
firdyRAY, thanks a lot for the comprehensive reply to my questions. And yes, it has shed a LOT of light on my doubts.
I googled Sony RIC and dm-verity:
I could not get find much on ric
Dm-verity seems to me a way to check if the boot image has been modified from the last boot, and if it has, stop from booting. Sounds like a good idea until we understand that to flash a ROM dm-verity needs to be bypassed/turned off.
So to compile what I have understood so far:
By unlocking bootloader, you lose DRM keys. There is a way to backup DRM keys which are in the TA partition, but this is to be done BEFORE you unlock bootloader. Good that I have not done anything to my X5c yet.
The next steps for me would be to look into XPower 3 ROM…which I did and here is what I found out:
http://forum.xda-developers.com/z5-compact/development/rom-xpower-v1-0-aroma-debloat-custom-t3371100
First, what's up with the scary looking warning in RED right at the top of the first thread. I did read the OP and the second post, I did not see anything in there which IF I missed will cause my phone to explode! That is probably posted to make noobs read all instructions, right?
Second, I do not see any step in there to backup the DRM / TA partition. I guess the dev is assuming the phone already has lost the DRM, right? So I gotta find instructions on how to backup DRM / TA
Then I searched for problems in this ROM and seems to me that the fingerprint sensor is reported by many to be not working and/or buggy. I rely on the fingerprint sensor day and night. I have many apps which rely on that, like lastpass. That would be a major deal breaker for me.
So going back to stock ROM option…I remember you said "There's a guide that will teach you how to actually root and apply the work around after unlocking your bootloader and rooting."
Could you please post a link to that?
Thanks again!
Click to expand...
Click to collapse
sony ric is a layer of security for sony roms so that they can protect nfc and fingerprint stuff. samsung and htc have there own variants as well.
yes lol the big red lettering is there to make you read, although hes not far off on the melting your phone part, the s810 is ridiculously hot.
the xpower thread doesnt not include the drm backup instructions because: 1) you need bootloader unlocked to flash it. and 2) because it includes the drm fix in it so you dont have to backup your ta keys.
the fingerprint sensor bug is on any bootloader unlocked phone, the hardware fails after x amount of hours and requires a reboot to work again. xpower is a stock rom, the only thing different is its pre-rooted, de-bloated, and deodexed for xposed to work. we have a separate thread for the fingerprint sensor bug and its been solved.
rajdude said:
firdyRAY, thanks a lot for the comprehensive reply to my questions. And yes, it has shed a LOT of light on my doubts.
I googled Sony RIC and dm-verity:
I could not get find much on ric
Dm-verity seems to me a way to check if the boot image has been modified from the last boot, and if it has, stop from booting. Sounds like a good idea until we understand that to flash a ROM dm-verity needs to be bypassed/turned off.
So to compile what I have understood so far:
Click to expand...
Click to collapse
Sony RIC main function is to disable /system write even you got root permission(you still able to do /system write but after a reboot will restore to original). There is a workaround but very trouble, TWRP recovery file manager can bypass Sony RIC(it works in the old day for me, not sure about now). BTW, all 3rd kernel should be disabled RIC nowadays. For any regular computer, there is no hardware or software lock to prevent you gain root access in linux but there are many such trouble stuffs in the android world... lol
I'm running XPower 3.0 Full as a daily driver since June and been very happy. Battery life, stability and speed is good.
Please note, that you MAY lose your warranty when you lose your DRM keys. That's why I didn't unlocked my phone before there was a way to backup TA partition. Now I'm after warranty repair, and before it I was able to fully restore stock ROM with DRM and all features fully functional. In my country, there is only one Sony approved repair center and they check DRM keys before repairing anything - even if it's mechanical fault.
When I had Z1c in KitKat days, it didn't had dm-verity and Sony RIC. It was possible to gain permanent root with bootloader locked, so I was happily using stock ROM and kernel. In Z5c case, first thing I tried was to do the same and it was possible (just backup TA, unlock bootloader, and flash TWRP with patched kernel (dm-verity and Sony RIC disabled) to begin with), but going XPower way was much more confident - I didn't had to think about removing every bloat app. I just flashed lite version in June and I'm using it till this day without any problems at all
Another thing is that you lose OTA (Over-The-Air Update) functionality when you unlock bootloader and disable Sony RIC and dm-verity. Updating to newer versions of firmware, even on stock ROM is problematic when you modify it.
michuroztocz said:
Another thing is that you lose OTA (Over-The-Air Update) functionality when you unlock bootloader and disable Sony RIC and dm-verity. Updating to newer versions of firmware, even on stock ROM is problematic when you modify it.
Click to expand...
Click to collapse
It's simply not possible. If you are rooted you can't apply OTA updates and neither should you.
flopower1996 said:
It's simply not possible. If you are rooted you can't apply OTA updates and neither should you.
Click to expand...
Click to collapse
That's just what I wrote - just put it in another words

Xperia X Root

Can someone direct me to a step by step tutorial on how to root my Xperia X.
Thanks!
Just unlock the bootloader and flash a custom kernel. To unlock just use google and it will take you to sony's unlocking webpage with all the instructions you need, then use a kernel found in this very forum.
Where can I get twrp for f5121?? I have searched for a few days now with no luck......
ghuertasw said:
Where can I get twrp for f5121?? I have searched for a few days now with no luck......
Click to expand...
Click to collapse
Did you find it? If yes, how did you root? Please I need help I am very confused..
Here you can find unofficial twrp for xperia x:
http://www.infectedbuilds.net/downloads/suzu/twrp/
Install with fastboot command:
fastboot flash recovery recovery.img
After flashing this twrp you probably cant access data partion in twrp, to fix this boot into twrp(shut down device and turn it on again holding volume down), do a factory whipe and format data partition.
If you want to root flash latest SuperSU: https://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
If you want a modded kernel with DM-verity, RIC off, DRM fix, SuperSU & Busybox download this tool and follow instructions: https://forum.xda-developers.com/xp...oot-automatic-repack-stock-kernel-dm-t3301605
Doesn't unlocking the bootloader degrade the quality of the camera? I am sure it does but just wanted to be sure. If I do decide to unlock, how can I get similar camera functionality back? I may even simply leave it alone, I just want to get rid of the Facebook app. If there was a generic FTF I could download for the F5121, that might not have that app in it. I remember when I had an Xperia Z, I used a generic FTF and didn't have so much bloatware. I also did not have to unlock the bootloader. All it has to be is for the same phone really and it worked for me.
What works for me might not work for you so try at your own risk.
Root xperia X
Hi, Guys...
I have since dec 16 a sony xperia x. And i need a manual to root my xperia x.
Before i had samsungs galaxy IV rooted, it was top.
My question is get i offical updates if the xperia rooted?
Sorry for my english but its a long time ago to write...
Siggi
siggi77 said:
Hi, Guys...
I have since dec 16 a sony xperia x. And i need a manual to root my xperia x.
Before i had samsungs galaxy IV rooted, it was top.
My question is get i offical updates if the xperia rooted?
Sorry for my english but its a long time ago to write...
Siggi
Click to expand...
Click to collapse
Official updates need the original recovery installed on the phone. ( If TWRP is installed it will fail with an error )
You also need a valid DRM (or a DRM fix) that the Sony update tool will notify you about new firmware updates.
That's what I can tell you from my experiences.
Backup your DRM partition if you decide to unlock your phone!
And don't try to relock the phone as the camera won't work on a locked phone without DRM key. (at least it was like this in my case)
I've updated to 311 using lubik1's rom image without any issues today. It has everything included. (root,drm,etc..)
https://forum.xda-developers.com/xperia-x/development/romubxperia-poison-v1-0-xx-f5121-5122-t3525884
Cheers Bru3

How to unlock Bootloader and Backup DRM Keys on Marshmallow (23.5.A.1.291)

Hello there, I'm very new to Sony phones, and with so, I wanted to unlock the bootloader on MM, because I wanted to install a WiFi fix (Internet develops terribly on MM) that needs a custom recovery.
I searched multiple guides on how to unlock it and backup the DRM keys to not lose any functionality, but, I did not find one specialized on the Z2, so I wondered how it could be done and install that fix.
Thanks a lot, best regards.
i have the problem too
CGR911 said:
Hello there, I'm very new to Sony phones, and with so, I wanted to unlock the bootloader on MM, because I wanted to install a WiFi fix (Internet develops terribly on MM) that needs a custom recovery.
I searched multiple guides on how to unlock it and backup the DRM keys to not lose any functionality, but, I did not find one specialized on the Z2, so I wondered how it could be done and install that fix.
Thanks a lot, best regards.
Click to expand...
Click to collapse
I will be happy to help, what you need is root with a locked bootloader, Follow this " https://forum.xda-developers.com/xperia-z2/help/guide-idiots-guide-to-root-twrp-t3534647 " when you get root, let me know I will tell you how to backup the DRM keys then

Categories

Resources