FORUMS
Remove All Ads from XDA

[TOOL] DirectoryBind - move data to external_sd (GameLoft, Shadowgun etc.) ROOT req.

131 posts
Thanks Meter: 761
 
By slig, Senior Member on 25th December 2011, 12:09 PM
Post Reply Email Thread
1st January 2012, 10:23 PM |#21  
OP Senior Member
Thanks Meter: 761
 
More
Quote:
Originally Posted by nayparm

Directory browser addition is bloody cool slig :)

Thanks
Posted one more little improvement 0.1.8k. Directory browser displays "Loading" dialog if content loading takes longer time.
The Following User Says Thank You to slig For This Useful Post: [ View ] Gift slig Ad-Free
 
 
2nd January 2012, 03:23 AM |#22  
Senior Member
Thanks Meter: 40
 
More
i tried v 1.08.
i had question. the folder is mounted , cause i see it on my files .
but in directory bind application. suddenly its just disappear are,u sure,its no a bug
2nd January 2012, 06:30 AM |#23  
OP Senior Member
Thanks Meter: 761
 
More
Quote:
Originally Posted by cloud596

i tried v 1.08.
i had question. the folder is mounted , cause i see it on my files .
but in directory bind application. suddenly its just disappear are,u sure,its no a bug

Hi Thanks for posting !

Maybe there is a bug, please post some more details. I uderstand that disappear = turns green->gray or entry disappeared completly from the list ? What are data and target paths ? If it's possible please post steps to reproduce. Also You could enable logging and post content of log file after problem occurence. If there is a bug I'll surely track it.
2nd January 2012, 07:07 AM |#24  
Senior Member
Thanks Meter: 40
 
More
Wink
yep the entry it just disappear completely from aplications, i enable debug log but i thought there wasn't any suspicious yet.

Quote:


1/00/2012 20:04:20 - Loading database.
1/00/2012 20:04:20 - Checking entry availability.
1/00/2012 20:04:20 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
1/00/2012 20:04:20 - Entry found = unvailable.
1/00/2012 20:04:28 - Loading database.
1/00/2012 20:04:28 - Checking entry availability.
1/00/2012 20:04:28 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
1/00/2012 20:04:28 - Entry found = unvailable.
1/00/2012 20:16:21 - Loading database.
1/00/2012 20:16:21 - Checking entry availability.
1/00/2012 20:16:21 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
1/00/2012 20:16:21 - Entry found = unvailable.
1/00/2012 20:44:05 - Loading database.
1/00/2012 20:44:05 - Checking entry availability.
1/00/2012 20:44:05 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
1/00/2012 20:44:06 - Entry found = unvailable.
1/00/2012 21:06:03 - Service called (onStartCommand).
1/00/2012 21:06:03 - Operation: 5
1/00/2012 21:06:03 - Loading database.
1/00/2012 21:06:03 - Checking entry availability.
1/00/2012 21:06:03 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
1/00/2012 21:06:03 - Entry found = unvailable.
1/00/2012 21:06:03 - Trying to bind all checked.
2/00/2012 7:13:54 - Loading database.
2/00/2012 7:13:58 - Service called (onStartCommand).
2/00/2012 7:13:58 - Operation: 1
2/00/2012 7:13:58 - Loading database.
2/00/2012 7:13:58 - Trying to bind all checked.
2/00/2012 7:14:07 - Loading database.
2/00/2012 7:14:42 - Loading database.
2/00/2012 7:14:45 - Service called (onStartCommand).
2/00/2012 7:14:45 - Operation: 1
2/00/2012 7:14:45 - Loading database.
2/00/2012 7:14:45 - Trying to bind all checked.
2/00/2012 7:14:51 - Loading database.
2/00/2012 7:14:57 - Service called (onStartCommand).
2/00/2012 7:14:57 - Operation: 2
2/00/2012 7:14:57 - Loading database.
2/00/2012 7:14:57 - Trying to UN-bind all.
2/00/2012 7:15:00 - Service called (onStartCommand).
2/00/2012 7:15:00 - Operation: 1
2/00/2012 7:15:00 - Loading database.
2/00/2012 7:15:00 - Trying to bind all checked.
2/00/2012 7:15:19 - Loading database.
2/00/2012 7:15:19 - Checking entry availability.
2/00/2012 7:15:19 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
2/00/2012 7:15:20 - Entry found = unvailable.
2/00/2012 7:15:25 - Service called (onStartCommand).
2/00/2012 7:15:25 - Operation: 1
2/00/2012 7:15:25 - Loading database.
2/00/2012 7:15:25 - Checking entry availability.
2/00/2012 7:15:25 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
2/00/2012 7:15:25 - Entry found = unvailable.
2/00/2012 7:15:25 - Trying to bind all checked.
2/00/2012 7:15:40 - Loading database.
2/00/2012 7:15:40 - Checking entry availability.
2/00/2012 7:15:40 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
2/00/2012 7:15:40 - Entry found = unvailable.
2/00/2012 7:15:45 - Loading database.
2/00/2012 7:15:45 - Checking entry availability.
2/00/2012 7:15:45 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
2/00/2012 7:15:45 - Entry found = unvailable.
2/00/2012 7:15:48 - UN-bind, umount process returned OK on /sdcard/gameloft/.
2/00/2012 7:15:48 - Checking entry availability.
2/00/2012 7:15:48 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
2/00/2012 7:15:48 - Entry not found.
2/00/2012 7:15:52 - Service called (onStartCommand).
2/00/2012 7:15:52 - Operation: 1
2/00/2012 7:15:52 - Loading database.
2/00/2012 7:15:52 - Checking entry availability.
2/00/2012 7:15:52 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
2/00/2012 7:15:52 - Entry found = unvailable.
2/00/2012 7:15:52 - Trying to bind all checked.
2/00/2012 7:16:11 - Loading database.
2/00/2012 7:16:11 - Checking entry availability.
2/00/2012 7:16:11 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
2/00/2012 7:16:11 - Entry found = unvailable.
2/00/2012 9:10:19 - Loading database.
2/00/2012 9:10:39 - Loading database.
2/00/2012 9:11:11 - Loading database.
2/00/2012 9:11:14 - Service called (onStartCommand).
2/00/2012 9:11:14 - Operation: 1
2/00/2012 9:11:14 - Loading database.
2/00/2012 9:11:14 - Trying to bind all checked.
2/00/2012 9:11:41 - Loading database.
2/01/2012 9:22:11 - Loading database.
2/01/2012 9:22:19 - Service created (onCreate).
2/01/2012 9:22:19 - Service called (onStartCommand).
2/01/2012 9:22:19 - Operation: 2
2/01/2012 9:22:19 - Loading database.
2/01/2012 9:22:19 - Trying to UN-bind all.
2/01/2012 9:22:21 - Service called (onStartCommand).
2/01/2012 9:22:21 - Operation: 1
2/01/2012 9:22:21 - Loading database.
2/01/2012 9:22:21 - Trying to bind all checked.
2/01/2012 9:22:23 - Service called (onStartCommand).
2/01/2012 9:22:23 - Operation: 1
2/01/2012 9:22:23 - Loading database.
2/01/2012 9:22:23 - Trying to bind all checked.
2/01/2012 9:22:28 - Loading database.
2/01/2012 9:22:51 - Loading database.
2/01/2012 9:22:51 - Checking entry availability.
2/01/2012 9:22:51 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
2/01/2012 9:22:51 - Entry found = unvailable.
2/01/2012 9:22:57 - Service called (onStartCommand).
2/01/2012 9:22:57 - Operation: 1
2/01/2012 9:22:57 - Loading database.
2/01/2012 9:22:57 - Checking entry availability.
2/01/2012 9:22:57 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
2/01/2012 9:22:57 - Entry found = unvailable.
2/01/2012 9:22:57 - Trying to bind all checked.
2/01/2012 9:23:05 - Loading database.
2/01/2012 9:23:05 - Checking entry availability.
2/01/2012 9:23:05 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
2/01/2012 9:23:05 - Entry found = unvailable.
2/01/2012 9:23:59 - Loading database.
2/01/2012 9:23:59 - Checking entry availability.
2/01/2012 9:23:59 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
2/01/2012 9:23:59 - Entry found = unvailable.
2/01/2012 9:24:14 - Loading database.
2/01/2012 9:24:14 - Checking entry availability.
2/01/2012 9:24:14 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
2/01/2012 9:24:14 - Entry found = unvailable.
2/01/2012 10:55:26 - Trying to bind all checked.
2/01/2012 11:06:24 - Loading database.
2/01/2012 11:07:27 - Loading database.
2/01/2012 11:08:34 - Loading database.
2/01/2012 11:08:34 - Checking entry availability.
2/01/2012 11:08:34 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
2/01/2012 11:08:34 - Entry found = unvailable.
2/01/2012 11:24:22 - Loading database.
2/01/2012 11:24:22 - Checking entry availability.
2/01/2012 11:24:22 - Entry /sdcard/gameloft/=/mnt/sdcard/gameloft.
2/01/2012 11:24:22 - Entry found = unvailable.

edit : today after i rebooted my sgs2 , auto bind failed because there is no path entry , so i create new entry again, o u know why.

but this application still great, now i dont need to worry by installing massive game
2nd January 2012, 08:43 AM |#25  
OP Senior Member
Thanks Meter: 761
 
More
Two more things
1. Are You using some kind of task killer ?
2. Application saves database on exit from main activity (on back button press), are You exiting application with back button ?

It look like application is killed multiple times and does not have a chance to save database. If You are using task killer please tell me which one and if possible exclude this application.

Regards
Slig
The Following User Says Thank You to slig For This Useful Post: [ View ] Gift slig Ad-Free
2nd January 2012, 12:05 PM |#26  
Senior Member
Thanks Meter: 40
 
More
Red face
Quote:
Originally Posted by slig

Two more things
1. Are You using some kind of task killer ?
2. Application saves database on exit from main activity (on back button press), are You exiting application with back button ?

It look like application is killed multiple times and does not have a chance to save database. If You are using task killer please tell me which one and if possible exclude this application.

Regards
Slig

1. no I'm using zdbox and
set this application as exclude from auto kill
by memory management.
2. sometimes i use back button, do you think it will close application.

thanx anyway
2nd January 2012, 04:34 PM |#27  
OP Senior Member
Thanks Meter: 761
 
More
I've uploaded small update.
All logs go to logcat now (if logging enabled), log file select option removed.
Added EXPERIMENTAL option "alternate dbase mgmt" - database is saved as soon as there are any changes (normally on main window exit). No need to enable this option if there are no issues with disappering entries.

@cloud596 - please check it that option helps

If anyone has similar issues with database saving as cloud596 please report with logcat attached (tag: DirectoryBind).

Regards
3rd January 2012, 03:37 PM |#28  
Senior Member
Flag Vorden
Thanks Meter: 233
 
Donate to Me
More
nice
thnx!
was looking for this
5th January 2012, 06:56 PM |#29  
OP Senior Member
Thanks Meter: 761
 
More
Hi all !

New version published. Added functionality to move existing data to external_sd.
Problems, bug reports and feature requests are welcome.
6th January 2012, 02:29 PM |#30  
Junior Member
Thanks Meter: 2
 
More
Hi,

great idea for app. Auto moving files to external_sd doesn't work in my case. No matter that i create new directory by your app or by Files Explorer it says that directory is not empty
6th January 2012, 02:49 PM |#31  
OP Senior Member
Thanks Meter: 761
 
More
Quote:
Originally Posted by elmo180

Hi,

great idea for app. Auto moving files to external_sd doesn't work in my case. No matter that i create new directory by your app or by Files Explorer it says that directory is not empty

Hi !
Thans for info. I assume it says "Data directory not empty" ?

To clear things out I'll explain here how this feature works:

For example:
1. You have /sdcard/gameloft folder that contains game data folders
2. In application You choose "New Entry"
3. In Data field type /sdcard/external_sd/gameloft or start directory browser, create and select this directory (/sdcard/external_sd/gameloft)
4. In Target field type /sdcard/gameloft or start directory browser and select /sdcard/gameloft
5. Check Transfer data checkbox and click ADD ENTRY

all content from /sdcard/gameloft/ will be transferred to newly created /sdcard/external_sd/gameloft/ after that new entry in application will be created (transfer will be from target to data)
after that operation data directory will contain files and target will be empty

"Data" is mount data folder and "Target" is mount target folder.
So before operation "Target" should contain program files and Data should be empty.

Please check if You are correct with this steps and report. If it still fail we'll have to figure out what is wrong.

Regards !
Slig
The Following 2 Users Say Thank You to slig For This Useful Post: [ View ] Gift slig Ad-Free
Post Reply Subscribe to Thread

Tags
move data to external sd, move data to sdcard

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes