FORUMS

[Q] onandroid script going wrong..

199 posts
Thanks Meter: 34
 
By nikant, Senior Member on 29th August 2014, 07:04 AM
Post Reply Subscribe to Thread Email Thread
Hello all!

I got my z1c 4 days ago and still trying to learn it's quirks (and problems like the camera button not taking a photo for some reason.. )

anyway.. I'm trying to setup onandroid again to run some nights and modifying the script from my old phone came to here:

Code:
#!/system/bin/sh
echo "sdcard is $EXTERNAL_STORAGE"
echo "sdcard1 is $SECONDARY_STORAGE"
NKSTORAGE=$SECONDARY_STORAGE/clockworkmod/backup
NKBAKNAME=NKZ1cCWM

cd $NKSTORAGE
echo "deleting old backup directory..."
rm -r $NKBAKNAME.old
sleep 2
echo "renaming latest backup directory..."
mv $NKBAKNAME $NKBAKNAME.old
sleep 2
rm -r $NKBAKNAME
sleep 2
echo "starting onandroid backup..."
echo "------------------------------"
echo "==============================="
onandroid -o -p -u -c $NKBAKNAME -e $NKSTORAGE -xd -xg -nd
with:
busybox: installed
onandroid 9.51 and patch for Z1c
trying to do backup to external storage
platform.xml for SD access edited..

still the onandroid script after it starts tries to write somewhere in emulated storage /obb/ etc..

any ideas?
 
 
Post Reply Subscribe to Thread

Tags
external sd, onandroid, script, z1 compact

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

Advanced Search
Display Modes