The source of many app crashes is actually the Huawei libgui library in the way it's actually used within this rom.
The Huawei HWC does only work out of the box with the Huawei Surfaceflinger. However the Huawei Surfaceflinger depends on a few functions in the libgui library.
The first thing I want to try is to recreate those functions and inject or alter them in the CM libgui as it looks like the most simple (but quite dirty) solution. The long term goal would be eighter to do the same for the Surfaceflinger or even use a full featured opensource HWC.
We're talking about the version of the library included in the downloadlink within vendor6.0/~readme
The source of many app crashes is actually the Huawei libgui library in the way it's actually used within this rom.
The Huawei HWC does only work out of the box with the Huawei Surfaceflinger. However the Huawei Surfaceflinger depends on a few functions in the libgui library.
The first thing I want to try is to recreate those functions and inject or alter them in the CM libgui as it looks like the most simple (but quite dirty) solution. The long term goal would be eighter to do the same for the Surfaceflinger or even use a full featured opensource HWC.
We're talking about the version of the library included in the downloadlink within vendor6.0/~readme
Here's a reference; https://yurichev.com/mirrors/ARMv8-A_Architecture_Reference_Manual_(Issue_A.a).pdf Here's the CM libgui source: https://github.com/CyanogenMod/android_frameworks_native/tree/stable/cm-13.0-ZNH5Y/libs/gui
No1 - Missing
This is pseudocode from ida
raw:
This is the pseudocode from the subfunction which does that call - there's only one in libsurfaceflinger.so.