Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-self authored Aug 31, 2024
1 parent e171c0c commit 8f03f59
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,13 @@ chmod +x unlock.sh

<img width="682" alt="Screenshot 2024-08-28 at 11 55 19 AM" src="https://github.com/user-attachments/assets/56a487d5-e974-4e7c-8e78-e74eccd9aa12"><hr>

execute_adb_command() {
adb shell "$1"
}

### run ADB commands
execute_adb_command "settings put global setup_wizard_has_run 1"
execute_adb_command "settings put secure user_setup_complete 1"
execute_adb_command "content insert --uri content://settings/secure --bind name:s:DEVICE_PROVISIONED --bind value:i:1"
execute_adb_command "content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:i:1"
execute_adb_command "content insert --uri content://settings/secure --bind name:s:INSTALL_NON_MARKET_APPS --bind value:i:1"
execute_adb_command "am start -c android.intent.category.HOME -a android.intent.action.MAIN"
execute_adb_command "settings put global setup_wizard_has_run 1"<br>
execute_adb_command "settings put secure user_setup_complete 1"<br>
execute_adb_command "content insert --uri content://settings/secure --bind name:s:DEVICE_PROVISIONED --bind value:i:1"<br>
execute_adb_command "content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:i:1"<br>
execute_adb_command "content insert --uri content://settings/secure --bind name:s:INSTALL_NON_MARKET_APPS --bind value:i:1"<br>
execute_adb_command "am start -c android.intent.category.HOME -a android.intent.action.MAIN"<br>

### wait for 5 seconds
sleep 5
Expand Down

0 comments on commit 8f03f59

Please sign in to comment.