Lenovo Z5s (no PRO) TWRP 3.3.1 + Pixel GSI + MIUI + FlyMe + H2OS

Search This thread

downforce25

Senior Member
Mar 24, 2016
56
0

I've just tried this rom and it bricked my phone. I don't know what caused this major issue. No worries, I'm already back to stock rom with QFIL. TWRP 3.4.0-0 installed too.

I've installed ZenX OS rom from TWRP. Previously I've formatted cache/data/system like usual clean install.

An idea about the best and secure way to install ZenX-OS on my Lenovo Z5s?

Thanks in advance.
 

czajunia

Senior Member
May 31, 2010
145
13
London
Have been trying to give this ROM a go and installation went OK (both versions with and without GAPPS) but unfortunately WiFi doesn't work. It keeps disconnecting from the network and reconnecting after a short while. Confused. Anyone noticed similar issue and possibly has a fix for that? Many thanks.

---------- Post added at 01:49 AM ---------- Previous post was at 01:22 AM ----------

I'm trying this new ROM "Optimized-LineageOS-17.1-arm64-ab-vanilla.img.xz"

Hey,
Wwhere did you download it from? Is it optimized for Z5S? I've found some optimised Lineage ROMs for Samsung but not for Lenovo. How does it work for you? I suppose it has the same bugs as other GSI ROMs, doesn't it? Cheers.
 

downforce25

Senior Member
Mar 24, 2016
56
0
Have been trying to give this ROM a go and installation went OK (both versions with and without GAPPS) but unfortunately WiFi doesn't work. It keeps disconnecting from the network and reconnecting after a short while. Confused. Anyone noticed similar issue and possibly has a fix for that? Many thanks.

---------- Post added at 01:49 AM ---------- Previous post was at 01:22 AM ----------



Hey,
Wwhere did you download it from? Is it optimized for Z5S? I've found some optimised Lineage ROMs for Samsung but not for Lenovo. How does it work for you? I suppose it has the same bugs as other GSI ROMs, doesn't it? Cheers.

Hello,

yes, same bugs like other GSI Roms: Brightness (fix dosen't work) , Sound... I don't know if it's particulary optimized for Lenovo Z5s.

The link for mentioned Rom https://sourceforge.net/projects/amber-gsi/files/Optimized-LineageOS-17.1/
 

czajunia

Senior Member
May 31, 2010
145
13
London

vesdan

Senior Member
Mar 29, 2018
55
21
For repair brightness: connect phone to PC, set USB debugging on, run powershell and type:
adb devices
when you see phone then type:
adb shell setprop persist.sys.qcom-brightness -1

works perfect on Pixel, AEX, ZenX
 

czajunia

Senior Member
May 31, 2010
145
13
London
Hello again. Any chances someone could help me with this: https://forum.xda-developers.com/showpost.php?p=83013583&postcount=13 ? Got pretty much unusable phone after flashing ZenX. After having no data on Zen I tried going back to stock but sadly I'm getting stuck now. I can flash using QFIL, access recovery but cannot boot any more. Any ideas? Thanks a lot!

Got it sorted. I'm on Havoc 3.7 at the moment and everything works at it should. Including auto brightness, battery usage per app and the corners.

Anybody having issues with getting stuck on the balnk screen with blue LED after flashing stock ROM please refer to this post. It might help.
 

Risse1311

Member
Oct 11, 2020
5
0
Bootloop

HI, im new to this and a happen to reboot my phone, lenovo Z5s without a custom rom. and the system is reformatted, hence there is no twrp installed. Now im stuck at bootloader and cant enter recovery mode.

Please help me
 

elgouyo

Member
Mar 2, 2020
11
0
Bootloop

HI, im new to this and a happen to reboot my phone, lenovo Z5s without a custom rom. and the system is reformatted, hence there is no twrp installed. Now im stuck at bootloader and cant enter recovery mode.

Please help me

Hello. it seems stuck. I never used QFIL, but maybe with it ? it seems powerful...
 

sbebbe

Member
Sep 22, 2013
8
2
hello everyone i have a z5s L78071 it is really the worst phone i have ever bought, every time i see it my liver hurts, i'm really bad looking at it, i can't stand it anymore, often i thought I'd go over it with the car and do it disappear .... at the hardware level it seemed to me a valid device, but it often lags and does not take the inputs, I tried to do the listed procedures, but the phone does not go into fastboot, it really makes me nervous ... please give me some help ....
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Hello guys,
    I don't see a dedicated section for lenovo Z5s but I managed to download the TWRP 3.3.1 from baidu (only chinese and english but chinese default).
    I then looked for rom authors, it seems they all are using chinese custom roms, anyway they are mirrored and MIUI has been tested by me.

    I decided to mirror all downloads I found (they were quite hard to get):

    TWRP :
    TWRP-3.3.1-LENOVO_Z5S-CN-wzsx150-fastboot.7z (with fastboot instructions and files)
    TWRP-3.3.1-0529-LENOVO_Z5S-CN-wzsx150.zip (can be flashed with TWRP)
    recovery-TWRP-3.3.1-0529-LENOVO_Z5S-CN-wzsx150.img (only .img file)

    Chinese Roms :
    Z5s_miui_19.5.20(9.5.16)_Pie_Public_by Art_Chen(TWRP_FASBOOT_2in1).zip
    Z5S_H2OS_190722
    Z5s_Flyme7.3.1.0A_YouLinw_V1.5_19.07.25

    GSI Roms : (Seems to be AB, because A-Only are not working)
    According to 4PDA, only Pixel Experience have been tested for now, they provide screenshot and video.
    Pixel Experience GSI Tested working!
    Ressurection Remix Tested working!
    Arrow OS Tested Working!
    All other public GSI images (tested many, none of them working, no idea why)

    Official ROM backup (QPST format):
    https://mirrors.lolinet.com/firmware/lenovo/l78071/

    I added permissiver v4 I got from Telegram on Android Q GSI channel

    Instructions for GSI Images (thanks to 4PDA):
    Using TWRP recovery:
    0. Download the firmware files to your smartphone.
    1. Enter the recovery menu. To do this, turn off the smartphone and simultaneously hold down the power button and volume +.
    2. In the recovery menu, select the item Cleaning -> Selective cleaning. Check the boxes on Dalvik / ART Cache , System , Data and Cache . Swipe the slider to the right. Return to the main recovery menu.
    3. In the main recovery menu, select Installation -> Install Img. Select firmware file XX.img. For system section firmware, select System Image, and for boot - Boot. Swipe the slider to the right. Go to the main recovery menu. Select Reboot -> System.

    This procedure is new for all smartphones, so don't be afraid to ask questions if something went wrong.
    Using adb:
    0. Install the USB, ADB and Qualcomm drivers on the PC. Reboot the computer and connect the smartphone to the PC. Download files for firmware on PC.
    1. In the folder where the files (.img) were saved, press SHIFT and the right mouse button from scratch. In the context menu, select PowerShell or CMD (activate command console).
    2. Enter the commands one by one
    fastboot flash system XX.img
    fastboot erase userdata
    fastboot -w
    fastboot reboot

    PS In some cases, it will be necessary to flash vendor and / or boot:
    fastboot flash vendor XX.img
    fastboot flash boot XX.img

    Source for TWRP: https://club.lenovo.com.cn/thread-5442053-1-1.html
    Source/author for H2OS & Flyme : Weibo
    Source/author for MIUI : Weibo
    4PDA page : https://4pda.ru/forum/index.php?showtopic=960895

    Please move topic to another section if wrong.
    5
    I just want to post some updated information about the current state of things, since many things in this thread here are outdated.
    Warning as usual: Following these steps will void the warranty, delete the data and even though it's not supposed to it may potentially destroy your device. Follow with care.

    To flash a custom rom on this device, you need to do the following:

    0) To get a (even soft bricked without recovery or fastboot) device back to the latest factory state.
    - Go to https://mirrors.lolinet.com/firmware/lenovo/l78071/ and download the latest img. Right now it's L78071_CN_SECURE_USER_Q00024.0_P_ZUI_11.1.171_ST_191023_qpst.zip.
    - While the Phone is off, hold VOL DOWN + VOL UP + POWER for a few seconds. The device should show a black screen, but not boot.
    - Connect the phone to the pc and flash it with QFIL. The procedure is similar to https://forum.xda-developers.com/z5...bootloader-t3888785/post78644972#post78644972
    - If you want you can boot up the device and check if there are any further updates and install those as well, since it also may contain kernel updates which will not be part of any custom rom.
    - This will get you the latest kernel and vendor information. (boot.img and vendor.img)

    1) Get your bootloader unlocked, if you haven't already.
    - Visit https://www.zui.com/iunlock
    - Enter the IMEI1 (Second number when you call *#06# with the phone)
    - Enter the Device ID from the Bootloader/Fastboot (Hold VOL- and Power, while device is off)
    - Enter your email and captcha and set the checkmark to acknowledge voiding your warranty.
    - If you get an error saying that your IMEI1 is wrong, put in a sim card and wait a few hours. If it still doesn't work, write an email to [email protected]
    - In the developer settings in android, enable usb debugging and oem unlock.
    - Flash the sn.img file you receive with fastboot (again, hold vol- and power while the device is off). Command is 'fastboot flash unlock sn.img'. You need compatible usb drivers, qualcom drivers and adb/fastboot to do that. Use google or write me a PM if you have trouble with that.
    - execute 'fastboot oem unlock-go'
    - This allows you to use fastboot to flash custom system/boot/vendor/vbmeta images

    2) Now you need to disable signature verification to boot. Otherwise you will be stuck in the Bootloader.
    - You need a patched vbmeta.img. I use the one from the latest MIUI by YouLinw. (https://drive.google.com/uc?id=1oq_Vsozq3mywNT1-fNsIe7ALslfLoB-t)
    - Flash it from the Bootloader with 'fastboot flash vbmeta vbmeta.img'

    3) Now you can flash TWRP.
    - Download https://drive.google.com/file/d/1-JwD0Ie5xY2CQRDv8rvZMK6ICf0vmp4n/view?usp=drivesdk
    - Flash it from the Bootloader with 'fastboot flash recovery recovery-TWRP-3.3.1-1015-LENOVO_Z5S-CN-wzsx150.img'
    - Press VOL UP / VOL DOWN to navigate to recovery.

    4) Now you can flash most GSI Treble ARM64 AB roms.
    - Go to https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list and choose a gsi
    - In TWRP, format data, then wipe dalvik+data+cache+system
    - Flash the gsi to the system partition
    - Go to Wipe, select System, Advanced->Resize (If you don't, OpenGapps will error out with error 70)
    - Flash OpenGapps if wanted
    - Flash Magisk (This will modify the kernel/boot.img)
    - Flash Permissiver v5 (only necessary for some roms such as AOSP10. You can try booting without it first, and if it doesn't, come back and flash it. Note: This will disable the security features of SELinux and installs itself to the boot partition. To get it back to the original state, you need to flash the original boot.img again or do step 0)

    Known issues and workarounds for most roms:
    - Audio Distorted: Download Audio Compatibility Patch in Magisk and remove the volume listener library.
    - Notch not detected: Go to Developer options and activate the Tall Cutout option. If you're experienced, you can compile this in: https://github.com/phhusson/vendor_hardware_overlay/pull/139
    - Status Bar elements out of screen: Go to Phh Settings and set rounded corners to 30 (or something smaller, depending on the dpi)
    - DT2W not working: Just wait for it to get fixed, or if you're experienced, do this: https://github.com/phhusson/treble_experimentations/issues/841#issuecomment-597088242
    - Camera App: Install Gcam_6.2.030_Advanced_V2.2.190716.1800-Final.apk from https://www.celsoazevedo.com/files/android/google-camera/dev-arnova8G2/.
    - Format SD Card as Internal: Use a tool like Root Essentials
    - Brightness Flickering: 'adb shell setprop persist.sys.qcom-brightness -1'

    I tested AOSP10 v213, Pixel Experience, LineageOS 17.1, ArrowOS and HavocOS. They all work fine (mostly with the same known issues, since they are all based on AOSP)
    The original ZUI works too of course, but has alot of bloatware and general nonsense.
    The chinese Roms like MIUI11 are fine as well, but not really made for the western world.
    4
    Ok guys, sorry about the delay, I've been having some personal problems lately and couldn't test my builds before publishing. Sore here we have two things

    TWRP 3.3.1.0 - Apparently, everything works under stock firmware 10.5.205, which is the one I based it off. Decryption works under stock rom, flashes everything. This is a clean TWRP by the way, nothing shady as the other available. Test and report.
    https://drive.google.com/open?id=1MAnQrYEUwlggTt9y9wx2AARwUWQP8lqN

    PixelExperience - I didn't test much, but apparently everything works but the FM Radio. Test and report. Data must be wiped if you never did boot Android 10, I assume. I'll fix everything I can, this is a system build only since I couldn't get Lenovo kernel sources to boot under Android 10. That means to have a full build (which will be Lineage 16.0), we'd have to stick to Android Pie, which I plan on doing soon. You obviously need an unlocked bootloader for this. Everything is based on 205 firmware, so I cannot say if it will work with others. Test and let me know what works on GSI that didn't work here. And the other way around as well.
    https://drive.google.com/open?id=1xcmwMnuIahJc3AS9BloDqmHMkvC1EFdS
    4
    I just bought this phone from alibaba and should be getting it in a month or so, and since there's (apparently) nobody in the western world working on it, I'll be bringing Lineage 16 to it as soon as I get it. In case somebody wants to check it out, the kernel sources are out, however, under a different moniker called K10 Note, can be found here:

    https://lenovomobilesupport.lenovo.com/nz/en/products/phones/k-series/k10-note/downloads/ds541914

    Our device should use the defconfig for sdm670 plus jd2019 additional configs.

    From what I've seen so far, original kernel is based off LA.UM.7.8.r1-03600-SDM710.0 and it's simply a matter of integrating wifi and audio drivers and disabling driver signature check to get it working. That should give us a fully functional build for 9.0 and pave the way for Android 10 (probably some 3 months after Pie is 100% working). In case somebody manages to make some progress in the meantime, please let me know and we'll join efforts after mine is here.
    3
    https://drive.google.com/open?id=1RfeI5AkmfibNzQhiGKk4FXoWUblnk66t

    This is where I'll keep the files from now on, to maintain everything organized. So what we currently have there:

    - Vendor and boot from 205 without force encryption - This allows you to use internal storage in recovery even if you're using Android10. This is regardless of ROM, you can use GSI, Stock rom or whatever you want, just make sure to flash both.
    - TWRP 3.3.1.0 for our device - Everything works under stock rom.
    - Patched vbmeta (generic) - can be used with any system image.
    - Pixel Experience Plus - 1st build with new camera using Camera2API, pictures look as good as in stock. Bluetooth audio, FMradio and screen lock are broken as of now, will fix this weekend.

    BTW: can you guys please point me to a GSI where everything works? Cause I just tried Lineage and it's got the same problems as my build (plus many other problems...), so now I think it's a vendor problem with 205 as well... Damn Lenovo, man... OR what firmware were you suing when everything worked as it should
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone