• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

trax7

Senior Member
May 15, 2012
952
344
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
 
Last edited:

Chronic2k13

Senior Member
Mar 8, 2013
525
175
London
Sony Xperia 5 II
Don't need decryption and everything else works fine!! Strange how md5 checksum is now Digest!! Must be an Oreo thing

Sent from my Sony Xperia Z5 Compact using XDA Labs
 
Last edited:

Doe.it

Member
Feb 1, 2017
32
8
@trax7
I own a Zuk Z2, on it the decryption problem was caused by unaligned/updated vendor blobs. I hope this can give you an hint on how to fix decryption.
 
Last edited:
  • Like
Reactions: trax7

Doe.it

Member
Feb 1, 2017
32
8
You tried with a password? Try with factory reset (not wipe data) and it should work... Note that you will lose data so be sure to copy it somewhere first.
I am encrypted everyday on my phone (I have set a password), I am using latest official stock firmware, decryption doesn't work returning a "failed decryption" message.
 

rm43115

Senior Member
May 13, 2017
167
45
Hello trax7,

first of all ... many, many, many thanks for the provision of a current TWRP !!!!!
I searched for it so long !!!

Not working (for now):
- Decryption
- You tell me

For the moment I found three things for need of improvement:

1. When going into Recovery, the purple lamp (at the top of the case) does not light up.

2. Double touch the screen, doesn't wake up / switch on the screen again.

3. When starting a backup, I get five error messages:
unable to locate /persistent partition for backup calculations,
unable to locate /misc partition for backup calculation,
unable to locate /firmware partition for backup calculation,
unable to locate /persist partition for backup calculation,
unable to locate /ta partition for backup calculation,
... but the backup of the five partitions "boot, cache, data, recovery and system" runs through error-free.

However - I'm glad that we have became a current TWRP for our device!
And if one day the decryption works, I will be happy!
 

trax7

Senior Member
May 15, 2012
952
344
Hello trax7,

first of all ... many, many, many thanks for the provision of a current TWRP !!!!!
I searched for it so long !!!



For the moment I found three things for need of improvement:

1. When going into Recovery, the purple lamp (at the top of the case) does not light up.

2. Double touch the screen, doesn't wake up / switch on the screen again.

3. When starting a backup, I get five error messages:
unable to locate /persistent partition for backup calculations,
unable to locate /misc partition for backup calculation,
unable to locate /firmware partition for backup calculation,
unable to locate /persist partition for backup calculation,
unable to locate /ta partition for backup calculation,
... but the backup of the five partitions "boot, cache, data, recovery and system" runs through error-free.

However - I'm glad that we have became a current TWRP for our device!
And if one day the decryption works, I will be happy!
That's weird... I haven't experienced any of those bugs :confused: Maaybe just the purple lamp but I haven't even paid attention to that lol

Edit: Yes, purple LED does not light up. However the recovery did not complain at all during backups and locking and unlocking the screen is just fine. Are you using E5823 or E5803?
 
Last edited:

rm43115

Senior Member
May 13, 2017
167
45
That's weird... I haven't experienced any of those bugs :confused: Maaybe just the purple lamp but I haven't even paid attention to that lol

Edit: Yes, purple LED does not light up. However the recovery did not complain at all during backups and locking and unlocking the screen is just fine. Are you using E5823 or E5803?

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.
 
Last edited:

rm43115

Senior Member
May 13, 2017
167
45
USB OTG storage support

Hello trax7,

at the coming weekend I want to test the decryption of the TWRP - during preparation I realize that "USB OTG storage support" is missing.
Is it possible to implement "USB OTG storage support"?
 
  • Like
Reactions: jw96

TwrpBuilder

Member
Feb 3, 2018
38
254
Decryption is not working :(

Good job anyway, we have an updated TWRP at least!!

I am encrypted everyday on my phone (I have set a password), I am using latest official stock firmware, decryption doesn't work returning a "failed decryption" message.

What about encrypted data partition. Is it possible to fix decrypting?
Decryption can't be achieved by only password. It requires a factory reset (not wipe data!). This is a security measure and each Android device creates their own password for encrypted data partition. So any other passwords such as lock screen security pin won't work. All ways go to performing a factory reset. In addition, in order not to have encrypted data partition again, fstab inside boot image must be modified.
Hello trax7,

at the coming weekend I want to test the decryption of the TWRP - during preparation I realize that "USB OTG storage support" is missing.
Is it possible to implement "USB OTG storage support"?
Yes, it is possible. Your device support OTG on it's stock fstab. After we get our works done, we will look onto this too!

Stay tuned!
berkanktz
 
  • Like
Reactions: rm43115 and trax7

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.