yashsingh1/xdaforums huggingface dataset:
[Android General] KiiKeEp:
Hello paisano, exactly wich differences you saw in the guide?

I unlocked my phone on 5.0.117 ST, that's the "latest" ST version because I tested .118 ST and is the chinesse ROM (ENGLISH/CHINESSE LANGUAGES ONLY) but it comes with a lot of features and a better UI for the launcher and bug fixes, you can remove easily the bloatware. But I don't reccommend you unlocking bootloader on a chinesse or any other bloated ROM. Maybe thats the reason you say you saw differences in guide, because chinesse guys have to install speciffic version of their CN rom.

My reccommendation is to wait until a ROM is released, if you want to test, you can install .118 ST you can use magisk image to root, and if you don't like it you can downgrade to .117ST again, you only need the QFIL firmwares.
[Android General] Julio2019:
Sure, it's probably because of their CN specific ROM, then I would try the other one. Although i was hopping to install the CN. I want to get rid of the google apps, and installed again but only with the gmail, google maps, and playstore, that way only those google apps would be running in the system. And Chinnese ROM, like you said, is more easy to delete chinnese bloatware. Then proceed to install those google app that i have mentioned befored. I haven't installed the CN ROM because the seller told me that it could be some modem and imei compatibility issues. Then, should i move to 117/118 st? Or wait and stay in the .066 st? What improvements does the zui 5.0.117(.118) have that zui 5.0.066 st doesn't have? please. Because, unlike other phones, our models have less/nothing info about the OS (zui) features and improvements. I don't know how the .117 was build, because the global rom supposedly supports OTA but it said no updates. And Chinnese ROM users have got stable updates, they are now in the .188 st. And probably they could got a Pie upgrade zui (android 9).

---------- Post added at 09:26 PM ---------- Previous post was at 09:04 PM ----------

I almost forgot brother, i'm going to read carefully your guide, and do it. But i was thinking if you agree that i make a video following the guide, for reference to others, about unlock, root and unroot, and TWRP installation. Maybe you, the user who share us the root method, and I would be the west pioneers of the phone, because, really, only the three us have focused in discussing about this matter, like a said before 4pda only are discussing about sellers of the phone, and other spamming with the intention to lower the popularity of the phone. Thank you very much for this guide you prepare. I'm being cautious because i'm really a newbie in this matter about lenovo phones. Other phones are more easy to play with it and improve it. This phone is very strong in its performance and durability, so learn how to use it at its maximum it would be great!.
[Android General] RyazanskyKlop:
Good afternoon.

I apologize in advance: I do not know English, so I use machine translation.

What phone model did You unlock? I have a model with 4/64 memory and Motorola logo on the back cover. 4pda from words to action: trying to follow Your guide. My problem is that zui.com doesn't give me an unlock code: it doesn't understand my IMEI. Errors in the IMEI no - it is on the box, and the code *#06# it matches the box. S/n - 6 characters.

And what to do with it - I don't know.

Screenshot attach the not give: little posts. Substitute at the beginning of http:

//4pda.ru/forum/index.php?showtopic=925665&view=findpost&p=84264489

UPD: Just found out the serial number is in the settings. However, it is completely different from what Bootloader produces. Are they different?
[Android General] KiiKeEp:
That strange, let's see..

*I got same model 4/64, global ROM version on AliExpress Lenovo oficial store.

*IMEI1 is 15 character long

*Use bootloader s/n

*Make sure you select Lenovo on zui.com
[Android General] RyazanskyKlop:
That's right. But for some reason I have it does not pass... I'll think...

Is there a Motorola logo on the back cover? I don't believe it has any effect, but still...
[Android General] KiiKeEp:
Global ROM version comes with both Motorola and Lenovo logos, mine is the same, the first time gave me the same imei error because I selected ZUK on zuk.com, then I realized that you have to choose Lenovo and that solve it, maybe you can try with zuk, but may be give you error too
[Android General] RyazanskyKlop:
Tried and ZUK, and Lenovo - everywhere mistake. Understand nothing...

Ask people 4pda go to zui.com to get the code. Then we'll think about why I can't.

Thank you!
[Android General] KiiKeEp:
If you wish send me private your IMEI and sn and I'll try.
[Android General] Julio2019:
Hello:

The IMEI that you need is the one that has 15 digits. Also you need your s/n, and you need a valid email (it can be gmail, outlook, etc...). You need to enter the captcha numbers that appears below (it has time limit, so if it throws you an error message, refresh it).

Also, important to mention. It's better not to have modified the phone, i'm talking about modifications that could alter the IMEI. Until know that only modification could be installing the CN ROM instead of the ROW ROM. And its a probability, it's an advice that the seller gave me.

So you are a 4pda forum member, I too. So could you gave them this recommendation for me please. I bought the phone from SUNSKY, the 4/64 GB version. It only took 1 labor week to be in my house. I'm from Mexico, so the distance were big, but this seller ships fast. I choose the dhl express option, by recommendation of the seller.
[Android General] Julio2019:
Greetings KiiKep!

I'm ready to do the flash and record the process. I want to confirm the order to upgrade the phone. First is install .117 stock > unblock bootloader > root device. Is that order correct?
[Android General] RyazanskyKlop:
How to put our phone into diagnostic mode? I can't do that... The PM data sent.
[Android General] KiiKeEp:
You press Vol- on Lenovo 2nd boot logo
[Android General] KiiKeEp:
Yeah, on .117 ST, if you can, confirm if worked to you thanks!
[Android General] RyazanskyKlop:
Hi.

Unfortunately I was not able to unlock bootloader. According to the instructions of Your colleague got root - everything works. However, my colleague from 4pda.ru unlocked the bootloader today and promised to spread information in the forum thread. Thanks again for your help. :good:

---------- Post added at 11:52 AM ---------- Previous post was at 11:48 AM ----------

Hi. I do not understand: to whom and what recommendation I should give. Machine translation is very bad. I ask You to write Your wish in simple terms: it is easier to understand.
[Android General] KiiKeEp:
I don't understand this:

V. Другие вопросы

8 При подаче заявки, пожалуйста, предложите «Пожалуйста, введите правильный IMEI1», чтобы

проверить следующие 3 аспекта:

A. Вам необходимо обратить внимание на ввод символа половинной ширины

b, чтобы проверить, соответствует ли ошибка ввода

c информации о мобильном телефоне вашей привязке учетной записи форума к мобильному телефону IMEI1.
[Android General] KiiKeEp:
It looks like the IMEI1 error is an issue related to the mobile registration with Lenovo, I THINK THE FIX IS REGISTERING YOUR PHONE HERE "https://support.lenovo.com/productregistration"

Maybe you after that you have to wait to lenovo databases get updated, I don't really know
[Android General] RyazanskyKlop:
You'll laugh, but the Russian technical support of Lenovo all pretend that such a phone does not exist. And the serial number is not in the database! And in Russian forum about this phone is not in the database! And my question is about the unlock I was threatened by the ban...

But it was something else. :laugh: I bought a phone as a gift to my wife. To give the right did not, at first, decided to unlock. NOT INSERTED SIM CARD!!! Last put them, and this morning it was just as necessary: request received, the unlock code sent.

Thank you very much for your participation!
[Android General] Julio2019:
Hello KiiKerp

I have installed QPST tools, by the way, where do you downloaded the 118 st? I haven't find it yet, only appears 117 st in all my searchs in google. By the way. Could i backup nandroid and modem in QPST tools without root? Or i need to root my phone while being in my current firmware (5.0.066 st). I am asking, because i have read in 4pda forums that some guys lost their IMEI1 in the process of installing TWRP. So I am thinking if i could backup my image or at least the nandroid and modem (all the QCN) before doing any modifications.

Are you sure is 118 s? I think maybe is 188 st. By the way, i have see in cn forums that there is a new stable room. Do you have install 117st and 118 st without any issues like lost your IMEI, bluethoot fails , etc...? Thanks in advanced.
[Android General] KiiKeEp:
Flashing TWRP only affects to recovery partition, losing imei by flashing recovery doesn't sounds logic, maybe you can try do the backup after flashing TWRP (do partitions backup on twrp).

.188ST is the latest chinesse firmware

.117ST is the latest global firmware

*I have installed chinesse .188ST on a global phone, no problem.

*I have installed .117ST again, no problem.

*I have flashed treble (GSI) roms but can't boot them, so after that I flashed .117 again on QFIL to restore and no problem. Then I flashed again TWRP because I like to have recovery.

My IMEI is intact after several flashes and experiments.
[Android General] Julio2019:
Hello again mr. KiiKeEp!

Hope you are having a good day. Yes, I agree with you. Then something they did wrong. I'm going to follow carefully what we have discussed here. If there is any question be sure i'm going to ask. But i don't know what they did wrong. Maybe they jumped some steps. But, anyway, then, i'm going to install TWRP like we talked ago, doing a back up in TWRP seems to be more user friendly than using QPST app. Also, what drivers did you install in the computer, the one called Qualcomm or the one called Lenovo L38041?.
[Android General] Julio2019:
KiikeEp

Sorry for the inconveniences, but i can not unlock bootloader, i'm trying to do it in my current stock, everything goes well, until i click the red button after dragging my sn.image to the lrflashtool, there my phone reboot but enter in a display that show me this menu: Start, Bootloader, Recovery and Power off.

What to do there? Thanks in advanced
[Android General] Julio2019:
Device rooted without any problem. Starting to delete bloatware.

---------- Post added at 01:51 PM ---------- Previous post was at 01:34 PM ----------

KiiKeEp what software do you recommend to delete all the bloatware?
[Android General] Julio2019:
Bloatware successfully removed!. average free memory 2.7 Gb Ram on a 4/64 model. Phone performance is really fast!. Gapps installed Youtube, Playstore, gmaps, and Services, no other google stuff, and only starts when i run it. Services background process at most 1 service. 1 process.

---------- Post added at 03:40 PM ---------- Previous post was at 03:39 PM ----------

This zui version has many performance features, it has a game mode configuration on the zui lab menu.

---------- Post added at 03:41 PM ---------- Previous post was at 03:40 PM ----------

No IMEI, bluetooth, modem neither roaming issues on Chinese ROM. It is safe to upgrade.

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

Everything it's working very well, as i have expected.
[Android General] KiiKeEp:
Nice, I returned to .117 because in app purchases doesn't work on .188 (how do you installed playstore?, I installed on the store that came in the launcher) maybe flashing opengapps.

I don't recommend you to close bootloader, only if you are going to be 100% stock, if in a future you want to flash something via TWRP you may have problems.

For a flashable .zip you only need system and boot.

Keep in a secure place that 0.066 folder because there is no QFIL firmware, only .117 and it is very buggy

For debloating I use systemappremover or sdmaid, there are a ton of bloat apps on /system/preinstall/, so you can delete that folder and get rid of the mayor part of the bloatware.
[Android General] Julio2019:
Good morning KiiKeEp!

I installed the playstore from the app purchases. I only wrote the word google in the app purchases search bar and playstore appears. Google Services i installed after youtube, because when i run the app it ask me to install Google Services.

I deleted bloatware using es explorer, deleting apk and its folders.
[Android General] KiiKeEp:
Hello, if you want to go to the next step, you can try installing some custom roms.

iRight now I'm trying AOSP Extended.

How to:

1. https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list

2. Download ROM A Only version

3. Factory reset phone, at reboot enter bootloader

4. fastboot erase system

5. fastboot flash system system.img

6. fastboot -w

7. fastboot reboot

flash gapps magisk etc via twrp (please re unlock you BL)

--------EDIT-------

After GSI rom flash, TWRP gives data decryption error, so I can't flash gapps and magisk for now.

-----EDIT2-----

Installed via sideload on TWRP, there's an advanced option too to disable encryption, now I got GAPPS and Magisk
[Android General] Longhorn87:
Thank you very very much for these suggestions! I'm thinkin' to buy this phone, but first i need to be sure that some Treble GSI's are fully working, at least about RIL, camera, WiFi, hotspot, Bluetooth, sensors and other basic functions...

So, since AOSP Extended is my favourite rom, how is working on your K5 Pro? Thanks :)
[Android General] KiiKeEp:
Unfortunately nope.

The rom works very well in every aspect but the headphone jack doesn't work, not very good camera quality, no dual camera, and front facing camera UI is glitched. The other stuff works.

I posted a comment in AEX xda post but I don't know if this bugs are going to be fixed because the phone is not very popular here.

Stock rom is very good for my opinion
[Android General] theopoilmek:
Hi Guys,

How much time you received the email after fill imei1, s/n and e-mail adress ?

i did the procedure, but I received nothing in my email after 1 day

thx in advance

edit : i used an Yahoo mail adress. Now i use gmail adress and it works ! :)
[Android General] Longhorn87:
It's better than i expected... Which version you've installed? Oreo or Pie? Camera may works better with a third party app like OpenCamera or Footej. I think i can live without a fully working camera, but the headphone jack is essential. Thanks again for your efforts!
[Android General] theopoilmek:
It works!

thank you very much ! good job :)
[Android General] KiiKeEp:
Installed Pie, I want to test Phh oreo, I'll report results later.

I think the bugs can be easily fixed by a dev, maybe porting the camera and audio drivers.
[Android General] ChazyTheBest:
Hi, can i directly flash the sn.img using fastboot? Or does that flashing tool do something special?

I don't run Windows, so if there's no difference then I'll just flash it to the bootloader partition.
[Android General] KiiKeEp:
you need to use the software, I don't really know the internal process or the partitions affected
[Android General] ChazyTheBest:
I guess I'll have to boot Windows...

About the phone software version, when I check for updates it says there aren't any... I first checked about a month ago when I received it (I bought it on aliexpress from the official store, and it has the Motorola logo) but it doesn't update, it is on the 5.0.088 ST version.

Is it really necessary to update to the latest version? Or can I just flash the sn.img with that version?
[Android General] KiiKeEp:
If you are using OSX you can use parallels, in Linux is hard to get the USB working on virtual machine. But I suggest you to use windows.

You can flash with that version.
[Android General] ChazyTheBest:
In the end I decided to risk it and I got it working in Linux. The steps are very easy:

1. Get the sn.img file.

2. # fastboot flash unlock sn.img

target reported max download size of 536870912 bytes

Sending 'unlock' (5 KB)...

OKAY [ 0.008s]

Writing 'unlock'...

(bootloader) run fastboot oem unlock-go

OKAY [ 0.009s]

Finished. Total time: 0.019s

3. # fastboot oem unlock-go

4. # fastboot flash recovery recovery-TWRP-3.2.3-0225-LENOVO_K5PRO-CN-wzsx150.img

5. # fastboot reboot

6. Press vol + to enter twrp.

After step 3 the phone will reboot, it will encrypt the system partition and reboot again into the welcome assistant. I just rebooted and pressed vol -.

So that's how it works internally, it flashes the img to the unlock partition.
[Android General] KiiKeEp:
Nice, thank you
[Android General] 1yang:
Thanks I will try to my K5PRO
[Android General] KiiKeEp:
Headphone jack workaround:

Install Lesser AudioSwitch

https://play.google.com/store/apps/...&hl=es_MX&rdid=com.nordskog.LesserAudioSwitch

EDIT:

Headphone jack fix:

adb shell

su

setprop persist.sys.overlay.devinputjack FALSE

reboot
[Android General] Nox.BG:
Hello, I installed android 9 the way you mentioned but as you said some things just dont work. I followed your bootlock unlock methods and then your post on page 3 regarding fastboot rom flashing.

My problem is that i cannot find a way to revert my phone to stock.

Can you point me in the right direction?

I downloaded the Lenovo K5 Pro rom from the site in your first post but QFIL doesnt find any file from the archive.

Whenever I try to get QFIL to find my phone it is either interupted by TWRP or booting into Android. QFIL detects the phone only while it is loading Android.

Tnx for the post anyway!
[Android General] kikich:
Hi,

thank you for all this information, but unfortunately I encounter a problem.

I managed to unlock the boot loader, but after that I did not enter my Google account in the smartphone, the application seems to crash.

here is a video of my problems.

[YOUTUBE]https://youtu.be/RJ_mWa1WNgU[/YOUTUBE]

I try the chinese rom stock and no problem of course.

thank you in advance for your help.
[Android General] KiiKeEp:
1. You download and extract this in a folder on your desktop with winrar (this is global .117 ROM): https://firmwarex.net/lenovo-k5-pro-l38041-android-8-1-official-firmware/

2. Download and install QPST (QFIL is included): https://qpsttool.com/qpst-tool-v2-7-474

3. Download and install Lenovo Driver (reboot): https://lenovousbdriver.com/download/lenovo-driver-v1-1-34

4. Open QFIL

-select FLAT BUILD

- Programmer path "prog_emmc_ufs_firehose_Sdm660_ddr"

- Load XML and select rawprogram0.xml then patch0.xml

5. Turn off phone, plug USB while pressing VOL + and VOL-

6. Wait until pc recognize it (wait until 30 seconds), if it still saying in QFIL no port aviliable select port manually.

7. Clock download and wait till finish.
[Android General] KiiKeEp:
Maybe your gapps package isn't the correct one, wich rom are you using?
[Android General] kikich:
I just use the global stock rom.

L38041_CN_OPEN_USER_Q00020.0_O_ZUI_5.0.163_ST_181121_qpst
[Android General] KiiKeEp:
That's not global, is CN
[Android General] kikich:
sorry, it is L38041_ROW_OPEN_USER_Q00020.0_O_ZUI_5.0.117_ST_181225_qpst

i use the L38041_CN_OPEN_USER_Q00020.0_O_ZUI_5.0.163_ST_1811 21_qpst for the moment.
[Android General] horlahwaley:
bootloader unlocked, Thanks for the post?.

how can one get a stereo sound on the eariece speaker?

Are there custom roms available for this phone?
[Android General] KiiKeEp:
the phone have stereo earpiece but the volume is very low, no fix for now

there's no custom roms but you can install gsi treble roms via fastboot, the only think broken is camera
[Android General] horlahwaley:
Thanks for the reply, can i get a link to the gsi roms?
[Android General] Nox.BG:
Hey I do you have the following issues with the phone while the global .177 ROM is flashed:

Apps like Viber and messanger go to "sleep" -delayed notification. /wifi policy is to be always up/

Unable to change the lockscreen image - "live lockscreen gallery" is controlling what i see on the lock screen. I cannot find it as an app nor as a file, when I use an image for a wallpapper I select to use it as both wallpapper and lockscreen but it doesnt show on the lockscreen and after a while random images start to show up there.

Random sim disconnects - I believe that its just a faulty device but my sim is disconnecting randomly. A reboot fixes the problem, there is a minimum shaking distance in the sim tray but i doubt that this is the problem.
[Android General] Botandroid:
I hope the earpiece sound it's more high than my Umidigi one pro that have, it only 10% earpiece and 90% speaker. I hope this is better than Umidigi in stereo because I wait to receive my k5 pro. And what pie ROM I have choose: arm a, arm ab, arm64 a or arm64 b? Thanks
[Android General] rlb596:
[/COLOR]

You might be able to work around the sound issue by using ViPER4Android
[Android General] KiiKeEp:
I don't have that issues, maybe reflashing rom?
[Android General] KiiKeEp:
Arm64 a only
[Android General] felixdl:
hello,my phone is CN version.Can i flash global rom in my phone.Thx so much
[Android General] Botandroid:
Delete.
[Android General] Botandroid:
Theres any chance to flash with TWRP?

I try to flash in TWRP but without sucess, because, as it we already known, in this metod the phone don't boot in all gsi roms. I saw in telegram that someone was able to install in fastboot metod. Thanks.
[Android General] GIOPOWER13:
Hi, can you reupload LR box tool? thanks
[Android General] felixdl:
My phone,S/N is 7 digit,i can't unlock.:(
[Android General] Longhorn87:
Be sure to insert the correct serial number, as described here:

PS: did someone try an Oreo GSI? I'm still wondering if I could unlock it, flash a GSI and use it like a daily driver without major issues... Since Lenovo basically has no update plan for this phone.
[Android General] KiiKeEp:
Phh treble Pie works perfectly, only usb MTP not working, various fixes for make it perfect in telegram group https://t.me/lenovok5pro
[Android General] KiiKeEp:
http://www.mediafire.com/file/fv8ahbt7w51fuzd/LR-TOOL-K5PRO.rar/file

I can't edit the OP i don't know why
[Android General] combinedfleet:
Can you test if exFAT-formatted microsd cards are supported? The stock rom only recognizes FAT32, which suffers from the pathetic 4 GiB max file size limit. Thanks.
[Android General] xanthrax:
I`ve done it for you :cowboy:
[Android General] svpb:
working good on phh pie

i was able to unlock the boot loader , install twrp, flash the lastest Arm64 A only from Phh (system-arm64-aonly-gapps-su.img)

I had to install image file

wipe data and cache

install image file again

wire data and cache again.

It booted up great.

the issue I then ran into was the camera. it kept crashing and the selfie camera has artifacts.

I found this enabler: https://xdaforums.com/apps/magisk/module-camera2api-enabler-t3656651?ez_cid=CLIENT_ID(AMP_ECID_EZOIC)

after flashing it from TWRP i rebooted and installed the following GCAM

GCam5.1.018-Arnova8G2-V1.4.apk

IF i have other problems Ill write back.

How is this working for everyone else?
[Android General] KiiKeEp:
Hello, yeah, to get camera working you have to enable camera2api and install arnova 1.6, this was discussed on telegram group.

The most stable GSI rom tested by me is PHH's 8.0, that's how we got better kernel compatibility. on 9.0 camera doesn't work on certain apps, but in 8.0 is just perfect and gcam's hdr+ algorithm gets better quality on photos than stock.
[Android General] svpb:
Thank you for the recommendation. i have been happy with the stability of 9.0. the problem i have run into is the Bluetooth call audio. I have tried the phh 8.1 with no success. I have also tried Lineage and a few others and they all seem to have bugs.

Is there a call audio fix that you know of. i am on telegram trying to see if anyone has a solution
[Android General] Ablasise:
Yes you can.