#!/bin/sh # this script was found on a goole user group posting # it was regarding getting android up on the n8xx if i remember correctly # i've modified it a bit to suit our applications # this script goes in your sbin directory, to be executed from the busybox shell cat /dev/null > /dev/log/main cat /dev/null > /dev/log/radio cat /dev/null > /dev/log/event rm -f /tmp/* # in case the user built it as a mod modprobe binderdev chmod 666 /dev/binder echo "" echo "==================" echo " Starting Android " echo "==================" echo "" umask 000 export PATH=/sbin:/system/sbin:/system/bin:$PATH export LD_LIBRARY_PATH=/system/lib export ANDROID_BOOTLOGO=1 export ANDROID_ROOT=/system export ANDROID_ASSETS=/system/app export ANDROID_DATA=/data export EXTERNAL_STORAGE=/sdcard export DRM_CONTENT=/data/drm/content mount -t proc proc /proc mount -t sysfs sysfs /sys /initandroid& sleep 1 echo "" echo "==================" echo " Booting Zygote " echo "==================" echo "" /system/bin/app_process -Xzygote /system/bin --zygote& sleep 15 echo "" echo "==================" echo " Booting Runtime " echo "==================" echo "" /sbin/strace -f -ff -tt /system/bin/runtime &