Skip to content

Issue with RootTools.copyFile #33

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. RootTools.copyFile(source, dest, true, true);

--------------------------------------------------------------------------------
--

What is the expected output? What do you see instead?
1. I tried "copyFile" on two database files and that worked.
2. But When I tried to open those databases in android using 
"SQLiteDatabase.openDatabase(database, null, 
SQLiteDatabase.NO_LOCALIZED_COLLATORS);" the first database opened without any 
issue but the second give me SQLiteException that unable to open, I tried it 
many times but no luck.
3. But when I copied the second database by executing "cat" command via 
RootTools with "su" and then tried to open the database it works like charm.

--------------------------------------------------------------------------------
--

What version of the product are you using? On what operating system?
1. RootTools-2.6
2. Android - 2.3.6
3. su binary - v3.1.1(17)
4. busy box - v1.21.0
5. MyOS - Ubuntu 13.04

--------------------------------------------------------------------------------
--

Please provide any additional information below.
It seems like that "copyFile" after copying the file has maintained a lock or 
something on that file but seriously I am no expert, that is what I observed.

Please let me know what else info I can provide...
Seriously this tool has helped me a lot.

Original issue reported on code.google.com by shrewd.h...@gmail.com on 9 May 2013 at 6:20

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions