Xiaomi Mi 8 (SDM845): Difference between revisions
mNo edit summary |
m gitlab.com -> gitlab.postmarketos.org (bot edit) |
||
(20 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{ note | The device currently only works under outdated pmaports using linux 5.12.8 which is missing important components and is pending [https://gitlab.com/sdm845-mainline/linux/-/merge_requests/102 sdm845-mainline/linux!102] to port on Linux 6.11 }} | |||
{{Infobox device | {{Infobox device | ||
| manufacturer = Xiaomi | | manufacturer = Xiaomi | ||
| name = Mi 8/Mi 8 Pro | | name = Mi 8/Mi 8 Pro/Mi 8 Explorer | ||
| codename = xiaomi-dipper, xiaomi-equuleus | | codename = xiaomi-dipper, xiaomi-equuleus, xiaomi-ursa | ||
| image = File: | | image = File:dipper-phosh.jpg | ||
| imagecaption = Mi 8 | | imagecaption = Mi 8 | ||
| releaseyear = 2018 | | releaseyear = 2018 | ||
| category = testing | | category = testing | ||
| originalsoftware = Android | | originalsoftware = Android (MIUI) | ||
| originalversion = 8.0 | | originalversion = 8.0 | ||
| extendedversion = 10 (MIUI 12) | | extendedversion = 10 (MIUI 12) | ||
Line 14: | Line 16: | ||
| gpu = Adreno 630 | | gpu = Adreno 630 | ||
| storage = 64/128 GB | | storage = 64/128 GB | ||
| display = 1080 x 2248 AMOLED | | display = Samsung EA8074 CMD TFT LCD, multitouch, 16M Colors, 1080 x 2248 AMOLED | ||
| memory = 6 GB | | memory = 6 GB | ||
| architecture = aarch64 | | architecture = aarch64 | ||
| status_usbnet = | | type = Handset | ||
<!-- Features --> | |||
| status_usbnet = - | |||
| status_flashing = Y | | status_flashing = Y | ||
| status_touch = | | status_emmc = Y | ||
| status_screen = | | status_touch = N <!-- Pending https://gitlab.com/sdm845-mainline/linux/-/merge_requests/102 --> | ||
| status_screen = N <!-- Pending https://gitlab.com/sdm845-mainline/linux/-/merge_requests/102 --> | |||
| status_wifi = Y | | status_wifi = Y | ||
| status_fde = Y | |||
| status_fde = | | status_mainline = N <!-- Pending https://gitlab.com/sdm845-mainline/linux/-/merge_requests/102 --> | ||
| status_mainline = | | status_battery = ? | ||
| status_battery = | | status_3d = ? | ||
| status_3d = | | status_audio = ? | ||
| status_bluetooth = ? | |||
| status_audio = | | status_camera = ? | ||
| status_bluetooth = | | status_gps = ? | ||
| status_camera = | | status_mobiledata = ? | ||
| status_gps = | | status_sms = ? | ||
| status_mobiledata = | | status_calls = ? | ||
| status_sms = | | status_otg = y | ||
| status_calls = | | status_nfc = ? | ||
| status = | |||
| booting = | <!-- SENSORS --> | ||
| | | status_accel = ? | ||
| | | status_magnet = ? | ||
| status_light = ? | |||
| status_proximity = ? | |||
| status_hall = ? | |||
| status_barometer = ? | |||
| status_powersensor = ? | |||
<!-- MISC --> | |||
| status_dvb = - | |||
| status_cameraflash = ? | |||
| status_keyboard = - | |||
| status_touchpad = - | |||
| status_usba = - <!-- USB-C only --> | |||
| status_hdmidp = - | |||
| status_irtx = - | |||
| status_irrx = - | |||
| status_stylus = - | |||
| status_sdcard = - <!-- No sdcard --> | |||
| status_haptics = - | |||
| status_ethernet = - | |||
| status_fossbootloader = ? | |||
<!-- Unassigned --> | |||
| status_uart = ? <!-- Should have it, dunno where --> | |||
| status = Support has been [https://gitlab.postmarketos.org/postmarketOS/pmaports/-/blob/b98990f14680e1a01656a51eef8dc695dc1dbc2a/main/linux-postmarketos-qcom-sdm845/APKBUILD submitted in 2021 for Linux 5.12.8], but never ported further. Pending [https://gitlab.com/sdm845-mainline/linux/-/merge_requests/102 sdm-mainline/linux!102] | |||
| booting = N | |||
| packaged = N <!-- In works: https://gitlab.com/sdm845-mainline/linux/-/merge_requests/102 --> | |||
| supported = N | |||
}} | }} | ||
== Phone details == | == Phone details == | ||
The Mi 8 | The relevant Mi8 family with SDM845 chips has the following devices: | ||
* Xiaomi Mi 8 (xiaomi-dipper) | |||
* Xiaomi Mi 8 Pro (xiaomi-equuelus) | |||
* Xiaomi Mi 8 Explorer (xiaomi-ursa) | |||
The phones appear to be nearly identical and apparently all use the same mainboard, but there are differences: | |||
* Dipper has bigger battery and different fingerprint sensor (mounted at the back while equuelus and ursa have it under the screen) | |||
A special case might be with xiaomi-ursa, which is a device with transparent back that have a fake plastic components as from available information it was used only in China for early adopters as a way to develop the firmware and then ~3 months later the dipper and equuelus were released to the public with ursa having it's firmware flashed on equuelus and sold in the rest of the world as Xiaomi Mi 8 Pro with titanium transparent back. | |||
The motherboard in ursa is not always the same and appears to be an earlier prototype which might have hidden hardware issues. Additionally the firmware for ursa is china-only and appears to have more features. | |||
Reportedly the Xiaomi Pocophone F1 (xiaomi-beryllium) is allegedly built from ursa's designs to be very similar, but has different mainboard and devices. | |||
=== Partition map === | === Partition map === | ||
Observed to be the same on Dipper and Ursa, while probably same on Equuelus. | |||
<div class="toccolours mw-collapsible mw-collapsed" style="max-width: 1000px; overflow: auto;"> | <div class="toccolours mw-collapsible mw-collapsed" style="max-width: 1000px; overflow: auto;"> | ||
<code>equuleus:/ # ls -la /dev/block/bootdevice/by-name/ </code> | <code>equuleus:/ # ls -la /dev/block/bootdevice/by-name/ </code> | ||
Line 145: | Line 192: | ||
== Contributors == | == Contributors == | ||
<!-- * ''[[user:handle|Nick name]]'' --> | <!-- * ''[[user:handle|Nick name]]'' --> | ||
* ''[[user:Kreyren|KREYREN]]'' | |||
== Maintainer(s) == | == Maintainer(s) == | ||
Line 154: | Line 203: | ||
== How to enter flash mode == | == How to enter flash mode == | ||
=== Bootloader Unlocking === | === Bootloader Unlocking === | ||
{{ note | Do NOT attempt to bypass the unlock key via MiUnlockToolv2 as [https://github.com/francescotescari/XiaoMiToolV2/issues/23 Xiaomi patched the vulnerability on their servers] and when attempted it could result in a longer wait time or in some cases you bricked device that can only be unlocked at Official Xiaomi Store or their Authorized Technician for a fee or ~40 EUR provided you have a proof of purchase. | |||
<br/> | |||
Additionally if you are unwilling to wait and are open to paying ~40 EUR then the same '''AUTHORIZED''' techician has Xiaomi-provided tools to bypass the lock. 3rd party might also have similar tools, but their effectivity is questionable as the unlock requires a server-side access.}} | |||
Like other Xiaomi devices, the user will have to acquire the bootloader unlock key: https://en.miui.com/unlock | Like other Xiaomi devices, the user will have to acquire the bootloader unlock key: https://en.miui.com/unlock | ||
Line 159: | Line 212: | ||
=== Recovery mode === | === Recovery mode === | ||
At any state of the device hold {{button|Volume Up}} and {{button|Power}} button until the recovery screen shows up. | |||
=== Flashing (Download, Fastboot) mode === | === Flashing (Download, Fastboot) mode === | ||
Same as recovery, but this time hold the {{button|Volume Down}} and {{button|Power}} keys. | |||
== Debug UART == | |||
Warning: Unknown voltage | |||
[[File:Mi8 uart.png|300px]] | |||
== Links == | == Links == | ||
* {{MR|2257|pmaports}} Initial merge request | |||
* [https://gitlab.com/sdm845-mainline/linux/-/merge_requests/102 sdm845-mainline/linux!102] Port on Linux 6.11 | |||
* [https://secyukle.com/dosya/uploads/schematics/Xiaomi%2BMi8%2B%28dipper%29%2BSchematic.rar Schematics For Xiaomi Dipper] | |||
* [https://www.gsmarena.com/xiaomi_mi_8-9065.php GSMARENA] | * [https://www.gsmarena.com/xiaomi_mi_8-9065.php GSMARENA] | ||
Not submitted to the main line | |||
https://gitlab.com/Akitlove |
Latest revision as of 15:13, 4 November 2024
The device currently only works under outdated pmaports using linux 5.12.8 which is missing important components and is pending sdm845-mainline/linux!102 to port on Linux 6.11 |
![]() Mi 8 | |
Manufacturer | Xiaomi |
---|---|
Name |
Mi 8/ Mi 8 Pro/ Mi 8 Explorer |
Codename | xiaomi-dipper, xiaomi-equuleus, xiaomi-ursa |
Released | 2018 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 845 (SDM845) |
CPU | Octa-core (4x 2.8 GHz Kryo 385 Gold & 4x 1.7 GHz Kryo 385 Silver) |
GPU | Adreno 630 |
Display | Samsung EA8074 CMD TFT LCD, multitouch, 16M Colors, 1080 x 2248 AMOLED |
Storage | 64/128 GB |
Memory | 6 GB |
Architecture | aarch64 |
Software | |
Original software | Android (MIUI) |
Original version | 8.0 |
Extended version | 10 (MIUI 12) |
FOSS bootloader | ? |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | no |
Flashing |
Works |
---|---|
Internal storage |
Works |
Screen |
Broken |
Touchscreen |
Broken |
Multimedia | |
Connectivity | |
WiFi |
Works |
Modem | |
Miscellaneous | |
FDE |
Works |
Sensors | |
Phone details
The relevant Mi8 family with SDM845 chips has the following devices:
- Xiaomi Mi 8 (xiaomi-dipper)
- Xiaomi Mi 8 Pro (xiaomi-equuelus)
- Xiaomi Mi 8 Explorer (xiaomi-ursa)
The phones appear to be nearly identical and apparently all use the same mainboard, but there are differences:
- Dipper has bigger battery and different fingerprint sensor (mounted at the back while equuelus and ursa have it under the screen)
A special case might be with xiaomi-ursa, which is a device with transparent back that have a fake plastic components as from available information it was used only in China for early adopters as a way to develop the firmware and then ~3 months later the dipper and equuelus were released to the public with ursa having it's firmware flashed on equuelus and sold in the rest of the world as Xiaomi Mi 8 Pro with titanium transparent back. The motherboard in ursa is not always the same and appears to be an earlier prototype which might have hidden hardware issues. Additionally the firmware for ursa is china-only and appears to have more features.
Reportedly the Xiaomi Pocophone F1 (xiaomi-beryllium) is allegedly built from ursa's designs to be very similar, but has different mainboard and devices.
Partition map
Observed to be the same on Dipper and Ursa, while probably same on Equuelus.
equuleus:/ # ls -la /dev/block/bootdevice/by-name/
Contributors
Maintainer(s)
Users owning this device
How to enter flash mode
Bootloader Unlocking
Do NOT attempt to bypass the unlock key via MiUnlockToolv2 as Xiaomi patched the vulnerability on their servers and when attempted it could result in a longer wait time or in some cases you bricked device that can only be unlocked at Official Xiaomi Store or their Authorized Technician for a fee or ~40 EUR provided you have a proof of purchase.
|
Like other Xiaomi devices, the user will have to acquire the bootloader unlock key: https://en.miui.com/unlock
The device will not unlock if the device isn't 7 days old (from the time when your device connects to internet and powered on, and linked with Mi Account)
Recovery mode
At any state of the device hold
and button until the recovery screen shows up.Flashing (Download, Fastboot) mode
Same as recovery, but this time hold the
and keys.Debug UART
Warning: Unknown voltage
Links
- pmaports!2257 Initial merge request
- sdm845-mainline/linux!102 Port on Linux 6.11
- Schematics For Xiaomi Dipper
Not submitted to the main line https://gitlab.com/Akitlove