[UNOFFICIAL] LineageOS 18.1 For A310, A510, and A710

Search This thread

impasta

Senior Member
Jan 22, 2017
54
15
Hi,

I guess I have found another problem. It looks like LOS 18.1 does not like adopted storage. LOS 17.1 looks good, though.

It does work, like installing apps to the adopted storage and writing some files there.
But, when system_server crashes or more specifically vold resets, the system will fail to remount the adopted storage and it will show in the Settings app as corrupted. A simple fix here is to reboot the phone. You could also reinsert the micro sd card but it is a hit-or-miss.


To reproduce:
  1. Format SD card as internal storage (or create an adopted storage); This is also reproducible on semi-adopted storage.
  2. Do anything that will make vold reset like:
    1. Issue `stop` then `start` as root
    2. Issue `setprop ctl.restart zygote` as root
    3. Do a warm/soft reboot
    4. Run `killall -7 com.android.providers.media.module` as root
When vold resets it will try to unmount everything (including the emulated storage) but will fail on the adopted storage, you can see logs like this:
Code:
 D StorageManagerService: Thinking about reset, mBootCompleted=true, mDaemonConnected=true
 I StorageSessionController: Started resetting external storage service...
 I StorageSessionController: Finished resetting external storage service
 I StorageManagerService: Resetting vold...
 I vold    : Killing all processes referencing /storage/emulated/0
 D vold    : fscrypt_prepare_user_storage for volume null, user 0, serial 0, flags 2
 D vold    : Preparing: /data/system_ce/0
 D vold    : Preparing: /data/misc_ce/0
 D vold    : Preparing: /data/vendor_ce/0
 D vold    : Preparing: /data/media/0
 D vold    : Preparing: /data/data
 D vold    : Starting restorecon of /data/system_ce/0
 D vold    : Finished restorecon of /data/system_ce/0
 D vold    : Starting restorecon of /data/vendor_ce/0
 D vold    : Finished restorecon of /data/vendor_ce/0
 D vold    : Starting restorecon of /data/misc_ce/0
 D vold    : Finished restorecon of /data/misc_ce/0
 D vold    : /system/bin/vold_prepare_subdirs
 D vold    :     prepare
 D vold    :     
 D vold    :     0
 D vold    :     2
 I vold    : Unmounting /mnt/installer/0/emulated/0/Android/obb
 I vold    : Unmounting /mnt/user/0/emulated/0/Android/data
 I vold    : Unmounted /mnt/user/0/emulated/0/Android/data
 I vold    : Unmounting /mnt/user/0/emulated/0/Android/obb
 I vold    : Unmounted /mnt/user/0/emulated/0/Android/obb
 I vold    : Unmounting pass_through_path /mnt/pass_through/0/emulated
 I vold    : Unmounting fuse path /mnt/user/0/emulated
 I vold    : Killing all processes referencing /storage/emulated/10
 I vold    : Unmounting /mnt/installer/10/emulated/10/Android/obb
 I vold    : Unmounting /mnt/user/10/emulated/10/Android/data
 I vold    : Unmounted /mnt/user/10/emulated/10/Android/data
 I vold    : Unmounting /mnt/user/10/emulated/10/Android/obb
 I vold    : Unmounted /mnt/user/10/emulated/10/Android/obb
 I vold    : Unmounting pass_through_path /mnt/pass_through/10/emulated
 I vold    : Unmounting fuse path /mnt/user/10/emulated
 I vold    : Unmounting pass_through_path /mnt/pass_through/0/9349-EAB9
 I vold    : Unmounting fuse path /mnt/user/0/9349-EAB9
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 D vold    : /system/bin/sgdisk
 D vold    :     --android-dump
 D vold    :     /dev/block/vold/disk:179,32
 D vold    : DISK gpt 3E3C725E-62A4-4A18-86E2-5BF10A2BB7D7
 D vold    : PART 1 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 F10B5C3D-1BFF-46CE-9BB3-F8B6457D05AB shared
 D vold    : PART 2 19A710A2-B3CA-11E4-B026-10604B889DCF D572AD45-59B6-4E92-A564-ABDB14561DD5 android_meta
 D vold    : PART 3 193D1EA4-B3CA-11E4-B075-10604B889DCF 0C1100AE-7DA4-4018-ACE6-8E3453241331 android_expand
 D vold    : Found key for GUID 0c1100ae7da44018ace68e3453241331
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 I vold    : onUserStarted: 0
 I StorageManagerService: Reset vold
 I vold    : onUserAdded: 0
 I vold    : onUserAdded: 10
 I vold    : onUserAdded: 11
 I StorageManagerService: Mounting volume VolumeInfo{public:179,33}:
 I StorageManagerService:     type=PUBLIC diskId=disk:179,32 partGuid= mountFlags=VISIBLE mountUserId=0
 I StorageManagerService:     state=UNMOUNTED
 I StorageManagerService:     fsType=null fsUuid=null fsLabel=null
 I StorageManagerService:     path=null internalPath=null

Adopted storage will be unavailable after that stage but soon after, zygote will throw an error about failing to mount tmpfs on /mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e/. This will spam the logcat and cause some ANR to pop up in Android.
Code:
 E StorageManagerService: Failed to notify volume state changed to the Storage Service
 E StorageManagerService: com.android.server.storage.StorageSessionController$ExternalStorageServiceException: Failed to notify volume state changed for vol : StorageVolume: shared (9349-EAB9)
 E StorageManagerService:         at com.android.server.storage.StorageUserConnection$ActiveConnection.notifyVolumeStateChanged(StorageUserConnection.java:307)
 E StorageManagerService:         at com.android.server.storage.StorageUserConnection.notifyVolumeStateChanged(StorageUserConnection.java:124)
 E StorageManagerService:         at com.android.server.storage.StorageSessionController.notifyVolumeStateChanged(StorageSessionController.java:130)
 E StorageManagerService:         at com.android.server.StorageManagerService.onVolumeStateChangedAsync(StorageManagerService.java:1657)
 E StorageManagerService:         at com.android.server.StorageManagerService.access$2400(StorageManagerService.java:212)
 E StorageManagerService:         at com.android.server.StorageManagerService$StorageManagerServiceHandler.handleMessage(StorageManagerService.java:840)
 E StorageManagerService:         at android.os.Handler.dispatchMessage(Handler.java:106)
 E StorageManagerService:         at android.os.Looper.loop(Looper.java:223)
 E StorageManagerService:         at android.os.HandlerThread.run(HandlerThread.java:67)
 E StorageManagerService: Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.CancellationException
 E StorageManagerService:         at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:361)
 E StorageManagerService:         at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1943)
 E StorageManagerService:         at com.android.server.storage.StorageUserConnection$ActiveConnection.waitForAsync(StorageUserConnection.java:266)
 E StorageManagerService:         at com.android.server.storage.StorageUserConnection$ActiveConnection.notifyVolumeStateChanged(StorageUserConnection.java:304)
 E StorageManagerService:         ... 8 more
 E StorageManagerService: Caused by: java.util.concurrent.CancellationException
 E StorageManagerService:         at java.util.concurrent.CompletableFuture.cancel(CompletableFuture.java:2292)
 E StorageManagerService:         at com.android.server.storage.StorageUserConnection$ActiveConnection.close(StorageUserConnection.java:228)
 E StorageManagerService:         at com.android.server.storage.StorageUserConnection$ActiveConnection$1.handleDisconnection(StorageUserConnection.java:375)
 E StorageManagerService:         at com.android.server.storage.StorageUserConnection$ActiveConnection$1.onBindingDied(StorageUserConnection.java:355)
 E StorageManagerService:         at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1974)
 E StorageManagerService:         at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2010)
 E StorageManagerService:         at android.os.Handler.handleCallback(Handler.java:938)
 E StorageManagerService:         at android.os.Handler.dispatchMessage(Handler.java:99)
 E StorageManagerService:         ... 2 more
 E StorageUserConnection: Service: [ComponentInfo{com.android.providers.media.module/com.android.providers.media.fuse.ExternalStorageServiceImpl}] is null. User [0]
 D StorageNotification: Notifying about public volume: VolumeInfo{public:179,33}:
 D StorageNotification:     type=PUBLIC diskId=disk:179,32 partGuid= mountFlags=VISIBLE mountUserId=0
 D StorageNotification:     state=UNMOUNTABLE
 D StorageNotification:     fsType=exfat fsUuid=9349-EAB9 fsLabel=shared
 D StorageNotification:     path=/storage/9349-EAB9 internalPath=/mnt/media_rw/9349-EAB9
 I DropBoxManagerService: add tag=system_server_wtf isTagEnabled=true flags=0x2
 I StorageSessionController: Notifying volume state changed for session with id: emulated;0
 I StorageUserConnection: Binding to the ExternalStorageService for user 0
 W DropBoxManagerService: Dropping: system_server_wtf (879 > 0 bytes)
 I StorageUserConnection: Bound to the ExternalStorageService for user 0
 D StorageNotification: Notifying about private volume: VolumeInfo{private:179,35}:
 D StorageNotification:     type=PRIVATE diskId=disk:179,32
 D StorageNotification:     partGuid=0C1100AE-7DA4-4018-ACE6-8E3453241331 mountFlags=0 mountUserId=-1
 D StorageNotification:     state=UNMOUNTABLE
 D StorageNotification:     fsType= fsUuid= fsLabel=
 D StorageNotification:     path=null internalPath=null
 D StorageNotification: Notifying about private volume: VolumeInfo{private:179,35}:
 D StorageNotification:     type=PRIVATE diskId=disk:179,32
 D StorageNotification:     partGuid=0C1100AE-7DA4-4018-ACE6-8E3453241331 mountFlags=0 mountUserId=-1
 D StorageNotification:     state=UNMOUNTABLE
 D StorageNotification:     fsType= fsUuid= fsLabel=
 D StorageNotification:     path=null internalPath=null
 F zygote  : jni_internal.cc:729] JNI FatalError called: (com.android.providers.media.module) frameworks/base/core/jni/com_android_internal_os_Zygote.cpp:795: Failed to mount tmpfs to /mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e/user: No such file or directory
 F zygote  : runtime.cc:655] Runtime aborting...
 F zygote  : runtime.cc:655] Dumping all threads without mutator lock held
 F zygote  : runtime.cc:655] All threads:
 F zygote  : runtime.cc:655] DALVIK THREADS (1):
 F zygote  : runtime.cc:655] "main" prio=5 tid=1 Runnable
 F zygote  : runtime.cc:655]   | group="" sCount=0 dsCount=0 flags=0 obj=0x72af2c28 self=0xdf6c1c10
 F zygote  : runtime.cc:655]   | sysTid=6498 nice=0 cgrp=default sched=0/0 handle=0xe77eb470
 F zygote  : runtime.cc:655]   | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
 F zygote  : runtime.cc:655]   | stack=0xff5b1000-0xff5b3000 stackSize=8192KB
 F zygote  : runtime.cc:655]   | held mutexes= "abort lock" "mutator lock"(shared held)
 F zygote  : runtime.cc:655]   native: (backtrace::Unwind failed for thread 6498: Thread doesn't exist)
 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.nativeForkAndSpecialize(Native method)
 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.forkAndSpecialize(Zygote.java:344)
 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteConnection.processOneCommand(ZygoteConnection.java:257)
 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteServer.runSelectLoop(ZygoteServer.java:550)
 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:934)
 F zygote  : runtime.cc:655]
 F zygote  : runtime.cc:655] Aborting thread:
 F zygote  : runtime.cc:655] "main" prio=5 tid=1 Native
 F zygote  : runtime.cc:655]   | group="" sCount=0 dsCount=0 flags=0 obj=0x72af2c28 self=0xdf6c1c10
 F zygote  : runtime.cc:655]   | sysTid=6498 nice=0 cgrp=default sched=0/0 handle=0xe77eb470
 F zygote  : runtime.cc:655]   | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
 F zygote  : runtime.cc:655]   | stack=0xff5b1000-0xff5b3000 stackSize=8192KB
 F zygote  : runtime.cc:655]   | held mutexes= "abort lock"
 F zygote  : runtime.cc:655]   native: (backtrace::Unwind failed for thread 6498: Thread doesn't exist)
 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.nativeForkAndSpecialize(Native method)
 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.forkAndSpecialize(Zygote.java:344)
 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteConnection.processOneCommand(ZygoteConnection.java:257)
 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteServer.runSelectLoop(ZygoteServer.java:550)
 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:934)
 F zygote  : runtime.cc:655]
 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 12286 (main), pid 12286 (main)
 E libc    : capset failed: Operation not permitted
 E libc    : failed to raise ambient capability 0: Operation not permitted
 E libc    : failed to raise ambient capability 1: Operation not permitted
 E libc    : failed to raise ambient capability 2: Operation not permitted
 E libc    : failed to raise ambient capability 3: Operation not permitted
 E libc    : failed to raise ambient capability 4: Operation not permitted
 E libc    : failed to raise ambient capability 5: Operation not permitted
 E libc    : failed to raise ambient capability 6: Operation not permitted
 E libc    : failed to raise ambient capability 7: Operation not permitted
 E libc    : failed to raise ambient capability 8: Operation not permitted
 E libc    : failed to raise ambient capability 9: Operation not permitted
 E libc    : failed to raise ambient capability 10: Operation not permitted
 E libc    : failed to raise ambient capability 11: Operation not permitted
 E libc    : failed to raise ambient capability 12: Operation not permitted
 E libc    : failed to raise ambient capability 13: Operation not permitted
 E libc    : failed to raise ambient capability 14: Operation not permitted
 E libc    : failed to raise ambient capability 15: Operation not permitted
 E libc    : failed to raise ambient capability 16: Operation not permitted
 E libc    : failed to raise ambient capability 17: Operation not permitted
 E libc    : failed to raise ambient capability 18: Operation not permitted
 E libc    : failed to raise ambient capability 19: Operation not permitted
 E libc    : failed to raise ambient capability 20: Operation not permitted
 E libc    : failed to raise ambient capability 21: Operation not permitted
 E libc    : failed to raise ambient capability 22: Operation not permitted
 E libc    : failed to raise ambient capability 23: Operation not permitted
 E libc    : failed to raise ambient capability 24: Operation not permitted
 E libc    : failed to raise ambient capability 25: Operation not permitted
 E libc    : failed to raise ambient capability 26: Operation not permitted
 E libc    : failed to raise ambient capability 27: Operation not permitted
 E libc    : failed to raise ambient capability 28: Operation not permitted
 E libc    : failed to raise ambient capability 29: Operation not permitted
 E libc    : failed to raise ambient capability 30: Operation not permitted
 E libc    : failed to raise ambient capability 31: Operation not permitted
 E libc    : failed to raise ambient capability 32: Operation not permitted
 E libc    : failed to raise ambient capability 33: Operation not permitted
 E libc    : failed to raise ambient capability 34: Operation not permitted
 E libc    : failed to raise ambient capability 35: Operation not permitted
 E libc    : failed to raise ambient capability 36: Operation not permitted
 E DEBUG   : failed to readlink /proc/12286/fd/0: Permission denied
 W main    : type=1701 audit(0.0:32108): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=u:r:zygote:s0 reason="memory violation" sig=6
 E DEBUG   : failed to readlink /proc/12286/fd/1: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/2: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/3: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/4: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/5: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/6: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/7: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/8: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/9: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/10: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/11: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/12: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/13: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/14: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/15: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/16: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/17: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/18: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/19: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/20: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/21: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/22: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/23: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/24: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/25: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/26: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/27: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/28: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/29: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/30: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/31: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/32: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/33: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/34: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/35: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/36: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/37: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/38: Permission denied
 F crash_dump32: crash_dump.cpp:474] failed to attach to thread 12286, already traced by 0 ()
 I tombstoned: received crash request for pid 12286
 W tombstoned: crash socket received short read of length 0 (expected 12)
 F libc    : crash_dump helper failed to exec
 D Zygote  : Forked child process 12286

What's worse is that if you tried to unmount that directory you get an invalid argument error. You cannot also remove that directory even if it does not contain anything. If you do remove it, you will get an "Device or resource busy" error.

Does anyone have any ideas on this?
 
  • Like
Reactions: maanteel

Hornelen

Member
May 23, 2019
35
14
Tried flashing latest mindthegapps arm version after flashing latest 18.1 ROM on a3xelte. Was unable to do it with TWRP.
TWRP response: "unable to mount /mtn/system . Aborting"

I tried mounting system before flash,as well as uncheck "unmount system before flashing zip" from TWRP settings. No change.

The zip i am trying to flash is in a USB stick.
Any ideas?
 
  • Like
Reactions: maanteel

se.developers

Senior Member
Jun 11, 2014
100
26
Tried flashing latest mindthegapps arm version after flashing latest 18.1 ROM on a3xelte. Was unable to do it with TWRP.
TWRP response: "unable to mount /mtn/system . Aborting"

I tried mounting system before flash,as well as uncheck "unmount system before flashing zip" from TWRP settings. No change.

The zip i am trying to flash is in a USB stick.
Any ideas?
use linegae recovery, it looks like twrp doesn't support the mindgapps mount script
 

danwood76

Recognized Developer
May 23, 2015
1,372
2,217
Hi,

I guess I have found another problem. It looks like LOS 18.1 does not like adopted storage. LOS 17.1 looks good, though.

It does work, like installing apps to the adopted storage and writing some files there.
But, when system_server crashes or more specifically vold resets, the system will fail to remount the adopted storage and it will show in the Settings app as corrupted. A simple fix here is to reboot the phone. You could also reinsert the micro sd card but it is a hit-or-miss.


To reproduce:
  1. Format SD card as internal storage (or create an adopted storage); This is also reproducible on semi-adopted storage.
  2. Do anything that will make vold reset like:
    1. Issue `stop` then `start` as root
    2. Issue `setprop ctl.restart zygote` as root
    3. Do a warm/soft reboot
    4. Run `killall -7 com.android.providers.media.module` as root
When vold resets it will try to unmount everything (including the emulated storage) but will fail on the adopted storage, you can see logs like this:
Code:
 D StorageManagerService: Thinking about reset, mBootCompleted=true, mDaemonConnected=true
 I StorageSessionController: Started resetting external storage service...
 I StorageSessionController: Finished resetting external storage service
 I StorageManagerService: Resetting vold...
 I vold    : Killing all processes referencing /storage/emulated/0
 D vold    : fscrypt_prepare_user_storage for volume null, user 0, serial 0, flags 2
 D vold    : Preparing: /data/system_ce/0
 D vold    : Preparing: /data/misc_ce/0
 D vold    : Preparing: /data/vendor_ce/0
 D vold    : Preparing: /data/media/0
 D vold    : Preparing: /data/data
 D vold    : Starting restorecon of /data/system_ce/0
 D vold    : Finished restorecon of /data/system_ce/0
 D vold    : Starting restorecon of /data/vendor_ce/0
 D vold    : Finished restorecon of /data/vendor_ce/0
 D vold    : Starting restorecon of /data/misc_ce/0
 D vold    : Finished restorecon of /data/misc_ce/0
 D vold    : /system/bin/vold_prepare_subdirs
 D vold    :     prepare
 D vold    :   
 D vold    :     0
 D vold    :     2
 I vold    : Unmounting /mnt/installer/0/emulated/0/Android/obb
 I vold    : Unmounting /mnt/user/0/emulated/0/Android/data
 I vold    : Unmounted /mnt/user/0/emulated/0/Android/data
 I vold    : Unmounting /mnt/user/0/emulated/0/Android/obb
 I vold    : Unmounted /mnt/user/0/emulated/0/Android/obb
 I vold    : Unmounting pass_through_path /mnt/pass_through/0/emulated
 I vold    : Unmounting fuse path /mnt/user/0/emulated
 I vold    : Killing all processes referencing /storage/emulated/10
 I vold    : Unmounting /mnt/installer/10/emulated/10/Android/obb
 I vold    : Unmounting /mnt/user/10/emulated/10/Android/data
 I vold    : Unmounted /mnt/user/10/emulated/10/Android/data
 I vold    : Unmounting /mnt/user/10/emulated/10/Android/obb
 I vold    : Unmounted /mnt/user/10/emulated/10/Android/obb
 I vold    : Unmounting pass_through_path /mnt/pass_through/10/emulated
 I vold    : Unmounting fuse path /mnt/user/10/emulated
 I vold    : Unmounting pass_through_path /mnt/pass_through/0/9349-EAB9
 I vold    : Unmounting fuse path /mnt/user/0/9349-EAB9
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 D vold    : /system/bin/sgdisk
 D vold    :     --android-dump
 D vold    :     /dev/block/vold/disk:179,32
 D vold    : DISK gpt 3E3C725E-62A4-4A18-86E2-5BF10A2BB7D7
 D vold    : PART 1 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 F10B5C3D-1BFF-46CE-9BB3-F8B6457D05AB shared
 D vold    : PART 2 19A710A2-B3CA-11E4-B026-10604B889DCF D572AD45-59B6-4E92-A564-ABDB14561DD5 android_meta
 D vold    : PART 3 193D1EA4-B3CA-11E4-B075-10604B889DCF 0C1100AE-7DA4-4018-ACE6-8E3453241331 android_expand
 D vold    : Found key for GUID 0c1100ae7da44018ace68e3453241331
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 E vold    : DM_DEV_REMOVE failed for [private:179,35]: Device or resource busy
 E vold    : Cannot remove dm device private:179,35: Device or resource busy
 I vold    : onUserStarted: 0
 I StorageManagerService: Reset vold
 I vold    : onUserAdded: 0
 I vold    : onUserAdded: 10
 I vold    : onUserAdded: 11
 I StorageManagerService: Mounting volume VolumeInfo{public:179,33}:
 I StorageManagerService:     type=PUBLIC diskId=disk:179,32 partGuid= mountFlags=VISIBLE mountUserId=0
 I StorageManagerService:     state=UNMOUNTED
 I StorageManagerService:     fsType=null fsUuid=null fsLabel=null
 I StorageManagerService:     path=null internalPath=null

Adopted storage will be unavailable after that stage but soon after, zygote will throw an error about failing to mount tmpfs on /mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e/. This will spam the logcat and cause some ANR to pop up in Android.
Code:
 E StorageManagerService: Failed to notify volume state changed to the Storage Service
 E StorageManagerService: com.android.server.storage.StorageSessionController$ExternalStorageServiceException: Failed to notify volume state changed for vol : StorageVolume: shared (9349-EAB9)
 E StorageManagerService:         at com.android.server.storage.StorageUserConnection$ActiveConnection.notifyVolumeStateChanged(StorageUserConnection.java:307)
 E StorageManagerService:         at com.android.server.storage.StorageUserConnection.notifyVolumeStateChanged(StorageUserConnection.java:124)
 E StorageManagerService:         at com.android.server.storage.StorageSessionController.notifyVolumeStateChanged(StorageSessionController.java:130)
 E StorageManagerService:         at com.android.server.StorageManagerService.onVolumeStateChangedAsync(StorageManagerService.java:1657)
 E StorageManagerService:         at com.android.server.StorageManagerService.access$2400(StorageManagerService.java:212)
 E StorageManagerService:         at com.android.server.StorageManagerService$StorageManagerServiceHandler.handleMessage(StorageManagerService.java:840)
 E StorageManagerService:         at android.os.Handler.dispatchMessage(Handler.java:106)
 E StorageManagerService:         at android.os.Looper.loop(Looper.java:223)
 E StorageManagerService:         at android.os.HandlerThread.run(HandlerThread.java:67)
 E StorageManagerService: Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.CancellationException
 E StorageManagerService:         at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:361)
 E StorageManagerService:         at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1943)
 E StorageManagerService:         at com.android.server.storage.StorageUserConnection$ActiveConnection.waitForAsync(StorageUserConnection.java:266)
 E StorageManagerService:         at com.android.server.storage.StorageUserConnection$ActiveConnection.notifyVolumeStateChanged(StorageUserConnection.java:304)
 E StorageManagerService:         ... 8 more
 E StorageManagerService: Caused by: java.util.concurrent.CancellationException
 E StorageManagerService:         at java.util.concurrent.CompletableFuture.cancel(CompletableFuture.java:2292)
 E StorageManagerService:         at com.android.server.storage.StorageUserConnection$ActiveConnection.close(StorageUserConnection.java:228)
 E StorageManagerService:         at com.android.server.storage.StorageUserConnection$ActiveConnection$1.handleDisconnection(StorageUserConnection.java:375)
 E StorageManagerService:         at com.android.server.storage.StorageUserConnection$ActiveConnection$1.onBindingDied(StorageUserConnection.java:355)
 E StorageManagerService:         at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1974)
 E StorageManagerService:         at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2010)
 E StorageManagerService:         at android.os.Handler.handleCallback(Handler.java:938)
 E StorageManagerService:         at android.os.Handler.dispatchMessage(Handler.java:99)
 E StorageManagerService:         ... 2 more
 E StorageUserConnection: Service: [ComponentInfo{com.android.providers.media.module/com.android.providers.media.fuse.ExternalStorageServiceImpl}] is null. User [0]
 D StorageNotification: Notifying about public volume: VolumeInfo{public:179,33}:
 D StorageNotification:     type=PUBLIC diskId=disk:179,32 partGuid= mountFlags=VISIBLE mountUserId=0
 D StorageNotification:     state=UNMOUNTABLE
 D StorageNotification:     fsType=exfat fsUuid=9349-EAB9 fsLabel=shared
 D StorageNotification:     path=/storage/9349-EAB9 internalPath=/mnt/media_rw/9349-EAB9
 I DropBoxManagerService: add tag=system_server_wtf isTagEnabled=true flags=0x2
 I StorageSessionController: Notifying volume state changed for session with id: emulated;0
 I StorageUserConnection: Binding to the ExternalStorageService for user 0
 W DropBoxManagerService: Dropping: system_server_wtf (879 > 0 bytes)
 I StorageUserConnection: Bound to the ExternalStorageService for user 0
 D StorageNotification: Notifying about private volume: VolumeInfo{private:179,35}:
 D StorageNotification:     type=PRIVATE diskId=disk:179,32
 D StorageNotification:     partGuid=0C1100AE-7DA4-4018-ACE6-8E3453241331 mountFlags=0 mountUserId=-1
 D StorageNotification:     state=UNMOUNTABLE
 D StorageNotification:     fsType= fsUuid= fsLabel=
 D StorageNotification:     path=null internalPath=null
 D StorageNotification: Notifying about private volume: VolumeInfo{private:179,35}:
 D StorageNotification:     type=PRIVATE diskId=disk:179,32
 D StorageNotification:     partGuid=0C1100AE-7DA4-4018-ACE6-8E3453241331 mountFlags=0 mountUserId=-1
 D StorageNotification:     state=UNMOUNTABLE
 D StorageNotification:     fsType= fsUuid= fsLabel=
 D StorageNotification:     path=null internalPath=null
 F zygote  : jni_internal.cc:729] JNI FatalError called: (com.android.providers.media.module) frameworks/base/core/jni/com_android_internal_os_Zygote.cpp:795: Failed to mount tmpfs to /mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e/user: No such file or directory
 F zygote  : runtime.cc:655] Runtime aborting...
 F zygote  : runtime.cc:655] Dumping all threads without mutator lock held
 F zygote  : runtime.cc:655] All threads:
 F zygote  : runtime.cc:655] DALVIK THREADS (1):
 F zygote  : runtime.cc:655] "main" prio=5 tid=1 Runnable
 F zygote  : runtime.cc:655]   | group="" sCount=0 dsCount=0 flags=0 obj=0x72af2c28 self=0xdf6c1c10
 F zygote  : runtime.cc:655]   | sysTid=6498 nice=0 cgrp=default sched=0/0 handle=0xe77eb470
 F zygote  : runtime.cc:655]   | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
 F zygote  : runtime.cc:655]   | stack=0xff5b1000-0xff5b3000 stackSize=8192KB
 F zygote  : runtime.cc:655]   | held mutexes= "abort lock" "mutator lock"(shared held)
 F zygote  : runtime.cc:655]   native: (backtrace::Unwind failed for thread 6498: Thread doesn't exist)
 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.nativeForkAndSpecialize(Native method)
 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.forkAndSpecialize(Zygote.java:344)
 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteConnection.processOneCommand(ZygoteConnection.java:257)
 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteServer.runSelectLoop(ZygoteServer.java:550)
 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:934)
 F zygote  : runtime.cc:655]
 F zygote  : runtime.cc:655] Aborting thread:
 F zygote  : runtime.cc:655] "main" prio=5 tid=1 Native
 F zygote  : runtime.cc:655]   | group="" sCount=0 dsCount=0 flags=0 obj=0x72af2c28 self=0xdf6c1c10
 F zygote  : runtime.cc:655]   | sysTid=6498 nice=0 cgrp=default sched=0/0 handle=0xe77eb470
 F zygote  : runtime.cc:655]   | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
 F zygote  : runtime.cc:655]   | stack=0xff5b1000-0xff5b3000 stackSize=8192KB
 F zygote  : runtime.cc:655]   | held mutexes= "abort lock"
 F zygote  : runtime.cc:655]   native: (backtrace::Unwind failed for thread 6498: Thread doesn't exist)
 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.nativeForkAndSpecialize(Native method)
 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.forkAndSpecialize(Zygote.java:344)
 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteConnection.processOneCommand(ZygoteConnection.java:257)
 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteServer.runSelectLoop(ZygoteServer.java:550)
 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:934)
 F zygote  : runtime.cc:655]
 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 12286 (main), pid 12286 (main)
 E libc    : capset failed: Operation not permitted
 E libc    : failed to raise ambient capability 0: Operation not permitted
 E libc    : failed to raise ambient capability 1: Operation not permitted
 E libc    : failed to raise ambient capability 2: Operation not permitted
 E libc    : failed to raise ambient capability 3: Operation not permitted
 E libc    : failed to raise ambient capability 4: Operation not permitted
 E libc    : failed to raise ambient capability 5: Operation not permitted
 E libc    : failed to raise ambient capability 6: Operation not permitted
 E libc    : failed to raise ambient capability 7: Operation not permitted
 E libc    : failed to raise ambient capability 8: Operation not permitted
 E libc    : failed to raise ambient capability 9: Operation not permitted
 E libc    : failed to raise ambient capability 10: Operation not permitted
 E libc    : failed to raise ambient capability 11: Operation not permitted
 E libc    : failed to raise ambient capability 12: Operation not permitted
 E libc    : failed to raise ambient capability 13: Operation not permitted
 E libc    : failed to raise ambient capability 14: Operation not permitted
 E libc    : failed to raise ambient capability 15: Operation not permitted
 E libc    : failed to raise ambient capability 16: Operation not permitted
 E libc    : failed to raise ambient capability 17: Operation not permitted
 E libc    : failed to raise ambient capability 18: Operation not permitted
 E libc    : failed to raise ambient capability 19: Operation not permitted
 E libc    : failed to raise ambient capability 20: Operation not permitted
 E libc    : failed to raise ambient capability 21: Operation not permitted
 E libc    : failed to raise ambient capability 22: Operation not permitted
 E libc    : failed to raise ambient capability 23: Operation not permitted
 E libc    : failed to raise ambient capability 24: Operation not permitted
 E libc    : failed to raise ambient capability 25: Operation not permitted
 E libc    : failed to raise ambient capability 26: Operation not permitted
 E libc    : failed to raise ambient capability 27: Operation not permitted
 E libc    : failed to raise ambient capability 28: Operation not permitted
 E libc    : failed to raise ambient capability 29: Operation not permitted
 E libc    : failed to raise ambient capability 30: Operation not permitted
 E libc    : failed to raise ambient capability 31: Operation not permitted
 E libc    : failed to raise ambient capability 32: Operation not permitted
 E libc    : failed to raise ambient capability 33: Operation not permitted
 E libc    : failed to raise ambient capability 34: Operation not permitted
 E libc    : failed to raise ambient capability 35: Operation not permitted
 E libc    : failed to raise ambient capability 36: Operation not permitted
 E DEBUG   : failed to readlink /proc/12286/fd/0: Permission denied
 W main    : type=1701 audit(0.0:32108): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=u:r:zygote:s0 reason="memory violation" sig=6
 E DEBUG   : failed to readlink /proc/12286/fd/1: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/2: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/3: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/4: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/5: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/6: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/7: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/8: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/9: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/10: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/11: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/12: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/13: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/14: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/15: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/16: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/17: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/18: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/19: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/20: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/21: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/22: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/23: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/24: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/25: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/26: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/27: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/28: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/29: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/30: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/31: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/32: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/33: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/34: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/35: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/36: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/37: Permission denied
 E DEBUG   : failed to readlink /proc/12286/fd/38: Permission denied
 F crash_dump32: crash_dump.cpp:474] failed to attach to thread 12286, already traced by 0 ()
 I tombstoned: received crash request for pid 12286
 W tombstoned: crash socket received short read of length 0 (expected 12)
 F libc    : crash_dump helper failed to exec
 D Zygote  : Forked child process 12286

What's worse is that if you tried to unmount that directory you get an invalid argument error. You cannot also remove that directory even if it does not contain anything. If you do remove it, you will get an "Device or resource busy" error.

Does anyone have any ideas on this?
Don't intentionally crash vold would be a good place to start. What is crashing the system_server for you?

Maybe your SD card has issues? Adopted storage performs badly on these devices as the SD performance is poor.

I can have a play but I know that a few of my testers use adopted storage without any issues.

Kind regards,
Danny
 
  • Like
Reactions: maanteel

impasta

Senior Member
Jan 22, 2017
54
15
Don't intentionally crash vold would be a good place to start. What is crashing the system_server for you?
Restarting Zygote would also be an alternative.
About system_server, it crashes at very random times, more often when I am using the phone.
The most frequent kind of crash I got is 'GL errors! frameworks/base/libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp:127'
Maybe your SD card has issues? Adopted storage performs badly on these devices as the SD performance is poor.
I was using adopted storage since LOS 17.1 and when I upgraded to LOS 18.1, it still works just fine and dandy ... until system_server crashes or vold resets.

Thanks,
 
  • Like
Reactions: maanteel

impasta

Senior Member
Jan 22, 2017
54
15
Restarting Zygote would also be an alternative.
About system_server, it crashes at very random times, more often when I am using the phone.
The most frequent kind of crash I got is 'GL errors! frameworks/base/libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp:127'

I was using adopted storage since LOS 17.1 and when I upgraded to LOS 18.1, it still works just fine and dandy ... until system_server crashes or vold resets.

Thanks,
Actually, scratch crashing the system_server or vold.

You can more easily replicate this issue by Ejecting the adopted storage in the Settings app and mounting it back in (without removing the sd card).
 
  • Like
Reactions: maanteel

danwood76

Recognized Developer
May 23, 2015
1,372
2,217
Restarting Zygote would also be an alternative.
About system_server, it crashes at very random times, more often when I am using the phone.
The most frequent kind of crash I got is 'GL errors! frameworks/base/libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp:127'

I was using adopted storage since LOS 17.1 and when I upgraded to LOS 18.1, it still works just fine and dandy ... until system_server crashes or vold resets.

Thanks,
Could you send me a bug report or log of the system_server crash?

Kind regards,
Danny
 
  • Like
Reactions: maanteel

danwood76

Recognized Developer
May 23, 2015
1,372
2,217
Hi,

Update time!

Changes 20-01-2022 (all devices):
  • Synced to latest source (incl January security patch)
  • Enable WiFi display
  • Switch to GNSS HIDL service (improves GPS stability, thanks @retiredtab @impasta)
  • Fixed power profile switching (restores correct CPU speed when going back to balanced mode)
Changes 20-01-2022 (A510F/A710F):
  • Enable fastcharge hal (allows disabling fastcharge)
Kind regards,
Danny
 

impasta

Senior Member
Jan 22, 2017
54
15
Could you send me a bug report or log of the system_server crash?

Kind regards,
Danny

I'm going through with the ejecting then remounting the adopted storage via Settings, since I cannot reliably reproduce the system_server crashes (without issuing a "kill -7" command). I also attached the bugreport zip.


Below are the logs I got while I was reproducing the issue, which may also help:

After pressing "Eject" in the Settings app:
Code:
01-27 13:30:31.444 14643 14643 D SettingsActivity: Starting onCreate
01-27 13:30:31.461 14643 14643 D SettingsActivity: Starting to set activity title
01-27 13:30:31.461 14643 14643 D SettingsActivity: Done setting title
01-27 13:30:31.461 14643 14643 D SettingsActivity: Switching to fragment com.android.settings.deviceinfo.PrivateVolumeUnmount
01-27 13:30:31.461 14643 14643 D SubSettings: Launching fragment com.android.settings.deviceinfo.PrivateVolumeUnmount
01-27 13:30:31.464 14643 14643 D SettingsActivity: Executed frag manager pendingTransactions
01-27 13:30:31.540 14643 15036 D SettingsActivity: No enabled state changed, skipping updateCategory call
01-27 13:30:31.568 14643 14694 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [1080x1920]-format:1
01-27 13:30:31.620  2701  2727 I ActivityTaskManager: Displayed com.android.settings/.SubSettings: +247ms
01-27 13:30:31.663 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3316
01-27 13:30:31.667 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2181 checkRepeatedly = false, unlocked = true
01-27 13:30:31.668 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1989
01-27 13:30:31.670 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2181 checkRepeatedly = true, unlocked = true
01-27 13:30:31.730  2492  2538 E BufferQueueProducer: [PopupWindow:8ec97df#0](id:9bc00000014,api:0,p:-1,c:2492) disconnect: not connected (req=1)
01-27 13:30:31.730 14643 14694 W libEGL  : EGLNativeWindowType 0xe27dc578 disconnect failed
01-27 13:30:31.731 14643 14694 D OpenGLRenderer: endAllActiveAnimators on 0xb1e56350 (MenuPopupWindow$MenuDropDownListView) with handle 0xb16115f0
01-27 13:30:32.055  2492  2790 E BufferQueueProducer: [com.android.settings/com.android.settings.SubSettings#1](id:9bc00000013,api:0,p:-1,c:2492) disconnect: not connected (req=1)
01-27 13:30:32.056 14643 14694 W libEGL  : EGLNativeWindowType 0xe27c0018 disconnect failed
01-27 13:30:34.709  2492  2592 W HWComposer: Ignoring duplicate VSYNC event from HWC for display 0 (t=506187636329)
01-27 13:30:35.443  2877  2877 D StorageNotification: Notifying about private volume: VolumeInfo{private:179,35}:
01-27 13:30:35.443  2877  2877 D StorageNotification:     type=PRIVATE diskId=disk:179,32
01-27 13:30:35.443  2877  2877 D StorageNotification:     partGuid=0C1100AE-7DA4-4018-ACE6-8E3453241331 mountFlags=0 mountUserId=-1
01-27 13:30:35.443  2877  2877 D StorageNotification:     state=EJECTING
01-27 13:30:35.443  2877  2877 D StorageNotification:     fsType=f2fs fsUuid=3d01dbcb-42d9-4446-8b3e-880d74e9f10e fsLabel=
01-27 13:30:35.443  2877  2877 D StorageNotification:     path=/mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e internalPath=null
01-27 13:30:35.454 14643 14643 D CompatibilityChangeReporter: Compat change id reported: 147798919; UID 1000; state: ENABLED
01-27 13:30:35.840  2701  9225 W system_server: Long monitor contention with owner PackageManager (2748) at boolean com.android.server.pm.PackageManagerService.deletePackageLIF(java.lang.String, android.os.UserHandle, boolean, int[], int, com.android.server.pm.PackageManagerService$PackageRemovedInfo, boolean, com.android.server.pm.parsing.pkg.ParsedPackage)(PackageManagerService.java:19297) waiters=0 in java.lang.String com.android.server.pm.PackageManagerService.getInstantAppPackageName(int) for 385ms
01-27 13:30:35.842  2701  2716 W system_server: Long monitor contention with owner PackageManager (2748) at boolean com.android.server.pm.PackageManagerService.deletePackageLIF(java.lang.String, android.os.UserHandle, boolean, int[], int, com.android.server.pm.PackageManagerService$PackageRemovedInfo, boolean, com.android.server.pm.parsing.pkg.ParsedPackage)(PackageManagerService.java:19297) waiters=2 in int com.android.server.pm.permission.PermissionManagerService.checkUidPermission(java.lang.String, int) for 375ms
01-27 13:30:35.843  2701  2748 I ResourcesManager: Invalidated 1 asset managers that referenced /mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e
01-27 13:30:35.844  2877  2877 D StorageNotification: Notifying about private volume: VolumeInfo{private:179,35}:
01-27 13:30:35.844  2877  2877 D StorageNotification:     type=PRIVATE diskId=disk:179,32
01-27 13:30:35.844  2877  2877 D StorageNotification:     partGuid=0C1100AE-7DA4-4018-ACE6-8E3453241331 mountFlags=0 mountUserId=-1
01-27 13:30:35.844  2877  2877 D StorageNotification:     state=UNMOUNTED
01-27 13:30:35.844  2877  2877 D StorageNotification:     fsType=f2fs fsUuid=3d01dbcb-42d9-4446-8b3e-880d74e9f10e fsLabel=
01-27 13:30:35.844  2877  2877 D StorageNotification:     path=/mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e internalPath=null
01-27 13:30:35.866  2458  2458 D Zygote  : Forked child process 15038
01-27 13:30:35.876 15038 15038 F zygote  : jni_internal.cc:729] JNI FatalError called: (com.android.externalstorage) frameworks/base/core/jni/com_android_internal_os_Zygote.cpp:795: Failed to mount tmpfs to /mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e/user: No such file or directory
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655] Runtime aborting...
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655] Dumping all threads without mutator lock held
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655] All threads:
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655] DALVIK THREADS (1):
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655] "main" prio=5 tid=1 Runnable
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | group="" sCount=0 dsCount=0 flags=0 obj=0x72ba6c28 self=0xdf6c1c10
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | sysTid=2458 nice=0 cgrp=default sched=0/0 handle=0xe77eb470
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | stack=0xff7a8000-0xff7aa000 stackSize=8192KB
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | held mutexes= "abort lock" "mutator lock"(shared held)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   native: (backtrace::Unwind failed for thread 2458: Thread doesn't exist)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.nativeForkAndSpecialize(Native method)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.forkAndSpecialize(Zygote.java:344)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteConnection.processOneCommand(ZygoteConnection.java:257)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteServer.runSelectLoop(ZygoteServer.java:550)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:934)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655] Aborting thread:
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655] "main" prio=5 tid=1 Native
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | group="" sCount=0 dsCount=0 flags=0 obj=0x72ba6c28 self=0xdf6c1c10
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | sysTid=2458 nice=0 cgrp=default sched=0/0 handle=0xe77eb470
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | stack=0xff7a8000-0xff7aa000 stackSize=8192KB
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | held mutexes= "abort lock"
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   native: (backtrace::Unwind failed for thread 2458: Thread doesn't exist)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.nativeForkAndSpecialize(Native method)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.forkAndSpecialize(Zygote.java:344)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteConnection.processOneCommand(ZygoteConnection.java:257)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteServer.runSelectLoop(ZygoteServer.java:550)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:934)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]
01-27 13:30:35.974 15038 15038 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 15038 (main), pid 15038 (main)
01-27 13:30:35.981 14643 14694 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [1080x1920]-format:1
01-27 13:30:35.995 15045 15045 E libc    : capset failed: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 0: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 1: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 2: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 3: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 4: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 5: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 6: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 7: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 8: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 9: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 10: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 11: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 12: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 13: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 14: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 15: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 16: Operation not permitted
01-27 13:30:35.996 15045 15045 E libc    : failed to raise ambient capability 17: Operation not permitted
01-27 13:30:35.996 15045 15045 E libc    : failed to raise ambient capability 18: Operation not permitted
01-27 13:30:35.996 15045 15045 E libc    : failed to raise ambient capability 19: Operation not permitted
01-27 13:30:35.996 15045 15045 E libc    : failed to raise ambient capability 20: Operation not permitted
01-27 13:30:35.996 15045 15045 E libc    : failed to raise ambient capability 21: Operation not permitted
01-27 13:30:35.998 15045 15045 E libc    : failed to raise ambient capability 22: Operation not permitted
01-27 13:30:35.998 15045 15045 E libc    : failed to raise ambient capability 23: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 24: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 25: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 26: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 27: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 28: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 29: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 30: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 31: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 32: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 33: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 34: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 35: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 36: Operation not permitted
01-27 13:30:36.008  2877  3339 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [688x134]-format:1
01-27 13:30:36.053 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/0: Permission denied
01-27 13:30:36.053 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/1: Permission denied
01-27 13:30:36.053 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/2: Permission denied
01-27 13:30:36.053 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/3: Permission denied
01-27 13:30:36.053 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/4: Permission denied
01-27 13:30:36.053 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/5: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/6: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/7: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/8: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/9: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/10: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/11: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/12: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/13: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/14: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/15: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/16: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/17: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/18: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/19: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/20: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/21: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/22: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/23: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/24: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/25: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/26: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/27: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/28: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/29: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/30: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/31: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/32: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/33: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/34: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/35: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/36: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/37: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/38: Permission denied
01-27 13:30:36.057 15046 15046 F crash_dump32: crash_dump.cpp:474] failed to attach to thread 15038, already traced by 0 ()
01-27 13:30:36.062  2452  2452 I tombstoned: received crash request for pid 15038
01-27 13:30:36.066  2452  2452 W tombstoned: crash socket received short read of length 0 (expected 12)
01-27 13:30:36.051 15038 15038 W main    : type=1701 audit(0.0:697): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=u:r:zygote:s0 reason="memory violation" sig=6
01-27 13:30:36.068 15038 15038 F libc    : crash_dump helper failed to exec
01-27 13:30:36.087  2492  2538 E BufferQueueProducer: [Toast#0](id:9bc00000018,api:0,p:-1,c:2492) disconnect: not connected (req=1)
01-27 13:30:36.087  2877  3339 W libEGL  : EGLNativeWindowType 0xe27c9738 disconnect failed
01-27 13:30:36.089  2877  3339 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [688x134]-format:1
01-27 13:30:36.119 14643 15047 D SettingsActivity: No enabled state changed, skipping updateCategory call
01-27 13:30:36.141 14643 14694 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [1080x1920]-format:1
01-27 13:30:36.142  2458  2458 I Zygote  : Process 15038 exited due to signal 6 (Aborted)
01-27 13:30:36.242 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3316
01-27 13:30:36.248 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2181 checkRepeatedly = false, unlocked = true
01-27 13:30:36.253 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1989
01-27 13:30:36.270 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2181 checkRepeatedly = true, unlocked = true
01-27 13:30:36.279  2492  2537 E BufferQueueProducer: [com.android.settings/com.android.settings.SubSettings#1](id:9bc00000017,api:0,p:-1,c:2492) disconnect: not connected (req=1)
01-27 13:30:36.280 14643 14694 W libEGL  : EGLNativeWindowType 0xe27c0018 disconnect failed
01-27 13:30:36.310 14643 15047 D SettingsActivity: No enabled state changed, skipping updateCategory call
01-27 13:30:36.362  2877  2899 I ndroid.systemu: NativeAlloc concurrent copying GC freed 98150(3554KB) AllocSpace objects, 7(140KB) LOS objects, 49% free, 9693KB/18MB, paused 1.100ms total 517.231ms
01-27 13:30:36.608  2492  2760 E BufferQueueProducer: [com.android.settings/com.android.settings.SubSettings#0](id:9bc00000016,api:0,p:-1,c:2492) disconnect: not connected (req=1)
01-27 13:30:36.609 14643 14694 W libEGL  : EGLNativeWindowType 0xe27ddea8 disconnect failed
01-27 13:30:37.078  2701  2748 I system_server: Explicit concurrent copying GC freed 117482(4942KB) AllocSpace objects, 55(2828KB) LOS objects, 48% free, 25MB/49MB, paused 7.723ms total 1.234s
01-27 13:30:37.718  2492  2592 W HWComposer: Ignoring duplicate VSYNC event from HWC for display 0 (t=509199619366)
01-27 13:30:37.860  2701  2748 I system_server: Explicit concurrent copying GC freed 16758(850KB) AllocSpace objects, 2(40KB) LOS objects, 49% free, 24MB/48MB, paused 378us total 769.989ms
01-27 13:30:37.878  2492  2790 E BufferQueueProducer: [Toast#0](id:9bc00000018,api:0,p:-1,c:2492) disconnect: not connected (req=1)
01-27 13:30:37.879  2877  3339 W libEGL  : EGLNativeWindowType 0xe27c9738 disconnect failed
01-27 13:30:38.613  2701  2748 I system_server: Explicit concurrent copying GC freed 699(163KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 24MB/48MB, paused 431us total 749.619ms
01-27 13:30:38.745  3967  3967 I .lawnchair.pla: Explicit concurrent copying GC freed 21736(1012KB) AllocSpace objects, 0(0B) LOS objects, 58% free, 4428KB/10MB, paused 188us total 120.617ms
01-27 13:30:43.004  2492  2592 W HWComposer: Ignoring duplicate VSYNC event from HWC for display 0 (t=514485002170)
01-27 13:30:43.169  3717  6168 I CastDatabase: Saving the database
01-27 13:30:43.183  3717  6168 I SQLiteCastStore: [CastNetworkInfo] saved: 0, skipped: 0, [CastDeviceInfo]: saved 1, skipped 0, [Paired Guest Mode DeviceInfo] saved: 0, skipped: 0. [ProbedNetworks]: saved 0, skipped: 0, [ProbedSocketAddress]: saved 1, skipped: 0, [Network-Device pairs]: saved: 0


Then trying to mount it back:
Code:
01-27 13:30:45.588 14643 14694 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [1200x719]-format:1
01-27 13:30:45.901  2701  2730 W libprocessgroup: Failed to open process cgroup uid 10072 pid 15038: Permission denied
01-27 13:30:45.902  2701  2730 E libprocessgroup: Error encountered killing process cgroup uid 10072 pid 15038: Permission denied
01-27 13:30:45.932  2458  2458 D Zygote  : Forked child process 15053
01-27 13:30:45.937 15053 15053 F zygote  : jni_internal.cc:729] JNI FatalError called: (com.android.externalstorage) frameworks/base/core/jni/com_android_internal_os_Zygote.cpp:795: Failed to mount tmpfs to /mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e/user: No such file or directory
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655] Runtime aborting...
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655] Dumping all threads without mutator lock held
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655] All threads:
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655] DALVIK THREADS (1):
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655] "main" prio=5 tid=1 Runnable
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | group="" sCount=0 dsCount=0 flags=0 obj=0x72ba6c28 self=0xdf6c1c10
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | sysTid=2458 nice=0 cgrp=default sched=0/0 handle=0xe77eb470
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | stack=0xff7a8000-0xff7aa000 stackSize=8192KB
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | held mutexes= "abort lock" "mutator lock"(shared held)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   native: (backtrace::Unwind failed for thread 2458: Thread doesn't exist)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.nativeForkAndSpecialize(Native method)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.forkAndSpecialize(Zygote.java:344)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteConnection.processOneCommand(ZygoteConnection.java:257)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteServer.runSelectLoop(ZygoteServer.java:550)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:934)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655] Aborting thread:
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655] "main" prio=5 tid=1 Native
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | group="" sCount=0 dsCount=0 flags=0 obj=0x72ba6c28 self=0xdf6c1c10
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | sysTid=2458 nice=0 cgrp=default sched=0/0 handle=0xe77eb470
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | stack=0xff7a8000-0xff7aa000 stackSize=8192KB
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | held mutexes= "abort lock"
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   native: (backtrace::Unwind failed for thread 2458: Thread doesn't exist)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.nativeForkAndSpecialize(Native method)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.forkAndSpecialize(Zygote.java:344)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteConnection.processOneCommand(ZygoteConnection.java:257)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteServer.runSelectLoop(ZygoteServer.java:550)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:934)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]
01-27 13:30:46.001 15053 15053 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 15053 (main), pid 15053 (main)
01-27 13:30:46.014 15060 15060 E libc    : capset failed: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 0: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 1: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 2: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 3: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 4: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 5: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 6: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 7: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 8: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 9: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 10: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 11: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 12: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 13: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 14: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 15: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 16: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 17: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 18: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 19: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 20: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 21: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 22: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 23: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 24: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 25: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 26: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 27: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 28: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 29: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 30: Operation not permitted
01-27 13:30:46.016 15060 15060 E libc    : failed to raise ambient capability 31: Operation not permitted
01-27 13:30:46.016 15060 15060 E libc    : failed to raise ambient capability 32: Operation not permitted
01-27 13:30:46.016 15060 15060 E libc    : failed to raise ambient capability 33: Operation not permitted
01-27 13:30:46.016 15060 15060 E libc    : failed to raise ambient capability 34: Operation not permitted
01-27 13:30:46.016 15060 15060 E libc    : failed to raise ambient capability 35: Operation not permitted
01-27 13:30:46.016 15060 15060 E libc    : failed to raise ambient capability 36: Operation not permitted
01-27 13:30:46.047 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/0: Permission denied
01-27 13:30:46.047 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/1: Permission denied
01-27 13:30:46.047 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/2: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/3: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/4: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/5: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/6: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/7: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/8: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/9: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/10: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/11: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/12: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/13: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/14: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/15: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/16: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/17: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/18: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/19: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/20: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/21: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/22: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/23: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/24: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/25: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/26: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/27: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/28: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/29: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/30: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/31: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/32: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/33: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/34: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/35: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/36: Permission denied
01-27 13:30:46.051 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/37: Permission denied
01-27 13:30:46.051 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/38: Permission denied
01-27 13:30:46.051 15061 15061 F crash_dump32: crash_dump.cpp:474] failed to attach to thread 15053, already traced by 0 ()
01-27 13:30:46.052  2452  2452 I tombstoned: received crash request for pid 15053
01-27 13:30:46.057  2452  2452 W tombstoned: crash socket received short read of length 0 (expected 12)
01-27 13:30:46.058 15053 15053 F libc    : crash_dump helper failed to exec
01-27 13:30:46.051 15053 15053 W main    : type=1701 audit(0.0:698): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=u:r:zygote:s0 reason="memory violation" sig=6
01-27 13:30:46.137  2458  2458 I Zygote  : Process 15053 exited due to signal 6 (Aborted)
01-27 13:30:46.601 15062 15062 W blkid   : type=1400 audit(0.0:699): avc: denied { read } for name="mediaserver" dev="mmcblk0p20" ino=824 scontext=u:r:blkid:s0 tcontext=u:object_r:mediaserver_exec:s0 tclass=file permissive=0
01-27 13:30:46.601 15062 15062 W blkid   : type=1300 audit(0.0:699): arch=40000028 syscall=334 per=8 success=no exit=-13 a0=ffffff9c a1=e765a080 a2=4 a3=0 items=0 ppid=2362 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) exe="/system/bin/blkid" subj=u:r:blkid:s0 key=(null)
01-27 13:30:46.601  2367  2367 W auditd  : type=1327 audit(0.0:699): proctitle=2F73797374656D2F62696E2F626C6B6964002D63002F6465762F6E756C6C002D730054595045002D730055554944002D73004C4142454C002F6465762F626C6F636B2F646D2D30
01-27 13:30:46.601  2367  2367 W auditd  : type=1320 audit(0.0:699):
01-27 13:30:46.617  2492  2537 E BufferQueueProducer: [com.android.settings/com.android.settings.SubSettings#0](id:9bc0000001a,api:0,p:-1,c:2492) disconnect: not connected (req=1)
01-27 13:30:46.618 14643 14694 W libEGL  : EGLNativeWindowType 0xe27cb068 disconnect failed
01-27 13:30:46.619 14643 14694 D OpenGLRenderer: endAllActiveAnimators on 0xb1e6d170 (RippleDrawable) with handle 0xb1617170
01-27 13:30:46.628  2877  2877 D StorageNotification: Notifying about private volume: VolumeInfo{private:179,35}:
01-27 13:30:46.628  2877  2877 D StorageNotification:     type=PRIVATE diskId=disk:179,32
01-27 13:30:46.628  2877  2877 D StorageNotification:     partGuid=0C1100AE-7DA4-4018-ACE6-8E3453241331 mountFlags=0 mountUserId=-1
01-27 13:30:46.628  2877  2877 D StorageNotification:     state=CHECKING
01-27 13:30:46.628  2877  2877 D StorageNotification:     fsType=f2fs fsUuid=3d01dbcb-42d9-4446-8b3e-880d74e9f10e fsLabel=
01-27 13:30:46.628  2877  2877 D StorageNotification:     path=/mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e internalPath=null
01-27 13:30:46.691 15063 15063 W fsck.f2fs: type=1400 audit(0.0:700): avc: denied { read } for name="mediaserver" dev="mmcblk0p20" ino=824 scontext=u:r:fsck:s0 tcontext=u:object_r:mediaserver_exec:s0 tclass=file permissive=0
01-27 13:30:46.691 15063 15063 W fsck.f2fs: type=1300 audit(0.0:700): arch=40000028 syscall=334 per=8 success=no exit=-13 a0=ffffff9c a1=f765a080 a2=4 a3=0 items=0 ppid=2362 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) exe="/system/bin/fsck.f2fs" subj=u:r:fsck:s0 key=(null)
01-27 13:30:46.691  2367  2367 W auditd  : type=1327 audit(0.0:700): proctitle=2F73797374656D2F62696E2F6673636B2E66326673002D61002F6465762F626C6F636B2F646D2D30
01-27 13:30:46.691  2367  2367 W auditd  : type=1320 audit(0.0:700):
01-27 13:30:46.707 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3316
01-27 13:30:46.715 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2181 checkRepeatedly = false, unlocked = true
01-27 13:30:46.716 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1989
01-27 13:30:46.720 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2181 checkRepeatedly = true, unlocked = true
01-27 13:30:46.795  2877  2877 D StorageNotification: Notifying about private volume: VolumeInfo{private:179,35}:
01-27 13:30:46.795  2877  2877 D StorageNotification:     type=PRIVATE diskId=disk:179,32
01-27 13:30:46.795  2877  2877 D StorageNotification:     partGuid=0C1100AE-7DA4-4018-ACE6-8E3453241331 mountFlags=0 mountUserId=-1
01-27 13:30:46.795  2877  2877 D StorageNotification:     state=UNMOUNTABLE
01-27 13:30:46.795  2877  2877 D StorageNotification:     fsType=f2fs fsUuid=3d01dbcb-42d9-4446-8b3e-880d74e9f10e fsLabel=
01-27 13:30:46.795  2877  2877 D StorageNotification:     path=/mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e internalPath=null
01-27 13:30:46.796 14643 14643 W Choreographer: Frame time is 3.06E-4 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
01-27 13:30:46.837  2877  3339 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [606x134]-format:1
01-27 13:30:48.793  2492  2537 E BufferQueueProducer: [Toast#0](id:9bc0000001b,api:0,p:-1,c:2492) disconnect: not connected (req=1)
01-27 13:30:48.793  2877  3339 W libEGL  : EGLNativeWindowType 0xb3c99318 disconnect failed
01-27 13:30:48.801  2727  2727 W android.bg: type=1400 audit(0.0:701): avc: denied { read } for name="14643-0" dev="debugfs" ino=95304 scontext=u:r:system_server:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0
01-27 13:30:48.801  2727  2727 W android.bg: type=1300 audit(0.0:701): arch=40000028 syscall=322 per=8 success=no exit=-13 a0=ffffff9c a1=b413f570 a2=20000 a3=0 items=0 ppid=2458 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=4294967295 tty=(none) exe="/system/bin/app_process32" subj=u:r:system_server:s0 key=(null)
 

Attachments

  • bugreport-lineage_a7xelte-RQ3A.211001.001-2022-01-27-13-33-44.zip
    12.8 MB · Views: 6
  • Like
Reactions: maanteel

berbigou

New member
May 11, 2010
2
0
Hello,
thank you all to help my a3xelte live longer (and better, faster,...) !
I'm not asking for an ETA (so rude !), but is there any chance/luck/risk/possibility/xda-thread for lineageos 19 on a3xelte ???

Many thanks again.
 

danwood76

Recognized Developer
May 23, 2015
1,372
2,217
I'm going through with the ejecting then remounting the adopted storage via Settings, since I cannot reliably reproduce the system_server crashes (without issuing a "kill -7" command). I also attached the bugreport zip.


Below are the logs I got while I was reproducing the issue, which may also help:

After pressing "Eject" in the Settings app:
Code:
01-27 13:30:31.444 14643 14643 D SettingsActivity: Starting onCreate
01-27 13:30:31.461 14643 14643 D SettingsActivity: Starting to set activity title
01-27 13:30:31.461 14643 14643 D SettingsActivity: Done setting title
01-27 13:30:31.461 14643 14643 D SettingsActivity: Switching to fragment com.android.settings.deviceinfo.PrivateVolumeUnmount
01-27 13:30:31.461 14643 14643 D SubSettings: Launching fragment com.android.settings.deviceinfo.PrivateVolumeUnmount
01-27 13:30:31.464 14643 14643 D SettingsActivity: Executed frag manager pendingTransactions
01-27 13:30:31.540 14643 15036 D SettingsActivity: No enabled state changed, skipping updateCategory call
01-27 13:30:31.568 14643 14694 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [1080x1920]-format:1
01-27 13:30:31.620  2701  2727 I ActivityTaskManager: Displayed com.android.settings/.SubSettings: +247ms
01-27 13:30:31.663 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3316
01-27 13:30:31.667 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2181 checkRepeatedly = false, unlocked = true
01-27 13:30:31.668 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1989
01-27 13:30:31.670 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2181 checkRepeatedly = true, unlocked = true
01-27 13:30:31.730  2492  2538 E BufferQueueProducer: [PopupWindow:8ec97df#0](id:9bc00000014,api:0,p:-1,c:2492) disconnect: not connected (req=1)
01-27 13:30:31.730 14643 14694 W libEGL  : EGLNativeWindowType 0xe27dc578 disconnect failed
01-27 13:30:31.731 14643 14694 D OpenGLRenderer: endAllActiveAnimators on 0xb1e56350 (MenuPopupWindow$MenuDropDownListView) with handle 0xb16115f0
01-27 13:30:32.055  2492  2790 E BufferQueueProducer: [com.android.settings/com.android.settings.SubSettings#1](id:9bc00000013,api:0,p:-1,c:2492) disconnect: not connected (req=1)
01-27 13:30:32.056 14643 14694 W libEGL  : EGLNativeWindowType 0xe27c0018 disconnect failed
01-27 13:30:34.709  2492  2592 W HWComposer: Ignoring duplicate VSYNC event from HWC for display 0 (t=506187636329)
01-27 13:30:35.443  2877  2877 D StorageNotification: Notifying about private volume: VolumeInfo{private:179,35}:
01-27 13:30:35.443  2877  2877 D StorageNotification:     type=PRIVATE diskId=disk:179,32
01-27 13:30:35.443  2877  2877 D StorageNotification:     partGuid=0C1100AE-7DA4-4018-ACE6-8E3453241331 mountFlags=0 mountUserId=-1
01-27 13:30:35.443  2877  2877 D StorageNotification:     state=EJECTING
01-27 13:30:35.443  2877  2877 D StorageNotification:     fsType=f2fs fsUuid=3d01dbcb-42d9-4446-8b3e-880d74e9f10e fsLabel=
01-27 13:30:35.443  2877  2877 D StorageNotification:     path=/mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e internalPath=null
01-27 13:30:35.454 14643 14643 D CompatibilityChangeReporter: Compat change id reported: 147798919; UID 1000; state: ENABLED
01-27 13:30:35.840  2701  9225 W system_server: Long monitor contention with owner PackageManager (2748) at boolean com.android.server.pm.PackageManagerService.deletePackageLIF(java.lang.String, android.os.UserHandle, boolean, int[], int, com.android.server.pm.PackageManagerService$PackageRemovedInfo, boolean, com.android.server.pm.parsing.pkg.ParsedPackage)(PackageManagerService.java:19297) waiters=0 in java.lang.String com.android.server.pm.PackageManagerService.getInstantAppPackageName(int) for 385ms
01-27 13:30:35.842  2701  2716 W system_server: Long monitor contention with owner PackageManager (2748) at boolean com.android.server.pm.PackageManagerService.deletePackageLIF(java.lang.String, android.os.UserHandle, boolean, int[], int, com.android.server.pm.PackageManagerService$PackageRemovedInfo, boolean, com.android.server.pm.parsing.pkg.ParsedPackage)(PackageManagerService.java:19297) waiters=2 in int com.android.server.pm.permission.PermissionManagerService.checkUidPermission(java.lang.String, int) for 375ms
01-27 13:30:35.843  2701  2748 I ResourcesManager: Invalidated 1 asset managers that referenced /mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e
01-27 13:30:35.844  2877  2877 D StorageNotification: Notifying about private volume: VolumeInfo{private:179,35}:
01-27 13:30:35.844  2877  2877 D StorageNotification:     type=PRIVATE diskId=disk:179,32
01-27 13:30:35.844  2877  2877 D StorageNotification:     partGuid=0C1100AE-7DA4-4018-ACE6-8E3453241331 mountFlags=0 mountUserId=-1
01-27 13:30:35.844  2877  2877 D StorageNotification:     state=UNMOUNTED
01-27 13:30:35.844  2877  2877 D StorageNotification:     fsType=f2fs fsUuid=3d01dbcb-42d9-4446-8b3e-880d74e9f10e fsLabel=
01-27 13:30:35.844  2877  2877 D StorageNotification:     path=/mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e internalPath=null
01-27 13:30:35.866  2458  2458 D Zygote  : Forked child process 15038
01-27 13:30:35.876 15038 15038 F zygote  : jni_internal.cc:729] JNI FatalError called: (com.android.externalstorage) frameworks/base/core/jni/com_android_internal_os_Zygote.cpp:795: Failed to mount tmpfs to /mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e/user: No such file or directory
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655] Runtime aborting...
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655] Dumping all threads without mutator lock held
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655] All threads:
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655] DALVIK THREADS (1):
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655] "main" prio=5 tid=1 Runnable
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | group="" sCount=0 dsCount=0 flags=0 obj=0x72ba6c28 self=0xdf6c1c10
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | sysTid=2458 nice=0 cgrp=default sched=0/0 handle=0xe77eb470
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | stack=0xff7a8000-0xff7aa000 stackSize=8192KB
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | held mutexes= "abort lock" "mutator lock"(shared held)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   native: (backtrace::Unwind failed for thread 2458: Thread doesn't exist)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.nativeForkAndSpecialize(Native method)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.forkAndSpecialize(Zygote.java:344)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteConnection.processOneCommand(ZygoteConnection.java:257)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteServer.runSelectLoop(ZygoteServer.java:550)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:934)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655] Aborting thread:
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655] "main" prio=5 tid=1 Native
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | group="" sCount=0 dsCount=0 flags=0 obj=0x72ba6c28 self=0xdf6c1c10
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | sysTid=2458 nice=0 cgrp=default sched=0/0 handle=0xe77eb470
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | stack=0xff7a8000-0xff7aa000 stackSize=8192KB
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   | held mutexes= "abort lock"
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   native: (backtrace::Unwind failed for thread 2458: Thread doesn't exist)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.nativeForkAndSpecialize(Native method)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.forkAndSpecialize(Zygote.java:344)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteConnection.processOneCommand(ZygoteConnection.java:257)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteServer.runSelectLoop(ZygoteServer.java:550)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:934)
01-27 13:30:35.973 15038 15038 F zygote  : runtime.cc:655]
01-27 13:30:35.974 15038 15038 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 15038 (main), pid 15038 (main)
01-27 13:30:35.981 14643 14694 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [1080x1920]-format:1
01-27 13:30:35.995 15045 15045 E libc    : capset failed: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 0: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 1: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 2: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 3: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 4: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 5: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 6: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 7: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 8: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 9: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 10: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 11: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 12: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 13: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 14: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 15: Operation not permitted
01-27 13:30:35.995 15045 15045 E libc    : failed to raise ambient capability 16: Operation not permitted
01-27 13:30:35.996 15045 15045 E libc    : failed to raise ambient capability 17: Operation not permitted
01-27 13:30:35.996 15045 15045 E libc    : failed to raise ambient capability 18: Operation not permitted
01-27 13:30:35.996 15045 15045 E libc    : failed to raise ambient capability 19: Operation not permitted
01-27 13:30:35.996 15045 15045 E libc    : failed to raise ambient capability 20: Operation not permitted
01-27 13:30:35.996 15045 15045 E libc    : failed to raise ambient capability 21: Operation not permitted
01-27 13:30:35.998 15045 15045 E libc    : failed to raise ambient capability 22: Operation not permitted
01-27 13:30:35.998 15045 15045 E libc    : failed to raise ambient capability 23: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 24: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 25: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 26: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 27: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 28: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 29: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 30: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 31: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 32: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 33: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 34: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 35: Operation not permitted
01-27 13:30:35.999 15045 15045 E libc    : failed to raise ambient capability 36: Operation not permitted
01-27 13:30:36.008  2877  3339 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [688x134]-format:1
01-27 13:30:36.053 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/0: Permission denied
01-27 13:30:36.053 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/1: Permission denied
01-27 13:30:36.053 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/2: Permission denied
01-27 13:30:36.053 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/3: Permission denied
01-27 13:30:36.053 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/4: Permission denied
01-27 13:30:36.053 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/5: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/6: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/7: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/8: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/9: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/10: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/11: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/12: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/13: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/14: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/15: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/16: Permission denied
01-27 13:30:36.054 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/17: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/18: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/19: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/20: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/21: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/22: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/23: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/24: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/25: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/26: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/27: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/28: Permission denied
01-27 13:30:36.055 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/29: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/30: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/31: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/32: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/33: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/34: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/35: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/36: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/37: Permission denied
01-27 13:30:36.056 15046 15046 E DEBUG   : failed to readlink /proc/15038/fd/38: Permission denied
01-27 13:30:36.057 15046 15046 F crash_dump32: crash_dump.cpp:474] failed to attach to thread 15038, already traced by 0 ()
01-27 13:30:36.062  2452  2452 I tombstoned: received crash request for pid 15038
01-27 13:30:36.066  2452  2452 W tombstoned: crash socket received short read of length 0 (expected 12)
01-27 13:30:36.051 15038 15038 W main    : type=1701 audit(0.0:697): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=u:r:zygote:s0 reason="memory violation" sig=6
01-27 13:30:36.068 15038 15038 F libc    : crash_dump helper failed to exec
01-27 13:30:36.087  2492  2538 E BufferQueueProducer: [Toast#0](id:9bc00000018,api:0,p:-1,c:2492) disconnect: not connected (req=1)
01-27 13:30:36.087  2877  3339 W libEGL  : EGLNativeWindowType 0xe27c9738 disconnect failed
01-27 13:30:36.089  2877  3339 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [688x134]-format:1
01-27 13:30:36.119 14643 15047 D SettingsActivity: No enabled state changed, skipping updateCategory call
01-27 13:30:36.141 14643 14694 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [1080x1920]-format:1
01-27 13:30:36.142  2458  2458 I Zygote  : Process 15038 exited due to signal 6 (Aborted)
01-27 13:30:36.242 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3316
01-27 13:30:36.248 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2181 checkRepeatedly = false, unlocked = true
01-27 13:30:36.253 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1989
01-27 13:30:36.270 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2181 checkRepeatedly = true, unlocked = true
01-27 13:30:36.279  2492  2537 E BufferQueueProducer: [com.android.settings/com.android.settings.SubSettings#1](id:9bc00000017,api:0,p:-1,c:2492) disconnect: not connected (req=1)
01-27 13:30:36.280 14643 14694 W libEGL  : EGLNativeWindowType 0xe27c0018 disconnect failed
01-27 13:30:36.310 14643 15047 D SettingsActivity: No enabled state changed, skipping updateCategory call
01-27 13:30:36.362  2877  2899 I ndroid.systemu: NativeAlloc concurrent copying GC freed 98150(3554KB) AllocSpace objects, 7(140KB) LOS objects, 49% free, 9693KB/18MB, paused 1.100ms total 517.231ms
01-27 13:30:36.608  2492  2760 E BufferQueueProducer: [com.android.settings/com.android.settings.SubSettings#0](id:9bc00000016,api:0,p:-1,c:2492) disconnect: not connected (req=1)
01-27 13:30:36.609 14643 14694 W libEGL  : EGLNativeWindowType 0xe27ddea8 disconnect failed
01-27 13:30:37.078  2701  2748 I system_server: Explicit concurrent copying GC freed 117482(4942KB) AllocSpace objects, 55(2828KB) LOS objects, 48% free, 25MB/49MB, paused 7.723ms total 1.234s
01-27 13:30:37.718  2492  2592 W HWComposer: Ignoring duplicate VSYNC event from HWC for display 0 (t=509199619366)
01-27 13:30:37.860  2701  2748 I system_server: Explicit concurrent copying GC freed 16758(850KB) AllocSpace objects, 2(40KB) LOS objects, 49% free, 24MB/48MB, paused 378us total 769.989ms
01-27 13:30:37.878  2492  2790 E BufferQueueProducer: [Toast#0](id:9bc00000018,api:0,p:-1,c:2492) disconnect: not connected (req=1)
01-27 13:30:37.879  2877  3339 W libEGL  : EGLNativeWindowType 0xe27c9738 disconnect failed
01-27 13:30:38.613  2701  2748 I system_server: Explicit concurrent copying GC freed 699(163KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 24MB/48MB, paused 431us total 749.619ms
01-27 13:30:38.745  3967  3967 I .lawnchair.pla: Explicit concurrent copying GC freed 21736(1012KB) AllocSpace objects, 0(0B) LOS objects, 58% free, 4428KB/10MB, paused 188us total 120.617ms
01-27 13:30:43.004  2492  2592 W HWComposer: Ignoring duplicate VSYNC event from HWC for display 0 (t=514485002170)
01-27 13:30:43.169  3717  6168 I CastDatabase: Saving the database
01-27 13:30:43.183  3717  6168 I SQLiteCastStore: [CastNetworkInfo] saved: 0, skipped: 0, [CastDeviceInfo]: saved 1, skipped 0, [Paired Guest Mode DeviceInfo] saved: 0, skipped: 0. [ProbedNetworks]: saved 0, skipped: 0, [ProbedSocketAddress]: saved 1, skipped: 0, [Network-Device pairs]: saved: 0


Then trying to mount it back:
Code:
01-27 13:30:45.588 14643 14694 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [1200x719]-format:1
01-27 13:30:45.901  2701  2730 W libprocessgroup: Failed to open process cgroup uid 10072 pid 15038: Permission denied
01-27 13:30:45.902  2701  2730 E libprocessgroup: Error encountered killing process cgroup uid 10072 pid 15038: Permission denied
01-27 13:30:45.932  2458  2458 D Zygote  : Forked child process 15053
01-27 13:30:45.937 15053 15053 F zygote  : jni_internal.cc:729] JNI FatalError called: (com.android.externalstorage) frameworks/base/core/jni/com_android_internal_os_Zygote.cpp:795: Failed to mount tmpfs to /mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e/user: No such file or directory
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655] Runtime aborting...
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655] Dumping all threads without mutator lock held
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655] All threads:
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655] DALVIK THREADS (1):
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655] "main" prio=5 tid=1 Runnable
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | group="" sCount=0 dsCount=0 flags=0 obj=0x72ba6c28 self=0xdf6c1c10
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | sysTid=2458 nice=0 cgrp=default sched=0/0 handle=0xe77eb470
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | stack=0xff7a8000-0xff7aa000 stackSize=8192KB
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | held mutexes= "abort lock" "mutator lock"(shared held)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   native: (backtrace::Unwind failed for thread 2458: Thread doesn't exist)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.nativeForkAndSpecialize(Native method)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.forkAndSpecialize(Zygote.java:344)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteConnection.processOneCommand(ZygoteConnection.java:257)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteServer.runSelectLoop(ZygoteServer.java:550)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:934)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655] Aborting thread:
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655] "main" prio=5 tid=1 Native
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | group="" sCount=0 dsCount=0 flags=0 obj=0x72ba6c28 self=0xdf6c1c10
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | sysTid=2458 nice=0 cgrp=default sched=0/0 handle=0xe77eb470
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | stack=0xff7a8000-0xff7aa000 stackSize=8192KB
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   | held mutexes= "abort lock"
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   native: (backtrace::Unwind failed for thread 2458: Thread doesn't exist)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.nativeForkAndSpecialize(Native method)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.Zygote.forkAndSpecialize(Zygote.java:344)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteConnection.processOneCommand(ZygoteConnection.java:257)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteServer.runSelectLoop(ZygoteServer.java:550)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:934)
01-27 13:30:46.000 15053 15053 F zygote  : runtime.cc:655]
01-27 13:30:46.001 15053 15053 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 15053 (main), pid 15053 (main)
01-27 13:30:46.014 15060 15060 E libc    : capset failed: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 0: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 1: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 2: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 3: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 4: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 5: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 6: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 7: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 8: Operation not permitted
01-27 13:30:46.014 15060 15060 E libc    : failed to raise ambient capability 9: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 10: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 11: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 12: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 13: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 14: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 15: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 16: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 17: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 18: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 19: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 20: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 21: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 22: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 23: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 24: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 25: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 26: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 27: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 28: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 29: Operation not permitted
01-27 13:30:46.015 15060 15060 E libc    : failed to raise ambient capability 30: Operation not permitted
01-27 13:30:46.016 15060 15060 E libc    : failed to raise ambient capability 31: Operation not permitted
01-27 13:30:46.016 15060 15060 E libc    : failed to raise ambient capability 32: Operation not permitted
01-27 13:30:46.016 15060 15060 E libc    : failed to raise ambient capability 33: Operation not permitted
01-27 13:30:46.016 15060 15060 E libc    : failed to raise ambient capability 34: Operation not permitted
01-27 13:30:46.016 15060 15060 E libc    : failed to raise ambient capability 35: Operation not permitted
01-27 13:30:46.016 15060 15060 E libc    : failed to raise ambient capability 36: Operation not permitted
01-27 13:30:46.047 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/0: Permission denied
01-27 13:30:46.047 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/1: Permission denied
01-27 13:30:46.047 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/2: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/3: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/4: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/5: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/6: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/7: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/8: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/9: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/10: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/11: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/12: Permission denied
01-27 13:30:46.048 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/13: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/14: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/15: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/16: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/17: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/18: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/19: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/20: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/21: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/22: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/23: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/24: Permission denied
01-27 13:30:46.049 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/25: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/26: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/27: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/28: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/29: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/30: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/31: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/32: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/33: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/34: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/35: Permission denied
01-27 13:30:46.050 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/36: Permission denied
01-27 13:30:46.051 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/37: Permission denied
01-27 13:30:46.051 15061 15061 E DEBUG   : failed to readlink /proc/15053/fd/38: Permission denied
01-27 13:30:46.051 15061 15061 F crash_dump32: crash_dump.cpp:474] failed to attach to thread 15053, already traced by 0 ()
01-27 13:30:46.052  2452  2452 I tombstoned: received crash request for pid 15053
01-27 13:30:46.057  2452  2452 W tombstoned: crash socket received short read of length 0 (expected 12)
01-27 13:30:46.058 15053 15053 F libc    : crash_dump helper failed to exec
01-27 13:30:46.051 15053 15053 W main    : type=1701 audit(0.0:698): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=u:r:zygote:s0 reason="memory violation" sig=6
01-27 13:30:46.137  2458  2458 I Zygote  : Process 15053 exited due to signal 6 (Aborted)
01-27 13:30:46.601 15062 15062 W blkid   : type=1400 audit(0.0:699): avc: denied { read } for name="mediaserver" dev="mmcblk0p20" ino=824 scontext=u:r:blkid:s0 tcontext=u:object_r:mediaserver_exec:s0 tclass=file permissive=0
01-27 13:30:46.601 15062 15062 W blkid   : type=1300 audit(0.0:699): arch=40000028 syscall=334 per=8 success=no exit=-13 a0=ffffff9c a1=e765a080 a2=4 a3=0 items=0 ppid=2362 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) exe="/system/bin/blkid" subj=u:r:blkid:s0 key=(null)
01-27 13:30:46.601  2367  2367 W auditd  : type=1327 audit(0.0:699): proctitle=2F73797374656D2F62696E2F626C6B6964002D63002F6465762F6E756C6C002D730054595045002D730055554944002D73004C4142454C002F6465762F626C6F636B2F646D2D30
01-27 13:30:46.601  2367  2367 W auditd  : type=1320 audit(0.0:699):
01-27 13:30:46.617  2492  2537 E BufferQueueProducer: [com.android.settings/com.android.settings.SubSettings#0](id:9bc0000001a,api:0,p:-1,c:2492) disconnect: not connected (req=1)
01-27 13:30:46.618 14643 14694 W libEGL  : EGLNativeWindowType 0xe27cb068 disconnect failed
01-27 13:30:46.619 14643 14694 D OpenGLRenderer: endAllActiveAnimators on 0xb1e6d170 (RippleDrawable) with handle 0xb1617170
01-27 13:30:46.628  2877  2877 D StorageNotification: Notifying about private volume: VolumeInfo{private:179,35}:
01-27 13:30:46.628  2877  2877 D StorageNotification:     type=PRIVATE diskId=disk:179,32
01-27 13:30:46.628  2877  2877 D StorageNotification:     partGuid=0C1100AE-7DA4-4018-ACE6-8E3453241331 mountFlags=0 mountUserId=-1
01-27 13:30:46.628  2877  2877 D StorageNotification:     state=CHECKING
01-27 13:30:46.628  2877  2877 D StorageNotification:     fsType=f2fs fsUuid=3d01dbcb-42d9-4446-8b3e-880d74e9f10e fsLabel=
01-27 13:30:46.628  2877  2877 D StorageNotification:     path=/mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e internalPath=null
01-27 13:30:46.691 15063 15063 W fsck.f2fs: type=1400 audit(0.0:700): avc: denied { read } for name="mediaserver" dev="mmcblk0p20" ino=824 scontext=u:r:fsck:s0 tcontext=u:object_r:mediaserver_exec:s0 tclass=file permissive=0
01-27 13:30:46.691 15063 15063 W fsck.f2fs: type=1300 audit(0.0:700): arch=40000028 syscall=334 per=8 success=no exit=-13 a0=ffffff9c a1=f765a080 a2=4 a3=0 items=0 ppid=2362 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) exe="/system/bin/fsck.f2fs" subj=u:r:fsck:s0 key=(null)
01-27 13:30:46.691  2367  2367 W auditd  : type=1327 audit(0.0:700): proctitle=2F73797374656D2F62696E2F6673636B2E66326673002D61002F6465762F626C6F636B2F646D2D30
01-27 13:30:46.691  2367  2367 W auditd  : type=1320 audit(0.0:700):
01-27 13:30:46.707 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3316
01-27 13:30:46.715 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2181 checkRepeatedly = false, unlocked = true
01-27 13:30:46.716 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1989
01-27 13:30:46.720 14324 14324 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2181 checkRepeatedly = true, unlocked = true
01-27 13:30:46.795  2877  2877 D StorageNotification: Notifying about private volume: VolumeInfo{private:179,35}:
01-27 13:30:46.795  2877  2877 D StorageNotification:     type=PRIVATE diskId=disk:179,32
01-27 13:30:46.795  2877  2877 D StorageNotification:     partGuid=0C1100AE-7DA4-4018-ACE6-8E3453241331 mountFlags=0 mountUserId=-1
01-27 13:30:46.795  2877  2877 D StorageNotification:     state=UNMOUNTABLE
01-27 13:30:46.795  2877  2877 D StorageNotification:     fsType=f2fs fsUuid=3d01dbcb-42d9-4446-8b3e-880d74e9f10e fsLabel=
01-27 13:30:46.795  2877  2877 D StorageNotification:     path=/mnt/expand/3d01dbcb-42d9-4446-8b3e-880d74e9f10e internalPath=null
01-27 13:30:46.796 14643 14643 W Choreographer: Frame time is 3.06E-4 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
01-27 13:30:46.837  2877  3339 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000,  [606x134]-format:1
01-27 13:30:48.793  2492  2537 E BufferQueueProducer: [Toast#0](id:9bc0000001b,api:0,p:-1,c:2492) disconnect: not connected (req=1)
01-27 13:30:48.793  2877  3339 W libEGL  : EGLNativeWindowType 0xb3c99318 disconnect failed
01-27 13:30:48.801  2727  2727 W android.bg: type=1400 audit(0.0:701): avc: denied { read } for name="14643-0" dev="debugfs" ino=95304 scontext=u:r:system_server:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0
01-27 13:30:48.801  2727  2727 W android.bg: type=1300 audit(0.0:701): arch=40000028 syscall=322 per=8 success=no exit=-13 a0=ffffff9c a1=b413f570 a2=20000 a3=0 items=0 ppid=2458 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=4294967295 tty=(none) exe="/system/bin/app_process32" subj=u:r:system_server:s0 key=(null)
I did some work on this the other day. It looks like something in the system has an open file handle which makes the disk check fail on remount. I will take another look at it when I get some more free time.

I found that removing and reinserting the card made it remount. Might be a quicker work around than a reboot.

Next time you get a system crash try and get me a bug report. The root issue you have is that crash imo, it might be something to do with lawnchair that was always a pile of crap in earlier versions.

Kind regards,
Danny
 

danwood76

Recognized Developer
May 23, 2015
1,372
2,217
Hello,
thank you all to help my a3xelte live longer (and better, faster,...) !
I'm not asking for an ETA (so rude !), but is there any chance/luck/risk/possibility/xda-thread for lineageos 19 on a3xelte ???

Many thanks again.
Sorry, I am not actively working on that yet as there are issues for legacy devices like these.
 
  • Like
Reactions: maanteel

impasta

Senior Member
Jan 22, 2017
54
15
I did some work on this the other day. It looks like something in the system has an open file handle which makes the disk check fail on remount. I will take another look at it when I get some more free time.

I found that removing and reinserting the card made it remount. Might be a quicker work around than a reboot.

Next time you get a system crash try and get me a bug report. The root issue you have is that crash imo, it might be something to do with lawnchair that was always a pile of crap in earlier versions.

Kind regards,
Danny
Thank you, Danny.

I agree, Reinserting the physical card is the fastest, IMHO, though I would need to have a long thin pointy thing (or a pin) ready.

I had same observations while I'm searching for a workaround without reboots or removing the sim card. Though, I do not know how trace back whose and what file handle is opened at the time when vold attempts to unmount/remount. Neither lsof or excavating /proc/*/fd is of help.
I suspect something's up with how Android or the kernel manages full disk encryption.

As for the crash, I just need to wait for another crash to occur so I could generate a bug report. It's just that random and seldom .
 

impasta

Senior Member
Jan 22, 2017
54
15
I did some work on this the other day. It looks like something in the system has an open file handle which makes the disk check fail on remount. I will take another look at it when I get some more free time.

I found that removing and reinserting the card made it remount. Might be a quicker work around than a reboot.

Next time you get a system crash try and get me a bug report. The root issue you have is that crash imo, it might be something to do with lawnchair that was always a pile of crap in earlier versions.

Kind regards,
Danny
I got another crash regarding that GL errors thing I mentioned. I'll send the bugreport to you shortly.
 
  • Like
Reactions: maanteel

danwood76

Recognized Developer
May 23, 2015
1,372
2,217
Heya @danwood76, did you see this already?
Ivan Meler made a change that suposed to fix camera issues with exynos 7 and 8 SoC series. https://forum.xda-developers.com/t/...-spoofing-for-s7-exynos.4368995/post-86391299
The main issue with the cameras on these phones is that they suck.

I think the issue Ivan has fixed is related to camera hal3 which our soc doesn't support.

We actually have the source code to the camera hal for our soc. We just never bothered to build it because it works ok with our hacks.

Regards,
Danny
 
  • Like
Reactions: maanteel

monsiu

Senior Member
Oct 12, 2021
89
1
35
www.monsiu.codes
WHy can we not move apps to external storage in the rom???

Also when will ANT+ be available??


Other than these two issues this rom is excellent!!!
You can move apps into external storage.....
just go to apps and choose the app you want to move the data to and you will see the storage used and just click change.....
Although am not sure if that option is there if your memory card is formatted as external
so just flash external storage as internal to get that significant boost in storage.
which the phone will conviniently count both internal storage and external as one
which is really awesome :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    Hi,

    New update uploaded.

    Changes 26-04-2022:
    • Synced to latest LineageOS source (including April security patch)

    I have been unable to reproduce the "system consuming ram" issue. Maybe it is triggered by a particular app or gapps version. I tested with the latest opengapps Pico from a couple of weeks ago.

    Kind regards,
    Danny
    3
    For zram getting full, maybe mounting the RAM device with the "discard" flag could prevent it from getting filled with useless data, as per: https://www.reddit.com/r/linux/comments/u0hb2a
    As for it begin unused sometimes, unfortunately older kernels can't use zram as efficiently as newer ones, due to them lacking a patch included in newer kernels that adjusts vm.swappiness to better handle zram scenarios, as per this answer: https://unix.stackexchange.com/ques...-more-memory-compared-to-its-compressed-value

    Also, for people running out of memory too often, a full memory system zram device might be useful, as per the same Stack Overflow answer. This is the default configuration on Fedora Linux, so it should be safe to use. I've been using both configs (discard + full RAM zram) without issues in all my devices.
    2
    Hi Danny, new update works good and perform better but i have an issue in all build during call, audio cannot be played when switch to phone speaker and Bluetooth. Kindly check that if it can be resolved.
    Calls through speaker and Bluetooth headset work fine here.

    What are the steps to reproduce your issue?

    Do you have any audio/mixer mods installed?

    Kind regards,
    Danny
    2
    I clean flashed this last update with Magisk.
    I realize I'm gonna need gapps. Can I flash now? How? Which version?
    You think you need GApps because you don't have an app store and no contacts? Or do you really need the full control of Google over your phone?

    For GApps do a factory reset and flash an arm 11 version
    1
    Thanks for update, love it
  • 25
    2okPze5.png


    Introduction

    LineageOS 18.1 is a free, community built, aftermarket firmware distribution of Android 11.0, which is designed to increase performance and reliability over stock Android for your device. The port for the Exynos7580 based devices was created by @Stricted and I along with many contributions from other people in the Android community.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    This is a combined thread for the A series Exynos7580 based devices.

    What works
    Everything
    What doesn't work
    IMS services (VoLTE, VoWiFi, etc). Samsung has their own proprietary implementation. It is not really possible to easily port that to LineageOS.

    Any issues will be ignored if you do not provide:
    a) Logcat
    b) /proc/last_kmsg
    c) LineageOS bug report
    d) dmesg

    Also do not under any circumstances post bug reports if you are using substratum themes or unsupported magisk modules or you have performed any system modifications

    Installation

    • Install the latest TWRP for your device
    • Make a full backup (just in case something goes wrong)
    • Do a full wipe (Cache, Data, System)
    • If this is your first time on a LineageOS ROM format data, you also need to have been running your latest stock OS version
    • Flash the latest LineageOS 18.1
    • Opengapps
    • (Magisk if required)
    • Do NOT install the TWRP app if prompted, this will most likely cause a bootloop
    Upgrade from official 17.1
    • Make a full backup
    • Flash in this order:
    • LineageOS-18.1
    • OpenGapps 11
    • (Magisk if required)
    • And then this migration zip available HERE
    Downloads
    Latest unofficial releases HERE
    OpenGapps HERE
    TWRP is available HERE
    Magisk is available HERE

    Thanks
    @Stricted
    @dariotr
    @Androbots
    The LineageOS team
    All the testers on the Discord group (https://discord.gg/8fp9cr7)
    And all others who have contributed to the Exynos projects past and present

    If you like my work consider buying me a coffee:


    Source Code: https://github.com/LineageOS

    Device trees:
    https://github.com/LineageOS/android_device_samsung_a3xelte
    https://github.com/LineageOS/android_device_samsung_a5xelte
    https://github.com/LineageOS/android_device_samsung_a7xelte
    https://github.com/LineageOS/android_device_samsung_universal7580-common

    Kernel: https://github.com/LineageOS/android_kernel_samsung_universal7580

    ROM OS Version: Android 11
    Based On: LineageOS

    Version Information
    Status:
    Stable

    Created 2020-08-20
    Last Updated 2020-08-20
    12
    Hi,

    Update time!

    Changes 20-01-2022 (all devices):
    • Synced to latest source (incl January security patch)
    • Enable WiFi display
    • Switch to GNSS HIDL service (improves GPS stability, thanks @retiredtab @impasta)
    • Fixed power profile switching (restores correct CPU speed when going back to balanced mode)
    Changes 20-01-2022 (A510F/A710F):
    • Enable fastcharge hal (allows disabling fastcharge)
    Kind regards,
    Danny
    10
    Hi,

    New update uploaded.

    Changes 15-03-2022:
    • Synced to latest LineageOS source (including march security patch)
    Kind regards,
    Danny
    9
    Just uploaded a new update.

    Main changes 21-09-2021:
    • Resysnced source (includes updated webview)
    • Fixed Wi-Fi hotspot (broken in last build)
    • Added slow/fast charging detection (indicates on lock screen)
    Kind regards,
    Danny
    8
    Thats real, audio and sensors are not working at the moment,
    I'm waiting for logs and try to fix bugs, I will create an own thread soon.