User:Operachi
Appearance
♻ | This user has ported postmarketOS to 1 device. |
---|
![]() |
This user has a GitLab profile at gitlab.com instance. |
---|
This user has a pmOS's GitLab profile. |
This user has a Matrix account. |
This user has a Codeberg profile. |
AboutMe Website: https://operachi061.github.io
List of devices I own
Device | Notes |
---|---|
Motorola Moto E5 Plus (motorola-hannah) | PostmarketOS |
OnePlus 6 (oneplus-enchilada) | Android + PostmarketOS (Main PostmarketOS Phone) |
Samsung Galaxy A5 2015 (samsung-a5) | PostmarketOS Server |
Xiaomi Redmi Note 8 Pro (xiaomi-begonia) | Droidian Phosh |
Notes
There's port for Motorola Moto E5 Plus (hannah), but this model has 3 variants with different CPU's.
The official port is for MSM8937, because the kernel doesn't have the Device Tree file of the MSM8917 version. If you want to install port for MSM8917, you must build kernel manually to lk2nd detect the device tree.
To do this, run:
$ git clone https://github.com/msm89x7-mainline/linux.git -b msm89x7/6.13.6 --depth 1
$ cd linux
$ source <pmbootstrap-folder>/helpers/envkernel.sh
# cp <pmports-folder>/device/testing/linux-postmarketos-qcom-msm89x7/config-postmarketos-qcom-msm89x7.aarch64 .output/.config
Kernel doesn't have MSM8917 variant Device Tree file. To add this, run:
$ cd arch/arm64/boot/dts/qcom/
$ cp msm8937-motorola-hannah.dts msm8917-motorola-hannah.dts
$ sed -i 's/"msm8937.dtsi"/"msm8917.dtsi"/g; s/"qcom,msm8937"/"qcom,msm8917"/g; s/<QCOM_ID_MSM8937 0>/<QCOM_ID_MSM8917 0>/g' msm8917-motorola-hannah.dts
$ sed -i '74i dtb-$(CONFIG_ARCH_QCOM) += msm8917-motorola-hannah.dtb' Makefile
$ cd ../../../../../
$ curl https://pastebin.com/raw/AiVWj55z -o 001-msm8917-camera-bringup.patch
$ patch -p1 < 001-msm8917-camera-bringup.patch
Then run:
$ make -j$(nproc)
$ pmbootstrap build linux-postmarketos-qcom-msm89x7 --envkernel
While running source
command, if you using Fish shell, then replace envkernel.sh
with envkernel.fish
After building the kernel, install port from Generic_MSM89x7_(qcom-msm89x7)#Installation.