[Milestone XT720 Android Development] hellmonger:
Found it!

This is what causes bootloop and dirty flag on both partitions

W/ActivityManager( 2373): Killing processes unmount media at adjustment 0

D/VoldCmdListener( 1920): storage users /mnt/sdcard

I/MountService( 2373): Failed to unmount media inspite of 4 retries. Forcibly killing processes now

I/PackageManager( 2373): Updating external media status from unmounted to unmounted

D/VoldCmdListener( 1920): volume unmount /mnt/sdcard force

D/Vold ( 1920): Volume sdcard state changing 4 (Mounted) -> 5 (Unmounting)

I/BootReceiver( 2936): Got intent with action android.intent.action.MEDIA_EJECT

V/MediaProvider( 2704): Detached volume: external

I/Vold ( 1920): /mnt/secure/staging/.android_secure sucessfully unmounted

I/Vold ( 1920): /mnt/secure/asec sucessfully unmounted

W/Vold ( 1920): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 9, action 0)

E/ProcessKiller( 1920): Process /system/bin/mediaserver (1936) has open file /mnt/secure/staging/zedge/ringtones/Banana Phone Part 1_3.mp3

W/Vold ( 1920): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 8, action 0)

E/ProcessKiller( 1920): Process /system/bin/mediaserver (1936) has open file /mnt/secure/staging/zedge/ringtones/Banana Phone Part 1_3.mp3

I/ActivityManager( 2373): Start proc com.motorola.thumbnailservice for service com.motorola.thumbnailservice/.ThumbnailService: pid=3215 uid=

I/ActivityManager( 2373): Process com.motorola.widgetapp.weather (pid 2834) has died.

D/ThumbnailService( 3215): ThumbnailService in onCreate

D/ThumbnailService( 3215): Don't need to restart thumbnail service .

D/ThumbnailService( 3215): ThumbnailService--onStart---Running?---false

D/ThumbnailService( 3215): ThumbnailService--onStart--ThreadRunning

D/ThumbnailService( 3215): file full path is /mnt/sdcard/dcim/.thumbnails/.thumbdata3--1967290299

E/ThumbnailService( 3215): !!!! unable to create .thumbnails directory /mnt/sdcard/dcim/.thumbnails

D/ThumbnailService( 3215): Could not open thumbnail file

E/ThumbnailService( 3215): IO error

D/ThumbnailService( 3215): file full path is /mnt/sdcard/dcim/.thumbnails/.thumbdata3-1763508120

E/ThumbnailService( 3215): !!!! unable to create .thumbnails directory /mnt/sdcard/dcim/.thumbnails

D/ThumbnailService( 3215): Could not open thumbnail file

E/ThumbnailService( 3215): IO error

D/ThumbnailService( 3215): Normal case

D/ThumbnailService( 3215): m_isReachLastFile :true

V/MediaProvider( 2704): enter query, uri: content://media/external/images/media

W/Vold ( 1920): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 7, action 0)

E/ProcessKiller( 1920): Process /system/bin/mediaserver (1936) has open file /mnt/secure/staging/zedge/ringtones/Banana Phone Part 1_3.mp3

W/Vold ( 1920): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 6, action 0)

E/ProcessKiller( 1920): Process /system/bin/mediaserver (1936) has open file /mnt/secure/staging/zedge/ringtones/Banana Phone Part 1_3.mp3

W/Vold ( 1920): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 5, action 0)

E/ProcessKiller( 1920): Process /system/bin/mediaserver (1936) has open file /mnt/secure/staging/zedge/ringtones/Banana Phone Part 1_3.mp3

W/Vold ( 1920): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 4, action 0)

E/ProcessKiller( 1920): Process /system/bin/mediaserver (1936) has open file /mnt/secure/staging/zedge/ringtones/Banana Phone Part 1_3.mp3

W/Vold ( 1920): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 3, action 0)

E/ProcessKiller( 1920): Process /system/bin/mediaserver (1936) has open file /mnt/secure/staging/zedge/ringtones/Banana Phone Part 1_3.mp3

W/Vold ( 1920): Failed to unmount /mnt/secure/staging (Device or resource busy, retries 2, action 1)

E/ProcessKiller( 1920): Process /system/bin/mediaserver (1936) has open file /mnt/secure/staging/zedge/ringtones/Banana Phone Part 1_3.mp3

W/ProcessKiller( 1920): Sending SIGHUP to process 1936

Now wut lol?

Maybe used a media gallery that only scans on request?

Would save a ****load of batt to...