naz664 / crDroid_gsi

Script and patches for building PHH-Treble based crDroid GSI
156 stars 32 forks source link

Bootloop on m20lte: logcat says "avc: denied" #72

Open finalsecure opened 8 months ago

finalsecure commented 8 months ago

I have m20lte device, I installed SamarV-121's m20lte android 14 vendor, treble info says ab-arm64 image enough. I formatted data, installed crDroid-14 bvN system image from releases and rebooted. Than bootloop occured, logcat spamming this lines: 01-27 13:10:35.841 4432 4438 D BootAnimation: Playing files = /product/media/bootanimation.zip/part1, Requested repeat = 0, playUntilComplete = true 01-27 13:10:35.839 4172 4172 W binder:4172_2: type=1400 audit(0.0:1758): avc: denied { read } for scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:r:surfaceflinger:s0 tclass=file permissive=0 01-27 13:10:35.850 4452 4452 W HidlServiceManagement: Waited one second for vendor.lineage.touch@1.0::IGloveMode/default 01-27 13:10:35.851 3382 3382 I hwservicemanager: Since vendor.lineage.touch@1.0::IGloveMode/default is not registered, trying to start it as a lazy HAL (if it's not configured to be a lazy HAL, it may be stuck starting or still starting). 01-27 13:10:35.849 4172 4172 W binder:4172_2: type=1400 audit(0.0:1759): avc: denied { read } for scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:r:surfaceflinger:s0 tclass=file permissive=0 01-27 13:10:35.854 4452 4452 I HidlServiceManagement: getService: Trying again for vendor.lineage.touch@1.0::IGloveMode/default... 01-27 13:10:35.857 3382 4717 W libc : Unable to set property "ctl.interface_start" to "vendor.lineage.touch@1.0::IGloveMode/default": error code: 0x20 01-27 13:10:35.857 3382 4717 I hwservicemanager: Tried to start vendor.lineage.touch@1.0::IGloveMode/default as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly. 01-27 13:10:35.868 0 0 E init : Control message: Could not find 'vendor.lineage.touch@1.0::IGloveMode/default' for ctl.interface_start from pid: 3382 (/system/bin/hwservicemanager) 01-27 13:10:35.879 4172 4172 W binder:4172_2: type=1400 audit(0.0:1760): avc: denied { read } for scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:r:surfaceflinger:s0 tclass=file permissive=0 01-27 13:10:35.879 4172 4172 W binder:4172_2: type=1400 audit(0.0:1761): avc: denied { read } for scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:r:surfaceflinger:s0 tclass=file permissive=0 01-27 13:10:35.909 4172 4172 W binder:4172_2: type=1400 audit(0.0:1762): avc: denied { read } for scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:r:surfaceflinger:s0 tclass=file permissive=0 01-27 13:10:35.919 4172 4172 W binder:4172_2: type=1400 audit(0.0:1763): avc: denied { read } for scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:r:surfaceflinger:s0 tclass=file permissive=0 ... I tried the following but it didn't solve the problem:

What should I do? @naz664

Some resources that I think might be helpful regarding the kernel/vendor I have: https://github.com/SamarV-121/android_device_samsung_m20lte https://github.com/SamarV-121/android_device_samsung_universal7904-common https://github.com/SamarV-121/android_kernel_samsung_universal7904 https://github.com/SamarV-121/proprietary_vendor_samsung