devices:bullhead
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
devices:bullhead [2018/04/03 16:28] – [F-Droid] Sean Rhone | devices:bullhead [2018/04/11 03:07] (current) – [Wipe Partitions] Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Information ====== | ||
+ | |||
+ | * Resources for the Google/LGE Nexus 5X | ||
+ | * H790 | ||
+ | |||
+ | ====== xda-developers ====== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | ====== Latest platform-tools ====== | ||
+ | |||
+ | ===== Linux ===== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | ===== Windows ===== | ||
+ | |||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | ====== Factory Image ====== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | ====== Filesystem Maintenance ====== | ||
+ | |||
+ | ===== Notes ===== | ||
+ | |||
+ | * Can only be done within TWRP Recovery either via built-in Terminal or over ADB | ||
+ | * Ideal to do before a clean ROM flash, after an improper shutdown, and/or after configuring all apps/ | ||
+ | |||
+ | ===== Quick-commands ===== | ||
+ | |||
+ | * This expects ''/ | ||
+ | * This expects ''/ | ||
+ | * Boot TWRP, enter encryption password, and immediately run the following from a computer | ||
+ | |||
+ | adb shell " | ||
+ | |||
+ | ===== Information ===== | ||
+ | |||
+ | * ''/ | ||
+ | * ''/ | ||
+ | * ''/ | ||
+ | * ''/ | ||
+ | * All 5 partitions are '' | ||
+ | |||
+ | ===== Wipe Partitions ===== | ||
+ | |||
+ | * Do nothing else and **immediately** re-flash '' | ||
+ | |||
+ | fastboot erase bootloader | ||
+ | |||
+ | fastboot erase radio | ||
+ | |||
+ | fastboot erase recovery | ||
+ | |||
+ | fastboot erase boot | ||
+ | |||
+ | fastboot erase vendor | ||
+ | |||
+ | fastboot format vendor | ||
+ | |||
+ | fastboot -w | ||
+ | |||
+ | ===== Unmount Partitions ===== | ||
+ | |||
+ | umount '/ | ||
+ | |||
+ | umount '/ | ||
+ | |||
+ | umount '/ | ||
+ | |||
+ | umount '/ | ||
+ | |||
+ | ===== ext4 Filesystem Maintenance ===== | ||
+ | |||
+ | e2fsck -y -f -v '/ | ||
+ | |||
+ | e2fsck -y -f -v '/ | ||
+ | |||
+ | e2fsck -y -f -v '/ | ||
+ | |||
+ | e2fsck -y -f -v '/ | ||
+ | |||
+ | ===== Mount Partitions ===== | ||
+ | |||
+ | mount '/ | ||
+ | |||
+ | mount '/ | ||
+ | |||
+ | mount '/ | ||
+ | |||
+ | mount '/ | ||
+ | |||
+ | ===== Clear Dalvik/ART Cache ===== | ||
+ | |||
+ | adb shell | ||
+ | |||
+ | mount '/ | ||
+ | |||
+ | rm -Rf '/ | ||
+ | |||
+ | ===== fstrim ===== | ||
+ | |||
+ | * If done immediately after booting TWRP, ''/ | ||
+ | |||
+ | adb shell | ||
+ | |||
+ | mount '/ | ||
+ | |||
+ | fstrim -v '/ | ||
+ | |||
+ | ==== Quick-command ==== | ||
+ | |||
+ | * Run after booting into TWRP | ||
+ | |||
+ | adb shell "mount '/ | ||
+ | |||
+ | ===== Flash Base ===== | ||
+ | |||
+ | * Expects a factory image folder extracted to '' | ||
+ | * Flashes '' | ||
+ | |||
+ | sudo fastboot flash ' | ||
+ | |||
+ | ==== Flash Other ==== | ||
+ | |||
+ | * Expects a factory image folder extracted to '' | ||
+ | * Expects a '' | ||
+ | * Flashes '' | ||
+ | |||
+ | unar -o ~/' | ||
+ | |||
+ | ====== Ideal Stack ====== | ||
+ | |||
+ | * As of: 2018/04/11 | ||
+ | |||
+ | * TWRP | ||
+ | * LineageOS | ||
+ | * FrancoKernel | ||
+ | * Balanced StereoSound & StereoRecord patch | ||
+ | |||
+ | ===== Flash Order ===== | ||
+ | |||
+ | * **Boot** to Recovery | ||
+ | * ROM | ||
+ | * **Reboot** to Recovery | ||
+ | * Advanced Wipe -> Erase everything except **System**, format **Data** and **Cache** to **ext4** | ||
+ | * **Reboot** to Recovery | ||
+ | * FrancoKernel | ||
+ | * Balanced StereoSound & StereoRecord patch | ||
+ | * **Reboot** to System | ||
+ | |||
+ | ====== TWRP ====== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | ====== FrancoKernel ====== | ||
+ | |||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | ====== Balanced StereoSound & StereoRecord patch ====== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | ====== LineageOS ====== | ||
+ | |||
+ | ===== ROM ===== | ||
+ | |||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | ===== APN ===== | ||
+ | |||
+ | * Delete Straight Talk APN profile | ||
+ | * Select T-Mobile US LTE from new list of APNs | ||
+ | * Last tested as of 2018/04/11, this provides VoLTE, Wifi Calling, and allows tethering without having to add '' | ||
+ | |||
+ | ====== Apps ====== | ||
+ | |||
+ | ===== F-Droid ===== | ||
+ | |||
+ | ==== Install ==== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | wget -O ~/' | ||
+ | |||
+ | ==== Apps ==== | ||
+ | |||
+ | * 20 apps | ||
+ | |||
+ | * andOTP | ||
+ | * AndStatus | ||
+ | * AsteroidOS Sync | ||
+ | * Conversations ((not Legacy)) | ||
+ | * DAVdroid | ||
+ | * Feeder | ||
+ | * Firefox Klar | ||
+ | * Forecastie | ||
+ | * F-Droid ((this should already be installed at this point :p)) | ||
+ | * K-9 Mail | ||
+ | * KeePassDroid | ||
+ | * Kore | ||
+ | * Loyalty Card Keychain | ||
+ | * M.A.L.P. | ||
+ | * Maps & GPS Navigation OsmAnd+ | ||
+ | * MuPDF viewer | ||
+ | * SatStat | ||
+ | * StreetComplete | ||
+ | * WiFiAnalyzer | ||
+ | * Yalp Store ((set to spoof Nexus 5X just in-case: https:// | ||
+ | |||
+ | ===== Yalp Store ===== | ||
+ | |||
+ | * 3 apps | ||
+ | |||
+ | * Keybase | ||
+ | * Obenkyo | ||
+ | * VLC | ||
+ | |||
+ | ===== Disabled Apps ===== | ||
+ | |||
+ | * Email ((K-9 replaces it)) | ||
+ | * Browser ((Firefox Klar replaces it)) | ||
+ | * Music ((VLC replaces it)) | ||
+ | |||
+ | ===== Firefox Klar ===== | ||
+ | |||
+ | ==== StartPage ==== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | adb shell input text " | ||
+ | |||
+ | https:// | ||
+ | |||
+ | ===== DAVdroid ===== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | * Username is email | ||
+ | * Contact group method: Groups are per-contact categories | ||
+ | |||
+ | adb shell input text " | ||
+ | |||
+ | https:// | ||