0 votos

Nexus 4 en cm 13 nightly - la aplicación no puede descargar archivos

Recientemente he descargado cm 13 y lo he flasheado en el Nexus 4. Desde entonces ninguna de mis aplicaciones puede descargar ningún archivo. Sin embargo, las aplicaciones de Google pueden hacerlo.

He intentado capturar la información de depuración pertinente de 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 

¿Alguna solución posible?

Edición: Problemas similares (prácticamente los mismos errores) existen en la última instantánea de CM 12.1 y en Slimkat (builds 4.4). En cuanto a la build slimkat, se ha utilizado durante más de un año sin ningún problema. Ahora sucede de la nada.

0voto

Chung Lun Yuen Puntos 101

Resulta que utilicé Root para copiar archivos en el directorio de la tarjeta SD (/storage/emulated/0), bloqueando a los usuarios que no son Root.

chown -R media_rw:media_rw /sdcard/* en la recuperación solucionó el problema. (Tenga en cuenta que el punto de montaje de la tarjeta sdcard puede ser diferente en diferentes recuperaciones. Yo uso TWRP)

Qué tonta soy :P

0voto

mirh Puntos 259

chown -R 1023:1023 /sdcard es incluso más corto

También daría chmod -R 770 /sdcard para integridad

PreguntAndroid.com

PreguntAndroid es una comunidad de usuarios de Android en la que puedes resolver tus problemas y dudas.
Puedes consultar las preguntas de otros usuarios, hacer tus propias preguntas o resolver las de los demás.

Powered by:

X