I’ve been able to get hardware accelerated KODI working on this build now!!!
Sort-of.
I actually used RKMC, but with the rockchip “special sauce” in it disabled.
Here is how to do it;
You download your official RKMC from here:
https://github.com/JamesLinEngineer/RKMC/blob/Jarvis/RKMC-Build/rkmcapp-armeabi-v7a-debug.apk
Now you launch it. It will complain about broken or missing libraries. That’s ok – just ignore it.
Go into System --> Settings --> Video --> RKMC and DISABLE EVERYTHING.
Now it will work. Including hardware acceleration.
ABOUT HARDWARE ACCELERATION, and why it now works without the RK hacks;
It seems that for the Android 9.0 release, RK has finally, CORRECTLY implemented MediaCodec/libstagefrighthw. So when you disable the RK acceleration hacks, it falls back to the now-working MediaCodec path.
I verified by playing a 1080p HEVC that neither my Nexus Player nor Razer Forge are capable of playing. It played PERFECTLY. Not the slightest hint of choppiness, and the playback CPU load is reasonable. Less than 50% of one core during playback of 1080p HEVC, which would be impossible without hardware acceleration.
I don’t know (yet) what RKMC does to avoid the EGL crash that the official kodi builds exhibit – I even tried the same version. I’ll compare the source against the real kodi and see what they changed in that regard. Hopefully, it will be something easy to reproduce in 18.x.
Ah, even better… SPMC works! No pirate crap and no need to muck around with settings.
http://download.semperpax.com/spmc/android-arm/SPMC-17.6a2-spmc-ed022ef-armeabi-v7a.apk