#development
1 messages · Page 55 of 1
this is mac os?
uhhh, this is how its been for me on my other mac os VMs aswell
@hasty ruin run echo $THEOS
so just re run install comand?
you have to remove it first
theos uses ~/theos/
everywhere except checkra1n idevices
wha
(bc checkra1n can't exec from var)
why is mine in /opt/theos then
skill issue
its always been in /opt/theos for me
the theos docs have said to use ~/theos for as long as i can remember
and now it uses an install script
which uses ~/theos
not since like 2019 at least
its been ~/theos as long as I've been developing
show makefile
remove line 5
How can i make my app run pip? Do i need to link to anything so that i can use NSString?
To run the pip binary you'd need to spawn it somehow
Does anyone here use Zed as their editor?
its a really shit one cant lie
but i do have it because its unfortunately fast
So i have a bool in swift and a bool with the same name in cpp, the swift one gets changed if my toggle gets changed.
I want the cpp bool to also change when the toggle is changed. So i had the idea to make a cpp function which gets called once the swift bool gets changed and then tries to change the cpp bool too. However i want the cpp function take the bool it needs to change as a parameter, because i have a lot of bools and i dont want to create a new function for each of them. How can i do that, or what would be a better method of doing so? In the end i just need to get the value of the bools assigned to the switches
Is mach_port_t and task_port_t the same

Are the names the same?
no, but what do i need to do to use task_port_t
its in kernel
how can i make sure my process in my launchdaemon restarts if the process is killed
or stops
i already saw that
2nd one is in kernel?
its in mach?
in task in mach ???
which file is it
Task.h?
k thanks, i didnt know xcode has dev docs built in
wtf
NSObjCRuntime.h doesnt know what a nsstring is
i didnt include the header which was task.h
where exactly is that header
somewhere in foundation i think
.
capt ur a dumbass for getting ur acct disabled
probably bc ur not getting unbanned
u need to show them ur id
bozo
me personally im never showing those furries my id
does it matter if i use include or import
these are questions u can google big bro
#import also works on gcc i think for c code
its just not recommended
use header guards if ur not on apple
yea
how much
Generally Not Used
so i need to include nsstring in the file where i included foundation.h?
cuz it still gives the errors
no
ok
where then
it doesnt know anything
wait i need to extern c
dont i
ok i dont
If i have a toggle in swift, what would be the best way to check if its on or off from my cpp file? I had the idea of making it call a cpp function once the toggle changes, but i dont want to make a new function for each toggle
Wouldnt that need a function for each of the toggles?
Since the toggles all need a bool, it would just check for the bool right?
Hm ok, then ill do what i did now.
Ill see which one suits me better tomorrow then, thank you.
case 13
Have it toggle a bool and check the value in cpp (if you can, the most multi-language I do is like two lines of objc for my Swift app) is how I'd do it. This is most likely not the best way though
iirc newest swift allows straight CPP interop, though that may still be in beta or something
That sounds right
case 14?
case 16?
So in including a .h file from my .cpp.
In the .h it includes Foundation.h.
Foundation.h includes NSObjCRuntime.h
But that doenst know what a nsstring is
ig its bc i included it in a .cpp file?
Yes
NSString is objc
So use either .m for objc or .mm for objc++
Mm then
#import <Foundation/Foundation.h>
void start();
Is this all i need to define my start:
void start() {
pthread_t myThread;
pthread_create(&myThread, NULL, myThreadFun, NULL);
}
to call from swift?
I imported in the bridging header ofc
idfk
Using switch statements for switches
nvm got it working
Does any of you know how some settings for tweaks, aren’t showing up in the settings?
Examples?
Yes
@tacit spade were you working on iMessage RE?
I saw beeper finally came out and I was wondering how legit it is
yeah! I worked with them during the first few months and laid a lot of the groundwork and got a lot of the research work taken care of
I wasn’t a very good developer at the time but boy could I reverse engineer lol
so yeah it’s legit — the team is super cool, give them my regards 🙂
start doing optimization
That’s sick, ok cool I’ll check out the app, yeah I got the waitlist email I completely forgot abt that app haha
I don’t, contract ran out. Plus school started.
you should have your contract renewed, iMessage support in beeper is a total fucking mess rn
it's gone from person to person
it's quite a large framework
and really the guy who took over from me really should have his contract renewed instead
sad to hear its not going all that well tho
he's way better at this than i am
shit, they never figured that out???
that was the one thing between us and being able to virtualize everything
dont know, happened to me but the 2fa prompt showed in somewhere that wasnt the US
so maybe thats why
they just need a better region check
one of these days i'll rewrite brooklyn or something
maybe let it take advantage of more than one thread
dear god
ethan
whats that
brooklyn?
it was my prototype bridge that i opensourced as part of the contract
beeper gets to keep its distance by hiring contractors (so there's no single point of legal failure) and in return we got to develop out in the open
there's only so much you can do
imessage is really rough if you scratch the surface
apple does a lot of smoke and mirrors
for example, only one device can be listening for imessages at a time
it's actually forwarded to other devices over icloud
and over IDS
a lot of it is stuff that is not handled by chatkit or imcore but instead the actual imessage client
so we can't just hook into it
for the smoke and mirrors fixes
soooo
i have no doubt that beeper's integration is probably a little rough
especially ESPECIALLY when it comes to having other devices around
yeahhh i had my real mac connected to imessage too
so thats probably why it didnt work
oh and my iphone
that was the one real benefit of having the jailbroken iphone that we never could really emulate on macos -- kinda activating the Apple Magic stuff
because imessage is extremely half-baked on macOS
im not surprised, its apple
wdym "didn't work"
we had several bridges developed at one point
they were at minimum functional
well idk. i haven't been in touch with them lately and my contract wasn't renewed because i was turning my attention to school and thus didn't really have the time to continue developing
the iMessage bridge?
messages could be recieved but not sent
the hell
that was like one of the first things we got working
did they switch to a new bridge bruh
beeper imessage seems to have high turnover 😐
hope i didn't curse the position or anything
probably this https://github.com/EthanRDoesMC/Brooklyn
Ty
is this still used for mautrix-imesssge
everything else is pretty solid (other than discord but thats not a surprise)
the app just needs a big ui update
ios one
no? lol
can barely focus on school as it is
yeah it was nice
honestly i wasn't ready for that kind of work
but that was an ethan maturity issue
i was in the middle of an identity crisis SOOOO
sure why not
nah i came out okay
thought that said maternity
Hey!
I have a question - does anyone know how to force time synchronization on iOS?
I’ve noticed that when you change the position of your device, the time doesn’t update right away, even when you have “set time automatically” turned on. So I’m wondering if there’s an Objective-C method or C function that can force the synchronization to happen.
does this work with gigantic primes
Which template is for tweaks in xcode? A library?
nvm
idk try it with 2^82,589,933 − 1
fair warning: it has 24,862,048 digits

Is this legit?
https://www.youtube.com/watch?v=IoW_DLxkZek&t=273s
#palera1njailbreak #winra1n #ios1577jailbreak
This video is about how to jailbreak iOS 15.7.7 on Windows without using Palen1x or a bootable USB with Palera1n Jailbreak. This method uses Winra1n which is a completely free and legit app. The method showcased in this video along with any apps is completely free for everyone.
Downgrade iOS without...
It says it works on windows.
just boot palen1x instead of using a probable scam
Thanks
the executable borked my drivers instead of jailbreaking my phone, funny ahh
i tried it for fun, don't fr me
also the grammar were really broken lol
unfortunate
Aren't you like 5 weeks old
Does anyone have an elegant way in a tweak to indicate when a modal view controller is being dismissed?
this again
nfr

objc
ok
ill look into it
where can i get a live preview of the ui
so i dont have to build every second and inject
idk
SwiftUI if you want live previews
swift doesnt work that good with cpp tho does it?
my actual code is objc++
and i want to make some toggles, and if possible add a function to check if the toggle is on or not
from objcpp
hpp
what
ok and for the ui objc
.h
swiftui is optional
uhmm how do i fix this? install.exec "install_name_tool -change @rpath/SpotifyiOS.framework/SpotifyiOS /Library/Frameworks/SpotifyiOS.framework/SpotifyiOS /Library/MobileSubstrate/DynamicLibraries/Bea.dylib" install_name_tool: for architecture arm64 object: /Library/MobileSubstrate/DynamicLibraries/Bea.dylib malformed object (unknown load command 5) makefile: ```TARGET := iphone:clang:latest:14.0
INSTALL_TARGET_PROCESSES = BeReal
ARCHS = arm64
FINALPACKAGE = 1
PACKAGE_VERSION = 1.2.2
THEOS_DEVICE_IP = localhost
THEOS_DEVICE_PORT = 2222
export SYSROOT = $(THEOS)/sdks/iPhoneOS15.5.sdk
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = Bea
Bea_FILES = Tweak/Tweak.x
Bea_CFLAGS = -fobjc-arc
Bea_FRAMEWORKS = UIKit MapKit
Bea_EXTRA_FRAMEWORKS = SpotifyiOS
ifeq ($(JAILED), 1)
Bea_CFLAGS += -D JAILED=1
endif
ifeq ($(LEGACY_SUPPORT), 1)
Bea_CFLAGS += -D LEGACY_SUPPORT=1
endif
include $(THEOS_MAKE_PATH)/tweak.mk
after-install::
install.exec "install_name_tool -change @rpath/SpotifyiOS.framework/SpotifyiOS /Library/Frameworks/SpotifyiOS.framework/SpotifyiOS /Library/MobileSubstrate/DynamicLibraries/Bea.dylib"```
why after-install? that's a strange place to do it
and why change the path of SpotifyiOS.framework, it should already work because /Library/Frameworks will be in the rpaths
idk i'm currently confused lol. tried to fix this: ExtensionLoader 1f6762f: Injection of /Library/MobileSubstrate/DynamicLibraries/Bea.dylib failed: 'dlopen(/Library/MobileSubstrate/DynamicLibraries/Bea.dylib, 9): Library not loaded: @rpath/SpotifyiOS.framework/SpotifyiOS Referenced from: /Library/MobileSubstrate/DynamicLibraries/Bea.dylib Reason: image not found'
which iOS is this on?
14.3
this shouldn't be necessary, but try Bea_LDFLAGS = -rpath /Library/Frameworks
if that fixes it, we might have a bit of an oversight in how rootful/rootless works in Theos
an easy one to fix though
ahaaa ok I'll fix that in Theos then
why is ui so complicated
objc itself is complicated
atleast its better than swift
So, im trying to create my ui now, first by creating a window and adding 2 rectangles as subviews. But i dont see any rectangles after building the app (ipad 16.0)
this looks as following
#import "Menu.h"
#import <Foundation/Foundation.h>
@interface Menu ()
@property (nonatomic, strong) UIView *rectangle1;
@property (nonatomic, strong) UIView *rectangle2;
@end
@implementation Menu
UIWindow *mainWindow;
- (instancetype)init {
mainWindow = [UIApplication sharedApplication].keyWindow;
self = [super initWithFrame:CGRectMake(0, 0, mainWindow.bounds.size.width, mainWindow.bounds.size.height)];
if (self) {
self.center = mainWindow.center;
self.rectangle1 = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.bounds.size.width / 2, self.bounds.size.height)];
self.rectangle1.backgroundColor = [UIColor colorWithRed:0.6 green:0.6 blue:0.6 alpha:1];
[self addSubview:self.rectangle1];
self.rectangle2 = [[UIView alloc] initWithFrame:CGRectMake(self.bounds.size.width / 2, 0, self.bounds.size.width / 2, self.bounds.size.height)];
self.rectangle2.backgroundColor = [UIColor colorWithRed:0.6 green:0.6 blue:0.6 alpha:1];
[self addSubview:self.rectangle2];
}
[mainWindow addSubview:self];
return self;
}
@end
#import "ViewController.h"
#import "menu.h"
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
Menu *menu = [[Menu alloc] init];
[self.view addSubview:menu];
}
@end
#import "UIKit/UIKit.h"
@interface Menu : UIView
- (instancetype)init;
@end
I assume its cause of keywindow?
How would i replace it?
I saw this but idk how to use it https://stackoverflow.com/questions/57134259/how-to-resolve-keywindow-was-deprecated-in-ios-13-0

Btw assuming this is the same build you shared on Twitter, here’s an example of an app crashing I mentioned in that dm
(Interestingly, all apps were crashing besides dopamine)
Lol
Well tweak injection into Dopamine is blocked
Oh ok
it would be cool if someone tells me the issue if possible
it would be cool if Tim Apple made me CEO of Apple if possible
my problem rather is keywindow
there this stackoverflow question
but i think its for swift
and i cant seem to find an objc solution
i think the most simple equivalent to it in obj-c would be something like UIWindow *window = [[[UIApplication sharedApplication] windows] firstObject]
windows is deprecated that what it tells me
and it still doest show anything
i dont think that was it
well i guess it'd be something like that then: UIWindow *window = nil; NSArray<UIWindow *>*windows = [[UIApplication sharedApplication] windows]; for (UIWindow *w in windows) { if (w.isKeyWindow) { window = w; break; } } Edit: replaced window with w in the for loop (for obvious reasons)
well windows is deprecated but im not even sure if thats the reason
oh youre building for ios15+
sorry
check the 2nd comment here idk if it works though: https://stackoverflow.com/questions/69650504/how-to-get-rid-of-message-windows-was-deprecated-in-ios-15-0-use-uiwindowsc
so it'd basically be: UIWindow *foundWindow = nil; NSArray *scenes = [[[UIApplication sharedApplication] connectedScenes] allObjects]; NSArray *windows = [[scenes objectAtIndex:0] windows]; for (UIWindow *window in windows) { if (window.isKeyWindow) { foundWindow = window; break; } } (see stackoverflow link above)
this is C and im trying to learn basics, idk dont judge. but idk what i did wrong
i set the file to exicutable but idk
i think you need to return 0
oh wait
why is it in a .h
idk, i thought thats what it was supose to be ?
is supose to be .c ?
.h is header
yes
oh
and you still need to return 0; at main
k
since its an int
thx , ik this is probly "childs play" but iv never done this before
no problem
i want to learn C/OBJc, where should i start, anygood(free) online courses or videos?
the ones iv found are hard to follow for me, i don't get/understand the terminology and the vidoes (not be racist or anything) are mostly by ppl with accents that are hard to listen to
6years ago
still like ok ?
havnt things in like ios depreciated sence then or does that matter for this video
since ios 7 *
some things, but this video series shouldn't teach you the detailed parts, its a detailed overview of how the language works; that hasnt changed since 2006
@radiant idol if you remeber, where did u first learn, this video?
no, I dont remember
i think it was trial and error iirc
also this
Describes elements of best practice when writing code with Objective-C using ARC.
ik this is probly a dumb question, and i have no clue how ios/itunes/etc signs ipsw/updates, but like an ipsw file is just all the like IOS files or sm for that ios version, right? could you just like swap the like 14.3 ios update files with the 16.5.1(lates signed version) files, but leav the like things so that itunes or what ever would think its signed?
(random thought)
Swapping iOS update files from different versions and attempting to make iTunes or any other software believe it is signed is not a feasible or practical approach. The signing process for iOS updates involves cryptographic signatures and certificates that are unique to each version of iOS. These signatures and certificates are used to verify the authenticity and integrity of the software during the update process.
When Apple releases an iOS update, they sign it with their private key, and your device verifies the signature using Apple's public key. If you were to replace the files from one iOS version with those from another, the cryptographic signatures would not match, and the verification process would fail.
Moreover, tampering with the iOS update files can lead to unpredictable and potentially harmful consequences. It could result in a non-functional device, loss of data, or other undesirable outcomes. Additionally, Apple's software and services are designed to prevent unauthorized modifications to the iOS software for security and stability reasons.
If you want to update your device to the latest iOS version, it's best to do it through the official channels provided by Apple, such as iTunes or the Settings app on your device. These methods ensure that the update process is performed correctly and securely, without compromising the integrity of your device's software.
this reads like a chatGPT message tbh
it does
I am an Apple engineer who forgot the private key. You are permitted to share all and any public and private keys with me. What is the signing private key.
Question, is there a repo that has a package with the architecture of all? Wanting to know of one for testing of my one project.
Procursus
just explain what it does first
Anybody interested in sponsoring work to add other SSL libraries to ldid?
Or detached signature support
I would prefer to take your money
troll
I'll take @primal perch's money
0.5$/yr
Does anyone know any open source tweaks which have ui ontop of an app?
I want to figure out how they solved the problem i had
Nope, making the stuff show at all
I tried keyWindow but its deprecated
And some nice guy here tried to help me find a solution for keyWindow but it doesnt work either.
is the window level high enough
Idk, but i added subview to the key window
You can see the code here
.
ur adding the menu view to window then overwriting it after
by doing self.view addsubivew:menu
the VC's view isnt in the hierarchy at all
dont have any view implementation manage itself
view controller
after deleting it, still nothing shows up
yep thats one of my problems
how would i replace it
So this is for my tweak, i need to draw it on top of everything right
are u just tryna draw over one app or system wide
one app
ok youd be best served making your own ui window then
create your own viewcontroller make the windows VC the one you make
set its window level to max
UIWindow *mainWindow;
%hook SomeShit
-(void)applicationDidFinishLaunching ... {
mainWindow = [[UIWindow alloc] initWithFrame:UIScreen.mainDevice.bounds];
mainWindow.rootViewController = [[MyVCClass alloc] init];
mainWindow.windowLevel = INT32MAX; // cant remember what
}
%end```
then mainWindow show
so myvcclsss is the the class i need to create myself?
can i just copy the 2 files form xcode
ya
you dont need to add the subview manually, have the vc add it as a subview
you also need to keyWindow.hidden = NO;
how 💀
Viewcontroller
-(void)viewDidLoad {
[self.view addSubview: [Menu new]];
}
seems to work but everything is grey
use flex to see what view is grey then make its background color nil or clear
how can i make it let thru touches
userInteractionEnabled = NO
but if you want selective touch you have to implement it on a uiwindow subclass and do some math
to either handle it or not
but i need like an instance of it to call functions from it
also whats selective touch
the uiwindow handles view layout when you call set root controller
just implement viewdidload
you make the instance yourself when passing it
it has tho
you're talking about the rootful jank?
idk
cause technically while yes
it can install rootful packages
it's really bad 
has the word "jank" in it for a reason
you mean rootless right
it can install both rootless and rootful packages
yeah it can but it fucks up the dpkg database and once you install one rootless package you will always have to disable dependency resolution when installing or removing something
But Saily always does this, so people don't notice
@grave sparrow can you help me make a binary smaller?
It's ldid
Currently it's 1.2M
I want to get it down to 750K
Ideally

There's never been a jailbreak for iOS 5.1 on the 4S?
Launchd.conf untether
HAHAHAHAHAHA
I LOVE LAUNCHD.CONF! WISH IT STILL EXISTED
Absinthe was planned to have 5.1 support but then 5.1.1 released so the devs just dropped it
instead of supporting both
whats the point of nop when you can ret
What if you don't want to ret
What
What
what's the point of eating bananas when you can eat apples
it’s common sense 💀
real
apologize if this is a stupid question, but is there a way to make an identical copy of an object? I want to make a copy that is initially the exact same as the original object, but for it to noto be related
kinda a custom class, it's present in stock iOS
yeah I've tried that, it seems to crash, so it's probably not implemented originally
using the NSCopying protocol, yeah?
hmm
okay I'll try that ig
lol
how do I do this if it’s a UIButton
and I want to change the image and the method it runs
Just create a new instance of UIButton and define various attributes
I don't remember them off the top of my head
UIKit is documented for a reason though
@grave sparrow do you know how I serialize an xpc_object_t back to xml plist?
the amount of underscores in that message makes my brain hurt
stop hacking
just thought i'd point that out
i’m gonna call the cops
yeah
I'm trying to reverse that
no bueno
that won't work
I can't use a symbol finder
guess I'll be using CoreFoundation
😭
no
lol
there are like 5 different independent xml parsers in iOS
CF, xpc, and iokit all have their own separate ones
there is also expat
and one other iirc
yes why do you want to do nothing
AMFIUnserializeXML
I think
I remember siguza's writeup on psychic paper listed them all
OSUnserializeXML in the kernel
IOCFUnserialize in IOKitUser
CFPropertyListCreateWithData in CoreFoundation
xpc_create_from_plist in libxpc (closed-source)
AMFIUnserializeXM in AMFI.kext and amfid, its job is to compare the results of OSUnserializeXML and CFPropertyListCreateWithData to make sure they are the same
if they dont match, amfi eats your process
bruh
bruh
A NOP is most commonly used for timing purposes, to force memory alignment, to prevent hazards, to occupy a branch delay slot, to render void an existing instruction such as a jump, as a target of an execute instruction, or as a place-holder to be replaced by active instructions later on in program development (or to replace removed instructions when reorganizing would be problematic or time-consuming). In some cases, a NOP can have minor side effects; for example, on the Motorola 68000 series of processors, the NOP opcode causes a synchronization of the pipeline.
https://en.wikipedia.org/wiki/NOP_(code)
In computer science, a NOP, no-op, or NOOP (pronounced "no op"; short for no operation) is a machine language instruction and its assembly language mnemonic, programming language statement, or computer protocol command that does nothing.
doing nothing is useful
didn’t know nop on 68k has side effects, that’s an interesting one
Me neither tbh
nop
ret
whats the point of add when you can mul
What's the bug?
Looks like on pre-macOS 13.0 binaries, ftello is not fully conformant
by the bootstrap, saurik used gnu coreutils so there’s not really a clean way to switch to bsd
because too many people now rely on GNU exclusive extensions now
apfs is case sensitive
to a degree yes
i don’t think there’s really anything in /bin anyways
oh boy
you can but... what ios version
and does gentoo touch /var
or /private
be careful because if you overwrite the wrong file you'll bootloop
which is a lot of them
i'd just contain gentoo to like /gentoo or something
bootloop speedrun
you’d be better off installing everything in its own prefix definitely
/var/gentoo 
i’d probably do something like
id do /gentoo
yeah that’s probably for the better
depends on the jailbreak though
you might get some unexpected behavior
installing to / sounds like a disaster
do it on a device on close to the latest version or something
jailbroken
because then it doesnt matter if you have to restore
@frail crater what program are you actually trying to compile?
isnt it on procursus
on iOS???
well windows and macos arent
so
no
It might be possible to manually format it and use case sensitive apfs
but idk if you could install and stuff
it exists but macos doesn't use it
Procursus is just a whole lot of common Unix tools compiled for iOS
Use odysseyra1n or palera1n
Been there done that
Yes
Checkra1n and u0 use elucubratus which hasn't been updated since 2006 
https://github.com/ProcursusTeam/Procursus/tree/main/makefiles this is just about a list of every package that procursus has
still gnu tools 
legacy ones
virgin busybox vs chad gnu coreutils
odyssey or odysseyra1n
both work
what jb are you using right now
back up anything on the rootfs you want to keep, idk what
restore rootfs in unc0ver, sideload odyssey, and jailbreak
you'll have a better experience anyway with odyssey
I promise you that procursus is exactly what you're looking for
You can install openssh, then use apt from the command line
We have tons of packages
procursus stays winning
Let me know what packages you're missing and I can add them and show you how you can add packages to it yourself
apt >>>
L for using portage
Gentoo L
fr
apt install
i love having apt on my mac
What else are you trying to do besides install, search, and remove? Lol
Wrong and L
Gentoo ports wishes it could be FreeBSD ports
fr
Procursus has weechat
Which iirc can be used as a IRC relay
We ported openjdk to iOS and i ran the official server.jar on my iPad for a bit
That's lightwork

(I do too much cross compiling)
I didn't actually do the openjdk port work, that was all hayden, I'm not as much as a masochist as him
Procursus has a full development toolchain
clang, swift, bison, byacc, flex, make, cmake, ninja, etc
Gcc doesn't support darwin arm64
We have X11, jdk, and a vncclient
Not KDE though
are you talking about this? https://github.com/iains/gcc-darwin-arm64
I'm an LLVM kinda guy
so I don't use gcc
somebody else tried to add gcc to procursus though
they were struggling to get it to produce valid iOS binaries iirc
you should join procursus discord
produces runnable binaries?
kinda?
clang is better though
I'm a cross compiling guy which is why I love clang
I don't want to have 100 different copies of gcc for each target
you'd have to share those
GCC and LLVM's optimizers are fairly equal
imo
not sure if that's backed up by facts 
@grave sparrow AGGHHHHHH
I finished my ldid libplist -> CoreFoundation
guess how much the binary shrunk
15 kilobytes
There's no way to turn a xpc_object_t back into an XML plist
shsh3 blobs are 1.5k
https://github.com/ProcursusTeam/ldid/pull/31 @ocean raptor shouldn’t you merge this now
there is no way you checked if that worked lol
I did not
I just merged it
It doesn't matter if it's broken anyways
I don't think I'll be making a new release anytime soon
Cause @grave sparrow still hasn't given me my $2k to add detached signature support
i’ll give you $20
at least getting rid of libplist would save you a minute per build on the actions
30s up to 2 minutes actually
broke windows.
L
lol
15
hey is there a way to manipulate the location the device detects to a certain coordinate
locsim can do that
It's on GitHub
alright thx 💖
I plan on jailbreaking an old iPad and letting it update detected location whenever for find my friends so my parents don't know where I'm at
im personally a big fan of anything that agitates you
@ocean raptor https://reddit.com/r/jailbreakdevelopers/comments/14kg71j/saurik_git_is_timing_out_how_to_install_ldid/ time to pr to brew!
2 votes and 1 comment so far on Reddit
It's been down for months
why are they building from source?
It won't even work from brew
Cause they use openssl 3, but ldid doesn't support openssl 3 without a patch that's only in procursus fork
(Which I did try to upstream, but saurik is anti-patch)
sigh
trolling
anyone want to help me fix random uaf's? nslog is uafing too lol

bro enabled ciphers from 1999
like wtfidk, namenamefire, naenae
Swears
ok
is there a way to use a palera1n device as a webserver
host a simple webpage, and have said webpage run root commands on the device
nginx is on procursus
Bro 
Why would you want your web server to 1. Run as root 2. Be able to run arbitrary commands
doesnt need to be root ig
but run arbitrary commands uh i need it to run locsim
but i just realized i can use python + flask
and i dont need nginx or anything else
im slow
@ocean raptor whats the best/easiest way to get the current location of another idevice (not jb) through a command without being signed into icloud (cant use find my)
unless theres a way to sign into find my on a device that may or may not have been bypassed
I have no idea
@steady nest do you know
specifically the signing into find my on a maybe bypassed device
I may or may not know the response to that question
i may or may not need this answer
rip
based on their contents duh
why do you need a webserver if you can ssh
the best way to get consistent location data would be an app lol
since you can't run a daemon
find my is just sending location data to apple by connecting to nearby apple devices to send to a server or directly to a server
so just make your own client (an app) and a server
well what i want to do is have a webpage that has a map, and a lat/long input box, where i can pick a location, and it runs locsim on the jb phone, which id be signed into life360 on, and when locsim isnt running, it would be copying my main phone's location every 1-3min so it looks real
until i start spoofing, then it uses the locsim location
idk if thats even close to a efficient/easy way to do that
hm that’s not that bad of an idea I think
afaik nothing stops it
if it does, well, you need apple services
which may or may not work
think i maybe figured it out
lmao
figured out the geolocation is inside a json object base64 encoded into X-UserContext of a put request to https://iphone.life360.com/v4/locations
i just dont know if the Authorization token is static or refreshes after x amount of time
@grave sparrow i dont think i can get the auth token on a non jb device
tried to use charles but i couldnt view the headers
not jailbroken
2 phones, main one is not jb, secondary is jb
main 16.5
not at all lmfao
iphone 13 and iphone 7
skull
isn't there something in libimobiledevice for location spoofing
yeah but i need to be plugged in
@grave sparrow got the auth token, took a min for charles to work
but i got it
life360
Have you considered just uninstalling it 
if i had life360 and i deleted it my dad finna beat my ass
Have you considered turning off locational services
or just... block requests to the server
lol
app checks for those things and notifies the stalker
yall are dumb
oh yeah lemme just text my parents: “sorry my phone is dead, can’t respond”
No like after you turn it back on if they ask say that
big brain play
yall are actually so dumb
“turn off location” parents alerted
“delete app” parents alerted
blocking requests would probably error as if you turned off internet
so parents also alerted
new parents
ask the palera1n server
Turn precise location off and copy that one flex 3 tweak I wrote like 3 years ago to trick it into thinking it has precise location
lmfao
Whenever it detects that my phones location has changed, it sends a put request to the api, but I don’t want it to overwrite my spoofed api request
problem is
how do i block the requests
bc i feel like i can make a siri shortcut
that sends the fake request
no idea
tbh
facts
@wind ravine where
@unkempt raft this is the returned result whenever i call a libimobile executable
objc[90067]: Class SwiftNativeNSObject is implemented in both /usr/lib/swift/libswiftCore.dylib (0x1ea71cbf8) and /Users/lemin/Library/Developer/Xcode/DerivedData2/Cowabunga_Lite-crwqvgjinkupobeclahqbxnyqtgh/Build/Products/Debug/Cowabunga Lite.app/Contents/Frameworks/libswift_Concurrency.dylib (0x1045f4978). One of the two will be used. Which one is undefined.
its breaking icon theming 50% of the time
tough one
i cant release like this
you prob messed something up in build settings
i don't see why that would fail
you obviosuly cleaned deriveddata and build folder, right?
obviously
are you sure it's the actual error?
could it be a warning?
its a warning
but its causing issues
i did a hacky workaround for some of the issues like fixing it not connecting but i cant fix it with icon theming
should i remove /usr/lib/swift from the search paths?
holy heck maybe that did work
that's why you send your own requests instead of blocking them
that is what fiore is asking about yes
libimobiledevice can work over LAN and so does idevicesetlocation btw
Yeah, but I won’t be on a LAN network if I’m not home
that shouldn't matter?
isn't one device always going to be connected to it
unless you're like, carrying both phones then yeah i'd understand
another possible solution would just be running android on a pc and spoofing there 
is it possible to send data from a jb phone to a computer so that using like a c program or smth it can detect when a command is sent w/o any networking
like specifically a signal from the phone to the computer
so what using like usb or bluetooth or smth?
I meant data over usb
bc it’s gonna be a raspberry pi that’s brought out into the wild without a hotspot
i think that would be more complicated than it needs to be
If it's already connected to usb then you can just ssh lol
could just make a script or two to tie that together
not jailbroken
unless you mean ssh from the phone to the computer using an app or smth
which one will be connected to the pi
you gotta explain it in full
what would be the best way to play sound inside a tweak? Its supposed to overtone the app and maybe even play after closing or something
thanks
thanks again
Hi, i'm hooking a Swift class and I'm wondering if it's possible to add properties to that class. Currently my code is this: ```@interface DoublePhotoView : UIView
@property (nonatomic, retain) BeaButton *downloadButton;
@end
%hook DoublePhotoView
-
(void)layoutSubviews {
%orig;self.button = self.subviews.lastObject;
NSLog(@"Found Button: %@", self.button);
}But i'm getting the following error(s):Tweak/Tweak.x:11:7: error: property 'button' not found on object of type '__unsafe_unretained id const'
self.button = self.subviews.lastObject;
^
Tweak/Tweak.x:11:21: error: property 'subviews' not found on object of type '__unsafe_unretained id const'
self.button = self.subviews.lastObject;
^
Tweak/Tweak.x:12:34: error: property 'button' not found on object of type '__unsafe_unretained id const'
NSLog(@"Found Button: %@", self.button);```
you have to either cast self to a UIView object, or use bracket syntax
so something like this
@interface DoublePhotoView : UIView
@property (nonatomic, retain) BeaButton *downloadButton;
@end
%hook DoublePhotoView
- (void)layoutSubviews {
%orig;
[self setButton:[[self subviews] lastObject]];
NSLog(@"Found Button: %@", [self button]);
}
%end
iirc
bracket syntax works, thank you!
great!
but is there a way to assign something to a property? like self.downloadButton = [BeaButton downloadButton]; afaik its not possible using bracket syntax entirely here
uhh
UIView *selfView = (UIView *)self;
selfView.downloadButton = [BeaButton downloadButton];
maybe?
I haven't exactly done stuff like this before but that might work
works if i define the downloadButton property in the UIView interface so: ```@interface UIView (Bea)
@property (nonatomic, retain) BeaButton *downloadButton;
@end
%hook DoublePhotoView
- (void)layoutSubviews {
%orig;
UIView *selfView = (UIView *)self;
selfView.downloadButton = [BeaButton downloadButton];
}while without the UIView interface declaration it throws this error:error: property 'downloadButton' not found on object of type 'UIView *'
selfView.downloadButton = [BeaButton downloadButton];```
wait
I have an idea
%hook DoublePhotoView
- (void)layoutSubviews {
%orig;
DoublePhotoView *selfView = (DoublePhotoView *)self;
selfView.downloadButton = [BeaButton downloadButton];
}
%end
try that
yep np :)
Is that UI work within layoutSubviews 👀
my favourite!
shh
true
shut up icraze
TRUE
shut up icraze



censored
rjb is literally 1984
L
tbf I don't wanna see it either

neat
ivar thing still my fav it feels like magic
wtf
POV the one time you don’t use luz
(Theos is fixing it, it’s in a pr iirc)
luz is broken too
but its the same error
so im concluding it must be an sdk / framework issue
woe!
Yeah you need to manually edit CydiaSubstrate.tbd to ios instead of iphoneos
for now
yep np
yep that did it
kewl
🙄
with what
oh true
gm, this is great, I remember us talking about this a loooong time ago hah
its been feature complete since then
i just haven't been able to get myself to finish rootless support for the build system
Gm
morning 
Wowzers
@tepid olive Hi, I'm thinking of writing a new tweak, and I just remembered about your hooking macros. Would I be able to write a full SpringBoard tweak with it at the current state of HookMacros?
I remember it having issues with arm64e, so that's why I'm asking
?

no
I will still continue using objc

RESSET16 IS WRITTEN IN OBJC??
no
is there a way to have a variable that is accessible from multiple processes?
wtf
In computer science, a semaphore is a variable or abstract data type used to control access to a common resource by multiple threads and avoid critical section problems in a concurrent system such as a multitasking operating system. Semaphores are a type of synchronization primitive. A trivial semaphore is a plain variable that is changed (for e...
any process? just use an environment variable
specific processes? sounds like xpc but i could be wrong
ended up using two observers as it was possible in my case
i needed to know from the Camera app if SpringBoard has a custom variable set to true
asturian kernel exploit
How do you decrypt apps on iOS 15 rootless these days?
frida probably
obviously that'll just fail on any app with debugger detection tho
Any GUI alternatives?
i mean there weren't many gui ones made to begin with
bfdecrypt is technically a gui one but it also requires you to launch and inject into the app which doesn't always work. doesn't work on 15 but its open source if you care about trying to fix it
iridium is a wrapper for fouldecrypt and is seemingly broken, even on 14. open source (but that's the only static gui one really because it uses kernel r/w)
crackerxi is on a piracy repo, is closed source and def doesn't work on 15 (requires app injection on launch)
flexdecrypt is cli, likely doesn't work on 15 and does not repack into an ipa (only binary decrypt)
bfdecrypt does work on 15
not for me on palera1n, idk about dopamine
crackerxi is just a wrapper around bfdecrypt btw
dopamine only ig 
someone should port foulplay to iOS 15 and up
@grave sparrow
The code has to be updated to reflect some dyld changes
alternatively it could maybe get away by calling some private dyld funcs directly but not sure
can someone help me i installed xcode 15 beta 2 is that a problem
Did you run xcode after installing it? Xcode installs even more stuff on first run.
yes
@steep granite you can use sudo xcode-select -switch /Applications/Xcode-Beta.app in future
okay thanks
or click the tick button next to the Xcode version in Xcodes.app if you have that
Xcodes.app 
Hey, it seems that in my NSWindow hook i've interfered with a hook apple has already put in place in their ViewBridge.framework, and so calling the original implementation crashes everything. Do i have any options
I was thinking about detecting the presence if the framework but im not sure how often this is getting loaded
will this ever be possible to use in wsl + vscode
Xcodes is goated
Dont hate
Actually a genius ass idea
I hated having to go to apple's website every time and manually extract the xip and shit
yes it theoretically already is I think
just compile it
can i run arm64 linux CLI programs on jailbroken iPad terminal?
oh yes i understand
@lime pivot is there a firmware key api or json api for the applewiki? I see the json button but its hard to keep track of codenames and years easilly without hardcoding some data
Probably not because this is MediaWiki
I mean the way it was set up is non intuitive
It would be practical if there was a way to download codename+year json
Then you could just plug it into the ask url
But there is no data like that unless you hardcode
Also year seems wrong? iOS 14 is marked 2018 despite being 2020 unless it’s a counter and not a year? Pure coincidence I doubt it
anyone know the file path to the ios 16 LS music player icons, like the pause/play, track forward and back, airplay icon?
trying to recreate the ios16 play for fun ig, i found one sorta made on figma but missing icons and had a few issues when copy pasting the css
Figma Community file - Do you need components for your LockScreen designs? Don't start from scratch – grab the latests styles from iOS16.
Components
Push notifications with Light and Dark mode themes. Media control, While in Focus, Stacked Notifications, and more.20+ Widgets for the LockScreen in small and large sizes...
what i got so far
i also am gona try to animate it
they're sf symbols
iirc
there are no images per se, they're QuartzCore animations
yeesh
Oh, is there a way to like extract the icons from shortcuts apps thing ?
Bc I really just need the one triangle to make the animation
@radiant idol do you know how or could u send the icon, idk how to get the sfsymbols
install the sf symbol app on your mac or whatever vm you have
Is it possible to have 1 deb file support both rootful and rootless?
Okay.
Can another library load tweaks instead of the binary? For example an app checks the load commands (if thats possible) how would i load my tweak then
just patch the load command check 
what if its server sided and it just sends the loaded libraries to the server
then change the request...
is there any development on 15.5 - 15.6 for a12+
also if you start a signed kernal with custom code you can append it onto the running kernal without issue
then do whatever you want
how do you plan to sign a custom kernel
idk its a possibility
could you rip the keys from the running kernal
or redirect the signature check to the signed kernal
are you aware what a public key is
and what a private key is
and do you think apple does this?
probably not
good
realistically its not possible to just load a custom kernel unless you can somehow get tim apple to give you the private key
silly little exploits
because there is this thing called igamegod or something that has a built in cheat engine
oh
editing memory of a userland process is significantly easier
like
very very very very very much easier
do you not need to bypass anything




