Jump to content

User:Lucia-selvlysende

From postmarketOS Wiki
📱 This user's main device is a OnePlus_8_Pro_(oneplus-instantnoodlep).
pmOS logo 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.