yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 General] bshaulov:
It is probably because of all the pissed off people spreading news about Sony's DRM TA partition locking us out of root

" While there’s no way to say for sure that the uncarrier pulled the phone due to limited demand, we wouldn’t be too surprised... On the other hand, the*Sony Xperia Z4*is likely just around the corner, with*new images leaking today,*and so perhaps T-Mobile simply ran low on inventory and decided to wait it out for the Z4 as opposed to working with Sony to secure more stock? Only time will tell for sure."

http://www.androidauthority.com/t-mobile-sony-xperia-z3-discontinued-598882/
[Xperia Z3 General] tuzonghua:
According to the T-Mo USA Software Updates page, the Z3 is still on track to get Lollipop. Just because they've dropped it from their inventory doesn't mean they'll discontinue software updates. As posted earlier, there are devs working on the Note 4 (running KitKat) to root it. When T-Mo releases the Z3 Lollipop update, honestly, I wouldn't take it unless you don't care about root. Until the 5.0 OTA can be proved rootable, I would wait it out and see if a 4.4 exploit comes through first. That way, you'll have a path to 'pure' 5.0 rather than be stuck on the Sony version.
[Xperia Z3 General] tdoyle10goo:
Rather than finding a Root Exploit.

Rather than finding a root exploit, we should be filing a Class action suit for Sony's violation of the Consumer Protection Act. This clearly states that if a person purchases a piece of equipment they have the right to modify it. This locked boot loader is a clear violation of that Law.
[Xperia Z3 General] tuzonghua:
I think the history of Android phones has clearly shown they aren't subject to this. By your logic, *any* Android phone, no matter if it's a $50 burner or a $600 flagship, would make their manufacturer liable for a lawsuit. Yet how many have been filed? So if you want a phone guaranteed to have root, may I refer you here or here?
[Xperia Z3 General] BattsNotIncld:
Put me down for $25

Root on this phone would propel it from very good to great. I ordered an S6 but am returning it because of poor battery life and ****ty touchwiz (not to mention no SD card or IP rating). Gonna stick with this bad boy until something better comes out this year.
[Xperia Z3 General] kaikea:
Hey guys, sorry but would the OP be able to remove my $25 pledge. Got rid of my Z3 D6616 and went back to the nexus. Should have never left. Hopefully you guys find an exploit soon. Best of luck!
[Xperia Z3 General] nobunnysapro:
I would like the pledge $15.
[Xperia Z3 General] mcj108:
Would like to pledge $10
[Xperia Z3 General] Mortifix:
Just traded my D6616 for the S6 Edge. Can't beat root capable out of the box. It's such a shame because I liked the Xperia so much, but being stuck on 4.4.4 and not being able to write to my SD card drove me nuts. It was nice being able to sync my PS4 controller to my phone with a push of a button, but with so few games supporting controllers the excitement faded quickly. Even though they stopped selling it, the Z3 will still be getting 5.0. Why it has been taking so long is beyond me but I do know they are still in phase 1 of 3 with the development of it.
[Xperia Z3 General] danishdish:
The thought has crossed my mind ....

Maybe I'll trade in mine, too. I'm going loco-crazy because I can't flash a rom every week, which is what I used to do with my Hercules (Samgung Galaxy S2/SGH-T989). However, I have purchased five cases for this phone already :silly: ...

Enjoy your latest and greatest. :cool:
[Xperia Z3 General] ubuntunerd:
same here, not being able to flash other roms or just simple root is driving me crazy but not as much to trade for the s6 !!!
[Xperia Z3 General] tuzonghua:
Just checked with T-Mo customer service. The Z3 5.0 update will be released in May. Not sure if that means an easier path to root though.
[Xperia Z3 General] ocelot4ark:
May 31st is like 6 weeks from now. I love this phone, but screw that. I'm sick of waiting for lollipop.
[Xperia Z3 General] lvlonkey:
Is there even anyone actually working on this? Or are people waiting to see if the new update has exploits?
[Xperia Z3 General] leonhks:
Not sure but im hoping if the update will have an exploit
[Xperia Z3 General] scoder:
Devs are currently working on gaining privileges on the Note 4 and Kindle Fire from this exploit: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-1474

This is an Android-wide bug, so it affects anything before 5.1. They are finding it hard to trigger the exploit though, but if they do, it will be a similar application to TowelRoot most likely (one application that works on various/most devices). 1474 will escallate privileges, allowing 4322 (giefroot) to root the device.

1474 is rated a 10 on NVD's website, which means it has high impact across Android devices. Let's hope it gets figured out soon.
[Xperia Z3 General] superangel16:
Thank you so much for the information man! We need to hear that.
[Xperia Z3 General] ubuntunerd:
bump !!!

This thread really needs to be on top :)
[Xperia Z3 General] superangel16:
Yes it should, I add $25.00 to the pledge, hope someone get interested.
[Xperia Z3 General] mcj108:
Would like to up my pledge to $20

Really missing Greenify, Titanium Backup, and Xposed :l
[Xperia Z3 General] Lobo Lansky:
Greenify works for non root now. I'm using it.
[Xperia Z3 General] randommouse:
Put me down for $80 IF and ONLY IF root is achieved before the release of 5.x on T-Mobile. Really bored with Sony's take on KitKat.
[Xperia Z3 General] zxz0O0:
Someone with good experience using adb can pm me to test something new? DD6616 should be on Android 4.4
[Xperia Z3 General] Veganarchy:
Yes, more hope! After root we can hope for an unlocked boot loader.
[Xperia Z3 General] HORiZUN:
If you need a tester, I'll throw anything you want at my Z3. It's not my daily driver, and I hate its locked bootloader with a passion. Let me know what I can do to help. I dream of the day I can install TWRP on this phone...
[Xperia Z3 General] Ducter:
I did a quick search on Xperia Z3 root and saw it, ordered the phone and oops, not enough research on my end as didn't realize it wasn't for T-Mobile's version.

I'll send something your way when income permits. definitely worth it, everyone that roots the phone should donate just a little bit.
[Xperia Z3 General] mineownself:
And there we have it folks. Compliments of zxzo0o
[Xperia Z3 General] leonhks:
Image still not up but let assume rooted or unlock bootloader
[Xperia Z3 General] mineownself:
My mistake guys. Screenshot is visible now. :)
[Xperia Z3 General] Veganarchy:
Sweet!!! Patiently waiting for the exploit. With root, will unlocking the boot loader be possible?
[Xperia Z3 General] mineownself:
I wish I could answer that for ya, but I simply don't know. We'll have to wait for zxzo0o to finish up his project here, then go from there. He's the guy that would know. I just followed his instuctions.
[Xperia Z3 General] HORiZUN:
I would bet my last dollar that the bootloader on the D6616 will never be unlocked. If this device is similar to the other Z3 variants however, we should be able to install a custom recovery on top of the locked bootloader. Time will tell.
[Xperia Z3 General] mineownself:
I just installed the existing version of dualrecovery and all went smooth. I haven't tried flashing anything with it yet, but I backed up my stock rooted ROM successfully.
[Xperia Z3 General] Soured Lie:
Count me in for 10 bucks.. It's not a lot but I don't have much to spare though I want to contribute.

Thank you guys. Ill be happy to just have root.
[Xperia Z3 General] HORiZUN:
Where is the root exploit?! I must root this thing!
[Xperia Z3 General] mineownself:
We used a bit of an complex method. It's being made into a user friendly setup.
[Xperia Z3 General] Veganarchy:
Took the words right out of my mouth. I'm doing my best to be patient....we've just been without root for so long.
[Xperia Z3 General] corybucher:
Stupid question but will this be for the z3v Verizon variant as well?
[Xperia Z3 General] HORiZUN:
I hate youtube ads so much on this thing...
[Xperia Z3 General] lvlonkey:
ahhh I'm so impatient though! What the complex method for those brave enough to try it?! Honestly I don't really care for lollipop as long as I have root!
[Xperia Z3 General] zxz0O0:
Hello,

With the release of CVE-2014-7953 we have a new possibility to get system privilegues. Shortly after release I developed a c binary to exploit it. After trying it on multiple devices, I noticed that the ApplicationInfo struct differs on most devices. In the end I dropped to the Java implementation by hqdvista, as this one is independent. So credits to him for the CVE-2014-7953 exploit.

Combined together with the qseecom vulnerability we can now successfully get root on D6616.

Steps (follow the instructions clearly!):

Download the attachment

Install Java Development Kit (if not installed yet)

Run exploit.bat

Let it run until you see the following line

Run root.bat inside folder root

Wait for reboot and enjoy root

Regards
[Xperia Z3 General] superangel16:
Well people! Finally we have root! Thanks to [MENTION=3975929]zxz0O0[/MENTION] I am a happy tester!!!
[Xperia Z3 General] HORiZUN:
[MENTION=3975929]zxz0O0[/MENTION]What's your PayPal? You have some bounty to collect.
[Xperia Z3 General] zxz0O0:
You can donate via the Donate to me button. I appreciate all donations and hope you enjoy root ;)
[Xperia Z3 General] HORiZUN:
Transaction ID:59160599HG346932J

[MENTION=1808800]tuzonghua[/MENTION]: Please update the OP to reflect my pledge as donated. Thanks again for all your hard work!
[Xperia Z3 General] lvlonkey:
I get this message

Please check com.dosomder.testapp2 as debug app in Developer Options And check the option <Wait for Debugger>

So I do as the message tells me to and I still get the same message when I run exploit. Log attached.
[Xperia Z3 General] Veganarchy:
Sorry for the confusion, but which java development kit app is everyone using. And I'm assuming this can all be done on the phone itself without a computer?
[Xperia Z3 General] leonhks:
I will try the root tonight? And if successful? My donate will be paid to zxzoOo?
[Xperia Z3 General] Ducter:
Anyone having success with this? Everything appears to work, phone reboots and outside of my wallpaper being blank no change.
[Xperia Z3 General] Veganarchy:
Step by step for a dumb noob? Please
[Xperia Z3 General] sortiz4:
Same issue here. Everything appears to be successful, but root checker fails after reboot. I've tried it several times, toggling a few settings and running as admin, but nothing seems to work.

Windows 8.1 with JDK 8u45 64-bit
[Xperia Z3 General] TrunkleBob:
The same thing here. The part that is run in the JDK might be exiting with an error, but the window closes immediately so I'm not sure. Does that portion dump a log somewhere?
[Xperia Z3 General] Ducter:
Had to head out, thinking about it tho I don't see supersu on my phone whereas I should I assume. Anyone else have it get transferred and installed?
[Xperia Z3 General] Ichiban Rei:
Same thing here. Windows 8.1, root checker fails after reboot. Going to try on Windows 7.
[Xperia Z3 General] leonhks:
@ zxzoOo hey what windows version are you using since the other are having issues
[Xperia Z3 General] superangel16:
I succeeded into getting root, when I arrive at home I will explain all details.
[Xperia Z3 General] sfb14:
no root...

i am using windows 8.1 and i tried the process but root checker says no root.

i want to root this phone so bad :(
[Xperia Z3 General] Soured Lie:
I'm just stuck at "demon started successfully".

I put it into debugging mode.

Can somebody please post more explicit instructions? Do we need the Sony drivers? What USB mode should we be in? MTP? Should I be in a recovery mode?

This is not very clear.

If I try running root bat from where the other screen hangs it just says waiting for device to be connected even though it says exploit.bat was successful.
[Xperia Z3 General] superangel16:
Try This Way:

This is a Step by Step Guide for Begginers to Root Sony Xperia Z3 T-mobile (D6616).

This wouldn't have been possible without the hard work of zxz0O0 with the root tool and all the developers who made possible to use de CVE-2014-7953. All Credits To Them.

We are Not Responsible for bricked device!.

This tool is tested by me an others users and did it withouth any problems.

Requierements:

1-Obviously a Sony Xperia Z3 T-mobile (D6616).

2-Adb Drivers Updated (Google Search Them, i guess this one could work http://xdaforums.com/showthread.php?t=2635830).

3-Java SE Development Kit 7 Downloads (http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html).

4-Visual C++ Redistributable for Visual Studio 2012 Update 4 (http://www.microsoft.com/es-es/download/confirmation.aspx?id=30679).

5- Freeze your Antivirus because it can cause you problems (Avast did to me).

I did It on Windows 8.1 Pro 64Bits.

Steps:

1- Be sure you have all the requierements listed before you go any further.

2- Download The zxz0O0 Zip with the Root Tool. (http://xdaforums.com/showthread.php?t=2635830)

3- Open The Zip and install to your Device app-debug.apk inside the Zip, open it.

4- Go to your Device Settings, to developer options, activate: usb debugging.

5- In select debug app, select the apk previously installed.

6- Activate Wait for debugger.

7- Go to the Tool (i recommend you to extract it on C drive)

8- Run Exploit.bat

9- When you get the line ''Success press any key to continue'' you will press any key.

10- Check in your device that the apk is waiting for debbuger, if so, continue, if not check you activated wait for debbuger.

11- Go to Root Folder and Open Root.bat, this will open a second process called JDK, this will take a moment, dont press anything, just wait.

12- The device will reboot.

13- When Device is Rebooted install SuperSu or SuperUser from Market.

14- Open SuperSu or SuperUser.

15- It should open normally and you will be rooted.

16- Check with Root Checker so you are finally rooted.

17- And Thats It!

If you did not achieve root, try again.

This is how i did with zxz0O0 asistance to make the root tool work.

Try this way and post the results.
[Xperia Z3 General] Ducter:
Same results, everything looks as tho it works, phone reboots and no root.
[Xperia Z3 General] Soured Lie:
Still the same issue. Says waiting for device to be connected when I run root.bat

If I run the exploit in with administration privilege it says it can't find installapp.bat

I'm not sure what I am doing wrong but I have done both sets of instructions verbatim. Downloaded all prerequisite applications etc.

---------- Post added at 10:17 PM ---------- Previous post was at 10:15 PM ----------

I hate windows. With a passion.

---------- Post added at 10:21 PM ---------- Previous post was at 10:17 PM ----------

Did you actually go to the play store and install SU? You need to do that.
[Xperia Z3 General] madbrenner:
I have converted the .bat file to .sh files to run the scripts on Linux, however after installing the provided apk and executing the raceme.sh from adb, I am getting an exception cause by:

java.lang.SecurityException: Permission Denial: attempt to change stopped state from pid=5647, uid=2000, package uid=10348

If anyone wants to see the .sh files let me know and I can upload them, although I will probably just install Windows tomorrow for this if I can't get it working.
[Xperia Z3 General] Ducter:
Yes, I have tried that. Says no su binaries installed. Reading the commands in the bat it should do everything for you, install app, push over su and binaries. Does push the app over but as far as I can tell that's it.

When you run adb devices with your phone connected, USB debugging on do you see your device? If not, or not authorized, with your screen on plug phone back into your pc and you should see an Authorization pop up, once you check it you should be good to go in regards to device not found.

---------- Post added at 12:33 AM ---------- Previous post was at 12:30 AM ----------

I'll give them a try if you don't mind. Much rather use my main computer vs an old laptop. Won't be till morning until I can try tho. Heading to bed.

Thanks
[Xperia Z3 General] Soured Lie:
Windows decided it needs to do a 147 item update despite having set it to download but not auto update right in the middle of all of this.

I installed fastboot adb driver package. I'll have to run that and see. What did you use for adb? The link he provided only gives adb drivers up to Z2.
[Xperia Z3 General] flightsimmer:
I'm trying this as well on my wife's 6616, and I'm having the same problem where exploit.bat runs OK and the app installs. I then run root.bat, and everything seems to work OK (the phone reboots) but upon reboot I can't get SuperSU nor Superuser to detect a SU binary on the device.
[Xperia Z3 General] ctschrodinger88:
D6616-Android 4.4.4-23.0.D.1.123

I got the same issue running it on a Windows7 VM on a mac (vmware6, yosemite).

I ran it a couple more times and finally got it past that point.

When I run exploit.bat:

Press any key to continue . . .

Uninstalling exploit app
Access is denied.
Pulling log
I/PackageManager( 888): Copying native libraries to /data/app-lib/vmdl-12637486
20
Found it
Uninstalling exploit app
Access is denied.
Pulling log
I/PackageManager( 888): Copying native libraries to /data/app-lib/vmdl969482610

Found it
system 7497 276 881580 67024 ffffffff 00000000 S com.dosomder.testapp2
Success
Press any key to continue . . .

I then run root.bat and get:

Trying to root device using CVE-2014-4322
Requirement: CVE-2014-7953 exploited (exploit.bat was successful)
Press any key to continue . . .

sun.misc.Unsafe
> >
Breakpoint hit: com.sun.tools.example.debug.expr.ParseException: Name Unknown: java.lang.Runtime.getRuntime
java.lang.Runtime.getRuntime.exec("data/local/tmp/a") = null
>"thread=<1> main", android.os.MessageQueue.next(), line=129 bci=0
<1>main
[Xperia Z3 General] Soured Lie:
That would be great. I would rather do this on arch.
[Xperia Z3 General] madbrenner:
Attached is a zip with the two shell scripts, just put them in their appropriate locations and you should be able to run them as you would the batch files.

Let me know if you are able to get it working with those, I think they are correct, but have been unable to verify as I can't get past executing the raceme.sh.
[Xperia Z3 General] ctschrodinger88:
I just ran the scripts in Windows 7 and got the same error, I don't think it's an issue with your conversion.
[Xperia Z3 General] Elysian893:
So why are your Back, Home, and App Switcher icons completely different from mine?
[Xperia Z3 General] HORiZUN:
I was wondering that, too...
[Xperia Z3 General] sfb14:
aren't those Lollipop icons? i saw a Z3 with android 5.0 and those were the icons
[Xperia Z3 General] GhostRaiderMX:
​

I'm running 4.4 and I have different softkey icons. It's nothing new. Anyways gonna try the root soon. Its important for many people to try this.
[Xperia Z3 General] bball09:
Root achieved d6616

http://xdaforums.com/showpost.php?p=60494236&postcount=107

This is how I got root on D6616. I will make a video on YouTube to show a tutorial of how to do it. Have fun!!!
[Xperia Z3 General] Dano79:
No go ran all the batch files phone does not reboot
[Xperia Z3 General] canhazpixels:
First of all, thanks for all the hard work for getting this thing created.

I've noticed a set of patterns when using the .bats; if I run them with administrator privileges, the process fails (it can't find some necessary files; I'm assuming the script is written with the expectation of specific file paths that are 'broken' when running with admin priviliges).

If, however, I run the .bats normally, they seem to work.

The exploit script eventually reads 'success,' and I can see a message on my device claiming that the testapp debugger is waiting, as expected. Then, as instructed, I run root.bat. It starts with the statement that the exploit is running successfully. When I press a key, the window fills up with things, and I assume it's pushing all the necessary files over. The phone reboots, as expected. I then download and install superSU from the google play store, but - whoops - I get a warning message that there is no SU binary installed. The same applies to the superuser app. Root checker says that I don't have root.

Anyway, ADB works for me (got all the drivers from the Sony website). Java DK works. All the appropriate check boxes are ticked in the developer options of my phone. Finally, each step seems to go as expected. The final result, however, is no root. I'm guessing there's something missing with regard to pushing the su binaries, but I have no idea how to code, or even edit the .bats.

I did notice that the 'UPDATE-SuperSU' .zip file included in the root folder is not the most recent stable one available (which is v2.46), but even downloading that one, and renaming it to SuperSU.zip or the old version filename, does nothing.

Hopefully, that helps, and maybe the error is simple to fix. Thanks again!
[Xperia Z3 General] zxz0O0:
For the people having problems, can you provide me the following output after reboot when you run the exploit

cat /proc/last_kmsg
ls -l /data/local/tmp/
cat /data/local/tmp/giefrootlog
[Xperia Z3 General] canhazpixels:
I absolutely will, but I have no idea how to do that. I'm so sorry, but I'm code-dumb.
[Xperia Z3 General] superangel16:
To do that just press shift and right click on the folder you downloaded previously of the root and click open a command prompt here.

Then just insert the commands lines as follows:

Adb shell cat /proc/last_kmsg

Adb shell ls -l /data/local/tmp/

Adb shell cat /data/local/tmp/giefrootlog
[Xperia Z3 General] canhazpixels:
If it's any help at all, adb debug output has thousands of lines saying that the su directory folder is not found. Output is too big for me to copy paste, and command line deletes the earlier parts of the output for some reason. Dunno if I did it right.
[Xperia Z3 General] superangel16:
Be sure you have All the requirements and do all the steps one by one.

http://xdaforums.com/showthread.php?p=60497288
[Xperia Z3 General] canhazpixels:
thank you, i did just that. however, this is my output:
[Xperia Z3 General] superangel16:
You sure you have adb drivers installed and updated? Phone connected with usb debugging on?
[Xperia Z3 General] canhazpixels:
Whoops. Went back and opened a command window in the C drive, which is where the adb.exe file is. This time, here's what I got:

C:\>adb shell cat /proc/last_kmsg
/system/bin/sh: cat: /proc/last_kmsg: No such file or directory

C:\>adb shell ls -l /data/local/tmp/
-rwxrwxrwx shell shell 4016989 2015-05-03 04:35 SuperSU.zip
-rwxrwxrwx shell shell 201 2015-05-03 04:35 a
-rwxrwxrwx shell shell 657704 2015-05-03 04:35 busybox
drwxrwxrwx shell shell 2015-05-03 04:59 dalvik-cache
-rwxrwxrwx shell shell 22360 2015-05-03 04:35 getroot
-rwxrwxrwx system system 0 2015-05-03 06:32 getroot_run
-rw------- system system 65 2015-05-03 06:32 giefrootlog
-rw------- u0_a353 u0_a353 3340 2015-05-03 05:37 glsl_shader_log.txt
-rwxrwxrwx shell shell 752 2015-05-03 04:35 installsupersu.sh
-rwxrwxrwx shell shell 13592 2015-05-03 04:35 modulecrcpatch
-rwxrwxrwx shell shell 2164 2015-05-03 04:35 raceme.jar
-rwxrwxrwx shell shell 220 2015-05-03 04:35 raceme.sh
-rwxrwxrwx shell shell 1716 2015-05-03 04:35 systemrw.sh
-rwxrwxrwx shell shell 34473 2015-05-03 04:35 wp_mod.ko

C:\>adb shell cat /data/local/tmp/giefrootlog
/system/bin/sh: cat: /data/local/tmp/giefrootlog: Permission denied

C:\>
[Xperia Z3 General] canhazpixels:
Yep, sure of it - can even see the sony adb drivers in device manager. Just sent a new reply. Thanks for your patience.
[Xperia Z3 General] superangel16:
Sorry, now I saw it. Let me check.
[Xperia Z3 General] zxz0O0:
Try redownloading the attachment (I updated it), run the exploit again and after reboot post the output of the commands.