yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact General] torben5247:
I solved the issue using the latest flashtool 0.9.23.2.

It is still running hot when in use, but i changed the cpu frequencies using the kernel tool kit and the governos as --jenana-- suggested. Seems like it is running normally.

---------- Post added at 09:39 AM ---------- Previous post was at 09:32 AM ----------

Thanks --jenana-- for your reply.

Why do flash g-apps? they are included in the ftf file?
[Xperia Z5 Compact General] a2zonlyt:
Thanks to all developer,i have successfully root my phone.

but there are some issues on xposed , some apps not working like xstana it says xposed framework not found...
[Xperia Z5 Compact General] --jenana--:
It's a habbit. That way I know my Gapps are installed as system apps and my unwanted Gapps are not installed. And it might be possible that they are included in the ftf file, but I don't know how to figure out what's in a ftf before I flash.
[Xperia Z5 Compact General] marcell222:
Hi

For sure stupid question :( but I don't know how to do it.

What the simplest way to make whole rom copy to install it again using eg. Flashtool.
[Xperia Z5 Compact General] mhaha:
What is the Xposed status shown in the Xposed Installer? Do any of the Xposed modules work?
[Xperia Z5 Compact General] mhaha:
If you want a copy of pure stock firmware that you can easily flash with Flashtool, the method is described in steps 3~4. To install follow step 5.

If you want to make a copy of your current phone state that you can easily revert back to, as far as I know there's no way to do so without custom recovery. In this case, Flashtool is not the right tool to use. Instead, you'll want to make a nandroid backup, something I mentioned here, and use TWRP to restore any backups you've made.
[Xperia Z5 Compact General] a2zonlyt:
xposed status is active but some modules not working like xstana other are working.

and some time after install new module i reboot the phone then at bootanimation phone stuck and red notification light blink 4 time and phone reboots again it self.

..

some time phone reboots one time and some time it takes 5 to 6 reboots..
[Xperia Z5 Compact General] mhaha:
If Xposed status is active and you have modules working, I can only assume that the framework is properly installed, and suspect that maybe some of the modules you're reporting to not work is more module-related compatibility problems.

As for your reboot problems, try disabling all your Xposed modules and use your phone as usual for a few days. If the reboots no longer occur, then it's highly likely that one of your modules are causing trouble. Enable one at a time until you pinpoint the culprit, and don't use that module.

If you're experiencing reboots even with all Xposed modules disabled, then maybe there are normal apps that are unstable, or you still messed up somewhere during the process of rooting (a likely possibility given your recent history of replies).
[Xperia Z5 Compact General] marcell222:
Hi

Thank you mhaha for reply.

Do you have the same that I can see only 13/230 apps to manage in Xprivacy module? (can't "scroll" down to see all 230 )
[Xperia Z5 Compact General] mhaha:
Sorry, I don't use Xprivacy, also I think that's out of this thread's scope of discussion.
[Xperia Z5 Compact General] torben5247:
I want to share my experience using the rootkernel tool, it might be usefull for others.

I used the 5.23 version for my z5c.

The phone was running very hot.

Root kernel tool showed that cpu frequencyes was 1555 mhz all the time.

Lowest frequency was also set to 1555 mhz.

I used version rootkernel tool 5.11 instead and the phone was running normal.

Software version: E5823_32.3.A.0.378_R3D_NOBA_1298-7782
[Xperia Z5 Compact General] --jenana--:
Z5C has 2 CPU's. If the little one operates at 1555 all the time, that's the expected behavior of the Performance governor (more about governors, click here). In your example, this means that something set the lowest frequency also to 1555MHz. Some minor tests already showed me that some of the governors in our Z5C aren't configured properly (out-of-the-box) or just can't be loaded efficiently, but I'm not smart enough for better testing or more efficient finetuning. According to the topic about rootkernel,

it's a better workaround to flash supersu manually with TWRP

, and not as a patch with root kernel.

Performance governor isn't advised for daily use, because it always uses the CPU at the highest possible clock speed.

Interactive governor doesn't crank the clockspeed up to maximum immediately/all the time, which is more battery-friendly but (like I said) not properly configured.
[Xperia Z5 Compact General] a2zonlyt:
i am using following modules, would any of you check it for me that which module causing the reboot problem, i have tested two module

1) xstana.

2) lucky patcher.

the reason of asking you to test that when i reboot my device after uncheck the module from xposed the its reebot too many time instead of earlier, it would be very helpful if any one test these modules for me.
[Xperia Z5 Compact General] notabene:
I am running 32.2.A5.11 with root and xposed from this thread.. and got pushed. 308

How can I get rid of this update? I am just kill Ing update app in apps every reboot. Or can i install this update?

Thanks
[Xperia Z5 Compact General] a2zonlyt:
i had the same problem, then i installed an application from play store name "system app remover" then uninstall the "software update" application.
[Xperia Z5 Compact General] notabene:
Thanks, I did it, but it keeps coming back (system update reminder)..
[Xperia Z5 Compact General] a2zonlyt:
would you please show me the screenshot of it so i can figure it out.
[Xperia Z5 Compact General] --jenana--:
Feel free to open a topic in a more relevant subforum or to discuss these problems in person, but maybe we can keep this topic a bit closer to it's scoop? Which is getting root on a Z5C. And not troubleshooting Xposed or certain apps.
[Xperia Z5 Compact General] Alenos:
Thanks a lot for the tutorial. It really helped me rooting my new Z5C :)

I only got lost on step 8. Didnt know where to enter the command "fastboot flash boot boot.img". Luckily I figured out by myself. Maybe you should add it on the guide.
[Xperia Z5 Compact General] mhaha:
I thought it was trivial so I didn't explicitly spell it out, but I guess I was wrong. I've clarified in the guide to run commands in command prompt.
[Xperia Z5 Compact General] m7ia:
Excellent guide. This needs to be stickied.
[Xperia Z5 Compact General] bvebord:
Hi,

I would like to root my Z5c in order to restore deleted videos. Recovery apps require that the phone is rooted.

Currently on 6.0.1 , 32.2.A.5.11 stock. Its my understanding that rooting the phone will wipe everything and then install a new copy of OS. Wouldnt this overwrite data on the phone and make recovery of videos harder if not impossible? Please advise, thanks.
[Xperia Z5 Compact General] mhaha:
I believe your assumption to be correct. The mandatory wipe occurs when you unlock the bootloader, which is the unavoidable prerequisite to obtaining root. You will definitely risk having the data blocks rewritten, likely lowering the probability of successful recovery.

Why don't you use a PC to perform the data recovery?
[Xperia Z5 Compact General] bvebord:
In this case i will reconsider rooting for now.

Please PM me if you know any good software for recovery from PC. Thanks.
[Xperia Z5 Compact General] bvebord:
All the recovery softwares require root otherwise just shows current files and thumbnails.

So back to square one, if I root and unlock the bootloader, everything gets overwritten and maybe nothing left to recover afterwards.

Is it worth it? Anybody have experience and care to advise?
[Xperia Z5 Compact General] --jenana--:
That's maybe not correct. You want to recover a video, and video is/was saved in the data-partition.

Your ROM, in this case 32.2.A.5.11, is located on the system-partition.

In case you want to root your device, you change your boot-partition, and write some extra files to the system-partition + an app (root manager) to your data partition, but that's it.

So if you want to root your phone, you only have to flash a new boot.img (this thread refers you to rootkernel to get your new kernel) and restart your phone. Rooting doesn't install a new ROM, and actually nothing in the process of rooting will make you overwrite anything. But there's one think you shouldn't forget: unlocking your bootloader (fastboot oem unlock or something similar) will perform a factory reset. A factory reset will indeed make it impossible to access your data, but it won't overwrite it.

FYI, the last time I used recovery software to restore pictures and a few videos from a flash disk, I didn't overwrite anything and I was able to recover about 10% of my pictures and no videos. So what you want to do might be a lot of work with little result.
[Xperia Z5 Compact General] liveasx:
good works! i try it!!
[Xperia Z5 Compact General] bvebord:
I forgot to packup the TA partition before unlocking the bootloader. I already flashed Nougat firmware.

I just completed step 6, I am skipping step 7 since I dont have DRM keys or partition.

However step 8 I dont understand.

"Enter the following command in command prompt to flash the rooted kernel:

Code:

fastboot flash boot boot.img"

Where do i enter this? CMD I understand, but which folder? Tried in rootkernel and doesnt work...
[Xperia Z5 Compact General] mhaha:
"fastboot" command derives from the toolset you need to install on your PC, see the prerequisite section for a link.

If you've already installed it, then you probably didn't set the commands to be used globally, in which case you should navigate to the directory where you installed the fastboot tool.
[Xperia Z5 Compact General] Gewiz:
Since i assume you already installed flashtool on your pc, just use the command in \Flashtool\x10flasher_lib

There should be fastboot.exe. Of course, you have to copy the boot.img you want to flash in this directory too first.
[Xperia Z5 Compact General] bvebord:
^ Thank you I managed in the end. Quick question regarding the notification for update after rooting and installing Nougat. I still get notifications, how to make it go away?
[Xperia Z5 Compact General] a2zonlyt:
I have rooted my devices 2 or 3 weeks ago via your given method , i want to verify that bravia engine is woking properly , is there aby way to verify it?
[Xperia Z5 Compact General] Gewiz:
You can get rid of update notification by freezing or uninstalling the sony software update app(don't know the correct name, but you should find it). Of course, without you won't get further notifications or OTAs
[Xperia Z5 Compact General] mhaha:
In the dialer, type *#*#7378423#*#* to enter the service menu. Tap Service tests > Security

If you did everything correctly, the first three lines should all say [Key OK][Active], and at the bottom FIDO_KEYS : Provisioned
[Xperia Z5 Compact General] a2zonlyt:
thanks a lot, one more question , Is Flashing DRM keys one way process or i have to take backup of TA partition every time if i want to flash any other stock or custom Rom?

please answer this question briefly because i continuously flashes different Rom to try...
[Xperia Z5 Compact General] aldanlive:
How did you root your z5 compact? I have z5 compact (nougat) and can't use tabackup
[Xperia Z5 Compact General] Gewiz:
Read the note which says "important" in OP.
[Xperia Z5 Compact General] mhaha:
Please see step 7.
[Xperia Z5 Compact General] aldanlive:
I am having trouble with step 7. with the code "flash_dk TA_E5823.img DK.ftf"

I have the img file from step one and it is named "TA_E5823_CB5A28M3E8_19032017-2132"

Also I can't flash the kernel from step 8

pls help

---------- Post added at 10:31 AM ---------- Previous post was at 10:23 AM ----------

Quote:

Originally Posted by a2zonlyt

First of all how did you upgrade your z5C to nougat (7.0), because there is no OTA update in my z5C i am running MM(6.0.1),

and second is this possible to root via this method if somehow i upgrade to nougat (7.0)?

Can you or can anyone pls help me how to root both nougat version or 5.11 version. because I am ready having trouble starting from step 7.

If someone knows how to root a nougat version pls inform me
[Xperia Z5 Compact General] bvebord:
How exactly is that done? Please share. Thanks.
[Xperia Z5 Compact General] aldanlive:
Rooted Z5C Nougat

Successfully rooted my Z5C Nougat (E5823_32.3.A.0.372_AU). All you need is step 2 to 6. (I skip step 1 and 7)

In step 7 I use 5.23 rootkernel but you can try other versions if you like, but I don't know what will happen or the difference

And step 8. If you're having trouble with this step, use flashtool to flash boot.img

Then you're already done. On your phone.

Thank you for this guide:))

:D:D:D
[Xperia Z5 Compact General] Gewiz:
Just deinstall the app with titanium backup or similar.
[Xperia Z5 Compact General] mhaha:
DO NOT SKIP STEP 1!

This is potentially misleading/dangerous information.

The most important goal here is to save the DRM keys. By skipping step 1, you've lost your only chance of saving your DRM keys, without it you may void your warranty.

Once you've unlocked your bootloader, the DRM keys are erased permanently, with no way of getting it back.

If you're already out of warranty, then I guess it won't be such big of a deal, however it might affect the resale value of your phone (at least with people who have knowledge of this). Also, from what I understand, some specific DRM reliant features aren't "fixable" even with the DRM-fix solution.

The reason you're unable to proceed with step 1 in backing up the TA partition (which contains the DRM keys) is because your firmware is on Nougat, which is not vulnerable to the dirtycow exploit that's necessary for the TA backup tool to work. This was explained in the first line under Prerequisites with a Important mark. I shall update the guide after this reply to spell out that this can't be done on Nougat.

Please understand that I'm not calling you out specifically, but I believe there's a need to clarify and emphasize the importance of avoiding this action to prevent any misfortunes for future people reading through this thread's comments.
[Xperia Z5 Compact General] lolollolol:
I followed all the steps. It works fine. Thank you.

I've got a question about the SU. superuser.zip was a little buggy, phone was freezing and automatically reboot with red light flashing 4 or 5 times.

So, I decied to include the latest Chainfire SuperSU to rootkernel. I also say yes to busybox. Flashed without error.

But, now, I have some misfunctionnalities with OpenVPN installer and others. BusyBox 1.23 was added by rootkernel in /su/bin.

I'm trying to update busybox to 1.26 with the Play store apk. When I launch the Install process, it hangs on "removing old copies".

if I try another folder to install busybox 1.26 (ie : /system/bin), it works but it's lost after rebooting. It seems that /system is not writable.

OpenVPN installer said that in his install log. It can't remount /system in RW.

So, I conclude with this question, how to get a fully rooted and functionnal busybox E5823 under 32.3.A.0.376 (7.0) XperiFirm ROM ?
[Xperia Z5 Compact General] mhaha:
I have no experience with this, but if you're willing to experiment, maybe you can repatch your kernel again, only this time when prompted to install busybox, type N. Then try installing busybox manually from the Play store. I'm not sure of the outcome of doing this though, proceed at your own risk.

A bit of information for reference: Since v5.0 of the rootkernel tool, it has taken a systemless approach. See release notes for v5.0 quote below:

That said, upon granting root access, you should still be able to modify the /system partition if you wish. This root method is "full root" as you put it.
[Xperia Z5 Compact General] lolollolol:
So, I tried with superuser as SuperSU. Always in bootloop with 4 red light flashes.

I keep SuperSU Chainfire. I don't include BusyBox, I install it after with the apk.

dm-verity, Sony RIC are disabled.

I use RootVerifier-APP to check the root access. This tool found BusyBox and SuperSU 2.79 as superuser app but it said that the root status is not available or superuser app is missing.

It sees to work but always this thing about RW on /system. Don't know what's going wrong...
[Xperia Z5 Compact General] Lethien:
Hello everyone,

I am trying to flash my Z5C with Nougat 7.0 build .378

I've followed the entires steps, in fact, I can root my phone with SuperSU, but it drains so hard my battery, that's why I decided to flash with phh superuser.

Once I've created the boot.img with the instructions. I flash my stock rom, fastboot flash the boot.img and the DK.ftf but when I boot my phone, it seems to be not rooted.

I'll explain better, once i've booted my phone, I've downloaded the Phh users apk and twrp apk. But when I launched the phh apk, nothing special appears, when I launch the twrp apk, I can't allow twrp to take the root, nothing appears.

If anyone have any suggestions,

Thanks,

regards
[Xperia Z5 Compact General] lolollolol:
Salut, Hi !

It seems that superuser doesn't support 7.0, according to this issue :

github.com/koush/Superuser/issues/288

For me, I reflash the ROM then rebuild a kernel with SuperSU and it "works" without a full root...

Hope it helps.
[Xperia Z5 Compact General] mhaha:
You don't need to download and install TWRP apk, it's pointless, not to mention TWRP does not officially support the Z5 series.

If you need to access TWRP, reboot your phone and push the VOL UP button when the LED indicator flashes yellow, it should turn orange and you'll enter TWRP recovery.

As for your problem with no root using phh's superuser, I suggest you seek assistance in the rootkernel thread.

Personally, I've had no success with phh's superuser either (in fact, you can probably find a few of my posts inquiring the same issue) , but because I'm on MM, SuperSU doesn't drain my battery, so I'm not proactively trying to find a solution to this problem.

You linked to the original but no longer maintained superuser version. You're supposed to use a more recent fork called phh's superuser, which I am quite certain supports Android 7.0 since the rootkernel dev specifically engineered his tool to integrate this fork and used it himself.

On the same note, perhaps the reason you're not rooted is because you've been using the "wrong" superuser. Try again using the link I provided in the original post.
[Xperia Z5 Compact General] lolollolol:
That was the superuser.zip I used. And it did not work.

For my limited root problem, I have this message in SuperSU app "Not (currently) available in system-less root mode" for the option "Install SuperSu into /system". I download this version : SR3-SuperSU-v2.79-SR3-20170114223742.zip

Latest stable didn't work too...

Downgrade to MM may be better but I can't find the FTF "e5823_32.2.A.5.11_1299-1743_R12C.ftf"...

Is there any torrent somewhere ?
[Xperia Z5 Compact General] mhaha:
The rootkernel tool as I previously mentioned implements systemless root. Following the guide will get you systemless root.

If you do not want systemless root, then do not include SuperSU.zip or superuser.zip in the rootkernel directory or type N when prompted.

Then manually install SuperSU by flashing the SuperSU.zip file in TWRP, which should get you traditional system root. Maybe this is the type of "full root" you want.

You can try searching for FTF files on the XDA forums, or see if any are available on XperiFirm (recommended).
[Xperia Z5 Compact General] Lethien:
Hey mate,

Thanks for your quick reply. I spend a few hours trying and trying without success. But a guy posted his boot.img with Phh Superuser, based on the same firmware, same things...

I flashed his *.img and it worked like a charm. I'm rooted, I did a factory reset before use the phone but it's rooted.

So, maybe I can link his boot.img if it can be useful for anyone.
[Xperia Z5 Compact General] aldanlive:
I am aware of it. I already unlocked my bootloader before I saw this forum.

But anyway thanks for the info:)
[Xperia Z5 Compact General] brokich:
Hello, I have a small question. Is it possible for Customized and localized Sony Roms (downloaded via Xperifirm for my country, both the 7.0 and 6.0.1 versions that are available) to actually end up requiring an unlocked bootloader? Is there any chance for the device to detect it as a custom rom, or something like that?
[Xperia Z5 Compact General] mhaha:
As long as they're completely unmodified, no.
[Xperia Z5 Compact General] bvebord:
Thank you,
[Xperia Z5 Compact General] lolollolol:
So ! I found the ROM E5823_32.2.A.0.253_1298-1220_R2C (Custom DE). I saw that I forgot to extract the good kernel.elf. That's why it was buggy for me.... :o

I said "Y" to all rootkernel questions and include all files (latest SuperSU & xposed).

Now, it works ! Full root in systemless !

Less painful but quite stressful ! ;)

Thank you
[Xperia Z5 Compact General] kirkxp:
Flashtool 9.23 not recognizing device :(

Fantastic thread. Thanks!

I am following these instructions (to the letter) and looking forward to rooted MM soon. But, I lost a few hours in battles with Flashtool, which is really frustrating.

I backed up my TA partition. Then, I unlocked my bootloader. All good.

Then, I downloaded the firmware (Custom AU 32.2.A.5.11) that I want to use. Download from Xperiform worked fine. But, when I launch Flashtool and navigate to the downloaded file, I cannot create a bundle / FTF.

The dialogue box from FT 9.23 for Tools->Create Bundle starts and allows me to navigate to/select the directory where the download sits. BUT, the DEVICE field of FT does NOT auto-fill with 'E5823'. Indeed, the field is greyed out. There are boxes (live) where I can enter BRANDING and VERSION. But, the tool fails since DEVICE is blank.

Can someone please help me figure out how to get FT to create my FTF?

THANKS!!!

Kirk
[Xperia Z5 Compact General] mhaha:
Try double-clicking the Device field, and manually select E5823.
[Xperia Z5 Compact General] brokich:
I was actually going to ask the very same question, with the additional "does this mean that there is any problem with the FW?". That's what got me to ask if it is possible for the device to recognize localized ROMs as 3rd party ones, and not stock. I also had to select my device model from the list, manually, and then it worked fine. But I'm worried it might be detected as non-stock because of this and am still postponing the flashing process. I just really want to avoid being stuck with a locked bootloader and unusable customized roms.

And thank you, mhaha, for taking the time to answer our questions. You are great :)
[Xperia Z5 Compact General] kirkzp:
AHH. Double click the grey for unexpected drop down.

Thanks! This did the trick. I am all rooted and very happy. Wish you, our esteemed guide author, a fabulous weekend :) This is a fantastic guide.

Kirk
[Xperia Z5 Compact General] macedindu:
stressing out

okay XDA i got a major problem

the only half decent way to get internet to my house is through tethering

i had cricket till they recently imposed the throttle at 22gigs so i got T-mobile

now t mobile throttles at 10 gigs on tethering

ive looked at ways to bypass t mobile viewing my data as tethering and it looks as though ill have to root my phone which is meh but it is a different game if i encounter a problem and cant access the internet to troubleshoot it. i am stressing out hardcore because of this

i have a xperia z5c e5823 on 6.0.1

i have no rooting experience but i am no idiot

i dont have a SD card so can i back up my device on my PC?

during the rooting process i WILL NOT have access to the internet to troubleshoot possible problems

you guys use acronyms in the guide that i havent learned yet

i feel like a new born calf completely hopeless and i am stressing out cause if i just possibly brick my phone ill have to read books and play chess with myself for months

i just need some insight into what to do

i can look up acronyms maybe but ill be completely up ****s creek without a paddle if i dont have internet

i need some guidance XDA