yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] ali3nfr3ak:
Probably not until someone who has an unlocked bootloader with root on FW .93 is willing to do some debugging
[Sony Cross-Device General] mrrflagg:
The link was kindly uploaded by [MENTION=3252403]rgdlee98[/MENTION] https://drive.google.com/file/d/0B1e...ew?usp=sharing
[Sony Cross-Device General] PherChe:
Ok never mind, i follow all the steps, no skips, and WORKED! I used Generic GEL .93 then .77

Thanks!!
[Sony Cross-Device General] alfredino85:
Tested on D5803 23.0.A.2.98 no brand ITA, root works. Thanks for all!
[Sony Cross-Device General] RHBH:
Is some devices (we don't know why) the device reboots before the exploit complete. We managed to ensure that the device will only reboot after the exploit finishes, but whenever the exploit touches the kernel memory the device is freezing. If we remove the address from the exploit, the exploit is completed successfully, but for obvious reasons root isn't granted, so we need to rework the way the exploit access the kernel memory.
[Sony Cross-Device General] serajr:
Reboot > Power Off

That's a great news!
[Sony Cross-Device General] sxtester:
Honesty, I'm still not getting the purpose of step 6 as the original author (serajr) of these lines already agreed these to be optional. If one has flashed a pre-rooted firmware containing everything, then why flashing it again? If you do, ok, it's clear that you have to exclude System for you would otherwise lose root. But my question is why doing it at all?! Someone please explain.
[Sony Cross-Device General] G-FACE:
Because you may have force closes if you did not do it. It's been said already.
[Sony Cross-Device General] espaciosalter20:
OT:

if you think that this thread is big enough, we all could take it to portal news: http://xdaforums.com/votenews.php?topic=3011598
[Sony Cross-Device General] htimsynohtna:
Applicable to Motorola Devices

I've used the tool on a friends device successfully after a couple tries but would this work on a Motorola device like the Tracfone/Straight Talk Moto E or Moto G perhaps with a little bit of tweaking like PIE did if it hasn't already been mentioned, or is the system locked down enough to prevent this from working.
[Sony Cross-Device General] serajr:
As you said, "...pre-rooted firmware containing everything..."

Does PRFCreator includes

everything

from ftf?

If answer is "yes", step 6 can be skipped, otherwise, it's mandatory! In doubt, I'd rather do it!!

OP can better answer us!
[Sony Cross-Device General] Boldizzle:
Does anyone have a download link to D6653 Global Generic .93 ROM so that I can give this exploit a try?

XperiFirm doesn't appear to have a generic ROM for this version.
[Sony Cross-Device General] sxtester:
Well, I successfully installed / flashed pre-rooted zip ROMs on Z2 and Z2 Tablet via recovery and it worked flawless all the time. Hence, I'd say it can be skipped as it only repeats what's been done before.
[Sony Cross-Device General] BladeRunner:
Unless you, by some miracle, have an unlocked bootloader and root then we are out of luck.
[Sony Cross-Device General] Marília de Oliveira:
You can take me some questions? wonder if when you root I'll be able to do system upgrade and update applications with the center? I will lose stability in the system? stability in Bluetooth? stability in the camera?

Thanks :D
[Sony Cross-Device General] SB13X:
Had no luck like other D6603 users using the Generic Global FW. Just about to try the Customised UK .98 FW when it finishes downloading but looking at the bottom of XperiFirm would it be worth trying these:
[Sony Cross-Device General] zombiej79:
Got in touch with a guy with a unlocked 6603 who said he will flash stock and help out with what's needed from adb
[Sony Cross-Device General] mo3553:
I've already tried the UK. 98 and it didn't work. And to be honest, it's not about which ftf you use. It's just luck for D6603 users.
[Sony Cross-Device General] Newt182:
This! But to expand on it a bit further, if you have already tried the exploit on a ftf that is exploitable, like .93, and have tried running the root several times but it didn't work, no ftf is going to make a difference. As it has previously been explained, there is a problem with certain devices and if your device is one of those then it just will not work, at least at the moment. You are lucky if you have a device where the root works on it.
[Sony Cross-Device General] minijaws:
I made a spreadsheet for the root. mainly for the D6603 as we are the ones having the problems so I thought I would see if there is any different versions of the D6603 that work and don't. It just being random doesn't make sense to me.

https://docs.google.com/spreadsheets/d/1YCoGpz-JixWvaQE57mf-8YaXWRfhqnHGMvurYueBy_U/edit?usp=sharing

Post your device. even if its not a D6603
[Sony Cross-Device General] SB13X:
You're right still no luck. Ahh well will check back again see where we are up to.

Logs:

adb shell "ls -l /data/local/tmp/"

-rw-rw-rw- shell shell 4016989 2015-01-25 23:01 SuperSU.zip
-rwxrwxrwx shell shell 152 2015-01-25 23:01 a
-rwxrwxrwx shell shell 657704 2015-01-25 23:01 busybox
-rw-r--r-- root root 30184 2014-07-15 09:10 flatland
-rwxrwxrwx shell shell 17892 2015-01-25 23:01 getroot
-rwxrwxrwx shell shell 143 2015-01-25 23:01 giefroot
-rwxrwxrwx system system 181 2015-01-26 00:18 giefrootlog
-rw------- system graphics 16068 2015-01-26 00:28 glsl_shader_log.txt
-rwxrwxrwx shell shell 752 2015-01-25 23:01 installsupersu.sh
-rwxrwxrwx shell shell 60799 2015-01-25 23:01 main
-rwxrwxrwx shell shell 0 2015-01-26 00:24 memfile
-rwxrwxrwx shell shell 13592 2015-01-25 23:01 modulecrcpatch
-rwxrwxrwx shell shell 1544 2015-01-25 23:01 systemrw.sh
-rwxrwxrwx shell shell 34473 2015-01-25 23:01 wp_mod.ko

adb shell "cat /data/local/tmp/giefrootlog"

giefroot (c) zxz0O0
query failed. trying another app...
getting ptr
getting offset
Error: Could not allocate memory for exploit code
getting root...
getuid: 1000
Error getting root
[Sony Cross-Device General] ali3nfr3ak:
can you adjust this to add D6653 as well please, thanks :good:
[Sony Cross-Device General] minijaws:
Adjust? you can put the device as whatever you want on the left. I encourage all devices working and not working.
[Sony Cross-Device General] Newt182:
Brilliant idea! We need some users who have successfully rooted to also enter their information too, so we can compare. Also, quote for new page.
[Sony Cross-Device General] SB13X:
Let me know if he comes through and helps, I've let [MENTION=3975929]zxz0O0[/MENTION] know if he doesn't I suppose I'd be willing.
[Sony Cross-Device General] Huey85:
Has anyone who has a D6653 but with D6603 .93 firmware installed been able to root their device?

I've got an Australian D6653 and flashed the D6603 Global .93 firmware but root's been failing for all my attempts (about 30).

I'll add my log details later when I'm home.
[Sony Cross-Device General] zxz0O0:
Hey guys

Released v2. Should work better now and also on Z3. Big thanks to idler1984 for system_server tip and to [MENTION=5201072]RHBH[/MENTION], [MENTION=4752144]squabbi[/MENTION] and all other testers.
[Sony Cross-Device General] felipondrioxcl:
Unfortunately doesn't work at .93 in D6653
[Sony Cross-Device General] zxz0O0:
It has been tested on that firmware and confirmed working by squabbi. Make sure you follow instructions on OP (don't forget "Allow mock locations").
[Sony Cross-Device General] 3x3cUt0r:
There is a missing " in this line

adb shell "chmod 777 /data/local/tmp/giefrootlog

and a small typo "Please for the device to reboot" <- missing wait
[Sony Cross-Device General] zombiej79:
He said he would do it tomorrow but the more info we can get the better
[Sony Cross-Device General] oguzpasa:
still not working for me. d6603 .93 fw. just freezing when tryng to reboot
[Sony Cross-Device General] sarcasticphoenix:
Tried V2.

First time, it's the same as before, error: device not rooted

Second time, the device freezes at the black screen. After hard reset, no root. Log is empty.

Third time, the device freezes again. After hard reset, I waited 3 minutes before unlocking the device. No root. Log is empty.

Edit: Unable to chmod /data/local/tmp/giefrootlog: Operation not permitted

Both through the script and manual sending of commands.
[Sony Cross-Device General] Newt182:
With this version I can actually see the exploit run before rebooting. The first try hasn't worked. I am now on the 2nd attempt but the root app loaded, went to black screen and has now paused and is not doing anything. It also went to a black screen on the first try but it rebooted after about ten seconds.

D6603 .93FW.

Edit: You know what. I've just realised that I am still using the same firmware flash that I ran v1 on, maybe that could be the problem? Anyone else can confirm they have tried this on newly flashed firmware?
[Sony Cross-Device General] mo3553:
Same here.
[Sony Cross-Device General] Jkell69:
V2 Hangs on Exploit Run

Phone freezes now and doesn't give root and:

"Unable to chmod /data/local/tmp/giefrootlog: Operation not permitted"

is displayed in CMD. I also tried adding the missing " to the command with the same results

D6603 .93 FW
[Sony Cross-Device General] 3x3cUt0r:
Not working here either, there seems to be an "Operation not permitted" error when chmod giefrootlog folder.
[Sony Cross-Device General] zxz0O0:
Alright, seems it's still not working on D6603, however on D6643 we tested it and it's working. Will test more later, hopefully with someone with an unlocked Z3 D6603.
[Sony Cross-Device General] Newt182:
All the work you are doing is very much appreciated! I plan to donate a bit once you figure it out. :)
[Sony Cross-Device General] SB13X:
D6603: Been trying to run a test version, still have the CHMOD issue with giefroot log and phone reboots fine on first attempt but hangs on second and will continue to hang unless a factory reset is performed.
[Sony Cross-Device General] ajayendra:
Factory reset is not necessary. when it hangs on second attempt, remove USB cable, Press vol up and power at the same time, phone will vibrate thrice, press power button to turn on device.
[Sony Cross-Device General] w. junior:
Same on D6633.
[Sony Cross-Device General] SB13X:
I know I mention factory reset as after two attempts every consecutive one thereafter would hang. To reset the process to get a reboot I needed to Factory Reset to clear the data to allow a first attempt reboot again.
[Sony Cross-Device General] tomanlam:
D6653 .93 firmware not working, I did factory reset before root and followed all instructions but no luck
[Sony Cross-Device General] ajayendra:
Aah, thanks for clarification, its actually informative!
[Sony Cross-Device General] felipondrioxcl:
I was trying with V1, i'll update with this version in a few minutes
[Sony Cross-Device General] SB13X:
Currently running through some Test Versions with [MENTION=3975929]zxz0O0[/MENTION] and the hanging issue in those has been resolved. No progress on the Root front but I'm the Monkey he's the Organ Grinder and I'm just dancing along providing logs.
[Sony Cross-Device General] iPerry64:
D6603 on .93 ROM. Phone is locked to Bell in Canada. Got it to work on my second try after forgetting to turn on airplane mode. Thank you for this sweet tool!
[Sony Cross-Device General] zombiej79:
What ftf did you use? Or did you use bells Rom?
[Sony Cross-Device General] SB13X:
D6603 with root!!! Using Global .93 FTF from XperiFirm! I'm sure the OP will be updated shortly! I'll leave [MENTION=3975929]zxz0O0[/MENTION] to announce his masterpiece! The gent is a legend!
[Sony Cross-Device General] damsolu:
D6633 Dual Sim works!! :good:

v.82(ds) = v.77

v.74(ds) = v.93

thank you very much and congratulations to zxz0O0 for the great work and serajr by the instructions to update without losing root
[Sony Cross-Device General] zxz0O0:
Problem on Z3 devices resolved, thanks to testers [MENTION=2656712]SB13X[/MENTION] and [MENTION=4178600]minijaws[/MENTION] !! :cowboy:

V2 reuploaded with fix included.
[Sony Cross-Device General] apexofservice:
no windoze machine, so entering commands in .bat file one at a time

Hi, I don't have a parser for .bat files so I'm entering the commands in there one at a time (since they are just adb commands anyway). Eventually, I'll upload a .sh file for *NIX based machines (GNU/Linux, OSX). However, my first attempt has failed so I can't do this yet.

Can OP or someone else please tell me if I'm missing anything. I see essentially 4 stages in install.bat:

0. Some setup of parameters for .bat, the [MENTION=279333]ECHO[/MENTION] and the SETLOCAL

1. push files to the device

adb push a /data/local/tmp
adb push getroot /data/local/tmp
adb push giefroot /data/local/tmp
adb push main /data/local/tmp
adb push modulecrcpatch /data/local/tmp
adb push systemrw.sh /data/local/tmp
adb push wp_mod.ko /data/local/tmp
adb push UPDATE-SuperSU-v2.45.zip /data/local/tmp/SuperSU.zip
adb push busybox /data/local/tmp
adb push installsupersu.sh /data/local/tmp

2. set permissions on those files

adb shell "chmod 777 /data/local/tmp/a"
adb shell "chmod 777 /data/local/tmp/main"
adb shell "chmod 777 /data/local/tmp/modulecrcpatch"
adb shell "chmod 777 /data/local/tmp/giefroot"
adb shell "chmod 777 /data/local/tmp/getroot"
adb shell "chmod 777 /data/local/tmp/systemrw.sh"
adb shell "chmod 777 /data/local/tmp/wp_mod.ko"
adb shell "chmod 777 /data/local/tmp/busybox"
adb shell "chmod 777 /data/local/tmp/installsupersu.sh"
adb shell "chmod 777 /data/local/tmp/"

3. check kernel version (really this should probably be done before steps 1 and 2 because if the wrong version we abort so we didn't need to push those files and set those permissions but anyway)

set isSupported=dummy
for /f "delims=" %%i in ('adb shell "/data/local/tmp/getroot -s &> /dev/null || echo $?"') do (set isSupported=%%i)
if "%isSupported%" == "dummy" goto Supported

Basically the getroot -s program prints "Not supported" if the device isn't supported and prints "giefroot" if you are supported. (I saw the "not supported" message earlier before downgrading my firmware).

apexofservice@citrus:~/Desktop/sony/files$ adb shell /data/local/tmp/getroot -s
giefroot (c) zxz0O0

4. remove any org.keenteam apps, install exploitServiceApp.apk, then try the exploit

adb uninstall org.keenteam >nul 2>&1
adb install exploitServiceApp.apk
adb shell "/data/local/tmp/giefroot" >nul 2>&1

The rest of the stuff just waits a while to give the exploit time to run, then waits for adb to reaccess devices, then looks for su. Final steps are cleanup.

Here's my issue, I did all the above and the device rebooted and all seemed right but when I run `adb shell "su"' I get "command not found" so the exploit didn't work. If you guys have any advice, I'd love it.

As I said, once I get root with this exploit, I'll make a .sh script for #!/bin/bash so that this will work on *NIX machines.

Best!
[Sony Cross-Device General] Newt182:
It works! Thank you so much! Also thanks to the guys who helped by using their phones to test.

Donated :)
[Sony Cross-Device General] 3x3cUt0r:
Thanks, love you man.
[Sony Cross-Device General] sarcasticphoenix:
D6603 2.93 Rooted!

Thank you so much!
[Sony Cross-Device General] zombiej79:
I'm still not having any luck with D6603.2.93 global says not rooted gonna wipe and try
[Sony Cross-Device General] aeryen:
Not working using V2 toolkit.

My D6653 is on HongKong version .93 firmware, after the app fired up running, the phone just went hanging and I'll have to manually shut the phone down.

The app seems to unable to write out to log as well, at least I haven't seen any log. (file have a size of 0)
[Sony Cross-Device General] oguzpasa:
thx man it worked like a charm. appreciated. feel like i must donate:) . will do it tomorrow
[Sony Cross-Device General] zombiej79:
What ftf are you running? Global?
[Sony Cross-Device General] SB13X:
[MENTION=3975929]zxz0O0[/MENTION] has gone to bed for now lol [MENTION=3720536]zombiej79[/MENTION] are you using the .93 firmware from XperiFirm? If not use that and try again, also if it doesn't work first time always try it a second straight after and report back if hangs.
[Sony Cross-Device General] zombiej79:
Just building a new global 2.93 now will report back
[Sony Cross-Device General] Newt182:
I used Generic Global from here: http://xdaforums.com/z3/general/ftf-stock-firmwares-xperia-z3-models-t2886061

Worked for me.
[Sony Cross-Device General] sarcasticphoenix:
23.0.A.2.93 Generic Global
[Sony Cross-Device General] iPerry64:
I just used Bell's ROM which just happens to be a global LTE variant I believe.
[Sony Cross-Device General] ajayendra:
YAYY!!

D6603 .93 firmaware.

Dindn't work the first time, second time.....BINGO!!
[Sony Cross-Device General] zombiej79:
when you run second time do you unplug or just run it again without unplugging?

---------- Post added at 05:31 AM ---------- Previous post was at 05:19 AM ----------

tried twice still no root it cant find log file either
[Sony Cross-Device General] Huey85:
WINNER! Thanks guys for the quick debugging. Worked with v2 on the second try. First try failed but it looks all good now.
[Sony Cross-Device General] zombiej79:
giefrootlog file is 0 bites so no info

---------- Post added at 05:52 AM ---------- Previous post was at 05:39 AM ----------

And after the fourth try I have root thank you so much guys.

Now I have to figure out how to get remote play to work with root lol
[Sony Cross-Device General] felipondrioxcl:
No root for me.

.93 installed, full wipe, airplane mode, allow mock locations, usb ok. First time that i tried i had Error, second time it doesn't work, and the phone didn't rebooted, it was stuck for a long time.
[Sony Cross-Device General] ierwinplus:
D5833 works without wipe data!

z3c d5388, originally 23.0.1.A.1.49 HK customized

my steps:

1. flash back to 23.0.A.2.93 HK customized without wipe data

2. when phone reboots, ignore all fc, do as op mentions to get root

3. when root, go to play store and get supersu pro, then enable ota survival (don't know if this is necessary)

4. check system update, install ota

5. you're done

everything seems alright except pushbullet (keep telling me that can't registry to google, but push works) , but i still not confirm this is causes by action above or causes by gfw in china.

cheers
[Sony Cross-Device General] aeryen:
Yes, same.

Can I ask your model number. Is it also D6653?
[Sony Cross-Device General] caqo71:
OK, at last this last v2 worked for me on .93 generic global, even, I ran it with the pnone full of apps connected to wifi, and all customized, it worked at forst intent.

Thanks, now I have mi TA Partition backedup. :highfive:
[Sony Cross-Device General] apexofservice:
tried several times, still no root, no log either

Tried several times. Still no su binary on $PATH after completion. I should emphasize I'm on D5803, using 23.0.A.2.93. I followed the procedure I outlined above. All seems to go ok, in that the giefroot script seems to do the touch commands then the am kickoff of the apk. That is, I see the apk start its intent then the phone reboots after about 30 seconds. However, no su after coming back up.

In one of the first posts, the OP asks for giefrootlog if things fail, however, I don't see this file so I'm not sure what I've missed.

Any help?

---------- Post added at 09:18 PM ---------- Previous post was at 09:04 PM ----------

I just saw the version 2 thing and tried again. First time no luck, nothing in log. Second time success!

I'll post the *nix version of install.bat (ie install.sh) for those who aren't setup on Windows. There's nothing windows specific about this root method, so I can make it easier for others to do what I did by uploading the install.sh

Thanks a million to the devs who found the exploit!
[Sony Cross-Device General] Kevincorella:
Success!!!

D6653!!

D6653_23.0.A.2.93_Customized_20IN

First try, everything went smooth:good:

love ya all

ignoring the fact I lost all my files, i'm pretty happy haha
[Sony Cross-Device General] jordanyork:
Crap... It doesn't work after root? Even with the DRM keys still there? Also, we have any update about the 6616? (T mobile)
[Sony Cross-Device General] karrouma:
Anyone try v2 with d6633 dual .82
[Sony Cross-Device General] ThunderWolf78:
Y0! First off, this is awesome, root achieved with drm intact.Yay!

One tiny problem though, the .93 promoter firmware comes with some leftovers that've invaded my phonebook... I did wipe during flashtool flash but I had a bucketload of contacts that were not mine and my google sync complains about deleting 240 or so contacts... How do I "clean" this out of the ftf? Gonna pre-root it and reflash...
[Sony Cross-Device General] jakobxxl:
Yes, not working. "seems your kernel / device is not supported"
[Sony Cross-Device General] werks:
success on d6653! thank you very much!
[Sony Cross-Device General] Bäcker:
V2 worked on my 6603

THANK YOU. Donation incomming!
[Sony Cross-Device General] Farva0412:
All you guys getting root, and I am stuck here with none. I hope someone gets 6616 rooted.
[Sony Cross-Device General] jiujitiancai:
success using v2

d6653 flash d6603 2.93 global 20.

the first try fail then did a 2nd try bingo!!

edit：before I sucess I use the front usb cable(failed 897 times) this time I use back usb cable. so maybe this will help

made a small donation to OP:1HD23506A67742008
[Sony Cross-Device General] stevuna:
[MENTION=553382]rich2007[/MENTION]

There you go:

23.0.1.A.5.77 USA flashable through recovery with superuser and dualrecovery inserted.

https://drive.google.com/file/d/0ByklEkq4MSrXMFlZOC05bXNKYk0/view?usp=sharing

Follow this guide, thanks to [MENTION=3989065]serajr[/MENTION], from point number 3 if you're already rooted.

For point 6 use this .ftf https://mega.co.nz/#!AUEg1ayC!UsKs6yR6_ZaYqrsddexZHj_Y17EkXg8zMdkBCFi-X9Q

:o
[Sony Cross-Device General] ziuta24:
Downgrade to .74. Read 1ST post..
[Sony Cross-Device General] jarayn:
Hi

Thanks for the work,

Everything seems ok except WIFI doesnt work after upgrading to the latest firmware. Wont switch on at all.

D5803

Anyone know how to fix that?

cheers
[Sony Cross-Device General] karrouma:
z3 dual

z3 dual .82 sep 24 not rooted

z3 dual .74 aug rooted

my friend rooted the z3 tablet compact sep 19 i think

please add the kernel to v3 or v2.1

after my z3 dual d6633 .82 will be rooted i will donate a small donation

thank you
[Sony Cross-Device General] abj2aqua:
Hey are you sure root survives just by using SuperSU Pro?

Can anyone else confirm?

Thanks
[Sony Cross-Device General] ierwinplus:
sure, i am in 23.0.1.A.1.49 HK customed now with root. have little problem with /system r/w

and i am not sure that even supersu pro is a must or not
[Sony Cross-Device General] sgiannouris:
D6603, v2 worked, too! Thank you! Thank you!! Donation coming your way later today ;)
[Sony Cross-Device General] SKA67:
hi

I do not work :( :crying:

D5803 (23.0.A.2.93)

giefroot v2

[IMG="http://i61.tinypic.com/2psq936.jpg"]http://i61.tinypic.com/2psq936.jpg[/IMG]

giefroot

Remains the same state

were a few times I tried

[IMG="http://i62.tinypic.com/oti238.jpg"]http://i62.tinypic.com/oti238.jpg[/IMG]
[Sony Cross-Device General] chesterr:
Amazing work brother. People who had faith that there will be a way to achieve root and FINALLY that day has come :D

Now back up your that TA partition and unlock your BLs and enjoy the unlocked features. and yea now there's a way to unlock BLs without getting your internal storage too :D
[Sony Cross-Device General] blueiii:
Hi, do you have the D6653? I keep trying to get root but when I run giefroot, i can't seem to get it to succeed. When I try to run it again, it just hangs and the phone won't respond anymore, I have to press and hold the small yellow button under the sim flap to recover it.

Can you tell me how you got it to succeed? I tried following the instructions but no luck.

I have the D6653 flashed with D6603 23.0.A.2.93 FW.
[Sony Cross-Device General] gregbradley:
D6603

Rooted, installed dual recovery, flashed a pre rooted 23.0.1.A.5.79_Vodafone_UK with SuperSU and DualRecovery

All done

Thanks
[Sony Cross-Device General] jarayn:
Does your wifi still work after upgrade?