[Nexus 9 General] SirRGB:
flounder: use absolute path for zygote whitelist shim · SirRGB/android_device_htc_flounder@510192b

Some apex binaries won't resolve just the so name Change-Id: I55819f57949ec51e35e2035d85a08f9ff01ee682 Signed-off-by: SirRGB <sirrgb@proton.me>

github.com

This fixed the last error in my post, with libshim_zw.so

I also reverted the binderized composer as the mocha dev suggested, which seems to have fixed the composer crashing, but surfaceflinger now errors out...

05-08 18:03:51.545 172 172 E hwcomposer: no primary display found
--------- beginning of crash
05-08 18:03:51.546 172 172 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x48 in tid 172 (surfaceflinger), pid 172 (surfaceflinger)
05-08 18:03:51.568 173 173 I ServiceManager: Waiting for service 'SurfaceFlinger' on '/dev/binder'...
05-08 18:03:51.636 212 212 I ServiceManagement: Registered android.hardware.cas@1.1::IMediaCasService/default (start delay of 1126ms)
05-08 18:03:51.636 212 212 I ServiceManagement: Removing namespace from process name android.hardware.cas@1.1-service to cas@1.1-service.
05-08 18:03:51.659 242 242 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
05-08 18:03:51.659 242 242 E libc : failed to connect to tombstoned: No such file or directory
05-08 18:03:51.659 242 242 I crash_dump64: performing dump of process 172 (target tid = 172)
05-08 18:03:51.669 173 173 I ServiceManager: Waiting for service 'SurfaceFlinger' on '/dev/binder'...
05-08 18:03:51.673 227 227 D NfcNciHal: find found APPL_TRACE_LEVEL=(0x1)
05-08 18:03:51.673 242 242 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-08 18:03:51.673 242 242 F DEBUG : LineageOS Version: '17.1-20240412-UNOFFICIAL-flounder'
05-08 18:03:51.673 242 242 F DEBUG : Build fingerprint: 'google/volantis/flounder:7.1.1/N9F27M/4333998:user/release-keys'
05-08 18:03:51.674 242 242 F DEBUG : Revision: '0'
05-08 18:03:51.674 227 227 I USERIAL_LINUX: USERIAL_Init
05-08 18:03:51.674 242 242 F DEBUG : ABI: 'arm64'
05-08 18:03:51.674 227 227 I NfcNciHal: HAL_NfcInitialize (): NFC_HAL_TASK id=0
05-08 18:03:51.674 242 242 F DEBUG : Timestamp: 2024-05-08 18:03:51+0000
05-08 18:03:51.674 242 242 F DEBUG : pid: 172, tid: 172, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
05-08 18:03:51.674 242 242 F DEBUG : uid: 1000
05-08 18:03:51.674 242 242 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x48
05-08 18:03:51.674 242 242 F DEBUG : Cause: null pointer dereference
05-08 18:03:51.674 242 242 F DEBUG : x0 0000000000000000 x1 0000000000000000 x2 000000785cc072c0 x3 000000785ca14840
05-08 18:03:51.674 242 242 F DEBUG : x4 0000000000000000 x5 0080000000000000 x6 5cff7164726e6f6c x7 7f7f7f7f7f7f7f7f
05-08 18:03:51.674 242 242 F DEBUG : x8 0000000000000003 x9 0000000000002ea0 x10 0000000000000000 x11 fffffffff0000000
05-08 18:03:51.674 242 242 F DEBUG : x12 000000785cc072c8 x13 ffffffffe0000000 x14 0000000000000001 x15 ffffffffffffffff
05-08 18:03:51.674 242 242 F DEBUG : x16 000000785ddba7b0 x17 000000785dd493fc x18 0000000000000000 x19 0000000000000000
05-08 18:03:51.674 242 242 F DEBUG : x20 0000007858116008 x21 0000007858118f1c x22 00000000ffffffed x23 f5c37eb61b6cbb4b
05-08 18:03:51.674 242 242 F DEBUG : x24 0000007858118f1c x25 000000785ede8020 x26 000000785ca4f8a0 x27 000000785ca4f8a0
05-08 18:03:51.675 242 242 F DEBUG : x28 000000785ca4f8b8 x29 0000007ff7f0b360
05-08 18:03:51.675 242 242 F DEBUG : sp 0000007ff7f0b350 lr 0000007855848c34 pc 0000007855852b48
05-08 18:03:51.742 242 242 F DEBUG :
05-08 18:03:51.742 242 242 F DEBUG : backtrace:
05-08 18:03:51.742 242 242 F DEBUG : #00 pc 0000000000011b48 /vendor/lib64/hw/hwcomposer.tegra132.so (nvfb_close+16) (BuildId: 6705c4d3a00f28d97ea5a2ebf006efef)
05-08 18:03:51.742 242 242 F DEBUG : #01 pc 0000000000007c30 /vendor/lib64/hw/hwcomposer.tegra132.so (BuildId: 6705c4d3a00f28d97ea5a2ebf006efef)
05-08 18:03:51.743 242 242 F DEBUG : #02 pc 0000000000007b24 /vendor/lib64/hw/hwcomposer.tegra132.so (BuildId: 6705c4d3a00f28d97ea5a2ebf006efef)
05-08 18:03:51.744 242 242 F DEBUG : #03 pc 0000000000008488 /vendor/lib64/hw/android.hardware.graphics.composer@2.1-impl.so (android::hardware::graphics::composer::V2_1::passthrough::HwcLoader::openDeviceWithAdapter(hw_module_t const*, bool*)+368) (BuildId: 4ba750ef83992a4596451c6ac24670a2)
05-08 18:03:51.745 242 242 F DEBUG : #04 pc 0000000000008174 /vendor/lib64/hw/android.hardware.graphics.composer@2.1-impl.so (android::hardware::graphics::composer::V2_1::passthrough::HwcLoader::createHalWithAdapter(hw_module_t const*)+44) (BuildId: 4ba750ef83992a4596451c6ac24670a2)
05-08 18:03:51.745 242 242 F DEBUG : #05 pc 00000000000080a4 /vendor/lib64/hw/android.hardware.graphics.composer@2.1-impl.so (android::hardware::graphics::composer::V2_1::passthrough::HwcLoader::load()+140) (BuildId: 4ba750ef83992a4596451c6ac24670a2)
05-08 18:03:51.745 242 242 F DEBUG : #06 pc 000000000005fd00 /system/lib64/libhidlbase.so (_ZZN7android8hardware25PassthroughServiceManager3getERKNS0_11hidl_stringES4_ENKUlPvRKNSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEESE_E_clES5_SE_SE_+96) (BuildId: ed5f57746870dfc5f88978e81878dbcf)
05-08 18:03:51.745 242 242 F DEBUG : #07 pc 000000000005bb98 /system/lib64/libhidlbase.so (android::hardware::PassthroughServiceManager::openLibs(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::function<bool (void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)> const&)+1328) (BuildId: ed5f57746870dfc5f88978e81878dbcf)
05-08 18:03:51.745 242 242 F DEBUG : #08 pc 000000000005e4f8 /system/lib64/libhidlbase.so (android::hardware::PassthroughServiceManager::get(android::hardware::hidl_string const&, android::hardware::hidl_string const&)+92) (BuildId: ed5f57746870dfc5f88978e81878dbcf)
05-08 18:03:51.746 242 242 F DEBUG : #09 pc 000000000005cd20 /system/lib64/libhidlbase.so (android::hardware::details::getRawServiceInternal(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool, bool)+1544) (BuildId: ed5f57746870dfc5f88978e81878dbcf)
05-08 18:03:51.746 242 242 F DEBUG : #10 pc 000000000001e470 /system/lib64/android.hardware.graphics.composer@2.1.so (_ZN7android8hardware7details18getServiceInternalINS0_8graphics8composer4V2_112BpHwComposerENS5_9IComposerEvvEENS_2spIT0_EERKNSt3__112basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEEbb+204) (BuildId: d08fd29cad9e4b935f9c1d21b7be9455)
05-08 18:03:51.746 242 242 F DEBUG : #11 pc 000000000008b69c /system/lib64/libsurfaceflinger.so (android::Hwc2::impl::Composer::Composer(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)+448) (BuildId: 523904cc2f806916f24dbf9d999fd6ad)
05-08 18:03:51.746 242 242 F DEBUG : #12 pc 000000000010df48 /system/lib64/libsurfaceflinger.so (_ZZN7android14surfaceflinger20createSurfaceFlingerEvEN7Factory16createHWComposerERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE$f8e1ddd5c1a01af33e02be699775c0a6+56) (BuildId: 523904cc2f806916f24dbf9d999fd6ad)
05-08 18:03:51.746 242 242 F DEBUG : #13 pc 00000000000d1970 /system/lib64/libsurfaceflinger.so (android::SurfaceFlinger::init()+260) (BuildId: 523904cc2f806916f24dbf9d999fd6ad)
05-08 18:03:51.746 242 242 F DEBUG : #14 pc 00000000000031bc /system/bin/surfaceflinger (main+364) (BuildId: b78b8993428f334aea26a30d4e6545bc)
05-08 18:03:51.747 242 242 F DEBUG : #15 pc 000000000007d780 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108) (BuildId: c1cfbc95eade93233ca9f01da741aea6)