[Android Software Development] mohazia:
Files on my init.d are

1- 00banner , I have to remove

#!/system/bin/sh
#
# Print startup info
#
/system/bin/busybox.a2sd echo "Welcome to Android `getprop ro.build.version.release` / `getprop ro.modversion`";
/system/bin/busybox.a2sd echo "";
/system/bin/busybox.a2sd echo " Powered by _____ _______";
/system/bin/busybox.a2sd echo " | \ | ";
/system/bin/busybox.a2sd echo " | | | ";
/system/bin/busybox.a2sd echo " | | | ";
/system/bin/busybox.a2sd echo " | | | ";
/system/bin/busybox.a2sd echo " |____/ | ";
/system/bin/busybox.a2sd echo " Darktremor Apps2SD";
exit;

2- 02firstboot, also I have to remove it?

#!/system/bin/sh
# execute any postinstall script then kill it
if [ -e /data/firstboot.sh ];
then
/system/bin/busybox.a2sd "[ ] Executing firstboot.sh";
logwrapper /system/bin/bash /data/firstboot.sh;
/system/bin/busybox.a2sd rm -f /data/firstboot.sh;
fi;

3- 03apps2sd, sure I have to remove it

#!/system/bin/bash
toolbox setprop persist.service.adb.enable 1
if [ -e /data/adbfix.txt ];
then
toolbox setprop persist.service.adb.enable 1
/system/bin/busybox.a2sd ash /system/bin/adbfix
fi;

if [ $# == 0 ];
then
if [ -e /data/dta2sd.log ];
then
if [ -e /data/dta2sd.lg2 ];
then
/system/bin/busybox.a2sd rm -f /data/dta2sd.lg2
fi;
if [ -e /data/dta2sd.lg1 ];
then
/system/bin/busybox.a2sd cp -f /data/dta2sd.lg1 /data/dta2sd.lg2
/system/bin/busybox.a2sd rm -f /data/dta2sd.lg1
fi;
/system/bin/busybox.a2sd cp -f /data/dta2sd.log /data/dta2sd.lg1
/system/bin/busybox.a2sd rm -f /data/dta2sd.log
fi;
echo "[ ] Apps2SD is launching..."
echo "[ ] Darktremor Apps2SD Log" > /data/dta2sd.log
echo "[ ] Started: `/system/bin/busybox.a2sd date;`" >> /data/dta2sd.log
echo "[ ] File running: Main Apps2SD launch (a2sd, apps2sd or 04apps2sd)" >> /data/dta2sd.log
a2sdfb1=`getprop cm.filesystem.ready`
a2sdfb2=`/system/bin/toolbox ps | /system/bin/busybox.a2sd grep -q -e android.process.acore;echo $?`
if [ ! $a2sdfb1 ];
then
if [ $a2sdfb2 == 1 ];
then
echo "[ ] cm.filesystem.ready does not exist and android.process.acore does not exists" >> /data/dta2sd.log
echo "[ ] Started with no parameters. Possible boot launch" >> /data/dta2sd.log
echo "[ ] Inserting parameter: boot" >> /data/dta2sd.log
export a2sdparm="boot"
setprop cm.filesystem.ready 0
setprop dm.filesystem.ready 0
setprop oxygen.filesystem.ready 0
else
echo "[ ] cm.filesystem.ready does not exists, but android.process.acore already started" >> /data/dta2sd.log
echo "[ ] Started with no parameters. Possible boot launch" >> /data/dta2sd.log
echo "[ ] Inserting parameter: firstboot" >> /data/dta2sd.log
export a2sdparm="firstboot"
setprop cm.filesystem.ready 0
setprop dm.filesystem.ready 0
setprop oxygen.filesystem.ready 0
fi;
else
echo "[ ] You need to give Darktremor a command to run." | /system/bin/busybox.a2sd tee -a /data/dta2sd.log
echo " Type a2sd help for a list of commands." | /system/bin/busybox.a2sd tee -a /data/dta2sd.log
setprop cm.filesystem.ready 1
setprop dc.filesystem.ready 1
setprop oxygen.filesystem.ready 1
exit
fi;
else
echo "[ ] Started with parameter: $1" >> /data/dta2sd.log
export a2sdparm=$1
fi;

echo "[ ] Directory Listing: /dev/block:" >> /data/dta2sd.log
/system/bin/busybox.a2sd ls -l /dev/block >> /data/dta2sd.log
echo "[ ] Listing partitions currently active:" >> /data/dta2sd.log
/system/bin/busybox.a2sd cat /proc/mounts >> /data/dta2sd.log
echo "[ ] Attempting to launch program: launcha2sd" >> /data/dta2sd.log
/system/bin/bash /system/bin/launcha2sd $a2sdparm
echo "[ ] Ending program: a2sd / apps2sd / 04apps2sd" >> /data/dta2sd.log
setprop cm.filesystem.ready 1
setprop dc.filesystem.ready 1
setprop oxygen.filesystem.ready 1
exit

4- 99complete, I have to remove???

#!/system/bin/sh

sync;
setprop cm.filesystem.ready 1;
setprop dc.filesystem.ready 1;
setprop oxygen.filesystem.ready 1;

5- 94tweaks , I have To remove???

#!/system/bin/sh
#PVTeam Tweaks
#Tweaks & Optimizations

# EXT4

mount -o remount,noauto_da_alloc /data /data
mount -o remount,noauto_da_alloc /cache /cache

echo "EXT4 tune up complete - /data & /cache ";

#SD Patch

if [ -e /sys/devices/virtual/bdi/179:0/read_ahead_kb ]
then
/system/xbin/echo "3072" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
fi;

echo "SDCard tune up complete";

6- 01sysctl

#!/system/bin/sh
sysctl -p

7- 07-virtuous-pre-load_kernel_modules

#!/system/bin/sh
# Loading bcmdhd wlan driver

/system/bin/insmod /system/lib/modules/bcmdhd.ko

8- 10-virtuous-optimize_performance

#!/system/bin/sh

# ===========================================================================
# Virtuous ROM Tools (rmk, chrisch)
#
# $LastChangedDate: 2012-07-19 07:03:59 +0200 (Thu, 19 Jul 2012) $
# ===========================================================================

. /system/virtuous/scripts/virtuous-functions.sh

OC_APPS="ch.amana.android.cputuner com.mhuang.overclocking org.freecoder.widgets.overclock com.antutu.CpuMasterFree"

$LOG -p i "Executing optimization script"

# Increase readahead buffers on MMC devices

$ECHO "1024" > /sys/block/mmcblk0/bdi/read_ahead_kb
$ECHO "1024" > /sys/block/mmcblk1/bdi/read_ahead_kb

# Check whether any cpu tuning apps are already installed.
# If not, we'll start our custom daemon.

OC_KERNEL="/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies"

if ! $TEST -e $OC_KERNEL ; then
$LOG -p i "Kernel does not support overclocking; disabling Virtuous_OC"
exit 1
fi

if is_package_installed $OC_APPS ; then
$LOG -p i "User-installed overclocking app detected; disabled Virtuous_OC"
else
$LOG -p i "No overclocking apps detected; enabling Virtuous_OC"
/system/xbin/virtuous_oc
fi

9- 90-battery-calibration

#!/system/bin/sh

# ===========================================================================
# Virtuous ROM Tools (seo, chrisch)
#
# $LastChangedDate: 2012-06-02 15:32:58 +0200 (Sat, 02 Jun 2012) $
# ===========================================================================
#
# Quick and dirty way to calibrate battery
# after fresh rom install
#
# ===========================================================================

. /system/virtuous/scripts/virtuous-functions.sh

# ===========================================================================
# Run this section until battery is calibrated
# ===========================================================================

SLEEPTIME=120

if $TEST -f $BATTERY_STATE_FILE ; then
exit 0
fi

(
while $BUSYBOX true; do
LEVEL=$($CAT /sys/class/power_supply/battery/capacity)
CUR=$($CAT /sys/class/power_supply/battery/batt_current)
if [ "$LEVEL" == "100" ] && [ "$CUR" == "0" ] ; then
$LOG -p i "battery calibration successfull"
$RM -f /data/system/batterystats.bin
$TOUCH $BATTERY_STATE_FILE
exit 0
fi
$LOG -p i "battery calibration LEVEL: $LEVEL CUR: $CUR"
$SLEEP $SLEEPTIME
done
) &

10- 90-virtuous-run_once

#!/system/bin/sh
# ===========================================================================
# Virtuous ROM Tools (rmk)
#
# $LastChangedDate: 2012-06-02 15:32:58 +0200 (Sat, 02 Jun 2012) $
# ===========================================================================

. /system/virtuous/scripts/virtuous-functions.sh

if $TEST -f $VIRTUOUS_INSTALLED ; then
exit 0
fi

$LOG -p i "Executing run once script"

# ===========================================================================
# Run once, only after a fresh install.
# ===========================================================================

# Empty for now.

# ===========================================================================

$TOUCH $VIRTUOUS_INSTALLED

11- 99vibration

#!/system/bin/sh
#VIBRATION_VOLTAGE_CONFIG
#BY_KILLERSLOTH

echo "2000" > /sys/devices/virtual/timed_output/vibrator/voltage_level

12- 100complete

#!/system/bin/sh

sync;

setprop cm.filesystem.ready 1;