Difference between revisions of "Projects:PinePhone Daily Driver"

From Dejvino's Knowledge Base
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Project: Using [[PinePhone]] as my daily driver smartphone, running [[Linux]] fulfilling [[Goal:Technology]].
 
Project: Using [[PinePhone]] as my daily driver smartphone, running [[Linux]] fulfilling [[Goal:Technology]].
  
{{Warning|1=All the current OS images are crashing (apart from [[Megous]]' kernel on [[Arch Linux ARM]]) on my [[PinePhone]].
+
{{Info|1=Active project as of 2022}}
 
 
It seems they have DRAM frequency set way too high: 624 MHz instead of 552 MHz. See [https://forum.pine64.org/showthread.php?tid=9832 this thread].}}
 
  
 
== Hardware Setup ==
 
== Hardware Setup ==
* [[PinePhone]]
+
* [[PinePhone]] (more precisely, [[PinePhone Pro]])
** Initial testing is done with [[PinePhone 1.1]].
+
* Screen protector: iPhone 6 XL screen protector (see [https://wiki.pine64.org/index.php/PinePhone_FAQ])
** Once [[PinePhone 1.2]] becomes available, this will be the daily driven device.
+
* Case: none
* Battery
 
** Factory-provided at first
 
** Replaceable with any Samsung J7 form-factor battery[https://wiki.pine64.org/index.php/PinePhone#Specifications]
 
*** {{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
 
## Terminal
 
## Web browser ([[Firefox]])
 
## Passwords manager ([[Keepass]]))
 
## Personal Information Manager with [[WebDAV]] sync support for calendar, contacts
 
## Email client
 
## Calculator, Alarm
 
## IM client (XMPP, Matrix, Slack)
 
## Music player
 
## Camera & Video recorder
 
## VPN client
 
# Support for non-essential apps & workflows
 
#* RSS client
 
#* OTP generator
 
#* Ebook reader
 
#* Weather forecast
 
#* Maps, navigation
 
#* Calls & Texts
 
  
== Software Setup ==
+
=== Notes ===
* OS located on the internal [[eMMC]] flash storage (to make some use of it, plus it is faster than the SD card)
+
* Battery replacement: any Samsung J7 form-factor battery[https://wiki.pine64.org/index.php/PinePhone#Specifications] [https://wiki.pine64.org/index.php/PinePhone_FAQ#Battery]
** accessible as an external storage from a computer via [[PinePhone_Software#Jumpdrive|Jumpdrive]] which may be flashed to a tiny SD Card (128 MB in my case)
+
* Case alternatives:
** 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)
+
** Wireless charging back cover - generates too much heat, way less efficient than a USB-C cable
* non-essential data (photos, videos, etc.) on an SD Card with larger capacity (currently 32 GB Samsung EVO Plus)
+
** Soft transparent protective case from the [[Pine64]] store - [[PinePhone Pro]] is already sturdy enough, plus the case acts as an unnecessary insulation
  
=== Components ===
+
== Software Stack ==
* [[postmarketOS]] with [[sxmo]]
+
# OS: Arch Linux ARM from [[Danctnix]]
* {{todo|Fill me!}}
+
## bluetooth-autoconnect - automatically connects to known devices
* System packages:
+
## [https://github.com/bulletmark/sleep-inhibitor sleep-inhibitor] - prevents sleep during audio playback
** [[networkmanager]]
+
# Terminal: (default)
** [[termite]], termite-terminfo
+
# Web browser: [[Firefox]]
** [[bluez]]
+
# Passwords manager: [[KeepassXC]]
** {{todo|1=alsa-utils (to unmute speaker via {{code|1=alsamixer}} and then save as default via {{code|1=alsactl store}})}}
+
# Email client: [[Geary]]
* App packages:
+
# Calculator: (default)
** [[vim]]
+
# Alarm: [[Birdie]]
** [[firefox]]
+
# IM client: [[Mirage]]
 +
# Music player:
 +
## [[Lollypop]] for locally-stored music
 +
## [[VLC]] for NAS-stored music
 +
# Podcast player: [[Pragha]]
 +
# Podcast downloader: [[Podget]]
 +
# Camera & Video recorder: [[Megapixels]]
 +
# Calendar & Contacts sync: [[Evolution]]
 +
# VPN client: ---
 +
# RSS client: ---
 +
# OTP generator: ---
 +
# Ebook reader: ---
 +
# Weather forecast: ---
 +
# Maps, navigation: ---
  
=== Setup ===
+
=== Partitions ===
{{Todo|Fill me!}}
+
* OS on the microSD card
 +
* /home on the internal [[eMMC]] flash storage, encrypted
  
==== TODOs ====
+
This allows easier OS swapping while keeping my personal data and settings.
* {{Todo|Touch gestures and controls}}
 
** [[sxmo#lisgd]]
 
** [[easystroke]]
 
** [[wmctrl]], [[xdotool]], [[xte]], ...
 
** Custom input device? [https://python-evdev.readthedocs.io/en/latest/tutorial.html]
 
* {{Todo|Configure [[Firefox]] for touch: [https://wiki.postmarketos.org/wiki/Firefox]?}}
 
* {{todo|acpi for battery monitoring?}}
 
  
 
== Related ==
 
== Related ==
 
* [[Projects:PinePhone Daily Driver Distributions Testing]]
 
* [[Projects:PinePhone Daily Driver Distributions Testing]]
* [[Projects:PinePhone Daily Driver with Sway]]
+
* [[Projects:PinePhone Daily Driver with Arch Linux]]
 +
* [[Projects:PinePhone Daily Driver with Sway]] (deprecated)
 
* [[PinePhone Hardware]]
 
* [[PinePhone Hardware]]
 
* [[PinePhone Software]]
 
* [[PinePhone Software]]

Latest revision as of 13:47, 5 June 2022

Project: Using PinePhone as my daily driver smartphone, running Linux fulfilling Goal:Technology.

[i] Active project as of 2022

Hardware Setup

Notes

  • Battery replacement: any Samsung J7 form-factor battery[2] [3]
  • Case alternatives:
    • Wireless charging back cover - generates too much heat, way less efficient than a USB-C cable
    • Soft transparent protective case from the Pine64 store - PinePhone Pro is already sturdy enough, plus the case acts as an unnecessary insulation

Software Stack

  1. OS: Arch Linux ARM from Danctnix
    1. bluetooth-autoconnect - automatically connects to known devices
    2. sleep-inhibitor - prevents sleep during audio playback
  2. Terminal: (default)
  3. Web browser: Firefox
  4. Passwords manager: KeepassXC
  5. Email client: Geary
  6. Calculator: (default)
  7. Alarm: Birdie
  8. IM client: Mirage
  9. Music player:
    1. Lollypop for locally-stored music
    2. VLC for NAS-stored music
  10. Podcast player: Pragha
  11. Podcast downloader: Podget
  12. Camera & Video recorder: Megapixels
  13. Calendar & Contacts sync: Evolution
  14. VPN client: ---
  15. RSS client: ---
  16. OTP generator: ---
  17. Ebook reader: ---
  18. Weather forecast: ---
  19. Maps, navigation: ---

Partitions

  • OS on the microSD card
  • /home on the internal eMMC flash storage, encrypted

This allows easier OS swapping while keeping my personal data and settings.

Related