yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact General] thienbrand:
By unlocking, you can install other kernels, vanilla roms, ..v.v.. but unlocking means loss of DRMKey, so after we root with locked bootloader, we backup the TA partion, so we can restore DRMKey whenever we want.

You can see if the restoration actually works by checking of the Super vivid mode in album works.
[Xperia Z3 Compact General] jsscx:
Once this problem solved, while cm12 has come out ,I expect more development for z3c
[Xperia Z3 Compact General] sj8023ld:
This may help:)
[Xperia Z3 Compact General] thienbrand:
[MENTION=3975929]zxz0O0[/MENTION] :)
[Xperia Z3 Compact General] serajr:
Thank you for confirmation!!

[MENTION=3975929]zxz0O0[/MENTION] you rock man... You've just proved that nothing is impossible and patience is a virtue!!

After the "boom" you will surely generate, I will finally be able to debug my two xposed modules (Xperia Xposed KK and Blurred System UI) code on my Z3C D5833, and also start working on a Clean 'n' Tweaked rom for us!

Bounty was never so deserved...
[Xperia Z3 Compact General] graffixnyc:
I had a locked bootloader when I tested it. Why did I unlock? Because 1. I wanted to test the drm restore 2. I wanted to be on the latest FW but have root.

You can confirm by going into the service test menu and going to security. Attached is two screen shots. One after a BL unlock without restoring and one after the BL was unlocked and I restored:

I have noticed after updating back to 5.77 that dual recovery will fail to flash because of write protection on the system. You won't have this issue if you just stay on 2.98

So my process of getting back to 5.77 stock but rooted with restored DRM keys was this:

Run the root,

Run TA backup tool

Unlockbootloader

Flash AndroPlusKernel (for recovery)

Flash SuperSU zip in recovery

Reboot

Restore TA

Then I used flashtool to just flash the 5.77 kernel
[Xperia Z3 Compact General] espaciosalter20:
i know, but with root + xposed we can uninstall bloatware, change kernel parameters and "pimp" stock ROM without messing with fantastic STOCK capabilities that we surely lost with another custom ROM

Enviado desde mi Nexus 7 mediante Tapatalk
[Xperia Z3 Compact General] freddy1991:
*#*#7378423#*#* > Service test > Security

In Security, the first 3 lines shouldn't be showing Errors if the restoration works..

It should be as in the photo..
[Xperia Z3 Compact General] thienbrand:
http://xdaforums.com/crossdevice-dev/sony/giefroot-rooting-tool-cve-2014-4322-t3011598

BAM
[Xperia Z3 Compact General] Canadian DJ:
It's out?!?! We have root! :D
[Xperia Z3 Compact General] x10isrooted:
finally. these are great news.

i hope for new bloatfree roms for improved battery and with root fully working adblock apps.

has anyone a working link to download the Germany 1289-4696 23.0.A.2.98? Im preparing myself for downgrading, ta backup and unlocking bootloader and the again back to german stock 2.77. I checked on xda here but its not online anymore. http://xdaforums.com/showpost.php?p=56165287&postcount=33 from this thread http://xdaforums.com/z3-compact/general/list-stock-firmwares-d5803-d5833-t2906706

i guess i have to make my paypal also ready for zxz0O0
[Xperia Z3 Compact General] espaciosalter20:
finally!!!!!! anyways, i hope [MENTION=4120742]munjeni[/MENTION] keeps working on root on LB and [MENTION=3975929]zxz0O0[/MENTION] continues to improve this tool. It's better to have more options to work with.

Enviado desde mi Nexus 7 mediante Tapatalk
[Xperia Z3 Compact General] Griffiths_Anna:
Congratulations guys!! At last we got root without unlocking bootloader.. I wish I didn't unlock my bootloader too early.. I would've waited for this thing if I know that now we got the root..
[Xperia Z3 Compact General] Farva0412:
Wish I never bought the T-Mobile variant. Lol hope soon well get it to.
[Xperia Z3 Compact General] muzab a:
Someone haa a working link for d5833 firmware

Cant seem to download any from the other thread or xperifirm
[Xperia Z3 Compact General] astrosp4c3:
Does it work with .98 too ? And after i obtain the root how can i update to .77 ? (is it even possible with locked bootloader?)
[Xperia Z3 Compact General] x10isrooted:
backup your ta at next step! btw this is the reason why this method was developed.

then you can unlock your bootloader and do whatever you want. after this you can restore your ta partition wth the keys

take a look at page 101 for more instructions. http://xdaforums.com/showpost.php?p=58391446&postcount=1009
[Xperia Z3 Compact General] tijs14tijs:
I am not sure about that. zxz0O0 did show us that he has root and he told us sort of how he did that. He posted a version 1 of the tool which works for 2 or 3 devices. You can find the tool and guide here: http://xdaforums.com/crossdevice-dev/sony/giefroot-rooting-tool-cve-2014-4322-t3011598

He wants to support more devices and he needs the kallsyms log for other devices for that.
[Xperia Z3 Compact General] KL643:
http://xdaforums.com/crossdevice-dev/sony/giefroot-rooting-tool-cve-2014-4322-t3011598
[Xperia Z3 Compact General] espaciosalter20:
please, read mutiple posts before yours....

Enviado desde mi Nexus 7 mediante Tapatalk
[Xperia Z3 Compact General] Luhccas-X10:
Hallelujah! ???
[Xperia Z3 Compact General] panzermuffin:
Okay, I'm fairly new to all this. But does this breakthrough mean that I can - in the end - install the Cyanogenmod 12 and keep every ability from both CM12 AND the Sony Z3 Compact? And if I change my mind I can just undo all changes? Granted that I do everything right. I'm on D5803.

Thank you! This is really exciting :)
[Xperia Z3 Compact General] x10isrooted:
cant find an english 93 ftf version to downgrade. all links are dead. do you think the commercial and journalists version via xperifirm is also ok for the root?
[Xperia Z3 Compact General] lcohen999:
Question, I think that has been asked. I'm not sure, so I thought I would clarify, so I know how much time to spend today.

Does it go like this

Downgrade

Root

Backup ta

Upgrade (root persists)

Or

After backup Ta

Upgrade

Unlock bootloader

Root

Restore ta

Re lock bootloader?
[Xperia Z3 Compact General] Greynet:
Uhm is the D6653 firmware posted inthis thread okay? It's customized india and I don't know if it's okay to flash it on a D6653 from another country?
[Xperia Z3 Compact General] Dsteppa:
I guess it's time for [MENTION=725850]Pyres[/MENTION] to change the OP and title :good::good: Gratz [MENTION=3975929]zxz0O0[/MENTION] and [MENTION=3537886]graffixnyc[/MENTION] And everyone else that contributed!
[Xperia Z3 Compact General] stevuna:
So true :good:
[Xperia Z3 Compact General] charliebigpot:
I'll wait until someone posts working step-by-step instructions somewhere on the z3c forum. I wouldn't like to mess things up now that we have a working tool
[Xperia Z3 Compact General] x10isrooted:
im pretty sure that graffixnyc will soon post some more detailed info and guide how to do this with all required download links.
[Xperia Z3 Compact General] Asnanon:
Unless someone has already posted a link to the thread containing the instructions and the download link, several times over the past few hours.

If course that couldn't have happened...
[Xperia Z3 Compact General] Dsteppa:
http://xdaforums.com/crossdevice-dev/sony/giefroot-rooting-tool-cve-2014-4322-t3011598

Isn't enough?
[Xperia Z3 Compact General] Pyres:
I'll look into it and update the OP accordingly ASAP
[Xperia Z3 Compact General] charliebigpot:
I saw that one, which one is the Firmware < October 2014 (kernel and system) for the D5803 and how do I flash that? (for some things I'm a total noob)
[Xperia Z3 Compact General] spyvsspy:
but can we upgrade the firmware back after the downgrade ?
[Xperia Z3 Compact General] Boldizzle:
Quick question before I since into this.

First, amazing work [MENTION=787413]zxz[/MENTION]0, you have saved my phones life lol.

Second, I have a D6653 with carrier specific rom.

Can I flash generic .93 rom over the top of this using flash tool?

If so, the only one that seems to be available is the Indian genetic rom. Will that matter?
[Xperia Z3 Compact General] Michealtbh:
Great news, will send my donation after I root tonight
[Xperia Z3 Compact General] pricey2009:
Wow thank you!!

At last we have root yeeeaaahhhh!!!
[Xperia Z3 Compact General] lcohen999:
Exactly my question
[Xperia Z3 Compact General] charliebigpot:
Check page 101 in this thread, it's possible:
[Xperia Z3 Compact General] Newt182:
http://xdaforums.com/showpost.php?p=58395100&postcount=71
[Xperia Z3 Compact General] lcohen999:
I am guessing that using flashtool restores stock recovery as well?

Just curious, why do you need to custom kernel and how is it affected in recovery?
[Xperia Z3 Compact General] muzab a:
So when do u restore ta backup since you have to have stock kernel
[Xperia Z3 Compact General] graffixnyc:
I just created a PRF package with 5.77 rooted, with dualrecovery from the US unbranded device fw. it doesn't seem like write protection can't be disabled yet unless you unlock the BL on 5.77. a new kernel module probably needs to be compiled
[Xperia Z3 Compact General] lucifer0806:
Thank you so much. It's midnight here and I just can't sleep unless I can root my buddy tonight! Just read this thread a few minutes ago and I'm downloading 23.0.A.2.93.tft. The Internet connection is so slow ...

Gotta give you guys the result if I can successfully root or not ;)
[Xperia Z3 Compact General] BurnRubber90:
Anyone mind making a guide or listing the steps to root and backup DRM on .77 firmware?

Kinda afraid to screw up and end up loosing DRM keys :rolleyes:.
[Xperia Z3 Compact General] akaSM:
Is the default kernel necessary to restore the TA partition (and get the nice Z3C features back)?

Can I restore it even if I have a custom kernel?
[Xperia Z3 Compact General] graffixnyc:
1. Use the root method here: http://xdaforums.com/crossdevice-dev/sony/giefroot-rooting-tool-cve-2014-4322-t3011598/page6

2. Use this tool to back up drm: http://xdaforums.com/showthread.php?t=2292598

4. to restore DRM use the tool again

3. If you restore DRM the bootloader will be relocked.

I am not sure what will happen yet if you have a custom kernel and try to restore drm.
[Xperia Z3 Compact General] muzab a:
It soft bricks

Tried that and it soft bricked when using custom kernal
[Xperia Z3 Compact General] akaSM:
I guess I'll stay away from custom kernels for now, I don't want to lose any functionality, even if it's temporary/reversible.
[Xperia Z3 Compact General] BurnRubber90:
Thanks!.

I guess i have to downgrade the firmware before using the root method? If so, is there any special instructions or so? I did this once for my Xperia Tablet Z but not sure in this.
[Xperia Z3 Compact General] robyn402:
looks like this guy has nailed the D5803 Z3 compact on locked BL

http://xdaforums.com/crossdevice-dev/sony/giefroot-rooting-tool-cve-2014-4322-t3011598/page2
[Xperia Z3 Compact General] graffixnyc:
a little late to the party are we? :P
[Xperia Z3 Compact General] graffixnyc:
Check the FW thread and download the correct 93 region for your device and use flashtool. You will have to do a data wipe as well otherwise you'll have force close hell at reboot

It seems I forgot to include the .77 kernel in my PRF package. When I included it, it wouldn't boot. zxz0O0 thinks it's the dualrecovery not compatibile with the .77 kernel. I'm doing a test to confirm that in a couple minutes
[Xperia Z3 Compact General] robyn402:
haha should have refreshed the page before i posted the link
[Xperia Z3 Compact General] muzab a:
So ita ether have drm keys restored but not allowed to use custom kernals or have custom kernals but no drm keys?
[Xperia Z3 Compact General] graffixnyc:
The duel recovery does not seem like it's compatible with .77 firmware. zxz0O0 messaged NUT to let him know so hopefully later today there is an updated duel recovery.
[Xperia Z3 Compact General] charliebigpot:
The firmware thread seems a little dead.. how important is the region, I bought the z3c in Sweden (where I lived) so it would make sense to flash the Nordic 93, but now I moved to live in Western Africa for a year.. what region should I flash?
[Xperia Z3 Compact General] tribemac:
I flashed the global one (live in Sweden to) but doesn't really matter to much with one you choose
[Xperia Z3 Compact General] espaciosalter20:
Xperifirm Still work... So, you can download any firmware available in there...
[Xperia Z3 Compact General] charliebigpot:
Thanks [MENTION=4962607]tribemac[/MENTION]! [MENTION=4131468]espaciosalter20[/MENTION]salter, thanks but unfortunately I'm on a mac, and as far as I know there's no Xperifirm for osx.

Unfortunately none of the download links in the firmware thread work. Is there any good soul out there that can upload the .93 firmware (either global or nordic) somewhere?
[Xperia Z3 Compact General] tribemac:
Uploading it to my google drive right now so in a few i can send you a link.
[Xperia Z3 Compact General] STR33TPIR8:
Guys, do I have to use the official Sony method to unlock the bootloader or is there some other way? Can I avoid giving my IMEI to Sony?
[Xperia Z3 Compact General] LaZiODROID:
Also mirrored to Mega:

D5803_23.0.A.2.93_Generic_GLOBAL_1286-9917.ftf 1.13 GB

https://mega.co.nz/#!f5pXVAIZ!nWmaFU9d5ux6FOUI6Kdv3GK8RObswoZzxRwpQVEvpxo

The root method by zxz0O0 worked for me after a couple of attempts. Donation complete.
[Xperia Z3 Compact General] iFlasher:
No, you don´t need even to unlock bootloader. Just need a <October firmware (As .93)
[Xperia Z3 Compact General] spyvsspy:
giefroot Confirmed working on Z3 Compact D5833 - currently on an old firmware, but i'm sure in the next days things will be updated ;)

payment made to [MENTION=3975929]zxz0O0[/MENTION]

trans : 9J8257822M854450K
[Xperia Z3 Compact General] STR33TPIR8:
So if I want to unlock, i have to send my IMEI to sony
[Xperia Z3 Compact General] graffixnyc:
Yes but if your plan is to unlock and then restore drm it won't work. When you restore DRM it locks the BL again so unlocking would be pointless. I'm locked just waiting for the dualrecovery to be updated for .77 which you can flash on a locked bootloader, then I'll update to .77 with the dual recovey and still be locked and have w/r protection disabled
[Xperia Z3 Compact General] pw1nce:
guys , i rooted , backed up drm keys , now can i flash a different rom? or i have to unlock bootloader for that?
[Xperia Z3 Compact General] iFlasher:
You need to unlock bootloader to install other ROM.
[Xperia Z3 Compact General] pw1nce:
okay , after i unlock bootloader and flash other rom , can i backup drm keys then to get back those features on the new rom?
[Xperia Z3 Compact General] jaime4272:
does any body knows if the xperia z3 tablet compact SGP621 LTE could be rooted as well stock firmware 23.0.1.A.0.167...?
[Xperia Z3 Compact General] iFlasher:
You need to backup DRM Keys before to unlock the bootloader, otherwise you lose the keys forever.

If you restore the DRM keys, the bootloader automatically gets locked again.

If the rom is custom based on stock rom it may still work after resotre DRM Keys (I´m not fully sure).

If the custom rom is CM or anything other based on AOSP, the DRM keys not work (I think you get bootloop).
[Xperia Z3 Compact General] kugelblitz:
What about that: http://xperia-z3-root.blogspot.de/2015/01/sony-xperia-z3-root.html ?
[Xperia Z3 Compact General] iFlasher:
Fake.
[Xperia Z3 Compact General] snwman:
Fair play to the two guys. This is the longest I have ever gone without rooting one my phones. Hopefully will get more custom rom's for the phone now
[Xperia Z3 Compact General] jaime4272:
Expedia z3 tablet compact any one?
[Xperia Z3 Compact General] alekthefirst:
Since the goal of this thread is already achieved we are allowed to go off-topic, right?

YEEEEEEEEAAAAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHH!!!!!

WWWWOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOooooOOOOOoooOOOOOooOoooOOOOoooOOoo

YOU GUYS RUUUUULLE

WOOOOOOHHHHOOOOOOOOO

(got sick of caps at this point)

Have my thanks...

Oh, i have two to give....

Wait, i found another one.....

Here, take my backupthanks aswell

:good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good::good:
[Xperia Z3 Compact General] i7icegy:
So what now? What are we all doing since we are rooted? xposed? what modules are good for the xperia line?
[Xperia Z3 Compact General] RHBH:
Anyone with Z3 and Unlocked Bootloader willing to help in debug giefroot tool? The tool isn't working in all devices, but [MENTION=3975929]zxz0O0[/MENTION] can make it work if someone assist with debugging.
[Xperia Z3 Compact General] infinitylook:
Is this conpatible now with Z3 dual D6633?
[Xperia Z3 Compact General] mrrflagg:
I'm unable to find a working link for D5833 firmware to downgrade? I'm in Australia if that makes any difference?

Zurgthe3rd
[Xperia Z3 Compact General] alxtorrentazos:
Maybe someone could help me with this. I just rooted my Z3C 5803, had to enter some extra lines to be able to have full access to the system folder (just to install xposed) and had to download and run NextApp SDFix to make Titanium Backup to create/write into the microSD card.

What I just did is to clean the phone and install everything again, update all the apps, configure them, etc...........but......when I´m trying to integrate newer versions of apps (let´s say YouTube, Google Play Store, File Commander) into the rom, Titanium Backup keeps trying and trying.

Did someone else try that? Successfully?
[Xperia Z3 Compact General] sonalikagaur:
D6653

Can anyone confirm if it is working for D6653 International Model?

Do not want to mess up if it is not yet confirmed working..... :)

I can help with testing...but I have LB. :confused:
[Xperia Z3 Compact General] STR33TPIR8:
Little OT: am I the only one taking more than 30 minutes to flash a stock rom? With my Samsung it was way faster...
[Xperia Z3 Compact General] EricCartmanez:
taking not more than 5 mins for me :eek: :)
[Xperia Z3 Compact General] hdnick:
Hi guys, I've a question: actually I'm using .77 firmware and I know I must downgrade to get root...after rooting, If I try to flash (w/flashtool) the stock firmware .77 again I will loose root? Should I wait for a pre-rooted .77 firmware or there's another way?
[Xperia Z3 Compact General] STR33TPIR8:
Maybe because I'm using flashtool for mac?
[Xperia Z3 Compact General] EricCartmanez:
well that could be, i haven't tried it on mac yet but since there is also a native mac app i don't see why it should be taking so long, what is taking so long? the flashing itself or the preparing before u have to connect your phone?
[Xperia Z3 Compact General] STR33TPIR8:
The flashing is very long. Anyway i found out it's a Mac version problem. Tried on Windows and it took less than 5 minutes :)
[Xperia Z3 Compact General] quarrymanpaul:
Same question. I've installed AdBlock and got ES Explorer working in root mode. Not sure what to do next!
[Xperia Z3 Compact General] charliebigpot:
Damn.. I'm on osx too, but I think I'll need to install windows via bootcamp since the giefroot tool requires to run a .bat file, which should only work on Windows.
[Xperia Z3 Compact General] snwman:
Has the dual recovery been updated yet to accept .77 firmware so that it can be rooted. If I'm correct in remembering that once it is tried it fails to accept root because it's not been updated. But the dev was notified about this as far as i know.
[Xperia Z3 Compact General] pricey2009:
Why havent you just checked the dual-recovery thread?

There is no update as yet
[Xperia Z3 Compact General] CptPortugues:
Hello,

I'm new here and i received my Xperia yesterday..

Any one have tried this video ? This is fake ?

youtube.com/watch?v=AbRRi7TOosg

One doubt:

- If i want active my warranty, Sony will see if i rooted my phone or not ?

It's motive to cancel the warranty ?

Regards from Portugal,

Tiago Teixeira
[Xperia Z3 Compact General] eskamhl:
I'm just waiting for the confirmation that the exploit will work on the D6603 model to sell my M8 and buy for the second time a Z3 [emoji3]

Then for sure I'll make a donation!
[Xperia Z3 Compact General] cmvienneau:
Device detected: D6616 (23.0.D.1.123)

Try without fb_mem_exploit fist...

Try to find address in memory...
Attempt msm_cameraconfig exploit...
Detected kernel physical address at 0x00008000 from iomem

You need to manage to get remap_pfn_range address.

Try copying kernel memory... It will take a long time.
Attempt futex exploit...
failed to exploit...
Attempt get_user exploit...
error in setsockopt().
Failed to get prepare_kernel_cred address.
Failed to get commit_creds address.
Failed to get remap_pfn_range address.
Failed to get vmalloc_exec address.
Failed to get ptmx_fops address.
connect(): failed
Attempt get_user exploit...
error in setsockopt().
Failed to get prepare_kernel_cred address.
Failed to get commit_creds address.
Failed to get remap_pfn_range address.
Failed to get vmalloc_exec address.
Failed to get ptmx_fops address.
D6616 (23.0.D.1.123) is not supported.

Try again with fb_mem_exploit...

D6616 (23.0.D.1.123) is not supported.

Try again with fb_mem_exploit...

Try to find address in memory...
Attempt msm_cameraconfig exploit...
Detected kernel physical address at 0x00008000 from iomem

Attempt fb_mem exploit...
Detected kernel physical address at 0x00008000 from iomem
Failed to open /dev/graphics/fb0 due to Permission denied
You need to manage to get remap_pfn_range address.

Try copying kernel memory... It will take a long time.
Attempt futex exploit...
connect(): failed
Attempt get_user exploit...
error in setsockopt().
Failed to get prepare_kernel_cred address.
Failed to get commit_creds address.
Failed to get remap_pfn_range address.
Failed to get vmalloc_exec address.
Failed to get ptmx_fops address.
D6616 (23.0.D.1.123) is not supported.
Failed to setup variables.
1|shell@D6616:/data/local/tmp $ Try to find address in memory...
Attempt msm_cameraconfig exploit...
Detected kernel physical address at 0x00008000 from iomem

Attempt fb_mem exploit...
Detected kernel physical address at 0x00008000 from iomem
Failed to open /dev/graphics/fb0 due to Permission denied
You need to manage to get remap_pfn_range address.

Try copying kernel memory... It will take a long time.
Attempt futex exploit...
connect(): failed
Attempt get_user exploit...
error in setsockopt().
Failed to get prepare_kernel_cred address.
Failed to get commit_creds address.
Failed to get remap_pfn_range address.
Failed to get vmalloc_exec address.
Failed to get ptmx_fops address.
D6616 (23.0.D.1.123) is not supported.
Failed to setup variables.

this the output of the essential address binary
[Xperia Z3 Compact General] sununs11:
After the process,could 5.77 stock rom's /system be rw or not ?
[Xperia Z3 Compact General] MarcraM90:
Is there a How To thread already?
[Xperia Z3 Compact General] damnat:
For me no:( but cwm work and xposed to
[Xperia Z3 Compact General] iFlasher:
Yes: http://xdaforums.com/showthread.php?t=3011598
[Xperia Z3 Compact General] pricey2009:
This thread needs updating as it seems the bounty is still up for grabs..
[Xperia Z3 Compact General] boojay:
Yes, I followed this guide: http://xdaforums.com/showpost.php?p=58395100&postcount=71 in order to retain root on the latest .77 firmware and achieved rw system.
[Xperia Z3 Compact General] apexofservice:
Seems this is only available for WINDOWS .NET .exe people. Alas.
[Xperia Z3 Compact General] Howlbeck:
First of all: all the wait was worthwhile :D

Big thanks, can't even think of being without root that long before...

I'm still on 23.0.A.2.93 and there is an xposed module which fixes write access for the external sd.

I will stay on .93 for a while though I already tried the customized .77 and it worked - same for backing up ta, unlocking bl, some cm testing and reverting with restoring ta and locking bl again. Waited so long, can wait some more ;)

Will definitely add something to the bounty if all goals are achieved.

Thanks again you two (and testers) for all your work, it's amazing.