Skip to content

Commit 30c94fa

Browse files
author
rudu
committed
Add miatoll (Redmi Note 9 Pro &co.)
1 parent f656346 commit 30c94fa

File tree

2 files changed

+70
-0
lines changed

2 files changed

+70
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,12 @@ OnePlus | Nord N200 | [dre](https://wiki.lineageos.org/devices/dre) | | tested
169169
OnePlus | 9 | lemonade | | under development
170170
</details>
171171

172+
<details><summary><b>Xiaomi</b></summary>
173+
174+
Vendor | Device Name | CodeName | Models | Status
175+
---|---|---|---|---
176+
Xiaomi | Redmi Note 9S / 9 Pro / 9 Pro Max / 10 Lite / Poco M2 pro | [miatoll](https://wiki.lineageos.org/devices/lavender) : gram / curtana / excalibur / joyeuse | | untested
177+
</details>
172178
And more to come!
173179

174180

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
metadata:
2+
maintainer: A non (anon)
3+
device_name: Xiaomi Redmi Note 9S / 9 Pro / 9 Pro Max / 10 Lite / Poco M2 pro
4+
is_ab_device: false
5+
device_code: miatoll
6+
supported_recovery:
7+
- orangefox
8+
- twrp
9+
supported_device_codes:
10+
- miatoll
11+
- gram
12+
- curtana
13+
- excalibur
14+
- joyeuse
15+
notes: >
16+
- If something goes wrong, you can reinstall MiUI here : https://xiaomifirmwareupdater.com/miui/lavender/
17+
18+
- Be careful when choosing OrangeFox version, Android 12 & 13 ROM needs OrangeFox version code with `A12`, for example `R11.1_5_A12`. Android 10 & 11 ROM needs OrangeFox version code without `A12` (bellow on the page)
19+
20+
- **This device has never been tested with OAI.** It can go wrong. You may have to finish the installation with command lines. If you test, please report the result on GitHub.
21+
requirements:
22+
android: 12
23+
steps:
24+
unlock_bootloader:
25+
- type: confirm_button
26+
content: >
27+
As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone
28+
how to start and run an operating system (like Android). Your device should be turned on. This will reset your phone.
29+
- type: link_button_with_confirm
30+
content: >
31+
- Create a Mi account on Xiaomi’s website. Beware that one account is only allowed to unlock one unique device every 30 days.
32+
33+
- Add a phone number to your Mi account, insert a SIM into your phone.
34+
35+
- Enable developer options in `Settings` > `About Phone` by repeatedly tapping MIUI Version.
36+
37+
- Link the device to your Mi account in `Settings` > `Additional settings` > `Developer options` > `Mi Unlock status`.
38+
39+
- Download the Mi Unlock app with the link bellow (Windows is required to run the app), and follow the instructions provided by the app. It may tell you that you have to wait, usually 7 days. If it does so, please wait the quoted amount of time before continuing to the next step!
40+
41+
- After device and Mi account are successfully verified, the bootloader should be unlocked.
42+
43+
- Since the device resets completely, you will need to re-enable USB debugging to continue : `Settings` > `Additional settings` > `Developer options` > `USB debugging`
44+
link: https://en.miui.com/unlock/download_en.html
45+
boot_recovery:
46+
- type: confirm_button
47+
content: >
48+
Now you need to boot a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
49+
adapting and repairing of the operating system.
50+
- type: call_button
51+
content: >
52+
Once the device is fully booted, you need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
53+
command: adb_reboot_bootloader
54+
- type: call_button
55+
content: >
56+
Install the recovery you chosen before by pressing 'Confirm and run'. Once it's done continue.
57+
command: fastboot_flash_recovery
58+
- type: call_button
59+
img: ofox.png
60+
content: >
61+
Reboot to recovery by pressing 'Confirm and run', and hold the Vol+ button of your phone UNTIL you see the recovery.
62+
If MiUI starts, you have to start the process again, since MiUI delete the recovery you just flashed.
63+
Once it's done continue.
64+
command: fastboot_reboot_recovery

0 commit comments

Comments
 (0)