[RECOVERY][UNOFFICIAL] TWRP 3.7.0 for the XPeria Z5 compact (suzuran)

Search This thread

TRKARTAL

Senior Member
Jun 21, 2017
167
29
İstanbul
I think i found permanent fix for those sensors issue. You should try

#1 Flash Stock FTF
#2 Open Phone, Finish Setup, Flash TWRP & Launch TWRP
#3 Go To Backup -> Select Persist (and maybe firmware?)
#4 Flash Your Desired Rom
#5 If There Are Sensors Issue, Launch TWRP
#6 Go To Restore -> Select Persist (and maybe firmware?)
#7 Restart And Done
 

Berni-0815

Senior Member
Sep 22, 2016
2,453
2,147
Germany
Sony Xperia Z5 Compact
This might be a good idea, because it's known that the problems are gone if you're using your ROM in permissive SELinux mode.
It seems to be a general permission issue since los17n. (Keyword "system as root")
Somewhere in another thread I've read something like this. But I don't remember exactly.
 
  • Like
Reactions: TRKARTAL

android666

Senior Member
Jun 19, 2010
90
18
while in twrp 3.2.1 I can flast img into boot/recovery, new (this) twrp offer only Boot section. I do not want poosibleupdated TWRP always update by using PC. Is there some chance for reviewing ?
Sometimes, going into fastboot/bootloader does not work well (have no clue why), this is why Reboot section from 3.2.1 missing here
but anyway, it's a great job, thanks for that
 

TRKARTAL

Senior Member
Jun 21, 2017
167
29
İstanbul
while in twrp 3.2.1 I can flast img into boot/recovery, new (this) twrp offer only Boot section. I do not want poosibleupdated TWRP always update by using PC. Is there some chance for reviewing ?
Sometimes, going into fastboot/bootloader does not work well (have no clue why), this is why Reboot section from 3.2.1 missing here
but anyway, it's a great job, thanks for that
Thanks berni, its great project.
Also, this twrp can install without pc by using "Official TWRP App" in Play Store.
For install, open that app and give root permission and tap TWRP FLASH. after that, pass the device (our device isnt in list) just tap select a file to flash and select twrp img file.
After select, tap FILE TO FLASH and enjoy.
 

android666

Senior Member
Jun 19, 2010
90
18
i'm not talking about workaround. i think, better is to wait for owner reply.
i;m still on 3.2.1 for above reason. if no solution, no problem occure.

if you buy a car with not expected functional one of the light, you will not hold battery over the window as a compensation
 

Berni-0815

Senior Member
Sep 22, 2016
2,453
2,147
Germany
Sony Xperia Z5 Compact
FYI: This version has not buttons any longer for "Reboot system" and "Shutdown". They are presented as a list. This is a feature and not a bug! It is very hard for me to revert it. So I decided not to revert it any longer.
adb (root or shell for example) is not longer working; I don't know why and I'm unable to fix it.
 
  • Like
Reactions: TRKARTAL and Ryu--X

esrevinu

Member
Jan 2, 2011
33
12
adb (root or shell for example) is not longer working; I don't know why and I'm unable to fix it.

After formatting data partition, adb says my devices is unauthorized. This is probably because formatting data partition removes adb access permission for my PC.

If you enable usb debugging, attach your device to your PC, and check always allow your PC to access your device, adb access to TWRP will work again. I guess TWRP looks into the system's settings.

According to this, TWRP image should have
Code:
ro.secure=0
ro.adb.secure=0
ro.debuggable=1
But your TWRP image has
Code:
ro.secure=1
ro.adb.secure=1
ro.debuggable=1

I modified the ramdisk of your TWRP image, and adb always works.
 

Berni-0815

Senior Member
Sep 22, 2016
2,453
2,147
Germany
Sony Xperia Z5 Compact
New version out; see 1st post.
  • Bump to version 3.6.2_9-0
 

Attachments

  • Screenshot_1975-06-04-02-52-39.png
    Screenshot_1975-06-04-02-52-39.png
    44.5 KB · Views: 16

android666

Senior Member
Jun 19, 2010
90
18
I found solution for support of ext4 on SD 512GB by TWRP (and Lineage):
- SD have to be formated as primary partition (I used EaseUS Partition for formating);
- copy between 2SD ext4 (I used "Linux File Systems for Windows from Paragon");
-> maybe this info helps someone
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    Hi all:

    Here is a TWRP recovery 3.7.0 for XPeria Z5 compact (suzuran).

    Download 2022-12-23

    This is a 7z archive with the TWRP image and the md5 file in it. Please unpack this archive. The md5 file is only for control purposes to verify that the download is not broken.
    To verify the image file, enter this command line in a terminal window:
    Code:
    md5sum <image_name>
    and compare the output with the content of the <image_name>.md5 file.

    FYI: <image_name> is the full name of the image file, for example TWRP_3.7.0_9-0-recovery_suzuran_2022-12-23.img

    This version uses a prebuilt kernel, therefore are no kernel sources needed.
    Tree sources

    Installation instructions:

    • Shutdown your device.
    • Wait about 10 seconds to be sure that the device is really shut down.
    • Press Volume-up, hold the button and then plug in the USB-Cable.
    • Release the button.
    • Wait until the LED turns blue.
    • Enter this code line in a terminal window:
      Code:
      fastboot flash recovery <image_name>
    • Press Enter.
    • When finished: Unplug the USB cable.
    • To enter TWRP press Volume-down and Power simultaneously.
    Use this recovery image at your own risk! It comes without any warranty! I'm not responsible for any damage! If you don't agree with that, don't try to flash this recovery image in any way.
    5
    New version out; see 1st post.
    • Bump to version 3.5.2_9-0
    5
    New version out; see 1st post.
    • Bump to version 3.6.0_9-0
    4
    New version out; see 1st post.
    • Bump to version 3.5.1_9-0
    3
    adb (root or shell for example) is not longer working
    New version out; see 1st post.
    • adb working; thanks to @esrevinu
    • I've only changed "ro.adb.secure" to "0"