how to ZE500KL flashing CSC image/DUMP file (.raw/.bin) - Zenfone 2 Laser Q&A, Help & Troubleshooting

Guys please help me ,
i have two file with format
.raw
CSC IMAGE ZE500kl
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and
.bin
how to flashing this file to asus zenfone laser 2 ze500kl
what tools and what steps to do it, i have Miracle box 2.93, AFT , QFIL , ADB and Fastboot , SP Flash Tool
im confused how to makes Mediatek USB driver is work with ze500kl when the phone is power off with battery charges , finally how to flashing those file csc image and dump file have .bin and .raw format, and what steps to complete guide for this equal 'how to' .

it's a qualcomm msm8916 you need qualcomm HS-USB QDLoader 9008 driver (and prog_emmc_firehose_8916_asus.mbn)
https://github.com/bkerler/edl

aIecxs said:
it's a qualcomm msm8916 you need qualcomm HS-USB QDLoader 9008 driver (and prog_emmc_firehose_8916_asus.mbn)
https://github.com/bkerler/edl
Click to expand...
Click to collapse
yes i can do diag mode enable by hqvod os custom rom for ze500kl with root mode by typing setprop sys usn config etc (i forgot for detail) rndis,mtp,adb esecute via adb shell command with usb debug enabled via adb with twrp adb shell command via command line pull and push and mount system too , so i can enable port 9008 diag mode with qualcom driver , the question is im not the smartphone repairman , i dont have any box etc , i just can plug usb cable laptop and ze500kl with any software support to help flash those items in .raw or .bin ,
im not confident flashing it with fas tboot or miracle box via qualcom port , i need some easier guide steps , coz when i see QFIL there just have maybe 10 items via multiple flash with name not same whenn all items in .raw and .bin files have name ,
so how to flash all those 42 items ?, my ze500kl have display grey makes me cant see like i can see it normal same as i see it normal when enable usb debug and active screen mirroring with scrcpy or asus pc link , my ze500kl have display all grey when my rom is RR android 10 for ze500kl everything is normal but on that day when i watch video use nextapp media player my screen ze500kl is grey i think it is normal like sleep timer already 0 by count, but im wrong this is not normal when i chek my ze500kl again the screen display still all grey on all display in screen box, i already downgrade to lollipop with any step erase cache,userdata,system and flash stock firmware room and recovery .
i feel this happening because fatal corupt file factory etc , i believe this can fix by repairing the software csc image etc , coz any firmware raw room or zip flashable sideload firmware room not touch or fix why my ze500kl became all grey .
so please solved this cases will giving solve to all have typical how to do to fix like this.

Note: DIAG PORT Qualcomm HS-USB Android DIAG 901D and Qualcomm HS-USB QDLoader 9008 are different things. 901D is DIAG Port and 9008 is an emergency download mode EDL.
actually usage is quite simple:
printgpt # Print GPT Table information
python3 edl printgpt
r # Read flash to filename
python3 edl r <partitionname> <filename>
rl # Read all partitions from flash to a directory
python3 edl rl <directory>
w # Write filename to partition to flash
python3 edl w <partitionname> <filename>
Code:
python3 edl w aboot 11.aboot.img
...

aIecxs said:
Note: DIAG PORT Qualcomm HS-USB Android DIAG 901D and Qualcomm HS-USB QDLoader 9008 are different things. 901D is DIAG Port and 9008 is an emergency download mode EDL.
actually usage is quite simple:
printgpt # Print GPT Table information
python3 edl printgpt
r # Read flash to filename
python3 edl r <partitionname> <filename>
rl # Read all partitions from flash to a directory
python3 edl rl <directory>
w # Write filename to partition to flash
python3 edl w <partitionname> <filename>
Code:
python3 edl w aboot 11.aboot.img
...
Click to expand...
Click to collapse
thank Alecxs , i feel some connected how to solve , but i need time to learn and try , my laptop have windows 7 32bit and linux lite 32bit , and im not sure my quota under 1 gb is enough or need to fill , by the way im i already see port 9008 qualcom but i forgot it is by diag,adb after restart with usb cable still connected with my laptop, to use EDL is must use port 9008 qualcom driver .
and the conclusion is all files in .raw or .bin from 0 to 42 is flashing by indication file name and first start by number 0 go to 42 etc by example is
like this
python3 edl w sbl1 0.sbl1.img
--=--
python3 edl w userdata 42.userdata.img
ofcourse when every steps i do ... i will update this thread .
BRB.

I recommend to dump partitions off device first. this way you get partition label = file name for each partition.
Code:
python3 edl rl dumps --loader="path/to/prog_emmc_firehose_8916_asus.mbn" --skip=userdata --genxml
you can create new directory 'rom' and place your files in there. rename the files so they look like in 'dumps'. then restore whole directory in one go.
Code:
python3 edl wl rom --loader="path/to/prog_emmc_firehose_8916_asus.mbn"

aIecxs said:
I recommend to dump partitions off device first. this way you get partition label = file name for each partition.
Code:
python3 edl rl dumps --loader="path/to/prog_emmc_firehose_8916_asus.mbn" --skip=userdata --genxml
you can create new directory 'rom' and place your files in there. rename the files so they look like in 'dumps'. then restore whole directory in one go.
Code:
python3 edl wl rom --loader="path/to/prog_emmc_firehose_8916_asus.mbn"
Click to expand...
Click to collapse
thanks alexcs for your recomended , first im confuse how to sure what i will do ,
i am not sure if i can active qualcom port 9008 is right for flash CSC_Image_ZE500KL_v12_9_1_64_M1.3.22_OPEN_Phone-userdebug (.raw) or Asus_Zenfone_2_Laser_ZE500KL_Z00ED_8916_MP_V12.9.1.73_M1.3.23_F_EMMC_Dump (.bin)
they have same items from 1 to 42 , and what os version in there i dont know it is lollipop or marsmalow , and i remember qualcom port 9008 with havocs os android 10,
so about edl flash tool i success install till last steps in linuxlite 32bit version 3.8 with kernel 4.x.x.210 xenial do with
python3.5 with this how to:
Linux (Debian/Ubuntu/Mint/etc):
# Debian/Ubuntu/Mint/etc
sudo apt install adb fastboot python3-dev python3-pip liblzma-dev git
sudo apt purge modemmanager
mv /usr/bin/pip /usr/bin/pip-bak
mv /usr/bin/python /usr/bin/python-bak
mv /usr/local/bin/pip /usr/local/bin/pip-bak
mv /usr/local/bin/python /usr/local/bin/python-bak
mv /usr/bin/pip3 /usr/bin/pip
mv /usr/bin/python3 /usr/bin/python
mv /usr/local/bin/pip3 /usr/local/bin/pip
mv /usr/local/bin/python3 /usr/local/bin/python
git clone https://github.com/bkerler/edl.git
cd edl
git submodule update --init --recursive
sudo cp Drivers/51-edl.rules /etc/udev/rules.d
sudo cp Drivers/50-android.rules /etc/udev/rules.d
pip install wheel pyusb pyserial docopt pylzma pycryptodome lxml colorama usb capstone keystone-engine
python setup.py build
sudo python setup.py install
so alecxs what is ur recomendation to me to enable qualcom port 9008 ?
my ze500kl still on lollipop firmware and hard to enable qualcom port 9008 with this asus lollipop firmware , and i cant find searched custom rom for ze500kl version android lollipop,
what i feel is i should enable qualcom port 9008 with android lollipop version before flashing those csc or dump files ?, or it is ok to flashing that csc or dump files ze500kl with qualcom port 9008 on havoc os andoid 10 ?
i feel worry it is not right , so dear alexcs what is ur recomendation to enable qualcom port 9008 to backup before flashing CSC_Image_ZE500KL_v12_9_1_64_M1.3.22_OPEN_Phone-userdebug (.raw) or Asus_Zenfone_2_Laser_ZE500KL_Z00ED_8916_MP_V12.9.1.73_M1.3.23_F_EMMC_Dump (.bin) ?
i will wait your reply bro , before i do next steps.

do not flash if you don't know what you're doing. first step, only read everything off device. this way you cannot harm anything. you can make you comfortable with usage. will guide you how to flash after you have the dumps (the first cmd).
okay so you finished the prerequisites and installed edl script, but you don't know how to actually enter EDL mode?
I don't know the cheat, for some devices it's fine with both volume keys + usb cable. what should always work is test point method, but requires you to open backcover.

aIecxs said:
do not flash if you don't know what you're doing. first step, only read everything off device. this way you cannot harm anything. you can make you comfortable with usage. will guide you how to flash after you have the dumps (the first cmd).
okay so you finished the prerequisites and installed edl script, but you don't know how to actually enter EDL mode?
I don't know the cheat, for some devices it's fine with both volume keys + usb cable. what should always work is test point method, but requires you to open backcover.
Click to expand...
Click to collapse
i am ready to do next steps , i do enable qualcom port 9008 EDL Mode by this how to enable qualcom port 9008
[GUIDE]How to reboot to EDL from fastboot
Most Qualcomm-based Android PDAs support emergency download (EDL) mode allowing to unbrick device, unlock bootloader or modify protected device parameters. If ADB interface is accessible, "adb reboot edl" can be used to reboot to EDL mode. Many...
forum.xda-developers.com
im using adb method to enable port 9008 with this adb command line when my ze500kl on active rom with root (magisk) and usb debugging is already turn on, so by adb devices , adb cmd (in pc/laptop) have confimed from ze500kl devices with info indication ... device , then i do in cmd via minimal adb and fastboot dir click cmd_here then do adb command line
adb reboot edl
so few second after do command adb reboot edl , my laptop detected qhsbulk usb then change to look like this picture
so now im abble to do backup and flashing my ze500kl .
but alexcs it is ok if i do flashing all items in csc or dump files from 1 to 42 ?
what is your recomendation to flash csc image 1 by 1 or just need some items to fix my ze500kl display all is grey ?, my plans is to fix my ze500kl display all is grey , so i cant see it like when my ze500kl is normal looks , the way i see my ze500kl display normal is when i connect it to laptop use scrcpy to screen mirroring .

by the way how to sure or what indicate if file .img .bin or .raw is valid file for flashing with edl ?,
and how to flash .raw with edl ?, it is same like flashing .bin with edl ?
python3 edl rf flash.bin -> to dump whole flash for device with emmc

this is the first step.
aIecxs said:
Code:
python3 edl rl dumps --loader="path/to/prog_emmc_firehose_8916_asus.mbn" --skip=userdata --genxml
Click to expand...
Click to collapse

aIecxs said:
this is the first step.
Click to expand...
Click to collapse
sorry bro my quota under 500mb , i cant see qualcom universal method on miracle box 2.93 have prog_emmc_firehose_8916_asus.mbn in list , so such if another version maybe have prog_emmc_firehose_8916_asus.mbn in qualcom universal method list
i try in linux with edl program do python3 edl printgpt have notice script not error but looks have not work , maybe i forgot do fist step python3 edl --serial , if my laptop 32bit cant implemantation any method to do flash via edl mode , i must wait to use my laptop 64bif (syill dont have hdd) ,
when im on linux i see port 9008 qualcome have name wireless modem, and i see in miracle box 2.93 port qualcom have 2 name 1 have name with modem in there same like i see in linux , and 2 have name loader bla bla in there , the correct name to use it for edl mode,
so i must make sure the problem is not do edl --serial first or must fix detected qualcom port 9008 should right in list when do lsusb.
python3.9 cant install on windows 7 , python3.8 not success do step install setup.py with notice dont hsve c++ but all required program already installed , im not cheerup to do any read and searching to use it with windows 7 via python , but maybe miracle box right version is posibble to read and write with qualcom port 9008 for zenfone ze500kl .
applogize me , i must brb again .

you can run the live dvd iso from pendrive with rufus.ie

according to documention on windows you can ignore setup.py install error, that step isn't required. so only get gpt for now. you are on windows or linux?
Code:
python3 edl printgpt --loader="path\to\prog_emmc_firehose_8916_asus.mbn"
(on windows, select output of successful printgpt from terminal with mouse, copy text with Enter key, paste output in [CODE]tags[/CODE] here)

aIecxs said:
according to documention on windows you can ignore setup.py install error, that step isn't required. so only get gpt for now. you are on windows or linux?
Code:
python3 edl printgpt --loader="path\to\prog_emmc_firehose_8916_asus.mbn"
(on windows, select output of successful printgpt from terminal with mouse, copy text with Enter key, paste output in [CODE]tags[/CODE] here)
Click to expand...
Click to collapse
QPST Configure stuck on green loading proccess at port tab when lollipop and marsmalow
(my ze500kl now at 6.0.1 rom) when device already stay in EDL mode.
maybe ze500kl firmware rom downloaded from asus official is not abble enabling 100% working diag or edl mode ?, or maybe you alexcs can give me step to make it work on firmware rom downloaded from asus official to enable diag or edl mode 100% working?
about what os me are now is on windows 7, and about live dvd bootable edl , yes i already look it, just 1 not in there info about whats bit live dvd edl live bootable on ?
my laptop only have ram 1gb , if that on 64bit maybe will be lag, however i will try to flash it to usb when is it posibble to get it.
back to conclusion windows 7 python3 setup.py edl , please wait i will repeat the steps till stuck on pip installing pylzma ask for c++ i already installed then try do command cmd python3 edl printgpt.
for linuxlite 3.8 32bit ,i still cant do terminal command no matter what it is still same got noticed similiar indication about not error just not works , or maybe it is about turn on edl mode with asus official firmware, i must try last step do it with hovatec os, so back to remembering windows 7 python3 setup.py stuck on installing pylzma this is maybe because generic notice from developer edl on github say edl program he made it can run on python3.0.9 and python3.0.9 can not use in windows 7 .
so the best conclusion for good edl mode qualcom 9008 port work notice is come from QPST configure when do process autto add .
fastboot said boot.img from .raw and .bin is not boot image when i try do line command fastboot flash recovery recovery.img extracked from those both file, so my question still not feel answerting why boot.img from official asus firmware abble to flash via fastboot to boot partition, but img file from .raw and .bin is not abble flash it via fastboot?
but fastboot have command method to flash boot,recovery,system,userdata,cache and abboot partition , so how to get file version is what android version?,
ok when ready the screenshot will be here .

wait, you can flash from fastboot? no need for EDL then...
just run flashall_AFT.cmd from cmd.exe in fastboot mode.
there is Android 7.1.2 for this phone btw.
[ROM] [ Z00ED/Z00RD] [Unofficial] [Unified] [LineageOS 14.1] [AOKP]
LineageOS Website LineageOS Github LineageOS Gerrit AOKP Website AOKP Github AOKP Gerrit Instructions : Marshmallow bootloader is a must!! Update stock rom to latest (UL-ASUS_Z00E-WW-13.10.10.44-user) - preferably Unlock bootloader...
forum.xda-developers.com

this , i must brb .

I don't understand. I don't read txt file. please use clear language. english is not my native language. I don't know what 'brb' means.
1. do you have access to fastboot mode?
[✓] yes
[ ] no
2. do you have flashall_AFT.cmd in ROM?
[✓] yes
[ ] no
3. open cmd.exe. navigate to dir with cd where flashall_AFT.cmd is. connect phone in fastboot mode and flash ROM.
Code:
.\flashall_AFT.cmd
4. once the phone is working, follow the guide linked to install TWRP + LineageOS.

dear alexcs,
i dont have flashall_AFT.cmd in rom .raw and .bin , all files in those rom from 1 to 42 is same .img with sane name after number , yeah i can access fastboot mode, recovery mode on my ze500kl ,
by the way "brb" is be right back , i found this from mirc ,
and i already change my linux os from linuxlite to debian latest (11) 32bir.
wuth python 3.9.2 stable installed from debian apt .
what makes me confuse is EDL Mode giving stuck, i mean more then 5 minutes after edl printgpt or python edl printgpt , the process that command stuck on this line:
(my_env) [email protected]:~/Documents/edl# edl printgpt
Qualcomm Sahara / Firehose Client V3.60 (c) B.Kerler 2018-2022.
main - Trying with no loader given ...
main - Waiting for the device
main - Device detected
main - Mode detected: sahara
more then 5 minutes still staying like thatm so i do ctrl z to stop it,
i dont have experience about EDL Mode ,so i dont know about working processm
i have experiencde with adb,fastboot amd QFIL , all steps i do is complete with never stop/stuck on working process ,
so about this edl mode pls guide me how to real edl mode (i just have ze500kl phones, usb cable , laptop with all program to do for do to ze500kl, and I DONT HAVE ANY BOX OR DONGLE EFI ETC)
so alexcs how to flash all that files to ze500kl ?
oh ya i still not yet available to install lineageos (my data quota not posibble to download lineageos at the moment) , twrp i already installed used orange twrp for ze500kl ,

you have working TWRP running on the phone?

Related

Unlock Bootload , Install TWRP , Root : Redmi Note 3[Snapdragon] 7.2.3

Its been inspired by Sudeep Duhoon Thread , Thank him if possible . Except the rooting part everything is preety much same as Sudeep Duhoon did.
I just found out you could 7.2.3 much easily Root the device rather than editing scripts and all of the stuff which i didn't get from his thread.[No offense sir]
Downloads :
1. Minimal Adb Tool
2. MiFlash_2016.03.30.exe
3. Fastboot 7.2.3 Rom
4. Unlocked EMMC or check the attachment.
5. 7.2.3 PATCHED BOOT IMAGE
Unlocking Bootloader :
​1 . Connect your Phone to Computer in USB DEBUG and OEM UNLOCK mode to the computer. [Both of these settings are turned on from developer option.]
2. In ADB check if your device is successfully connected using "adb devices" command .
3. NOW , Reboot the phone into EDL mode using this command "adb reboot edl" .
4. Now make sure you're device is connected in "Qualccomm HS-USB QLoader 9008" , if yes continue .
If the device is connected in "Qualcomm HS-USB Diagnostics 900E" Start it from step 1 again.
5. DOWNLOAD 7.2.3 fastboot Rom . Extract the rom.
Download, Extract unlocked_emmc_appsboot.mbn. Rename it to "emmc_appsboot.mbn" And move it inside the extracted ROM FOLDER.
6. Now Start the MI Flash Tool and Browse to the Location Where you have Extracted the Fastboot ROM
7. Go to Advanced and Select:
Flash Programmer, Raw XML File and Patch XML File
from the Fastboot ROM\Images folder.
8. Close the window and click on refresh , Your device with certain COM# will appear. Just click on Flash.
Wait until its successful .
9. Once it is successful , Hard Boot your phone to fastboot using POWER DOWN + POWER ON buttons on your phone.
10. Now in command prompt type "fastboot oem device-info" , you'll see the DEVICE UNLOCKED : FALSE
11. Now Enter the following command "fastboot oem unlock-go" . Your device must be unlocked , to confirm enter the previous[step 9] command again.
YOUR BOOTLOADER IS UNLOCKED NOW
FLASHING TWRP :
​1. Move the twrp image in minimal adb folder. Rename the twrp image to twrp.img
2. Enter the command "fastboot flash recovery twrp.img"
TWRP HAS BEEN SUCCESSFULLY Installed.
P.S : To boot into twrp : volume up + power on . But it might take 2-3 tries to boot into TWRP . [ I don't yet know why this happens .]
ROOTING :
​1. Move SUPER SU and PATCHED BOOT IMAGE into your mobile.
2. Install Super Su.
3. Install Boot Image, Dont forget to select install image and boot partition while installing.
4. You've SUCCESFULLY ROOTED your device .
P.S : PLEASE TRY IT AT YOUR OWN RISK.
Emmc rar does not get extracted... I think the archive is corrupt... Please check onto that
Sent from my Redmi Note 3 using Tapatalk
kirkirehani93 said:
Emmc rar does not get extracted... I think the archive is corrupt... Please check onto that
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
rar file is just fine , anyway i have uploaded a zip file in the attachment . please check.
reply fast
if i m right... i have to put supersu and boot.img to phone fefore flashing twrp. bcoz after flashing twrp if i reboot to system, phone will not boot and may be bricked...plzzz reply
vivekjha said:
if i m right... i have to put supersu and boot.img to phone fefore flashing twrp. bcoz after flashing twrp if i reboot to system, phone will not boot and may be bricked...plzzz reply
Click to expand...
Click to collapse
No no. It doesn't matter when you put it in. And your after flashing twrp you can directly boot into TWRP and then move the files into mobile.
P.S : While in recovery , you can always copy files in to your mobile.
What if bootloader unlocked officially? Start from "Flashing TWRP" section?
any 1 tried this
any one tried this succesfully plzzz reply
Error during flashing with MiFlash
Got this error during Flashing process:
Status: Not enough storage space is available to process this command.(0x80070008; Max buffer sector is 256)
What should I do? My device does not boot...
anirudh281998 said:
Got this error during Flashing process:
Status: Not enough storage space is available to process this command.(0x80070008; Max buffer sector is 256)
What should I do? My device does not boot...
Click to expand...
Click to collapse
Use Windows 64bit edition.
The flashing process will fail in Windows 32bit edition
will this work in RN3 MTK ???
Will this work on 7.2.5 ?
RedBux said:
will this work in RN3 MTK ???
Click to expand...
Click to collapse
No
Thri11 said:
Use Windows 64bit edition.
The flashing process will fail in Windows 32bit edition
Click to expand...
Click to collapse
Thank you.....i tried it on windows 64 bit and it worked.
I tried unlocking bootload. I got this error "The system cannot find the path specified. (0x80070003: Open Programmer c:...)"
What have I done wrong?
Edit: I deleted the file. Extract it again. Then I unlocked bootloader successfully.
will this void warrenty ?
and to flash miui china roms we need to edit the fastboot everytime ?
When I flash supersu my device won;t boot. Boots fine before though
Hi, I'm on MIUI 7.5.3, can I use 7.2.3 ROM as provided to unlock bootloader or I have to find a 7.5.3 one?
GitGudWolf said:
Hi, I'm on MIUI 7.5.3, can I use 7.2.3 ROM as provided to unlock bootloader or I have to find a 7.5.3 one?
Click to expand...
Click to collapse
I too would like to know the same.
Would this work on 7.5.3 or will I need to do something else
not working sir....
when perform fastboot oem unlock-go, result:
...
FAILED (remote: oem unlock is not allowed)
finished. total time: 0.000s
UPDATE
SOLVED : "Enable OEM unlock" must be turn on in dev option.

[TOTAL NOOB GUIDE][Back to Stock][VibeK5Plus][Snapdragon][MORE]FLASH LENOVO TO STOCK

Hi everyone,
This guide is intended for only snapdragon version of Lenovo devices which supports QFIL (Qualcomm Flashing Tool). For MediaTek Devices, you need different tools.
However, please understand that the device which I had to test in length was LENOVO K5 PLUS and thus, recovery, stock images and development is for K5 plus. As long as you have stock rom, custom recovery or custom rom of your specific device which you own, you can follow this guide for any snapdragon device but booting your device into DIAG mode might need different commands.
TABLE OF CONTENT
Recover Your Device
EFS
Driver Guide
TWRP
Root
Backup device
Stock and Custom Roms
Future Issues
FAQ
Credits​
(Don't know what is brick or ANDROID BASICS, click here to quickly go through them) HIGHLY RECOMMENDED
Code:
This guide is for those who understand the risk of their actions.
I have fully tested this guide and I found no issues, however,
I am not responsible for world wars, broken phones,
flying machines, dead SD cards, [B]girlfriend breakups[/B]
or any damage by your actions and only join in the forum
with [B]popcorn[/B] to enjoy myself at your suffering in case you
didn't follow the instructions and later blamed me for it.
IMPORTANT :
I suggest you start this guide by directly going to POST 5 BACKUP FULL DEVICE before you intend to do any experiments with your device. Make a FULL BACKUP WHICH IS HIGHLY RECOMMENDED OR YOU WOULD NOT BE ABLE TO USE OTAs LATER) Requires no root
DRIVERS ARE MUST HERE
You can simply download all the drivers from post three and install them all. In case you have troubles, you can refer HERE for more details.
WHAT YOU NEED
1. DRIVERS
2. USB DEBUGGING
3. ADB
4. TOOLS & STUFF (all in attachments)
5. Little Common Sense
6. Zero Skills
USB DEBUGGING ON
1.Activate the Developer options (Settings> About phone> Device Information> to tap 7 times in Build number)
2. Enable USB debugging (Settings> Developer> USB Debugging)
3. Enable OEM unlock (Settings> Developer> Unlock OEM)
4. Done
SETUP A WORKING ADB
Download platform tools from here in attachment
Extract them to any location.
Navigate to the location where you have extracted platform.zip
Hold crtl+shift on keyboard and then use your mouse to right click on an empty area of the folder.
Select open command prompt here
An cmd window will open
You are ready to go
Alternatively,
if that does not work for you. Simply download the platform.zip and extract it to C:/platform-tools.
Rename platform tools folder to adb
Go to cmd from start menu
Type in these commands until you see C:\> in cmd.
You will need to type twice most probably.
Code:
cd..
cd..
then type the following once you are at C:\>
Code:
cd adb
You will be in ADB folder, which will be now like C:\adb>
Now you have a working adb
RECOVER YOUR BRICKED DEVICE
There are actually 3 methods in theory to recover your phone. However,I also found that sometimes you can not flash your device using download mode and in this case, fastboot mode is the only route which means you will need to use TWRP or find a method to go into EDL from fastboot. So after you brick your device, your device can present in the following states.
No recovery or download mode but fastboot mode
Download mode
Recovery mode
Phone goes into download mode on its own
Possible Solutions
TWRP Method if you have a custom recovery or only fastboot(tested and works)
QFIL (tested and works) if you can boot into download mode
Lenovo Updater (untested)
ONLY FASTBOOT ACCESSIBLE NO DOWNLOAD/ RECOVERY.
Phone goes directly into download mode but QFIL unable to flash at all. Need to find a way to boot into EDL. Currently under working. Check this here Gold for those who need to boot to edl from fastboot
Fail with status when trying to flash using QFIL
Code:
Download Fail:System.Exception: Failed to Switch to Emergency Download mode
at QC.QMSLPhone.Phone.QPHONEMS_SwitchToEDL()
at QC.SwDownloadDLL.SwDownload.SwitchToEDL()
Download Fail:Switch To EDL FailSystem.Exception: FireHose Fail
at QC.SwDownloadDLL.SwDownload.SwitchToEDL()
at QFIL.Tech.DownloadTech.SwitchToEDL()
Finish Download
Two ways possible. Flashed TWRP and it worked by restoring previous backup. Works like a charm
Fastboot to edl needs some work. If that could be achieved. It will be brick proof.
TWRP METHOD
Pre Requisites
Fully working TWRP with root (preferable)
backup of your device (highly recommended) or download stock flashable roms HERE
STEPS
Boot into fastboot mode (bootloader) by switching off your phone and then press volume - and power
Flash TWRP recovery using fastboot commands HERE
Flash your previously made backup using RESTORE function in TWRP
To flash recovery partition, you will need to select flash IMG instead of preset ZIP when you navigate to INSTALL. You will find it on lower left side
DOWNLOAD STOCK RECOVERY FOR YOUR DEVICE HERE
You will need to unroot your device as well from supersu settings if you want to return to FULL STOCK
In case you only have fast boot mode and no recovery AND no download mode
Pre Requisites
You must have a fully working TWRP and possibly rooted
flashable zips of your stock roms or any previously made backup
STEPS
Simply place your update.zip in your sd card if you are using stock images
Or you can copy your previously made TWRP backup in sd card
Restore using TWRP if you have a backup
or flash via TWRP if you are flashing stock Images
Done
I highly suggest you wipe your device in TWRP including system
QFIL METHOD
Download stock image for your device. Make sure you choose the correct file for your device or you can hardbrick your device
Install QPST and QFIL software from attachments.
You may need to install Microsoft Tools which are provided in attachment for QPST to work
I assume that you have already proper drivers installed
Extract your device stock images in any given location of your choice but prefer it like D:/stock images etc
Open QFIL from start menu
Refer to image attachments 1,4,5,6,7 for the next steps
Browser Programmer Path and navigate to where you have extracted stock images.
Select the file with the given extention .(firehose)
Next load XML file and select the image.
It will ask for another file which you will be able to locate in the same folder\
Connect your device and see if the port is detected as QD LOADER
Select DOWNLOAD under LOAD XML
Sit back and enjoy. It should take 5-10 minutes
NOTES FOR QFIL
Bootloader Method does not seem to work. Even after changing drivers and replacing them.
Works with keys too. Hold Volume + and power after switching off device and select download!
Requires EDL method
Lenovo Serial driver required
Adb reboot edl
Then install drivers for Qualcomm port
Flash as instructions
Erase Misc after flash
Wait for device to turn on
STATUS : COMPLETE
Last updated 26.08.16
EFS
Pre Requisites
Installed drivers. ( See Next posts for detailed guide.)
Enable USB debugging. See first post
Working ADB (Download from attachment)
You will need to move to the location where you have extracted adb.zip
Hold crtl+shift + mouse right click and select open command prompt here and then you can give commands.
Root
[*] Recovery
TWRP BACKUP
I find this method most superior to all others.
Download recovery from this forum. All credits to the developer to make it possible
DOWNLOAD IT FROM HERE. TWRP WITH EFS BACKUP AND MORE
After downloading the recovery, using a working adb. Enter commands
Does not require root
Code:
adb devices
adb reboot bootloader
fastboot boot LenovoA6020_TWRP-3.0.2-r3_7M.img
You will boot into recovery with Russian translation. Change translation to your local language as shown in attachments TWRP 1 and TWRP 2.
Make EFS and all other backup and keep it safe.
I suggest you copy this to your PC before you plan to do something else with your device.
Done
Enable DIAG MODE on your device using adb.
Code:
adb shell
su
setprop sys.usb.config diag,adb
Once your phone is in DIAG mode, you can utilise these methods for QCN.
QCN is a file that holds all your data regarding your signals, bluetooth, wifi, imei etc
If you lose it without a back, it may be very hard to fix your phone.
For first two methods, you need to be in DIAG mode. For the last two, you can make a backup on your mobile. All four methods require root.
QCN EXTRACTION BY QFIL
Simply open QFIL on your PC.
You will see
QPST>Tools> QCN backup and Restore.
Select Backup in your desired location
Done
QCN backup by QPST other tools.
1.First time you are trying to make a backup of your QCN using this method, you will need to add DIAG port which you enabled via adb commands in QPST.
For that , go to QPST>BIN>QPSTConfig. You might need to go to show all ports before you are able to add it.
2.Next go to, QPST > Bin> QPSTServer.exe
3.A globe would appear in taskbar. Click on it and select software download from the tab
4.Select port of your diagnostic mode in backup tab of software download.
5. Once in software download, backup your current QCN
4. Done
Backup by blocks
This is a better method to make a backup. You can either use adb commands or simply download PARTITION BACKUP APP from play store. This will automatically backup your partitions.
PARTITION BACKUP TOOL PLAYSTORE LINK
XDA FORUM LINK FOR ANY QUERIES
These are ways to check your device for partitions manually. You can make backup of these yourself as well.
Detailed guide is given here
Code:
adb shell
cat /proc/partitions
[B]OR[/B]
adb shell
ls -al /dev/block/platform/dw_mmc/by-name
make sure you replace dw_mmc with your device partiton. (I have not checked it yet)
[B]OR[/B]
adb shell
cat /proc/partitions
adb remount
adb shell "su" "" "mount -o remount,rw /system"
adb push parted /system/bin/parted
adb shell
chmod 0755 /system/bin/parted
parted /dev/block/mmcblk0
print
Backup by tar.gz and Img
For this method you will need to download EFS BACKUP from playstore and then you can make a backup. I recommend make backup in all three formats.
EFS BACKUP PLAYSTORE
XDA FORUM LINK FOR THE APP
That's all you need for a good EFS Backup. Good Luck!
DRIVERS GUIDE
On Windows, it will automatically detect all drivers.
Make sure your device is attached to PC, before you install these drivers.
You may need to download drivers for ADB and QDLOADER which are all provided in Lenovo Usb driver.
So Installing these driver will be enough for you and you may need to manually select drivers for rest from lenovo folder
For ADB drivers use LENOVOUSB DRIVER 1.1.16 if your device is not detected by Windows.
For QHUB drivers use these in attachment named QDLOADER HS USB DRIVER.
Simply Install them and you are good to go.
INCASE YOUR DEVICE IS NOT DETECTED
All drivers are contained in these folder C:\Program Files (x86)\LenovoUsbDriver on your PC.
Go to My computer> Properties? Device Manager and see if you have any unknown devices like shown in attachment.
If you have, then I suggest you install manually.
Select unknown device and go in its properties.
Next go to drivers tab and select update drivers
Select Browse my computer for drivers
Let me pick from the list of devices
Select have disk
Move to folder C:\Program Files (x86)\LenovoUsbDriver
You will see that there are many folders.
ADB contains all ADB and Bootloader drivers
Use ADB folder if you are installing drivers for adb / fastboot/ bootloader.
Make sure you have usb debugging and device connected when you are installing these drivers. You have to be in normal mode for adb drivers
.
You can check if you have working adb by typing
Code:
adb devices
To download fastboot / bootloader drivers, simply first boot your device into fastboot.
Turn off device
hold power and volume down
Now try to install fastboot drivers
Serial Contains EDL drivers (Download mode drivers)
Select unknown device and go in its properties.
Next go to drivers tab and select update drivers
Select Browse my computer for drivers
Let me pick from the list of devices
Select have disk
Move to folder C:\Program Files (x86)\LenovoUsbDriver
You will see that there are many folders.
Use Serial if you are in download mode / EDL mode.
Working adb is required for this
You can go into EDL mode directly from adb commands by
Code:
adb reboot edl
OR
You can power off device
hold power and volume up
Select download mode and you are in EDL/ Download mode.
Now you can install drivers from above method
Make sure you select QDLOADER 9008 while installing EDL drivers.
How to enable QHUB drivers if no unknown/ undetected device is seen
Sometimes, your device is not detected in QFIL and you have all drivers installed and there is no unknown device in my computers> device manager.
For this, you will need to attach your device first.
Go to Device Manager by going into my computer properties
Look for ADB Interface drivers in device manager.
Update drivers for ADB interface and replace it with QDLoader HS USB driver.
If it asks for any permission, allow it.
In case your windows do not allow you to install these drivers , you need to turn off Digital Signature Verification in windows
run cmd as run as administrator
Type in these commands
Code:
bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS
bcdedit.exe -set TESTSIGNING ON
Restart
Then try again to reinstall drivers
To re-enable device verification on Windows
Code:
bcdedit.exe -set loadoptions ENABLE_INTEGRITY_CHECKS
bcdedit.exe -set TESTSIGNING OFF
Good luck
ROOT AND TWRP
HOW TO ACTIVATE USB DEBUGGING
1. Activate the Developer options (Settings> About phone> Device Information> to tap 7 times in Build number)
2. Enable USB debugging (Settings> Developer> USB Debugging)
3. Enable OEM unlock (Settings> Developer> Unlock OEM)
4. Connect the phone with the USB cable to the computer
5. Install the drivers that come on the CD cell partition.
TWRP:
Download TWRP from HERE or TWRP WITH EFS BACKUP AND MORE
Copy it to the folder where abd is installed.
On working adb, type in these commands
Code:
adb reboot bootloader
fastboot flash recovery LenovoA6020_TWRP-3.0.2-r3_7M.img
OR
fastboot flash recovery TWRP-k5-3.0.2-r2_shreps.img
This will permenantly flash twrp instead of Stock recovery.
If you just want to boot it once. check backup guide by using this command instead
Code:
fastboot boot <file name>
ROOT
Download the ZIP file SuperSU v2.76 and save it in the micro SD card.
Restart the phone in recovery mode:
Turn off the phone, then turn it on while pressing the volume up button. a screen appears with various options and choose "recovery".
You can even boot by adb commands using
Code:
adb reboot recovery
[*]
When opening the recovery, select Install and locate the file you downloaded just now.
Confirm execution flashing, restart the phone and voila!
ORIGINAL POST HERE
Editing the post with permission
BACKUP GUIDE
I HIGHLY RECOMMEND TO BACKUP YOUR DEVICE BEFORE YOU NEED TO EVEN ROOT YOUR DEVICE OR FLASH TWRP . IF YOU FAIL TO DO THIS, YOU WILL HAVE TROUBLE UPDATING YOUR PHONE VIA OTA ESPECIALLY IF YOU ROOT YOUR DEVICE
THIS IS MUST AS YOU CAN ALWAYS EASILY REVERT BACK TO YOUR ORIGINAL STOCK STATE IN CASE YOU NEED IT.
Download TWRP from HERE or Download recovery from this forum. All credits to the developer to make it possible DOWNLOAD IT FROM HERE. TWRP WITH EFS BACKUP AND MORE
YOU DO NOT NEED ROOT
I suggest you use the second TWRP as it supports more partitions than the first one.
Open working adb
TYPE IN
Code:
adb devices
adb reboot bootloader
fastboot boot LenovoA6020_TWRP-3.0.2-r3_7M.img
OR
fastboot boot TWRP-k5-3.0.2-r2_shreps.img
You will be booted into recovery.
Select Read only mode
Go to backup
Backup all partitions by selecting all of them
Swipe to confirm.
Make sure you have about 6GB for a full backup
You can skip user data if you do not want user apps backup
Nothing will be changed unless you enable system modification. So on first boot, simply do not enable system modification and go to backup and then backup all partitions. Keep these safe in case you need them.
Keep it in a safe place
HOW to restore back to your stock using TWRP. HERE
EFS Professional
doesnot work for me. Anyone can check by updating their busybox ? I couldnot on supersu 2.76 without updating busybox
CUSTOM ROMS
PACMAN
CYANOGENMOD 13
SOME HERE ON A RUSSIAN FORUM
STOCK ROMS
SOME HERE ON A RUSSIAN FORUM
Shreps said:
Stock Firmwares:
Firmware collection Thanks to @vache
Firmware collection, 2nd Mirror by @Shreps
TWRP Backups of Stock ROM:
A6020a40 - S027_160519_ROW
A6020l36 - S032_160401_LAS
Click to expand...
Click to collapse
Stock Rom guide to know which is your device by region
[*]American Models
Lenovo K5 Plus dual sim 6020l36 MSM8939v2 SD 616
Lenovo K5 Plus single sim 6020l37 MSM8939v2 SD 616
[*]European Models
Lenovo K5 Plus 6020a46 MSM8939v2 SD 616
[*]Asia Models
Lenovo K5 Plus 6020a46 MSM8939v2 SD 616
Lenovo Lemon 3 K32C36 MSM8939v2 SD 616
[*]Latin America ( Brazil, Chili )
Lenovo K5 dual sim A6020l36 MSM8939v2 SD 616
Some problems of the future. World war? Mobile mind control
OTA FAIL
ERROR 101 System doesnot allow change of carriers
download lenovo smart assistant
Install it and try to update it using this. If it does not update, find update package in lenovo tool folder
C:\Program Files (x86)\LenovoSmartAssistant\LenovoSmartAssistant\plugins\75fc9be6-29e6-495f-8c0a-93f9e1971133
Extract it and find system.zip and your country ota (both) in the sequence
Country.ota.zip (image taken from QPST)
Country2Default.ota.zip (image taken from QPST)
System.zip (image taken from FullOTA)
Does not flash with no error but system not updates and shows update again
Must flash system using QFIL
I used Indian firmware as I couldnot find for my region and thus I always had the error. Can not switch carriers.
I went to recovery and then 0>OTA> Flashed India OTA
Checked for system updates and this time it worked fully.
You can check which is supported by ####6020# in dialer
THIS IS GOLD. DO NOT MISS IT AT ALL
http://lenovo-forums.ru/forum/624-lenovo-k5-plus/
Credits
@Shreps for TWRP/ Custom roms and all his development efforts @samuro625 for TWRP and Rooting instructions @scritch007 cyanogenmod 13
@ more coming soon
@ anyone i left ? PM me and I will be happy to add your name!
 @dongordo @axal Stock Firmware information
JUST WANT YOUR NAME FOR NO REASON ? PM and I will add it under this heading
Nice thread ?
Envoyé de mon Moto G (4)
Where on the Qualcomm site can one find the QIFL / QPST? Is it part of the Hexagon SDK?
Hnk1 said:
Custom roms
PACMAN
CYANOGENMOD 13
Orignal Sock Roms
Stock Rom guide to know which is your device by region
American Models
Lenovo K5 Plus dual sim 7020l36 MSM8939v2 SD 616
Lenovo K5 Plus single sim 7020l37 MSM8939v2 SD 616
European Models
Lenovo K5 Plus 7020a46 MSM8939v2 SD 616
Lenovo K5 7020a40 MSM8939 SD 415
Asia Models
Lenovo K5 7020a40 MSM8939 SD 415
Lenovo K5 Plus 7020a46 MSM8939v2 SD 616
Lenovo Lemon 3 K32C36 MSM8939v2 SD 616
Lenovo K5 note K52t38 Mediatek MT6755 Helio P10
Latin America ( Brazil, Chili )
Lenovo K5 dual sim A6020l36 MSM8939v2 SD 616
Click to expand...
Click to collapse
Wrong info. A7020 is K5 Note with MTK SoC.
Envoyé de mon Moto G (4)
Phylum said:
Where on the Qualcomm site can one find the QIFL / QPST? Is it part of the Hexagon SDK?
Click to expand...
Click to collapse
It is a took which was leaked and it is not officially available to you unless you manufacturer devices like samsung, lenovo etc
Download it from the first post. I have attached it in two posts!
Shreps said:
Wrong info. A7020 is K5 Note with MTK SoC.
Envoyé de mon Moto G (4)
Click to expand...
Click to collapse
Just to remember you guys, these methods DON'T WORK on A6020l36. Don't try this on your phone if it's this model, but if you did (like me), here is how to unbrick your phone.
https://www.youtube.com/watch?v=6pF2nT2SsHg
rafaellancas said:
Just to remember you guys, these methods DON'T WORK on A6020l36. Don't try this on your phone if it's this model, but if you did (like me), here is how to unbrick your phone.
https://www.youtube.com/watch?v=6pF2nT2SsHg
Click to expand...
Click to collapse
I think you are mistaken. I have QFIL method in my guide which is used by the user in the video.
Hnk1 said:
I think you are mistaken. I have QFIL method in my guide which is used by the user in the video.
Click to expand...
Click to collapse
Sorry man! Haven't seen it! I thought you were only talking about the TWRP method (which doesn't work on a6020l36).
rafaellancas said:
Sorry man! Haven't seen it! I thought you were only talking about the TWRP method (which doesn't work on a6020l36).
Click to expand...
Click to collapse
Really?
Sent from my Lenovo A6020a46 using XDA-Developers mobile app
Is this software almost the same as XIAOMI MIFLASH (it has EDL flashing mode) ???
Any hope for Vibe X3 etc? getting it dirt cheap and I need a new phone
rafaellancas said:
Sorry man! Haven't seen it! I thought you were only talking about the TWRP method (which doesn't work on a6020l36).
Click to expand...
Click to collapse
It should work flawlessly. I do not see why! Did you do as instructed ?
JoZ3 said:
Really?
Sent from my Lenovo A6020a46 using XDA-Developers mobile app
Click to expand...
Click to collapse
nguyenlucky said:
Is this software almost the same as XIAOMI MIFLASH (it has EDL flashing mode) ???
Click to expand...
Click to collapse
Well, I have not tested this with a XIOAMI device with QFIL. In theory it should work, but I have always preferred MIFLASH as it is designed specifically for Xiaomi devices. Most of snapdragon devices has an emergency download mode.
minigreen said:
Lenovo K5 Plus single sim 6020l37 MSM8939v2 SD 616
Click to expand...
Click to collapse
Do you want me to add it to the guide ? Which region is your device from ?
kkn_13 said:
Any hope for Vibe X3 etc? getting it dirt cheap and I need a new phone
Click to expand...
Click to collapse
What do you mean ? QFIL should work on all lenovo devices (snapdragon) provided you have proper stock images which are specific to your device. Google is your friend ? TWRP and development is not currently my aim for any device yet. As i did all my experiments using a K5 plus so I could write in length about it specifically.
Hnk1 said:
It should work flawlessly. I do not see why! Did you do as instructed ?
Well, I have not tested this with a XIOAMI device with QFIL. In theory it should work, but I have always preferred MIFLASH as it is designed specifically for Xiaomi devices. Most of snapdragon devices has an emergency download mode.
Do you want me to add it to the guide ? Which region is your device from ?
What do you mean ? QFIL should work on all lenovo devices (snapdragon) provided you have proper stock images which are specific to your device. Google is your friend ? TWRP and development is not currently my aim for any device yet. As i did all my experiments using a K5 plus so I could write in length about it specifically.
Click to expand...
Click to collapse
Thank you for your time man! Twrp does not work with my phone (I mean, I can install it, and root/flash some stuff, but it definatelly does not work for flashing any of the images uploaded here, including the backups or the pac/cyanogenmod roms, they all give the same compatibility erros as the roms were not made for this phone). I followed the instructions, wiped system/data/dalvik, tried to flash, compatibility erros. There is no way of backup too, since it crashes at the ending. I'm starting to think that my phone is not the a6020l36 (even though it says that on a label under my battery, on my phone's setup and also on the box), but some variant made for my country only. And I know that are brazillians that claim to make it work on their phones, but since there's no way to guarantee that we really have the same phone, I don't now what to do. The QFIL stock rom (that I got from another place too, the ones uploaded here don't work either (another reason to think that my a6020l36 is different from the ones people claim to work here)). Thank you again for your time.

Need some help after messing up my Lineage OS installation on A2017U

My phone has no OS. Factory reset is unavailable to my knowledge (attempted volume up and power).
I can go into fastboot and TWRP, but I can't seem to install the stock OS nor Lineage OS. In fastbootmode, I see the following
Product name - AILSA_II
Variant - MTP eMMC
Bootloader version -
Baseband Version -
Serial Number 9e28c2da
Secure Boot - enabled
Device State - unlocked
Click to expand...
Click to collapse
I cannot use ADB commands. My phone isn't listed under ADB devices. EDL does not work. However in Fastboot mode, MiFlash recognizes a device 9e28c2da. Whenever I try to flash a full EDL however, miflash brings up errors saying it cannot find script and it cannot find file.
When attempting to install in TWRP, I get the respective errors "Invalid zip file format!" for "A2017U_B19-NOUGAT_FULL-EDL.zip" when I try to install the stock. When I try to install Lineage, I get "E3004L This package is for device: ailsa_ii,axon7; this device is ."
I am able to successful install A7LOSv1_UniversalBootStack.zip as well as the UniversalBootstack by DrakenFX. I then install OreoModem.zip after that, but the phone won't let me install any OS afterwards.
Am I trying to install the wrong arrangement of files? What can I do to get an OS back on my phone?
Firstly it sounds like the drivers need an update.
Try updating the USB drivers and try Zadig drivers as well.
Your PC/laptop should see your phone as ...
"Qualcomm HS-USB QDLoader 9008"
In the device manager on Windows. If you are using Miflash it should see it as Com 4 or similar.
Make sure you have the correct Edl package for your phone eg: A2017G, A2017U or A2017.
Extract the Edl package using WinZip or Winrar and take note of the folder name and location.
Boot your phone into Edl mode, via button, adb command or using the Edl tool by @djkuz
Open Miflash tap refresh, if it sees com4 or similar you are good to go.
Tap the browse button and pick the Edl package location on your PC/laptop and then tap flash.
The flash will take a few minutes and when done you will get a green flash success.
Unplug your phone and press and hold the power button till it boots.
Hope this helps
If you get stuck,
I have an Edl help page here >
https://forum.xda-developers.com/axon-7/help/bad-flash-help-page-axon-7-t3839700
There are many others on XDA too

[GUIDE] Unbrick MI5S

Hi,
recently I hardbricked mi Mi5s. After reading and trying a lot of things, I managed to unbrick it. So, I left this as a guide of things to try in case someone else hardbricks it.
How did I brick it:
I was trying to fix finger sensor by flashing in EDL mode fastboot ROMS, in order to reflash persistent.img . I accidentally flashed a mi5 (gemini) ROM on the mi5s. After that, the PC recognised the device only as "hs-usb qdloader 9008" in the Windows Device Manager, associated with a COM port. (In my pc, it was COM7 or COM8).
How did I unbrick it:
I disabled integer_checks (following the androidbrick guide provided below) and installed new driver for qdloader 9008.
After that, I used miFlashTool (https://www.xiaomiflash.com/download/) and flashed latest global stable fastboot rom (https://en.miui.com/thread-5927598-1-1.html)
Note: if miFlashTool crashes, create a folder in miflash folder, and rename it to "log".
If you don't have a unlocked bootloader, you *must* use the test-point trick. (Use a deep flash cable) .
Links:
Driver that worked: https://www.mediafire.com/file/so0uvkd6nm6ie1m/Driver_x64.cab/file (x64) & https://www.mediafire.com/file/ryjc83s2ku6mmh5/Driver_x86.cab/file (x86)
Although it didn't work for me (i suspect thats becouse i hadn't installed the driver above), guide to use Qualcomm QFIL: https://en.miui.com/thread-432217-1-1.html
Another guide to Qualcomm QFIL: https://www.androidbrick.com/ultima...s-are-unbrickable-qhsusb_dload_qpst_qfil_edl/
If the PC doens't detect the mobile after installing that driver, it means that you're NOT into EDL mode. If you can't enter fastboot or EDL mode, you need a Deep flash cable. You can fabricate yourself one (there are youtube tutorials for that) using a test-point , or you can buy one from Aliexpress: https://es.aliexpress.com/item/PHON...290.html?spm=a2g0s.9042311.0.0.594263c0eXl7Lh
Guide to understand how EDL works and how to exploit it: https://alephsecurity.com/2018/01/22/qualcomm-edl-1/
Other useful links: https://forum.xda-developers.com/mi-5s/help/stupid-mistake-mi5s-bricked-t3725331
Other useful links: https://www.youtube.com/watch?v=Ds2Bp2TBizc
Other useful links:https://www.htcmania.com/showthread.php?t=1204227&page=5 (Spanish post)
Other useful links: https://www.youtube.com/watch?v=Mp_VdEqi0rc
Good luck!
Thank you for this great guide. Have a good day
is you fingerprint works after edl flashing?
Fastboot is no longer displayed, the screen remains dark. But I hear that the device is recognized. I use a depp flash cable.
MiFlash 20191206
port 9
status: try to reset status
after 18 sec flashmessage: write time out, maybe device was disconnected.

Bricked phone doing factory upgrade to B04. Stuck in EDL mode, but wont connect :(

Bricked phone doing factory upgrade to B04. Stuck in EDL mode, but wont connect
Device manager shows QUSB_BULK but no tool will see the phone. Any ideas guys.
I have installed quailcom drivers etc , no difference
You can try this tool:
https://forum.xda-developers.com/axon-7/how-to/salesmultidla2017-tool-to-unblick-dfu-t3854229
Hi , I did try that. The port manager in the app does not show anything. It as if the phone is not connected. Even though it is listed in windows device manager as QUSB_BULK
Wait until batterry fully discharged, try enter edl mode again and flash using edl tool or miflash
the_hoho said:
Wait until batterry fully discharged, try enter edl mode again and flash using edl tool or miflash
Click to expand...
Click to collapse
Hi,
I waited till the battery discharged. Went into EDL mode. They only success I had is with axon7tool.exe
Miflash will not detect the phone. As seen believe I can read and write with axon7tool.exe
Is there any recovery I can put back on the phone that will run? The bootloader is unlocked. Thanks
H:\TRWP AXON 7>axon7tool -r recovery
Connecting to device...
Sending programmer...
Connecting to programmer...
log: Supported Functions: program configure nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase peek poke getnumdisksectors
log: Supported Functions: program configure nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase peek poke getnumdisksectors
Reading recovery ...
Success!
Reset in 5 seconds ...
Reset in 4 seconds ...
Reset in 3 seconds ...
Reset in 2 seconds ...
Reset in 1 seconds ...
> H:\TRWP AXON 7>axon7tool -r recovery
Your command with option "-r" (for read) only backuped the existing recovery to your PC.
There was no effect on the phone. It read your phone recovery and downloaded (=backuped) to your PC (probably with name recovery-backup.bin).
Since your booloader is unlocked, you can write official but unsigned TWRP recovery to the phone. This official but unsigned TWRP recovery
will run correctly (since bootloader is unlocked). So you need to 1) download latest official TWRP recovery, then 2) write it to the phone.
1)
On your PC:
Go to https://eu.dl.twrp.me/ailsa_ii/
Download the recovery twrp-3.3.1-0-ailsa_ii.img (14 897 152 bytes, md5 0d57b791c6b7c7d979ea70b0951c519d) with the link:
https://eu.dl.twrp.me/ailsa_ii/twrp-3.3.1-0-ailsa_ii.img.html
Copy the file to the directory containing your axon7tool.exe ("H:\TRWP AXON 7").
Then copy twrp-3.3.1-0-ailsa_ii.img to recovery.bin (command: "copy twrp-3.3.1-0-ailsa_ii.img recovery.bin")
(this means you have a new recovery.bin file which is exactly the same as twrp-3.3.1-0-ailsa_ii.img file).
Explanation: this to prepare to write TWRP recovery to the phone, the axon7tool.exe syntax "-w recovery" requires a file named recovery.bin
which has the content of the recovery you want to put (in your case, latest official TWRP recovery twrp-3.3.1-0-ailsa_ii.img).
On your PC, go to H:\TRWP AXON 7 directory:
H:\TRWP AXON 7>
type "dir" command, you should have files: axon7tool.exe, recovery.bin (identical to twrp-3.3.1-0-ailsa_ii.img), twrp-3.3.1-0-ailsa_ii.img and other files.
2)
Put you phone in EDL mode as you did before.
On your PC, type the following command to write TWRP recovery to the phone:
axon7tool -w recovery
(Explanation: the above command will write (-w) the recovery to the phone using the file named recovery.bin (= twrp_rec_tenfar.img) found in your PC.
You can then boot to recovery, using menu in bootloader at start (use Vol-Up, Vol-Down for selection, Power to Confirm selection).
Other way: if phone is power off: Vol-Up + Power to get into TWRP recovery.
Afterwards, with TWRP you have total control on the phone, custom ROM etc...

Categories

Resources