#development
1 messages · Page 147 of 1
alr thanks
teasing my new theme
wide apps
Heres the new verison
muteButton.backgroundColor = color; this is what i wanna change
and i put
color = [GcColorPickerUtils colorFromDefaults:@"me.seroina.amethyst" withKey:@"color" fallback:@"0000FF"];
and at the top: UIColor *color;
you can just directly declare it
UIColor *color = [bla];
you only declare it at the top if you wanna use it in other places lmao
its like a global
yeah
i might want to
but i get the error "Tweak.x:4:19: error: use of undeclared identifier 'GcColorPickerUtils'"
even tho i have it installed
why is that?
its like doing
let something = null;
function doSomeStuff() {
something = getSomething();
explosion.xyz = something;
}
``` instead of doing
```ts
function doSomeStuff() {
const something = getSomething();
explosion.xyz = something;
}
1 sec
put this in your makefile
Flora_LIBRARIES = gcuniversal
or well
replace Flora with your tweak name
ok
i have that
$(TWEAK_NAME)_LIBRARIES = gcuniversal
#import <GcUniversal/GcColorPickerUtils.h>
lolol
for debugging? not really
Console.app or Antoine for getting crash logs and NSLogs
other than that you kinda just need to ask here or figure it out
use krashkop or safemodes
or idevicesyslog
mb for ping
antoine moves so fast
i usually NSLog like this
NSLog(@"[Flora] %@", variable);
then i filter by [Flora]
ohhh
or just do sm hjdhfdjhf
and filter by that
i use my tweak name plus like a number or two

!^!^!^!^!
Just have a unique tweak name
but ellkit logs stuff
even if you have a unique tweak name there might be other things in the logs which include your tweak name but arent from you
thats why i do [Flora] with brackets
yeah but not in []
to make sure its specific
also its not bad seeing your tweak was injected
yeah but what if the tweak just doesnt work
like you launch it
and nothing shows up
u chekc your spelling
someone should make a tweak that just breaks logging system wide
then bundle it under another tweak so devs don't know why they don't get logs
Lol I meant cap on three finger gesture…
But your device uses the older status bar classes.
hook NSLog{
return;
}
yeah but isn't there other ways to log
personally i use sprintf
I don't like running
muteButton.backgroundColor = color;```
what did i do wrong
i did #import <GcUniversal/GcColorPickerUtils.h>
GoOutside
Locks your phone permanently until it can detect 10,000 steps walked by your fitness app.
Author
Tim Apple
Version
1.0.3
Price
Effort
Repo
Apple
Bundle ID
com.apple.stopbeinglazy
Powered by Canister • Today at 17:10
show everything
all code in my tweak so far?
thats fine until I strap my apple watch to a motor
in tweak.x
or make a tweak to increase the step counter
#import <GcUniversal/GcColorPickerUtils.h>
@interface MRUVolumeBackgroundViewController : UIViewController
@end
@interface MRUVolumeBackgroundView : UIView
@property (retain, nonatomic) UIView *primaryAssetView;
@end
%hook MRUVolumeBackgroundViewController
- (void)viewWillAppear:(BOOL)arg0 {
%orig;
MRUVolumeBackgroundView *view = (MRUVolumeBackgroundView *)[self view];
UIButton *muteButton = [UIButton buttonWithType:UIButtonTypeCustom];
UIColor *color = [GcColorPickerUtils colorFromDefaults:@"me.seroina.amethyst" withKey:@"color" fallback:@"0000FF"];
muteButton.backgroundColor = color; // Using color variable instead of [UIColor color]
muteButton.layer.cornerRadius = 40 / 2; // for a circle its half the width
// Set SF Symbol
UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:24];
UIImage *speakerSlashImage = [[UIImage systemImageNamed:@"speaker.slash" withConfiguration:config] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
[muteButton setTintColor:[UIColor whiteColor]];
[muteButton setImage:speakerSlashImage forState:UIControlStateNormal];
muteButton.translatesAutoresizingMaskIntoConstraints = NO;
[view addSubview:muteButton];
[NSLayoutConstraint activateConstraints:@[
[muteButton.widthAnchor constraintEqualToConstant:40],
[muteButton.heightAnchor constraintEqualToConstant:40],
[muteButton.centerXAnchor constraintEqualToAnchor:view.centerXAnchor],
[muteButton.topAnchor constraintEqualToAnchor:view.primaryAssetView.bottomAnchor constant:-10]
]];
}
%end ```
thanks to fiore
oh u should have said that
your plist is likely wrong then
show ur plist
like i said, read ur stuff before asking
asduiohaduioahsdu
thats why coding ducks exist
whats thast
you usually find the issue when explaining your code to someone else
you can also use a normal rubber duck or a friend
ohh
so theres this thing called a duck, which you explain your code to
In software engineering, rubber duck debugging (or rubberducking) is a method of debugging code by articulating a problem in spoken or written natural language. The name is a reference to a story in the book The Pragmatic Programmer in which a programmer would carry around a rubber duck and debug their code by forcing themselves to explain it, l...
and then you find the issue
you can use anything
i just pretend im talking to someone
I usuaally use discord for rubber dugging
yay it works
i usually annoy nightwind or fiore if it doesnt work
real
im sure they really love me
Buy one from the EU Parliament in Brussels. Good quality can recommend
(im gonna get murdered soon)
LOL
night alr want to for me
does anybody know how to solve this issue?
/Users/haxi0/theos/sdks/iPhoneOS15.6.sdk/System/Library/Frameworks/Comet.framework/Modules/Comet.swiftmodule/arm64e-apple-ios.private.swiftinterface:13:8: error: no such module '_StringProcessing'
import _StringProcessing
^
Sources/Lunar/Classes/TweakPreferences.swift:1:8: error: failed to build module 'Comet' for importation due to the errors above; the textual interface may be broken by project issues or a compiler bug
import Comet```
swift moment
bruh
so i was looking at
and the volume is Deprecated
haha
and this makes NO sense: parentView.backgroundColor = .clear let volumeView = MPVolumeView(frame: parentView.bounds) parentView.addSubview(volumeView)
so how would i make that to objc
top right*
top left
Half of apple docs don't have obj-c anymore
mute volume
theres a method for that lol
i fg where but i thiink its on like SBVolume audio or sm
or SBMediaController
look in head objects in flex
ohh
nvm
wdym
its not there
oh 🙏
thank god
wait so would i do muteButtonTouchDown
and then whatever the code is
NSLog(@"Mute button pressed down");
}```
whats muteButtonTouchDown ?
ur method for ur UIButton ?
no its just muteButton
16player eta is this friday?
ask @slim bramble waiting on his DRM, my stuff been done
hes doinf obf
wait i would add
[muteButton addTarget:self action:@selector(muteButtonTouchDown) forControlEvents:UIControlEventTouchDown];
and then that
right
Send your drm and we can agree
idk try it

why r u doong NSLog?
to make sure it works
do u have a mac?
no!
then theirs not rly a point
well cant i see in antoine?
yea but wheres ur button gone be?
idk how to hide this: ethiweriewr
y would u hide it?
it looks crouded
then move ur button
idk
sigh*
wait
DW about rn
get it working first
show me the button in flex
like have it selcted so i can see the views arounf it
in the list thing
actully
just chnage the bacgorund color
simple
wdym
wait tweak.x again?
nvm
nah the control file
i got it
ok
real
wait so i would do
in a sec
MRUVolumeBackgroundView *view = (MRUVolumeBackgroundView *)[self view];
``` whats is this
uhh
wait
lemme check
fiore did this
imma look
oh
its the backround view
like behind the volume
to the side*
wait do u want it
remove the ```objc
yea
ik
Tweak.x:56: warning: missing %end (%hook opened at Tweak.x:14 extends to EOF)
make[3]: *** [/home/test/theos/makefiles/instance/rules.mk:370: /home/test/bettervolume/.theos/obj/debug/arm64e/Tweak.x.m] Error 1
make[2]: *** [/home/test/theos/makefiles/instance/library.mk:52: /home/test/bettervolume/.theos/obj/debug/arm64e/Amethyst.dylib] Error 2
make[1]: *** [/home/test/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2
make: *** [/home/test/theos/makefiles/master/rules.mk:146: Amethyst.all.tweak.variables] Error 2
no i forgot smthing else
logos: warnings being treated as errors
Tweak.x:59: warning: missing %end (%hook opened at Tweak.x:16 extends to EOF)
make[3]: *** [/home/test/theos/makefiles/instance/rules.mk:370: /home/test/bettervolume/.theos/obj/debug/arm64e/Tweak.x.m] Error 1
make[2]: *** [/home/test/theos/makefiles/instance/library.mk:52: /home/test/bettervolume/.theos/obj/debug/arm64e/Amethyst.dylib] Error 2
make[1]: *** [/home/test/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2
make: *** [/home/test/theos/makefiles/master/rules.mk:146: Amethyst.all.tweak.variables] Error 2
can anyone tell me what the difference between ppl and sptm is
one sec
alr thanks
yeah no problem
ok
1s
it still errors
OH
IM DUMB
wait
not really
but
@acoustic imp Tweak.x:29:20: error: property 'muteButtonP' not found on object of type 'MRUVolumeBackgroundView *' muteButton = view.muteButtonP; ^ Tweak.x:30:27: error: property 'muteButtonP' not found on object of type 'MRUVolumeBackgroundView *' [view addSubview:view.muteButtonP]; ^ 2 errors generated. make[3]: *** [/home/test/theos/makefiles/instance/rules.mk:374: /home/test/bettervolume/.theos/obj/debug/arm64e/Tweak.x.57800352.o] Error 1 ==> Compiling Tweak.x (arm64)… Tweak.x:29:20: error: property 'muteButtonP' not found on object of type 'MRUVolumeBackgroundView *' muteButton = view.muteButtonP; ^ Tweak.x:30:27: error: property 'muteButtonP' not found on object of type 'MRUVolumeBackgroundView *' [view addSubview:view.muteButtonP]; ^ 2 errors generated. make[3]: *** [/home/test/theos/makefiles/instance/rules.mk:374: /home/test/bettervolume/.theos/obj/debug/arm64/Tweak.x.80bd0313.o] Error 1 rm /home/test/bettervolume/.theos/obj/debug/arm64e/Tweak.x.m rm /home/test/bettervolume/.theos/obj/debug/arm64/Tweak.x.m make[2]: *** [/home/test/theos/makefiles/instance/library.mk:52: /home/test/bettervolume/.theos/obj/debug/arm64e/Amethyst.dylib] Error 2 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [/home/test/theos/makefiles/instance/library.mk:52: /home/test/bettervolume/.theos/obj/debug/arm64/Amethyst.dylib] Error 2 make[1]: *** [/home/test/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2 make: *** [/home/test/theos/makefiles/master/rules.mk:146: Amethyst.all.tweak.variables] Error 2
i forgor make before
yea, i had low hopes
could i do muteButton = self.muteButtonP;
yea
wait
idk if its coding lang
but what buttonSate
is it sposed to be state?
wait i am wrong
WAIT
@acoustic imp i dont think u hooked
all good
hows it going?
what does that mean?
in there error
replace where it errored view with self
i removed self
Tweak.x:29:20: error: property 'muteButtonP' not found on object of type 'MRUVolumeBackgroundView *'
muteButton = view.muteButtonP;
^
Tweak.x:30:27: error: property 'muteButtonP' not found on object of type 'MRUVolumeBackgroundView *'
[view addSubview:view.muteButtonP];
^
Tweak.x:51:3: error: use of undeclared identifier 'muteButtonP'
muteButtonP.backgroundColor = [UIColor redColor];
^
Tweak.x:54:3: error: use of undeclared identifier 'muteButtonP'
muteButtonP.backgroundColor = [UIColor redColor];
^
4 errors generated.
make[3]: *** [/home/test/theos/makefiles/instance/rules.mk:374: /home
wha 😭
oh i thought that was a regular heart
uh oh!
"😨 "
Poor teslaman

idk what that means 🔥
well thats why i wanted u to hook the view instead
explain in dumbass
I didn’t think I would ever feel bad for teslaman
am i mean
ok my shit compiles gime a min and il do urs
send the curent code plz
and it doenst work.....
@radiant idol whats worse you helping teslaman at first or teslaman helping seroina
its only a file just copy paste it here
you misspelled writing entire tweak
mhm
i probly did
a
object set class sucks
lol
dont build for ios 9
makde sure u got sm that look like this ```TARGET := iphone:clang:15
.5:14.0
or 14.5:14.0
anythng really above 14.0 (like it says)
my make file is just this
so add what i sent
Imma just let you guys figure this one out
am i wrong?
yes
oh
Well not entirely
so like
ur tweak name is bad
the iOS 14 thing was a warning…
yea
there we go
Tesla did u find error?
ok, im not crazy
i havnt looked
Oh ok
iv used up all my coding motivation for the day and i should studdy for my test tmro
and do my HW
still have the same error
like i said, your tweak name is bad
what is it
shade
include $(THEOS)/makefiles/common.mk
include $(THEOS_MAKE_PATH)/null.mk
no
no ? then whered it go lol
Idk
so like theos just ate it ??
I have to start over again
i mean u dont have to jus
copy the make file form a new tweak
and change the name to "shade" or what ever
I didnt
no

Its the same code
INSTALL_TARGET_PROCESSES = SpringBoard
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = shade
makefile_FILES = Tweak.x
makefile_CFLAGS = -fobjc-arc
include $(THEOS_MAKE_PATH)/tweak.mk
``` @tough shadow pleas copy paste the code above and make that your make file
I dont have tweak.x tho
Not everything is a tweak
yea but do u think mudsplasher is making anything other than a tweak
just start overt atp
fr
Poor teslaman
I swear if I start again and its giving me errors am giving up
https://pinpal.github.io/theme-guide/ Am using this guide
I really need help
Oh it worked
I just had to remove large characters
by the wayyyyy you get that make warning by using xcodes make which is from 2006. you can install gmake with brew install gmake if u have homebrew installed. works the same just replace all instances of make with gmake
it did kinda tell u that
iirc the warning also interprets the clang version as a target sdk version so it can appear when it's not even applicable 
How could we fix this in sonoma Xcode 15:
lol
I searched inn chat no one talk about temporarily solution?
reading helps
mfw no xrefs
two devs have responded to that issue, there's no fix for that if you're using xcode's sdk
patch the iOS 17 SDK you have and it should work around it for now
Ah sh¡t i have 3 days My eyes are burning and I have not slept
the script to patch sdks can be found in https://github.com/theos/sdks
and the existing sdks the are recommended for use with building
(yes, 17.x is not there but you can use the script)
Thank for informing is that goof guid how to patch my won sdks?
Yah that’s the issue the script is it work with sonoma ? So i don’t waste any time and I don't want to become a nuisance thanks
it should
- install https://github.com/inoahdev/tbd/ (copy the binary to somewhere in $PATH if you will)
- run
./create_patched_sdk.sh -and it will patch the default sdk xcode is using (which is going to be some version of 17 right now)
@signal zealot
You are definitely the best. ♥️
🎁 I bought you a copy of SwitchShades! https://chariz.gift/switchshades/2HDCYFPFTKKYF4K9JFPT
oops I sent the wrong code
chariz
🎁 I bought you a copy of SwitchShades! https://chariz.gift/switchshades/2HDCYFPFTKKYF4K9JFPT
someone
anyone
why do i always get 403 forbidden for those links
Claimed
oh i see
me too
even when it's not claimed
Either claimed or fake 
how come
I think they’re just getting claimed quickly
@limpid star happy birthday herrn lahr
thankies :3
@limpid star happy unbirth
Happy birthday @limpid star
MIT has been a mistake
@limpid star happy birthday
@limpid star congratulation on becoming older
birthday happy
haps @limpid star
@limpid star happy womb eviction day
BMS
saurikware
he does this sometimes too:
NSString *str(@"joe");
Surely that’s some sort of joke
Yeah
someone mentioned a long file so I pulled out the classic
why 😭
That's code you could write smh
fr
Anyone with an Apple Watch on a jailbroken iPhone running iOS 16?
I need a tester for an update to WatchSounds (https://havoc.app/package/watchsounds)
thank yall for the wishes :3
yessir
I do as well
@indigo peak @timid garden thanks, pm'ing you the details now 🙂
is dopamine's badRecovery a PAC bypass? since it seems to use kcall and it manipulates threads.
Yes
but i thought Operation Triangulation's PPLRW didn't need a pac bypass
It’s required on 15.0-15.1.1 and also can be useful for developers who want to kcall
There might be ways around the 15.0-15.1.1 thing though I saw it somewhere
Also the Fugu15 PPL bypass required a PAC bypass
It doesn’t use kcall, it gives you the kcall primitive
which allows you to call pointers from the kernel correct?
Allows you to call any kernel function yes
nice

Am actually so exited for this, on iOS 15 😢, but watch is on 9.6(Legizmo)
legizmo is cool
would be it be possible to port flipswitch to rootless
Whats that ?
[[flipswitch]]
Centralized toggle system for iOS
Idk if its open source yea but if not then probably no
it is
requires rocketBS which does not have official support for rootless
i have working rocketbs
"official"
ehhhh kinda doeas bc of where your getting it
i didn't get it from the naughty repo
then whered u get it from?
nightwind patched the rootful version for me
oh...
still not "official" - offical is kinda required to release sm
so i'd probably need an official rootless built
i never tested it
wtf didnt u say it works😭
@radiant idol does ur patcher patch to /var/jb ? not sm symlink BS ?
well you can "privately" build it for me
here i'll patch it and if it works i will be impressed
yes
oh eta when ru gona releas it at sm point?
k
yes but i dont have the time to make it user friendly atm
but im not fixing it is its broken
is it cli ?
yes but i wanna make it gui

im not spending more thatn 15 min on it
yeahhh thats not happening
let me see if
if what...
so close… and yet so far
yea, crazy tweak
no
k jus making sure
let me check
send KrashKop one plz i dont feel like bustin out the mac VM
this does tho right ?
SBSettings???
idk thats what in the tweak
no this ^^^ @radiant idol (not the SS oops)
get the safemoded crash log from the krashkop app(its on havoc)
one sec
ummm, this needs to be updated for IP12 + lol
its appaze
oii
no
yeah but the whole point of flipswitch was to get appaze2
in iCP or choicy
whats appaze do?
this circle
wait so huh? flipswitch isnt the circle?
[[appaze2]]
wrong one
omg i need this
[[appaze2]]
uh wait
is anthopak in this server

oh they are
will they get upset if I ping them
Centralized toggle system for iOS
oh 
Asking anthopak shouldn't hurt though... right
well ur crashlog doesnt rly say what the issue is

um go ahead
it dlopens a lib that doesnt exsist and theres no way to put it there bc of ssv
can u search ur FS for libMobileGestalt
in usr/lib
in some random SDK folder
/private/preboot/B5A9353985FF8B9E5E8440FFCEB59E4AA35650260269BD46084FEECC5EA10BF419F9068EBDC72CC4D2AE74E91720FA5B/dopamine-AEcH2n/procursus/usr/share/SDKs/iPhoneOS.sdk/usr/lib
yea so its not gona work
ok so its flipswitch's fault
ios 15s i think idk
bc idk if flip swich puts it there but i dont think it does
and coding that into the source code is probably gonna demand to like
way more time than its worth?
i might be wrong
it might be the mac of part of this idk
appaze works on 14+ ?
how tf
if you get flipswitch
it never worked for me
to work
you want to see non sense ?
Go ahead
wtf
Basically
It's braindamage
@radiant idol
perhaps you know
🙏
could be the exclamation mark idk
:smh:
NSLog(@"%@", @"your thing");
how does this fix it???, making the text a like var?
MORE ERRORS SMHG
whad u expect
@lyric heron
do you need it's entirety
cuz like fuck off
if you only need one shit
i think [[boxy 4]] also needs it
lmao
all of it
@slim bramble
imagine how revolutionary it would be if you manage to convert the biggest rootful libraries
Not tonight
Wait lemme downgrade toolchain
theres also this
that ive been looking into
would be cool to exist
Yeah but it's old garbadge
its swift 
Cuz ppl dont make shit anymore
Bro the last push is 6yo
wdym its 3 years
or we talking about flip one
2*
flip
oh
aslo where tf is the make file
@tepid olive said something about that as well
POV : swift
my eyes🙈
it was left out by the dev
you need to recreate the makefile, control, along with determining all the dependencies and building them for rootless. which you cant do
I have the dependencies
y, jus y

you need them in theos
Because its a 2 dollar tweak
ah
bro making me compile a paid tweak
thats honeslty kinda smart
this aint no dleovl/cardculator getcho ass outta here 🗣️
ok well i cant build the dependencies so
someone else is working on flipswitch

Think about it
forgot how annoying spotify ads are
you'd make so many people happy (me)
first of all ur on ios 16
L, just pirate spotify 
whats wrong with that
how can you guarantee an ios 14 tweak will work
ios16 was like a semi ios rewrite
it might work on ios15 might
it uses flipswitch dummy


yeah no
trust me, do it ur self

mfw compiling tweaks is kinda just math in disguise
tru but like... no
all in exchange for working on flipswitch 

it's just math
dingy if u cant do it i think u aren't good at math.... what ARE u good at then..
2+2=?
22
i know that "2"+"2" = "22" 😦
or maybe it was without the ""
ok but long story short
there ain't no way this is gonna work?
no
buy me nitro
i dont want your money
although
if i send u a possible flip switch deb will i get onesettings?
how do i know if it will work
they patched it
if it works
the nitro method
lol
what does that say
price increase of yearly nitro goes for people who paid 269 lira yearly
to 1049
real L
surely u can fix flipswitch right
my apple sub still says 269 lira
hopefully it stays like that as long as i never cancel it
did you not get an email?
no
we do a sufficient amount of trolling
how cheap nitro

oh well
my play balance continues to fund nitro basic
i like how its been months and im still at ~$20
i bought myself a year for 15 bucks
of the good nitro
dhinak surely u wanna try my funny little project right
what funny project
silly project of getting flipswitch to work
on iso 16
(pls)
Centralized toggle system for iOS
(pls im begging)
Update it then I can compile 
Throwback
===== RAGE OVER =====
====== RAGE OVER =====
===== RAGE OVER =====
Free my bro
this was to u ?
hello, any why I get "code signature invalid, errno=1" when I try to dlopen a dylib into a process?
maybe there's an extra step with Dopamine 2 before I can inject a library...
!!
hell yeah
idk what complaints you have with the UI
other than 'its not cocoa'
it blows ghidra out of the water
me with ida 7.7 using wine on mac:
my story
yea
@hasty ruin this you?
yes
lmfao
Sorry br*t
skull
ICRAZE IS BRITISH????
He is
HOW MANY ARE THERE
💪 💪 🏴 🙏 🤝 👩 🤛 🍺 🍻 🙏 🤝 💪 🏴 🏴 🏴
POV : ☔️🌧
Only thing icraze knows
Oh actually has he ever touched grass ? 🤔
you have said this twice in one day
making it automatically unfunny
Not in one day no
You keep yapping about baguette smh
istg its either raining and i get my tights wet or its too hot and i cant wear them at all
thats the only 2 options in this country
no snow
no "ehh" weather
its always too hot or raining
Devtools fr
ermmm
only for the experiments tab and themes !!
briish
1984 of Kirbistan
(i dont have the nexus gifs)
It’s on tenor
keep it that way
just search "bootloop" on gifs tab
I should make a bootloop rune
POV : zefram
pangu7 in a dark room challenge
Lol
icraze
icraze is definitely one of the people of 2024
With icraze, there is no freedom of speech
We need rune bootloop
quick flood the chat so he misses them
😭
NOOOO
what happened
nothing people were posting gifs of flowers
I hacked you
I got gir'ed
L
Bro I don’t have time I have so much to bear in mind


corect




