devices:shamu
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| devices:shamu [2019/01/01 14:13] – external edit 127.0.0.1 | devices:shamu [2024/08/13 19:53] (current) – removed Sean Rhone | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Information ====== | ||
| - | * Resources for the Google/ | ||
| - | |||
| - | ====== 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 ===== | ||
| - | |||
| - | ==== ext4 ==== | ||
| - | |||
| - | === Encrypted === | ||
| - | |||
| - | * This expects ''/ | ||
| - | * This expects ''/ | ||
| - | * Boot TWRP, enter encryption password, and immediately run the following from a computer | ||
| - | |||
| - | adb shell " | ||
| - | |||
| - | === Unencrypted === | ||
| - | |||
| - | * This expects ''/ | ||
| - | * This expects ''/ | ||
| - | * Boot TWRP, enter encryption password, and immediately run the following from a computer | ||
| - | |||
| - | adb shell " | ||
| - | |||
| - | ===== Information ===== | ||
| - | |||
| - | * ''/ | ||
| - | * ''/ | ||
| - | * ''/ | ||
| - | * ''/ | ||
| - | * All 5 partitions are '' | ||
| - | |||
| - | ===== Unmount Partitions ===== | ||
| - | |||
| - | umount '/ | ||
| - | |||
| - | umount '/ | ||
| - | |||
| - | umount '/ | ||
| - | |||
| - | umount '/ | ||
| - | |||
| - | umount '/ | ||
| - | |||
| - | ==== AIO ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | 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 '/ | ||
| - | |||
| - | ==== AIO ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | mount -a | ||
| - | |||
| - | ===== 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 -a || fstrim -v '/ | ||
| - | |||
| - | ===== Erase Everything ===== | ||
| - | |||
| - | * This **requires** a radio re-flash ((can use '' | ||
| - | * This does not erase the bootloader nor recovery | ||
| - | |||
| - | sudo fastboot erase ' | ||
| - | |||
| - | ===== Flash Base ===== | ||
| - | |||
| - | * Requires a Factory Image extracted to '' | ||
| - | |||
| - | sudo fastboot flash ' | ||
| - | |||
| - | ====== Ideal Stack ====== | ||
| - | |||
| - | * As of: 2017/10/28 | ||
| - | |||
| - | * F2FS TWRP | ||
| - | * LineageOS for easy microG + UnifiedNlp | ||
| - | * FrancoKernel | ||
| - | * microG | ||
| - | * Magisk | ||
| - | |||
| - | ====== microG ====== | ||
| - | |||
| - | ===== Flash Order ====== | ||
| - | |||
| - | * **Boot** to Recovery | ||
| - | * ROM | ||
| - | * **Reboot** to Recovery | ||
| - | * Advanced Wipe -> Erase everything except **System**, format **Data** and **Cache** to **F2FS** | ||
| - | * **Reboot** to Recovery | ||
| - | * Kernel | ||
| - | * Magisk | ||
| - | * **Reboot** to System | ||
| - | |||
| - | ===== F2FS TWRP ===== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | ===== LineageOS for easy microG + UnifiedNlp ===== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | ===== FrancoKernel ===== | ||
| - | |||
| - | * https:// | ||
| - | * https:// | ||
| - | |||
| - | ==== Settings ==== | ||
| - | |||
| - | === Script === | ||
| - | |||
| - | nano ~/' | ||
| - | |||
| - | < | ||
| - | # | ||
| - | |||
| - | # I/O Scheduler (noop) | ||
| - | echo noop > / | ||
| - | echo noop > / | ||
| - | |||
| - | # fsync (disabled) | ||
| - | echo N > / | ||
| - | |||
| - | # Vibration Intensity (75) | ||
| - | echo 75 > / | ||
| - | |||
| - | # Display Profile (obsanity_standard) | ||
| - | echo 245 245 256 > / | ||
| - | echo 273 > / | ||
| - | echo 255 > / | ||
| - | echo 255 > / | ||
| - | echo 0 > / | ||
| - | |||
| - | === Install Script === | ||
| - | |||
| - | * This requires [[devices: | ||
| - | |||
| - | adb shell | ||
| - | |||
| - | su | ||
| - | |||
| - | mv '/ | ||
| - | |||
| - | === Check Settings === | ||
| - | |||
| - | == I/O Schedulers == | ||
| - | |||
| - | **** | ||
| - | |||
| - | cat '/ | ||
| - | |||
| - | == fsync == | ||
| - | |||
| - | **** | ||
| - | |||
| - | cat '/ | ||
| - | |||
| - | == Vibration Strength == | ||
| - | |||
| - | **** | ||
| - | |||
| - | cat '/ | ||
| - | |||
| - | == Display Profile == | ||
| - | |||
| - | **** | ||
| - | |||
| - | cat '/ | ||
| - | |||
| - | ===== Magisk ===== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | ===== F-Droid ===== | ||
| - | |||
| - | ==== Install ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | wget -O ~/' | ||
| - | |||
| - | ==== microG Repo ==== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | adb shell input text " | ||
| - | |||
| - | adb shell input text " | ||
| - | |||
| - | ===== Apps ===== | ||
| - | |||
| - | ==== APK Restore ==== | ||
| - | |||
| - | * This batch-installs multiple APKs | ||
| - | * '' | ||
| - | * [[https:// | ||
| - | |||
| - | nano ' | ||
| - | |||
| - | < | ||
| - | #!/bin/sh | ||
| - | for file in *.apk | ||
| - | do | ||
| - | adb install $file | ||
| - | done</ | ||
| - | |||
| - | ./' | ||
| - | |||
| - | ==== F-Droid ==== | ||
| - | |||
| - | === Core === | ||
| - | |||
| - | * 8 apps | ||
| - | |||
| - | * FakeStore | ||
| - | * microG DroidGuard Helper | ||
| - | * microG Services Core | ||
| - | * microG Services Framework Proxy | ||
| - | * NominatimNlpBackend | ||
| - | * LocalGsmNlpBackend | ||
| - | * LocalWifiNlpBackend | ||
| - | * Yalp Store ((set to spoof Nexus 6 because of https:// | ||
| - | |||
| - | === Extras === | ||
| - | |||
| - | * 17 apps | ||
| - | |||
| - | * OneTimePad | ||
| - | * K-9 Mail | ||
| - | * KeePassDroid | ||
| - | * AndStatus | ||
| - | * M.A.L.P. | ||
| - | * WiFiAnalyzer | ||
| - | * Document Viewer | ||
| - | * Feeder | ||
| - | * Maps & GPS Navigation OsmAnd+ | ||
| - | * Conversations | ||
| - | * DAVdroid | ||
| - | * OpenTasks | ||
| - | * Loyalty Card Keychain | ||
| - | * SatStat | ||
| - | * Forecastie | ||
| - | * AsteroidOS Sync | ||
| - | * Firefox Klar | ||
| - | |||
| - | ==== Yalp Store ==== | ||
| - | |||
| - | * 7 apps | ||
| - | |||
| - | * Ingress | ||
| - | * Keybase | ||
| - | * Obenkyo | ||
| - | * Pokémon GO | ||
| - | * Steam | ||
| - | * VLC | ||
| - | * VPN.AC Client | ||
| - | |||
| - | ==== Disable ==== | ||
| - | |||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | |||
| - | adb shell | ||
| - | |||
| - | su | ||
| - | |||
| - | pm disable ' | ||
| - | |||
| - | pm disable ' | ||
| - | |||
| - | pm disable ' | ||
| - | |||
| - | pm disable ' | ||
| - | |||
| - | pm disable ' | ||
| - | |||
| - | pm disable ' | ||
| - | |||
| - | ===== LocalGsmNlpBackend ===== | ||
| - | |||
| - | ==== FastLacellsGenerator ==== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | === Dependencies === | ||
| - | |||
| - | * [[distros: | ||
| - | |||
| - | sudo dnf install ' | ||
| - | |||
| - | === Download === | ||
| - | |||
| - | **** | ||
| - | |||
| - | wget -O ~/' | ||
| - | |||
| - | === Config === | ||
| - | |||
| - | * '' | ||
| - | * '' | ||
| - | |||
| - | nano ~/' | ||
| - | |||
| - | MCC=" | ||
| - | TOKEN=" | ||
| - | |||
| - | === Download and Generate Map Data === | ||
| - | |||
| - | * OpenCelliD apparently only allows 1 download per-day. | ||
| - | * If the generated '' | ||
| - | |||
| - | cd ~/' | ||
| - | |||
| - | === Push Map Data === | ||
| - | |||
| - | **** | ||
| - | |||
| - | adb push ~/' | ||
| - | |||
| - | === Cleanup === | ||
| - | |||
| - | **** | ||
| - | |||
| - | rm -Rf ~/' | ||
| - | |||
| - | === External database location === | ||
| - | |||
| - | / | ||
| - | |||
| - | adb shell input text "/ | ||
| - | |||
| - | ====== Legacy ====== | ||
| - | |||
| - | ===== Flash Order ====== | ||
| - | |||
| - | * **Boot** to Recovery | ||
| - | * ROM | ||
| - | * GApps | ||
| - | * **Reboot** to Recovery | ||
| - | * Advanced Wipe -> Erase everything except **System**, format **Data** and **Cache** to **F2FS** | ||
| - | * **Reboot** to Recovery | ||
| - | * Kernel | ||
| - | * Magisk | ||
| - | * **Reboot** to System | ||
| - | |||
| - | ===== F2FS TWRP ===== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | ===== LineageOS ===== | ||
| - | |||
| - | * https:// | ||
| - | * https:// | ||
| - | |||
| - | ===== FrancoKernel ===== | ||
| - | |||
| - | * https:// | ||
| - | * https:// | ||
| - | |||
| - | ===== Magisk ===== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | ==== Modules ==== | ||
| - | |||
| - | === Unified Hosts Adblock === | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | * Use '' | ||
| - | |||
| - | hosts | ||
| - | |||
| - | ===== The Open GApps Project ===== | ||
| - | |||
| - | * http:// | ||
| - | * https:// | ||
| - | |||
| - | * Pico is fine | ||
| - | * Nano also works if Google Search is necessary ((only useful for Android Wear)) | ||
| - | |||
| - | ==== gapps-config.txt ==== | ||
| - | |||
| - | * Place on root of Internal Storage | ||
| - | |||
| - | < | ||
| - | # No Debug logs | ||
| - | # https:// | ||
| - | |||
| - | #NoDebug | ||
| - | |||
| - | # Smart Pre-ODEXing of APKs | ||
| - | # https:// | ||
| - | |||
| - | PreODEX | ||
| - | |||
| - | # Exclude GApps | ||
| - | # https:// | ||
| - | # Expects Nano package | ||
| - | |||
| - | DialerFramework | ||
| - | CalSync | ||
| - | GoogleTTS | ||
| - | PackageInstallerGoogle | ||
| - | BatteryUsage | ||
| - | FaceDetect | ||
| - | FaceUnlock | ||
| - | Speech | ||
| - | |||
| - | # Remove Stock apps | ||
| - | # https:// | ||
| - | # Expects LineageOS | ||
| - | |||
| - | (Eleven) | ||
| - | (Email) | ||
| - | (Jelly)</ | ||
| - | |||
| - | ===== App Disable ===== | ||
| - | |||
| - | adb shell | ||
| - | |||
| - | su | ||
| - | |||
| - | pm disable ' | ||
| - | |||
| - | pm disable ' | ||
| - | |||
| - | pm disable ' | ||
| - | |||
| - | pm disable ' | ||
| - | |||
| - | pm disable ' | ||
| - | |||
| - | ====== Other Information ====== | ||
| - | |||
| - | ===== Display ===== | ||
| - | |||
| - | ==== DPI ==== | ||
| - | |||
| - | * Native DPI is 493 | ||
| - | * Default DPI is 560 | ||
| - | * Works as low as 240 | ||
| - | |||
| - | wm density ' | ||
| - | |||
| - | wm density ' | ||
| - | |||
| - | wm density reset | ||
| - | |||
| - | ==== Resolution ==== | ||
| - | |||
| - | * Native resolution is 1440x2560 | ||
| - | * Can upscale to 2160x3840 | ||
| - | * Can downscale to 1080x1920 | ||
| - | * Works as low as 540x960 ((Ingress UI starts to overlap any lower than this)) | ||
| - | |||
| - | wm size 2160x3840 | ||
| - | |||
| - | wm size 1080x1920 | ||
| - | |||
| - | wm size 540x960 | ||
| - | |||
| - | wm size reset | ||
/srv/www/wiki/data/attic/devices/shamu.1546370032.txt.gz · Last modified: (external edit)
