yashsingh1/xdaforums huggingface dataset:
[Xperia Z3v General] cccthestyle:
Getting stuck on this on the rooting portion. Read through the entire thread and tried fresh JDK/JRE installation, debugging is enabled and Wait for debugger is checked, added 'classes' to jdb.ini from 100 to 1000 times, restarted Win7 computer and phone, and tried the secondary root download link. Not really sure where to go from here

EDIT: no idea what changed, I ran the exploit for what had to be the 15th time and it randomly worked. Thanks GigaSPX
[Xperia Z3v General] nealecj954:
I blame the cable
[Xperia Z3v General] EightBitLife:
20/022/2015 16:22:21 - ERROR -

20/022/2015 16:22:21 - ERROR - Error flashing. Aborted

20/022/2015 16:22:22 - ERROR - Drivers need to be installed for connected device.

20/022/2015 16:22:22 - ERROR - You can find them in the drivers folder of Flashtool..

I thought I installed them
[Xperia Z3v General] Samwest1:
Figured out where firmwares folder is

I had kept asking becouse i could not find the firmwares folder in flashtool or .Flashtool files. First few times i installed it, it was creating a folder called emma instead of flashtool in my C drive. And anything having to do with flashtool was in emma folder that was in sony mobile folder in C\ directory (no flashtool folder at that time in C\. After dl a couple other copies of flashtool and installing them i got a couple that actually installed in folder called flashtool an not emma or sony mobile. But it was not installing firmwares folder, OR FOLDER IN USER Or C\ users\user. But now i have got those folders and wanted to say that they are not located on pc anywhere, until after running flashtool the first time. I didnt read that anywhere an had no idea till i tried it an that installed the .Flashtool folder in users\user name. And then i had the firmware folder in that. JUST WANTED TO LET EVRYONE KNOW that those files wont be there to put anything into ,untill after u run flashtools once. I was trying to do evrything i needed to before trying to do anything, which in my mind included getting ready beforehand and putting shipping firmware into firmware folder. Thanks for the help thus far.
[Xperia Z3v General] Samwest1:
What is a class, that i would add to jdb.ini

I keep reading over and over in the thread of people adding classes to the jdb.ini. So i need to ask, what are classes. How do i add them to this file. Ive been looking for info about this on xda. But i am not finding anything that is helping me to figure what classes are or how to add them at all or correctly in this instance. I went online a few places and read about classes to find out what they are and tried to find a guide for how to add classes to the file so i wouldnt have to ask. But couldnt find what i was looking for. Can someone please explain this process.
[Xperia Z3v General] BladeRunner:
IN the folder where the exploit.bat is located there is also a file called jdb.ini. Right click on that and open it with note pad, you'll see the word "classes" just ad a bunch more and save it.
[Xperia Z3v General] Samwest1:
Thanks

I hooked up my phone to the flashtool, after it states syncd with github .message came up on screen about drivers need to be installed for device in red letters, but i had already ran drivers exe from drivers folder of flashtool ,so im not sure what about that. Then i have another mesage stating device connected in flash mode pops up on screen after that ,so maybe it just took a moment to register . So i wait and nothin happens if i dont push any buttons. Or if click the flash lightning button, another screen pops up but thats it ,all boxes are empty/blank ,but says flash and cancel in bottom corner of that screen . Nothing happens if i just wait. and Phone restarts on its own after waiting a few. What do i do now. It just sits there. If i push lightning bolt, flash screen pops up with empty boxes where it wants me to choose device info and check boxes with wipe and all that stuff im supposed to chexk to choose that option or not, but nothin loads up. all the boxes are empty and it has nothing for me to change or any settings. Nothin i can do but push flash or cancel in bottom corner. Withough anything checked or any info in boxes . Just the main layout of that flash screen pops up but all dialog boxes are empty.
[Xperia Z3v General] Samwest1:
Help with flashtool

When i run flashtool it opens a main screen that shows the lighning bolt, and blu icon then the lock the key the arrow icons. Seems to get info from github and sync with phone. But when i try to go to flash screen by clicking the lighning bolt icon, another screen comes up with the boxes that show device, version, and branding. Also the box thats labeled flename and boxes with info that u check or uncheck wipe, or exclude and miss. The only box that had any thing in it is box that shows where the . Flashtool \fimwares is located. All the other boxes are blank, where i would check or uncheck wipe info and the box in the middle for filename, and the device\branding\version\ box are all blank. Only thing i can click on is flash button or cancel button at bottom of that screen. Any ideas? Ive already uninstalled and reinstalled a few times. I have phone in developers mode on. I have run drivers exe and selected to run as z3. I have no idea why it wont letme flash.
[Xperia Z3v General] nealecj954:
Is adb setup properly?
[Xperia Z3v General] Samwest1:
Adb

How do you setup adb?
[Xperia Z3v General] BladeRunner:
do you have anything in your .Flashtool/firmware folder? that is where the firmware you want to flash should be and your c:/flashtool/firmwares folder should be empty
[Xperia Z3v General] Samwest1:
Folders

Yes, in c\users\user\.flashtool\firmwares, the original shipping ftf is there. Firmware folder in c\flashtool is empty. The firmware was downloaded from page 1 here. And then i manually put it into the".flashtool" folder as per instructions .
[Xperia Z3v General] BladeRunner:
I don't know. Try downloading the shipping firmware again. ALso can you post a screen shot of the contents of your .Flashtool/firmwares folder?
[Xperia Z3v General] Samwest1:
I will try to post a screenshot but it will take a few. I havnt uploaded any pictures online in a couple years to be able to get a link to my photo. So will have to set up an account for some photo hosting site. But i will get to that asap so i can post pics . Only thing thats in the firmwares folder of the . Flashtool in users/ user is the " D6708_23.0.E.0.376_VER.TFT". After i sync the phone with flashtool and it ask if i want to permantly add phone as a z3, it adds 3 more folders into the firmwares folder . They are prepared, sinextracted, and downloads. I thought folder was supposed to be empty besides ftf. But even after i uninstall and then reinstall . After i hook up phone to program once it adds those 3 folders into firmwares folder again. Somthing to do with syncing the phone,i think that because during one install after i hooked up the phone ,they appeared. I erased those 3 folders out of firmwares, and when i hooked up phone again and it synced as z3. They appear again. But still the flash screen of flashtools is blank boxes. Nothing i do has any effect. No wipe otions to check or not. Nothing in any box.

Also im sorry, i realized just now that i wrote "ftf" instead of "tft" probably more than once in my posts. And i am also having a hard time texting these messages thru my phone. Please bear with me.
[Xperia Z3v General] BladeRunner:
Those 3 folders are OK. The flashtool is just looking for the ftf and it's not seeing it for some reason. Did you modify the name of the file in any way when you moved it to the firmwares folder? Do you have your folder options set to show file extensions?
[Xperia Z3v General] Samwest1:
got flashtool to work.

I ended up downloading the firmware again thru a different source. that fixed my issue with no device /firmware info or wipe /exclude/misc options in flash screen of flashtool. Also I had found a random firmware tft file for psp or something that I loaded that into firmwares folder last night and ran the flash screen an saw that all the info I was missing was there. So I downloaded again thru my phone with way better connection and speed of dl.. Also I went into my processes on pc in task manager,and I saw that Sony pc companion was disabled so I enabled it from there( but program not running), I thought maybe that was causing my issue maybe so tried to see. After that I ran flash and it flashed to ship firmware just fine..

Then I ran exploit.bat and got success. It said press any key to continue but i didn't press any keys . Then I went to folder root was in ran root.bat and it went thru process just fine. But after about like 45 minutes of it running crazy fast script or whatever u call it going thru files very quickly in command prompt box. Seems to finish. But I then installed supersu thru play store and opened it up, it said something along the lines of no supers files*, and app supersu cannot create them. Something like that. AND THEN I downloaded root check and it said I wasn't rooted.. It was 4am then. So I crashed out an went to sleep. Will try again tonight when I get home. Did it maybe mess something up when I checked supersu before running root checker. Or when I didn't press any key to continue after running exploit, before going back to root folder to run root.bat?
[Xperia Z3v General] Samwest1:
OK. I ran exploit.bat. an it said successful. Then ran root.bat and it went thru an finished I'm pretty sure. But after I'm not rooted.

Now to go thru the process again. Do I just re install the debuger app, and then run the exploit.bat again. Or just run the root.bat, since I already succefully ran exploit.bat. Or do I need to re do anything else Or run some command in adb or something before running exploit or root again to re try?

I'm already flashed back to shipping firmware. Also should I be installing supersu on phone or sd or somwhere BEFORE I RUN exploit and or root again. I only installed supersu after I tried root
[Xperia Z3v General] BladeRunner:
noo, no need to install supersu anywhere. Just try running the exploit.bat and go through the process a few times, some people have had to run it a few times before it succeeds.
[Xperia Z3v General] nealecj954:
I was having issues with my play store, YouTube app, and Google account syncing after rooting. So unrooted and re-rooted using the method. I did a fresh install of the drivers (usb, adb, fastboot), sdk, flashtool, jdk, and Java. Downgraded the firmware to reroot everything worked. Rooted again and it completed in the first try. The problems returned, i ended up having to manually update Google Play Services, removing my Google account from the phone, and clearing the caches of the affected apps and uninstalling all updates to the affected apps. Rebooted and everything was working properly. Did the ota update and updated the apps I downgraded. Cleaned up bloat and installed some of the other root apps i like. All is well, now. Just wanted to throw this out there in case anyone else experiences issues. Also, thought it would maybe shed some light on root issues. Seems doing fresh installs helps a lot.
[Xperia Z3v General] Samwest1:
I have root.

I put twrp dualrecovery on it. It went into the recovery for the first time. But I wasn't sure how to use it without Messing something up on phone. So I exited without doing anything and read up more on the process of backing up. But now I can't get back to the twrp at all. Can someone guide me thru the process of getting twrp to load up, and what options I need to check for it to backup my phone. Or maybe a link to an xdA thread on how to load up twrp, also maybe a link on xdA about how to use titanium backup on xperia z3v.
[Xperia Z3v General] BladeRunner:
How are you trying to get into it? NDR utilities? If that doesn't work reinstall dual recovery. It disappears sometimes. You MIGHT have to uninstall it per the dual recovery thread before you can reinstall it.
[Xperia Z3v General] Samwest1:
I tried ndr utilities, reboot to twrp. And phone reboots but just sits at dark screen that says sony until I've waited a couple minutes and hold down power button till it restarts. But if I don't restart in that way it sits at Sony screen.
[Xperia Z3v General] GigaSPX:
You have to reinstall TWRP itself for sure. The first easiest way to do that is head on over to the Play Store and download TWRP Manager, and install the latest from there.

If that doesn't workout, you will just have to reinstall the dual recovery as a whole like the first time you did.
[Xperia Z3v General] dbuzz47:
So I finally got past the flashing and now im stuck on the javanull error. Anyone have any tips?

EDIT*

I added a bunch of classes to the jdb file and it runs for a while but still always ends with the runtime null problem. Anyone know how long the root.bat takes to run before it is finished?
[Xperia Z3v General] shakan09:
I see alot of people having the same problems I had when rooting. I believe step 4 is what people are missing. make sure your old versions of Java are uninstalled. I had to manually do this! I had like 2 versions installed and as soon as I deleted the old one, the root process worked flawlessly
[Xperia Z3v General] dbuzz47:
Should I be restarting my computer between the Uninstall/install?
[Xperia Z3v General] JediDru:
I would
[Xperia Z3v General] dbuzz47:
Ok well I have restarted and reinstalled multiple times and no matter how many classes or how many times I run root.bat it still gives me the runtime null error. Any Suggestions?
[Xperia Z3v General] SovPanda:
Do you have the right java for your computer? I had the x86 version instead of the x64 my computer needed.
[Xperia Z3v General] dbuzz47:
Pretty sure I have the right one. I have x64. I'm running Windows 10 boot camp on my mbp 2012
[Xperia Z3v General] ktnemec:
Help with Linux Flashing

I am not sure this is the right forum to post about this, but my guess is that it is a z3v problem not just generic z3 so I don't know where else to ask. I am trying to root as per the directions in this thread, but cannot get Flashtool to work either in Linux or Windows 8. In Linux it goes fine until it is time to switch to Flashmode, and then it can't find my device. The image of the usb being plugged in with the vol down button pressed just stays up and the terminal window says

get_config : Device Not found

I have tried several different udev rules and none seems to make any difference.

In windows it finds the phone in flashmode, but then gives a TA parsing error and says it needs an fsc file for the phone.

Not sure what else to try there.

Any help or pointers? Thanks?
[Xperia Z3v General] fshowcars:
Yes!

On windows 8 8.1 or 10 you will have to disable driver signing so that when you run the installer for the drivers found in the flashtool folder /devices, you will get prompted (it is supressed if you don't disable driver signing) and you click OK to install non-signed drivers.

once you do this, you should get the proper google drivers installed... this was my issue.

Go to the shutdown / restart button in windowss and hold the SHIFT key when you click restart... then you go to a menu, select advanced then troubleshooting and select 7 for disabling driver signing.

---------- Post added at 04:50 PM ---------- Previous post was at 04:49 PM ----------

YES!

litearlly, the only step that is missing in all of the root guides is that YOU HAVE TO OPEN TESTAPP2 on your phone... that's how the port becomes active on your phone for the java debugger to connect to... once you do this, you should be successful! Set testapp2 as debugger, select wait for debugger, then go to applications and OPEN TESTAPP2!!!

In my opinion, the classes additions and java versions are irrelevant... if java installs properly and opens, you are fine!

-Sonnysucks
[Xperia Z3v General] dbuzz47:
I love you
[Xperia Z3v General] jac6695:
Best way too unroot? Need to return for warranty.
[Xperia Z3v General] BladeRunner:
flash a stock ftf using the flashtool
[Xperia Z3v General] jac6695:
Thought so. Thanks!
[Xperia Z3v General] ktnemec:
Thanks for the help, I tried this and it didn't help at all. Exact same message. Here is the output from the Flashtool Window if it helps anyone tell me what I am missing.

09/020/2015 15:20:49 - INFO - Selected Bundle for Sony Xperia Z3 (D6603). FW release : 23.0.E.0.376. Customization : VER

09/020/2015 15:20:49 - INFO - Preparing files for flashing

09/021/2015 15:21:51 - INFO - Please connect your device into flashmode.

09/021/2015 15:21:58 - INFO - Device disconnected

09/022/2015 15:22:43 - INFO - Device connected in flash mode

09/022/2015 15:22:44 - INFO - Opening device for R/W

09/022/2015 15:22:44 - INFO - Reading device information

09/022/2015 15:22:44 - INFO - Phone ready for flashmode operations.

09/022/2015 15:22:44 - INFO - Opening TA partition 2

09/022/2015 15:22:44 - INFO - Current device : D6708 - CB5A25DGUM - 1288-1477_R19B - 1278-4381_23.0.E.1.44 - VERIZON-LTE_23.0.E.1.44

09/022/2015 15:22:44 - INFO - Closing TA partition

09/022/2015 15:22:44 - INFO - Start Flashing

09/022/2015 15:22:44 - INFO - Processing loader.sin

09/022/2015 15:22:44 - INFO - Checking header

09/022/2015 15:22:44 - INFO - Flashing data

09/022/2015 15:22:45 - INFO - Loader : S1_Root_9c84 - Version : MSM8974AB_22 / Boot version : S1_Boot_MSM8974AC_LA3.0_59_VZW / Bootloader status : NOT_ROOTABLE

09/022/2015 15:22:45 - INFO - Transfer buffer size : 262144

09/022/2015 15:22:45 - INFO - Parsing boot delivery

09/022/2015 15:22:45 - ERROR - Error parsing TA file. Skipping

09/022/2015 15:22:45 - INFO - You must have the according fsc script to flash this device.

09/022/2015 15:22:45 - INFO - Flashing finished.

09/022/2015 15:22:45 - INFO - Please unplug and start your phone

09/022/2015 15:22:45 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings

For the record I do have unknown sources and USB debugging turned on.

If anyone has any ideas please let me know. I do like this phone but would really like to get it rooted. Is there somewhere else I might be better off posting this? I have not found a Flashtool forum that might be helpful. Thanks.
[Xperia Z3v General] thehumble1:
I just rooted with Kingroot without issue. I'll have to see about unrooting when lollipop comes out (soon! I hope). Still haven't done a custom recovery yet

Sorry forgot: 23.0.E.1.44 build, hardware 1277-6887.5
[Xperia Z3v General] fshowcars:
Sir, after you disabled driver signing and rebooted your windows machine, did you re-run the drivers installer file found in the drivers folder of the flashtool install folder? so c:\flashtool\drivers\ ? There is an executable that needs run and it should prompt you for unsigned drivers three times (cliking OK to installing drivers without being signed) and then you should be good to re-run the flashtool. Although, i have never seen the fsc error you are getting and see that some users had to run a USB debugger to see the proper file.
[Xperia Z3v General] ktnemec:
I did reinstall the drivers and try flashing. I installed the flashmode and Z3 drivers one time, when that didn't work I installed all the drivers (thinking that it would use the appropriate one.

My machine needed to update to windows 8.1 so I will try this again after that is complete. If that doesn't work I will see if I can generate the fsc file with usb logger. Unless anyone has a better idea?

Thanks for the help.
[Xperia Z3v General] fshowcars:
Sorry man, i struggled with this and my buddy even said that it's the hardest root ever and we collectively have rooted over 15 phones? ... it's unreal to have these issues just to rev back firmware and then wait until you go to root! ha, although I did get it worked out, just remember to use the root author's debugger and to wait for debugging... also open his app testapp2 on your phone when you are trying to root, java tries to find the high port that is created with testapp2 or it fails... that is documented no where and took us twenty minutes of hacking around to figure out what was up.

i installed fastmode and fastboot drivers and teh z3... i think the sony failed due to working in previous attempts an the two google drivers worked... then i was able to walk the process without error. How are you trying to flash? sounds silly, but could be how you are calling the flash? Clicking the lightning bolt and ensuring your proper firmware shows and only that, then clicking flash?
[Xperia Z3v General] ktnemec:
Hmm.... not sure if I installed the fastboot drivers, will be sure to try that again. If that doesn't work I will try to work through the USB logger thing. Thanks for your help.
[Xperia Z3v General] ktnemec:
Well, that was interesting. I tried reinstalling the drivers again and re-running flashtool and had the same result. So I decided to try to install the usb logger and see if that worked. The third step is to flash a FTF file with the older version of Flashtool. The only FTF I had was the downgraded one so I tried that and it worked! Not sure why the older version of FlashTool worked but it did. I had previously tried the older version on Linux to no avail.

After that the rest of the root process went flawlessly and I am now rooted. Well, flawlessly when I followed the right directions. For those wondering, if you seem to be in an infinite loop in running exploit.bat (uninstalling exploit etc. ) you probably forgot to check "Wait for debug app" in the settings. :)

Thanks for all the help!
[Xperia Z3v General] fshowcars:
Nice to hear! now get xposed installed and go to town with gravity box for KK. We need an unlocked bootloader :(
[Xperia Z3v General] Jfaluty:
I rooted with Kingsroot as well, and a root checker says I have root. But I can't get Xposed framework to update when you select "install/update" in the framework section. Do you have this same problem?
[Xperia Z3v General] GigaSPX:
You have to flash Dual Recovery.
[Xperia Z3v General] Jfaluty:
Since I don't have SuperSU, which option should I select?

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

Oops. Didn't mean to not quote you
[Xperia Z3v General] GigaSPX:
You could simply go to the play store to download supersu to have it on your phone since you're rooted.
[Xperia Z3v General] Jhonatan Valladares:
Please HELP with my Xperia Z3v

I have some problems with this tutorial, could someone make a video explaining each step, cause I'm new in Xperia and I need some help. I'm stuck in the second step becuase the flashtool says that I need the drivers of the phone I'm connecting. Please HELP.
[Xperia Z3v General] BladeRunner:
Drivers can be found here http://xdaforums.com/showthread.php?t=2635830 download and run the .exe and choose the "flashmode" drivers
[Xperia Z3v General] Dinc User:
I'm already rooted with king root, but don't like it, can the flash tool take me back to stock unrooted status?

---------- Post added at 05:27 PM ---------- Previous post was at 04:44 PM ----------

That doesn't work. Binaries fail to update
[Xperia Z3v General] GigaSPX:
Yeah, just flash the stock ftf to get back.
[Xperia Z3v General] Dinc User:
I thought so, I'm going to re-root using this method instead.

Thanks
[Xperia Z3v General] Slickademo:
+1 for Kingroot. Easy and works great. So happy to have xposed back!
[Xperia Z3v General] Dinc User:
What drivers do I install? It keeps telling me no drivers are installed for my device, but I installed every one in the drivers folder.
[Xperia Z3v General] gerg004:
Edit: nevermind I got it. Had quite the scare though, after reboot Xperia Home crashes constantly. Luckily I was able to somehow launch the Play Store and download Nova...

To those going to give Kingsroot a shot, do yourself a favor and have a backup launcher ready to use
[Xperia Z3v General] gerg004:
So with dual boot... What does it actually do for us now that we have recovery? Anything?

I've got xposed set up nicely and am happy with my tweaks, would love to get rod of the horrid boot animation though...
[Xperia Z3v General] Thï¿½nhXM:
after I had root I can not update the version 23.0.E.1.44 via ota, please help me !!
[Xperia Z3v General] GigaSPX:
Follow the instructions to make a prerooted ftf for it.