Will there be more roms, mods, soon? - Xperia Z3 Q&A, Help & Troubleshooting

I bought the z3 hoping to also have good development like the z2.
I know the device is quite new, can anyone tell me how long it took for the z2 to get much development?
Or is there any reason the z3 will not get as good development?
Thank you all in advance.

Some say it's the bootloader (DRM thing) but you can root without unlocking the bootloader and backup DRM keys.
It could also be that there are some more bugs to be cleaned from CM12 as most ROMs are based off of it, but as I have seen, all CM12 ROMs seem functional.
Perhaps it's not a popular device amongst developers, there isn't CWM or TWRP for any CM based ROM. Only Cyanogen recovery is built into the CM kernel.
I hope there will be more ROMs in development! Like AOKP, Dirty Unicorns and more others. It seems quite empty at the moment.

@Aronuser You just need to have some patience. I guess there will be also a good support but we will see, no one can really say it and how you said the device is actually new.
@squabbi what do you mean with bootloader thing? If I remember right in the past it was always the same: unlocking the BL -> loose DRM keys..
But there is already the chance to root without unlocking the BL and then to do a TA-Backup(in which the DRM keys are included).. so I do not really understand what you mean with it

gripfly said:
@Aronuser You just need to have some patience. I guess there will be also a good support but we will see, no one can really say it and how you said the device is actually new.
@squabbi what do you mean with bootloader thing? If I remember right in the past it was always the same: unlocking the BL -> loose DRM keys..
But there is already the chance to root without unlocking the BL and then to do a TA-Backup(in which the DRM keys are included).. so I do not really understand what you mean with it
Click to expand...
Click to collapse
You can root without unlocking the boot, but then there is no need to backup TA keys
If you then unlock the boot it is advisable to backup the DRM keys, but you cannot restore them whilst the boot is unlocked as restoring them automatically relocks your boot.
SO if you want CM or other AOSP roms then you have to lose the DRM keys. Restoring them will mean you can only boot a stock sony rom

gregbradley said:
You can root without unlocking the boot, but then there is no need to backup TA keys
If you then unlock the boot it is advisable to backup the DRM keys, but you cannot restore them whilst the boot is unlocked as restoring them automatically relocks your boot.
SO if you want CM or other AOSP roms then you have to lose the DRM keys. Restoring them will mean you can only boot a stock sony rom
Click to expand...
Click to collapse
Yeah that's more or less what I wanted to say, may I didn't wrote it as well. But that's nothing new and was minimum since the Z series launched by SONY a "problem".
But if he thought about this then(or than?) I might didn't understand it as he wanted to say it.

Related

[Q] TA backup question based on previous Xperias

Hi guys,
Long time Android hacker, first time Sony user.
Im sorry if this has come up before but i have a question about the Bootloader unlock and TA partition wipe.
Based on experience of say the Z2, even if you acquire root first and backup your TA partition, are you able to run custom roms/kernels with the DRM/screen/camera optimizations at the same time? Or is the only point of the backup to restore if you are re-locking the bootloader?
I ask because if i cant have the screen optimization and root at the same time, i wont bother waiting to see if a root exploit becomes available as ill never run the phone stock anyway. If based on previous phones it might be possible to have both once you have a backup i will probably wait as i have other phones to use.
Thanks for your time.
With an unlocked bootloader you cannot have those DRM keys
If you restore the TA backup then you automatically relock the bootloader as well.
You can not have your cake and eat unfortunately.
Danthemanz said:
Hi guys,
Long time Android hacker, first time Sony user.
Im sorry if this has come up before but i have a question about the Bootloader unlock and TA partition wipe.
Based on experience of say the Z2, even if you acquire root first and backup your TA partition, are you able to run custom roms/kernels with the DRM/screen/camera optimizations at the same time? Or is the only point of the backup to restore if you are re-locking the bootloader?
I ask because if i cant have the screen optimization and root at the same time, i wont bother waiting to see if a root exploit becomes available as ill never run the phone stock anyway. If based on previous phones it might be possible to have both once you have a backup i will probably wait as i have other phones to use.
Thanks for your time.
Click to expand...
Click to collapse
No, backup is only if you want to relock bootloader and run Stock rom again.
You cant use DRM with other ROMS/KERNELS
EDIT
Sorry gregbradley, you was a little bit faster
Thanks for the quick response guys.
Looks like I'll start the unlocking process and get this baby up and running!
Danthemanz said:
Thanks for the quick response guys.
Looks like I'll start the unlocking process and get this baby up and running!
Click to expand...
Click to collapse
Just a quick note, if you unlock before you backup the TA partition, you will never be able to restore the DRM keys

[Q] DRM restore for UB with Sony ROM?

This hasn't really been answered, or I couldn't find it
1) Can I unlock the bootloader and then restore the TA partition and keep the DRM functions working on the original ROM?
2) Is the TA partition erased once on unlocking or is it erased on every boot with unlocked bootloader?
I want to unlock the bootloader, install a custom kernel (to be able to boot into recovery) and then restore the TA partition, thus keeping DRM working.
Thanks
Zviratko said:
This hasn't really been answered, or I couldn't find it
1) Can I unlock the bootloader and then restore the TA partition and keep the DRM functions working on the original ROM?
2) Is the TA partition erased once on unlocking or is it erased on every boot with unlocked bootloader?
I want to unlock the bootloader, install a custom kernel (to be able to boot into recovery) and then restore the TA partition, thus keeping DRM working.
Thanks
Click to expand...
Click to collapse
It's answered...
If you check how to lock bootloader again, or relock if you want you'll see you can't have both.
You are unlocking bootloader to flash custom kernel, if you relock it, you have to flash stock kernel again...
Z3 powered by Tapatalk
I know I can relock and restore the TA partition.
What I don't know is if I can keep it unlocked and restore the TA partition, or if it will keep erasing itself, and this is what I need answered
Basically it boils down to:
Is the TA partition erased when unlocking, or is it kept erased when unlocked?
Zviratko said:
I know I can relock and restore the TA partition.
What I don't know is if I can keep it unlocked and restore the TA partition, or if it will keep erasing itself, and this is what I need answered
Basically it boils down to:
Is the TA partition erased when unlocking, or is it kept erased when unlocked?
Click to expand...
Click to collapse
I'm not sure which way it is working, but I guess if you try to restore TA on unlocked bootloader it will either fail or you end up with a hardbrick.
Afaik it gets erased when the BL gets unlocked and you can't restore it with an unlocked bootloader (don't know why, may be protected?).
If this would be possible what would the point of DRM's be if you could restore them easily after unlocking?
So nobody has tried that before? Why hardbrick? It's not like I will be restoring a TA dump from a different phone - the worst that can happen is that it won't boot and I will have to relock/unlock to erase it again, no?
We're not supposed to "backup" the DRM partition anyway, but we can because we have root without unlocking, so I don't think keeping it unlocked and restoring is unimaginable...
Don't you think if it would be possible or easy somebody would've at least tried it? But that's not the fact (at least what I know). For most devs this would be an unnecessary hard work as the only way to utilize the DRM keys is on a stock ROM and therefore unlocked bootloader would solely be useful for custom stock based kernel.
For now I think the needed work isn't in relation to its use. The DRM functions can mostly be utilized without the keys and the lost functions are not that important for most users, so where's the point?
Zviratko said:
I want to unlock the bootloader, install a custom kernel (to be able to boot into recovery) and then restore the TA partition, thus keeping DRM working.
Thanks
Click to expand...
Click to collapse
You know that you can boot into recovery without a custom kernel, don't you?
I can't speak for others but I am personally quite happy with the stock ROM, but I want and need root (Titanium backup, call recording and some security software). Right now all that is working on Lollipop, but recovery isn't, and I am not comfortable not having that safety net.
The only way to have a working recovery is a custom kernel, that means losing DRM keys, and that means some parts of ROM will lose functionality - whether that functionality is important or not is a good question that I can't answer as I haven't really dug into that, but I'd prefer to simply keep it after unlocking.
I don't understand why it should not work, and if I were Sony I'd probably just erase the DRM partition when unlocking and then forget about it - who says it can't be restored after that? Maybe it really is that simple and nobody tried?
I have heard nothing definitive here, so maybe I will be the first to try.
Omario-242 said:
You know that you can boot into recovery without a custom kernel, don't you?
Click to expand...
Click to collapse
On Lollipop I can't. Or maybe I can with fastboot boot...? Can you clarify?
Zviratko said:
On Lollipop I can't. Or maybe I can with fastboot boot...? Can you clarify?
Click to expand...
Click to collapse
Did forget about Lollipop and its recovery problem. I'm sorry.
But for the other thing: it isn't possible to restore the TA partition after unlocking. That's it. There's no way so far that we can do this and I guess it won't be possible in future.
Whether it is too much work or not possible at all, there's no need in discussing this any further as it is way easier for devs to get the recovery on lollipop working instead of the TA partition on an unlocked bootloader.
EDIT: A quick google search brought up this: "Restoring the TA (Trim Area) partition on a device like the Z2 [same goes for Z3] relocks your bootloader and restores your specific DRM keys with all it's functions."
So that's what happens if you restore the TA on UB. No brick (if you have stock kernel/ROM) but no UB anymore.
Omario-242 said:
Did forget about Lollipop and its recovery problem. I'm sorry.
Click to expand...
Click to collapse
No problem, I just though I've missed something
Omario-242 said:
But for the other thing: it isn't possible to restore the TA partition after unlocking. That's it. There's no way so far that we can do this and I guess it won't be possible in future.
Click to expand...
Click to collapse
Are you talking about getting back completely to stock and relocking, or about restoring TA on unlocked bootloader? I am confused. AFAIK there's a procedure for flashing the full FTF _and_ restoring DRM, there just isn't one for keeping it unlocked.
To be honest I'm still not convinced - restoring the TA should be quite simple with root (just a simple dd...), and I don't understand why it shouldn't just work - IMO the worst that can happen is a soft brick until it is erased again (which can be done by relocking and unlocking, or from recovery). I'm hoping someone will chime in with a definitive answer.
Omario-242 said:
Whether it is too much work or not possible at all, there's no need in discussing this any further as it is way easier for devs to get the recovery on lollipop working instead of the TA partition on an unlocked bootloader.
Click to expand...
Click to collapse
Unfortunately, it looks like we won't be getting recovery on Lollipop anytime soon - Sony did their homework and circumventing SELinux might not be that easy. I expected a working recovery within a day of LP release, but it's been quite a while longer and no progress in sight. The options are not good - you either lose DRM or don't have recovery. I think that having an unlocked bootloader _and_ a working DRM should be the ultimate goal for all, as it allows free switching between ROMs and easy rooting of Sony Lollipop ROMs (without downgrading/rooting/upgrading and hoping for the best - it's not really a foolproof thing right now).
Zviratko said:
I can't speak for others but I am personally quite happy with the stock ROM, but I want and need root (Titanium backup, call recording and some security software). Right now all that is working on Lollipop, but recovery isn't, and I am not comfortable not having that safety net.
The only way to have a working recovery is a custom kernel, that means losing DRM keys, and that means some parts of ROM will lose functionality - whether that functionality is important or not is a good question that I can't answer as I haven't really dug into that, but I'd prefer to simply keep it after unlocking.
I don't understand why it should not work, and if I were Sony I'd probably just erase the DRM partition when unlocking and then forget about it - who says it can't be restored after that? Maybe it really is that simple and nobody tried?
I have heard nothing definitive here, so maybe I will be the first to try.
Click to expand...
Click to collapse
Sounds like good idea.. Why nobody tried before? Simply because they get it for granted that unlocked with DRM is not possible... Someone has to be the first. I am no bootloader expert but my understanding resorting TA partition will relock bootloader so boring custom kernel will not be possible... But it's my only guess..
Sent from my D6603 using XDA Free mobile app
As I said if you have an unlocked bootloader (with whatever ROM/kernel) and you restore the TA partition your bootloader gets locked automatically. The devs definitely would've thought about getting the DRM keys to work on UB if this would be easy. If you have some Dev skills please go on and try it yourself, if not please stop discussing a topic you don't have enough knowledge about.
Omario-242 said:
As I said if you have an unlocked bootloader (with whatever ROM/kernel) and you restore the TA partition your bootloader gets locked automatically. The devs definitely would've thought about getting the DRM keys to work on UB if this would be easy. If you have some Dev skills please go on and try it yourself, if not please stop discussing a topic you don't have enough knowledge about.
Click to expand...
Click to collapse
Thanks, I think I understand now. I didn't realize that the locked/unlocked state was part of the TA partition. (Seems like a pretty odd place to store that info, though).
I still believe there is a way to do it - pointing the TA partition in the system to either a loopback device or a different partition with TA contents should fool the system into using the DRM keys on it while keeping the bootloader unlocked (unless of course the hardware looks at the partition directly, which I doubt).
No, I am not a dev, and it's unlikely I will attempt it at this point.
P.S. I don't appreciate a STFU attitude - this is a Q&A section, and I am fairly confident this has not been discussed or at least I couldn't find it. If you have a link that explains how exactly TA partition contents work then please post it. I don't feel stupid for asking questions I can't find answers to.
Omario-242 said:
As I said if you have an unlocked bootloader (with whatever ROM/kernel) and you restore the TA partition your bootloader gets locked automatically. The devs definitely would've thought about getting the DRM keys to work on UB if this would be easy. If you have some Dev skills please go on and try it yourself, if not please stop discussing a topic you don't have enough knowledge about.
Click to expand...
Click to collapse
Please refrain from telling people what they should or should not discuss. Everyone is free to open the thread he wants to discuss and it is your free decision to participate or not. You comment is rude and shows pretty nosey attitude.
Sent from my D6603 using XDA Free mobile app
ondrejvaroscak said:
Please refrain from telling people what they should or should not discuss. Everyone is free to open the thread he wants to discuss and it is your free decision to participate or not. You comment is rude and shows pretty nosey attitude.
Sent from my D6603 using XDA Free mobile app
Click to expand...
Click to collapse
Zviratko said:
Thanks, I think I understand now. I didn't realize that the locked/unlocked state was part of the TA partition. (Seems like a pretty odd place to store that info, though).
I still believe there is a way to do it - pointing the TA partition in the system to either a loopback device or a different partition with TA contents should fool the system into using the DRM keys on it while keeping the bootloader unlocked (unless of course the hardware looks at the partition directly, which I doubt).
No, I am not a dev, and it's unlikely I will attempt it at this point.
P.S. I don't appreciate a STFU attitude - this is a Q&A section, and I am fairly confident this has not been discussed or at least I couldn't find it. If you have a link that explains how exactly TA partition contents work then please post it. I don't feel stupid for asking questions I can't find answers to.
Click to expand...
Click to collapse
I'm really sorry. I didn't mean to be rude at all. English is not my mother language and I may have used the wrong terms.
I didn't mean to tell you to stop discussing whether it will be possible or not in the future, I just wanted to clarify that if you do it right now you will lock your bootloader (what I thought you didn't understand from my previous posts) and that there's no point in discussing that particular step.
If some devs will actually make the DRM keys work on UB with a custom kernel I guess there's a lot of happy users. Though I still think that it would be a lot work (looking into other Xperia devices there's never been success for DRM keys in that case).

Root E6653 Running Firmware 32.1.A.1.185

I'm really hoping I can be hand-held here in rooting my E6653. I've been out of the rooting game for a while and the Z5 digging through guides and threads looks like a whole lot harder process!
What's the process I have to use get my phone rooted? I understand that I need to unlock the bootloader, which I'm comfortable in doing myself. I can see a downgrade will more than likely be required. Sorry for the noob questions, but I just want to make sure I'm performing the correct rooting process.
I really only want to root my phone to have the ability to use Viper4Android, otherwise I'm truly happy with the phone as it is.
Raysie said:
I'm really hoping I can be hand-held here in rooting my E6653. I've been out of the rooting game for a while and the Z5 digging through guides and threads looks like a whole lot harder process!
What's the process I have to use get my phone rooted? I understand that I need to unlock the bootloader, which I'm comfortable in doing myself. I can see a downgrade will more than likely be required. Sorry for the noob questions, but I just want to make sure I'm performing the correct rooting process.
I really only want to root my phone to have the ability to use Viper4Android, otherwise I'm truly happy with the phone as it is.
Click to expand...
Click to collapse
Permanent Root is only available for UB only.
Currently UB poses problems with its DRM keys being lost forever.
You'll lose normal functions with the Camera, Bravia Engine, TrackID.. etc. dependent on the DRM keys stored on TA partition.
Before you perform UB you should backup your TA partition. using iovyroot. Better got a backup than sorry.
(http://forum.xda-developers.com/crossdevice-dev/sony/iovyroot-temp-root-tool-t3349597)
There are work around with the DRM problems, still it's better that you have a copy of the original TA you have on you device.
After that you can search for any possible ways to root your device.
Rooting UB: http://forum.xda-developers.com/xperia-z5/development/summary-rooting-z5-t3232042

DRM Key backup and Root for the XZP?

Does anyone have any idea if we'll ever get the ability to do a DRM key backup, root and DRM key restore on on XZP?
I absolutely love this phone but not having root is killing me...
Unlocking the bootloader and getting root has been achievable since day one.
You can forget about the DRM keys backup though.
I was going to ask you how you missed the thread called "Root Achieved" but then I saw you were on mobile so eh.
Thanks for the reply. I know root has been achievable for ages but I'm not gong to root without a way to backup the DRM keys or patch around them. I'm not losing camera functionality on a $800 phone.
So still waiting for Tobias or someone else to make a method like on the Z5.
Have fun waiting I guess.
Also, the backup tool doesn't even work on Nougat so there's another problem.
Two problems that is unlikely to be solved in the near future.
leijonasisu said:
Does anyone have any idea if we'll ever get the ability to do a DRM key backup, root and DRM key restore on on XZP?
I absolutely love this phone but not having root is killing me...
Click to expand...
Click to collapse
When I got my X Performance last year, I waited about three months to unlock it, due to the lack of temporary root exploit to run the backup of TA partition, but the tool for that was developed, and finally I was able to do things the right way!
Xperia devices, imo, are "camera phones", also, I do not like to lose their main functionality/differential (root can wait).
It sounds like now sony has just changed the way drm keys are stored and wiped after the device is unlocked, so it will be a bit difficult to achieve this, but not impossible!
Anyway, it's up to you mate. For now, enjoy your powerful device with stock camera!!
serajr said:
When I got my X Performance last year, I waited about three months to unlock it, due to the lack of temporary root exploit to run the backup of TA partition, but the tool for that was developed, and finally I was able to do things the right way!
Xperia devices, imo, are "camera phones", also, I do not like to lose their main functionality/differential (root can wait).
It sounds like now sony has just changed the way drm keys are stored and wiped after the device is unlocked, so it will be a bit difficult to achieve this, but not impossible!
Anyway, it's up to you mate. For now, enjoy your powerful device with stock camera!!
Click to expand...
Click to collapse
Missed your updated xposed modules on my x. They were crucial for Z and Z3 haha. You're right, this beast is not that bad without root. Some non root tweaks here and there make the experience bearable.
But when root becomes a win win solution for XZp and xposed available for n / o, I'm expecting to see some of that quality work of yours on the repo. I'll be within the firsts to bootloop... I mean test haha ?
Glad you're on XZp dev side.
I'm definitely not rooting just to lose the camera. It's one of the main reasons why I bought this phone. Hopefully someone works out how to root the phone and keep the DRM keys intact. I'll come back every month and see how things go.
Now with recovery we can flash all the amazing sound mods, magisk + modules.
Root <3.
I'm also holding out on getting new Sony devices to replace my Z5P, I refuse to use a phone without Adaway (and friends).
In my opinion keeping the DRM keys so we can enjoy the camera on this great phone is really important. We have DRM backups for the Z, Z1, Z3, Z+ etc. I hope we can get them for the XZP. There has to be a way someone can work out to backup the TA partition before rooting. I'll cross my fingers, because I know that there's never been a case where a device hasn't ended up being totally bypassed. I just hope it won't take too long.
It would be so easy to backup the DRM on this device.
Too bad I'm not really a developer.
Now you have to wait until I learn programming.
lebigmac said:
It would be so easy to backup the DRM on this device.
Too bad I'm not really a developer.
Now you have to wait until I learn programming.
Click to expand...
Click to collapse
If it was "too easy" now we would have the backup. As you can see it isn't.
FartyParty said:
Now with recovery we can flash all the amazing sound mods, magisk + modules.
Root <3.
Click to expand...
Click to collapse
Is it possible to do these without loosing the dm and having to root?
I dont understand why would people wait for DRM backup... I mean even if you do backup your DRM keys, once you restore them your bootloader automatically relocks so you lose root...
if you want aosp roms with google camera, nothing would change because once you root you lose they keys, and only way you can restore them is when you reflash the stock FW version you backed up the DRM keys from.
so yeah, devs already got a drm fix so if your problem is the camera functionality its not gonna work on root even with back up, so you might wanna go back to stock with working camera thats ok, you can flash a stock rom and flash a fix and it works just as good.
unless its warranty thats your problem, then yah you gotta wait for backup, but besides that its really pointless to wait, i mean with drm fix you get full camera functionality on a stock rom plus you got root, plus you get to modify the device as you like so its really not a big deal here, as for AOSP roms with or without backup, camera functionality is not gonna be at its best (unless kernel supports its full potential) again, you can not restore DRM keys to AOSP, you can only restore them once you reflash the FTF you had when you backed up the keys...
madshark2009 said:
unless its warranty thats your problem, then yah you gotta wait for backup, but besides that its really pointless to wait
Click to expand...
Click to collapse
For me, it would be warranty, and resale-value.
You'll have hard times reselling a device that needs special care with every software update released.

starter question with rooting and unrooting Sony Xperia XZ

Hey, guys, I got fed up google and found this guide (https://forum.xda-developers.com/showpost.php?p=70504721&postcount=2). Sadly, I have found this guide after I unlocked the bootloader and so I am lost at what I should do next? I wanted to root my device, delete bloatware, isntal Xprivacy and lock the phone back up. The questions that I have now are:
1. Is it possible to return my phone to something that I had before if I skipped the TA back-up?
2. Does xprivacy necessarily have to have root enabled all the time or can I do the things that I wanted and just lock the phone back?
3. What is the best resource for fixing DRM key issue with the camera?
Thanks for all the help!
Loki
LokiSonofOdin said:
Hey, guys, I got fed up google and found this guide (https://forum.xda-developers.com/showpost.php?p=70504721&postcount=2). Sadly, I have found this guide after I unlocked the bootloader and so I am lost at what I should do next? I wanted to root my device, delete bloatware, isntal Xprivacy and lock the phone back up. The questions that I have now are:
1. Is it possible to return my phone to something that I had before if I skipped the TA back-up?
2. Does xprivacy necessarily have to have root enabled all the time or can I do the things that I wanted and just lock the phone back?
3. What is the best resource for fixing DRM key issue with the camera?
Thanks for all the help!
Loki
Click to expand...
Click to collapse
Well, once you unlocked your BL your DRM keys are gone for good.. Unless you made a TA backup..
2) you need root for xposed to work.. So no to that question and Xposed is know to cause a bootloop on some devices. So make sure you have a backup.
3) check the Guides section there are a few threads in there about flashing kernels and DRM fixes...
lilbrat said:
Well, once you unlocked your BL your DRM keys are gone for good.. Unless you made a TA backup..
2) you need root for xposed to work.. So no to that question and Xposed is know to cause a bootloop on some devices. So make sure you have a backup.
3) check the Guides section there are a few threads in there about flashing kernels and DRM fixes...
Click to expand...
Click to collapse
Thanks for the promt reply. Can I ask one more thing? If I want to instal AndroPlus Kernel, does it matter which version Nougat stock ROM I flash to my device?
LokiSonofOdin said:
Thanks for the promt reply. Can I ask one more thing? If I want to instal AndroPlus Kernel, does it matter which version Nougat stock ROM I flash to my device?
Click to expand...
Click to collapse
Sorry that one I don't know... But someone may chime in a bit later..

Categories

Resources