[TWRP][E5823] Latest TWRP 3.2.1 for Z5 Compact

Search This thread

trax7

Senior Member
May 15, 2012
944
345
I can for the life of me not get any version of TWRP to work.

- Coming from official latest firmware
- Unlocking bootloader
- Flashing TWRP through fastboot -- holding volume down and power -- boots into android
- Booting TWRP though fastboot -- screen remains black, blue light stays on
Stock kernel cannot boot into recovery as recovery is in a different partition and the bootloader starts only the /boot partition on startup. Therefore, we have a patch in the custom kernels to chain-load the recovery which resides in the /fotakernel partition after flashing with a button combination.
This is why rootkernel (a locally patched stock kernel) has the recovery bundled inside the kernel image. Custom kernels like GreenKernel or Zach's kernel have the chain-loading patch which allows them to boot recoveries flashed via fastboot like this one. :)
 

Sukacek

Member
Nov 24, 2008
19
1
Hello, i have Z5c 32.2.A.0.253 with root and TWRP 3.0.2-0.
I try install new version TWRP recovery_suzuran_220218_2.img. I rename recovery_suzuran_220218_2.img on recovery.img,
and run fastboot flash recovery recovery.img
Install OK but after restart into recovery i have TWRP 3.0.2-0 always.
What is bad please.
Thanks.
 

trax7

Senior Member
May 15, 2012
944
345
Hello, i have Z5c 32.2.A.0.253 with root and TWRP 3.0.2-0.
I try install new version TWRP recovery_suzuran_220218_2.img. I rename recovery_suzuran_220218_2.img on recovery.img,
and run fastboot flash recovery recovery.img
Install OK but after restart into recovery i have TWRP 3.0.2-0 always.
What is bad please.
Thanks.
You probably have rootkernel which has its own bundled recovery.
 

Sukacek

Member
Nov 24, 2008
19
1
to trax7: Hi, yes, thats right... can you tell me please which kernel can i use for your TWRP and which roms must use. Thanks.
 
Last edited:

Nazo

Senior Member
Jan 7, 2008
316
66
Is there any particular reason in all this time the Z5C still has no official TWRP? Isn't there anything that could be done? I mean, even the Z3C has had an official build for quite some time.
 
  • Like
Reactions: frittentheke

Berni-0815

Senior Member
Sep 22, 2016
2,516
2,212
Germany
Sony Xperia Z5 Compact
I've a little problem: I've backed up a complete system with version 3.2.3 (found somewhere on xda) and while trying to restore a formerly backed up system (done with 3.2.1) with that version 3.2.3 I got an error that I can't remember en detail. Some files cannot be found... :angel:
Ok, back to version 3.2.1...
While backing up my working system I got the error chown in the screenshot.
Has there been some changes in partition names?
Which version of TWRP is actually recommended?
 

Attachments

  • Screenshot_2018-10-23-12-34-40.png
    Screenshot_2018-10-23-12-34-40.png
    116.8 KB · Views: 171

trax7

Senior Member
May 15, 2012
944
345
I've a little problem: I've backed up a complete system with version 3.2.3 (found somewhere on xda) and while trying to restore a formerly backed up system (done with 3.2.1) with that version 3.2.3 I got an error that I can't remember en detail. Some files cannot be found... :angel:
Ok, back to version 3.2.1...
While backing up my working system I got the error chown in the screenshot.
Has there been some changes in partition names?
Which version of TWRP is actually recommended?
No, the paths to those partitions just aren't included in the build you are using, so if another build has the paths to them and backs them up, the build you are using will not.

It's not important. At all. Only if you wanna back up modem partitions but those don't change unless you go back to previous versions of Android which I'm not sure why anyone would do since .54 Nougat is the latest and best there is for the phone. The main partitions you are interested in are /system and /data (and /cache plus dalvik). :)
 

trax7

Senior Member
May 15, 2012
944
345
Oh, it IS important, because I can't restore the backup! The process fails and stops... ;)
That's only affecting a backup made with 3.2.1 and trying to restore it with 3.2.3!
I meant those partitions are unimportant, not the whole thing :d sorry if I said it wrong. Anyway, 3.2.1 backs up more things it seems and that isn't playing well with 3.2.3. I suggest picking what you want to restore as TWRP allows you to.
 

trax7

Senior Member
May 15, 2012
944
345
Oh, there are significant differences:
Why is one version not able to handle a backup made with the other? (3.2.3 can not restore a 3.2.1 backup!)
3.2.3 supports local languages. (For me: German)
3.2.3 let me choose more partitions to backup.
Different fstabs between recoveries I think is the main thing. And the added languages which is a matter of a few xmls in localisation.
 

koxliarios

Member
Nov 3, 2018
7
0
unable to locate cust

Ha, last night I found the problem for the strange error messages during the backup (it's not a problem of your TWRP-version):
In the .TWRPS file these partitions (persist, persistent, misc, firmware, ta) are still registered for backup from the old TWRP-version I used before.
I just had deleted the .TWRPS file and have created it again ... AND ... ERROR GONE!

I use E5823, but I would not call the problems with the violet lamp and the double-touch-unlock-screen an error ... rather a nice-to-have feature.
I mean, do not waste time with these banalities, if you do not know the solution.
Hello, there..I am having a quite similar issue...Only differrence is that my error message reads ''Unable to locate cust partition for backup calculations''.. The rest of the backup goes through with no problems..So since you seem to have found a solution , could you please guide me through solving my own issue?? I have flashed a couple of roms now and then but I am in no way an experienced tech guy...I really thank you in advance...!!
 

5parsecs

New member
Feb 3, 2019
4
0
Can't use TWRP

Hi, thanks for the amazing work.

I'm struggling here.
I've only been able to boot on TWRP-3.0.0.0 any other version failed.
The flashing was OK but then when starting the phone I could only start in normal mode or in Fastboot.
I've tried to hotboot and the result is : FAILED (remote: dtb not found)

I'm stuck because I've tried flashing LineageOS with the 3.0.0 and it failed.
Zip signature verification failed but i tried anyway. The phone starts and stays in flash mode(green LED black screen) and reboots every 3 minutes or so.

Any idea why I can't use any other version of TWRP ?
Thanks for the help
 

Berni-0815

Senior Member
Sep 22, 2016
2,516
2,212
Germany
Sony Xperia Z5 Compact
Well i can't. I did unlock the bootloader though. Any other idea? what is that dtb error?
While searching the web, I can see that this message tells you that you are using a wrong version of TWRP.
They said, first flash the latest nougat (from xperifirm), boot the phone to the end, shut it down, and then retry to flash the latest TWRP.
 
  • Like
Reactions: 5parsecs

5parsecs

New member
Feb 3, 2019
4
0
While searching the web, I can see that this message tells you that you are using a wrong version of TWRP.
They said, first flash the latest nougat (from xperifirm), boot the phone to the end, shut it down, and then retry to flash the latest TWRP.

wow Thanks I've searched in the firmware update direction didn't anything. Trying now.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    Updated TWRP for the Z5 Compact

    REQUIRES:
    - Unlocked bootloader
    - Have Fastboot drivers installed on the PC you use for flashing
    FEATURES:
    - MTP support
    - ADB root
    - Reboot to Bootloader
    - SD Card access

    Not working (for now):
    - Decryption <- working on it when I have time

    Changelog:
    23.02.2018
    - Backup/Restore fix for USB OTG
    - small fstab tuning (thanks @GreyLeshy)
    - DL link updated - Now you will have access to all builds inside GDrive folder
    22.02.2018 - 2
    - Fix SD Card (again) on latest build
    22.02.2018
    - USB OTG fixed
    15.02.2018
    - Possibly fixed decryption, need feedback
    13.02.2018
    - Fixed SD card
    7.02.2018
    - First build

    DOWNLOAD LINK
    Google Drive

    Instructions:
    - Connect phone to PC in Fastboot mode
    - Open Command Prompt and type
    Code:
    fastboot flash recovery recovery-name.img
    - Take off the cable and boot into recovery by holding Power + Vol Down until you feel a vibration


    Disclaimer: I am merely distributing the ready image. I will do my best to keep this thread up-to-date with the latest TWRP releases and provide fixed images in case there is a bug, I can help you to solve some problems but do not expect any timeframe.
    I am not responsible for any bricked phones, missed alarms or thunderstorms. What you do with your phone is your own choice. Happy flashing! :)

    Credits:
    @TwrpBuilder for making this, all credits go to them
    and all other maintainers and contributors to the code
    4
    THANK YOU!!!!
    You mean 2018 and not 2017.
    Yes... xD I am going insane from all the stuff I have to do rn lol :silly::silly:

    In the latest two builds SD card access is broken again (or at least I can't access it). Reverting to recovery_suzuran-130218.img SD card access works again.
    I saw what you are talking about. I will try to fix SD card for latest version.
    @TwrpBuilder SD Card is routed to Internal Storage after 15.07.2018 (shows same size)

    EDIT: Fixed and posted :)
    3
    is this twrp working witout any issues.
    I tried it 2-3 weeks ago and i got a lot of errors something with "can´t read...." when i was trying to do a backup.
    So before flashing again i would like to be sure that it is working flawlessly... ;)
    Yes, I am using it and it's working flawlessly. Only downside is there is no encryption support yet but I'll work on that when my laptop returns. :)
    3
    Dear maintainer,

    any chance to get decryption working?
    Dude, read the post above yours :D:D
    3
    New build posted, USB OTG fixed as per @GreyLeshy 's suggestion.