You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPLIT] Add support for garden (Xiaomi Redmi 9A & co.) (#224)
Work started and tested in #188 : working
Requirements :
- #218 for OrangeFox support (especially `fastboot_flash_recovery` and
`fastboot_reboot_recovery`
- #221 for device specific notes (optional)
device_name: Xiaomi Redmi 9A / 9C / 9AT / 9i / 9A Sport / 10A / 10A Sport
5
+
is_ab_device: false
6
+
device_code: garden
7
+
supported_recovery:
8
+
- orangefox
9
+
- twrp
10
+
supported_device_codes:
11
+
- dandelion
12
+
- garden
13
+
- blossom
14
+
- angelican
15
+
notes:
16
+
- OAI don't support ROM that requires permissiver.
17
+
- 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)
18
+
requirements:
19
+
firmware: MiUI 12.5 (Q)
20
+
steps:
21
+
unlock_bootloader:
22
+
- type: confirm_button
23
+
content: >
24
+
As a first step, you need to unlock the bootloader. A bootloader is the piece of software, that tells your phone
25
+
how to start and run an operating system (like Android). Your device should be turned on. This will reset your phone.
26
+
- type: link_button_with_confirm
27
+
content: >
28
+
- Create a Mi account on Xiaomi’s website. Beware that one account is only allowed to unlock one unique device every 30 days.
29
+
30
+
- Add a phone number to your Mi account, insert a SIM into your phone.
31
+
32
+
- Enable developer options in `Settings` > `About Phone` by repeatedly tapping MIUI Version.
33
+
34
+
- Link the device to your Mi account in `Settings` > `Additional settings` > `Developer options` > `Mi Unlock status`.
35
+
36
+
- 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!
37
+
38
+
- After device and Mi account are successfully verified, the bootloader should be unlocked.
39
+
40
+
- Since the device resets completely, you will need to re-enable USB debugging to continue : `Settings` > `Additional settings` > `Developer options` > `USB debugging`
41
+
link: https://en.miui.com/unlock/download_en.html
42
+
boot_recovery:
43
+
- type: confirm_button
44
+
content: >
45
+
Now you need to boot a custom recovery system on the phone. A recovery is a small subsystem on your phone, that manages updating,
46
+
adapting and repairing of the operating system.
47
+
- type: call_button
48
+
content: >
49
+
Once the device is fully booted, you need to reboot into the bootloader again by pressing 'Confirm and run' here. Then continue.
50
+
command: adb_reboot_bootloader
51
+
- type: call_button
52
+
content: >
53
+
Install the recovery you chosen before by pressing 'Confirm and run'. Once it's done continue.
54
+
command: fastboot_flash_recovery
55
+
- type: call_button
56
+
img: ofox.png
57
+
content: >
58
+
Reboot to recovery by pressing 'Confirm and run', and hold the Vol+ button of your phone UNTIL you see the recovery.
59
+
If MiUI starts, you have to start the process again, since MiUI delete the recovery you just flashed.
0 commit comments