yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact General] lowtraxx:
No, it is of no use for Android. Just read the article you posted. It states:

1. You need a user that is a member of the wheel group - No wheel group on android

2. PolKit must be installed - AFAIK android does not use PolKit

3. PackageKit must be in use - AFAIK android also is not using PackageKit

The main "exploit" here is that you can in some instances use sudo without supplying a password to escalate the command you entered to root level. But for this you need to be a user in the wheel (administrative) group. In android this group and the sudo command are not used and as such this "exploit" can not be used on android. The article posted by gregbradley tries to blow this issue out of proportion, as with most linux distributions this is not an issue but expected behaviour.
[Xperia Z3 Compact General] Zwulf:
Dang it! Thanks for further explanation! :)
[Xperia Z3 Compact General] lowtraxx:
Always glad to help. Trust me, I am as eager as the next guy to find an exploit we can use to root these dang phones (or in my case this tablet). I hope we find one soon, because the ones discovered up until now seem all to be dead ends (either already fixed with backported patches by sony or the provided escalation is not high enough to achieve root). But I am positive that time will bring root :)
[Xperia Z3 Compact General] cmvienneau:
Im thinking theres some way we can use terminal ide. Havent had much time. It allows compilation of su from source right on an unrooted device.
[Xperia Z3 Compact General] lowtraxx:
Compiling the su binary on the device makes no difference. The problem is to get the suid bit on the su binary set to allow it to be executed as root. For this it makes no difference where the binary comes from, lies or is compiled. For an in-depth explanation on what is needed and why it does not suffice to have the su binary at a specific place or a specific directory refer to http://android.stackexchange.com/questions/27321/why-cant-the-su-binary-simply-be-copied-techical-response-please (First answer and follow-up comments clear up the execution- as well as the suid-problem).
[Xperia Z3 Compact General] cmvienneau:
Pie root uses kind of a similar method. By making a false system directory

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

I think it was the moto g. Data/local/otcv folder would allow execution of binary.
[Xperia Z3 Compact General] lowtraxx:
The problem with the PIE method is that it again relies on the exploit here which was fixed in Android 4.4.3. As I stated before, to achieve this in general many factors need to be true and it is irrelevant where the su binary lies (as long as the folder allows it to be executable) and where it was compiled.

So in order for this to work we would need the following:

1. Folder with execution rights

2. su binary in this folder

3. su binary chowned to root user

4. suid set for the su binary

So in conclusion, this method is not usable for the Z3 phones/tablets because the underlying vulnerability that granted the possibility to get a folder with execution rights mounted was fixed in android 4.4.3 and thus without having a folder to execute we cannot have a working su binary.
[Xperia Z3 Compact General] Polso:
Sorry, going to have to withdraw my $20. I am going to buy another device.

Thank you anyway
[Xperia Z3 Compact General] wardpeet:
I'm in for $50 (+fees) if possible to pay through paypal
[Xperia Z3 Compact General] Pondera:
This non-rootable attitude will affect Z4 family. People thought there will eventually be root when buying the device and now they are losing faith. Mobile lifetime is very short these days, so people are more impatient because of that. One by one people are listing their devices to be sold. It may not affect the current market but it will affect future. May be small may be huge, but it will....
[Xperia Z3 Compact General] minos197:
I have noticed that since I have switched to using Stamina mode permanently, the device randomly reboots while idleing once or twice per 3 days. I will post a logcat dump next time it does it and I happen to be at home.If there is a native bug in their FW it should be investigated on how and if it can be exploitted. I am running build 23.0.A.2.105.Does anyone else get random reboots?
[Xperia Z3 Compact General] SONiX-GERMANY:
In my case - no. Never had random reboots with Stamina on or off. But - i noticed big lags in the last few days when i wake up the phone, 3 - 5 seconds, then it's all normal. Just curious with this high end phone, maybe a bug while switch from deep sleep to normal? Who knows. Atm i don't use it for telephony, have no sim inserted.

atm: Z, Z3, Arc S, Play, S3, S3 Mini
[Xperia Z3 Compact General] jaime4272:
hopes are running thin people are getting desperate there have to be a possibility to root for this device. obviously developers do not want the money that is being offered for the first one who can find root without unlocking the bootloader. we need that root.
[Xperia Z3 Compact General] pricey2009:
This device/series will probably never be rooted with a locked bootloader now.

I feel I may as well give up hope now and just accept that I do not have full control of this phone.

Next upgrade I get will not be a Sony, that's for sure.
[Xperia Z3 Compact General] sununs11:
Anyway, we can unlock and root. If it still can't root with lb after lollipop release for two months, I will unlock it for sure, just loss some features I hardly use.;)

Z3C's small size and excellent battery life are the reasons i buy it...
[Xperia Z3 Compact General] exnokiafan:
Well, the Z3C was and still is my best option. If it won't be rooted before the end of january I'll have to buy sth else. At the moment I'm using a s3neo and rooting changed the way I use it.

Shame, shame on you Sony -.-" [they didn't even answer to my questions on twitter]
[Xperia Z3 Compact General] pricey2009:
I cannot unlock, that is the problem.

Bootloader unlock allowed = no
[Xperia Z3 Compact General] King p1n:
Well thats hardly Sonys fault is it...

Thats down to your network.

Theres unlocked D5803 that can have their Bootloader unlocked.
[Xperia Z3 Compact General] pricey2009:
That's the whole point in finding root for locked bootloader ffs

And yes it is sonys fault as well as the networks, as they both refuse to change it so it is allowed to be unlocked..
[Xperia Z3 Compact General] King p1n:
Did I say it wasnt??? "ffs" lmao angry for no reason:laugh:

The network have requirements and requests and Sony met them...otherwise the network probably would've refused to stock them and Sonys mobile division is in no position to lose oppurtunitys like that.

Your the one complaining and highlighting the fact your bootloader isnt unlockable at all, Im just saying If you really wanted to get one which could be unlocked you should've bought a sim free D5803, instead of complaining about it as If all their models are like that.

Why should Sony change that fact your Bootloader cannot be unlocked? It was your choice to buy it and as I said before it was most likely done by request of the network rather than Sony just being mean.
[Xperia Z3 Compact General] pricey2009:
I should of received a sim free model, the phone is not locked to the network either I can use any sim.. Thats what I am saying I feel I have been scammed with this device.
[Xperia Z3 Compact General] King p1n:
Out of curiosity where did you buy it from?
[Xperia Z3 Compact General] pricey2009:
I got it as an upgrade through mobiles.co.uk which is part of carphone warehouse.. They would not exchange for another unit either.
[Xperia Z3 Compact General] angelohb:
I was disappointed with Sony. I Use Mobile Samsung since Galaxy S1. Never had problems with Root. The biggest problem for me is not to use Titanium backup and also not able to write on the external card with other managers. Until the beginning of the year we are still in this situation, I have to say goodbye to Sony ...
[Xperia Z3 Compact General] melafoto:
Unfortunately You're right.... :(

Mela (SP ----> Z3)
[Xperia Z3 Compact General] boojay:
Sorry to hear people consider leaving due to impatience.

Personally, after waiting so long for an awesome phone like the Z3 Compact to arrive in the midst of all the ridiculously gargantuan-sized phablets that have flooded the market the past few years, there's no way I'm letting a little issue like root get in the way of enjoying this award-winning device.

Does it have its shortcomings? Absolutely, every phone does, but as I've repeated in numerous threads and forums, the plusses FAR outweigh any negatives I've experienced so far. There is no other smartphone on the market, currently or in the foreseeable future (save for the Z3C's successor) that checks off as many positives for me:

Form factor and build quality, manageable size, excellent screen, phenomenal battery life, very good camera (if you learn manual mode in conjunction with superior auto mode), dual front-facing speakers, water/dust proof, expandable memory, etc. And then there's little things like the magnetic charger, dedicated camera shutter button, lanyard connector, PS4 remote play, insane image stabilization while video recording, rubberized edges/reinforced corners, and other extra touches make this device an absolute pleasure to use. I know there are other hidden gems I've forgotten to mention or have yet to discover as well.

In short, there's simply no other option that I would consider right now, rooted or otherwise, so good luck to those finding a better phone.
[Xperia Z3 Compact General] sxtester:
And what has that to do with Sony? You bought a cheaper, discounted phone from a carrier. It is known that these have a locked BL sometimes. Tough luck I'd say.
[Xperia Z3 Compact General] pricey2009:
Read my post above, I did not buy from a carrier but from a website linked to carphone warehouse.

My phone is unlocked to all networks but my bootloader cannot be unlocked.

It was supposed to be a sim free model but they refuse to exchange it as they say it has no faults.

Also on previous phones I have spent alot of money on apps that require root to function so as you can imagine I am quite angry that I cannot get these to work until this phone is rooted.
[Xperia Z3 Compact General] paysen:
I'm in, 15$ for root :)
[Xperia Z3 Compact General] wooki:
We should sue Sony for forcing us to lose functions just to use our paid root apps :D

Send with my Xperia Z3 Compact
[Xperia Z3 Compact General] sxtester:
Understand, too bad. Think I'd sell it and get one with unlockable BL. Still strange to see shops selling locked phones that are non-carrier specific.
[Xperia Z3 Compact General] pricey2009:
Seriously considering selling it now.. Anyone unlocked their bootloader in the UK and regret it, let me know if you fancy swapping for a locked device?

Worth a try! lol
[Xperia Z3 Compact General] AnGrY sCoTsMaN:
[MENTION=3150847]pricey2009[/MENTION] just buy a new one from "very" £349 quid. And put it on the 12month buy now pay later thing. You'll sell your other one and pay off very... Sorted! ?
[Xperia Z3 Compact General] pricey2009:
It's xmas I don't have that money spare at the moment lol.. I refuse to do any catalogues like very, I'd rather pay it all up front once this one is sold.
[Xperia Z3 Compact General] vittogn:
Fully agree. Unfortunately the Z3 is the best device out there!

Inviato dal mio D6603 utilizzando Tapatalk
[Xperia Z3 Compact General] michyprima:
I'm not sure how much time I can wait at this point. I'm gonna unlock as soon as there is an aosp L rom worth it.
[Xperia Z3 Compact General] jaime4272:
We should ask Sony or Google to give us root for this devices or to give our money back its f#$$% annoying that we can't use the SD card to transfer file because of dame kitkat restrictions unless you have root to bypass this restrictions. Dame you Sony for not giving us an exploit and Google for kitkat f#$$% SD writing restrictions. next time I'll choose to wait for a device to have root before I buy it...
[Xperia Z3 Compact General] cschmitt:
Having read about previous Z series devices, I knew what I was getting into when I bought the Z3c -- bootloader is unlockable and then root is simple, but some functionality would be lost.

It doesn't seem right to blame Sony, etc. for what was already known about the side effects of unlocking the bootloader and they'll never provide an exploit that would permit root on a locked BL device.
[Xperia Z3 Compact General] pricey2009:
Thing is some of us end up with device whose bootloader cannot be unlocked like mine and hence loose the option to do it..

This is what winds me up.

Root is a thing all owners of any device should be able to do.

It's like buying a car and the manufacturer saying you cannot change the seats for more conformable ones otherwise you loose your steering wheel.
[Xperia Z3 Compact General] cschmitt:
That's true, most carrier devices have bootloaders that cannot be unlocked, but that's still a choice the buyer makes in choosing to purchase a possibly subsidized carrier model vs. full price for the sim-free version.
[Xperia Z3 Compact General] pricey2009:
That's another thing, read my previous posts today.. My device was sold to me as sim free and is not locked to any network however I still cannot unlock my bootloader.. I cannot exchange it either as they say there is no fault with the device..
[Xperia Z3 Compact General] aha360:
...and that is the problem that some of us here have. If companies endorse these kind of restrictive practices, then you should vote with your wallets, regardless of the situations that may pop up during a phone's lifespan, and as for those calling people "impatient", looking at the phones today - six months to a year is all a phone has to be deemed as "the flagship model" and frankly, not everyone likes to **** around waiting for root access hacks and custom ROMs et cetera towards the end of a phone's "flagship status period", and I cannot blame the consumers who say "F\_/C|{ it - not gonna buy a phone if it doesn't allow me to have root access and have an unlockable bootloader without loss of functionality". Just because tech-savvy (and possibly rights-savvy) consumers are a niche, it doesn't mean that their stances should be undervalued at all. In fact, their stances should be taken into account, regardless of their views being niche or not. Heck, I shouldn't have to say this, but if you strongly need root access with no loss of functionality or if you need something that one phone provides that others don't, vote with your wallets, and for Christ's sake, stop making lame excuses for companies - exempli gratia: "well it isn't Sony's fault that they make people lose DRM keys in exchange for a locked bootloader". What the hell happened to having cojones and exercising consumer rights?
[Xperia Z3 Compact General] cschmitt:
I would have returned for a refund, and if they balked at that then disputed the charge with my credit card company.
[Xperia Z3 Compact General] zocker7:
Is this possible with D6603 ?!?

https://www.youtube.com/watch?v=nsh51O1ImMM
[Xperia Z3 Compact General] TheICTShamus:
So what would happen if you have a D6616 and you try to use a sony unlock code to unlock your bootloader?
[Xperia Z3 Compact General] Moist:
It says exactly what happens on the site.

You void your warranty and lose some functions on your phone, mostly camera related functions.
[Xperia Z3 Compact General] TheICTShamus:
I guess I am not understanding something. Is it that everyone is wanting a root option without unlocking the bootloader? I thought it was that no one knew how to root the D6616 and that all the rooting options only worked for the other models of the z3. Also has anyone already rooted the D6616 and described what fuctions and programs are lost? Does this also mean that when the lollipop updates get sent out to everyone's phones that they will not be able to update if they have already rooted? Thanks
[Xperia Z3 Compact General] kuzcoTheGreat:
see here:

http://xdaforums.com/z3/general/tested-effects-unlocking-bootloader-t2968087
[Xperia Z3 Compact General] pricey2009:
Yes I need root but cannot unlock my bootloader
[Xperia Z3 Compact General] Hackpb:
Maybe it don't belong here but there are some people successfully archiving the restoration of drm or something like this in this post:

http://xdaforums.com/showthread.php?p=57675821
[Xperia Z3 Compact General] vittogn:
Thanks for spotting.

My guess is that we do not have anything to restore as we can't backup them!!
[Xperia Z3 Compact General] cschmitt:
That does not restore the DRM keys. It is a patch (hack) of some of the DRM binaries, libraries, and apk that trick the OS into thinking that DRM is enabled.
[Xperia Z3 Compact General] agam1308:
and it works perfectly! ?

Enviado desde mi D5803 mediante Tapatalk
[Xperia Z3 Compact General] boojay:
Did you get it to work on yours?
[Xperia Z3 Compact General] agam1308:
I did, in fact a few hours ago.

Enviado desde mi D5803 mediante Tapatalk
[Xperia Z3 Compact General] boojay:
Noice!!

So have you managed to test to make sure all the lost DRM features have been restored?

I might as well take the plunge myself and root without waiting for the LB exploit if everything is working after that fix.
[Xperia Z3 Compact General] agam1308:
From what I could try, everything works perfectly... and not only to me, you can check the following thread:

http://xdaforums.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672/page36

the only problem I found is that I can not log in with my PSN account on the playstation app.

Sorry for my English.

Enviado desde mi D5803 mediante Tapatalk
[Xperia Z3 Compact General] muzab a:
I'll probably wait until lollipop arrives and if it theres still no root for lb then ill go for the drm patch
[Xperia Z3 Compact General] boojay:
Yeah, I'd been following that thread for a while now and you, along with a couple others, were among the first to successfully restore the DRM functions. Now more and more are reporting the same so that's great!
[Xperia Z3 Compact General] spyvsspy:
so... comparing a rooted device with unlocked bootloader and restored drm patch to a unrooted device with locked bootloader , the functionality and performance are the same ?

if so can i say we have kinda "proper" root ??
[Xperia Z3 Compact General] CAL7:
And... Warranty?
[Xperia Z3 Compact General] spyvsspy:
who give a **** about warranty ? life's too short for me to care.

give me root!

if thats the only thing missing on a unlocked BL with root.. then im gonna root right now.. waiting for confirmation.
[Xperia Z3 Compact General] Pyres:
well then, I guess there's little to no meaning in keeping this bounty thread alive

I for one am going to try the DRM restore way. Good luck to everyone who'd rather wait for an exploit
[Xperia Z3 Compact General] wooki:
patience please.. There are many who can't unlock their bl and need to wait for someone to make root..

Send with my Xperia Z3 Compact
[Xperia Z3 Compact General] Stylis10:
I dont know if I am being stupid or not but I guess I wont know untill I ask this.

Does this mean that after rooting with an unlocked BL, and "restoring DRM" with this patch. We are not really able to install custom roms because that would in essence cancel out the patch and so DRM would again be gone? Or in a new software update was to come out and that did not have the DRM patch we are essentially stuck with Kitkat?

Or would installing a new rom, regardless of root exploit or not, remove DRMs?

I am a little confused but if anyone understands what I mean and answer would be grateful
[Xperia Z3 Compact General] charliebigpot:
You are not being stupid as I have the same question ;) I think that you need to re-apply the patch every time you flash a new rom, but maybe someone out there can tell us?
[Xperia Z3 Compact General] spyvsspy:
Had any luck ?

i'm super curious about this method.. who needs DRM when we have the functionality ?

if you can please report us back :)

also, on which model did you tried it on?
[Xperia Z3 Compact General] pricey2009:
Exactly, some of us do not have the option to unlock bootloader so we are relying on an exploit being found..
[Xperia Z3 Compact General] XQC:
The DRM patch method is surely tempting, but I'll rather still wait for an exploit.

Maybe an software update by Sony will close that hole which the DRM hack is using.
[Xperia Z3 Compact General] Moist:
Agreed I'm in for 10$ and an additional $10 if it's out before 2015
[Xperia Z3 Compact General] Dijk:
Can you even make use of DRM protected features on non-Sony ROMs?

You should always be able to flash a previous official kernel or userland image and apply the patch - just like rooting an XZ with 4.4.4 - so no need to rush.

Warranty is an issue for me. The touchscreen of my old XZ recently broke and I was happy to have it repaired through warranty now (replacing the screen component costs 150€ or more otherwise).
[Xperia Z3 Compact General] aha360:
No for the most part if I am right - the only main purposes of having a way to gain root access with locked bootloader phones is to be able to use DRM-protected features on Sony ROMs AFTER trying out AOSP-based ROMs, and thus making the phone warranty-friendly after modding the phone, and of course, delete bloatware that cannot be done otherwise.

Also, if you ask me, it would be better if the Z3 lineup had locked bootloader root BEFORE its successors come out, but just to be clear here, this is NOT a demand or an ultimatum for developers here to quickly find a hack but rather, just a comment stating my opinion on an ideal time to successfully find and release said exploit.
[Xperia Z3 Compact General] boojay:
That's precisely why the OP pointed out there's almost no reason to find LB root anymore. If LB root means you can only use stock roms anyway, that's essentially the equivalent of the current UB root method and applying the DRM patch afterwards which restores features native to the stock rom that were lost when you unlocked the bootloader. Apparently the patch can't be applied to custom roms (yet). Perhaps it never will. Also there's debate right now if ALL the features are restored, but for the most part, the important ones have been confirmed working by a handful of users, i.e. camera algorithms, Bravia engine, with audio and Remote Play yet to be reported working.

Assuming the DRM patch does restore all features to UB root stock rom, the only thing missing are the actual DRM keys for warranty purposes, which many, if not most, will not care about anyway (myself included). Another concern is when Lollipop comes out and if/when a new patch will be developed to accommodate that update. Personally that's the only thing that somewhat concerns me still, but as of recent developments, I can't think of another major reason to wait for LB root anymore.
[Xperia Z3 Compact General] 0c3l0t:
OT: when lollipop releases will this thread's bounty still applies or OP will post another one?
[Xperia Z3 Compact General] caqo71:
The MAIN purpose of root in a LB is that you can backup the Trim Area (TA) partition, so, after that you can unlock bootloader, install whatever you want in your phone (Kernels, roms, aosp, CM, etc.), and after that, you can restore the TA backup and your phone will be like a new one, with BL locked and all DRM's intacts. Warranty is the main reason.
[Xperia Z3 Compact General] jaime4272:
nonr

some times I wonder if the reason why devs have not find root for LB is because an upgrade to lollipop is near and don't want to wast:confused: time on kitkat no more.
[Xperia Z3 Compact General] GeramanX:
That's right, Lollipop is almost here and maybe devs are waiting.

We just need to be patient and thank(and of course donate some money) once we get root access.

Merry Christmas to you all!