[UNOFFICIAL BUILD] Xiaomi Mi Mix 3 (perseus)

Hi !

New 1.11 Android 11 (R) build :smiley_cat:
Please unfold sections below for details.
Feedback welcome! :pray:

Download

AndroidFileHost: https://androidfilehost.com/?fid=4279422670115729131
Please check md5 after download!
JN share (180 days): https://share.jaguar-network.com/57ac0914-0804-4b8b-bc8b-13cf98a83f81
SHA256: 7010298facc39c563b286a0ac11d9b68e8d113879868ae2fa2f51cc2ea26f622
Please check sha256 after download!

What's inside

Release details: https://gitlab.e.foundation/e/os/releases/-/releases/v1.11-r
Commits for this release: https://gitlab.e.foundation/e/os/releases/-/commits/v1.1.1-r
Everything (including BT, NFC, GPS, camera) tested working, unless proven otherwise :wink:

Installation
  • please verify that you have the latest firmware installed, also working with China V12.5.1.0.QEECNXM
  • if you have previous /e/ installed (any 11/R release), just flash it over as usual. Don’t forget to wipe cache+Dalvik
  • to clean flash over another ROM (you will lose your data !) :
    • (install +) boot to TWRP (tested OK with 3.6.2_9.0)
    • wipe cache + Dalvik + System
    • format Data
    • adb push zip file to /sdcard
    • install with TWRP
    • enjoy :smiley_cat:
  • NB : if you applied the 4th button fix, you’ll have to apply it again
Build

Built with /e/ Docker image, using the followings:

  • script (you may adjust Xmx :wink: ):
#!/bin/bash
docker pull registry.gitlab.e.foundation/e/os/docker-lineage-cicd:community
docker run \
-v "/srv/src:/srv/src" \
-v "/srv/zips:/srv/zips" \
-v "/srv/logs:/srv/logs" \
-v "/srv/ccache:/srv/ccache" \
-v "/srv/mirror:/srv/mirror" \
-v "/srv/local_manifests:/srv/local_manifests" \
-e "BRANCH_NAME=v1.11-r" \
-e "DEVICE_LIST=perseus" \
-e "REPO=https://gitlab.e.foundation/e/os/releases.git" \
-e "ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx32G" \
registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community
  • roomservice manifest:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="LineageOS/android_kernel_xiaomi_sdm845" path="kernel/xiaomi/sdm845" remote="github" />
  <project name="LineageOS/android_hardware_xiaomi" path="hardware/xiaomi" remote="github" />
</manifest>
  • patches (after first repo sync):
    • device/xiaomi/perseus/BoardConfig.mk:
      • add BUILD_BROKEN_DUP_RULES := true just after DEVICE_PATH := device/xiaomi/perseus
    • device/xiaomi/sdm845-common/pocketmode/Android.mk:
      • comment out LOCAL_PRIVATE_PLATFORM_APIS := true
    • Camera fix (from ArrowOS #10895 & #10896):
      • delete device/lineage/sepolicy/common/dynamic/property_contexts and device/lineage/sepolicy/common/vendor/property_contexts
      • in device/qcom/sepolicy/qva/private/property_contexts, add vendor.camera.aux.packagelist u:object_r:vendor_persist_camera_prop:s0 just before
        persist.vendor.camera.privapp.list u:object_r:vendor_persist_camera_prop:s0
    • Camera missing files in LineageOS repository (from GitHub - josevega96/android_vendor_xiaomi_perseus):
      • download vendor/xiaomi/perseus/proprietary/vendor/etc/camera/megviifacepp_0_5_2_model, vendor/xiaomi/perseus/proprietary/vendor/lib/libmegface.so, vendor/xiaomi/perseus/proprietary/vendor/lib/libMegviiFacepp-0.5.2.so (don’t forget to chown/chmod if needed)

Hi !

New 1.13 Android 11 (R) build :smiley_cat:
Sorry, I skipped the 1.12 release.
Please unfold sections below for details.
Feedback welcome! :pray:

Download

AndroidFileHost: https://androidfilehost.com/?fid=10620683726822069918
JN share (180 days): https://share.jaguar-network.com/6498c64d-25f5-49f8-946d-d83ae9a1a4c3

SHA256: 3184f0bd2af37acdff6926d12e103e000f05929140be0cadca9aac6b3ee2e713
MD5: 0b7b01cc3e1f3176e8325f0bae1a70b5

:warning: Please check md5 or sha256 after download!

What's inside

Release details: https://gitlab.e.foundation/e/os/releases/-/releases/v1.13-r
Commits for this release: https://gitlab.e.foundation/e/os/releases/-/commits/v1.13-r
(previous, skipped, release: https://gitlab.e.foundation/e/os/releases/-/releases/v1.12.3-r and https://gitlab.e.foundation/e/os/releases/-/commits/v1.12-r).

Everything (including BT, NFC, GPS, camera) tested working, unless proven otherwise :wink:

Installation
  • please verify that you have the latest firmware installed, also working with China V12.5.1.0.QEECNXM
  • if you have previous /e/ installed (any 11/R release), just flash it over as usual. Don’t forget to wipe cache+Dalvik
  • to clean flash over another ROM (you will lose your data !) :
    • (install +) boot to TWRP (tested OK with 3.6.2_9.0)
    • wipe cache + Dalvik + System
    • format Data
    • adb push zip file to /sdcard
    • install with TWRP
    • enjoy :smiley_cat:
  • NB : if you applied the 4th button fix, you’ll have to apply it again
Build

Built with /e/ Docker image, using the followings:

  • script (you may adjust Xmx :wink: ):
#!/bin/bash
docker pull registry.gitlab.e.foundation/e/os/docker-lineage-cicd:community
docker run \
-v "/srv/src:/srv/src" \
-v "/srv/zips:/srv/zips" \
-v "/srv/logs:/srv/logs" \
-v "/srv/ccache:/srv/ccache" \
-v "/srv/mirror:/srv/mirror" \
-v "/srv/local_manifests:/srv/local_manifests" \
-e "BRANCH_NAME=v1.13-r" \
-e "DEVICE_LIST=perseus" \
-e "REPO=https://gitlab.e.foundation/e/os/releases.git" \
-e "ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx32G" \
registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community
  • roomservice manifest:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="LineageOS/android_kernel_xiaomi_sdm845" path="kernel/xiaomi/sdm845" remote="github" />
  <project name="LineageOS/android_hardware_xiaomi" path="hardware/xiaomi" remote="github" />
</manifest>
  • patches (after first repo sync):
    • device/xiaomi/perseus/BoardConfig.mk:
      • add BUILD_BROKEN_DUP_RULES := true just after DEVICE_PATH := device/xiaomi/perseus
    • device/xiaomi/sdm845-common/pocketmode/Android.mk:
      • comment out LOCAL_PRIVATE_PLATFORM_APIS := true
    • Camera fix (from ArrowOS #10895 & #10896):
      • delete device/lineage/sepolicy/common/dynamic/property_contexts and device/lineage/sepolicy/common/vendor/property_contexts
      • in device/qcom/sepolicy/qva/private/property_contexts, add vendor.camera.aux.packagelist u:object_r:vendor_persist_camera_prop:s0 just before
        persist.vendor.camera.privapp.list u:object_r:vendor_persist_camera_prop:s0
    • Camera missing files in LineageOS repository (from GitHub - josevega96/android_vendor_xiaomi_perseus):
      • download vendor/xiaomi/perseus/proprietary/vendor/etc/camera/megviifacepp_0_5_2_model, vendor/xiaomi/perseus/proprietary/vendor/lib/libmegface.so, vendor/xiaomi/perseus/proprietary/vendor/lib/libMegviiFacepp-0.5.2.so (don’t forget to chown/chmod if needed)
2 Likes

@smu44, please new 1.15 Android 11 (R) build?!

It was under testing, but I ran out of free time :confused:
:warning: I noticed a lack of sound when recording videos, but I’m not sure if it’s not just my device …
:warning: I couldn’t test radio (no SIM available at this time)

@anon29344687 here you are: https://androidfilehost.com/?fid=10620683726822081270
SHA256: 76ca7c928b7462af2bd0ccda7b06607c5b2c4a01551caece771460ce8a4c9836
Previous build & install method apply.

1 Like

@smu44, I made an update from V1.12 to V1.15 via adb sideload.

:white_check_mark: In my video test recording, the sound was recorded and given back without interruptions.

:white_check_mark: 4G LTE works (incoming and outgoing calls).

1 Like

Thanks @anon29344687 for your testings and feedback!

Teaser :smiley_cat:

First class, @smu44 :heavy_heart_exclamation: Let action (ROM) follow, please.

Hi !

New 1.15 Android 13 (T) build! :tada:

Please unfold sections below for details.
Feedback welcome! :pray:

Download

AndroidFileHost: https://androidfilehost.com/?fid=10620683726822084244
JN share (180 days): https://share.jaguar-network.com/e9dd84c5-0189-4632-80f0-747d8f6e927d

SHA256: 37e78a82ebb89ef076b27507f0152f6586a172d08f64d03711938a1ac3f5d3fb
MD5: dd8903a3b384b80ba9863cda703fd878

:warning: Please check md5 or sha256 after download!

What's inside

Release details: https://gitlab.e.foundation/e/os/releases/-/releases/v1.15-t
Commits for this release: https://gitlab.e.foundation/e/os/releases/-/commits/v1.15-t

Everything (including BT, NFC, GPS, camera) tested working, unless proven otherwise :wink:

Installation
  • please verify that you have at least the V12.0.3.0.QEECNXM firmware installed, also working with V12.5.1.0.QEECNXM
  • if you have previous /e/ installed (any 11/R release), just flash it over as usual. Don’t forget to take full backups before flashing and wipe cache+Dalvik after flashing
    • :white_check_mark: I could upgrade “in place” from /e/OS 1.15R with user encryption enabled :partying_face:
  • to clean flash over another ROM (you will lose your data !) :
    • (install +) boot to TWRP (tested OK with 3.6.2_9.0)
    • wipe cache + Dalvik + system + system_ext + vendor
    • format Data
    • adb push zip file to /sdcard
    • install with TWRP
    • enjoy :smiley_cat:
  • NB : if you applied the 4th button fix, you’ll have to apply it again
Build

Built using /e/ Docker image, with:

  • -v "/srv/local_manifests:/srv/local_manifests"
  • -e "BRANCH_NAME=v1.15-t"
  • -e "DEVICE_LIST=perseus"

Custom manifest in /srv/local_manifests:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="LineageOS/android_kernel_xiaomi_sdm845" path="kernel/xiaomi/sdm845" remote="github" revision="lineage-20" clone-depth="1" />
  <project name="LineageOS/android_hardware_xiaomi" path="hardware/xiaomi" remote="github" revision="lineage-20" clone-depth="1" />
  <project name="TheMuppets/proprietary_vendor_xiaomi_perseus" path="vendor/xiaomi/perseus" revision="lineage-20" clone-depth="1" />
</manifest>

:sparkles: Muppets are back in Github (I made a backup clone).

No patches anymore!

1 Like

Hi !

New 1.16 Android 13 (T) build!

Please unfold sections below for details.
Feedback welcome! :pray:

Download

AndroidFileHost: https://androidfilehost.com/?fid=16385555061192789586

SHA256: e1fabf738d7f6771efc45801610319b31c16d5d3bef9cd5a2dfd45c7ac09ef28
MD5: 435d19ff794c53a398972e4a6dd1d657

:warning: Please check md5 or sha256 after download!

What's inside

Release details: https://gitlab.e.foundation/e/os/releases/-/releases/v1.16-t
Commits for this release: https://gitlab.e.foundation/e/os/releases/-/commits/v1.16-t

Everything (including BT, NFC, GPS, camera) tested working, unless proven otherwise :wink:

Installation
  • please verify that you have at least the V12.0.3.0.QEECNXM firmware installed, also working with V12.5.1.0.QEECNXM
  • if you have previous /e/ installed (any 12/T /e/OS release), just flash it over as usual. Don’t forget to take full backups before flashing and wipe cache+Dalvik after flashing
    • :warning: I couldn’t decrypt Data partition with TWRP anymore. Update has to be done from SD-Card or OTG USB (should also work with sideload, untested here).
  • to clean flash over another ROM (you will lose your data !) :
    • (install +) boot to TWRP (tested OK with 3.6.2_9.0)
    • wipe cache + Dalvik + system + system_ext + vendor
    • format Data
    • adb push zip file to /sdcard
    • install with TWRP
    • enjoy :smiley_cat:
  • NB : if you applied the 4th button fix, you’ll have to apply it again
Build

Built using /e/ Docker image, with:

  • -v "/srv/local_manifests:/srv/local_manifests"
  • -e "BRANCH_NAME=v1.16-t"
  • -e "DEVICE_LIST=perseus"

Custom manifest in /srv/local_manifests:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="LineageOS/android_device_xiaomi_perseus" path="device/xiaomi/perseus" remote="github" revision="lineage-20" />
  <project name="LineageOS/android_device_xiaomi_sdm845-common" path="device/xiaomi/sdm845-common" remote="github" revision="lineage-20" />
  <project name="LineageOS/android_kernel_xiaomi_sdm845" path="kernel/xiaomi/sdm845" remote="github" revision="lineage-20" />
  <project name="LineageOS/android_hardware_xiaomi" path="hardware/xiaomi" remote="github" revision="lineage-20" />
  <project name="TheMuppets/proprietary_vendor_xiaomi_perseus" path="vendor/xiaomi/perseus" revision="lineage-20" />
</manifest>

Hi !

New 1.17 Android 13 (T) build!

Please unfold sections below for details.
Feedback welcome! :pray:

Download

AndroidFileHost: https://www.androidfilehost.com/?fid=16385555061192797302

SHA256: 2c9aab398fe21765b52a3c48ad8713c5f011d62e93ccdc2ee57b7e6f35e8d5dd
MD5: 5d5bb5f3787fecb4cfa814cbb8272d96

:warning: Please check md5 or sha256 after download!

What's inside

Release details: https://gitlab.e.foundation/e/os/releases/-/releases/v1.17-t
Commits for this release: https://gitlab.e.foundation/e/os/releases/-/commits/v1.17-t

Everything (including BT, NFC, GPS, camera) tested working, unless proven otherwise :wink:

Installation
  • please verify that you have at least the V12.0.3.0.QEECNXM firmware installed, also working with V12.5.1.0.QEECNXM
  • if you have previous /e/ installed (any 12/T /e/OS release), just flash it over as usual. Don’t forget to take full backups before flashing and wipe cache+Dalvik after flashing
    • :warning: I couldn’t decrypt Data partition with TWRP anymore. Update has to be done from SD-Card, OTG USB or ADB sideload.
  • to clean flash over another ROM (you will lose your data !) :
    • (install +) boot to TWRP (tested OK with 3.6.2_9.0)
    • wipe cache + Dalvik + system + system_ext + vendor
    • format Data
    • adb push zip file to /sdcard
    • install with TWRP
    • enjoy :smiley_cat:
  • NB : if you applied the 4th button fix, you’ll have to apply it again
Build

Built using /e/ Docker image, with:

  • -v "/srv/local_manifests:/srv/local_manifests"
  • -e "BRANCH_NAME=v1.17-t"
  • -e "DEVICE_LIST=perseus"

Custom manifest in /srv/local_manifests:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="LineageOS/android_device_xiaomi_perseus" path="device/xiaomi/perseus" remote="github" revision="lineage-20" />
  <project name="LineageOS/android_device_xiaomi_sdm845-common" path="device/xiaomi/sdm845-common" remote="github" revision="lineage-20" />
  <project name="LineageOS/android_kernel_xiaomi_sdm845" path="kernel/xiaomi/sdm845" remote="github" revision="lineage-20" />
  <project name="LineageOS/android_hardware_xiaomi" path="hardware/xiaomi" remote="github" revision="lineage-20" />
</manifest>
2 Likes

Xiaomi Mi Mix 3 (perseus)

is now officially supported by …

1 Like

Hi !

New 1.18 Android 13 (T) build!

:warning: Untested so far, I can’t afford missing a single call right now :confused:

Please unfold sections below for details.
Feedback welcome! :pray:

Download

:exclamation: New storage

:warning: Please check md5 or sha256 after download!

What's inside

Release details: https://gitlab.e.foundation/e/os/releases/-/releases/v1.18-t
Commits for this release: https://gitlab.e.foundation/e/os/releases/-/commits/v1.18-t

Everything (including BT, NFC, GPS, camera) tested working, unless proven otherwise :wink:

Installation
  • please verify that you have at least the V12.0.3.0.QEECNXM firmware installed, also working with V12.5.1.0.QEECNXM
  • if you have previous /e/ installed (any 12/T /e/OS release), just flash it over as usual. Don’t forget to take full backups before flashing and wipe cache+Dalvik after flashing
    • :warning: I couldn’t decrypt Data partition with TWRP anymore. Update has to be done from SD-Card, OTG USB or ADB sideload.
  • to clean flash over another ROM (you will lose your data !) :
    • (install +) boot to TWRP (tested OK with 3.6.2_9.0)
    • wipe cache + Dalvik + system + system_ext + vendor
    • format Data
    • adb push zip file to /sdcard
    • install with TWRP
    • enjoy :smiley_cat:
  • NB : if you applied the 4th button fix, you’ll have to apply it again
Build

Built using /e/ Docker image, with:

  • -v "/srv/local_manifests:/srv/local_manifests"
  • -e "BRANCH_NAME=v1.18-t"
  • -e "DEVICE_LIST=perseus"

Custom manifest in /srv/local_manifests:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="LineageOS/android_device_xiaomi_perseus" path="device/xiaomi/perseus" remote="github" revision="lineage-20" />
  <project name="LineageOS/android_device_xiaomi_sdm845-common" path="device/xiaomi/sdm845-common" remote="github" revision="lineage-20" />
  <project name="LineageOS/android_kernel_xiaomi_sdm845" path="kernel/xiaomi/sdm845" remote="github" revision="lineage-20" />
  <project name="LineageOS/android_hardware_xiaomi" path="hardware/xiaomi" remote="github" revision="lineage-20" />
</manifest>

Contrary to your installation instructions, I used the installation steps according to LineageOS Wiki because I wanted to see if and what happens.

So I did not install TWRP but e-Recovery version 1.18 (20231222). The file recovery.img is contained in the file e-1.18-t-20231222-UNOFFICIAL-perseus.zip by smu44.

The entire installation went smoothly with the e-recovery message:

Install completed with status 0.

:white_check_mark: working: BT, NFC, GPS
:white_check_mark: working: 4TG LTE (incoming + outgoing calls)
:white_check_mark: working: Main camera + Selfie camera (slider)
:white_check_mark: working: Charging - 18W wired, QC4 + 10W wireless

Future manual updates can be done without PC, because e-Recovery supports updating per adb sideload via internal storage and UDB- C stick without data loss.

:muscle: Thanks for building @smu44

Thanks @Xxpsilon for your feedback! :smiley_cat:
I will include it in future announcement posts.

I’m wondering if e-Recovery could successfully decrypt an encrypted Data partition… Will give it a try!

I finally ended up with unofficial OrangeFox Recovery (link from https://t.me/MiMix3Global):

  • e-Recovery doesn’t include ability to decrypt & mount data partition
  • Fox can, and comes with an embedded backup solution (as TWRP did)
  • it has excellent guide and FAQ: https://wiki.orangefox.tech/en/guides

Then installation went smoothly :smiley_cat:

It is planned by /e/ to officially support the Xiaomi 'Mi MIX 3 ‘perseus’ from /e/ V.1.20

1 Like

I missed this one, thanks @Xxpsilon for the good news! :smiley_cat:

The quality of your ‘unofficial’ ROM was and is first class, @smu44. In an official /e/OS version I only see the advantage for ‘normal users’ that there will be OTA updates in the future.

1 Like

Hi !

New 1.19.1 Android 13 (T) build!

Please unfold sections below for details.
Feedback welcome! :pray:

Download

:exclamation: New storage

:warning: Please check md5 or sha256 after download!

What's inside

Release details: https://gitlab.e.foundation/e/os/releases/-/releases/v1.19.1-t
Commits for this release: https://gitlab.e.foundation/e/os/releases/-/commits/v1.19-t

Everything (including BT, NFC, GPS, camera) tested working, unless proven otherwise :wink:

Installation
  • please verify that you have at least the V12.0.3.0.QEECNXM firmware installed, also working with V12.5.1.0.QEECNXM
  • if you have previous /e/ installed (any 13/T /e/OS release), just flash it over as usual. Don’t forget to take full backups before flashing and wipe cache+Dalvik after flashing
  • to clean flash over another ROM (you will lose your data !) :
    • (install +) boot to Recovery
    • wipe cache + Dalvik + system + system_ext + vendor
    • format Data
    • adb push zip file to /sdcard
    • install with TWRP
    • enjoy :smiley_cat:
  • NB : if you applied the 4th button fix, you’ll have to apply it again
Build

Built using /e/ Docker image, with:

  • -v "/srv/local_manifests:/srv/local_manifests"
  • -e "BRANCH_NAME=v1.19.1-t"
  • -e "DEVICE_LIST=perseus"

Custom manifest in /srv/local_manifests:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="LineageOS/android_device_xiaomi_perseus" path="device/xiaomi/perseus" remote="github" revision="lineage-20" />
  <project name="LineageOS/android_device_xiaomi_sdm845-common" path="device/xiaomi/sdm845-common" remote="github" revision="lineage-20" />
  <project name="LineageOS/android_kernel_xiaomi_sdm845" path="kernel/xiaomi/sdm845" remote="github" revision="lineage-20" />
  <project name="LineageOS/android_hardware_xiaomi" path="hardware/xiaomi" remote="github" revision="lineage-20" />
</manifest>
1 Like