yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] the_brad:
Thank you! I tried the one for E6853 and it boots to recovery! :fingers-crossed:

That's a good step. Mounting works only for External-SD and System, but that shouldn't be a big deal (at least, from what I understand...;))

I attached the rec. log for you, maybe that helps :)
[Sony Cross-Device General] GreyLeshy:
Made the change, check. link
[Sony Cross-Device General] the_brad:
Tested, no success. Boots to purple LED, screen turns black (in the last version, rec. would have started after a few seconds of black screen), then reboots (white sony logo)...
[Sony Cross-Device General] sceryavuz:
Tried this : https://www.dropbox.com/sh/lficbbcj7qbb1uc/AAA2IPXh0MLOFhoPhAyU3-UIa/z5 (Sumire)?dl=0

SD Card did not work, log added..

[MENTION=8041676]samavar89[/MENTION]
[Sony Cross-Device General] sceryavuz:
double post :/
[Sony Cross-Device General] GreyLeshy:
Most likely the problem is in the kernel, as with the profiles for TWRP it's all right.

I'll try to fix it.

You sure the memory card is connected and working?
[Sony Cross-Device General] sceryavuz:
Yes, it works with 3.0.2..
[Sony Cross-Device General] GreyLeshy:
Try, the kernel is not mine in recovery. link
[Sony Cross-Device General] josephnero:
[MENTION=8041676]samavar89[/MENTION]

memory works now.thanks a ton :)
[Sony Cross-Device General] GreyLeshy:
Updated test recovery for Z5 and Z5P, check. If recovery works, please provide the log.
[Sony Cross-Device General] the_brad:
Checked, screen stays black. Z5P

Gesendet von meinem E6853 mit Tapatalk
[Sony Cross-Device General] GreyLeshy:
Sad to hear it, then I have to exclude support Z5P. Without this phone I find it difficult to configure the kernel for recovery.
[Sony Cross-Device General] the_brad:
Do you know any way, I can help you? Logs are hard to get without the display...

You already made a version, that worked at least for the display.
[Sony Cross-Device General] GreyLeshy:
Added recovery for Xperia Z3+ (Ivy).

Has anyone tried a test recovery for Z5, the memory card is working?
[Sony Cross-Device General] Hellpay:
Was able to root my Z5 E6653 eventually and used TWRP 3.1.0 with Androplus v43 booted into recovery first time and was able to use my SD Memory card from the start no issues detected.
[Sony Cross-Device General] s.hossein:
in latest ver on my z5 E6633 dual sdcard detected on twrp. thanks
[Sony Cross-Device General] torben5247:
Are the twrp 3.1 working for z5 compact?

Normally i am using rootkernel tool 5.23 and i am adding the twrp using the tool.

But i think that if i dont install twrp in the rootkernel tool (say no when tool is asking)

I can flash twrp afterwards and then i can get twrp 3.1.

Am i right or wrong?

Thanks in advance.

Torben5247
[Sony Cross-Device General] Gewiz:
Works great.

You are right;)
[Sony Cross-Device General] GreyLeshy:
Recovery works on the Z5C.

You have the right idea about the tool.
[Sony Cross-Device General] Fauzi alaik:
Will try and report soon, twrp 3.0.3 on z3+ cannot open aroma file manager, wish this working
[Sony Cross-Device General] SH1M4BD3:
confirmed 100% working on my Z3+ Dual variants
[Sony Cross-Device General] Berdi86:
hello.

any older version from march works perfect for me (TWRP 3.1.00) Device is xperia z5, e6653, and 32.3.a.378baltic is installed, with drm fixed kernel and rooted by super su zip...

now i will update ftf etc... MY QUESTION: What is the reason or meaning of recovery_test? What differences to recovery?
[Sony Cross-Device General] GreyLeshy:
Version recovery_test for those does not displayed memory card.
[Sony Cross-Device General] Fauzi alaik:
Working fine on Z3+ Dual, aroma file manager too thanks:svetius:

Btw how to install this recovery to kernel?
[Sony Cross-Device General] GreyLeshy:
At the moment, only this utility can invest recovery into the kernel. To use this utility, You must have DRM keys (TA)!

If anyone knows another way please share it.
[Sony Cross-Device General] Fauzi alaik:
Using ta_poc i cant install magiskSU and phh.superuser, always bootloop
[Sony Cross-Device General] GreyLeshy:
Well, that's understandable, it was the easiest option.
[Sony Cross-Device General] Olivier06700:
Test version is working on E6633.

Many thanks
[Sony Cross-Device General] Gewiz:
Just tried the new one(14,9MB) 3.1.0 for Z5c and ran into a few problems.

When i tried to make a backup i get: createTarFork() process ended with ERROR: 255

So i wanted to erase the failed backup which was not possible.

then i tried to copy the log to sd via file explorer which also give me an error: message 6

However so i flashed back the old version from you which has a about 17,4MB and everything works fine again.

Maybe the log will help
[Sony Cross-Device General] GreyLeshy:
I think this error is related to decryption modules, but at the moment they are not used. I'll see what I can do.
[Sony Cross-Device General] rtimoff:
Thanks for porting, works fine here!
[Sony Cross-Device General] Doe.it:
Thanks a lot for your work.

I am waiting for the Z5c support for decryption. All other things are working well from my tests.

I hope you will succeed on implementing the decryption!
[Sony Cross-Device General] xaaaj:
'i can't restore backup from PC using "adb restore" i got some error:

command is: 'adbrestore' and there is no value

E: Unable to find file system (first period).

E: Unknown restore method for '/boot'

E: ADB Restore failed.

someone knows how to fix this? :confused:
[Sony Cross-Device General] marius2du:
Hello,

On Z5 Dual, when I restore only the System partition, via TWRP, I get the bootloop. I must run Xperia Companion to fix the bootloop.

Data partition restoration works well.
[Sony Cross-Device General] GreyLeshy:
Provide recovery log with an error.
[Sony Cross-Device General] marius2du:
Too late, I already performed software repair using Xperia Companion - it took 1h30. Let's see, maybe next time I will copy the log.
[Sony Cross-Device General] frabe8378910:
Decryption for the Z5 would be highly appreciateated! :o

I tested recovery and recovery_test.

recovey_test did not have the black screen, but showed microSD as size 0 and so was not usable for me.

Then I installed recovery.img on my E6653 with is encrypted. So sdcard was not mountable (expected, as decryption is not yet supported), but microSD was okay. So I wiped everything and flashed LineageOS 14.1. Worked like a charm!

So the latest recovery works on my E6653, except decryption of the internal sdcard. In the meantime, I have wiped and flash different ROMs about 30-40 times while testing for functional encryption on Z5 custom ROMs.

Thanks a lot.
[Sony Cross-Device General] GreyLeshy:
Update TWRP 3.1.1.

Recovery for Satsuki removed. Could not deal with the kernel.
[Sony Cross-Device General] amirh8466:
installed on z3+ perfectly
[Sony Cross-Device General] d_g_m_2000:
hello, im a noob and also have the z3+,

did you send de command (cmd) with you phone on? or do i need to put the phone in fastboot or something?

i did unlock the bootloader

run stock rom 6.0.1

thanks in advance
[Sony Cross-Device General] sceryavuz:
Read OP.
[Sony Cross-Device General] GreyLeshy:
Recovery updated, added the latest fixes.
[Sony Cross-Device General] Fishmanzero:
Working well on Z5, thank you very much
[Sony Cross-Device General] xasbo:
Wrong thread, delete.
[Sony Cross-Device General] Wuestengecko:
Hi, I'm trying to install this on my Z5C but after flashing and trying to boot into it my phone just boots into the normal Android OS, and trying to `fastboot boot` it throws me a "FAILED (remote: dtb not found)".

I do think that by now I have messed stuff up (it won't boot at all anymore, heh), but I first tried from a clean stock Sony ROM which I flashed with Emma, their official flashing tool. Version info of that, directly from Emma herself:

APP_SW: 1295-6616 32.0.A.6.200 (strange, it showed something with 32.1.??? as installed version before flashing)

CDF: 1298-5446 R5B

E_LABEL: elabel-e5803-row-201510080517414.1

LOADER: 50

Edit: Digging around got me "your download is broken, re-download it" as only solution that has ever been given, and I did indeed try redownloading multiple times already, but without changes.
[Sony Cross-Device General] GreyLeshy:
[MENTION=5338742]Wuestengecko[/MENTION] , it's sad that it happened.

Why do You think that Your problem is due to TWRP, if You initially did something wrong.
[Sony Cross-Device General] Wuestengecko:
I didn't want to blame you or TWRP for it, sorry if it sounded like that. My train of thought went along the lines "I flashed an official OS with the official flash tool, so this should just work ... right?"

So I came here seeking for help and suggestions (other than redownloading the recovery ;) ).

But by now it seems I have kind of sorted everything out by installing the actual newest version with Androxyde's flash tool, which is 32.3.A.2.33 (as opposed to Emma's 32.0.A.something) - this seems to have done stuff (and also updated the NFC firmware, should that have any relevance) and now everything just works, the recovery boots up fine. Case closed :)
[Sony Cross-Device General] makito249:
Is there anything a noob Z5C user can do to help get decryption working? Happy to test out new versions, etc.
[Sony Cross-Device General] GreyLeshy:
I have a working twrp version with decoding of DM-0 for Nougat, but I won't distribute this version. This version only for personal use.

Maybe in a couple of months, this twrp will spread, but not now.
[Sony Cross-Device General] makito249:
OK, let me know if there is anything I can do. I would really like to be able to backup from TWRP.
[Sony Cross-Device General] SH1M4BD3:
confirmed working fine on latest 7.1.1 sony update, thanks again
[Sony Cross-Device General] Mondor1979:
TWRP 3.1.1 for Android 7.1.1 works just fine
[Sony Cross-Device General] Mewbit:
Will not boot 7.1.1 OS after installing this..

So I installed this TWRP 3.1.1 for my Z5C and I was able to boot into recovery no problem. Though when I went to reboot into the regular OS, (which is stock 7.1.1) It just stays on the "SONY XPERIA" screen... Now before rebooting I did clear ONLY the cache and davlik cache before rebooting, could that have messed things up? Also I have not installed any custom kernels, do I have to do that? Any help would be great as I'm stuck without a usable phone now...

Edit: So I ended up just flashing a fresh older OS (7.0) with your Green Kernel so its all working now. Any tips on how to get the most out of your custom kernel? I have little idea of how to use Kernel Adiutor so any tips would be great (for better battery life for example). Thanks!
[Sony Cross-Device General] ch3mn3y:
There seems to be missing TWRP for Z5 Premium. Could OP or anyone else upload it somewhere?
[Sony Cross-Device General] GreyLeshy:
https://xdaforums.com/z5-premium/development/recovery-twrp-3-1-1-0-z5p-t3618114
[Sony Cross-Device General] Knoose:
Flashed the 3.1.1 twrp on my z5c with latest carbon rom, works fantastically! thanks for your work!

One thing though, my microsd card has been flashed in exfat which does not seem to be supported, any way of getting this to work?

Kind regards,

Knoose
[Sony Cross-Device General] Mondor1979:
Works fine for me on both sirius and sumire.
[Sony Cross-Device General] Knoose:
Ah, could this be kernel related then?
[Sony Cross-Device General] Mondor1979:
I think it shouldn't. As while running twrp you may have no kernel at all.
[Sony Cross-Device General] Knoose:
Ok now I feel a bit silly, I thought I had it formatted in exfat, but it was ntfs. I recently came from a samsung s5 mini and apparently that twrp version does support NTFS as I had no problems there :)

Thanks for the info which pointed me in the right direction to look at.
[Sony Cross-Device General] Mondor1979:
This is the question of drivers only. As far as I can understand support of ntfs can be added easily.
[Sony Cross-Device General] Knoose:
Is that so? Can i do that myself easily or do i need request this?
[Sony Cross-Device General] Mondor1979:
If you can modify TWRP - you can do it yourself. Otherwise try to make a request.
[Sony Cross-Device General] SH1M4BD3:
[MENTION=225651]op[/MENTION] can you made Satsuki (Z5P)too, when its posible thanks sir
[Sony Cross-Device General] YamiYukiSenpai:
For some reason, my device (Z5 Compact E5823), gets stuck on bootloop every time it's rebooted.

It's running on [LineageOS](https://www.androidfilehost.com/?w=files&flid=151543) from [this thread](https://xdaforums.com/z5-compact/development/rom-lineageos-t3552242).
[Sony Cross-Device General] GreyLeshy:
You would at least specify the problem, after what actions it occurs.
[Sony Cross-Device General] YamiYukiSenpai:
Oh! I forgot to update the reply. It was just fixed.

The fault was on my end.
[Sony Cross-Device General] Janzomaster:
Any news on the decryption? Is there any custom recovery working with decryption?
[Sony Cross-Device General] trax7:
Answer is 2 pages ago (page 11).
[Sony Cross-Device General] Janzomaster:
I was hoping for an update on it...
[Sony Cross-Device General] trax7:
[MENTION=8041676]GreyLeshy[/MENTION] In light of the recent custom kernel for Lineage, I was trying to format partitions to F2FS but after formatting the recovery can't mount them. That means no flashing zip files, no anything unless I go back to ext4... :(

Edit: I have also tried rebooting to recovery after formatting, still nope.
[Sony Cross-Device General] GreyLeshy:
At the moment there is no support mount f2fs.

/system ext4 /dev/block/bootdevice/by-name/system flags=display="System";mounttodecrypt;
#/system f2fs /dev/block/bootdevice/by-name/system flags=display="System";mounttodecrypt;
/data ext4 /dev/block/bootdevice/by-name/userdata flags=encryptable=footer;length=-16384;retainlayoutversion;
#/data f2fs /dev/block/bootdevice/by-name/userdata flags=encryptable=footer;length=-16384;retainlayoutversion;
/cache ext4 /dev/block/bootdevice/by-name/cache
#/cache f2fs /dev/block/bootdevice/by-name/cache

Add support to mount f2fs is possible, but so far there's no time...
[Sony Cross-Device General] Doe.it:
Did you make any progress on decryption?

Is it possible to add support for it?
[Sony Cross-Device General] klausstoertebeker:
Wrong version of the TWRP download file for Sony Xperia Z5 compact?

Hello GreyLeshy!

Is it possible that the TWRP download file in your dropbox for the Sony Xperia Z5 compact (Suzuran; E5328) is not "TWRP 3.1.1-0" but version "TWRP 3.0.2-0"?

I've downloaded it to build a kernel using "Trim Area - Proof Of Concept" (great tool to virtually restore your original TA Partition. Your phone looks like never have been unlocked or rooted).

The kernel building was successful, but when I booted into recovery, I got version 3.0.2-0 (version number shown on the bottom right). So I thought I downloaded a wrong version of TWRP and downloaded the file again. But after kernel Building I had version 3.0.2-0 again.

Would you be so kind to check if the download file is "TWRP 3.1.1-0"?

Thanks

"klausstoertebeker"
[Sony Cross-Device General] GreyLeshy:
You kidding or You just don't know how to run the recovery?

Press

Volume Down + Power

to activate the recovery. When installed properly, the device should vibrate funnily, purple LED should appear and after a couple of seconds you should see the TWRP screen.
[Sony Cross-Device General] klausstoertebeker:
Wrong version of the TWRP download file for Sony Xperia Z5 compact?

Hello GreyLeshy!

Neither I'm kidding (I've a problem otherwise I wouldn't have used this forum for help) nor I do not not know how to enter recovery mode (quote from my post: "...but when I booted into recovery, I got version 3.0.2-0 (version number shown on the bottom right)..."; by the way: on MY Sony Xperia Z5 compact no LED lights up when booting into recovery via pressing power button and volume down button to enter it).

So I don't have a problem booting into recovery. My problem is, that I downloaded your supposed "3.1.1-0" TWRP image and get version 3.0.2-0 after using it creating a boot image. So I'll describe again what I did:

downloaded your (supposed) TWRP 3.1.1-0 image from this link

installed "Trim Area - Proof Of Concept" onto my computer

copied my stock kernel ".elf" (Build 32.2.A.0.253_1290-1220_R2C) file and my Trim Area image file into the directory of the "Trim Area - Proof Of Concept" executable

copied your (supposed) TWRP 3.1.1-0 image into the directory of the "Trim Area - Proof Of Concept" executable

started the creation of the boot image

selected my stock kernel file an my Trim Area image file when asked for by the creation script

answered the questions for "remove dm-veritiy?" and "remove Sony RIC?" with yes

answered the question "Found recovery. Install it?" (your (supposed) TWRP 3.1.1-0 image) with yes (TA_POC only includes recovery images it finds in ist directory and there was only the one of your (supposed) TWRP 3.1.1-0. TA_POC doesn't implement an own TWRP image creation like for example rootkernel)

"Et voilà! - I've got a new boot image containing a Trim Area and your (supposed) TWRP 3.1.1-0 recovery

booted into recovery by powering down my Sony Xperia Z5 compact and pressing power button an volume down button at the same time, waiting ma smartphone to vibrate once(!), releasing the power button and helding the volume down button until TWRP shows up

TWRP shows up with version 3.0.2-0 instead of the expected version 3.1.1-0!

Conclusion? Somethings wrong with the version of your download file.

Questions? No? So please check the TWRP version of the download file you offer for download under this link

"klausstoertebeker"
[Sony Cross-Device General] GreyLeshy:
Hello [MENTION=1992283]klausstoertebeker[/MENTION]!

This recovery corresponds to TWRP 3.1.1!

Hash sum:

MD5: 196044D7E860484033EA49F89ABC97F2

SHA-256: 3C260390CD90487455A43F92A07066567F420D7B118E32E7B6976BA6739AE578

Install recovery how to instructions and do not make the compote.

Pointless to discuss further!
[Sony Cross-Device General] klausstoertebeker:
Wrong version of the TWRP download file for Sony Xperia Z5 compact?

Hello GreyLeshy!

I'm not making compote and thanks for finally answering my question.

I just was confused that the downloaded version doesn'd seem to correspond to the title of the download. And to my opinion a question concerning that should be allowed.

So if you tell me that the download has version 3.1.1-0 I'm satisfied.

I'm very sorry for asking - will never do this again.

Greetings

"klausstoertebeker"
[Sony Cross-Device General] Mondor1979:
Let me explain what happened. When you were prompted to install recovery with your answer "yes" your software downloaded latest OFFICIAL twrp from Internet, which is exactly 3.0.2-0.

That's why I never integrate twrp to my personally made modified kernels.
[Sony Cross-Device General] klausstoertebeker:
Hi Mordor1979!

Thanks for your expanation, but I don't think that "TA-POC" downloads the TWRP image from the internet. I come to this conclusion because if the creation script asks you if you want to install a recovery, you then say "Yes" and the script doesn't find a fie that is exactly named "recovery.img", it tells you that if you want to install a recovery image you have to place it in the same folder as the "TA_POC" executable. There is no download at all.

This was the reason to ask GreyLeshy to check the version of his dropbox download file because I thought to download version 3.1.1-0 but version 3.0.2-0 was installed (by the way: the screen shot on the first page of this thread shows a version 3.1.0-0 :) ).

Greetings

"klausstoertebeker"
[Sony Cross-Device General] Cerhio:
Well I cannot get this to work no matter what I do. I installed the latest Z5C update, unlocked the bootloader, installed the latest TWRP and everything in my phone was erased. Not sure whats going on but I got into a bootloop where I couldn't do anything at all. I've wasted 5 hours trying to get this work doing clean wipes with starting by installing the very first FW and then installing the latest FW and then installing TWRP. What else do I have to do? This is extremely frustrating.
[Sony Cross-Device General] trax7:
When you unlock the bootloader everything gets erased. Flash the latest FW using Flashtool and exclude FOTAKernel. TWRP should still be there after you are done flashing, since that's the partition where it's located.

Fastboot command for flashing TWRP is:

fastboot flash recovery <recovery-name>.img

After all this you should be fine. :)
[Sony Cross-Device General] Cerhio:
Hey maybe I should have explained. After installing TWRP, all the data on my phone is erased. I can't wipe anything because my phone says it can't find anything to wipe and that happens immediately after installing TWRP. I've done this on many many different phones but I've never had this happen. I can unlock the bootloader and install my unlocked kernel but the moment I flash TWRP, my phone is erased.
[Sony Cross-Device General] GreyLeshy:
Where are the logs?
[Sony Cross-Device General] Cerhio:
I got it installed! Not sure what the problem was exactly but I did the following steps:

-flashed L, locked bootloader, flashed latest fw, unlocked bootloader, flashed modified kernel

-installed twrp

It has stayed so far. Maybe I did have a corrupted download but TWRP definitely installed the last time.

No matter what the reason, I was lucky enough for this to work and not require me to go through my clean install again lol
[Sony Cross-Device General] Yverson:
What is "L"?

Lineage OS ?

If so the sequence of the steps is confusing me, are u on Stock now or Lineage?
[Sony Cross-Device General] trax7:
L = Lollipop
[Sony Cross-Device General] Vision:
Xperia z5 lollipop

Hi.. This work.. In Xperia z5 firmware 32.0.A.6.200 lollipop 5.1.1 ? and how can put it? Now I have the TWRP 3.0.0-0 and is in to stock kernel
[Sony Cross-Device General] makito249:
Decryption Sources

Would you be willing to share the progress you have made on decryption? I might be interested in trying to take it forward.
[Sony Cross-Device General] genunix64:
I am also interested in this. As without crypto support in recovery, it's basically not possible to update suzuran with encrypted data.. :-/
[Sony Cross-Device General] rm43115:
Can anyone help me? What does this mean?

1. Does this mean that Encryption/Decryption function within this TWRP-Nandroid-Backup does not work?

2. Or does this mean, that a Android-encrypted-partion couldn't be backuped with this TWRP?
[Sony Cross-Device General] guguxfr:
Hey ! Me too. It's very frustrating not to be able to update the phone just because it's encrypted :(
[Sony Cross-Device General] GreyLeshy:
Updated TWRP for Suzuran to version 3.2.1.

- Decryption is not activated.

For other devices, the update will not be!
[Sony Cross-Device General] rm43115:
Hello GreyLeshy, will you support the version 3.2.1 in the future or is the support still closed?
[Sony Cross-Device General] GreyLeshy:
Support is closed so as TWRP stable!

If there are new TWRP versions coming out, then I will only update for Suzuran.

More than 7000 downloads and no support.

Analytics
[Sony Cross-Device General] iagash:
Hi GreyLeshy,

thanks a lot for your new build. I used your last one to install Lineage OS on my z5c.

Is there a chance that you include encryption in your TWRP? It seems impossible to update the phone after I encrypted it.

Anyways, thanks for your work.
[Sony Cross-Device General] GreyLeshy:
Unfortunately, decryption will not be activated.
[Sony Cross-Device General] ColdIllyrian:
is it possible to make a 3.2.1 version of twrp available for the z5 not only the z5c is this possible appreciated if done
[Sony Cross-Device General] GreyLeshy:
It is possible to make, I just don't want to spend the time.
[Sony Cross-Device General] ColdIllyrian:
[MENTION=8041676]GreyLeshy[/MENTION] thanks for letting me know it's possible but I seriously would appreciate it if you could bro or even teach me how to because z5c always seems to be a step ahead everytime which isn't fair lol at least try to work on it when you have free time.
[Sony Cross-Device General] GreyLeshy:
Updated TWRP for Z5 to version 3.2.1.

Added source code for Z5.
[Sony Cross-Device General] balrajs99:
Thank you [MENTION=8041676]GreyLeshy[/MENTION] for keeping our Z5 on latest twrp. ?