Abort message: 'Could not find OpenGL ES implementation'

I am trying to run lollipop on my device and when I flashed the image I get I get the following log

--------- beginning of crash
F/libc    ( 1565): Fatal signal 6 (SIGABRT), code -6 in tid 1565 (surfaceflinger)
I/DEBUG   ( 1572): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   ( 1572): Build fingerprint:     'Android/full_arndale/arndale:5.0.2/LRX22G/veera05211114:eng/test-keys'
I/DEBUG   ( 1572): Revision: '0'
I/DEBUG   ( 1572): ABI: 'arm'
I/DEBUG   ( 1572): pid: 1565, tid: 1565, name: surfaceflinger  >>>     /system/bin/surfaceflinger <<<
I/DEBUG   ( 1572): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG   ( 1572): Abort message: 'couldn't find an OpenGL ES implementation'
I/DEBUG   ( 1572):     r0 00000000  r1 0000061d  r2 00000006  r3 00000000
I/DEBUG   ( 1572):     r4 b6f34114  r5 00000006  r6 00000002  r7 0000010c
I/DEBUG   ( 1572):     r8 b6962000  r9 00000000  sl 00000000  fp beebfa9c
I/DEBUG   ( 1572):     ip 0000061d  sp beebf510  lr b6ebdf21  pc b6ee1858  cpsr 60070010
I/DEBUG   ( 1572): 
I/DEBUG   ( 1572): backtrace:
I/DEBUG   ( 1572):     #00 pc 0003a858  /system/lib/libc.so (tgkill+12)
I/DEBUG   ( 1572):     #01 pc 00016f1d  /system/lib/libc.so (pthread_kill+52)
I/DEBUG   ( 1572):     #02 pc 00017b2f  /system/lib/libc.so (raise+10)
I/DEBUG   ( 1572):     #03 pc 0001439d  /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG   ( 1572):     #04 pc 00012a3c  /system/lib/libc.so (abort+4)
I/DEBUG   ( 1572):     #05 pc 00007a59  /system/lib/libcutils.so (__android_log_assert+88)
I/DEBUG   ( 1572):     #06 pc 000430b9  /system/lib/libEGL.so
I/DEBUG   ( 1572):     #07 pc 00010641  /system/lib/libEGL.so
I/DEBUG   ( 1572):     #08 pc 00010e21  /system/lib/libEGL.so (eglGetDisplay+24)
I/DEBUG   ( 1572):     #09 pc 000171d5  /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::init()+44)
I/DEBUG   ( 1572):     #10 pc 000007e1  /system/bin/surfaceflinger
I/DEBUG   ( 1572):     #11 pc 000128ed  /system/lib/libc.so (__libc_init+44)
I/DEBUG   ( 1572):     #12 pc 000008d8  /system/bin/surfaceflinger
I/mediaserver( 1574): ServiceManager: 0xb60500c0
I/AudioFlinger( 1574): Using default 3000 mSec as standby time.
I/ServiceManager( 1574): Waiting for service batterystats...
I/DEBUG   ( 1572): 
I/DEBUG   ( 1572): Tombstone written to: /data/tombstones/tombstone_00
 I/ServiceManager( 1563): service 'media.audio_flinger' died

      

I can't figure out what's wrong with openGl? Kitkat works fine on my device, when i tried lollipop i get this problem

+3


source to share


4 answers


this is because the OpenGL ES libraries found in / system / lib / egl or / vendor / lib / egl



+3


source


Adding to colordancer's answer, here is the line which reports a fatal error:

https://android.googlesource.com/platform/frameworks/native/+/android-7.0.0_r1/opengl/libs/EGL/Loader.cpp#229

This is because it doesn't find the EGL ES libraries in the / vendor or / system directory.

Currently

libEGL.so
libGLESv2.so
libGLESv1_CM.so

      

These are the available EGL ES libraries for Android.



Solution: Just find the file from the rom stock and put it in the ROM and check if it continued. If so, you can add it to the vendor pre-release modules. If not, another problem may arise

Notes Currently my OnePlus 2 running my halogenOS build has the following:

In / vendor

root@:/vendor # busybox find . | grep egl                                  
./lib/egl
./lib/egl/eglSubDriverAndroid.so
./lib/egl/libEGL_adreno.so
./lib/egl/libGLESv1_CM_adreno.so
./lib/egl/libGLESv2_adreno.so
./lib/egl/libQTapGLES.so
./lib/egl/libq3dtools_adreno.so
./lib/egl/libq3dtools_esx.so
./lib64/egl
./lib64/egl/eglSubDriverAndroid.so
./lib64/egl/libEGL_adreno.so
./lib64/egl/libGLESv1_CM_adreno.so
./lib64/egl/libGLESv2_adreno.so
./lib64/egl/libQTapGLES.so
./lib64/egl/libq3dtools_adreno.so
./lib64/egl/libq3dtools_esx.so

      

And in / system

root@:/system # find . | grep egl
./app/Gallery2/lib/arm64/libjni_eglfence.so
./lib64/libjni_eglfence.so
./vendor/lib/egl
./vendor/lib/egl/eglSubDriverAndroid.so
./vendor/lib/egl/libEGL_adreno.so
./vendor/lib/egl/libGLESv1_CM_adreno.so
./vendor/lib/egl/libGLESv2_adreno.so
./vendor/lib/egl/libQTapGLES.so
./vendor/lib/egl/libq3dtools_adreno.so
./vendor/lib/egl/libq3dtools_esx.so
./vendor/lib64/egl
./vendor/lib64/egl/eglSubDriverAndroid.so
./vendor/lib64/egl/libEGL_adreno.so
./vendor/lib64/egl/libGLESv1_CM_adreno.so
./vendor/lib64/egl/libGLESv2_adreno.so
./vendor/lib64/egl/libQTapGLES.so
./vendor/lib64/egl/libq3dtools_adreno.so
./vendor/lib64/egl/libq3dtools_esx.so

      

+1


source


1) Download the appropriate hardware drivers, especially the GPU that provides egl implementations such as libGLESv2_andreno.so, libGLESv2.so...

, and extract the binaries to the AOSP directory.

Link link: https://developers.google.com/android/nexus/drivers

2) Android System Image Recovery

make -j8

3) Delete the data and write it to the device

fastboot -w

fastboot flashall

0


source


It looks like you haven't included the required proprietary libraries.

To download specific libraries, please follow the instructions in this. After that, put the binaries in the root directory of your AOSP source project and run

make clobber && make -j4

      

Then you're good to go.

0


source







All Articles