Pine64-arch install
From wikinotes
You may also be interested in Archlinux arm hydrospanner
NOTE:
I still have no idea what I'm doing here.
Documentation
github https://github.com/dreemurrs-embedded/Pine64-Arch/releases
Tutorials
archlinux arm on pinephone https://xnux.eu/howtos/install-arch-linux-arm.html
Install
# 1. download 'phosh' release from github # (can likely use bare release now) # 2. extract xz -d ping.img.xz # 2. dd .img file to SD card sudo dd if=pine.img of=/dev/mmcblk1 bs=1M status=progress conv=fsync
Serial Port
You can purchase a USB-C-headphone jack adapter and connect via serial cable.
See https://bloggerbust.ca/post/my-first-experience-connecting-to-the-phinephone-via-serial-console/
Flashing Image
# 1. download image from releases on https://github.com/dreemurrs-embedded/Pine64-Arch # 2. decompress image xz -d pine.img.xz # 3. flash image sudo dd if=pine.img of=/dev/mmcblk1 bs=1M status=progress conv=fsync
Custom Install
# set username (superficial, does not affect unix user) # you can create additional users, but not login as them Settings > Users# interactive login, then enable ssh # user: alarm # pass: 123456 sudo systemctl enable sshd sudo systemctl start sshd # temporarily start x2goserver to configure finnicky desktop apps w/ mouse sudo pacman -S x2goserver sudo systemctl start x2goserver # obtain ip address ip addr # adjust apps to phone (fixes evolution, possibly gnome apps) dconf write /sm/puri/phoc/scale-to-fit true # continue over sshFrom here, use generate installscript using
${saltmaster}/setup/hydrospanner/archlinux-arm/
.
Make sure to restart or disable salt-minion following provisioning.
Carrier Configuration
calls/non-imessage sms works (chatty). 4G connected, but not assigned an ip addr.
- put sim card in (mine is too large, but kind of works) - settings > mobile: - [x] enable (top-right) - [x] mobile data - network mode: 2G, 3G, 4G - network: koodo - access point names: # sp.telus.com # able to call/send-recv sms # unable to connect to internetI also had to go to https://koodomobile.com/imessage and disable imessage. (?)
Mobile Data Connection
my sim card was not pin-locked.
sudo nmcli c show # list connections sudo nmcli dev status # list avail devices sudo nmcli connection # list connections sudo nmcli connection up ${conn_name} # bring up connection sudo systemctl status ModemManager # modem status sudo journalctl -u ModemManager.service # logsAdditional/low-level configuration resources:
Media
~/Music # scp music here for gnome-music
Tips/Tricks
# apparently gnome-contacts inherits carddav contacts from evolution # evolution can be resized to fit screen using `dconf`. dconf write /sm/puri/phoc/scale-to-fit true