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

2

Good morning everyone, One day I was able to find the database of an android application that I'm doing in 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 a DBMS. I have tried with cp but it does not recognize this command, is there any way or can not the database be copied?

    
asked by anonymous 22.09.2014 / 14:24

1 answer

1

I actually copied to my PC instead of SDCARD so I was able to open it with a DBMS.

With the help of @ g.carvalho97 I was able to do the following: I've enabled the tablet's "USB debugging" 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 navigate the android through the terminal and then I went to the folder and gave permissions to read, save, delete (CHMOD 777)

I left the root and returned 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 **

Thanks to everyone

    
22.09.2014 / 21:59