yashsingh1/xdaforums huggingface dataset:
[Xperia Z3v General] LeifEricson:
So close but so far, now the D6708 is the only one left in the dust. Any chance of investigating zxz0O0?
[Xperia Z3v General] GigaSPX:
I finally got the stock FTF downloaded, which took awhile for some reason. Anyway, right after I complete my next test in an hour, I will flash to try it out on my phone and then see if it works from there.
[Xperia Z3v General] zxz0O0:
Did you use 23.0.E.1.44 before?
[Xperia Z3v General] jal3223:
Thank you for trying to help us get root man. It is much appreciated.

I'm still on the old firmware and first I get:

"Waiting for Debugger

Application

com.dosomder.testapp2

(process

com.dosomder.testapp2) is waiting for the debugger to attach

Force Close"

But I get a success on the adb side. After I press any key it just exits.
[Xperia Z3v General] zxz0O0:
Well, just continue the steps? Nothing wrong with that.
[Xperia Z3v General] jal3223:
It just closes the application on the pc side and leaves that screen on the phone.

It does say success though, so that's a great sign. :D

Edit - sorry I just saw that you then have to run root.bat. I'm still half asleep. I'll finish the steps after I leave church.

Thanks again!
[Xperia Z3v General] jal3223:
Dude, you are awesome! It works for the Z3v. I just confirmed with root checker.

You just have to be on the shipping firmware.
[Xperia Z3v General] LeifEricson:
Is shipping FW 23.0.E.0.376? Because that's what I'm downloading right now.
[Xperia Z3v General] jal3223:
Yep, that's the one. :D
[Xperia Z3v General] GigaSPX:
OMG, I'm doing this immediately! Is it okay if I follow the same procedures as the regular Z3/Z3 Tablet Compact to install XZDual Recovery to install TWRP? And then make a PRFCreated Firmware of the latest being rooted just to get some of those minor enhancements?
[Xperia Z3v General] LeifEricson:
How do you flash the stock to the Z3v? I don't think flashtool supports it? I'm on the OTA update and need to go back.
[Xperia Z3v General] gregbradley:
Flashtool supports all stock FTFs and all Xperia phones
[Xperia Z3v General] LeifEricson:
I'm a bit of a noob with that, so if I have FILE_ files, how would I go about flashing that? And as my device what do I select? I'm new to this.
[Xperia Z3v General] jal3223:
Yeah, you have to use flashtool. I used the guide located here: http://xdaforums.com/z3/general/ftf-stock-firmwares-xperia-z3-models-t2886061
[Xperia Z3v General] LeifEricson:
Can confirm that on shipping FW root works! So happy, let the donations flow!
[Xperia Z3v General] jal3223:
Any luck on installing a custom recovery?
[Xperia Z3v General] GigaSPX:
Unfortunately I wasn't able to get around to it yet since I've had to do some things outside of town. Won't come back until tonight to get to it.

What have you done so far with root? I tried adaway on my rooted tablet, but I'm still bombarded with ads on XDA.
[Xperia Z3v General] serophia:
I have the T-Mobile Variant and just rooted/installed dual recovery on mines.

I used the DualRecovery for Z3 from http://nut.xperia-files.com/, Ran the install.bat and chose option 1 and bam! Obtained touchwiz recovery
[Xperia Z3v General] jal3223:
So far I've only backed up my DRM keys, enabled sd card write, and used titanium backup to back up my apps.

I'm hoping someone will figure out a way for us to use our unlock codes now. An unlocked bootloader would make it feel like Christmas now. Lol

Did you have to unlock the bootloader first?

From what I've read the stock kernel must be modified with the provided kernel tool to work with the dual recovery (if I'm understanding correctly). Did you have to modify yours?
[Xperia Z3v General] Rider797:
So the exploit runs through fine but when I run the root file, I keep getting hung without a reboot. Attached is what it shows me, I've made sure I was running JDK and followed the instructions exactly.

**EDIT**

Thanks to this post I was able to finally get root. Thanks to [MENTION=3975929]zxz0O0[/MENTION] and everyone else involved!
[Xperia Z3v General] serophia:
Nope, the T-Mobile Variant has a Locked Bootloader I used the new root exploit provided by zxz0O0 and followed his guide on install nut recovery.
[Xperia Z3v General] Mountainfisher:
this is a noob question, but after downloading the stock firmware. I extract the folder and there are 4 files in the folder that look like this FILE_281663360.

Which one if not all do i put in the C:Flashtool/firmware folder.

what is my next step if these files are the correct types?
[Xperia Z3v General] DroidUser_Wind:
So...I Guess The Real Question Now Is..What ROMS Are Compatible For The Z3v Via Safestrap?
[Xperia Z3v General] srsaloom:
Ugh, anyone else have issues with the Flashmode drivers? Fastboot isn't working for me.
[Xperia Z3v General] Mountainfisher:
I hadn't got that far yet. Is your firmware a . ftf. File or does it say file_281663360

I'm just wondering.

I think you have to install the flashmode and fastboot drivers. Have you tried that
[Xperia Z3v General] hunterman64:
Please

can you send a link for that firmware?
[Xperia Z3v General] LeifEricson:
I don't remember off the top of my head, but you need to (in Flashtool) choose the Extract option, then something similar to file.. Then you select the file_ folder and extract all of them, and then go to Build, and build a firmware from the files it extracts. Try googling for an exact tutorial, I would link but I'm on my phone.
[Xperia Z3v General] LeifEricson:
http://xdaforums.com/showthread.php?t=2920249
[Xperia Z3v General] srsaloom:
Yeah, I had to reboot with Driver Verification disabled to get drivers to work right. Got it all done now!
[Xperia Z3v General] GigaSPX:
Alright, now I'm back home and ready to see what I can do with this myself.

For those who are grabbing the stock ftf file, you will see 4 files. Follow the instructions in here to convert those files into the FTF, and then try flashing from there.

http://www.xperiablog.net/2014/08/1...re-files-using-xperifirm-and-flashtool-guide/

The slight thing I'm concerned about is how flashtool recognizes my device. There is no identification for the D6708, so I'll just try D66xx to work. I'll update later what else is going on.
[Xperia Z3v General] Mountainfisher:
ya i guesss im going to try the d6653

for those that created this firmware in flashtool, which variant did you choose in the device recognition part of creating the firmware

?
[Xperia Z3v General] GigaSPX:
You just select any of them. You can't change what the firmware itself is about. So to just went ahead, I just chose the 6616 and had it run.

Also, can anyone else help me out with the running the exploit? I run that, then run root, but nothing else seemed to happen.
[Xperia Z3v General] srsaloom:
I used Z3 (D66XX). No issues with it.
[Xperia Z3v General] jal3223:
Which part are you stuck at?
[Xperia Z3v General] GigaSPX:
I have jdk installed. Run the exploit.bat. Followed the instructions to select TestApp2 as debugger app and check the checkbox to Wait for Debugger. It runs until I hit that line that I go into root folder to open. It runs and then closes itself, and that's it. No reboot.

Is there something I should do if something in my lines say "adb server out of date, killing"?
[Xperia Z3v General] Mountainfisher:
How long did it take for flashtool to creat the ftf file? I filled out the info and clicked create 25 minutes ago and it hasnt done anything.
[Xperia Z3v General] GigaSPX:
Did you follow the instructions as listed on that link I gave to xperiablog?
[Xperia Z3v General] Mountainfisher:
ya.

03/026/2015 20:26:17 - INFO - Decrypting FILE_281312136

03/026/2015 20:26:18 - INFO - Decrypting FILE_281575095

03/026/2015 20:26:19 - INFO - Decrypting FILE_281663360

03/028/2015 20:28:35 - INFO - Decrypting FILE_281712435

03/028/2015 20:28:36 - INFO - Decryption finished

I got to the create firmware part, and put in Device, version, and branding.

thin hit create , and its done nothing for like 30 min
[Xperia Z3v General] jal3223:
This is what I did to get it working on my device.

Make sure to have "USB debugging" selected and also "TestApp2" selected in Developers options under "Select debug app". Also check "Wait for debugger"

Then connect the phone and make sure the screen stays on so you can allow access to your device from adb.

First run "exploit.bat" and allow adb to connect to your device. It should complete and say press any key to continue and close out. Then run "root.bat" inside of the root folder and it should reboot your device.
[Xperia Z3v General] Mountainfisher:
what did yall put in on branding or version, just to check . on version i put 23.0.E.0.376 / R15B

and branding I put verizon.
[Xperia Z3v General] jal3223:
Try downloading the complete ftf here:

https://www.androidfilehost.com/?fid=95784891001602913

or here:

http://firmwaremobile.com/index.php/xperiadownload/file/262-z3-v

or here:

http://dzeig.blogspot.com/2014/12/firmwares-for-sony-xperia-z3-compact.html
[Xperia Z3v General] GigaSPX:
Did anything appear on your screen when you ran root.bat? I have a popup saying "Application com.dosomder.testapp2 (process com.dosomder.testapp2) is waiting for the debugger to attach". Then the option it gives me is to force close.
[Xperia Z3v General] hunterman64:
Help.

How so you turn off driver verification? I really need to do that...
[Xperia Z3v General] jal3223:
I had an option to force close on the phone the entire time that "Root.bat" ran I believe.

Edit: Yes, this was displayed before I ran "Root.bat"

"Waiting for Debugger

Application

com.dosomder.testapp2

(process

com.dosomder.testapp2) is waiting for the debugger to attach

Force Close"

Don't force close it. Allow it to stay that way as you run root.bat.

---------- Post added at 02:16 AM ---------- Previous post was at 02:11 AM ----------

I'm not sure if you saw, but I changed that download link to the one that I originally used. I'm positive it works.
[Xperia Z3v General] hunterman64:
Help.

I downgraded my firmware, but now I can't use my phone with Anything except wifi? what did I do wrong?
[Xperia Z3v General] haggman7:
For some reason I am not being successful with getting root. I am on the correct firmware, and when I run the exploit and root files, doing everything correctly, everything seems to go great and my phone restarts as if the rooting process is complete. Once the phone finishes rebooting, however, I use root checker to see if it has worked, but it has not. I've tried 3 different times and none of them have worked. I am very confused and any help would be appreciated
[Xperia Z3v General] vietinbank:
Cannot connect Z3v to PC... Help me.

:confused: I installed Sony companion, lastest Flashtool and launched drivers but my Z3v cannot connect to PC....

Please tell me how to fix this or link to download Z3v's drivers.

Thanks.
[Xperia Z3v General] GigaSPX:
Aha, I finally got to this now. My phone reboots, but root isn't available.

I call to the motion someone needs to record what they did exactly. If successful, upload to YT. lol
[Xperia Z3v General] haggman7:
Alright I just tried it for a 5th time and it ended up working, and I now successfully have root. I have absolutely no idea why it happened that way, but as weird as it sounds, I would recommend you just keep trying? Good luck and hopefully you are successful!
[Xperia Z3v General] srsaloom:
See the link in the above quote. Worked for me when I couldn't get the root to take.

Also, when it hangs on "waiting for app" or "waiting for adb" or whatever on testapp2 on the phone, run the root.bat immediately, that should do it.

---------- Post added at 11:06 PM ---------- Previous post was at 10:57 PM ----------

Not sure for other versions, but Win8.1, here's what I did: https://theconfuzedsourcecode.wordpress.com/2013/10/13/how-to-install-flashtool-drivers-on-windows-8-64bit/
[Xperia Z3v General] jal3223:
Did you guys download the new version that zxz0O0 uploaded btw? He made a revision after the first release.
[Xperia Z3v General] shakan09:
eh ive tried like 10 times, reboots with no root
[Xperia Z3v General] GigaSPX:
After several hours of attempting it, I just redownload the zip, reinstall java because of way too many ones I've installed, and run it. Such a pain in the ass, but I finally got it!!!

I have also sent in my donation. :D
[Xperia Z3v General] jal3223:
Awesome! Glad you finally got it hooked up.

On a different note, does anyone know the build.prop edits to allow native wifi tethering?
[Xperia Z3v General] GigaSPX:
Next thing achieved: TWRP RECOVERY!!!
[Xperia Z3v General] shakan09:
jelly
[Xperia Z3v General] Rider797:
So how do we go about fulfilling our pledge? [MENTION=3975929]zxz0O0[/MENTION] definitely deserves it.
[Xperia Z3v General] shakan09:
i dont get it, in installed 23.0.E.0.376 / R15B just fine, i run exploit.bat and its says success, then i run root.bat any my phone reboots with no root, ive tried 30+ times, ive re installed and re downloaded everything multiple times
[Xperia Z3v General] Astoras:
So, noob question...

I'm uncertain that updating the d6708 via OTA will remove root. I'm expecting it to, but it'd be nice to be on par with the current firmware. Is there anyway that root can be saved across OTAs? I've seen it before on other devices, but I have no idea about Sony and Verizon.

Also, just to mention, lollipop is supposed to be down the road; once gain, root would be fantastic then. But I'm sure that by the time it does eventually come out talented someones will have unlocked the bootloader and built a custom ROM, rendering the OTA obsolete.
[Xperia Z3v General] Seannnn:
Hey guys I am getting this error when running root.bat after exploit.bat was successful.

org.xml.sax.InputSource
org.xml.sax.Locator
org.xml.sax.SAXException
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
org.xml.sax.XMLReader
org.xml.sax.ext.LexicalHandler
org.xml.sax.helpers.DefaultHandler
org.xmlpull.v1.XmlPullParser
org.xmlpull.v1.XmlPullParserException
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
>
Breakpoint hit: "thread=<1> main", android.os.MessageQueue.next(), line=129 bci=
0

<1> main[1]

I am running the factory firmware and have java 8 jdk installed. I have also tried deleting the files in /data/local/tmp/
[Xperia Z3v General] mohkam84:
?

video tutoriel ? plz
[Xperia Z3v General] LeifEricson:
Any of you that are having trouble, you can check out this link for a summarized tutorial of how to root properly. Just assume it says you need at D6708 (i.e. a Z3v), not a D6616.

http://xdaforums.com/showpost.php?p=60516103&postcount=211
[Xperia Z3v General] jal3223:
Hey man, did you use "Z3-lockeddualrecovery2.8.14-RELEASE.installer.zip" for the dual recovery? Just making sure that I have the right file.
[Xperia Z3v General] GigaSPX:
Yup,I used that and it works like a charm!
[Xperia Z3v General] Seannnn:
Firmware: 23.0.E.0.376

I have reinstalled all java's and jdk. I have also restored phone to factory. Everything seems to go fine until I run root.bat. Here is some output that you asked for in the D6616 root thread.

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

C:\D6616_root>adb shell ls -l /data/local/tmp/
-rwxrwxrwx shell shell 4016989 2015-01-23 19:00 SuperSU.zip
-rwxrwxrwx shell shell 239 2015-05-03 06:59 a
-rwxrwxrwx shell shell 657704 2014-02-06 19:39 busybox
drwxrwxrwx shell shell 2015-05-04 13:22 dalvik-cache
-rwxrwxrwx shell shell 22360 2015-05-02 16:53 getroot
-rwxrwxrwx shell shell 752 2015-01-30 10:12 installsupersu.sh
-rwxrwxrwx shell shell 0 2015-05-04 13:22 memfile
-rwxrwxrwx shell shell 13592 2014-07-20 12:10 modulecrcpatch
-rwxrwxrwx shell shell 2164 2015-04-26 10:52 raceme.jar
-rwxrwxrwx shell shell 220 2015-04-26 08:26 raceme.sh
-rwxrwxrwx shell shell 1716 2015-03-06 15:56 systemrw.sh
-rwxrwxrwx shell shell 34473 2015-04-03 14:05 wp_mod.ko

C:\D6616_root>adb shell cat /data/local/tmp/giefrootlog
/system/bin/sh: cat: /data/local/tmp/giefrootlog: No such file or directory

Also this is the output from root.bat

org.xmlpull.v1.XmlPullParser
org.xmlpull.v1.XmlPullParserException
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
>
Breakpoint hit: "thread=<1> main", android.os.MessageQueue.next(), line=129 bci=
0

<1> main[1]
[Xperia Z3v General] UN5EEN:
Any linux users on here achieve rooting? If so how did you go about doing so?
[Xperia Z3v General] royalflush5:
Check the later posts in the thread, I think someone made a shell script to do the same thing

Still not able to get it working, are you guys all using Win 8.1?
[Xperia Z3v General] BladeRunner:
looks like I'll be getting this phone again :silly: I'll donate $20 once I get the phone and get it rooted :good::good:
[Xperia Z3v General] Mountainfisher:
I after I run root.bat I am also getting the java runtimne error = null error.

anybody got any solutions

im on the correct firmware and have followed instructions
[Xperia Z3v General] jal3223:
Try downloading the root software to make sure you have the latest version. He updated it at one point.
[Xperia Z3v General] sthrnsprtsmn:
I was getting the same errors. I had to factory reset the phone multiple times and redo the steps. On about the 10th time, it took. I skipped the phone set up steps, and kept a root checker apk on my sd card to speed it up. Also, I unchecked the verify apps over USB. I didn't see that mentioned anywhere.

Time to send my donation. Thank you very much [MENTION=3975929]zxz0O0[/MENTION]
[Xperia Z3v General] GigaSPX:
Hey guys, I wrote a formal guide to easily view the steps without needing to navigate all over the place here.

Also, I've successfully updated my phone to 23.0.E.1.44 while still keeping root! I will upload my prerooted file later tonight.
[Xperia Z3v General] sthrnsprtsmn:
My validation
[Xperia Z3v General] sthrnsprtsmn:
Paid. Confirmation #1GT31899GF996425K

Again, thank you very much.
[Xperia Z3v General] zxz0O0:
If you have this message, the solution is either to add a few more lines with "classes" inside jdb.ini or run the last command of jdb.ini in the debugger window.
[Xperia Z3v General] Seannnn:
Thank you so much, that fixed the problem! I will pay my pledge tomorrow afternoon.

Thanks again!!
[Xperia Z3v General] Mountainfisher:
When I run the last command of jdb.ini in the debugger window, which window is that exactly, and is the last command is what?

Breakpoint hit....

Or main
[Xperia Z3v General] xratablancax:
Rooted z3v

Rooted! Yes!
[Xperia Z3v General] Rider797:
Pledge sent (5MG07361T51011023)! I have a new found love for my phone now. :victory:
[Xperia Z3v General] Seannnn:
Pledge paid! Confirmation #: 28967502067191822

So now that we have gained root what are the do's and dont's?

Is it safe to install xposed?

Also, how do I back up these DRM keys for the camera?

EDIT:

Alright I backed up my DRM keys with this tool

https://github.com/DevShaft/Backup-TA/releases

Enabled read/write of /system with this tool

http://xdaforums.com/attachment.php?attachmentid=3218460&d=1426763783

I then Installed Xposed with no problems!
[Xperia Z3v General] hunterman64:
my phone wont get Signal.

So guys. I got root! But... I had to call Verizon and get a replacement phone shipped, because for some reason, my phone will no longer get a cell signal, only wifi. Is there anything that I did wrong? I want to have root really bad, but I also need my phone to be working.
[Xperia Z3v General] BladeRunner:
did you try flashing back to the stock ftf?
[Xperia Z3v General] hunterman64:
just about 700 times...
[Xperia Z3v General] DroidUser_Wind:
That's What Build Number I'm On Currently....Will The Root Method Work On That Build Number?
[Xperia Z3v General] GigaSPX:
It will only work on shipped stock firmware.
[Xperia Z3v General] dyshil:
confused

Was hoping you could explain this: i have successfullly flashed the z3v back to shipping firmware and in the rooting process, but, when running exploit.bat it asks for me to select com.dosomder.testapp2 as debug app in dev options and check "wait for debugger", in my dev options i click "select debug app" and com.dosomder.testapp2 is not there, it just says "nothing"
[Xperia Z3v General] JediDru:
What exactly did you do to get past the java null error?
[Xperia Z3v General] Mountainfisher:
Download this root package. It runs exploit and root in one step.

http://xdaforums.com/showpost.php?p=60529402&postcount=232
[Xperia Z3v General] JediDru:
Ive tried all of those. I actually came on here to type out the exact error I have been having. Somewhere between the different java installations I cant get the Root.bat to get as far as it did spitting out the Java null error. Now the CMD window closes soon after running it. What really makes me upset is the fact that I have had the same set up for years that works flawlessly with all 3 of my previous nexus devices, and yet it doesn't play nice with the Z3V? I'll post my error once I can reproduce it again. This is becoming less about getting root but more about documenting how to get past this hurdle for others on here.
[Xperia Z3v General] Mountainfisher:
I understand, I was getting the same message. I uninstalled Java and reinstalled it. Took about three times them still got the null error. I then downloaded the file I linked you too. Tried the old root package one more time, then I ran the fullroot (exploit and root in one file) and it worked first try.
[Xperia Z3v General] JediDru:
This is as far as I ever get:

org.xmlpull.v1.XmlPullParserException

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

>
[Xperia Z3v General] jonno95:
I got the "null" error about 20 times. In developer options, i put a check mark in "Wait for Debugger" got the error a few more times, then it finally worked. Just keep trying. When it worked for me, i hit the "press any key to continue" quickly without every manually running the "root.bat" file.
[Xperia Z3v General] Seannnn:
I added about 150 "classes" lines into the JDB.ini file
[Xperia Z3v General] JediDru:
I like hearing that. I had read a few so I had added one at a time until I got to about 20 and stopped, until I could gather more intel thanks.

Great I'm rooted, I very unscientifically changed 2 variables this time. I added very nearly 150 classes to the JDB.ini & also enabled Wait for debugger in Developer options.
[Xperia Z3v General] Seannnn:
Yup that's what fixed it for me, good luck!
[Xperia Z3v General] bcromwell:
Payment sent
[Xperia Z3v General] mpeclipse03:
Flashtool stuck

Hey guys,

I keep trying to downgrade the firmware, but for some reason it gets stuck at "reading device information". Any thoughts as to how to get past this part?

Thanks!
[Xperia Z3v General] GigaSPX:
How are you attempting to downgrade the firmware?
[Xperia Z3v General] Mountainfisher:
Download the full ftf file here https://www.androidfilehost.com/?fid=95784891001602913

Or here

http://firmwaremobile.com/index.php/xperiadownload/file/262-z3-v

Or here

http://dzeig.blogspot.com/2014/12/firmwares-for-sony-xperia-z3-compact.html

This way you don't have to fool with making your own ftf
[Xperia Z3v General] wizardfingers:
wrong thread
[Xperia Z3v General] mpeclipse03:
Thanks, for some reason it didn't work on windows 8.1 but Vista did the trick. Will the OTA update disable the root?
[Xperia Z3v General] LeifEricson:
Yes, unless you create a pre-rooted ROM and then flash it yourself you'll lose root.
[Xperia Z3v General] JediDru:
That isn't accurate. You most certainly can root the shipping firmware, then take the OTA to .44 and still have root.
[Xperia Z3v General] LeifEricson:
Really? I was under the impression that OTA removes root...
[Xperia Z3v General] Mountainfisher:
No, taking the newest OTA does not remove root in this instance.