| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| android:oneplus_6_enchilada [2026/05/22 23:53] – Sean Rhone | android:oneplus_6_enchilada [2026/07/16 02:37] (current) – Sean Rhone |
|---|
| |
| * 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 |
| * [[#windows1|HOSTS]] | * [[https://dl.google.com/android/repository/platform-tools-latest-windows.zip|platform-tools-latest-windows.zip]] |
| | * :!: [[#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" --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" | 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" |
| 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" | 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" |
| |
| ====== Recovery ====== | ====== Recovery ====== |
| ==== 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" | 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" |
| | |
| RMDIR /S /Q "%UserProfile%\Downloads\platform-tools" | |
| |
| ==== FreeBSD ==== | ==== FreeBSD ==== |
| |
| ==== 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" |
| ====== Drive Maintenance ====== | ====== Drive Maintenance ====== |
| |
| * LOS recovery (HOSTS) | * LOS recovery ([[#windows1|HOSTS]]) |
| * :!: WIP | * :!: WIP |
| * TODO: ''vfat'' | * TODO: ''vfat'' |
| | |
| | "%UserProfile%\Downloads\platform-tools\adb.exe" shell |
| |
| <code> | <code> |
| |
| ==== 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 |