0 votes

Nexus 4 sur cm 13 nightly - l'application ne peut pas télécharger de fichiers

J'ai récemment téléchargé cm 13 et je l'ai flashé sur le Nexus 4. Depuis, aucune de mes applications ne peut télécharger de fichiers. Les applications Google peuvent pourtant le faire.

J'ai essayé de capturer les informations de débogage pertinentes à partir d'adb :

03-23 14:39:57.576 717-717/system_process W/PackageManager: Permission android.permission.DOWNLOAD_WITHOUT_NOTIFICATION from package com.android.providers.downloads in an unknown group android.permission-group.NETWORK
03-23 14:40:12.658 717-717/system_process W/PackageManager: Not granting permission android.permission.ACCESS_DOWNLOAD_MANAGER to package com.android.browser (protectionLevel=18 flags=0x3849be45)
03-23 14:40:12.658 717-717/system_process W/PackageManager: Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x3849be45)
03-23 14:40:13.419 717-1141/system_process W/PackageManager: Not granting permission android.permission.ACCESS_DOWNLOAD_MANAGER to package com.android.browser (protectionLevel=18 flags=0x38c9be45)
03-23 14:40:13.419 717-1141/system_process W/PackageManager: Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x38c9be45)
03-23 14:42:03.712 2170-2232/com.android.nfc D/NfcService: checking on firmware download
03-23 14:42:06.057 659-659/? E/kickstart: Successfully downloaded files from target 
03-23 14:42:06.743 717-2057/system_process I/ActivityManager: Start proc 2727:android.process.media/u0a9 for broadcast com.android.providers.downloads/.DownloadReceiver
03-23 14:42:16.443 3255-3274/? I/MessagingAppDataModel: Fixup: Send failed - 0 Download failed - 0
03-23 14:43:36.458 659-659/? E/kickstart: Successfully downloaded files from target 
03-23 14:44:25.562 2727-2752/android.process.media W/DownloadManager: Path appears to be invalid: /storage/emulated/0/Download/com.coolapk.market-6.4.0-1603173.apk
03-23 14:44:25.707 2727-4566/android.process.media D/DownloadManager: [1] Starting
03-23 14:44:26.198 2727-4566/android.process.media W/DownloadManager: [1] Stop requested with status FILE_ERROR: Failed to generate filename: java.io.IOException: open failed: EACCES (Permission denied)
03-23 14:44:26.199 2727-4566/android.process.media D/DownloadManager: [1] Finished with status WAITING_TO_RETRY
03-23 14:45:09.370 2727-4758/android.process.media D/DownloadManager: [1] Starting
03-23 14:45:12.006 2727-4758/android.process.media W/DownloadManager: [1] Stop requested with status FILE_ERROR: Failed to generate filename: java.io.IOException: open failed: EACCES (Permission denied)
03-23 14:45:12.007 2727-4758/android.process.media D/DownloadManager: [1] Finished with status WAITING_TO_RETRY
03-23 14:45:37.961 2059-2059/com.android.systemui D/StatusBar: Clicked on content of 0|com.android.providers.downloads|0|1:com.android.browser|10009
03-23 14:45:38.055 717-2014/system_process I/ActivityManager: START u0 {act=android.intent.action.VIEW_DOWNLOADS flg=0x10000000 cmp=com.android.providers.downloads.ui/.DownloadList} from uid 10025 on display 0
03-23 14:45:38.115 2727-2727/android.process.media W/System: ClassLoader referenced unknown path: /system/app/DownloadProviderUi/lib/arm
03-23 14:45:38.146 717-2014/system_process I/ActivityManager: START u0 {act=android.provider.action.MANAGE_ROOT dat=content://com.android.providers.downloads.documents/root/downloads cmp=com.android.documentsui/.DocumentsActivity} from uid 10009 on display 0
03-23 14:45:55.276 2727-2868/android.process.media W/DownloadManager: Path appears to be invalid: /storage/emulated/0/Download/com.coolapk.market-6.4.0-1603173.apk
03-23 14:45:55.383 2727-5648/android.process.media D/DownloadManager: [2] Starting
03-23 14:45:55.773 2727-5648/android.process.media W/DownloadManager: [2] Stop requested with status FILE_ERROR: Failed to generate filename: java.io.IOException: open failed: EACCES (Permission denied)
03-23 14:45:55.776 2727-5648/android.process.media D/DownloadManager: [2] Finished with status WAITING_TO_RETRY
03-23 14:47:08.190 2727-6824/android.process.media D/DownloadManager: [1] Starting
03-23 14:47:08.192 2727-6825/android.process.media D/DownloadManager: [2] Starting
03-23 14:47:08.420 2727-6825/android.process.media W/DownloadManager: [2] Stop requested with status FILE_ERROR: Failed to generate filename: java.io.IOException: open failed: EACCES (Permission denied)
03-23 14:47:08.420 2727-6825/android.process.media D/DownloadManager: [2] Finished with status WAITING_TO_RETRY
03-23 14:47:08.601 2727-6824/android.process.media W/DownloadManager: [1] Stop requested with status FILE_ERROR: Failed to generate filename: java.io.IOException: open failed: EACCES (Permission denied)
03-23 14:47:08.615 2727-6824/android.process.media D/DownloadManager: [1] Finished with status WAITING_TO_RETRY
03-23 14:48:21.289 2727-7951/android.process.media D/DownloadManager: [2] Starting
03-23 14:48:24.624 2727-7951/android.process.media W/DownloadManager: [2] Stop requested with status FILE_ERROR: Failed to generate filename: java.io.IOException: open failed: EACCES (Permission denied)
03-23 14:48:24.629 2727-7951/android.process.media D/DownloadManager: [2] Finished with status WAITING_TO_RETRY
03-23 14:50:30.886 2727-9818/android.process.media D/DownloadManager: [1] Starting
03-23 14:50:35.682 2727-9818/android.process.media W/DownloadManager: [1] Stop requested with status 403: Unhandled HTTP response: 403 Forbidden
03-23 14:50:35.683 2727-9818/android.process.media D/DownloadManager: [1] Finished with status 403
03-23 14:52:10.358 2727-11049/android.process.media D/DownloadManager: [2] Starting
03-23 14:52:10.911 2727-11049/android.process.media W/DownloadManager: [2] Stop requested with status 403: Unhandled HTTP response: 403 Forbidden
03-23 14:52:10.911 2727-11049/android.process.media D/DownloadManager: [2] Finished with status 403
03-23 14:57:23.790 659-659/? E/kickstart: Successfully downloaded files from target 
03-23 14:57:24.879 659-659/? E/kickstart: Successfully downloaded files from target 

Y a-t-il une solution possible ?

Edit : Des problèmes similaires (pratiquement les mêmes erreurs) existent sur CM 12.1 latest snapshot et Slimkat (4.4 builds). En ce qui concerne la version Slimkat, elle a été utilisée pendant plus d'un an sans aucun problème. Maintenant, cela se produit sans crier gare.

0voto

Chung Lun Yuen Points 101

Il s'avère que j'ai utilisé Root pour copier des fichiers dans le répertoire de la carte SD (/storage/emulated/0), verrouillant ainsi les utilisateurs non-Root.

chown -R media_rw:media_rw /sdcard/* dans la récupération a résolu le problème. (Notez que le point de montage de la sdcard peut être différent dans les différentes restaurations. J'utilise TWRP)

Je suis bête :P

0voto

mirh Points 345

chown -R 1023:1023 /sdcard です encore plus court

Je donnerais également chmod -R 770 /sdcard para exhaustivité

androidalle.com

AndroidAlle est une communauté de androiders où vous pouvez résoudre vos problèmes et vos doutes. Vous pouvez consulter les questions des autres sysadmins, poser vos propres questions ou résoudre celles des autres.

Powered by:

X