yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact General] Arturiuz!:
thank you [MENTION=2851630]bilboa1[/MENTION] for this method!it's a long list of instructions you got there but worth the time & effort..kudos! :beer::cool:

..i know this woild be offtopic but what i noticed though,when i themed the twrp recovery is it's so small on the screen!haha..but i put it back to what it was.here's a screenshot:
[Xperia Z3 Compact General] msnxda:
Little off topic, but did anybody encrypt his phone after using this method? Is dual recovery still working afterwards?
[Xperia Z3 Compact General] nikkopwn:
Unrooting and reseting the z3c

Hey guys!

My headphone-jack stopped working.

It happend two weeks ago but after cleaning the headphone-jack it worked perfectly again till' this day when I dropped my phone lighty and it stopped working.

Now, if I want to send my phone on service, what and how should I unroot my phone? I have rooted using this guide.

I am very disappointed with rooting my device. My contacts are messed up, can't get AdAway to work etc.

Would really appreciate some help, thank you! :)

[MENTION=4194426]cpurick[/MENTION] could you give me an answer maybe mate? :)
[Xperia Z3 Compact General] gegu2:
Just flash stock firmware using flashtool. This operation wipe all your data.
[Xperia Z3 Compact General] Jannik19999:
Can anyone send me his DRM keys

I want to edit them a bit

I dont have the DRM keys
[Xperia Z3 Compact General] IceColdz:
"Unfortunatelly, the process android.process.media has stopped."

When I root I get this popup message saying "Unfortunatelly, the process android.process.media has stopped." and "Unfortunatelly, the process android.process.acore has stopped." What should I do? These popups dont let me use it!
[Xperia Z3 Compact General] charliebigpot:
[MENTION=2851630]bilboa1[/MENTION], [MENTION=4708091]istux[/MENTION], [MENTION=3989065]serajr[/MENTION], my gurus. I've tried the RICdefeat.zip but it won't stick, the adb shell only works until reboot.

I've successfully rooted once, but due to some issues I had to wipe and redo the whole procedure but this time it doesn't work to 100%.

Root explorer works fine but Tbackup and xposed don't. I've done the whole procedure 4 times.

Any suggestions?
[Xperia Z3 Compact General] KrylovFa37:
Great work thank you bilboa1

The only thing I would change is the step 43 which is a bit confusing. I would remove the DESELECT and only write SELECT. As a non english native speaker, I had to translate it. I was a bit surprised about deselecting it and after doing that i had to start again since step one !

So save time for the people and remove that ;)

On an other note, i successfully rooted my phone and managed to install Titanium back-up. When I try to delete a preinstalled app it reappears !

I read some people have the same problems but couldn't find the solution.

Can someone help me?
[Xperia Z3 Compact General] vetko:
and

I do have a temporary solution for this, but it is only useful e.g. for uninstalling system apps, and not for making xposed work (which requires system rw after every reboot).

So before wanting to uninstall/backup?/restore some system apps in Titanium, you can open a terminal emulator and remount system in RW, so: "mount -o remount,rw /system".

Though after reboot it is lost, which makes xposed unusable. But system apps are permanently removed/restored this way.

We do need a permanent fix for this issue by some more experienced devs on the long term.
[Xperia Z3 Compact General] KrylovFa37:
Thank you, it's exactly what i'm trying to do.

I can't do it with a terminal, i got an error :(operation not permitted). How can i give root access to the terminal?
[Xperia Z3 Compact General] charliebigpot:
I know about the temporary solution, but as you already say, we need a permanent solution..

Thanks anyway!
[Xperia Z3 Compact General] vetko:
Are you sure you did follow the exact and every step for rooting from the opening post?

If I were you, I would try to redo everything from step 40. (Do it on your own risk, I am not an expert in this process).

Or, maybe these previous discussions on this thread could help you: http://xdaforums.com/showpost.php?p=58853796&postcount=199
[Xperia Z3 Compact General] alxtorrentazos:
Guys, maybe this is not the right forum to ask this, but I had my phone rooted, working beautifully and I had 2 backups created by the PHILZ recovery (I personally prefer that one above TeamWin one) and a friend of mine adviced me to install BusyBox, so I did it. Every went fine, the phone is working perfectly fine, but now I cannot reboot the phone into the DualRecovery anymore. I'm trying pressing volume up/down while the phone is restarting and also tried using NDR Utils and TB reboot into recovery option whithout any luck. In fact, the LED that let us select the recovery while it's rebooting is not showing up anymore. did I loose the recovery? do I have to reflash it again? Any idea would be very appreciated. TIA

Alx
[Xperia Z3 Compact General] cschmitt:
It's a known issue. This: http://xdaforums.com/showpost.php?p=43698321&postcount=2
[Xperia Z3 Compact General] alxtorrentazos:
OMG, and how we can fix this? just flashing the recovery again would work?
[Xperia Z3 Compact General] cschmitt:
You'll need to uninstall the busybox that you installed, reinstalling XZDR won't remove it.
[Xperia Z3 Compact General] Sirboscos:
Finally grabbed my balls and did it! :good: Everything went smooth and now everything is perfect.
[Xperia Z3 Compact General] edurjbr:
Does restoring dem keys work with custom roms? And not a stock sony?
[Xperia Z3 Compact General] beelzebulx:
Finally rooted!

Thanks for this step by step procedure, it was really helpful. Did not want to root because I was waiting for the official lollipop upgrade, but got bored one weekend and decided to go ahead and root. Best decision ever, hehehe. One clarification, you can't install a custom kernel when your bootloader is locked, right? Thanks again!
[Xperia Z3 Compact General] KrylovFa37:
Yep I did.

I don't know why this isn't working. I tried to do it again and i'm still stuck there. I have adaway that needs root to work and it's running smoothly on my phone but still can't delete the app given with the phone.

When i open a terminal on my phone and write the mount -o remount,rw /system in the terminal I got:

"insmod: init_module '/system/lib/modules/wp_mod.ko' failed (operation not permitted)

mount: operation not permitted"

Strange
[Xperia Z3 Compact General] DavidSnake:
Hi guys! Hope you can help me!

I bought the phone last week and decided to root it.

I'm on the last steps of the tutorial, where I should flash the latest firmware while unchecking system.

When I press volume down and connect the USB, the phone just shows flashes a quick red light and then a green light, and nothing happens.

Anyone has any idea on why this happens and what should i do to fix it?

I'm afraid to even turn on the phone, since it has been shut down since installing the recovery.

Thanks!
[Xperia Z3 Compact General] feves:
Backup assistance

Hi got my z3 today trying to root going well so far but have found an issue trying to back up the key but it cannot find the keys can anyone help me with this ? thanks :)
[Xperia Z3 Compact General] schnuff*1:
Your bootloader was unlocked before?

Is this a new phone buyed by you?
[Xperia Z3 Compact General] luizlee86:
AFAIK, the last step isn't necessary... as stated by OP in the first page. Well.. but if something there went wrong, it would be necessary...

If you tried to turn the phone on and everything is ok, then don't bother trying to flash non-rooted rom, otherwise, wait for someone else to reply, since I've got the phone yesterday and rooted it with no issues, but skiped the lasts steps.
[Xperia Z3 Compact General] feves:
No bought it my self yesterday directly from the store
[Xperia Z3 Compact General] feves:
Backup Help

No bought it my self yesterday directly from the store
[Xperia Z3 Compact General] muzab a:
So since lollipop approaching

Is there a way of keeping root when updating ota on locked bl
[Xperia Z3 Compact General] fusk:
I'll probably get my hands on this device tomorrow, coming from HTC, so just want to ask some dumb questions.

These 5 steps is all you need to have absolute control ?

Downgrade the firmware

Run the root exploit

Backup the DRM keys

Upgrade the firmware

install DualRecovery

On HTC we have S-OFF, is that a HTC thing or is it just not mentioned in this post ?

What exactly are those DRM key for. As i understand it you back them up in case you need to restore the phone, right ?

What is the difference between development & original development ?
[Xperia Z3 Compact General] Luckieboj:
Remember to change USB connectivity

Had problem to root my phone, but figured then out that I needed to change USB connectivity mode from MTP to MSC.

How to do this:

Settings -> Xperia connectivity -> USB-connectivity (scroll down).
[Xperia Z3 Compact General] Xentar712:
Just got my phone today and having the same problem as you. Have you tried writing a startup script? If not I might try that later.

Am I right in assuming there are those out there that have xposed working just fine and are on the latest version?
[Xperia Z3 Compact General] KrylovFa37:
Thank for your feedback.

No I didn't try writing a script as i have no particular knowledge :D
[Xperia Z3 Compact General] wuggy:
Thanks mate!

Very detailed and nice guide!
[Xperia Z3 Compact General] Xentar712:
Figured my issue out. Somehow I completely missed the first question on the OP FAQ. I installed that, manually remounted and it appears to have stuck. Xposed works even with a reboot.

If you still have to do it every time you reboot, all you have to do is download a script manager. Then create a new script and type "mount -o remount,rw /system" Then hit the buttons for boot and su. I can't test it since mine is now working but I was going to use this app: https://play.google.com/store/apps/details?id=os.tools.scriptmanager&hl=en

I've used it in the past for other startup scripts and it works great.
[Xperia Z3 Compact General] Ponteral:
not working Wi-Fi

Hello guys, I have the problem.

I tried to root my Z3 compact today again. I did that many times, but this Time after installing the recovery and flash the flashable.zip with pre-rooted rom, it's a stock rom I can't run Wi-Fi on my phone. Can somebody help me please how to solve it? I tried to root it again and not help. Thanks a lot.
[Xperia Z3 Compact General] MightySashiman:
Hi,

I'm on a mac. This flashtool utility is driving me nuts.

why the **** won't it accept the "D5803_23.0.A.2.93_Generic GLOBAL.ftf" file i've been download over and OVER AND OVER AND OVER again from mega ? (btw, if anyone could compute the md5 of this damn ftf file, please do...)

I've done every thing which is suggested : moving sub "firmwares" subdirectory in the flashtools.app file to .flashTools/firmwares then copied the rtf file into this last firmwares dir. (although i really don't see while there should be such a damn fuss since flashtools allows to browse for an ftf file.

Whatever I do, flashtools does NOT detect this damn ftf file and only shows the BLrelock one, although my download ftf file is in the same exact directory than the BLrelock one (and appears greyed out and not-selectable when browsing from within flashtools

PLEASE HELP.
[Xperia Z3 Compact General] limduldk:
anyone tried going from step 26. (rooting a firmware) using one of the new 5.0.2 lolipop firmwares?
[Xperia Z3 Compact General] KWoods41:
I found this process frustrating on OS X, as well. Flashtool needs some work in order to be fully Mac compatible.

Just click on the greyed out ftf file. It won't actually show that it is selected in the Firmware section, but it is. You can proceed from there as if it was selected. Worked perfectly like that for me.
[Xperia Z3 Compact General] TheGerm@n:
restore DRM keys with Android 5.0.2 firmware

Hi, can i restore my DRM keys with 23.1.A.0.690 (Android 5.0.2) firmware by doing this with the allready know restore-giude? Will it work?
[Xperia Z3 Compact General] Majky81:
Lollipop root

just want to ask if it will be possible to root after new lollipop update ? Thank you and have a nice day
[Xperia Z3 Compact General] _katho_:
Root KK, then flash Lollipop, flash SuperSU.
[Xperia Z3 Compact General] Majky81:
Bud I heard that recovery and xposed don't work yet is it true?

Thanks for responding
[Xperia Z3 Compact General] Arturiuz!:
for lollipop,maybe.i haven't tried it though..but for KK,it works.no issues for me! :)
[Xperia Z3 Compact General] zander21510:
I can confirm that following these directions, you can create a pre-rooted lollipop rom (I used the baltic version), retain root with SuperSU, and retain DRM functions! everything works great :)
[Xperia Z3 Compact General] matt.marr:
MAC

Forgive my ignorance but can this be done using a mac?

I'm trying my best to work out a way to increase the low volume output on the Z3 and it seems rooting is the only way...?
[Xperia Z3 Compact General] _katho_:
Correct, as xposed require flashing from recovery in Lollipop.

You can still have a rooted device on Lollipop. If you must have recovery now, stay on KK till recovery is updated for Lollipop.
[Xperia Z3 Compact General] vetko:
When we can expect this upgrade of the recovery?

Also there is something I don't understand. Normally which part of the system boot process would be responsible for automatically remounting the system as R/W (which is failed to be done currently, and neither works on KK for me)? (the bootloader?, the recovery?, some startup script installed during the rooting procedure or after?)
[Xperia Z3 Compact General] riga_:
I'd just like to have my phone rooted to use TBackup and adway on lollipop... should I follow all the steps till the end or should I stop earlier?
[Xperia Z3 Compact General] andonymouz:
Hi, I did this now I'm in boot loop! Well guess I've got to do the hole process again.

One question: can I then just use Lolipop instead of .77 ?

Btw, DONT wanna wipe data - would that be possible .93 -> .690 ?

Thx in advance!
[Xperia Z3 Compact General] AlfredS:
This is a great tutorial!! Followd step by step without any problem at all! but im wondering if doing this (root .93 skipped to lollipop) would affect my OTA (Over the air) updates? or this sticks as usual? adding some info, i didnt unlocked bootloader, just backed TA (greatest tool i can imagine for drm) rooted and installed lollipop zip, i dont wanna lose OTA Updates :)

Thanks for the effort you made with this post!

:good: :cool:
[Xperia Z3 Compact General] gamekill:
Great guide, worked for me (5833, was on .77, downgradeed to .93, rooted, flashed 77 4.4.4 back)

However I have a suggestion:

Right after I entered dualrecovery and flashed and was supposed NOT TO REBOOT, but needed to shut down.. it was confusing. Even though you wrote that I should hit "Reboot menu" then "shutdown", I hit the "Reboot" button and it started rebooting. Luckily I remembered I could hit the vol-up button repeatedly to re-enter recovery, and from there I shut down, and everything afterwards went fine.

So my suggestion is to maybe explain it a bit better where the "Reboot menu" is.

Thanks for the great guide!

:good::good::););)
[Xperia Z3 Compact General] jogster:
Can u please explain how u did this..
[Xperia Z3 Compact General] zander21510:
Follow directions in OP, on the part when you build the pre-rooted ROM, use a Lollipop one instead of the one it lists for you to download. Gotta do it from start to finish though including the downgrade.
[Xperia Z3 Compact General] mrotenlu:
Ignore
[Xperia Z3 Compact General] pngoc256:
Actually I'm using the firmware for D8503 and I indeed cannot use NFC with my SO-02G. But I'm still fine as I do not need NFC.

I haven't tried with the stock firmware for SO-02G so I really don't know about rooting with that firmware.
[Xperia Z3 Compact General] fusk:
Can you restore ta partition without having to flash a different rom?. Running the pre-rooted android 5 stock rom.

And if so, where are the ta zip supposed to be located when restoring ?
[Xperia Z3 Compact General] zander21510:
Use the TA backup tool. If you put the ZIP in backups, when it prompts you just hit "Restore" instead of backup. No flashing required.
[Xperia Z3 Compact General] fusk:
There is no backup, there's tool and scripts.
[Xperia Z3 Compact General] zander21510:
Run it first, hit "Restore", it should create the folder for you and let you put it in there first. Or you can just create the "Backups" folder yourself.
[Xperia Z3 Compact General] fusk:
Ok. So to restore ta partitions you have to manually create the backup directory, not before then can you restore. Kinda odd that isn't mentioned anywhere.
[Xperia Z3 Compact General] Proday:
In first post, after alternative 1 write "then skip directly to step 33" ...i see only 26 steps, and no rest?!
[Xperia Z3 Compact General] fusk:
Refresh the page or something, there is 46 steps.
[Xperia Z3 Compact General] gegu2:
I have the same problem when i'm using xda mobile app. When i open this thread in web browser then it's displayed correctly. So try to use web browser on your pc.
[Xperia Z3 Compact General] Proday:
Tnx for advice friends; tapatalk was problem (same as xda mobile app I suppose). On pc browser everything looks fine. :good:
[Xperia Z3 Compact General] FcukBloat:
thanks OP for the great guide.

I have one doubt btw, hope you can clarify.

near the end, to keep root and be in latest FW, you say to flash pre-rooted fw and then the non-pre-rooted fw via flashtool excluding /system

I don't understand why you need to install also non-pre-rooted fw excluding /system.. is that really needed?

I see the pre-rooted flashable includes root and dualrecovery, so why I should also install the non-prerooted one via flashtool afterwards?

TIA!!! :o

EDIT: think I understood by myself looking at the content of the zips I downloaded :o
[Xperia Z3 Compact General] Sechzman:
Will I keep receiving OTA updates if I have root access like this?
[Xperia Z3 Compact General] HITjackma:
Yeah, that's true, nowhere can we use NFC in Life, as far now.;)
[Xperia Z3 Compact General] doudou_fr:
Hi Guys,

First of all thks for this guide it help me to root my xperia compact 5833 on lollipop.

This stuff is quite new for me, so I may have done something wrong. It seems that I can't go on Recovery mode in order to install Xposed.

A) I did retry to boot and repeatly press up volumes: it didn't work.

B) Did try to use the app NDR to make it reboot: it didn't work

C) Install TWRP Manager to install Xposed then reboot to recovery to proceed the install: it didn't work

D) Launch again the dual recovery installer: it didn't change anything

Does have miss a step? Does that is normal after having lollipop?

Let me know if I do need to restart from scratch if I can get the recovery working :D

PS: The root does work well on lollipop; was able to get rid of SmallAll stuff that I always want to remove :D

Thank you,
[Xperia Z3 Compact General] espaciosalter20:
please, read this
[Xperia Z3 Compact General] DesmoDavid:
Hello! How can I revert from the last pre-rooted fw to the stock, out the box, fw? Just need to flash the last official fw with the flashtool? Thank you ;)
[Xperia Z3 Compact General] Lefteris Fragiadakis (Frago):
I updated to 5.0.2 from 4.4.4 without restore drm keys and xreality is full working, is this normal? In on locked bootloader
[Xperia Z3 Compact General] Xentar712:
You sure it's working? If you're locked, why don't you have your drm keys?
[Xperia Z3 Compact General] FcukBloat:
Made it to root, latest fw etc thanks to this guide many thanks! What a wonderful phone!! :o
[Xperia Z3 Compact General] belblade:
followed this guide step-by-step , so easy! thanks a lot

now, i'm thinking of unlocking the bootloader but have 2 questions for those that have done or considered it:

1) what's the real added value of unlocking on top of now having root and backup of TA-partition?

2) is it possible to unlock without losing data / having to reinstall everything?
[Xperia Z3 Compact General] FcukBloat:
Unlocking you will then be able flash custom roms like aosp, cm12 etc ;)
[Xperia Z3 Compact General] Lefteris Fragiadakis (Frago):
Yes is full working, i had for security back up my keys before i flash any rom but i forgot to restore the keys when i updated to 5.0 and is fully working, i will try to upload a video
[Xperia Z3 Compact General] DesmoDavid:
Can anyone answer me, please? :)
[Xperia Z3 Compact General] Xentar712:
I wasn't aware that flashing lollipop removed the keys. I thought only unlocking your boot loader did that
[Xperia Z3 Compact General] Gralistas:
Yes, you just have to flash an official .ftf with Flashtool and you are done :) Flashing an official .ftf (provided that you wipe system and data partitions) reverts everything to stock.

---------- Post added at 04:40 PM ---------- Previous post was at 04:28 PM ----------

As for my experience... I created a pre-rooted D5803_23.1.A.0.690_Baltic_Generic zip with the PRFCreator tool, adding just the .ftf and the UPDATE-SuperSU-v2.46.zip, not including NUT lockeddualrecovery since I read that it wouldn't work on Lollipop anyway. I successfully flashed it via recovery (and then of course lost the recovery as expected). Although I kept root access (confirmed with RootCheck app) it seems that I lost the R/W rights on system.

As I recall, the NUT dual recovery did that trick on 4.4.4, but now what? :)

Without r/w rights on system, I'm unable to debloat the rom, and that's a serious bummer...

Is there anyway to gain system r/w rights again without recovery?

Thnx in advance!
[Xperia Z3 Compact General] Xentar712:
Maybe try flashing RICdefeat right after the rom, while still in recovery?

Also, did you try manually remounting in terminal?
[Xperia Z3 Compact General] cnsultnt:
Can't unzip

I can't get past the easy step 35. Z3C-lockeddualrecovery2.8.3-RELEASE.installer.zip is not a valid archive. Is is just me?

Do I need to use a custom recovery, or can I use the standard recovery and skip to step 40 to install a rooted Lollipop?
[Xperia Z3 Compact General] Xentar712:
You're trying to flash the installer when you should be flashing the one that says flashable.
[Xperia Z3 Compact General] cnsultnt:
No, my problem is that I can't unzip the installer.

> 34 Get Dual Recovery installer this time, ...

> 35 Unzip it

I downloaded Z3C-lockeddualrecovery2.8.3-RELEASE.installer.zip

Both 7z and Windows report it is not a valid archive.
[Xperia Z3 Compact General] kugelblitz:
killed?

F**ck! Flashed the downgrade Z3 compact on a Z3 compact Tablet, now the screen is black ... it turns on, startsound is played , vibra runs short, on USB the Flashtool sees a device with USB-debug off, but the screen stays black. Is there any option to access the device without screen?

Any chance to get back the tablet-firmware?

I think, i can flash again with flashtool ... where to get correct firmwareß
[Xperia Z3 Compact General] riedos:
I think u r in wrong section, here is Z3 compact, not Tablet.
[Xperia Z3 Compact General] kugelblitz:
Yes - but i flashed the software from here :) ... got it back ... problem solved ...
[Xperia Z3 Compact General] jean001luc:
UnRoot

I've asked this question before and have received a number of responses (for which I am grateful). However, none of those answered my question so am reposting in case things have changed

What I need to do is

1) root

2) remove gloatware

3) unroot

reason for this is because I run a corporate application which will NOT run on a rooted device (not even with any of the 'hide root' applications.

I used to have an Xperia mini (ST15i) which I rooted, removed software and then unrooted using 'doomlords unroot application'. After this I was able to use my corporate application. All other attempts to unroot (such as hiding root) failed to allow the application to work

So, is a similar solution available for the Z3?

Thank you
[Xperia Z3 Compact General] Gralistas:
Thanx for your response. I will try flashing RICdefeat and let you know of the results. As for manualy remounting in terminal, I tried it and although it seemed to work, it actually didn't :( .