This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef long jint; | |
typedef int64_t jlong; | |
typedef signed char jbyte; | |
/* | |
* JNI Types | |
*/ | |
typedef unsigned char jboolean; | |
typedef unsigned short jchar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Bash script to install SiS Mirage 3+ graphics drivers on Linux | |
# Supports 671/672MX graphics cards | |
# | |
# Created in March 2019 | |
# | |
# Tested on: | |
# - Lubuntu 18.04 (32-bit) with X.Org v1.19 | |
# - Xubuntu 18.04 (64-bit) with X.Org v1.20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Java.perform(function() { | |
var surface_view = Java.use('android.view.SurfaceView'); | |
var set_secure = surface_view.setSecure.overload('boolean'); | |
set_secure.implementation = function(flag){ | |
console.log("setSecure() flag called with args: " + flag); | |
set_secure.call(false); | |
}; |