Page MenuHomeSealhub

install_cert.sh
No OneTemporary

install_cert.sh

wait-for-offline() {
while [ $(adb devices | grep offline | wc -l) -eq 0 ]; do
sleep 0.1
done
}
adb wait-for-device
adb root
wait-for-offline
adb wait-for-device
adb shell avbctl disable-verification
#here may be the issue with the bypass (start)
adb wait-for-device
adb reboot
adb wait-for-device
adb root
#(end)
wait-for-offline
adb wait-for-device
adb remount
adb wait-for-device
adb reboot
adb wait-for-device
adb root
wait-for-offline
adb wait-for-device
adb remount
adb wait-for-device
adb push /$1 /system/etc/security/cacerts
adb shell chmod 664 /system/etc/security/cacerts/$1
adb reboot
#wait for complete boot
adb wait-for-device
while [ "$(adb shell getprop sys.boot_completed | tr -d '\r')" != "1" ]; do
sleep 1
done

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 2, 20:39 (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1030517
Default Alt Text
install_cert.sh (750 B)

Event Timeline