yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact General] fluffi444:
Do not use this for 6.0.1.

Use this instead

http://xdaforums.com/showthread.php?t=3418714

Note that you need to downgrade kernel for this. Read OP carefully.
[Xperia Z3 Compact General] Neutrino1986:
Thank you mate. That worked fine for me!
[Xperia Z3 Compact General] phlegmian:
Hi,

Apologies if mentioned elsewhere on this thread. How to I unroot and remove TWRP if I have rooted using the method in this thread? So far I have unrooted through SU, and I have been applying OTA updates, but the 5.2? update boots into TWRP...
[Xperia Z3 Compact General] fraginz:
Z3 Compact D5833

Will this work on Z3 Compact D5833? Main reason want to root because of the bloatware taking storage space.

EDIT:

Seems it will work on D5833.

All links for D5833 23.0.A.2.93 firmware no longer working and I have searched, I can't find this firmware anywhere.
[Xperia Z3 Compact General] albatrossa:
Infuriating finale

The final flash seems to have undone all my work to that point. Now have an unrooted phone again. Strange.
[Xperia Z3 Compact General] charliebigpot:
Point 34 in the OP:

Get Dual Recovery installer this time, from http://nut.xperia-files.com/ you want Z3C-lockeddualrecoveryX.Y.Z-RELEASE.

installer.zip

notice how thats 'installer' this time, not the same file as in 30!

When checking nut's homepage I can't find any "..installer.zip" files anymore. Now it only says "...combined.zip", is that te file that I should use?

------------- EDIT ---------------

Saw this alert on Nut's homepage so I can answer myself :)

The packages inside this folder are the new combined zip format, you can both flash it in recovery AND unpack it on your computer to install it using the install.sh (for Linux/Mac OS X) or install.bat (for windows) files.
[Xperia Z3 Compact General] fralyx:
I got stuck at step 12 - 13

I mean the flash was complete, but then I completely unable to turn on my device, I tried to connect it back to the pc and it only flashes red led

UPDATE: I just noticed from the flashtool website, that FSC script is really important for M5 and I do clicked NO when it asked for that... my fault :crying:

luckily my bootloader still locked and I still have warranty remaining, so yea, service center it is ;)
[Xperia Z3 Compact General] Daniux:
I know this may sound stupid..but I'm stuck at point 41 (Open Flashtool and select the non-pre-rooted fw (this is 23.5.A.1.291 for example), but DESELECT system: in "EXCLUDE" make sure you check the checkbox next to "SYSTEM", flash it.)

at point 26 I've installed fw 23.5.A.1.291 (latest firwmare with root, DRM keys, recovery).

Now at point 41 it says to select the non-pre-rooted fw.

Do I have to flash the same file I've used at point 26? :confused::confused:
[Xperia Z3 Compact General] hrsh45:
can someone help me with step 15?

15. Ensure you have adb drivers installed (http://support.sonymobile.com/gb/tools/pc-companion/

i don't understand what to do :(

thx in advance
[Xperia Z3 Compact General] Sptz:
I guess I'm gonna try everything again from scratch lol
[Xperia Z3 Compact General] cicci0:
I have same result.

I haven't relock the bootloader, i have only restored drm keys with TA backup tool.

It's normal?

Inviato dal mio D5803 con Tapatalk 2
[Xperia Z3 Compact General] istux:
Restoring the TA backup automatically relocks your bootloader!

So it's normal.
[Xperia Z3 Compact General] phanmo:
I had the same problem with my Nook Simple Touch, to fix it I have Tasker run:

su

mount -o remount,rw /dev/block/mmcblk0p5 /system

through the Run Shell action at boot... I don't have my Nook with me at the moment so I can't check to be sure; I might have done it slightly differently.

You could use something like SManager, which is on the Play store, to run it at boot if you don't use Tasker.

*********The above is correct for the Nook Simple Touch, it might not be right for the Z3c, I haven't rooted yet so I can't check.*********
[Xperia Z3 Compact General] Tracy1988:
Have you tried wiping cache and dalvik cache? I'm using ES File Explorer to remove crapowares and it works prefectly but I can't uninstall apps with Titanium tho, weird. ES didn't work for me on firmware .93 but it works on .77

Sony firmwares are just weirdest craps I've seen. I had rooted, customized and removed bloatwares on many phones and they were like walks in the park except for them xperias. I think Sony is only good at being evasive. They tie apps to other files to keep you from removing them, especially with their own crappy apps. More reasons for me to hate Sony beside the crappy display on my Z3C with touch panel visible electronic patterns. No more paying for any Sony product from now on.

Anyway, I don't think you can ever get this phone working the way you wanted with Sony firmware and their bloatwares on it. I can't wait for a vanilla lollipop so I can wipe the whole thing out and start fresh. The camera isn't that good anyway (what's with all the hypes). I won't miss it a bit if I have a clean and properly working phone. I guess we all have to live with it for now until lollipop.
[Xperia Z3 Compact General] izk666:
Hi!

I have made a stupid mistake on step 40 and now I don't know what to do next.

After installing the prerooted fw, I rebooted the phone. I tried to step back installing it again, but now I can't mount /system as rw.

I haven't tried to follow next steps because I think it could be worse.

THanks.
[Xperia Z3 Compact General] jean001luc:
Anyone have any ideas about my predicament?

thanks
[Xperia Z3 Compact General] cpurick:
Trying to understand what we're doing here, please bear with me. I hate just doing stuff without an explanation.

Does this require us to use a custom recovery, or does it just make it possible? Doesn't a custom recovery require unlocking the bootloader?

How do I get to exactly stock, but rooted? I see the possibility that locking in root could require rooting, then backing up TA/DRM, and then unlocking the BL and flashing something unsigned to secure root, and then after all this we might relock the bootloader and restore TA as root. Is that what this is about? The OP doesn't really go into detail on this -- can someone explain?
[Xperia Z3 Compact General] EvilCulprit:
Everytime I try to flash using the flashtool, it says I need to install drivers.. Now I have, tried installing PC companion twice with 0 luck

On device manager, my device is called 'S1 Service' , I tried uninstalling it and installing it but won't work, still has that ! nex to it.

Edit: nvm,got it fixed
[Xperia Z3 Compact General] vesoop:
How to revert back to sony software?

Hi, thanks for this awesome guide! Everything worked perfectly for me. If I unlock my bootloader on here and install cm or any other rom how would I go back to the original (rooted) sony software & restore my drm / ta backup? Thanks.
[Xperia Z3 Compact General] istux:
Root and make a TA backup before unlocking.

Unlock.

Install any custom rom (like CM12).

When you want to re-lock, install any stock firmware with Flashtool.

Open TA backup and restore.

Done.
[Xperia Z3 Compact General] vesoop:
Oh wow that's so much easier than I thought, I thought I would have to redo the whole process! Thanks!
[Xperia Z3 Compact General] Tracy1988:
hahaha good questions you got there. I too hate doing things without understand them. I've been trying to figure out how this process works but I guess I'm not there yet. I keep going back here and read everything over and over even tho I had successfully rooted mine on first try. I'm also wondering could it be the reason that there's so many of us messing up because we don't actually understand how this process works.

A thorough explanation would be appreciated but for now I'm happy that my phone no longer has Sony crapwares. It's just temporary until lollipop and I hope things will get sorted out then.

Many thanks to the OP for this useful thread.

---------- Post added at 07:22 AM ---------- Previous post was at 07:17 AM ----------

You can flash firmware .93 and start over again. Good luck bud.
[Xperia Z3 Compact General] fmlogin:
"This gives you a 23.0.1.A.5.77 system partition, with everything else from 23.0.1.A.2.93."

Why?

Are you sure of this?

If someone flash a pre-rooted FTF with all parts included, tell me, why would only system partition be affected?
[Xperia Z3 Compact General] cpurick:
The file downloaded in step 26 (or, built in steps 27 through 32) -- and then referenced in steps 33 and 40 -- is a zip file, so you can look inside it. The system partition is included as an EXT4. Why they don't do it all in one zip I do not know. It is possible that they need Flashtool for some other purpose, but I note that when they have you run Flashhtool the only thing they want you to exclude is system. That means they want you to get kernel, baseband, FOTA, and a couple of other components from the FTF, none of which were found in the flashable zip. If you don't apply these components, and if their zip doesn't include them, then the versions in your phone will be the ones installed in step 12 -- when you reverted the phone to 23.0.1.A.2.93.

Maybe one of the devs will weigh in here on why they do it this way. I'm not trying to second guess them; I'm just interpreting what the steps accomplish as a user who prefers to have a better understanding of the process. I'm definitely not claiming to have a complete understanding of the process.
[Xperia Z3 Compact General] chardum:
Hi, just a little bit confuse. Can I use this guide to my D5833 model? how about the firmware im going to use?

thaks
[Xperia Z3 Compact General] istux:
That's because the guide is for everybody, noobs included.

PRFCreator doesn't include kernel, modem, etc... automatically. So it's easy that a noob creates a zip without these things inside.

Actually I don't know if zips linked in step 26 include anything, but, anyway, if a zip is made through PRFC with any item included, you already have a complete rom and you can stop at step 40.

For D5833, just get the proper firmwares from here: http://xdaforums.com/z3-compact/general/list-stock-firmwares-d5803-d5833-t2906706

Skip step 26, which is for d5803 only. ;)
[Xperia Z3 Compact General] cpurick:
This makes sense. I compared the prebuilt file from step 26 to a file I built with all the "Include" options selected. The instructions are appropriate if you use the prebuilt: that particular file was built without the kernel and the other includes from the original FTF. If you flash the prebuilt you're still going to need other elements from 23.0.1.A.5.77, and using Flashtool with system excluded is exactly how the PRFC instructions say to deal with it.

We're in a gray area here, where the best thing for noobs is obviously one zip that flashes everything, and then skip the complicated shutdown and Flashtool steps. But this is a truly global phone with a lot of variants, and to accommodate all the noobs you'd have to upload a bunch of zips.

And the instructions should probably be updated to reflect that the file in step 26 is only for certain phones. On the bright side, you could add all the PRFC "Include" checkboxes to the alternative steps, and then anyone who does have to take that route in steps 27 through 32 could stop and reboot after the recovery flash and skip some of the trickiest parts from the original procedure.

In fact, I'm rethinking my earlier statement that step 26 is the best route. I now think the best approach for all users would be to do steps 27 through 32, modified to add all the "Include" checkboxes in PRFC. Then, as istux said, you'd be able to stop at step 40 with a regular reboot and skip a lot of unnecessary complexity.
[Xperia Z3 Compact General] RyukuZ:
Thank you!

After all the other methods I have tried! This is the only one that worked, they didn't give enough info for a noob like me! Thanks so much. I can finally use root!:good::good::good::good::good:
[Xperia Z3 Compact General] hrsh45:
[IMG="ta"]https://s29.postimg.org/bhdoux97b/image.png[/IMG]

which option should i go for in step 26? option 1?

thx
[Xperia Z3 Compact General] M1chiel:
Yes, option 1 makes a backup of your TA partition.
[Xperia Z3 Compact General] hrsh45:
thx~! :)
[Xperia Z3 Compact General] epirater:
I tried to root/flash using this guide yesterday, but when I tried it after the final step the touchscreen had stopped working, just like here!

I re-flashed the original firmware (the first step) but its still not working :/

Anything else that can be tried? Thanks
[Xperia Z3 Compact General] hrsh45:
should i press 5 exit after that ta backup?

thx :)
[Xperia Z3 Compact General] hrsh45:
phone doesn't turn on at all or bootloop?

i used to have bootloop problem, wipe APPS_LOG & USERDATA when selecting firmware worked for me.

might not be helpful since i'm noob
[Xperia Z3 Compact General] epirater:
The phone turns on fine and the display works - but is not responsive to touch!

I tried wiping userdata, not apps_log, not sure if it'll be different, but will try, thanks.
[Xperia Z3 Compact General] hrsh45:
hi, i had used this guide to root.

i want to flash to another pre-root room, do i need to do step 41 again (flash non-pre-rooted fw but DESELECT system: in "EXCLUDE")?

thx
[Xperia Z3 Compact General] asphon:
I had a similar thing happen to me whilst following this guide for my Z3C (D5833).

It makes me wonder why exactly the second flash with the prescribed non-root firmware is even needed. In fact, it seems pretty counter-intuitive to have to replace an already rooted firmware (first step), with one that is now non-rooted. Perhaps somebody more experienced could explain the rationale of this second flash. I might try the guide again and just stop before the second flash. :rolleyes:
[Xperia Z3 Compact General] lihof:
I remember falling in the same trap, I think the trick was (like mentioned in the guide): dont do "reboot in flashmode" DO power off).

If you reboot in flash mode the non-rooted firmware gets "active" again. follow exaclty the steps and everything works :)
[Xperia Z3 Compact General] asphon:
Thanks, but I've tried this numerous times over without success—frustrating to say the least. In fact, I also tried separately flashing DualRecovery and a few other ZIPs after the pre-rooted FTF was flashed through TWRP. This didn't help.

When I arrive at booting up my phone with 23.5.A.1.291 after flashing over the FTF (and excluding SYSTEM), root is always lost. I think this guide only applies to the D5803 phone variant, not D5833 as I've got.

If anybody actually successfully followed this guide and managed to get their

D5833

phone in a rooted state with Marshmallow, I'd like to hear how you did it.
[Xperia Z3 Compact General] NS_85:
Hi, I have root on 6.0, I use SLIMM rom. Can I backup my drm keys now? Is it works on marshmallow?
[Xperia Z3 Compact General] unpair:
Ciao,

I have the same error, could you please explain how you solved?

(anche in italiano:)

Thanks

Ok i managed with

aria12

windows10 Backup-ta 9.11 found at page 96, Thank You!!
[Xperia Z3 Compact General] Matteo Mazzu:
Ok perfect!

Italian: premetto che non mi ricordavo come ho risolto esattamente, ma mi pare che fosse legato al cambio di una dll (find.exe) in sys32. Perché il programma di backup necessita di quella di Win7 mi pare.. Su Google trovi tutto se sei ancora interessato! :good:
[Xperia Z3 Compact General] blankabbs:
im using xperia zl2 sol25, I followed everything up to flashing pre root then turned it off but when I flash it using flashtool and excluded SYSTEM the flashtool gets stuck to

Kernel.sin

Flashing...

Need help pls.
[Xperia Z3 Compact General] hendrikmerkel:
Dear Users,

I do have here one Xperia Z3C (5803), which was rootet already one or two years ago. It has opened Bootloader and the owner asks me to get back the camera quality to standard.

So I do not have an original TA Backup, but I have TA BAckup of my own Xperia Z3C, which I could (?) use.

Or is there any other way to reinstall the original configuration?

Many many thanks

Hendrik
[Xperia Z3 Compact General] Snoe II:
I believe it's not possible without it own backup. Maybe some other user can shed some light on this.
[Xperia Z3 Compact General] fluffi444:
You need your own TA Backup! If you do not have it, it's lost forever... TA backups from other phones will not work.

Only solution would be to use DRM Fix. This is working to get camera quality back:

https://xdaforums.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
[Xperia Z3 Compact General] Snoe II:
Yes. I do believe so too. Thanks for confirmation.
[Xperia Z3 Compact General] OGSwank:
To create my own custom fw do i add

FTF Firmware

Z3C-lockeddualrecovery2.8.26-RELEASE.combined.zip

SR3-SuperSU-v2.79-SR3-20170114223742.zip

in PRFCreator?
[Xperia Z3 Compact General] OGSwank:
I have created a FTF with Z3C-lockeddualrecovery2.8.26-RELEASE.combined, SR3-SuperSU-v2.79-SR3-20170114223742.zip, D5803_23.5.A.1.291_R11D_D5803 in PRFCreator. I ran install.bat it boots into recovery and i flash the zip and then when i'm just about to turn off it says supersu is not installed would you like to install it even though it was. After i flash the unrooted firmware i have no root or supersu. What am i doing wrong? Attempted it twice but it still loses root.
[Xperia Z3 Compact General] fluffi444:
Why so much hassle to create pre-rooted FW? There is an fast and easy root/twrp-recovery solution available for MM FW D5803_23.5.A.1.291:

https://xdaforums.com/z3-compact/general/recovery-root-mm-575-lb-t3418714 - thanks to [MENTION=4688377]russel5[/MENTION]

(Read the thread as well - especially the hints regarding renaming kernels)

By the way: Z3C-lockeddualrecovery2.8.26 never was and is MM compatible.

If you still want to do pre-rooted FW by your own use RecRootV4 (instead of Z3C-lockeddualrecovery2.8.26)

https://xdaforums.com/z3/general/wip-sony-android-6-0-mm-t3337357
[Xperia Z3 Compact General] OGSwank:
So that is why then! i'll just use that new method then. Thanks..
[Xperia Z3 Compact General] OGSwank:
I'm getting some weird glitches after flashing with that method which is annoying me. It seems to lag loading data after i open an app. e.g settings, youtube etc will load for around 10 seconds (with the loading icon). Snapchat seems to have a continuous loading icon when i try to add someone and just lagging in general when scroll through the home screen. Any idea what is causing it?.. I've tried clear the all the caches in recovery still didn't fix it :rolleyes:

This is what i did

flashed D5803_23.5.A.1.291_R11D_D5803_Customized UK in flashtool (wiped userdata)

flashed kernel575.ftf

ran recovery bat file, booted into recovery successfully, flashed supersu

flashed kernel291.ftf
[Xperia Z3 Compact General] TheXorg:
If I plan to upgrade my bootloader to install LOS14.1, shall I upgrade my bootloader first and then backup the ta partition or should I backup the ta partition first and upgrade it afterwards? ?
[Xperia Z3 Compact General] gorgooger:
You will have to save the keys as absolute first task, because the time you unlock the bootloader, they are gone forever. Absolute impossible to get them back.
[Xperia Z3 Compact General] Crazy rider89:
Hello guys!

I've tried to downgrade my z3 compact to the following version:

23.0.A.2.93 - Unbranded - GLOBAL (1286-9917)

23.0.A.2.93 - Unbranded - CE1 [Central Europe] (1288-7915)

23.0.A.2.98 - Unbranded - Italy (1289-4008)

but I have the same problem, after the flashing I switch on my phone and I get the following message:

"The process android.process.acore has stopped unexpectedly"

And the phone enters in a reboot loop...

Now, I restored my Z3C with Xperia Companion that installed version 23.5.A.1.291. How can I get root privileges? In order to install the TWRP recovery and subsequently a custom ROM?

Thanks in advance
[Xperia Z3 Compact General] fijasko:
https://xdaforums.com/showthread.php?t=3418714
[Xperia Z3 Compact General] abc617:
In case you or anyone else was following the instructions in this thread and got the "android.process.acore" error and reboot loop, I just tried re-flashing with the following box ticked off and that got me out of the loop:

http://imgur.com/a/x6I8j
[Xperia Z3 Compact General] Unicalus:
Very important

Hello,

I spend two days before get rooted newest Android on my Sony Xperia Z3 Compact. Instructions need to be supplemented:

Step 7:

Before push FLASH button, check "WIPE USER and APP data". Without this Your phone has reboot loop. If You check this boxes, everything will be fine.

Step 41: At this time DO NOT CHECK checkboxes "Wipe user and app data". If You check - Your system after flashing will be not rooted!

Everything other is GOOD.
[Xperia Z3 Compact General] uke26:
I followed this guide a long time ago and I have been enjoying of my rooted phone very much, thanks!

Now I am having some trouble with sms not working. I found other xperia with the same problem and the "official" solution is to use PC companion and the option Repair. I am not sure if I can use that option without losing root, and it would be a pain to have to do the whole process again. So I was thinking that maybe it would be enough if I do the last steps of the guide, flashing the pre-rooted zip and the non-rooted fw.

What do you guys think, would that work like a factory reset?
[Xperia Z3 Compact General] goruntz:
restore ta partition error

can someone help me with this error ??? I'm trying to restore
[Xperia Z3 Compact General] baraharar:
I can't flash the old rom, it says it needs drivers. You did no mention drivers in your description

[IMG="https://i.imgur.com/Adje0hX.png"]https://i.imgur.com/Adje0hX.png[/IMG]

Flashing these drivers does of course also not work...

[IMG="https://i.imgur.com/D8yEuEM.png"]https://i.imgur.com/D8yEuEM.png[/IMG]

I use custom roms since Galaxy S (1), but this phone really breaks me - I wasted now 4 hours :( What am I doing wrong
[Xperia Z3 Compact General] unpair:
You need to disable driver signature in windows to install these drivers
[Xperia Z3 Compact General] luky3004:
After step 41. I lost my root and DualRecovery. I deselect "system" in Flashtool. Why? Can you help me please? Thanks
[Xperia Z3 Compact General] xtc14:
Followed the instructions, flashed D5803_23.0.A.2.93_Customized CE1.ftf first, then did all the steps and installed on TWRP Marshmallow 23.5.A.1.291 - Unbranded - Germany (1289-4696) but couldn't find the option to shutdown the phone, my bottom part of touchscreen doesn't work so I shutdown the phone by pressing volume up+power, phone vibrated and then proceeded to use flashtool and flash again D5803_23.0.A.2.93_Customized CE1.ftf with system option excluded. What did I do wrong?

Edit. Downloaded the same ROM flashed from TWRP, Wipe Delvik Cache after installing it, reboot from the app, power off (volume up + power). Then reflash non-rooted firmware (used XperiFirm) and unselect Partition and System.
[Xperia Z3 Compact General] hrsh45:
sorry about noob questions

if i just want to change firmware of my already rooted phone, should i re-root it, or skip to step 33?

if i factory reset after step 44, do i lose my root?

thx in advance
[Xperia Z3 Compact General] ardaxad:
If your goal is to only backup the TA Partition & then install a custom rom such as LOS, can you skip the steps after backing up the TA & just go straight into installing the custom ROM?
[Xperia Z3 Compact General] Alex2x3:
Is there any way to do this using a mac? I am already on the correct firmware, but am not able to use the install.sh from the terminal?

I am not sure if I am doing something incorrectly or if it just doesn't work. Any mac guides I can check out on even a similar process?