#development

1 messages · Page 83 of 1

tepid olive
pearl sail
#

no one cares

#

your code is on the same level as rust respectively

#

no one cares to read it or wants to deal with it

brazen timber
pearl sail
#

this is false

naive kraken
#

15.5 - 15.8 is likely not affected by the new CoreTrust bug

steady nest
#

way to fuck it up apple đŸ€”

pale sleet
#

yeah they should've kept the coretrust bug!!!!!

tepid olive
#

“‎shit_protect” 😂😂

visual meadow
#

I think it is but like theres a parameter missing and was added later on, I know it's not path

tepid olive
#

@elder scaffold Can I try your jailbreak on my iPad 5 on 16.4.1? I want to test ElleKit on more devices

#

(I am evelyn)

elder scaffold
#

it is not possible now :/ sorry.

tepid olive
bleak wagon
granite frigate
#

(i am also evelyn)

bright island
#

flëx

gleaming flame
gaunt helm
hasty ruin
oak sand
#

can you compile an ipa with linux or do you need a mac with xcode

grim sparrow
hexed knot
#

Theos ipas suck though apparently

#

Apparently they’re broken and don’t work with sideloadly

grim sparrow
#

Then fix it

hexed knot
#

Alright just letting the dude know before he comes back saying that it’s not working I’m not saying theos is shit but

#

No idea just resaying what i heard

#

What dude

#

??????????

#

Did you not read the last couple words

#

Im telling stuffed that if he were to use theos for an ipa that there could be a problem

#

Yeah im not saying theos is shit

#

No

#

Ok if thats how you wanna interpret my messages be my guest

#

Sure

#

Okay dude

regal violet
#

I haven't done much research into this, but I'm wondering how feasible an iPod Nano 7th Generation jailbreak would be to make

regal violet
#

I have a decent understanding of the technicalities of jailbreaks for early iOS devices

#

However I know the iPod is a very different device codebase wise and has a much smaller attack surface

#

(though I suppose also less protections)

ashen birch
#

technically isn’t ipa support separate bc it’s kabir who has the theos-jailed repo

#

or has that changed

ashen birch
#

oh ok didn’t realize it was about that instead

lean matrix
#

anyone have or know where I could find a backup for an iPad Pro 11" 4th Gen, iOS 16.6, M2 Chip?

young meteor
#

plug it in to your PC
open itunes
press back up now

lean matrix
#

mine isn't set up yet, I am trying to experiment with a backup that already exists first

#

and it won't make a backup since not yet set up

lean matrix
#

Just need a backup to look at

#

before I go chasing down rabbit holes 😂

main apex
#

Which saves rootful jb preferences, what were they thinking back then :)

lean matrix
#

thank you, but where could I find another iPad backup to tinker with?

cloud yacht
#

I mean finding another iPad

#

people don't just give backups, as they usually have personal data

lean matrix
#

I get that.. wonder if I could get someone to remove the personal stuff

lean matrix
#

I know, I’m hoping to tinker with a backup and then restore mine with it eventually

oak sand
#

Shouldn’t be an issue I’m not planning to use sideloadly

vivid dew
#

you know you can wipe a device at any time right

primal perch
primal perch
#

capt learning about #include

gentle grove
indigo peak
manic willow
#

@indigo peak

hasty ruin
#

@indigo peak

daring grail
#

@indigo peak

harsh junco
#

@import @indigo peak

sly knoll
#

how do i solve this?

lime pivot
# sly knoll how do i solve this?

you’d need to manually patch the headers to remove the iOS unavailable flags, or just write your own header copying in the stuff you need

sly knoll
#

thanks

sly knoll
#

and this

lime pivot
sly knoll
#

and removed API_UNAVAILABLE(ios, watchos, tvos) from them

#

now I got this

lime pivot
#

I'm not too sure honestly. I don't understand why that would be a problem

sly knoll
#

hmm, but thanks for your help:)

sly knoll
#

Wait what

hasty ruin
#

🙏

naive kraken
#

They also renamed
- (void)_handleMessageMessage:(NSDictionary*)message onInterface:(NSInteger)interface withGeneration:(NSUInteger)generation fromMaster:(BOOL)fromMaster
to
- (void)_handleMessageMessage:(NSDictionary*)message onInterface:(NSInteger)interface withGeneration:(NSUInteger)generation fromAgent:(BOOL)fromAgent
in iOS 15, which is some random private method inside apsd, truly racism solved now 🙌

sly knoll
#

its not my code

wooden yarrow
hasty ruin
manic willow
#

any news?

feral mirage
manic willow
#

oh thanks

wind ravine
#

how do u add private frameworks to xcode?

wind ravine
#

that does not work

#

i have the sdk in theos

#

i added the framework

#

it dont work

primal perch
#

owner shepgoba

wind ravine
#

wait add tbd or .framework?

primal perch
#

you dont want it

#

capts ssd has like 500TBW

#

too many panic logs and macos reinstalls

#

yeah probably

wind ravine
#

when i add it it says Framework 'BackBoardServices' not found

#

parent folder?

#

i got a goofy error

#

wait

#

i have stupid

#

do i embed the framework?

#
  __swift_FORCE_LOAD_$_swiftUIKit, referenced from:
      __swift_FORCE_LOAD_$_swiftUIKit_$_XXTAssistiveTouch in ViewExtensions.o``` wtf
#

ae idk why its giving the error

hasty ruin
#

it's always swift

primal perch
#

fr

wind ravine
#

how do i fix it

hasty ruin
#

using a good lang

primal perch
#

FR

#

icraze spitting

wind ravine
#

im not making an app in uikit

primal perch
#

as usual

wind ravine
#

the backend is obj c but ui is swiftui

hasty ruin
#

and its the swiftui part that wont build

wind ravine
#

it might be both

primal perch
#

swiftUI breaking

hasty ruin
#

TRUE

hasty ruin
#

(i am not shocked right now)

primal perch
hasty ruin
#

Fr

primal perch
wind ravine
#

c is for the part that runs in the background

#

why would i write 200 lines of uikit code for something i can write in 5 in swiftui

pearl sail
hasty ruin
#

it works

#

it doesn’t eat ram

#

doesn’t rape the cpu

primal perch
#

fr

hasty ruin
#

doesn’t bug after 2 seconds

primal perch
#

its apples fault swiftui sucks

#

it shouldnt be as slow as it is but it is

hasty ruin
wind ravine
#

yall are not helpful

primal perch
#

yeah true

hasty ruin
#

yes we are

primal perch
#

its just a wrapper around uikit but somehow apple made it garbage

hasty ruin
#

not this slow

primal perch
#

yeah

#

it should be negligible

#

not blatant stuttering

#

but alas, it is

#

drag down frmo lock screen

#

stutter

#

open notification center

#

stutter

#

fr

#

we've really gone back

#

hardware: capable of butter smooth 120fps
software: ass

#

@tired crag I LOVE QUALCOMM

#

14% faster @ same power according to them but its probably embellished

#

it is arm

#

based

#

nuvia developed cores

#

where the A14 apple engineers went

#

the problem with the product is going to be software though almost certainly

#

windows on arm is still a joke

native dune
#

i need 4 terabytes for torrents

primal perch
#

me with my 16tb hdd

native dune
primal perch
#

if windows actually invested in arm itd be a good option but

native dune
#

hdd so its mid

primal perch
#

its not

#

its on my nas so its not like im booting off that shit

#

200MB/s read it seems fine

native dune
#

i wonder if i can torrent on a network drive

primal perch
#

uh

#

yeah

native dune
#

112 MB/s

#

so a gigabit

primal perch
#

i do all my torrenting on my nas

native dune
#

i need a 2.5 gig nic

primal perch
#

its on the vpn 24/7 with lockdown mode

#

i just use qbit webUI to feed into it

native dune
primal perch
#

from my pc

#

upload torrent

#

save on nas

#

stream via jellyfin

#

winning

#

i got swiftfin too so i enjoy my smooth apple tv

hasty ruin
#

qbit -> jellyfin -> friends dms

primal perch
#

128 bit what

#

addressing? nothing

#

consumer x86 processors have 256 bit registers

#

avx2

native dune
#

i need to get a debrid service

#

too lazy

hasty ruin
primal perch
#

so thats not surprising

#

nfr

#

10.8.11 is stable and works

hasty ruin
#

yeah but like

#

it’s been a thing for ages

wind ravine
#

bruh this builds with theos

#

i tried compiling it to an xcode project

primal perch
#

swiftfin is kinda dogshit tho

#

swiftUI

#

checks out

wind ravine
#

and its not compiling

native dune
#

yeah but its better than nothing

primal perch
#

it works but its buggy

native dune
#

infuse is garbage

primal perch
#

why

#

worked fine to me i just didnt wanna pay

native dune
#

it never worked right for me

primal perch
#

well i only streamed like one video cus all my hsit is h265

#

and infuseis like

#

PLEASE PAY

hasty ruin
primal perch
#

fr

hasty ruin
#

SwiftUI bug tab bar

primal perch
#

we should make a uikit client forapple tv and ios but unironically

#

would work

cinder pivot
#

Can someone help me code this to a fling

#

Dm me if u can help

primal perch
cinder pivot
#

I need someone with Mac

hasty ruin
#

me when zero details

primal perch
#

@grave sparrow can help you

native dune
#

nebulafin

primal perch
#

nebula fin

hasty ruin
native dune
#

:/

#

the jellyfin server currently has 1 song on it

cinder pivot
#

Giving details in DMs it’s too large

native dune
#

actually an album

#

you can guess which one

primal perch
#

olivia rodrigo

cinder pivot
native dune
#

yeah fr

hasty ruin
primal perch
#

that one album you post every 2 days

native dune
#

no no i dont

primal perch
#

trole

native dune
#

oh wait this is development

native dune
#

lua đŸ€“

#

#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>

#

i doubt this will work

wind ravine
#

i give up on this error

#

ill just continue using vscode

#

still not gonna use uikit

hasty ruin
#

words I cannot say in this server

brazen timber
#

words I cannot say in this server

olive peak
#

is it possible to simulate touch without root

slender glade
#

made really quick so the UI looks bad

#

but this is my first time doing an xpc service w a normal macOS app as it's client

wicked summit
#

You typically don't need root to create a file

pine holly
wind ravine
#

how to add private frameworks to xcode

#

adding it from the sdk causes issues

native orbit
#

what issues

wind ravine
#

causes this:

  __swift_FORCE_LOAD_$_swiftUIKit, referenced from:
      __swift_FORCE_LOAD_$_swiftUIKit_$_Helium in SettingsView.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)```
vivid dew
#

good.

native orbit
wind ravine
#

yes

wind ravine
#

screw xcode

#

ill stick with theos

tepid olive
#

anyone knows if theres progress with the trollstore?

main apex
faint lionBOT
#

Hey @tepid olive, have a look at this!

eta

We have no way of knowing. When there is news, it will be in #announcements

manic willow
#

Chet is cool

#

he just can't type

gleaming flame
#

it's the same fucking webpage. how are these two related to kfd at all? this man is out of his mind

velvet path
#

can this please be unpinned by chance ok thanks

vivid dew
velvet path
#

thanks

sweet tangle
#

im trying to animate quadratic bézier curves from a straight line and am getting some interesting results where the curve loops back on itself (rather than a smooth transition) in the middle of the animation. would appreciate any insights as to why this happens

sweet tangle
#

right? i do like it i just wish i knew why it was happening. to show an even cooler example here it is as with actual input data

sweet tangle
# manic wolf what does your code look like?

this code generates the points for the curve in the inital animation:

CGPoint nextPoint = CGPointMake(frame.origin.x + frame.size.width, containerHeight / 2);
CGPoint controlPoint = CGPointMake(
    (currPoint.x + nextPoint.x) / 2, 
    _displayUpdateCount % 2 == 0 ? (i % 2 == 0 ? controlPointYTopBound : containerHeight / 2) : containerHeight / 2
);

[_wavyLinesPath addQuadCurveToPoint:nextPoint controlPoint:controlPoint];

this is just test data but it alternates between the height of the curve to the height of the container view and the middle of the view every animation update.

CABasicAnimation *morph = [CABasicAnimation animationWithKeyPath:@"path"];
morph.duration = 0.75;
morph.toValue = (id)_wavyLinesPath.CGPath;
morph.fillMode = kCAFillModeForwards;
morph.removedOnCompletion = NO; 
morph.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionLinear];
[_wavyLinesShapeLayer addAnimation:morph forKey:nil];

this is the code that does the animation. this is called once per second

#

yessirrrr

#

i've been working on music visualization for a few days now, it's been pretty cool

#

another example with more colors, it's kinda sick

granite frigate
#

who wrote that crossover crack with ellekit

sly knoll
#

i want Dock theme with ellekit L

granite frigate
#

i am getting skulled

olive peak
hasty ruin
#

zefram isn’t even themed smh

timid furnace
#

I have one as well, without zefram

#

L

pearl sail
native orbit
#

wallpaper goes hard

pearl sail
#

Yeah yeah

#

0

native orbit
#

~ % zsh: segmentation fault

wicked summit
#

My brain's become a Linux terminal

turbid fjord
#

(Both are bad)

primal perch
#

fr

#

literally a text box

#

😭

topaz yew
#

this is my loader

turbid fjord
manic willow
#

how do start jb development

#

halp

#

(am actually serious this time)

turbid fjord
#

Imagine the hours

#

Gone into this

#

Blood sweat and tears

manic willow
torn oriole
#

@grave sparrow i now understand why you're on Monterey

#

It's so good

hasty ruin
#

🙏

torn oriole
primal perch
torn oriole
torn oriole
primal perch
#

alhamduillah

#

ill update when it stops getting security prob

#

might be 1-2 years

#

by then i hope sonoma/macos 15 isnt ass

torn oriole
#

You have high hopes

timid furnace
#

@grave sparrow what's the recommended way of accessing prefs from a tweak

#

no sandbox

#

bonus points if it works in the constructor

primal perch
#

you went to capt inc


exotic spire
#

hey nerds

#

is there a way to conditionally add to a class in python

#

like this

brazen timber
#

is that spanish

exotic spire
#

yes

vivid dew
exotic spire
#

I don't want literal 'None" in db

vivid dew
#

just pass none for it

#

your framework will translate it to a sql null

manic willow
#

Why no one help me with make jb

exotic spire
torn oriole
#

@grave sparrow how do cope with the software update badge hm

primal perch
#

ignore it trol

torn oriole
#

I remember having a way to brick it but I can't remember what I did woeis

#

Changed a plist somewhere to immutable but the common suspects don't seem to be doing the trick

#

Maybe I 000'd softwareupdated hm

#

Genuinely can't remember

torn oriole
#

That is indeed a solution

#

But not the one I am searching for

torn oriole
timid furnace
#

can't you just install the beta profile

#

does that still work

#

bet thanks

torn oriole
timid furnace
#

what iOS version are you on

torn oriole
timid furnace
#

oh

#

lmao

#

uh

#

there was a plist but then Apple rewrote the menu bar

cloud yacht
#

install iCleaner Pro and disable the OTA daemon

torn oriole
lime pivot
main apex
manic willow
#

Why is no one helping actually

manic willow
#

pls help

#

I'm serious this time

#

Not trolling

#

I want to get into this

native dune
#

cron job

manic willow
#

STOP FR REACTING ME

#

I'M SERIOUS

hasty ruin
#

i just copied it from capt then deleted his messages

#

mods

#

capt just deleted my messages

indigo peak
#

capt dick ridding into the pins part ????

pearl sail
#

@grave sparrow oi cunt suck a huge dick

manic willow
#

meany

pearl sail
#

That is pedophile behavior

hasty ruin
pearl sail
# hasty ruin

I will find Patrick to let him know you are available

hasty ruin
#

no it's friday

hasty ruin
#

british

#

so we good

pearl sail
#

But you said it

naive kraken
#

Hide the Software Update badge on macOS

  1. Go to System Preferences -> Software Update
  2. On the latest update, click "Download and Install"
cloud yacht
#

Hide the Software Update badge on macOS

  1. Get a brick
  2. Smash the mac with the brick until it stops showing the update badge
visual meadow
#

I have Zefram on my mac

#

Its called

#

csrutil disable

primal perch
torn oriole
#

Darwin 21 Gang rise up đŸ—ŁïžđŸ—ŁïžđŸ—ŁïžđŸŠŸđŸŠŸđŸŠŸ

primal perch
#

Darwin 21 Gang rise up đŸ—ŁïžđŸ—ŁïžđŸ—ŁïžđŸŠŸđŸŠŸđŸŠŸ

#

Darwin 21 Gang rise up đŸ—ŁïžđŸ—ŁïžđŸ—ŁïžđŸŠŸđŸŠŸđŸŠŸ

#

Darwin 21 Gang rise up đŸ—ŁïžđŸ—ŁïžđŸ—ŁïžđŸŠŸđŸŠŸđŸŠŸDarwin 21 Gang rise up đŸ—ŁïžđŸ—ŁïžđŸ—ŁïžđŸŠŸđŸŠŸđŸŠŸ

torn oriole
#

Darwin 21 Gang rise up đŸ—ŁïžđŸ—ŁïžđŸ—ŁïžđŸŠŸđŸŠŸđŸŠŸ

#

Darwin 21 Gang rise up đŸ—ŁïžđŸ—ŁïžđŸ—ŁïžđŸŠŸđŸŠŸđŸŠŸ

#

Darwin 21 Gang rise up đŸ—ŁïžđŸ—ŁïžđŸ—ŁïžđŸŠŸđŸŠŸđŸŠŸ

#

Darwin 21 Gang rise up đŸ—ŁïžđŸ—ŁïžđŸ—ŁïžđŸŠŸđŸŠŸđŸŠŸ

blazing warren
#

Darwin 21 Gang rise up đŸ—ŁïžđŸ—ŁïžđŸ—ŁïžđŸŠŸđŸŠŸđŸŠŸ
Darwin 21 Gang rise up đŸ—ŁïžđŸ—ŁïžđŸ—ŁïžđŸŠŸđŸŠŸđŸŠŸ
Darwin 21 Gang rise up đŸ—ŁïžđŸ—ŁïžđŸ—ŁïžđŸŠŸđŸŠŸđŸŠŸ
Darwin 21 Gang rise up đŸ—ŁïžđŸ—ŁïžđŸ—ŁïžđŸŠŸđŸŠŸđŸŠŸ

hasty ruin
#

Darwin 21 đŸ”„đŸ”„

cloud yacht
#

Darwin 20 gang

hasty ruin
#

Respectable

blazing warren
#

Darling kernel troll

cloud yacht
#

me when I pretend to be a darling machine

hasty ruin
#

apple when you use darling

manic willow
#

Darwin 19 gang

hasty ruin
manic willow
#

Yeah?

hasty ruin
#

Dingus

manic willow
#

What about it

native orbit
#

darwin 10 gang wya intjpray

native orbit
#

when you need to use xcode 2 struggles

primal perch
#

@hasty ruin

hasty ruin
manic willow
#

why won't anyone help me!

#

I'm genuinely asking and you are just being mean :(

manic willow
#

Tysm đŸ™đŸ»

visual meadow
#

calculator improved intjallah

#

Made it match better

indigo peak
# visual meadow

hey im the only one who tweaks the calculator app around these parts

naive kraken
#

@opaque thicket installed Ellekit 1.1 beta on my iPhone X 16.6, after userspace reboot it got stuck on black screen, rejailbreaking gets stuck on "Booting" 😼

#

it's something to do with Crane....

left phoenix
naive kraken
hasty ruin
#

palera1n experience

elder scaffold
#

meow experience

stiff dragon
#

TIL: OOB read doesn’t qualify for a CVE😇

blazing warren
#

jelbrek experience

native orbit
blazing warren
naive kraken
hasty ruin
manic willow
#

I'm gonna make a jb

left phoenix
#

Jelly babies

manic willow
#

I will

#

dw

faint stag
#

make it a launchdaemon troll

torn oriole
#

@grave sparrow where zefram

torn oriole
#

cool now upload hm

#

upload it joegrrrrrr

faint stag
#

pretty sure git push is always supposed to output something

hasty ruin
#

why didnt it start a new prompt

#

it was before

#

mf has a folder called Files, which contains non-files

#

"schoolwork"

#

okbuddy

torn oriole
#

@grave sparrow this is a certified root:xnu-8020.121.3~2/RELEASE_ARM64_T8110 moment

#

Better known as

#

Darwin 21.5.0

olive peak
#

so is screen touch simulation possible inside a tweak or not

faint lionBOT
#
AutoTouch

Record and playback touch operations, play macro scripts automatically.

Author

Kent Krantz

Version

6.1.2

Price

Free

Repo
Bundle ID

me.autotouch.autotouch.ios8

olive peak
#

not record

#

i meant

#

inside of a tweak

#

for example touch(x, y)

#

if that makes sense

#

example like what? i want to simulate a touch inside of my tweak

#

ok thank you though

olive peak
#

yes, can you tell me what the function for it is

olive peak
#

yes which

hexed knot
#

thats for you to find out 👍

granite frigate
torn oriole
#

Darwin Water.local 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 20:57:23 PDT 2022; root:xnu-8020.121.3~2/RELEASE_ARM64_T8110 arm64 supremacy

hasty ruin
#

đŸ€đŸ€

native orbit
#

the world is slowing healing thanks to darwin 21 intjpray

hasty ruin
#

🙏

acoustic imp
#

how do i set my company name in theos/xcode?

#

so it like auto fills here?

#

@radiant idol

radiant idol
#

I dont know

#

mine does it automatically but I have no idea how I did it

cloud yacht
#

therers some config

#

lets see if I can find it

acoustic imp
#

do i need to do it in like xcode or sm?

cloud yacht
#

.nicrc file in home package_prefix = "systems.shorty" or whatever you want

radiant idol
#

ah yeah that then

acoustic imp
cloud yacht
#

wheres your .nicrc file located?

acoustic imp
#

woops

#

put it in my tweaks folder

cloud yacht
#

you can also set the author for it by default using username = "WilsontheWolf <email@example.com>"

acoustic imp
#

like this ?

cloud yacht
#

need the <> around it

acoustic imp
#

k

cloud yacht
#

the email that is

#

email is optional if oyu want

acoustic imp
#

uh

#

do i need to restart like theos or sm?

#

or restart term sesh or sm

#

can it not include number?

#

nvm got it

acoustic imp
cloud yacht
#

theres both

#

one for the package prefix one ofr the author

acoustic imp
#

ohhh

#

like in control file?

cloud yacht
#

yeah

acoustic imp
#

yep

#

thanks

cloud yacht
#

red is username yellow is package_prefix

acoustic imp
radiant idol
#

do you want me to send the code for that or do you want to figure it out yourself

acoustic imp
#

i want help figuring it out my self

#
#import <UIKit/UIKit.h> // Importing UIKit

@interface MRUControlCenterViewCtonroller : UIViewController 

@end

%hook MRUControlCenterViewCtonroller
    UIImageView *ccatrwork = MSHookIvar<UIView *>(self, "artworkViewCC");




%end
#

is this good sofar ish

radiant idol
#

um

acoustic imp
#

idk how to eddit the calayer thing

radiant idol
#

the typoes in code make me cringe

#

but let me just send the code

acoustic imp
#

k

radiant idol
#
@import UIKit;

@interface CALayer (Private)
@property (nonatomic, assign, readwrite, setter=is_setBlurRadius:) CGFloat is_blurRadius;
@end

@interface MRUControlCenterViewController : UIViewController
@property (nonatomic, strong) UIImageView *artworkViewCC;
@end

%hook MRUControlCenterViewController

- (void)viewDidLayoutSubviews {
    %orig;

    if (self.artworkViewCC) {
        self.artworkViewCC.layer.is_blurRadius = 20;
    }
}

%end

#

should work I think

acoustic imp
#

k il try it

#

@radiant idol

radiant idol
#

oops my bad

#

now try

acoustic imp
#

safemode

#

@radiant idol

radiant idol
#

send crashlog

acoustic imp
#

i think its caue like musicBG doesnt actully put the image there till u play somthing

#

so its hook/changing nothing

radiant idol
#

send a crashlog

acoustic imp
radiant idol
#

ok

#

try now

radiant idol
#

i dunno

acoustic imp
#

still safemode

radiant idol
#

what is the issue now

acoustic imp
#

not sure

#

disabled everything expect it and musicBG

radiant idol
#

oh I see why

acoustic imp
#

what was it?

radiant idol
#

now try

acoustic imp
#

works now thx

radiant idol
#

cool

acoustic imp
#

now i get to do it for the LS

radiant idol
#

gl

acoustic imp
#

wasnt hard just had to chnage the hood and artworkviewCC to LSBG

#

but thanks for helping/doing ot for me

radiant idol
#

just one quick thing

acoustic imp
#

wha

radiant idol
#

I would suggest you use viewDidLoad if possible instead of viewDidLayoutSubviews

acoustic imp
#

yea, saw that int he tutorial thing caue it get called more and can lead to mem leaks and freezes. right?

radiant idol
#

yes

#

it can be useful for quick testing

#

but I would suggest you try viewDidLoad first

acoustic imp
radiant idol
#
  • viewDidLoad only gets called once per session, when the view controller's view is loaded/created
  • viewDidLayoutSubviews this gets called whenever the vc's view lays out its subviews
primal perch
#

@grave sparrow

#

@hasty ruin

#

we need swift hate

hasty ruin
#

fuck swift

primal perch
#

chad

acoustic imp
#

@interface MRUControlCenterView : UIView
@property (nonatomic, strong) UIView *materialView;
@end
%hook MRUControlCenterView

- (void)viewDidLoad {
    %orig;
     if (self.materialView) {
        self.materialView.hidden = true;
    }
}

%end

made this to do this/that^

radiant idol
#

UIView's do not have a viewDidLoad method

#

that is only for UIViewControllers

acoustic imp
#

so then what do i put instead?

#

just ```@import UIKit;

@interface MRUControlCenterView : UIView
@property (nonatomic, strong) UIView *materialView;
@end
%hook MRUControlCenterView
self.materialView.hidden = true;

%end

#

?

radiant idol
#

no bruh

#

you need a method

radiant idol
acoustic imp
#

ah, works now thx

radiant idol
#

cool

hasty ruin
#

I prefer layoutSubviews, especially when adding new views and doing computationally intensive tasks

radiant idol
hasty ruin
radiant idol
#

do not disrespect my mother

hasty ruin
#

ok sorry I’ll say it to capt instead

#

@grave sparrow I just did your mother

primal perch
grave orchid
hasty marsh
gentle grove
#

web dev for @grave sparrow

cloud yacht
lime pivot
#

no sir it's viewDidLayoutSubviews

main apex
dawn rapids
#

trol ```foreach (var theme in themes)
{
var tweakImage = new Image();
var tweakCard = new SettingsCard();
var tweakDownloadButton = new Button();

tweakCard.Header = theme.Name;
tweakCard.Content = tweakDownloadButton;
tweakCard.Description = theme.Author;

string imageUrl = baseUrl + theme.Preview;

var imageBytes = await client.GetByteArrayAsync(imageUrl);
using (var stream = new MemoryStream(imageBytes))
{
    var bitmap = new BitmapImage();
    await bitmap.SetSourceAsync(stream.AsRandomAccessStream());
    tweakImage.Source = bitmap;
}

tweakDownloadButton.Content = "Download";

balls.Children.Add(tweakImage);
balls.Children.Add(tweakCard);

}```

granite frigate
#

what's this

dawn rapids
granite frigate
#

wowz

dawn rapids
#

avangelista piss me off

bleak wagon
olive peak
hasty ruin
#

check out zxtouch

#

pretty sure it’s open source

hexed knot
torn oriole
#

@grave sparrow you definitely main 12.6.9hm

velvet path
#

my main iMac is 12.7 because I've been too lazy to update to 12.7.1

torn oriole
#

Nuh uh

#

Get on that 12.6.9 pack

#

Funny

#

Also Xcode 14.2 trolley

#

Fair

#

I'm on 12.4 rn because funny m2 moment

#

Erm ackshually it's Darwin Kernel Version 21.5.0 â˜ïžđŸ€“

#

Fr

acoustic imp
#

how can i chnage the hidden thing for somthing like 2 view in/donw/deep. 3rd image is what i have and doesnt compile (errors), images 1-2 are dress

#

i got it to work with hooking platterView but that also sets the like materialViews to hidden for notifactions

#

@radiant idol ?

radiant idol
#

what is going on

#

im confused

acoustic imp
#

i want to set the MTMaterialView to hidden

#

but i need to hook CSA...

radiant idol
#

ok so go via the platterview and then hide the material view via it

#

btw for syntax highlighting there is a VSCode extension

acoustic imp
#

like hook the platter view? cant...

radiant idol
#

no

radiant idol
#

ok hold on

acoustic imp
#

like self.platterView.backgroundMaterialView.hidden = true; ?

#

didnt work

radiant idol
#

did it crash or what

acoustic imp
#

doesnt comile

radiant idol
#

oh ok

#

hold on

acoustic imp
radiant idol
#

yes yes

#

hold on

acoustic imp
#

👍

acoustic imp
radiant idol
#
@import UIKit;

@interface PLPlatterView : UIView
@property (nonatomic, strong) UIView *backgroundMaterialView; // The reason this doesnt say MTMaterialView is because we dont need to access anything special in this, we are just hiding it. If we were to access special properties in the MTMaterialView which aren't present in UIView, we would need to declare this as an MTMaterialView.
@end

@interface CSAdjunctItemView : UIView
@property (nonatomic, strong) PLPlatterView *platterView; // The reason I use PLPlatterView instead of UIView here is because UIView does NOT contain a property like backgroundMaterialView, so we need to tell the compiler that this is specifically a PLPlatterView, not a UIView so it doesn't complain.
@end

%hook CSAdjunctItemView

- (void)didMoveToWindow {
    %orig;    
    
    if (hideLockscreenPlayerBackgroundSwitch) {
        self.platterView.backgroundMaterialView.hidden = true;
    }
}

%end
radiant idol
acoustic imp
#

ah, thx

acoustic imp
#

thanks

radiant idol
#

make sure you read the comments

acoustic imp
#

yep i did

radiant idol
#

cool

acoustic imp
#

uhhh ur if([this]) doesnt wokr

#

i think this was the thing in dress

#

for settings

#

im chaging it to self.platterView.backgroundMaterialView

radiant idol
#

well idk that was in your code so thats why I used it

#

you can just remove the if statement

acoustic imp
#

k

radiant idol
#

if you dont want it

acoustic imp
#

i mean it wount cause any issues caue it will always be there?

radiant idol
#

not sure what you mean

acoustic imp
#

this one

radiant idol
#

ah

#

well I added that check just for safety

#

it will likely still work without

acoustic imp
#

thast what i means is it gona like reduce saftery? caue safemodes?

radiant idol
#

as long as it is always there it wont cause issues

#

and in objective-c you can call methods on nil (null) as well so it wont cause issues

#

hope that makes sense

acoustic imp
#

Working, thanks 🙏

radiant idol
#

great

#

that actually looks pretty cool

#

nice

acoustic imp
acoustic imp
radiant idol
#

do you know what functions are in javascript, python, whatever?

acoustic imp
radiant idol
#

ok so you know what functions are

acoustic imp
#

yes

#

thast the things in the artfull code to make the thing smaller and larger

#

like you call them

hasty ruin
#

methods are just functions which belong to a class/class instance

acoustic imp
#

calling them is like running the fucnton in js

radiant idol
#

right so basically if a function is put inside of an object/class (in this case CSAdjunctItemView's didMoveToWindow "function"), they're called methods

acoustic imp
radiant idol
#

not nil methods

#

ok

#

so

#

lets say you have an object

acoustic imp
#

k

radiant idol
#
const someObject = null
someObject.map(key => { /* ... */ })
#

tihs would crash in javascript (I think)

#

because you cannot call functions on something that is null

acoustic imp
#

k but i thought functions there like function somefucntion(){ //function code }

#

in js

#

whats someObject.map(key => { /* ... */ })

radiant idol
#

ok so uhh

#

lets make this simpler ok

acoustic imp
#

well the mapkey part

#

ik varibles const, var

#

like if u tried to set a null varible to somthing in JS it crashes? ( it does)

radiant idol
#
class SomeObjectType {
    // ...

    function someFunction() {
        console.log("someFunction called")
    }

    // ...
}
#

this is javascript

acoustic imp
#

yes

radiant idol
#

you can have classes and then have functions inside of them

#

the way you would call this is

#
const someObject = new SomeObjectType()
someObject.someFunction()
#

right?

acoustic imp
#

u mean run the function?

radiant idol
#

yes

#

basically

acoustic imp
#

its just someFunction()

radiant idol
#

that's for free floating functions that arent in classes

#

ok let me try to explain using a real life analogy

acoustic imp
#

like <button onclcik="somefunction()"></button>

acoustic imp
#

so like if there was a function that you could call system wide?

#

like anywere any time

radiant idol
#

lets say you have an apple. that apple has a function int it called eat(). this eat() function is not present anywhere else, only within the apple. so if you want to eat the apple, you do

apple = a new apple
apple.eat()

right? (this isnt valid js, more like pseudocode)

native dune
#

Yum

acoustic imp
#

yea i get it, i think

#

so like u need to get the apple before you cant apple.eat() it?

radiant idol
#

yes

acoustic imp
#

so thats getting the class

radiant idol
#

mhm

acoustic imp
#

/importing it or sm

radiant idol
#

and then calling the function ON it

acoustic imp
#

ohh

#

so this

@interface PLPlatterView : UIView
@property (nonatomic, strong) UIView *backgroundMaterialView; // The reason this doesnt say MTMaterialView is because we dont need to access anything special in this, we are just hiding it. If we were to access special properties in the MTMaterialView which aren't present in UIView, we would need to declare this as an MTMaterialView.
@end

@interface CSAdjunctItemView : UIView
@property (nonatomic, strong) PLPlatterView *platterView; // The reason I use PLPlatterView instead of UIView here is because UIView does NOT contain a property like backgroundMaterialView, so we need to tell the compiler that this is specifically a PLPlatterView, not a UIView so it doesn't complain.
@end

is gettign teh apple

then this is eating it

self.platterView.backgroundMaterialView.hidden = true;

radiant idol
#

well not exactly

#

ok let me try to explain better

#

lets say you have a friend who is a farmer. he "makes" these apples (gets them from the trees) and then you get the apples from him. you dont see the process of the apples getting created, you now just know that you have the apple

hasty ruin
#

it doesnt already know, as that was written by apple

#

and it has no way to know

acoustic imp
#

PLPlatter.. is a class/object? and CSAdjunctItemView is to. so it like CSAdjunctItemView is a box then to open it you @interface CSAdjunctItemView : UIView then to pick up the PLPlatterView you @property (nonatomic, strong) PLPlatterView *platterView; now you open that ox with @interface PLPlatterView : UIView then pick out the materialView wiht @property (nonatomic, strong) UIView *backgroundMaterialView;

radiant idol
#

yes technically

acoustic imp
#

ok

radiant idol
#

so javascript would crash if the apple doesnt exist (aka it is set to null)

hasty ruin
acoustic imp
#

yea

#

also why doesnt the CSA... go above the PLP thing?

#

like does order matter?

radiant idol
#

yes

acoustic imp
#

or this is just saying hey compiler these exsist

radiant idol
#

basically that

#

but notice how on line 10 you do use PLPlatterView

#

if that was put above the PLPlatterView interface (line 5), then the compiler wouldn't know what PLPlatterView is

#

because you would only define it LATER

acoustic imp
#

ah

hasty ruin
#

wtf i always thought the sb in SBApplication was springboard

radiant idol
#

what does it mean

native dune
#

is it not

hasty ruin
#
Apple Developer Documentation

The class provides a mechanism enabling an Objective-C program to send Apple events to a scriptable application and receive Apple events in response. It thereby makes it possible for that program to control the application and exchange data with it. Scripting Bridge works by bridging data types between Apple event descriptors and Cocoa objects.

#

"Scripting Bridge"

native dune
#

wtf

radiant idol
#

weird

hasty ruin
#

i was looking for the header online

#

then saw apple docs

#

and was like

radiant idol
#

@acoustic imp ok so do you get it

acoustic imp
#

Yea

radiant idol
#

cool

acoustic imp
#

Quiz me?

radiant idol
#

I mean if you get it then youre good

acoustic imp
#

@hasty ruin is your "VolPause" tweak open source?

hasty ruin
#

uh

#

no

#

it will be in 5 mins

acoustic imp
#

oki

hasty ruin
#

there

acoustic imp
#

thanks

hasty ruin
#

np

radiant idol
#

ew

hasty ruin
#

blame apple not me

radiant idol
#

I am

hasty ruin
#

👍

radiant idol
#

although I think bool, _Bool, Boolean, and BOOL are all intercompatible

#

don't quote me on that though

acoustic imp
#

@radiant idol can you help me try to make a like more complicated tweak, but help me thru it not jst do it for me

radiant idol
#

whats the issue

acoustic imp
#

and the way i want to do this is basically...

#

first clcik - wait (amount of time) and if no click (clcik count = 1) run clcik counntrunner thing

fisrt clcik - wait (amount of time) and if in that time clcik (wait amount of time) then if no click (click count = 2) run clcik counntrunner thing

-first click - wait (amount of time) and if in that time, click (wait amount of time) then if click in that time, (wait amoint of time) then if click (click count = 3) run clcik counntrunner thing

click count thing -

if clickcount = 1{
do this}
if clickcount = 2{
do this} if clickcount = 3{
do this
} else{
do nothing }

radiant idol
#

how did you manage to misspell click every single time

acoustic imp
#

i didHUH

#

this is what chat gpt came up with

#import "MediaRemote.h"

@interface MyCustomButtonHandler : NSObject

- (void)resetClickCount;
- (void)handleButtonClick;

@end

@implementation MyCustomButtonHandler

static NSTimeInterval lastPressTime = 0;
static int clickCount = 0;

- (void)resetClickCount {
    lastPressTime = 0;
    clickCount = 0;
}

- (void)handleButtonClick {
    // Handle the single, double, or triple click here based on the value of clickCount
    if (clickCount == 1) {
        // Handle single click
    } else if (clickCount == 2) {
        // Handle double click
    } else if (clickCount == 3) {
        // Handle triple click
    }
    
    [self resetClickCount];
}

@end

%hook SpringBoard

- (_Bool)_handlePhysicalButtonEvent:(UIPressesEvent *)event {
    UIPress *volUp = nil;
    UIPress *volDown = nil;

    for (UIPress *press in [[event allPresses] allObjects]) {
        if (press.type == 102 && press.force == 1) { // volume up
            volUp = press;
        } else if (press.type == 103 && press.force == 1) { // volume down
            volDown = press;
        }
    }

    if (volUp || volDown) {
        NSTimeInterval currentTime = [[NSDate date] timeIntervalSinceReferenceDate];
        if (currentTime - lastPressTime < 0.5) {
            clickCount++;
        } else {
            clickCount = 1;
        }

        lastPressTime = currentTime;

        if (clickCount == 1) {
            [self performSelector:@selector(handleButtonClick) withObject:nil afterDelay:0.5];
        }

        if (clickCount >= 3) {
            [NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(handleButtonClick) object:nil];
            [MyCustomButtonHandler resetClickCount];
        }
    }

    return %orig;
}

%end

#

but ot doens not do the classes/methods thing right at all

radiant idol
#

gpt is dumb

acoustic imp
#

so it đŸ’©

acoustic imp
radiant idol
#

learn a bit about objc syntax and programming logic

acoustic imp
radiant idol
#

this seems like a pretty easy tweak to do if you learn programming logic

acoustic imp
#

ok

#

so its a good start to tweak devolvement ?

radiant idol
#

yeah its decent

acoustic imp
#

ok, so il read up on it and ask if i have any questions

radiant idol
#

cool

acoustic imp
radiant idol
#

my tutorial

#

but thats about it

acoustic imp
#

k

#

thx

radiant idol
#

oh and

#

but its old

acoustic imp
#

only like 2 years

#

ios 15 is old

radiant idol
#

and also the stuff by the one guy on youtube

#

whats his name again

#

that

#

yes

acoustic imp
radiant idol
#

no

hasty ruin
#

that is hilton

acoustic imp
#

oh oopa

radiant idol
acoustic imp
#

oh google auto corrected

acoustic imp
radiant idol
#

his videos are pretty outdated

#

but the general info from them is useful

acoustic imp
#

oh guse i already stared watching them

acoustic imp
#

😳

radiant idol
#

yeah

#

take the code he writes with a grain of salt because a lot of it wont work nowadays

#

but the concepts that he talks about

#

those are useful

#

and still apply

acoustic imp
#

👍

acoustic imp
hexed knot
#

Objc hasnt changed in what

#

Like 15 years?

radiant idol
#

yeah but the classes and whatnot have changed

#

thats what I mean

#

like the infamous SBLockScreenViewControllerBase

hexed knot
#

Yeah but the videos teach you how to find headers no?

radiant idol
#

his old ones did

#

he removed them

#

weirdly

#

not sure why

acoustic imp
radiant idol
hexed knot
radiant idol
#

various aspects of hooking

#

like using ivars

#

uh

#

modifying views

hexed knot
#

Not much to teach about tweak dev

radiant idol
#

true

hasty ruin
#

preferences

primal perch
#

how to not make nexus

acoustic imp
#

u cant put if state,meants in @implementation stuff right?

#

@radiant idol if i have a variable in a class, like the clcikcount or something, and i want to make a different' class to run the actions for the single, double, and tripple press. i would just have to do like @interface actions: clcikcount... and i could have my if statements and set the clickcount variable to 0 when im/its done in the @implementation of actions class?

radiant idol
#

I cant understand what that says

acoustic imp
#

updated*

radiant idol
#

I still dont get it

acoustic imp
#

then its probly no

#

nvm

#

well i not so idk what im talking about

hasty ruin
#

you are special, yes

acoustic imp
acoustic imp
#

well im usinf icraze's pre made thing ```#import <UIKit/UIKit.h>
#import "MediaRemote.h"

@interface doesthebuttonstuff : NSObject{
int *clickcount = 0

}

%hook SpringBoard
-(_Bool)_handlePhysicalButtonEvent:(UIPressesEvent *)event {
UIPress *volUp = nil;
UIPress *volDown = nil;

for (UIPress *press in [[event allPresses] allObjects]) {
    if (press.type == 102 && press.force == 1) { // volume up
        volUp = press;
    } else if (press.type == 103 && press.force == 1) { // volume down
        volDown = press;
    }
}

if (volUp && volDown) {
    MRMediaRemoteSendCommand(kMRTogglePlayPause, nil);
}

return %orig;

}
%end

#

thats what i thouhgt about just hve no clue how/what to do

#

but i will figure it out 👍

#

k

#

but the thing is its both buttons, woudl that work?

#

like both being pressed counts as 1 button press

#

ok, still new to thinking in code ig

acoustic imp
#

oh ok

#

i mean can i repurpose somthing in IOS already?

#

like theres a double tap and tripple tap for power button

acoustic imp
radiant idol
#

how the hell do I run posix_spawn as root

#

I have looked in various places

#

setuid(0) returns -1

#

I'm hooking Sileo

#

ok thanks

#

all this swift

#

woeisfade

acoustic imp
#

@grave sparrow ?

radiant idol
#

its gross

#

plus all this reference stuff does not look swifty either

#

&&&&&&&

#

oh ok thats helpful

#

thanks

#

why wouldn't setuid(0) work though?

#

o

#

interesting

#

these five lines are also pretty disgusting to look at

acoustic imp
#

@grave sparrow could this work?
https://stackoverflow.com/questions/8876202/uitapgesturerecognizer-single-tap-and-double-tap

singleTap.numberOfTapsRequired = 1; 
[self.view addGestureRecognizer:singleTap];

UITapGestureRecognizer *doubleTap = [[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(doDoubleTap)] autorelease];
doubleTap.numberOfTapsRequired = 2; 
[self.view addGestureRecognizer:doubleTap];

[singleTap requireGestureRecognizerToFail:doubleTap];```
radiant idol
#

fair fair

acoustic imp
#

ok icraze already got the hardware side done in VolPause i think... right? i would just have to like put it all together?

#import "MediaRemote.h"

@interface doesthebuttonstuff : NSObject{
 int *clickcount = 0
 
 }

%hook SpringBoard
-(_Bool)_handlePhysicalButtonEvent:(UIPressesEvent *)event {
    UIPress *volUp = nil;
    UIPress *volDown = nil;

    for (UIPress *press in [[event allPresses] allObjects]) {
        if (press.type == 102 && press.force == 1) { // volume up
            volUp = press;
        } else if (press.type == 103 && press.force == 1) { // volume down
            volDown = press;
        }
    }

    if (volUp && volDown) {
        MRMediaRemoteSendCommand(kMRTogglePlayPause, nil);
    }

    return %orig;
}
%end```
hasty ruin
#

correct

acoustic imp
#

ok

hasty ruin
#

ok

#

brb

#

so can ioreg

radiant idol
#

ok am I like stupid or should this work

#

dont mind the int status thing, I was testing

#

oh

#

frcoal

#

wait so

#

posix_spawn(pid, launch_path, NULL, attr, args, environ)?

#

just pseudocode

#

but is that right

#

right

#

ok cool

vivid dew
radiant idol
#

CAPT IS A GENIUS

#

it works

#

thank you so much

hasty ruin
#

SwiftManager.c

#

blah blah

#

remove swift

#

from the system

radiant idol
#

the amount of being-pissed-off-at-rosetta capt was doing was insane

#

oh yeah

#

you were complaining every day

#

nice lol

#

how many lines is it

#

wow

torn oriole
#

Omg please

#

Thank god

#

I can now make sure my code isn't running on an unsupported platform

#

Lord and saviour captinc

#

wtf

#

Major zefram datamine

radiant idol
#

swift_name??

#

thats a thing?

#

yeah makes sense

#

just never knew that that was specifically a thing

#

ya

#

man the objc-swift relationship is so complicated

#

yeaah

torn oriole
#

If I agree can I have zefram

#

I'm going to agree anyway because obj-cgigachad

radiant idol
#

did that __attribute__ really have to be there

#

lmao

torn oriole
#

Smh not using apparency

steady nest
#

wtfis is releasing before zefram and i rewrote it 3 times

torn oriole
#

Install apparency coward

#

@grave sparrow install apparency

#

Coward

#

Apparency is fire

radiant idol
#

thats insane

torn oriole
#

I'm talking about the quick look

#

Because it's fire