#development
1 messages · Page 458 of 1
k
btw if you actually figure out the root cause of that ultiply_... error then add a comment to issue #528
for file in $THEOS/toolchain/linux/iphone/bin/arm64-apple-darwin14-*
do
ln $file $(echo $file | sed 's/arm64-apple-darwin14-//g')
done
this should fix it
@formal glen
@twilit jungle this is said to fix it in the issues page
Yeah no

Thats for people that did the funky renaming with bingner's toolchain, though I still don't understand how those people are seeing that.
Except I don't think its theos... thats user error
@twilit jungle how is it related to binger, its the ld issue
lid
I guess you have to know how his toolchain works to understand it. Basically sbingner's toolchain doesn't come with prefixes, however if you read the error he obviously had $THEOS/toolchain/linux/iphone/bin/arm64-apple-darwin14-ld.
reading the error
so did he
No lol... there is no actual fix for the issue. There is just people with random things that they think is solving it but thats not it.
the fix is buy a mac
my fix should work given that muirey said its a better way to do what sato did
Well yeah, you shouldn't be renaming files in the toolchain
to be serious for 2 seconds though i was having issues like this and i reinstalled theos like twice s
so i just ended up creating a new wsl ubuntu instance as my shitty workaround
But if he is using Kabir's toolchain then it comes with prefixes which is correct.

yeh the issue is it not choosing the correct PATH
ig, though theos doesn't really rely on that either.
Theos uses TARGET_LD which is basically clang++
gcc++
gcc is boomer
gnu c compiler

gnu cringe committer
clang = cringe lang
gm
gm
i am

i am skoop




@tepid olive It made this possible so I am okay with python for now
import this
# don’t fuck python :(
unfortunately bpytop needs a terminal with 80 x 24 resolution support or it don't run
troll
also mTerminal doesn't have 24bit color support I learned today
meanwhile ncurses be like no 80x24 is not enough I need 80x25 
bashtop would run into the same issue so it don't matter
I am pretty surprised how tiny bpytop is tho
very light for resource monitoring
I went 40 mins with it while SSHed into my device without losing a single percent

good cuz i hate python more
true
hey
hey

wholesome ghost

goodbye
gm
f
how does iOS make sure a password was entered to unlock a password protected device?
or is there some method i could call to programmatically unlock the device without a passcode?
lol
something something SEP

sep is involved but that doesnt mean its required
im pretty sure the phone can still be unlocked if u just know what to tweak
Yeah if you find the thousand places where unlock state is accessed
Would be easier to find a SEP exploit /s
ty tri 
you have to sign it


yea you just need rust
nfr
no


you got trolled bruv
bruh
how do i check if a pointer is null
*ptr and then if you get a SEGV then its null sometimes.
if you resign a binary, cp it before or after you do
or sign a binary that wasn't yet signed, but you already executed it once before
once the binary is executed once, the codesig will stay cached by the file’s inode, so cp it to bypass that
ok that worked
how do i have it not kill the program
rewrite the kernel to not kill the program for that signal
troll
sugma(BALLS ,SIG_IGN)

Hello, I have some basic C++ skills i wanted to expand by making a few tweaks and wanted to ask what some small challenges were that people would like
gm
gm’s are not accepted on Mondays
is it good morning or good monday
it’s Ban Anime Day
is rc acceptable?
that would be a perk of being upside down yes
I've been asking myself this for weeks
ooh, that sounds cool
daily reminder that rust is necessary
Can someone help me with this compiling error?
It can't find the message header file

Do you have it downloaded
I have xcode command line tools downloaded
you need the actual full Xcode, not just Command Line Tools
can you check that xcode-select -print-path displays the location you've installed Xcode.app to?
/Library/Developer/CommandLineTools was the output
run sudo xcode-select -switch /Applications/Xcode.app to fix that
(can also be done via Xcode > Preferences > Locations)
Ran the command but theos is still throwing file not found errors
same ones?
yeah, mach/mach.h, objc/message.h, ctype.h...
can you check in the makefile if there's a TARGET set?
iphone:clang:13.5.1:13.5.1
you may need to download a matching or similar SDK from https://github.com/theos/sdks
well there's no 13.x on there for some reason
14.4 might be fine
change the first instance of 13.5.1 there to 14.4 once you've extracted it into $THEOS/sdks/
bruh
Where would the output be if it's successful?
true
nope
@lime pivot
ntfs moment
there's instructions specific to that on https://git.io/theosinstall I believe
to ensure Unix permissions are preserved on WSL mounts
ok it's not there
yea i was wondering
that page still really needs updating
the bottom bit isn't really useful, the output from the compiler above it is what the actual error is
What if you chmod 755 all the files in the directory that the control file is in? Since it says control directory and not control file

Here is the output https://pastebin.com/u01a4Khu @lime pivot
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
WcringeSL
All my homies hate windows 
Haycringeden
Too true
@primal perch
@formal glen the multiple dotenv load commands are worrying in your bot
you just need to call it once
The UNIX is the imposter (he is sus 😆)
why worry
when it works 
ig redundancy, hovered over some bits because your git was linked

sussy
your cock is now deprecated
wtf unix is sus?
me when linux
me when custom kernel and OS
Susnix
pls no
rm -rf .theos
rm -rf / --no-reserve-root
mfw you brick your computer
rw efivarfs moment
shit me i did a fuck
@tepid olive api dev true.
Can I commit an exclamation point to your readme, want a free tshirt
the tshirt is soft and comfortable af
does theos-jailed set DYLD_INSERT_LIBRARIES in environment?
thats it?
@icy kayak that makes zero sense
maybe I misunderstood purpose of theos-jailed.. I am just wondering if DYLD_INSERT_LIBRARIES is set while using theos-jailed
how would it
how could that even remotely be possible
that is not possible in a sandboxed app
then say 'no'
idk how it works but it probably just modifies the mach header to import cycript
then resigns
idk how it works either, and it's easier to ask here than test or scour its source. since we have smart people like @faint timber i now know the answer is no
substrate framework and the tweak dylib are added to the app's MACH Header under LC_LOAD commands @icy kayak
LC_LOAD_DYLIB

thats how it works
perfect thank you sir
also if it depends on rocket boostrap, you can shim the missing symbols, it just requires more work
but obviously we cant utilize rbs at all on jailed
nope not needed thank you though
true
pledge it to me and ill give your procursuspro
double the pro double the money
:giveme:

PROcursus
i have mac app that i can run in xcode
but
i want to install it to /Applications

Drag and drop the .app into it
Scope<Label> newLabel = Scope<Label>("cock", Font::DefaultFontOfSize(14), RectMake(80, 70, 150, 25), ColorMake(255, 255, 255, 255));
newLabel->SetVerticalTextAlignment(VerticalAlignmentMiddle);
this->view->AddSubview(newLabel);
C++ uikit
C++ uikit
I have a leak detector
for your diapers?
Yeah
Its not a diaper, its a big boy pullup
You don't worship the table?! That is fucking cringe bro.
It's been almost a month since I've been on and devs here are still obsessed with cock
nah it's only @grave sparrow

for some reason its using 0x0 instead of the value I have in place
Im just doing *PATCH_ADDR = *(volatile uint64_t*)PATCH_GADGET;
but its referencing loc_0 instead of the correct location
is there a clang flag to fix this bullshit
@faint timber Cant you just movk PATCH_ADDR and make it work
@tepid olive I just want to use c for a change lol
ah okay
how are you compiling
I feel like I've ran into this issue before but I can't really remember
xcrun -sdk iphoneos clang src/t8015_shellcode_arm64.c -target arm64-apple-darwin -Wall -c -fno-stack-protector -nostdlib -Wno-incompatible-library-redeclaration -o bin/t8015_shellcode_arm64.o
wait are you disassembling the object file
no the bin
okay good
/usr/local/opt/binutils/bin/gobjcopy -O binary -j .text bin/t8015_shellcode_arm64.o bin/t8015_shellcode_arm64.bin
this first
oh wait
that's probably why
since the linker is the thing that goes in and fixes all the pc rel addressing
I think you should just produce a mach o
*(volatile uint64_t*)(0x180032148) = *(volatile uint64_t*)((volatile uint64_t*)(0x28));
lol hax
and then gobjcopyit
Lol
classic apple shit
clang: warning: argument unused during compilation: '-preload' [-Wunused-command-line-argument]
pass preload to linker -Wl,-preload
ah
I think you may need -ffreestanding and -nostdlib as well
Undefined symbols for architecture arm64:
"start", referenced from:
define your entrypoint as something else
Make your entrypoint the name of your shc function
-e _fxn_name to cflags
np 😄
nah you gotta set that via -Wl,-image_base,xxx
ld: warning: -seg1addr not 16384 byte aligned, rounding up
also that did nothing to the output
wait what did you put your image base as?
its compiling to this, but I defined 0x180032148
image base is 0x180018400
because shellcode is run at 0x180018400
ah yeah clang wont like that cuz it isn't aligned
maybe
Set img base to 0x180018000
then do something like .space 0x400 right before your shc function
and then maybe it will work?
extern crate num_cpus;
fn _main() {
}
fn main() {
let cpus = num_cpus::get();
// make sure the cpu works
if cpus != 0 {
_main();
}
}```rust devs
rust devs

dont be rustphobic
ban

true
memory is unsafe
we need rust cpu
silicon is replaced with rust'
C
@vivid dew Please accept me
WSL more like wussle

@twilit jungle stop going full uhh circle
What circle?
https://pastebin.com/jqeydFEV that’s hot
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
pastebin
hi

Are you gonna start a new string tomorrow since the original one happened tomorrow but last year

hbd @tepid olive

why does clang not add a ctring to the cstring section if its 3 bytes long, in fact the string is completely missing from the binary unless I increase the length
sounds like an optimization
really?
only came to my mind because its 4 bytes and the compiler could easily just load it
idk then
true
true

It would probably allow you to brute force the passcode, but passcode bypass discussion is against the rules here
What's the best flex tweak enabler for 14.x?
@frozen fable flex debug menu or flex patches
thanks
its a hate crime not to use [[FLEXall]]
I'll grab it
[[libFLEX]]
nscake repo has the dep
@gaunt pewter 
Angry crab noises

If you are on arm64e, downgrade libFLEX to 4.3.0, otherwise it won’t show up
Brute force isn't bypass
You are still entering the passcode
Oh yeah ? Didn’t knew that, I thought it was only processor related and not iOS related, good to know
Kk thx for clarifying things
if you want to activate it through Activator, i made FLEXivator which is a fork of FLEXall
You are entering all possible passcodes which will eventually match with the correct passcode, that is a bypass
If it wasn't against the rules then why was it removed for breaking the rules 
What this role means
people with a pfp of an apple employee 
So they work at Apple or what?
wdym
Are they really working for Apple?
no
So I don’t get it
it's just a joke role lol
but i want to do do 24 day obj c thingy
that is?
can i still make tweaks then,?
do you have any knowledge at all about coding
only web dev
i would recommend learning objective c or another language that incorporates objectice oriented programming before you head into tweak development. will be majorly disappointing and not as fruitful if you head into without approriate knowledge and just set yourself for failure.
i want to learn objc and i wanne follow the 24 day thingy but it says you need x code and i only have windows
you don’t need xcode but its recommended. you can’t learning how to program in 24 days.
but how do i code objc then on windows?
you can learn c++ and then objective c
which will be easy after you learn c++.
good luck.
but how do i code objc in windows cuz everywhere i look i can't be done on windows
you can use theos
okay thanks
yeah then as suggested either get to know C/ C++ preferably if you can’t get an objc setup up & running
but what IF i've done that and i want to learn objc
then just follow any arbitrary guide you deem as useful to start your journey with learning objc
but i have no mac
at this rate you’re really better off learning C as objC is just C with fancy syntax on top
grab VisualStudio, trust that msvc will be your gracious host to compile and good luck
i will learn c or c++ then first.. cuz i really don't understand anyything
but is it possible to do it on windows?
Yes. Just be sure to adjust your expectations
okayy
yes pog
I use Visual studio code with ubuntu on wsl, i use wsl for theos
https://www.reddit.com/r/jailbreakdevelopers/comments/iumuh8/tutorial_theos_on_windows_using_wsl_arm64arm64e/?utm_source=share&utm_medium=ios_app&utm_name=iossmf best way to set theos up
what processes don't link with Security.framework?
Would not recommend this guide, it doesn’t use the linux toolchain that supports iOS 14 sdks and other things in it are outdated.
use cam’s 
now that is a tough one
can it literally be none?

Can someone create an adhoc distribution for a tvOS app?

for tvOS you either have to install over USB (for the HD) or Xcode wireless pairing (for the 4K), or MDM
uhh not sure tbh I only used a third party app store's MDM for tvOS but I can't mention it because they also host piracy
I'm using zsign to sign kodi
I've used zsign but not for tvOS
Welp I'm just gonna have to switch to macOS to figure this out
bruh
no its works fine
:?
nah sam updated his toolchain with iOS 14 + tbd v4 support
GM kabir
GM kabir
gm
Man everyone is shitting on this event by Apple
eh there wasn't anything groundbreaking but the new products seem nice
that iMac chin tho

Oh he did? I have only used katris one cause it was the only one for iOS 14 earlier.
Sam's doesn't support Swift though
I'm releasing one soon that should make things a lot simpler
Could someone here generate an adhoc distribution profile for a sample tvOS application for me?
I need a sample manifest.plist file for tvOS
And I can't boot into macOS at the moment
fr
if that was gone or half the size it’d be way slick
can't you generate one from the developer portal?
why not? I generate provisioning profiles there all the time
Figured it out
The manifest for a tvOS app has a different platform
com.apple.platform.appletvos
you need to recreate your packages file on your repo
I broke a direct attach copper cable to figure that out
use dpkg-scanpackages
then refresh your repo in whatever package manager you choose
There is no documentation saying that the platform string was different
Now I’m kinda pissed
Works and topshelf works as well
Every time I swap my hardware to boot into macOS something breaks physically
A while ago my 2080 super died when I was swapping it out for my 580
@lime pivot weird question, but could UserDefaults read CepheiPrefs and vice versa?
Assuming suite name was the same
4:20 4/20
5:20
we know

Yep
beware rolex is here, little guy who can not master power, ban people from the Odyssey discord channel for nothing
dog
he basically banned me for nothing from the channel
of course you sit and lick his ass
why do you care about that?
how do you know it was three months ago?

really explain to me why you're taking his party right away?

@tepid olive can you get the fuck out of #development
ok

nfr
Cephei not Prefs 😛
CepheiPrefs is Preferences.framework UI stuff
it's all the same CFPreferences backend, just HBPreferences has a few usability things + sandbox workaround
so the answer is maybe
don't lie, we know it's just CFPreferences renamed
😢
that actually does exist
idfk why
PreferencesUI.framework, not to be confused with Preferences.framework, which contains preferences UI
or does Preferences.framework not contain the UI in PreferencesUI.framework?
oh man
you really got him with that one
dog
i should start using that insult
right on man




scop
deez nuts
der skuup

wtf gn
if you didn't bother looking, there's documentation on the sileo website: https://developer.getsileo.app
Yeah yeah shush I’m dumb
hi dumb im kirb

so do u plan for gif repo icons
Lmfao
Well
Here’s the thing
I think it would be cool but other people don’t agree 
Being able to set a gif for repo icon and package icon
No
also thanks for fixing speedtest lol
it would be cool if you want people to hate sileo
don't make me hate sileo lmao
No
It was kind of a joke idea that I liked a lot but is too much work to write out SDWebImage
I love this image
will sileo support 3D animated models as repo and package icons?
CydiaIcon.usdz
lmfaoo

the world if Sileo had a good maintainer?

but who's the good maintainer
those don't exist
make it public property 
@gaunt mesa how does it feel to be a commie

the world without elucubratus
i have no association with trash products
but why

the world without tribalism
sileo could easily support web depictions
the world if Sileo's maintainers didn't blame massive retain cycles on Objective-C
whatever technical reason that coolstar gave us in 2019 is bullshit
I remember when web depictions were fully supported but displayed a Red Banner of Shame™
cuz they were using uiwebview
if not for sileo being totally rewritten, anyone with commits from back then could cherry-pick it back in and it would literally just work
no it was wkwebview
BRUH
the reason was all about control and nothing about technical problems
adam would u potentially have that commit and knew who wrote it
you could apply that to basically anything coolstar 
they blamed web view being removed on bigboss because an ad was screwing with the web view autosizing, but they "fixed" that by deciding they're allowed to hardcode a hack to block bigboss's ads
which I dm'd optimo about, who dictated a statement for me to send to coolstar: "fuck you"
LOL
depiction scrapers too
i don't know if enough people use sileo for it to actually affect ad serving repos
but
that's a thing
I mean thing is you can scrape shit and it's legally kinda-sorta ok, I mean being kinda-sorta ok is literally how google exists
i tried to find this message in redacted
If it makes sense, it's not Coolstar.
and then i saw the message about coolstar and deps
dyingg
what value does sileo scraping depictions add exactly
a lot of us support dark mode
Are we circlejerking the other side today
natively
back in 2019, it was more important to make Swift work with
try {
} catch {
}
than leaving web depictions 
ever just invent HTML but it's complicated and poorly designed and missing features and barely documented and call it better than web views
true my site respects prefers-color-scheme too, idk how package managers handle it though
and then ignore when users of your thing ask you for more features so they can get it at least somewhat to feature-parity with the HTML equivalent
useRawFormat would like to have a chat
wtf
but why is there a swifttrycatch
this is a Sileo dependency
do catch is native????
coolstar couldn't do do catch
pretty sure that's unironically the reason
why?
there's plenty of sileo deps that shouldn't exist
alamofire 
more like a lmao fire
do u mean like knowledge limitation?
or like swift version
or what
LNPopupController pisses me off
that's funny i think i could remove swifttrycatch in 30 seconds
the tab bar thing still has colors that are way incorrect on iOS 13+
ios 13
nope
i thought apple added it?
hm
@gaunt mesa just removed SwiftTryCatch, lol
does it work fine?
lemme test real quick
i don't think i will lol
still funny
defer might actually be good in this case
¯_(ツ)_/¯
MS Teams + Compiling Sileo = Intel mac dying
yeah um finally is legit just defer
it's on the private repo lul

the one i'm pretty sure he got removed from
I have the entire git history up to being removed anyway lmao
the error i just added, it wasn't there so i might remove it

that's what they use
SwiftTryCatch.try({
self.populateSections(form: form, rawForm: rawForm)
}, catch: { error in
os_log("Couldn't load remote form: %@", type: .error, error?.reason ?? "")
self.presentErrorDialog(message: String(localizationKey: "Unknown"), mustCancel: true)
errored = true
}, finally: {
})
if errored {
return
}
before
do {
self.populateSections(form: form, rawForm: rawForm)
} catch {
os_log("Couldn't load remote form: %@", error.localizedDescription)
self.presentErrorDialog(message: String(localizationKey: "Unknown"), mustCancel: true)
errored = true
return
}
now
@gaunt mesa is this fine lol
yeah
cool
not sure if the last return is gonna work fine, there might be a reason it was separate

meth
as expected zero issues
le sileo unnecessary dependencies
i think LNPopupController should get murdered and then you tell the ios 12 users to fuck off
yes
there we go
sileo is now 300% faster without TryCatch
lol
memory leaks are hearby canceled
press the like button of this should be deleted https://github.com/Sileo/Sileo/tree/amy/Sileo/UI/NewsViewController
so I need a l33t h4cker but not really. just someone who can help me find out what an app is doing to open these files it has, cuz they're all a jumbled mess when opening in hex editor on filza, and won't play on my Mac. Previously the issue was all HEX input on the file was bit inverted/negated. Now idk...
pog
i didnt know github did that
Sarah could you send me DM please @tepid olive
No, just say it here
Oh okay
Just wanted to ask about this result related ads
Is it possible to remove those with YouTube Reborn?
No and I don’t take requests, requests get ignored.
Okey then

Who's in charge of bigboss rn?
joe
who's...
mama



Apple should release iOS Pro
Swift Pro
Objective-C Pro
@late ridge if you have questions about something with bigboss ask optimo
aight, thanks
iOS Pro(cursus)
if gh actions can do it so can u
debs don't install

Size error or something
use dpkg
thats nothing to do with the makefile
that doesn't fix the issue though?
everything else works
it does

man
what are you talking about
if Sileo debs don't install
but everything else installs
where is it not installing
something is wrong
with sudo apt install ./*.deb?
dpkg -i .deb?
Sileo
i'll try apt
try dpkg
tale and amy had the same things
i know they did
its a sileo bug
and i can fix it
try dpkg :/
kk
how does amy's custom makefile work though
this error has nothing to do at all with any makefile
wtf
troll

it worked?
evelyn when swift try catch do a breaky
yameren
the sileo makefile works
it's just a pain in the ass
to have to wait 10 minutes to rebuild
no?
i promise you it did
urs rebuilds spm cache everytime
the last one
well i just have an ignored xcodeproj.mk one
so it was double slow
i just use that
i don't need my makefile rebuilding spm cache everytime
unless the package is updated
Fun fact: The term “tweaker” is commonly used in the jailbreaking community to describe users that are avid in “tweaking” (or modifying) their devices. The next time you talk to a tweak developer, call them a tweaker!
good morning tweakers
you posted this in every discord didn't you
Okay tweeter
ok wanker
@lapis vessel hey, I had an idea. Think it would be possible to add a feature to Cr4shed that would automatically send crash reports to a developer if the developer registered with Cr4shed via code?
I'm not really working on tweak development much atm and don't want to spend all the time required to bring such a feature, sorry
@lapis vessel I see, well if I get it working I’ll send a push to the GitHub
maybe a fork on your repo? would just be more for me to maintain
I don’t suspect something like this to be complicated. Weird a feature like this doesn’t exist because if devs want crashreports, users aren’t really smart enough to send to the developers. Any system/os I’ve come across that logs crashes has the option to send to the developers automatically. What’s the point of Cr4shed if the developers never see the logs.
test on your own device 
True jailbreak moment when the community based around hacking a unix system can’t send crash logs without automation
not like anything else gets done here

75% build systems 10% fr 5% gme and 5% build systems
i just bought i9-10920X hope it wont suck

i wanted i9-10850K but none left

good morning twerkers

CrashReporter has that option but not automatically
automatic wouldn't be difficult but then you'd either have to have an API endpoint to support it and you mail them all out yourself, or you'd have to automatically send emails as the user which seems bad
or you'd have to make the developers register an API endpoint to receive the reports - you see where it gets more complicated now?
eh
a very rudimentary database can accomplish that
although that's far beyond the scope of cr4shed
you could maybe make the user select an email account to send reports from so it's obvious it'll be sending emails from that account
right it's not hard
but it's more complicated than "just have it send emails to developers"
yeah
@upbeat wyvern yea, not automatically. I was thinking of something like this [[libcrashsend shared] grantAutomaticPermissionWithCompletionHandler:^(BOOL granted) { if (granted){ [[libcrashsend shared] registerReportsForEmail:@"cokepokes@gmail.com" forProcesses:@[@"AppStore", @"appstored", @"itunesstored"] suspects:@[@"appstoreplusUI.dylib" /*or nil if just wants processes*/]]; } }];
But I imagine if registered, each crash report can be processed on creation to look for suspects/processes and send an email programmatically to the saved email if the crashlog meets the criteria. Programmatically sending the email with attachment might be the hardest part because that would need private apis or a server set up to send the email.
I honestly think it would be cool if developers could implement a cr4shed daemon + libcr4shed-esque api and request users’ permission to get crash logs for their tweak automatically on tweak-install
Thats pretty much a whole nother project but would be useful if it came to fruition
@tepid olive yea thats what im sorta working on.
step 1. modify launchdaemons






















