yashsingh1/xdaforums huggingface dataset:
[Redmi 9 / Poco M2 Guides, News, & Discussion] Roberto_83:
Usually you download TGZ.

Unzip TGZ to TAR

Unzip TAR to DIRECTORY

Now with SP_FLASH_TOOL select the scatter into:

DIRECTORY/IMAGES/MT6768_Android_scatter.txt

Automatically SP_FLASH_TOOL select all the file
[Redmi 9 / Poco M2 Guides, News, & Discussion] blazesprings:
Hello @Roberto_83 I am not seeing any progress in the progress bar.

1. I have loaded the scatter file to the SP Flash Tool. preloaded, recovery, vbmeta.... all are getting selected.

2. Pressed the Download button.

3. Connected the phone in switch off mode.

Am i doing anything wrong or have I skipped anything? Here's the screenshot. Please help.

Can you please give a short tutorial how to flash using SP Flash Tool?

Thanks.
[Redmi 9 / Poco M2 Guides, News, & Discussion] Roberto_83:
Hi,

I send you a private message conversation.

Please reply me

Bye
[Redmi 9 / Poco M2 Guides, News, & Discussion] blazesprings:
Hello @VD171 Brother, in the SP Flash Tool which partitions should I select? Here's my screenshot Please help.
[Redmi 9 / Poco M2 Guides, News, & Discussion] Roberto_83:
Thanks,

*I connected with USB Debug.

*I send "adb device" and I see phone

*I send "adb reboot fastbpot" and phone restart

*I send "fastboot flash vbmeta vbmeta.img" and I see transfer information, but after few second I see transfer completed and from PC black screen I see errore transfer.

Maybe I have to unlock bootloader?

You told me I can flash vbmeta also without unlock bootloader but maybe I dont understand.

For other people, the only ufficial ROM that let me to restored also NFC with also split screen is 12.0.1.0 QJCMIXM
[Redmi 9 / Poco M2 Guides, News, & Discussion] Theking58900:
If you have locked bootloader, you can flash vbmeta and boot from sp flash tool
[Redmi 9 / Poco M2 Guides, News, & Discussion] Roberto_83:
If I use SP FL TOOL to flash vbmeta and boot (after write IMEI 2), as I had already tried, I reboot and system show SYSTEM DESTROYED.

I tried to do immediately after wrote IMEI2 (without reboot).

And also I tried to do after boot system, register Google account, waiting for app upgrade, than power off and connect with SP FL TOOL.

But in both cases, always returned SYSTEM DESTROYED.

So the only way is to unlock bootloader I think.
[Redmi 9 / Poco M2 Guides, News, & Discussion] Theking58900:
Try to refollow carefully this guide
[Redmi 9 / Poco M2 Guides, News, & Discussion] yas8say:
Hello ,

Is this temporary or permanent fix?

Like if I update the rom will it be back to square one?
[Redmi 9 / Poco M2 Guides, News, & Discussion] Theking58900:
Sadly it's temporary because if you do an upgrade to next version of Android, your device will brick; but If you upgrade to next MIUI, your device should work because MIUI 13 and 14 will have same android version on this device. I can't fix that brick issue
[Redmi 9 / Poco M2 Guides, News, & Discussion] Theking58900:
If you want updates, you have to install a custom rom
[Redmi 9 / Poco M2 Guides, News, & Discussion] Roberto_83:
Hi KING

I follow your guide carefully and i reach point number 6.

I'd like to add point number 7, so to get also IMEI 1.

I don't have any issue to follow your guide from 1 to 6 ( I can format and flash all the time I want and starting with all ROM I want ( I downloaded all ROM) I reach always 6.

I am also able to flash 11.0.9.0 and than upgrade with OTA till 12.5

Now I understand that for point 7 I have necessary to unlock bootloader.

There aren't any other way.

I have a issue in this way:

I connect MI Account into the options

I open development option

I enable OEM unlock and Debug USB

When I check MI Account Status I receive an error message, for example "try later" or "you have no connection" or "request parameter error"

If I try at the same to unlock bootloader with my PC, fastboot mode, connect cable, I reach 99% and than I receive an error because MI Account Status is not connected.

I try to create also another account and try but nothing.

Do you know any tricks?

THX
[Redmi 9 / Poco M2 Guides, News, & Discussion] Theking58900:
You get mi account error without SIM card
[Redmi 9 / Poco M2 Guides, News, & Discussion] Roberto_83:
I installed SIM into slot number 2 after wrote IMEI with modem meta.

I got 3G and 4G connection, I can make phone conversation or using telegram/whatsapp/SMS messaging. So my network works.

I could use my phone also with only one SIM, but I'd like to restore completly
[Redmi 9 / Poco M2 Guides, News, & Discussion] Theking58900:
You can restore also IMEI 1
[Redmi 9 / Poco M2 Guides, News, & Discussion] Theking58900:
Flash my boot and vbmeta files and try to write IMEI 1
[Redmi 9 / Poco M2 Guides, News, & Discussion] Roberto_83:
Now, with only IMEI 2 restored and bootloader locked, I think I can't flash your file with ADB Command, but if you tell me that I can do it, I'll try.

The only solution that I know is to flash using SP Flash Tool.

I tryed with spflashtool but after flash, when I power-on the phone I receive a SYSTEM DESTROYED message and phone swap into fastboot.
[Redmi 9 / Poco M2 Guides, News, & Discussion] Theking58900:
Sadly the unique method is to flash both files from fastboot, there aren't any other way.
[Redmi 9 / Poco M2 Guides, News, & Discussion] Roberto_83:
Hello, IDIOT-BOY come back :)

Please I ask another time your help.

I delete my MI ACCOUNT before logout by my phone.

Now the phone is locked in black screen asking me a password of an account deleted.

I tried to reflash (sp_flash_tool with format+download) a stock ROM but nothing to do.

I am able to reboot with new installed rom, but if I connect to WIFI or SIM-CARD, after few seconds it returns in black screen.

Only ENG ROM work with WIFI or SIM without black screen.

Is there any solution to delete this check??

Thanks to all
[Redmi 9 / Poco M2 Guides, News, & Discussion] Theking58900:
Try to recreate mi account and in the device login on that account
[Redmi 9 / Poco M2 Guides, News, & Discussion] Roberto_83:
I tried to create another account with the same email and sim number, but the MI CLOUD give me another client serial number.

Instead my mi phone is locked with the first serial number.

I tried also to reboot without IMEI, thinking the issue was IMEI recognize but it didn't work.

Probably it is a internal serial number motherboard
[Redmi 9 / Poco M2 Guides, News, & Discussion] Theking58900:
Try this https://www.androidjungles.com/download-mi-account-unlock-tool/
[Redmi 9 / Poco M2 Guides, News, & Discussion] Roberto_83:
Dear King,

thanks for your reply.

The issue is: my device serial number is logged to a MI account deleted.

So when I connect my phone to internet (wifi or sim) a routine into the ROM immediately connect to XIAOMI server and check my device S/N and lock my phone.

I read other thread where people say I need a MIUI 7 (impossible for redmi 9) where you can login into new MI account before routine lock the phone.

I think I need a custom ROM (custom ROM don't check S/N into xiaomi server I think) or I need a firewall app to control all internet access and lock the app who want to control my account.

Could you suggest me a custom ROM that I can install on my device using SP_FLASH_TOOL without bootloader unlocked?

I sent email to xiaomi center, and they suggest me to send my phone to xiaomi repair center where they unlock my phone and install new stock ROM. 30€ the price.

Any idea??
[Redmi 9 / Poco M2 Guides, News, & Discussion] Theking58900:
If you don't want to pay, you can install custom rom but you must unlock bootloader
[Redmi 9 / Poco M2 Guides, News, & Discussion] Roberto_83:
Thanks KING
[Redmi 9 / Poco M2 Guides, News, & Discussion] eric0584:
Hi and good day. i know this old post but i just really need your help.. i just want to repair the IMEI for slot2 and i followed your instructions. .btw i flash the eng rom via fastboot but what happen is that my Global rom v11 just got replaced am i doing it right? restart the phone and tried using modem meta but got stuck in getting kernel and not connected.

Update: Successfully add my IMEI but how to go back to my Global Rom? should i flash it again?

Update: Ok another update.. got my Global rom back and imei on Slot 2 yet i only abla to use the SMS only but the calling is not working.. any fix on this?
[Redmi 9 / Poco M2 Guides, News, & Discussion] Roberto_83:
Hi,

follow this steps by THEKING:

1) Format & flash MIUI (MIUI 13 should work but also 12.5);

2) after flash, deselect ALL partitions except md1img;

3) in md1img, select attached IMG file in my previous post and flash it (remember to tick ONLY md1img);

4) format nvdata & nvram;

5)Power off phone, open modem meta (click connect button) and mtkmeta utility, press and hold vol- and connect it to pc; modem meta should have to recognize phone automatically;

6) write only IMEI 2 and reboot (if you write both IMEI, you'll get NV data is corrupted and phone won't boot);

7) the SIM should work (remember to put it in slot 2);

You can find original post and usefull files on page number 8
[Redmi 9 / Poco M2 Guides, News, & Discussion] baratynsky:
Hello everyone, I've been reading for a long time and some are still restoring the second imei slot, just recently I was able to win and restore 1 and 2 IMEI on both slots. This is just my instruction according to which I succeeded. The author does not bear any responsibility for your actions, you do everything at your own risk.

I am a Russian person myself. Used a translator.

The version of my program that I used for the instructions

SP Flash Tool V5.2152.00

Maui META ver 10.1816.0.01

mtk_bypass_rav4

miflash_unlocker-5.5.0224.55

To get started, pull out the SIM card tray at all, well, let's get started!

1. Download the engineering firmware

1.1. Download the desired scatter (removes the exaid error), replace the scatter in the engineering firmware

1.2. Connect the smart to the bypass and flash through SPFT in Download Only mode

1.3. An error may come out that you need to flash in Format All + Download format, do not pay attention, select the Format tab in SPFL, reconnect the smart via bypass and click on start, after the procedure done, go back to point 1.2

1.4. After successful download, start the system and look at the * #06# (must be empty of course)

1.5. Go to the Wi-Fi settings and see if you have an NVRAM Warning error err 0x10

If you don't have this error, skip the point

If there is , then we dial the combination *#*#3646633#*#*, go to the Connectivity tab, click CDS Information, then Wi-Fi Information and in the bottom menu click on UPDATE MAC - restart the smart and check the disappearance of the error in the Wi-Fi settings

2. Let's start implementing IMEI

Launch MAUI META 10 and click the Connect button before connecting the device

Connect the turned-off device to the PC - you will see the stages of its connection

When the connection is completed, you will see the Connected status

After that, it is necessary to load the DB (template) for the correct reading of the NVRAM structure. Click the Load DB button

The program will ask you where to count the DB from - from the device (From target)

, Then I climbed into the IMEI Download, registered my IMEI in the 1st and 2nd line, clicked on Write (pressed 2 times just in case), then checked that the IMEI was registered by clicking on Read

3. Next, you need to make an IMEI backup using SPFL

4. Next, I downloaded the global firmware version 12.0.1, also with the replacement of the scatter, so that there would be no error, in the ReadBack tab, leave the check marks that were made from the backup, then I flashed in the Firmware Upgrade format

4.1. After starting the system, we check the IMEI and in the Wi-Fi settings, the NVRAM Warning err 0x10 error disappears

5. And the final stage. Unlocking the bootloader using miflash-unlock
[Redmi 9 / Poco M2 Guides, News, & Discussion] Roberto_83:
Hi,

I'd like to try your guide but now I have another issue.

I deleted my account before logout and now when I try to load a ROM using spflashtool, if I connect my smartphone to wifi o simcard, a blackscreen with locked imago appear. I can pass the initial registration but always without wifi and simcard.

Do you have any idea to resolve my issue?

Pratically the XIAOMI application installed into ROM check with server a code of my motherboard because also without IMEI the phone fall into lockmode.

Thanks Roberto
[Redmi 9 / Poco M2 Guides, News, & Discussion] Theking58900:
I successfully wrote imei, but i don't know how to make a imei backup since i'm not experienced in it.
[Redmi 9 / Poco M2 Guides, News, & Discussion] Theking58900:
I resolved the issue, bit i habe another problem:

I can't use custom roms because It gets bootloop; i'm only able to use stock MIUI.

I was thinking that there Is the issue because there could be a corrupted partitino or something similari.
[Redmi 9 / Poco M2 Guides, News, & Discussion] Theking58900:
Update: i was able to install custom rom!
[Redmi 9 / Poco M2 Guides, News, & Discussion] rehan mariya:
file password please
[Redmi 9 / Poco M2 Guides, News, & Discussion] VD171:
Password: "VD171" (without quotes)
[Redmi 9 / Poco M2 Guides, News, & Discussion] talk2g:
Are there any review/showcase for this rom. Wanted to see how it is for curiosity sake.
[Redmi 9 / Poco M2 Guides, News, & Discussion] bikesh'1:
We in trouble we no going in md mode poco m5 indian variant please help
[Redmi 9 / Poco M2 Guides, News, & Discussion] drVAxda:
Здравствуйте. Проблема. После перепрошивки redmi 9 3/32 с андроид 11 на прошивку "MIUI 11.0.9 A10 Global" телефон стал с wifi: NVRAM WARNING: ERR 0x10. Но главное, появилась новая сеть в wifi: NVRAM WARNING: ERR 0x10. Все остальное пока работает. Но при включении wifi висит новая сеть: NVRAM WARNING: ERR 0x10.

Как можно устранить "NVRAM WARNING: ERR 0x10" ?

Два года назад на телефоне слетели IMEI. На сервисе восстановили с перепрошивкой на андроид 11 глобал. И телефон почему-то стал после сервиса модель - M2004J19C. До сервиса был - андроид 10 и M2004J19G !

---------------------------------google translation------------------------------------

Hello. Problem. After flashing Redmi 9 3/32 from android 11 to the firmware "Miui 11.0.9 A10 Global" The phone became with WiFi: NVRAM WARNING: ERR 0x10. But most importantly, a new network appeared in WiFi: NVRAM Warning: ERR 0x10. Everything else is still working. But when the WiFi is turned on, a new network hangs: NVRAM Warning: ERR 0x10.

How can I eliminate "NVRAM Warning: ERR 0x10"?

Two years ago, IMEI flew on the phone. The service was restored with a flashing to Android 11 Global. And for some reason the phone became the model after the service - M2004J19C. Before the service was - android 10 and M2004J19G!
[Redmi 9 / Poco M2 Guides, News, & Discussion] VD171:
If you had NVRAM, why did you erase it ??
[Redmi 9 / Poco M2 Guides, News, & Discussion] akbarshoxdedamirzayev:
How i can create nv ram file ?

If repair slot 2 imei phone working

But 3g network not working only 4g 2g

Then im checked my nv ram file

Nv ram is empty

i think it doesn't work because of this
[Redmi 9 / Poco M2 Guides, News, & Discussion] VD171:
You can't.

If you lost your nvram, you will never be able to recover it.

Only Xiaomi Centre can recover nvram.
[Redmi 9 / Poco M2 Guides, News, & Discussion] akbarshoxdedamirzayev:
Thanks for replaying

Im tryed edit another nv ram with hex

But no possible (
[Redmi 9 / Poco M2 Guides, News, & Discussion] VD171:
No, you can't.

I'm sorry, my friend.

If you discover anything, please tell me too.
[Redmi 9 / Poco M2 Guides, News, & Discussion] dmtec:
password doesn't work. i don't understand why it's necessary to encrypt a zip like this when it's the only circulating image to my knowledge. not good for anyone in the future trying to find an engineering rom with potentially no password. going to look for a download elsewhere (hopefully)
[Redmi 9 / Poco M2 Guides, News, & Discussion] dmtec:
nevermind, to anyone who actually downloads this, as it seems i'm either the first one or i follow instructions pretty precisely because the password to the zip is in the file "PASSWORD_BY_VD171" attached in the first post
[Redmi 9 / Poco M2 Guides, News, & Discussion] VD171:
The password is attached on the thread.

Enjoy
[Redmi 9 / Poco M2 Guides, News, & Discussion] dmtec:
wow a moderator actually edited my post and didn't even leave what i said behind?

the password IS NOT "PASSWORD_BY_VD171" it is "VD171" -- moderator did you even download it for yourself to make sure i wasn't giving false info?? the password is indeed what i said. that's kinda screwy, because you could have at least strikethroughed what i said and "corrected" it underneath lol. whatever
[Redmi 9 / Poco M2 Guides, News, & Discussion] VD171:
You don't need to speak difficult words, my friend.

As I said, the password is attached on the thread.

I will not bother this time, this will only force that other users read the replies of the thread.

Enjoy :cowboy:
[Redmi 9 / Poco M2 Guides, News, & Discussion] yurais:
any chance you could also link in your first post, a link to the Stock Global latest firmware? just to keep all the needed stuff in a single thread... for the lazys ;)
[Redmi 9 / Poco M2 Guides, News, & Discussion] VD171:
Here, you can find latest releases: https://xiaomifirmwareupdater.com/miui/merlin/

Here, you can find archive of releases: https://xiaomifirmwareupdater.com/archive/miui/merlin/
[Redmi 9 / Poco M2 Guides, News, & Discussion] hckbkl:
i managed to make 2 imei redmi 9.

1. unlock bootloader, flash rom eng!!! or assembled rom.

2. After completing write IMEI using Maumeta version 10.

3. install twrp and backup nvram and nvdata on rom eng!!!, copy the twrp backup results to the computer.

4. flash format & download global rom, then unlock bootloader again, turn on the phone until the start menu, then turn off the phone and install twrp, then put the backup results into twrp and restore, then install the kernel from strombreaker v1.0, when finished immediately reboot the system.

goodluck, it worked 1000%
[Redmi 9 / Poco M2 Guides, News, & Discussion] buczek0711:
Hi there.

I've got few questions to op regarding this rom.

I'm currently in situation when I at some point overwritten/deleted imei , mac adres and not sure about anything else. I've got original stickers with imei, however phone, no matter if it is on miui (11 or 12) or custom (yes, it is rooted, custom recovery works, backups works, so far only waveos is the rom I've managed to run with no errors here, but it is something) imei shows nothing besides serial number of phone (no imei name when typing *#06#, unknown imei in "about phone"). Phone works normally, however, there are err nvram 0x10, that I cannot fix (despite putting WIFI file with corrected mac adres in hex, just as google says) and there are no mobile data (provider do not matter, as well as resetting the settings for mobile).

I would love to read it back (if it is possible) or rewritten it with given numbers. So far, my tries with hydra, maui and other programs went to nothing, mostly because being unable to successfully connect with phone in metamode (however, it worked back in the days when I was writing on it miui 12 using SP flashtool, old fashioned way, with unplugged battery). Hydra mtk was unable to open itself (not sure why, 'cuz no errors were given in log).

My last thought was about trying to extract proper paritions from internal storage, download it onto pc, open in hex editior and manually change all empty places or zeros to proper digits/hex values. I've got older redmi tulip with the same sized partitions and I though that I could use it as matrix to compare (not to copy 1:1, to compare) data between two of these. However, it looks like this rom is faster and safier way to do so.

Anyway - is it being installed just like normal fastboot/recovery rom?

How I can ensure myself that this time maui will work? Could it be too new os? (most likely no, since I don't care about security updates xD) I've installed all drivers that programs wanted me to, but that still gave no possitive effect. Neither "programming options", which I had turned on finally yesterday (totally forgotten about that in all that mess).

Can I edit manually old/new/any partitions offline (on pc) and then send them to phone with proper rights, while phone is in recovery mode?

What is the actual procedure of writing imei, if this phone is imei 1 and imei 2? Which comes first?

Sorry, if these questions sounds noobish, I've just reached point, where I've tried so many different stuff and read about so many different solutions, that I don't know anymore what works, and what does not (any why).
[Redmi 9 / Poco M2 Guides, News, & Discussion] hckbkl:
Wassalammualaikum warhohmatullahi wabarhokatu.

if you experience flash failure with flashtool, use a pc application called bypass brom.

in "DA" and "AUTH" require file bypass.

some flashtool there are some that work version.

i suggest only imei 2 written for sim 2 communication convenience.

I tried to write 2 IMEI, it turned out to be experiencing interference from the Xiaomi turning off the network connection.

I have not tried the install file via file recovery instead of fastboot.

because I see there is a big opportunity in it to change the whole software structure.
[Redmi 9 / Poco M2 Guides, News, & Discussion] toryang:
Does anyone knows the compatible stock rom of this. I already fix my imei but to get to reflash stock rom without format all+download(PMT ERROR). I need the compatible stock rom of this. I cant successfully install twrp in eng rom it causes the system destroy
[Redmi 9 / Poco M2 Guides, News, & Discussion] toryang:
Where did you get the stormbreaker kernel. Im searching for it for a day now.
[Redmi 9 / Poco M2 Guides, News, & Discussion] hckbkl:
you have to unlock the bootloader. after that install vbmeta.img and recovery.img via adb. after that you can go into recovery. i found one more way to write 2 imei easily but the phone should be able to unlockbootloader.
[Redmi 9 / Poco M2 Guides, News, & Discussion] hckbkl:
this
[Redmi 9 / Poco M2 Guides, News, & Discussion] hckbkl:
ALHAMDULILLAH MAGRIB 24/06/2021 I got a solution and my cellphone works normally again without having an additional kernel in it. trial with backup files from twrp & backups from mauimeta "updateparameter" from redmi 9 has a brother.

the process:

1. just write imei 2 then backup ditwrp all except super files

2. I use kernel to write imei 1&2 then

3. after the imei is written and I reboot the cellphone into twrp and restore the backup results as a whole

4. when finished, open Mauimeta immediately, unplug it and immediately plug in the usb so it's easy to read Mauimeta, run the process until it opens read IMEI (if only IMEI 2 is listed click write without filling IMEI 1)

5. Open in Mauimeta update parameters, click the normal redmi cellphone backup file option, then click download to flash.

6. reboot see the results, the original kernel from xiaomi and can update software normally.

1000% success Thank God this is finished for the IMEI stage Later, I will search for the system
[Redmi 9 / Poco M2 Guides, News, & Discussion] hckbkl:
sorry for the lack of explanation. don't check imei when restore
[Redmi 9 / Poco M2 Guides, News, & Discussion] buczek0711:
Man, saving imei 1 and 2 at the same time did not caused phone to brick?
[Redmi 9 / Poco M2 Guides, News, & Discussion] hckbkl:
no boss. 1. backup only says imei 2 (kernel is still original)

2. write imei 1 and 2 followed by install kernel strombreaker v1.0

3. restore backup
[Redmi 9 / Poco M2 Guides, News, & Discussion] hckbkl:
work 100%
[Redmi 9 / Poco M2 Guides, News, & Discussion] buczek0711:
I would like to use that rom as daily. How can I extend system partition to make it bigger? I do not have option in twrp to wipe system partition and then resize it.
[Redmi 9 / Poco M2 Guides, News, & Discussion] buczek0711:
I've tried like you said, imei 1 cannot be written still, kernel bugs and won't allow me to run miui12 normally (had to reinstall all again).