webOS 24 Upgrade Causes Native App To Crash

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.

Please re-login to the Developer Mode app and check again. If you turn off the Dev Mode Status, the TV will reboot, and you can log in to the app again. Thank you.

Hello, yes this would be fixing the issue as I mentioned. However I think it’s better for dev mode app to do that automatically.

Re-logging to the Developer Mode app will fix the issue. Please check and let us know if the problem persists. Thank you.

Yes, it will be fixed by re-logging in to the dev mode app.