yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact General] bilboa1:
yes ;P
[Xperia Z3 Compact General] phanmo:
Hi,

If I backup my phone using Holo Backup (http://xdaforums.com/showthread.php?p=36499906#post36499906), will I be able to restore it after rooting and returning to 77?
[Xperia Z3 Compact General] jean001luc:
Unrooting

Hi

Thank you so much for this. Great work

Couple of questions.

1) I have some apps that do not work with rooted devices so would like to remove bloatware and then unroot

2) If things mess up (or unable to unroot), how do I restore my phone to it's previous state - i.e. as it was when first purchased?

thank you
[Xperia Z3 Compact General] burmistrz:
You can use PC Companion to restore your Phone.
[Xperia Z3 Compact General] mmm286:
When I'm trying to flash the frimware it says me:

02/001/2015 11:01:20 - ERROR - Drivers need to be installed for connected device.

02/001/2015 11:01:20 - ERROR - You can find them in the drivers folder of Flashtool.
[Xperia Z3 Compact General] sopaj96:
Okay thanks mate!

So to go back to stock, do I need to do some kind of backup of my Rom right now or will there be stock roms to download?

Once again, thanks mate, really appreciate it :)
[Xperia Z3 Compact General] jean001luc:
Unroot

How do I Unroot?

I just want to remove bloatware and then completely unroot as some of my work applications will not run on rooted devices; it checks for ADB binaries, superuser and I assume a number of other updates/changes that come with rooted devices

My main requirement is to remove bloatware
[Xperia Z3 Compact General] sdxda:
Hey all,

For step 39, my dual recovery screen is too big to fit. I checked and I accidentally downloaded the Z3 dual recovery instead of the Z3C. Everything else still worked. After I'm done with all the steps, whats the easy way to flash the right dualrecovery zip?
[Xperia Z3 Compact General] papatsonis:
you could try at first the xposed module Root Cloak , and only if that doesnt work proceed with unroot
[Xperia Z3 Compact General] polykoma:
hehe, yep

sorry couldnt resist to play some sarcastaball... :p
[Xperia Z3 Compact General] lazygeniuslanz:
In step 43, the non pre rooted fw is the one you used to create a pre rooted fw in step 28 right? Because in creating the pre rooted fw you said in step 28, "(currently this is fw 23.4.A.0.546)", but in step 43 you said, "(this is 23.1.A.0.690)" so Im confused on what fw I will use.

In my case, I'll be using 23.0.1.A.5.77(KK) for downgrade then 23.4.A.0.546(Lollipop5.1) for non pre rooted and pre rooted. Btw this is all Customized PH FWs (D5833). Is this okay?
[Xperia Z3 Compact General] Lazer72:
For downgrade you must use .93 , 5.77 won't work.

Yes the in step 43 you use the same fw as what you used to make the PRF.

Just be careful when you flash the non-prf you exclude "System".
[Xperia Z3 Compact General] lazygeniuslanz:
So I'll be downloading 23.0.A.2.93 then.

I see. Thank you for your fast reply. :good::good:
[Xperia Z3 Compact General] lazygeniuslanz:
My PRFCreator doesn't proceed after Job 5/7. And do I check one of the check boxes here? Thanks!

EDIT: It's okay now. I used the version 0.9 of PRFCreator.
[Xperia Z3 Compact General] Gh0stzer0:
Thanks

thanks a lot for this mate. It worked flawlessly :good:
[Xperia Z3 Compact General] wikitiki:
Thanks. This helped me root but now I cannot receive/send MMS unless I reboot my phone. Has this happened to anyone?
[Xperia Z3 Compact General] romcio47:
RICDefeat solution on 5.1.1!

It's OK on my phone.

I can't flash RICDefeat.zip using any of recoveries provided in DualRecovery (PhilZ Touch, TWRP, CWM). Every time I try to do it I get Error patching kernel module, Status 7 error. I'm using 23.4.A.0.546 rooted using this guide - everything is without any problems except this RICDefeat.zip... Anyone has a solution for this?

PROBLEM SOLVED! Here's a solution for 5.1.1:

I've found two versions of RIC Killers, one is V1 and one is V2 (with some files deleted). I've used both of them until one of them finally reported that the files were succesfully pushed to the phone! I have full root now, I can use Xposed, (use Lucky Patcher too which didn't work without RIC Killer, I didn't write that ^^) and I have full access to /system partition with the ability to modify the files!

Both RIC Killers are below, make sure you have rooted 5.1.1, USB debugging enabled and mock location enabled. Then make sure you have every proper driver installed (basically if you followed the whole guide in the OP, you will have everything you need), run one of RIC KILLER's. One of them WILL work. If you have daemon problems or "adb server is out of date" reboot your PC and try again. One note - I got an error in ONE of the lines while flashing the files (I don't remember what was that) but I proceeded, rebooted the phone and everything worked flawlessly!

I hope this will solve your problems :)
[Xperia Z3 Compact General] ThemGo:
Should this not already be included in XZDualRecovery?

See "Features" here : "XZDualRecovery now prevents the RIC service from starting up, this means when running XZDualRecovery the Remount-Reboot fix is no longer needed."
[Xperia Z3 Compact General] phantomblu:
I was rooted, just updated to Lollipop, do I need to reroot? I can't access recover when I startup now. Though apps like Titanium Backup and Greenify says I have root access.
[Xperia Z3 Compact General] thobi3:
i just got a replacement for my z3c with 23.4.A.0.546. is this method still the only way to back up the DRM-keys and get root for 5.1.1?
[Xperia Z3 Compact General] Lazer72:
Yes.

The update probably removed recovery.....
[Xperia Z3 Compact General] thobi3:
hm, with my last phone it worked, but that has been a while ago :( now i can't get flashtool to write on my phone. does anyone have an idea to help me? -> http://xdaforums.com/z3-compact/help/flashtool-error-message-t3195748

thanks!

[solved]
[Xperia Z3 Compact General] sky61019:
Thank you very much for this detailed step by step instructions.

I have one small problem that I finished all the steps except the final steps which flash the non-pre-rooted firmware with system excluded (these steps failed when I tried to use flash tool) .

The phone rebooted without these steps mentioned above and I found it is still rooted, my firmware is 23.4.A.0.546.

I am not sure what will be the problem if I neglect the final 3 steps which flash the non-pre-rooted firmware with system excluded.

Thank you very much again.
[Xperia Z3 Compact General] fijasko:
This has been explained in detail many times before, but in short:

If you included everything (kernel, fotakernel, modem, ltalabel ) when creating the pre-rooted zip in PRF Creator, you don't need to flash the non-pre-rooted fw with system excluded.
[Xperia Z3 Compact General] fluffi444:
I had also no luck with RICDefeat.zip - Maybe it's gone useless on 5.1.1

I used this - for sure quite the same as the one you linked...

http://xdaforums.com/z3-tablet-compact/general/ftf-sgp621-lollipop-23-1-0-690-noba-ftf-t3058400

EDIT

OK - Checked it:

Same as your SONY RIC KILLER v1.rar file - But the obove link seams to be the original source of user [MENTION=615507]lowtraxx[/MENTION]
[Xperia Z3 Compact General] sky61019:
Thanks a lot for your quick reply.

I think I have included all the items when I made the pre-rooted zip in PRF creator.

I am very appreciated of your kind help.
[Xperia Z3 Compact General] taciogw:
Hello fellow friends

I am actually running 4.4.4 KK Rooted, with DRM Keys, Locked BootLoader and etc, just like the tutorial says, i did follow all the steps.

I been using it for a few months and now, i feel like updating to the Lollipop. What EXACTLY do i have to do? ( I was thinking about, FLASHING a pre-rooted LP rom via recovery, then, after that, turn off the phone and THEN flash a FULL NON-PRE ROOTED rom via Flash Tools and exclude "SYSTEM" while flashing it.)

Am i thinking the correct? IF no, what should i do to keep my device rooted and update it from KK to LP?

THANK YOU SO MUCH!
[Xperia Z3 Compact General] Lazer72:
That's pretty much correct. Though remember to UNPLUG the USB cable after turning the phone off. Then plug it back in for flashing with FlashTool.

It's all in the OP.
[Xperia Z3 Compact General] taciogw:
Thank you so much, bro!

Do you have any idea if Xposed Framework is messed up on Lollipop?
[Xperia Z3 Compact General] Lazer72:
I don't think it is.

Should be fine.

Good luck!
[Xperia Z3 Compact General] taciogw:
Bro im about to create my pre-rooted image, i got the stock ftf file and the flashable .zip recovery and SU, what do i have to "Check" to include on PRFCreator? There are boxes like "Kernel, FOTAKernel, Modem" and stuff like that... should i leave it all empty or what?
[Xperia Z3 Compact General] Lazer72:
Actually if you tick everything then you don't have to do the last step (the flashing with excluded System).
[Xperia Z3 Compact General] taciogw:
WHat do you mean bro?

Like, i just created the file, "flashable-prerooted-signed" i added SuperSU flashable.zip and zx dual recovery flashable.zip to it, and the last 5.1 FTF stock version (BR)... All i gotta do now is put it on sdcard folder and flash via recovery and its done? Dont need to flash via flashtools? Do i need to wipe anything? (PS: I dont care if i lose my apps or photos or musics, i have all backed up on PC)

Sorry for too many questions, but im brazilian and here where i live ppl dont know anything about root/flashing roms, then i gotta google it myself... Any chance i get hard brick'd?

All i want is to get the latest android version with my root access haha, thanks for your attention mate!
[Xperia Z3 Compact General] Lazer72:
What did you tick in prf creator?

Everything you need to know is already written in the first post.
[Xperia Z3 Compact General] taciogw:
I did tick everything. Im just scared because i dont have that knowledgement, i mean, the very first post says i gotta flash the pre-rooted flashable.zip, then turn off the phone, unplug usb and then flash the original FTF excluding system via FlashTOols, now u just said i dont need to flash via Flash Tools, i mean, im so confused.

ANd about the wipes, i saw in some websites that it is always good to do when u change your rom, and at the very first post theres wrote about wiping anything!

Thanks again for your attention
[Xperia Z3 Compact General] Lazer72:
OK.

Originally, as per the guide, the Prerooted firmware only contained the updated, rooted System. This meant that to update everything else you had to flash the full non rooted LP fw excluding System using FlashTool.

But since your prf contains everything you don't need to update anything else after flashing that.
[Xperia Z3 Compact General] taciogw:
Alright, just to let you know, im very thankful for all your answers.

The last one, is, after i flash the flashable pre-rooted, since im coming from a previous version of android (from kk to lp), should i do some wipes? like dalvik, cache, and data? or only dalvik cache and cache?

Thanks mate!
[Xperia Z3 Compact General] Lazer72:
Should be just dalvik and cache. Although just doing a factory reset would do the trick.
[Xperia Z3 Compact General] taciogw:
Alright imma sleep now and try it out tomorrow and let you know the results. Thank you mate.
[Xperia Z3 Compact General] titanick:
So I'm upgrading from 5.0.2 to 5.1.1, and I've gotten the 5.1.1 ftf, su 2.46 and dual recovery 2.8.21. Followed the instructions, but at the very last step (after flashtool tells you to unplug your phone) my phone bootloops at the xperia logo, and I cannot enter into recovery. Ever since the first time, I keep having this bootloop (tried multiple times to upgrade from 5.0.2 to 5.1.1, a few times from kitkat to 5.0.2 etc).

Wondering if anyone had this problem? I suspected it had to do with the ftf, but now I'm not sure cos even my 5.0.2 ftf will result in the same problem.... so now I think it's the recovery but idk, I'm just guessing.

Help please, I'm missing my xposed :crying:
[Xperia Z3 Compact General] Lazer72:
Make sure you follow the steps EXACTLY. Tell me exactly what you did.

Make sure you have the latest version of everything. Maybe try re downloading the ftf. Also make your own Prerooted firmware, always better.
[Xperia Z3 Compact General] titanick:
yup I start with kitkat (2.93). Then I root via the root exploit and create my own pre-rooted firmware. Then I type the cmd thing, run the recovery installer, and when in recovery I flash the prerooted firmware. Then I plug the phone out, turn it off, then flash the firmware without system. I did this before when upgrading to 5.0.2 so I don't know why I have this bootloop problem now. Used latest version of su, prfc, dual recovery.
[Xperia Z3 Compact General] taciogw:
Just to finish it up, if i just wipe dalvik and cache, will i still lose all my data? apps, documents and stuff? or no? Cause i think i need a 100% clear flash and i also dont care if i lose personal sutuff since i have em all backed up, so ur opinion is that after flashing the PRF i should wipe factory reset and thats all? Just wait till phone boots?

thankssss!

Thanks mate
[Xperia Z3 Compact General] Lazer72:
What firmware did you use to create the Prerooted?

Yeah, just do a factory reset after booting up. [emoji106]
[Xperia Z3 Compact General] titanick:
for upgrading from kitkat to 5.1.1, I used 5.1.1 to create the prerooted firmware.

edit: can't post the link, but it's:

Model: Sony Xperia Z3 Compact (D5833)

Firmware version: 23.4.A.0.546_R2C

Region: Singapore (Generic) [1288-5506]

Android version: 5.1.1
[Xperia Z3 Compact General] taciogw:
Alright then!

ANd you 100% sure ill keep my root access right? Ill start a fresh new system but ill still have my root access?

So what ill do is

Flash the pre-rooted via recovery

go to section "wipe" and swipe to factory default

and wait till my phone reboot? And voila, ill have my 5.1.1 LP rooted?

THANKS AGAIN, NOW IM SRS, ill stop bothering you <3
[Xperia Z3 Compact General] Lazer72:
[emoji106] should be.

---------- Post added at 07:16 PM ---------- Previous post was at 07:12 PM ----------

STOP! I just had a look, Factory Reset will remove Root!!!

Sorry!

Just clear cache and dalvik....

I seriously hope you read this before you reset....
[Xperia Z3 Compact General] SapuSeven:
Help! Flashing error!

Hello,

I always get the same error when I'm trying to downgrade the firmware via FlashTool:

[B][COLOR="Red"]ERROR - Drivers need to be installed for connected device.
ERROR - You can find them in the drivers folder of Flashtool.[/COLOR][/B]

Devices->Check Drivers says:

[B]INFO - List of connected devices (Device Id) :
INFO - - USB\VID_0FCE&PID_ADDE\5&C4D250D&0&2	Driver installed : false
INFO - List of ADB devices :
INFO - - none
INFO - List of fastboot devices :
INFO - - none[/B]

But:

If I connect the device when it's on, Devices->Check Drivers says:

[B]INFO - List of connected devices (Device Id) :
INFO - - USB\VID_0FCE&PID_51BB&MI_00\6&295E877C&0&0000	Driver installed : true
INFO - - USB\VID_0FCE&PID_51BB&MI_01\6&295E877C&0&0001	Driver installed : true
INFO - - USB\VID_0FCE&PID_51BB\YT9117MXUZ	Driver installed : true
INFO - List of ADB devices :
INFO - - YT9117MXUZ
INFO - List of fastboot devices :
INFO - - none[/B]

I installed all drivers that I found...

I also tried it on another computer...

Please help!!!

EDIT:

I instlled all drivers on a third computer, tried flashing, and: it worked!!!

Now I'm a proud user of a rooted XPERIA Z3C! Thank you!
[Xperia Z3 Compact General] sticksnstems:
Thanks for the awesome tutorial! I would be completely lost without XDA. I unlocked my last Z3C without hesitation, after replacing it I want to keep my new Z3C DRM Keys at least as a backup. I only have a Linux PC and had to borrow my friends to use Backup-TA. PRFC worked in VirtualBox only after I insatlled .NET 4.0. The whole 43 step process took me a couple days because of not having a Windows PC. I wish some of these tools would be written for linux OS lol. Backup-TA couldn't read my phone through VirtualBox USB. Anyways, all is good now, I have a couple questions:

1. If I unlock my bootloader in the future and install a custom rom, would I be able to run Backup-TA>Restore whilst using an unlocked bootloader? Would I regain DRM functionality AFTER intslling a custom rom and restoring DRM keys? Or will it restore DRM keys and not function because the functions only work on sony stock firmware?

2. Can I install a custom rom like say Carbon Rom on my z3c with the locked bootloader and xzdualrecovery? I tried through TWRP and it failed, so I re-ried with PhilZ Touch and It seemd to flash ok but then I was stuck in a bootloop. Did I do something wrong (I am not used to PhilZ Touch recovery) or will the phone simply not boot a custom kernel.img with a locked bootloader?

Thanks again in advance
[Xperia Z3 Compact General] Lazer72:
1. The DRM keys only function on Sony stock fw.

2. AFAIK you need an unlocked bootloader to boot into custom rom.
[Xperia Z3 Compact General] Linkinsoldier:
I tried to downgrade from 23.4.a.0.546 to 23.0.A.2.93, but cant flash with 19.8.6. and get in bootloop with 19.9.2. version of flashtool. What did I do wrong?

Is there any other way to achieve than downgrading?
[Xperia Z3 Compact General] Lazer72:
No, the root exploit only works on old fw.

Make sure nothing is excluded when you flash and wipe everything.
[Xperia Z3 Compact General] Linkinsoldier:
thanks, you solved it! For some reason the "WIPE" options were not active and this caused the bootloop. Reflashing with WIPE box checked on everything worked like a charm :)
[Xperia Z3 Compact General] abj2aqua:
Okay so I followed this guide step by step and reached 5.1.1 with root access. Was installing back all the apps and was sitting browsing some pics when suddenly screen goes off. Now phone just won't do anything. Brick dead. Won't even vibrate on giving the power and up button combination. Basically its doing nothing at all. Any ideas on what to try?
[Xperia Z3 Compact General] Lazer72:
Charge it?
[Xperia Z3 Compact General] abj2aqua:
Already tried. No charging LED or vibration otherwise either.
[Xperia Z3 Compact General] Lazer72:
Try to flash stock if you can. If not it's most likely hardware problem...
[Xperia Z3 Compact General] fijasko:
could be 'sudden death'

https://talk.sonymobile.com/t5/Xperia-Z3-Compact/Sudden-Death-of-Sony-xperia-Z3-Compact/td-p/877345

happened to me
[Xperia Z3 Compact General] vilx01:
Ta backup tool doeas not work for me, partition not found, with both methods, automatic and search. Windows 7. Everything else worked just fine. DRM keys are intact, service menu confirms that. Are there any other tool to backup TA partition? TWRP excludes TA partition?
[Xperia Z3 Compact General] mycorpse:
Hello, I'm stuck at step 20 and could use some help. When I run rooting tool and connect phone to PC nothing happens. It just says 'Waiting for Device, connect USB cable now...'. I can browse phone files so it is obviously connected. Any ideas? Thanks
[Xperia Z3 Compact General] polykoma:
If you have any other tool running like companion etc same time

you cant connect via terminal....
[Xperia Z3 Compact General] mycorpse:
I tried closing all unnecessary programs/processes but it didn't help. Same happens on Windows 7 and 10.
[Xperia Z3 Compact General] somebodyhura:
hi

a question.

im just starting to root my z3c now and i see at first step you said old rom or anything prior to 23.0.1.A.5.77.

i have 23.0.1.A.5.77(latest kitkat) i can root or it must be older than it?
[Xperia Z3 Compact General] Lazer72:
No. Must be older.
[Xperia Z3 Compact General] somebodyhura:
and one more thing

i didnt found my customization for downgrading. its 1289-7528 Arabic MENA-custom MAA...if i downgrade to for example germany...and i do the root till step 26 after it can i upgrade to another rom?(cuz i see kk arabic latest but dont see old arabic)

and are links broken at step 26? i cant see a zip file for pre-rooted at mega.
[Xperia Z3 Compact General] taciogw:
no worries, mate! at the end of the day i gave up cause i was scared of doing **** or disliking the lollipop, i will keep my rooted fully xposed kitkat atm hahaha

thanks for your attention!
[Xperia Z3 Compact General] kurodahatsuharu:
ok so my Z3C got the root access. And now how do I get that to fw 5.1.1 ? I don't see it i this topic
[Xperia Z3 Compact General] Lazer72:
Look at OP. The section that says something about upgrading to latest fw and retaining root.

Basically flash a Prerooted LP fw through recovery and then flash the full fw excluding System partition though FlashTool.
[Xperia Z3 Compact General] kurodahatsuharu:
I read some other topic about pre root image and they said that i have to UB and i don't have guts to do that. And where can i get pre root image for fw 5.1.1 without making it myself?

I just owned an android phone for few months and to get my Z3C rooted it took me nearly 4 hours and dozen of fail that i don't want to repeat it again.
[Xperia Z3 Compact General] Lazer72:
You absolutely do not need an Unlocked Bootloader to flash Prerooted firmware.

Just follow OP.

It's better to make your own.
[Xperia Z3 Compact General] whc2001:
Hi I completed the root process and applications like LuckyPatcher can work now.But when I type "su" in the adb shell,it says"/system/bin/sh: /system/xbin/su: not found".There is no system confirm window on my phone.How can I resolve it?
[Xperia Z3 Compact General] grinna:
Not'm finding the option (Power OFF Steps 41) on the recovery, someone help me
[Xperia Z3 Compact General] grinna:
Help ,in step 44 after putting the cable into the device, the FlashTool show this message 24/003/2015 12:03:24 - ERROR - Can not read the byte value

24/003/2015 12:03:24 - ERROR - Error flashing. Aborted

24/003/2015 12:03:24 - INFO - Device connected in flash mode

24/003/2015 12:03:24 - INFO - Device disconnected

24/003/2015 12:03:27 - INFO - Device connected in flash mode

24/003/2015 12:03:35 - INFO - Device disconnected
[Xperia Z3 Compact General] Lazer72:
Try using a different cable.
[Xperia Z3 Compact General] grinna:
but yesterday I did the flash with the plumb original cable, and now in step 44 is giving this problem and now the device is in the boot screen and giving reset all the time 24/057/2015 13:57:49 - ERROR - Can 't read byte value

24/057/2015 13:57:49 - ERROR - Error flashing. Aborted

24/057/2015 13:57:50 - INFO - Device connected in flash mode

24/057/2015 13:57:50 - INFO - Device disconnected

24/057/2015 13:57:53 - INFO - Device connected in flash mode

24/057/2015 13:57:49 - ERROR - Can not read the byte value

24/057/2015 13:57:49 - ERROR - Error flashing. Aborted

24/057/2015 13:57:50 - INFO - Device connected in flash mode

24/057/2015 13:57:50 - INFO - Device disconnected

24/057/2015 13:57:53 - INFO - Device connected in flash mode
[Xperia Z3 Compact General] Snoe II:
Try using another FTF file

http://xdaforums.com/z3-compact/help/flashtool-error-message-t3195748