[UNOFFICIAL BUILD] Xiaomi Mi Mix 3 (perseus)

AFH has been working fine for me for a while. Occasional downtime, but usualy back in a couple of days

I continue to have problems with files that I uploaded several months ago using the FTP upload functionality (which hasn’t been working for me for quite a long time). Using the normal Web upload functionality is still pretty slow, but it does seem to work OK (mostly :slight_smile: )

Thanks @petefoth :slight_smile:
I could upload the file to AFH Germany (average speed around 512 Mb/s), and updated my post.

Hi !

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

Download

AndroidFileHost: e-1.8.1-r-20230216-UNOFFICIAL-perseus.zip | by smu44 for Mi Mix 3
Please check md5 after download!
JN share (180 days): Jaguar Network - Share
SHA256: 126359969f63accbc07d4a619e4de3153f86ecd2c005c714eb4642d700479263
Please check sha256 after download!

What's inside

Release details: v1.8-r · e / os / releases · GitLab
Commits for this release: Commits · v1.8.1-r · e / os / releases · GitLab
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.8.1-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)
1 Like

Xiaomi Mi Mix 3 (perseus)

e-1.8.1-r-20230216-UNOFFICIAL-perseus by @smu44

:white_check_mark: TWRP 3.6.2_9.0
:white_check_mark: USB OTG
:white_check_mark: USB-C Stick 256GB
:white_check_mark: LAN via OTG adapter RJ45
:white_check_mark: Main Camera
:white_check_mark: Manual pop-up Slider camera (Selfie)
:white_check_mark: /e/ camera App
:white_check_mark: HedgeCam 2 Advanced Camera + Camera2-API
:white_check_mark: Secure camera (GraphenOS) + QR-Scan
:white_check_mark: Simple Camera (Tibor Kaputa by SimpleMobileTools)
:white_check_mark: GPS
:white_check_mark: 4G | LTE ((incoming and outgoing calls))
:white_check_mark: Wi-Fi
:white_check_mark: Bluetooth keyboard
:white_check_mark: Bluetooth headset
:white_check_mark: USB-C-to-USB-C headset (device speaker is switched off correctly)
:white_check_mark: 3.5mm jack headset via USB-C-to-3.5mm adapter (device speaker is correctly turned off)
:white_check_mark: 18W wired charging
:white_check_mark: 10W wireless charging
:white_check_mark: my SmartHome applications such as open-close garage door, control windows, doors & shutters

:clap: :+1: Thanks a lot for your excellent /e/OS ROM, @smu44

2 Likes

You’re very welcome @anon29344687, thanks a lot for your feedback :smile_cat:

I’m wondering what brand of OTG Ethernet (RJ45) adapter you use? I’ve got this one but never could make it to work :frowning:

@smu44, my experience is that there is no universal USB-C to LAN RJ45 adapter that works with every device and with every custom ROM.

Since there are a ton of different models, it’s a matter of luck to find one that works. I’ve several of these solo USB-C-to-LAN-RJ45 adapters, but they are all noname made in China, so I can’t tell you a brand.

The ‘perseus’ Samsung EE-MG950 DeX docking station - also works great with the Samsung Galaxy S8 with /e/OS. It doubles as a charging station for me and also offers two USB-A ports, e.g. for an external wired keyboard and mouse.

The existing LAN connection is indicated by this symbol in the upper right corner of Mi Mix 3 display [ <-> ]

1 Like

Thanks very much @anon29344687 :smiley_cat:
The Samsung model you mention would be perfect for me, I just ordered a refurbished one for 17.50€ :tada:

@smu44, an optimal power supply for the DeX Station is Samsung EP-TA800. It delivers the required 12V~2.1A as a Power Delivery (PD 2.0) charger via USB-C to USB-C cable.

The right charging cable for the set is important to ensure the maximum current flow, e.g. Samsung EP-DN970.

Thanks again for the tip, @anon29344687.
I have this (700 VA model) https://www.eaton.com/fr/fr-fr/catalog/backup-power-ups-surge-it-power-distribution/eaton-3s-gen2-ups.html, it should be enough? :wink:
As all the devices I plugged display “fast charging” (don’t know if it’s PD or QC, or both), I’ll give it a try…


Found an english datasheet: https://www.eaton.com/content/dam/eaton/products/backup-power-ups-surge-it-power-distribution/backup-power-ups/eaton-3s-gen-2-ups---emea/eaton-3s-ups-datasheet-pa153011-en-gb-ld.pdf

@smu44, all the datasheets I could read about your Uninterruptible Power Supply (UPS) 3S700 do not show any specification of the two USB-A slots, except HID compatible USB port. This photo, however, says 2A. From this, I conclude that it offers a fixed 2A output (electrical amperage) and no variable voltages (volts). As an aside, Power Delivery (PD) is usually supported via USB-C-to-USB-C cable. You will soon know. The proof of the pudding is in the eating…

1 Like

Hi,

The DexStation works perfectly with Ethernet and USB (no HDMI output, not supported by the device), fast charging is on :smile_cat:

It came with a EP-TA20EBE power adapter which seems to do the job, but get a little warm…
So I ordered a EP-TA800, on it’s way.
The DexStation never worked with my UPS’s USB power supply, that was expected after your last post :wink:

Cost summary (incl. taxes & port):

  • Samsung DexStation EE-MG950 (refurbished) from Cash Express: 17.50€
  • Samsung power supply EP-TA800 (new) from Cdiscount: 13.97€

Hi!

Yes, Samsung DeX Station EE-MG950 comes standard with a fast charger EP-TA20E (USB A to Type-C cable) at 9 V with 1.67 A output (= 15.03 W), which is incomprehensible to me because the DeX Station officially requires 12V~2.1A = 25.2 W (see back of Dex). The EP-TA800 has sufficient 25 W, PD 3.0 PPS max. 25W. The Samsung EP-TA845 has more power than necessary with max. 45W (PD/PPS/PDO).

Well, officially the DeX Station EE-MG950 works with the Samsung Galaxy S8/S8+ unofficially also that of the Galaxy S9/9+ including HDMI Out, but - not with every Custom ROM(!).

Galaxy S8 + /e/OS-R + EP-TA800 + DeX Station EE-MG950 = HDMI Out works, though it does not display full screen.

All the more pleasing is that our beautiful Mi Mix 3 with /e/OS-R 1.8.1 and with wired LAN + USB of the DeX Station work fine. :blush:

Update:
The matching USB charging cable for the corresponding charger is also important. Not just any USB cable, especially the simple thin ones, are suitable.

1 Like

Hi Gianna, and thanks again for all the details :smiley_cat:
Although I did see the 12V requirement, i didn’t go that far with analysis!

I received the AP-TA800 last evening (did come with a cable, but don’t know the ref.).
Working fine, as expected :blush:
I’ll wait for the battery to fall down to 25%, then check if it will get as warm as the EP-TA20E…

I was successful with GitHub - Genymobile/scrcpy: Display and control your Android device over Ethernet. Interesting fact: TCP/IP ADB has to be enabled with Wi-FI, first :wink:

Hi !

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

Download

AndroidFileHost: e-1.9-r-20230317-UNOFFICIAL-perseus.zip | by smu44 for Mi Mix 3
Please check md5 after download!
JN share (180 days): Jaguar Network - Share
SHA256: d694953ca2139958b42b47aa4f16205a174e312a5784323032d74915d141a505
Please check sha256 after download!

What's inside

Release details: v1.9-r · e / os / releases · GitLab
Commits for this release: Commits · v1.9-r · e / os / releases · GitLab
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.9-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)
1 Like

Hi @smu44, fantastic! Thank you very much. Meanwhile your /e/OS ROM is running on three ‘perseus’ within my circle of friends.

1 Like

Thanks @anon29344687 for your feedback :smiley_cat:

Hi !

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

Download

AndroidFileHost: https://androidfilehost.com/?fid=10620683726822049063
Please check md5 after download!
JN share (180 days): https://share.jaguar-network.com/8a2c31fa-5e17-4db9-86bb-a1b1eeb0a1a4
SHA256: 1e06b23e4fb34ef772da7658c95c12e1ea80e9c1a449b2d6d1e95fcdfb3efdf5
Please check sha256 after download!

What's inside

Release details: https://gitlab.e.foundation/e/os/releases/-/releases/v1.10-s (sorry, no release notes for R)
Commits for this release: https://gitlab.e.foundation/e/os/releases/-/commits/v1.10-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.10-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

Hi @smu44, my user friends and I say thank you for your new build :bangbang:

All of you are very welcome :smiley_cat:

/e/ 1.10 Android 12 (S) build in progress…
Looking forward if camera will work OOTB!

Didn’t go well, will retry later…