#development
1 messages · Page 41 of 1
do u even know what luz means
apt install python curl sudo
Light yeah
it does
innit
readme is outdated
ok youre not a total idiot
Luz is a build system for Apple Darwin-based systems
so python -c "$(curl -fsSL https://raw.githubusercontent.com/LuzProject/luz/main/install.py)" will work
on linux
in theory
by "for" i meant "targeting"
ye
ok
its literally installed 2 mins ago from python3 on debian

@next wadi do you have a girlfriend
why
fr
ok so no
why are you asking
inshallah brother
anywhere
up your ass
it looks in ~/.luz/sdks
Great I will symlink that to the theos folder
but if you specify a path in Meta it'll be fine

luz 3 in rust when
TRUE
jaidan did you just make python theos
yea maybe
Except it is infinitely faster
Imagine using the installer
This post was made by sys.path.append
[*] luz has been installed.
no way
be for real
now youre a part of the botnet
common hayden W
ok now what
yes true brother
luz gen
@next wadi wanna play roblox
i cant
why
phone
weekend does not start tomorrow

i have 3000 robux
death
brokie
i didnt buy any of it
broke
braxtona
i pretended to be an egirl
nfr

https://procursus.social/@luz/109951152551193612 wake up @marble perch
Luz is a next-generation build system that runs on macOS, Linux, and (soon) iOS devices, targeting Apple Darwin-based systems.
Luz has a number of benefits over other build systems, most notably
- Out of the box rootless support for iOS
- Python source code for easy contribution
- Blazing fast speed
Luz is still a WIP, but I'd really apprec...
what version of clang is this brother
my group is like a money laundering business
what compiler do you usually use
brother uses gcc
and in the Meta() part
yeah man it was the first FOSS c compiler
shit goes hard
who tf uses clang on linux
add
me
cc="pathtogcc"
crazy
and try running again
I use clang on windows
why doesnt it read $CC
File not found
Because I installed llvm for clang-format 
then youre weird
it can
what meta part
i can make it do that
I only use it for the stuff I compile on the command line tho
oh i forgor i dont have it set by default
Usually I use whatever compiler the vsc debugger uses
FUCK
make it do that because its more standard that way 

amongus
amongus
voce e gostoso
from luz import Control, Meta, Module
meta = Meta(cc="pathtogcc")
control = Control(
name='Amongus',
id='com.yourcompany.amongus',
version='1.0.0',
author='shepgoba',
maintainer='shepgoba',
depends=[],
architecture='iphoneos-arm64'
)
modules = [
Module(
type='tweak',
name='Tweak',
files=['Sources/Tweak.x'],
filter={'bundles': ['com.apple.springboard']},
frameworks=['Foundation']
)
]```

ly
YO THE PROCURSUS RT
i thought i was getting a @teal falcon retweet this is even better
big dubs
oh whoops

@wild stone
Reblog*
i did the same ping the other day

@wild stone @languid sleet
yeah the odds of gcc working with this toolchain are like 0
boost*
mono tricks
gorn*
Lmfao

Do you have spaces

Why are you trying to use gcc anyway
idk jaidan told me to
well i figured itd work
im just tryna try it out
ok braxton ez solution
I thought you were supposed to use clang
in the module thing
yea
How could you
Mf hates ARC 😠
real chads use no ARC and no manual management
I have an app in production that allocates memory and doesn't free most of it
ownership model
wholesome
And I have to rewrite it in python anyway because debugging it is hard
Fuck the windows api
sdk path errors now
meta = Meta(
release=True,
archs=['arm64', 'arm64e'],
compression='zstd',
platform='iphoneos',
sdk='~/.luz/sdks/iPhoneOS14.5.sdk',
rootless=True,
min_vers='15.0'
)

death
Does it work if you specify the full path

yup
i told you its a WIP
sounds like a skill issue rather than linux but sure i guess
ok buddy

im not telling you its garbage im just saying linux has been pretty defined for a long time

idk why ur tryna get offended at the most minuscule of me pointing it out
🧌
correction: you dont know how to query $XDG_DATA_HOME
getting stuff to work on mac and linux is hard
im using environ
its a python skill issue

its an envirnonment caraible
theres gotta be a package too that handles this cross platform for you
what

sorry @primal perch
all good dawg
sorry @primal perch
nfr
fair enough
me when
Wtf jaidan black now
nah
fr
jaidaN
i want you to fix it anyway so thats why i want to try it
1/2 of tweak devs use wsl / linux
yea
fixing that -> better adoption
asking for a friend
1/1000 use linux
(capt)
at least for Android
Working Copy is great on iOS
format_path()
Well it's more like "decent Git client with ability to edit code"
This doesn't handle tilde
this works well
I think you can use path.resolve() to deal with that but idk if that works with globs
yea globs is the main thing
if globs dont work its useless
I'll try it after I grab dinner ig
expanduser might work
he do be getting the dinner
Just use path.home
can you try expanduser with globs
yea but i hate hardcoding
I hate os.path 
developers try to use google challenge

ALL BOBAS SHOT
I thought this was for default value
boba not shill rust challenge
i dont shill rust
no
you should use rust so i dont have to
shep specified an SDK with ~ in it
Default value is path.home/.luz/sdks and you can override it with whatever you want
Oh
and i use my pathresolver to get paths
Yea I'll check that out then
also after i used the full path it was still saying <Foundation/Foundation.h> not found
even tho it was in the sdk
no idea why but good luck i guess
luz schizo thread
Does Luz have verbose mode
i should add that shouldnt i
You should ask Aaron for Luz thread
log compiler messages and stuff
fr
@shut stag 👀
You have to ping him a few more times
hes online
Yea
oh you said that
Welcome to the February 2023 release of Visual Studio Code. There are many updates in this version that we hope you'll like, some of the key highlights include:
based
Nah you have to ping him and include "new iOS beta" /s
Fuck it's raining
TRUE
in march
me omw to send the "me blanking blank" image
✌️
bros gatekeeping
Yes
LUZ THREAD LUZ THREAD
what is this
him and the homies

@restive ether do you have thread perms

unlock the minecraft one 
@shut stag
yeah it was


iCrazeiOS
not be racist challenge
true
rip joe
or a pedophile
c
ock
ocky way
wock
@next wadi do you still want frtimelib
100%
yo true
what should i call it
cumtime

cumtime
WTF
???
jaidan wants a luz thread
tf is luz

nice embed
eli5
blame sphinx and readthedocs
new build system like theos but quicker and newer
with rootless support
if i make a thread will it be dead by next week
i hope not
we'll see
i mean i'll be talking in it

Luz
YOOO lets go chat
probably
but we have it now
@next wadi no idea

@shut stag can developers just get thread permissions for #development ?

i dont want 100 threads
but im willing to make some upon request
No excuses
its a moderation nightmare
so it turns out nearly every XPC service on macOS and iOS used expressionType to check if a received NSPredicate was safe. The problem was the sender could set this value to whatever they want. This has been fixed in Foundation in iOS 16.3 and macOS 13.2 https://t.co/pGprcoH9j1
143
is this useful in anyway
for like temporary/semi/jailbreak alternatives
i don't think many people know how to use it
I feel like someone mixed up their beats per minute and beats per second
Although maybe your just super excited about the luz build

cock
The number of apps to theme, depends on icon pack. Usually 75-200
see if you can find any patterns, and try replacing a small amount of files
Doesn’t bootloop consistently. Most of the times it occurs on restoring icons. No logs
The thing is, I haven’t ever gotten a loop during its development, and it must have had at least 100 themings, while others looped with just 5 or 10
see if you can find patterns with device/iOS version/theme applied
Tried. Most are on 16.1.2 - same as my iPhone X’s version
And with the same theme
One of developers suggested that it might be the ram limits. Since user app’s catalog persists on reboot, maybe icons are too big in size and cause running out of memory?
the most concerning thing is if there's page out
it loops right after they open the app and restoring icons starts? what does that even do anyway?
lmao
v8 (old version that didn’t bootloop) theming cycle:
- Replace AppIcon@2x.png and AppIcon@3x.png inside the app bundle
- Corrupt Assets.car to make iOS fall back to using .pngs
- Reset icon cache
- Respring
- Make user go back to app to uncorrupt assets.car
v10 (new version that bootloops) cycle:
- Create a new Assets.car that has just the icon from selected theme
- Replace the catalog inside app bundle with the newly generated one
- Reset icon cache
- Respring
- Make user go back in the app to restore catalogs
Almost all people bootloop when restoring using a button in app.
I also just realised, that current method doesn’t need restoring functionality as a separate button, since it restores catalog on the “Fixing” screen. It shouldn’t have caused any issues though? I should totally remove redundant “Restore” button and see how it goes
Sorry for sending walls of text lol, trying to provide as much info as possible
how are you making the assets.car
Sorry for late reply, was at school
I have a precompiled dummy Assets.car that has just one icon
At runtime I modify its icon to the one I need and overwrite using mdc
doesn't this break anything else using UIImage?
too bad
its up to the app to support the font or not
SwiftUI
based tbh
it bootloops while respringing after resetting icon cache
yes, but the original file is restored to after icon cache is reset and applied
I found a bug crashing my springboard, shld I send the log to anyone
facts
The album as a whole is amazing
Shine on you crazy diamond pt 1-6 is serious about the 1-6
I tried to learn it in guitar and it is legit like learning 6 songs
Their discography as a whole is amazing
go see a pf cover band
what if you introduce a 30 second delay
the iphonedev page about obwelcomecontroller is so bad 
syntax errors
and example code crashes
🗿
where
found it already
it takes in seconds not milliseconds
That’s the only thing I could imagine being wrong with it
doesnt do anything
ok then the issue is probably your Assets.car modification tbh
also i meant 30 second delay before respringing but after resetting icon cache
if that was ambiguous
it doesnt do anything because the cache resets while respringing
we give up
wha?
it removes the cache
the cache is only recreated while it resprings
plus theres a prompt so respring doesnt happen until tapping okay
ok, so if it's happening then it's highly likely your assets.car shenanigans are screwing something up
we know
we established that
we just dk why
theres no way it could be system icons, right? ssv resets it
how are you ensuring that what you replace is the same size anyway
wdym
theoretically there shouldn't be page out, but i don't think anyone has verified..
the file size of what you replace and what you're replacing it with should be the same afaik
actually it could be
its bigger otherwise it compresses
it could be system icons bc ssv doesnt reset cache
but it's never exactly the same?
it gets padded by blank data
are you sure that's not breaking it?
it could be but it shouldnt
it doesnt always bootloop
its like 40% of the time
but even when restoring the original files, it can bootloop
@hasty ruin nice ghost ping nerd
sup
it would be really helpful if you could try to get logs in that case
page out doesn't make a ton of sense on second thought, because why would it happen during respring
its not like your entire RAM gets filled up when you respring
i looked and i didnt see any on my own
and by logs i mean stream console, not analytics data
is this only on iOS 16? and reproducible with different themes?
its not consistent and no but it seems rarer on ios 15
i think it depends on app count not theme
@turbid fjord @hasty ruin
Hi
gm

update: no
if (rbx != 0x3) {
rax = 0xffffffffffffffff;
if (rbx == 0x2) {
rax = 0x2;
}
}
else {
rax = 0x3;
}
from WFShortcutExtractor extractSignedShortcutFile:allowsRetryIfExpired:completion:
so unless it just so happens for some fucking reason that extractWorkflowFile:shortcutName:shortcutFileContentType:iCloudIdentifier:completion: that it handles shortcutFileContentType arg same way with 0xffffffffffffffff and 0x0, not possible
with signed shortcuts, apple can ban the shortcut if they deem it as malicious and prevent the apple id from sharing more. being able to share a unsigned shortcut that would be importable in the vanilla runner, since unsigned, would basically mean you can share a shortcut containing ex malicious actions and not worry about apple banning it
sorry for taking so long to reply to this message lol
@timid furnace https://github.com/USBToolBox/tool/issues/49 
this is gonna take a week at minimum
i have to rewrite basically the whole thing and then debug it
ouch what can I do?
nothing much really
different tool perhaps?
unless if you know winapi intricacies 
of course i do 
(are you being fr rn)
can I use something else to map usb ports?
easily preferably
if you're on macOS use Corp's USBMap
and make sure you're appropriately accounting for the port limit
macOS Catfish
anybody here?
hi
im trying to hook a extern C++ function. Its worked when i tried to nslog parameters. but when i tried to NSLOG("%s", %orig) its not work. function's return type is const char*
app crashing when i tried to look result
you really should be checking if the pointer is null
Anyone knows how to get PID of an app by bundle id, etc with MDC? Is that possible?
idk much about ios but maybe NSRunningApplication can help you
i grab apples dock pid via this method
do you know if it works with mdc?
im not sure unfortunately
i dont see why not
i think it might?
yeah same
isnt it only for mac btw?
you can hack a daemon to execute ps and catch the output
is that really difficult to do
very
- Run sysdiagnose
- Manually grab pid from ps.txt
- Manually enter pid
why the define
is that the usage?
alright trying that
could you maybe show an example
if you mind
yes please
🥺
ok
its blocked by sandbox
deny(3) process-info-listpids
it just prints "8"
0*
@grave sparrow
blah blah blah
hey has anyone done any sort of uidynamiccolor theme engine yet
with the semantic colors
i love signed null pointers
paced NULL ptr
^
i was wondering where this ping came from for a solid minute
it’s a kernel exploit technique
now they’re checked tho
no they actually ditched it after
it’s only checked for like 3 versions
ye
what if we just null the sandbox policy pointer in Fugu15 @naive kraken
there’s a pac bypass in fugu anyways
15.2
maybe removing all the sandbox is a bad idea
it was only signed 15.0-15.2
iirc palera1n does it and it’s fine
why doesnt theos support
%hook App.Thing
%end
I think opa said this was the opportunity to do stuff properly
how recent
um actually thats logos 
jan 2020
Tweak.x:26: warning: Hooking Objective-C bridged Swift class App.Thing has unintuitive behaviour and won’t catch all invocations, see https://theos.dev/docs/swift for more details.
it’s simple though
@grave sparrow @hasty ruin :/
use deez nuts
no
how
how do i compare UILabel's text to an emoji
Can you compare to the Unicode number I wonder
Yea
[((UILabel *)subview).text isEqualToString:@":heart_eyes:"]
apparently it wasnt working before
but instead of :heart_eyes: its 😍
reminder to use luz
@indigo peak oh btw
i implemented the thingy
idk if you saw or if i told you
wtf
i think thats a you problem
you have it set here that your heart beats 80 times in a second
linux users when seeing a child
fr
whoops
It is untrue
It's actually 2 seconds after
I don't drink
Bro I'm under age
no
Good morning
grab debugsever from xcode dmg, resign it with some shit, scp it to the device, run it
ah
no I just woke up lol
Testing Crane tomorrow
full stable tweak injection on 15.3.1 arm64e
↘️ Quoting évelyne (@eveIyneee)
code is now injecting in xpcproxy
👍
eta???
tomorrow
son
femcel is an aesthetic
I did too lol
well obviously
W3n et4 ellekit in xinaA15
🤪

I mean, I'm here sometimes
never
What about me?
🥲
Thank you
I hope a solution can be found for the wifi of 15-15.3.x I would really love to try fugu15 with tweaks
can frida-trace log EVERY method call
in theory
like *[* *]
but thats invalid query
wait
i was dumb
i was typing [* *]
i forgot the leading *
Failed to spawn: unexpectedly timed out while waiting for app to launch```
sad
frida-trace -H 192.168.1.164:5000 -f com.apple.MobileSMS -m "*[* *]"
Failed to start tracing: script has been destroyed
Connection terminated
don't forget -i "*"
what dpes that do
-i is c symbols
can anyone tell me how to get the task port of a mach port?
or get any other clue what process send the request that I got in my mach handler?
so I just send this trailer message to the port I want and it gets me back the audit token?
I guess so
I have an incoming message and want to know who sent it
the thing I don't get tho is how to combine this with CFMachPort
where is the trailer at
not me I think
hm
wait I think it might be possible to get the trailer
it should be at the end of the message
I'm guessing CFMachPort api takes care of this tbh
but id
k
this is very annoying
bro what
what do you think I'm coming from
also I'm not using CFMessage
cause launchd cannot use it
and also idk
ok but why didn't you tell me this earlier
hm idk
I still need to use host get special port
I think
only for launchd maybe
idk
yes
mach_port_t jbdMachPort(void)
{
mach_port_t outPort = -1;
if (getpid() == 1) {
host_get_special_port(mach_host_self(), HOST_LOCAL_NODE, 15, &outPort);
}
else {
bootstrap_look_up(bootstrap_port, "com.opa334.jailbreakd", &outPort);
}
return outPort;
}
never tested this in launchd though
ok but I wasn't planning on doing that as you can see
😦
It won't need to be reregistered
the communication from launchd just needs to work
launchd will regain primitives then load daemons again
when you open a binary to reverse it and it’s C++
@grave sparrow so how do I make an xpc connection from a mach port?
ok
looks good I will probably take this
ew darwin systems
Hi everyone, I am making an xcframework that is injected into third party apps. I'm currently using Sideloadly to inject it. The problem is that development proess is super slow because I have to compile the framework and sideload the app + inject the framework each time I update the framework. Signing the app takes quite some time.
What would you recommend to speed up the dev process? Can I inject my framework at runtime?
“my son turned out fine”
ma’am, your daughter is an open source maintainer
1647
152
true
Hi all, would you guys mind reviewing my code to see if you have any suggestions to improve it please?
static bool hasRan = false;
static int tweaksSection = 6;
%hook UITableView
- (void)endUpdates {
%orig;
// Only run the tweak when the app is first launched
// This prevents crashing on pages that implement extra table views (e.g. Emergency & SOS)
if (hasRan) return;
hasRan = true;
// Avoid running on the wrong pages (if settings opened from CC or 3D touch)
NSInteger numberOfSections = [self numberOfSections];
if (numberOfSections < tweaksSection) return;
NSIndexPath *scrollIndexPath = [NSIndexPath indexPathForRow:1 inSection:tweaksSection];
[self scrollToRowAtIndexPath:scrollIndexPath atScrollPosition:UITableViewScrollPositionTop animated:NO];
}
%end
The idea is to scroll the settings app to the tweaks section when it's first opened.
The tweak works, just wondered what code-quality slips I've made
Actually - maybe 0xffffffffffffffff does import the same way as 0x0? (-[WFShortcutExtractor extractWorkflowFile:shortcutName:shortcutFileContentType:iCloudIdentifier:completion:]:)
if (rax == 0x1) goto loc_1c141f;
loc_1c1402:
if (rax == 0x2) goto loc_1c1428;
loc_1c1408:
r12 = var_38;
rbx = var_40;
if (rax == 0x3) {
rdx = @"ShortcutSourceFilePersonal";
}
else {
rdx = @"ShortcutSourceUnknown";
}
goto loc_1c1440;
no check if 0x0, just that its not 0x1/0x2/0x3
I mean it works but this definitely has to be one of the worst ways to go about it lmao
mach_port_t jbdMachPort(void) {
if (getpid() == 1) {
mach_port_t outPort;
host_get_special_port(mach_host_self(), HOST_LOCAL_NODE, 15, &outPort);
return outPort;
}
else {
mach_port_t outPort = MACH_PORT_NULL;
bootstrap_look_up(bootstrap_port, "com.opa334.jailbreakd", &outPort);
return outPort;
}
}
how many bitches do developers get
none

I have time to socialize with them but chose not to get them
The same number that arrays start at
lua devs:
With their roblox girlfriend

good twete, sileo lead developer
Have you got any pointers to improve it please?
sorry i am doing too many things at once
capt try not to say your mom challenge
0x0 0xDEADBEEF 0xCAFEBABE 0x123456789 0xB00B135
real comedian
Thank you
didnt say you were a good one

why not try to do something with - (void)applicationDidFinishLaunching:(NSNotification *)notification;, or some other method that runs when the app is loaded so you dont need to use hasRan, and also calculate the tweaks section just incase theres some random reason its not your hardcoded value
hook the table view controller then access the main tableview with the “table” method and then call the scroll method on that
either after viewdidload orig or viewwillappear
the first is preferred if the view is configured in time for it
edit: https://paste.bingner.com/paste/qf6ve
call me mach-o fat magic the way im a babe in a cafe
no I’ll call you a Java class for that reason.
L for not using fat64

don't even joke about that... fr*nch 'people' are so much worse...
@lime pivot are you aware of logos issues when using '}' in your source code?
as a char
no
nope? what did you break
nah I'm good
freedom figs lmao
is that the average number in each american bedroom

not enough
This video is age-restricted and only available on YouTube. Learn more

oh
i see why
thats so based
Hi everyone, 13pro 15.0.1 can use fugu15 max?
Have I told you how bad regex is as a language parser? If not: it’s terrible
what is lockdownd error -8 fr there's only information on it for people trying to icloud bypass or just "restart your phone", working on a restored_external RE but meh
Trying to fetch new SHSH blob
Sending TSS request attempt 1... response successfully received
Received SHSH blobs
ERROR: normal_idevice_new: can't connect to lockdownd on device with UDID restored_oss ( restored_banana ) by mineek
^C
mineek@Mineeks-MacBook-Pro restored_external_RE % ```
love undocumented errors

Do file an issue if you can please
https://github.com/theos/logos/issues
Will do
I have 0 flags
i have 1 (it’s not the american flag)
it's the soviet one isn't it
might get one
maybe UWW
gay porn
agreed
for me it is so good
@tepid olive
peekachu
@tepid olive hey does ellekit do MSHookMessage on x86
epik
Not on Substitute
because it calls your mom instead
once evelyn's jb comes out ima start developing tweaks
nah thats crazy
Substitute makes a trampoline for superclass method replacement oldptrs
cowabunga is running out of stuff to add anyway
there’s always more ways to bootloop
just do it now
wdym
tfw simulator
couldnt get a jb environment on the simulators so i cant even test
L
Nah
Imo it should add the method from the superclass to the target and then replace it
Fugu
@glacial matrix was a bit busy yesterday, just got around to making the issue: https://github.com/theos/logos/issues/97
literally unusable
fr
Very real
Thanks!
@wind ravine did you save your A14 from the bootloop?
yes but it bootlooped again
saved it again then factory reset it
So it’s still on 15.4.1?
but it was the weirdest thing that when i got out of the second bootloop that my icon went to the custom icon even tho i had no theme applied previously
Weird
Bit of a silly question but does anyone know how to move a GH repository to a different account? Whenever I try, I get hit with "You do not have permission to create a repository on @ account"
transfer from personal to an org
yea
well
hold on
you should be able to do personal > personal
@merry glade
yea it works for me
solved
i didn’t realize I was transferring to an org I an not a member of
You should say this daily
@lime pivot was cephei ever updated for rootless
No
@grave sparrow was your humor ever updated for the 2020's
is there an nsuserdefault that will make an app exit?
can I dump an app's defaults used?
Because I would need to find a property to hijack @grave sparrow
ios
nah its a root xpc service so I can put defaults in var root
yah I mispoke
its not an app
I'm just using defaults binary bruh
writing isn't the problem
I need to find a prop to use
CFPreferencesGetAppIntegerValue
this is my only read so very small attack surface @grave sparrow
been doing it since 2016
got into bootchain in 2019
another option is mobilegestalt
can I clear a key?
domain wasn't on device to begin with
can I delete mg keys
Hey guys
Im trying to compile this tweak https://github.com/LittenArchive/Rose
Anyone can help me with it please
The github says make libRose first
but it returns something about being introduced in iOS 13.0 but the deployment target is iOS 9.0.0
yeah, so make the target to ios 13
thats what i just did
and its compiling perfeclty fine
Rose/Makefile
replace: export TARGET = iphone:clang:14.4:13.0
with: export TARGET = iphone:clang:latest:13.0
remove: export SYSROOT = $(THEOS)/sdks/iOS/14/iPhoneOS14.4.sdk
Rose/libRose/Makefile
at the top of the file, add:
export TARGET = iphone:clang:latest:13.0
replace: $(LIBRARY_NAME)_FRAMEWORKS = UIKit
with: $(LIBRARY_NAME)_FRAMEWORKS = UIKit AudioToolbox
and then cd into libRose, make package
and then cd ..
make package
and it should work
bc that worked for me













