yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact General] troublecro:
I tried as a guest/new acc,still the same. USB debugging is turned on in dev options. Handshake accepted.
[Xperia Z3 Compact General] :
Try a different cable....

Gesendet von meinem GT-P5210 mit Tapatalk
[Xperia Z3 Compact General] fedakpeter:
I tried on my z2 mm 575, had lots of errors in window during installation but after installation it booted in recovery, phone rooted and busyboxed.

Is there anything what may cause troubles if I keep it as is? I haven't had any troubles so far...
[Xperia Z3 Compact General] Depressed T.Bear:
Well, then I don't know.... You can try RecRoot 4, it works pretty good in nearly every pre-rooted firmware. Just download RecRoot Combined v4, unzip it and run the install.bat (USB-Debugging ON & accepted on device, no adb running in background before executing install.bat).

Well, take a reboot and if afterwards everything's working (Recovery, Root, Busybox).. then you're good to go :fingers-crossed:
[Xperia Z3 Compact General] troublecro:
Will it delete my DRM or is it safe like this one?
[Xperia Z3 Compact General] Slnz:
Hi all !

Well, I'm looking for rooting my z3 compact, and I don't understand how to do this with this app. I've executed correctly the install.bat file inside the zip file's main folder. After some research, I found how to access to the recovery mode. But what is the next step ?

I have to install a superSu.zip, but where to find it ? It's iovyroot, chargemon.sh, byeselinux or something like that ?
[Xperia Z3 Compact General] Depressed T.Bear:
As long as you dont unlock your bootloader via Sony official - you're save! Just make sure you pick the section "LB/UB supported [Windows/Flashable]" and follow the instructions.

After rooting, you should perfom these steps (found here) to backup your DRM keys:

-- Backup DRM keys/TA Partition --
1. Get backup ta tool from https://github.com/DevShaft/Backup-TA/releases
2. Unzip it!
3. Ensure phone is still connected (or reconnect it)
4. Run Backup-TA.bat
5. Read the information and follow the instructions given by the tool.

Hit "thanks" if I could help you :)

If you have access to the recovery, you also should have root and busybox installed. Download and install Root Checker (freeware) to verify your root status! Reply back if you run into any problems :)

---------- Post added at 04:41 PM ---------- Previous post was at 04:07 PM ----------

Otherwise, download and flash SuperSU v2.76 in Systemmode (none-systemless) via recovery!
[Xperia Z3 Compact General] Slnz:
Yes ! Root checker told me that I was not rooted, but after installing superSU, all seems ok.

Thanks a lot for your help !
[Xperia Z3 Compact General] Depressed T.Bear:
Good to hear :) No problem that's why we're here! :angel:
[Xperia Z3 Compact General] Eule1408:
Try running Windows with advanced start option to allow drivers installation without signatures. It is described here http://www.tenforums.com/tutorials/2294-advanced-startup-options-boot-windows-10-a.html

Then run the .bat again. That's the way it worked for me.
[Xperia Z3 Compact General] troublecro:
I'll try,thnx...(EDIT: nnothing,same errors,it seems there is insane resistance by my phone to get rooted,screenshot attached)

Eule,does that same goes for Win7? I got a lot of these signatures BS when i installed drivers in Win7
[Xperia Z3 Compact General] troublecro:
THANK YOU!!! It worked....but another error now.... no devices/emulators found. Reboots but into OS...no green light

DONE!!! MTP mode was needed and recovery installed succesfully....got into it after restart!

What do i do now? I've put SuperSU from link provided here onto SD card,i install it?
[Xperia Z3 Compact General] Depressed T.Bear:
:highfive: Finally! :) Great to hear! I hope everything works as expected :fingers-crossed:

---------- Post added at 05:38 PM ---------- Previous post was at 05:36 PM ----------

If you did it with RecRoot v4: No further actions needed, you should be rooted now!

With the tool in this thread: Install (flash) SuperSu via Recovery :good:
[Xperia Z3 Compact General] troublecro:
Ok,i installed SuperSu....what now? Am I rooted or I need to do sth more? :D

I got SuperSu in apps
[Xperia Z3 Compact General] Depressed T.Bear:
Check with Root Checker if everythings working (Link in my previous post here)

If yes: Great! If not: :( report back ( :D )

Don't forget to backup your DRM keys now... just in case :angel:
[Xperia Z3 Compact General] troublecro:
I did,I instaleed DNSset and WiFi slowness is a thing of history,phone is usable again :D
[Xperia Z3 Compact General] lezius:
Yes, it work for me using the step I said (maybe other would work too). I need SD card rw for synology cloudstation to sync some data in multiple directory of the SD card. I can do It.
[Xperia Z3 Compact General] agile2011:
Thanks a lot !!!!

Regards
[Xperia Z3 Compact General] blichtbg:
I have to say a big thanks to Russel5 for this great tool.

I always hesitated to root since I neither wanted to unlock the bootload nor lose all the applications. But when I found this thread I finally dared to give it a try and it worked beautifully. My Z3C was already on 5803 so it was quite straight forward and I'm enjoying root & recovery since. :)

Of course just a few days later the new update arrived and is bothering me daily.

I've read all the threads especially those on page 14 and the next few. I'm willing to try the described procedure

Proceedure (Starting from rooted 575)

- Flash 291 excluding KERNEL

- reboot

- Re-Apply root proceedure (TWRP, SUPER SU...)

- reboot

- Flash 291 kernel

- reboot

- enjoy rooted 291 FW

But I've still got a dumb question which is probably obvious to you. Does the above flashing affect the installed apps and data and do I have to reinstall those? If so, can I just restore a backup from Titanium Backup or do I have to exclude something (system apps?) from it? Thanks.
[Xperia Z3 Compact General] :
Hi, no, all your apps stay as on a regular update. Just make sue in flashtool not to wipe data :)

Gesendet von meinem GT-P5210 mit Tapatalk
[Xperia Z3 Compact General] jacobs0n:
worked like a charm! i was on .291, flashed .575 kernel, installed this, then flashed .291 kernel. :D
[Xperia Z3 Compact General] MechaBouncer:
And here I was under the impression that I would have to wipe all my data in order to flash .291. That's good to know. Thanks!
[Xperia Z3 Compact General] tazzaborro:
It worked perfectly! i was on .291 and used this tool after flashhing .575 kernel.

Btw, I cannot boot into recovery anymore ( neither using volume+ or apps like quick reboot). Is there something I didn't get?

-----

ok solved, finally it worked
[Xperia Z3 Compact General] edthedread:
does this work on z3 tablet compacts??
[Xperia Z3 Compact General] blichtbg:
Thanks GeScha for your response. That's good news. And I wasn't the only one who wasn't sure, either. :)

Another quick question: How do I decided which .FTF I use for flashing. Specifically should I use the new 23.5.A.1.291 - Unbranded - CE1 [Central Europe] (1288-7915) or 23.5.A.1.291 - Unbranded - Germany (1289-4696)?

What are differences and benefits? I'm guessing I'm having 23.5.A.0.575 - Unbranded - Germany (1289-4696) on my phone since it's a German Z3C but don't know how to check that. Either way, does it matter which firmware I use?
[Xperia Z3 Compact General] :
You find it in service menue (access via dialer *#*#service#*#*) and i think in software. Customization. Differance is what bloatware is included :)...i use 4696 in Austria...quite plain....

Gesendet von meinem D5803 mit Tapatalk
[Xperia Z3 Compact General] Matteo Mazzu:
Is it normal to lose the DRM? My picture are awful now :(
[Xperia Z3 Compact General] relu666:
No it is not normal, as I followed the steps and my Z3C D5803 is ok:

(Starting from rooted 575)

- Flash 291 excluding KERNEL

- reboot

- Re-Apply root proceedure (TWRP, SUPER SU...)

- reboot

- Flash 291 kernel

- reboot

- enjoy rooted 291 FW
[Xperia Z3 Compact General] Matteo Mazzu:
I was on concept, and everything was normal.. I relocked, flashed the .575 and did the root, and now the photo in the dark are really "pixeled"..
[Xperia Z3 Compact General] sayhellotwoheaven:
to all who have the "No Directory" issue:

try to install RecRoot. It should failed to install.

Now, try to install the recovery_for_MM575 from this thread again. Device will reboot to TWRP
[Xperia Z3 Compact General] guusw:
Worked on 23.5.A.1.291 official ugrade (Netherlands). Downgraded the kernel to " western Europe" .575 version (with flashtool from xda), run install.bat + installed UPDATE-SuperSU-v2.7620160630161323.zip. Was root then with TWRP. then flashed the 23.5.A.1.291 kernel again.

DRM keys still in place! All conform instructions! Thank you!
[Xperia Z3 Compact General] wikitiki:
Installed MM 575 and tried to run but getting the message below. Any solution?
[Xperia Z3 Compact General] Eule1408:
Look at post #266 or try it in windows with advanced boot options.
[Xperia Z3 Compact General] shoey63:
Try copying the adb file from...<Path to tool> \files to C:\Windows \System32 and run it again.
[Xperia Z3 Compact General] troublecro:
Hm guys,I had big battery drain so i decided to do factory reset + total wipe from recovery(like on SG Nexus before). Since i did that phone is stuck for half an hour on boot animation. Can't access recovery and nothing happens.

WTF did I do? :D

Found guide,flashed generic rom,works now lol

Can i flash this one trough recovery provided here?
[Xperia Z3 Compact General] Visas:
A fast question gents: I have downloaded .291 via Flashtool in order to reinstall its kernel after the successful root. However, after the download Flashtool asks me the following: "A FSC script is found : default. fsc. Do you want to add it ?" Shall I click to yes or no? :rolleyes:

Thanks in advance!
[Xperia Z3 Compact General] brockn1985:
No! You don't need the FSC-Script.
[Xperia Z3 Compact General] Visas:
Thanks for your help, on this way I had no issue. :)
[Xperia Z3 Compact General] Shadow4945:
I have the following problem. Firmware and kernel is 575.

can someone help me?

Regards
[Xperia Z3 Compact General] b4b4.4l1:
Hello there. I'm a little confused here. Which stock .575 do I need? D5803 or D5883? My phone is D5883 btw and currently on 23.4.A.1.232. This is the first time I'm gonna flash and root my phone, so don't wanna mess it up, let alone losing the DRM keys.

Anyhelp is much appreciated :)
[Xperia Z3 Compact General] LDI:
My D5803 is on stock MM.291 firmware with locked bootloader. Has anybody tried to run this utility on MM.291 or it works strictly for MM.575 only?
[Xperia Z3 Compact General] casouzaj:
Just flash the kernel only from the 23.5.A.0.575 ROM, run the root and recovery tool, install SuperSU through TWRP, then flash the 23.5.A.1.291 kernel back.
[Xperia Z3 Compact General] patch18:
Hi, I am very new to the world of kernels/rooting etc and have spent the last 2 days trying to get a better understanding. I have 23.5.A.1.291 stock on my Z3C with a locked bootloader and no root.

I'm sorry to ask such a silly question, but how do I go about flashing the kernel from 23.5.A.0.575? I have looked at guides, but they are from 2-3 years ago and talk about extracting the kernel.sin file? Do I choose flashmode or fastboot?

If you could point me in the right direction I'd be most grateful.

Thanks.
[Xperia Z3 Compact General] shoey63:
[MENTION=346743]casouzaj[/MENTION] is very helpful to Z3c users. Maybe he can assist?
[Xperia Z3 Compact General] casouzaj:
In Flashtool, select flashmode. To flash only the kernel (the Linux core) from a full ftf, mark all the checkboxes in the exclusion column, except the kernel one. Only kernel.sin should remain in the list of components to be flashed.

EDIT: here http://xdaforums.com/z3-compact/general/list-stock-firmwares-d5803-d5833-t2906706 is an extensive list of ftf files. Choose the one from your specific model, preferably from your current ROM's market.
[Xperia Z3 Compact General] patch18:
Thanks Casouzaj, this is what I ended up doing. I 'think' the kernel installed because I was able to run the install.bat. As per the suggestions in the thread, I closed Flashtool before running install.bat. I put the phone into MTP USB debugging mode also. I can't seem to install 'install.bat' properly:

* server not running *
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

Device Detected!

Installing ...

mkdir: '/data/local/tmp/mm_twrp_recovery_install': File exists
[100%] /data/local/tmp/mm_twrp_recovery_install
[100%] /data/local/tmp/mm_twrp_recovery_install
[100%] /data/local/tmp/mm_twrp_recovery_install
[100%] /data/local/tmp/mm_twrp_recovery_install
[100%] /data/local/tmp/mm_twrp_recovery_install
[100%] /data/local/tmp/mm_twrp_recovery_install
[100%] /data/local/tmp/mm_twrp_recovery_install
[100%] /data/local/tmp/mm_twrp_recovery_install
[100%] /data/local/tmp/mm_twrp_recovery_install
chmod: /data/local/tmp/mm_twrp_recovery_install/busybox: Not a directory
chmod: /data/local/tmp/mm_twrp_recovery_install/install_twrp_recovery.sh: Not a
directory
chmod: /data/local/tmp/mm_twrp_recovery_install/iovyroot: Not a directory
chmod: /data/local/tmp/mm_twrp_recovery_install/modulecrcpatch: Not a directory
/system/bin/sh: /data/local/tmp/mm_twrp_recovery_install/iovyroot: not found

Finished!

Rebooting into TWRP recovery ...

Press any key to continue . . .

I saw the suggestion about Windows 10 and advanced mode, but I am on a Win 7 x64 computer. I have run the install.bat 4-5 times with the same result. Do you think I should try RecRoot Combined v4??

Yes this is exactly where I got the FTF files from - thanks.
[Xperia Z3 Compact General] casouzaj:
Yes, Flashtool should not be running whist running install. bat, because it keeps its own adb session running. With a file browser in your phone, delete the directory /data/local/tmp/mm_twrp_recovery_install and try to run install.bat again.
[Xperia Z3 Compact General] patch18:
I cannot seem to find the location on my phone. I tried 3 different file browsers - could this be because I am not already rooted?
[Xperia Z3 Compact General] casouzaj:
Yes, you're not rooted! You could start all over again. Witch ROM is in your phone now?
[Xperia Z3 Compact General] patch18:
I have the 23.5.A.1.291 stock with the 23.5.A.0.575 kernel.

Should I flash back to the 291 kernel and then start all over again? I thought that this whole process was to enable a locked stock non-root Z3C to get root and recovery?

Sorry for the confusion - my brain is scrambled from all the reading!

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

I think I might have worked out the issue? I have the same phone as you (D5833) and all the versions of the firmware I have downloaded are for the D5833. What version (or is it called baseband?) do you have installed on your phone?

Do I need to have the D5803 firmware installed to have this root working?
[Xperia Z3 Compact General] casouzaj:
Yes, it's meant to provide root and TWRP to stock ROMs for Z3 and Z3C with locked bootloader, running either the 575 or the 291 ROM. Yours just didn't finish installation!
[Xperia Z3 Compact General] patch18:
Sorry about that! I am going to start fresh. I have my 291 ROM and I will flash the 575 kernel - then I will try the install.bat again.

I noticed Flashtool asks 'A FSC script is found: default.fsc Do you want to use it?' As I am just flashing to an older kernel, do I still press yes?
[Xperia Z3 Compact General] M1chiel:
No, do not use the FSC script.
[Xperia Z3 Compact General] patch18:
Hi M1chiel, thanks for letting me know. In the interest of learning, why do I select no? Also, if I was to flash to any other ROMs at a later date, would I continue to press no?
[Xperia Z3 Compact General] casouzaj:
No!
[Xperia Z3 Compact General] patch18:
Thanks

Please bare with me as this was my first time doing all of this root/flashing business. There's loads of information on here and it can be a little overwhelming so I thought I'd try sharing a guide for when it doesn't go so smooth.

Before starting this whole process I was on 23.5.A.1.291 stock ROM, no root and locked bootloader.

TL;DR Had issues getting this to work on a D5833, lots of reading through this forum got me there in the end.

@casouzaj was kind enough to explain to me how to flash just a kernel. Little did I know that'd be the easiest part of it all.

These were my steps:

1. Tried to run install.bat files from OP - get device not supported error (even though others with D5833 could get this to work).

2. Got updated iovyroot binary from @Shoey63 in post #138 and tried to run install.bat again (from OP) - this time I was able to progress further and get TWRP recovery installed.

3. Phone booted into TWRP (finally getting somewhere). I booted back in to the main system only to find that I did not have root.

4. Installed Recroot 4 Windows/Flashable knowing it would fail per @sayhellowtwoheaven's post #266.

5. I put BETA-SuperSU-v2.71-20160331103524.zip on a SD card and then ran install.bat from the OP again. Got into TWRP recovery, but could not install SuperSU. Error in TWRP recovery would say something about boot image patcher aborting because it couldn't extract ramdisk. I tried newer versions of SuperSU and same thing.

6. Saw on post #243 by @Depressed T.Bear to download UPDATE-SuperSU-v2.76-SYSTEMMODE(none-systemless). Copied that on to SD and booted in to recovery. Was able to finally install SuperSU without errors. (No idea why it worked!).

7. Rebooted phone to find Super SU asking to grant access - success!!

8. Flashed back to the 291 kernel as instructed in Shoey63's post #138.

9. I did a BACKUP TA as recommened in post #243 by Depressed T.Bear.

Thanks to you guys for sharing your wealth of knowledge. I'm embarrassed at how I managed to stuff it up so badly, but I got there eventually. I am sorry for the long post, but I just thought it might be helpful to someone.

Time for a beer.
[Xperia Z3 Compact General] casouzaj:
Glad that you did it! I think you had issues whilst installing SuperSU because you installed RecRoot beforehand. You didn't have to install RecRoot, just SuperSU! Nevermind, everything is fine now. You have root and TWRP. Congratulations on your achievements!
[Xperia Z3 Compact General] patch18:
Which version of SuperSU worked for you? I tried reading up about the differences between systemless/system mode SuperSU and it was like reading another language!
[Xperia Z3 Compact General] casouzaj:
Don't worry about it! The systemmode one is just fine. Systemless root, in which the boot partition is patched, instead of the system one, doesn't work in our devices.
[Xperia Z3 Compact General] khalisz:
Hi, it does not works.

How ?

Thank you.
[Xperia Z3 Compact General] casouzaj:
Any details? Error messages on the command widow, steps you followed, etc.
[Xperia Z3 Compact General] khalisz:
I used the wrong MM rom .291

I'll try again with the MM .575
[Xperia Z3 Compact General] casouzaj:
Right! But you know that you can keep the newest 291 ROM. You just need to install the 575 kernel, prior to running the tool, then install SuperSU under TWRP, and, finally, install the 291 kernel back.
[Xperia Z3 Compact General] khalisz:
The root works! :)

Alright thanks again.

Edit : where I can find the kernel 291 ?
[Xperia Z3 Compact General] blichtbg:
Great, i also was able to update myself rooted 575 to 291 without big difficulties.

I shied away from flashing before. But with all the helpful tools and instructions here at XDA it was much less complicated and risky than I thought. Thanks.

I still have one question. Did flashing 291 actually remove the OTA update files? It seems to me there wasn't enough memory released.

How can I check it out and maybe find and delete it to gain more internal memory again?
[Xperia Z3 Compact General] cha0zine:
* server not running *
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

Device Detected!

Installing ...

mkdir: '/data/local/tmp/mm_twrp_recovery_install': File exists
[100%] /data/local/tmp/mm_twrp_recovery_install
[100%] /data/local/tmp/mm_twrp_recovery_install
[100%] /data/local/tmp/mm_twrp_recovery_install
[100%] /data/local/tmp/mm_twrp_recovery_install
[100%] /data/local/tmp/mm_twrp_recovery_install
[100%] /data/local/tmp/mm_twrp_recovery_install
[100%] /data/local/tmp/mm_twrp_recovery_install
[100%] /data/local/tmp/mm_twrp_recovery_install
[100%] /data/local/tmp/mm_twrp_recovery_install
chmod: /data/local/tmp/mm_twrp_recovery_install/busybox: Not a directory
chmod: /data/local/tmp/mm_twrp_recovery_install/install_twrp_recovery.sh: Not a
directory
chmod: /data/local/tmp/mm_twrp_recovery_install/iovyroot: Not a directory
chmod: /data/local/tmp/mm_twrp_recovery_install/modulecrcpatch: Not a directory
/system/bin/sh: /data/local/tmp/mm_twrp_recovery_install/iovyroot: not found

Finished!

Rebooting into TWRP recovery ...

Press any key to continue . . .

Phone doesn't boot into TWRP. I'm out of ideas. I'm running Windows 10 64-bit. Could someone help?

edit: just tried it in advanced boot mode but still no go.
[Xperia Z3 Compact General] casouzaj:
Try the new v4. It deletes previous installation beforehand, if existent.
[Xperia Z3 Compact General] cha0zine:
v4? Sorry I don't understand. Care to explain? Thanks!

edit: got it working by doing this
[Xperia Z3 Compact General] casouzaj:
Version v4 is the current one present in the OP. And what you did is what it does if that folder is present.

---------- Post added at 01:17 AM ---------- Previous post was at 01:16 AM ----------

EDIT: Sorry! I was referring to this thread: http://xdaforums.com/z3/general/recovery-root-mm-575-291-lb-t3435214
[Xperia Z3 Compact General] Matteo Mazzu:
Hi! I'm on .291,rooted, with Xposed, everything going perfect! Just it seems I can't eliminate system apps (I usually use SD Maid). Only "my Xperia" got eliminated. Is there a reason why? (Anyway, I managed to hibernate them)
[Xperia Z3 Compact General] russel5:
Thread updated, enjoy.
[Xperia Z3 Compact General] frfrarchive:
Hi guys,

I clicked 'yes' when it asked me if i want to use FSC script or not, while im flashing .575 kernel. But i saw that my phone still have .291 kernel after the process. I flashed .291, then .575 again with clicking 'no' when it asks me about FSC script. But i still have .291 kernel. What should i do?
[Xperia Z3 Compact General] casouzaj:
The 291 is the ROM's name. You must look at the kernel date, under Settings > About phone. If it's dated April 2016, then it's from the 575 ROM.
[Xperia Z3 Compact General] yigit84:
How can I flash my device? My phone is UNROOTED version 6.0.1 - 23.5.A.1.291 - D5803

Are there any guide for this topic? Can you help?
[Xperia Z3 Compact General] fluffi444:
You just quoted the guide... ?

If that is not enough then Google how to use flashtool for Xperia devices.
[Xperia Z3 Compact General] casouzaj:
Download both the 575 and the 291 kernels from the OP and place them in C:\Users\your_ user\.flashTool\firmwares. Launch Flashtool, click on the lightning icon, select flashmode and the 575 kernel, and click on Flash. A connexion window will come up. Turn your phone off and hold the volume down button whist plugging the USB cable in. When finished, disconnect your phone from your PC and turn it on. Then, if the USB debugging seeing on not active, activate it.

Now, on your PC, run the install.bat file and connect your phone. At the end, it will be rebooted, and enter TWRP automatically this first time. Whist on it, install, at least, the SuperSU zip. You can install other zips too, like the Xposed one, for example. After you finish installing them, tap Reboot > Power off.

Then, repeat what you did when you flashed the 575 kernel, but now for the 291 one, instead. At the end, turn your phone on. Done!
[Xperia Z3 Compact General] yigit84:
Flashmode does not work. Flashtool can't find the kernels. I opened and extracted the zip files(kernel) but nothing changed. Can I use the fastboot method?
[Xperia Z3 Compact General] casouzaj:
Just rename kernel575.zip to kernel575.ftf. Do the same for the 291 one.