[GUIDE][UNLOCK] How to restore the state of UNLOCKED BOOTLOADER in MERLIN (Xiaomi Redmi Note 9 / Xiaomi Redmi 10X 4G) - Redmi Note 9 Guides, News, & Discussion

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 DD, you can do what you prefer.
Keep it in your files for later use.
How to restore:
To restore your UNLOCKED BOOTLOADER, you need to restore seccfg partition of the backup in step 2.
You can flash it using the SP FLASH TOOL: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4229937/
SECCFG:
Code:
linear_start_addr: 0x17800000
partition_size: 0x800000
{
"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"
}
(If you try to restore your seccfg partition between different devices, it will not work.)
Good luck.
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/

Hi i backed up the seccfg while my bl unlocked but i can't flash it can you help me ? my bl is locked right now

Sirpak said:
Hi i backed up the seccfg while my bl unlocked but i can't flash it can you help me ? my bl is locked right now
Click to expand...
Click to collapse
You can flash it easily using spflashtool or twrp.

Can you tell me how to do it it is .bin file and i don't know how to flash with sp flash tool and i don't have twrp too

Can you do a tutorial ?

Sirpak said:
Can you tell me how to do it it is .bin file and i don't know how to flash with sp flash tool and i don't have twrp too
Click to expand...
Click to collapse
[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...
forum.xda-developers.com
[GUIDE] How To bypass authentication and flash in EDL with NO auth for FREE
Thanks to: chaosmaster / k4y0z: GitHub / XDA xyzz / xyz`: GitHub / XDA Dinolek: GitHub / XDA How to install: 1. Download the attached file: VD171_MTK-bypass.zip. 2. Extract the file and open the folder. 3. Run and install python...
forum.xda-developers.com

Sirpak said:
Can you do a tutorial ?
Click to expand...
Click to collapse
I suggest you to watch some videos, the flashing using spflashtool is same to any device.

Still i can't do it i watched a few videos but videos not fixed my problem my bl is locked is it a problem for this operation

Sirpak said:
Still i can't do it i watched i few videos but videos not fixed my problem my bl is locked is it a problem for this operation
Click to expand...
Click to collapse
Locked bootloader is not a problem for flashing using spflashtool.
You can write some partitions even with locked bootloader, like preloader and seccfg.
Try to attach your screenshots, please.

İ'm trying to use download tab for flash seccfg while i just use seccfg it says please select at least one rom before execution. when i try with boot.img it says error status preloader invalid

Sirpak said:
İ'm trying to use download tab for flash seccfg while i just use seccfg it says please select at least one rom before execution. when i try with boot.img it says error status preloader invalid
Click to expand...
Click to collapse
Please, attach the screenshot.

this is with boot

Something is wrong right ? or anything i did is wrong

Sirpak said:
this is with boot
Click to expand...
Click to collapse
Try this:
#1. Dowload and extract the preloader-V12.0.4.0 -> https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4218929/
#2. Enter in fastboot.
#3. Flash the preloader-V12.0.4.0:
Code:
fastboot flash preloader preloader-V12.0.4.0.bin
#4. Turn off the device.
#5. Go to SPFLASHTOOL and Flash what you want to flash. Remeber to plug the usb cable only and DON'T press any key. If you keep keys untouched the preloader-V12.0.4.0 will flash in download mode, so you don't need to bypass the edl mode.
Done.

I'm in 12.0.3 india rom isn't this going to be a problem ?

Sirpak said:
I'm in 12.0.3 india rom isn't this going to be a problem ?
Click to expand...
Click to collapse
So, you don't need to flash the preloader.
Did you flash the unlocked seccfg?
Did you try using the stock scatter file?

I tried to flash seccfg via fastboot but got an error.
I didn't tried the stock scatter file

I tried to flash seccfg via sp flash tool and got an error too i don't know what to do

I can't see the seccfg in the sp flash tool is this right ?

Sirpak said:
I can't see the seccfg in the sp flash tool is this right ?
Click to expand...
Click to collapse
Edit the stock scatter file.
Search for "preloader_merlin.bin" section and change from "is_download: false" to "is_download: true".

Related

[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][MTK] How to bypass detection for UNLOCKED BOOTLOADER ?

WARNINGS:
First of all you should BACKUP IMEI.
Remember to NEVER touch the NVRAM.
People who does NOT backup imei or touches the NVRAM, are susceptible to the loss of IMEI.
If you try to share NVDATA between different devices, it may cause bootloop due verification of IMEI (slot1).
If you already lost IMEI, you probably may need to write IMEI again.
Works with:
Xiaomi Redmi Note 9 and ALL other MediaTek devices which uses SECCFG for unlocking/locking bootloader.
How does it work ?
After you turn on the device, the booting procedures checks if the device is unlocked and if there is any modified partition.
If your device is locked and any partition is modified, the device will not boot.
If your device is unlocked, the device will boot perfectly.
On booting, the device verifies if the device is unlocked or not, inside the partition: SECCFG.
After booting procedures, the partition SECCFG can NOT be read.
Due this, some variable settings are written to the partition NVDATA, because the system can read the partition NVDATA.
These variable settings contain details about locked/unlocked bootlader as many other details about the developer settings and some sensitive data like IMEI, Wifi MAC and Bluetooth MAC.
So, we just need to mix an unlocked SECCFG together a locked NVDATA.
How to do ? (Without formatting data)
1. Be sure to have UNLOCKED BOOTLOADER.
2. Backup the partition: SECCFG.
3. Format the partition: SECCFG. (Begin Address: 0x17800000 Format Length: 0x800000)
4. Format the partition NVDATA. (Begin Address: 0xc4a2000 Format Length: : 0x4000000)
5. Boot the device. It will write a new NVDATA.
6. Turn off the device.
7. Flash the partition SECCFG (with UNLOCKED BOOTLOADER).
Done !
{
"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"
}
How to do ? (Formatting data)
1. Be sure to have UNLOCKED BOOTLOADER.
2. Backup the partition: SECCFG.
3. Backup your files and data, if you want.
4. Now, RE-LOCK BOOTLOADER. Or just erase the partition: SECCFG.
5. Format user data. It will erase NVDATA too.
6. Boot the device once, you don't need to accept terms or enter in system. It will write a new NVDATA.
7. Turn off the device.
8. Flash the partition SECCFG (with UNLOCKED BOOTLOADER).
Done !
Useful links:
VD Infos: Capture device infos and details with an ULTRA root/magisk/riru/xposed DETECTOR
https://forum.xda-developers.com/t/app-v1-10-vd-infos-package-com-vitaodoidao-vdinfos.4097379/
Scatter file for flashing using flash tool to MERLIN
https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4223097/
What should I backup before trying to customize my MERLIN device
https://forum.xda-developers.com/t/...lin-device-redmi-note-9-redmi-10x-4g.4229629/
How to restore the state of UNLOCKED BOOTLOADER in MERLIN
https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4220013/
How to properly solve the errors of the SP FLASH TOOL for MERLIN
https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4238161/
Read Back file for backuping using flash tool from MERLIN
https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4223109/
DA files for flashing to MERLIN using FLASH TOOL
https://forum.xda-developers.com/t/...omi-redmi-note-9-xiaomi-redmi-10x-4g.4209765/
How to properly use the SP FLASH TOOL for MERLIN
https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4229937/
Credits:​VD171​
Thank you for your contribution, I am a newbie in the subject of smartphones but I would like to know if with these modifications of your tutorial the momo application still detects the bootloader unlocked?
momo-v4.0.1.apk
drive.google.com
enzokart19 said:
Thank you for your contribution, I am a newbie in the subject of smartphones but I would like to know if with these modifications of your tutorial the momo application still detects the bootloader unlocked?
momo-v4.0.1.apk
drive.google.com
Click to expand...
Click to collapse
Since momo is closed source, you should not care for its results.
Momo uses many and many detections by native methods and they are hidden to anyone.
So, no one banking app can use momo detections.
But, the answer is: NO, momo can NOT detect unlocked bootloader using my method. And no other app or any other method can detect unlocked bootloader using my method.
Enjoy
Ps: Momo is already on version 4.3.1:
Magisk alpha
如果 「代码注入」 仍有假阳性情况,请入群反馈,感谢。
t.me
VD171 said:
Since momo is closed source, you should not care for its results.
Momo uses many and many detections by native methods and they are hidden to anyone.
So, no one banking app can use momo detections.
But, the answer is: NO, momo can NOT detect unlocked bootloader using my method. And no other app or any other method can detect unlocked bootloader using my method.
Enjoy
Ps: Momo is already on version 4.3.1:
Magisk alpha
如果 「代码注入」 仍有假阳性情况,请入群反馈,感谢。
t.me
Click to expand...
Click to collapse
Excellent thank you very much. Do you know if there is any way to do the same on snapdragon devices?
enzokart19 said:
Excellent thank you very much. Do you know if there is any way to do the same on snapdragon devices?
Click to expand...
Click to collapse
I have no ideia, I'm sorry.
All ok
Does safetynet hardware attestation work with this method??
0xf331dead said:
Does safetynet hardware attestation work with this method??
Click to expand...
Click to collapse
No
Flashing Magisk, enabling Zygisk and installing Universal SafetyNet Fix also hides unlocked bootloader.
hi i apolodize. is there a way to unlock the bootloader without using a mi account ?
because i use only my redmi with wifi and dont have a sim card to do it (and dont want to leave my infos on a chineese site)
ty
alcadon said:
hi i apolodize. is there a way to unlock the bootloader without using a mi account ?
because i use only my redmi with wifi and dont have a sim card to do it (and dont want to leave my infos on a chineese site)
ty
Click to expand...
Click to collapse
Try mtkclient:
GitHub - bkerler/mtkclient: MTK reverse engineering and flash tool
MTK reverse engineering and flash tool. Contribute to bkerler/mtkclient development by creating an account on GitHub.
github.com
ty btw i forget to precise im under w7 64...
Windows 7 does not support python 3.9, but I think that 3.8 will also work. If not, you can use ReLiveDVD v4.
Deleted
hi do u think mediatek bootloader unlock works with python 3.8 ?
i put the 2 dll it asked but got an 0xc000007b error....
will try re live dvd ty
btw do u know what is this menu in chineese access by usb and vol+ ?
alcadon said:
hi do u think mediatek bootloader unlock works with python 3.8 ?
i put the 2 dll it asked but got an 0xc000007b error....
Click to expand...
Click to collapse
I do not know what did you mean. I only think that it should work, but not tested. It may work or not.
alcadon said:
will try re live dvd ty
Click to expand...
Click to collapse
It's the best solution.
alcadon said:
btw do u know what is this menu in chineese access by usb and vol+ ?
Click to expand...
Click to collapse
I don't know which menu you are describing, but on some Xiaomi devices there is a menu that allows you to reboot to bootloader, recovery, fastbootd etc and do some tests. I think it is part of MIUI Recovery. On some phones it is in Chinese by default (mostly those bought in China, but also some bought outside China), but you can change the language to English by pressing the 中文 button.
well i get my wife sim card so i did the normal way... must wait 168 hours... willNEVER buy one of thopse ****S again

Redmi Note 5 pro stuck on mi logo screen ( possibly hard bricked ) FLASH XBL ERROR

Hello, when i woke up today i found my phone had switched off ( possibly battery drained overnight ), but the LED light on it was still blinking continuously. I tried to switch it on but it got stuck on the mi logo.
Current situation : I can only access fastboot mode, TWRP recovery altough installed won't open up and just freezes on the introduction screen ( not accessible ) , and as previously mentioned I'm stuck on the MI logo screen.
ROM used : I was on pixel experience android 11 custom rom
What I tried so far : a) I tried to flash the global stable miui rom using the miflash tool, but i get this error. ( FAILED (remote: 'Error flashing partition : Write Protected')
{
"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"
}
a point to note is that I have verified that my bootloader is unlocked. ( Also tried the same with a different version of the global stable miui rom , still the same error )
b) I also tried to flash the ROM using the XiaMiTool V2 but I get the same "flash xbl error".
I have tried everything I knew and yet my phone is as useless as a rock right now. Any help would be greatly appreciated. Thanks!
have disabled dm verity with vbmeta.img for your phone?
you probably have a flashall script in the firmware archive, try commenting out xbl and repeat flash.
LR7875 said:
have disabled dm verity with vbmeta.img for your phone?
Click to expand...
Click to collapse
no I don't have any idea about this. Can you please tell me the steps on how to do it.
NextGenMagisk said:
you probably have a flashall script in the firmware archive, try commenting out xbl and repeat flash.
Click to expand...
Click to collapse
I did that, but then the next command in the flash_all.bat returns the error.
StickyFingers28 said:
I did that, but then the next command in the flash_all.bat returns the error.
Click to expand...
Click to collapse
Have you reflashed twrp?
Or try this twrp replacement :
Xiaomi Redmi Note 5 / 5 Pro (whyred) build releases | OrangeFox Recovery Downloads
Orangefox recovery for Xiaomi Redmi Note 5 / 5 Pro (whyred)
orangefox.download
Extract the downloaded zip and the recovery.img should be flashed like twrp.img.
LR7875 said:
Have you reflashed twrp?
Or try this twrp replacement :
Xiaomi Redmi Note 5 / 5 Pro (whyred) build releases | OrangeFox Recovery Downloads
Orangefox recovery for Xiaomi Redmi Note 5 / 5 Pro (whyred)
orangefox.download
Extract the downloaded zip and the recovery.img should be flashed like twrp.img.
Click to expand...
Click to collapse
Hi I tried flashing the orange fox recovery through fastboot but it gives me the following error. Any ideas
StickyFingers28 said:
Hi I tried flashing the orange fox recovery through fastboot but it gives me the following error. Any ideasView attachment 5620087
Click to expand...
Click to collapse
you made a typo, it's supposed to be "recovery" and not "recover"
hxudsh said:
you made a typo, it's supposed to be "recovery" and not "recover"
Click to expand...
Click to collapse
ah i see, now that i corrected the typo, it gives the error that is the same as i got with the miflash tool. How do i fix this.
You made sure you have your phone bootloader unlocked?
execute
fastboot getvar unlocked
LR7875 said:
You made sure you have your phone bootloader unlocked?
execute
fastboot getvar unlocked
Click to expand...
Click to collapse
yes i verified again by using MI unlock tool which then confirms that my phone is already unlocked.
StickyFingers28 said:
yes i verified again by using MI unlock tool which then confirms that my phone is already unlocked.View attachment 5620475
Click to expand...
Click to collapse
you download the official fastboot rom and under images folder find system.img and boot.img, move to c drive not under any folder, then
fastboot flash system C:\system.img
fastboot flash boot C:\boot.img
fastboot reboot
if these still give you write protected, you may have hardware fail
Fastboot - write protected
Today my cell phone got stuck on the android one logo. I was using the cell phone when it suddenly fired, so I forced a restart with the power button and from that moment on it never turned on again. I have the bootloader unlocked and I was...
forum.xda-developers.com

How To Guide [Oneplus 9 Pro] Extract partitions on unrooted or locked phone.

This manual will be useful for phones with Oxygen firmware, because very often they are get incremental updates and many users cannot install update with root, cannot find a stock boot, etc.
Also for those who want to unlock the bootloader at the first time and can save the persist patririon.
What are we need:
* MSMTools
* working fastboot
Let's start:
* reboot your phone in fastboot mode
* enter in cmd console
Code:
fastboot getvar current-slot
in that step we determine the current slot to extract the correct partitions
* start MSMTool program
{
"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"
}
* press F8 and you will see this windows
* choose right partitions (if your current slot are b, then choose for example boot_b, etc)
* in Password: field enter oneplus and press Ok
* if you make all right you will see that new button
* press on it, connect your phone and wait.
* selected images are saved on C:\
* profit
P.S. sorry for my english
Are you able to expand this tutorial on how to change partitions or on how to "update" msm so it uses a later version of OOS to unbrick the device?
The actual msm tool for OP9 Pro would install OOS11. But can it be changed to flash OOS12?
this tutorial only for how to extract partitions. android 11, 12, coloros, no matter.
for others can't help you
This part was empty for me:
Command "Fastboot devices" was working..
The tutorial in the first post is somewhat misleading. Fastboot is needed to flash back the partitions. In order for the partitions to be secured with the MSM tool, the phone must be in the EDL mode.
1. that means shutdown the phone
2. Start the MSM tool and press F8 on the keyboard
3. Press both volume keys at the same time and then connect the USB cable
4. Now the tool would have to recognize your phone and the partitions can be selected
The rest is well described in the first post.
I have a question, Im new in xda and I want to backup modest 1/2 and persist. In this post you can do it in MSM but I cannot see modemst1 or 2 in the partitions checkbox. They have another name? Or I cannot backup those partitions via MSM?
Cris092 said:
I have a question, Im new in xda and I want to backup modest 1/2 and persist. In this post you can do it in MSM but I cannot see modemst1 or 2 in the partitions checkbox. They have another name? Or I cannot backup those partitions via MSM?
Click to expand...
Click to collapse
Try Partitions Backup in the play store
TheGhost1951 said:
Try Partitions Backup in the play store
Click to expand...
Click to collapse
Do I need root or unlocked bootloader? Im unroot and with locked bootloader, that's why Im trying to do it like this post
Cris092 said:
Do I need root or unlocked bootloader? Im unroot and with locked bootloader, that's why Im trying to do it like this post
Click to expand...
Click to collapse
You don't need root to backup, but you do to restore the backup.
This is what my phone says when I open partitions backup
So that's why I want to do it via MSM like this post, but I don't know what partitions do I have to check in MSM. I can see persist but modest 1/2 I cant
Cris092 said:
This is what my phone says when I open partitions backupView attachment 5830269
So that's why I want to do it via MSM like this post, but I don't know what partitions do I have to check in MSM. I can see persist but modest 1/2 I cant
Click to expand...
Click to collapse
Sorry for misleading you, other than that not sure how to get the images you want.
Ok so I made backups using this method like 2 days ago, if we ever need to restore them, how do we do it?
immortalwon said:
Ok so I made backups using this method like 2 days ago, if we ever need to restore them, how do we do it?
Click to expand...
Click to collapse
With partitions backup?
TheGhost1951 said:
With partitions backup?
Click to expand...
Click to collapse
No, using the MSM tool to do a flash readback, which saves most of the firmware to the C: drive
If your phone is already on, you can also use the following command in command prompt to use ADB to reboot into EDL.
adb reboot edl
Still waiting for an answer from OP or anyone else: After we have made a flash read-back via MSM, how are these firmware files restored????
immortalwon said:
Still waiting for an answer from OP or anyone else: After we have made a flash read-back via MSM, how are these firmware files restored????
Click to expand...
Click to collapse
Flashed via Fastboot. For example if you extract boot.img from read-back and you want to restore the boot.img. Reboot your device into Fastboot and enter the following command in command prompt on your computer:
fastboot flash boot boot.img.
Depending on what you are flashing, you need to change the command accordingly. e.g vendor_boot.img
fastboot flash vendor_boot vendor_boot.img

Question root Xiaomi 11T Official ??

I want an official way to root the device and change the official ROM
strayh_ said:
I want an official way to root the device and change the official ROM
Click to expand...
Click to collapse
Welcome to XDA,
I want the same!
Maybe some dev around!
Root is available: Follow this thread
Unofficial twrp 3.6.0 for Xiaomi 11T (Agate)
Twrp 3.6.0 Root Xiaomi 11T (Agate): unofficial build of twrp 3.6.0 have Now been available for the Xiaomi 11T user Who own Xiaomi 11T can Root it by following the below Instructions. to Install twrp Recovery on Xiaomi 11T first You need to...
forum.xda-developers.com
Kiwironic said:
Root is available: Follow this thread
Unofficial twrp 3.6.0 for Xiaomi 11T (Agate)
Twrp 3.6.0 Root Xiaomi 11T (Agate): unofficial build of twrp 3.6.0 have Now been available for the Xiaomi 11T user Who own Xiaomi 11T can Root it by following the below Instructions. to Install twrp Recovery on Xiaomi 11T first You need to...
forum.xda-developers.com
Click to expand...
Click to collapse
I tried that a year ago but because of skill issue I wasn't able to fix my device when it bricked so we went to the carrier we bought it at and we said that it happened during an OTA update
If you need help rooting it or unbricking, let me know
Kiwironic said:
If you need help rooting it or unbricking, let me know
Click to expand...
Click to collapse
I have MIUI 14 mi pilot build no twrp supports this fw
{
"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"
}
You don't need TWRP for root, just get unlocked bootloader and get the boot.img file from your rom and use the Magisk app to patch it then flash it with fastboot
Code:
Fastboot.exe flash boot magicbootimg.img
Same device and same rom, rooted already
Kiwironic said:
Same device and same rom, rooted already
Click to expand...
Click to collapse
Nice
Kiwironic said:
Same device and same rom, rooted already
Click to expand...
Click to collapse
Brother i used payload dumper but i can't see boot.img do i need fastboot Rom?
Stephanizgo said:
Brother i used payload dumper but i can't see boot.img do i need fastboot Rom?
Click to expand...
Click to collapse
Download the Full ROM (Fastboot) which is bigger and you can find the "boot.img" easier.
https://xiaomifirmwareupdater.com/miui/
I have downloaded the ROM from https://c.mi.com
Official Xiaomi Rom download site but the fastboot logo changed and I no longer have the bunny on fastboot
Send me a screen shot of your about screen and I will send you a modified boot.img but you can do it yourself from the link I sent you. if you look at their download links they are all from mi servers.
https://bigota.d.miui.com/V14.0.3.0.TKWMIXM/agate_global_images_V14.0.3.0.TKWMIXM_20230105.0000.00_13.0_global_576aee87ab.tgz

			
				
Stephanizgo said:
View attachment 5865685
Click to expand...
Click to collapse
Hello sir , please Can you make a full video tutorial on how to root the device ?
0xHelium said:
Hello sir , please Can you make a full video tutorial on how to root the device ?
Click to expand...
Click to collapse
First you need to unlock the bootloader
Then follow these steps:
1 - Download the Fastboot ROM file for your device
2 - Extract the boot.img file from the ROM file, then copy it to your device's storage
3- Download the Majesk app and install it, then flash the boot.img file from inside the Majesk, you will have a new file named Majesk_patch.img in your downloads folder, copy it to your computer
4 - Then download the ADB platform and open it and open the command prompt from within the folder "Make sure to copy the file that you flashed into Magisk from copying it into the folder"
5 - Put your phone into fastboot mode by pressing the power key and volume down, then connect it to the computer, and type the following command at the command prompt:
fastboot flash boot boot.img " Here is the file that I copied inside the adb folder after changing its name to boot.img"
Then type the following command to restart the phone:
fastboot reboot
Congratulations, your phone has been successfully rooted
*I apologize if my writing is bad because I use Google Translate because I am not good at English*
0xHelium said:
Hello sir , please Can you make a full video tutorial on how to root the device ?
Click to expand...
Click to collapse
Once my brother returns my S10 I will probably
strayh_ said:
Then follow these steps:
1 - Download the Fastboot ROM file for your device
2 - Extract the boot.img file from the ROM file, then copy it to your device's storage
3- Download the Majesk app and install it, then flash the boot.img file from inside the Majesk, you will have a new file named Majesk_patch.img in your downloads folder, copy it to your computer
4 - Then download the ADB platform and open it and open the command prompt from within the folder "Make sure to copy the file that you flashed into Magisk from copying it into the folder"
5 - Put your phone into fastboot mode by pressing the power key and volume down, then connect it to the computer, and type the following command at the command prompt:
fastboot flash boot boot.img " Here is the file that I copied inside the adb folder after changing its name to boot.img"
Then type the following command to restart the phone:
fastboot reboot
Congratulations, your phone has been successfully rooted
*I apologize if my writing is bad because I use Google Translate because I am not good at English*
Click to expand...
Click to collapse
thanks, i combined this with an old thread and my phone is rooted

Categories

Resources