Skip to content

Some apps fail to create app-specific files and folders in /storage/emulated/0/Android/data even after a clean-flash #924

@zenwav

Description

@zenwav

Issue type

Other

Device

Xiaomi Mi 11X (aliothin)

crDroid version

crDroid 12

Exact version / Build date

12.7/2026-02-21

Bug description

  1. Basic Call Recorder fails to create /storage/emulated/0/Android/data/com.chiller3.bcr and it crashes when trying to save a call recording.
  2. Symfonium fails to download album art from Subsonic server because it fails to create /storage/emulated/0/Android/data/app.symfonik.music.player/cache

Steps to reproduce

For BCR

  1. Install a KSU metamodule and reboot.
  2. Download BCR and flash the zip as a KSU module from KernelSU Manager.
  3. Reboot, open BCR, and grant it all necessary permissions.
  4. Enable call recording and pick an output directory.
  5. Receive a call, BCR will try to record it but will crash.

For Symfonium

  1. Install Symfonium from the Play Store.
  2. Open the app and configure it by adding a Subsonic server.
  3. Symfonium will fail to download album art from the server because it fails to create the cache folder.

Relevant log (logcat/build log)

For BCR (Full logs are attached below): 


02-23 20:22:00.529 W/ContextImpl(13475): Failed to ensure /storage/emulated/0/Android/data/com.chiller3.bcr/files
02-23 20:22:00.529 W/ContextImpl(13475): java.lang.IllegalStateException: Failed to prepare /storage/emulated/0/Android/data/com.chiller3.bcr/files
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3381)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.os.Parcel.createException(Parcel.java:3357)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.os.Parcel.readException(Parcel.java:3340)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.os.Parcel.readException(Parcel.java:3282)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.os.storage.IStorageManager$Stub$Proxy.mkdirs(IStorageManager.java:1305)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.os.storage.StorageManager.mkdirs(StorageManager.java:1421)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.app.ContextImpl.ensureExternalDirsExistOrFilter(ContextImpl.java:3936)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.app.ContextImpl.getExternalFilesDirs(ContextImpl.java:935)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.app.ContextImpl.getExternalFilesDir(ContextImpl.java:924)
02-23 20:22:00.529 W/ContextImpl(13475): 	at com.chiller3.bcr.Preferences.<init>(r8-map-id-cd2d6f1f2f293cd1b90489d5c47c4391dff763ff4409a28650cea3e16843f06e:92)
02-23 20:22:00.529 W/ContextImpl(13475): 	at com.chiller3.bcr.Notifications.<init>(r8-map-id-cd2d6f1f2f293cd1b90489d5c47c4391dff763ff4409a28650cea3e16843f06e:11)
02-23 20:22:00.529 W/ContextImpl(13475): 	at com.chiller3.bcr.RecorderApplication.onCreate(r8-map-id-cd2d6f1f2f293cd1b90489d5c47c4391dff763ff4409a28650cea3e16843f06e:37)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1400)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:8145)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2691)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.os.Handler.dispatchMessage(Handler.java:132)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.os.Looper.dispatchMessage(Looper.java:333)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.os.Looper.loopOnce(Looper.java:263)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.os.Looper.loop(Looper.java:367)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.app.ActivityThread.main(ActivityThread.java:9298)
02-23 20:22:00.529 W/ContextImpl(13475): 	at java.lang.reflect.Method.invoke(Native Method)
02-23 20:22:00.529 W/ContextImpl(13475): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:569)
02-23 20:22:00.529 W/ContextImpl(13475): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)
02-23 20:22:00.529 W/ContextImpl(13475): Caused by: android.os.RemoteException: Remote stack trace:
02-23 20:22:00.529 W/ContextImpl(13475): 	at com.android.server.StorageManagerService.mkdirs(StorageManagerService.java:3781)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.os.storage.IStorageManager$Stub.onTransact(IStorageManager.java:648)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.os.Binder.execTransactInternal(Binder.java:1473)
02-23 20:22:00.529 W/ContextImpl(13475): 	at android.os.Binder.execTransact(Binder.java:1418)

----------------------------------------------------------------
For Symfonium (Full logs are attached below): 


02-23 20:51:45.510 W/ContextImpl(22360): Failed to ensure /storage/emulated/0/Android/data/app.symfonik.music.player/cache
02-23 20:51:45.510 W/ContextImpl(22360): java.lang.IllegalStateException: Failed to prepare /storage/emulated/0/Android/data/app.symfonik.music.player/cache
02-23 20:51:45.510 W/ContextImpl(22360): 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3381)
02-23 20:51:45.510 W/ContextImpl(22360): 	at android.os.Parcel.createException(Parcel.java:3357)
02-23 20:51:45.510 W/ContextImpl(22360): 	at android.os.Parcel.readException(Parcel.java:3340)
02-23 20:51:45.510 W/ContextImpl(22360): 	at android.os.Parcel.readException(Parcel.java:3282)
02-23 20:51:45.510 W/ContextImpl(22360): 	at android.os.storage.IStorageManager$Stub$Proxy.mkdirs(IStorageManager.java:1305)
02-23 20:51:45.510 W/ContextImpl(22360): 	at android.os.storage.StorageManager.mkdirs(StorageManager.java:1421)
02-23 20:51:45.510 W/ContextImpl(22360): 	at android.app.ContextImpl.ensureExternalDirsExistOrFilter(ContextImpl.java:3936)
02-23 20:51:45.510 W/ContextImpl(22360): 	at android.app.ContextImpl.getExternalCacheDirs(ContextImpl.java:999)
02-23 20:51:45.510 W/ContextImpl(22360): 	at android.app.ContextImpl.getExternalCacheDir(ContextImpl.java:988)
02-23 20:51:45.510 W/ContextImpl(22360): 	at android.content.ContextWrapper.getExternalCacheDir(ContextWrapper.java:338)
02-23 20:51:45.510 W/ContextImpl(22360): 	at cn.f.r(r8-map-id-376dcbea0e1468ceaa33c62eeeb2097b3979d5e605cce059505ca5fc37a585ea:1216)
02-23 20:51:45.510 W/ContextImpl(22360): 	at f10.a.e(r8-map-id-376dcbea0e1468ceaa33c62eeeb2097b3979d5e605cce059505ca5fc37a585ea:6)
02-23 20:51:45.510 W/ContextImpl(22360): 	at e20.h0.run(r8-map-id-376dcbea0e1468ceaa33c62eeeb2097b3979d5e605cce059505ca5fc37a585ea:107)
02-23 20:51:45.510 W/ContextImpl(22360): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154)
02-23 20:51:45.510 W/ContextImpl(22360): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
02-23 20:51:45.510 W/ContextImpl(22360): 	at java.lang.Thread.run(Thread.java:1563)
02-23 20:51:45.510 W/ContextImpl(22360): Caused by: android.os.RemoteException: Remote stack trace:
02-23 20:51:45.510 W/ContextImpl(22360): 	at com.android.server.StorageManagerService.mkdirs(StorageManagerService.java:3781)
02-23 20:51:45.510 W/ContextImpl(22360): 	at android.os.storage.IStorageManager$Stub.onTransact(IStorageManager.java:648)
02-23 20:51:45.510 W/ContextImpl(22360): 	at android.os.Binder.execTransactInternal(Binder.java:1473)
02-23 20:51:45.510 W/ContextImpl(22360): 	at android.os.Binder.execTransact(Binder.java:1418)

Screenshots or videos

No response

Solution

No response

Additional context

Symfonium.txt
BCR.txt

Acknowledgements

  • I've checked device is officially supported and that no support is provided for unofficial devices (for device specific reports and not source related).
  • I'm running latest version available on crdroid.net for this device and that the device is still maintainer supported (not flagged unsupported on download page)
  • I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • I have written a short but informative title.
  • I filled out all of the requested information in this issue properly and understand that not doing so will automatically result in closing of ticket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions