Jump to content

User:Operachi

From postmarketOS Wiki
♻ This user has ported postmarketOS to 1 device.
GitLab logo This user's gitlab.com GitLab profile is @Operachi.
pmOS logo This user's pmOS GitLab profile is @Operachi.
Matrix logo This user is @operachi on matrix.org.
Codeberg logo This user's Codeberg profile is @Operachi.

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 --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

While running the source command, if you are using Fish shell, replace the envkernel.sh with the envkernel.fish

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 '77i dtb-$(CONFIG_ARCH_QCOM) += msm8917-motorola-hannah.dtb' Makefile 
$ cd ../../../../../

Then run:

$ make -j$(nproc) 
$ pmbootstrap build linux-postmarketos-qcom-msm89x7 --envkernel

After building the kernel, install port from Generic_MSM89x7_(qcom-msm89x7)#Installation.