#development
1 messages · Page 514 of 1
yeah or you need to find it on your disk because its probably there somewhere already
^
Just need the last part of that command
Also thats old toolchain now.
$THEOS/sdks
lmao imagine not using autocd
Follow the official theos guide
aight
More like the OS that only runs theos

i would be so down to make this, but i dont wanna fuck with networking
bc thats a lot of work
how does compiling with mutliple sdks work
do you need to specify which one theos uses in the makefile?
yes
use sudo

L
bruh just use google. 
install the missing dependencies
do you know how to use linux? i assume you do because it says “hacker” and “bug hunter” on your profile
Install Clang
got you, yea most of these errors you can look up what they mean but most tell you exactly whats going wrong. some are more cryptic but if you ran into a problem the chances are 9/10 someone did too and theres a discussion somewhere on the internet
Follow the official theos guide and you wouldn't see any of these errors.
@tired panther go to the theos wiki and install it the dependencies for your operating system
it’s a dependency error
thats what im doing rn
hmm i thought those were just compiler/linker errors.
In this case its doesn't have the SDK to link to.
clang is the one linking it to SDK?
🤨
here you go
please follow the theos wiki and not any other source the next time
read it and follow
alright thanks
theiphonewiki one is outdated
If I wanted to pass cin into a Object in CPP, how would I do so? I have a setter method I want to pass the cin to but doing object.setValue(cin) doesn't work.
@tired panther depending on your distro the dependencies can have different names, for example in debian the libtinfo5 package for arch would be ncurses5-compat-libs
i don’t understand the question
Aha.
but if you want to pass an input object then look at cin uses underneath
class Object {
int value;
public:
Object() {
// empty constructor
}
};
int main() {
Object o = Object()
// ... pass user input and set the object's value
}
@hardy glen
I have a setter in mine, I just wrote it quickly in discord
just make sure to google “package-name” “distro” if for some reason the package won’t install because it doesn’t exist
Should I store the value of cin and then call the setValue?
Annoying
you would not pass cin lmao
But okay
amazing language
congrats on becoming a true chad and changing your life
fgets moment
export TARGET = iphone:clang:13.6:12.0
export this cock
Ah yes the convenience of cin is worse than fgets
can this be my issue?
do you mean may it 
this whole language is an inconvenience
then don't use it
its a blessing from god trust me
the syntax is god awful

.
Thats the syntax used in most languages
ok
complaining about the best language in the whole wide world 
std :: cout
stdcum
god

the fuck is that double colon shit
using namespace std like a chad
not using cpp like a chad
Lol. If you want to complain about a feature, atleast suggest a better way of implementing said feature.
This info is available on the iphonedevwiki somewhere but the format for that variable is:
TARGET = <platform>:<compiler>:<sdk version>:<minimum deployment version>
So if you don't have the same sdk version in $THEOS/sdks then you would see that SYSROOT error.
I see
@gusty pelican if you think that is annoying then you can also do it another way that is using what i told you before . use an input object
istream
Just use scanf with chars 
not sure what will make more sense to you
CPP is quite a nice language not gonna lie 😂
#include <iostream>
class Object {
int value;
public:
Object() {
// empty constructor
}
void setValue(std::istream& s) {
// whatever the fuck
s >> value;
}
};
int main() {
Object o = Object();
o.setValue(std::cin);
// ... pass user input and set the object's value
}
if that makes sense then use this
didn't want to confuse you if you are new

clang-10: error: no such sysroot directory: '' [-Werror,-Wmissing-sysroot]
basically istream is a input stream and cin is basically that
I installed clang
I searched on google
no fucking
solution
for this
fucking
if that is the route you wanna take
There is a solution for it
If you are going to do OOP, don't pass around the data manager/provider. Pass the data you get from it.
but I can't seem to find it
Bruh literally told you, its to do with your SDK
yea honestly that is what i would do and suggested in the first place but i was just telling him, if he wants to go that route it is possible
i wouldn't do this honestly
I understand
But the SDK I put is correct
I changed it t
Well it clearly can't find it
Windows moment
Also F
I use windows at the Moment
bro
Yes
pls remove hacker from your bio rn and also bug hunter
oh gosh
trol
..
Let me boot linux and I'll get back to you in a sec
bruh you are not suppose to be fucking with the linux filesystem from windows
I wouldn't be surprised if windows messed up the permissions of any of those folders if you modified any of those files via windows
you are supposed to do everything from command line
Exactly
if you take a file from your desktop into a WSL and you try to touch it, you dont have the permissions
thats what I did.
Yes because those are 2 different filesystems
One that keeps metadata (Linux) and one that does not.
I'll redo the whole process
from my linux boot.
Which one?
follow the guide 
Ok ok
not the wiki
wiki is outdated
really? okay i might be tripping
the only supported version of windows is windows xp
if you follow the guide, there is no reason for it to fuck up
you need to install windows xp

@vivid dew omw
VMs are not supported
my bad 
you need a pure Windows XP partition
you need to install this too
wtf
filter
can someone help me debug my important program rq
can't figure it out
#include <iostream>
#include <string>
int main() {
std::cout << "Hello WrOld" << std::endl;
std::string *responseOfTheGuyThatIsGoingToReply_TOTH_IS;
std::cin >> *responseOfTheGuyThatIsGoingToReply_TOTH_IS;
std::cout << *responseOfTheGuyThatIsGoingToReply_TOTH_IS;
for (;;){
long long *i = new long long;
}
}```
i am trying to build a snake game
it is crashing

ubuntu a true hacker
🤷♂️
bro ngl you need to remove hacker
thats fax
nah i am agreeing with you
Some people think its weird when I put stuff on my profile
@tired panther just saying everything would have been easier on windows using WSL if you just read the instructions
yea it might be i would expect a hacker to know what he's doing lmao
i run theos on WSL all the time and it works perfectly fine
all you have to do is read and copy and paste commands its really not that hard
I know what I’m doing. But since its first time into IOS development. I can tell I need some assistance.
if anything you can remove wsl itself and restart fresh
youre not even on the ios development part
this is just the setup
^
I know
ok so
my fault but i just thought you were a hacker and you would know more bro my bad
I’m just used to reverse Engineering
I’m redoing it on ubuntu
reverse engineering is harder than this, how do you know how to reverse engineer things but dont know how to copy and paste a couple of commands off of github
ubuntu would work fine as well honestly. whatever you are comfortable working in
I know how to copy and paste stuff
I’m a slow learner
well thats all the setup is
again, youre not at the learning part just yet
but whatefver
in the ubuntu shell this time
Just saying.
I know that relax
😂
some people out here will literally do what people say not to
im like, do not update your phone
but i just started the update process
like
bruhj
ever since i saw the linux file system screenshot ive lost a little trust
Its where WSL leaves the directory place
what is I want to?
yea just run ls -la
Anyways
I’m more into reverse engineering
yes sir
uhhh no you would likely have to change them i think because isn't hdmi port attached to your graphics card
(opens new window). This assumes your board and monitor are of the same spec. This means your 144Hz monitor is only seeing a maximum of 120Hz as determined by the hardware. This limitation does not apply if your board has a DP connector for the IGPU.
If you have more than two GPUs (AMD, Nvidia and Intel), this setting is limited. A monitor connected to the AMD GPU means Windows will only allow you to select the AMD GPU or the Intel IGPU. The Nvidia GPU will not show. In a future version of Windows, this limitation is removed
(opens new window).
As a recommendation, if you use both operating systems equally and prefer no downsides, your best option is an HDMI or DP switch.```

that hints to what you are talking about, if your dgpu is not being used that means not of the operating system code is running on the dgpu and only on the igpu.
wont sudo su just log in to root user
yes

damn so the hdmi port is just with the dgpu?
oh so if you have a hdmi port for your igpu then you can use that
you can get a hdmi switch to switch between the two like it says. i don't have pc though so i am not familiar with that
damn, i have no clue about that honestly. there might a device that could help you with that but i doubt you would want to go that route
yea that's for your framebuffer and getting your hdmi shits
thats not for your igpu is it?
wait let me see hold up
you would have to set your igpu as the primary gpu in your bios. and honestly no clue since i only have an igpu but to my understanding, you would need to use igpu because it's supported.
you would most likely have to disable your dgpu maybe through ssdt even.
as far as using your dgpu hdmi, i am not sure if that is possible but i might be wrong because i do not have a dgpu
i am pretty sure only your igpu hdmi would work and you would have to disable your dgpu somehow(most likely tells you how to do that in the guide) and also set igpu primary in bios
i have not found anything that disproves what i just said so i think thats the best way to go ^
also, just make sure your NIC is supported
if not, then you would have to buy one like me, most likely broadcom.
yea, you need to completely disable it
theres three options
ssdt or device properties method
only use boot args as a temp test

F
i mean at least you know something will work
oh
yea that is what it's saying
it's saying that either get a switch. or for windows you can make it so your buffer is copied to your igpu for gaming with the hdmi connected to the motherboard port but it has downsides
Nvidia settings can no longer be opened. This requires the display to be connected to the GPU
Decreased frame rate.
Increased input latency.
Refresh rate cap.```
i doubt you would want to deal with all that shit ^ so that is not an option
nfr
if you don’t game either then you are good
if you do, then i think you would need a switch of some kind
Not sure if this is the best place for this, but is there a way to have a slimed down Xcode installation, something that works with git/theos/etc but doesn’t take 45+gb?
ah
!
seems right
wait, maybe I’m dumb and xcode-select --install will do the trick
not helpful but half of that storage is from simulator shit
I know, and I clean that stuff regularly
I’m trying to get a bigger mac soon, but I can’t for a little bit
like how many inches bigger though

like storage bigger lol


@high citrus sorry for the ping, mind sending the source again so i can debug the issue. i can't search messages on discord for some reason
.... F
i have like 3 of those. vga does not carry audio
damn, this why i got a dell laptop with intel cpu with igpu because it's so easy
just cop a cheap i3 or i5
sell dgpu because you won't be needing it anymore 
@high citrus uncommented line and the tweak works fine. no locking out of apps
ended up using latest 14.4 sdk instead of the ios 13.6.1
and the tweak.log file is present as well
Hmm weird, even if you reboot (user space)?
Let me try
Hmm
maybe conflict?
not sure what the sdk would have to do though. just used latest, try it
this is a prebuilt (known dangerous) deb (about the same as the current source, just a little older), which has definitely caused problems
Hi all! Not sure if this is the right channel or Discord to ask, but I’m playing around with SecureROM/llb/iBoot to see how they work internally. I’m trying to emulate the boot process using QEMU. For simplicity, I’m focussing on the very first SecureROM ("S5L8900 Rev.2"). At one point during execution, SecureROM seems to pass execution to another binary, which I believe is LLB (see the attached screenshot, line 14).
The problem is that I cannot seem to figure out how to align the LLB binary so that execution continues correctly. Also, I’m unsure how to exactly load the LLB code in memory. I tried to load the LLB code with the IMG2 header stripped into memory at base 0x22000000 but execution then jumps to a random function. Does anyone has experience with this? 
@tulip radish
^
@tulip current I'm not at all versed in img2 but with regards to img4, there is an entire library used for decrypting, decoding, and validating the image before booting it, there is also alot of register, dram setup/calls before it can boot idk about older devices but newer devices do it via a trampoline memory.
idk
there is an entire library used for decrypting, decoding, and validating the image before booting it
@faint timber Do you know if this library is part of SecureROM? If so, I maybe I can try and find the routines related to this library. SecureROM indeed does a lot of register and memory setup.

ERROR: maintainer script 'postinst' has bad permissions 664 (must be >=0555 and <=0775)
How do I fix this?
chmod +x postinst
it's probably layout/DEBIAN/postinst
ok lemme check
Got it
root@127.0.0.1: Permission denied (publickey)
I set the THEOS_DEVICE_IP to 127.0.0.1
@tulip current Heh, I’m doing the same except I’m running A13’s secureROM natively on a raspberry pi
That was in the makedo file
It should be, yes.
Any armv7 binaries should be quite easy to symbolicate, good luck my friend.
But img2
I think img2 exists
Still stuck with this issue
root@127.0.0.1: Permission denied (publickey)
@west grove can you maybe tell me how can I fix it?
Please.
try with -p 2222
thanks, you too!
Build with FINALPACKAGE=1 to get a non debug version
what langueges the tweaks use
Generally English is used
ok
@twilit jungle Does this means too many errors?
https://github.com/alshdavid/BorrowScript
this looks interesting
I hate borrowing
rust flashbacks
does anyone know how to make a udid whitelist system for a repo
so i can make a private repo
can't you just host it locally?
how does udid detection even work
i mean i guess i could do debs
i know that’s how the purchase api works with sileo
Couldn't you just modify it to send a fake udid
probably requires installing a profile
true
Like someone else's
doesn’t that work for any repo then
Probably
it just looks like ts and rust mashed together
i like rust
IDK what I am looking at... What does this refer to? and what errors?
I looked at google
found the issues
Tweak works perfectly fine now

@indigo peak i did it

ew
no
WTF
u can do it
ok send me src then
cope

you can do this
and cloudflare firewall rules have an api
sooo
I guess you could check the X-Machine-ID header if you're too lazy to implement proper login
how would you deny downloads if they arent logged in?
i didnt think about a login system
I'm not exactly familiar with the payments API but there's probably some authorization header or session cookie
alr ill look
yeah that’s what amy does i believe
well
stalking me wtf
this is why your girl boss pills don’t work
man
what did u do
idk what im supposed to see
edge to edge twitter design
it’s a beta feature
is it now not edge to edge
they select people randomly
let me check

lmfaooo
why would i if i don’t even know what it is
🤨
so you just aren’t going to explain what it is
Theos cat
Theos cat
Theos cat
theos dog>
i wholeheartedly agree
daily reminder that all mobile service companies suck
i can get on board with this
What about Theo in that video?
that cat looked like he was living like an absolute king with those belly rubs omg
that’s his reward for all the make files he maintains

@lime pivot can we get more pics of oreo
here’s him just before feeding the other day
he looks like your face
I have awarded you one (1) picture of Oreo because you asked nicely
Thank you very much
Is that bad or good
you tell me
I personally think it’s good
except for the fact that the area under oreo’s nose looks a bit like a certain dictator
me and little orrie cut from the same cloth
except, you know
one was people cloth one was cat cloth
my home is my office 😂

this guy gets scared even just hearing a courier at the front door there’s no way he’d survive in an office without crying the whole time, heh
He’d die
sometimes I catch him in the front yard when I come home, he instinctively sprints into the backyard before he’s even realised it’s me
Is he the type of cat to hit you when you try to give him food
Or the type of cat to sleep by you
I had 2 cats
One would kill me for anything I did
And one would cuddle me wherever I’d go
hah he was like that with me for a while but since I started working from home last year, and probably critically, fed him more often, he’s cozied up to me
I hated when all my cloths would get filled with cat hair
but he still occasionally does the thing where you’re giving him loving rubs and all of a sudden he goes “ok no more rubs” and swipes at you
heheh yep
my favorite pants also happen to be black and of a texture that really makes cat fur cling to it
Reminds me of this

He jus like me fr
What does “THEOS_LEAN_AND_MEAN” do in the Makefile
Thank you, I shouldve probably read it before I ask but oh well
Nah dw, ask whenever & whatever, just beware of meme answers
you’re probably familiar with that part already lmao
how do I stop theos from linking against substrate
tried -DTHEOS_LEAN_AND_MEAN and USE_SUBSTRATE = no to no avail
you could replace the lib for a dummy lib in case there’s actually no way to not link against it
Dgh0st moment
I mean I can always use optool to remove the link
But I feel like there should be an easier way
smh even then it crashes with something related to dyld_stub_binder
someone sent me a virus in dms and I wanted to open it in ida but it won't let me cuase it's a virus. Is there a way to get around that?
oh, I meant ida itself wouldn't let me open it
just tell it "yes"
kinda disappointed ngl he said he wanted me to review his friends game jam 
you’ll probably need to use the internal generator
did that, still links
in the .xm or via the Makefile?
in the xm
alright will give it a try
instance_LOGOS_DEFAULT_GENERATOR = internal
just link it against deez nuts
worked, thx
linkage 🙅♀️
bondage ✅
we should probably use clang modules for this stuff tbf, if only cpp support for it wasn’t half broken
ok

@lethal ice Do you still have that cup pong aim assist thing you did, I don't remember if that was yours or not

major trolling
yea why 
I want to try something similar for darts
would you be willing to share how you did it, or share the code
Spent too long searching fiore
LOL
I already have some code for that troll
Ah
oh nice
I think scoob should send the source code for his cup pong shit
I will not complain if he does 

its most likely all assembly 
Whats the point of creating your own product that is an exact copy of another?
Asserting Twickd noises
twickd also includes products you wanted but at a significantly worse quality than expected
It’s for “reference”
I wrote gameseagull from scratch
I should be able to copy something
🙄

imo there is no reason to have 2 tweaks with the exact same bugs...
Also doesn't really make sense to have same product have 2 different names
@hardy glen I sent a pr to Colorizd
merged.
pog
how close are you to the goal

Is it possible to know what methods it calls?
Like to simulate the touches
Because nothing I do works
I’ll just go ask the dev of birdshit then
Source code leak!
but like does it call “touchDownAtPoint” or “touchesBegan” or neither
i dont even remember at this point
@indigo peak frida

nah use f[redacted] its better
fuck?
You see, I tried, but like I think I did something wrong and it didn’t work
What didn’t work
What method do you wanna know the caller of
Like I didn’t see any touch method
I want to see if it’s touchDownAtPoint or touchesBegan
Or something like that
I’ll test it later if you want. Just tell the situation you want me to test and what method you want to know the caller of
On like birdpoop, when you press the button for the auto cup pong, I want to see what it’s calling when it throws the ball
I can try one more time
alright

if you download it, is the auto cup pong shit automatically enabled?
Well yes but actually no
There’s no pref for it
But the button is always thee
And you press the button activate it
okay cool ill test it
big brain
buy birdpoop and open it in ida
when development goes full piracy mode
getting the deb sent is no different than pirating 
its fair for research 
I mean, I wouldn't be using the end product
but
tru
what if i get it sent to me against my will
and i accidentally download it and open it in filza and install
he's obviously a monkey with an iq of 12 so communication is probably not possible
@twilit jungle we need you
that would be unfortunate but I guess there's nothing you could do
11*
dm time
don't we all
Sol is for fucking narcissist nerds
thats why im selling it
@lethal ice send me what fiore wants to make him feel bad he cant have it
ok? don't care makes easy money
you really do hate fiore dont you
I have more sol than u + ratio
but i know who they are so its really not worth anything
3
- counter
Nft bitch
1 btc
nft's are too easy money if you research
So do the research for me
i let my group do that for me

i have no time
i just read, ask question, buy sol if needed, buy nft
simple
L
if i sell all i will be at 5-6
I don’t understand nfts
but diamond hands
same
Dont try theyre stupid
I have no intention
the dumbest shit is worth like 10k
troll
i lost like 300$ on the first thing i minted, but i waited and now its 400$ up in profit 
soon sell
Call it Akara - A scam
lol
each copy will be unique
I’m honestly shocked no one has tried that
Procursus+ soon all payments will need to be made with the PRO token
I will periodically release new tokens to the homies
Slide me a token
waiting for
for procoin
It exists bro thats what im saying
I have 20 million PRO tokens
mf really bought it to reverse 
its obfuscated bro
probably
It most likely is lmao
fr
welp I wanted it to play too



understandable
POV: You used Android source code in your tweak
@grim sparrow since when have you been obfuscating aemulo
I haven’t?
ok time to crack
aemulo jailed
why deb not install?
I made a custom version for myself lol
sileo not open?
eta?
ratio
counter
Eta you can get me fancy entitlements and code injection into nfcd
reverse nfcd
find bug
make aemulo work
Oh I have dw
inject nuts in ur mouth
There’s actually a memory bug in nfcd
That you can access without entitlements
lol
what r u waiting for
mf just passing away free money ????
bug bounty
they most likely already know it exists
u dont know 
truly an amy moment
who
Lol
nfcd contains the NXP HAL drivers which were originally from the Android source
Which is why that’s been so helpful for me
i love ios 15 dnd/focus mode, it shows no banners at all
or any notifs at all
so peaceful
True
finally doing what its supposed to do
it can hide badges too
Who never puts his phone on silent
And is texting people all lesson
And it’s so fucking irritating
r moment
restarted
Constantly hearing snap and iMessage
call him a C
fr he needs some beating
@grim sparrow its bc he wants to feel popular
and he wants to make sure everyone knows
LOL
we need to bring back some bullying
I guess he just wanted to alert the whole class everytime she responded?
my moms contact for me is spawn point
gm fiore
lmfao
gm evelyn
banger tweet
Lets finally talk about how NFTs are a giant scam. (1/) 🧵
1551
3805
TL;dr big scam
what happens when ur done with laundry
it never stops
shut up bro
my pixel art of a white dude in a hoodie is going to become a family heirloom

@lethal ice how do i make tweaks in assembly
like where to start
after the learn assembly step
sure but writing a tweak in pure assembly might not be very much fun
scoob made this funky thing https://github.com/qwertyuiop1379/Tweaks/blob/master/fixshitbook/Tweak.S and im curious now
that's the equivalent of
%hook NSNull
%new
-(int)count
{
return 0;
}
%end```
bruh imagine using atnt syntax with arm
or at all

is that all it took to fix shitbook?
yea
bruh
does it have memory leaks 
thats why i wrote it in assembly because it was such an easy fix
assembly moments
i thought this was like some long ass tweak that was gonna take like 14 years to figure out what it does
and its literally that
bruh
well after logos processing yeah
gameseagull in assembly when?
why cant i
well u can but i doubt you’ll ever be able to lol
its more like
int count();
SEL sel = sel_registerName("count");
Class cls = objc_getClass("NSNull");
NSString *types = @"@:";
class_addMethod(cls, sel, count, types);```
damn said ur not capable 
it hurts more coming from evelyn the swift dev
fuck that if you wanted to write the whole thing in asm you could but idk why you would do that to yourself
it would be funny
and weeks of work
and then capt would finally like me
bruhkeys-jailed
exactly
i’m not saying ur bad but good luck ever finding the motivation
you wouldn’t even do it in swift
have fun learning why you need to save and restore special register values in order to avoid them getting trampled when calling functions

uh on second thought
what other languages could you hypothetically write tweaks in
like any language?
or would you need a propr way to compile them
honestly any language that can edit memory could tweak something
do any other tweaks written in not objc/swift exist on github
like do you know of any
off the top of your head
I think aspen used to write shit in rust
I am not sure though
@indigo peak ^
interesting
thanks
if any1 can find any other ones/ knows of any other ones pls let me know
objc++
deadass
please don't base yourself off lucy code
based
bruh
she increases jetsam limits

I know but it’s in another language that’s what he wanted
Never said the tweak was good lmao, because I bought it to get no updates
debug!(
"Memories broken, the truth goes unspoken, I've even forgotten my name, I don't know the season or what is the reason, I'm standing here holding my blade, setting my memory limits to {} MB.",
XENON_MEMORY_LIMIT_MB
)
tr
tri'angle
is that rusy

















