-
-
Save seanlilmateus/2f2fbe04ef4f73c74c1364c6fd922a87 to your computer and use it in GitHub Desktop.
AOSP Memory/Content Related ADB Commands/Call Logs
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 characters
adb shell dumpsys procstats --hours 3 | |
adb shell dumpsys meminfo | |
adb shell dumpsys activity | |
#get com.android content providers | |
adb shell dumpsys | grep Provider{ | grep com.android | |
#call logs | |
adb shell content query --uri content://call_log/calls | |
#call logs | |
for i in `seq 1 90`; do adb shell content insert --uri content://call_log/calls --bind numberlabel:s:teluri --bind number:s:7837 --bind type:i:1 --bind date:l:1437760239687 --bind countryiso:s:US --bind numbertype:i:0 --bind new:i:1 --bind duration:l:60 --bind presentation:i:1 --bind name:s:7837 --bind photo_id:l:0; echo $i; done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment