yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Android Development] gamer649:
Not possible to modify an ftf file like you're suggesting. The system.sin is signed with private Sony keys what aren't available to the user at any point as they are encrypted, we can unpackage the .sin but we can't repackage it and resign it.

Also, side note: I do apologise if it comes across as though I'm talking down to you, that isn't my intention, only speaking from experience.
[Xperia Z5 Android Development] Seelbreaker:
Don't worry :) it doesn't read like that! In fact this was way more of the actual answer than in the other thread :P

Too bad tough that sony doesn't use everywhere random=7 for their secret stuff :D
[Xperia Z5 Android Development] Barthlon:
Ok I'm new to xperia phones, but correct me if I'm wrong: it is impossible to flash ANY form of custom rom without unlocking the bootloader and thus losing DRM related functionality (for me most importantly camera quality / BE)?

What would happen if I, for example, loose DRM and use google stock camera on this phone? Would it result in really crappy pictures? :p

I don't even want a really really custom rom, I just want to get rid of all the preinstalled **** apps... :)
[Xperia Z5 Android Development] ondrejvaroscak:
Ok, so here we go:

- On any Xperia 2014/15 series phone you must UNLOCK bootloader, if you want to flash any form of customized kernel or recovery

- Additionaly on new 2015 devices you must unlock bootloader if you want to get root, because system partition is protected on kernel/bootloader leve

- Root on locked bootloader is available on almost all 2014 devices, sometimes requiring you to downgrade to KitKat first to root and then flash pre-rooted firmware in recovery

- Unlocking bootloader causes TA partition containing DRM keys to be wiped. And TA partition can not be (so far) backed up without root.

- Reflashing TA partition (from backup) is only possible from YOUR OWN backup. Flashing TA from other phone HARD BRICKs the device

- I am not sure if Sony would be able to recover, re-create your unique TA (sure they can, because they did it when they manufatured phone), I think no, because they warn users that UNLOCKING bootloader is irreversible action (technically it is not true, but we live from money)

- Loosing DRM keys leads (except of others things) to loose BionZ processing capability (Sony Exmor camera image processor). It means, mainly loosing noise reduction in low light pictures.

- So if you unlock and will you Sony camera app or Google camera app, the images will not be processed by BionZ processor and you will be left with that camera app noise reduction capability (if any)

- One more obstacle on using advanced camera apps is, that Sony camera stack supports only limited feature of Camera2 API

- Your pictures will not be crappy, if taken in good light conditions or with adequate flash ...
[Xperia Z5 Android Development] Barthlon:
Thanks for the info. Just got the Z5 and I must say that low light pics are very very crappy already, so I can't imagine it would get any worse :)

Custom ROM development doesn't look like going very fast for this device, so I'll just have to wait for something that's worth while.

Would it be possible to edit tft (as in: remove some bloatware) before flashing, or is this considered as 'customised'? I don't care that much for root, only adaway is nice :)
[Xperia Z5 Android Development] ondrejvaroscak:
No, sin files cannot be edited.

While you can't remove the apps, you can use adb to disable/hide packages you don't want to use

adb shell hide package.name
[Xperia Z5 Android Development] Knux14:
Actually if you root the device there is probably a way to get around, to remove them, but if you only use Titanium Backup that doesn't work as easily, they are re-installed from somewhere, or even by the internet...
[Xperia Z5 Android Development] cg2006:
Are we going to start a bounty for locked root for the Z5 like we did for the Z3? Maybe that will jumpstart the progress here.
[Xperia Z5 Android Development] Azdian:
So this is how Sonys developers community does work?
[Xperia Z5 Android Development] cg2006:
Hey money talks. History has shown this with the Z3.
[Xperia Z5 Android Development] ondrejvaroscak:
From customization folder... If you remove it, they will not get reinstalled. Root only of course.
[Xperia Z5 Android Development] Xentar712:
I hope so. If one starts, I'm definitely in for $20
[Xperia Z5 Android Development] Knux14:
I tried it and no this is not the place where they come from, neither in /etc/customization (Nothing about apps), nor /etc/products (Not all, and still reinstall if removed) or /oem
[Xperia Z5 Android Development] ondrejvaroscak:
Under /system/vendor....
[Xperia Z5 Android Development] Falenone:
I'm in for that.

Can't stand using a device without root but how's the bounty thing going to be? We need some sort of a middle man for it, a forum admin or someone who can be trusted, all of us who want, give him the $$$ and he goes around telling high roller developers "Hey wanna make a buck, make this happen for Z5"?
[Xperia Z5 Android Development] koziakauzu:
Some guys around here (with a lot of xperia history) would work on it if they can get enough donations to buy the device. That worked for previous Z's

Sent from my E6653
[Xperia Z5 Android Development] Knux14:
I don't think we need to do that yet. Just wait if you want a LBL root, we should focus on getting TWRP and rom started :/

But yeah that would be the thing to do.. Sadly
[Xperia Z5 Android Development] Barthlon:
making roms is not the problem, safely rooting without loosing ta is the problem (or backing up ta)
[Xperia Z5 Android Development] Knux14:
Actually without a fully working twrp or an easy way to flash the device, yes it is a problem to make roms...

If you cares about the ta I guess it means that you shouldn't have chosen an Xperia device
[Xperia Z5 Android Development] bazhip:
What's not working with the TWRP that I posted?
[Xperia Z5 Android Development] Falenone:
I would share my device happily with a developer who has the power and will to root it with locked bootloader but I'm paranoid and a voice in my head tells "whatif he never gives your phone back"
[Xperia Z5 Android Development] gavster26:
I would like to think doomlord has a z5 he always buys Xperia flagship device's
[Xperia Z5 Android Development] jackq:
simple thing, if any dev can make possible to root this device then please write it here. i think many users can donate for it.
[Xperia Z5 Android Development] koziakauzu:
In another thread doomlord said that he got previous xperias before with donations, and proposed to work on it if we can help him to get the z5

http://xdaforums.com/showthread.php?p=63527910

Sent from my E6653
[Xperia Z5 Android Development] Shikaiya:
Hi guys, sorry I write here...some news about the Sony Xperia Z5 Dual E6683 modding?
[Xperia Z5 Android Development] AndroPlus:
Even if xda community give him a Z5, someone have to find new exploit which can be used for Z5 to root with locked bootloader. (he built rootkit but haven't find new exploit)

Hackers like jcase or goroh_kun may be able to find new exploits.
[Xperia Z5 Android Development] ondrejvaroscak:
You guys are still talking about exploits and how to root it. There is no problem with rooting the device, but how to break the locked bootloader security provided in strong combination with dm-verity. Dm-verity was here since KitKat, and has not been tampered since then. There is no firmware that have been modified since the combination of locked bootloader and dm-verity has been introduced and there is highly probability that no bounty is going to change that, as this problem is not specific to single device. Tak your time and get yourselves some information on how this security is implemented, before you start wasting time in bounties..
[Xperia Z5 Android Development] AndroPlus:
It's not what I wanted to say.

jcase and goroh_kun are real hacker with security knowledge, so they might find a way to break dm-verity + sony_ric security.

I know it's really difficult even for them, but since this is software security, the hole is at somewhere.
[Xperia Z5 Android Development] rolo143:
Hi. I just got this phone, is really cool! But I really want to root it, how can I know if I have locked or unlocked bootloader?

Thanks.
[Xperia Z5 Android Development] Duvel999:
Congratulations & welcome the Sony forums

Please use first the search button on XDA or Google.

This is the easiest way.

Its mentioned many, many times. :cool:

I'm sure you'll find it within 5 minutes.

Sent from my E6653 @ XDA Portal
[Xperia Z5 Android Development] ondrejvaroscak:
Just go to Service Menu (*#*#7378423#*#*) and then go to Service Info / Configuration

If you see Bootloader Unlocked, it is obvoius

If you see Bootloader unlock allowed: YES it means you are LOCKED but can unlock

If you see Bootloader unlock allowed: NO then you are out of luck as bootloader can not be unlocked (mainly US T-Mobile)

be aware that unlocking bootloader irreversibly deletes DRM keys and therefore you loose certain Xperia functions even if you re-lock later.
[Xperia Z5 Android Development] rolo143:
It says Bootloader unlock allowed: Yes

:D

Now how can I unlock it so I can root it?
[Xperia Z5 Android Development] gavster26:
Here you go http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
[Xperia Z5 Android Development] GeramanX:
Good news guys!
[Xperia Z5 Android Development] Azdian:
He bought the premium version.
[Xperia Z5 Android Development] BrainstormPL:
I think the premium version not differs so much from normal Z5. So it's really good news. Hope to see the root soon!
[Xperia Z5 Android Development] biohazardta:
Hello!

Does E6683 are able to root yet?

Thank you!
[Xperia Z5 Android Development] alfiabraham:
Awesome! Now that's great news :D [emoji3] I'm supporting [MENTION=2784807]DooMLoRD[/MENTION] for sure :)

sent from my Sony Xperia Z5 Premium Dual [E6883]
[Xperia Z5 Android Development] skordilis:
is there any way to donate to someone here which help us root the z5 without affect the guarantee?
[Xperia Z5 Android Development] schmolch:
There is a bounty for the z5 compact:

http://xdaforums.com/z5-compact/general/bounty-z5-compact-root-locked-t3242226

You could do the same here and join the moneys as it will probably work for all Z5s.
[Xperia Z5 Android Development] streilu:
Maybe it will also be a similar thing with Z4 Tab, am I right?

Gesendet von meinem SGP712 mit Tapatalk
[Xperia Z5 Android Development] AndroPlus:
Breaking dm-verity is needed for root without bootloader unlocking, so almost all newer devices are affected.
[Xperia Z5 Android Development] zohaib0001:
[MENTION=5169444]AndroPlus[/MENTION]

What its mean ?

Is there any hope for Root with LockedBoatloader for Z5 ?

Or Not ?
[Xperia Z5 Android Development] ondrejvaroscak:
Very hardly. Verity is there since KitKat and have not been broken since.
[Xperia Z5 Android Development] zohaib0001:
Ok it is not break since kitkat , But still rooting is possible in lollipop 5.1.1 for many xperia devices with lockedBoatloader Right !

Devs just need to find a way to exploit New xperia devices...
[Xperia Z5 Android Development] koziakauzu:
Actually you have to downgrade them/root them before going to rooted 5.1.1. And the Z5 came out directly with 5.1.1.

Sent from my E6653
[Xperia Z5 Android Development] arjun.arora:
Can you please compile one for the Z5 premium dual sim version. Thanks
[Xperia Z5 Android Development] xtacy!:
No rooting love for the dual SIM variants?
[Xperia Z5 Android Development] Knux14:
Nothing yet as I'm aware, check out Z5 premium section on XDA :)
[Xperia Z5 Android Development] skordilis:
2 tired for w8.bb z5.going to samsung :D
[Xperia Z5 Android Development] Aaron_035:
Hope you find joy in the dark side.
[Xperia Z5 Android Development] skordilis:
i dont think z5 get the proper support for root even in 7 months without loose warranty :good:
[Xperia Z5 Android Development] _Dennis_:
Rooting the S6 trips Knox, you lose functions like Samsung pay.

Android is getting more secure, this is a good thing.
[Xperia Z5 Android Development] skordilis:
the bad thing is i can't use titanium backup on my z5 :)
[Xperia Z5 Android Development] _Dennis_:
You most certainly can, just have to be willing to give up some post processing on your pictures and some other 'enhancements'. Same with Samsung, lose this to gain that.

Not saying you shouldn't go to samsung, if that's what you want. Just saying that is the way everyone works, even the 6P trips as efuse when you unlock your bootloader, though Google isn't d doing anything with that info right now, nothing says they couldn't.
[Xperia Z5 Android Development] skordilis:
i understand what you say but my main problem is the root. i dont care about custom roms or anything else.i need a proper backup like my paid titanium...
[Xperia Z5 Android Development] sadonlyone:
[MENTION=7075770]skordilis[/MENTION]

I know that feeling !
[Xperia Z5 Android Development] ilovebrazil:
Keep waiting...
[Xperia Z5 Android Development] Mio-Treo.info:
It can use the procedure in the first post used for Xperia Z5 Dual (E6633)? Or how to make this type of root? Thank you in advance for your advice
[Xperia Z5 Android Development] dayofdoom:
is the problem a sony thing or a lollipop thing?

is any top phone with LL launch not to be root?

how are the chance to root?
[Xperia Z5 Android Development] Drakorcarnis0:
There is zero chance to root any phone running lollipop on top of a locked bootloader, unless a genius find an exploit, wich is very unlikely.
[Xperia Z5 Android Development] GeramanX:
[MENTION=2784807]DooMLoRD[/MENTION], only he can do it.

I'll be waiting no matter what.
[Xperia Z5 Android Development] AndroPlus:
Actually, DooMLoRD's root methods were based on exploit which was discovered by other people.

We need security specialists...
[Xperia Z5 Android Development] hebbe:
Hi!

just for understanding: if bootloader is unlocked, every device/lollipop can be rooted?
[Xperia Z5 Android Development] Duvel999:
Yes, that's easier to get Root

Sent from my E6653 @ XDA Portal
[Xperia Z5 Android Development] Drakorcarnis0:
Yes
[Xperia Z5 Android Development] _Dennis_:
Not every device. Most yes. But you still need a kernel etc. Also on Sony devices unlocking bootloader means destroying DRM keys, similar to Samsung tripping Knox, but worse since effects camera.
[Xperia Z5 Android Development] dayofdoom:
No titanium, no nanodroid backup

Or bad camera

Hmm

or change to a device that could be rooted

without lose drm

but which device....

What about Android M

could be easier to root?
[Xperia Z5 Android Development] GeramanX:
Yes, that is correct.

You can unlock your Z5 and root it at this time but remember you'll loose some Sony features.
[Xperia Z5 Android Development] FakeSmile:
Can someone tell me what exactly i am going to lose if i unlock my bootloader? I know only about low light photos(not confirmed though)
[Xperia Z5 Android Development] ianrobbie:
The only thing I know about is the photos. I went ahead and unlocked my bootloader and can honestly say I haven't seen any differences.
[Xperia Z5 Android Development] ondrejvaroscak:
It varies depending on the phone model. On Z3 it was:

-low light photo quality / BionZ (photo processor) post-processing

- XReality / Vivid engine

- Noise cancellation for headphones

- Functionality of PS4 app

- Functionality of TrackID
[Xperia Z5 Android Development] ianrobbie:
I've owned a Z2 and a Z3. Unlocked the bootloader and rooted both. Strange thing is, when I did, the only functionality I lost was Remote Play, which I was able to restore using Xposed and Rootcloak.

I now own a Z5 and to me, there's nothing in that list that is more important than gaining root.

- XReality - Does anyone really care about this?

- Noise cancellation - Has always worked fine for me, regardless of which model of phone I was using.

- PS4 Remote Play - As explained above, can be restored using Xposed and Rootcloak.

- Track ID - Again, does anyone actually use this?

Don't get me wrong, for a lot of people the post-processing effects in the camera are important, but the loss of a feature like that is insignificant compared to the advantages of having a working root. But when you bear in mind that there are apps out there that can enhance your images on your phone, achieving similar results, is it worth holding off?

Once you remove those considerations and you're happy to jeopardize your warranty (although from what I understand, unlocking your bootloader doesn't void your warranty any more) it seems like unlocking your bootloader to achieve root just now is a no-brainer.

For me at least.
[Xperia Z5 Android Development] koziakauzu:
Considering how close we are from marshmallow update, I'd wait for that. But that's just me.

Sent from my E6653
[Xperia Z5 Android Development] dcro95:
Same here :)
[Xperia Z5 Android Development] ondrejvaroscak:
I am definitely not questioning your answer, it is a matter of decision for everybody, but I tried to find adequate substitute for post-processing, without much success. The one thing that makes things overcomplicated is that Sony softwares lack Camera2 API support, which renders all possible candidate camera apps useless. As for other things you are right. My post was not about if you die from loosing such functionality, but just a list of what is lost on Z3. The good is that on Z3 you can backup your TA and thus DRM keys before unlocking, which is impossible on Z5. So on Z5 it is an irreversible decision to unlock bootloader.
[Xperia Z5 Android Development] ianrobbie:
No, I know you weren't questioning me! ?

I just wanted to say that for me, the loss of the TA keys isn't such a big deal. I don't get any benefit from retaining them (as far as I can see) and I just wanted to share my experiences. If the post-processing is important to you then you are absolutely right to keep the bootloader locked.

For me, it wasn't worth the wait.

Hopefully, the solution will come soon for you guys.

Have a good Christmas everybody!
[Xperia Z5 Android Development] dayofdoom:
is any device rooted that come with LL?
[Xperia Z5 Android Development] arismelachrinos:
unlocking th bl doesnt void the warranty? for real?
[Xperia Z5 Android Development] gamer649:
Unlocking the bootloader does void the device warranty.

Taken from here.

Device specific warranty info is attached, see the last paragraph in the screenshot. Unlocking the bootloader is a software modification and thus Sony will likely claim that any parts failing in the phone/phone coming apart will be down to the unlocked bootloader and thus not covered.
[Xperia Z5 Android Development] Xajel:
This is what I hate about Sony, even though it has been 2 months since Z5 series was released ( 1 month for Z5P ) but still no way to root without loosing Sony features ( the need to unlock the bootloader to root deletes DRM, disable's Sony advanced features )...

Z3+/Z4 which is now 6 months in the market get the same story.. no root without loosing these features

being both Z4 and Z5 are basically the same platform, I'm expecting the same story will apply to Z5 too, and knowing any way to do it in any one of these will make it much easier to have it for the others...
[Xperia Z5 Android Development] _Dennis_:
So you hate a company because they try to protect their assets?

I dont exactly agree with Sony that this is the best way to protect their software, but it's their software. If it bothered me enough I wouldn't buy their hardware, but it doesn't bother me that much. While I'd love a 'free ride' root method, I am an adult and can weigh the options:

Buy from Sony and live without root.

Buy from Sony and live without Sony special software.

Buy from a different company.

I chose number 2, none of the software is that amazing in my opinion, and root/xposed allows me to accomplish things I wanted.
[Xperia Z5 Android Development] arismelachrinos:
its exactly like that.
[Xperia Z5 Android Development] Xajel:
Don't get me wrong, I didn't say I hate Sony; I said this is the thing I hate about Sony...

I don't have anything regarding protecting the software, every one have the right to do so.. but the way Sony is handling this is very very annoying, AFAIK it's the only company that do this, Samsung will stop you from having Samsung Pay if you triggered Knox by installing unsigned Kernel, but Payment is a too much less hassle that Camera, Audio, screen quality.. these are the main things ( along with Hardware, Design, Software quality ) that people will buy Sony for.. yet by just a need to root you will loose these making your brand Sony looks like Xperia arc from Software/feature perspective ( not to say that arc was bad, but comparing to this time )

If there's a way - even if it was provided by Sony themselves - to root while maintaining these features intact I'll be very happy.. the fact is the majority of peoples who unlocked the BL and lost DRM/features did so only because they need/want root access.. but from a engineering POV, it's not necessary...

I'm Sure Sony is aware of this, infact I heard they asked this exact thing in the Marshmallow beta testing campaign ( though I'm not in this one ), which is to have an easier way to get root without the need to unlock the bootloader.. and if Sony get enough feedback/request I'm sure they will do it...

maybe they will allow it by adb and request codes just like how unlocking BL works to make sure it will not be a security issue and the one who do it actually knows what he's doing, after all no body will want a small malware to have root access, or an app to get root access without the user know.. or even non-techy users will just install an app now knowing they're actually having root...
[Xperia Z5 Android Development] Knux14:
IMO, Sony sucks because of this, i used to have an OnePlus One and a Nexus 5 so... I feel pretty in cage there... I'm probably going to sell off my Z5 and buy another thing more open..

Not sure which yet but meh Sony bored me.. Surely not an N5X as it is made so poorly...
[Xperia Z5 Android Development] alphatact1cs:
Hi everyone :)

I have rooted my Sony Z1C long ago, but now I have a Sony Z5. Not the best choice, but the only one I had.

Now I need ROOT for many things I cant do at the moment. Here is my plan:

1) Unlock bootloader - warranty lost :(

2) DRM keys - lost forever?

I dont need xReality, camera improvements. What else is lost?

3) Use a Xperia ROM, prerooted with SuperSU.

Questions:

Did I lose the fingerprint scanner when I use a preerooted Xperia firmware?

Can I restore the DRM keys by installing a original ROM and locking the bootloader - so restore all to normal?

Did anyone else have problems with their headphone jacks? Heres a link what I mean: https://www.reddit.com/r/SonyXperia/comments/3riwsd/xperia_z5_statichissing_noise_in_headphones/

Thanks
[Xperia Z5 Android Development] dayofdoom:
I hear Mashmallow is to come till End Jan

and then it is easier to root?

---------- Post added at 08:10 PM ---------- Previous post was at 08:10 PM ----------

I hear Mashmallow is to come till End Jan

and then it is easier to root?
[Xperia Z5 Android Development] ianrobbie:
Hi. Some answers for you.

1) Apparently so.

2) without any way to back up your TA partition, your keys are gone, I'm afraid.

My fingerprint scanner still works. Initially had problems with the Camera FCing, apparently because it needs to be deodexed. I solved it by simply grabbing a copy of the apk for the Sony Camera v2.0 and reinstalling it. I don't use the other features and I'm not a big camera user.

3) So far, there are no pre-rooted ROMs and only a dirty root solution, achieved by fastboot. It does work, though. Since rooting, I've had no significant problems.

As far as the headphone issue, I haven't had it so it could be a problem with your handset. I'd check it first before unlocking your bootloader.