-
Notifications
You must be signed in to change notification settings - Fork 1
phhusson/gfx_apk
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ro.gfx.driver.0=me.phh.adreno_gfx ro.hardware.egl=adreno adb push ... /system/priv-app/gfx.apk cp llndk.libraries.27.txt llndk.libraries.26.txt cp vndksp.libraries.27.txt vndksp.libraries.26.txt rm -Rf *; unzip ../app/build/outputs/apk/debug/app-debug.apk; cp -R ../lib .; rm -f ../unsigned.apk && zip -0 ../unsigned.apk $(find -type f) && zipalign -zvpf 4 ../unsigned.apk ../unsigned-aligned.apk && signapk ../../treble_app/keys/platform.x509.pem ../../treble_app/keys/platform.pk8 ../unsigned-aligned.apk ../signed.apk && adb install -r ../signed.apk select game driver in developer settings frameworks/base/core/java/android/os/GraphicsEnvironment.java ``` @@ -718,10 +718,12 @@ public class GraphicsEnvironment { // ApplicationInfo from context directly. ai = context.getApplicationInfo(); } + /* if (ai.isPrivilegedApp() || (ai.isSystemApp() && !ai.isUpdatedSystemApp())) { - if (DEBUG) Log.v(TAG, "Ignoring driver package for privileged/non-updated system app."); + if (DEBUG) Log.e(TAG, "Ignoring driver package for privileged/non-updated system app."); return null; } + */ final boolean enablePrereleaseDriver = (ai.metaData != null && ai.metaData.getBoolean(METADATA_DEVELOPER_DRIVER_ENABLE)) ```
About
Android OpenGL ES driver inside an apk
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published