[G1 Android Development] ttabbal:
Thanks for the update SJ! It's working quite well, but I do see some errors in the log for some of the init.d scripts. Just FYI. On first boot, my ext partition didn't automount, I changed the group and permissions of the mountsd and bindcache scripts to match the others (chgrp system *; chmod 750 *; ) and rebooted and those worked.

My swap isn't on p2, that's ext for me, but the script just errors out, no big deal. My userinit will enable swap if the ext mounts. :)

Here's the logcat info. I'll see if I can figure out the issue and perhaps send a patch if you don't beat me to it. :D

I/mountsd ( 86): Checking filesystems..
E/logwrapper( 88): executing e2fsck failed: No such file or directory
I/logwrapper( 87): e2fsck terminated by exit(255)
I/mountsd ( 98): /sd-ext successfully mounted
I//system/xbin/run-parts( 60): swapon: /dev/block/mmcblk0p2: Invalid argument
I//system/xbin/run-parts( 60): vm.swappiness = 10
I//system/xbin/run-parts( 60): /system/etc/init.d/07swap: line 7: syntax error: unexpected "done"
I//system/xbin/run-parts( 60): run-parts: /system/etc/init.d/07swap exited with code 2
I//system/xbin/run-parts( 60): +++ Starting Shadow's Renice
I//system/xbin/run-parts( 60): /system/bin/shadow.sh: line 36: syntax error: unexpected end of file (expecting "done")

EDIT: e2fsck isn't included in the /system/bin dir. fsck_msdos in there, and mkfs.ext2 is there, but no fsck for EXT. I think the "done;" isn't needed as there's no if/while/for type block in 07swap. And I think shadow.sh needs a "done" before this line: "targets="com.android.vending"".

Last one for now: Voice Search logcat FC. Looks like a library problem.

I/ActivityThread( 1142): Publishing provider com.google.android.voicesearch.VoiceSearchResultProvider: com.google.android.voicesearch.VoiceSearchResultProvider
D/dalvikvm( 1142): GC_EXTERNAL_ALLOC freed 7791 objects / 228648 bytes in 93ms
D/dalvikvm( 866): GC_EXPLICIT freed 1259 objects / 106232 bytes in 1474ms
D/WifiService( 275): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.Binder@43796f88}
I/ActivityManager( 275): Displayed activity com.google.android.voicesearch/.RecognitionActivity: 2956 ms (total 2956 ms)
I/AudioService( 275): AudioFocus requestAudioFocus() from android.media.AudioManager@4348e558
I/MicrophoneInputStream( 1142): Starting voice recognition with audio source VOICE_RECOGNITION
D/AudioHardwareMSM72XX( 116): audpre_index = 3, tx_iir_index = 6
D/HTC Acoustic( 116): msm72xx_enable_audpre: 0x0000
I/AudioHardwareMSM72XX( 116): Routing audio to Speakerphone
D/HTC Acoustic( 116): msm72xx_enable_audpp: 0x0001
I/AudioHardwareMSM72XX( 116): Routing audio to Speakerphone
D/HTC Acoustic( 116): msm72xx_enable_audpp: 0x0001
I/AudioHardwareMSM72XX( 116): Routing audio to Speakerphone
D/AudioHardwareMSM72XX( 116): audpre_index = 3, tx_iir_index = 6
D/HTC Acoustic( 116): msm72xx_enable_audpre: 0x0000
I/AudioHardwareMSM72XX( 116): do input routing device 40000
I/AudioHardwareMSM72XX( 116): Routing audio to Speakerphone
D/HTC Acoustic( 116): msm72xx_enable_audpp: 0x0001
D/LocationMasfClient( 275): getNetworkLocation(): Returning cache location with accuracy 152.0
I/DEBUG ( 112): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 112): Build fingerprint: 'google/passion/passion/mahimahi:2.2/FRF91/43546:user/release-keys'
I/DEBUG ( 112): pid: 1142, tid: 1153 >>> com.google.android.voicesearch <<<
I/DEBUG ( 112): signal 11 (SIGSEGV), fault addr 000000df
I/DEBUG ( 112): r0 0000aa00 r1 451d3848 r2 000000df r3 00000000
I/DEBUG ( 112): r4 aca983f4 r5 00261430 r6 80a03e39 r7 00223fa0
I/DEBUG ( 112): r8 aca11ec0 r9 00261430 10 4251cdfc fp 00261430
I/DEBUG ( 112): ip aca984c8 sp 451d3840 lr 80a03e41 pc aca4433c cpsr 40000030
W/AudioFlinger( 116): RecordThread: buffer overflow
W/LocationMasfClient( 275): uploadCollectionReport(): no ReplyElement
I/ActivityManager( 275): Process android.process.media (pid 1071) has died.
I/DEBUG ( 112): #00 pc 0004433c /system/lib/libdvm.so (dvmLoadNativeCode)
I/DEBUG ( 112): #01 lr 80a03e41 /system/lib/libspeech.so
I/DEBUG ( 112):
I/DEBUG ( 112): code around pc:
I/DEBUG ( 112): aca4431c bdf01c20 000542aa fffe776d fffe20a8
I/DEBUG ( 112): aca4432c fffe7775 fffe778f fffe77ca fffe77f8
I/DEBUG ( 112): aca4433c fffe7812 fffe7846 fffe785e fffe7869
I/DEBUG ( 112): aca4434c 000003dc 00010004 fffe7896 4c10b530
I/DEBUG ( 112): aca4435c 1c034910 5865447c b0c34a0f 21806828
I/DEBUG ( 112):
I/DEBUG ( 112): code around lr:
I/DEBUG ( 112): 80a03e20 e28cca20 e5bcf700 e28fc600 e28cca20
I/DEBUG ( 112): 80a03e30 e5bcf6f8 00000000 a902b507 f8412300
I/DEBUG ( 112): 80a03e40 68023d04 4a0a6993 b9184798 f0009801
I/DEBUG ( 112): 80a03e50 b110fbbb 30fff04f 9801e008 fd42f000
I/DEBUG ( 112): 80a03e60 28004903 4608bf0c 30fff04f bf00bd0e
I/DEBUG ( 112):
I/DEBUG ( 112): stack:
I/DEBUG ( 112): 451d3800 80a0153c /system/lib/libspeech.so
I/DEBUG ( 112): 451d3804 80a0074c /system/lib/libspeech.so
I/DEBUG ( 112): 451d3808 00000000
I/DEBUG ( 112): 451d380c b0004ca4 /system/bin/linker
I/DEBUG ( 112): 451d3810 b001a190
I/DEBUG ( 112): 451d3814 80a03e39 /system/lib/libspeech.so
I/DEBUG ( 112): 451d3818 00008d48 /system/bin/app_process
I/DEBUG ( 112): 451d381c 80a00000 /system/lib/libspeech.so
I/DEBUG ( 112): 451d3820 aca11ec0 /system/lib/libdvm.so
I/DEBUG ( 112): 451d3824 00261430 [heap]
I/DEBUG ( 112): 451d3828 4251cdfc
I/DEBUG ( 112): 451d382c b0003365 /system/bin/linker
I/DEBUG ( 112): 451d3830 00223fa0 [heap]
I/DEBUG ( 112): 451d3834 b0015a70
I/DEBUG ( 112): 451d3838 00000001
I/DEBUG ( 112): 451d383c aca983f4 /system/lib/libdvm.so
I/DEBUG ( 112): #00 451d3840 0000aa00 [heap]
I/DEBUG ( 112): 451d3844 00000000
I/DEBUG ( 112): 451d3848 000000df
I/DEBUG ( 112): 451d384c aca442bb /system/lib/libdvm.so
I/DEBUG ( 112): 451d3850 40c4ffb8 /dev/ashmem/dalvik-LinearAlloc (deleted)
I/DEBUG ( 112): 451d3854 000007ff
I/DEBUG ( 112): 451d3858 4344dd68 /dev/ashmem/mspace/dalvik-heap/2 (deleted)
I/DEBUG ( 112): 451d385c 00268238 [heap]
I/DEBUG ( 112): 451d3860 00000000
I/DEBUG ( 112): 451d3864 00000001
I/DEBUG ( 112): 451d3868 00268244 [heap]
I/DEBUG ( 112): 451d386c 00268248 [heap]
I/DEBUG ( 112): 451d3870 4251ce10
I/DEBUG ( 112): 451d3874 451d38e8
I/DEBUG ( 112): 451d3878 00223fa0 [heap]
I/DEBUG ( 112): 451d387c 4344dd68 /dev/ashmem/mspace/dalvik-heap/2 (deleted)
I/DEBUG ( 112): 451d3880 40051250 /dev/ashmem/mspace/dalvik-heap/zygote/0 (deleted)
I/DEBUG ( 112): 451d3884 aca5c5bb /system/lib/libdvm.so
D/WifiService( 275): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.Binder@43796f88}
I/ActivityManager( 275): Process com.google.android.voicesearch (pid 1142) has died.