[guide] steps to unbrick Redmi note 7 (lavender)

Search This thread

closercloud

Member
Oct 11, 2013
30
1
México
Has anyone got this working on lavender global version? QFIL always throws me a "Download Fail FireHose Fail FHLoader Fail: System cannot find the specified file"
 

drarkanex

Senior Member
Feb 15, 2008
200
36
OnePlus Nord N10 5G
Thank you Angelline, your guide worked for me 100%. I'm back up

---------- Post added at 04:25 PM ---------- Previous post was at 04:23 PM ----------

Has anyone got this working on lavender global version? QFIL always throws me a "Download Fail FireHose Fail FHLoader Fail: System cannot find the specified file"
I just did the guide on my global version note 7 and it worked flawlessly. Make sure you download the global note 7 fastboot rom and unzip it, then inject the patched file in that directory and the QFIL browse to that directory while your phone is in 9008 mode and windows can see the com port. make sure you run the QFIL as admin
 
Last edited:

rama982

Senior Member
Aug 16, 2017
396
688
Surabaya
Thank you Angelline, your guide worked for me 100%. I'm back up

---------- Post added at 04:25 PM ---------- Previous post was at 04:23 PM ----------


I just did the guide on my global version note 7 and it worked flawlessly. Make sure you download the global note 7 fastboot rom and unzip it, then inject the patched file in that directory and the QFIL browse to that directory while your phone is in 9008 mode and windows can see the com port. make sure you run the QFIL as admin

Can you tell me which miui version you use?
 

ajtheking

New member
Mar 26, 2020
1
0
Download Fail:Sahara FAil:QsaharaServer Fail: Process fail

Hi guys,
I) My phone status before hardbricked:
- Bootloader unlocked
- twrp installed
II) Cause to hardbricked:
- I flashed the global rom "lavender_global_images_V10.2.7.0.PFGMIXM_20190408.0000.00_9.0_global_082cfb72fb", then flash the china rom "lavender_images_V10.3.1.0.PFGCNXM_20190403.0000.00_9.0_cn_a2cbd6207b"
III) Way to unbrick:
Downloads:
QPST/QFIL
Prog Emmc Firehose MBN(Patched) Credits: Chocoml
Any ARB4 fastboot rom: my phone is china variant so I use this rom: "lavender_images_V10.3.1.0.PFGCNXM_20190403.0000.00_9.0_cn_a2cbd6207b"

1. Download and install QPST.
2. Download and Extract fastboot rom folder. You can use any latest fastboot rom. If you have Global variant use Global fastboot rom and if China variant use China fastboot rom to prevent being stucked on recovery (Miui version can't be installed in this device).
3. Download patched prog_emmc_firehose_Sdm660_ddr.mbn and copy inside fastboot rom images folder.
4. Remove back cover, remove battery. While connecting 2 Test-Point, plug in USB cable into PC
My phone back cover: see attachment
Test Point: see attachment
5. Run QFIL from bin folder, select Flat Build (prog_emmc_firehose_Sdm660_ddr.mbn), Load XML (rawprogram0.xml), (patch0.xml) and click Download.
6. How to flash with QFIL
Everything unknown: contact me on telegram lavender group: https://t.me/LavenderOfficial
Source: https://forum.xda-developers.com/redmi-note-5-pro/how-to/fix-arb-bricked-device-qfil-t3841780


I do all the steps but i can't unbricked mi phone. Someone can help me?
 

AlexRCM

Member
Jan 28, 2018
10
0
I do all the steps but i can't unbricked mi phone. Someone can help me?

I hope I'm not late, this problem is solved with another QFIL here I leave you a link of one that personally helped me to get out of the horrible hardbrick
QFIL https://miui.blog/any-devices/qualcomm-qpst-tool
By the way once the battery was disconnected and the moment it detects port 9008 click download without waste no time. Good luck my dear friend! :victory:

---------- Post added at 03:44 AM ---------- Previous post was at 03:38 AM ----------

Praised be thy guide. I rescued my phone from brick hell with this.

A few things to notice though:

I was using the European rom "lavender_eea_global_images_V10.3.5.0.PFGEUXM_20190716.0000.00_9.0_eea_5213a13935" and then stupidly flashed the global version.
With the "This MIUI version is not compatible with this device" message, my $250 phone instantly became a beautiful shiny brick.
Even when I selected keep user data (not lock) the device locked.
I tried to flash another rom using MiFlash to no avail. You need authorization from an official account to do that.
Then, I attempted this method with the european rom instead of the chinese one. Did not work.
This was out of fear as I did not really know the variant of my phone. After looking at the box the phone came in, I found the serial "M1901XXX" which pointed me that my phone was the chinese variant with an european rom.
I finally decided that I would give it a shot with the latest chinese rom. Followed the instructions *to the letter* and I got the chinese ROM working.

Closing thoughts and things I learnt from 16 hours of googling:
  • Be more careful with what you flash. Always check and heed warnings.
  • Always select clean. Never keep data or clean and lock. That is how I bricked.
  • There are two bootloaders in a phone: Primary Bootloader and Emergency Bootloader
  • All Qualcomm devices have this special mode (EDL) to directly flash a ROM to the EMMRC memory. This is done through the sahara protocol
  • Qualcomm has developed a special framework called Firehose programmer for creating partition tables and other low level operations.
  • Xiaomi locked down this EDL mode and made updates through it only available from authorised accounts due to malware and blah blah blah. ("Only noop and sig can be received before...")
  • ChocoML has provided us with a Firehose programmer file that bypasses these restrictions. However, to my knowledge, it ONLY works with the Chinese ROM and therefore, with devices that support that rom.
  • THEORICALLY, you can keep user data even after all these low level operations: http://en.miui.com/thread-235865-1-1.html (Scroll to blue text).
  • Every device/processor has a different Firehose programmer file. For other devices, look for the appropiate Firehose file.
  • Redmi Note 7 Pro (India) has a different chipset (violet). Do not attempt to use this guide.
  • Make sure you've got a fine USB cable with data transfer properties. DO NOT EVEN THINK OF BREATHING NEARBY THIS CABLE WHEN FLASHING. Lest you get a permabrick.
  • "Receiving hello packet" Error: Reboot the PC and phone to Solve it.
  • You cannot dawdle when flashing using the QFIL. As soon as you establish a connection to the 9008 port, click on download. Lest you get a Sahara Protocol Error.
  • Useful tip: Do not connect the USB cable last to your device. Connect it first to the device and last to the computer. It's easier to short the testpoints this way.
  • Heat guns are hard to regulate. Hot plates with temperature displays are recommended to avoid display damage.
  • Have a great deal of patience. It's touch and go with these things. Do not try to rush.
  • Unplugging the battery is compulsory. You do not have to physically remove it: just remove the ribbon cable that connects it to the MB.
  • Make sure you are flashing a Fastboot rom and not a recovery one.
  • After I flashed the Chinese rom, the phone rebooted yet again to recovery. Reboot and check if it works. If not, wipe data and reboot.
  • Exercise circumspection when updating or changing ROMS. Be sure not to trigger the Anti Rollback, which has a similar upshot as flashing the incorrect rom version
  • You can no longer apply for an authorised Mi account. Thread 404'd
  • Do not pay extremely high fees for unlocking online. Try this tutorial first. Then service center. Only then pay.
  • Do not lose hope. This is the most important point of the list! It took a while and it certainly was a surly experience but you can pull it off. (Unless you've got the global version; may God be with you in that case)

Useful Links:
Disassembly: https://www.youtube.com/watch?v=arV7POS-iiM
Superb explanation of firehose programmer files: https://alephsecurity.com/2018/01/22/qualcomm-edl-1/
Firehose programmer files collection: https://www.leakite.com/collection-qualcomm-emmc-programmer-files/
A better illustrated tutorial for the procedure that the OP describes: https://miui.blog/redmi-note-7/unbr...ut-authorized-mi-account-edl-test-point-mode/ (Be sure to use the files on this thread though!)
Chinese ROM; the chinese one is not available from the MIUI en site: https://xiaomifirmware.com/roms/miui-roms-for-xiaomi-redmi-note-7-lavender/
Check device variant here: https://c.mi.com/thread-2123114-1-0.html
Related reddit thread https://www.reddit.com/r/Xiaomi/comments/98jr79/psa_a_potential_fix_for_flashing_in_edl_mode/

Good Luck my ditzy friends.

Thank you very much for your advice! :good: If I had not read your publication, surely I would have given up, finally I left the hardbrick; by the way this happened when installing the Global Rom in a redmi note 7 that had the version of Rom EEA and that in the box said "Global Version", also many thanks to the creator of the post! Good luck to all and do not lose hope
 
Hi guys,
I) My phone status before hardbricked:
- Bootloader unlocked
- twrp installed
II) Cause to hardbricked:
- I flashed the global rom "lavender_global_images_V10.2.7.0.PFGMIXM_20190408.0000.00_9.0_global_082cfb72fb", then flash the china rom "lavender_images_V10.3.1.0.PFGCNXM_20190403.0000.00_9.0_cn_a2cbd6207b"
III) Way to unbrick:
Downloads:
QPST/QFIL
Prog Emmc Firehose MBN(Patched) Credits: Chocoml
Any ARB4 fastboot rom: my phone is china variant so I use this rom: "lavender_images_V10.3.1.0.PFGCNXM_20190403.0000.00_9.0_cn_a2cbd6207b"

1. Download and install QPST.
2. Download and Extract fastboot rom folder. You can use any latest fastboot rom. If you have Global variant use Global fastboot rom and if China variant use China fastboot rom to prevent being stucked on recovery (Miui version can't be installed in this device).
3. Download patched prog_emmc_firehose_Sdm660_ddr.mbn and copy inside fastboot rom images folder.
4. Remove back cover, remove battery. While connecting 2 Test-Point, plug in USB cable into PC
My phone back cover: see attachment
Test Point: see attachment
5. Run QFIL from bin folder, select Flat Build (prog_emmc_firehose_Sdm660_ddr.mbn), Load XML (rawprogram0.xml), (patch0.xml) and click Download.
6. How to flash with QFIL
Everything unknown: contact me on telegram lavender group: https://t.me/LavenderOfficial
Source: https://forum.xda-developers.com/redmi-note-5-pro/how-to/fix-arb-bricked-device-qfil-t3841780

Thanks for your good solution.
I have a RN7 pro.
How did u patch the programmer file?
I want to do same for RN7 pro.
 

dulehak

Senior Member
Jun 5, 2011
145
49
Knjazevac
Hello everybody, after 4 hours I finally find all what you need for flash global rom for redmi note 7, Bootloader lock, no need for authorised account, qfil flash, pached boot, all file in links description on YouTube. Thanks to "TT Hack-studio"
After flashing do update to miui 12.
Happy flashing.

P.S. If link in description stops working, let me know I upload files to the cloud.
 
Last edited:
  • Like
Reactions: ave_de_fuego
Hi guys,
I) My phone status before hardbricked:
- Bootloader unlocked
- twrp installed
II) Cause to hardbricked:
- I flashed the global rom "lavender_global_images_V10.2.7.0.PFGMIXM_20190408.0000.00_9.0_global_082cfb72fb", then flash the china rom "lavender_images_V10.3.1.0.PFGCNXM_20190403.0000.00_9.0_cn_a2cbd6207b"
III) Way to unbrick:
Downloads:
QPST/QFIL
Prog Emmc Firehose MBN(Patched) Credits: Chocoml
Any ARB4 fastboot rom: my phone is china variant so I use this rom: "lavender_images_V10.3.1.0.PFGCNXM_20190403.0000.00_9.0_cn_a2cbd6207b"

1. Download and install QPST.
2. Download and Extract fastboot rom folder. You can use any latest fastboot rom. If you have Global variant use Global fastboot rom and if China variant use China fastboot rom to prevent being stucked on recovery (Miui version can't be installed in this device).
3. Download patched prog_emmc_firehose_Sdm660_ddr.mbn and copy inside fastboot rom images folder.
4. Remove back cover, remove battery. While connecting 2 Test-Point, plug in USB cable into PC
My phone back cover: see attachment
Test Point: see attachment
5. Run QFIL from bin folder, select Flat Build (prog_emmc_firehose_Sdm660_ddr.mbn), Load XML (rawprogram0.xml), (patch0.xml) and click Download.
6. How to flash with QFIL
Everything unknown: contact me on telegram lavender group: https://t.me/LavenderOfficial
Source: https://forum.xda-developers.com/redmi-note-5-pro/how-to/fix-arb-bricked-device-qfil-t3841780
doesn't work for me i'm using indian version i tried miui 11 & 12 indiuan both didnt worked
 

sandrolimma

New member
Feb 13, 2019
4
1
45
Xiaomi Redmi 3S
Due to a notice from my bank, I decided to block the bootloader of my Redmi Note 7 without researching the consequences first and then my problems started. First I got the message that the Miui version was not the version of this device. After I tried to install Rom Recovery Miui 12.5 it restarted with the message that the system was destroyed. I had to resort to EDL mode and here I managed to solve it with Mi Flash. I used an older version without the options to authenticate with the Mi account. I really hit my head trying to use this QPST Flashing Tool, because I got the message that I wasn't allowed to flash in EDL mode, just like the current version of Mi Flash does. The version I used of Mi Flash was 2018.5.28.0. I used an older Chinese Fastboot Rom with the Miui 10. That way it worked right away. The only problem is shorting the device to be recognized by the computer. After that happened I managed to revive my device. With the device working normally I managed to unlock the bootloader and installed the Rom Miui 12 European version, which came on it. And now it works normally and I never expect it to happen again.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    Hi guys,
    I) My phone status before hardbricked:
    - Bootloader unlocked
    - twrp installed
    II) Cause to hardbricked:
    - I flashed the global rom "lavender_global_images_V10.2.7.0.PFGMIXM_20190408.0000.00_9.0_global_082cfb72fb", then flash the china rom "lavender_images_V10.3.1.0.PFGCNXM_20190403.0000.00_9.0_cn_a2cbd6207b"
    III) Way to unbrick:
    Downloads:
    QPST/QFIL
    Prog Emmc Firehose MBN(Patched) Credits: Chocoml
    Any ARB4 fastboot rom: my phone is china variant so I use this rom: "lavender_images_V10.3.1.0.PFGCNXM_20190403.0000.00_9.0_cn_a2cbd6207b"

    1. Download and install QPST.
    2. Download and Extract fastboot rom folder. You can use any latest fastboot rom. If you have Global variant use Global fastboot rom and if China variant use China fastboot rom to prevent being stucked on recovery (Miui version can't be installed in this device).
    3. Download patched prog_emmc_firehose_Sdm660_ddr.mbn and copy inside fastboot rom images folder.
    4. Remove back cover, remove battery. While connecting 2 Test-Point, plug in USB cable into PC
    My phone back cover: see attachment
    Test Point: see attachment
    5. Run QFIL from bin folder, select Flat Build (prog_emmc_firehose_Sdm660_ddr.mbn), Load XML (rawprogram0.xml), (patch0.xml) and click Download.
    6. How to flash with QFIL
    Everything unknown: contact me on telegram lavender group: https://t.me/LavenderOfficial
    Source: https://forum.xda-developers.com/redmi-note-5-pro/how-to/fix-arb-bricked-device-qfil-t3841780
    6
    Praised be thy guide. I rescued my phone from brick hell with this.

    A few things to notice though:

    I was using the European rom "lavender_eea_global_images_V10.3.5.0.PFGEUXM_20190716.0000.00_9.0_eea_5213a13935" and then stupidly flashed the global version.
    With the "This MIUI version is not compatible with this device" message, my $250 phone instantly became a beautiful shiny brick.
    Even when I selected keep user data (not lock) the device locked.
    I tried to flash another rom using MiFlash to no avail. You need authorization from an official account to do that.
    Then, I attempted this method with the european rom instead of the chinese one. Did not work.
    This was out of fear as I did not really know the variant of my phone. After looking at the box the phone came in, I found the serial "M1901XXX" which pointed me that my phone was the chinese variant with an european rom.
    I finally decided that I would give it a shot with the latest chinese rom. Followed the instructions *to the letter* and I got the chinese ROM working.

    Closing thoughts and things I learnt from 16 hours of googling:
    • Be more careful with what you flash. Always check and heed warnings.
    • Always select clean. Never keep data or clean and lock. That is how I bricked.
    • There are two bootloaders in a phone: Primary Bootloader and Emergency Bootloader
    • All Qualcomm devices have this special mode (EDL) to directly flash a ROM to the EMMRC memory. This is done through the sahara protocol
    • Qualcomm has developed a special framework called Firehose programmer for creating partition tables and other low level operations.
    • Xiaomi locked down this EDL mode and made updates through it only available from authorised accounts due to malware and blah blah blah. ("Only noop and sig can be received before...")
    • ChocoML has provided us with a Firehose programmer file that bypasses these restrictions. However, to my knowledge, it ONLY works with the Chinese ROM and therefore, with devices that support that rom.
    • THEORICALLY, you can keep user data even after all these low level operations: http://en.miui.com/thread-235865-1-1.html (Scroll to blue text).
    • Every device/processor has a different Firehose programmer file. For other devices, look for the appropiate Firehose file.
    • Redmi Note 7 Pro (India) has a different chipset (violet). Do not attempt to use this guide.
    • Make sure you've got a fine USB cable with data transfer properties. DO NOT EVEN THINK OF BREATHING NEARBY THIS CABLE WHEN FLASHING. Lest you get a permabrick.
    • "Receiving hello packet" Error: Reboot the PC and phone to Solve it.
    • You cannot dawdle when flashing using the QFIL. As soon as you establish a connection to the 9008 port, click on download. Lest you get a Sahara Protocol Error.
    • Useful tip: Do not connect the USB cable last to your device. Connect it first to the device and last to the computer. It's easier to short the testpoints this way.
    • Heat guns are hard to regulate. Hot plates with temperature displays are recommended to avoid display damage.
    • Have a great deal of patience. It's touch and go with these things. Do not try to rush.
    • Unplugging the battery is compulsory. You do not have to physically remove it: just remove the ribbon cable that connects it to the MB.
    • Make sure you are flashing a Fastboot rom and not a recovery one.
    • After I flashed the Chinese rom, the phone rebooted yet again to recovery. Reboot and check if it works. If not, wipe data and reboot.
    • Exercise circumspection when updating or changing ROMS. Be sure not to trigger the Anti Rollback, which has a similar upshot as flashing the incorrect rom version
    • You can no longer apply for an authorised Mi account. Thread 404'd
    • Do not pay extremely high fees for unlocking online. Try this tutorial first. Then service center. Only then pay.
    • Do not lose hope. This is the most important point of the list! It took a while and it certainly was a surly experience but you can pull it off. (Unless you've got the global version; may God be with you in that case)

    Useful Links:
    Disassembly: https://www.youtube.com/watch?v=arV7POS-iiM
    Superb explanation of firehose programmer files: https://alephsecurity.com/2018/01/22/qualcomm-edl-1/
    Firehose programmer files collection: https://www.leakite.com/collection-qualcomm-emmc-programmer-files/
    A better illustrated tutorial for the procedure that the OP describes: https://miui.blog/redmi-note-7/unbr...ut-authorized-mi-account-edl-test-point-mode/ (Be sure to use the files on this thread though!)
    Chinese ROM; the chinese one is not available from the MIUI en site: https://xiaomifirmware.com/roms/miui-roms-for-xiaomi-redmi-note-7-lavender/
    Check device variant here: https://c.mi.com/thread-2123114-1-0.html
    Related reddit thread https://www.reddit.com/r/Xiaomi/comments/98jr79/psa_a_potential_fix_for_flashing_in_edl_mode/

    Good Luck my ditzy friends.
    2
    Hi!

    This method helped me recover my Redmi Note 7 from bootloop. Thank you very much!!!

    My situation was the following:
    I flashed Global Rom onto phone Chinese version and accidentally locked the bootloader. After that, only opening the back cover and short-circuiting Test-Point contacts with battery unplugged helped get the COM 9008 port in Windows. Next QFIL flashed Chinese ROM into eMMC without problem, and the phone could boot into UI again!

    I followed the steps precisely and confirm it works.

    Also, while opening the back cover I realised that my phone had been opened by seller before me! The Test-Points contacts had distinctive dents from tweezers! I bought the phone from AliExpress from 'Xiaomi Retail Store' seller as a brand new one, but it turned out to be the contrary :|

    Wish you successful restoring of your phones , mates!
    1
    Hello everybody, after 4 hours I finally find all what you need for flash global rom for redmi note 7, Bootloader lock, no need for authorised account, qfil flash, pached boot, all file in links description on YouTube. Thanks to "TT Hack-studio"
    After flashing do update to miui 12.
    Happy flashing.

    P.S. If link in description stops working, let me know I upload files to the cloud.