yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 General] POMF2K:
So I got usb debugging access and ran the exploit. It keeps rerunning. Installing, uninstalling, pulling, etc. Never does it say successful although it does say something like... found. When I try to run root it says the exploit.bat was sucessful, it appears to install all the files and closes before I can read anything, but it does not restart my device and I do not gain root access.

---------- Post added at 03:39 PM ---------- Previous post was at 03:33 PM ----------

I'm going to try updating java and see if that helps. So bloody finicky.
[Xperia Z3 General] POMF2K:
No luck...
[Xperia Z3 General] antmantucan:
This may be jumping the gun but if we are lucky enough to get root access, does this mean we can install a custom Lollipop Rom? Could be months or longer before 6616 gets it officially from Tmobile.
[Xperia Z3 General] bipz84:
newbie here

Hi, do I need to unlock the bootloader? it can be done whit a computer? I see the jpdk app

At the play store it's that the one you talking about?
[Xperia Z3 General] Veganarchy:
The T-Mobile Z3s boot loader isn't unlockable.
[Xperia Z3 General] Yorch:
has anybody has tried installing the Xposed Framework on the rooted Tmobile rooted device?

I keep getting an error when I tried to activate it once I install it. Like is not rooted or something, SuperSu and Busy box install and setup fine, but xposed doesn't fully install
[Xperia Z3 General] TrunkleBob:
I have. For some reason, it couldn't mount the /system folder as read/write. The trick was to use Root Explorer or something similar to open /system, hit Mount as R/W, then switch back to Xposed and hit the install button.

After that it has behaved as normal.
[Xperia Z3 General] mariussilverwolf:
I have Xposed and multiple modules -- Auto 20 MP, Gravity Box, and Xperia Xposed -- working just fine, along with Root Explorer and Delayed Lock.

Make sure you follow all the steps precisely. I stumbled a bit on hopping onto my phone to run Test App from Dev Options, but once that was complete it was a simple matter of running root.bat from the /root folder within the ADB session and I was good to go.

Good luck!
[Xperia Z3 General] POMF2K:
So what's the answer to ensuring the USB debugging RSA pop up occurs? This is very inconsistent on any device I connect my phone too.

Also, and I cannot figure out why, but I have never been able to root any android device with my desktop or vaio laptop. I've always had to use my slow ass asus netbook. Very frustrating. Even installing drivers takes forever. All are windows 7 ultimate, 64 bit on desktop, but only the netbook will work. And not just with xperia devices.
[Xperia Z3 General] cali4niaguy:
Thank you for ur effort..How do you un-root to return to T-Mobile?? Has that been worked out yet???
[Xperia Z3 General] POMF2K:
Please help

Okay so this is what I'm facing currently...

I get no indication of success with exploit. Instead it just loops and says uninstalling exploit, pulling log, etc. Root says the exploit was successful, appears to run as it should, but does not reboot the device. I still have no idea what prompts the debug authorization of the computer, it's so sporadic.

See attached pictures.

Thanks in advance.
[Xperia Z3 General] vnphantom:
A couple people including me had this problem as well. Someone suggested that restoring the phone to factory seeing helps. Or remove everything in the tmp folder on the phone with adb shell.

adb shell rm -R /data/local/tmp/*

Good luck.

I did restore to stock once and rerooted again with no problem. You will need the Flashtool software on PC and the T-Mobile firmware .ftf file for the D6616. I belive there's a stickied thread in the General section for this.
[Xperia Z3 General] BattsNotIncld:
Woooooo!

Worked like a charm first time. Already got Xposed installed with some nice tweak modules working flawlessly.

Time to pay the piper:

Confirmation number: 2R770865J0292372W

Big thanks to zxz0O0 and everyone else involved. Hopefully next step is some kind of kernel modification like kexec so we can flash some ROMs on this thing.
[Xperia Z3 General] POMF2K:
Were you able to get that device rooted then? I restore to factory every time just to be on the safe side. Are you suggesting cleaning the tmp folder in between exploit and root. It seems to me that exploit is not working correctly as that is not what anyone else is describing.
[Xperia Z3 General] vnphantom:
Clean the tmp folder before you execute the exploit. Mine looped for about 20 times until it took.
[Xperia Z3 General] mrandroid:
Sleep.exe

When i run the exploit.bat it gets to a point where it says sleep.exe is not a valid win32 exe file... Is there a C++ runtime or something i'm missing for it to run?
[Xperia Z3 General] Soured Lie:
Yes Install microsoft C++ 2012 visual runtime
[Xperia Z3 General] Yorch:
That was it!, it worked perfect!, thanks!
[Xperia Z3 General] mrandroid:
I installed 2012 & 2013 runtimes but it still says Sleep.exe is not a valid win32 program
[Xperia Z3 General] Soured Lie:
Sorry I'm not sure what could be the problem.
[Xperia Z3 General] POMF2K:
Do you see in the pics I posted (Post 298 I think) where it says denied? Is that normal?

You are the first person I've heard of having it loop. Perhaps I should just wait it out and see what happens.
[Xperia Z3 General] vnphantom:
Yes. Mine also said that. Also if you notice the pid will keep going up as well.
[Xperia Z3 General] superangel16:
[MENTION=1858435]mrandroid[/MENTION]

Make sure you are using do correct version for your windows X64 or x86 try boths.
[Xperia Z3 General] mrandroid:
I installed every version of C++. Still sleep.exe says invalid win32 app. I'm running it on an old win XP machine so it's only 32 bit.
[Xperia Z3 General] SportingChap:
Can we get OP updated to link directly to posts 107 and 171 - the actual instructions? Maybe even include a link to one of the posts detailing clearing out /data/local/tmp/ if root doesn't take the first time.
[Xperia Z3 General] scoder:
Try running in compatibility mode for Windows 2000, try disabling your antivirus and running it, try redownloading the zip from zxz0o0. If none of that works, I'd use a different PC.
[Xperia Z3 General] POMF2K:
Success. Apparently I just needed to be more patient with the exploit. Thanks to all of you who have assisted me. Still can't figure out why only my netbook with correctly do usb debug.

Now I get to go through all the fun stuff. Busybox, rootcheck, backup... and then spend days customizing it and making it look like an adult's phone.

As soon as finish that I'll apply thanks to the appropriate individuals. Is it still possible to contribute to the person responsible for this exploit. I'm more than happy to contribute.
[Xperia Z3 General] Plurkk:
So I managed to root it after 3h of countless tries. I managed to do it with the zip that runs the exploit and the root in one. I installed the jdk installer, running on Windows 7 ultimate, along with c++ 2012 visual studio update 4.

Is game killer supported on the d6616? Because it doesn't find any values when trying to mod a game...

Anyways, I got another problem. And don't hate please. But I clicked the option to install supersu on /system. Now I can't see my SD card, like it doesn't exist on my phone. File commander shows nothing, only internal.

When I clicked on the option on Supersu to make it a system app, it rebooted, and it was weird. Supersu was uninstalled and play store crashed every 3 sec or so. It wouldn't allow me to download the supersu apk from google. Then I went to file commander and it said "???" on the internal storage (it DIDN'T recognize the internal storage!!!). But that got fixed by rebooting. Then it said I wasn't rooted anymore on root checker. Thankfully, I had Supersu on downloads folder. I installed it, then it asked me to install Su binaries, so it did is magic and boom rooted again. But the SD card is still lost. Doesn't show up on file commander or root Explorer. Any ideas?

---------- Post added at 05:23 AM ---------- Previous post was at 05:17 AM ----------

@SportingChap

All you do is make a text document, put the adb code there, then save as a bat file. Then run it. After you run it, go to task manager and kill adb.exe. Then run exploit.
[Xperia Z3 General] dvdpaul:
help

Windows 8.1 - Tried factory reset, adding classes, and adb shell rm -R /data/local/tmp/*. Followed instructions from multiple posts. Still getting this:

org.xmlpull.v1.XmlSerializer
short[]
sun.misc.Unsafe
> > com.sun.tools.example.debug.expr.ParseException: Name unknown: java.lang.Run
time.getRuntime
java.lang.Runtime.getRuntime().exec("/data/local/tmp/a") = null
>

--OR--

sun.misc.Unsafe
> > com.sun.tools.example.debug.expr.ParseException: Name unknown: java.lang.Run
time.getRuntime
java.lang.Runtime.getRuntime().exec("/data/local/tmp/a") = null
>
Breakpoint hit: "thread=<1> main", android.os.MessageQueue.next(), line=129 bci=
0

<1> main[1]
[Xperia Z3 General] zxz0O0:
See here: http://xdaforums.com/showthread.php?p=60538343&highlight=classes#post60538343
[Xperia Z3 General] cali4niaguy:
Thanks I will try this!!!! I'm seriously excited!! If I can get this to work..I would love to donate or pay something..how do I do this??? Do I need PayPal??
[Xperia Z3 General] wizardfingers:
Here's a short video tutorial to clarify because people including myself get confused.

http://youtu.be/1yr5wPxqYSQ

I just uploaded it so you might have to wait a few mins :)

edit: should be up

Thank you zxz0O0,

GhostRaiderMX and ctschrodinger88 for troubleshooting text
[Xperia Z3 General] tuzonghua:
Done. :)
[Xperia Z3 General] abezapata:
Donations Still Open?

I wanted to know if it was still possible to donate to the awesome devs that made this happen? I have been in iPhone land and recently started using my Z3 again (I missed android) and to my surprise the bounty had been met!

OP please DM on how to donate if still possible. A couple of beers or coffees to the devs on me.
[Xperia Z3 General] Abolfazl:
Sorry if this has been answered before but does the current root method keep the drivers for Sony's camera? i.e. will I lose the good camera quality if I root?
[Xperia Z3 General] superangel16:
No you will not, this exploit doesn't do any damage.
[Xperia Z3 General] Abolfazl:
I successfully rooted but now when I go to ADB , I get these messages for any sort of command I run.

Anyone else have this issue?
[Xperia Z3 General] vnphantom:
You already have root, just use Root Explorer to delete the apk and odex files. They should be in /system/app or /system/priv-app. Remember to back them up before deleting just in case you mess up something. ;)
[Xperia Z3 General] Abolfazl:
The apk and odex? I get that notice if I run "adb install..." "pm" or any other command
[Xperia Z3 General] vnphantom:
I noticed you are using block to prevent bloatware from running. Getting rid of the apk and odex files of the corresponding apps will get rid of them for good. You don't have to use block anymore.

Alternatively, TitaniumBackup can freeze the apps for you.
[Xperia Z3 General] Abolfazl:
You mistake my problem. I dont have issue with pm. My problem is with the warning I get. 'pm' was just an example but if I do 'adb install ...' i get the same warning
[Xperia Z3 General] danishdish:
oh boy....

I can't believe it. I did it. Thank you zxz0O0.
[Xperia Z3 General] willwm:
Do you have Xposed Framework installed? I'm getting the same error message that you are, and IIRC, it is caused by Xposed patching system files.
[Xperia Z3 General] macrosblackd:
Can I get a PM on how to fulfill my end of the bounty?
[Xperia Z3 General] zxz0O0:
You can donate via the Donate to Me link on my profile. I appreciate all donations :)

Try with this sleep.exe instead: http://www.mediafire.com/download/f15y7ip8534d88q/sleep.exe
[Xperia Z3 General] mrandroid:
Does is matter what firmware you're on? I'm on the newest.
[Xperia Z3 General] superangel16:
What you mean with "newest" there is just one firmware for z3 D6616: D.1.123.
[Xperia Z3 General] imna357:
Thanks, just got back on my Z3, everything working great.

donation conf# 8GU74439HC369952D.
[Xperia Z3 General] dvanegas:
Help ;/

I restored my phone, installed latest java( my computer was recently refreshed meaning new installation of windows everything i installed was brand new) , installed Visual studio 2012 disabled anti virus, disabled look out in phone everything works until i run the root. I keep getting the message. I also added a bunch of classes to the code and not thing tied adding just ten to 150+....

Dont know what else to do :/

Thanks
[Xperia Z3 General] zxz0O0:
It's kind of hard to help without any error message nor anything else.
[Xperia Z3 General] jrsns70:
Can I install any xperia z3 rom now or cm12 rom or just wait?
[Xperia Z3 General] danishdish:
So long as the bootloader remains locked, you will not be able to flash roms.

http://www.xperiablog.net/2014/10/23/confirmed-xperia-z3-for-t-mobile-us-has-a-locked-bootloader/
[Xperia Z3 General] AnteusFogg:
Lollipop is now in testing with T-Mobile :)

https://support.t-mobile.com/docs/DOC-21153
[Xperia Z3 General] Artood2s:
Hallelujah!!
[Xperia Z3 General] leonhks:
So will there be an exploit to still have root function or have a custom pre-root
[Xperia Z3 General] Jay351:
D6616 root help!!

This will be my first rooted phone I followed the instructions checked my phone with debloater got to the root window opened then closed but no phone reboot. Plz help me figure out what I did wrong.
[Xperia Z3 General] danishdish:
Keep trying. Go to another computer.
[Xperia Z3 General] cvsolidx17:
Saw this yesterday and got turnt for a second. Any idea on how long the testing phase usually takes? Hopefully they begin rolling out the update by the end of this week or next the latest.
[Xperia Z3 General] Jay351:
I only have 1 laptop and I tried the step over 5 times. do you think it could be the anti-virus on my computer or phone? I tried to find all I could to turn off is there 1 that I'm not seeing? I'm not that computer literate to be able to do things like you guys.
[Xperia Z3 General] danishdish:
Did you turn off your lap top's anti-virus and firewall?

Also, are you running the files the right way? I think it is post #107 that is the cherry of all the posts. I had trouble myself, and then one night on my lap top on my bed while my wife was trying to persuade me to look away from it .. boom .. voila! Rrrrrooott!
[Xperia Z3 General] Jay351:
Please explain right away? How long do u have to wait?

---------- Post added at 06:28 PM ---------- Previous post was at 06:24 PM ----------

When I go to root it even says exploit success
[Xperia Z3 General] Jay351:
Got it to work finally java said it was up to date but guess it wasn't. Thank for your guys help.
[Xperia Z3 General] ss.sreejith:
but i am getting stuck at " Breakpoint hit: "thread =<1> main"
[Xperia Z3 General] Jay351:
Saw this thread that said to see what ur lacking go to the root folder don't open it. Hold shift right click, open command window, type " root.bat" it will tell u at the bottom. mine said something having to do with Java not working or unable to connect.
[Xperia Z3 General] NexuGsx:
I was getting the following error:

short[]
sun.misc.Unsafe
> > com.sun.tools.example.debug.expr.ParseException: Name unknown: java.lang.Run
time.getRuntime
java.lang.Runtime.getRuntime().exec("/data/local/tmp/a") = null
>

I literally tripled the amount of "classes" in jdb.ini and it worked properly. Thanks!
[Xperia Z3 General] danishdish:
I hope I did everything right, because I really didn't have any of these issues that a lot of you guys are experiencing. :-o
[Xperia Z3 General] Dtro21:
everything went smoothly for me on the rooting. however the recovery part i cannot seem to get to work, when i try to enter recovery it just boots into android. is it from the locked bootloader? if so how are people claiming to of got it to work on the d6616, is there a trick to it?
[Xperia Z3 General] tatomolina11:
Try to install the XZRecovery apk. it after you achieved root, it is from the phone itself and it reboots automatically into recovery plus is Nut's dual recovery
[Xperia Z3 General] Dtro21:
thank you.
[Xperia Z3 General] s1dest3pnate:
After doing this root, will you still be able to receive OTAs?

Also, what are you guys primarily doing with your root access? Looking for some ideas.
[Xperia Z3 General] danishdish:
I doubt that you will be able to receive OTAs once you are rooted. Maybe I'm wrong. Someone chime in if I am. As for what I have done: themeing and installing xposed modules.
[Xperia Z3 General] superangel16:
You can still be root after updating if you check in superuser survival mode box and you should keep root.
[Xperia Z3 General] OCedHrt:
I had the same error for x86 JDK.

for /f "delims=" %%o in ('dir /B "C:\Program Files (x86)\Java\jdk*"') do (set jdbpath=C:\Program Files (x86)\Java\%%o)

This is because the (x86) closes the bracket for the do block. You can remove the outer ( ) or escape the inner one to ^(x86^).
[Xperia Z3 General] Jay351:
Thats what happened to me. Are u sure u have the latest Java installed? Mine said it was up to date but it wasn't. I had to search it to download..
[Xperia Z3 General] eliasadrian:
Awesome! I had only been trying for about 30 minutes the other day, but I couldn't get it to work. I changed the code in the root.bat file to ^(86^) on the second part of that line and it worked. So that line in root.bat for me read:

for /f "delims=" %%o in ('dir /B "C:\Program Files (x86)\Java\jdk*"') do (set jdbpath=C:\Program Files ^(x86^)\Java\%%o)

Thanks again!
[Xperia Z3 General] OCedHrt:
It isn't a Java issue. It's how the command prompt parser works. The 64 bit JDK won't have brackets in the path.
[Xperia Z3 General] Jay351:
Sry about that I knew that there was a 64 and 86 bit, But forgot about that sry I'm still a Noob with all this. I'll make sure to acquire some more knowledge before trying to help someone else out.
[Xperia Z3 General] OCedHrt:
Don't sweat it :)
[Xperia Z3 General] ar0nic:
I used these instructions on a virgin machine and it worked first try no problem.

HOWEVER on my machine where multiple phones have been rooted i had to use USBDEVIEW and remove every usb driver that had ever been installed related to phones then i plugged my device up windows 7 64 bit detected it and installed some drivers related to my phone but not the D6616 so i grabbed that from sony.com and had windows update the driver via device manager. i made sure to have all of the java and jdk 8 64 and 32 bit options along with the newest 2014 of visual basic.

i think a lot of people are having problems in this area, for instance the instructions above are dead on but users with issues have either the wrong or NO VERSIONS of jdk installed, have to many old phone drivers installed or the wrong ANDROID DEV KITS. i got the STOCK ADK with no extra stuff from the website and installed only the adk not studio or anything else.

usbdeview could help potential users with problems feel free to pm on efnet @ ar0nic for help

but! the big issue is make sure that your phone can talk to abd, this is done by removing all old adk studio versions and just the standard ADK along with the NEWEST versions of java 8 sdk 64x and 32bit . lastly the vbasic 2014 update which is listed in one of the post numbers.

everyone is wiping their phones and it is really a not needed step you can remove the temp data folder as oppose and accomplish the same thing. this java problem exists with the computer NOT the device it wont help wiping ahead of time, at least not over deleting those temp folders.

thank you so much [MENTION=3975929]zxz0O0[/MENTION]. if i had anything to give i would but you have literally made all my buyers remorse for months be gone! thanks!
[Xperia Z3 General] danishdish:
Don't punish yourself.

You just learned something, and that's great. Noob is not a state of mind, or some level in a D&D game, but rather a brief moment in the psyche of somone else's twisted reality.
[Xperia Z3 General] Jay351:
Deep!!!
[Xperia Z3 General] Hiyatsu:
May I get some help, all this stuff bout classes and what not makes no sense to me.
[Xperia Z3 General] elzapato:
I've run this procedure a few times without success. I'm seeing an error message on the D6616 that hasn't been mentioned before (least it didn't come in in search results on this thread).

Application com.dosomonder.testapp2 (process.com.dosmonder.testapp2) is waiting for the debugger to attach

The process stalls here, and the adb.exe window on my PC closes. I never get past this stage. Anyone else seen this?
[Xperia Z3 General] id3alistic:
Rooted mine yesterday, it was so simple and easy. Just did what the directions said and no issues.
[Xperia Z3 General] johnathanamber:
After runnning root.bat, nothing happens.

Hey everyone,

Thanks for this awesome post and instruction... we're certainly on our way!

Here are the results of the two exploit and root scripts:

After the last message... nothing happens. Any ideas?

Thanks,

Johnathan
[Xperia Z3 General] Heinous:
Nevermind. This worked just fine after restarting my PC.
[Xperia Z3 General] johnathanamber:
Ah, OK, I got it done.

When Android says it is waiting for the debugger, but all Developer Options have been setup as instructed, it is waiting for the root script to run. If you leave the message alone on Android and run root.bat, it then works. Otherwise you'll see the command window close without doing anything (The second one after running root.bat.).

Thanks for the awesome effort!

---------- Post added at 10:52 PM ---------- Previous post was at 10:37 PM ----------

BTW, does this mean that we now can backup the DRM keys, flash with a custom ROM, and restore the keys to allow full camera functionality with a custom ROM? If so, are there any tutorials?
[Xperia Z3 General] lvlonkey:
Can't flash custom roms because of the locked boot loader. But you can back up the TA partition if you want.
[Xperia Z3 General] davidtran2014:
Z3 D6616 root

I'm a newbie to Xpera Z3.

TMobile said my Z3 phone can be unlocked and it has been unlocked to use any other GSM by the app Device Unlock . If I root it, will it be locked again ?

I just want to make sure before I root it.:D

Thank you
[Xperia Z3 General] superangel16:
Sim lock is once and permanent you can't lose sim lock.
[Xperia Z3 General] davidtran2014:
Z3 D6616 root

That's great. Thank you superangel16 !
[Xperia Z3 General] davidtran2014:
Z3 Root

My Z3 has been rooted.

Thank you zxz0O0 and superangel16 very much ! I love you guys :D
[Xperia Z3 General] lethang90b:
update 5.0

is anybody received update ?
[Xperia Z3 General] Prasad:
Good thread. I'd like to pledge $15 as well, specifically for root on the arriving lollipop firmware, whenever that happens.
[Xperia Z3 General] Bling_Diggity:
I got $10 on it.
[Xperia Z3 General] TrunkleBob:
You can put me down for $50.
[Xperia Z3 General] ShermCraig:
OP - can we get an update? Is anyone working on this? I see there are many more pledges that those listed on 1st post. Is there any reason for hope?
[Xperia Z3 General] scoder:
Many more developers are working on rooting the Note 4. The CVE they are attempting to exploit is across all Android devices, so once they figure out how to cause an overflow in the Graphic Buffer, we should be able to port that to the D6616 and Z3v.
[Xperia Z3 General] GhostRaiderMX:
A link to the thread? And that's perfect to hear. The reason why this is perfect is because T-Mobile basically tries to prevent any root attempt by asking Sony to patch the firmware. That's the reason why we cannot root from the beginning. Most likely this will happen with Lollipop, where T-Mobile will research any possible exploits found and ask Sony to patch them somehow. Assuming that we can retain root after lollipop update, then T-mobile can do whatever the hell they want.
[Xperia Z3 General] bringerofallevil:
thank the lord, i bought a d6616 off craigslist and im pretty sure they are going to default on the acc. u live and u learn
[Xperia Z3 General] scoder:
http://xdaforums.com/note-4-att/gen...t-progress-t2961974/post59209959#post59209959

http://xdaforums.com/note-4/galaxy-.../rd-rooting-n910a-n910v-models-t3042045/page2