adb Hacking Tutorial with command

ADB Stands for Android Debug Bridge, ADB is a command line tool which you can use to debug or communicate with any android device. Let’s ...

ADB commands for AndroidADB Stands for Android Debug Bridge, ADB is a command line tool which you can use to debug or communicate with any android device.
Let’s see ADB Commands.
ADB Command to view connected device(s)
This command prints a list of all attached emulator/device instances.
adb devices
If multiple devices are attached, use adb -s DEVICE_ID to target a specific device.
ADB Command to push and pull files
adb push <Source> <Destination>
This command sends files to your phone from local PC.
Example: adb push c:/example.apk /sdcard/
adb pull <Source> <Destination>
This command receives files from your phone to local PC.
Example: adb pull /system/app/example.apk c:/
ADB Command to Install and Uninstall an application
Install:
adb install -r APK_PATH
This command installs a given application to your device. Optional ‘-r’ argument reinstalls and keeps any data if the application is already installed on the device.
Ex: adb install -r c:/application.apk
Uninstall:
adb uninstall <PACKAGE_NAME>
This command uninstalls the given package from the device.
Ex: adb uninstall com.electrofriends.example
To start adb with root permissions:
adb root
ADB command to remount the device:
adb remount
ADB Command to enter into shell
adb shell
ADB Command to reboot the device
adb reboot
ADB Command to reboot the phone into bootloader
adb reboot bootloader
ADB Command to wipe data/factory reset
Suppose if you have forgotten the device password or for any reason if you want to factory reset your android device, here are the simple 3 steps to do the same.
1. First reboot your device in fastboot or bootloader mode:
adb reboot bootloader
2. Next erase all data
fastboot –w
3. Restart your device.
ADB Command Remount your device
adb remount
ADB Command to take device log
Below command will display the device logs on your command prompt.
adb logcat
Command to save device logs to a file
adb logcat > log
If you feel you are getting lots of unwanted logs, then filter by tagname
adb logcat -s TAG_NAME
adb logcat -s TAG_NAME_1 TAG_NAME_2
You can also filter logs by log priority.
adb logcat “*:PRIORITY”
# example
adb logcat “*:W”
Here are the priority levels of logs:
V – Verbose (lowest priority)
D – Debug
I – Info
W – Warning
E – Error
F – Fatal
S – Silent (highest priority, on which nothing is ever printed)
Filter using grep
Alternatively the output of logcat can be piped to grep on a system that supports it.
adb logcat | grep “ERROR”
adb logcat | grep “ERROR\|Exception”
ADB Command to clear the device log
This command will clear the device log buffer.
adb logcat -c
ADB Command to create and delete users
First you need to enable the multiuser support on your Android device. Then only the user menu will be visible in Android settings.
adb shell setprop fw.max_users 8
Now run bellow command to create new android device user
adb shell pm create-user Test_User
Below command is used delete the user based on user ID. There is no direct method is available to delete user based on user name.
pm remove-user User_ID
ADB Command to Start an activity
Use below command to start any activity
adb shell am start PACKAGE_NAME/ACTIVITY_NAME
Example:
ADB Command to start and stop settings app.
adb shell am start -n com.android.settings/.Settings
adb shell am force-stop com.android.settings
ADB Command to open device applications directly. 
adb shell am start -a android.intent.action.MAIN -n com.android.settings/.applications.ManageApplications
ABD Command to start and stop camera
adb shell am start -n com.android.camera2/com.android.camera.CameraLauncher
adb shell am force-stop com.android.camera2
ADB Command to launch camera in image capture mode and take picture
adb shell am start -a android.media.action.IMAGE_CAPTURE
adb shell input keyevent 27
ADB Command to launch camera in video capture mode and take video
adb shell am start -a android.media.action.VIDEO_CAPTURE
adb shell  input keyevent 27

COMMENTS

Name

Airtel Tricks,1,android,3,Android RAT,1,Android Tricks,5,APK,13,Blogger Tricks,4,Canon Printer,2,Facebook,6,Facebook Tricks,4,Game,1,Hotstar,1,Internet Tricks,1,MX Player,1,Network Tricks,2,PC Tricks,5,Printer Driver,2,PUBG,2,Whatsapp Tricks,2,wifi Tricks,1,windows,1,Youtube Tricks,2,
ltr
item
Hack Trick: adb Hacking Tutorial with command
adb Hacking Tutorial with command
https://electrofriends.com/wp-content/uploads/2014/09/ADB.jpg
Hack Trick
https://fullhacktricks.blogspot.com/2020/01/adb-hacking-tutorial-with-command.html
https://fullhacktricks.blogspot.com/
https://fullhacktricks.blogspot.com/
https://fullhacktricks.blogspot.com/2020/01/adb-hacking-tutorial-with-command.html
true
564312450492889688
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy