yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] rurie:
It maybe Insufficient explanation, sorry.

I will add some information.

I flashed only system partition(D6603 23.0.A.2.93) on stock firmware.

So kernel is SGP611 stock kernel.

shell@D6603:/data/local/tmp $ cat /proc/version

Linux version 3.4.0-perf-gd4d661a (BuildUser@BuildHost) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Fri Sep 19 18:10:07 2014

shell@D6603:/data/local/tmp $ grep ro.product.device= /system/build.prop

ro.product.device=D6603

output of getroot:

giefroot (c) zxz0O0

getting ptr

getting offset

Error: Could not allocate memory for exploit code (Variant 2)

getting root...

getuid: 1000

Error getting root

----end of output of getroot----

last_kmsg is here:

ttp://pastebin.com/qjRUfCmH

I got kallsyms from kallsymsprint, but I cannot upload because size is too large.(2.8MB)
[Sony Cross-Device General] zxz0O0:
This error should be fixed with giefroot v3.
[Sony Cross-Device General] rurie:
Thank you very much!!!

I really appreciate your quick response.

I'm looking forward to that release.
[Sony Cross-Device General] AlexZGV:
Z3 D6603 Global rooted successfully and upgraded to .77

Hello guys. I'm writing this for everyone especially for those who are struggling with the root on the global version of Xperia Z3 (D6603). Firstly BIG THANKS to [MENTION=3975929]zxz0O0[/MENTION] for the awesome tool. Secondly now i'll explain what i did to root and upgrade my Z3 (D6603). So here's the procedure:

TRY AT YOUR OWN RISK!

Before you start you should have "USB debugging" enabled and "Allow mock locations" enabled

1. Download and run XperiFirm, find the 23.0.A.2.93 firmware (mine was still for my country but on a different carrier*), download it but DON'T unpack it.

2. Using this FlashTool create a FTF file from the .93 FW. Follow this procedure to create your FTF file.

3. Then do the same as in Step 1 but this time with the latest .77 FW (which in my case now was for my carrier) and then create a FTF file from the .77 FW.

4. Using the FlashTool click on the lightning symbol and choose "Flashmode". Then choose the .93 FW and click "Flash". Then the FlashTool will ask you to connect your device. Hold volume down button and connect the device via USB and then the new firmware will flash on your device.

5. Once the procedure is done unplug your device and start it. Don't connect to the Internet or log in in your Google account. Then connect your device via USB to the computer and run zxz0O0's root tool. If it doesn't happen on the first try try again. (i rooted mine on the second try so be patient)

6. Now use this guide to create a flashable zip with the .77 FW, SuperSU and dualrecovery in it. Once you are done advance to the next step.

7. When you have your flashable zip ready download the INSTALLER package NOT the flashable.zip package from here Use this guide to install the DualRecovery on your device. (the guide is for Z1 but it's basically the same for the Z3).

8. Once you've installed the DualRecovery reboot your phone, connect it to the computer and transfer the flashable.zip which you created earlier to your device's internal memory. Then follow [MENTION=3989065]serajr[/MENTION] instructions on how to upgrade the FW from .93 to .77.

9. If you have done everything correctly you should now have root on your .77 device.

*the only thing was that when i downgraded i didn't have 3G but when I upgraded everything was working fine

P.S. if you have any questions ask my I'll try to clarify the thing for you :)

Hope I helped :)
[Sony Cross-Device General] cXpr:
D6603 downgraded and rooted, no data wipe

I successfully rooted my z3 D6603 on fw .77 by downgrading but with no data wipe.

Here is what I did: http://xdaforums.com/z3/general/root-d6603-77-downgrade-data-wipe-t3016521/post58515776#post58515776
[Sony Cross-Device General] radiohead14:
just got root on my Z3 Compact. now i have the notice to update to a new firmware via OTA. can i accept the update without losing root? also, do i need to backup the TA and DRM partition and install a dual recovery? i just wanted root mainly so i could use Viper4Android and AdAway. thanks
[Sony Cross-Device General] Merwyn:
Hello,

I've just followed the instruction in order to get root, but I'm stuck at the RW system part :

Could you tell me what I should do? I've no idea...
[Sony Cross-Device General] SquallPT:
Had to downgrade my D6603 and it worked! Thanks :)
[Sony Cross-Device General] mick353:
I'm in Australia!
[Sony Cross-Device General] punshkin:
When you say

does that mean you didn't wipe and it still worked?

I'd like to root but I'm quite busy these days, so I can't take all the time to set up everything again. If it worked indeed the way I understood it, that would be awesome
[Sony Cross-Device General] bjorno43:
Tried following your guide but I was inmediately stopped by the following: See attachment

More specifically:

Luckily no harm was done to my device :) But I'd like to know what went wrong and how to fix it before doing another attempt :P
[Sony Cross-Device General] infinitylook:
Maybe your download was corrupted?

---------- Post added at 10:40 AM ---------- Previous post was at 10:38 AM ----------

@zxz0O0 how dp you flash a created zip without erasing current apps? Like upgrading. Everytime I flash at recovery my previous apps get Erased. Can we upgrade without wiping apps?
[Sony Cross-Device General] vjoom:
Been reading the thread for a week and my Z3 D6603 finally arrived today. It still have the old firmware .93 on it and it prompt me to update to .77. I followed the instruction and got it root at first attempt. Then flash .77 through recovery. Work great. Thanks everyone for posting on this forum. . Loving this phone !!
[Sony Cross-Device General] Mapll3:
Can someone please check my last post and tell me if I have the correct firmware to root my z3 without unlocking the bootloader?
[Sony Cross-Device General] tribemac:
Updating will result in losing root, you have to flash a pre rooted firmware if you want the latest with root intact. No you don't need to backup ta that's only a have to if you gonna unlock bootloader. Recovery you don't need to but if you want to be able to flash new firmware you need it.
[Sony Cross-Device General] radiohead14:
appreciate the response! :highfive:
[Sony Cross-Device General] AlexZGV:
Let me put it straight. I am from Bulgaria and officially my carrier is M-Tel.

I mean that I downloaded the .93 firmware but it was on a different carrier than mine (GloBul) so when I tried the phone it didn't have 3G. Then I got it and just used this firmware (.93 GloBul) only to root the phone and then i installed the .77 firmware (M-Tel) and the 3G worked fine. (and by installing i mean upgrading my device with the pre-rooted package)

And yes i didn't wipe every time but it is recommended to do it. :)
[Sony Cross-Device General] stevuna:
Have you installed the flashmode drivers?

If you're on windows 8 you must disable driver verificaton signature.

:o
[Sony Cross-Device General] nlohani:
[QUOTE/]I have a rooted D6633 now with this exploit, then I installed NUT dual recovery successfully. Well, after that I was trying to flash CM12 nightly ROM through recovery and it said the rom is for D6633 (and other variants) but this device is leo?? what does that mean?

Also need to know if I will update to latest stock firmware, will the root and recovery remain?[/QUOTE]

Need help on this plz. Thanks in advance.
[Sony Cross-Device General] infinitylook:
Need help on this plz. Thanks in advance.[/QUOTE]

Leo is the codename of the z3 and all it's variants (D6603, D6633 and all). Just like how Z1 was named Honami,Z2 Sirius and Z Ultra as Togari
[Sony Cross-Device General] nlohani:
Leo is the codename of the z3 and all it's variants (D6603, D6633 and all). Just like how Z1 was named Honami,Z2 Sirius and Z Ultra as Togari

Thanks, didn't know this. This is my 1st Sony cellphone(switched from Samsung).

But why wouldn't it allow to flash the mentioned ROM then, saying this firmware is for D6633 but mine is leo?

Also do you know if any OTA update will remove root or it will retain?

Thanks.
[Sony Cross-Device General] G-FACE:
To flash CM12 you not only need root and recovery, you need Unlocked bootloader and to flash the included kernel in the Cm12 package.
[Sony Cross-Device General] Samy91:
Hello everyone !!!

They are determined to eradicate the Z3 but I have some doubts ;

Since my terminal mounts the latest firmware available for Android kitkat , to eradicate it should do a downgrade , root , and then reflash the last fw .

Now , as in days Sony should release Android Lollipop , if I were to eradicate it today , once upgraded to Lollipop back to lose root ?

Thank you all !
[Sony Cross-Device General] G-FACE:
You will make and flash a pre-rooted Lollipop zip and the root will be retained.
[Sony Cross-Device General] nlohani:
Oh k, thanks. Will it be that way for any custom ROMs too? :confused:
[Sony Cross-Device General] G-FACE:
If the ROM is based on CM/AOSP yes, but if it's based on stock, there will be no need to unlock BL.

But, this thread is not for that. Please stick to the topic!
[Sony Cross-Device General] m0d:
Has anyone converted install.bat to an .sh script for use in linux?
[Sony Cross-Device General] ogunja:
TWRP working full in my Z3

Thanks [MENTION=3989065]serajr[/MENTION] and [MENTION=5201072]RHBH[/MENTION]

Regards!

Enviado de meu D6603 usando Tapatalk
[Sony Cross-Device General] espaciosalter20:
You don't need to flash prerooted firmware... Just bought superSU pro or otarootkeeper... On superSU pro, activate ota survival mode and you will be good...this has been reported that it's fully working with our device

Enviado desde mi Nexus 7 mediante Tapatalk
[Sony Cross-Device General] zxz0O0:
Released v3.

Changes include a few bug fixes and compatibility for new devices. These include

- Z3 D6633 23.0.F.1.82

- Z2 23.0.1.A.0.167 (untested)

- Z3 Compact Tablet Wifi Version (see device sub forum for tutorial) 23.0.1.A.0.167

- Motorola Razr M (thethered root, rather useless because of /system protection) 183.46.15
[Sony Cross-Device General] Mapll3:
Going to attempt to root my z3 D6603 later today. If successful I'll post what I did for others.
[Sony Cross-Device General] radiohead14:
that's awesome news! thanks! :good:
[Sony Cross-Device General] paysen:
Are we able to backup the DRM keys now? Or unlock the bootloader safely without losing them?
[Sony Cross-Device General] jakobxxl:
Thank you very much. Working on D6633 23.0.F.1.82:good:
[Sony Cross-Device General] munkustrap:
How did you get it all work? Just by doing it once more?

Because I get the same error messages as your first try and cannot get /system r/w even after multiple attempts following

Thanks.
[Sony Cross-Device General] hussein1:
Please add Xperia C3 & M2 & T3.:D
[Sony Cross-Device General] zxz0O0:
C3 is added (only works on 19.2.A.0.383) but it's useless since there is no dualrecovery for it.

T3 is patched for system exploit.

And the M2.. You can root that using Easy Root Tool or am I wrong?
[Sony Cross-Device General] umeshxda:
Only jb can be rooted with easyroot tool, no luck for kk for m2
[Sony Cross-Device General] davestuarts:
Hi, I had already rooted with V1 and it was successful first time. So, big thanks to giefroot :good:

I have also now installed the Dualrecovery and a pre-rooted D5803_23.0.1.A.5.77 and it works fine.

I am in the process of applying the commands to override the system read only problem.

Just two questions which are not 100% clear.

1 - Possibly a stupid question. Now that giefroot tool is on V3, should we apply the exploit again for any enhancements etc? If so, would we need to do that each time new versions come out.

2- For any further releases of FW, would we need to apply a pre-rooted FW ONLY?

Thanks
[Sony Cross-Device General] ludago2000:
Update dual z3 to version 23.0.1.F.0.96 and lost the root. Any help?

Update dual z3 to version 23.0.1.F.0.96 and lost the root. Any help?:o
[Sony Cross-Device General] ebi sat:
Z2 23.0.1.A.0.167 (untested)

test result?!!!!
[Sony Cross-Device General] Haminjuri:
Test yourself and report

* khodet test kon malum mishe j mide ya na:)
[Sony Cross-Device General] sxtester:
[MENTION=3975929]zxz0O0[/MENTION]:

That would have came exactly at the right time for I need to setup a Z2 from scratch. But, unfortunately, it's not working on Z2 (23.0.1.A.0.167 Customized DE). Got an "Your device seems not vulnerable" from CVE-2014-7911.
[Sony Cross-Device General] Asnanon:
As mentioned previously several times and as probably mentioned in the OP, that will happen.

Possible solutions are getting super su pro and install it in a way that it won't override supersu on upgrade.

Or flashing the new fw without system, as that is where supersu is installed.

Alternatively there is the possibility that someone has uploaded a prerooted fw for your device that you can simply flash.
[Sony Cross-Device General] hussein1:
giefroot v3.0 not work xperia Z2 build namber 23.0.1.A.0.167.
[Sony Cross-Device General] ludago2000:
Carries out the test with the V3 and will comment. Best Regards

Carries out the test with the V3 and will comment. Best Regards:):good:
[Sony Cross-Device General] italoag:
Hi RHBH, sorry the delay to reply... alot of work...

Yes, your pre-rooted D6643 version, can you create a FTF? or will only work with all the steps you describe?

Thanks,
[Sony Cross-Device General] GhostRaiderMX:
Have you tried it already? Anything to report?
[Sony Cross-Device General] sdjq:
Work on z2 4.4.4???
[Sony Cross-Device General] scoder:
[MENTION=6280758]GhostRaiderMX[/MENTION], I replied to the thread with results, this does not work. System.sin doesn't flash, as it fails verification. There must be a security implementation preventing other firmwares from being flashed onto the D6616 (and Z3v). A new exploit needs to be found for those 2 models that gives a user escalated privileges, without that we can not run exploit #2 (Giefroot).
[Sony Cross-Device General] ebi sat:
i wish root z2 close bootloder build 167 to soon:angel:
[Sony Cross-Device General] Sizzlechest:
I'd like to try this on the Fire TV Stick, but there's no way to use the normal settings to set mock locations. I tried adding to the install.bat file:

adb shell "settings put secure ALLOW_MOCK_LOCATION 1"

adb shell "settings put secure MOCK_LOCATION 1"

in an attempt to turn that setting on. The Fire TV Stick is connected through adb over the network, not directly, so even if there was a way to turn on airplane mode, it would prevent me from doing anything else. Any suggestions?
[Sony Cross-Device General] sxtester:
Heaven, the answer is only 4 and 6 posts above! Read!
[Sony Cross-Device General] Mapll3:
Three more questions before I attempt this:

Will this method void the warranty

Will this method lower the camera quality

Will this method erase all my information
[Sony Cross-Device General] d0littl3:
v3 not working on D6633 Firmware .96

Still no luck, normal mode or safe mode ...

Can someone find a solution to this please.

Thanks for the effort!
[Sony Cross-Device General] munsabin:
Simple Root Procedure for Xperia Z3???

Sort of not comfortable going into the (seemingly) crazy details of what it takes to get root on XPERIA Z3 ... Will an option be available at some point that will make it more simple to root (sort of the like SKIPSOFT toolkit for Nexus and Samsung devices)? Like....plug in, press a few options in a tool, have everything run, and ta-da, done? Or is that wishfull thinking?
[Sony Cross-Device General] munjeni:
I don't know why, but want to report sigsegv in your giefroot! Its crashing at start of starting them and its happened in v2 and v3 too. Here is a log.
[Sony Cross-Device General] ogunja:
Friend this method is quite simple, just be with the correct FW and make the process as the DEV says in the thread.
[Sony Cross-Device General] munsabin:
Ok. Guess I'll have to do a bit more digging. Once I have root, will I be able to update OTA lollipop when it becomes available?
[Sony Cross-Device General] zxz0O0:
I'm not sure if the Fire TV Stick is vulnerable to these exploits. Air plane mode is not really required.

You can check if the device /dev/qseecom exists on your device and install exploitServiceApp.apk to see if there is any error message when running it.

Seems there is a problem when reading your build.prop. Can you upload /system/build.prop?
[Sony Cross-Device General] munjeni:
Yes, here is, but I think problem lives in function property_get since I had the same sigsegv problems when I used it in some of my sources in order to read something from prop untill I stoped using them! You can compile one for test without property_get func? Some devices will not work like mine, just sugestion!
[Sony Cross-Device General] ogunja:
This story is for another time, it is too early to talk about root in Lollipop because it was eradicated a short time ago Xperia Z3 thanks to friend [MENTION=3975929]zxz0O0[/MENTION] and team.
[Sony Cross-Device General] zxz0O0:
I'm not using property_get, here is how I am reading device name (have modified it since v3)

char* getDeviceName()
{
char* dev = malloc(32);
char* _l = malloc(256);
memset(_l, 0, 256);memset(dev, 0, 32);
FILE* prop = fopen("/system/build.prop", "r");
if(prop == NULL)
{
printf("Error: Could not open build.prop\n");
free(_l);
free(dev);
return NULL;
}
int l;
for(l=0;l<30;l++)
{
if(fgets(_l, 256, prop) == NULL)
{
printf("Error: Could not read line %d in build.prop", l);
free(dev);
dev = NULL;
break;
}
if(!strncmp(_l, "ro.product.device=", 18))
{
strncpy(dev, &_l[18], 32);
//remove new line
dev[strnlen(dev, 32)-1] = 0;
break;
}
}
fclose(prop);
free(_l);

_fprintf("Device is: %d\n", dev);
return dev;
}
[Sony Cross-Device General] mick353:
Hey mate.. Did you get a response re writing to external SD_card.. same issue here have edited platform.xml to no avail also!
[Sony Cross-Device General] RHBH:
I don't have a pre-rooted FW, I did as I described in some posts ago.
[Sony Cross-Device General] munjeni:
Your malloc is not checked, and allso you might fopen file in binary mode, I had similar problem reading bootdelivery.xml file by fopening in text mode, after deeply analysing for problem using hexdump tool found that these xml file had binary data inside start of file, problem solved with rb. What about if strncmp return -1?
[Sony Cross-Device General] munsabin:
Does this root process wipe everything on your phone??? What about installing XPOSED framework??? Any problems there?
[Sony Cross-Device General] Mapll3:
I can confirm this worked without any issues on my device. Thank you very much. Didn't have to downgrade or anything.

Device

Model Number: D6603

Android 4.4.4

Kernel Version: August 2014

Build: 23.0.A.2.93

When I did it I lost nothing. All my contacts, settings, and everything else stayed the same.
[Sony Cross-Device General] steve498:
Does this method work on a D6603 - 23.0.1.A.5.77 ?

Thanks in advance.
[Sony Cross-Device General] SweDunda:
No, but maybe it will...
[Sony Cross-Device General] Krustnesis:
Achieved lockeddualrecovery :) Installation runs good after writing in terminal: su

mount -o remount,rw /system
[Sony Cross-Device General] ImAnurag:
Sorry mate, just saw, I apologies.
[Sony Cross-Device General] King p1n:
Why would you use this method

When theres already another way to do it on Z2??

http://xdaforums.com/showthread.php?t=2784900
[Sony Cross-Device General] spyvsspy:
so everything is cool ? DRM is intact ? can we paypal the dude ? :)
[Sony Cross-Device General] sxtester:
Thanks for writing this up for everyone, exactly how I imagined it works. However, nur sure why step #6 is/would be required if one includes the kernel in the pre-rooted zip?! Kindly explain.
[Sony Cross-Device General] thienbrand:
[MENTION=3975929]zxz0O0[/MENTION] still cant root my D6603 after trying 20 times...
[Sony Cross-Device General] SONiX-GERMANY:
Success on .D6603 .93 FW. Finally. Was before on .98 FW with no success. The second try was successfull. Fresh install of the .93 FW with full wipe.
[Sony Cross-Device General] EricCartmanez:
same here just downgraded and didn't set up anything after wiping just trying to run the tool but nothing :/
[Sony Cross-Device General] ImAnurag:
is that method working now on present latest firmware, I guess No.
[Sony Cross-Device General] serajr:
I just did it! Let's say it's optional!!! ;)
[Sony Cross-Device General] hussein1:
==============================================

= =

= giefroot v1 =

= created by zxz0O0 =

= =

= Many thanks to: =

= - [NUT] =

= - MohammadAG =

= - Keen Team =

= =

==============================================

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

=============================================

Waiting for Device, connect USB cable now...

Make sure that you authorize the connection

if you get any message on the phone

=============================================

Device found

=============================================

Sending files

=============================================

9 KB/s (152 bytes in 0.015s)

1117 KB/s (17892 bytes in 0.015s)

0 KB/s (143 bytes in 1.000s)

1899 KB/s (60799 bytes in 0.031s)

849 KB/s (13592 bytes in 0.015s)

96 KB/s (1544 bytes in 0.015s)

2153 KB/s (34473 bytes in 0.015s)

4433 KB/s (4016989 bytes in 0.884s)

4110 KB/s (657704 bytes in 0.156s)

46 KB/s (752 bytes in 0.015s)

giefroot (c) zxz0O0

Error: Kernel not supported

Device: D6503, Kernel: Linux version 3.4.0-perf-gd4d661a (BuildUser@BuildHost) (

gcc version 4.7 (GCC) ) #1 SMP PREEMPT Fri Sep 19 18:10:07 2014

Press any key to continue . . .

Please work on Kernel support.:p
[Sony Cross-Device General] sgiannouris:
1. Just to clarify: you did wipe with the flashtool while installing the "old" fw? or you performed a factory reset after installation?

and

2. Did you complete the setup wizard on 1st boot?
[Sony Cross-Device General] espaciosalter20:
i assume your guide it's only for unlocked bootloader...
[Sony Cross-Device General] steve498:
Okay thanks for your reply, hopefully more kernel support will come soon!
[Sony Cross-Device General] sxtester:
Read it again, nowhere he mentioned unlocked BL ;)
[Sony Cross-Device General] serajr:
See pics!

Sure we can... my contribution has already been made before I test the exploit!!
[Sony Cross-Device General] EricCartmanez:
wipe by flashtool :) yep did that skipped everything activated dev mode enabled debugging and set mock loactions :)
[Sony Cross-Device General] espaciosalter20:
locked bootloader doesn't permit to install custom firmware [emoji14]
[Sony Cross-Device General] ludago2000:
As I can obtain this information

As I can obtain this information??

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

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

adb shell "cat /proc/last_kmsg"
[Sony Cross-Device General] m1kz0430:
D6633 .74 i tick usb debugging mock location tick airplane mode enable but can't past "connect USB cable now" it looks like the exploit dont see that my usb already connected on my pc and theres no authorization that i need to accept, my pc recognized my phone well whenever i connect to usb its just the exploit doesnt seem to recognized it, did i miss something here , anyway thanks for the root exploit great job i hope i can get this to work someday if not today :D
[Sony Cross-Device General] Sizzlechest:
Thank you for explaining that. There is no /dev/qseecom on the Fire TV Stick.

My Verizon Note 4 does have that, but I assume the vulnerability was patched since it doesn't work when I tried.
[Sony Cross-Device General] daogmail:
Hi, sorry for the newbie question,

I have Z3 (6653) with lock bootloader and stock rom build number 23.0.1.A.5.77. (Still not rooted)

I have tried giefroot until v.3 and always follow all the steps but always get : "Seems your kernel / device is not supported" message.

Do i need to downgrade? Is it possible to downgrade without root?

Can anybody kindly please give a link for the steps to downgrade without losing data and apps because i dont want to have to install everything again, since i cannot backup yet (TB needs root and i'm not rooted yet). more over, i dont want to loose any data through the downgrading process.

Thank you very much.