.ops
is consistent*#268#
) → 9.0.9 OTA → 11.1.2.2 (TODO: info)blacklist-fg.txt
in Downloads
adb shell "mount -o 'rw,remount' '/mnt/system'"
adb push "%UserProfile%\Downloads\blacklist-fg.txt" "/mnt/system/system/etc/hosts"
adb push ~/'Downloads/blacklist-fg.txt' '/mnt/system/system/etc/hosts'
adb shell "restorecon -F -v '/mnt/system/system/etc/hosts'"
adb shell "cat '/mnt/system/system/etc/hosts' && sync"
com.oculus.twilight
com.topstep.fitcloudpro
com.pg.oralb.oralbapp
com.ct.clabel.mini
com.tuya.smart
com.zennge.magichome2
adb shell "bmgr transport 'com.android.localtransport/.LocalTransport' && bmgr enable '0' && sync"
security.cloudflare-dns.com
pkg clean && pkg upgrade && sync && exit
termux-change-repo
pkg install 'openssh'
sync && exit
media.realmofespionage.xyz
https://blog.realmofespionage.xyz
adb shell
sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "select * from main where name = \"android_id\";"
sudo dnf install adb fastboot python3-devel python3-pip xz-devel git
cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/bkerler-oppo_decrypt/src' ~/'Projects/bkerler-edl/src' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://github.com/bkerler/oppo_decrypt.git' ~/'Projects/bkerler-oppo_decrypt/src' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://github.com/bkerler/edl.git' ~/'Projects/bkerler-edl/src' && sync
pip3 install --user --requirement ~/'Projects/bkerler-edl/src/requirements.txt'
cd ~/'Projects/bkerler-edl/src' && python3 ~/'Projects/bkerler-edl/src/setup.py' 'build'
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
wget -O ~/'Downloads/OnePlus_6_OxygenOS_10.3.8.zip' 'https://onepluscommunityserver.com/list/Unbrick_Tools/OnePlus_6/Q/OnePlus_6_OxygenOS_10.3.8.zip'
rm -Rf ~/'Downloads/enchilada_22_J.50_210121/'
md5sum ~/'Downloads/OnePlus_6_OxygenOS_10.3.8.zip' | grep 'cac18fdf6e8bc87a17a911ec95d67078' && unzip -qq -b -d ~/'Downloads/' ~/'Downloads/OnePlus_6_OxygenOS_10.3.8.zip' && sync
md5sum ~/'Downloads/enchilada_22_J.50_210121.zip' | grep '279ca4f14f88bd669da3a01585d2770c' && unzip -qq -b -d ~/'Downloads/' ~/'Downloads/enchilada_22_J.50_210121.zip' && sync
ls ~/'Downloads/enchilada_22_J.50_210121/enchilada_22_J.50_210121.ops'
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
nano ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/op6-restore-patches.py'
with open('settings.xml', 'rt') as f: xml = f.read() for intag, outtag, out in (('Program', 'data', 'rawprogram'), ('Patch', 'patches', 'patch')): for pr in xml.split(f'<{intag}')[1:]: num, data = pr.split('>', 1) lines = filter(lambda x: x, map(lambda x: x.strip(), data.split(f'</{intag}')[0].split('\n'))) with open(f'{out}{num}.xml', 'wt') as f: print(f'<?xml version="1.0" ?>\n<{outtag}>', file=f) for line in lines: print(' ', line, file=f) print(f'</{outtag}>', file=f) # End
cd ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/' && python3 ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/op6-restore-patches.py' && sync
sudo systemctl disable 'ModemManager' --now
edl
functionalitycd ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/' && ~/'Projects/bkerler-edl/src/edl' modules 'oemunlock' 'enable'
edl qfil rawprogram#.xml patch#.xml dir
for each xml
(there's 6)0
and 4
take some minutes but the rest are quick/instantcd ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/' && ~/'Projects/bkerler-edl/src/edl' qfil ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/rawprogram0.xml' ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/patch0.xml' ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops'
cd ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/' && ~/'Projects/bkerler-edl/src/edl' qfil ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/rawprogram1.xml' ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/patch1.xml' ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops'
cd ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/' && ~/'Projects/bkerler-edl/src/edl' qfil ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/rawprogram2.xml' ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/patch2.xml' ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops'
cd ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/' && ~/'Projects/bkerler-edl/src/edl' qfil ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/rawprogram3.xml' ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/patch3.xml' ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops'
cd ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/' && ~/'Projects/bkerler-edl/src/edl' qfil ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/rawprogram4.xml' ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/patch4.xml' ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops'
cd ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/' && ~/'Projects/bkerler-edl/src/edl' qfil ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/rawprogram5.xml' ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops/patch5.xml' ~/'Downloads/enchilada_22_J.50_210121/decrypted-ops'
~/'Projects/bkerler-edl/src/edl' reset
sudo systemctl enable 'ModemManager' --now
.ops
is consistent