User:Lucia-selvlysende: Difference between revisions
m Moved the userbox. |
m →Using Sxmo on samsung-degaswifi: Updated versions. |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Userbox container| | {{Userbox container| | ||
{{User main device|OnePlus_8_Pro_(oneplus-instantnoodlep)}} | {{User main device|OnePlus_8_Pro_(oneplus-instantnoodlep)}} | ||
{{User GitLab|lucia-selvlysende|gitlab.postmarketos.org}} | |||
}} | }} | ||
Transfem college student in the US. I've been learning to program and have been working on a voxel game since April 2024. Switched to Linux Mint in November, and atm (winter break) I'm trying to install pmOS on my old tablet (samsung-degaswifi). | Transfem college student in the US. I've been learning to program and have been working on a voxel game since April 2024. Switched to Linux Mint in November, and atm (winter break) I'm trying to install pmOS on my old tablet (samsung-degaswifi). | ||
'''Discord:''' lucia.selvlysende | |||
== My Devices == | == My Devices == | ||
{{My devices}} | {{My devices}} | ||
== Installation Notes | == Installation Notes for samsung-degaswifi == | ||
=== Flashing TWRP with Heimdall === | === Flashing TWRP with Heimdall === | ||
Ran into this error on Mint: | |||
=== Running | <pre> | ||
Initialising protocol... | |||
ERROR: Failed to send handshake! | |||
ERROR: Protocol initialisation failed! | |||
</pre> | |||
Tried Arch and everything ran as expected. | |||
=== Running <code>pmbootstrap install --android-recovery-zip --recovery-install-partition=data</code> === | |||
Trying this on Arch gave me the following error, regardless of which pmOS version I used: | Trying this on Arch gave me the following error, regardless of which pmOS version I used: | ||
<pre> | |||
WARNING: opening /home/lucia/.local/var/pmbootstrap/packages/v24.12: No such file or directory | WARNING: opening /home/lucia/.local/var/pmbootstrap/packages/v24.12: No such file or directory | ||
</pre> | |||
Switching to Mint resolved the issue. Interestingly, there was no option for v24.12. | |||
=== Running <code>adb sideload</code> === | |||
First, the instructions on the samsung-degaswifi page don't work at all, as adb can't find the file. The "Sideload without pmbootstrap" instructions [[Installation from recovery mode|here]] worked perfectly. The pmbootstrap sideloading method fails in accordance with [https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2441 this issue]. | |||
Second, I ran into [https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3163 this issue]. Using <code>adb push</code> and installing with TWRP gets further. | |||
=== Running <code>adb push</code> and Installing with TWRP === | |||
First, I ran into [https://gitlab.postmarketos.org/postmarketOS/postmarketos-android-recovery-installer/-/issues/14 this issue]. The suggested fix (shown below) works perfectly. To add this fix yourself, locate the recovery zip, extract it, and make the following change to pmos_chroot: | |||
<pre> | |||
# Mount the logfile and pmos.zip so we can access it inside the chroot | |||
# for file in "pmos.log" "pmos.zip"; do | |||
# { umount "$CHROOT"/"$file" ; rm "$CHROOT"/"$file" ; } || : | |||
# touch "$CHROOT"/"$file" | |||
# done | |||
# mount --bind /tmp/postmarketos/pmos.log "$CHROOT"/pmos.log | |||
# mount --bind "$ZIP" "$CHROOT"/pmos.zip | |||
cp /tmp/postmarketos/pmos.log "$CHROOT"/pmos.log | |||
cp "$ZIP" "$CHROOT"/pmos.zip | |||
</pre> | |||
Next, I ran into [https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/2170#note_462028 this issue]. I got stuck here for a while. Eventually, after the 30th or so attempt, it just worked. The only difference between the last failed attempt and the successful attempt (that I was aware of) was that I wiped the system partition in addition to cache, data, and internal storage. | |||
Additionally, the log file wasn't being updated after pmos_install starts running. See the issue I posted about it [https://gitlab.postmarketos.org/postmarketOS/postmarketos-android-recovery-installer/-/issues/15 here]. | |||
== Using Sxmo on samsung-degaswifi == | |||
''postmarketOS v24.12 and SXMO 1.17 (dwm)'' | |||
I'll try making a deviceprofile soon, but for now, here's a list of issues I've run into, and what I've done to fix some of them. | |||
=== Issues & Fixes === | |||
==== Virtual Keyboard ==== | |||
The virtual keyboard does not work out of the box. These lines need to be added to <code>~/.config/sxmo/profile</code>: | |||
<pre> | |||
# Enable keyboard. | |||
export DISPLAY=:0 | |||
export SXMO_NO_KEYBOARD= | |||
export KEYBOARD=svkbd-mobile-intl | |||
</pre> | |||
In newer version of SXMO, replace <code>SXMO_NO_KEYBOARD</code> with <code>SXMO_NO_VIRTUAL_KEYBOARD</code>. | |||
=== | ==== Locking & Power Off ==== | ||
Lock and Lock (Screen off) in the Power menu do not work. Power off works, but if the device is charging, it'll reboot. Trying to charge the tablet while it is off will cause it to boot, but input will not work when booting this way. I have not looked into these yet. When I find a fix, I'll add it here. | |||
==== Rotation ==== | |||
The gesture to rotate the screen does not work. The same is true in the Config menu and for Autorotate. I have not looked into this yet. When I find a fix, I'll add it here. | |||
==== Networks ==== | |||
The list of available networks displays duplicates for each available network, and connecting to them via the the Networks menu sometimes works and sometimes doesn't. Fortunately, nmtui is available and works just fine. It can also be used to remove the duplicate networks. | |||
<div style="display: none;"> | <div style="display: none;"> | ||
{{Owns device|OnePlus_8_Pro_(oneplus-instantnoodlep)|Current main device, got it for Christmas 2024 (used, but a big upgrade from samsung-degaswifi).}} | {{Owns device|OnePlus_8_Pro_(oneplus-instantnoodlep)|Current main device, got it for Christmas 2024 (used, but a big upgrade from samsung-degaswifi).}} | ||
{{Owns device|Samsung_Galaxy_Tab_4_7.0_(samsung-degaswifi)|SM-T230NU. Currently trying to install pmOS.}} | {{Owns device|Samsung_Galaxy_Tab_4_7.0_(samsung-degaswifi)|SM-T230NU. Currently trying to install pmOS.}} | ||
</div> | </div> |
Latest revision as of 18:32, 8 January 2025
📱 | This user's main device is a OnePlus_8_Pro_(oneplus-instantnoodlep). |
---|
This user has a pmOS's GitLab profile. |
Transfem college student in the US. I've been learning to program and have been working on a voxel game since April 2024. Switched to Linux Mint in November, and atm (winter break) I'm trying to install pmOS on my old tablet (samsung-degaswifi).
Discord: lucia.selvlysende
My Devices
Device | Notes |
---|---|
OnePlus 8 Pro (oneplus-instantnoodlep) | Current main device, got it for Christmas 2024 (used, but a big upgrade from samsung-degaswifi). |
Samsung Galaxy Tab 4 7.0 (samsung-degaswifi) | SM-T230NU. Currently trying to install pmOS. |
Installation Notes for samsung-degaswifi
Flashing TWRP with Heimdall
Ran into this error on Mint:
Initialising protocol... ERROR: Failed to send handshake! ERROR: Protocol initialisation failed!
Tried Arch and everything ran as expected.
Running pmbootstrap install --android-recovery-zip --recovery-install-partition=data
Trying this on Arch gave me the following error, regardless of which pmOS version I used:
WARNING: opening /home/lucia/.local/var/pmbootstrap/packages/v24.12: No such file or directory
Switching to Mint resolved the issue. Interestingly, there was no option for v24.12.
Running adb sideload
First, the instructions on the samsung-degaswifi page don't work at all, as adb can't find the file. The "Sideload without pmbootstrap" instructions here worked perfectly. The pmbootstrap sideloading method fails in accordance with this issue.
Second, I ran into this issue. Using adb push
and installing with TWRP gets further.
Running adb push
and Installing with TWRP
First, I ran into this issue. The suggested fix (shown below) works perfectly. To add this fix yourself, locate the recovery zip, extract it, and make the following change to pmos_chroot:
# Mount the logfile and pmos.zip so we can access it inside the chroot # for file in "pmos.log" "pmos.zip"; do # { umount "$CHROOT"/"$file" ; rm "$CHROOT"/"$file" ; } || : # touch "$CHROOT"/"$file" # done # mount --bind /tmp/postmarketos/pmos.log "$CHROOT"/pmos.log # mount --bind "$ZIP" "$CHROOT"/pmos.zip cp /tmp/postmarketos/pmos.log "$CHROOT"/pmos.log cp "$ZIP" "$CHROOT"/pmos.zip
Next, I ran into this issue. I got stuck here for a while. Eventually, after the 30th or so attempt, it just worked. The only difference between the last failed attempt and the successful attempt (that I was aware of) was that I wiped the system partition in addition to cache, data, and internal storage.
Additionally, the log file wasn't being updated after pmos_install starts running. See the issue I posted about it here.
Using Sxmo on samsung-degaswifi
postmarketOS v24.12 and SXMO 1.17 (dwm)
I'll try making a deviceprofile soon, but for now, here's a list of issues I've run into, and what I've done to fix some of them.
Issues & Fixes
Virtual Keyboard
The virtual keyboard does not work out of the box. These lines need to be added to ~/.config/sxmo/profile
:
# Enable keyboard. export DISPLAY=:0 export SXMO_NO_KEYBOARD= export KEYBOARD=svkbd-mobile-intl
In newer version of SXMO, replace SXMO_NO_KEYBOARD
with SXMO_NO_VIRTUAL_KEYBOARD
.
Locking & Power Off
Lock and Lock (Screen off) in the Power menu do not work. Power off works, but if the device is charging, it'll reboot. Trying to charge the tablet while it is off will cause it to boot, but input will not work when booting this way. I have not looked into these yet. When I find a fix, I'll add it here.
Rotation
The gesture to rotate the screen does not work. The same is true in the Config menu and for Autorotate. I have not looked into this yet. When I find a fix, I'll add it here.
Networks
The list of available networks displays duplicates for each available network, and connecting to them via the the Networks menu sometimes works and sometimes doesn't. Fortunately, nmtui is available and works just fine. It can also be used to remove the duplicate networks.