User Tools

Site Tools


devices:marlin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
devices:marlin [2019/01/15 06:46] Sean Rhonedevices:marlin [2019/01/15 07:26] (current) – [Yalp Store] Sean Rhone
Line 1: Line 1:
 +====== Information ======
 +
 +  * Resources for the Google/HTC Pixel XL
 +
 +====== xda-developers ======
 +
 +  * https://forum.xda-developers.com/pixel-xl
 +
 +====== Latest platform-tools ======
 +
 +===== Linux =====
 +
 +  * https://dl-ssl.google.com/android/repository/platform-tools-latest-linux.zip
 +
 +===== Windows =====
 +
 +  * https://dl-ssl.google.com/android/repository/platform-tools-latest-windows.zip
 +  * https://dl-ssl.google.com/android/repository/latest_usb_driver_windows.zip
 +
 +====== Factory Image ======
 +
 +  * https://developers.google.com/android/images#marlin
 +
 +====== 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 ((for initial flash; not to be installed))
 +  * LineageOS for microG ((microG is necessary for Simple banking app, along with Pokemon GO and Ingress))
 +
 +===== 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 ======
 +
 +  * https://dl.twrp.me/marlin/
 +
 +====== LineageOS ======
 +
 +===== ROM =====
 +
 +  * https://download.lineageos.org/marlin
 +  * https://forum.xda-developers.com/pixel-xl/development/rom-lineageos-15-1-pixel-xl-marlin-t3725985
 +
 +====== Apps ======
 +
 +===== F-Droid =====
 +
 +==== Install ====
 +
 +  * https://f-droid.org/FDroid.apk
 +  * Expects the current directory to have ''adb''
 +
 +  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 ((this should already be installed at this point :p))
 +  * 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 ((K-9 replaces it))
 +  * Browser ((Firefox Klar replaces it))
 +  * Music ((VLC replaces it))
 +
 +==== 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 ====
 +
 +  * https://support.startpage.com/index.php?/Knowledgebase/Article/View/1164/0/search-strings-or-adding-startpage-as-a-search-option-in-unsupported-browsers
 +
 +  adb shell input text "https://www.startpage.com/do/dsearch?query=%s"
 +
 +  https://www.startpage.com/do/dsearch?query=%s
 +
 +===== DAVdroid =====
 +
 +  * https://www.davx5.com/tested-with/posteode/
 +
 +  * Username is email
 +  * Contact group method: Groups are **per-contact** categories
 +
 +  adb shell input text "https://posteo.de:8443/"
 +
 +  https://posteo.de:8443/
  
/var/www/wiki/data/pages/devices/marlin.txt · Last modified: 2019/01/15 07:26 by Sean Rhone