yashsingh1/xdaforums huggingface dataset:
[Lenovo Z5 Pro GT Guides, News, & Discussion] Ricky0178:
Introduction

Hey guys! In my journey to completely go from windows to linux I was trying to see if there was a qfil alternative for linux, seeing that the program barely works on wine nor on a WIndows VM, so after a lot of digging i found an open source alternative to that, so today I'm going to show how you could flash any rom using qdl on linux (in my case I have a lenovo z5 pro gt so the guide will help you specifically with that)

You need some things before we start:

Your rom file, which you can get from lolinet

A few dependencies, which you can install with

sudo apt install fastboot libxml2-dev libudev-dev git build-essentials make

QDL binaries, downloadable via the command

git clone https://git.linaro.org/landing-teams/working/qualcomm/qdl.git

Preparing files and Building QDL

Once you got all the files you need to first extract the files stored on the *.zip of the rom you downloaded on a folder (for simplicity's sake you should call the folder something easy and sort such as z5pro). You should now look for a few files on the newly unzipped folder, especially for

patch0.xml

rawprogram_unparse0.xml,

prog_firehose_ddr.elf (could have also a .mbn file extension, it's the same)

Some Linux distributions come with ModemManager, a tool for configuring Mobile Broadband. You should stop this service because it interferes with the process

sudo systemctl stop ModemManager

After that open a terminal and cd to the qdl folder that you downloaded with git and run make. If everything went to plan you should now have a qdl file. Test if it works by just typing on the terminal "./qdl"

At this point you are nearly done! start building your command without pressing enter. it should have this scruture:

./qdl --debug --storage ufs --include /path/to/z5pro /path/to/prog_firehose_ddr.elf /path/to/rawprogram0_unparse0.xml /path/to/patch0.xml

Before pressing enter you should send your device in EDL mode. You can do this in a variety of ways:

From fastboot

fastboot reboot edl

By pressing both vol up and vol down and connecting the phone to the computer

Press send on the terminal to start the process. Beware, you should do this as quickly as you can, otherwise it could just error you out

Wait at least 10 minutes for the process to complete and congratulations, you should have a working rom installed on your phone!

Thanks a lot to 96boards.org for telling me the necessary dependencies to run the program, it really helped me a lot on the process.

If my guide helped you leaving a thanks would be greatly appreciated!
[Lenovo Z5 Pro GT Guides, News, & Discussion] anton vier:
hi, i'm with issues here...

the device - xiaomi redmi note 5A (ugg) - is dead. i'm managed for put it in edl mode, just blink the led, and this is what i receive in terminal:

$ ./qdl --debug --storage ufs --include /home/tuga/ugg_global/images/ /home/tuga/ugg_global/images/prog_emmc_firehose_8937_ddr.mbn /home/tuga/ugg_global/images/rawprogram0.xml /home/tuga/ugg_global/images/patch0.xml

HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0

READ image: 13 offset: 0x0 length: 0x34

READ image: 13 offset: 0x34 length: 0x120

READ image: 13 offset: 0x1000 length: 0x1000

READ image: 13 offset: 0x2000 length: 0xa48

and just it, no error messages, nothing.

the system is MX-linux 19, debian like.

thanks in advance and sorry for my poor english.
[Lenovo Z5 Pro GT Guides, News, & Discussion] oliverbell760:
I have the exact same output issue as anton above.

Except...my command is

sudo qdl <prog.mbn> <rawprogram.xml> <patch.xml>

from the extracted firmware directory.

Alcatel tru metropcs 5065n

cannot boot. cannot adb.

fastboot is recognized at boot logo but doesnt accept commands.

edl mode (vol up+vol down black screen)

qdl mode (vol up+vol down white screen)

cant flash either one. at least qdl gets recognized in mAid

with op's commands i get this error:

I/O warning: failed to load entity "ufs"

[PATCH] failed to parse ufs

qdl: failed to detect file type of ufs.

maybe ufs is wrong for this phone. but ill keep a look if anton above gets a solution.
[Lenovo Z5 Pro GT Guides, News, & Discussion] jogai:
Arch users can install it trough the AUR: https://aur.archlinux.org/packages/qdl/
[Lenovo Z5 Pro GT Guides, News, & Discussion] samarthakv29:
Please keep in mind when using QDL tool on Linux, be sure to remove ModemManager

U can try the following:

sudo apt remove --purge modemmanager

The command I use for flashing is (Run after cd into the folder containing the files)

qdl --storage ufs --include . prog_firehose_ddr.elf rawprogram_unsparse0.xml rawprogram1.xml rawprogram2.xml rawprogram3.xml rawprogram4.xml patch0.xml patch1.xml patch2.xml patch3.xml patch4.xml patch5.xml

Be sure to know what is your storage type before hand. I think the possible values are: emmc, ufs etc.

Also, try to verify that

lsusb

lists a "QDLoader 9008" device

The last thing I can think of is you can use --debug flag to see what's going on. Like:

qdl --debug --storage ufs ...

I'm using this project: QDL Github

You need to git clone the project, the cd into it, and run make command. If make fails, then it's usually just a few missing libraries. You can easily find on Google, which packages you need to install to get it to compile.

Once it is compiled, you will get a qdl file.

Usually I have a ~/bin folder in my Home Dir like /home/sam/bin

In my bashrc I have added lines

PATH="${HOME}/bin:$PATH"
export PATH;
# You can add any number of directories to Path. I also have a /home/sam/scripts folder where I place my scripts
# Next you can do
cd ~/bin
# ln -sf (forced symlink) source dest
ln -sf ${HOME}/qdl/qdl qdl
# To create a symlink from git cloned folder's generated qdl executable into ${HOME}/bin

Then you can run qdl from anywhere
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
Sure you have solved by now but for others that will look at this in future, you have to select correct file system for storage. ufs or emmc makes a difference in command, I had to use emmc as per firehose loader.
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
If you didn't restart anything after firehose timed out I don't think it was flashing anything. It said it was but I don't believe it, if the loader timed out and failed, what was it flashing ?
[Lenovo Z5 Pro GT Guides, News, & Discussion] rudi.timmer:
Do anyone has an idea what can be wrong:

./qdl --debug --storage emmc --include /home/rudi/Downloads/9008/prog_emmc_firehose_8953_ddr.mbn /home/rudi/Downloads/9008/rawprogram0.xml /home/rudi/Downloads/9008/patch0.xml

HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0

READ image: 13 offset: 0x0 length: 0x34

END OF IMAGE image: 13 status: 20

received non-successful result

Thanks!
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
include directory /home/rudi/Downloads/9008 then path to firehose, rawprogram and patch.

edit: Like below. Path to folder so it knows where to get all files then firehose rawprogram and patch.

./qdl --debug --storage emmc --include /home/rudi/Downloads/9008 /home/rudi/Downloads/9008/prog_emmc_firehose_8953_ddr.mbn /home/rudi/Downloads/9008/rawprogram0.xml /home/rudi/Downloads/9008/patch0.xml
[Lenovo Z5 Pro GT Guides, News, & Discussion] rudi.timmer:
Ok thanks!
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
I edited post above. It has full command if you want to copy paste.
[Lenovo Z5 Pro GT Guides, News, & Discussion] rudi.timmer:
Ok thanks but i have found it out myself when you have posted the first message and it worked out OK so everything is fixed ! Thanks!!
[Lenovo Z5 Pro GT Guides, News, & Discussion] ATACELITE:
this what i keep getting...any help is appreciated

android@android-HP-Laptop-15-db0xxx:~$ chmod u=rwx,g=r,o=r qdl

android@android-HP-Laptop-15-db0xxx:~$ sudo qdl --storage ufs --include /Home/downloads/9008 /Home/qdl/rp2-edl/prog_ufs_firehose_sdm845.elf /Home/downloads/9008 /Home/qdl/rp2-edl/rawprogram0xml /Home/downloads/9008 /Home/qdl/patch0.xml

I/O error : Permission denied

I/O error : Permission denied

I/O warning : failed to load external entity "/Home/downloads/9008"

[PATCH] failed to parse /Home/downloads/9008

qdl: failed to detect file type of /Home/downloads/9008
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
try with chmod a+x qdl
[Lenovo Z5 Pro GT Guides, News, & Discussion] ATACELITE:
what is going on? howmto fix this? Thankyou in advance

android@android-HP-Laptop-15-db0xxx:~/qdl/rp2-edl$ qdl --debug --storage ufs --include /home/android/qdl/rp2-edl/prog_ufs_firehose_sdm845.elf /home/android/qdl/rp2-edl/rawprogram0.xml /home/android/qdl/rp2-edl/patch0.xml

Waiting for EDL device

*** buffer overflow detected ***: terminated

Aborted (core dumped)
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
You have to tell it where it is going to get all the files it is supposed to flash. Need the folder where they are located. Looks like you need to add /home/android/qdl/rp2-edl to your --include. Run qdl as root or with sudo.
[Lenovo Z5 Pro GT Guides, News, & Discussion] ATACELITE:
So there should be no space after --include so like this...--include/home/android...etc. I will try with root privileges as well. I've been working on unbricking this razor phone 2 since 2020...I have more updated devices but the razer company makes it nearly impossible so it's personal at this point haha!
[Lenovo Z5 Pro GT Guides, News, & Discussion] ATACELITE:
Also tek, thank you for taking time out of your day to continue to help on an outdated thread and for free. I really appreciate you.
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
There wil be a space after --include like this example for your system. Copy paste if you want.

--include /home/android/qdl/rp2-edl /home/android/qdl/rp2-edl/prog_ufs_firehose_sdm845.elf /home/android/qdl/rp2-edl/rawprogram0.xml /home/android/qdl/rp2-edl/patch0.xml
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
@ATACELITE you include that folder with all your rom files so when rawprogram and patch tell it what partitions to flash it will know where to get them.
[Lenovo Z5 Pro GT Guides, News, & Discussion] ATACELITE:
Tek it's aces like you that keep hope alive for noobs like myself. Thank you again. I will try this after work.
[Lenovo Z5 Pro GT Guides, News, & Discussion] ATACELITE:
I also noticed in above post you recommended placing 9008

I also noticed in an above post to a different user to place 9008 as part of the directory. I don't see that in my qfl folder. Is that worth a shot as well?
[Lenovo Z5 Pro GT Guides, News, & Discussion] ATACELITE:
AsolsI also noticed in above post you recommended placing 9008

Also, I got the firehose file from a separate xda member. However, razer does not release these files. I even offered to pay the company for the firehose to no avail. Could it be my firehose isn't cooperating? Would that cause the buffer overflow issue I'm having?
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
9008 was a directory in the path to where the files were for him on his computer. Yours will simply be where the rom files are located on your pc. I would not use "~"to point to home, I would type full address, as in /home/android/qdl/rp2-edl , if that is where they are then you can copy paste the example I gave you. Just make sure that is where they are and run it with root permission.
[Lenovo Z5 Pro GT Guides, News, & Discussion] nareach:
what if i want to flash only boot_a and b image file, what command should i use?
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
Same commands but you will need to direct it to a folder with only those .img files, if it can't find the others it can't flash 'em. Or try editing .xml files to only include boot_a and boot_b.
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
Try running it as root, not sudo but su.
[Lenovo Z5 Pro GT Guides, News, & Discussion] Killuminati91:
If I run it with sudo -i:

root@liam-System-Product-Name:~# '/home/liam/Downloads/qdl/qdl' --debug --storage ufs --include '/home/liam/Downloads/qdl/PD2145' '/home/liam/Downloads/qdl/PD2145/rawprogram_unsparse0.xml' '/home/liam/Downloads/qdl/PD2145/patch0.xml'
Waiting for EDL device
HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
READ64 image: 13 offset: 0x0 length: 0x40
END OF IMAGE image: 13 status: 20
received non-successful result

If I run it with su account:

./qdl --storage ufs --include '/home/liam/Downloads/qdl/PD2145F' '/home/liam/Downloads/qdl/PD2145F/prog_firehose_ddr.elf' '/home/liam/Downloads/qdl/PD2145F/rawprogram_unsparse0.xml' '/home/liam/Downloads/qdl/PD2145F/patch0.xml'
I/O warning : failed to load external entity "/home/liam/Downloads/qdl/PD2145F/rawprogram_unsparse0.xml"
[PATCH] failed to parse /home/liam/Downloads/qdl/PD2145F/rawprogram_unsparse0.xml
qdl: failed to detect file type of /home/liam/Downloads/qdl/PD2145F/rawprogram_unsparse0.xml

Device is recognized as "Qualcomm, Inc. Gobi Wireless Modem (QDL mode)"

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

With bkerler edl tools i get the same "The operation is not allowed for read / wite" errors when trying to read or write partitions. Even though it lists read and firmwarewrite as supported functions.
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
are you using the correct FS ? Is your device ufs or emmc storage ?
[Lenovo Z5 Pro GT Guides, News, & Discussion] Pervokur:
vivo is using vip prog, you will not able to flash without cracking it(which is extremely unlikely)
[Lenovo Z5 Pro GT Guides, News, & Discussion] MMenyan:
update: i have successfully unbricked my tablet and flashed twrp using fastboot. im still interested in a solution and some others might have a similar problem but it isnt necessary

Spoiler content hidden.
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
Don't know if there are answers here or not. I don't have any .x files to look into it.
[Lenovo Z5 Pro GT Guides, News, & Discussion] anarchotaoist:
Hmmm. I just upacked my rom zip and cannot see those files.

Is this tool only for Lenovo devices?

I want to unbrick a Oneplus 8T.
[Lenovo Z5 Pro GT Guides, News, & Discussion] ab.g.fahren:
Hey peeps!

Thanks for this guide so far.:)

Im stuck here and dunno what to do.

in lsusb qualcomm is recognized in mode 9008 but ./qdl isn recognising the edl device

Anyone got a tip what to do?

Thanks alot in advance

View attachment 5753467
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
you need to add path to folder after include
[Lenovo Z5 Pro GT Guides, News, & Discussion] ab.g.fahren:
Thanks alot.
[Lenovo Z5 Pro GT Guides, News, & Discussion] drtino7777:
i have a question, you need a licence to do this process?
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
No, OP says it is open source. You don't need a license to use as is.
[Lenovo Z5 Pro GT Guides, News, & Discussion] drtino7777:
I deleited all partición, domingo a clean in diskpart ,could in Word?
[Lenovo Z5 Pro GT Guides, News, & Discussion] WinterSunset95:
FIREHOSE READ: LOG: INFO: Calling handler for patch FIREHOSE READ: no boot partition found FIREHOSE WRITE:

"no boot partition found"

dayum.. anyone??
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
No that is not EDL. Looks like someone renamed some drivers.
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
The dozen or so qualcomm devices I've flashed in edl have never had any display, they have always been black screens. The other reason I had said that is android debug bridge has always been different protocol than edl. I have never seen a device in edl detected by adb, maybe something has changed. The big question is if it is clearly in edl mode as you say, why were you asking ?
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
you should look for thread pertaining to the Magisk module you are trying to use or start a thread for it. qdl for linux is clearly different from magisk on your phone.

I had to look your module up to see how it was supposed to work. No your device is not in edl mode which some call 9008 mode. if it were you would see Qualcomm HS-USB QDLoader 9008 .
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
After I looked it up I realized it was another device . Regardless, the device I don't believe is in edl mode because it is not showing as 9008. That QUSB_BULKxxx is not edl some software tools like qfil may recognize it but they won't write to it because it's not edl or 9008.

Also I don't think you should get prompt for vendor keys from adb. Adb shouldn't recognize edl.

this is from qdl readme:

This tool communicates with USB devices of id 05c6:9008 to upload a flash

loader and use this to flash images.
[Lenovo Z5 Pro GT Guides, News, & Discussion] newbie@everything:
How can one obtain the patch, raw program and programmer files for nokia 5.3, because all the firmaware i have accessed tends to not have such files only binary, .mbn and image files, or can i use the disk image files instead? any help would be highly appreciated.
[Lenovo Z5 Pro GT Guides, News, & Discussion] Pervokur:
https://xdaforums.com/t/guide-heres-how-to-unlock-the-bootloader-of-nokia-5-3.4568619/
[Lenovo Z5 Pro GT Guides, News, & Discussion] newbie@everything:
Thanks for this.
[Lenovo Z5 Pro GT Guides, News, & Discussion] boekhoffm:
I'm trying to do this on a locked (account locked) Redmi Note 9S that my son reset after changing his phone number.

I have got it into EDL mode by shorting the pins ("Qualcomm" is listed in lsusb)

When I run the program, it doesn't matter what parameters I try, it always returns TIMEOUT, and I find nothing on the web to help me.

Note that I have added more debugging and tried differnt bulk sizes (512 matches the endpoint's max packet size).

Also tried different time-out durations

I have tried this within 10 seconds of getting the device into EDL mode, still get time-out.

make: 'qdl' is up to date.

PWD: /home/mcb/Downloads/curtana_global_images_V14.0.4.0.SJWMIXM_20230516.0000.00_12.0_global/images

-rw-r--r-- 1 mcb mcb 683580 May 16 13:55 prog_ufs_firehose_sm6250_ddr.elf

-rw-r--r-- 1 mcb mcb 5935 May 16 13:55 rawprogram0.xml

-rw-r--r-- 1 mcb mcb 6263 May 16 13:55 patch0.xml

main: type: 2

main: type: 1

usb_open: open dev_node: /dev/bus/usb/001/001

usb_open: opened dev_node fd: 4

parse_usb_desc: read from fd: 4

usb_open: parse_usb_desc returned ret: -22

usb_open: closing fd: 4

usb_open: open dev_node: /dev/bus/usb/001/002

usb_open: open dev_node: /dev/bus/usb/001/004

usb_open: open dev_node: /dev/bus/usb/001/082

usb_open: open dev_node: /dev/bus/usb/001/087

usb_open: opened dev_node fd: 4

parse_usb_desc: read from fd: 4

parse_usb_desc: found USB_DIR_IN, in: 129

parse_usb_desc: found USB_DIR_IN, in_size: 512

parse_usb_desc: found USB_DIR_OUT, out: 1

parse_usb_desc: found USB_DIR_OUT, out_size: 512

parse_usb_desc: assigned qdl->fd: 4

usb_open: parse_usb_desc returned ret: 0

Found EDL device

usb_open: ioctl USBDEVFS_IOCTL, USBDEVFS_DISCONNECT

usb_open: ioctl USBDEVFS_CLAIMINTERFACE

usb_open SUCCESS

main: call sahara_run: prog_ufs_firehose_sm6250_ddr.elf: qdl.fd: 4

sahara_run: open(prog_ufs_firehose_sm6250_ddr.elf)

sahara_run: prog_ufs_firehose_sm6250_ddr.elf opened OK: prog_fd: 3

sahara_run: sizeof(buf) is: 512

qdl_read: qdl->fd: 4

qdl_read: timeout: 2000

qdl_read: ioctol USBDEVFS_BULK (1)

qdl_read: ioctol bulk.len: 512

qdl_read: ioctol bulk.timeout: 2000

qdl_read: errno: 110(Connection timed out)

qdl_read: return -1
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
What command are you using to start qdl ? Does lsusb list it in 9008 mode, it has to be more than just Qualcomm.
[Lenovo Z5 Pro GT Guides, News, & Discussion] boekhoffm:
lsusb lists it as "QDL mode" - that's EDL mode isn't it?
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
I think so. It has been a long time since I've used it. I know it used to say 9008, but new drivers may list it differently now. What commands are you using when you try to run it ? It's not as bad as QFIL but still picky about what it will accept.

edit: provided you are in 9008 mode, or edl or qdl or whichever it is called now, the program works if you follow the guide OP posted. Don't add any debugging or change any sizes, make sure you uninstall modemmanager and you may need to run as root.
[Lenovo Z5 Pro GT Guides, News, & Discussion] boekhoffm:
Ye on Linux it appears as "Qualcomm...(QDL mode)"

On Windows (VM) it comes up as "Quallcomm...9008"

None of my efforts on Windows VM have worked - closest I came was it complaining that I was using the wrong Mi account (I cant' use the old one because that phone number has long been assigned to someone else).

I would have thought that if I have opened up the back and have it in QDL /EDL mode, flashing should be a breeze.

So I am thinking I have to use QDL on Linux to somehow get past the Mi account sh*te and it is almost there, it just comes up with timeout when trying to read from the device using USBDEV..BULK call (I changed this to normal "read" to see what would happen, and it came up with "no data available").

So I suppose something wrong with QDL mode -to-> Linux (XuBbuntu).

The Web says no need for special Qualcomm drivers on Linux and I have disabled ModemMonitor thing.

Just need to get past timeout.
[Lenovo Z5 Pro GT Guides, News, & Discussion] boekhoffm:
Obviously I have tried without any changes and obviously I have tried root vs. non-root.

Need an actual helpful solution and not the obvious.
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
You would be surprised how many times it is what should be obvious that is the problem. Since you choose to talk to people the way you do, good luck with that helpful solution. In fact, good luck finding someone willing to be helpful.
[Lenovo Z5 Pro GT Guides, News, & Discussion] StephPT:
Hi Guys,

I have this error:

sudo qdl --debug --storage emmc --include 'images' 'images/prog_emmc_firehose_8953_ddr.mbn' 'images/rawprogram0.xml' 'images/patch0.xml'

I/O warning : failed to load external entity "emmc"

[PATCH] failed to parse emmc

qdl: failed to detect file type of emmc

I'm on EndeavourOS (Arch) and i installed the qdl package from AUR.

I already browsed so many forums and i don't find where i can download the missing libs. Can you help me?

Thanks alot.

EDIT: i missed the first part to cd and run make to the downloaded git folder. So i'll run some tests
[Lenovo Z5 Pro GT Guides, News, & Discussion] jorogotchie:
Hi. Does QDL has similar QFIL feature of being able to delete a specific partition? I'm in a Linux environment and need to erase ddr partition to force the DRAM to re-train on reboot.
[Lenovo Z5 Pro GT Guides, News, & Discussion] steveyyyy:
Would this work on xiaomi devices in edl? I mean because of the edl mi account auth?
[Lenovo Z5 Pro GT Guides, News, & Discussion] en11gma:
i have 3 phones.

sm-g988u (s21 ultra snapdragon)

sm-g980u (s20 plus snapdragon)

sm-g985f/ds (s20 exynos)

does the OP directions for edl mode work with this phone?

i have both linux + windows installed (dual boot).

dont you have to have a special EDL Cable?
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
On the exynos chip definitely not. On the snapdragons not that I'm aware of, Samsung has there own protocol using download mode instead of EDL. And qdl looks for qualcomm firmware like firehose_loader, patch and rawprogram files.
[Lenovo Z5 Pro GT Guides, News, & Discussion] Rohan213:
Vivo y91 not working...failed to setup programing😭
[Lenovo Z5 Pro GT Guides, News, & Discussion] bunny___:
I'm also facing same problem bro can u have any suggestions to fix it
[Lenovo Z5 Pro GT Guides, News, & Discussion] tek3195:
I believe you have a Redmi Note 6 pro. It is my understanding that you have to have authorization to flash even in EDL mode. You can look here and here to get an idea of what I'm talking about. I do not own any Xiaomi or Redmi devices so just going by what I've read.
[Android Stick & Console AMLogic based Computers] Lince78:
Hello everyone after an upgrade made with the wrong microusb now the box no longer hears the reset button and the remote control no longer works. I ask you if I can update the firmware directly on the processor via USB from the PC. Bypassing the boot that doesn't work?