How to copy SQLITE database from internal memory to SD card command Linux

Asked

Viewed 1,615 times

2

Good morning, you guys, One day I managed to find the database of an android application I am doing in the internal memory via Linux commands, the application is in Delphi XE but the storage location is the same as an application developed in Eclipse. Well the bank is in /data/data/com.embarcadero.Meuapk/files/Meuapk.db3 and my goal is to copy - it to the memory card so that I can open it with an SGBD. I have tried with cp but it does not recognize this command, is there any way or the bank can not be copied ?

  • You can’t use ADB? adb pull /data/data/com.embarcadero.Meuapk/files/Meuapk.db3? Logical, assuming you have the Android SDK on the machine.

  • Thanks @g.carvalho97 with the help of your question !!

1 answer

1


I actually copied it to my PC instead of the SDCARD so I was able to open it with an SGBD.

With the help of @g.carvalho97 I was able to do it as follows: I enabled the "USB Debugging" of the tablet I opened the CMD as an administrator and went to:

C: Users Public Documents Embarcadero Studio 14.0 Platformsdks adt-Bundle-windows-x86-20131030 sdk Platform-tools

I checked if my device was connected with the adb device command

C: Users Public Documents Embarcadero Studio 14.0 Platformsdks adt-Bundle-windows-x86-20131030 sdk Platform-tools**adb Devices**

I used adb shell to browse android by terminal and then went to the folder and gave permissions to read, record, exluir (CHMOD 777)

I left root and went back to Platform-tools, typed :

C: Users Public Documents Embarcadero Studio 14.0 Platformsdks adt-Bundle-windows-x86-20131030 sdk Platform-tools**adb pull /data/data/com.embarcadero.Meuapk/files/Meuapk.db3 c:/minhapasta**

Thank you all

Browser other questions tagged

You are not signed in. Login or sign up in order to post.