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
|
||||
|
||||
PACKAGE_BUILDNAME := rootless
|
||||
|
||||
TOOL_NAME = screendumpd
|
||||
$(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
|
||||
|
||||
|
|
|
@ -2,10 +2,12 @@
|
|||
#include <substrate.h>
|
||||
#include <rfb/rfb.h>
|
||||
#import <notify.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <rootless.h>
|
||||
|
||||
#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();
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Package: com.cosmosgenius.screendump13
|
||||
Name: screendump
|
||||
Depends: mobilesubstrate, preferenceloader
|
||||
Depends: preferenceloader
|
||||
Architecture: iphoneos-arm
|
||||
Description: VNC for ios
|
||||
Maintainer: Sharat M R <cosmosgenius@gmail.com>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
launchctl unload //Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
||||
launchctl load //Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
||||
launchctl unload /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
||||
launchctl load /var/jb/Library/LaunchDaemons/com.julioverne.screendumpd.plist
|
||||
|
||||
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>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>/usr/libexec/screendumpd</string>
|
||||
<string>/var/jb/usr/libexec/screendumpd</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
#include <errno.h>
|
||||
#include <substrate.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 NSString *CCSPassword = nil;
|
||||
|
|
Loading…
Reference in New Issue