[Android Software/Hacking General [Developers Only]] GermainZ:
Read below :)

Same thing.

-------------------

There is a ~2s window where I can use adb to do whatever I want. After that, everything just stops - adb hangs forever, (consequently) the logcat freezes, etc.

So I ran a simple infinite loop to get the most out of that ~2s window:

while :; do adb shell dmesg; done

http://bpaste.net/show/uSaxBIUPfL4gYDH4nJh4/

while :; do adb shell cat /data/Debug_BulletProof_Apps.log; done

+ line=================================================
+ mount -o remount,rw /data
+ busybox mount -o remount,rw /data

adb logcat

--------- beginning of /dev/log/system
I/Vold ( 1582): Vold 2.1 (the revenge) firing up
I/Vold ( 1582): Volume::setState -> Volume sdcard /mnt/sdcard state changed from -1 (Initializing) to 0 (No-Media)
D/DirectVolume( 1582): DirectVolume::handleBlockEvent -> mCurrentlyMMCRootPath /devices/platform/bcm_sdhc.3/mmc_host/mmc1
D/DirectVolume( 1582): DirectVolume::handleBlockEvent-> ::NlActionAdd:: major 179,minor 0 (disk)
E/Vold ( 1582): Volume::createDeviceNode -> group(1015,sdcard_rw)
D/DirectVolume( 1582): DirectVolume::handleDiskAdded -> mDiskMajor 179, mDiskMinor 0, NPARTS:2
I/Vold ( 1582): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 0 (No-Media) to 2 (Pending)
D/DirectVolume( 1582): DirectVolume::handleBlockEvent-> ::NlActionAdd:: major 179,minor 1 (partition)
E/Vold ( 1582): Volume::createDeviceNode -> group(1015,sdcard_rw)
D/DirectVolume( 1582): DirectVolume::handlePartitionAdded -> major 179, minor 1, PARTN 1
D/DirectVolume( 1582): DirectVolume::handleBlockEvent-> ::NlActionAdd:: major 179,minor 2 (partition)
E/Vold ( 1582): Volume::createDeviceNode -> group(1015,sdcard_rw)
D/DirectVolume( 1582): DirectVolume::handlePartitionAdded -> major 179, minor 2, PARTN 2
I/Vold ( 1582): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 2 (Pending) to 1 (Idle-Unmounted)
D/Vold ( 1582): VolumeManager::handleSwitchEvent -> Changed USB status SWITCH_NAME(usb_mass_storage),SWITCH_STATE(offline)
W/Vold ( 1582): Ignoring unknown switch 'usb_mass_storage'
--------- beginning of /dev/log/main
I/NPS_MOBEX( 1586): task Start
I/NPS_MOBEX( 1586): wscMessageGet msgid:4097
D/Vold ( 1582): VolumeManager::handleSwitchEvent -> Changed USB status SWITCH_NAME(usb_mass_storage),SWITCH_STATE(online)
W/Vold ( 1582): Ignoring unknown switch 'usb_mass_storage'
I/usb_portd( 1599): USB cable is connected, config 1
I/DEBUG ( 1584): debuggerd: Sep 7 2012 09:36:58
I/at ( 1706): open driver brcm_atc fd - 7
I/at ( 1706): SERIALMGR_RegisterClient: inDevID=0
I/at ( 1706): Serial_OpenDevice: devID=0
I/at ( 1706): Serial_OpenDevice: openResult=1
I/atx ( 1706): pcsync_init
I/at ( 1706): SERIALMGR_RX_Entry: devID=0, BEGIN
E/PowerOnSound( 1581): nRingerMode = 1 volume = 0
[germain@arch ~]$ adb logcat
[germain@arch ~]$ adb logcat
- waiting for device -
--------- beginning of /dev/log/system
I/Vold ( 1582): Vold 2.1 (the revenge) firing up
I/Vold ( 1582): Volume::setState -> Volume sdcard /mnt/sdcard state changed from -1 (Initializing) to 0 (No-Media)
--------- beginning of /dev/log/main
I/NPS_MOBEX( 1586): task Start
I/NPS_MOBEX( 1586): wscMessageGet msgid:4097
D/DirectVolume( 1582): DirectVolume::handleBlockEvent -> mCurrentlyMMCRootPath /devices/platform/bcm_sdhc.3/mmc_host/mmc1
D/DirectVolume( 1582): DirectVolume::handleBlockEvent-> ::NlActionAdd:: major 179,minor 0 (disk)
E/Vold ( 1582): Volume::createDeviceNode -> group(1015,sdcard_rw)
D/DirectVolume( 1582): DirectVolume::handleDiskAdded -> mDiskMajor 179, mDiskMinor 0, NPARTS:2
I/Vold ( 1582): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 0 (No-Media) to 2 (Pending)
D/DirectVolume( 1582): DirectVolume::handleBlockEvent-> ::NlActionAdd:: major 179,minor 1 (partition)
E/Vold ( 1582): Volume::createDeviceNode -> group(1015,sdcard_rw)
D/DirectVolume( 1582): DirectVolume::handlePartitionAdded -> major 179, minor 1, PARTN 1
D/DirectVolume( 1582): DirectVolume::handleBlockEvent-> ::NlActionAdd:: major 179,minor 2 (partition)
E/Vold ( 1582): Volume::createDeviceNode -> group(1015,sdcard_rw)
D/DirectVolume( 1582): DirectVolume::handlePartitionAdded -> major 179, minor 2, PARTN 2
I/Vold ( 1582): Volume::setState -> Volume sdcard /mnt/sdcard state changed from 2 (Pending) to 1 (Idle-Unmounted)
D/Vold ( 1582): VolumeManager::handleSwitchEvent -> Changed USB status SWITCH_NAME(usb_mass_storage),SWITCH_STATE(online)
W/Vold ( 1582): Ignoring unknown switch 'usb_mass_storage'
I/usb_portd( 1599): USB cable is connected, config 1
I/at ( 1700): open driver brcm_atc fd - 7
I/at ( 1700): SERIALMGR_RegisterClient: inDevID=0
I/at ( 1700): Serial_OpenDevice: devID=0
I/at ( 1700): Serial_OpenDevice: openResult=1
I/atx ( 1700): pcsync_init
I/at ( 1700): SERIALMGR_RX_Entry: devID=0, BEGIN
I/DEBUG ( 1584): debuggerd: Sep 7 2012 09:36:58
E/PowerOnSound( 1581): nRingerMode = 1 volume = 0

Obviously the dmesg/logcat/log might not be 100% up to date because of the required time to read/loop and the small time during which adb works... So it's probably some command that happens right after mounting /data. What do you think?