mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-07-15 04:28:11 -07:00
fix timeout bug in rooting script and update docs
This commit is contained in:
Vendored
+2
-3
@@ -1,5 +1,4 @@
|
||||
#!/bin/env bash
|
||||
|
||||
install() {
|
||||
if [[ -z "${SERIAL_PATH}" ]]; then
|
||||
echo "SERIAL_PATH not set, did you run this from install-linux.sh or install-mac.sh?"
|
||||
@@ -21,8 +20,8 @@ check_adb() {
|
||||
}
|
||||
|
||||
force_debug_mode() {
|
||||
# Force a switch into the debug mode to enable ADB
|
||||
"$SERIAL_PATH" AT
|
||||
echo " Force a switch into the debug mode to enable ADB"
|
||||
"$SERIAL_PATH" --root
|
||||
echo -n "adb enabled, waiting for reboot"
|
||||
wait_for_adb_shell
|
||||
echo "it's alive!"
|
||||
|
||||
Reference in New Issue
Block a user