| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| android:oneplus_6_enchilada [2025/12/25 02:42] – [Quick Flash] Sean Rhone | android:oneplus_6_enchilada [2026/02/26 03:55] (current) – [Windows] Sean Rhone |
|---|
| |
| * [[https://download.lineageos.org/devices/enchilada/builds|Downloads]] | * [[https://download.lineageos.org/devices/enchilada/builds|Downloads]] |
| | |
| | * TODO: |
| | * https://mirrorbits.lineageos.org/full/enchilada/20260128/boot.img |
| | * https://mirrorbits.lineageos.org/full/enchilada/20260128/lineage-22.2-20260128-nightly-enchilada-signed.zip |
| |
| * [[https://wiki.lineageos.org/devices/enchilada/install|Install Instructions - LOS Wiki]] | * [[https://wiki.lineageos.org/devices/enchilada/install|Install Instructions - LOS Wiki]] |
| * https://download.lineageos.org/devices/enchilada/builds | * https://download.lineageos.org/devices/enchilada/builds |
| * [[#hosts|HOSTS]] | * [[#hosts|HOSTS]] |
| * [[#disable_backup_manager|Disable Backup Manager]] | |
| |
| sudo fastboot erase --slot='all' 'boot' && sudo fastboot flash --slot='all' 'boot' ~/'Downloads/boot.img' | sudo fastboot erase --slot='all' 'boot' && sudo fastboot flash --slot='all' 'boot' ~/'Downloads/boot.img' |
| * [[https://dl.google.com/android/repository/platform-tools-latest-windows.zip|platform-tools-latest-windows.zip]] | * [[https://dl.google.com/android/repository/platform-tools-latest-windows.zip|platform-tools-latest-windows.zip]] |
| * [[#windows1|HOSTS]] | * [[#windows1|HOSTS]] |
| * [[#windows2|Disable Backup Manager]] | |
| | RMDIR /S /Q "%UserProfile%\Downloads\platform-tools" & DEL /Q "%UserProfile%\Downloads\platform-tools-latest-windows.zip" & "%SystemRoot%\System32\curl.exe" --output "%UserProfile%\Downloads\platform-tools-latest-windows.zip" --location "https://dl.google.com/android/repository/platform-tools-latest-windows.zip" && "%SystemRoot%\System32\tar.exe" xf "%UserProfile%\Downloads\platform-tools-latest-windows.zip" -C "%UserProfile%\Downloads" && DEL /Q "%UserProfile%\Downloads\platform-tools-latest-windows.zip" |
| |
| "%UserProfile%\Downloads\platform-tools\fastboot.exe" erase --slot="all" "boot" && "%UserProfile%\Downloads\platform-tools\fastboot.exe" flash --slot="all" "boot" "%UserProfile%\Downloads\boot.img" | "%UserProfile%\Downloads\platform-tools\fastboot.exe" erase --slot="all" "boot" && "%UserProfile%\Downloads\platform-tools\fastboot.exe" flash --slot="all" "boot" "%UserProfile%\Downloads\boot.img" |
| |
| "%UserProfile%\Downloads\platform-tools\adb.exe" sideload "%UserProfile%\Downloads\lineage-22.2-20251126-nightly-enchilada-signed.zip" | "%UserProfile%\Downloads\platform-tools\adb.exe" sideload "%UserProfile%\Downloads\lineage-22.2-20260225-nightly-enchilada-signed.zip" |
| |
| "%UserProfile%\Downloads\platform-tools\adb.exe" kill-server | "%UserProfile%\Downloads\platform-tools\adb.exe" kill-server |
| |
| * OOS 10.3.8 -> 11.1.2.2 OTA -> LineageOS | * OOS 10.3.8 -> 11.1.2.2 OTA -> LineageOS |
| |
| ====== HOSTS ====== | |
| |
| * https://scripttiger.github.io/alts/ | |
| * Unified hosts + fakenews + gambling (Compressed) | |
| |
| * Recovery -> Advanced -> Mount/unmount system -> Enable ADB | |
| |
| adb shell "mount -o 'rw,remount' '/mnt/system'" | |
| |
| wget -O '/tmp/blacklist-fg.txt' 'https://scripttiger.github.io/alts/compressed/blacklist-fg.txt' && adb push '/tmp/blacklist-fg.txt' '/tmp/hosts' && adb shell "mv -f '/tmp/hosts' '/mnt/system/system/etc/hosts' && restorecon -F -v '/mnt/system/system/etc/hosts' && sync" && rm -f '/tmp/blacklist-fg.txt' | |
| |
| ===== Windows ===== | |
| |
| * https://scripttiger.github.io/alts/ | |
| * Unified hosts + fakenews + gambling (Compressed) | |
| |
| * Recovery -> Advanced -> Mount/unmount system -> Enable ADB | |
| |
| * https://scripttiger.github.io/alts/compressed/blacklist-fg.txt | |
| |
| "%UserProfile%\Downloads\blacklist-fg.txt" | |
| |
| "%UserProfile%\Downloads\platform-tools\adb.exe" shell "mount -o 'rw,remount' '/mnt/system'" && "%UserProfile%\Downloads\platform-tools\adb.exe" push "%UserProfile%\Downloads\blacklist-fg.txt" "/mnt/system/system/etc/hosts" && "%UserProfile%\Downloads\platform-tools\adb.exe" shell "restorecon -F -v '/mnt/system/system/etc/hosts' && cat '/mnt/system/system/etc/hosts' && sync" | |
| |
| "%UserProfile%\Downloads\platform-tools\adb.exe" kill-server | |
| |
| RMDIR /S /Q "%UserProfile%\Downloads\platform-tools" & DEL /Q "%UserProfile%\Downloads\platform-tools-latest-windows.zip" | |
| |
| ====== Apps ====== | ====== Apps ====== |
| ====== Settings ====== | ====== Settings ====== |
| |
| ===== Disable Backup Manager ===== | ===== HOSTS ===== |
| | |
| | * https://scripttiger.github.io/alts/ |
| | * https://scripttiger.github.io/alts/compressed/blacklist-fg.txt |
| | * Unified hosts + fakenews + gambling (Compressed) |
| | |
| | * :!: Done from Recovery |
| | * Advanced -> Mount/unmount system -> Enable ADB |
| | |
| | adb shell "mount -o 'rw,remount' '/mnt/system'" && wget -O '/tmp/blacklist-fg.txt' 'https://scripttiger.github.io/alts/compressed/blacklist-fg.txt' && adb push '/tmp/blacklist-fg.txt' '/tmp/hosts' && adb shell "mv -f '/tmp/hosts' '/mnt/system/system/etc/hosts' && restorecon -F -v '/mnt/system/system/etc/hosts' && tail '/mnt/system/system/etc/hosts' && sync && umount '/mnt/system'" && rm -f '/tmp/blacklist-fg.txt' && adb reboot && adb kill-server |
| | |
| | ==== Windows ==== |
| |
| **** | **** |
| | |
| | DEL /Q "%UserProfile%\Downloads\fakenews-gambling-hosts" & "curl.exe" --output "%UserProfile%\Downloads\fakenews-gambling-hosts" --location "https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts" && "%UserProfile%\Downloads\platform-tools\adb.exe" shell "mount -o 'rw,remount' '/mnt/system'" && "%UserProfile%\Downloads\platform-tools\adb.exe" push "%UserProfile%\Downloads\fakenews-gambling-hosts" "/mnt/system/system/etc/hosts" && "%UserProfile%\Downloads\platform-tools\adb.exe" shell "restorecon -F -v '/mnt/system/system/etc/hosts' && sync && head '/mnt/system/system/etc/hosts'" && "%UserProfile%\Downloads\platform-tools\adb.exe" reboot && "%UserProfile%\Downloads\platform-tools\adb.exe" kill-server && DEL /Q "%UserProfile%\Downloads\fakenews-gambling-hosts" |
| | |
| | RMDIR /S /Q "%UserProfile%\Downloads\platform-tools" & DEL /Q "%UserProfile%\Downloads\platform-tools-latest-windows.zip" |
| | |
| | ===== Disable Backup Manager ===== |
| | |
| | * Done from booted Android |
| | * Enable Developer Options -> Enable USB Debugging -> Allow |
| |
| adb shell "bmgr transport 'com.android.localtransport/.LocalTransport' && bmgr enable '0' && sync" && adb kill-server | adb shell "bmgr transport 'com.android.localtransport/.LocalTransport' && bmgr enable '0' && sync" && adb kill-server |
| |
| ==== Windows ==== | ==== Windows ==== |
| | |
| | * [[https://dl.google.com/android/repository/platform-tools-latest-windows.zip|platform-tools-latest-windows.zip]] |
| |
| "%UserProfile%\Downloads\platform-tools\adb.exe" shell "bmgr transport 'com.android.localtransport/.LocalTransport' && bmgr enable '0' && sync" | "%UserProfile%\Downloads\platform-tools\adb.exe" shell "bmgr transport 'com.android.localtransport/.LocalTransport' && bmgr enable '0' && sync" |