yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact General] Marília de Oliveira:
Well I noticed yesterday when I did the root on 291 lost root and TWRP asked I refresh and it created a log in facility. Well I don't know if that has something to do more I ended up opting for twrp old and had no problems I tried it in two Z3C. Anyway the old recovery is working at least with me I left the link to if someone has the same error that I had to use. good job
[Xperia Z3 Compact General] unpair:
Hi,yesterday i posted this on Slimm ROM thread:"HI, i tried to flash this ROM but i got this error: UUID link to system partition does not exist.

I am on TWRP 3.0.3 (if i remember well) locked bootloader D5803

Flashed eXistenZ with no problem

Might be a recovery incompatibility?

Thank you "

Tonight i went back to twrp 3.0.2 (thanks Marilla) and i managed to flash Slimm Rom.

For the records:)

Thank you for your work :)
[Xperia Z3 Compact General] gtpy:
.291

Hi,

when I have .291 actual MM - need I to flash the .575 Kernel via flashtool first?

I am a little bit confused:eek:, cause its my first time to root an xperia.

Thanks a lot.

owned devices
Evo 3d - shooteru - rooted, unlocked
Z3c - D5803, not rooted yet, not unlocked yet
[Xperia Z3 Compact General] casouzaj:
Yes! The tool which actually achieves root access, iovyroot, called by the install.bat and runs on your phone, only succeeds if the kernel present is from the 23.5.A.0.575 firmware. It's a true luck that our phones, although running the 23.5.A.1.291 ROM, are able to boot up with an older kernel. After you manage to install the SuperSU zip under TWRP, don't forget to flash the kernel from your current firmware back.
[Xperia Z3 Compact General] gtpy:
Thank you a lot for the quick answer.

I'll try it out today after work, if I have enough time :D
[Xperia Z3 Compact General] gtpy:
great it work

Hi,

Thanks a lot @casouzaj for the great help.:good::good::good::D

Rooting with your help was pretty easy.

Installed superSU and busybox.

Next step is to free my Rom from bloatware.

UB will follow.

Maybe try to find a great cutom Rom, or go in education for creating some own things.
[Xperia Z3 Compact General] casouzaj:
Glad that you managed to do it. I've already been through all phases. Currently running the 23.5.A.1.291 firmware in my Z3C, with its bootloader unlocked, but with all my DRM keys active and SafetyNet test passed fine. PM me if I can help you any further.
[Xperia Z3 Compact General] DaLioS Hellas:
Im flashing in 575 throught flashtool and flashmode ( no errors appearing ) but my version stucks into 291. What im doing wrong. Ive did this guide two months ago with success but know i forgot the exact steps. Any help? Thank you.
[Xperia Z3 Compact General] M1chiel:
The firmware version remains the same if you only flash the kernel. Check this post: https://xdaforums.com/z3-compact/general/recovery-root-mm-575-lb-t3418714/post69509671
[Xperia Z3 Compact General] DaLioS Hellas:
Its done bro. Thank you! <3
[Xperia Z3 Compact General] Theseum:
I used this guide and method way back and was fast and painless, so thankyou!

However I've stupidly messed up my recovery somehow using flashfire to try flashing a zip. Trying to get into recovery turns the led pink for a moment but then goes to decrpt screen and normal boot, not into recovery. I think the init sequence was messed with.

Is there some way to fix/flash recovery with no computer? I have Terminal emulator, root, root file manger etc.
[Xperia Z3 Compact General] M1chiel:
It should work with the twrp app you can download from the play store.
[Xperia Z3 Compact General] Theseum:
The very 1st thing I tried, no change. The links that app provides are broken (do not point to the actual twrp img files), but I did a backup through that prior, which gave me a 16mb .img and flashing that back did not fix it either. Does it account for locked bootloader?
[Xperia Z3 Compact General] robertorpg:
I wear

.291 firmware

If I change to .575, will I lose my data from my cell phone?

Is there a way that I do not take this risk?
[Xperia Z3 Compact General] casouzaj:
You need to flash only the kernel from the 575 firmware through Flashtool (in Flashmode), not the full ROM. And no, by flashing that kernel, you won't loose any of your data.
[Xperia Z3 Compact General] russel5:
Thread updated, enjoy ;)
[Xperia Z3 Compact General] robertorpg:
help
[Xperia Z3 Compact General] casouzaj:
Have you flashed the kernel from the 575 firmware prior to running the install.bat file?
[Xperia Z3 Compact General] robertorpg:
yes,
[Xperia Z3 Compact General] casouzaj:
Please, post a screenshot of the section of your 'Settings > About phone' which shows the kernel information.
[Xperia Z3 Compact General] russel5:
No. You don't

gc14c2d5 it's a 291 kernel

Please learn2use your device, flashtool and read some basical guides

For what? All needed info on first screenshot :eek:
[Xperia Z3 Compact General] casouzaj:
Yes, of course! Silly me!
[Xperia Z3 Compact General] Theseum:
Decryption not working still in twrp 3.1.0-0. Trying to decrypt ..... password failure, as previous versions. (upper/lowercase, symbols and numbers).

I fixed my other problem to get into recovery by flashing kernels and running installer again.

Tips for newbies like me:

DO NOT use Flashfire or bother with recovery manager apps etc, it disables this method of recovery. There are different methods and places to install recovery(twrp) - this one exists in system, see here.

Xposed is much more prone to bootloop on an encrypted phone. Almost certain..

Things to try if bootlooping with xposed:

Disable xposed while booting by holding power button until it vibrates, then press power 4 times quickly, it will vibrate each time then give a long vibrate to say it is disabled. Phone should then boot.

Try mashing the power button a while into boot process then hold a few times where it should normally get into lockscreen. It interupts somehow/ stops it freezing near the end of boot and brings up the power-off menu preventing a bootloop sometimes.

Use less xposed modules.

Put xposed uninstaller on external sdcard, its a lifesaver if all else fails, is a way to wipe dalvik cache and start optimising process if you can't do it from recovery.
[Xperia Z3 Compact General] russel5:
I think this is right, because when you encrypt your phone you want to protect your info and other things. But if you can decrypt this protection with open source recovery what kind of protection is this then :confused:

I think this decryption will works only on AOSP based firmwares. This is my IMHO.
[Xperia Z3 Compact General] Theseum:
Edit: messed up, please ignore/delete, can't remove own post(???)
[Xperia Z3 Compact General] deathdefiler:
Hey guys some help would be appreciated

Ive rooted my Phone few times when it was back on kitkat and all went pretty smooth

But now i encounter a problem in flashtool.

Im on the .291 kernel and i have to flash the .575 kernel in order to proceed with the steps but flashtool gives me an error

23/029/2017 14:29:54 - INFO - Now plug your device in Fastboot Mode

23/029/2017 14:29:55 - INFO - Please wait device is rebooting into fastboot mode (via Fastboot)

23/029/2017 14:29:55 - INFO - Device will soon reboot back into fastboot mode

23/029/2017 14:29:55 - INFO - Device disconnected

23/029/2017 14:29:58 - INFO - Device connected in fastboot mode

23/030/2017 14:30:01 - INFO - Now plug your device in Fastboot Mode

23/030/2017 14:30:10 - INFO - Selected kernel (boot.img or kernel.sin): C:\Users\19kev\Downloads\D5803 root\kernel\kernel.sin

23/030/2017 14:30:10 - INFO - Flashing selected kernel

23/030/2017 14:30:11 - INFO - sending 'boot' (11328 KB)...

23/030/2017 14:30:11 - INFO - OKAY [ 0.367s]

23/030/2017 14:30:11 - INFO - writing 'boot'...

23/030/2017 14:30:11 - INFO - FAILED (remote: Command not allowed)

23/030/2017 14:30:11 - INFO - finished. total time: 0.370s

23/030/2017 14:30:11 - INFO - FASTBOOT Output:

sending 'boot' (11328 KB)...

OKAY [ 0.367s]

writing 'boot'...

FAILED (remote: Command not allowed)

finished. total time: 0.370s
[Xperia Z3 Compact General] casouzaj:
As you have a locked bootloader, select Flashmode, in Flashtool, to flash the kernel, which should be in ftf format.
[Xperia Z3 Compact General] deathdefiler:
thank you for the reply that indeed got the job done

but after flashing the .575 kernel it ask to run the script, i choose yes

run install.batt all runs fine with no errors

at the end it says Phone wil boot into recovery mode

but it wont boot into recovery mode

tried al key combo's but no luck

it seems that no recovery got installed

Also when i check my device it says im still on .291 kernel
[Xperia Z3 Compact General] casouzaj:
Run the install.bat again. Your phone should enter TWRP at the end of the process. Otherwise, if possible, post here the contents of the command prompt window.
[Xperia Z3 Compact General] deathdefiler:
Haha thanks m8

just ran the instal.batt again and Poof it booted into Twrp
[Xperia Z3 Compact General] kullino:
Hello,

i tried your guide, but i cant get root accsess.

Flashed back to 575 (phone shows in menu always .291).

When i start the install.bat, it installed twrp, and at the end a few errors.

Reboot is fine, starts into twrp. i installed superuser and after that flash .291 back.

I now have twrp, but no root.

i think i do something wrong?

grettings Christian
[Xperia Z3 Compact General] casouzaj:
If TWRP was installed, then you should have root access. Test it!
[Xperia Z3 Compact General] monacoo:
Does it work now after latest OTA update or not?
[Xperia Z3 Compact General] panzerox123:
Latest ota? Build version?
[Xperia Z3 Compact General] 2muchpain:
How can I download attached txt file for SliMM?
[Xperia Z3 Compact General] patojenim:
Stucked

While I was trying your guide, unfortunately I did something wrong :/ after I tried to flash kernel 575 and it went wrong saying "failed (remote: image is not a boot image) I couldn't manage to open phone again. Sony screen doesn't pass what should I do? btw I use .291 UB.
[Xperia Z3 Compact General] panzerox123:
You need to change to extension to .ftf and flash it with flashtool

EDIT: Why are you using this method if you have UB? Just follow the link in my sign ... It's much easier.
[Xperia Z3 Compact General] nri_tech1183:
I did the root process etc but now my phone is charging very slowly.

On lock screen it says charging slowly even if m charging using official charger of sony.

Also after random calls answered my screen goes blank and actually phones shuts off. I have to reboot again. M sure there ain't any hardware issue on my phone.

I have now done dalvik cache wipe and hard reset via twrp lets see if this solves the issue.
[Xperia Z3 Compact General] M1chiel:
Are you sure you flashed the 291 kernel back after you installed twrp and rooted?
[Xperia Z3 Compact General] nri_tech1183:
Ya i did.

Now all was good and now phone suddenly got switched off and now its not turning On at all. I pressed power key, no vibration, tried power + vol down, still no go. Even pressed the small reset key besides slim slot still no go.

Attached charger still its not charging nor powering on.

This happened twice today. and now its fully dead!!

WTF could had gone wrong???

Its out of warranty so no ways rushing service center.

What could have went wrong or what can we do to turn it on.??

It was 90% charged and when this occurred it was 84%. so no query of low battery charge.
[Xperia Z3 Compact General] nri_tech1183:
Today I installed the original stock firmware and boom my phone is back on track. No random power offs or any issue.

Seems this root method isnt suitable for D5833 model.
[Xperia Z3 Compact General] casouzaj:
I have a D5833 variant as well. I'm not using this rooting method anymore solely because I unlocked my bootloader, but I used it for for months, without any issues, at all. You had random reboots?
[Xperia Z3 Compact General] nri_tech1183:
refer to my issues here after the root...

https://xdaforums.com/showpost.php?p=71651761&postcount=630

I kept encountering sudden death at random intervals. None of the phone keys worked nor anything not even the charger.
[Xperia Z3 Compact General] casouzaj:
Have you installed a SuperSU' zíp whilst running TWRP? If so, which version?
[Xperia Z3 Compact General] nri_tech1183:
Supersu 2.46
[Xperia Z3 Compact General] shoey63:
If your device is in such a state, you should immediately flash a full stock ftf and see if the problems persist. If they do, then it's a hardware failure that just randomly happened to occur when you were running the tool.

Edit: I see you have done that and phone is back to normal.

You need a newer supersu as suggested below.
[Xperia Z3 Compact General] casouzaj:
This SuperSU version is outdated. At the time I used this tool I used the SR3 v2.79 SYSTEMMODE one.
[Xperia Z3 Compact General] vmiquelino:
I'm such a newbie.

Do I need to backup my files to root in this method?
[Xperia Z3 Compact General] casouzaj:
Of course you can backup your data whenever you want. Be assured that this rooting method won't touch them, at all. So, your device won't return to its factory defaults by running it.
[Xperia Z3 Compact General] vmiquelino:
Well, I'm still not getting it.

I can't flash 575 kernel and I tried to reboot on recovery but it wasnt possible too.

The error on Flashtools is:

To enter on recovery, I tried to press volume + and - buttons, but it booted normally, showing the home screen...

Can anybody help me?

---------- Post added at 09:27 PM ---------- Previous post was at 08:57 PM ----------

Actually, the Flashtool got new errors
[Xperia Z3 Compact General] casouzaj:
Connect your phone to your PC and run the install.bat file again. When the installation succeeds, at the end, your phone should automatically enter TWRP.
[Xperia Z3 Compact General] vmiquelino:
Well, the install.bat file is on 575 folder, right?

It rebooted my phone, but it didnt enter on TWRP

I couldnt flash kernel.sin (575). When I tried it, Flashtool got those errors...
[Xperia Z3 Compact General] M1chiel:
Are you using Windows 10? If yes, the drivers may not have been installed correctly. If you Google driver signature verification you'll find out how to install the drivers from Flashtool.
[Xperia Z3 Compact General] casouzaj:
I guess you are trying to flash the kernel in fastboot mode. Use Flashmode, instead. And the kernel should be in ftf format, not sin.
[Xperia Z3 Compact General] vmiquelino:
Yes, I was trying this way.

But where do I find the kernel on ftf format? There's nothing on the first post...

I wonder if it's one that I saw on other page with 1,5GB...
[Xperia Z3 Compact General] casouzaj:
If you downloaded the kernel from the OP, just rename its extensión from z
[Xperia Z3 Compact General] vmiquelino:
I changed its extension to FTF, but it doesnt show on Flashtools
[Xperia Z3 Compact General] casouzaj:
Have you copied or moved it to C:\Users\your_username\.flashTool\firmwares?
[Xperia Z3 Compact General] wolfmannight:
Device not Supported [MENTION=4688377]russel5[/MENTION]

LOG

--------------------------------------------------------------------------

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

Device Detected!

Installing ...

[100%] /data/local/tmp/mm_twrp_recovery_install/boot_twrp_recovery.sh

[100%] /data/local/tmp/mm_twrp_recovery_install/busybox

[100%] /data/local/tmp/mm_twrp_recovery_install/byeselinux.ko

[100%] /data/local/tmp/mm_twrp_recovery_install/chargemon.sh

[100%] /data/local/tmp/mm_twrp_recovery_install/install_twrp_recovery.sh

[100%] /data/local/tmp/mm_twrp_recovery_install/iovyroot

[100%] /data/local/tmp/mm_twrp_recovery_install/modulecrcpatch

[100%] /data/local/tmp/mm_twrp_recovery_install/recovery.twrp.cpio.lzma

[100%] /data/local/tmp/mm_twrp_recovery_install/wp_mod.ko

iovyroot by zxz0O0

poc by idler1984

Error: Device not supported

Device name: D5833

Kernel version: Linux version 3.4.0-perf-gc14c2d5 (BuildUser@BuildHost) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Jun 28 11:15:51 2016

Finished!

Rebooting into TWRP recovery ...

Press any key to continue . . .
[Xperia Z3 Compact General] casouzaj:
You are loaded wish the 23.5.A.1.291 kernel. You have to flash the kernel from the 23.5.A.0.575 ROM prior to ruining the tool.
[Xperia Z3 Compact General] vmiquelino:
Yes. I tried to copy only the file and the whole folder too.

Flashtools is not showing them. :(
[Xperia Z3 Compact General] OverSu:
Argh, I can't make this work...

This is what I have done :

- Start from a fresh STOCK .291 on Xperia Z3

- Start OK

- Reboot in Fastmode and flash Kernel .575 via Flashtool

- Reboot, phone stucks on logo...

I can't even pass through this in order to reflash the .291 kernel and flash the linuxrom... T.T

Any idea ?
[Xperia Z3 Compact General] x_one:
Kernel posted in op is for Z3C. What kernel are you flashing?
[Xperia Z3 Compact General] OverSu:
575 and 291 from this thead ;)

https://xdaforums.com/z3/general/recovery-root-mm-575-291-lb-t3435214

Edit:

Finally, I can flash the recovery...

But every ROM I flash via recovery bootloop, and via Flashtool (FTF) works.

Any idea ? x)

Edit: Getting work via NUT's Recovery. ;)
[Xperia Z3 Compact General] logan.in:
Thank you for your work, [MENTION=4688377]russel5[/MENTION]!

Regarding the unroot method, I read in this thread that you can simply flash the stock firmware again: unchecking "wipe user data" in Flashtool will allow me to unroot, leaving untouched all apps and data?

And how about the "unroot" option in SuperSU? That would do the job too?

Thanks to who may clarify this
[Xperia Z3 Compact General] russel5:
Yes

And yes, this option is working too.
[Xperia Z3 Compact General] Garrsett:
Sorry master. How I can enter TWRP with physical keyboard (ex: power & vol +)?
[Xperia Z3 Compact General] casouzaj:
At the beginning of a reboot session, right after the Sony Xperia screen, the led will flash on green color, along with a vibration. At that moment, press the volume down button.
[Xperia Z3 Compact General] Garrsett:
Okay I'll try it. Thank you so much, sir.
[Xperia Z3 Compact General] fluffi444:
Seriously? This is more complicated then everything I read before regarding this topic.

Guys - Why is it so difficult to rename kernel575.zip to kernel575.ftf (attention: it's FTF - not TFT) and move this file to .flashtool/firmwares folder?

Do not switch brain on and do not unzip files! Just Rename... Nothing less and nothing more...
[Xperia Z3 Compact General] LLLL_LLLL:
Seriously ? Much easier indeed :) Thanks for this !

I've updated my previous post with your remarks.

Anything else to correct/ simplify / add ?
[Xperia Z3 Compact General] shoey63:
And Windows users should allow hidden files and file extensions to be shown ?
[Xperia Z3 Compact General] fluffi444:
Good point...

But hard to understand that this has to be mentioned in an rooting thread in which some basics should be prerequisite. :o
[Xperia Z3 Compact General] wolfmannight:
[MENTION=4688377]russel5[/MENTION]

One thing i conform is This below steps not works with FlashTool...

So remove it from guide....

+ rename kernel575.zip to kernel575.ftf

+ copy ftf to the .flashtool/firmwares folder
[Xperia Z3 Compact General] wolfmannight:
New Updated Version of Flashtool not work with FTF... OP make a video of your work..
[Xperia Z3 Compact General] russel5:
:laugh::laugh::laugh:

Yeah, sure...
[Xperia Z3 Compact General] russel5:
Thread updated, enjoy ;)

Use update_recovery.zip to update
[Xperia Z3 Compact General] OGSwank:
Can someone help me. I seem to be experiencing lagging issues with my device (never had this issue before so its not hw related). It happens just before i load apps e.g the spinning icon will show for longer than usual. When loading youtube and trying to open multiple apps at once seems to be delayed at showing the images/data on screen. Anyone have an idea what is causing it? I've tried wiping the dalvik cache and cache in recovery but its still lagging.

I followed these steps to flash

flashed D5803_23.5.A.1.291_R11D_D5803_Customized UK in flashtool (chose to wipe userdata)

flashed kernel575.ftf

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

flashed kernel291.ftf
[Xperia Z3 Compact General] fluffi444:
Do it again and flash supersu at the end.

Let the system boot once before supersu flashing.
[Xperia Z3 Compact General] OGSwank:
Ok i'll try that thanks :good:
[Xperia Z3 Compact General] OGSwank:
Fixed
[Xperia Z3 Compact General] DannySB1:
Hey,

I am having a few problems with this, trying to install root on a Z3 Compact. I have flashed the older the firmware and I am now trying to run install.bat

When CMD opens I get the following message:-

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

adb server version (32) doesn't match this client (36); killing...

CMD will hang with this message indefinitely. I then noticed that if I have FlashTools running in the background and I close FlashTools CMD will show this message:-

adb: error: connect failed: no devices/emulators found

I thought it might be that I did not have Android SDK installed, so I have now installed Android Studio but I am still getting the same message.

Any ideas?
[Xperia Z3 Compact General] casouzaj:
If you are running Flashtool, Xperia Companion or other programs, which make use of adb, running in the background, close them, prior to running the tool.
[Xperia Z3 Compact General] DannySB1:
Oh my days, I didn't have USB Debugging enabled.......... 3 hours!

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

Hey thanks for the reply, I realised I didn't have usb debugging enabled :p all good now
[Xperia Z3 Compact General] petr232:
Can somebody decrypt data partition in TWRP with the latest update? I'm still getting errors, not sure if I need to change anything to make the vold decryption work...
[Xperia Z3 Compact General] petulinka1:
Hey guys,

is this even possible?

Error: Device not supported
Device name: D5803

I really don't know what's wrong - fw .291....
[Xperia Z3 Compact General] kijojo:
Hi there,

thanks for this great work!

Is there any way to use this method as a "temp root"?

I would like to uninstall most of these "bloatware"-Apps, but after that it would be great to get a unrooted device back - for using for example NFC-Payment Apps.

Thanks!
[Xperia Z3 Compact General] datumdatzgr:
Hi,

I got suspicious also. Is this "lagging" too obvious to realize? I didnt feel but i suspect.

Thanks
[Xperia Z3 Compact General] nlight84:
Lags here too, I have an unlocked bootloader... Makes no sense. Tried other roms, no issues, but need it on stock.
[Xperia Z3 Compact General] datumdatzgr:
Can you describe the degree of lagging?

Thanks
[Xperia Z3 Compact General] nlight84:
Some kind of spiking lag, not that it's so terrible, but annoying. As the others have described at launching apps and so on. Haven't measured this with any tools, but the "wheel" keeps spinning longer or it just stops and starts. Bout 1 second delay +/-.

Have deleted, reset, done a total wipe of everything(TWRP recovery), as I tough the issue was local. I can get used to it, but it's like i fly if you get me.

Haven't tried any of the other modes. Need root, remove apps and move some apps til system, unroot and that's it.

23.5.A.1.291, 6.0.1, D5803(latest stock update).

Thanks for the great work!
[Xperia Z3 Compact General] datumdatzgr:
I dont have spinning wheel in any app while loading. Could you be more specific
[Xperia Z3 Compact General] Myo Thu Htet:
Hello there, can somebody give me .291 kernel for D5833?
[Xperia Z3 Compact General] casouzaj:
In the OP there's a link for a 291 kernel. You just have to rename its extension, from zip to ftf, place it in C:\Users\your_username\.flashTool\firmwares and flash it via Flashtool, in flashmode.
[Xperia Z3 Compact General] eric-200:
pefect thanks :good: :)
[Xperia Z3 Compact General] Tokusea:
Is there any easier way to root with unlocked BL? My device is unlocked but have difficulty downgrading the kernel to root