yashsingh1/xdaforums huggingface dataset:
[Android General] xperia_bird:
Bro can you give this a try if your device is free. Downloads for files are below.

1.

Flash old Twrp first for custom rom(find [MENTION=5089311]rendroid15[/MENTION] thread) with fastboot command and boot it than wipe System, Cache, Dalvikcache. Go previous screen and Format Data, type in (Yes).

2.

Than Power off phone thru twrp. Now go in to Download Mode to flash stock pie with Qfill.

3.

After succes flash with qfill, dont start phone. But directly boot in to Bootloader and flash Patched Boot for Pie stock. In boot_a and boot_b. (download below)

- fastboot flash boot_a patched_boot.img

- fastboot flash boot_b patched_boot.img

4.

Than choose option reboot to bootloader again and flash latest twrp for the Device. (download below)

- fastboot flash boot (twrp10.5.254).img

5.

From bootloader boot in to Recovery(Twrp). And choose Format Data again and type "Yes". Than reboot device in to recovery again. Using reboot option in Twrp.

6.

Than flash the file attached below Disable_dm_verity_forceEncrypt.zip (new special file, download below), after that flash Magisk 18.1.zip file and try to start to system. ?

Downloads:

- Disable_dm_verity_forceEncrypt.zip (new special file, credits.2 [MENTION=6037748]Zackptg5[/MENTION])

http://www.mediafire.com/file/mn2wl0dk3tcn7t3

Link to thread of zip file Maker:

https://xdaforums.com/android/software/universal-dm-verity-forceencrypt-t3817389

- Magisk 18.1

http://www.mediafire.com/file/a63sug8mp4cetwc

- Patched_boot image Zui 10.5.254(Chinese website, just press button for download)

https://www.lanzous.com/tp/i3u5nyf

- Twrp for Zui 10.5.254 (Credits.2 [MENTION=6636927]gfofanov[/MENTION])

https://cloud.mail.ru/public/5n2W/4SH5eJVt3
[Android General] Gratis4ever:
Ok i try now

Edit : Stuck Blue Lenovo Logo and White logo. Always white logo after blue after white after blue.. I think problem is dm_Verify or root ? I try some different way
[Android General] xperia_bird:
That you see the blue lenovo is improvement!

How long did you wait before deciding it was stuck? I recommend waiting like 30 minutes maybe even more..

I actually think that it will boot if you wait long enough?

When flashing normally and bootloop you only see white lenovo logo...
[Android General] Gratis4ever:
Dude i waiting 40-45 min but sometime long time stay on blue lenovo logo than white logo after blue logo

I try no root = Dont see blue logo

I try no verity = Dont see blue logo

Edit2 : New TWRP log = "Error parsing XML file" // what is that ?
[Android General] xperia_bird:
Can you try.

Flash original boot image back with fastboot.

Than reboot bootloader, flash New twrp10.5.254.

Boot recovery, erase Data "yes". Reboot recovery.

And flash dm_verity than magisk.?
[Android General] Gratis4ever:
Ok I try now bro.

Error parsing XML File. What is that ?
[Android General] xperia_bird:
WheRe you get this error?
[Android General] Gratis4ever:
on new TWRP first open.

"Sorry for my english so bad. I understand but cant type :)"
[Android General] xperia_bird:
No problem bro.✌

So can you boot in to twrp or not?
[Android General] Gratis4ever:
Didnt work bro same problem. Blue logo/white logo/blue logo and if i still wait stuck long time on blue logo
[Android General] xperia_bird:
Can you start over, and flash the original boot image to boot_a and boot_b.

Than restart bootloader and flash twrp 10.5.254.

After wipe data 'Yes'. And reboot recovery.

Than install zip file below:

D.dm.verity v6.0:

https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-6.0.zip

Than install magisk. And start device.
[Android General] Gratis4ever:
Ok I try now bro. Wait edit.

---------- Post added at 03:53 AM ---------- Previous post was at 03:29 AM ----------

Stuck White Lenovo logo :(
[Android General] xperia_bird:
Ok. , thank bro for trying. So the first method worked better i think. You saw the blue lenovo logo, which was good and an improvement. means we need another fix to let it boot.

I will do some research and come back in this thread. In the meanwhile maybe if you flash the patched boot image to _a and _b and than twrp, format data, reboot twrp, flash the first dm_zip and after magisk and start device.

And just let it there for a while, (if you are not using it) with hope that it eventually will boot?
[Android General] umarbest:
I have got my Lenovo Z5, with unlocked bootloader and 3.9.200 ST version. I want to update ZUI version to 10.5.254 [FINAL]. Kindly guide me.

P.S. I have two questions:

1. Will my phone's bootloader locked again after flashing this?

2. Would i be still able to try vanilla or MIUI android after flashing this?
[Android General] Gratis4ever:
1- No. After flash still unlocked if ur devices unlocked already

2- If u try vanilla or any custom rom. U cant back to stock. (I try All custom rom. Just stable rom MIUI, everything work well. I think u should be stay stock rom.)

---------- Post added at 07:03 AM ---------- Previous post was at 07:01 AM ----------

Dude i use it this phone :/ and i try all different way but not boot. Still blue lenovo
[Android General] umarbest:
Do i need to install zui 5 before installing 10.5.254? Or directly on my current stock rom with QFIL?
[Android General] Gratis4ever:
U can directly with qfil dude
[Android General] umarbest:
Bro its giving some sahara error, which version is suitable for it?
[Android General] Gratis4ever:
What ur qfil version ? Please use latest qfil.
[Android General] vosathanh:
To pass sahara, run download right after putting the phone to edl mode (within 6 seconds)
[Android General] dindar8755:
Hi I want full pie ROM of zui254 plz give me a link tanks a lot
[Android General] umarbest:
Thanks, I am now on ZUI 10.5 but its chinese is there global rom available for z5?
[Android General] vosathanh:
Not yet bro. Please test if your device gets any problems with phone call.

My device sometimes cannot call or receive. Must reboot the phone. This is really bad. Also notifications not push as on custom Roms.
[Android General] Blackland007:
How install Gcam on lenovo z5

Need ROOT

---------- Post added at 01:35 PM ---------- Previous post was at 01:18 PM ----------

https://pan.baidu.com/s/1i3qnw-TbovYkvYL-vr3MSw

Need ROOT

ROOT Guide: https://club.lenovo.com.cn/thread-4817887-1-1.html

After obtaining the ROOT permission, open the root /system/build.prop file in text form using Solid Explorer (MT Manager, RE Manager...).

Add at the bottom:

persist.vendor.camera.HAL3.enabled=1
Persist.vendor.camera.eis.enabled=1

Save (note the modification permission is 0644) and restart.

---------- Post added at 01:36 PM ---------- Previous post was at 01:35 PM ----------

Password: 93sh

---------- Post added at 01:38 PM ---------- Previous post was at 01:36 PM ----------

https://pan.baidu.com/s/1B6_62mEWiH8XoWHz39kstA

Password: wyrg

---------- Post added at 01:41 PM ---------- Previous post was at 01:38 PM ----------

Additional instructions:

The first one has a night scene mode in the front camera but not in the back. the second has night sight on the back camera but not in the front. and the two can coexist. You can install both cameras.

Both do not support 16 million pixels, and the maximum resolution of photos is 4000*3000.

---------- Post added at 01:43 PM ---------- Previous post was at 01:41 PM ----------

Good luck. Gcam is a wonderful solution for low light photography.
[Android General] xperia_bird:
Edit
[Android General] umarbest:
Bro, calls are okay but i felt there are problem with notifications they are not real time.
[Android General] kacak11:
LENOVO Z5 Android P

Can not directly install?
[Android General] umarbest:
Bro, is MIUI 10 [9.3.14] more stable & ENGLISH than ZUI 10.5? :)
[Android General] xperia_bird:
IM BACK ON STOCK PIE AND ANY OTHER STOCK ROM!

Edit: We tried my method on another deVice, but not working?
[Android General] xperia_bird:
Did you flash a custom rom before?
[Android General] UltraM8:
Can anyone on latest ZUI P (with root) dump system & vendor partitions pls?
[Android General] xperia_bird:
Im at the moment back to ZUI 4, because of bad signal 3g in pie. When I have the QcN file for pie, i will dump those files for you.
[Android General] xperia_bird:
Bro Can you make a QCN file back up with Qfill if you are still on stock Zui Pie? And NoT flashed custom rom before?

if YeS, PM me the file, I will edit the file. So your imei wont be visible to others when sharing.
[Android General] umarbest:
No Custom ROM Before

No [MENTION=5820655]xperia_bird[/MENTION] I got the phone with ZUI 3.9.200 ST with locked bootloader, I just unlocked the bootloader by applying online and heared that vanilla is still buggy so i updated to official ZUI 10.5.254. Now I am wondering to flash MIUI 10, would you recomend it?
[Android General] xperia_bird:
Before you do that consider that its really difficult to get back to stock.

Custom roms are great indeed. Personally I did not like MIUI to much small bugs. I would recommend ZUI 5 or 10 ported version. Its smooth and does the job.

May I ask you before you flash a custom rom. Can you back up your QCN file if your still on Zui 10.5.254.. If you dont know how I will help its really easy!
[Android General] loutchy:
4.0.474

Hello guys! I'm looking for a '4.0.474" link that works. Could someone point me to one plase?:confused: Thank you!

---------- Post added at 02:57 AM ---------- Previous post was at 02:50 AM ----------

Hello guys! I'm looking for a '4.0.474" link that works. Could someone point me to one please? Thank you!
[Android General] xperia_bird:
Zui 4.0.474:

https://drive.google.com/file/d/1oLbhNiG3u3NjDzamDzlLTTO5ULl6OtzC/view
[Android General] umarbest:
I was interested in MIUI because it's written in OP that it's the only custom ROM after that i can go back to stock. ZUI 10 official is also smooth and it's rooted and I installed gcam :).

Bugs in ZUI 10 official:

1. Notifications are late sometimes (changed some settings in security center & allowed notifications of apps which I want it's bit better now)

2. Low signal bars on 3G network.

I'll help you about qcn file but this weekend I am traveling.
[Android General] UltraM8:
Thx in advance. For some reason I can't unpack fw - it's frustrating, so only dumping is the key
[Android General] xperia_bird:
Thanks bro, I will wait for your file.

And its not correct that you can go back to stock after flash Miui. We tryed it and not working.
[Android General] umarbest:
How about ZUI 4.0.474, is it stock? And based on oreo? Is it stable than ZUI 10 pie? Means real time notifications and strong 3g signals etc..
[Android General] vosathanh:
My idea for anyone trying to go back to stock (your phone will not die): using QFIL to flash stock 3.9.075. in configurations, tick on erase all before download.

Above just an idea. My phone get problems with phone call. I use qfil to erase before download. My phone booted up without network data and wifi. I restored imei and flash persist. All back. Now no more problems. Everything runs smoother than b4. Only the notifications in some apps come late after openning them.

Now i am on 10.5.254 because only this version can flash gcam.
[Android General] xperia_bird:
ZUI 4 is stock version. I'm using it now for a couple of days and its working great actually, so I would say its stable. But notifications are in every stock a problem. Signals are good I think that may depend on your provider to.

ZUI 10.5 pie I could not use because I need that file, so I don't know.

---------- Post added at 04:46 PM ---------- Previous post was at 04:41 PM ----------

I tried that method many times bro, but not working. I think at the Moment you need miracle to get back stock, Just Like you and me haha? (or flash many custom roms and hope something weird will happen to the phone to get back on stock lol)

Im busy on a flashable zip file, for people who want go back stock. So I hope it will work for those who wants stock back on their device.?
[Android General] loutchy:
I restored imei and flash persist

how you do that? if you don't mind please?
[Android General] xplozia:
Try this: https://xdaforums.com/android/general/lenovo-z5-imei-recovery-t3847030 and more exactly "2) after finishing flash android pie 9, there is no wifi. I must go to fastboot again and flash file stock boot.img by the cmd: Fastboot flash boot boot.img and reboot. Wifi issue fixed. " from here: https://xdaforums.com/showpost.php?p=78467963&postcount=80
[Android General] xperia_bird:
Flashing boot wont fix wifi, for fix wifi.

Flash persist file from stock rom or download in this thread somewhere is link shared. Put persist file in your adb folder.

Boot to bootloader. Use fastboot command.

- Fastboot erase persist

After:

- fastboot flash persist persist.img

And wifi is fixed.
[Android General] vosathanh:
So far, we also dont know how we can go back to stock, LMAO.

I am also trying to install recovery everyday to backup the phone, but failed all the time. Is that same on you? If we try: fastboot flash boot twrp.img, i think we can install twrp but we will lose boot again.
[Android General] xperia_bird:
Bro I have your dump files of ZUI 10.5, I will upload them tomorrow! :good:

---------- Post added at 02:44 AM ---------- Previous post was at 02:36 AM ----------

I also have official way go back stock, I just need someone to test it. I have tested it on my device and it works like it should. Just need a confirm from another device. So I can make guide for the people who want go back stock and flash Pie eventually. PM or Reply.
[Android General] vosathanh:
I now don't like the stock more due to notifications. I may try to flash custom roms again. And will test your way back to stock later. ha ha.
[Android General] UltraM8:
Awesome! Thx for helping with this
[Android General] xperia_bird:
Bro I fix the signal issue so im also back on Zui Pie. I must say notifications are working way bettea than any other stock rom after erasing "Security" app.

I get notifications even when app is closed?

But if not work than you can keep apps open for notification, our devices has more than enough Ram to handle the open apps.
[Android General] vosathanh:
Ha ha i forgot to uninstall the secirity app. Now just frozen it.. fyi, i never close apps. Always let it run in background, but still killed by security app, even microsoft launcher killed after 1 night.
[Android General] Burs:
If I understood correctly, this official ZUI 10.5.254 is Chinese rom, not global?

So no other languages, except English I suppose? Is MIUI multi-language rom?

Is there a way to add some other languages for stock zui roms? MoreLocale? Tnx.

EDIT: and btw, can someone reupload patched_boot_ZUI_10.5.254.zip? Links are dead.
[Android General] Blackland007:
https://mega.nz/#!hKxgRAiT

Batched boot zui 10.5.254

---------- Post added at 01:03 PM ---------- Previous post was at 01:00 PM ----------

oEkNG32Gp39DbwPIm_wMrMcJdUMRTB3QKDQwpmuYIa8

Deception key

---------- Post added at 01:04 PM ---------- Previous post was at 01:03 PM ----------

Decreption
[Android General] xperia_bird:
This only works when you have root, and can change to any language you want. Download the app from Playstore. And give root acces.

Root Essentials:

https://play.google.com/store/apps/details?id=com.superthomaslab.rootessentials

Open the app and choose "Interface" section in the app. Swipe down and choose language changer.

Choose your language and that all. ✌?
[Android General] umarbest:
There is a weird problem with my ZUI 10.5.254, in last 6 days i have faced this problem two times. my cellular networks disappears and a notifications pops that SIM not allowed, last time it happens i swapped the SIMS and it started working fine. Today i am dealing with this again. Can anyone tell me whats is this? or I am the only one facing this. Is it related to Magisk or some issue with my SIM card / Carrier?
[Android General] xperia_bird:
Found a way to fix notification on ZUI, using it a day now. And working very good! Even when whatsapp was closed I still get notification.

Read the guide good before using, it may impact your battery life a little. But for now I did not notice huge difference.

Fix Notification thread:

https://xdaforums.com/oneplus-6t/how-to/guide-notification-fix-100-t3865551

(if it worked for you, leave a thanks to the thread maker)

Edit: Second day of use with this command.

Using a third party Email app "Sparky", before using this command I did not get notifications from this app. And now after using this command. Notifications from the email app are coming good.
[Android General] vosathanh:
I got something same to you b4, but my signal was still there, not disappeared. I couldnot call or received. So i qfil again with erase all b4 download on. Recover imei and flash persist again. Now work like a charm.
[Android General] umarbest:
I just flashed ZUI 4.0.474 using QPST now my phone is restarted and asking "if you want to start android, Enter your password" whats that password? Please help.
[Android General] loutchy:
did you fix it? I might be able to help.
[Android General] vosathanh:
Just enter wrong password and the phone will reboot and erase everything, then boot normally :D
[Android General] pokipokipxorn:
Off topic

Lenovo Z5 display is the same as Asus Zenfone 5z? Its Super IPS Plus!!! Sharp and high detail, colors seem to pop out when playing videos.

The dimensions, color gamut, contrast seems to point in this direction.

Please run AIDA64 and screenshot the display panel section with manufacturer and model number.

Thank you
[Android General] xplozia:
Not working for me. PixelExperience version 20181207.

"C:\Users\Cristian>cd /adb

C:\adb>adb devices

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

List of devices attached

xxxxxxxx device

C:\adb>adb devices

List of devices attached

xxxxxxxx device

C:\adb>adb shell dumpsys deviceidle disable

Deep idle mode disabled

Light idle mode disabled

C:\adb>

"
[Android General] xperia_bird:
You should not have any problem with notification on Pixelrom. This was ment for ZUI anyway, because of notification not coming.
[Android General] creedsbg:
What does it mean?

You're device is corrupt.It can't be trusted and may not work properly!

This happens after flashed 254, still can't back to stock.

I was on ZUI 10 ported version, then I've just flashed 254.

Something I did wrong ?
[Android General] umarbest:
I entered wrong password many times but no success then i erased everything myself :cowboy: flashed again. Actually reason was I selected XML file to retain user data.

Flasshed again bro, Thanks anyway.
[Android General] umarbest:
Can you guide me about how to recover IMEI and how to flash only persist?
[Android General] vosathanh:
Follow this link to create a qcn file: https://xdaforums.com/android/general/-t3847030

Your phone must be rooted.

Enable USB Debugging.

Connect device to computer.

1)Open Minimal ADB and Fastboot command prompt.

2)Type adb devices → enter.

3)adb shell → enter.

4)su → enter.

5)setprop sys.usb.config diag,adb → enter.

Open qfil/TOOLS/QCN BACKUP AND RESTORE/TICK ENABLE MULTI-SIM. AND BROWSE THE FILE QCN JUST CREATED.

==>CLICK RESTORE. ONCE THE QFIL SAYS RESET, JUST REBOOT THE PHONE. after reboot the phone, repeat 5 steps above to finish flashing.

* The persist file you can also find in the link above. Just go to fastboot and flash:

fastboot erase persist (My phone failed to flash. Don't worry. continue to the next flash)

fastboot flash persist persist.img

:D
[Android General] umarbest:
I erased & flashed only persist and now gyro & rotation sensor is not working. The sound is also breaking in games and WhatsApp audio recording message and etc.

Edit: Flashed persist again. Flashed ZUI 10.5.254 again. still same :(. please help.

Edit2: Life is not good without sensors, lost all sensors

I have only phone this time and its non-sensor now
[Android General] loutchy:
My Z5 doesn't boot. I've tried all the stock rooms available on this site and all the custom rooms available on the internet. Nothing works. The phone turns on, starts loading ..and that's it. Does anyone else have this problem??

https://drive.google.com/open?id=1WZuhPO4Wrmv8W_wOAmcEKUiDIYQUOhndig
[Android General] umarbest:
Should i check the option "enable multi sim" while creating the qcn backup in qfil?

Currently is giving some dll error while creating the qcn backup. QSML_MSVC10R.dll i think.
[Android General] xperia_bird:
I think you should try install stockrom zui 4 but check the boxes in settings qfill/qpst "Erase before download" and "Reset after download"

After go ahead and install zui 4, than let it bootloop 3 times.

Download Zui 5 and Zui 10 ported version, you can find it at first post of this thread.

Boot phone into Bootloader and install Zui 5 first, than let it boot and activate it. After that boot into bootloader again and install Zui 10 ported.
[Android General] vosathanh:
Better flash qfil 10.5.254 again to see what's happening. If bootloop again, flash qfil 3.9.075 and flash zui10 ported. There should be no more problems.

When restore imei, should check enable multi-sim. If you did 1 time successfully, so no need to restore again.
[Android General] umarbest:
I flashed 10.5.254 again, then 4.0.474, then back on 10.5.254 but my problem is not bootloop, I just did erase persist & flashed it again in fast boot mode and all sensors of my phone stopped working. Accelerometer & orientation sensors seems hardbricked in all sensor testing apps. I now want to try "erase all before download" option but i am still unable to create qcn backup, so i was asking when CREATING QCN BACKUP SHOULD I CHECK ENABLE MULTI SIM ?
[Android General] M.Z.F:
MIUI 10 new update 190510_Z5_miui_9.5.9_Pie (worked with ZUI 10 only)

Download link

https://mega.nz/#!YiB0XIJC
[Android General] xperia_bird:
Yes, enable Multi sim.

If backup still not working, just follow the guide on xda to restore imei. It does the same job.
[Android General] M.Z.F:
190510_Z5_miui_9.5.9_Pie (Work with ZUI 10 only)

Direct Download

https://mega.nz/#!YiB0XIJC!aykBuDqWxQWsbWc0kcNnBhtHy_5eqDO1Giw_avvj2WQ
[Android General] umarbest:
I am back bro with all sensors. Thanks for your concern.

P.s. anyone flashing this new miui 10 update, hope many bugs fixed in this.
[Android General] loutchy:
Thank you! My TWRP doesn't recognize the images of Zui 5 and 10. I can't flashim with it. Is it ok sideload ADB? Is it possible first of all?:) Thank you again.
[Android General] xperia_bird:
You dont need twrp for install zUi 5 and 10. Just turn your Device off.

Make sure your phone is in bootloader screen. So connect your phone cable to PC/Laptop. And press and hold Volume Down button, than connect the other side to your phone.

download roms, and open the map. Inside is a batch file(installer) double click it. Press 2 after that press 3 times Enter.

And just wait untill it finish, and device will restart. Make sure before install Zui 5 you have installed Zui 3 or 4 first!
[Android General] vosathanh:
Still waiting for global rom for lenovo z5 with no hope. cry...
[Android General] xperia_bird:
Bro where did you get the info for the Global Rom? I never heard about it?
[Android General] umarbest:
Is there anyone working to make stable PixelExperience ROM for Z5?
[Android General] M.Z.F:
Here you go

PE (10-05-2019): https://mega.nz/#!M65R0Qwa!OhxqBiOuUYSikdqBhJ0jW-OALrDUocTXiQTTSIoGQdE

Bugs: Just Charging light else is clear

RR (16-04-2019): https://mega.nz/#!43hRxYJR!hwKWkOt3SuYDU_PmFakT4OBuWlqW1auq-EXSu7IrN8s

Bugs: Just Charging light else is clear
[Android General] xplozia:
You already installed this version? How? I tryed to install versions from 2019, but without success. I have installed and working for me, only version from decembre 2018: https://github.com/EnesSastim/Downloads/releases