Skip to main content

adb

 

 adb devices

 adb shell

adb -s <device̠-number> shell 

adb tcpip 5555

adb shell ip route | awk '{print $9}'

 adb connect 192.168.1.51ː5555

 adb start-server

adb kill-server

adb reboot

adb reboot recovery

adb reboot bootloader

adb push files /storage/on/device

adb push myfolder /storage/on/device   #push folder only

adb push myfolder/ /storage/on/device   #push all files in folder

## use pull instead of push for pulling file/folder

 adb shell getprop

adb shell setprop key value 

adb shell service call <your_service_name> <number at which the function appears in your_service_name.aidl> <type of the argument like i32 or i64> <argument>

adb shell service list

adb shell service call iphonesubinfo 1

adb shell service call iphonesubinfo 1| cut -d "'" -f2| grep -Eo '[0-9]'| xargs| sed 's/\ //g'

 

service call iphonesubinfo 3 i32 1 | grep -oE '[0-9a-f]{8} ' | while read hex; do echo -ne "\u${hex:4:4}\u${hex:0:4}"; done; echo

 

service call iphonesubinfo 3 i32 2 | grep -oE '[0-9a-f]{8} ' | while read hex; do echo -ne "\u${hex:4:4}\u${hex:0:4}"; done; echo

 

adb shell content insert --uri content://settings/secure --bind name:s:accessibility_enabled --bind value:s:1

 

adb shell content insert --uri content://settings/secure --bind name:s:accessibility_script_injection, --bind value:s:1

 

adb shell content insert --uri content://settings/secure --bind name:s:lock_function_val --bind value:s:0


adb shell content insert --uri content://settings/secure --bind name:s:volume_controller_service_component --bind value:s:1


adb shell content insert --uri content://settings/secure --bind name:s:brightness_pms_marker_screen --bind value:s:255


am start -a android.media.action.IMAGE_CAPTURE"  

input keyevent 27


adb shell am start -a android.media.action.IMAGE_CAPTURE


adb shell am start -a android.media.action.IMAGE_CAPTURE

adb shell input keyevent 66

adb shell am start -a android.media.action.VIDEO_CAPTURE

adb shell input keyevent 66

adb shell input keyevent 66

 

 

adb shell am start -a android.intent.action.SET_WALLPAPER

adb shell am start -a android.intent.action.VIEW -d https://www.gentoo.org

 

am start -a android.intent.action.VIEW -d file:///sdcard/sound.ogg -t audio/ogg


am start -a com.android.settings.APPLICATION_DEVELOPMENT_SETTINGS



am start -a com.android.settings/.Settings\$PowerUsageSummaryActivity


adb shell am start com.android.settings/com.android.settings.SubSettings

am start -a android.intent.action.VIEW -d fi

le:///sdcard/video.mkv -t video/mkv

adb shell am start -a android.intent.action.VIEW -d "geo:46.457398,-119.407305"

 

am start -a android.intent.action.VIEW content://contacts/people/    

 

am start -W -c android.intent.category.HOME -a android.intent.action.MAIN

adb shell am start --ez show_night_mode true com.android.systemui/.tuner.TunerActivity


adb shell am start -a android.intent.action.VIEW -d facebook://facebook.com/inbox

 

adb shell am start -a android.intent.action.VIEW -d file:///sdcard/me.vcard -t text/x-vcard

 

adb shell am start -a android.intent.action.GET_CONTENT -t image/jpeg


adb shell am broadcast -a com.whereismywifeserver.intent.TEST --es sms_body "test from adb"


am start -a android.intent.action.INSERT -t vnd.android.cursor.dir/contact -e name 'larry the cow' -e phone 123456789

 

adb shell am start -a android.intent.action.INSERT -t vnd.android.cursor.dir/contact -e name 'Larry' -e phone '+467277777' -e email '[email protected]' -e postal '12345, FooStreet 10, Sweden'


adb shell input keyevent 4;sleep 0.2; adb shell input keyevent 4


adb shell pm list packages

adb shell pm list packages -e

adb shell pm list packages -d

adb shell pm list packages -3

adb shell pm list users

adb shell pm list permission-groups

adb shell pm list features

pm uninstall --user 0 package.name

pm uninstall --user 0 com.facebook.orca

adb shell am broadcast -a com.android.car.dialer.intent.action.adb --es "action" "connect"

 

am broadcast -a com.android.car.dialer.intent.action.adb \--es "action" "addCall" --es "id" "123456789"


adb shell am broadcast -a com.android.car.dialer.intent.action.adb --es "action" "rcvCall" --es "id" "123456789"

adb shell am broadcast -a com.android.car.dialer.intent.action.adb --es "action" "holdCall"

adb shell am broadcast -a com.android.car.dialer.intent.action.adb --es "action" "unholdCall"


adb shell am broadcast -a com.android.car.dialer.intent.action.adb --es "action" "unholdCall"

adb shell am broadcast -a com.android.car.dialer.intent.action.adb --es "action" "endCall" --es "id" "123456789"

adb shell dumpsys [-t timeout] [--help] [-l] [--skip services] [service] [arguments] [-c] [-h]

adb shell dumpsys battery

 

dumpsys -l

 

dumpsys | grep -a 'DUMP OF SERVICE'

 

dumpsys window windows | grep 'mCurrentFocus' 

 

settings put system show_network_speed_enabled 1  

service call phone 1 s16 "+4612345678"

 

monkey -p com.example.myapp -v 10000 

settings put secure location_providers_allowed gps 

settings put secure location_providers_allowed gps ' '
 
settings put secure install_non_market_apps 1
 
settings put secure fp_take_photo 0 
settings put secure lock_screen_allow_private_notifications 1
 
settings put secure lock_screen_owner_info_enabled 0
 
 
input swipe 0 0 0 300
 
settings get secure bluetooth_address 
 
 
adb backup -all -f <filepath>/backup.ab“
 
adb backup -apk -shared -all -f <filepath>/backup.ab“
 
adb restore <filepath>/backup.ab
 
( printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" ; tail -c +25 backup.ab ) | tar xfvz - 
 
          
 

    

 

      

 

         

 

           

         

 

gpasswd -a <username> android   

emerge -av android-udev-rules

 

 

https://packages.gentoo.org/packages/dev-util/android-udev-rules

https://github.com/M0Rf30/android-udev-rules

https://wiki.gentoo.org/wiki/Android/adb

https://wiki.archlinux.org/title/Android_Debug_Bridge 

https://developer.android.com/studio/command-line/adb.html

 

Comments

Popular posts from this blog

sxhkd volume andbrightness config for dwm on void

xbps-install  sxhkd ------------ mkdir .config/sxhkd cd .config/sxhkd nano/vim sxhkdrc -------------------------------- XF86AudioRaiseVolume         amixer -c 1 -- sset Master 2db+ XF86AudioLowerVolume         amixer -c 1 -- sset Master 2db- XF86AudioMute         amixer -c 1 -- sset Master toggle alt + shift + Escape         pkill -USR1 -x sxhkd XF86MonBrightnessUp          xbacklight -inc 20 XF86MonBrightnessDown          xbacklight -dec 20 ------------------------------------------------------------- amixer -c card_no -- sset Interface volume run alsamixer to find card no and interface names xbps-install -S git git clone https://git.suckless.org/dwm xbps-install -S base-devel libX11-devel libXft-devel libXinerama-devel  vim config.mk # FREETYPEINC = ${X11INC}/freetype2 #comment for non-bsd make clean install   cp config.def.h config.h vim config.h xbps-install -S font-symbola #for emoji on statusbar support     void audio config xbps-i

Hidden Wiki

Welcome to The Hidden Wiki New hidden wiki url 2015 http://zqktlwi4fecvo6ri.onion Add it to bookmarks and spread it!!! Editor's picks Bored? Pick a random page from the article index and replace one of these slots with it. The Matrix - Very nice to read. How to Exit the Matrix - Learn how to Protect yourself and your rights, online and off. Verifying PGP signatures - A short and simple how-to guide. In Praise Of Hawala - Anonymous informal value transfer system. Volunteer Here are five different things that you can help us out with. Plunder other hidden service lists for links and place them here! File the SnapBBSIndex links wherever they go. Set external links to HTTPS where available, good certificate, and same content. Care to start recording onionland's history? Check out Onionland's Museum Perform Dead Services Duties. Introduction Points Ahmia.fi - Clearnet search engine for Tor Hidden Services (allows you

fix idm integration on chrome

Chrome Browser Integration I do not see IDM extension in Chrome extensions list. How can I install it?  How to configure IDM extension for Chrome? Please note that all IDM extensions that can be found in Google Store are fake and should not be used. You need to install IDM extension manually from IDM installation folder. Read in step 2 how to do it . 1. Please update IDM to the latest version by using  "IDM Help->Check for updates..."  menu item 2.  I don't see  "IDM Integration module"  extension in the list of extensions in  Chrome . How can I install it? Press on  Chrome  menu ( arrow 1  on the image), select  "Settings"  menu item ( arrow 2  on the image) and then select  "Extensions"  tab ( arrow 3  on the image). After this open IDM installation folder ( "C:\Program Files (x86)\Internet Download Manager"  by default,  arrow 4  on the image) and drag and drop  "IDMGCExt.crx"  ( arrow 5  on the image) file int