yashsingh1/xdaforums huggingface dataset:
[Red Magic 8 pro] C4RP3 N0CT3M:
How do you "select a firehose" in QLMFlasher Pro? I think it might be selecting it automatically, but when I get into the bootloader, no commands work and the phone doesn't show up as a device with the devices command.

Edit: I got passed this part, but when I flashed your abl to both abl_a and abl_b and rebooted to the bootloader (using ADB) I simply get "FAILED (remote: Flashing Unlock is not allowed)" when using the command "fastboot flashing unlock". No idea what I'm doing wrong. I have the NA version that I purchased last week, so maybe extra protection has been added?

Edit 2: Okay, so the guide doesn't mention this, but you have to activate OEM unlocking in the developer options after flashing the abl.img file to abl_a and abl_b. This allowed me to complete the guide.
[Red Magic 8 pro] tooandrew:
im having some issues here - first thing being, magisk wont patch init-boot-b, saying its a unsupported image and second, fastboot is telling me

FAILED (remote: 'Flashing Unlock is not allowed')

this is a brand new out of box phone, never connected to the internet never updated. help?

EDIT: the answer is literally right above this post for the bootloader part.

init-boot-b still says unsupported/unknown image format. i tried renaming it from .bin to .img still doesnt work
[Red Magic 8 pro] C4RP3 N0CT3M:
You

You still won't be able to patch init-boot-b. I'm not 100% sure why, but it doesn't matter (just move on from this step). I believe B is used for OTA updates in our case, so as long as you turn off auto-updates in the dev options you should be able to patch it later with Magisk when an update is available (after downloading it of course).
[Red Magic 8 pro] tooandrew:
awesome, thank you
[Red Magic 8 pro] C4RP3 N0CT3M:
Been working on this thing for the last week. I've got it in a pretty good place with Lsposed and Magisk, etc. Never spent as much time on a phone as I did on this one, and it came out great. Good luck on your journey!
[Red Magic 8 pro] C4RP3 N0CT3M:
Don't forget to flash your original abl in EDL after you get root to fix the RAM bug in system info.
[Red Magic 8 pro] tooandrew:
do you know if there is any way to disable the unlocked bootloader warning screen? historically there hasnt been on other phones but one can always hope. also, is there source available anywhere yet for custom rom development?
[Red Magic 8 pro] tooandrew:
i flash original abl_a in edl?
[Red Magic 8 pro] C4RP3 N0CT3M:
I don't think there's a way to do this, not that I'm aware of anyway. You'd probably need a really specific leaked EDL file. As far as roms, I only know of one guy in China developing one, and he's charging for it. Not sure if I can post the link here, but search for a custom rom for the 8 Pro and you should find it.
[Red Magic 8 pro] C4RP3 N0CT3M:
I followed this post:

I did abl_a and abl_b with my originals.
[Red Magic 8 pro] tooandrew:
awesome im all set. now to set about finding out what all is involved in defeating safetynet these days thanks for your help
[Red Magic 8 pro] tooandrew:
ah ****. universal safetynet fix isnt working. killing me here
[Red Magic 8 pro] C4RP3 N0CT3M:
It's a journey lol. Start with the Magisk thread would be my suggestion. I can try and find the past I followed, but it won't be tonight.
[Red Magic 8 pro] tooandrew:
https://xdaforums.com/t/magisk-the-magic-mask-for-android.3473445/ this one?
[Red Magic 8 pro] tooandrew:
I used some kind of tool to spoof it so my device appeared as a different phone to safetynet and it didnt do the hardware check on my note 20 ill have to see if i can remember that
[Red Magic 8 pro] C4RP3 N0CT3M:
Here's a link to the post that got me started :

[MODULE] [MOD] Universal SafetyNet Fix

Universal SafetyNet Fix [MOD] Magisk module Hello. This is my modification [FORK] of the original Universal SafetyNet Fix module from @kdrag0n. Created for the (temporary?) restoration of working capacity in the conditions of constant change...

xdaforums.com
[Red Magic 8 pro] tooandrew:
is there any way to re-lock the bootloader?

EDIT: I think if I just flash abl again I can re lock it
[Red Magic 8 pro] ebukelepce:
I rooted my phone Red Magic 8s Pro, I installed the old version again, this time it says fingerprint hardware is not used, does anyone have an idea, the phone is global version
[Red Magic 8 pro] tooandrew:
yeah im in the opposite position to yall where i relocked it without turning off the security, and now i cant get fingerprint or lock to work with a locked bootloader. lame/
[Red Magic 8 pro] tooandrew:
AAAND i bricked it flashing magisk after unlocking bootloader but before booting fully. it only reboots to fastboot and edl, recovery doesnt load, system doesnt load. can anyone send me anything to fix this ***** or am i just screwed?
[Red Magic 8 pro] tooandrew:
it looks like bootloader and system were somehow wiped?
[Red Magic 8 pro] Anegorami:
Oddly familiar case.

[SOLVED] Fastboot bootloop after flashing Magisk-patched init_boot

So, I've finally got my hands on 8S and first thing I did in the morning - yeah, right - ROOTING. Using the method posted in the https://xdaforums.com/t/root-redmagic-8s-pro.4617049/ I got as far as "Reboot. Done.". Except the reboot to system...

xdaforums.com
[Red Magic 8 pro] murasio3:
i have red magic 8s pro imei qcn

767 KB file on MEGA

mega.nz
[Red Magic 8 pro] Strannik74:
Can anyone tell me if it is possible to install a global firmware instead of a Chinese one after unlocking the bootloader and what are the risks and mandatory nuances?
[Red Magic 8 pro] dmneodu:
Hello friends! I am the owner of redmagic 8s pro(NX729J). can anyone help me root it while maintaining the locking feature, for example via anydesk?
[Red Magic 8 pro] Timmy Turner10:
Yes, I unbricked with the china rom and was able to flash NA rom afterwards. So that's possible.

And secondly, to keep lock, I believe I relocked and unlocked bootloader a few times. If no success, try flashing persist. I believe that makes a difference too. Anyone with more experience with images, correct me if I'm mistaken. But I do remember flashing that image and lockscreen came back.
[Red Magic 8 pro] xtapx:
What tool did you use to unbrick? I updated my 8s Pro 729J to the new software V812 from V809 and the diablo icon in vertical mode doenst work now. Trying to revery back to 809 but what tool is safe to use?

thanks in advance
[Red Magic 8 pro] Domainxr:
Same thing, I updated to v812 and I have qlmflasher pro purchased and my device does not show up when I run adb devices in terminal. In addition, my device does not go into fastboot mode when I try to do it manually. How can I fix this?
[Red Magic 8 pro] xtapx:
I used oneclick to help unlock the phone I didnt want to brick my phone.
[Red Magic 8 pro] Domainxr:
Have a link to the download?
[Red Magic 8 pro] xtapx:
oneclickroot.com
[Red Magic 8 pro] Domainxr:
That’s a scam
[Red Magic 8 pro] Domainxr:
Does anyone know why I can’t enter fastboot on version V812?
[Red Magic 8 pro] xtapx:
Clearly you dont research or do anything enjoy wasting peoples time in here instead of getting stuff done.
[Red Magic 8 pro] Domainxr:
I see nothing but bad rep and reviews of that website online everywhere
[Red Magic 8 pro] xtapx:
They have rooted 5 8s pro for me. so i cant complain
[Red Magic 8 pro] Ruanitos:
Im also stuck in a bootloop, made a lot of mess out off init_boot a and b, my bootloader is unlocked and i can acess EDL, Recovery and Bootloader, should i provide more info? im really sorry but my english is a little bit rusty
[Red Magic 8 pro] Anegorami:
>i can acess Recovery

First of all, do a Factory Reset and see if the system will boot. Second, check exact versions of init_boot a and b you currently have - they should match your backups (and if you haven't done a full backup yet then do it ASAP with any tool you like / able [edit] do NOT backup userdata partition as it's both huge and pointless to do [/edit]). Finally, tell us your exact actions until this point, from getting the phone out of the box - the more details you provide the more accurate the answers will be.
[Red Magic 8 pro] Ruanitos:
Sorry for the lack of details, made even more of a mess trying to revert my versions of init_boot (both a and b), now im stuck in a perpetual EDL mode, guess my CPU fried, i will try the QLM unbricker but i live in a poor country so 50USD is a lot, thanks for the help
[Red Magic 8 pro] peter9811:
I can't unlock the bootloader. I have the 8Pro, but I installed (stupid choice) the 8SPro ROM (OS8) and now is buggy and I want to have root and delete all the data
[Red Magic 8 pro] peter9811:
I have the ROM OS6, the official on my device, but I tried to install manually, but the phone don't show the option to do it,

It is any way to do it from the PC?

Thanks
[Red Magic 8 pro] ce_francky:
Hello, in EDL 9008 mode, read and write this without rewriting to your original ROM especially.

When you read an.img file, they will all be at the bottom of the table,

Modemst1.img

Modemst2.img

ufg.img

Ufs.img

To unlock, you will need to read and write on the 2 files ini_boot_a and ini_boot_b an ini_boot file extracted from a ROM with the image.bin file and patch it with magisk.

Once the Magisk_patched_ini_boot.img has been modified, it is this image file which will replace your 2 ini_boot_a and ini_boot_b files to be read in order to save them and rewrite them in your ROM by selecting the magisk_patched_ini_boot.img twice.

A restart will be requested and the same procedure after each mandatory update.

If you manage to recover its 4 files, I will give you the tool to unlock your redmagic by email to ce_franck@hotmail.fr and a Gmail Drive link will be sent to you as well as the EDL Globale NEAA and EAA and CN roms.

If anyone who owns a redmagic 8 Pro or 8s pro smartphone, CN or roms global or EEA or NEEA Global.

I have two RM8S Pro in which have the same problems and no more unlocking, no more 4G and 5G Modem nor IMEI numbers.

For the IMEI, I found what to redo a QCN file and software that works.

But I can't put the COM port in Diag 901D mode, but I can put it in EDL 9008 and 900E COM port.

QFiL refuses to read or write the QCN file with my original IMEIs.

I CPU is too new I think.

If someone can with the Firehose.elf, just read the 3 or 4 files mentioned and drop them on the forum, that would be really great.

If necessary, I have all the roms in EDL with fitehose.elf and all the XML 0 to 5, unbrick.xml and GPT.xml, options 0 to 5 etc, but in the updates, they do not provide us with the most important files, this is the first time I erase a ROM and all the files do not reinstall and are available nowhere.
[Red Magic 8 pro] ce_francky:
reboot "dm-verity enforcing"

PS : with " "
[Red Magic 8 pro] ebukelepce:
Kardeşim öncelikle mesajıma gösterdiğin ilgi için teşekkür ederim. Bana yardımcı olduğunuz makalede yazdıklarınızı uygulamakta zorluk çekiyorum. Çok uzun değilim. Bana bir EDL ROM gönderebilirsiniz. Yazılımı deneyeceğim. Uzaktan bağlantı ile bağlantı kurabilirseniz çok sevinirim. Yazdıklarımı Google Translate'de yazdım. Teşekkür ederim.
[Red Magic 8 pro] ce_francky:
Save and restaure any images for repair all Ufs 4.0 Qualcomm IMEI.

Select one or all images for whrite to youre redmagic 8S Pro or other marques.

For root your smartphone redmagic 8S Pro, mode EDL, just read ini_boot_a and b.img

And whrite magisk_patched_ini_boot.img to ini_boot_a and b.

good luck.

P.S : i lookingfor Ufs.img and efg.imd for restaure my IMEI, finderptints and secures and modemst1 and 2.img.
[Red Magic 8 pro] ce_francky:
Thanks you
[Red Magic 8 pro] nm101:
Can somebody help?

I'm trying to root my EU 8s pro, but got stuck at the very beginning - trying to enter partition manager via EDL (using QFIL), but it fails, and if I reconnect the device after firehose sideloading, it detects as Unknown (device descriptor query failure) rather than 9008 serial port as it was at the beginning.

Tried two different PCs and different cables - the result is the same.

Attached QFIL log just in case, but didn't found any clues in it.

What I did earlier:

1. Enabled both OEM unlocking & ADB in developer settings

2. Installed 9008 drivers from this website as it appears to be related with QFIL's.

2.`adb reboot edl` on a PC

3. Set QFIL build type to flat with firehose ELF path, and storage type to ufs

4. Clicked Tools -> Partition Manager

5. Confirmed programmer sideloading prompt

I'm using the firehose programmer binary from initial message's attachement:

One more detail:

Regardless of OEM unlocking in developer settings is ticked, if I reboot to fastboot

(`adb reboot fastboot` to fastbootd, then detach cable, and click fastboot), it shows a lot of internal variables, such as serial number, SoC codename, ..., and more importantly, these lines:

IMO looks quite suspicious
[Red Magic 8 pro] Timmy Turner10:
I dont think current bootloader on 8S pro supports adb reboot edl. I had to turn completely off, plug a usb cable and press power and Vol - simultaneously. Hold them, and Windows should make a chime and in device manager, it will show the 9008 port device.

In another forum I started before, to unlock the bootloader, someone had shown the available adb commands. None of which were usable really.
[Red Magic 8 pro] nm101:
In my case, Power+VolDown leads to FTM (factory test mode) screen. Power+VolDown+VolUp is the one, leads to EDL

However, even if I enter EDL via these keys instead of `adb reboot edl`, nothing changes - it stiil hangs after firehose sideloading. Any other ideas?
[Red Magic 8 pro] Timmy Turner10:
And to be sure, you used the op firehose or?
[Red Magic 8 pro] nm101:
Yes, exactly that one from the OP
[Red Magic 8 pro] ghettiguru:
Okay does anyone know what they were doing on the 5g, the 6s Pro and the 7 Pro with the vbmeta "skip" files to get root without unlocking? As fingerprints and integrity is getting harder to pass, if you can still do this which there's references to it scattered throughout the internet and ROMs for the other devices, that would mean strong integrity as you're still bootloader locked... At first I was assuming some kind of temporary root by permissive boot spam script, but I did see references on the five s-pro and the 6s Pro to that vbmeta "skip," as they word it, and those do contain the AVB keys...
[Red Magic 8 pro] ce_francky:
hello, to recover the IMEI and the 4G and 5G mobile network, you simply have to restore in EDL 9008 mode with or without EDL V2 USB cable, the EDL CN 3.24 and 8RM12 CN roms, for unlocking the fingerprints and codes and the diagram, you have to in EDL, install the CN 3.36 ROM after the CN 3.24 ROM but with the Chinese Tools Lite software, removing the Chinese characters from the directory but I did not succeed in installing the CN 3.36 ROM, even with QFiL because too many *.EDL files like FireHose.efl... and whatever my requests here and on Telegram, no one gives the files UFS.img, FSG.img and modemst1 and modemst2 etc, Root required, launch the commands adb devices, adb shell and Su and then, props and reconfigure everything related to digital unlocking, I'm moving forward slowly without help because not much concrete, but I'm making progress.
[Red Magic 8 pro] ghettiguru:
Well, what I'm inquiring about is how they were able to achieve root access while keeping the bootloader locked on the other versions of this device, the 5g, 6s, and there's mention of even the seven and the eight... But even finding the TG groups and things seems to be kind of a pain... I know a certain site that's charging $30 just to download the ROM for the 6s that's able to be rooted however either booting and permissive mode and pushing magisk over with a busy box binary or something by the script for temporary root to permanent root, or vbmeta "skip" file of some sort seems to be used on the 5S... And apparently it allowed this to be flashed while locked... If anyone has any ideas here, or how to contact this Jerry I've heard referred to that is working on this device. Also, I'm having to install Windows which I've avoided for 2 years now, just because I don't trust any of the edl tools or programmers on Linux that are all terminal and command line, once I get it up and running and ready to flash, I don't see why I couldn't pull my images for you. If it would help, to have a North American variant of the img you need anyway. Would ufs not be the data partition? It's not going to pull it as 500 GB? ither way I'll factory reset to unlock, so I'm not bothered sharing a blank one.
[Red Magic 8 pro] ce_francky:
Cmd, adb devices, adb reboot fastboot or fastbootD, fastboot flash ini_boot_a magisk_flashed_ini_boot.img and again with fastboot flash ini_boot_b or EDL mode, you Can looking for here in forum... But you have software Trial for this, unlock 3 options, and if your smartphone reboot, it's good, validate texte screen volume - for yes and revalidate unlock agin, message orange 10 secondes for all people after reboots... Please, install AT coin UP right all drivers first.
[Red Magic 8 pro] ce_francky:
Hello, I managed to unlock the facial unlock, and the diagram, all I have left is the codes and fingerprints... setprops or props in Terminal or termux, no Root, no su
[Red Magic 8 pro] Yasin43828:
Firehorse ücretsiz programda çalışmıyor ve bu tüm sürümlerle uyumlu mu?
[Red Magic 8 pro] Domainxr:
I can't even have my computer detect the USB device... I have the same issue as another user here. When I go into recovery mode, it goes into FTM (FACTORY TEST MODE) and I can't proceed elsewhere... Any help from anyone?
[Red Magic 8 pro] C4RP3 N0CT3M:
Did you ever port TWRP?
[Red Magic 8 pro] ce_francky:
Good morning,

yes, I already managed to install TWRP on the Redmagic 8S Pro, but the screen was lit too brightly, so I uninstalled it from the Recovery.img image, however I installed TWRP for Xiaomi 13 (Fuxi)
[Red Magic 8 pro] tyracz:
i just got redmagic 9 pro.... any idea if any of these steps will work to unlock bootloader and root ?
[Red Magic 8 pro] ce_francky:
Magisk patched in Ini_boot_a.img and ini_boot_b.img
[Red Magic 8 pro] ce_francky:
Magisk patched inIni_boot_a.img and ini_boot_b.img

If you can extract the Rom, all the files one by one with QFIL or another image file extractor, especially the modemst1 and modemst2 files with, in EU or global version, it would be good to install it via a link downloadable via Google Drive or Mega or other, because OS 9 installs very well on the Redmagic 8 and 8S Pro, I am still waiting for mine which I ordered and which has still not been sent in order tracking despite reminders every day.

THANKS
[Red Magic 8 pro] aaa.bbb111222:
Same abl might work (but don't quote me on that. In worst case you'll have to flash back original and won't get root), firehose will probably not.
[Red Magic 8 pro] ce_francky:
No unlock, in EDL 9008 MODE, READ INI_BOOT_A OR B, SELECT FIL SAVE, RENEME IT end in IMG in user Windows repertory, firehose.elf IS FIREHOSE OF REDMAGIC 8 AND 8S, 8S Pro, copy file save in youre phone, instal magisk, patch file with magisk and reboot to EDL 9008 mode, volume+ and - and butom on/off, look in port com EDL 9008 ok, select Ufs and FIREHOSE.elf and read fils, Select ini_boot_a and After ini_boot_b for read to save Originals fils, and dump magisk_ patched_ini_boot.img in ini_boot_a and b in EDL 9008 mode, run youre phone, 15 AT 40 secondes on on/off with câble USB EDL mode V2.

For unlock, cmd, adb devices, adb reboot bootloader, fastboot devices,

Fastboot unlocking, fastboot unlocking_critical, and Select device screen phone unlock and again, After, relock bootloader, eraze with fastboot -w, fastboot reboot fastboot or fastboot reboot
[Red Magic 8 pro] tyracz:
I never did any of the EDL stuff so if there is step by stop instruction or someone would like to work with me to get all the info off my phone I can do that easily. Its a beast device and not allow people to have full access to it is mind boggling for me....but maybe together we can make it happen ! :) So please point me to some YT or step by step to get all the files and I will throw them for you on GDrive so you can have access to it.
[Red Magic 8 pro] ce_francky:
fastboot flashing unlock

fastboot flashing unlock_critical
[Red Magic 8 pro] tyracz:
You telling me that they switched commands only? From oem unlock to this new?
[Red Magic 8 pro] DarkestSpawn:
I keep seeing reports of both sides saying it can and cant. Yet no one can confirm it, nor has anyone taken a video confirming the device and booting with bootloader unlocked warning.
[Red Magic 8 pro] tyracz:
well, i will be home 9:30 PM EST time, i will jump on this right away and let you know what i got :)
[Red Magic 8 pro] tyracz:
well, just called english tech support and i was informed that red magic 9 pro is rootable but you need savy tech to do it. they said also bootlader can be unlocked but they cannot give me information....well...i dont know if this guys was blowing smoke up my butt to not return device or what...but for sure I will try do comamnds today.
[Red Magic 8 pro] ce_francky:
Yes,

For dm-verity

Adb reboot bootloader

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta(_a).img

fastboot --disable-verity --disable-verification flash vbmeta_b vbmeta(_b).img

fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img

And extract Rom in fastboot mode.

With Fastboot Enhance, run cmd, adb commande adb reboot bootloader or adb reboot fastboot, Select in Fastboot Enhance in Windows 11, double clic on number your Redmagic 9 pro, Select all files .IMG and extract all, zip files for Google Drive link, thanks, juste last, run options developer, activate débogage USB and configuration défaut USB (files transfert) and memorise acces phones with câble USB device on message on youre screen phone.
[Red Magic 8 pro] ce_francky:
I gave all the commands and the extraction software as well as the ini_boot.img OS9 file and patched with different versions of Magisk, at the end of the procedure, fastboot flashing Lock so as not to lose the security of fingerprint unlocking digitals and I even provided a patch.zip that you will modify for OS9, OS 8 Pro, OS9, OS 9 Pro for Magisk.

I have had the OS9 Rom version 9.04, 9.0.12 and 9.0.16 from December 2023 for months, on my Redmagic 8S Pro and I install them in EDL with Magisk and using software, I activate the region in the language and country that I want without modifying anything in the Rom, I delete all the Chinese software, I install Google, the Google keyboard, Google play store and everything that goes with it in order to have a global Rom
[Red Magic 8 pro] ce_francky:
you will be able to share all the IMG files with the signatures included in a directory named OS9 EU or global depending on what you received as a Rom and zip the directory and share it with franckyc73@gmail.com and I will provide you with the EDL 9008 zip with the firehose.elf and DDR and raw files 0 to 5 and XML options 0 to 5, for those who want the EDL 9008 Rom, I also have everything you need for those who have lost the mobile network and the IMEI, just that I'm on my Redmagic 8S Pro and not on my PC currently.
[Red Magic 8 pro] tyracz:
I never did EDL or firehose.elf and other stuff.

So right now I got software version REDMAGICOS9.0.9_NX769J_GB

I do have updated available of software, do you want me to give you software dump before update or after?
[Red Magic 8 pro] ce_francky:
No update today, update after extract all images, it's NEEA Globale, it's very good for all people
[Red Magic 8 pro] tyracz:
Well here you go guys..
[Red Magic 8 pro] tyracz:
I boot into bootloader, pick phone and I see all images but I can't copy or anything.
[Red Magic 8 pro] tyracz:
cant unlock bootloader with any of the common commands in ADB