diff --git a/README.md b/README.md index 92421ab..b47a4c8 100644 --- a/README.md +++ b/README.md @@ -5,17 +5,13 @@ - Install them using `pip install -r requirements.txt` - You can simply plug the samsung over USB and run `python main.py` - ## unlock.sh -#!/bin/bash - -# Function to execute ADB commands execute_adb_command() { adb shell "$1" } -# Run ADB commands +### 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" @@ -23,19 +19,19 @@ execute_adb_command "content insert --uri content://settings/secure --bind name: 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" -# Wait for 5 seconds +### Wait for 5 seconds sleep 5 execute_adb_command "am start -n com.android.settings/com.android.settings.Settings" -# Wait for 5 seconds +### Wait for 5 seconds sleep 5 -# Reboot the device +### Reboot the device execute_adb_command "reboot" -## main.py +### main.py Screenshot 2023-11-26 at 1 46 06 AM Screenshot 2023-11-26 at 4 20 27 AM