yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact General] AndriyeZ:
Hmm..on flashtool just follow instructions to flash new ROM, as i know for 2011&up device : just plug usb+vol.down when prompted (why power button&Vol.down???) and wait flashtool doing magic..if flashtool successfully flash ROM the divice should be boot to system...and we can start new job..[emoji2]
[Xperia Z5 Compact General] Katzenmuetze:
Flashtool won't recognize the phone after having flashed the kernel, if I plug it into USB while pressing vol down, the LED just continues flashing without anything happening.
[Xperia Z5 Compact General] AndriyeZ:
Can post some screenshot or video maybe?
[Xperia Z5 Compact General] Katzenmuetze:
Flashtool output of flashing boot:

[IMG="Flashtool output"]http://i.imgur.com/vzjZXI7.png[/IMG]

Fastboot output of flashing recovery:

[IMG="fastboot recovery"]http://i.imgur.com/Z9UoJ67.png[/IMG]

What happens is basically like in this video of the Xperia Z1, the only difference is that the z5c has its LED on the right side of the screen:

https://youtu.be/yTfpG81o3oQ?t=1m45s (around 01:45)
[Xperia Z5 Compact General] Katzenmuetze:
I actually solved the problem now.

1. Flash the newest firmware with Flashtool using XperiFirm (in my case, I used MM 6.0.1 Customized DE 32.2.A.0.305 / RC2)

2. Flash the newest AndroPlus Kernel (I used v40)

3. Flash TWRP (I used version 3.0.2-0)

After that, I could boot and install Super-SU, so now I'm on root.
[Xperia Z5 Compact General] AndriyeZ:
Thats cool dude..[emoji41], I had on sweet dreams before, so just open up forum this morning, but sure u can solved by ur self...i think its about compatible fw and kernel, and see...flashtool always do it magic..[emoji3]
[Xperia Z5 Compact General] AndriyeZ:
Reading some problem before, is it right to make steps more easier to read:

1.Downgrade to LP 5.1.1

2.Backup TA

3.Upgrade back to MM

4.Unlock BL

5.Flash costomize Kernel ( such as AndroPlus)

6.Flash TWRP

7. Have a good day with fully root+twrp+DRM fix

Am I right? Any suggest please
[Xperia Z5 Compact General] Katzenmuetze:
I unlocked the BL before upgrading to MM, but it probably doesn't matter. So what I did was

1. Downgrade to LP

2. Backup TA partition

3. Unlock BL

4. Upgrade to MM

5. Flash (newest) AndroPlus Kernel (or any other, for that matter)

6. Flash TWRP
[Xperia Z5 Compact General] AndriyeZ:
Did DRM fix doing well with Androplus Kernel? Have u try check reality engine?
[Xperia Z5 Compact General] Katzenmuetze:
Yes, the DRM fix is fine. I haven't checked out realitiy engine though, what is it for?
[Xperia Z5 Compact General] AndriyeZ:
Would you check it dude..just go to setting-display..then shoud be image enhancement option with two or more picture there, means DRM fix script doing well..it was for guarantee that we still got our Reality Engine (for example)
[Xperia Z5 Compact General] Katzenmuetze:
Just checked it, it's fine :)
[Xperia Z5 Compact General] AndriyeZ:
Great!
[Xperia Z5 Compact General] francisci:
Hi - Thanks for your tutorial. How do I flash the boot.img using cmd and fastboot ? :eek:
[Xperia Z5 Compact General] AndriyeZ:
Just use Flashtool
[Xperia Z5 Compact General] francisci:
Thanks AndriyeZ

I have been able to flash the boot img and then rename twrp into recovery and flash it as well.

Now I'm stuck the device cannot reboot so I cannot transfert the SuperSU files in to the device...

And when I type adb devices in cmd, it do not mention the device ! Seems that I'm facing an issue.
[Xperia Z5 Compact General] AndriyeZ:
Seems uncompatible Kernel and ROM. ..what ROM version u use ? What kernel version u flash? Read first page carefully and do what it is said, if u follow well the instruction there shoudn't be any problem
[Xperia Z5 Compact General] francisci:
Thanks for the tutorial - it has finally worked!
[Xperia Z5 Compact General] JohnDoeXDA:
Dear folks,

you are my last hope ... :-|

I'm trying to root a new Z5C. I followed the manual from the first post. Everything worked fine until ...

* Flash the TWRP Recovery using cmd and fastboot.

After that (succesful) flash I stupidly plugged the cable from the phone - now it seems to be bricked!

As I push the power button (with volume up or down), nothing but a vibration happens. Screen also as led is dark.

Is there any hope to get it back to life ?

Best regards,

JD.

P.S.: As I can see, flashtool recognizes the phone in fastboot ... does that help anything ?

PPS: Thanks god, it's running ... !!! I flashed Lolipop-FW and it got back to life !!!!!

But for further trys - what exactly should I do after I flashed the TWRP ?

I cannot send the SuperSU to the device because it's not present in the explorer ...

Should I enter something in the fastboot-cmd to exit the fastboot-state ?

And are these the correct commands to flash the kernel-img and the recovery ?

fastboot flash boot boot.img

fastboot flash recovery twrp-3.0.2-0-E5823-20160417.img
[Xperia Z5 Compact General] agnath18:
I will update the rooting steps so that rooting become easier.
[Xperia Z5 Compact General] paq1170:
Restoring TA

I backed up my TA as u explained, now i am on XPower V5. I want to restore my partition and go back to stock coz i have been suffering from more overheating than when i was on stock .305. how do i go about it from here?

thanks
[Xperia Z5 Compact General] ric69:
This is difference when TA partition is broken

1st pic is lolilop stock rom / stock kernel, 2nd is MM stock rom / stock kernel (or any custom kernel) + drm fix. Dialer *#*#7378423#*#* - Security

With drm fix and without TA restored, the only difference is FIDO_KEYS not provisoned but I have X-reality and audioclear+

Not sure about FIDO's fonction and how to restore without TA backup :rolleyes:
[Xperia Z5 Compact General] mele80:
Nyt sure, but i Will today my device To either. 305 or lollipop and restore ta then
[Xperia Z5 Compact General] mele80:
I downgraded to Lollipop stock with flashtool, restored TA and reflashed same rom again and now all should be okay.

Restoring ta backup should be possible with custom rom you just should have stock kernel.
[Xperia Z5 Compact General] SebastianAlejandro:
My phone says this in that option. I get back to lollipop and restore ta partition. It's all good right?
[Xperia Z5 Compact General] mele80:
that was what i did and it worked....just moment ago i tried to restore TA with stock rom and Heptyles customized Stock rom, but TA failed.

Thus i guess we should flash back to stock rom and then restore TA...after restoring you need to flash same rom again (also newwe rom should be fine i guess)

I restored TA because it seems that drm-fix did not work

1)flashed lollipop (wiped everything)

2)restored TA

3)re-flashed lollipop (wiped everything)

4)checked fido_keys, they were provisioned

5)flashed .305 (wiped everything, did not exclude anything)

6)flashed recovery and v41

7)checked fido_keys, they were not provisioned.

And somehow after all drm is still not working after i flash recovery and custom kernel
[Xperia Z5 Compact General] liniaunu2:
Managed to wipe my TA partition with this tut

Hi

Used this tutorial ... downloaded the iovyroot .... run the tabackup.bat but the output was :

Unable to open /data/local/tmp/iovyroot: No such file or directory

Unable to open /data/local/tmp/backup.sh: No such file or directory

/system/bin/sh: /data/local/tmp/iovyroot: not found

rm: /data/local/tmp/tabackup/TA-*.img: No such file or directory

rm: /data/local/tmp/backup.sh: No such file or directory

rm: /data/local/tmp/iovyroot: No such file or directory

So after many attempts I did not get the file I have unlocked the bootloader thinking that this is causing it to been unable to open . And now my keys are gone forever because you have not PUT THIS LINE IN YOUR TUT : ATENTION DO NOT UNLOCK BOOTLOADER ONLY AFTER YOU BACKUP TA BECAUSE IF YOU UNLOCK BOOTLOADER YOU LOOSE YOUR KEYS FOREVER.

The work around for the message above is that you enble debug in developer option and run the comand adb devices in cmd. your device will list and only after that input the comand tabackup.bat -

So for others : never ever ever unclock bootloader before backup the TA . be sure to follow this > enable adb debug > input comand adb devices > and only then run the .bat file
[Xperia Z5 Compact General] lord0815:
Any news on that? For me the same:

FIDO_KEYS: Not provisioned, provision failed

MARLIN [Key OK] [Active]

WIDEVINE [Key OK] [Active]

CKB [Key OK] [Active]

Cant do any sony related ota updates, always failing.

Can someone tell me how to check if sony low-light features are available? Maybe somewhere in EXIF data?

I just found everytime the same, that things like low-light or other 'super' features will be disabled - but i cant check them....

Restoring TA partition gives an ok - but backup this partition was done some months ago im not sure today if it is the right file because of the TA-file name.... it contains 2015 as year... maybe the time in the device was not set correctly at time of taking the backup but anyway - is there a way to check - other than the security test?? Should the OTA updates work with restored TA?

Thanks in advance.
[Xperia Z5 Compact General] mele80:
You can't update fw via ota if you have bootloader unlocked / rooted.

Eventually I wiped everything with flashtool, upgraded to. 11 (latest) rooted with rootkernel tool. All keys are active and fido is provisioned.

I think with all flashing phone got so messed up that things just stopped working like they should have work.
[Xperia Z5 Compact General] Farid83:
Hi,

Does rooting reset phone to factory condition? I've accidentally removed tons of photos from my Z5C internal memory. DiskDigger requires root access but if rooting will wipe out all user data there's little sense to do it.

THanks.
[Xperia Z5 Compact General] Superrman:
Hi 2 things

1 if i root stock ROM i need unlock Bootoader?

2 Rooting will make you lose DRM keys?\ TA Partition?

(love the stock ROM just want some mods and maybe Xposed with my last sony it was super helpful)
[Xperia Z5 Compact General] mele80:
1.Yes, you need unlocked bootloader

2.Yes, you will lose them, but you backup then and restrote them after rooting. Also some kernels have drm fix on them, which should do the same thing.
[Xperia Z5 Compact General] Superrman:
thanks for answer

but the post says i need to downgrade to lolipop 1st , i must unlockmybootloader for downgrage and ill lose drm?
[Xperia Z5 Compact General] mele80:
No drm should be lost if you flash older firmware with flashtool. You can flash firmwares you can't just root your phone without unlocking bootloader
[Xperia Z5 Compact General] Superrman:
sorry, im confuse if they'll be lost how i backup them? (if i must use flashtool)

DRM\TA Partition is the same thing?
[Xperia Z5 Compact General] mele80:
1. You will be downgrading with flashtool (no drm lost, no unlocked bootloader).

2.You will temporarily root your phone with iovy (no drm lost, no unlocked bootloader)

After downgrading and temp root you will take TA backup and after that you can fully root your phone and "restore" TA.

Well basically you are not restoring backup, because that would lock your bootloader again, but you can get credentials back. There is instructions to do so.

You should check this thread also

https://xdaforums.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605/page162

But.moat important thing is to take backup from TA, then you can always fully go back to stock rom
[Xperia Z5 Compact General] Superrman:
i see thanks for the help!

so ill downgrade , backup TA , then unlock BL (after ill flash latest updated stock\custom ROM\kernel(boot.img) and root
[Xperia Z5 Compact General] mele80:
Basically yes, but check ops steps :)
[Xperia Z5 Compact General] Stegho:
Hello, sorry if it's a stupid question :)

I get "Error: Device not supported" from tabackup.bat

I just got my Z5C, running on 5.1.1 (out of the box), so I did not do anything and attempting to backup TA was my first move. I just allowed USB Debugging, but nothing else.

Did I miss something, or is there a newer version from the iovyroot?

Thanks for help.
[Xperia Z5 Compact General] mele80:
I think you will need to run iovyroot first so you will have temp root order to backup ta first
[Xperia Z5 Compact General] Stegho:
Managed meanwhile. Looks like I needed the exact build, so the iovyroot can run on it. Didn't expect it to be so peculiar :)
[Xperia Z5 Compact General] Mesh:
Guys, is there a way to backup the TA partition from a Chromebook? I´m currently travelling in South East Asia and don´t have access to a Windows system. My Z5 compact is driving me nuts and I really want to replace the stock rom. Any tips are welcome.

I have ADB running and working from my chromebook.
[Xperia Z5 Compact General] xxera:
Sorry for another very basic question, and I hope this is the correct thread, but just to be sure:

If I need to send my phone in for repairs and don't want my phone provider to know that I rooted the device, what do I have to do? Remove TWRP, restore TA partition, flash stock ROM? In that order?

Thanks!
[Xperia Z5 Compact General] agnath18:
Just flash the stock rom and restore the TA partition. That's it!
[Xperia Z5 Compact General] psouth:
Just got a new Z5Cwent through all the suggested steps and everything seems to have worked fine. Thanks so much heptyle!!!

I used the latest Androplus kernel and from XperiFirm I opted for the Nordic combined firmware so I could use the fingerprint reader. That all seems to be working great.

BUT I do have two question I'm hoping ya'll can answer:

1) When I open the display setting image enhancement I get the options for x-reality and super vivid but only one picture is display. When I turned on the phone originally it did display two pics and I could see the difference between the various options. Is the DRM actually working if only one pic is displayed?

2) with regard to the fingerprint reader. I can use it and set it up to unlock the phone but I still have to key a pin each time I unlock. It won't just unlock the phone with the fingerprint. Is that the way it is supposed to work. Seems a bit silly to not just be able to unlock with the fingerprint??

Thanks,

PS
[Xperia Z5 Compact General] agnath18:
1) I think the drm fix is not working properly. Flash drmrestore.zip from the given thread and then it will get fixed.

https://xdaforums.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672

2) You have to enter pin only after restarting the device thereafter you just need to use your finger to unlock. If this is not the case then just do a factory reset, it should work!

Thanks :)
[Xperia Z5 Compact General] psouth:
Thanks for the very fast response! Both issues resolved and everything seems to be working great!
[Xperia Z5 Compact General] kgalv419:
quick question

Hello am I able to restore TA partition and still root with custom recovery? if so what is the procedure? I have my TA partition as well as Android 7 with root and twerp. Any assistance will be greatly appreciated.
[Xperia Z5 Compact General] luongvancanh:
Error restore TA: Device not supported

Hi all,

My phone is E6883. I flashed firmare E6883__32.0.A.6.209__Malaysia_Generic_ 5.1.1.ftf for TA partion backup. After that, I unlocked boot loader and restored TA by iovyroot_v04 tool. Next, flashed 32.3.A.0.376 firmware and rooted phone. The process was ok. However, when I use by iovyroot_v04 tool to restore TA, it do not work and get error below:

I do not know what is wrong. Please help me to solve it.

Thanks for all
[Xperia Z5 Compact General] Gewiz:
To restore the ta backup you have to get back to the LP firmware with the exploit first. I assume this is for your device 32.0.A.6.209 since you where able to do the ta backup with it.

After restoring TA and locking bootloader you can go back to nougat .376 again.
[Xperia Z5 Compact General] luongvancanh:
When I fllash 376 finished, I have to unlock bootloader to root. As my knowledge, the TA partion will be erased. Question is: I have to restore TA, haven't? How can I do that.

Thanks for all
[Xperia Z5 Compact General] Gewiz:
Ok, i think now i got it what you mean. You want root and ta restored at the same time. Unfortunately this is not possible afaik.

If you restore your ta partition you have to lock your bootloader again, so you won't be able to boot with a rooted kernel anymore.
[Xperia Z5 Compact General] --jenana--:
You just have to follow his guide. Where the guide says "That's It ! You have rooted your device !" It means: "That's it. You have rooted your device !"

You have your TA backup, you are informed how to re-lock your device and how to restore that backup. But at this point you don't need it. Keep it somewhere safe, give it as a present to your girlfriend, whatever, but right now you don't need it (you just flashed a modified kernel, remember?). And maybe next week you'll buy another phone and you'll never gonna look at that TA-partition-backup anymore. Ever.
[Xperia Z5 Compact General] Darklights007:
Error

Hy.

I have a problem.

I follow this tutorial. Fastboot boot.img, restart phone, but no complete. I put power button and the phone is vibrate, but no see Sony logo.

Pls help me.

I need root my device.
[Xperia Z5 Compact General] freaky2xd:
[MENTION=7497470]heptyle[/MENTION]

Hey! My Z5 is currently running 5.1.1 with a unlocked bootloader and a custom kernel!

I made a clean 5.1.1 installation without root and no custom kernel but I cant't restore the ta image! it says done but the service menu and sony pc companion say that the bootloader is still unlocked. do I need to get back to lollipop or do I need root rights for restoring the ta partition?
[Xperia Z5 Compact General] Sukacek:
Hello, i try root my E5823 but when i flash recovery and boot i have always after rebbot logo Sony and freeze.

I have Bootloader unlocked, flash in Flashtool this rom E5823_32.1.A.1.163_1298-5498_Customized-IT.ftf.

In fastboot i use boot.img from Z5C_AndroPlusKernel_v43 and this recovery_v3.2.3_22.08.2018.img - rename to recovery.img

and in fastboot write this script:

fastboot flash recovery recovery.img

fastboot flash boot boot.img

and after restart i have always white screen with logo Sony :(

Can you help me please.

thanks.
[Xperia Z5 Compact General] leipnacht:
iovyroot returns Error

Having USB Debugging enabled, when I run tabackup.bat it returns an error says

Error: Device not supported

[IMG="tabackup.bat"]https://s20.postimg.cc/f0z7zwxt9/iovyroot.jpg[/IMG]

My Xperia Z5 Compact still run on the factory installed Android Lollipop firmware. I never upgraded due to issues the latest firmware has.

[IMG="About Phone Firmware"]https://s20.postimg.cc/6jzpoq5wd/z5c_ap.jpg[/IMG]

Are there are things I'm missing? Please inform me.
[Xperia Z5 Compact General] Wesley_NL:
I:\TA>

I:\TA>tarestore.bat TA_F8131_CB512AR0BV_do19-10-201717-0631.img

TA RESTORE

If you are using a custom kernel, this script won't work

Use BackupTA instead

WARNING: DO NOT RESTORE TA IMAGE FROM OTHER DEVICE

PLEASE MAKE SURE YOU KNOW WHAT YOU ARE DOING

THE AUTHOR TAKES NO RESPOSIBILITY

Are you sure you want to restore:

/system/bin/sh: md5: not found

Type "Yes I want" if you want to restore this file: Yes I want

Starting restore

Press any key to continue . . .

iovyroot by zxz0O0

poc by idler1984

fopen(): Permission denied

Error: Device not supported

TA Backup restored

Flash stock firmware now

Press any key to continue . . .

pls help,

device is a sony xperia x performance single sim
[Xperia Z5 Compact General] thanasis12.:
iovyroot returns ok , on Z5 premium.
[Xperia Z5 Compact General] jinhong3:
Kernel Version??

I've tried everything, but I can't boot.
[Android Q&A, Help & Troubleshooting] Shery.py:
Hey,

this is my first post in xda forums :) :(

i bought this g2 6 months ago (my cousin bought it for me because i was in a hurry and i regret it) and the phone seemed d802 but 3 days later the wifi broke and when i removed the back cover the phone was ls980 and the ROM it had was d802's i mean completely d802 on the outside and ls980 on the inside and up until now it gets stuck at a turning WiFi on and i have to delete the /phone/data/misc/wifi folder to shut it down(and continue my life without WiFi) .so the WiFi broke,a white spot came on the screen and yesterday while i was browsing(i use mobile network data) the phone just went dead the charging was 61% .

Today i tried to plug in a charger and it starts charging.......... for like 2-3 minutes it was on 0% then 2 and 3 and 4 i tried to turn it on the LG logo came and then again dead.After a while i tried to turn it on again in recovery menu but the LED went red and it kept going onto the Lg logo and dead for many times as long as i tried to turn it on using Vol Down key and Power Key.When i stopped trying to get into the recovery menu it did boot up.Lock screen came up i plugged it into my PC and as soon as i tried to open the storage it went dead again.

#i have tried loading into download menu but nothing works the phone is dead since then................... now charging it with wall charger or PC don't help either.

#the phone was rooted with Kingoroot.

#the ROM was some d802 one despite the fact it was a ls980 i don't know how it works.

#after everything i could do i went to a repair shop and he says the bootloader(i don't understand it either i mean if he was just saying this rhetoric thing for money) is broken .So i thought why not give it a shot.... fix the sucker myself :D

i like to learn a lot so any complex/simple solution will be tried .
[Android Q&A, Help & Troubleshooting] Salman Al-Badgail:
For now are you stuck at boot logo??? If yes, than we can workout. If NO it is expected that it may be HARD BRICK. Do reply with answer.

Salman
[OnePlus X Q&A, Help & Troubleshooting] SalarX:
Hi. I'm too trying to build... And stuck exactly at:

Zygote.smali[3,0] The file must contain a .class directive

Could you get past it?
[OnePlus X Q&A, Help & Troubleshooting] Fap4k:
[MENTION=7297761]SalarX[/MENTION] as you can see no replies in this thread...means no developers are interested in miui nor they are helping another people to do it..I am not an expert I need some help from experience developers is so important I think but unfortunately they are not helping..so I decided to quite this project.
[OnePlus X Q&A, Help & Troubleshooting] SalarX:
Okay...

But if something works I'll for sure tell you :)
[OnePlus X Q&A, Help & Troubleshooting] Fap4k:
Yeah thank you.
[OnePlus X Q&A, Help & Troubleshooting] Jude Aranha:
Hi, I am sorry to see the state of this thread.

Any chance the both of you are active on Telegram ?

We have super-active OnePlus X groups with all our developers, who are sometimes not as active on the forums due to personal reasons.

If you could PM me, I'd be too happy so share the Invite Links of our support chats. :)
[OnePlus X Q&A, Help & Troubleshooting] himavanth.reddy925:
i also getting same error .. anyone please help

getting same error
[OnePlus X Q&A, Help & Troubleshooting] Fap4k:
It is due to wrong patch.
[OnePlus X Q&A, Help & Troubleshooting] himavanth.reddy925:
how to correct the patch.. sir
[OnePlus X Q&A, Help & Troubleshooting] Fap4k:
I am not sir bro..m still learning.

Refer to this video may you find a solution

[youtube]3ytSUz3MVLU[/youtube]
[OnePlus X Q&A, Help & Troubleshooting] shumxin:
First you need to know smali.
[OnePlus X Q&A, Help & Troubleshooting] sundhar88:
At last the guy is here. Please help the XDA devs trying to make MIUI. It's almost finished. (I think).

Anyways Good luck to the developers making MIUI. I'm totally here for testing the ROM. Thanks in advance for the ROM and Never Give UP!!
[OnePlus X Q&A, Help & Troubleshooting] himavanth.reddy925:
thank u for providing video link

all rejects re patched.. but fullota has stoped with ana error

Recovery link files success
/home/hima/patchrom/tools/build_target_files.sh: line 154: ./customize_target_files.sh: Permission denied
/home/hima/patchrom/build/porting.mk:314: recipe for target 'fullota' failed
make: *** [fullota] Error 1

thanks in advance
[OnePlus X Q&A, Help & Troubleshooting] Fap4k:
Looks like customize_target_file.sh denied permission..go to device folder and give execute permission to that particular file.
[OnePlus X Q&A, Help & Troubleshooting] himavanth.reddy925:
Thanks