yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] LeonidasTurk:
I tried several times.Firstly, it didn't worked, but at finally it worked for me.I hope, it works for you.
[Sony Cross-Device General] SONiX-GERMANY:
Same here! :confused:
[Sony Cross-Device General] thienbrand:
There must be a diffirent between your try, can you tell me what exactly did you do ?
[Sony Cross-Device General] Zwulf:
I would also like to know which "attachment" is meant. Is it just XDA app in which it is not visible (like signatures)?
[Sony Cross-Device General] DirtySant0:
Will this work on D6616 TMO USA XPERIA Z3?

Has anyone tested this on the D6616 TMO USA XPERIA Z3?
[Sony Cross-Device General] thienbrand:
[MENTION=3975929]zxz0O0[/MENTION] ssem like I cant send you a pm, so here is my google id to chat in hangout: levinlefox@gmail.com
[Sony Cross-Device General] KL643:
http://xdaforums.com/devdb/project/?id=7866#downloads
[Sony Cross-Device General] xpsg:
Worked on my Z3C (5833)!
[Sony Cross-Device General] LeonidasTurk:
Firstly, i was trying "run as administrator".It didn't worked.Then i normally run program.It rooted my device
[Sony Cross-Device General] deepershades:
under the thread title choose "downloads" - it's set to "discussions" by default
[Sony Cross-Device General] kasall7:
can not install xposed framework

Could not insalled xposed framework,rooted twice but always

Get error can' t create sistem/ bin/ .... Read-only file sistem

Is there solution?
[Sony Cross-Device General] Desperanto86:
not help for me :(
[Sony Cross-Device General] monx®:
I dont think Win7/8 does matter. Im on Win8.1 pro x64 w/o problem. For system read-only issue, i suspect there is problem with NUT's package which i tried to fix in my modded package. No issue so far. Enabled init.d support & insecure adb everything running smooth on rooted stock LB. Kudos to everybody involved especially OP.
[Sony Cross-Device General] theskig:
Got same model and firmware.

So I'm going to wait... :(
[Sony Cross-Device General] Geminiu:
Did work on .93 on 2nd try, i restarted device manually , backup of .TA was successful.

However i tried this on Lollipop, doesnt work, i got some error...
[Sony Cross-Device General] zxz0O0:
It's described in the second post what is required to support these devices.

OS does not matter, I am using Windows 8.1 64bit and it works fine. Besides yes I am working on it and trying to find a fix.
[Sony Cross-Device General] espaciosalter20:
With root explorer change /system permission, then go and install xposed...

Enviado desde mi Nexus 7 mediante Tapatalk
[Sony Cross-Device General] serajr:
Great job bro... what about for Z3C?

Right now, just follow OP instructions... then search over my posts!

Search over my posts!

OP!!!

Give 1st post a read!

Yep... Search over my posts to get system rw then you'll be able to install xposed installer!

OP... sorry for spamming your thread!
[Sony Cross-Device General] Mazellat:
Does this tool work with Sony's latest Z2 and Z3 firmware?(4.4.4) :confused:
[Sony Cross-Device General] gregbradley:
No

Read the OP
[Sony Cross-Device General] Bäcker:
did you even read the op?
[Sony Cross-Device General] tomcatoggo:
Thanks so much for this method! I had to manually upgrade to the global .93 ROM via Flashtool (from .77) and then I tried the method... and it directly worked!

Already made a backup of the TA Partition -> Successful (that's at least what it says : )

So status now:

D5803 with 23.0.A.2.93_Generic_GLOBAL_1286-9917

with ROOT :victory: :D

Thank you so much! Already sent my bounty share via a donation link here
[Sony Cross-Device General] Canadian DJ:
The tool is built for windows, that's why it's a .bat file, however I got this to work in Linux just fine!
[Sony Cross-Device General] Gonçalo Tomás:
Unlock bootloader allowed: No

Background

My Sony Xperia Z3 is from Vodafone Portugal and in the service info it says "Unlock Bootloader Allowed: NO." So my only way to root and have a custom recovery is by this method. But my question is: Do I need to backup the DRM Keys anyway? Because I will only need them if I unlock the bootloader, right.....or are they useful for anything else???

My phone is from Vodafone so I don’t know if it is like the Verizon s*it… It would be cool if someone knew about this carrier.

I couldn't get root with this toolkit because my Version is D6603 and I had already updated my firmware to .77. It also said in the command prompt that the kernel was not supported. I'm not going to spend more time trying to go back to an older firmware in order not to work anyway. I will wait until this amazing application gets everything sorted and stable maybe wait until version 2.0!

Note: I'm new to this and I'm only 16 years old so It would be cool if someone could help me root the Z3, step by step like a newbie.

The reason to root:

I want to install Cyanogenmod CM 12 Official for Sony Xperia Z3.

What I think I should do:

- Wait for a stable version of giofroot that fully supports my device, Kernel and firmware. (Maybe deny the Sony OTA update for Lollipop for not happening the same issues of compatibility that happened with the firmware and kernel. Or should I update? Please help here!)

- Backup anyway the DRM Keys just to say that I have those through TA Partion. Suck that Vodafone!!!!!

- Install dualrecovery by NUT (another question: Can I download and install the dualrecovery being TWRP?)

- Backup the stock software

- Clean/wipe and install Cyanogenmod CM 12 with Gapps.

-Update the SuperSU if need through recovery.

What do you guys think???? A good option??? Will it work flashing a Cyanogenmod Rom with a dual recovery???

Sorry for making you guys read all this but please help a young guy get to this wonderful world of rooting and custom roms!!!! :):o:D;):p:mad::confused::(:good::fingers-crossed::victory::silly::eek::rolleyes:

PS: I wanted to post some links with screeshots but I'm new and XDA is preventing from posting IMG for people with less than 10 posts for spaming reasons....
[Sony Cross-Device General] minijaws:
Glad I could help. It should also work in Mac osx just fine
[Sony Cross-Device General] RHBH:
You can't install custom kernels (eg: CyanogemMod) without unlocking the bootloader, since your bootloader doesn't allow to be unlocked, you'll

never*

install CM in your device. Sorry but it's true.

* at least until someone find a way to unlock bootloaders with "bootloader unlock allowed: no" or to bypass signature check in locked bootloader, but I belieave it's virtually impossible, many have tried and all failed, this is something in the table for years...
[Sony Cross-Device General] gregbradley:
You will never be able to flash CM 12 if your bootloader cannot be unlocked

Also, you say you do not want to downgrade but do want instructions on how to root.

Step 1) You need to downgrade......
[Sony Cross-Device General] falselove:
works for me

I used this firmware: 23.0.A.2.93 - Unbranded - Philippines (1288-7044) on my D5833

Which was downloaded earlier. But does not have the link anymore.

My first attempts didn't work because i forgot the mock location in developers option but once read the instruction and turned on the mock location it work. thanks OP.
[Sony Cross-Device General] Canadian DJ:
Thanks again!!! I knew I could pretty much copy and paste the commands, just got hung up on the command to check to see su actually stayed where I put it.
[Sony Cross-Device General] Gonçalo Tomás:
So that means that I can not have the any custom rom installed? Just root the device... Then
[Sony Cross-Device General] hdnick:
I've a question: someone can explain me why I should reflash the firmware from flashtool excluding the "SYSTEM" partition (points 5) and 6) )?

Thx :)
[Sony Cross-Device General] gregbradley:
Only stock based ROMS, nothing that contains a custom boot.img (a custom kernel)
[Sony Cross-Device General] iFlasher:
Is optional, but in my case I have to flash it excluding system because I get too many errors in the update.
[Sony Cross-Device General] Gonçalo Tomás:
OK thank you very much! So let me see if I got this. So If someone from the community does a rom based on a stock one (stock Kernel) I can flash that rom. But I need to be root with a dual recovery.

My last chance to get a software close to stock android is wait for a ROM based on the original kernel that is similar to stock like a cyanogenmod ROM. For example a AOSP ROM for Sony Xperia Z3 should work? And then install Gapps. Or is there another way to get stock android? Sorry for the time you guys are spending with me.
[Sony Cross-Device General] mo3553:
There is no way you can get stock android on your phone unless you unlock your boot loader.

AOSP and Cyangenmode use a different kernel then stock.
[Sony Cross-Device General] Peloche:
After root on .93, can i update my fw to .77 ?
[Sony Cross-Device General] flash608:
Your answer is just 4 posts above yours!!!!!! http://xdaforums.com/showpost.php?p=58414414&postcount=403
[Sony Cross-Device General] tr0teK:
Is there a way someone can make a pre-rooted Sony Stock firmware .93 for [LB] ?!
[Sony Cross-Device General] irbis1977:
D2502 19.2.1.A.0.72 kernel 3.4.0+ BulidUser@BulidHost#1 (gcc version 4.7(GCC))#1 SMP PREEMPT Sat Oct 11 16:18:05 2014. Root only here http://xdaforums.com/sony-xperia-c/general/guide-root-sony-xperia-c3-dual-d2502-t2973589
[Sony Cross-Device General] cmvienneau:
Disabling write protection is easy. If i could root this thing. Id build a kernel.
[Sony Cross-Device General] serajr:
If you include SYSTEM at step 6 you will loose all steps you did earlier, and you will get a non-rooted fw installed!
[Sony Cross-Device General] lol1rfs:
I have a D6603 with the .77 firmware. Is there anyway I can downgrade w/o unlocking the bootloader?
[Sony Cross-Device General] cmvienneau:
Yall need to download xperifirm and flashtool. Flashtool.net! Not the one from sonys site.

Google it...you be surprised what youll find.
[Sony Cross-Device General] spyvsspy:
excuse me if i'm being somewhat of a noob..

i think im having some noise / misscolor on the camera..

im on Z3C with latest firmware rooted with giefroot (upgraded via method found on this thread)

DRM status shows all OK , but the camera gets somewhat of blue effect on flash picture , and kinda noisy on low light,

anyone experienced that? or am i being paranoid ?
[Sony Cross-Device General] iFlasher:
Most probably you being paranoid or unlock your bootloader before even backup it.
[Sony Cross-Device General] spyvsspy:
i haven't unlocked my bootloader, and i backed up my TA partition (twice) the moment i got root.

i will upload some photos in a sec
[Sony Cross-Device General] tr0teK:
UPDATED: adb shell "cat /data/local/tmp/giefrootlog":
[Sony Cross-Device General] gregbradley:
Don't do that in this thread please, it has nothing to do with this rooting tool
[Sony Cross-Device General] spyvsspy:
there's no place to do it, because it isn't exist i guess!

sorry for the misinformation and the misplacement ;)
[Sony Cross-Device General] hdnick:
?? If I downgrade to .93, root, install dualrecovery, flash in twrp a PREROOTED .77 firmware, how should I loose root?!
[Sony Cross-Device General] atis112:
Hello [MENTION=3975929]zxz0O0[/MENTION]. Could you share your source codes? At github or maybe just in PM? I think I can help you to fix for D6603.

Thanks your work,

atis112
[Sony Cross-Device General] zxz0O0:
I am already looking into the issue.
[Sony Cross-Device General] ierwinplus:
z3 compact d5833 does not work

z3 compact d5833 23.0.1.A.1.49 HK customized

cat /proc/version

Linux version 3.4.0-perf-g2a186b8 (BuildUser@BuildHost) (gcc version 4.7 (GCC) )

#1 SMP PREEMPT Thu Sep 18 19:14:17 2014

ls -l /data/local/tmp/

-rw-rw-rw- shell shell 4016989 2015-01-24 07:00 SuperSU.zip

-rwxrwxrwx shell shell 152 2015-01-24 18:50 a

-rwxrwxrwx shell shell 2952 2014-12-09 15:25 box

-rwxrwxrwx shell shell 657704 2014-02-07 07:39 busybox

-rwxrwxrwx shell shell 17892 2015-01-24 21:13 getroot

-rwxrwxrwx shell shell 143 2015-01-24 06:06 giefroot

-rw------- u0_a301 u0_a301 1320 2015-01-26 00:14 glsl_shader_log.txt

-rwxrwxrwx shell shell 752 2015-01-24 10:08 installsupersu.sh

-rwxrwxrwx shell shell 60799 2015-01-07 13:40 main

-rwxrwxrwx shell shell 0 2015-01-26 00:19 memfile

-rwxrwxrwx shell shell 13592 2014-07-21 00:10 modulecrcpatch

-rwxr-xr-x shell shell 21792 2014-12-09 15:25 mtools

-rwxrwxrwx shell shell 1544 2015-01-24 11:13 systemrw.sh

-rwxrwxrwx shell shell 34473 2014-07-10 06:02 wp_mod.ko

cat /data/local/tmp/giefrootlog

/system/bin/sh: cat: /data/local/tmp/giefrootlog: No such file or directory

CVE-2014-7911 said

Note: Your device seems not vulnerable!
[Sony Cross-Device General] mo3553:
And how does it look?
[Sony Cross-Device General] lol1rfs:
Could you point me in the right direction? I'm new to this stuff and I'm having a hard time forming a googleable sentence.
[Sony Cross-Device General] stinkyear:
seems like my Z3c doesn't have the best kernel, any ideas how get it working?

==============================================
= =
= 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
=============================================
16 KB/s (152 bytes in 0.009s)
1455 KB/s (17892 bytes in 0.012s)
23 KB/s (143 bytes in 0.006s)
2198 KB/s (60799 bytes in 0.027s)
1106 KB/s (13592 bytes in 0.012s)
376 KB/s (1544 bytes in 0.004s)
1980 KB/s (34473 bytes in 0.017s)
2768 KB/s (4016989 bytes in 1.417s)
3163 KB/s (657704 bytes in 0.203s)
183 KB/s (752 bytes in 0.004s)

giefroot (c) zxz0O0
Error: Kernel not supported
Device: D5803, Kernel: Linux version 3.4.0-perf-g1b1963a-02930-g23f7791 (BuildUs
er@BuildHost) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Tue Nov 25 11:03:01 2014

Press any key to continue . . .
[Sony Cross-Device General] gregbradley:
Read the OP and the instructions. you must downgrade
[Sony Cross-Device General] ryanraven:
Have you downgraded!?
[Sony Cross-Device General] zxz0O0:
Anyone with an unlocked Z3 (not Z3C) who can help test something? PM me please with hangout address.
[Sony Cross-Device General] stinkyear:
no, I missed that part, going to find the post about downgrading first (seems like I am blind and OP doesn't say anything about it)

thanks for pointing that out :)
[Sony Cross-Device General] jakenikolay:
note 4

will this work on the note 4 at&t?
[Sony Cross-Device General] ryanraven:
OP will be updated accordingly :) it's not 100% working yet but they're almost there! :D
[Sony Cross-Device General] Stylis10:
Cant Change system to rw with rooted .77

EDIT: useless post, managed to get working
[Sony Cross-Device General] ryanraven:
It's in Sony category so... No :')
[Sony Cross-Device General] thomaskoo1994:
Hello guys, I've been waiting for so long that finally you can root Z3C without unlocking the bootloader, but mine is the newest kernel version and as mentioned in the first post this only works for kernel before November, so when I used giefroot it says "Error: kernel not supported" I would like to know what can I do to downgrade the kernel? Because I desperately need to retrieve my lost files as it was sent to repair centre so everything got wiped out before I could backup, but those file recovery softwares need the phone to be rooted first... I had already looked up the forum but couldn't manage to find a way to downgrade the firmware, worst of all I'm a total newbie when it comes to this kind of thing.

If possible I will make a donation for those who help. Thank you very much for your assistance guys any help provided will be much appreciated!
[Sony Cross-Device General] boojay:
Thanks zxz0O0 and serajr for your wonderful work!

I was able to root my D5803, update to the latest .77 firmware while keeping root, and then gain rw system thanks to your guide. Hopefully the whole process becomes more automated as you and others refine it, which I have every confidence it will at some point, but for now this is the best solution to achieve exactly what I want. Thanks so much, you guys are incredible!!!
[Sony Cross-Device General] lunaandres:
Hey guys, I don't mean to pressure anyone, especially whoever worked hard to find this, but is anyone working on the US T-Mobile variant of this phone D6616? No root, no unlocking the bootloader, we are doomed.
[Sony Cross-Device General] darthaled:
When I downgrade to .93 from .77 I must wipe data or I can choose to de-pick wipe data?
[Sony Cross-Device General] ryanraven:
Always best to wipe :)
[Sony Cross-Device General] theskig:
sorry wrong post
[Sony Cross-Device General] darthaled:
Yes I know is the best choice , but if I do not? It is possible?

I would do it just after had root, to save my app data, then I will wipe to clean everything.

Sent from Aries with Tapatalk Pro
[Sony Cross-Device General] android404:
You have to wipe or you'll get forcecloseorama
[Sony Cross-Device General] apexofservice:
This is a great step forward but what a shame that the script is a windows .bat format rather than bash or some standard shell. I'm looking through it and although I know nothing about .bat syntax, it looks like it will be easy to change over to a standard unix shell script. If anyone has already done this, please let me know!

Thanks OP for all the hard work. It's just that I'm a little surprised about this because obviously you are a great Linux dev as you figured out how to exploit the sytem but then you wrote the script to run your exploit in Windoze?!
[Sony Cross-Device General] rich2007:
Is there a preroot rom for D5803 FW .77 for USA? Thank!
[Sony Cross-Device General] tr0teK:
After failing with Global i tried with unbranded DE now and same problem. it just doesnt work on D6603
[Sony Cross-Device General] Bäcker:
It takes time. I'm pretty sure there will be a working version for us 6603 users soon.
[Sony Cross-Device General] quarrymanpaul:
To anyone trying this and it failing to work.

I needed to try about 5 times before it worked for me. I found in the end I needed to make sure I didn't attempt to unlock the screen until after the process had started and then it had restarted the phone. Then you need to wake the screen and accept the SU requests.
[Sony Cross-Device General] Bäcker:
for most of the guys where it is not working the process doesnt start.

It reboots with the first exploit and that is it. Nothing else happens.
[Sony Cross-Device General] Gothdroid-Team:
Not working on D6603 with D6603_23.0.A.2.93_Generic_20GLOBAL.ftf or D6603_23.0.A.2.93_Customized_20FR.ftf

see attachments
[Sony Cross-Device General] RHBH:
The OP asked a volunteer with Z3 (D6603) and UB to assist in Debug. It seems that the exploit can be targeting the wrong kallsyms address (which is readable only in UB devices).
[Sony Cross-Device General] apexofservice:
Ok, I think I've figured out the .bat things in this file. I just need to downgrade my firmware first before I can try it. For some reason, I can't seem to find the right pre-october firmware for the d5803 international unlocked.
[Sony Cross-Device General] PherChe:
it doesnt work =(

adb push systemrw.sh /data/local/tmp

167 KB/s (1544 bytes in 0.009s)

adb push modulecrcpatch /data/local/tmp

1896 KB/s (13592 bytes in 0.007s)

adb push wp_mod.ko /data/local/tmp

3740 KB/s (34473 bytes in 0.009s)

adb shell

shell@D5803:/ $ chmod 777 /data/local/tmp/systemrw.sh

chmod 777 /data/local/tmp/systemrw.sh

shell@D5803:/ $ chmod 777 /data/local/tmp/modulecrcpatch

chmod 777 /data/local/tmp/modulecrcpatch

shell@D5803:/ $ chmod 777 /data/local/tmp/wp_mod.ko

chmod 777 /data/local/tmp/wp_mod.ko

shell@D5803:/ $ su

su

root@D5803:/ # cd /data/local/tmp

cd /data/local/tmp

root@D5803:/data/local/tmp # ./systemrw.sh

./systemrw.sh

modulecrcpatch (by zxz0O0)

module_layout: patched to 0xFF791C4F

__aeabi_unwind_cpp_pr1: match

kallsyms_lookup_name: not found

printk: not found

mem_text_write_kernel_word: not found

__aeabi_unwind_cpp_pr0: match

successfully patched

insmod: init_module '/system/lib/modules/wp_mod.ko' failed (Exec format error)

insmod: init_module '/system/lib/modules/wp_mod.ko' failed (Exec format error)

mount: Operation not permitted

rm failed for /system/bin/mount, Read-only file system

cp: /system/bin/mount: Read-only file system

Unable to chmod /system/bin/mount: Read-only file system

cp: /system/lib/modules/wp_mod.ko: Read-only file system

Unable to chmod /system/lib/modules/wp_mod.ko: Read-only file system

Installing of mount.sh finished

rm failed for /data/local/tmp/memfile, No such file or directory

255|root@D5803:/data/local/tmp #

:crying:
[Sony Cross-Device General] w. junior:
I tested three different FW (74) in D6633, none worked. Any tips?
[Sony Cross-Device General] stevuna:
[MENTION=6360666]mohd hmedan[/MENTION]

In Prfcreator you put the original .77 ftf, then you click on the ''here(s)'' (they're links) of the thread words and you download the superuser and the recovery, both in flashable .zip format.

The you add them in prf, check all the boxes and wait for prfcreator to do the job.

After, you put the flashable.zip that PRF has created in the phone, reboot in recovery with ndrutils and flash it.

When flashing finished you MUST POWER OFF YOUR PHONE and don't reboot it.

Now open flashtool, select the original .77 ftf and CHECK ONLY EXCLUDE SYSTEM (in this way you keep the root on .77) and check ''no final verification''.

Connect the phone in flash mode to flashtool.

When finished power on your phone and you'll be on .77 with root.

---------- Post added at 08:49 PM ---------- Previous post was at 08:33 PM ----------

[MENTION=553382]rich2007[/MENTION]

I'm makin' it now, I'll upload it asap.
[Sony Cross-Device General] oomoom:
D5803 on UK generic firmware (23.0.A.2.105). Had to run it twice but it worked.
[Sony Cross-Device General] royalflush5:
Anything I can do to help get this working on the z3v? I'd love to help.
[Sony Cross-Device General] EricCartmanez:
maybe [MENTION=5169444]AndroPlus[/MENTION] would be kind enough to help us again? :)
[Sony Cross-Device General] iRashawn229:
Here you go for the Dev Edition Note 4 to hopefully root our retail vzw/att versions [MENTION=3975929]zxz0O0[/MENTION]
[Sony Cross-Device General] oomoom:
Thanks again . Have donated to zxz0O0! Paypal ID 22Y247834C850763J

Anybody managed to backup the TA using a mac?

EDIT: Managed it with http://www.xda-developers.com/backup-the-ta-partition-on-your-sony-xperia-using-mac-os-x/.
[Sony Cross-Device General] muhardi.nst:
It's worked for me too. with FW 23.0.F.1.74
[Sony Cross-Device General] tofu-:
TWRP power down

Silly question...

how do i power down the device from TWRP without rebooting it? I only see a reboot option and the hardware button doesn't turn the phone off
[Sony Cross-Device General] rich2007:
Thank you!
[Sony Cross-Device General] aznguyphan:
Power + Volume Up is how you hard shut down the D5803, probably the same for all Z3 phones.

Is anyone else's SuperSu pop up useless? It comes up when an app asks for root but it hangs and doesnt accept touch input. Only way to give the app root is to then go into SuperSU app and give it root from the list.
[Sony Cross-Device General] tofu-:
thank you! been using volume down like a schmuck...
[Sony Cross-Device General] Newt182:
So has the correct address been found and the reason why this is happening?
[Sony Cross-Device General] emwu_:
In step 1 after rooting and before Dual Recovery installation you need to set /system as R/W. (you can use ES File Explorer for that for example)

And regarding step 5 it's worth noting that in TWRP in order to Power off you need to click Reboot from its home screen to get to the Power off option.

EDIT: got system r/w on my z3c!
[Sony Cross-Device General] theskig:
I have the same phone with same firmware. I checked on XperiFirm for the D6633 versions but 74 is the oldest.

So there's no way to root?