How to access the "date" folder in the Android File Explorer using the mobile as an emulator? [closed]

0

I use a plugin to view the tables created in SQLite, but I can not access the "date" folder when I use my cell phone as an emulator, it only works when I use an AVD. Does anyone know how to release this?

    
asked by anonymous 08.07.2015 / 21:40

1 answer

1

To access the Data folder containing your database, you need to use a device with ROOT , otherwise it will not be possible . If you are using a device with ROOT follow these steps to gain access as a "super user":

Navigate to the .sdk \ platform-tools folder by ms-dos and run adb as follows.

  

. \ sdk \ platform-tools> adb devices

     

List of devices attached

     

0123456789ABCDEF device

This command will list the active devices and give you the device ID, doing this:

adb -s 0123456789ABCDEF shell

Then access via super user:

$ su
# chmod 777 /data
# chmod 777 /data/data
# chmod 777 /data/data/br.com.dominio.projeto
# chmod 777 /data/data/br.com.dominio.projeto/databases
# chmod 777 /data/data/br.com.dominio.projeto/databases/banco.db

After executing the commands above enter the DDMS select the device again and navigate to

date / date / "your project" /databases/banco.db

EDIT: I have a saved link where they said that it is possible to perform a backup of your bank without using a mobile with ROOT, but I never had time to perform this test. Link: Database backup sqlite , this link is not fixed, when you have a testo time and make another edit in the answer

    
08.07.2015 / 21:44