[G1 Android Development] cjesse:
i got "Insufficient storage available" when install some applications from market on cm-1.4.11.1, it seems cm 4.1.11.1 can't install package when it need Storage(modify/delete SD card contents) permission.

logcat:

D/Process ( 527): Setting SCHED_BATCH for pid: 631 prio: 10

D/vending ( 584): com.android.vending.AssetDownloader$DownloadManagerBroadcastReceiver.handleDownloadCompletedAction(): Got a download completed intent.

D/vending ( 584): com.android.vending.api.LocalAssetDatabase.notifyListener(): -8827939352635556761 / INSTALLING

D/Process ( 584): Setting SCHED_BATCH for pid: 596 prio: 10

D/Process ( 584): Setting SCHED_BATCH for pid: 596 prio: 10

E/PackageManager( 143): Couldn't copy package stream to temp file.

I/dalvikvm( 143): dvmChangeThreadSchedulerGroup thread=158: (null)

I/dalvikvm( 143): dvmChangeThreadSchedulerGroup thread=158: bg_non_interactive

D/dalvikvm( 143): GC(1) freed 10639 objects / 487312 bytes in 181ms

W/ActivityManager( 143): Failed setting process group of 527 to 1

W/System.err( 143): java.lang.SecurityException: No permission to modify given thread

W/System.err( 143):	at android.os.Process.setProcessGroup(Native Method)

W/System.err( 143):	at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12759)

W/System.err( 143):	at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:12835)

W/System.err( 143):	at com.android.server.am.ActivityManagerService.removeContentProvider(ActivityManagerService.java:7515)

W/System.err( 143):	at android.app.ActivityThread.removeProviderLocked(ActivityThread.java:4032)

W/System.err( 143):	at android.app.ActivityThread.releaseProvider(ActivityThread.java:3997)

W/System.err( 143):	at android.app.ApplicationContext$ApplicationContentResolver.releaseProvider(ApplicationContext.java:1520)

W/System.err( 143):	at android.content.ContentResolver$ParcelFileDescriptorInner.close(ContentResolver.java:772)

W/System.err( 143):	at android.os.ParcelFileDescriptor$AutoCloseInputStream.close(ParcelFileDescriptor.java:191)

W/System.err( 143):	at java.io.FileInputStream.finalize(FileInputStream.java:213)

W/System.err( 143):	at dalvik.system.NativeStart.run(Native Method)

D/vending ( 584): com.android.vending.api.LocalAssetDatabase.notifyListener(): -8827939352635556761 / INSTALL_FAILED

D/Process ( 584): Setting SCHED_BATCH for pid: 600 prio: 10

D/Process ( 584): Setting SCHED_BATCH for pid: 600 prio: 10

D/vending ( 584): com.android.vending.VendingNotificationManager.showNotification(): Showing notification: [AssetID=-8827939352635556761, NotificationID=1675335569, Title=Nasty Puzzle Lite, Message=Installation unsuccessful.]

I/vending ( 584): com.android.vending.AssetDownloader$DownloadManagerBroadcastReceiver$MyPackageInstallObserver.packageInstalled(): Package install from content://downloads/download/27 failed: Insufficient storage available.

I/ActivityManager( 143): Stopping service: com.android.providers.downloads/.DownloadService

D/dalvikvm( 527): GC(1) freed 5287 objects / 343672 bytes in 158ms

D/TrackingPatternView( 143): width=320 textureWidth=120

D/TrackingPatternView( 143): width=320 textureWidth=120

D/Process ( 246): Setting SCHED_BATCH for pid: 285 prio: 10

I/ActivityManager( 143): Starting activity: Intent { act=android.intent.action.VIEW flg=0x14000004 cmp=com.android.vending/.AssetInfoActivity (has extras) }

W/ResponseProcessCookies( 246): Cookie rejected: "[version: 0][name: S][value: gmail=asgBz735xhLzTPHWn3npMw:gmproxy=cadPpH1pOmwcltMNOeTjvg][domain: android.clients.google.com][path: /mail][expiry: null]". Illegal path attribute "/mail". Path of origin: "/proxy/gmail/mail/g/"

D/Process ( 584): Setting SCHED_BATCH for pid: 602 prio: 10

D/dalvikvm( 584): GC(0) freed 13248 objects / 695136 bytes in 142ms

D/Process ( 584): Setting SCHED_BATCH for pid: 634 prio: 10

I/ARMAssembler( 143): generated scanline__00000077:03515104_00001001_00000000 [ 64 ipp] (84 ins) at [0x3b0f90:0x3b10e0] in 671387 ns

I/ActivityManager( 143): Displayed activity com.android.vending/.AssetInfoActivity: 1300 ms (total 1300 ms)

I/dalvikvm( 246): dvmChangeThreadSchedulerGroup thread=285: (null)

I/dalvikvm( 246): dvmChangeThreadSchedulerGroup thread=285: bg_non_interactive

D/dalvikvm( 246): GC(1) freed 5903 objects / 354376 bytes in 153ms