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

Search This thread

Rulistaff

Senior Member
Apr 19, 2011
63
14
Hi,

My touch screen is dead (display is OK but touch is dead).
I have to use a mouse (via USB OTG)
With TWRP 3.1.1 mouses work perfectly (you must plug the mouse before power-on the phone)
With TWRP 3.2.1 or 3.5.0 I have no mouse cursor at all.

I can't install modern ROM with TWRP 3.1.1 (if I try, installation script stops with error : phone model is not recognized).
Do you think it's possible to make OTG mouse working in your version ?

Thanks ;)
 

Rulistaff

Senior Member
Apr 19, 2011
63
14
Sorry I was out from house...
Yep no problem, where can I find the TWRP log files (full path) ?
 

Rulistaff

Senior Member
Apr 19, 2011
63
14
You will see this message is also in the log file :
Code:
I:Unable to mount '/usb-otg'
I think this is about USB storage, so no pb...

But you will see on line 33 :

Code:
I:Loading mouse cursor...

I:Loading pages...

I:Loading page splash

I:Switching packages (splash)

I:Found mouse 'Logitech USB Optical Mouse'

;)
 

Rulistaff

Senior Member
Apr 19, 2011
63
14
Up !

If someone have something like this :
1611588031079.jpeg


Just plug a mouse on it, plug it into the phone, reboot on recovery (it's important to plug the mouse berfore power-on or reboot the phone), save TWRP logs, and send the files here.
It will take juste 2 minutes, thanks !
 

Berni-0815

Senior Member
Sep 22, 2016
2,455
2,149
Germany
Sony Xperia Z5 Compact
Edit: Doesn't care; I've just bought one. ;)
Arrived! And from dmesg:
Code:
[    1.069931] mousedev: PS/2 mouse device common for all mice
[    4.870005] usb 1-1: Product: USB-PS/2 Optical Mouse
[    4.890398] input: Logitech USB-PS/2 Optical Mouse as /devices/soc.0/f9200000.ssusb/f9200000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/input/input6
[    4.891006] hid-generic 0003:046D:C03E.0001: input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-xhci-hcd.0.auto-1/input0
That means, the mouse is recognized! But recovery LOG shows nothing remarkable:
Code:
I:Loading mouse cursor...
I:Loading mouse cursor...
I:Loading mouse cursor...
Any hints are highly welcome!
 

luka-

New member
May 20, 2021
4
1
Hi to all, it seems every time I restore a backup in TWRP the ambient light sensor stops responding. It's like if the connection gets broken. Anybody experienced the same?
I have tried to back up and restore all the available folders but it didn't make any difference.
I also tested with lineage 17 and 18 and other Berni's recommended TWRP earlier build but still the same.
It is weird but even if I delete all files and backups and reflash new rom again the ambient light still doesn't work.
The only way I can get it back working is to delete all files-folders in TWRP, and flash in Flashmode android 5.1 firmware - .tft file. Only after that the sensors' functionality is restored.
Of course if I want to go back to lineage I need to upgrade to android 7.1 first, then flash twrp and then flash lineage again making the whole process endless for me. All works fine until I try to use restore.
Is it possible I could have installed the twrp in a wrong way at first and even after reflashing the phone with the process above some traces still stays on the phone at some partition repeating this problem again?
 

luka-

New member
May 20, 2021
4
1
Thank you for the reply, much appreciated. I was going nuts trying to figure if I was doing something wrong. (y)
I know this might be out of scope of this thread but is there any other known solution or app capable to handle backup-restore, making the process easier?
Thanks
 

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"