[Android General] intika:
Waw Grrrr... a whole day to make it possible

as i never posted... i can not post link... so google is your friend for downloading lol

Here is a little tutorial to make

Scheduled Automatic CWM Nandroid Backup

Intika Automatic Backup MoD ^^

First what you need :

- Rooted device

- CWM Recovery

- Application SL4A (Free google dev. sl4a_r5.apk)

- Apllication "TaskBomb Task Scheduler" (Free on market)

- Application "SL4A Script Launcher" (Free plugin on market)

- A Script to do the stuff

How it work ? :

The idea is simple, it's running an automated task with a script without any interact... the Automated nandroid backup will erase her self for a new one when the task is launched...

the backup is always made at the same place under your clockworkmod backup folder "IntikaAutomaticTask" so it will always take the size of one backup even if the task is scheduled every day :) ... and naturally you will keep your manually make backup.

You can set up the backup to made different backup of keep 3 last one or else... not explained but easy to do with TaskBomb

The Script For a backup to "sdcard/clockworkmod" :

cd \ ;
mkdir -p /cache/recovery ;
rm /cache/recovery/mounter? ;
rm /cache/recovery/extendedcommand? ;
rm /cache/recovery/mounter ;
rm /cache/recovery/extendedcommand ;
echo '#!/sbin/ext/busybox sh' > /cache/recovery/mounter ;
echo '/sbin/ext/busybox mount /sdcard' >> /cache/recovery/mounter ;
echo '/sbin/ext/busybox mount /dev/block/mmcblk1p1 /emmc' >> /cache/recovery/mounter ;
echo '/sbin/ext/busybox rm /cache/recovery/mounter' >> /cache/recovery/mounter ;
chmod 777 /cache/recovery/mounter ;
echo 'run_program("/cache/recovery/mounter");' > /cache/recovery/extendedcommand ;
echo 'ui_print("Intika Backup MoD... Processing Backup...");' > /cache/recovery/extendedcommand ;
echo 'backup_rom("/emmc/clockworkmod/backup/IntikaAutomaticTask");' >> /cache/recovery/extendedcommand ;
sync ;
echo 1 > /sdcard/external_sd/clockworkmod/.recoverycheckpoint ;
echo 1 > /sdcard/clockworkmod/.recoverycheckpoint ;
sync ;
reboot recovery ;

The Script For a backup to "sdcard/external_sd/clockworkmod" :

cd \ ;
mkdir -p /cache/recovery ;
rm /cache/recovery/mounter? ;
rm /cache/recovery/extendedcommand? ;
rm /cache/recovery/mounter ;
rm /cache/recovery/extendedcommand ;
echo '#!/sbin/ext/busybox sh' > /cache/recovery/mounter ;
echo '/sbin/ext/busybox mount /sdcard' >> /cache/recovery/mounter ;
echo '/sbin/ext/busybox mount /dev/block/mmcblk1p1 /emmc' >> /cache/recovery/mounter ;
echo '/sbin/ext/busybox rm /cache/recovery/mounter' >> /cache/recovery/mounter ;
chmod 777 /cache/recovery/mounter ;
echo 'run_program("/cache/recovery/mounter");' > /cache/recovery/extendedcommand ;
echo 'ui_print("Intika Backup MoD... Processing Backup...");' > /cache/recovery/extendedcommand ;
echo 'backup_rom("/sdcard/clockworkmod/backup/IntikaAutomaticTask");' >> /cache/recovery/extendedcommand ;
sync ;
echo 1 > /sdcard/external_sd/clockworkmod/.recoverycheckpoint ;
echo 1 > /sdcard/clockworkmod/.recoverycheckpoint ;
sync ;
reboot recovery ;

Installing needed stuff :

Considering you have a rooted device and CWM installed...

You can use different file and folder name regarding the tutorial

1. Copy the scripts to your device and name it backup.sh and backup.ext.sh

1.1 Copy the script to :

1.1 \sdcard\Intika.Backup.MoD\backup.sh

1.2 \sdcard\Intika.Backup.MoD\backup.ext.sh

1.3 You can test the script with a terminal by writing this

su -c sh \sdcard\Intika.Backup.MoD\backup.sh

2. Install SL4A (Free google dev. sl4a_r5.apk)

3. Install "TaskBomb Task Scheduler" (Free on market)

4. Install "SL4A Script Launcher" (Free plugin on market)

How to Setup ? :

1. Open SL4A hit menu and then "add" select "Shell" if you are asked to select the application to continue with select SL4A... put backup.sh or backup.ext.sh on the title and put the code below on the script after that hit menu and then "save & exit"

su -c sh \sdcard\Intika.Backup.MoD\backup.sh

or

su -c sh \sdcard\Intika.Backup.MoD\backup.ext.sh

2. Open TaskBomb hit "Task" click " + " to add a new one , on action type leave or set VIEW and on data choose "Select script" and choose backup.sh ... on Activity choose background or foreground if you want to see when the script is launched.

3. Here we are, we just need to specify when to run the task ... on TaskBomb hit Alarm and then " + " and then select the wanted script

choose a start time and then the day you want to launch the backup.

Bla Bla :

AAAhhhhhh !!!!!!! finally get it work after many research and after trying Rom Manager (not working with every device and he tray to install an other CWM "very dangerous" )

My way is not the only one ;)

Any way good luck ;)