Skip to content

Commit 5adb29b

Browse files
authored
Add support for jasmine_sprout (Mi A2 / 6X) (#410)
Related to #367 Same README order as #392 (but without lancelot, I hope there won't be a mess when we merge...) @Blackcougar-ita, could you test it please? We can help you if needed
2 parents e0bccd0 + 6d5b178 commit 5adb29b

File tree

2 files changed

+56
-1
lines changed

2 files changed

+56
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ OnePlus | Nord N200 | [dre](https://wiki.lineageos.org/devices/dre) | DE2117 | t
177177
OnePlus | 9 | lemonade | LE2110, LE2111, LE2113, LE2115 | under development
178178

179179
</details>
180-
181180
<details><summary><b>Xiaomi & Poco</b></summary>
182181

183182
Vendor | Device Name | CodeName | Models | Status
@@ -190,6 +189,7 @@ Xiaomi | Redmi Note 8 / 8T | [ginkgo](https://wiki.lineageos.org/devices/ginkgo)
190189
Xiaomi | Redmi Note 8 Pro | begonia | | untested
191190
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
192191
Xiaomi | Redmi Note 10S / 11SE / Poco M5S | [rosemary](https://wiki.lineageos.org/devices/rosemary) / maltose / secret /rosemary_p | | untested
192+
Xiaomi | Mi A2 / Mi 6X | jasmine_sprout | | untested
193193
Xiaomi | Mi 8 | [dipper](https://wiki.lineageos.org/devices/dipper) | | untested
194194
Xiaomi | Mi 9T / Redmi K20 | [davinci](https://wiki.lineageos.org/devices/davinci) / davinciin | | untested
195195
Xiaomi | Redmi K20 Pro / Mi 9T Pro | raphael / raphaelin | | untested
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
metadata:
2+
maintainer: A non (anon)
3+
brand: xiaomi
4+
device_name: Xiaomi Mi A2 / Mi 6X
5+
is_ab_device: false
6+
device_code: jasmine_sprout
7+
supported_device_codes:
8+
- jasmine_sprout
9+
untested: true
10+
notes:
11+
- Retrofit dynamic partitions ROMs are not currently supported.
12+
requirements:
13+
android: 10 (Q)
14+
steps:
15+
unlock_bootloader:
16+
- type: confirm_button
17+
content: >
18+
As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone
19+
how to start and run an operating system (like Android). Your device should be turned on. This will reset your phone.
20+
- type: link_button_with_confirm
21+
content: >
22+
- Create a Mi account on Xiaomi’s website. Beware that one account is only allowed to unlock one unique device every 30 days.
23+
24+
- Add a phone number to your Mi account, insert a SIM into your phone.
25+
26+
- Enable developer options in `Settings` > `About Phone` by repeatedly tapping MIUI Version.
27+
28+
- Link the device to your Mi account in `Settings` > `Additional settings` > `Developer options` > `Mi Unlock status`.
29+
30+
- 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!
31+
32+
- After device and Mi account are successfully verified, the bootloader should be unlocked.
33+
34+
- Since the device resets completely, you will need to re-enable USB debugging to continue : `Settings` > `Additional settings` > `Developer options` > `USB debugging`
35+
link: https://en.miui.com/unlock/download_en.html
36+
boot_recovery:
37+
- type: confirm_button
38+
content: >
39+
Now you need to boot a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
40+
adapting and repairing of the operating system.
41+
- type: call_button
42+
content: >
43+
Once the device is fully booted, you need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
44+
command: adb_reboot_bootloader
45+
- type: call_button
46+
content: >
47+
Install the recovery you chosen before by pressing 'Confirm and run'. Once it's done continue.
48+
command: fastboot_flash_recovery
49+
- type: call_button
50+
img: twrp-start.jpeg
51+
content: >
52+
Reboot to recovery by pressing 'Confirm and run', and hold the Vol+ button of your phone UNTIL you see the recovery.
53+
If MiUI starts, you have to start the process again, since MiUI delete the recovery you just flashed.
54+
Once it's done continue.
55+
command: fastboot_reboot_recovery

0 commit comments

Comments
 (0)