Difference between revisions of "Projects:PinePhone Daily Driver"
Jump to navigation
Jump to search
| Line 59: | Line 59: | ||
** maintenance or distro-hopping can still be done by plugging in an SD Card with a system installed (since it takes precedence over the eMMC storage) | ** maintenance or distro-hopping can still be done by plugging in an SD Card with a system installed (since it takes precedence over the eMMC storage) | ||
* non-essential data (photos, videos, etc.) on an SD Card with larger capacity (currently 32 GB Samsung EVO Plus) | * non-essential data (photos, videos, etc.) on an SD Card with larger capacity (currently 32 GB Samsung EVO Plus) | ||
| − | |||
| − | |||
=== Components === | === Components === | ||
* Custom-built [[postmarketOS]] | * Custom-built [[postmarketOS]] | ||
| − | * [[swayWM]] | + | * [[swayWM]] for UI |
| − | * additional packages | + | * additional packages: |
** vim | ** vim | ||
** firefox | ** firefox | ||
** networkmanager | ** networkmanager | ||
| − | ** termite | + | ** termite, termite-terminfo |
** bluez | ** bluez | ||
| + | ** {{Todo|Keyboard etc.}} | ||
| + | |||
| + | === Setup === | ||
| + | {{IconWarn}} '''Warning:''' serial console is required to properly setup the device with [[swayWM]] since there is no touch controls by default. | ||
| + | |||
| + | {{Todo|Move some of this setup into a repository}} | ||
| + | |||
| + | ==== [[swayWM]] ==== | ||
| + | # Copy {{code|1=/etc/sway/config}} to {{code|1=~/.config/sway/config}} | ||
| + | # Edit: | ||
| + | #* {{code|1=$term termite}} | ||
| + | |||
| + | ==== [[Bluetooth]] ==== | ||
| + | * Enable the service on boot: {{code|1=rc-update add bluetooth}} | ||
| + | * Enable the controller by default: | ||
| + | {{codeblock|title=/etc/bluetooth/main.conf|1= | ||
| + | [Policy] | ||
| + | AutoEnable=true | ||
| + | }} | ||
| − | {{Todo| | + | ==== TODO ==== |
| + | {{Todo|Touch gestures and controls}} | ||
== Distributions Testing == | == Distributions Testing == | ||
Revision as of 15:06, 23 May 2020
Project: Using PinePhone as my daily driver smartphone, running Linux fulfilling Goal:Technology.
(!) All the current OS images are crashing (apart from Megous' kernel on Arch Linux ARM) on my PinePhone.
It seems they have DRAM frequency set way too high: 624 MHz instead of 552 MHz. See this thread.
Contents
Hardware Setup
- PinePhone
- Initial testing is done with PinePhone 1.1.
- Once PinePhone 1.2 becomes available, this will be the daily driven device.
- Battery
- Factory-provided at first
- Replaceable with any Samsung J7 form-factor battery[1]
- TODO: Find out more and look for a shop selling this (once needed)
- Screen protector
- Factory-provided at first
- Replacement source
- Pine64 store? Currently doesn't seem to sell it.
- Supposedly some iPhone screen protector is usable
- TODO: Find out more and look for a shop selling this (once needed)
- Protective case
- TODO: Temporary solution: similar form factor of other devices on the market?
- TODO: Source from Pine64 store
Software Wishlist
- Solid base Linux distribution
- lightweight, customizable
- community-supported with continuous updates
- large package repository
- One day of battery life
- ability to enter power-saving mode and leave it in a matter of seconds of user request
- automatic power-saving after a period of inactivity
- Convenient and efficient UI - common actions need to be easy to achieve
- switching between the apps
- turning the screen on and off
- ability to kill apps
- Support for essential apps & workflows
- Support for non-essential apps & workflows
- RSS client
- OTP generator
- Ebook reader
- Weather forecast
- Maps, navigation
- Calls & Texts
Software Setup
- OS located on the internal eMMC flash storage (to make some use of it, plus it is faster than the SD card)
- accessible as an external storage from a computer via Jumpdrive which may be flashed to a tiny SD Card (128 MB in my case)
- maintenance or distro-hopping can still be done by plugging in an SD Card with a system installed (since it takes precedence over the eMMC storage)
- non-essential data (photos, videos, etc.) on an SD Card with larger capacity (currently 32 GB Samsung EVO Plus)
Components
- Custom-built postmarketOS
- swayWM for UI
- additional packages:
- vim
- firefox
- networkmanager
- termite, termite-terminfo
- bluez
- TODO: Keyboard etc.
Setup
⚠ Warning: serial console is required to properly setup the device with swayWM since there is no touch controls by default.
TODO: Move some of this setup into a repository
swayWM
- Copy
/etc/sway/configto~/.config/sway/config - Edit:
$term termite
Bluetooth
- Enable the service on boot:
rc-update add bluetooth - Enable the controller by default:
/etc/bluetooth/main.conf[Policy]
AutoEnable=true
TODO
TODO: Touch gestures and controls
Distributions Testing
postmarketOS
Pros and Cons
- [+] Alpine Linux
Next Steps
- ☆ Flash a prebuilt image
- [+] ?
- [–] ?
- ☐ Build and flash from the repository
- ☐ Try the custom image
- ☐ Try customizing the image
UBports
Pros and Cons
Next Steps
- ☆ Flash a prebuilt image
- [+] ?
- [–] Crashes during boot.
- ☓ Waiting for a better build... (couldn't use a bootloader with lower DRAM frequency)
- ☐ Build and flash from the repository
- ☐ Try the custom image
- ☐ Try customizing the image
Mobian
Pros and Cons
- [+] Debian (almost as good as Arch Linux)
- [+] Aims to be as upstream as possible, built from source
- [–] Phosh
Next Steps
- ☑ Flash a prebuilt image
- [+] Boots, serial shell works
- [–] Bootloader needs to be replaced for lower frequency of DRAM
- [–] Phosh
- You can install Gnome, but it is not polished for the device and it is slow.
- ☓ Waiting for a better build...
- ☐ Build and flash from the repository
- ☐ Try the custom image
- ☐ Try customizing the image
Arch Linux ARM
Via Arch Linux ARM for PinePhone Installer.
Pros and Cons
- [+] Arch Linux
- [–] Relies on Megous' kernel image and updates
Next Steps
- ☑ Update to kernel 5.7
- ☓ Try again the current status and progress
- [i] Tested, boots and works, but the USB network seems broken as of 2020-05-11 --> Reverting to 5.6
- [i] Kernel 5.6.13 works with USB network as of 2020-05-17
sxmo
Pros and Cons
- [+] Based on pmos, i.e. Alpine Linux
- [+] Tiling WM is nice to use on a phone.
- [–] Tiling doesn't work completely with all the apps.
- [–] Hard to learn the controls
- [–] No real power saving.
Next Steps
- [i] Waiting for a future release.