Android can view the system database under ADB, androidadb
Recently, we have a requirement that we need to obtain the database data of the system without using apk. OK, let's look at how to implement it. Of course, in the ADB operating system database, you must have the root permission.
1. ADB connects to the mobile phone
2. adb shell combined with find to find db files
Adb shell find/-name '*. db'-type f
3. Export
Adb pull/data/com. android. providers. contacts/databases/contacts2.db/local
4. Open the database with sqlite
OK. You can do what you want to do later.
How can java software on the computer query the android sqlite database through adb?
I don't know. It seems that I can execute "adb shell cd/data/com. test/databases/& ls can display the file directory under databases. If only & is used, only the files under the root directory are displayed.
How does the android adb shell check the memory occupied by the file system operated by the current program?
In this way, the bottom layer of the android system is a cropped linux system. Therefore, the linux system is basically bright enough to run. How to use commands to view the linux system and how to view the android system?