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
import java.util.*; | |
import java.io.*; | |
public class GLSCommandFinder | |
{ | |
private static final String glsCmdHeaderPath = "/sdcard/AppProjects/gl-streaming/common/gls_command.h"; | |
private static List<Integer> cmdlineList; | |
private static List<String> commandList; | |
public static void main(String[] args) | |
{ |
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
#include <dlfcn.h> | |
#include <cstring> | |
#include <android/dlext.h> | |
#include "log.h" // LOGE, LOGW, etc... | |
bool (*_android_init_namespaces)(const char* public_ns_sonames, const char* anon_ns_library_path) = nullptr; | |
bool __unused android_init_namespaces(const char* public_ns_sonames, const char* anon_ns_library_path) { | |
if (!_android_init_namespaces) { | |
void *libdl_handle; |
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
/* | |
* These following steps are not currently automated, so you need to do manually for now. | |
* download assets-v0.zip at https://cdn.discordapp.com/attachments/724163890803638277/923349783589056522/assets-v0.zip | |
* extract and copy the shaders folder to the resources folder. | |
* edit include/light.glsl add `#define texture texture2D` after `#version 100` line | |
*/ | |
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.event.WindowAdapter; |
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
// fork() and rootless fix for Procursus bootstrap (named libTS2JailbreakEnv.dylib) | |
// there's lots of stuff not cleaned up, feel free to play around | |
// Requires fishhook from https://github.com/khanhduytran0/fishhook | |
// Usage: inject to libiosexec.dylib, ensure all binaries have get-task-allow entitlement | |
#include <assert.h> | |
#include <errno.h> | |
#include <fcntl.h> | |
#include <mach/mach_init.h> | |
#include <mach-o/dyld.h> |
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
#import <UIKit/UIKit.h> | |
// Make Dynamic Island transparent | |
@interface _SBGainMapView : UIView | |
@end | |
%hook _SBGainMapView | |
- (void)setFrame:(CGRect)frame { | |
%orig(frame); | |
self.hidden = YES; |