[Asus Transformer TF700] elfaure:
Hi _that

I'm back on this again. At the time I was working on this, I believe I had a corrupt root and later a corrupt busybox. Also I was green with the terminal. I think I can do better now. Here is where we left off, and the output to your code set. Why didn't your script complete?

u0_a87@android:/ $ su

root@android:/ # cd /system/etc

root@android:/system/etc # ls -al

-rw-r--r-- root root 1206 2013-03-02 18:39 BtService.sh

-rw-r--r-- root root 387 2012-09-07 01:28 FRL.list

-rw-r--r-- root root 224015 2013-03-02 18:39 NOTICE.html.gz

-rw-r--r-- root root 378 2012-09-07 01:28 acc_led

-rw-r--r-- root root 69 2012-09-07 01:28 acc_ptr

-rw-r--r-- root root 7256 2012-09-07 01:28 amazon-kindle.properties

-rw-r--r-- root root 185556 2013-03-02 18:39 apns-conf.xml

-rw-r--r-- root root 3077 2013-03-02 18:39 asound.conf

-rw-r--r-- root root 3999 2013-03-02 18:39 audio_effects.conf

-rw-r--r-- root root 2628 2008-08-01 05:00 audio_policy.conf

drwxr-xr-x root root 2012-09-07 01:28 bluetooth

-rw-r--r-- root root 2510 2012-09-07 01:28 buttons

drwxr-xr-x root root 2013-03-02 18:39 chatscripts

drwxr-xr-x root root 2012-09-07 01:28 config

-rw-r--r-- root root 1231 2012-09-07 01:28 cpu1.sh

-rw-r--r-- root root 1218 2013-03-02 18:39 cpu2.sh

-rw-r--r-- root root 1217 2012-09-07 01:28 cpu3.sh

-rw-r--r-- root root 1227 2012-09-07 01:28 cpu4.sh

-rw-r--r-- root root 1222 2012-09-07 01:28 cpu5.sh

-r--r----- bluetooth bluetooth 935 2012-09-07 01:28 dbus.conf

drwxr-xr-x root root 2012-09-07 01:28 dhcpcd

drwxr-xr-x root root 2012-09-07 01:28 dict

-rw-r--r-- root root 1243 2013-03-02 18:39 enctune.conf

-rw-r--r-- root root 12717 2013-03-02 18:39 event-log-tags

-rw-r--r-- root root 3977 2008-08-01 05:00 fallback_fonts-ja.xml

-rw-r--r-- root root 3977 2013-03-02 18:39 fallback_fonts.xml

drwxr-xr-x root root 2013-03-02 18:42 firmware

-rw-r--r-- root root 406 2012-09-07 01:28 gamepad

drwxr-xr-x root root 2012-09-07 01:28 gps

-rw-rw-r-- root sdcard_rw 233 2013-03-31 08:05 gps.conf

-rw------- root root 233 2013-03-29 04:47 gps_ORIG.conf

drwxr-xr-x root root 2012-09-07 01:28 hdmi

-rw-r--r-- root root 915121 2013-03-04 05:51 hosts

drwx------ root root 2013-04-21 17:04 init.d

-r-xr-x--- root shell 1755 2012-09-07 01:28 init.goldfish.sh

-rwxrwxrwx root sdcard_rw 90 2013-03-19 18:28 install-recovery.sh

-rw-r--r-- root root 76 2012-09-07 01:28 ir_ptr

-rw-r--r-- root root 5334 2008-08-01 05:00 media_codecs.xml

-rw-r--r-- root root 37393 2013-03-02 18:39 media_profiles.xml

-rw-r--r-- root root 730 2012-09-07 01:28 mkshrc

-rw-r--r-- root root 145592 2013-03-02 18:39 model_frontal.xml

-rw-r--r-- root root 120 2012-09-07 01:28 neverball

-rw-r--r-- root root 93 2012-09-07 01:28 nunchuk_acc_ptr

-rw-r--r-- root root 472 2012-09-07 01:28 nunchuk_stick2btn

-rw-r--r-- root root 13521 2008-08-01 05:00 nvaudio_conf_RT5631.xml

-rw-r--r-- root root 13560 2008-08-01 05:00 nvaudio_conf_RT5642.xml

-rw-r--r-- root root 14724 2008-08-01 05:00 nvaudio_conf_WM8903.xml

-rw-r--r-- root root 388 2008-08-01 05:00 nvcamera.conf

-rw-r--r-- root root 1629 2012-09-07 01:28 nvram_4329.txt

-rw-r--r-- root root 1290 2012-09-07 01:28 nvram_4330.txt

-rw-r--r-- root root 1886 2008-08-01 05:00 nvram_ah691.txt

-rw-r--r-- root root 704 2012-09-07 01:28 nvram_murata.txt

-rw-r--r-- root root 2858 2008-08-01 05:00 nvram_murata_4334.txt

-rw-r--r-- root root 1356 2012-09-07 01:28 nvram_nh615.txt

-rw-r--r-- root root 810 2012-09-07 01:28 nvram_nh660.txt

-rw-r--r-- root root 821 2012-09-07 01:28 nvram_nh665.txt

-rw-r--r-- root root 730 2013-03-02 18:39 nvram_nh669.txt

drwxr-xr-x root root 2013-03-02 18:42 permissions

drwxr-xr-x root root 2013-03-02 18:42 power_profile

drwxr-xr-x root root 2013-03-02 18:39 ppp

drwxr-xr-x root root 2013-03-02 18:42 property

drwxr-xr-x root root 2013-03-02 18:39 security

-rw-r--r-- root root 3187 2013-03-02 18:39 system_fonts.xml

drwxr-xr-x root root 2012-09-07 01:28 updatecmds

-rw-r--r-- root root 1041 2012-09-07 01:28 vold.fstab

drwxr-xr-x root root 2012-09-07 01:28 wifi

root@android:/system/etc # cat install-recovery.sh

#!/system/bin/sh

/system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.droot@android:/system/etc # cd

root@android:/ # cd /Removable/MicroSD/Scripts

root@android:/Removable/MicroSD/Scripts # ls -al

drwxrwxrwx root root 2013-03-17 13:23 Folder

-rwxrwxrwx root root 54 2013-04-24 07:57 Mount System Read-Only

-rwxrwxrwx root root 53 2013-04-24 07:55 Mount System Read-Write

-rwxrwxrwx root root 48 2013-04-03 22:57 Whatshell - Copy.txt

-rwxrwxrwx root root 48 2013-04-03 22:57 Whatshell.sh

-rwxrwxrwx root root 109 2013-04-24 06:44 adj_minfree.sh

-rwxrwxrwx root root 106 2013-04-24 06:44 adj_minfree.sh.bak

-rwxrwxrwx root root 1614 2013-04-23 18:30 autostart.sh

-rwxrwxrwx root root 1617 2013-04-23 18:30 autostart.sh.bak

-rwxrwxrwx root root 886 2013-03-17 13:24 autostart.sh.txt

-rwxrwxrwx root root 938 2013-03-17 16:14 autostart1.sh

-rwxrwxrwx root root 404 2013-04-23 17:52 autostart_ff.sh

-rwxrwxrwx root root 0 2013-04-23 17:52 autostart_ff.sh.bak

-rwxrwxrwx root root 126 2013-03-22 16:57 that_script.sh

root@android:/Removable/MicroSD/Scripts # cat that_script.sh

su

ls -l /etc/install-recovery.sh

cat /etc/install-recovery.sh

ls -ld /etc/init.d

ls -l /etc/init.d

ls -l /system/xbin/busyboxroot@android:/Removable/MicroSD/Scripts # cd

root@android:/ # cd /Removable/MicroSD/Scripts

root@android:/Removable/MicroSD/Scripts # sh ./that_script.sh

root@android:/Removable/MicroSD/Scripts # exit

-rwxrwxrwx root sdcard_rw 90 2013-03-19 18:28 install-recovery.sh

#!/system/bin/sh

/system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.ddrwx------ root root 2013-04-21 17:04 init.d

drwx------ root root 2013-04-21 17:04 Test Scripts

-rwxrwxr-x root root 1096224 2013-04-16 19:38 busybox

root@android:/Removable/MicroSD/Scripts # exit

u0_a87@android:/ $