Step by Step Installation
Step by Step Installation
Step by Step Installation
Before you start you will need to perform the following pre-requisite steps:
Pre-requisite software Installation (root phone and usb drivers installation
especially)
Create the following two files and have them on your sdcard. Use a notepad+
+ to create the files.
1) install-recovery.sh
#!/system/bin/sh
#
/system/etc/init-sd.sh&
2) init-sd.sh
#!/system/bin/sh
#
MYLOG=/data/install-recovery.log
echo "$(date) Starting install-recovery.sh" > $MYLOG
echo "$(date) Waiting SD to become ready..." >> $MYLOG
sleep 10
mount -t ext2 /dev/block/vold/179:18 /system/sd 1>>$MYLOG 2>>$MYLOG
#mount -o bind /system/sd/app /data/app 1>>$MYLOG 2>>$MYLOG
#mount -o bind /system/sd/data /data/data 1>>$MYLOG 2>>$MYLOG
#mount -o bind /system/sd/dalvik-cache /data/dalvik-cache 1>>$MYLOG 2>>$MYLOG
mount >> $MYLOG
echo "$(date) Finishing install-recovery.sh" >> $MYLOG
Note:
A few of the lines are commented out on purpose to make it non-destructive. Also note that the
line that reads….
mount -t ext2 /dev/block/vold/179:18 /system/sd 1>>$MYLOG 2>>$MYLOG
could also be….
mount -t ext2 /dev/block/vold/179:2 /system/sd 1>>$MYLOG 2>>$MYLOG
for Australian users or anyone without an internal sdcard.
If step 1 or 2 did not proceed well, then DO NOT continue with this step or you will
DEFINITELY lose your apps and data.
Edit your init-sd.sh file and uncomment the following lines. You uncomment lines by removing the
‘#’ at the start of the line. You may have to do this back on your PC using Notepad++ and put them
on your sdcard.
Save the file, and copy it to your sdcard, then run the following commands….
C:>adb shell
$ su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock1 /system
# cd /data/
# busybox tar -cvf /system/sd/app.tar app
# busybox tar -cvf /system/sd/data.tar data
# busybox tar -cvf /system/sd/dalvik-cache.tar dalvik-cache
# cd /system/sd
# busybox tar -xvf app.tar
# busybox tar -xvf data.tar
# busybox tar -xvf dalvik-cache.tar
Now we are going to copy the two files that we up on the sdcard to the system folders where
they need to be. Still in the console at the # sign enter (or copy and paste) the following two
commands.
To make sure these files are in the correct location enter these two commands, if there are no
errors these files are in the correct spot.
Next to clean up all the data we moved enter (or copy and paste) the following commands in
to the console.
#cd /data/app
#busybox rm -rf *
#cd /data/data/
#busybox rm -rf *
#cd /data/dalvik-cache
#busybox rm -rf *
You may notice some things happening on your screen, don't worry. Just type this last
command in to the console.
#reboot
Now your tablet will reboot. You can disconnect it from the PC and if all went well you now
have all your applications on the sdcard.
All credit and thanks to the many contributors to this process, including the developers,
testers and documenters. You know who you are