Run ADB Shell:
cd ~/Library/Android/sdk/platform-tools
./adb shell
Root AVD:
How to root an Android Emulator with Tiramisu (Android 13)
https://gitlab.com/newbit/rootAVD
Get root privileges:
./adb shell
su
Pull app files and data
android# cd /data/data/
android# cp−r com.google.android.gm/storage/0123−4567/
android# exit
android$ exit
windows$ ./adb pull/storage/0123−4567/ C:\\DIFO\\
View installed packages:
android# cat / data /system/ packages . l i s t
android# pm l i s t packages
android# l s / data /app
Count installed packages:
pm list packages | wc -l
Extract chat messages from db file (a-wal):