#development
1 messages · Page 492 of 1
true
hey guys, im super new to development. I literally just set up theos and followed kodeys guide last night. I had a tweak idea where you could press and hold the flashlight button on the lock screen and it would pop up the flashlight brightness controller so that you could adjust the brightness (because i always use the flashlight at like 2 am and sometimes its at max brighness and the only way you can change it is to go to control center). However im having trouble identifying which classes/methods to hook for this. I have found classes like AVFlashlight and SBUIFlashlightController which have methods like setFlashlightLevel. However i havent been able to find classes or methods that seem to trigger the ui screen where you can control the brightness of the flashlight. would anyone be willing to help me with this?
@primal perch actually not too bad
surprisingly
@ashen birch is this better in terms of paleness?
trolla
literally stuf
so rude
no one likes spammers so
sorry they got banend
yeah ik its funky
hey guys, im super new to development. I literally just set up theos and followed kodeys guide last night. I had a tweak idea where you could press and hold the flashlight button on the lock screen and it would pop up the flashlight brightness controller so that you could adjust the brightness (because i always use the flashlight at like 2 am and sometimes its at max brighness and the only way you can change it is to go to control center). However im having trouble identifying which classes/methods to hook for this. I have found classes like AVFlashlight and SBUIFlashlightController which have methods like setFlashlightLevel. However i havent been able to find classes or methods that seem to trigger the ui screen where you can control the brightness of the flashlight. would anyone be willing to help me with this?
hey guys, im super new to development. I literally just set up theos and followed kodeys guide last night. I had a tweak idea where you could press and hold the flashlight button on the lock screen and it would pop up the flashlight brightness controller so that you could adjust the brightness (because i always use the flashlight at like 2 am and sometimes its at max brighness and the only way you can change it is to go to control center). However im having trouble identifying which classes/methods to hook for this. I have found classes like AVFlashlight and SBUIFlashlightController which have methods like setFlashlightLevel. However i havent been able to find classes or methods that seem to trigger the ui screen where you can control the brightness of the flashlight. would anyone be willing to help me with this?
aint that gonna crash cuz stack is gonna fill up?
mf ghost pinging
Who ghosting ping
@grave sparrow
he did a ton of pings
and then deleted
hey guys, im supew new tuwu devewopment. I witewawwy juwst set up theos awnd fowwowed kodeys guide wast night. I had a tweak idea whewe uwu couwd pwess awnd howd the fwashwight button own the wock scween awnd iwt wouwd pop up the fwashwight bwightness contwowwew so thawt uwu couwd adjust the bwightness (because i awways use the fwashwight at wike 2 am awnd sometimes its at max bwighness awnd the onwy way uwu cawn change iwt iws tuwu gow tuwu contwow centew). Howevew im having twoubwe identifying which cwasses/methods tuwu hook fow thiws. I have found cwasses wike avfwashwight awnd sbuifwashwightcontwowwew which have methods wike setfwashwightwevew. Howevew i havent bewn abwe tuwu find cwasses ow methods thawt seem tuwu twiggew the ui scween whewe uwu cawn contwow the bwightness of the fwashwight. wouwd anyone be wiwwing tuwu hewp me with thiws?
haha it's funny because it has the troll face
okey ima just ask reddit
what
what would you suggest?
Implement it yourself, its not hard to display a pill view with a blur behind it

other that basics basics
thats basic iOS development
ok well
google it 
yeah ig. have to try that out
why would hooking into the button thats already there be a bad idea?
just too many steps for something simple or?
That part is fine
oh, i thought thats what you were referring to with the bundles thing
oh wait
i think i see
were you saying to make your own ui thing?
for brightness control
Yeah make your own UI instead of loading some CC bundle for just one class
well that was actually my original idea because it would look nicer and not take up the entire, i just thought doing it this way might be an easier start for me... evidently maybe not
thank you for the insight
i will look into it more

what does that mean?
like how much people want to use it/like it?
No, I don't know how to explain it but its similar to view controller life cycle (google this) but different events.
hmm ok. ill look into it. thanks
aaaahh
interesting
i suppose i could see how that makes sense... the ui element is supposed to be called when the control center is up. but if it was called on the lock screen while expecting the cc to be open...
could like open the cc after close on the lockscreen
Can someone send me foundation.h?
find . -name foundation.h
Thanks lemme try
should give a location
are you building a theos tweak?
or compiling other software
just a sec
do echo $THEOS and tell me the output
it says /var/theos
ok then do find $THEOS -name foundation.h
you did 'find' twice

its L
yeah lower case tho
delete all the folders that aren't iPhoneOS11.2.sdk
Ok
.keep can stay, i have no idea what that is
Again?
nah i think you need to redownload your sdk, the file's missing from it
what tweak are you compiling?
Some files like that
i have downloaded
if i change one of them in foundation
And name it
Foundation.h
And put İt
what tweak are you building?
i just need to find foundation.h
Ok
Still ddint worked
Can i use another sdk's like 11.4's foundation.h?
i fkking give up my settings was works good until my ipad resetted then i cant make my settings again
it's Foundation.h, not foundation.h. case sensitive
Hm
Make sure to learn Objective-C before making tweaks
Or you just.. won't know what you're doing
Worked thanks you saved my life i hope your luck go good today
@tepid olive tf was that reaction
can you look in Makefile and see if TARGET is set? what is it set to?
haiii @lime pivot
hi
Go into your makefile and check if TARGET is set
im new at theese things im sorry if i make something silly 
Have you learnt objc btw
imo don't make tweaks until you've learn obj-c
because like i said, you won't understand what your code is actually doing
i did before
Yea im sure
nvm i dont really have tüme
Time
Can someone help
is this some existing code you're trying to compile from github?
because the things that makefile does is… not exactly right
yeah
Theos automatcly made i think
I would say you should go to the MOBILE_THEOS=1 line and change it to 0
Nope
GNU nano 5.7 Makefile
INSTALL_TARGET_PROCESSES = SpringBoard
ARCHS = arm64 arm64e
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = TestTweak
TestTweak_FILES = Tweak.x
TestTweak_CFLAGS = -fobjc-arc
TestTweak_FRAMEWORKS = AudioToolBox
include $(THEOS_MAKE_PATH)/tweak.mk
Makefiles look like this ^
I added some stuff but that's pretty much it*
it's not a makefile Theos NIC would generate for you
TARGET := iphone:clang:latest:7.0
INSTALL_TARGET_PROCESSES = SpringBoard
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = Zeus
Zeus_FILES = Tweak.x
Zeus_CFLAGS = -fobjc-arc
include $(THEOS_MAKE_PATH)/tweak.mk
And crated
Why doesn't it look like that then
Create*
This is the default Makefile
where to past Foundation.h
Haii @tepid olive
you don't - that header is part of the SDK, which you already have
this
I did nothing and I have foundation.h
no need to move it somewhere or anything like that
So why tf this fkking app gives that error
your issue is that this Makefile is weird, and does things that aren't a good idea
the makefile is shit
^^^^^
I suggested you try something to fix it above, please give it a shot
What to do
they literally said
.
no, just change the first one there
if you change both, you'll just get the same thing
MOBILE_THEOS=0 not in the other one..
Done
ok, now give it a try
ikr
Ok
I would definitely prefer frogaww over fr lmao

@tepid olive why are you trying to make a mod menu
ios 15 private framework headers
i did before
finally

ill leave before you ban me
had to write a whole class dump util and then website from scratch
i'm not a mod??
you aren't gonna get banned
it helps to be honest about what you're asking, there's really no reason to lie and take up both our and your time
its illegal at TOS

we can help you if you help us with as much information as you can possibly provide

im sorry
About t
İt
my ipad resetted and
Now i need to
Setup my settings again
But it dont work
ill delete after show
i was made something like that

honestly just setup theos again instead of being overdramatic, goto the theos git
imma go
this
bruh
why are you being so dramatic
i did
isnt it illegal?
no one gives a fuck bro
Ok
we're here to help you regardless, of course assuming you follow the server rules
this
literally just dont ask dont tell
Stack Over Flow
k im making mod menu something wrong and i get that error
I don't miss having to look at that awful php.net favicon
why are you compiling with the ios 11.2 sdk
Template supports it
that template is shit 
yeah i see
But easiest
Anyone knows any shit about it or ..
i dont really have much time
see its reasonable enough now
code for all of the dynamic stuff
Just read like 5 times today
did you.. try it
but its gonna get so bad once i add some sort of search functionality 
Pff
onclick 😱
didnt want to deal with a formatting screwing with my css
you… shouldn't do that
now I can't tab to it
a.dir {
text-decoration: none;
color: inherit;
}```
i'll look into that when i can
ah fuck superclasses are broken
did u know dumping headers is Not Fun™️
at least it doesn't use exec('find . -name *.framework') like the last iteration of this website 
root #
?
why are you resisting to not read the instructions on the theos site
reposting the image won’t magically solve it
bro
better to spend 10 hours failing to get it to work while not reading instructions instead of spending 5 minutes reading them
.
accurate representation of correct™️ time management
i applaud
how to setup as mobile
don't be as root

dont be root
this
install theos
If you want to run a command as root use sudo
Alr
yep
just redownload newterm and dont type anything
no
And redownload theos
And redownload theos?
Ok
But if i download theos agian
i need to change some files in it too
why
what have you been smoking my guy
bruh
are you like
on drugs
are you smoking unc0ver

Done
Redownloaded
Theos
i need to change iphoneos to ios and delete arm64e 's right
Ok done
???????
????????
what error
i cant remember
bruh
but my device dont support arm64e
Why does that matter
ill put for you guys agian
This one?
i dont

i know we can change it
then change it
K ill use 11.4
bruh
Please
why are you compiling
why not please
compile for 14.4??
then do it
why are you insisting on a previous version
im scaring from if menu not works
you said you done this before but you’re being spoon fed rn
i don't think they've done this before
@tepid olive can i just move the sdks from amys repo into the theos sdk folder
ty
done owo
LOL
is it wrong?
yes
why the commented arm64e
Guys i made the samething before didnt changed anything
And i gave my deb to +50 ppl
They can all used it
i dont think anything wrong with makefile
Yea i see
none of them had arm64e
idk like 40+ was ipad
Like ipad 7
Modt of them
Most
Yeah i see
i use it too
imma try i hope ill get less error


3 letter easy to type
fuckin mood
why not sex then
why is it in mobile 
cccc zzzz qqqq aaa xxx
and i didnt move
??
i need help
I know
Some do but have none left to give
Have you deleted this temporary folder yet? It usually causes issues when you tried compiling as root and then use mobile
/var/tmp/org.llvm.../ModuleCache/ that is
i think its gone now i try again with 11.2
Bcz it was worked
i cant understand why its not working now
i make everything same
Lmaoo

Top middle
What does it even do?
serious answer: bottom right
serious answer: top middle
Screenshots of the prefs doesn’t respond to “what does it do”. It’s “how can I change what it does”
I’d say bottom middle or right
Well the prefs do show what it does
But my mistake I should’ve been more descriptive
shut up
isnt this against the rules?
it's gone
What is?
It's like my tweak Sonyfy (Native (airpods) noise cancelling controls, but for Sony headphones), but expanded for other headphone brands, and without the need for an app, so better battery life
the screenshots are correct btw
Ah nice 👍🏻
This is how it would look, might be a bit too detailed for a small prefs icon
Same style but with only 3 bars might look good
hmm but it shows noise being cancelled, and that probably won't be representable with only 3 bars
this is bottom center btw
yeah that's better
but the best small icon would be this one I guess
It’d be even cooler if the settings were injected into the audio or BT ones ;)
looks more like a heartbeat rather than an audio graph
yeah a bit, but I like it's simplicity and recognizability
that would be extra work to do, and would end up bugging a lot of users.
It’d be more “native” but yeah, understandable (on the extra work)
Ah, it’s not quite a heartbeat but a flipped and normalized QRS portion
I guess I'll test each one and see how it looks irl (in the preferences)
message was deleted, im pretty sure that was a scam
Oh
Hmm honestly doesn’t look that bad small, only a little bit crowded
Nope just looks like a jet aircraft
looks good
Just like you
🥺
Why would a directory be accessible with vim but not by using cd? When I try to cd into a Windows NFS share on Linux, I get this:
cd: The directory “dereknfs” does not exist
But when I use vim, I can see the directory files without issues. I've gave the client reading the NFS share full permissions (777) + ownership and it's still happening.
We're using a Raspberry Pi as a local DLNA server
fr
It’s Bc u are using vim
Stop using vim and all your life’s questions and problems will be solved
troll
what shell do you use
Anyone have a place to find sc templates?
Snapchat templates?
panic
i didn’t realize people actually downloaded that
wont be the case when i release the new update

Discord doin a lil

Source code templates. Trying to make an app and tweak but don’t want to do it from scratch bc it’s just a small idea atm
if its for snapchat its most likely not gonna work
since their jb detection is really good
iirc

hayden tries to fool us with girls in his profile picture but we all know he's a tweak dev at heart
there is no escape
Hanging out with iOS hackers like
you're stupid
I use fish shell
you do realize that I said vim was showing the directory and using cd wasn't working, meaning vim isn't the problem
vim is in fact the problem
neovim tbh
notepad tbh


fr
nah vim is just the problem
so, ignoring the horrible code is there anything that could cause bootloops in here?
@vivid dew happy birthday
wtf
your icon has square corners
broooo
woes are
Aarnav please stop getting iP banned from Sileo server. Thank you

sounds like a u problem
macos is simply best operatin g system with no flaw
need to use "programs" for "things" what a fucking bufoon who tf uses computers to do things
With theos you get nic that makes just that, projects out of templates
Everyone should be using serverless functions instead of programs so you don’t need a PC anymore
careful dont give apple any ideas
iPhone 20
doesn't even exist you just pay $5000 to imagine (courageously) what it would be like to own an iPhone 20
They removed the earplugs from the iPhone box and later on they removed the charger. Soon they’ll remove the iPhone so you get an empty box for $800
but it'll still have the lightning adapter earbuds
hdmi cable moment
nvm macbooks dont have hdmi anymore
oops
man if they'd literally just ship a macbook with touchscreen
my 2016 $100 shitbook laptop from acer came with a 10 point touchscreen i dont understand
is there anyway to inspect the contents of an icloud backup?
pretty sure this meme is older than humanity itself at this point
I remember seeing it in 2010 lmao
Humanity has not been around for long then. 
yeah modern society actually only started in 2010, just after our lord Jesus Christ ascended to heaven
before that we counted years backwards for some reason

Wait, so it isn't 1202? Have i been lied to my entire life?
obviously
time was not real before then
anyone who says otherwise is a liar
Trying to visit before then will cause a collapse of the universe
Hey I just thought
Did Apple actually fix that bug or do they just still block you from setting that time
Because if they haven’t actually fixed it, that would be amazing malware
Immediately cause a boot loop
Blocked
I’m sure there’s a way around that
change date plist 
[settings setUnixTime: -1];

I think for a while it didn't let you set it, then they fully fixed it
cause that pretty much ensures any device that's stored for a long time won't boot ever again which is, ouch 😬
though if you DFU restore it'll set the time from the PC
I tried installing theos last night but it said it depended on 2 things that weren’t in the repos I had already. What repo did you download it from?
did you try downloading it from this guide:
https://github.com/theos/theos/wiki/Installation-iOS
An expensive tool from Elcomsoft lets you download iCloud backups
not sure how that’s possible as both procursus and elu have theos dependency meta packages...
also why would you ever use elu for development 
👺
imagine trying 
procursus toolchain built different
somebody please help me upload https://github.com/theos/sdks/archive/master.zip to google drive, much appriciate 🙏
rm -rf master.zip
then run again
thank you
curl -L https://codeload.github.com/theos/sdks/zip/master -o master.zip
prob needed two redirects on the original url
ye
i got it, thank m1sta
Why would you need it on google drive though?
Nope, I tried to install from jakesashacks.net/cydia : “Theos Installer 2 (unc0ver & checkra1n)” iOS 11-13. I’ll follow what you sent though
This so far has caused bootloops on 3/3 of the devices its been tested on, anyone have any idea why? It doesnt edit any files, it basically just hooks views.
https://github.com/tmded/earthpaper/tree/testing
bootloop
you have to restore
it has to be something super fucking dumb im doing
Can confirm am bootlooped
https://github.com/tmded/earthpaper/blob/f09e30e3a95d78c7553e79609f60993843b1919e/Makefile#L5 hmm you probably shouldn't do this, but it's probably unrelated
yea i was just being lazy
but no warnings are displayed

wanna test this new tweak i have?
if the warnings arent displayed then there are no warnings

the wallpaper one?
^
they also dont let you call those functions with the display off 
i'm just hooking some views, i dont get how that can turn into a bootloop lol
It also bootloops when uninstalled

one that backups before every new tweak install
batchomatic is the goat for repacking
dpkg-repack
good morning <@&355177983398641674>
gm
stfu furry
What's the best way to inform current users of my tweak that there is an alternative new tweak (also made by me) available that's 99% better. Was thinking about releasing an update (for the old tweak) with an uialert/uiactionsheet on first launch informing them about the choice to update
you could put a package cell in an update for your old tweak that links to your new one
a cephei HBPackageCell
I won't reach all current users, by informing them using discord/reddit
stfu furry
that would only work if they open the preferences (and they will probably not do that, until it breaks...
)
I already installed my tweak on your device, you're welcome :)
idea, make it so theres an update, and in that update whenever you reload the springboard you get a banner notification saying theres an update available
nah not a banner
better idea
make it something they have to interact with
was planning to use Whatsnewkit, but I realised that it would massively add bloat and that I'm not good with uiviews lol
can you put a string into %log so you can grep it easier
you can just search on tweak name (if you're using Console.app)
im using oslog
I can still use grep on it like oslog right?
Like if I put nslog in my code can I grep for that log or should I use oslog for that
you're annoying
Where is the pain 
also grep is for virgins use ripgrep
seems too easy
can't have any bugs if you don't do bug testing
can't have bugs if I call them features

How could I do this? Libbulletin can create notifications, but they don't stay in nc, and you can't have it open the package url to my knowledge
wait maybe it can
Your device has been disabled because you are using an outdated version of my tweak. Please update to the latest version to gain access to your device.
Was thinking about something like that as well, but I don't know how to do that 😅
actionsheet maybe
Haven't done any ui yet
Yeah I know, already looked at the source
I use lib notifications and they stay in the nc
This was me testing earlier
hmm
¯_(ツ)_/¯
Thank you for elaborating 
Didn’t even know about it until yesterday, I’m still learning 
Especially so since theres a theos installer on procursus
.
It’s funny because it’s true
real 
cokepokes needs to sign his repo @tepid olive
F

idk probably
he mostly tweets about just general stuff not jb so whatever he's doing dude is living life
i don’t think he has a family

he did a little trolling
trolled a little too much
Does anyone know why a gpuEvent-backboardd log would be generated on my 14.6 12? I know I’m not jailbroken but in case anyone in iOS development knows. Made the screen turn off frequently and yet still accept touches.
Happened after viewing this image the r/apolloapp sub said crashes the app https://reddit.com/r/apolloapp/comments/ovrskf/the_first_image_reliably_crashes_apollo_for_me/
669 votes and 123 comments so far on Reddit
the image is absolutely huge
9000 x 15000
and its a gif
its about 11mb so maybe a memory issue
Its probably taking forever to do whatever its trying to do
Do you think this would make this backboardd issue happen though? I would just think that the app would crash and that is that
@vivid dew happy birthday big man
@primal perch happy national girlfriend day big man
@vivid dew happy birthday big man
i just have a good gaming chair
i have 500 something 8ball wins
sad part is im actually good at the games, i just want to make cheats for them
make mancala cheats
do people really use flutter and dart 🤧
not if you're good
im gonna pass on that
so question
how hard would it be to make a word unscrambler
answer
in objc
explain further
why in objc
bc tweak
i tried looking
¯_(ツ)_/¯
ios doesn't have python
but it can be installed
i want to have as little deps as possible
so far all you njeed is mobilesubstrate (duh) and cephei
you can just say bloat
bc i wanted spiffy settings
what about swift 
write in asm
haha

why
ill compile memories to memory
memory limit exceeded, brain too small
from brain import thinking
i think for a word unscrambler, swift would be superior
No module named 'brain'
how tf you actually coding a word unscrambler
the only real way to do it is with a dictionary
well that is if the header doesnt have a list of all possible words built in
oh does it
that's pog af
modify it
maybe idk
📈
if it does
game pigeon not secure?? 
stonks
i meaannnnn
// AnagramsScene.h
NSMutableArray* words_ar;
NSDictionary* dict;
NSDictionary* dict_c;
NSMutableArray* marks;
thats in the anagramsscene file, so maybe words_ar is what im looking for

do you think methods like layoutsubviews and such would work
ayeeeeeee member pro
anyways
would layoutsubviews and viewdidload work on smth like this
i think its a swift/objc app
what is ganepigeon? spritekit?
i believe so
MacOS question here
idk never hooked spritekit apps
Do I NEED to use Metal for graphics stuff
what kind of graphics stuff
graphics stuff
😐

but looking at some ACTUAL spritekit code -(id)initWithSize:(CGSize)size is what they use
so idk

also how would i go about putting example, a uibutton on the screen
is that also a matter of knowing how to hook spritekit apps?
well i would need to call addSubview after the view is loaded, correct
and if so
i need to figure out the method thats called when the window loads
some kind of viewDidLoad?
thats the thing ive been experimenting
and i think my code is bugged since i think nothing i add new is working
but besides that
i tried viewdidload, layoutsubview, calling the init function in the code and nothing
did you make sure those methods are called
nope
log something
oh yeah
and/or manually call the methods through FLEX
then i did tryu
i did like a
-(void)viewDidLoad {
NSLog(@"PENIS loaded");
}```
wait
im not smart
i just realized whayt i did
while i was typoing thaty
i add the PENIS
to grep it
orig mf
ikik
i typed that rn
but
in my code
i dont have the PENIS
so if i grep
it ignores

it's like asking do i need OpenGL for this
if the answer is no then don't
metal is a pain
the answer is yes
@wicked summit so 1. viewDidLoad does not run, and flex doesnt work with gamepigeon iirc
i think gamepigeon is a UIRemoteView
and i was able to make the beautiful functionality of killing every cup in cup pong at once
pain
thats all thaty this project has been
its looking at the methods
and seeing which ones make sense based on the names
and looking at ones that make no sense
like
-(void)Die ;
and thats all to it
on flex its called _UIRemoteView











