Last active
January 27, 2022 07:07
-
-
Save chris-piekarski/ceb7cf7b8a828debc96c to your computer and use it in GitHub Desktop.
AOSP Memory/Content Related ADB Commands/Call Logs
This file contains 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
Do I need to root my android devices in order to retrieve the call logs ? As I'm currently having an issue with the command for call logs (as shown below)
