[Desire Android Development] Droidzone:
This is weird stuff..

If I install GV and immediately w/o rebooting, if I do:

echo #Nada > /system/bin/a2sd

and

echo #Nada > /system/etc/init.d/04apps2sd

The system boots fine

But...

If I do that via a script from recovry, then it doesnt boot.

The script executes fine, because I can adb pull the file and see the changes

Permisions are correct-777, still GV doesnt boot at all!

Weird, huh?

This is what logs when it doesnt boot at all..It's a darn loop!

Am extremely curious as to why this happens..

My GV Killer script which is essentially same as the command line is attached...Dexter/Melethron/Sibere, any ideas? Anybody else?

--------- beginning of /dev/log/system

I/Vold ( 106): Vold 2.1 (the revenge) firing up

D/Vold ( 106): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)

D/Vold ( 106): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)

D/Vold ( 106): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)

--------- beginning of /dev/log/main

I/HTC Acoustic( 984): open /system/etc/AudioBTID.csv success.

I/HTC Acoustic( 984): BT ID table version: PASSION_HTC_20091117

E/HTC Acoustic( 984): Fail to open /system/etc/TPA2018.csv -1.

D/AudioHardwareQSD( 984): speaker amplifier tpa2018 is not supported

D/AudioHardwareInterface( 984): setMode(NORMAL)

I/AudioHardwareQSD( 984): Set master volume to 1.000000

I/CameraService( 984): CameraService started (pid=984)

D/AudioFlinger( 984): setParameters(): io 1, keyvalue routing=2, tid 989, calling tid 984

I/AudioFlinger( 984): AudioFlinger's thread 0xea80 ready to run

I/AudioHardwareQSD( 984): Routing audio to Speakerphone

D/AudioHardwareQSD( 984): Switching audio device to

D/AudioHardwareQSD( 984): Speakerphone

I/AudioHardwareQSD( 984): voice volume 0.000000 (range is 0 to 0)

D/AudioHardwareQSD( 984): Setting in-call volume to 100

D/AudioHardwareQSD( 984): AudioHardware pcm playback is going to standby.

D/AndroidRuntime( 998):

D/AndroidRuntime( 998): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<

I/AndroidRuntime( 998): Heap size: -Xmx32m

D/AndroidRuntime( 998): CheckJNI is OFF

D/dalvikvm( 998): creating instr width table

E/dalvikvm( 998): Can't open dex cache '/cache/dalvik-cache/system@framework@core.jar@classes.dex': No such file or directory

I/dalvikvm( 998): Unable to open or create cache for /system/framework/core.jar (/cache/dalvik-cache/system@framework@core.jar@classes.dex)

D/dalvikvm( 998): Unable to process classpath element '/system/framework/core.jar'

E/dalvikvm( 998): Can't open dex cache '/cache/dalvik-cache/system@framework@bouncycastle.jar@classes.dex': No such file or directory

I/dalvikvm( 998): Unable to open or create cache for /system/framework/bouncycastle.jar (/cache/dalvik-cache/system@framework@bouncycastle.jar@classes.dex)

D/dalvikvm( 998): Unable to process classpath element '/system/framework/bouncycastle.jar'

E/dalvikvm( 998): Can't open dex cache '/cache/dalvik-cache/system@framework@ext.jar@classes.dex': No such file or directory

I/dalvikvm( 998): Unable to open or create cache for /system/framework/ext.jar (/cache/dalvik-cache/system@framework@ext.jar@classes.dex)

D/dalvikvm( 998): Unable to process classpath element '/system/framework/ext.jar'

E/dalvikvm( 998): Can't open dex cache '/cache/dalvik-cache/system@framework@framework.jar@classes.dex': No such file or directory

I/dalvikvm( 998): Unable to open or create cache for /system/framework/framework.jar (/cache/dalvik-cache/system@framework@framework.jar@classes.dex)

D/dalvikvm( 998): Unable to process classpath element '/system/framework/framework.jar'

E/dalvikvm( 998): Can't open dex cache '/cache/dalvik-cache/system@framework@android.policy.jar@classes.dex': No such file or directory

I/dalvikvm( 998): Unable to open or create cache for /system/framework/android.policy.jar (/cache/dalvik-cache/system@framework@android.policy.jar@classes.dex)

D/dalvikvm( 998): Unable to process classpath element '/system/framework/android.policy.jar'

E/dalvikvm( 998): Can't open dex cache '/cache/dalvik-cache/system@framework@services.jar@classes.dex': No such file or directory

I/dalvikvm( 998): Unable to open or create cache for /system/framework/services.jar (/cache/dalvik-cache/system@framework@services.jar@classes.dex)

D/dalvikvm( 998): Unable to process classpath element '/system/framework/services.jar'

E/dalvikvm( 998): Can't open dex cache '/cache/dalvik-cache/system@framework@core-junit.jar@classes.dex': No such file or directory

I/dalvikvm( 998): Unable to open or create cache for /system/framework/core-junit.jar (/cache/dalvik-cache/system@framework@core-junit.jar@classes.dex)

D/dalvikvm( 998): Unable to process classpath element '/system/framework/core-junit.jar'

E/dalvikvm( 998): No valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar'

W/dalvikvm( 998): JNI_CreateJavaVM failed

E/AndroidRuntime( 998): JNI_CreateJavaVM failed

I/ServiceManager( 105): service 'media.audio_flinger' died

I/ServiceManager( 105): service 'media.player' died

I/ServiceManager( 105): service 'media.camera' died

I/ServiceManager( 105): service 'media.audio_policy' died

I/Netd ( 1000): Netd 1.0 starting

I/ ( 999): ServiceManager: 0xad50

E/AudioHardwareQSD( 999): Cannot open /dev/audience_a1026 -1

I/HTC Acoustic( 999): libhtc_acoustic.so version 2.0.1.5

E/HTC Acoustic( 999): Fail to open /system/etc/AdieHWCodecSetting.csv -1.

E/HTC Acoustic( 999): read ADIE para from file failed -1

E/HTC Acoustic( 999): ioctl ACOUSTIC_UPDATE_ADIE failed -1

I/HTC Acoustic( 999): open /system/etc/AudioBTID.csv success.

I/HTC Acoustic( 999): BT ID table version: PASSION_HTC_20091117

E/HTC Acoustic( 999): Fail to open /system/etc/TPA2018.csv -1.

D/AudioHardwareQSD( 999): speaker amplifier tpa2018 is not supported

D/AudioHardwareInterface( 999): setMode(NORMAL)

I/AudioHardwareQSD( 999): Set master volume to 1.000000

I/CameraService( 999): CameraService started (pid=999)

I/AudioFlinger( 999): AudioFlinger's thread 0xea80 ready to run

D/AudioHardwareQSD( 999): AudioHardware pcm playback is going to standby.

D/AudioFlinger( 999): setParameters(): io 1, keyvalue routing=2, tid 1004, calling tid 999

I/AudioHardwareQSD( 999): Routing audio to Speakerphone

D/AudioHardwareQSD( 999): Switching audio device to

D/AudioHardwareQSD( 999): Speakerphone

I/AudioHardwareQSD( 999): voice volume 0.000000 (range is 0 to 0)

D/AudioHardwareQSD( 999): Setting in-call volume to 100

D/AndroidRuntime( 1013):

D/AndroidRuntime( 1013): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<

I/AndroidRuntime( 1013): Heap size: -Xmx32m

D/AndroidRuntime( 1013): CheckJNI is OFF

D/dalvikvm( 1013): creating instr width table

E/dalvikvm( 1013): Can't open dex cache '/cache/dalvik-cache/system@framework@core.jar@classes.dex': No such file or directory

I/dalvikvm( 1013): Unable to open or create cache for /system/framework/core.jar (/cache/dalvik-cache/system@framework@core.jar@classes.dex)

D/dalvikvm( 1013): Unable to process classpath element '/system/framework/core.jar'

E/dalvikvm( 1013): Can't open dex cache '/cache/dalvik-cache/system@framework@bouncycastle.jar@classes.dex': No such file or directory

I/dalvikvm( 1013): Unable to open or create cache for /system/framework/bouncycastle.jar (/cache/dalvik-cache/system@framework@bouncycastle.jar@classes.dex)

D/dalvikvm( 1013): Unable to process classpath element '/system/framework/bouncycastle.jar'

E/dalvikvm( 1013): Can't open dex cache '/cache/dalvik-cache/system@framework@ext.jar@classes.dex': No such file or directory

I/dalvikvm( 1013): Unable to open or create cache for /system/framework/ext.jar (/cache/dalvik-cache/system@framework@ext.jar@classes.dex)

D/dalvikvm( 1013): Unable to process classpath element '/system/framework/ext.jar'

E/dalvikvm( 1013): Can't open dex cache '/cache/dalvik-cache/system@framework@framework.jar@classes.dex': No such file or directory

I/dalvikvm( 1013): Unable to open or create cache for /system/framework/framework.jar (/cache/dalvik-cache/system@framework@framework.jar@classes.dex)

D/dalvikvm( 1013): Unable to process classpath element '/system/framework/framework.jar'

E/dalvikvm( 1013): Can't open dex cache '/cache/dalvik-cache/system@framework@android.policy.jar@classes.dex': No such file or directory

I/dalvikvm( 1013): Unable to open or create cache for /system/framework/android.policy.jar (/cache/dalvik-cache/system@framework@android.policy.jar@classes.dex)

D/dalvikvm( 1013): Unable to process classpath element '/system/framework/android.policy.jar'

E/dalvikvm( 1013): Can't open dex cache '/cache/dalvik-cache/system@framework@services.jar@classes.dex': No such file or directory

I/dalvikvm( 1013): Unable to open or create cache for /system/framework/services.jar (/cache/dalvik-cache/system@framework@services.jar@classes.dex)

D/dalvikvm( 1013): Unable to process classpath element '/system/framework/services.jar'

E/dalvikvm( 1013): Can't open dex cache '/cache/dalvik-cache/system@framework@core-junit.jar@classes.dex': No such file or directory

I/dalvikvm( 1013): Unable to open or create cache for /system/framework/core-junit.jar (/cache/dalvik-cache/system@framework@core-junit.jar@classes.dex)

D/dalvikvm( 1013): Unable to process classpath element '/system/framework/core-junit.jar'

E/dalvikvm( 1013): No valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar'

W/dalvikvm( 1013): JNI_CreateJavaVM failed

E/AndroidRuntime( 1013): JNI_CreateJavaVM failed

I/ServiceManager( 105): service 'media.audio_flinger' died

I/ServiceManager( 105): service 'media.player' died

I/ServiceManager( 105): service 'media.camera' died

I/ServiceManager( 105): service 'media.audio_policy' died

I/Netd ( 1015): Netd 1.0 starting

I/ ( 1014): ServiceManager: 0xad50

E/AudioHardwareQSD( 1014): Cannot open /dev/audience_a1026 -1

I/HTC Acoustic( 1014): libhtc_acoustic.so version 2.0.1.5

E/HTC Acoustic( 1014): Fail to open /system/etc/AdieHWCodecSetting.csv -1.

E/HTC Acoustic( 1014): read ADIE para from file failed -1

E/HTC Acoustic( 1014): ioctl ACOUSTIC_UPDATE_ADIE failed -1

I/HTC Acoustic( 1014): open /system/etc/AudioBTID.csv success.

I/HTC Acoustic( 1014): BT ID table version: PASSION_HTC_20091117

E/HTC Acoustic( 1014): Fail to open /system/etc/TPA2018.csv -1.

D/AudioHardwareQSD( 1014): speaker amplifier tpa2018 is not supported

D/AudioHardwareInterface( 1014): setMode(NORMAL)

I/AudioHardwareQSD( 1014): Set master volume to 1.000000

I/CameraService( 1014): CameraService started (pid=1014)

I/AudioFlinger( 1014): AudioFlinger's thread 0xea80 ready to run

D/AudioFlinger( 1014): setParameters(): io 1, keyvalue routing=2, tid 1019, calling tid 1014

I/AudioHardwareQSD( 1014): Routing audio to Speakerphone

D/AudioHardwareQSD( 1014): Switching audio device to

D/AudioHardwareQSD( 1014): Speakerphone

D/AudioHardwareQSD( 1014): AudioHardware pcm playback is going to standby.

I/AudioHardwareQSD( 1014): voice volume 0.000000 (range is 0 to 0)

D/AudioHardwareQSD( 1014): Setting in-call volume to 100

D/AndroidRuntime( 1028):

D/AndroidRuntime( 1028): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<

I/AndroidRuntime( 1028): Heap size: -Xmx32m

D/AndroidRuntime( 1028): CheckJNI is OFF

D/dalvikvm( 1028): creating instr width table

E/dalvikvm( 1028): Can't open dex cache '/cache/dalvik-cache/system@framework@core.jar@classes.dex': No such file or directory

I/dalvikvm( 1028): Unable to open or create cache for /system/framework/core.jar (/cache/dalvik-cache/system@framework@core.jar@classes.dex)

D/dalvikvm( 1028): Unable to process classpath element '/system/framework/core.jar'

E/dalvikvm( 1028): Can't open dex cache '/cache/dalvik-cache/system@framework@bouncycastle.jar@classes.dex': No such file or directory

I/dalvikvm( 1028): Unable to open or create cache for /system/framework/bouncycastle.jar (/cache/dalvik-cache/system@framework@bouncycastle.jar@classes.dex)

D/dalvikvm( 1028): Unable to process classpath element '/system/framework/bouncycastle.jar'

E/dalvikvm( 1028): Can't open dex cache '/cache/dalvik-cache/system@framework@ext.jar@classes.dex': No such file or directory

I/dalvikvm( 1028): Unable to open or create cache for /system/framework/ext.jar (/cache/dalvik-cache/system@framework@ext.jar@classes.dex)

D/dalvikvm( 1028): Unable to process classpath element '/system/framework/ext.jar'

E/dalvikvm( 1028): Can't open dex cache '/cache/dalvik-cache/system@framework@framework.jar@classes.dex': No such file or directory

I/dalvikvm( 1028): Unable to open or create cache for /system/framework/framework.jar (/cache/dalvik-cache/system@framework@framework.jar@classes.dex)

D/dalvikvm( 1028): Unable to process classpath element '/system/framework/framework.jar'

E/dalvikvm( 1028): Can't open dex cache '/cache/dalvik-cache/system@framework@android.policy.jar@classes.dex': No such file or directory

I/dalvikvm( 1028): Unable to open or create cache for /system/framework/android.policy.jar (/cache/dalvik-cache/system@framework@android.policy.jar@classes.dex)

D/dalvikvm( 1028): Unable to process classpath element '/system/framework/android.policy.jar'

E/dalvikvm( 1028): Can't open dex cache '/cache/dalvik-cache/system@framework@services.jar@classes.dex': No such file or directory

I/dalvikvm( 1028): Unable to open or create cache for /system/framework/services.jar (/cache/dalvik-cache/system@framework@services.jar@classes.dex)

D/dalvikvm( 1028): Unable to process classpath element '/system/framework/services.jar'

E/dalvikvm( 1028): Can't open dex cache '/cache/dalvik-cache/system@framework@core-junit.jar@classes.dex': No such file or directory

I/dalvikvm( 1028): Unable to open or create cache for /system/framework/core-junit.jar (/cache/dalvik-cache/system@framework@core-junit.jar@classes.dex)

D/dalvikvm( 1028): Unable to process classpath element '/system/framework/core-junit.jar'

E/dalvikvm( 1028): No valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar'

W/dalvikvm( 1028): JNI_CreateJavaVM failed

E/AndroidRuntime( 1028): JNI_CreateJavaVM failed

I/ServiceManager( 105): service 'media.audio_flinger' died

I/ServiceManager( 105): service 'media.player' died

I/ServiceManager( 105): service 'media.camera' died

I/ServiceManager( 105): service 'media.audio_policy' died

I/Netd ( 1030): Netd 1.0 starting

I/ ( 1029): ServiceManager: 0xad50

E/AudioHardwareQSD( 1029): Cannot open /dev/audience_a1026 -1

I/HTC Acoustic( 1029): libhtc_acoustic.so version 2.0.1.5

E/HTC Acoustic( 1029): Fail to open /system/etc/AdieHWCodecSetting.csv -1.

E/HTC Acoustic( 1029): read ADIE para from file failed -1

E/HTC Acoustic( 1029): ioctl ACOUSTIC_UPDATE_ADIE failed -1

I/HTC Acoustic( 1029): open /system/etc/AudioBTID.csv success.

I/HTC Acoustic( 1029): BT ID table version: PASSION_HTC_20091117

E/HTC Acoustic( 1029): Fail to open /system/etc/TPA2018.csv -1.

D/AudioHardwareQSD( 1029): speaker amplifier tpa2018 is not supported

D/AudioHardwareInterface( 1029): setMode(NORMAL)

I/AudioHardwareQSD( 1029): Set master volume to 1.000000

I/CameraService( 1029): CameraService started (pid=1029)

D/AudioFlinger( 1029): setParameters(): io 1, keyvalue routing=2, tid 1034, calling tid 1029

I/AudioFlinger( 1029): AudioFlinger's thread 0xea80 ready to run

I/AudioHardwareQSD( 1029): Routing audio to Speakerphone

D/AudioHardwareQSD( 1029): Switching audio device to

D/AudioHardwareQSD( 1029): Speakerphone

I/AudioHardwareQSD( 1029): voice volume 0.000000 (range is 0 to 0)

D/AudioHardwareQSD( 1029): Setting in-call volume to 100

D/AudioHardwareQSD( 1029): AudioHardware pcm playback is going to standby.

D/AndroidRuntime( 1043):

D/AndroidRuntime( 1043): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<

I/AndroidRuntime( 1043): Heap size: -Xmx32m

D/AndroidRuntime( 1043): CheckJNI is OFF

D/dalvikvm( 1043): creating instr width table

E/dalvikvm( 1043): Can't open dex cache '/cache/dalvik-cache/system@framework@core.jar@classes.dex': No such file or directory

I/dalvikvm( 1043): Unable to open or create cache for /system/framework/core.jar (/cache/dalvik-cache/system@framework@core.jar@classes.dex)

D/dalvikvm( 1043): Unable to process classpath element '/system/framework/core.jar'

E/dalvikvm( 1043): Can't open dex cache '/cache/dalvik-cache/system@framework@bouncycastle.jar@classes.dex': No such file or directory

I/dalvikvm( 1043): Unable to open or create cache for /system/framework/bouncycastle.jar (/cache/dalvik-cache/system@framework@bouncycastle.jar@classes.dex)

D/dalvikvm( 1043): Unable to process classpath element '/system/framework/bouncycastle.jar'

E/dalvikvm( 1043): Can't open dex cache '/cache/dalvik-cache/system@framework@ext.jar@classes.dex': No such file or directory

I/dalvikvm( 1043): Unable to open or create cache for /system/framework/ext.jar (/cache/dalvik-cache/system@framework@ext.jar@classes.dex)

D/dalvikvm( 1043): Unable to process classpath element '/system/framework/ext.jar'

E/dalvikvm( 1043): Can't open dex cache '/cache/dalvik-cache/system@framework@framework.jar@classes.dex': No such file or directory

I/dalvikvm( 1043): Unable to open or create cache for /system/framework/framework.jar (/cache/dalvik-cache/system@framework@framework.jar@classes.dex)

D/dalvikvm( 1043): Unable to process classpath element '/system/framework/framework.jar'

E/dalvikvm( 1043): Can't open dex cache '/cache/dalvik-cache/system@framework@android.policy.jar@classes.dex': No such file or directory

I/dalvikvm( 1043): Unable to open or create cache for /system/framework/android.policy.jar (/cache/dalvik-cache/system@framework@android.policy.jar@classes.dex)

D/dalvikvm( 1043): Unable to process classpath element '/system/framework/android.policy.jar'

E/dalvikvm( 1043): Can't open dex cache '/cache/dalvik-cache/system@framework@services.jar@classes.dex': No such file or directory

I/dalvikvm( 1043): Unable to open or create cache for /system/framework/services.jar (/cache/dalvik-cache/system@framework@services.jar@classes.dex)

D/dalvikvm( 1043): Unable to process classpath element '/system/framework/services.jar'

E/dalvikvm( 1043): Can't open dex cache '/cache/dalvik-cache/system@framework@core-junit.jar@classes.dex': No such file or directory

I/dalvikvm( 1043): Unable to open or create cache for /system/framework/core-junit.jar (/cache/dalvik-cache/system@framework@core-junit.jar@classes.dex)

D/dalvikvm( 1043): Unable to process classpath element '/system/framework/core-junit.jar'

E/dalvikvm( 1043): No valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar'

W/dalvikvm( 1043): JNI_CreateJavaVM failed

E/AndroidRuntime( 1043): JNI_CreateJavaVM failed

I/ServiceManager( 105): service 'media.audio_flinger' died

I/ServiceManager( 105): service 'media.player' died

I/ServiceManager( 105): service 'media.camera' died

I/ServiceManager( 105): service 'media.audio_policy' died

I/Netd ( 1045): Netd 1.0 starting

I/ ( 1044): ServiceManager: 0xad50

From what I've read up, it means my /data has become unwriteable..Why?