Jump to content

User:Operachi: Difference between revisions

From postmarketOS Wiki
Operachi (talk | contribs)
No edit summary
Operachi (talk | contribs)
m Change value in sed
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
Hello, i'm operachi from poland and i linux fan/user. i love linux and i know all about linux.
{{Userbox container|
{{User ports|1}}
<!-- Motorola Moto E5 Plus -->
{{User GitLab|Operachi}}
{{User GitLab|Operachi|gitlab.postmarketos.org}}
{{User Matrix|@operachi:matrix.org}}
{{User Gitea|Operachi|codeberg.org}}
}}
AboutMe Website: https://operachi061.github.io


== List of devices I own ==
== List of devices I own ==
{{My devices}}
{{My devices}}
{{Owns device|Motorola_Moto_E5_Plus_(motorola-hannah)| PostmarketOS |}}
{{Owns device|OnePlus_6_(oneplus-enchilada)| Android + PostmarketOS (Main PostmarketOS Phone) |}}
{{Owns device|Samsung_Galaxy_A5_2015_(samsung-a5)| PostmarketOS Server |}}
{{Owns device|Xiaomi_Redmi_Note_8_Pro_(xiaomi-begonia)| Droidian Phosh |}}


{{Owns device|Samsung_Galaxy_A3_2014_()| With great stock rom |}}
== Notes ==
{{Owns device|Samsung_Galaxy_J3_2016_(samsung-j3xnlte)| Without postmarketos because with other ui postmarketos is not working so i have resurrection remix. I writed "samsung-j3xnlte" for used devices but in real i have samsung-j3xlte without "n" |}}
There's port for Motorola Moto E5 Plus (hannah), but this model has 3 variants with different CPU's.
{{Owns device|Samsung_Galaxy_A5_2015_()| With custom rom in short lineage os 18 android 11|}}
{{Owns device|Motorola_Moto_E5_Plus_(motorola-hannah)| With custom rom arrow os android 11 but i created port for this phone |}}
{{Owns device|Xiaomi_Redmi_Note_8_Pro_(xiaomi-begonia)| My main with stock rom android 11 |}}


== Wikis created by me ==
The official port is for MSM8937, because the kernel doesn't have the Device Tree file of the MSM8917 version.
https://wiki.postmarketos.org/wiki/Motorola_Moto_E5_Plus_(motorola-hannah)
If you want to install port for MSM8917, you must build kernel manually to lk2nd detect the device tree.
 
To do this, run:
<syntaxhighlight lang="shell-session">
$ 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
</syntaxhighlight>
While running the <code>source</code> command, if you are using Fish shell, replace the <code>envkernel.sh</code> with the <code>envkernel.fish</code>
 
Kernel doesn't have MSM8917 variant Device Tree file. To add this, run:
<syntaxhighlight lang="shell-session">
$ 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 ../../../../../
</syntaxhighlight>
Then run:
<syntaxhighlight lang="shell-session">
$ make -j$(nproc)
$ pmbootstrap build linux-postmarketos-qcom-msm89x7 --envkernel
</syntaxhighlight>
 
After building the kernel, install port from [[Generic_MSM89x7_(qcom-msm89x7)#Installation]].
 
[[Category:Guide]]

Latest revision as of 17:19, 1 April 2025

This user has ported postmarketOS to 1 device.
pmOS logo This user has a pmOS's GitLab profile.
Element logo This user has a Matrix account.
Codeberg logo 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 --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.