yashsingh1/xdaforums huggingface dataset:
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
It should. I recall some did manage to run it.

https://xdaforums.com/k5-plus/development/rom-t3828782

There should be some tutorials about restoring imei, nothing is illegal unless you change it to something else.
[Lenovo Vibe K5 Guides, News, & Discussion] agritux:
i have qcn backup. trying twice to restore it worked. thanks
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
May i ask you what executable or program did you use to backup/restore the imei?
[Lenovo Vibe K5 Guides, News, & Discussion] agritux:
sure. i always do a backup when i buy a phone. i backed up with qpst.
[Lenovo Vibe K5 Guides, News, & Discussion] xperia23fan:
can you restore the download links for necessary files please ? thanks..
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
I'm the OP, just different account.

https://www.androidfilehost.com/?fid=1395089523397902348 - for 415

https://www.androidfilehost.com/?fid=1395089523397902349 - for 616

https://www.androidfilehost.com/?fid=1322778262904026038 - drivers

The steps and warnings still apply.

Be sure about what SoC you have.
[Lenovo Vibe K5 Guides, News, & Discussion] anil456:
If there is still anyone who have sahara error on 616 I suggest to use Quectel QDLoader 9008 driver. My phone had been dead(black screen), I kept getting sahara error all the time and I gave up 3-4 years. Then I luckily updated qualcomm drivers to quectel one with iobit driver boster app yesterday and it was work. I'm still surprised because of my phone has come back to life after many years...Of course bootloader is still lock, I see a lot of rom and project about a6020 but I can't use it. Thanks Lenovo!
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
are you sure that your phone didnt disconnect while flashing?
[Lenovo Vibe K5 Guides, News, & Discussion] Pandemicc:
yes, as I have stated before, flashing done successfully
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
- is your cable faulty? successful flash doesnt say much

- did you power-cycle (reinsert battery)?

- did you try button combnations?

- what do you see in Device Manger when you plug your phone after powering on?

c'mon, i really want to help you, but without much info i cant do much!

try vol up + vol dn + pwr btn

---- or ----

only press vol up and plug to computer, look for hs-usb qdloader.
[Lenovo Vibe K5 Guides, News, & Discussion] denny.hell:
Black Screen After Flashing

Hey! I'm the guy that sent you a PM on your other account.

Here are screenshots of the info you asked about.

The only difference that I can notice is the COM port. The first time I did this it said that it's on COM3. At first I tried with the VibeK5 files but it gave me a Sahara error. I was sure that my drivers were okay so I didn't change anything about them and I also checked my SOC with CPU-Z (it's 615 or 616 - I don't remember), so I tried with the VibeK5Plus files. The flashing was successful but when I tried rebooting the device the screen won't light up. Everything else works (even the touch interface) but I can't see what I'm doing.

I also tried desperately to flash TWRP with "fastboot flash recovery twrp.img" and for some reason it worked, the bootloader wasn't locked anymore. But the black screen persisted. So using adb shell and the twrp command line tools I installed this ROM - https://xdaforums.com/k5-...2-1r4-t3591522 . The ROM boots up and everything works except the screen is still black.

Also when I try flashing your files while on COM4 port I get this error from QFIL:

I think that the COM3 port is reserved for QFIL but I don't know how to change it so I can't try flashing your files again.

Any help you can provide will be greatly appreciated. If you need more information please tell me.
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
thanks for the screenshots. COM number has nothing to do with your phone.

i dont understand how your bootloader is unlocked. mine is locked, i guess.

about your SoC, cpuz is misleading, look at your box. there must be written.

mine sports a SD415 and i've made it successfully.

let me see... i happen to have your stock rom, with hw code 49. you can see the code under the battery.

i will upload it and send the link soon.
[Lenovo Vibe K5 Guides, News, & Discussion] denny.hell:
I checked the box, It's the Snapdragon 616. Still don't know why the screen went black though. I will wait for you to upload the stock rom. (yes, the hw code is 49). As for the bootloader, I have no idea why did it unlock or how.

Thank you very much for your help. I just hope it works :)
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
uploading 2.5 gb doesnt seem to finish soon...

know what? you can install lenovo moto smart assistant, open " flash" tab, enter your model name and rescue it. this will also download your rom. ofc if you cant wait for me
[Lenovo Vibe K5 Guides, News, & Discussion] denny.hell:
I tried that yesterday. It gave me a FAIL. When I checked the logs i discovered that it gets to the point of flashing the recovery and then throws an error. My guess is that it can't flash because the bootloader is unlocked. I have the ROM, but can I flash it somehow other then using the Moto Smart Assistant?
[Lenovo Vibe K5 Guides, News, & Discussion] electric.droid:
okay, i did some experiments on my phone.

1) i hard-flashed the stock rom using qfil.

2) i replaced emmc_appsboot.mbn with the one i pulled from indian a40 stock rom.

3) i flashed the modified rom using qfil the same way i did with step 1

4) after power-cycling, i booted up directly into recovery (vol-up + power, then select recovery)

5) i'm in twrp with unlocked bootloader!!

i'll attach files later

well, I lost the files... so by tomorrow, at best, I will upload them.
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
if someone's interested in trying to build their own package, i will write instructions.

edit:

btw, when the phone is powered off, plugging usb cable while pressing both volume buttons will take to download mode, which will save a bricked device
[Lenovo Vibe K5 Guides, News, & Discussion] denny.hell:
I'll wait for the files. I also tried restoring a TWRP backup (found it here on the forum). The phone boots up everything is okey but the screen still won't turn on.

If you mean a QFIL flash package, yes I'm interested.
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
oh brotha...? i still can't get how you can use your phone without display?

anyway, i have rebuilt the files, now uploading to onedrive.

to build your own qfil flashable package:

Download this: http://moto.shreps.fr/Lenovo Vibe K5 (A6020)/ROM/StockFirmwares/A6020a46_S034_160411_ROW_qpst.rar

Extract emmc_appsboot.mbn (must be in SW folder, i dont remember) from a46 firmware and save elsewhere.

Then download this: http://moto.shreps.fr/Lenovo Vibe K5 (A6020)/Recovery/twrp-k5-3.2.1_shreps.img

Rename twrp-k5-3.2.1_shreps.img to recovery.img and save to same place where extracted emmc file is.

Replace both emmc_appsboot.mbn and recovery.img in your original firmware with the files you saved "elsewhere"

flash the whole thing.

---------- Post added at 08:38 PM ---------- Previous post was at 07:39 PM ----------

here's the link: https://1drv.ms/u/s!AtiNxQpT16SxiSy2UCb0st9eEENc

the pre-made firmware
[Lenovo Vibe K5 Guides, News, & Discussion] denny.hell:
Who says I'm using it? hahaha. I can only get it to boot up in all possible ways and connect it to a PC. :silly:

Also, check out the image bellow. I think that those two need to be the same, if I'm not mistaken.

I'm downloading the files you linked. I will try them out if I can get the phone to boot up in proper EDL mode. I boot it in download mode using the key combo (Vol up + Vol down at the same time plugging in the USB cable) but QFIL still says that it is not in EDL mode and when it tries to switch to it, it gives me an error that it couldn't do it. So at this point QFIL is useless to me :p

-------------------------------------------------

Thanks for the files. Downloading now, I just hope it works.
[Lenovo Vibe K5 Guides, News, & Discussion] electric.droid:
did you powercycle your phone? did you pull the battery out and reinserted it? try key combo again...

i am just not sure your phone did actually turn off.
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
also, i dont have an SD616 device, therefore i cannot test the "vibe k5 plus" files.

the original authors of this tutorial didnt seem to know the existence of a41 device with SD616 either.

thats why i made a stock rom that preinstalls twrp and unlocks the bootloader in the process, and it is based on the original firmware of the SD616 variant. Again, i cant test it, because i aint having an SD616, but i did my best by making the same rom for SD415 and flashing my device. The results were awesome: unlocked bootloader, checked; custom recovery, checked.

You may ask me why didnt i remove the system files. I just didnt want to mess further: if aint broke, dont fix it. the only downside of this is that you have to wait longer to finish flashing. only thing you need is patience, my friend, patience...

also, long-pressing the power btn doesn't do anything on my device, pulling the battery is my only option. FYI

Lastly, i appreciate the feedback you give, your screenshots help me much! so, please, lets keep in touch until we get your phone running. thanks
[Lenovo Vibe K5 Guides, News, & Discussion] Pandemicc:
power-cycle= only vibration

button combinations= only vibration

The device can be seen in device manager when connected to pc while pressing volume up button. Now I will flash the stock rom with qfil then try again but what should I do if it fails again?

edit: stock rom flashed successfully and everything works fine. What should I do to flash that k5plus file successfully?
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
can you use your phone normally right now?

what processor do you have? 415 or 616 ?

if 616 then here: https://1drv.ms/u/s!AtiNxQpT16SxiSy2UCb0st9eEENc flash it. after flashing powercycle and boot to twrp (vol+ and pwr). if you boot into android, system will overwrite twrp with stock one.

if 415 then wait.
[Lenovo Vibe K5 Guides, News, & Discussion] Pandemicc:
Yes the device is fine and it is 616, flashing now
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
be careful and report here plz
[Lenovo Vibe K5 Guides, News, & Discussion] Pandemicc:
The device vibrates but no display again
[Lenovo Vibe K5 Guides, News, & Discussion] electric.droid:
https://1drv.ms/f/s!AtiNxQpT16SxiS-oCTTGyHs-6lr6

replace the emmc_appsboot.mbn from the link with the one in modified rom

...and maybe reinstall the drivers? just in case...:confused:

again, please some feedback...
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
NOW i get why there is no display... thats bcoz i used the file from a46 variant - they have 1080p screens, while our a41 is 720p. use the lastest link i posted and replace emmc file in the modded firmware.

sorry for inconvenience

as long as you can flash using qfil, you are fine.

---------- Post added at 11:13 AM ---------- Previous post was at 11:09 AM ----------

edit: i pulled this emmc mbn file from a40 sd616 variant, in theory you should have display working.
[Lenovo Vibe K5 Guides, News, & Discussion] Pandemicc:
It worked! Thank you all. Everything works fine for now and it booted to twrp successfully. I am looking for the most stable 7.1.2 rom, any suggestions?
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
i am happy you made it!!!:highfive:

i can suggest AEX 4.6 as a nougat rom. its last update was in december '17, but it is the most stable rom you can find. other suggestions are lineage 14.1 which still gets updated and is stable too (except flashlight tile bug). oh, and AOKP too.

as for oreo roms, well most have the best battery consumption, but have camera and performance related bugs. once they're out of beta, they'll be awesome.

some guys reported about non working RIL, this happened with PAC ROM, if so, just try another rom.

a pro tip: look into Vibe k5 plus forums, you will be able to install every rom in there unless somethings mentioned.
[Lenovo Vibe K5 Guides, News, & Discussion] Pandemicc:
I flashed the latest lineage 14.1 shreps, I hope that it is good
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
definitely better than VibeUI
[Lenovo Vibe K5 Guides, News, & Discussion] Pandemicc:
I wanted to clean flash the stock rom you guys made but the qfil won't see the device and when I try "adb reboot edl" the phone stucks. what should I do? I want to install other custom rom
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
vol up + vol down and connect to PC
[Lenovo Vibe K5 Guides, News, & Discussion] denny.hell:
Okey...after messing around with the phone I have a few things to report.

1. I managed to flash the original STOCK ROM using a program called Lenovo Downloader. It uses the same paramaters as QFIL but is more straight forward and it works on my phone (unlike QFIL). NO MORE BLACK SCREEN!

2. Tried the K5 files again, this time through Lenovo Downloader. The same thing happened again - I ended up with a black screen all over the place.

3. Tried the first STOCK ROM you uploaded. It flashed - but when I tried to boot in to TWRP the screen flickered and it rebooted in EDL mode. When I tried a second time to boot in TWRP the system overwrite it with the STOCK recovery (no idea from where in the world it got it)

4. After this I tried doing it the "official" way. Activated developer mode with USB Debugging and OEM unlock switched ON. Whent in to fastboot and tried unlocking with "fastboot oem unlock" - it gave me an error that I can't use that command. Tried booting and flashing with an error that the bootloader is locked.

5. After this I got frustrated and installed KingRoot which successfully rooted my device. I installed the official TWRP app and tried installing both versions of TWRP that are uploaded on their website. Both of them flashed properly and both of them flickered and both of them rebooted the phone in EDL mode. Plus side of this is that the system doesn't overwrite them with the STOCK one if I flash through the app.

I will try out the build you sent me in a PM tommorow.

I have also read what you and Pandemic we're talking and it got me thinking...what if the TWRP provided by sherps is not compatible with my device. It is a possibility, you said it yourself different screen size, different processor... I might as well try something from the K5 Plus forum, it may work. At least now I have a way to restore if I mess up again hahaha
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
Lenovo downloader? never heard of.

different processor doesnt matter - the only difference between two is that sd616 is a 415 with higher clock speed (and makes my phone more battery friendly than yours lol:p)

we are messing with bootloader: this is where soc and screen resolution matters. Android or twrp arent affected.

and lemmi explain one thing: when bootloader is locked, flashing modded boot or recovery images wont work bcoz bootloader wont run unsigned software, therefore displays a black screen. so did my tablet when i flashed twrp long ago. and this is where you confuse with the edl mode, i think.

the first time i modded the stock package for 616 i used a46 files, which have FHD screen. when i realised the error, i used the files from 616 variant of a40, which has a HD screen. [MENTION=2902434]Pandemic[/MENTION] said it did work.

HOWEVER, after you have a working twrp, ANYTHING you flash will be compatible with your phone, as long as its a Lenovo A6020xyy, so cpu and resolution wont be your concern .

in the screenshot you will see that i am running nougat right now. in fact, the maintainer of this rom uses the a46 model, and it runs like butter on a hot pan on my 720p sd415 phone.
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
NEW LINKS ARE ON THE BOTTOM OF THE FIRST POST! Be sure to check them out!
[Lenovo Vibe K5 Guides, News, & Discussion] electric.droid:
guys, i am gonna write a new tutorial after my exams are over. but i need help.

To all SD616 users:

test those updated packages and report to me so i can perfect them. SD415 package seems to be completed.
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
some people were asking for rom suggestions.

here is the list

https://xdaforums.com/k5-plus/how-to/updated-lenovo-vibe-k5-roms-kernels-t3705922
[Lenovo Vibe K5 Guides, News, & Discussion] FEJTY:
Okay so I am just downloading the ROM for my phone and you said that I need to boot into the recovery first after flashing would you mind to tell me what to do ?

Thx
[Lenovo Vibe K5 Guides, News, & Discussion] electric.droid:
no, simply replacing recovery image wont help. this is the point of the tutorial.

did ypu run qfil as admin?

are you sure your download copy isnt corrupted?

is your computer in test mode?

i just selected rawprogram0 and patch.xml and it worked.
[Lenovo Vibe K5 Guides, News, & Discussion] electric.droid:
haha, i thank you too, was such a pleasure. probably the best thing to hear after an exam:p

don't flash CM, they are too old and might have bugs that will never be fixed. Right now, i am using AEX 4.6 final

the last update was in december, but man, it is more stable than stock lollipop. you even get double-touch-to-wake!

see ya!
[Lenovo Vibe K5 Guides, News, & Discussion] electric.droid:
forgot to ask, where did you buy the phone? you are actually the first person with an a41 SD415 phone i ever met. everybody has got SD616...

BTW, i bought my phone in Turkey, so mine is a european variant.

and yes, you can share the tutorial. knowledge deserves to be shared.
[Lenovo Vibe K5 Guides, News, & Discussion] FEJTY:
Oh lol :D

I am from Slovakia and I bought it from my CSP which is Orange. You may have heard of it, it is originated in Germany if not mistaken and they are also overpricing everything they can really so I will actually switch to original Slovakian CSP and they have much better offer versatality and their offers actually are really beneficial towards the customers so yeah. That doesn't really matter that much rn but yeah I am the sole SD415 owner on this planet, atleast I am extraordinary in something :D .
[Lenovo Vibe K5 Guides, News, & Discussion] electric.droid:
i use sd415 too. and mine is carrier free. what is CSP may i ask?

and yes, i know Orange, that orange square logo. i saw it when i was travelling to europe.

with me being SD415 user, you can expect 100 percent of guidance from me, as long as i dont have exams upcoming.:p

edit: if you are on stock rom, can you upload aosp keyboard from the rom here? thx again
[Lenovo Vibe K5 Guides, News, & Discussion] FEJTY:
IDK what you are thinking of, honestly tell me a bit more specifically please ? I dont really think that aosp keyboard is gonna be in those files u uploaded that I used.

So I dont understand . I mean those your files and it is a stock ROM so really, why would there be a keyboard from modders ?

If you tell me what really you need then we can talk about it.

Sorry if I cant comprehend you.
[Lenovo Vibe K5 Guides, News, & Discussion] electric.droid:
i meant if you are on stock rom the could you upload it. you see, the lollipop aosp keyboard was simple and just worked. then time passed, and with nougat they simply screwed the turkish layout. the LP keyboard was fine, thats why i asked you. not a big deal tho.

i apologize cause i didnt realise you might have flashed smth. and pulling from the rom i uploaded is very difficult.

anyway, forget it, i just remembered i had a stock rom backup somewhere, i just need to find it.

how is going with flashing?
[Lenovo Vibe K5 Guides, News, & Discussion] denny.hell:
Heyy....sorry for being away for a while.

Yeah I realize now that I said some pretty stupid stuff in my previous post. I must have sounded like a noob lol. (I was very sleepy and tired).

Anyway, I tried the second version of the STOCK ROM you posted for the SD616 everything works (including TWRP and the screen), but I have no cellular network connection. It wouldn't even search for networks. I tried turning the radio on from the menu accessible with the secret codes but it didn't work.

For the past days I was trying different combos with the emmc_appsboot.mbn files that I have but nothing is working perfectly...there is always something wrong.

I want to ask you, do you modify the emmc_appsboot.mbn file to work with TWRP? If not, what do you modify for TWRP to work, if any? And also if you do actually modify something could you tell me what and how?

By the way this is the Lenovo Downloader app (you might know it with another name). The thing is that this actually works on my phone, unlike QFIL.
[Lenovo Vibe K5 Guides, News, & Discussion] electric.droid:
thats okay, you see i was also noobish, forgetting screen res.

does the downloader you were talking about looks like in attachment?

will continue write later....
[Lenovo Vibe K5 Guides, News, & Discussion] denny.hell:
nope, that is the lenovo smart assistant....I put a screenshot in my previous post of the Downloader in question. In case it doesn't show up here is an attachment.
[Lenovo Vibe K5 Guides, News, & Discussion] electric.droid:
hmm, yes i kinda remember this, but most guides here on xda are based on either LMSA or QFIL. so i tend to use them mostly. if you are interested using smart assistant, then i have some ideas for you.

also, try using qfil, as i tested on it. i did not use downloader and i am not sure it flashes everything correctly.
[Lenovo Vibe K5 Guides, News, & Discussion] denny.hell:
Hmmm....I'm interested in all of the ideas you can give to me right now :D

QFIL doesn't work for me. It always gives me some kind of error. As for the Downloader - It's just awesome. I set the folder, plug in the phone while holding Vol+ and Vol- and it flashes with no errors. I already flashed the phone about 10 times. With QFIL I managed to flash it only one time (the first time).
[Lenovo Vibe K5 Guides, News, & Discussion] electric.droid:
okay then, fire up LMSA and select the flash tab, enter your model, and download the rom.

after it downloaded, replace emmc_appsboot.mbn and recovery.img from the package and flash it from there (using LMSA)

haven't tried it...
[Lenovo Vibe K5 Guides, News, & Discussion] denny.hell:
It might actually work....give me 15 minutes to try it out and I'll report back...

EDIT: More then 15 minutes, my internet is a bit slow at this time of the day.
[Lenovo Vibe K5 Guides, News, & Discussion] electric.droid:
alright then, see ya tomorrow, its almost 1 AM here :)
[Lenovo Vibe K5 Guides, News, & Discussion] denny.hell:
It's that late already? :eek:

You can text me on Hangouts if you'd like. it will be much easier to communicate (I have something planned) I'll send you my email address in a PM.

Good night. :)
[Lenovo Vibe K5 Guides, News, & Discussion] electric.droid:
anyone please can you report about mobile connectivity?
[Lenovo Vibe K5 Guides, News, & Discussion] Pandemicc:
People we have a problem, atleast I. First of all it has been a week and I know that the slyness is on me. I installed sim card after a week to my sd616 a41. I have been trying many many roms without the sim installed. Today almost 3 roms showed me a notification that telling me to turn off the aeroplane mode and it was already off, I had never turn in on. Then I decided to flash your pre-built twrp stock rom and I found out that the prebuilt stock rom has the problem. You need to do something about it. I already wasted a week looking for stable roms, now the viral function of the smartphone does not work.

Waiting for you.

After we get everything on the rails, I can write the tutorial for this thread if you like.
[Lenovo Vibe K5 Guides, News, & Discussion] eurodiesel:
wow, saw this in one minute after you posted!

anyway, does your device has the "viral function" working when on fully stock firmware?

plus, i need confirmation from other SD616 users to understand what is going on.

otherwise, i recommend to install stock until i get it sorted out. and plz dont expect support immediately as i have exams upcoming. but sure i will help you.