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

Commit 823929c6 authored by Manoj Nair's avatar Manoj Nair
Browse files

Merge branch '750-firmware-update-related-content-modification' into 'master'

Resolve "Firmware update related content modification"

Closes #750

See merge request e/documentation/user!832
parents ba35acd8 47478276
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
architecture: arm64
battery: {removable: False, capacity: 3400, tech: 'Li-Po'}
bluetooth: {spec: '5', profiles: [A2DP + aptX HD]}
before_install_device_variants:
- {device: 'Mi 8 China', firmware: 'V12.5.2.0.QEACNXM', download_link: 'https://bigota.d.miui.com/V12.5.2.0.QEACNXM/miui_MI8_V12.5.2.0.QEACNXM_f5ec813d1c_10.0.zip'}
- {device: 'Mi 8 Global', firmware: 'V12.0.3.0.QEAMIXM', download_link: 'https://bigota.d.miui.com/V12.0.3.0.QEAMIXM/miui_MI8Global_V12.0.3.0.QEAMIXM_7619340f8c_10.0.zip'}
- {device: 'Mi 8 Russia', firmware: 'V12.0.2.0.QEARUXM', download_link: 'https://bigota.d.miui.com/V12.0.2.0.QEARUXM/miui_MI8RUGlobal_V12.0.2.0.QEARUXM_94f7901ea4_10.0.zip'}
cameras:
- {flash: 'LED', info: '12 MP'}
- {flash: 'LED', info: '12 MP'}
@@ -13,6 +17,7 @@ cpu_freq: 4 x 2.8 GHz + 4 x 1.8 GHz
current_branch: 16.0
depth: 7.6 mm (0.29 in)
download_boot: devices.hold_volume_down_power_fastboot
firmware_update: firmware_update_xiaomi_sdm845
gpu: Adreno 630
height: 154.9 mm (6.10 in)
image: dipper.png
+18 −0
Original line number Diff line number Diff line
{% include templates/firmware_update_xiaomi_fastboot.md content="
fastboot flash abl_ab abl.elf
fastboot flash aop_ab aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash cmnlib_ab cmnlib.img
fastboot flash cmnlib64_ab cmnlib64.img
fastboot flash devcfg_ab devcfg.img
fastboot flash dsp dsp.img
fastboot flash hyp_ab hyp.img
fastboot flash keymaster_ab keymaster.img
fastboot flash logo logo.img
fastboot flash modem modem.img
fastboot flash qupfw_ab qupfw.img
fastboot flash storsec_ab storsec.img
fastboot flash tz_ab tz.img
fastboot flash xbl_ab xbl.img
fastboot flash xbl_config_ab xbl_config.img
" %}
 No newline at end of file
+13 −0
Original line number Diff line number Diff line
## Downloads for the {{ device.codename }}

{% if device.before_install_device_variants and device.before_install_device_variants.size > 0 %}
- Before following these instructions please ensure that the device is currently using the firmware version mentioned below. If your current installation is newer or older than the required version, please upgrade or downgrade to the required version before proceeding by following [this guide.](/{{ device.firmware_update }})
{%- if device.before_install_device_variants and device.before_install_device_variants.size > 0 %}


Download the required firmware for your model.
{%- for el in device.before_install_device_variants %}
   - {{ el.device }} - [{{ el.firmware }}]({{ el.download_link }})
{%- endfor %}
{%- else %}
1. Download the latest firmware for your device from official [website](https://new.c.mi.com/global/miuidownload/index).
{%- endif %}
{% endif %}
- [/e/OS Recovery for dev build](https://images.ecloud.global/dev/{{ device.codename }})
{% if device.build_version_dev %}
- /e/OS build : [{{ device.build_version_dev }} dev](https://images.ecloud.global/dev/{{ device.codename }})
+19 −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
   ```
   unzip -qq miui_*.zip firmware-update/*
   cd firmware-update
   ```
1. Power off the device, and boot it into bootloader mode
   
1. Run the following commands to flash firmware:
   ```
   {{- include.content -}}
   ```
1. Reboot:
   ```
   fastboot reboot
   ```
+7 −0
Original line number Diff line number Diff line
---
layout: page
title: Upgrade Firmware for Xiaomi devices
permalink: /firmware_update_xiaomi_sdm845
---

{% tf pages/firmware_update_xiaomi_sdm845.md %}
 No newline at end of file