| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| android:oneplus_6_enchilada [2026/03/18 15:42] – [Windows] Sean Rhone | android:oneplus_6_enchilada [2026/07/16 02:37] (current) – 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]] |
| |
| 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://download.lineageos.org/devices/enchilada/builds | * https://download.lineageos.org/devices/enchilada/builds |
| * [[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]] |
| |
| 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" | 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" --progress-bar && "%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-20260318-nightly-enchilada-signed.zip" | MOVE /Y "%UserProfile%\Downloads\lineage-22.2-"*"-nightly-enchilada-signed.zip" "%UserProfile%\Downloads\lineage-22.2-nightly-enchilada-signed.zip" && "%UserProfile%\Downloads\platform-tools\adb.exe" sideload "%UserProfile%\Downloads\lineage-22.2-nightly-enchilada-signed.zip" |
| |
| "%UserProfile%\Downloads\platform-tools\adb.exe" kill-server | "%UserProfile%\Downloads\platform-tools\adb.exe" kill-server && RMDIR /S /Q "%UserProfile%\.android" |
| | |
| RMDIR /S /Q "%UserProfile%\Downloads\platform-tools" & DEL /Q "%UserProfile%\Downloads\platform-tools-latest-windows.zip" | |
| |
| ====== Recovery ====== | ====== Recovery ====== |
| * [[https://github.com/Piwigo/piwigo-flutter-app/releases|Piwigo Next Generation]] | * [[https://github.com/Piwigo/piwigo-flutter-app/releases|Piwigo Next Generation]] |
| * [[https://github.com/wordpress-mobile/WordPress-Android/releases|WordPress]] (not Jetpack) | * [[https://github.com/wordpress-mobile/WordPress-Android/releases|WordPress]] (not Jetpack) |
| | * [[programs:android:spotify|Spotify]] |
| |
| * [[https://github.com/ppy/osu/releases|osu!]] | * [[https://github.com/ppy/osu/releases|osu!]] |
| ==== Windows ==== | ==== Windows ==== |
| |
| **** | DEL /Q "%UserProfile%\Downloads\fakenews-gambling-hosts" & "%SystemRoot%\System32\curl.exe" --output "%UserProfile%\Downloads\fakenews-gambling-hosts" --location "https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts" --progress-bar && "%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" "%UserProfile%\.android" |
| |
| 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" | ==== FreeBSD ==== |
| |
| RMDIR /S /Q "%UserProfile%\Downloads\platform-tools" & DEL /Q "%UserProfile%\Downloads\platform-tools-latest-windows.zip" | * :?: TODO |
| | |
| | '/usr/local/bin/adb' shell "mount -o 'rw,remount' '/mnt/system'" && wget -O '/tmp/blacklist-fg.txt' 'https://scripttiger.github.io/alts/compressed/blacklist-fg.txt' && '/usr/local/bin/adb' push '/tmp/blacklist-fg.txt' '/tmp/hosts' && '/usr/local/bin/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' && '/usr/local/bin/adb' reboot && '/usr/local/bin/adb' kill-server |
| |
| ===== Disable Backup Manager ===== | ===== Disable Backup Manager ===== |
| |
| ==== 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" |
| * [[servers:upstream_dns_servers|More DNS Servers]] | * [[servers:upstream_dns_servers|More DNS Servers]] |
| |
| <code>dns.quad9.net</code> | <code>security.cloudflare-dns.com</code> |
| |
| ===== Termux ===== | ===== Termux ===== |
| * https://forum.xda-developers.com/t/definitive-guide-for-windows-10-arm-installation.4519291/ | * https://forum.xda-developers.com/t/definitive-guide-for-windows-10-arm-installation.4519291/ |
| * :!: 2024/02/29: No camera, no GPS, no tri-state button, no cellular calls/texts (no app); not viable for a main phone, but does run WoW Classic ARM64 around 50 FPS pretty well! ([[https://xdaforums.com/t/windows-arm64-on-enchilada.4302911/page-3#post-89371050|XDA tech notes]], [[https://us.forums.blizzard.com/en/wow/t/classic-era-arm64-runs-great-with-project-renegade-and-windows-10-on-oneplus-6/1799276|WoW-specific notes]]) | * :!: 2024/02/29: No camera, no GPS, no tri-state button, no cellular calls/texts (no app); not viable for a main phone, but does run WoW Classic ARM64 around 50 FPS pretty well! ([[https://xdaforums.com/t/windows-arm64-on-enchilada.4302911/page-3#post-89371050|XDA tech notes]], [[https://us.forums.blizzard.com/en/wow/t/classic-era-arm64-runs-great-with-project-renegade-and-windows-10-on-oneplus-6/1799276|WoW-specific notes]]) |
| | |
| | ====== Drive Maintenance ====== |
| | |
| | * LOS recovery ([[#windows1|HOSTS]]) |
| | * :!: WIP |
| | * TODO: ''vfat'' |
| | |
| | "%UserProfile%\Downloads\platform-tools\adb.exe" shell |
| | |
| | <code> |
| | e2fsck -f -v -y '/dev/block/by-name/system_a' |
| | e2fsck -f -v -y '/dev/block/by-name/vendor_a' |
| | e2fsck -f -v -y '/dev/block/bootdevice/by-name/dsp_a' |
| | |
| | e2fsck -f -v -y '/dev/block/by-name/system_b' |
| | e2fsck -f -v -y '/dev/block/by-name/vendor_b' |
| | e2fsck -f -v -y '/dev/block/bootdevice/by-name/dsp_b' |
| | |
| | e2fsck -f -v -y '/dev/block/bootdevice/by-name/op2' |
| | e2fsck -f -v -y '/dev/block/bootdevice/by-name/persist' |
| | |
| | # End</code> |
| |
| ====== Restore ====== | ====== Restore ====== |
| |
| ==== udev Rules ==== | ==== udev Rules ==== |
| |
| **** | |
| |
| sudo mkdir -p '/etc/udev/rules.d/' && sudo cp ~/'Projects/bkerler-edl/src/Drivers/50-android.rules' ~/'Projects/bkerler-edl/src/Drivers/51-edl.rules' '/etc/udev/rules.d/' && sudo udevadm control --reload | sudo mkdir -p '/etc/udev/rules.d/' && sudo cp ~/'Projects/bkerler-edl/src/Drivers/50-android.rules' ~/'Projects/bkerler-edl/src/Drivers/51-edl.rules' '/etc/udev/rules.d/' && sudo udevadm control --reload |
| |
| ==== Decrypt ==== | ==== Decrypt ==== |
| |
| **** | |
| |
| md5sum ~/'Downloads/enchilada_22_J.50_210121/enchilada_22_J.50_210121.ops' | grep '4d11ee9081b9a314cc10aec784f12acd' && python3 ~/'Projects/bkerler-oppo_decrypt/src/opscrypto.py' decrypt ~/'Downloads/enchilada_22_J.50_210121/enchilada_22_J.50_210121.ops' --extractdir='decrypted-ops' && sync | md5sum ~/'Downloads/enchilada_22_J.50_210121/enchilada_22_J.50_210121.ops' | grep '4d11ee9081b9a314cc10aec784f12acd' && python3 ~/'Projects/bkerler-oppo_decrypt/src/opscrypto.py' decrypt ~/'Downloads/enchilada_22_J.50_210121/enchilada_22_J.50_210121.ops' --extractdir='decrypted-ops' && sync |
| |
| ==== Create XMLs ==== | ==== Create XMLs ==== |
| |
| **** | |
| |
| cd ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/' && python3 ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/op6-restore-patches.py' && sync | cd ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/' && python3 ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/op6-restore-patches.py' && sync |
| |
| ==== Disable ModemManager ==== | ==== Disable ModemManager ==== |
| |
| **** | |
| |
| sudo systemctl disable 'ModemManager' --now | sudo systemctl disable 'ModemManager' --now |
| |
| ==== Reboot ==== | ==== Reboot ==== |
| |
| **** | |
| |
| ~/'Projects/bkerler-edl/src/edl' reset | ~/'Projects/bkerler-edl/src/edl' reset |