[Redmi 9 / Poco M2 Guides, News, & Discussion] NoobieScripter:
A hard brick is where your phone starts to bootloop but you cannot enter recovery nor fastboot. A hard brick is caused where you flashed a incompatible ROM/Recovery/Firmware,etc. If you ever hard bricked your phone then this thread can unbrick your phone. Any OS is supported. Linux, Mac and Windows. Now to get started, install this softwares:

SP Flash Tool

Python 3

Virtual Box (MacOS)

You also need knowledge in bash, python (I am not responsible if the steps did more damage than you hard bricking your device)

For users who's doing this guide in MacOS. Make a Windows 10 Virtual machine then download SP Flash tool in it. Download MTK Driver here in the Virtual Machine then run it.

And maybe sure to drain your phone's battery first before doing something.

After installing, download this link below (Code > Download ZIP):

Bypass (Bypasses MediaTek's Security inorder to flash)

Payloads (So that the bypass can work)

Download Stock ROM here then extract it. (For MacOS users, download it in the Virtual Machine.)

(Credits to the owners who made this scripts)

After downloading, unzip the 2 files and in the exploits_collection folder (Payloads), copy the two files and folder named "default_config.json5" and "payloads" then put it to the bypass_utility folder (Bypass). Once done, open terminal and type following:

pip install pyusb json5

Also for MacOS users, dont run it in the Virtual Machine you made or else it wont be recognized.

Run the script and just like i said you must drain the battery first or else it will error in SP Flash Tool. After running you will see a message that says "Waiting for device". Hold Volume Down then plug your phone (Volume Up or Volume Down+Up if not recognized) then you should see a message that says "Protection Disabled". DO NOT UNPLUG IT OR TOUCH IT

python main.py

If ur running in MacOS > Launch the Windows 10 Virtual Machine, open SP Flash Tool.

If ur running in Linux, Windows > Open SP Flash Tool

Open SP Flash Tool then go to Options in top left, go to Connection, press UART. If your phone is connected and bypassed, you should see a option in the selection COM. Then go back. Press Select in "Scatter Loading File", locate to the Stock ROM you downloaded then go to images. You should see a file named "Scatter" in the end of it then select it. The Flash Tool will read it then you can press download. It if succeed, you will see a checkmark window popped. Then reboot the phone. If you dont like the Stock ROM, fastboot is back again and you can flash anything you'd like. Any problem? Check out FAQ below

FAQ

1. When flashing, an error popped up saying STATUS_RAM_EXEPTION

You din't drained the phone's battery. If you did not, you have to wait a couple days. You can check if its drained by holding the power button.

2.I cannot detect my phone while bypassing.

Close VirtualBox or any softwares that is catching any USB devices.

3.Cannot find device in VirtualBox

Download the extension pack after downloading then go to VirtualBox, press ur Windows 10 Virtual Machine, press Settings in the top, go to Ports then USB then choose "USB 3.0". Press OK

4.I cannot find my question here

Comment down below.

Sorry for the wrong grammar i placed in this thread.