User Tools

Site Tools


android:htc_google_pixel_xl_marlin

Information

  • Resources for the Google/HTC Pixel XL

xda-developers

Latest platform-tools

Linux

Windows

Factory Image

Filesystem Maintenance

Information

Slot A

  • /dev/block/sda31 is /vendor
  • /dev/block/sda33 is /system

Slot B

  • /dev/block/sda32 is /vendor
  • /dev/block/sda34 is /system

Shared

  • /dev/block/sda35 is /data and /sdcard

Format

Information

  • Formatting can be done from either Slot A or B

Unmount

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

Slot A

  • :!: This will format and erase all content on Slot A's /system partition
echo "Formatting Slot A's /system partition..." && make_ext4fs -v '/dev/block/sda33' && echo 'Done'

Slot B

  • :!: This will format and erase all content on Slot B's /system partition
echo "Formatting Slot B's /system partition..." && make_ext4fs -v '/dev/block/sda34' && echo 'Done'

Shared

  • :!: This will format and erase all content on the /data partition
echo "Formatting /data partition..." && make_ext4fs -v '/dev/block/sda35' && echo 'Done'

e2fsck

Information

  • This can be done from either Slot A or B
  • This checks the filesystem and fixes any issues with it

Unmount

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

Slot A

e2fsck -y -f -v '/dev/block/sda31'
e2fsck -y -f -v '/dev/block/sda33'

Slot B

e2fsck -y -f -v '/dev/block/sda32'
e2fsck -y -f -v '/dev/block/sda34'

Shared

e2fsck -y -f -v '/dev/block/sda35'

fstrim

Information

umount '/data' '/sdcard' '/system' '/vendor' || mount '/dev/block/sda35' '/data' && echo 'Mounted /data partition and trimming...' && fstrim -v '/data' && umount '/data' && mount '/dev/block/sda31' '/vendor' && mount '/dev/block/sda33' '/system' && echo 'Mounted Slot A /system and /vendor partitions and trimming...' && fstrim -v '/system' && fstrim -v '/vendor' && sync && umount '/system' '/vendor' && mount '/dev/block/sda32' '/vendor' && mount '/dev/block/sda34' '/system' && echo 'Mounted Slot B /system and /vendor partitions and trimming...' && fstrim -v '/system' && fstrim -v '/vendor' && sync && umount '/vendor' '/system' && reboot bootloader

Legacy Commands

  • Pick one depending on if running from within adb shell, or executing with it
adb shell "mount -a && mount && fstrim -v '/system' && fstrim -v '/data' && fstrim -v '/vendor' && fstrim -v '/sdcard' && sync"
mount -a && mount && fstrim -v '/system' && fstrim -v '/data' && fstrim -v '/vendor' && fstrim -v '/sdcard' && sync

Ideal Stack

  • As of: 2019/01/05
  • TWRP 1)
  • LineageOS for microG 2)

Flash Order

  • Boot to Bootloader
  • fastboot boot TWRP
  • Be in Slot A
  • Wipe everything
  • fstrim Data/Sdcard, System, and Vendor partitions
  • Flash ROM
  • Reboot to System

TWRP

LineageOS

ROM

Apps

F-Droid

Install

wget -O '/tmp/FDroid.apk' 'https://f-droid.org/FDroid.apk' && ./adb install '/tmp/FDroid.apk' && ./adb shell 'sync' && rm -fv '/tmp/FDroid.apk' && sync

Apps

  • 19 apps
  • andOTP
  • AndStatus
  • DAVx⁵
  • Feeder
  • Firefox Klar
  • Forecastie
  • F-Droid 3)
  • K-9 Mail
  • KeePass DX
  • Loyalty Card Keychain
  • M.A.L.P.
  • Maps & GPS Navigation OsmAnd+
  • MuPDF viewer
  • SatStat
  • StreetComplete
  • VLC
  • WiFiAnalyzer
  • Yalp Store

Yalp Store

  • 7 apps
  • ARCore
  • Ingress
  • Keybase
  • Obenkyo
  • Old School RuneScape
  • Pokemon GO
  • Simple

Disabled Apps

GUI

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

adb shell

  • Requires Root
pm disable 'com.qualcomm.ltebc_vzw'
pm disable 'qualcomm.com.vzw_msdc_api'
pm disable 'com.android.vzwomatrigger'
pm disable 'com.google.android.carrier.authdialog'
pm disable 'com.verizon.mips.services'
pm disable 'com.android.email'
pm disable 'org.lineageos.eleven'
pm disable 'org.lineageos.jelly'
pm disable 'org.lineageos.updater'

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)
for initial flash; not to be installed
2)
microG is necessary for Simple banking app, along with Pokemon GO and Ingress
3)
this should already be installed at this point :p
4)
K-9 replaces it
5)
Firefox Klar replaces it
6)
VLC replaces it
/var/www/wiki/data/pages/android/htc_google_pixel_xl_marlin.txt · Last modified: by 127.0.0.1