====== Information ====== * Resources for the OnePlus 5 ====== xda-developers ====== * https://forum.xda-developers.com/oneplus-5 ====== 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://www.oneplus.com/support/softwareupgrade * TODO: This flashes fine from TWRP, but doesn't replace the recovery? Does it fix partitions? ====== 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 ((microG is necessary for Simple banking app, along with Pokemon GO and Ingress)) ===== Flash Order ===== * Boot to Bootloader * ''fastboot'' boot TWRP * Wipe everything * ''fstrim'' partitions * Flash ROM * Reboot to System ====== TWRP ====== * :!: This currently must be from one of the following sources and not the official TWRP page ((the official isn't updated to deal with a ''/vendor'' partition nor updated encryption)) * https://forum.xda-developers.com/oneplus-5/development/recovery-twrp-3-2-1-0-oreo-oxygenos-5-0-t3725723 * https://sourceforge.net/projects/cheeseburgerdumplings/files/16.0/cheeseburger/recovery/ ====== LineageOS ====== ===== ROM ===== * https://download.lineage.microg.org/cheeseburger/ * https://forum.xda-developers.com/oneplus-5/development/rom-lineageos-16-0-pie-oneplus-5-t3843064 ====== Apps ====== ===== F-Droid ===== * 18 apps * andOTP * :!: Aurora Store ((make sure to download the newer version 3; there's two apps with the same name and one is older)) * 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 ((K-9 replaces it)) * Browser ((Firefox Klar replaces it)) * Music ((VLC replaces it)) ===== 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/