Languages

Menu
Sites
Language
Problem pulling files from emulator

Hi,

I've been trying to pull some files out of the emulator using the SDB to examine them, but I've been receiving an error with some of the files that I can't work out. Just wondering if anyone has had a similar issue and managed to fix it.

I've used the following command in the SDB shell to copy all of the files I want from the file system recursively and put them in the sdcard directory.

"find -name '*.so' | cpio -pdm /sdcard/binaries"

This works fine and copies all of the files I want with no issues. However, I get an error when I attempt to pull these using the SDB via this command.

"sdb pull /sdcard/binaries /desktop/binaries"

This manages to pull some of the files but eventually stops with the error message "cannot read mode '/tmp/binaries/usr/lib/libminicontrol-provider.so': File exists"   If I do the same command in the file's original directory, I get a similar error except it says "No error" instead of "File exists".

Anyone encountered this before and had any success getting around it?

Thanks in advance

Kyle

Responses

4 Replies
Alex Ashirov

Hi,
Probably you need to switch to the root account mode
sdb root on

Kyle Fuller

Already did that, sorry, should have mentioned that one but thanks for suggesting it.

Kyle Fuller

I've managed to fix the issue, so I'll post the solution in case someone else has the same problem. The errors were caused by the cpio command pulling symbolic links into the directory, and when the SDB tries to pull these it fails and displays the "File Exists" error. The other issue that was also causing this is due to Tizen being Linux based, and thus the filenames are case sensitive. This meant that "libxt_TCPMSS.so" and "libxt_tcpmss.so" are seperate files on the phone, while Windows takes them to be the same. 

To fix these, I amended the first command to "find -type f -name '*.so' | cpio -pdm /sdcard/binaries", while the only fix for the second issue is to take the offending files and pull them manually to seperate folders and rename one of them.

AVSukhov

Hello,

You may use IDE -> Connection Explorer