Sunday, March 20, 2016

Problem with Sync Tools (Ultimate Sync/ Folder Sync) {root/busy box related?}

Hi guys,

I'm trying to sync folders between two of my devices (NV Shield K1 and Moto X Play, both running Marshmallow, both rooted). Mostly my goal was to sync savegames between both devices, so I figured the easiest way to go would probably just be syncing the respective app folder in /data/data between devices. I tried doing this by hand via ES Explorer and Google Drive and it worked just fine.
Now, doing this is a hassle, esp. with several games, so I download and tried several syncing apps, eventually ending up with Folder Sync and Ultimate Sync emerging as the best options. Unfortunately, I then ran into a problem I failed to solve over the course of the last three days - frankly, I even failed to fully figure out what the problem is.

What I can say is that only one side of the syncing operations seems to be succeeding, that is the uploading part. Ultimate Sync tells me it's downloading and copying files, but it it is not, as the folders in my local data/data don't get modified. Folder sync was kind enough to give me a log spelling out something bout failing to get path on a null reference(). Long story short, what seems to be working is reading from the root folder to Google Drive, but not writing from Google Drive to the root folder. This is true for both devices and both apps. This is not the fully story though, because the most curious thing is that my primarmy test game, Kingdrom Rush, gets corrupted after an (unsuccessful) syncing event - which makes no sense to me.

Since I was really at a loss, I got SuperSu Pro for access the logging files which seem to confirm (I'm not really fluent in any of those unix cmds though, I just wanted to be able to sync some root folders ^^) that there is a problem with the root access, detecting/writing folders and possibly busy box (which is installed, though I did reinstall just to make sure, and even downloaded one of those verifying tool as well). I'll include some of the log files, as they all contain the same kind of red warning/error messages. Some I keep seeing are these:

stat: can't stat '/data/data/com.ironhidegames.android.kingdomrushorigins/.*': No such file or directory

It sure does exist ... :confused:

sush: [108]: /system/bin/failsafe/toolbox: not found

The folder does indeed not exist, though /system/bin does include a toolbox FILE. Busybox did not create any folders within that folder, "failsafe" or otherwise.

mount: mounting /dev/block/bootdevice/by-name/userdata on /data failed: Device or resource busy
mount: Device or resource busy
mount: mounting /dev/block/bootdevice/by-name/userdata on /data failed: Device or resource busy
mount: Device or resource busy


This sounds important :rolleyes:


Any and all help would be greatly appreciated since I already wasted more than two days on even getting this far (I spend hours trying different settings and apps always wondering why they behaved so strangely, namely not really updating/ovewriting my local files, thus not really "syncing" anything).

On a final note, Helium does work, but it's not really well suited for the task, I think. I use it to back-up my app data folders (e.g. in case a "failed" sync breaks Kingdrom Rush), but syncing several games seems impractical with it as far as I can tell.

Thanks in advance for any insight anyone can provide. I'm pretty new to Android, but the fact that I cannot seem to manage to atuomatically sync savegames between several device is pretty depressing.

PS: I already made a thread over at XDA Assist, but got no feedback and was advised to try my luck here.



via xda-developers http://ift.tt/22wt7dv

IFTTT

Put the internet to work for you.

Turn off or edit this Recipe

No comments:

Post a Comment