User Tools

Site Tools


devices:cheeseburger

Information

  • Resources for the OnePlus 5

xda-developers

Latest platform-tools

Linux

Windows

Factory Image

Filesystem Maintenance

Information

LineageOS

  • /dev/block/sda3 is /cache as ext4
  • /dev/block/sde21 is /system as ext4
  • /dev/block/sda13 is /data and /sdcard as ext4
  • /dev/block/bootdevice/by-name/modem is /firmware as vfat
  • /dev/block/sdf6 is /vendor as ext4

Official

  • /dev/block/sda3 is /cache as ext4
  • /dev/block/sde21 is /system as ext4
  • /dev/block/sda13 is /data and /sdcard as ext4
  • /dev/block/sde10 is /firmware as vfat

e2fsck

Information

  • This checks the ext4 filesystems and fixes any issues with them

Unmount

umount '/cache' '/system' '/data' '/sdcard' '/vendor'

e2fsck

e2fsck -y -f -v '/dev/block/sda3'
e2fsck -y -f -v '/dev/block/sde21'
e2fsck -y -f -v '/dev/block/sda13'
e2fsck -y -f -v '/dev/block/sdf6'

fstrim

  • :!: If not running from LOS 16, the /vendor partition won't exist

AIO

umount '/cache' '/system' '/data' '/sdcard' '/firmware' '/vendor' || mount '/dev/block/sda3' '/cache' && echo 'Mounted /cache partition and trimming...' && fstrim -v '/cache' && mount '/dev/block/sde21' '/system' && echo 'Mounted /system partition and trimming...' && fstrim -v '/system' && mount '/dev/block/sda13' '/data' && echo 'Mounted /data partition and trimming...' && fstrim -v '/data' && mount '/dev/block/sdf6' '/vendor' && echo 'Mounted /vendor partition and trimming...' && fstrim -v '/vendor' && sync && umount '/cache' '/system' '/data' '/vendor' && reboot bootloader

Individual

umount '/cache' '/system' '/data' '/sdcard' '/vendor' '/firmware'
mount '/dev/block/sda3' '/cache' && fstrim -v '/cache'
mount '/dev/block/sde21' '/system' && fstrim -v '/system'
mount '/dev/block/sda13' '/data' && fstrim -v '/data'
mount '/dev/block/sdf6' '/vendor' && fstrim -v '/vendor'
sync && umount '/cache' '/system' '/data' '/vendor'
reboot bootloader

Ideal Stack

  • As of: 2019/03/28
  • TWRP
  • LineageOS for microG 1)

Flash Order

  • Boot to Bootloader
  • fastboot boot TWRP
  • Wipe everything
  • fstrim partitions
  • Flash ROM
  • Reboot to System

TWRP

LineageOS

ROM

Apps

F-Droid

  • 18 apps
  • andOTP
  • :!: Aurora Store 3)
  • DAVx⁵
  • Déjà Vu
  • Fedilab
  • Feeder
  • Firefox Klar
  • Forecastie
  • K-9 Mail
  • KeePass DX
  • Loyalty Card Keychain
  • M.A.L.P.
  • Maps & GPS Navigation OsmAnd+
  • MuPDF mini
  • StreetComplete
  • Tasks
  • VLC
  • WiFiAnalyzer

Aurora Store

  • 6 apps
  • Duolingo
  • Ingress
  • Keybase
  • Old School RuneScape
  • Pokemon GO
  • Simple

Other

  • ARCore

Disabled Apps

  • Email 4)
  • Browser 5)
  • Music 6)

Firefox Klar

StartPage

adb shell input text "https://www.startpage.com/do/dsearch?query=%s"
https://www.startpage.com/do/dsearch?query=%s

DAVdroid

  • Username is email
  • Contact group method: Groups are per-contact categories
adb shell input text "https://posteo.de:8443/"
https://posteo.de:8443/
1)
microG is necessary for Simple banking app, along with Pokemon GO and Ingress
2)
the official isn't updated to deal with a /vendor partition nor updated encryption
3)
make sure to download the newer version 3; there's two apps with the same name and one is older
4)
K-9 replaces it
5)
Firefox Klar replaces it
6)
VLC replaces it
devices/cheeseburger.txt · Last modified: 2019/05/07 05:26 by Sean Rhone