Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 579e887e authored by Manoj Nair's avatar Manoj Nair
Browse files

Merge branch '754-corrections-and-updates-to-alioth-install-guide' into 'master'

Resolve "Corrections and updates to alioth install guide"

Closes #754

See merge request e/documentation/user!836
parents f804a9c2 bf6047bd
Loading
Loading
Loading
Loading
+14 −3
Original line number Diff line number Diff line
architecture: arm64
battery: {removable: False, capacity: 4520, tech: 'Li-Po'}
before_install_file_name: before_install_needs_specific_android_fw
before_install_args: {version: 11}
before_install_device_variants:
- {device: 'Mi 11X India', firmware: 'V13.0.6.0.SKHINXM', download_link: 'https://bigota.d.miui.com/V13.0.6.0.SKHINXM/miui_ALIOTHINGlobal_V13.0.6.0.SKHINXM_2492066c1d_12.0.zip'}
- {device: 'POCO F3 EEA', firmware: 'V13.0.6.0.SKHEUXM', download_link: 'https://bigota.d.miui.com/V13.0.6.0.SKHEUXM/miui_ALIOTHEEAGlobal_V13.0.6.0.SKHEUXM_c393876947_12.0.zip'}
- {device: 'POCO F3 Global', firmware: 'V13.0.3.0.SKHMIXM', download_link: 'https://bigota.d.miui.com/V13.0.3.0.SKHMIXM/miui_ALIOTHGlobal_V13.0.3.0.SKHMIXM_07afcb74cd_12.0.zip'}
- {device: 'POCO F3 Indonesia', firmware: 'V13.0.2.0.SKHIDXM', download_link: 'https://bigota.d.miui.com/V13.0.2.0.SKHIDXM/miui_ALIOTHIDGlobal_V13.0.2.0.SKHIDXM_80a5a01aa6_12.0.zip'}
- {device: 'POCO F3 Russia', firmware: 'V13.0.2.0.SKHRUXM', download_link: 'https://bigota.d.miui.com/V13.0.2.0.SKHRUXM/miui_ALIOTHRUGlobal_V13.0.2.0.SKHRUXM_101e499a8e_12.0.zip'}
- {device: 'POCO F3 Taiwan', firmware: 'V13.0.1.0.SKHTWXM', download_link: 'https://bigota.d.miui.com/V13.0.1.0.SKHTWXM/miui_ALIOTHTWGlobal_V13.0.1.0.SKHTWXM_1573a396df_12.0.zip'}
- {device: 'POCO F3 Turkey', firmware: 'V13.0.1.0.SKHTRXM', download_link: 'https://bigota.d.miui.com/V13.0.1.0.SKHTRXM/miui_ALIOTHTRGlobal_V13.0.1.0.SKHTRXM_1eaf50fc2f_12.0.zip'}
- {device: 'Redmi K40 China', firmware: 'V13.0.5.0.SKHCNXM', download_link: 'https://bigota.d.miui.com/V13.0.5.0.SKHCNXM/miui_ALIOTH_V13.0.5.0.SKHCNXM_540c833165_12.0.zip'}
bluetooth: {spec: '5.1', profiles: [A2DP]}
before_recovery_install: {instructions: 'boot_stack', partitions: [vendor_boot]}
cameras:
- {flash: 'LED', info: 'Main Sensor 48 MP'}
- {flash: 'LED', info: 'UltraWide Sensor 8 MP'}
@@ -15,6 +23,7 @@ cpu_freq: 1 x 3.2 GHz + 3 x 2.42 GHz + 4 x 1.8 GHz
current_branch: 18.1
depth: 7.8 mm (0.31 in)
download_boot: devices.hold_volume_down_power_fastboot
firmware_update: firmware_update_xiaomi_sm8250_vab
gpu: Adreno 650
height: 163.7 mm (6.44 in)
image: alioth.png
@@ -64,7 +73,9 @@ region: All
maturity: orange
install:
- { mode: Install doc }
oem_unlock_file_name: oem_unlock_xiaomi
before_recovery_install_file_name: before_recovery_install_boot_stack
recovery_install_command: fastboot flash boot
recovery_install_file_name: recovery_install_fastboot_xiaomi
recovery_install_file_name: recovery_install_fastboot_xiaomi_before_install
install_e_file_name: install_e_with_erecovery
downloads_file_name: device_downloads_erecovery
+19 −0
Original line number Diff line number Diff line
{% include templates/firmware_update_xiaomi_fastboot_payload.md content="
fastboot flash abl_ab abl.img
fastboot flash aop_ab aop.img
fastboot flash bluetooth_ab bluetooth.img
fastboot flash cmnlib_ab cmnlib.img
fastboot flash cmnlib64_ab cmnlib64.img
fastboot flash devcfg_ab devcfg.img
fastboot flash dsp_ab dsp.img
fastboot flash featenabler_ab featenabler.img
fastboot flash hyp_ab hyp.img
fastboot flash imagefv_ab imagefv.img
fastboot flash keymaster_ab keymaster.img
fastboot flash modem_ab modem.img
fastboot flash qupfw_ab qupfw.img
fastboot flash tz_ab tz.img
fastboot flash uefisecapp_ab uefisecapp.img
fastboot flash xbl_ab xbl.img
fastboot flash xbl_config_ab xbl_config.img
" %}
+18 −0
Original line number Diff line number Diff line
{% include alerts/warning.html content="Make sure to download exact firmware for your model. You can discern your model from Settings > About phone > MIUI version (Eg: In MIUI version V13.0.6.0 SKHMIXM 'MI' represents your phone region, which is Global). You can also verify your Xiaomi phone at [official site](https://www.mi.com/global/verify)." %}
{% include alerts/tip.html content="Some devices might have buggy USB support while in bootloader mode, if you see `fastboot` hanging with no output when using commands such as `fastboot getvar ...`, `fastboot flash ...` you may have to try a different USB port (preferably a USB Type-A 2.0 one) or use a USB hub." %}

1. Extract firmware files from zip using [payload-dumper-go](https://github.com/ssut/payload-dumper-go)
   ```
   payload-dumper-go -o . miui_*.zip
   ```
2. Power off the device, and boot it into bootloader mode


3. Run the following commands to flash firmware:
   ```
   {{- include.content -}}
   ```
4. Reboot:
   ```
   fastboot reboot
   ```
+17 −0
Original line number Diff line number Diff line
## Unlocking the bootloader

{% include templates/unlock_bootloader.md %}

{% include alerts/tip.html content="It is highly recommended to have the latest official MIUI dev package installed on the device, before proceeding with unlock." %}

1. Create a Mi account on [Xiaomi’s website](https://global.account.xiaomi.com/pass/register).
1. Add a phone number to your Mi account.
1. Insert a SIM into your phone.
1. Enable developer options in `Settings` > `About Phone` by repeatedly tapping `MIUI Version`.
1. Link the device to your Mi account in `Settings` > `Additional settings` > `Developer options` > `Mi Unlock status`.
1. Download the [Mi Unlock app](https://en.miui.com/unlock/download_en.html) (Windows is required to run the app).
1. Run the Mi Unlock app and follow the instructions provided by the app. **It may tell you that you have to wait up to 30 days.** If it does so, please wait the quoted amount of time before continuing to the next step!
1. After device and Mi account are successfully verified, the bootloader should be unlocked.
1. Since the device resets completely, you will need to re-enable USB debugging to continue.

> A Mi account is required to apply for permissions. You don’t need to re-apply for permissions to unlock new devices, but beware that one account is only allowed to unlock one unique device every 30 days.
+5 −0
Original line number Diff line number Diff line
{% if device.is_ab_device %}
{% include templates/recovery_install_fastboot_ab.md %}
{% else %}
{% include templates/recovery_install_fastboot_generic_install.md %}
{% endif %}
 No newline at end of file
Loading