Last active
February 20, 2024 17:33
-
-
Save thedewi/ed49054445f9d0f8d7f3248077eebce6 to your computer and use it in GitHub Desktop.
Revisions
-
thedewi revised this gist
Jan 28, 2022 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -40,3 +40,4 @@ menu. And it can be disabled again at the end of the process if you like.* 1. Enter: `adb shell` 2. You should see a unix prompt ending in `$`. You are now typing commands directly into the phone's underlying linux operating system. 3. Enter: `appops set com.skype.raider VIBRATE ignore` 4. When you are done, enter: `exit` -
thedewi created this gist
Jan 28, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,42 @@ # A. Enable Developer Options *This just enables weird settings on your phone. It doesn't pose any risks as long as you don't run amok in the `Developer options` menu. And it can be disabled again at the end of the process if you like.* 1. Go to `Settings` > `About`. 2. Find `Build number` at the bottom. 3. Tap it 7 times, and you should see a popup message telling you are a developer. # B. Enable USB debugging *Similar to the above, this just adds the possibility of debugging over a USB cable. It does nothing risky by itself.* 1. Go to `Settings` > `System` > `Developer options` 2. Scroll down to `Debugging` section and enable `USB debugging`. # C. Connect USB in ADB mode 1. Plug the phone into a Windows PC. 2. If the phone doesn't say "USB Debugging Connected" in a notification, you may need to install a driver in Windows: 1. Download the Google USB Driver here (or if your phone is not Google, you might need a different one) - https://developer.android.com/studio/run/win-usb 2. Unzip the driver to a temporary location. 3. Open the Windows `Device Manager`. 4. Find the unrecognized android phone indicated by a yellow exclamation mark 5. Right-click, `Update Driver`, `Browse my computer for drivers` 6. `Browse...` to the location you unzipped the driver. Click `Okay` for the next few steps until the driver is installed. 3. When this is done the phone should say "USB Debugging Connected" in a notification. # D. Connect with ADB 1. Download the platform tools here, by clicking the "Windows" link: https://developer.android.com/studio/releases/platform-tools 2. Unzip the download in an appropriate folder for android hacking tools. 3. Open a Command Prompt, `cd` to that location, run this command: `adb devices` 4. Look at the phone. It should be asking you if you want to allow the computer to connect. Permit it. 5. If you have succeeded, `adb devices` should list an attached device. # E. Forbid Skype from using VIBRATE 1. Enter: `adb shell` 2. You should see a unix prompt ending in `$`. You are now typing commands directly into the phone's underlying linux operating system. 3. Enter: `appops set com.skype.raider VIBRATE ignore`