Jump to content

Xiaomi Mi 5 (xiaomi-gemini): Difference between revisions

From postmarketOS Wiki
R (talk | contribs)
R (talk | contribs)
No edit summary
Line 36: Line 36:


== Contributors ==
== Contributors ==
* pinoaffe
* R


== Maintainer(s) ==
== Maintainer(s) ==
* pinoaffe
* R


== Device owners ==
== Device owners ==
Line 45: Line 45:


== How to enter flash mode ==
== How to enter flash mode ==
Either run `adb reboot bootloader` while the phone is booted into android,
Either run `adb reboot bootloader` while the phone is booted in Android,
or turn the device off and hold the power button and the volume down button.
or turn the device off and hold the power button and the volume down button.
Your device should now be in so-called "fastboot" mode.
Your device should now be in "fastboot" mode.


== Installation ==
== Installation ==
<!-- add more sections below as necessary, e.g. Wifi, photos, ... -->
<!-- add more sections below as necessary, e.g. Wifi, photos, ... -->
Common process, boot to Fastboot and then flash boot.img
Standard procedure, boot to Fastboot and then flash boot.img and the rootfs


== Mainline ==
== Mainline ==


Should be quite feasible, since downstream DTs are available and msm8996 runs relatively mature mainline kernel at this point.
Work-in-progress. For more information see this issue: https://gitlab.com/msm8996-mainline/linux-msm8996/-/issues/1
 
An almost identical device, based on the same board, is the [[ Xiaomi Mi Note 2 (xiaomi-scorpio)]], which runs stable mainline Linux.
 
For more information see this issue: https://gitlab.com/msm8996-mainline/linux-msm8996/-/issues/1


== See also ==
== See also ==
* [https://source.codeaurora.org/quic/la/kernel/lk/tree/?h=lk.lnx.1.0.r5-rel Latest lk version for msm8996]
* [https://source.codeaurora.org/quic/la/kernel/lk/tree/?h=lk.lnx.1.0.r5-rel Latest lk version for msm8996]
* [https://gitlab.com/pinoaffe/pmaports fork of the aports repo with APKBUILDs for xiaomi-gemini]
* [https://gitlab.com/pinoaffe/pmaports fork of the aports repo with APKBUILDs for xiaomi-gemini]
<!--
* [https://gitlab.com/cunidev/linux-msm8996 Temporary mainline kernel fork for xiaomi-gemini]
Link to related gitlab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234):
* {{MR|CHANGEME}} Initial merge request
* {{issue|CHANGEME}} Some related issue
You can also add normal web links:
* [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page]
-->
 
4.4 kernels for gemini, untested:
* https://github.com/sirmordred/Kernel_LA.HB.1.1.5_CAF-4.4/tree/gemini
* https://github.com/xNombre/msm-4.4

Revision as of 12:22, 5 July 2021

This device is marked as not booting.
Xiaomi Mi 5
Xiaomi Mi5
Xiaomi Mi5
Manufacturer Xiaomi
Name Mi 5
Codename xiaomi-gemini
Released 2016
Hardware
Chipset Qualcomm MSM8996 Snapdragon 820
CPU Quad-core (2x 1.8 GHz Kryo & 2x 1.36 GHz Kryo) or Quad-core (2x 2.15 GHz Kryo & 2x 1.6 GHz Kryo)
GPU Adreno 530
Display 1080x1920
Storage 32/64/128 GB
Memory 3/4 GB
Architecture aarch64
Software
Original software Android 6.0 - 8.0
postmarketOS
Category testing
Pre-built images no


Contributors

  • R

Maintainer(s)

  • R

Device owners


How to enter flash mode

Either run `adb reboot bootloader` while the phone is booted in Android, or turn the device off and hold the power button and the volume down button. Your device should now be in "fastboot" mode.

Installation

Standard procedure, boot to Fastboot and then flash boot.img and the rootfs

Mainline

Work-in-progress. For more information see this issue: https://gitlab.com/msm8996-mainline/linux-msm8996/-/issues/1

See also