Background
Some models can get upgrade from webOS 22/23 to 24.
After upgrade, native apps installed by developer mode stopped working.
Symptoms
- Native app crashes immediately after launch
- Crashing programs have logs about
EGL initialization failure
- Factory reset, or disabling developer mode and enable back again solves the issue
Analysis
Changes found in jail_app.conf
pulled from problematic model and OK model.
@@ -241,6 +241,12 @@
mkdir /dev/input
mount ro /dev/input
+# for vtg
+if $lgsoc == true
+ copynod /dev/dma_buf_unified
+ chmod 666 /dev/dma_buf_unified
+endif
+
# for directmedia
# if device is added such as mtk, mstar.., this condition should be modified.
if $emulator != true
Without accessible /dev/dma_buf_unified
, libmali can’t initialize and will fail.
Solution
Developer mode should update jail_app.conf after major OS upgrade.