[OFFICIAL] INDONESIA ROM ON A GLOBAL VARIANT/ FLASH CUSTOM PORT/ROM ON A REDMI NOTE 9 GLOBAL VARIANT - Redmi Note 9 Guides, News, & Discussion

WARNING: We are not responsible to any damage you might have done to your device. Always follow the instructions CAREFULLY.
This thread is about flashing custom roms properly on your Redmi Note 9, specifically Redmi 10x 4g (Merlin). Make sure you've backup everything (Files, Apps etc) since it includes wiping your entire internal storage.
PRE-REQUISITE:
1. MIFLASH TOOL:
Download Xiaomi Flash Tool - Official Xiaomi Mi Flash Tool Download
Download Xiaomi Flash tool is for Xiaomi smartphone and tablet device users that runs on Windows PC platforms to flash fastboot firmware files on Xiaomi smartphones. All versions of Xiaomi Mi Flash Tool download is available here
xiaomiflash.com
2. XIAOMI UNSIGNED DRIVERS (HIGHLY RECOMMENDED):
xiaomi_usb_driver.rar
drive.google.com
Check this site first for more info about it:​
https://c.mi.com/thread-3312019-1-0.html
​3. SP FLASH TOOL (FOR BACKING UP THE IMEI):
SP Flash Tool for Windows (all versions)
SP Flash Tool for Windows enables users to flash Stock Firmware (ROMs), unbrick bricked devices, upgrade or downgrade their operating system, and perform advanced tasks like memory testing and parameter editing.
spflashtools.com
For a clear instructions on backing up the IMEI:​
​4. ADB and Fastboot drivers:
[OFFICIAL][TOOL][WINDOWS] ADB, Fastboot and Drivers - 15 seconds ADB Installer v1.4.3
15 seconds ADB Installer v1.4.3 ADB, Fastboot and Drivers What is this? This is All-in-One installer for 3 most needed PC tools for Android. No need to download big SDK for 3 small things. I originaly made it for my Kurdish friend AnGrY DuDe in...
forum.xda-developers.com
5. MTK Drivers (Recommended)
MTK_driver
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
6. Xiaomi Fastboot Rom (Indonesia version)
NOTE: Choose wisely since it requires one of the given fastboot roms to be installed for a specific reason:
a. Xiaomi Redmi note 9 Indonesia (ID) Fastboot ROM MIUI V12.0.1.0.QJOIDXM (Required for installing Custom Roms such as Pixel Experience, LIneageOS etc)​
Download Redmi 10X 4G / Note 9 (merlin) V12.0.1.0.QJOIDXM MIUI 12 Stable Full Rom | XiaomiROM.com
The Stable update V12.0.1.0.QJOIDXM has been officially released for Redmi 10X 4G / Note 9 (codename is merlin). Before updating, please make sure you …
xiaomirom.com
​b. Xiaomi Redmi note 9 Indonesia (ID) Fastboot ROM MIUI V11.0.2.0.QJOIDXM (For installing ports by Communos such as ShapeshiftOS, Bliss etc.)​
Download Redmi 10X 4G / Note 9 (merlin) V11.0.2.0.QJOIDXM MIUI 11 Stable Full Rom | XiaomiROM.com
The Stable update V11.0.2.0.QJOIDXM has been officially released for Redmi 10X 4G / Note 9 (codename is merlin). Before updating, please make sure you …
xiaomirom.com
​INSTRUCTIONS:
Flash Indonesian fastboot rom on a Global Variant via ADB and Miflash
Turn off phone and reboot to fastboot. Connect the said device to PC.
In PC, run cmd-here.exe in the adb directory and enter:
fastboot reboot fastboot
//.(this will take you to fastbootD where you can access the "super" partition consisting of:
system.img
vendor.img
product.img ).//
fastboot erase system
fastboot erase vendor
fastboot reboot bootloader to enter bootloader
Make sure you backup the IMEI to ensure safety before flashing via SP Tools.
Download an Indonesian fastboot rom from source then flash it to phone via MIFlash. (Recommend: 12.0.1 or lower)
After flashing, reboot the device and viola, you've got an Indonesian version of the MIUI to your Global Variant Device.
Flashing TWRP on a Redmi Note 9
Download the said recovery from this link below
"https://drive.google.com/uc?id=1TPdi1UGf_kUxFOdTl3u8xY5h-aQUDz9h&export=download"
Reboot device to bootloader and connect to PC.
In PC, run adb and type
"fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img" (vbmeta from the indonesian fastboot rom, NOT from the Global fastboot rom)
"fastboot flash recovery recovery.img"
"fastboot reboot recovery"
After that, the recovery should be working.
FLASHING CUSTOM ROM (for 12.0.1.0) OR PORT (11.0.2.0)
Flashing a Custom Port.
Download a Custom Port from a telegram or the links provided below (made by Communos)
Bliss port
https://drive.google.com/uc?id=1wLAJkQvqS0A8EtNbOpGUdmo4oO0XZnl3&export=download
Lineage port
https://tdrive.elytra8.workers.dev/LineageOS%2017.1%20Port%20Merlin.zip
crDroid Port
Google Drive - Quota exceeded
drive.google.com
ShapeshiftOS port
https://drive.google.com/uc?id=1zQNHf67S8UQfgQT5qE0jtVIN2pDzjZnw&export=download
Then, connect phone to PC and copy your preferred rom to SDCard (Memory card is recommended).
Reboot your phone to recovery.
In TWRP, you have to wipe data, dalvik, cache and internal storage.
Select install and choose the rom from SDcard. Then, flash it.
Reboot your device.
Viola, you just installed a custom port or rom to your device.
Note: I will add more detail in the future but right now, if you have questions, please ask in this thread.
Special Thanks to:
@Communos
@VD171

You forgot fastboot reboot fastboot before fastboot erase system, it's an important step.
And before flashing the Port, you have to wipe data, dalvik, cache and internal in TWRP.
Would appreciate if credits are added in the guide.

[Q&A] [ Updated on 02-16-2021]​
Q. My UI lags after I flashed these ports, what should I do?
A.
From Communos,
...
If your UI lags, place props_conf in internal storage,flash MagiskHide Props config module in magisk manager and reboot
Props conf link: https://drive.google.com/file/d/1g8B2DIsz-l7oDBYpUdi3dXUsEPU35H9s/view?usp=sharing
....
Click to expand...
Click to collapse
Q. Why do I need to flash these ports/ roms?
A.
From what I have seen, MIUI is very meticulous in secretly invading someone's privacy. This was said by @phhusson and @erfan that GSI Ports are more secure than MIUI.
Proof (Picture not mine, from twitter took by Communos)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

c.whoopee said:
Sorry about that. I fell asleep right before I put the credits and other details. my bad
Click to expand...
Click to collapse
The guide looks great now

Communos said:
The guide looks great now
Click to expand...
Click to collapse
Thanks, man... So anything that I would add?

c.whoopee said:
Thanks, man... So anything that I would add?
Click to expand...
Click to collapse
You can add the UI lag fix mentioned in the end of this post
Building Rom from Source for Redmi Note 9/10X Merlin
Hello guys, I was planning to build a rom from source so that we can start integrating different custom roms for our devices. I have a rig with good specs and a good internet connection too. What roms do you suggest to build? I was kinda...
forum.xda-developers.com

I booted into fastbootd then erased System , Vendor & Product then I booted to bootloader & flashed the Indonesia ROM Using Fastboot Then when I Reboot It stuck Into Bootlogo & Keeps Rebooting..
Note : I'm Still able to boot to Fastboot & Recovery
Help Pls..

Rhythm113 said:
I booted into fastbootd then erased System , Vendor & Product then I booted to bootloader & flashed the Indonesia ROM Using Fastboot Then when I Reboot It stuck Into Bootlogo & Keeps Rebooting..
Note : I'm Still able to boot to Fastboot & Recovery
Help Pls..
Click to expand...
Click to collapse
did you fixed it?

Jhon_Locke said:
did you fixed it?
Click to expand...
Click to collapse
Yes I switched to global again..

Hello, when doing inside fastboot
fastboot reboot fastboot
it reboots to TWRP instead.
What can be the cause?

0xSteeW said:
Hello, when doing inside fastboot
fastboot reboot fastboot
it reboots to TWRP instead.
What can be the cause?
Click to expand...
Click to collapse
I'm not sure, but I think you can't reboot to fastboot inside the fastboot.
Try
fastboot reboot bootloader

Nevermind, seems that TWRP implements user space fastboot (basically TWRP works as fastbootd when connected to the PC.
This can be verified with:
fastboot getvar is-userspace

0xSteeW said:
Nevermind, seems that TWRP implements user space fastboot (basically TWRP works as fastbootd when connected to the PC.
This can be verified with:
fastboot getvar is-userspace
Click to expand...
Click to collapse
TWRP, PBRP and other recovery projects are so essential than Magisk

Has anyone tried this method and got it working successfully? I want to know before going ahead.

yes,it is working perfectly

c.whoopee said:
Flashing TWRP on a Redmi Note 9
Download the said recovery from this link below
"https://drive.google.com/uc?id=1TPdi1UGf_kUxFOdTl3u8xY5h-aQUDz9h&export=download"
Click to expand...
Click to collapse
the link does not work

I second that: Link does not work; I tried TWRP for V11.0.4.0.QJOCNXM which is then stuck on bootscreen.
EDIT: Download working again and I just installed Lineage 18.1. Love you, guys!!

Apologies for the newbie (to flashing redmi devices) question but I can't get SP Flash tool to back up the IMEI. Drivers are all on, but when you plug in the phone to the USB cable nothing is read back. Do I need to have unlocked the bootloader before this works? I'm still waiting for mine to be allowed

The Xiaomi Unlock tool doesn't recognize the phone. I installed the drivers in the fist post of this thread, but still. Any idea?

Hi all. Can I backup the IMEI code using the scatter file from the Indonesian 12.0.1 ROM, or must I use the latest stock?

Related

TWRP Recovery For Asus Zenfone Lite L1 (ZA551KL)

Presenting the TWRP Recovery for Asus Zenfone Lite L1 (ZA551KL) (asus_x00r)(Treble Supported)(Encryption Fixed) ​Disclaimer : I am not responsible for any bricked device, all responsibility bears the user.​
First Unlock Boot-loader using official asus ubl tool - Download UBL App
Team Win Recovery Project (TWRP) is the most famous custom recovery used by the people who like to flash custom roms, patches, flashable zips etc. The latest version is TWRP 3.2.3-0.
Flash zips through otg or Micro sd Cards as device is encrypted , if you format data and decry-pt then the Flashlight (torch) and the Camera will not Work.ENCRYPTION IS FIXED NOW
Installation By PC
1. Install fastboot tools - minimal adb and fastboot
2. Download twrp image and rename it as "twrp.img", then copy it to the Minimal ADB and Fastboot folder
3. Boot the device to fastboot mode - press and hold power button and volume down button
4. Connect device to pc
5. Open command prompt from Minimal ADB and Fastboot
6. Run command " fastboot flash recovery twrp.img "
7. Twrp will be flashed immediately
8. To boot in to twrp run " fastboot boot twrp.img " or disconnect device from pc and press and hold power button and volume up button
9. Device will be booted to twrp
NOW LETS DECRY-PT DATA
*Download the data Decrypt patch Zip :- Download
*Put it in otg (pendrive) or microsd card
*Then in twrp , Go to wipe section in twrp and tap on Format data (Important )
*Do not wipe data partiton , you have to format it
*then flash the Decrypt zip from your sdcard or pendrive
*after flashing wipe caches
*then reboot , and see camera and flashlight is working and Storage in Decrypted
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Join telegram group for updates​
Downloads:-
1. Minimal Fastboot and Adb
2.TWRP_3.2.3.0_asus_lite_l1
3. Decrypt Patch Download
Device tree
Credits:
@Ashish Gupta1999 (me)
Tester - for testing a lot of builds time to time
if you like my work you can donate me also
Dose it support g cam portrait mode
Yes works fantastic(front cam)
Doesn't work for me. Anyone have a working root method for Asus zenfone live L1?
dexx121 said:
Doesn't work for me. Anyone have a working root method for Asus zenfone live L1?
Click to expand...
Click to collapse
Live l1 and lite l1 is a completely different devices
This TWRP actually partially works for Live L1 (ZA550KL, SD425). The problems are 1) it can't decrypt /data, 2) it fails to mount /xrom (which is inexistent on the Go variant) and 3) no ADB/MTP, but for flashing ROMs/addons, backing up and restoring, it works nicely. Just letting y'all know about it.
AndyYan said:
This TWRP actually partially works for Live L1 (ZA550KL, SD425). The problems are 1) it can't decrypt /data, 2) it fails to mount /xrom (which is inexistent on the Go variant) and 3) no ADB/MTP, but for flashing ROMs/addons, backing up and restoring, it works nicely. Just letting y'all know about it.
Click to expand...
Click to collapse
there is a specific twrp for live l1
Ashish Gupta1999 said:
there is a specific twrp for live l1
Click to expand...
Click to collapse
Can you link me to the one you know of? I just found another one from TWRP Builder, and it did fix most problems, but I still can't use decrypted data (shows "encryption unsuccessful" on boot). And it doesn't expose /vendor either which is a small letdown. <- Fixed by unpacking and editing recovery.fstab.
AndyYan said:
Can you link me to the one you know of? I just found another one from TWRP Builder, and it did fix most problems, but I still can't use decrypted data (shows "encryption unsuccessful" on boot). And it doesn't expose /vendor either which is a small letdown. <- Fixed by unpacking and editing recovery.fstab.
Click to expand...
Click to collapse
Contact me on telegram @yoursenpai1 i will provide you there
it works
Ashish Gupta1999 said:
Contact me on telegram @yoursenpai1 i will provide you there
Click to expand...
Click to collapse
Something gone wrong. System in boot loop. Able to load TWRP through PC. Tried to flash a new ROM but only 2 options (Boot & Recovery) available. Please help
Abhicr said:
Something gone wrong. System in boot loop. Able to load TWRP through PC. Tried to flash a new ROM but only 2 options (Boot & Recovery) available. Please help
Click to expand...
Click to collapse
All I know there is no rom for this device as of now , if you flash a gsi , it. Will definitely show system image option , for now flash stock rom using stock recovery to unbrick
Ashish Gupta1999 said:
All I know there is no rom for this device as of now , if you flash a gsi , it. Will definitely show system image option , for now flash stock rom using stock recovery to unbrick
Click to expand...
Click to collapse
I used a GSI to update from Oreo to Pie. But the TWRP has only 2 options (boot & Recovery) to flash the .img file. However, I did a restore & back with the old Oreo. I want to upgrade my Asus Lite 1 to Pie!! Is there any possibility to get the mobile back to the factory state including recovery? So, that I can begin from one.
Abhicr said:
I used a GSI to update from Oreo to Pie. But the TWRP has only 2 options (boot & Recovery) to flash the .img file. However, I did a restore & back with the old Oreo. I want to upgrade my Asus Lite 1 to Pie!! Is there any possibility to get the mobile back to the factory state including recovery? So, that I can begin from one.
Click to expand...
Click to collapse
Well there is a fastboot rom available in my telegram channel of lite l1 check in there
Accidentally deleted the OS and now the mobile isn't even switching on. Any solution for this? Anyway I can install an OS ?
My mobile is ASUS Zenfone Lite L1.

[GUIDE] How to properly use the SP FLASH TOOL for MERLIN ? (Redmi Note 9 / Redmi 10X 4G)

Warnings:
- If you try to flash in "firmware upgrade" mode, bootloader will be LOCKED again !
- NEVER try to flash in "format all" mode ! Otherwise, you will LOSE all secure and identifying infos for your device. Like IMEI and MAC.
- Keep your backup files safe and secure ! If you can, encrypt them.
- Never try to share your backups or your security and privacy will be compromised.
- USE AT YOUR OWN RISK. I AM NOT RESPONSIBLE FOR YOUR ACTIONS.
Downloads:
- SP Flash Tool (Windows): https://spflashtools.com/category/windows
- SP Flash Tool (Linux): https://spflashtools.com/category/linux
- Download-Agent (DA) file: https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4209765/
- Scatter file: https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4223097/
- (Optional) ReadBack file: https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4223109/
Alternative Downloads:
If you are having problems for flashing on Windows with sp flash tool, give a try on these versions:
- SP Flash Tool v5.2020 https://spflashtools.com/windows/sp-flash-tool-v5-2020
- SP Flash Tool v5.1920 https://spflashtools.com/windows/sp-flash-tool-v5-1920
- SP Flash Tool v5.1916 https://spflashtools.com/windows/sp-flash-tool-v5-1916
1. Extract (or install) SP Flash Tool.
2. Extract Download-Agent (DA) file to the SP Flash Tool home folder.
3. Copy the Scatter file to the SP Flash Tool home folder.
4. If you've downloaded the ReadBack file and want to make backup of your device, copy the ReadBack file to the SP Flash Tool home folder. If not, skip this.
5. Run SP Flash Tool.
6. Select Download tab.
7. Click Choose button for finding the Download-Agent and select the Download-Agent (DA) file.
8. Click Choose button for finding the Scatter-loading and select the Scatter file.
9. Click Options in the menu bar. And then select Option.
10. In General tab, UNCHECK "LIB DA match" and UNCHECK "Storage Lite Cycle".
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Done !
Now you are ready for to flash, to format or to readback whatever you want.
How to properly solve the errors of the SP FLASH TOOL ?
If you are facing any error or any problem using the SPFlashTool, try this guide: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4238161/
Do you need help with your MERLIN device ?
Read this FAQ: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4225163/
whats the difference between sp flash tool and xiaomi flash tool?
dokja28 said:
whats the difference between sp flash tool and xiaomi flash tool?
Click to expand...
Click to collapse
MiFlash uses fastboot writing.
SP Flash Tool uses eMMC writing.
Oh so if i want to flash older miui version for example I'm on global 12.0.6 and i want to flash 12.0.3 global what would i use so that my bootloader cant be lock
dokja28 said:
Oh so if i want to flash older miui version for example I'm on global 12.0.6 and i want to flash 12.0.3 global what would i use so that my bootloader cant be lock
Click to expand...
Click to collapse
Try using sp flash tool.
But if you are on V12.0.5.0 or higher, you need to bypass authorization and flash in EDL mode: https://forum.xda-developers.com/t/...d-flash-in-edl-with-no-auth-for-free.4229683/
dokja28 said:
whats the difference between sp flash tool and xiaomi flash tool?
Click to expand...
Click to collapse
Xiaomi flash tool is an official tool specifically only for Xiaomi devices, it can flash in fastboot mode and download mode both.
Sp flash is an unofficial tool which works for almost every device with Mediatek chipset, and it can flash only in download mode.
help this is what happening after i inserted the device
definitelynotgeddd said:
help this is what happening after i inserted the device
Click to expand...
Click to collapse
You are using wrong DA file.
See "Download-Agent (DA) file" in "Downloads".
@VD171
Probably an unusual question:
I hate android 10/11, they simply abuse of "security" bs and prevents us of doing what we want with our phones.
Is it possible to get rid of dynamic partitions and install some android 9 (Pie) from old days of freedom?
Jazzda said:
@VD171
Probably an unusual question:
I hate android 10/11, they simply abuse of "security" bs and prevents us of doing what we want with our phones.
Is it possible to get rid of dynamic partitions and install some android 9 (Pie) from old days of freedom?
Click to expand...
Click to collapse
Do you mean some rom like GSI ?
I have no ideia, my friend.
But, android 9, 10, 11 and 12 are totally compatible.
So, I think yes, you can.
VD171 said:
Do you mean some rom like GSI ?
I have no ideia, my friend.
But, android 9, 10, 11 and 12 are totally compatible.
So, I think yes, you can.
Click to expand...
Click to collapse
Yes, I mean GSI, but without the super partition, where every partition goes to root (boot, system, vendor, userdata, etc)
Jazzda said:
Yes, I mean GSI, but without the super partition, where every partition goes to root (boot, system, vendor, userdata, etc)
Click to expand...
Click to collapse
Just try and then tell us the result.
help me redmi note 9 hard brick 3 months. can't access fastboot, help me redmi note 9 hard brick 3 months. can't access fastboot, not edl, and can't enter recovery, my redmi note 9 restarted 2x. the last solution was to use sp flash and as a result there was a notification like ininot edl, and couldn't enter recovery, I restarted my redmi note 9 twice. the last solution is to use sp flash and as a result there is a notification like this
Ray Gaming said:
help me redmi note 9 hard brick 3 months. can't access fastboot, help me redmi note 9 hard brick 3 months. can't access fastboot, not edl, and can't enter recovery, my redmi note 9 restarted 2x. the last solution was to use sp flash and as a result there was a notification like ininot edl, and couldn't enter recovery, I restarted my redmi note 9 twice. the last solution is to use sp flash and as a result there is a notification like this
Click to expand...
Click to collapse
Try to flash other MIUI versions in firmware upgrade mode.
Good luck
VD171 said:
thank you for helping me, and my device has come back to life. so long. and I downloaded a lot of firmware and I'm using this firmware QJOMIXM_20200512.0000.00_10.0_global_53a4483cec.tgz. and the bootloader status becomes locked again. I didn't back it up. I'm looking for UBL instances let me know friends
Click to expand...
Click to collapse
Ray Gaming said:
thank you for helping me, and my device has come back to life. so long. and I downloaded a lot of firmware and I'm using this firmware QJOMIXM_20200512.0000.00_10.0_global_53a4483cec.tgz. and the bootloader status becomes locked again. I didn't back it up. I'm looking for UBL instances let me know friends
Click to expand...
Click to collapse
Good work, my friend.
I suggest you to unlock bootloader once you can and then, backup it following my guide:
[GUIDE][UNLOCK] How to restore the state of UNLOCKED BOOTLOADER in MERLIN (Xiaomi Redmi Note 9 / Xiaomi Redmi 10X 4G)
It works with: - Xiaomi Redmi Note 9 - Xiaomi Redmi 10X 4G - Probably some others Xiaomi devices How to backup: Step 1: Unlock your bootloader. Step 2: Backup partition: seccfg You can backup it using the SP FLASH TOOL, TWRP or copy it with...
forum.xda-developers.com
How can restore unlock boot status after backup seccfg?
MA7MOD_GSM said:
How can restore unlock boot status after backup seccfg?
Click to expand...
Click to collapse
Just follow the guide and select the seccfg partition to download only.
VD171 said:
Just follow the guide and select the seccfg partition to download only.
Click to expand...
Click to collapse
so I'm flashing the romglobal v11.0.9 then I flashed the md1img from rom_eng but waht I do is replace the one on the global rom nd the flash it because if I load the entire rom_eng it says that I have to flash erase all but I can't still use maui meta
So can i
VD171 said:
MiFlash uses fastboot writing.
SP Flash Tool uses eMMC writing.
Click to expand...
Click to collapse
So can I use miflash to flash my Merlin and will i need to pass any authorisationnif i want to downgrade from 12.5.5 to 11.0.2?

[GUIDE]Installing a Lineage 17.1 ROM in Redmi Note 9 (merlin)

Hi everyone!
I've been testing installing Lineage 17.1 custom ROMs on merlin, here are the steps I followed plus a LOS 17.1.
I found out that this ROM works better than MIUI and its very stable as a daily driver.
Tested on Redmi Note 9 Global (merlin) - CPU (Helio G85) - ROM/RAM: 64GB/3GB, initialy flashed over MIUI 12.0.3 Global
This are the steps I followed:
Unlock bootloader (of course)
Backup all sensitive data (it maybe lost if things go wrong)
For you in case things go wrong, also download the exact fastboot rom of the MIUI version you are using from xiaomifirmwareupdater.com (it has to be fastboot ROM becouse it contains stock recovery)
Flash a TWRP with new MIUI kernel support
Download TWRP build by wzsx15, for example
Download a modifed vbmeta.img, like the one provided in this thread
Flash like this:
Bash:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash recovery recovery.img
Test TWRP, at least verify it can mount and read /data.
Wipe data, cache and dalvik
Flash LOS 17.1 for merlin (details below), or anything you want to test
Details about provided LOS 17.1:
LineageOS 17.1 - UNOFFICIAL | A10.
Released : 11/02/'21
By @CosmoFreak001 & @chcepizze
SElinux permissive
Changelog:
• Fixed VoLTE
• Fixed Brightness bug
• Fixed all major bugs
• Fixed Double tap to wake
• Fixed Offline Charging
Download
Source (build using generic kernel for Mediatek Helio G85)
Works at least over:
MIUI 12.0.4 Global and less
MIUI 12.0.1 Indonesia and less
--------------
⚠WARNING⚠
MIUI 12.0.5 Global (and 12.0.2 Indonesia) and any higher version, would probably need a downgrade.
--------------
In case things go wrong:
TWRP dosen't work correctly and now my system can't boot
Restore stock recovery, vbmeta and boot partition
Go to fastboot
Extract recovery.img file from your stock fastboot ROM and flash it like this
Code:
fastboot flash recovery recovery.img
Reboot, if system dosen't boot, go to next step
Extract vbmeta.img file from stock fastboot ROM and flash it like this
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Reboot, if it can't boot, go to next step
Extract boot.img file from your stock fastboot ROM and flash all (recovery, vbmeta and boot partition) it like this
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash vbmeta vbmeta.img
TWRP ask's me for a passoword
It's the first PIN number of the lockscreen you set when you first run the system
My PIN doesn't work or my phone never had a PIN and still asks me for one
Maybe /data is not accesible (TWRP compatibility problem)
Try mounting /system and /vendor partition
Navigate through them and verify you can see files and folder
If TWRP is unable to mount any partition restore stock recovery partition
If TWRP can see and mount partitions other than /data:
You can format /data (you are losing ALL data including internal storage)
I don't wont to lose all my data!
Restore stock recovery
Good work, Please note that the rom does not boot on every vendor version, So include the list of the vendors working for rom, As far as I know, it has booted successfully on MIUI 12.0.3 Global and 12.0.1 Indonesia.
Communos said:
Good work, Please note that the rom does not boot on every vendor version, So include the list of the vendors working for rom, As far as I know, it has booted successfully on MIUI 12.0.3 Global and 12.0.1 Indonesia.
Click to expand...
Click to collapse
Thanks. You are right I will add those comments.
thanks for this
Hello members after a long daunting minutes ,hours and days asking for the procedures in this forum on how i can install the custom rom on the Redmi note 9 Merlin MT 6768 3GB Ram ,64GB Rom Global version MiUI 12.0.3.0 i have managed to to install the 17.1 lineage through some experiences, First thanks to the two members who have been of help namely SparXFusion and Ma269 after i have read their post on this forum. Here is what i did i was on MIUI v11.0.4.0 which i later updated to 12.0.3.0 for this to work . Below is the procedure which i have been following and i discovered that the TWRP files i downloaded works fine from v 11.0.4 to 12.0.4.0 PROCEDURE
1- Download the TWRP file from this site : https://mega.nz/file/SuZn2QqZ#jJ6xRku...
2- Download the ADB file from this site : https://androidmtk.com/download-minim..
3- Below command prompts
fastboot devices
fastboot flash recovery recovery.img
fastboot flash vbmeta vbmeta.img
fastboot flash misc misc.bin
fastboot boot recovery.img
Once boot in TWRP open Wipe/format then type yes. Then go to install to get the 17.1 lineage custom rom from internal or external storage if it was downloaded there . Then fine you are good to go
All in all i have noticed that to set the email its not working may the experts explain my observation.
Waiting to hear from some members the solution
One other question is where to get the Gapps for this rom 17.1 lineage merlin mt 6768
gruka said:
Hello members after a long daunting minutes ,hours and days asking for the procedures in this forum on how i can install the custom rom on the Redmi note 9 Merlin MT 6768 3GB Ram ,64GB Rom Global version MiUI 12.0.3.0 i have managed to to install the 17.1 lineage through some experiences, First thanks to the two members who have been of help namely SparXFusion and Ma269 after i have read their post on this forum. Here is what i did i was on MIUI v11.0.4.0 which i later updated to 12.0.3.0 for this to work . Below is the procedure which i have been following and i discovered that the TWRP files i downloaded works fine from v 11.0.4 to 12.0.4.0 PROCEDURE
1- Download the TWRP file from this site : https://mega.nz/file/SuZn2QqZ#jJ6xRku...
2- Download the ADB file from this site : https://androidmtk.com/download-minim..
3- Below command prompts
fastboot devices
fastboot flash recovery recovery.img
fastboot flash vbmeta vbmeta.img
fastboot flash misc misc.bin
fastboot boot recovery.img
Once boot in TWRP open Wipe/format then type yes. Then go to install to get the 17.1 lineage custom rom from internal or external storage if it was downloaded there . Then fine you are good to go
All in all i have noticed that to set the email its not working may the experts explain my observation.
Waiting to hear from some memmbers the solution
Click to expand...
Click to collapse
Misc.bin isn't necessary for flashing twrp,
And what do you mean by "that to set the email it's not working"?
when you put your email on the email app you never log in , and one other question is which is the best gapps for this rom 17,1 lineage merlin
gruka said:
when you put your email on the email app you never log in , and one other question is which is the best gapps for this rom 17,1 lineage merlin
Click to expand...
Click to collapse
Pico Open Gappa or flame Gapps basic, both are fine.
And it's the stock email app, I never used it, so I don't know about that.

Development [UNOFFICIAL][RECOVERY] OrangeFox Recovery R11.1_A12 (Support Android 12+)

OrangeFox Recovery Project​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Downloads OrangeFox-R12.1​
Installation (for Stable roms )
Code:
fastboot boot OrangeFox-12.1-lisa.img
After booting into the recovery, flash OrangeFox-12.1-lisa.zip, it will reboot.
​
Installation method 2 (If you firmware based on weekly China Beta (xiaomi.eu and other)
[UNOFFICIAL][RECOVERY] OrangeFox Recovery R11.1_A12 (Support Android 12+)
OrangeFox Recovery Project Downloads OrangeFox-R12.1 Installation (for Stable roms ) fastboot boot OrangeFox-12.1-lisa.img After booting into the recovery, flash OrangeFox-12.1-lisa.zip, it will reboot. Installation method 2 (If you...
forum.xda-developers.com
NEW: OrangeFox Recovery | Build in Cloud
Version Information
Status: Beta ( Unofficial )
Current Beta ( Unofficial ) Version: R12.1
Release Date: 10-June-2022
Spoiler: for Donate:
BTC Wallet :
bc1qepm8lmd6228dhdpn9e0rjkplpq7yftdhkxywcp
​
is it gonna work with Android 12?
neoxcool said:
is it gonna work with Android 12?
Click to expand...
Click to collapse
yes, this recovery is built to work with a12+ (a11 is compatible)
(some little things need to be completed, but this will be later)
I have actually a Xiaomi 11lite 5G NE with Xiaomi.eu rom (a11: version 12.5.9, rooted with magisk 15.1) and twrp-3.6.0_11-0-lisa. I am very happy with them but I would like to try this recovery. Can I install it over TWRP using "ramdisk install"?
Must I reinstall from Platform tool?
I appreciate very much that you are working on a android 12 compatible version!
Doesn't work ... after sending recovery with 'fastboot boot OrangeFox-12.1-lisa.img' command it gives a little vibration and the screen goes blank. when forced reboot to recovery there's MIUI recovery 5.0 that's all ....
neoxcool said:
+++ Installation method 2
Click to expand...
Click to collapse
quasyl said:
Installation method 2
Click to expand...
Click to collapse
I did it with 1st method but will try 2nd later ...
Even after following method 2 commands, it still gives a slight vibration and the screen goes blank. when forced reboot to recovery there's MIUI recovery 5.0 that's all... I am on MIUI 13 by Papp54 (22.7.7 Beta) (https://forum.xda-developers.com/t/xiaomi-11-lite-5g-ne-by-papp54-r.4449665/)
neoxcool said:
Doesn't work ... after sending recovery with 'fastboot boot OrangeFox-12.1-lisa.img' command it gives a little vibration and the screen goes blank. when forced reboot to recovery there's MIUI recovery 5.0 that's all ....
Click to expand...
Click to collapse
Same for me (black screen after fastboot boot ...)
I have stock MIUI 12.5.8 (A11) and so far I used SHRP from HimanshuRaj (another thread here) and OrangeFox-R11.1_0-Unofficial-lisa (I also picked up here on XDA) and I was always able to fastboot boot ... to either of them (and then to install one or another permanently to the Ramdisk - actually I later Installed magisk together, too, everything works perfectly)
Don't know nwhy now this OF 12..1 fails to boot (black screen) - I had to reboot to my older OrangeFox-R11.1_0-Unofficial-lisa
---
Also, do I really need to disable VBMETA verification?
So far I used both SHRP and OF 11.1 (and patched the Magisk to the boot img), but never ever had to play with/disable VBMETA verification. Everything worked fine (also passing SafetyNet with the USNF module)
---
Also, Lisa is A/B device. Doesn't that mean that (if disabling verity in vbmeta is neccessary) instead of
fastboot flash vbmeta ...
fastboot flash vbmeta_system ...
we have to use (depending on which slot is currently active):
fastboot flash vbmeta_a ... or fastboot flash vbmeta_b ...
fastboot flash vbmeta_system_a ... or fastboot flash vbmeta_system_b ...
(or fastboot will correctly flash to the active slot just by using vbmeta and vbmeta_system, resp, as in the OP post #1)
Sorry for asking that, as I said I used two other custom recoveries with my MIUI 12.5.8 so far, and didn't need to touch vbmeta
Same issue as above. Unable to boot to recovery. However, I was able to install via TWRP. I tested OTG, backup/restore, flashing and sideload. All working. The only thing that does not seem to be working is mounting external sd. Other than that, great work. Thanks!
Eliliyah said:
Same issue as above. Unable to boot to recovery. However, I was able to install via TWRP. I tested OTG, backup/restore, flashing and sideload. All working. The only thing that does not seem to be working is mounting external sd. Other than that, great work. Thanks!
Click to expand...
Click to collapse
You tested on MIUI 13/A12 or MIUI 12.5/A11?
If you firmware based on weekly China Beta (xiaomi.eu and other)
fastboot flash boot recovery.img
Dkpost3 said:
If you firmware based on weekly China Beta (xiaomi.eu and other)
plz check
fastboot boot recovery.img
Click to expand...
Click to collapse
Hi, Yes. This recovery.img worked. I flashed the ofox recovery now. I'm on papp54 22.1.13 rom. Thank you
Dkpost3 said:
If you firmware based on weekly China Beta (xiaomi.eu and other)
fastboot flash boot recovery.img
Click to expand...
Click to collapse
Thanks, it works now. Please update the instructions and download links in your main post.
zgfg said:
Same for me (black screen after fastboot boot ...)
I have stock MIUI 12.5.8 (A11) and so far I used SHRP from HimanshuRaj (another thread here) and OrangeFox-R11.1_0-Unofficial-lisa (I also picked up here on XDA) and I was always able to fastboot boot ... to either of them (and then to install one or another permanently to the Ramdisk - actually I later Installed magisk together, too, everything works perfectly)
Don't know nwhy now this OF 12..1 fails to boot (black screen) - I had to reboot to my older OrangeFox-R11.1_0-Unofficial-lisa
---
Also, do I really need to disable VBMETA verification?
So far I used both SHRP and OF 11.1 (and patched the Magisk to the boot img), but never ever had to play with/disable VBMETA verification. Everything worked fine (also passing SafetyNet with the USNF module)
---
Also, Lisa is A/B device. Doesn't that mean that (if disabling verity in vbmeta is neccessary) instead of
fastboot flash vbmeta ...
fastboot flash vbmeta_system ...
we have to use (depending on which slot is currently active):
fastboot flash vbmeta_a ... or fastboot flash vbmeta_b ...
fastboot flash vbmeta_system_a ... or fastboot flash vbmeta_system_b ...
(or fastboot will correctly flash to the active slot just by using vbmeta and vbmeta_system, resp, as in the OP post #1)
Sorry for asking that, as I said I used two other custom recoveries with my MIUI 12.5.8 so far, and didn't need to touch vbmeta
Click to expand...
Click to collapse
Dkpost3 will answer your query, mate ...​
Dkpost3 said:
If you firmware based on weekly China Beta (xiaomi.eu and other)
fastboot flash boot recovery.img
Click to expand...
Click to collapse
Works on Xiaomi.eu 22.7.13. Thanks mate!
Thanks for this. I'm using PixelOS flashed the zip file via adb sideload and it works!
MAT.PH said:
Thanks for this. I'm using PixelOS flashed the zip file via adb sideload and it works!
Click to expand...
Click to collapse
Newest PixelOS build?
[email protected] said:
Newest PixelOS build?
Click to expand...
Click to collapse
Yes
PixelOS_lisa-12.1-20220712-0056

Question Unable to install Custom rom on mi 11 lite 13.0.7.0 SKOINXM

Hi,
Everytime I try to install recovery device stucks in fastboot screen the only way to get out of it is to install miui thru mi flash
Guide me through how to install custom rom on miui 13.0.7.0
Thanks in advance
Crazymods said:
Hi,
Everytime I try to install recovery device stucks in fastboot screen the only way to get out of it is to install miui thru mi flash
Guide me through how to install custom rom on miui 13.0.7.0
Thanks in advance
Click to expand...
Click to collapse
Installed the correct firmware before flashing.
for example for this rom
https://forum.xda-developers.com/t/rom-12-1-official-pixelos-aosp-stable-15-08-2022.4392297/
This firmware
https://sourceforge.net/projects/pixelos-releases/files/twelve/lisa/firmware/
Most often it is global or CN firmware.
NOSS8 said:
Installed the correct firmware before flashing.
for example for this rom
https://forum.xda-developers.com/t/rom-12-1-official-pixelos-aosp-stable-15-08-2022.4392297/
This firmware
https://sourceforge.net/projects/pixelos-releases/files/twelve/lisa/firmware/
Most often it is global or CN firmware.
Click to expand...
Click to collapse
Thanks for the quick reply
I wanted to install CorvusOs also tried but failed, everytime I try to install recovery it mess ups my firmware
Crazymods said:
Thanks for the quick reply
I wanted to install CorvusOs also tried but failed, everytime I try to install recovery it mess ups my firmware
Click to expand...
Click to collapse
Can you post the rom link?
NOSS8 said:
Can you post the rom link?
Click to expand...
Click to collapse
Thread '[SHARED] CorvusOS 4.0-L v12.1 - UNOFFICIAL | Android 12L. Vanilla/GApps | Updated: 2022/08/22' https://forum.xda-developers.com/t/...12l-vanilla-gapps-updated-2022-08-22.4484681/
Crazymods said:
Thread '[SHARED] CorvusOS 4.0-L v12.1 - UNOFFICIAL | Android 12L. Vanilla/GApps | Updated: 2022/08/22' https://forum.xda-developers.com/t/...12l-vanilla-gapps-updated-2022-08-22.4484681/
Click to expand...
Click to collapse
Seems this ROM is for Renoir device
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Think I should flash pixelos
Crazymods said:
Think I should flash pixelos
Click to expand...
Click to collapse
Yeap, try this rom.
Flashing the correct firmware with the TWRP but sometimes it does not work, the method that works 100% is to use Miflash(without relocking the bootloader) and let the phone restart then switch to fastboot mode once arrived at the request of the Xiaomi account.
Install TWRP
Twrp
Wipe/format data type yes
reboot twrp
put the rom in internal storage or use Otg
Flash rom
• After installation complete, Reboot system
if bootloop format data and reboot system.
This method differs from that recommended by the OP but remains the most common one, you can use that of the OP, at your choice.
In any case, formatting the data does not erase the previously installed firmware.
.Use 12 version
https://pixelos.net/download/lisa
NOSS8 said:
Yeap, try this rom.
Flashing the correct firmware with the TWRP but sometimes it does not work, the method that works 100% is to use Miflash(without relocking the bootloader) and let the phone restart then switch to fastboot mode once arrived at the request of the Xiaomi account.
Install TWRP
Twrp
Wipe/format data type yes
reboot twrp
put the rom in internal storage or use Otg
Flash rom
• After installation complete, Reboot system
if bootloop format data and reboot system.
This method differs from that recommended by the OP but remains the most common one, you can use that of the OP, at your choice.
In any case, formatting the data does not erase the previously installed firmware.
.Use 12 version
https://pixelos.net/download/lisa
Click to expand...
Click to collapse
Can you guide more briefly because I messed my os everytime I use adb command
Crazymods said:
Can you guide more briefly because I messed my os everytime I use adb command
Click to expand...
Click to collapse
No ADb command performed.
where are you with the method?
NOSS8 said:
No ADb command performed.
where are you with the method?
Click to expand...
Click to collapse
The moment I type "fastboot flash boot" Drag and drops file I get stuck at bootloop
Crazymods said:
The moment I type "fastboot flash boot" Drag and drops file I get stuck at bootloop
Click to expand...
Click to collapse
Clean flash (coming from a different ROM):
• Reboot to bootloader (fastboot)
• Connect phone to PC
• fastboot flash boot boot.img
• fastboot reboot recovery
• Select Wipe data/factory reset & confirm
• Go back and select Apply update from ADB
• adb sideload PixelOS*.zip
• Flash latest firmware from the link above
• adb sideload fw_lisa*.zip
• After installation complete, Reboot system.
or use my method with twrp.
NOSS8 said:
Clean flash (coming from a different ROM):
• Reboot to bootloader (fastboot)
• Connect phone to PC
• fastboot flash boot boot.img
• fastboot reboot recovery
• Select Wipe data/factory reset & confirm
• Go back and select Apply update from ADB
• adb sideload PixelOS*.zip
• Flash latest firmware from the link above
• adb sideload fw_lisa*.zip
• After installation complete, Reboot system.
or use my method with twrp.
Click to expand...
Click to collapse
Thanks I, ll get back to you
Crazymods said:
Thanks I, ll get back to you
Click to expand...
Click to collapse
In case that doesn't work, detail what you did.
so heres what i did till now
1-i tried to flash twrp and orange fox but unable to boot them i`m stuck at fastboot now
Crazymods said:
so heres what i did till now
1-i tried to flash twrp and orange fox but unable to boot them i`m stuck at fastboot now
Click to expand...
Click to collapse
What command did you use?
NOSS8 said:
What command did you use?
Click to expand...
Click to collapse
"fastboot flash boot" drag and dropped file
Crazymods said:
"fastboot flash boot" drag and dropped file
Click to expand...
Click to collapse
Command is" fastboot boot twrp.img' phone in fastboot mode.
then in Twrp go to Advanced -> flash current TWRP
NOSS8 said:
Command is" fastboot boot twrp.img' phone in fastboot mode.
then in Twrp go to Advanced -> flash current TWRP
Click to expand...
Click to collapse
Rename to twrp.img.
The command from the folder where the img is.
You must have flashed the xiaomi rom first to be on the correct firmware. How did you proceed?

Categories

Resources