#development
1 messages · Page 481 of 1
hello ghost of n
woe
do i need the System interrupts process on windows
its taking up 0.1% cpu

guys this process used more than 4 kilobytes of ram
holy shit
actual bloat
remove the system interrupts and there will be no interrupts
wondering the same about kernel_task
pov you are an arch user
arch is a loss
anyone know why you can't download iterm2 shell integration from chariz
Use Bootstrap, it makes css actually good and easy to use.

@tepid olive what
will it still be static
cuz i want to be able to quickly move it to github if my vps dies or something
Actually nvm it doesnt rlly matter
I can just use the old version temporarily
Pretty sure the buttons arent even centered properly
What are you doing?
Do you want me to code something for you for it? My current job irl is web dev.
Bootstrap > SwiftUI
this is built in swiftui compiled to wasm
if you arent busy thatd be amazing
propr is doing something rn tho
@tepid olive is the repo share text box thing done
win
I can't anymore today (its 11:11pm) but tomorrow I can sure.
@tepid olive I can't add you as a friend
You mean save to clipboard?

no but thats a good idea
nitroless tweak 
rn if you just go to https://stkc.win/addrepo it will redirect to pkgmanager://null
if null return @"enter a repo"
thats what propr is doing
or something like thst
css is easy
what is wrong with you

css is not fun
you know what’s not fun? discord websockets
css is fun
not that
"how to center entire page css site:stackoverflow.com"
i do love calculating when to send a heartbeat
just dont have a heart beat

In that case discord disconnects you and eventually after doing that too much they ban your account most likely
Discord acts like they dont care about 3rd party clients
which is obviously bs
They don’t, they would ban a bot too
Wish theyd open up but they def benefit from all the logging and shit the official client is doing
Unofficially they dont
I’m only using what they say about bots
Officially they probably don’t either
If they had a reason to be more extreme about it i doubt theyd hesitate
bro they most likely can’t tell
i send the same requests the app would

and i use a firefox / windows user agent lol

well not user agent
that’s my socket property
thats kinda my point
i dont think u should have to do all these tricks to avoid a ban
make a proper api or something idk
They’re just extra things
If you spam Twitter API i doubt it’ll go well
They only ban you when you do weird shit with the bot api, and i’m only using the user api
fierxo
win

frcoa
@tepid olive do you know php
@main apex 
Do you want me to do it tomorrow? Lol, I can do it, it will take me no time
how much faster would php even be
You should pass it via php, it will decrease the load time by a ton and will allow for better url handing
No, lol, php gets updated all the time
nextcloud uses php
A lot faster and can have better url handling for people who are incapable of typing https:// or http:// correctly.
Nginx redirects http to https anyway
oh
nvm im dumb
i see whaty ou mean
wait is the text box supposed to show after clicking a repo? @tepid olive
yeah i was thinking like
"No repo specified. Enter a repo below to create a shareable link."
@tepid olive ty boss
gm
that package isn't released
I probably should release it though, there's no reason not to
you should, it would be a life saver
just did it https://chariz.com/get/iterm2-shell-integration
heh I changed the icon from NewTerm to iTerm because I realised it might seem a bit dicky to the iTerm guys to put my icon on their work, but I guess cache didn't update yet
Nice, I installed it, can’t seem to get the shell integration features working like download with scp greyed out but I do see the blue arrow top left
not sure why that would be the case, it did work for me when I was testing it 1-2 months ago
no clue but it should work since it shows the blue arrow indicating that the integration is working correctly
This is not a good sign
Lmao
ah yeah that explains why I didn't release it yet…
hah
I mean it's nothing bad, it's just NewTerm 2 not handling the iTerm \e]1337 escape sequence, hence it just spits it out into the terminal window
perhaps a good time to release NewTerm 3.0 beta 1 then huh
perhaps

Yea shell integration won’t work, I am on odysseyra1n if that helps in the future
it does show the blue arrow though
I did test on odysseyra1n, it should work. weird
Hm, I am testing with drag and drog + alt and also download with scp
Neither work download with scp is greyed out
not sure what makes the scp button enable exactly… but you can use it2dl/it2ul in its place to use the iTerm method of copying files within the existing SSH session
at least, to test that it's working, it2ul should make an open file picker box appear
It2dl/it2ul do work indeed
well that's weird
in the meantime i can use this, i was just curious if there was and i found the page on google
google snitched haha, it works perfectly with lt2dl/ul so that is more than enough for me right now.
What's the big deal?
In iOS 15, the system intelligently identifies spare time between frames, and uses that to start work on the next cell, giving you up to 2x time to prepare each cell!
Best part: just build your app with the iOS 15 SDK, and you get it automatically for free!
When trying to load the list of iMessage conversations via [CKConversationList sharedConversationList], it always returns an empty list when called outside of the Messages app. However, I need to access it from SpringBoard. Is there any way to do this?
could someone compile a cpp file which includes iostream and running clang++ -arch arm64 -target aarch64-linux-gnu test.cpp -o test and see if you get an error
you would probably need to keep the messages app open in the background if i think? You could try in combination with bakgrunner
not sure why i get this error Test.cpp:2:10: fatal error: 'iostream' file not found #include <iostream> ^~~~~~~~~~ 1 error generated. only if i add the -target aarch64-linux-gnu
Nah, it seems that SpringBoard is missing capabilities to access these data. I've tried hooking the IMDaemonController to give Springboard the required capabilities, but I can't even get the hook to work, even though I'm injecting into imagent
imagent is the IM daemon, you should do this in there
see TypeStatus for an example of how that could work
you’re trying to cross compile for linux with a *OS sdk
which won’t work
and even if you manage to get the included sorted out you’d need a cross-linker as well
unless you only want object files
yeah i realized that after messing with it
no i am looking into getting a minimal arm64 image now to run with qemu
that’s probably your best bet
ended up using docker multiarch
100% times better
heres my docker file ```bash
syntax=docker/dockerfile:1
FROM multiarch/ubuntu-core:arm64-xenial
RUN
apt-get update &&
apt-get -y upgrade &&
apt-get install -y build-essential &&
apt-get install -y curl &&
curl -L https://iterm2.com/shell_integration/install_shell_integration_and_u tilities.sh | bash &&
echo "test $(whoami) == root && source "${HOME}/.iterm2_shell_integration.b ash"" >> ~/.bashrc &&
apt-get install -y vim &&
apt-get install -y lsb-release wget software-properties-common
#run bash at the end
CMD ["bash"]```
with iterm2 shell integration which is a major life saver
i'm a little OOTL + curious
how have developers handled arm64e iOS 13/14 building for tweaks?
is everyone just using that patched linker?
by crying then not worrying abt it :)
using xcode 11 mostly
fr just don’t support legacy iOS versions
yeah drop support, the way apple wanted it
How about u bundle deez nuts
they only do bundles in standard sizes, and there isn't one small enough
you'll have to go bespoke
yes it works fine
especially if ur bundle is just the binary
so ur not wasting a lot of space on the deb
some discord users need lipo
nope
Its working wdym
it is
Well the code is doing what you are telling it to do

set anchor point

thats a different concept than anchor point

just set the anchor point
read docs
I think it'll be fixed by calling layoutIfNeeded in the correct place
true
Also that layout call is actually useless, it doesn't go through layout stuff when using constraints
really? damn TIL
Thats the reason why layoutSubviews doesn't work for views with constraints
No it's definitely layoutIfNeeded
You need to consider where you call it when animating with constraints otherwise you get weird UI bugs with things that you didn't want animating being animated or things that you wanted animating not being animated
true
But tbh it looks like you're calling it in the right places anyway
No its not bad idea
too much meth
Highly recommend rev/SMarT-solver (https://redpwn.storage.googleapis.com/uploads/e14c014fe813cc0b16aad1b19dd7c4206875f3fe77b10966cea8853e0e6c2cd0/SMarT-solver) if you want a good CTF challenge
I had a lot of fun with it
Hello scoop
Nah
me neither
Might make another one if I got a really good idea but idk
true
What you been up to?
yup

f
I can't remember, are you the same age as me?
yessir
freedom at last
probably technische universität berlin 
probably technische universität berlin 
Facts
I was able to go to the shop and buy spirits for the first time today
Felt weird
berlin wall
Yep 18 is the legal age for literally everything in the UK

is weed legal
Nope
f
f
Is it in your state?
yeah just passed it here this year but u gotta be 21
doesn't matter i'm moving to germany
Ofc
Do you speak any german?
fantastisch
kannst du auch?
I did german for like 4 years at school and remember almost nothing
rip
me when spanish
same
i did like 7 months of german on duolingo
You probably know more than me then lmao
maybe but i've been spending a lot of time on there
when you have no life it opens doors for you
where are you going to college?
cool, cs major?
yep
$$

Nah uni isn't free
in deutschland ist es kostenlos
Yeah it's pretty expensive but they're quite forgiving with student loans
Oh damn nice
true lmao
pass on the debt to family
well i wish you good luck muhhrey and to speak again the next blue moon i'm in this server
how?!
time for more cosy fireside comments
Problem: We don't know how each touch event is connected to ones we already know about.
Therefore, we can't easily track touches between calls to the touch handler,
because all we get is the touch position/type/time/force info, and not the
previous position of the touch.
Solution: Keep a record of all the touches we know about (CURRENT_TOUCHES), and every
time we receive a new touch up/move event, we modify the closest touch to
the event's position. This is reliable because touch up and move events can
only happen to existing touches, so we must know about the touch that is
being released/moved already, and that touch should be whatever is closest
to the modified position. Touch down events are easy, because they simply
require us to add a new touch to CURRENT_TOUCHES to be modified later with
an up/move signal.
tldr
tldr
does anyone know if anything uses libplist++?
tldr
nah there's nothing that uses libplist++
more of a token library tbh
it was not designed to be used
just to exist
without dependants
but with dependencies
maybe
just maybe
it's so people can use libplist with a more c++-friendly interface
sure, but I don't see anyone using it. It's the same story with libFLAC++
C++ projects are using the C API
maybe you could be the first
since the C++ bindings exist, why not use them?
you'll end up with more standard C++
well, problem 1 is that they're cavetime C++98 bindings
use the C bindings then
I recently dealt with a C++98 codebase. Reminded me how much I hate it.
tbh i'd argue if the C++ bindings aren't being maintained anymore than that's cause to remove them
2009 was a long time ago
I was not, no
I was not, no
all these poor people who never experienced 2009
i wasn't born until 2036
that's why 2009 was a long time ago
when we get to 2077 is the world gonna be really glitchy
damn
as long as it's consensual
i awsnt born until 9843
damn language has changed over time
we went from "wasn't" all the way to "awsnt"
ig that's just the evolution of natural languages
¯_(ツ)_/¯
orange channel
yes
that time of year
cc2021
Anyone who can point me in the right direction, I've been making cheats for video games on console and PC since I was a kid. I'm a CS major going for my masters and interested in iOS reverse engineering and low-level/asm programming. Briefly read that you can dump and load private method headers into IDA/Ghidra. Are there guides or anything that covers what I'm trying to do that can get me started? Any information at all is super valuable to me (:
Date of stream 28 Sep 2019.
Live-stream chat added as Subtitles/CC - English (Twitch Chat).
Stream title: Exploring checkm8: a brand new iOS bootrom exploit by axi0mX
Source files:
- https://github.com/geohot/ipwndfu
checkm8: - https://twitter.com/axi0mX/status/1177542201670168576
Follow for notifications: - https://twitch.tv/georgehotz
Support...
he goes over it
love how he mentions he used to have everything mapped
what about it
yes iirc
anyone know -Wl,--allow-multiple-definition linker command for llvm ld
its part of lld on linux
doesn't work on mac llvm 😦
Didn't you use it in PowerUp?
:(
Can someone help me decrypt a game? I tried different decrypting methods but still when I load the binary to ghidra/ida and search for an instruction pattern, it finds the address but the instruction is unreadable.
if the app is decrypted correctly that means you have something that is obfuscated

When the decryption completes, does that mean it’s done correctly?
I used crackerxi and bfdecrypt. Both programs can decrypt other apps successfully
But the problem is with this game
I tried decrypting other games/apps and it works (i can see instructions in ghidra)
The only thing that is different is that the game that i’m trying to decrypt is too old and I don’t know how it even has a 64bit binary
2011 release date
But still in appstore and can be downloaded
do strings and nm give sensible output?
For nm, yes. But for strings, not all of the output is sensible
that doesn't look like a keygen
the only legit way to use cc is to pirate it
pixelmator and final cut felt much better
but yeah pirate adobe 
adobe dont even care if you pirate it
they know that if they can get good artists to use their stuff in the long run they'll automatically purchase it
fuck adobe
i know like one person who pays for adobe but they can't use it
mf can't do video editing and sucks at photoshop very bad
gladly paid for Pixelmator and Pixelmator Pro, and just bought Final Cut via the crazy good student discount
I'll gladly pay for good software from companies that at least try to pretend to care about customers
never giving Adobe any money ever again after they decided to bill me $200 or whatever tf while I was a broke student and they refused to refund it because "it's a 12-month contract"
up from the student pricing of like $30 which yeah I mean I'm cool to go with that, it's a huge discount
but I forgot it only lasts a year before becoming full price, like why would I remember, I subscribed a year ago
exploitative garbage company
there's actually a way around that but it's probably too late for you now
several years too late
you can switch to another plan that includes different software, choose monthly payment without commitment, and then cancel
you will even get a partial refund
I had one guy on online chat who claimed he could refund it and then immediately dipped
said blah left the chat
lol, probably got told off by their boss
next guy flat out said no and it's not policy to give refunds for "change of mind"
buddy it's not change of mind you billed me 6x more than I can afford to spend on your dumb software subscription
Also, the instruction pattern that I’m searching for in ghidra is from lldb’s watchpoint
Nvm, I tried hopper disassembler and it worked
The problem was with the disassembler
That's weird, ghidra and IDA are usually of a higher quality than hopper
ghidra and hopper are usually on par
Ghidra is good, ida is expensive
If any Apple Music developers follow me or see this, please add the backgroundArtworkCatalog property back to the lyrics background view :(
gm apple music devs
pls re add
sad

trol
@restive ether thats ashley bro
not sure if u remember
the one who used to fight with raizo
yeah i know
ask Mei Cawk

hi
mk8inecraft decrjypt
did Apple unblock unsigned ipa installation for a 2nd time?
it's like upper management wants it disabled but the team in charge of the setting is trying to sneakily re-enable it
possible
although more realistically I bet they keep trying to enable it, hit edge cases with certain ipas, and roll it back
and only finally fixed the showstopper bugs in 11.4
spam
spam
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete
tldr macOS is obsolete

.
true
2nd gen to ios 8 nice
no
for why building a swift bundle with the clang12 toolchain and making it FINALPACKAGE=1, causes it to be unloadable and instantly safemode
i literally built two packages, with identical code, just one had the flag and one didn't
one of them works perfectly fine, the other safemodes anyone that tries it
because it doesn't want to be the last of its kind
have you tried exact same code in an objc bundle?
wdym?
like the objc equivalent?
i would've gone ahead and done that, it's just i don't wanna port like 10 viewcontrollers and other crap back to objc

yet you keep going back to it
actually, i want to move away from it, but i know it's a lot more work to rewrite all of this back into objc
All i need to hear about swift is that every time someone complains about it, it doesnt look like swifts fault
very cool thanks
Meet dyld
dyld-o


bruh underscore l
the lazy compiler issue is Swift's issue
and i will complain about that until they fix it
it is SO annoying
this btw

Rust pog
S21 blows
woah i can see your message before you even send it
cool
bruh do u seriously downvote ur own comments
i have a hack if that works?
Gm
I want to make a tweak that traces syscalls using theos. Is there any knowledge or documentation that I need to know? Or do you have any example code for reference?
What’s the best guide for obj c
fajlisdjf e
Can I get the blog address?
Thanks for answering the question!
This project was created with the intention of preservation
how do i force enable the coversheet blur when it’s not pulled down or pulled up
i am petitioning for a government funded class on the usage of search engines
how tf do you install man on iOS

it's not in the repos
some people would be too stupid to use search engines regardless
this is true, considering we have seen people search for google on google
oh it's newer than when I last checked
trying to disassemble AVFoundation, taking AVFoundation from dyld_shared_cache via DyldExtractor gives me an invalid 48KB Mach-O binary. any idea?
@capt I downloaded 14.6 arm64e IPSW. My mac is 11.4
should I use arm64?
@grave sparrow sorry the @ didn't work correctly
latest commits suggests it works for arm64e
I'll try an iphone X ipsw which I think is arm64
yeah
L
@grave sparrow I tried with iPhone10,3,iPhone10,6_14.6_18F72 but it's stilll giving me the same 48KB AVFoundation output
weirdly AVFoundation is 48KB there as well
oh. I think they split it to AVFCore and AVFCapture etc. thanks!
for the make package install, after it installs to your device, how do you remove what you installed. in this case, https://kodey.dev/guide/making_our_first_tweak/bruh, last part of compiling tweak. how to revert?
@grave sparrow yep. That was it. Thanks!
@grave sparrow long time ago I used Hopper v4 and not v4, and it had much better pseudo-code for Obj-C, with much less loc_* and sub_* calls. do you have any idea if I'm doing something wrong or need to enable something in hopper 4 to get to a similar output?
hopper 3 was just so insanely better
with hopper 4, there's a msgSend for example. it shows the memory address of the method. if I go to that address, I see the method. Why do I need to do that
😐
I'm trying to hunt down why AVFoundation cancels some partial request it's making and then firing a new one just like it
im going in wish me luck
nice

why did u show me redbull. Now I wanna get
gone through all of mine since that photo
ok I have to keep myself in control. No energy drinks for a long time
got a 12 pack of the monster juice ones
starting to get addicted
either they're gross or expired
f
probably a good thing bc i dont need too much caffine but F
Something is wrong in my system, I get tired like around 6-7 pm now
need to restore

does ch1 support 14.6?
yeah?
anyone have any random ideas for where I could draw 30v of power
pc power supply?
don't have enough AA batteries
I don't have any real equipment so it's gonna be Jerry rigged
oh you meant the PSU
just so happen to have a spare PSU sitting around
might be able to do a minimal amount of research and wire them in parallel but this is barely out of my experience
just be careful, those things probably could pack a punch if you get electrocuted
yeah I was kinda wanting to avoid anything that's in contact with the wall circuit lol
fuck dell for this dipshit ass proprietary adapter
not sure if I even have cables that can handle that
should probably ask around for someone in electric ima kill my dumb ass with this
i just used dyld extractor yesterday, no luck with ios 14.6 arm64 cache with ChatKit framework
time to implement your own version
true
yet another dyld extractor
what! you don't have your own version?
You can name it dyld-o and make it super fast
i’ll make it so that to use the CLI u need to shove a dyld-o up ur behind


@surreal mountain it’s epic
is it acutally
because i want to dev on my windows computer some cuz its bigger
and better
not shit keyboard and tiny ass screen and shit
Is anyone working on a 14.4 jail break or are they waiting for 15
I don’t know what that means
yeah it’s pretty great
u need to configure it obviously
I don’t want an eta or anything I just want to know
and theos is kinda unviable
figured as much
yeah i dont plan to do ios
mostly py
i can’t really use it cuz i need access to docker
well actually i can use it now
liek if we are working on a project together can i liek share it withyou
spelling
because i just made a local kubernetes environment to test and connected to it from codespaces
github pro i believe
that’s what u need
i have pro
loss
L
when did you sign up
i don't remember exactly
like pretty close to when it came out im pretty sure
i could just use vscode but
eh
lol
nah
better than live share
how
are u trying to collaborate?
i dont want the vscode server on my mac 
with myself
live share installs code server bruh
it’s literally remote ssh + more
oh well
should be fast enough tho?
also lmfao how does windows on arm have native vscode before macos
lol
it’s open source tho
LMFAO
vscode has m1 bins doesn’t it?
i use vscode exploration
it has m1
supprot
has arm64 windows bins
vscode is probably one of the best electron apps i’ve seen
why does that even matter
.
vscode is a great case for how electron's bad reputation is due to bad developer code and not electron itself lol
exactly
ugh is it possible to disable spotlight indexing for a single mailbox
remove the mailbox 
the hashbang support mailbox (which is from 2013) is making my suggestd use 99% cpu
i dont know how good vscode is for battery/whateverthefuck but it feels far snappier than xcode, lol
can’t do that
sometimes i have py issues which sucks
sad
my biggest issue with vscode is that the language servers suck
@silver rampart do you use vsc for python ever
rt
mine always hangs on like
i use vscode like a lot of people use nano/vim
anything that doesn't really need an IDE i use vscode for
and it gets to a point where i can't delete or make files
basic bash/py/c/etc scripts
or write newlines
the only IDE i use these days is webstorm
anything OOP i really try to use an IDE for
i wish docker compose didn’t suck tho
AppCode is (at least) 20x faster than working in vscode on HomePlus
and calculated volume host mounts on the remote machine
L user
that’s like 0 CPU bruh
that is a collective total of 0.3% of one core
but HomePlus is way way more objc than logos
no way it’s killing ur battery either
M1 users: 
intel users: 
^^
amd users: 
rosetta has about close to 0 battery overhead
^
else its just poorly written software with leaks
i’m buying an M1 next year before i start college
never noticed it
no
you need some bitches before college
also the speed of m1 can easily make up for that
that's the part that makes M1 translation eons ahead of microsoft's
ok
they have support for the x86 64 address whateverthefuck built into the cpu
which you can syscall to switch into that mode
meaning once you pre-translate it you're running at lightspeed
join the church of appcode
keyboard video mouse
oh
just get synergy
its paid but open source and they allow you to compile it
god i love them
plug those into one box and you can press a button on it which will switch all of them between computers
paid for the full license even tho i use a custom build for ios stuff bc that's just cool for them to do
goat
subclass

speaking of
while i was gone
did anyone figure out much on iOS 15 RE yet
we're making good progress on the new DSC format, and headers from that will follow soon enough
wondering if simulator stuff is of any use for the time being
@gaunt pewter how can i change the layout
of barrier
like what edge my mouse should be going thru
nevermind im smart
yes ty
pog software
ok
...
UIPinchGestureRecognizer *pan = [[UIPinchGestureRecognizer alloc] initWithTarget:self action:@selector(handlePinchGesture:)];
[_systemGestureView addGestureRecognizer:_activeGestureRecognizer];
...
is there anything wrong with this specific bit of code?
am in a manager class, adding a gesture recognizer to a system class, and then setting the handler to the manager class
but handlePinchGesture isn't getting called

just figured out how HomeGesture (hopefully) works
barrier as in the mac os/windows kvm software?
yes
may i ask how is it
works well
i don’t like how the cursor isn’t visible but works on mac when the server and mouse are on the windows lc
pc
hm it looks cool
yooo
code to add a gesture recognizer to the system one (same one that handles iPhone X gestures/etc)
did not think i was going to be able to refactor that whole shitshow today

👉 👈
Anyone know why Cr4shed won’t log crashlogs?
either cr4shedd is not running or it's not injecting into ReportCrash/ReportMemoryException
what JB are you using
Yeah iPhone 12 user here, using odysseyra1n
if ur working on a tweak use lldb if you need it
unless you can get it fixed
before lldb I just used both cr4shed and sparkdev's crash reporter
at least one of them usually worked
Yup ended up using a debugger instead. I am on odysseyra1n 14.6 on my td and I get little to no logs on Cr4shed even after rejbing and reinstalling Cr4shed and depends.
14.6 orain
I've had some bugs and the occasional entire project which in some way crashed in a way that generated no reports anywhere
never really dug into why
just finally learned to lldb -n and re read/thr ba
No idea what that is
Better get on it myself as well haha
I’ve been busy cross compiling and learning aarch64 assembly
print the objects on the cpu registers for the current frame, and print the background, respectively
Oh damn that’s useful
same info that's in a crash report but you can see the nsstrings in the cpu registers and such
which often contain an error message
Yea I might make my own personal cheat sheet for lldb as well, so much shit to learn in lldb
I’ll definitely try that when I wake up. Just wondering what is the most times you have compiled a single tweak. I am going on to 7000s just hooking swift and learning how I can access certain data types and how swift handles it’s memory in some cases. Starting to think I need to move on haha
simply rejailbreaking with safe mode off should make it work, but there's another way
ratio
I'll ratio your mom
rm -f /.disable_tweakinject && for f in /Library/LaunchDaemons/*.plist; do sudo launchctl unload "$f"; sudo launchctl load -w "$f"; done && sudo ldrestart
ok jtv
ldrestart because userspace reboot can break it again, although it shouldn't with checkra1n 0.12.3+ if it wasn't booted in safe mode
the ldrestart may take a while btw
sometimes it makes me think it's respring looping but it's not lol
Thanks I’ll try that when I wake up
Even more progress lol, I might actually finish (Google) Foobar this way
noice
Is this channel only for tweak development?
If not, could I have some loading bar thing for a project that uses the bash command line?
Like this?
Ignore the opensuse command
it’s admittedly frustrating to google stuff about making terminal UIs. I’d recommend checking out the man page for tput as well as this Wikipedia article: https://en.wikipedia.org/wiki/Text-based_user_interface
In computing, text-based user interfaces (TUI) (alternately terminal user interfaces, to reflect a dependence upon the properties of computer terminals and not just text), is a retronym describing a type of user interface (UI) common as an early form of human–computer interaction, before the advent of graphical user interfaces (GUIs). Like GUIs,...
also this guide is imo one of the best ones you can find for this stuff http://www.linusakesson.net/programming/tty/index.php
but if all you need is a progress bar then maybe just use pv
soppp pyoup guysp kpnowp how mpyp ppppp pkpepy onppp myp lapptop stoped worppkinpg
i have anew roblem now
nvm its broken again
iOS 15 Developer Beta 1 and earlier is now obsolete. These obsolete firmwares will no longer receive any tweak updates. Please update to iOS 15 Developer Beta 2 to be on a secure and up to date firmware.
true
when you write tweaks, your IDE auto-complete you?
it depends
if you constantly do something, vscode will pick it up and suggest for you to do it
just like how googling something one time and then later googling a similar thing, the old google result will pop up
i was thinking more like in c++ big projects that he knows to auto-complete your class methods/members and stuff
usually tweaks are small projects so its not needed but i was just thinking im missing something
@classicmike happy birthday big man
@fierce ember
I got autocomplete by not using Theos (and therefore not using Logos) and instead writing pure C++
but autocomplete doesn't work for Logos, so if you want autocomplete in files where you hook, the hooking has to be done in ObjC/C/C++ instead of Logos
oh
yeah ig
tbh i just stopped using Theos cos i stopped using Logos so I didn't need it
perhaps because xcode is shit?
@vivid dew thank you!
I mean theos is useful for a few other things as well
not too many others but it is
only (popular) system other than xcode for building stuff targeting Darwin
Logos is a separate thing entirely, just a wack language preprocessor
if you wanna speed up development, it can be useful to write out the hooks in Logos, run the .x file through Logos manually and pipe to a .m, then clean up the output and work on the .m file from there
not using Logos is appealing but in the early phase of testing to see effectiveness of different hooks it's a lifesaver
kinda makes sense, but if you just use the hooking lib directly then you don't need this step
so you can just define a simple set of functions and bypass the need for logos at any stage
but to each their own ofc
which takes a far larger amount of work
I guess if you're using AppCode or a similar IDE, using a Generator or Snippet or something similar could make it more bearable
but meh
my hook.rs file is 229 lines long and that has to bridge from Rust to C/C++ so i think it's probably worth it for larger projects with lots of hooks
you shouldn't need autocomplete in logos that much bc you shouldn't have that much business logic in it
fair point
for someone who hasnt learned the first thing about tweak development, is learning objective C a good place to start then?
yea
HomePlus after the two month rewrite still has a couple .xm files even tho I don't use logos much anymore bc doing it manually for those hooks would be stupid
they're like
one liners to fix Apple's hard coding or to initialize parts of the tweak
so many devs (I was the worst about this) just shove like
90% of the code for their tweak into the hooks
ur building a framework not a patching tool (replying to myself)
and Springboard especially is absolutely littered with "Public" APIs due to the size of it
u can do 90% of stuff without hooks
really wish I could get NSNotificationCenter to let me listen for SBBootCompleteNotification bc currently I have to hook some dumb init method somewhere to initialize stuff
i see your dumb init method and raise you my +[IOSReachability reachabilityWithHostName:(NSString *)] hook which i use as a button handler
HomePlus pre-rewrite was full of that
hooked -[SpringBoard isShowingHomescreen] previously for initializing
I would track how many times it got called and on the third time springboard calls it, my stuff would kick in
definitely recommend dumping strings from SpringBoard.dylib and other frameworks and grep Notification
let tag = ButtonTag {
index: index as u32,
is_tab_button: true,
is_cheat_button: false,
is_setting_button: false,
_unused: 0,
};
let _: () = msg_send![button, setTag: tag];
here's me using the tag to contain extra properties so i don't have to create a subclass
there are a ton of good ones
i just have snippets of useful shit, if you already mastered c/c++ there really isn’t a need for autocomplete although it would be nice to have
why not?
isn't a need for having a Mouse but it's nice to have eh
Autocomplete isn't a laziness thing, it's a reducing-mistakes thing
one time i opened nvim, which i have a clang language server set up and it magically started working for xm files
tbh the only reason i'm using rust for this project is because the app i'm hooking is 99% C++ and i don't need to interact with Objective-C much
that was only once, it never worked after that
so many mistakes over the years were things that working in an IDE wouldn't have allowed to happen
yup, xcode completion would’ve been godly to have
and writing any OOP language sanely without an IDE is just not fun
so who’s going to make a ide for logos 
write an AppCode plugin
using AppCode was one of the worst experiences of my life
true lol
you write rust
...only when my project is in Rust lol
so true
you make projects in rust
the funniest thing about rust is in their unsafe docs
Another reason Rust has an unsafe alter ego is that the underlying computer hardware is inherently unsafe.
or just configure clang language server to work with xm files. It worked for me once.
one

we need to abandon silicon and start fabricating cpus in rust
i use xenon but sometimes i have to uninstall and install it again to make it work again. reinstalling doesn’t work
just pour water on Intel cpu
maybe it's because
yknow
you wrote it in rust

what do you have against rust lol
nothing really it's just not that great
i am finally getting hang of aarch64 assembly, today i made a directory and made a file in that directory, wrote in it, read it and printed to the screen using linux syscalls
yeah, but macos has sftp support too if i recall correctly
or you could just upload it to google drive, download it, forget you uploaded it there and have a google drive thats too cluttered to clean up
all my accounts now
or just use airdrop
i just use iterm shell integration which kirb just made public
now
combined with xenon too
fix it now
or just sit and do absolutely nothing and consider why your life is slipping away
it works well, but yea it is unreliable
don't be me and wait a year to fix it
yeah i never check support emails anymore
works on all my devices with decent enough testing so thats about all i can bother with
I had to spend 2 months returning to being a hermit for the sake of rewriting HomePlus
it got so bad
hated working on it at all
maybe because i use 2 different devices. one of the devices just completely stops working and the public key stays empty
Have you tried using file sharing using webRTC?
and i have to uninstall and install again to make it work
https://github.com/KritantaDev/HomePlusPro/ now it is Sexy and doesn't have 40+ TODOs
reinstalling doesnt work either, i have to uninstall
so maybe a file or something?
no clue
nope sorry i saw layoutsubviews so its automatically bad
iirc I even removed that hook
well its in ur latest commit on sbdockview
regardless i dont actually give a shit
any performance difference is absolutely imperceivable
1 syscall will be 1000x slower
oh yeah that one is appropriate
yea i usually mount tmp folder and get decrypted app binaries. they’re not that large
there was a laziness one I used to initialize
like maybe 50-100 mb max
bc I used to hook UISystemGestureView to add my gesture
actually i never checked
i just ingored it but next time it happens, ill send you the logs
i just ignored since i know how to fix it lol
yea i did that too with the exact battery health algorithm








