Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] onandroid script going wrong..

OP nikant

29th August 2014, 08:04 AM   |  #1  
OP Senior Member
Thanks Meter: 34
 
199 posts
Join Date:Joined: Jul 2009
More
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
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes