Support for rootless JB till iOS 16.5 (tested) (screendumpLowFrame)
This commit is contained in:
parent
03bd97c273
commit
91e167e25d
|
@ -1 +1,2 @@
|
||||||
.theos
|
.theos
|
||||||
|
packages
|
|
@ -1,7 +1,8 @@
|
||||||
TARGET = iphone:14.4:10.0
|
TARGET = iphone:16.5:14.0
|
||||||
|
|
||||||
include $(THEOS)/makefiles/common.mk
|
include $(THEOS)/makefiles/common.mk
|
||||||
|
|
||||||
|
PACKAGE_BUILDNAME := rootless
|
||||||
|
|
||||||
TOOL_NAME = screendumpd
|
TOOL_NAME = screendumpd
|
||||||
$(TOOL_NAME)_FILES = main.mm
|
$(TOOL_NAME)_FILES = main.mm
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "Building package for ROOTLESS Jailbreak"
|
||||||
|
export THEOS_PACKAGE_SCHEME=rootless
|
||||||
|
|
||||||
|
make clean
|
||||||
|
make package FINALPACKAGE=1
|
||||||
|
|
||||||
|
unset THEOS_PACKAGE_SCHEME
|
|
@ -1,4 +1,4 @@
|
||||||
TARGET = iphone:14.4:10.0
|
TARGET = iphone:16.5:14.0
|
||||||
|
|
||||||
include $(THEOS)/makefiles/common.mk
|
include $(THEOS)/makefiles/common.mk
|
||||||
|
|
||||||
|
|
|
@ -2,10 +2,12 @@
|
||||||
#include <substrate.h>
|
#include <substrate.h>
|
||||||
#include <rfb/rfb.h>
|
#include <rfb/rfb.h>
|
||||||
#import <notify.h>
|
#import <notify.h>
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
#import <rootless.h>
|
||||||
|
|
||||||
#undef NSLog
|
#undef NSLog
|
||||||
|
|
||||||
#define kSettingsPath @"//var/mobile/Library/Preferences/com.cosmosgenius.screendump.plist"
|
#define kSettingsPath @"/var/jb/var/mobile/Library/Preferences/com.cosmosgenius.screendump.plist"
|
||||||
|
|
||||||
extern "C" UIImage* _UICreateScreenUIImage();
|
extern "C" UIImage* _UICreateScreenUIImage();
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Package: com.cosmosgenius.screendump13
|
Package: com.cosmosgenius.screendump13
|
||||||
Name: screendump
|
Name: screendump
|
||||||
Depends: mobilesubstrate, preferenceloader
|
Depends: preferenceloader
|
||||||
Architecture: iphoneos-arm
|
Architecture: iphoneos-arm
|
||||||
Description: VNC for ios
|
Description: VNC for ios
|
||||||
Maintainer: Sharat M R <cosmosgenius@gmail.com>
|
Maintainer: Sharat M R <cosmosgenius@gmail.com>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
launchctl unload //Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
launchctl unload /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
||||||
launchctl load //Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
launchctl load /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
||||||
|
|
||||||
exit 0;
|
exit 0;
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
launchctl unload //Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
|
||||||
|
|
||||||
exit 0;
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
launchctl unload /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
||||||
|
|
||||||
|
exit 0;
|
|
@ -6,7 +6,7 @@
|
||||||
<string>com.julioverne.screendumpd</string>
|
<string>com.julioverne.screendumpd</string>
|
||||||
<key>ProgramArguments</key>
|
<key>ProgramArguments</key>
|
||||||
<array>
|
<array>
|
||||||
<string>/usr/libexec/screendumpd</string>
|
<string>/var/jb/usr/libexec/screendumpd</string>
|
||||||
</array>
|
</array>
|
||||||
<key>RunAtLoad</key>
|
<key>RunAtLoad</key>
|
||||||
<true/>
|
<true/>
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <substrate.h>
|
#include <substrate.h>
|
||||||
#include <rfb/rfb.h>
|
#include <rfb/rfb.h>
|
||||||
#import <xpc/xpc.h>
|
#import <Foundation/Foundation.h>
|
||||||
|
#import <IOSurface/IOSurfaceRef.h>
|
||||||
|
#import <rootless.h>
|
||||||
|
|
||||||
#define kSettingsPath @"//var/mobile/Library/Preferences/com.cosmosgenius.screendump.plist"
|
#define kSettingsPath @"/var/jb/var/mobile/Library/Preferences/com.cosmosgenius.screendump.plist"
|
||||||
|
|
||||||
static bool CCSisEnabled = true;
|
static bool CCSisEnabled = true;
|
||||||
static NSString *CCSPassword = nil;
|
static NSString *CCSPassword = nil;
|
||||||
|
|
Loading…
Reference in New Issue