#development
1 messages · Page 416 of 1
?
- Why are you printing instead of returning
- Why are you returning a string
Idk
Lemme fix..
I should return a Int then?
oh yeah
Otherwise I’d have to change every single digit into a string
ok so @lapis vessel RTLD_NOW didn’t work either so idk
hmm

RTLD_DEEZ
test it
didn’t work
what’s the problem?
Not showing any errors

So what’s the problem

ok
?
what is the problem
think about it

there is no problem, that code is working as it should
like all code does
Exactly
hmm
Just learn to code

lemme try another playground
I don’t think the playground is your problem

Still didnt work
if you don’t know what you’re doing then you need to at least be able to articulate why what’s happening is not what you want
Yeah I think its the interface thats on the chair
my thing is being weird
What


Yeah
ok now what’s the problem
explain the outcome you want vs the outcome you got
oh


Thanks guys it worked
You figured it out pog
K Time to ask a dif server

ok
see now you understand more about programming as opposed to if I told you to print it you wouldn’t have learned anything
You gotta develop the skills to debug on your own pretty much
anyone have any free guides on python
What I like to do is
i wanna learn it properly
Talk to myself
#development be like:
And break down the code
I don’t have a rubber ducky sadly
So I can’t have a programming duck
haskell
But I’ve spotted some fucking obvious issues by doing it
how do i learn tri angle
Like I didn’t spell the var right
Ok
Or you could just not be lazy
Thanks for the banned book
@vivid dew you should prob actually take that down before you get warned
I’m gay
Am I a developer yet
Bet
Am I a developer now

So true king

u right

yes
optionally you can become trans
for a higher chance of dev role
Im already more feminine than masculine
I think I reach all the requirements

RTLD_NOW will 100% load the library and call its constructor (performing any of the tweaks hooks), so your issue is something else
is it possible lazy load could call the constructor, like ever? i’m not going to use it, but just wondering
My last name is plank too why do you ask

Ok
What’s your address
Wow ok
I see how it is
Ok
Have fun with that
I like to go on Twitter and call people racial slurs
FUCKING WORK YOU PIECE OF SHIT AHHHH
Don’t yell at us wtf
I hope it doesn’t work now
Just because of that
@tepid olive lazy load will call the constructor when the first symbol is bound
How is cicuta virosa used? There isn’t any documentation I could find. From what I can put together I think that I have to call cicuta_virosa() but I don’t know what happens next.
Y’all talk about developing tweaks and apps and shit
That’s literally it
I think it’s main.m you add it to
So like you can access other app data?
No
What can it do after that then?
@fast quiver wanna test iPhone 11 Pro 13.5 --> 14.3
@grave sparrow i though FR was already confirmed to work for upgrading from 13 to 14 on A13
well im updating to 14.3 RC whenever 14.5 RC is out
don’t have 14.3 blobs
i only have 14.3 RC blobs
is that a bad thing
look at its code to see
It doesn’t click
guys i made a program
It sets the effective UID of the caller process to 0 (root) and establishes arbitrary kernel read and write primitives with read_64 and write_20
@grave sparrow wrong
It is then up to you to implement any patches like hgsp4 or anything you wanted
broke: writekernel32 woke: writekernel20
@tepid olive your profile pic looks like he just figured out how to take selfies
CAT
cat
Ye
ye

why uihh

yesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyesyes
ye ye ye ye ye
while :; do printf ye; done
cock
It’s bleeding edge because it puts you over the bleeding edge

hellol sheep
windows 11
Would the only way to dissemble a framework be by transferring the dyldsharedcache to my computer and analyzing the whole thing in hopper?
^im trying to figure out the args to a completionblock
yes? i’m pretty sure the binaries are all in the shared cache
@tepid olive I'm going by theory too haha.
iirc there are pre disassembled dylibs you can download if you’re tight on time
@tepid olive where are those at?
Halal sheep is a sheep thats dead 
They hang it up side down and drain the blood
And then its halal

@faint timber whoa. she/he did it.
I was just reading this article & this guy couldn't do it. https://worthdoingbadly.com/dscextract/
I learned to extract working shared libraries from macOS’s dyld shared cache, and learned a bit about Mach-O executables, Objective-C, and problem solving along the way.
yeh
frogus frogus frogus frogus

Open source?
there's a dash for some reason I guess
Yea just look at that. That should have enough info about how to send imessages programically
pls don't use it for bad reasons though
spam bot time
welp nevermind I was legit just going to make that but someone beat me to it
yep a lot of people kinda did
dee
if your use case is basic enough save yourself the effort and use iMessage's AppleScript support
@nimble parcel it wasnt for me. I was trying to help this guy
hi there
cc @modest ice in that case
☠️
Can anyone link some tweaks that use NSUserDefaults so save tweak preferences?
Shit it’s faster than Xcode at least
mhm not really
idk how slow xcode is for you
but mine is a matter of a few seconds
10 max
it takes over 7 minutes to compile for me
compile what?
Just with the default program

Default template
ok you just have a bad computer
Its 2017 iMac
F
2020 mpb here
That’s why
woe
ah fuck me i almost wasted my time debugging an issue i created on purpose to try to test something
WTF IS THE EMOTE CALLED



tru
Well not for me
Idk why
I just remake paid tweaks that I don’t feel like paying for
Understandable
2017 imac should not have 7 minutes comp times
Something is seriously fucked up
My i3 hack compiles in like 20 secs
lol
Run top in terminal
And check tf is going wrong
Or activity monitor
Whatever floats your boat
Nothing seems out of the ordinary
I mean I just clean installed macOS yesterday
And it still takes that long
¯_(ツ)_/¯
😂😂😂
Normal shelf bought 2017 iMac
Honestly
Nothing has ever been done to it
Bruh theres some shit fucked with your computer
what xcode version
Latest
F
Idk, idc tbh
This man got a pentium
I usually make tweaks anyway

what tweaks have you made?
That’s free and everyone can use
I could tweak it 
It just adapts to dark light mode
aight
^
LMAOOOO NICE JOB BURRITOZ
GOOD JOB WITH THE SIZING ON THAT BUFFER

(it was the wrong size)
why
im only very tired
my brain is stopping working
fine ill commit, then sleep
damnnn but i wanna work on [redacted]
okeee fine i sleep

My brain has stopped working*
@valid venture you there I have a question
Lmao
Bruh i troll so many mfers
They keep looking for a hitta named ricardo
Ruperto*
At this point im tired of these mfers
Turns out tracing all functions in a app is not the way to go
Does anyone know why booting a ramdisk and mounting the User partition gives this error?
Used https://github.com/danieltroger/telnetd_ramdisk to create the ramdisk
its probably already mounted, isn't disk0s1s2 the stock system data partition
isn't disk0s1s2 the stock system data partition
I thought that was disk0s1s1
So what's the user partition?
i should have phrased better, disk0s1s1 is System, disk0s1s2 is Data. both are already mounted
both are already mounted
I don't think so, System partition is mounted to/mnt1but not the data partition
they have to be for the system to be booted. if you type mount youll see the mount points
@analog echo apple doesnt let you mount those disks pretty sures
Ive tried it too
With mount apfs and mount hfs
You can check userfsd framework
/dev/disk0s1s1 on / (apfs, local, nosuid, union, journaled, noatime)
oh you're in a ramdisk, sorry ignore me
Yeah that's the thing
Yea you d have to unmount . Its because its already being used
can u mount it as read only?
Not even sure its possible
Nah he cant
Most likely
I ve tried this
Couldnt end up finding a solution
Although i could look at the userfs fw and umount it using the methods and trying to mount it on my own
It wouldnt even let me mount my external ssd
copy an fstab?
nope, all the mounted ones are readonly too
/dev/disk0s1s2 /private/var apfs rw,nosuid,nodev 0 2 nosuid,nodev might be important
I've seen this done before so ik it's possible just not sure how
Yea ik its possible
But just not the way i ve tried
Although ur in a ramdisk
I tried to mount external ssd
In /tmp. Instead of user directory
Gave me the same error i think
Not sure
yea I am, maybe I have to do it when booting the ramdisk, idk
when r they here? I could really use some help lol
been tryna do this for 3 days now
right

.

.
_ _
_ _
_ _
_ _
Hello development I am enquiring about something quite urgent
enquire
_ _
I am making private jb, do I just make a function called install_cydia(); in main.m and be done???????!??!???!!???????????????????
yes
yes
yes
also add hax(); for kernel hax bro
I think it’ll overload the sockets and vouchers in the addresses to install cydia right??????
eta kids don't know about vouchers
bad acting
Sorry fuck
Hmmmm
you might wanna learn that's an actual method in the SDK
Idk what they know anymore
not the same syntax exactly
but it is
They just drop some random shit like “does this get ELI5????”
what does it do
lol
Literally the entire tweak prob will involve like
Less than 10-20 lines to be changed
I hope there isn’t any bugs in it tho

If there is, I’m not fixing them
Not because of laziness, but because I don’t have anything to debug them with
can you draw things to the screen in c? using theos and on ios 12.1.4


no, UIKit is an Objective C/C++ framework
ok
unless u want to call objc_msgSend from ur C code 

you do not need to use UIKit though
yes use metal

sWiFt uI
import SwiftUI
struct ContentView: View {
var body: some View {
Text("Hello World")
}
}
done
I don't think so 
false
swiftui is not just uikit
true
UIKit but somewhat buggy
it's really fun tho
Ill board ur story
ok
what should I call my prefs framework
YKPreferences
Has anyone extracted the YouTube headers because I want to make a tweak but don’t have a jailbreak yet
I would say use Corellium but the App Store is broken there 
but you need to decrypt the IPA on a real device, no?
yes
ok buddy
wait so if i have a encrypted ipa on my mac (i used imazing) can i decrypt it?
i have an m1 mac btw
ok why not tho
what are you even referring to
ok idc
if it gives me an ipa im good with it
yes
exactly
bro i know how to code
Is it the bunny one
i just really dont give a shit about spyware
true
Understandable have a great day
what?
ok but i never got my question of if i install an ios app on my mac can i decrypt it to get the headers
because i technically have root access right
uh
no i'm pretty sure u need a phone

because it needs to be loaded to be able to dump it










ok
but i can't help sorry
well how do you do it on iphone
decrypt and class dump, or debug at runtime
that too
ok ill look into those
UserDefaults.standard isnt gonna work in a tweak, right

wait idek what UserDefaults.standard is

i bet it would actually
the proper way to to do preferences is to literally use userdefaults standard with the private inDomain method
bruh
is UserDefaults.standard the same amongst all da processes
give me open source example
one sec

look at line 18
god damn it renai why are you using logos
the inDomain pretty much just means only from me.renai.panic plist
the keys that i request are the same ones i set in the actual Root.plist of my preferences
what is this PXHandler shit
NSUserDefaults initWithSuite literally
bruh
my singleton class
where i store the preferences
oh
u can't install that on ur mac
not unless u have a jailbroken phone lol ¯_(ツ)_/¯
ok no excuse for shit code
knowing u it'll just be a PR to rename my folders
i do have a jb phone but i dont want to use it at all because its slow af
@propertyWrapper struct Pref<T> {
let key: String
let defaultValue: T
var notificationName: CFNotificationName?
let defaults: UserDefaults
init(suite: String, key: String, defaultValue: T, notificationName: CFNotificationName? = nil) {
self.defaults = UserDefaults(suiteName: suite)!
self.key = key
self.defaultValue = defaultValue
self.notificationName = notificationName
}
var wrappedValue: T {
get {
defaults.object(forKey: key) as? T ?? defaultValue
}
set {
defaults.set(newValue, forKey: key)
if let notificationName = notificationName {
CFNotificationCenterPostNotification(CFNotificationCenterGetDarwinNotifyCenter(), notificationName, nil, nil, true)
}
}
}
}
this shit make sense?
idek
@gaunt mesa fr bro you literally set the safemode sequence to the respring sequence in ctor

i fixed now
NSString *safemodeSequence = [defaults objectForKey:@"safemode_sequence"] ?: @"104.103.102.";
if ([defaults objectForKey:@"safemode_sequence"] == nil) [defaults setObject:@"104.103.102." forKey:@"safemode_sequence"];
// this line right above, you had it set to @"102.103.104.", which is respring sequence```


oh
lmao
i did

yes
i used initWithSuite
lemme just look through it
np
just a small capitalization thing so my OCD doesn't just 
construcytor
yed
do you need to create the suite?

can you j answer
what do you mean by create
addSuite
ok
I've used it before and never had any issues, seems to work here as well
XML Language
merged
uhhh.. what happened to NitoTV?
https://twitter.com/nitoTV - account suspended
From breaking news and entertainment to sports and politics, get the full story with all the live commentary.
rip homie
whatd he do?
idk his views so idk if that was a joke
It’s not sadly
was he really at the capitol?
what a strange world we live in. does he have a discord here or somewhere to contact him?
@pine marsh Oh he's here.
oh god he's coming for you balls.
Oh God oh fuck
he got a gun in his profile pic. Yikes for me dawg
i used to shoot those orange disc birds at my dads range. I was like 5. I dont think i was allowed to haha
Been searching for about 2 weeks, and complied out with Theos for about 10 hours, tweak builds, installs, no working output, I did a lot back on ios 9, I know things have changed 🙂 arm64e device, running ios 13.3, anything special I need to get it to run using and 11 Pro Max, jailbroken with Uncover.
Yeah you prob weren’t
But who cares
¯_(ツ)_/¯
If you grew up here, if you were able to hold it, you were able to shoot it
Well if anyones interested and has an appletv. I was gonna ask nito to host this. but hes not online anymore. https://twitter.com/CokePokes/status/1360673421236064257
I compiled a tweak (based on MCPatch) to allow an iOS (iPhone) beta configuration profile to be installed on AppleTV. Was sick of my ATV asking me to update when not jailbroken. Here ya go if interested: https://t.co/Z4XS3kah4d & iPhone profile is here: https://t.co/ZESAeT0QDQ
simple tweak trying to pop an alert on taskbar click: anything wrong with the code?
#import <UIKit/UIKit.h>
@interface SBStatusBarManager @end
%hook SBStatusBarManager
-
(void)handleStatusBarTapWithEvent:(id)arg1{
%orig;
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Hello World!"
message:@"This is my first tweak and I'm happy!"
delegate:nil
cancelButtonTitle:@"Youhou!"
otherButtonTitles:nil];
[alert show];
return;
}
%end
I spend a few years in the past with cycript, and other code,
just trying to get it to compile again on new device 🙂
@plucky cedar wouldnt it be better to hook the statusbar and add a gesture to it?
I'm up for anything that works to let me know the code is running 🙂
Oh shit lol
I've tried logging out and grepping NSLOG output no luck
maybe the method just isnt being called
@midnight leaf do you want me to ping josh to host a package on his repo
if you can find his @
Springboard still what we want to hook on newer os versions?
com.apple.springboard
@ivory prawn @midnight leaf wants a package hosted on your repo
cool yep hooking in plist, { Filter = { Bundles = ( "com.apple.springboard" ); }; }
Freaking TV
well not hooking injecting into
Method just prolly isnt being called.
cool, any simple function more likely to be called on device load?
To make sure a tweak is hooking just hook springboards didFinishLaunching
Snapchat dev 
will do, do I need to update SDK files or anything like that for newer devices, our are they just used for pulling classes and function names?
Inshallah habibi Snapchat banned 120202029299292 years
-(void)applicationDidFinishLaunching:(id)arg1 ;
What SDKs do you have
that method is called every time you respring
old 11.2 us newest, not sure if they are used for build or for reference?
What device are you compiling for again
@plucky cedar And try using oslog. install that from cydia. and use this:
instead of alertviews
arm64e device, running ios 13.3, 11 Pro Max, jailbroken with Uncover.
thanks 🙂 give it a go and hope i get a hit in the logs 🙂
And use it like this: CPLog("LOGGING");
GL bro
its color coded so you should see this in terminal
Goodluck @plucky cedar also for oslog you want to use CPLog("text from string %{public}@", @"some string or object to log");
i use console.app anyways for the time being
but that's still useful to know
i do like the LINE thing
is that available in swift too?
I believe so! but wouldnt know. theres also a way to see what method name its being called from if i remember correctly
yase!
i love coke
i believe its __FUNCTION__
Standard Predefined Macros (The C Preprocessor)
macros are life
lmao
@misty cradle thanks!
oslog running, not seeing it in the output, is it include or import for the header files?
#include <UIKit/UIKit.h>
#include <os/log.h>
^fair enough
@plucky cedar You hook SpringBoard & -(void)applicationDidFinishLaunching:(id)arg1;
still on statusbar, I'll give the other a shot
yea lets test if youre tweak setup is correct to rule out that everything is set up correctly in theos
so try the -(void)applicationDidFinishLaunching:(id)arg1; first
cuz we know thats always called no matter what after a respring.
hmm that specific format or -(void)applicationDidFinishLaunching:(id)application {
Although I dont use theos, I'm oldschool and stuck with captainhook+xcode because its always just "worked"
no worries 🙂
However you would do it in theos. Method is here: https://developer.limneos.net/?ios=14.4&framework=SpringBoard&header=SpringBoard-Class.h
Class is SpringBoard
@misty cradle I wish i had the balls to do coke back in the day. Woulda stayed tru to my name but now its all laced with fet & i'm not trna die
true
dopamine is dopamine 😉
adderall
meth
@midnight leaf i shit on some commies bitches who got butt hurt and reported me. i guess it was the last straw 🤷♂️
haha
commies are a protected class of mental patients on twitter
pls keep politics in #jailbreak

🤨
he asked a question i gave an answer. i dont have any more to say on the topic
So funny enough, i have a problem with my apple tv now. nitotv app gave me an error when installing 10 updates. wouldnt respring. I forced one, it never came out of the respring loop and now checkrain gives me an error everytime i try to jb. RIP
mfs really take clownfecta serious 
@midnight leaf reset it bro
thats what apple would tell u to do it
it always works™️
I tried safe mode & when it booted, apple tv gave me the option to restore or restart. I pressed restart and it never happened haha
@midnight leaf that was preboard u can ssh in and killall -9 PreBoard
and springboard SHOULD come up
how do i get this thing out of dfu mode now because exploit is failing
if it does not as long as you are sshed in you can take the best route from there
so the “reset all settings” menu is just an app called PreBoard
try sshing when that comes up.
its stuck in dfu mode rn since checkrain failed at the exploit part. Would my best bet to use Revive Device from Apple Configurator at this point?
and if PineBoard doesnt come back but you CAN ssh in they “snappy -o ; reboot” will get you back to proper “vanilla” prejb state
stuck in recovery u mean?
if its in DFU just run CR in safe mode again
superbro
Yeah
no. peek.
Lol

Bruh
F

@midnight leaf we should prob move this to tvos channel

couldve made thousands... but chose for peek instead....
lol we scared away the developers
/s
@pine marsh yea its stuck in dfu. I'll try revive device
ok dev talk time
anyone feeling up for coding part of FectaAIO sneakerbot mobile version in a few months, if desktop becomes successful ⁉️
@turbid fjord I'm just looking at your custom icon code and I can now see why it didn't work
0 * 1 is still 0
I did say it wasn’t finished

it's ugly af anyway
how to tell PreferenceLoader to open a SwiftUI view 
so the same way you would do it in an app to load swiftui view in objc
u do it in tweak
Ok

uh oh but it wants a UITableView
I have monitors and desktop pcs
@turbid fjord does amy give feedback tho 
1 monitor and 2 desktops
No
wym u can give preferenceloader a custom vc
Ah
@grim sparrow
Monitor isn’t technically mine tho
doesnt it need to inherit PSListController
I think it does
@wicked summit uh yes
or it goes loony
i think
yea
Nah
what?
so PSListController view is UITableView
oh no I do give feedback
wait wait bro
well ok sure but yea
let me go into veza pref real quick
not UIView
no sir
it does not
u can make it load custom vc
without making it inherit from PS bs
well I have
<dict>
<key>cell</key>
<string>PSButtonCell</string>
<key>defaults</key>
<string>com.apextweaks.vezaprefs</string>
<key>action</key>
<string>selectModules</string>
<key>label</key>
<string>Select Modules</string>
<key>detail</key>
<string>VEZAPreferencesModulesTableViewController</string>
</dict>```
@midnight leaf hey
class RootListController: UIHostingController<PrefsView> {
override func viewDidLoad() {
rootView = PrefsView()
}
}
and this shit do not work
whatchu mean
class RootListController: PSListController {
override func viewDidLoad() {
super.viewDidLoad()
let prefsView = PrefsView()
let host = UIHostingController(rootView: prefsView)
modalPresentationStyle = .fullScreen
present(host, animated: true, completion: .none)
}
}
this shit work but it is just presenting the view modally
which is not good at all
yeah

swift prefs is so much work
its complicated af
when I do this and check it in FLEXing, there just is no vc at all
like RootListController j does not pull up to da party
I feel like I am so close to swiftui prefs
I’m here
No idea tbh
It’s my brothers
Not mine
I’ll go and ask him
HDMI cable
Usb C to hdmi with an adapter
True
frcoal
coal that's fr


Nah it will be hdmi to usb A with usb C to usb A adapter
wtf wtf wtf
That probably don’t work


L


everyone has been stealing our emotes, now we take back what is rightfully ours 
fr

true
Don't need a formula when I can just steal other people's bitches 

u need a formula for that too
plankton got some hot drip
class RootListController: UIViewController {
@objc func setRootController(_ controller: Any?) {}
@objc func setParentController(_ controller: Any?) {}
@objc func setSpecifier(_ specifier: Any?) {}
override func loadView() {
let prefsView = PrefsView() // SwiftUI view
let host = UIHostingController(rootView: prefsView)
let tmp = host.view
host.view = nil
view = tmp
}
}
wait I might be dumb
struct is value type
I gotta wrap my brain around this shit





5am pings are the best pings, wb?
n
n



















