#development

1 messages Ā· Page 153 of 1

slim bramble
#

((()!)!)! ftw

gentle grove
#

@cinder island is this what you were talking about that one time

next zenith
#

NO

gentle grove
next zenith
slim bramble
#

😭

#

you could chain guard

next zenith
slim bramble
cinder island
next zenith
cinder island
#

why are we in development

next zenith
#

like half of this doesnt need to exist

next zenith
slim bramble
acoustic imp
#

costco šŸ’Ŗ

slim bramble
cinder island
acoustic imp
#

im devolping their knowledge

cinder island
#

i think dyson is one of the biggest companies that put out high quality products

slim bramble
#

tesla on his way to make up excuses

acoustic imp
#

šŸ”„

floral coyote
#

Palar1n is not found in bin folder help

#

Mac m1

serene hawk
floral coyote
#

yes but where and how to open it it is not in the bin folder

#

For iPhone 8 16.7.5

serene hawk
#

restart your shell

floral coyote
#

It’s already done,but nothing changes

#

It is not in the bin folder

#

Help

#

🄲

acoustic imp
#

what do i use instead of MSHookIvar ?

#

like valueForKey ?

#

like UIView *someView = [self valueForKey:@"_someIvarName"] ?

serene hawk
#

yes

#

you could try to use that

acoustic imp
#

oh cool

#

@radiant idol improvments šŸ‘

serene hawk
#

but in some cases it could crash if the class is not kvc iirc

acoustic imp
#

yea, have had the happen to me

acoustic imp
#

got it, thx

tepid olive
#

@native orbit ```error: unable to find libSystem system library

#

you got any idea about this error?

native orbit
#

show build.zig file

tepid olive
#

k

tepid olive
acoustic imp
#

How would I change this ivar on a gesture recognizer that I add ?

#

can i jus hook it ?

#

like -(CGFloat)_minimumPrimaryMovement { return 10; }; ?

#

like subclass UISwipeGestureRecognizer

tepid olive
#

@native orbit it compiles fine if I use the macOS sdk btw

#

idk why lol

#

*and the macos target

acoustic imp
slim bramble
slate isle
#

can i install a encrypted app on ios 15 with trollstore like how appinst works on ios 14?

tepid olive
#

I mean, compiling for macOS won't work on iOS, right

native orbit
tepid olive
#

and it's also really behind in zig updates

#

and my build.zig is pretty much exactly matching that

lean ermine
#

can appinst install encrypted ipas on 14?

#

wild

#

surely not true

young meteor
#

i mean it should be able to install it

#

run them is a separate thing

acoustic imp
#

how do i store a referance to SBVolumeControl(super class is NSObject) ?

#

bc i want to run a methos from/on it

primal perch
#

[SBVolumeControl sharedInstance]

#

oh i guess they removed that after 15

#

SpringBoard class, SBVolumeControl property, youll have to declare interfaces manually

#
SpringBoard *sb = [UIApplication sharedApplication];
SBVolumeControl *volControl = sb.volumeControl;
tepid olive
#

I really should just use objc

radiant idol
#

You think?

tepid olive
#

but zig

#

cool

radiant idol
#

You’re just being extra for the sake of being extra

tepid olive
#

ugh

#

fine

tepid olive
#

but

acoustic imp
radiant idol
#

I think SBVolumeController is also a thing

#

So

acoustic imp
#

huh

#

il jus use what shep said to do

primal perch
#

i havent touched SB since like ios 13 so idk what im doing but that will give you a handle to that class instance

#

the rest is up to you

acoustic imp
#

šŸ‘

#

i can like use that to call methods right ?

radiant idol
#

Yeah

acoustic imp
#

ok all im doing is increase/decres volume

radiant idol
#

This doesn’t exist

acoustic imp
#

its control

#

SBVolumeControl

radiant idol
#

Yeah ik

#

But there’s a SBBrightnessController so I thought there was also a SBVolumeController

slim bramble
#

@radiant idol 16Player drm don't safemode

radiant idol
#

ok

slim bramble
#

how do you feel about that

radiant idol
#

there shouldn’t be one in the first place āœ…āœ…āœ…

kind herald
acoustic imp
#

how would they compete hm

slim bramble
#

com.nightwind.jade-1.0.0-iphoneos-arm.deb mb mb

radiant idol
acoustic imp
#

DRM show down

slim bramble
#

I'd cry if I had to crack it

acoustic imp
#
  • obf
radiant idol
#

šŸ¤“

#

Y’all tryin too hard

slim bramble
#

I mean I don't really care if 16Player really has a drm, it's more the challenge that make me want to make one

acoustic imp
#

and we can reuse it to

slim bramble
#

Also

#

iCraze with his spyware :

radiant idol
#

These are iOS tweaks not banking apps

acoustic imp
#

question, should i make the step in volume change user change able ?

radiant idol
#

Just sayin

acoustic imp
#

[volcontrol getstockstep]

slim bramble
radiant idol
#

what

slim bramble
#

(promom is supercell's jb detection)

acoustic imp
#

bye bye jb detection

slim bramble
#

Mfw the 2nd debug mesage is printed before the first one

acoustic imp
#

i need an answer

acoustic imp
#

its for swipe gesture on player

#

ok

#
Tweak.xm:242:20: error: incompatible pointer types initializing 'SpringBoard *__strong' with an expression of type 'NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.") UIApplication *' [-Werror,-Wincompatible-pointer-types]
        SpringBoard *sb = [UIApplication sharedApplication];
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
``` @primal perch dk if u know what to do but il keep messing with it
slim bramble
#

šŸ’€

acoustic imp
#

nvm

#

im acoustic

slim bramble
#

Yeah sounds about right

#

Plz no ban fr

acoustic imp
#
Tweak.xm:242:19: error: incompatible pointer types initializing 'SpringBoard *' with an expression of type 'NS_EXTENSION_UNAVAILABLE_IOS("Use view controller based solutions where appropriate instead.") UIApplication *' [-Werror,-Wincompatible-pointer-types]
        SpringBoard sb = [UIApplication sharedApplication];
``` but still
#

idk what to do tho

slim bramble
#

What are you trying to do ?

acoustic imp
#

get a referance to SBVolumeControl

slim bramble
acoustic imp
#

to inc/dec volume

slim bramble
#

Ok let’s google this rq

acoustic imp
#

i could jus use notif thing

#

i didn't want to tho but would work

tepid olive
#

guys

#

what's the best way

timid furnace
#

you dont

tepid olive
#

oh

acoustic imp
#

use limen os one

timid furnace
acoustic imp
#

can i %property on non UIViews ?

acoustic imp
#

but it works thishowitis

acoustic imp
#

(theos is saying)

#

but its 100% in the .h file and a %prop

#

im so dumb

tepid olive
acoustic imp
tepid olive
acoustic imp
#

exactlly

tepid olive
acoustic imp
kind herald
#

ooh

acoustic imp
#

is there like an easy way to pause/stop gestures from going/fireing ?

acoustic imp
radiant idol
acoustic imp
#

hm , yea swipe gestures are bad, especially when you have other ones that are other the ENTIRE lockscreen

#

but i could just set the required taps to like 99999 for it to no trigger

radiant idol
#

Now think of the control center

#

And how bad those are

acoustic imp
#

i like CC, but like i still don't understand how a pan wouldn't work. like you couldn't just make your own ?

radiant idol
#

I’ve tried too many times to count

acoustic imp
#

hm

#

idk how pan works but i will one day

#

i mean

#

its little hacky

#

but

#

it would work

#

use the alpha or blur or what ever of the BG view

#

bc that will always (probly) be pure bc u see it

#

like hook the setAlpha/setBlur or what ever and send it to where ever

#

do some math

#

and product

#

?

acoustic imp
tepid olive
#

XD

acoustic imp
#

@radiant idol

#

This is what I mean

#

That value goes from 0-1 for like the gesture

radiant idol
#

no I know

acoustic imp
#

u tried ?

radiant idol
#

believe me I tried that too

acoustic imp
#

😭😭

#

was it like jittery ?

radiant idol
#

yes

exotic saffron
#

šŸ˜‚

exotic saffron
tepid olive
#

steps as in like, intervals

#

like, if you rate something 1-10 but only use whole numbers, the step amount is 1

exotic saffron
#

i get errors

tepid olive
#

what errors

#

that aint my fault

#

rootful
sileo

#

unc0ver dark lookin ahh

#

fix that then actually test the tweak thanks :3

tepid olive
#

hes trying to install a rootful deb

#

as to why he has sileo idk

granite frigate
#

nothing wrong with Sileo on unc0ver

young meteor
#

that is palera1n

granite frigate
#

sorry!

young meteor
#

anyways what else are you gonna use on palera1n

tepid olive
#

well tbf i guess i would need someone on unc0ver to test

exotic saffron
#

I think rootful palera1n got deprecated?

frail cedar
#

it did

exotic saffron
frail cedar
#

but it should work fine on 15

tepid olive
#

fix it and test the tweak

frail cedar
tepid olive
#

ZEBRA!!!!!!!

exotic saffron
frail cedar
#

ill test it

tepid olive
#

can you not install anything from the palera1n repo???

frail cedar
#

if you cannot, restore rootfs and restrap

tepid olive
#

youd laugh

exotic saffron
tepid olive
#

just restore rootfs

frail cedar
#

restore rootfs and restrap

young meteor
frail cedar
young meteor
#

i’ve never seen anyone use it

#

UIs pretty weird

frail cedar
#

no one does

exotic saffron
hexed knot
#

We dont talk about installer 5 privilege escalation vuln

granite frigate
#

where.

hexed knot
#

I forgot what the file is but they got a bin that just gives u root lol

#

Probably gone

#

This was a couple years ago

exotic saffron
frail cedar
indigo peak
#

@acoustic imp @slim bramble how does 16player detect if the user opened the lockscreen in landscape mode

lean ermine
slim bramble
#

Or smth like that

indigo peak
#

bad way

exotic saffron
#

got deprecated

lean ermine
slim bramble
torn cloud
#

no way they found a PPL bypass on iOS 17

sonic totem
torn cloud
sonic totem
#

Nah we know the bugs

#

But they just need a PAC bypass

#

Except maybe not this new one

serene hawk
#

anyones knows if it’s possible to have a default value for specific apps (switch set to true) when using AltList? (ATLApplicationListMultiSelectionController)

shrewd moth
#

Why when I downgrade dopamine from 2.0.9 to 1.1.11 all my tweaks are deleted, even from Sileo, but when I upgrade back to 2.0.9 it all returns??

acoustic imp
acoustic imp
#

But did it another way, it was from stock of

acoustic imp
#

Jus look sat lower tweak on gh

slate isle
#

i am building my own version of trollstore to help me with developing something and i just cant do it for the life of me

kind herald
#

Hi icraze

urban moon
#

How to fix this error when compiling with Cephei as dependency for rootless? I don't have this issue for rootful

While building module 'Cephei' imported from Tweak.xm:8:
In file included from <module-includes>:2:
xxx/theos/vendor/lib/iphone/rootless/Cephei.framework/Headers/Cephei-Swift.h:221:13: error: alias declarations are a C++11 extension [-Werror,-Wc++11-extensions]
using Int = ptrdiff_t;
            ^
xxx/theos/vendor/lib/iphone/rootless/Cephei.framework/Headers/Cephei-Swift.h:222:14: error: alias declarations are a C++11 extension [-Werror,-Wc++11-extensions]
using UInt = size_t;
             ^
Tweak.xm:8:9: fatal error: could not build module 'Cephei'
#import <Cephei/Cephei.h>
urban moon
# slim bramble send makefile
export DEBUG = 0
export FINALPACKAGE = 0
export ARCHS = arm64 arm64e

ifeq ($(THEOS_PACKAGE_SCHEME),rootless)
export -n PREFIX
TARGET := iphone:clang:14.3:14.0
else
TARGET := iphone:clang:14.3:7.0
export PREFIX = $(THEOS)/toolchain/Xcode11.xctoolchain/usr/bin/
endif

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = MyTweak
MyTweak_FILES = Tweak.xm
MyTweak_CFLAGS = -fobjc-arc
MyTweak_LIBRARIES = UIKit
MyTweak_EXTRA_FRAMEWORKS = Cephei

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
    install.exec "killall -9 SpringBoard"
SUBPROJECTS += MyTweakHelper
include $(THEOS_MAKE_PATH)/aggregate.mk
slim bramble
#

Try to add this to the CFLAGS : -std=c++11

urban moon
#

That does fixed it. Interesting, is this only Cephei specific issue that I have to address? Or my theos setup in general?

slim bramble
urban moon
slate isle
slim bramble
#

I’d love to know how many useless pings opa gets a day

sonic totem
#

I remember opa once sent me a video of his Twitter notifications

#

Must have been 100+ in 24h

slim bramble
tepid olive
placid kraken
#

ermmmm

hasty ruin
tepid olive
slate isle
#

if its not that hard, have you done it

icy escarp
#

can anyone help me? i have a fresh operating system, all upgraded and updates (its kali btw), and theos freshly installed. i cant compile anything (ios 16.5 sdk, default downloaded by theos) fatal error: could not build module 'Darwin'

#

this is for every single tweak. i tested just as an example compiling ampere and some of my tweaks and it throws that

#
INSTALL_TARGET_PROCESSES = SpringBoard Preferences
ARCHS = arm64 arm64e
SYSROOT = $(THEOS)/sdks/iPhoneOS16.5.sdk
DEBUG = 1
FINALPACKAGE = 0

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = Ampere

Ampere_CFLAGS = -fobjc-arc -Wdeprecated-declarations -Wno-deprecated-declarations -std=c++11 -stdlib=libc++
Ampere_LDFLAGS = -stdlib=libc++
Ampere_FILES = Ampere.xm
Ampere_FRAMEWORKS = IOKit Foundation
ifeq ($(THEOS_PACKAGE_SCHEME),roothide)
Ampere_LDFLAGS += -lroothide
endif

include $(THEOS_MAKE_PATH)/tweak.mk
SUBPROJECTS += amperesettings
include $(THEOS_MAKE_PATH)/aggregate.mk```
torn cloud
#

@hasty ruin I’ve put a font here and nexus won’t detect it. what am I doing wrong

hasty ruin
#

Custom fonts show at the top of the list

faint stag
#

(for now)

acoustic imp
#

unless u wana use legacyabu right ?

hasty ruin
acoustic imp
#

or do u also need to update tool chain

#

@slim bramble does it

faint stag
#

they're targeting 16.5 on linux

#

(with rootless)

slim bramble
#

(It broke stuff)

#

iirc

slim bramble
faint stag
#

i need to correct that statement anyway

icy escarp
#

im not sure, anything past 14 shits the bed

slim bramble
#

Probably to "is not recommend" ?

icy escarp
#

i guess ill target arm64 then

#

theos also refuses to build working pref bundles now too

#

could that be an sdk issue?

faint stag
torn cloud
icy escarp
#

no error, they just crash instantly when pressed. invalid memory read is the reason, some far off address it shouldnt be messing with gets it killed.

faint stag
icy escarp
#

i can build other pref bundles/tweaks made by other people and they open up to the failure to load screen instead?

faint stag
#

nor can you use arm64 libs/frameworks on arm64e prefs

#

but preferenceloader should tell you that

icy escarp
#

so how do i support both archs then

faint stag
#

you need libraries that have arm64e versions (or one you can build for arm64e)

acoustic imp
#

@placid kraken did u ever get this when u were doing libSandy for flora ? ```Undefined symbols for architecture arm64:
"_libSandy_applyProfile", referenced from:
getLatestSBPrefs(NSString*) in Springboard.xm.e7173be0.o
__GLOBAL__sub_I_Springboard.xm.mm in Springboard.xm.e7173be0.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

placid kraken
acoustic imp
#

it not in the make file šŸ™ˆ

placid kraken
tepid olive
#

Hm

#

Oh

placid kraken
#

you need to link against the library in every sub project it’s used in

tepid olive
#

How do you fix headers from ktool

#

Mine are a bit messed up

acoustic imp
#

yep, i jus forgot

acoustic imp
tepid olive
#

No

acoustic imp
#

well

tepid olive
#

I need to have the whole folder

#

Of headers

acoustic imp
#

u jus drop it in the project folder

faint stag
tepid olive
#

I’m not going one by one downloading headers

acoustic imp
#

and #import "thefilename"

tepid olive
faint stag
#

quotes = absolute path

#

lol

tepid olive
#

I have an include folder

acoustic imp
#

im am dumb so

tepid olive
faint stag
#

L

tepid olive
#

Are they up to date?

placid kraken
faint stag
#

well it's 17, dunno which release of 17

tepid olive
tepid olive
faint stag
tepid olive
#

I mean ideally iOS 15 headers

#

Don’t know how much changed to iOS 17

faint stag
tepid olive
#

Is the faceid framework present on non-faceid phones

faint stag
#

biometrics should be done through LocalAuthentication i believe

tepid olive
acoustic imp
tepid olive
#

No it doesn’t

#

Those are custom made

acoustic imp
#

oh

tepid olive
#

I think so anyways

faint stag
tepid olive
faint stag
tepid olive
#

I’m gonna make a tweak request that I’m calling BottomNotif (creative I know) and Meniscus

tepid olive
#

(I’ve already done research and it should all be possible with just a normal camera)

faint stag
acoustic imp
#

why wount libSandy just work woeis

faint stag
acoustic imp
indigo peak
tepid olive
faint stag
acoustic imp
#

ArtFull fork

tepid olive
acoustic imp
#

can i chekc entitlmeants for an app in flex?

slim bramble
#

Fr

faint stag
acoustic imp
#

huh, idk that

#

its the music and podcasts app

acoustic imp
#

im trying to add prefs for it, SB is fine, its AM and Apodcasts

tepid olive
#

I wonder if the face registration ui is present

#

I doubt it

#

But ya never know

acoustic imp
#

intsall the one demo app troll

indigo peak
acoustic imp
faint stag
#

you asked for entitlements

indigo peak
#

that’s just to check the entitlements for an app 😭

faint stag
#

that's just going to show you what the binary has

acoustic imp
#

yea, i wana know if the entitlmeant libsandy adds is there

faint stag
#

libsandy does not write to binaries

#

that would be dangerous

acoustic imp
#

so NSLog is my only way ?

cloud yacht
#

if I sent hi iCraze rn how long before iCraze resoponds?

faint stag
#

you could use that

#

lol

young meteor
#

but if you say "nexus is bad", he will delete it within 5ms

faint stag
cloud yacht
#

nexus is my favoruite tool to bootloop my phone

acoustic imp
#

nexus bootloop confirmed

faint stag
# faint stag it's documented smh

i mean if you know if libsandy is working from another process, the next best thing to do is to check if you have the requested permissions for the process you want

#

also i'm hoping you have a sandbox profile

acoustic imp
faint stag
#

yes

acoustic imp
#

is there like an example i can check agaisnt

faint stag
#

i mean, that looks correct

acoustic imp
faint stag
acoustic imp
#

yep

#

i jus copied flora

faint stag
#

this is optional but you can also grant permissions to check if the plist file exists

#

then add the check to the tweak

acoustic imp
#

is it bad if i grant it on SB ?

faint stag
#

i mean, that's what libsandy would be avoiding

#

one of the reasons it's a thing is to not have to redirect calls for prefs to SB

#

like cephei does

acoustic imp
#

like this dylib would be injected into 3 dif apps, SB, apple music, and podcasts

#

yea

faint stag
#

well if you're hooking sb then it makes sense there

acoustic imp
#

im not %hook ing it?

faint stag
#

but sb should be unsandboxed already(?)

acoustic imp
#

ofc

#

i\but like is bad if i do it again ?

faint stag
#

lol

acoustic imp
#

im confused 😭

#

il figure it out ig

faint stag
slim bramble
faint stag
#

when i say hook springboard i targeting a method from springboard

#

lol

acoustic imp
#

but im not ?

faint stag
#

artfull does...

#

how else does it do anything for springboard

acoustic imp
#

i think of it like inject into SB --> %hook class --> hook method --> product

#

this is what u mean?

faint stag
#

sb is the target process
yes you use the %hook macro for a class
that's what i mean

acoustic imp
#

if the libsandy profile didnt exsits would it error ?

tepid olive
faint stag
#

what kind of errors

tepid olive
#
@protocol PLContentSizeManaging <NSObject>
                                 ^
#

like this

#

or

#
In file included from /Users/sora/Desktop/BottomNotif/BottomNotif/Tweak.h:10:
/Users/sora/Desktop/BottomNotif/BottomNotif/../include/UserNotificationsUIKit/NCNotificationShortLookView.h:27:9: error: expected selector for Objective-C method
- (void).cxx_destruct;  // IMP=0x000000000007b970
~~~~~~~~^
#

like this

acoustic imp
#

It’s exsists

#

Says it load no errors

#

But it doesn’t work

#

Wth

#

can i like try to read a file to see if it wored ?

tepid olive
#

-Wno-module-import-in-extern-c

#

for some reason that fixed it

#

idfk why

faint stag
#

even though that should be default lol

tepid olive
faint stag
# tepid olive yes I am

well then that's a bit weird because the entire point of the method is to cleanup object references on destruction
(ARC feature)

acoustic imp
#

does address explore work on 15+ with flex?

faint stag
tepid olive
#

wait

#

-fobjc-arc is only on C_FLAGS

faint stag
#

lol

#

yeah ofc it'll error without arc on

#

special thing for the compiler

tepid olive
#

it's still complaining

faint stag
#

i'm sure it's safe enough to just

#

remove it from the headers

#

honestly

tepid olive
#

but there's so many errors

faint stag
#

at the same time, it's supposed to be there

#

so idk what clang is doing

faint stag
#

ik there's more but
cflags tends to be enough

acoustic imp
#

@faint stag it seems to load but it’s retiring returning the wrong stuf ?

#

Will it return 0 if it’s nil ?

#
        NSLog(@"sixteenartfull prefs a pref music16bars %d", [[prefs valueForKey:@"music16bars"] boolValue]);
faint stag
#

no it's correct lol

#

you told it to give you a boolean value

#

true/false
in this case it's 1/0

acoustic imp
#

Look at second pic

#

First cell thing

tepid olive
#

I think I found the root issue

#
@class UIViewController, NSHashTable, UIView<PLContentSizeManaging>, UIView<PLPlatter><NCNotificationStaticContentAccepting><PLContentSizeCategoryAdjusting><NCNotificationListDimmable>, UIView, UIViewController<NCNotificationCustomContent>, NCNotificationRequest, NSString, UIPanGestureRecognizer, UIColor;```
faint stag
#

semicolon? but where

#

lol

tepid olive
#

IDK

acoustic imp
#

🄲

faint stag
tepid olive
#

there's probably a certain order of things I gotta import

#

ok y'know what

faint stag
tepid olive
#

I only need to hook one function

acoustic imp
#

im actully gona shoot myself

tepid olive
#

I'll just do it manually

faint stag
#

don't tell me u got the path wrong

acoustic imp
#

i forgot .plist

faint stag
#

lol

#

that's why you should check if the file exists too

acoustic imp
#

idk how,

#

bc wouldnt fileExsitis:@"path" work in sandboxed ?

#

doesFileExist*

#

it still doesnt work uhh

tepid olive
#

wait

#

I should just use Velvet 2's header

faint stag
#

and [NSFileManager fileExistsAtPath] would be the way to do it lol

acoustic imp
#

so this is ok ? ```objc
NSLog(@"sixteenartfull fileExistsAtPath: %d", [[NSFileManager defaultManager] fileExistsAtPath:@"/var/jb/var/mobile/Library/Preferences/com.teslaman3092.artfullprefs.plist"]);

#

ok

faint stag
#

yea i'd assume it returns an integer

#

if not nslog would say something else

acoustic imp
#

k

#

it returned 1

#

but yet freaking nothing

faint stag
#

ye 1 would be yes so it can tell it exists

#

lol

acoustic imp
#

yea but pref dont show

tepid olive
#

this should work, right ```logos
// See http://iphonedevwiki.net/index.php/Logos

#import <UIKit/UIKit.h>
#import "Tweak.h"

%hook NCNotificationShortLookViewController

  • (void)loadLookView {
    %orig;
    viewDidLoadHook(self.viewForPreview);
    }
    %end
    %ctor {
    %init(ClassName=objc_getClass("NCNotificationShortLookViewController"));
    }
#

or is the %init unnecessary

timid furnace
#

uhhh

#

idt you need it

#

no you dont

tepid olive
#

the class isn't known at compile time though

timid furnace
#

it doesn't matter

acoustic imp
#

u only need %init if ur doing %groups

timid furnace
#

you only need it if you're trying to invoke something on it

#

and even in that case

#

you can use %c

tepid olive
#

ah alright

#

I mean

#

it compiled

#

the tweak is literally just this simple:

#
void viewDidLoadHook(UIView *view) {
    view.contentMode = UIViewContentModeBottom;
}
timid furnace
#
%hook car
- (void)honk {
    [%c(car) a];
    %orig;
    [%c(car) b];
}
%end
acoustic imp
#

@tepid olive what r u even trying to do

timid furnace
#

although generally i just prefer to link against the class

tepid olive
acoustic imp
#

just skid lower code

tepid olive
#

I don't skid

acoustic imp
#

why not just install lower...

slim bramble
#

W

slim bramble
acoustic imp
#

not that lower

tepid olive
#

asked

indigo peak
native orbit
#
%hook lsnluaendgxsthekdrhsoswtayaeopzsmyzcejshxndhimybxknxyjttlmiihexb

+ (void)initialize {
    NSLog(@"why");
    %orig;
}

%end

this why swift trash

#

that a real class

elder scaffold
native orbit
#

keyboard mash woeis

cloud yacht
#

reminds me of obfuscated code

tepid olive
#

it didn't work

hasty ruin
#

Defeats the purpose

cloud yacht
#

what does it do?

young meteor
#

nexus drm class name

native orbit
hasty ruin
cloud yacht
native orbit
#

there are long ones

#

but they didnt do anything with detection shit

radiant idol
#

man

#

rootful moment

cloud yacht
#

I should make an app and name every class like that

radiant idol
#

fr

faint stag
cloud yacht
#

obfuscate for myself

faint stag
#

randomized classes on build šŸ”„

cloud yacht
#

nah randomized classes on typing

placid kraken
#

what the fuck

radiant idol
tawdry trench
#

Pneumonoultramicroscopicsilicovolcanoconiosis

tepid olive
#

is there a way to monitor for function calls with FLEX

cloud yacht
indigo peak
#

trying to get simject to work and im getting this

#

ld: framework not found Preferences

#

TARGET = simulator:clang:16.4:12.0

sonic totem
#

Link Preferences

indigo peak
#

> ./create_patched_sdk.sh 1 $THEOS/sdks - - - - iOS

faint timber
#

find $THEOS/sdks/iPhoneOS16.4.sdk -type f -name "Preferences.tbd"

indigo peak
#
/Users/fiore/theos/sdks/iPhoneOS16.4.sdk/System/Library/PrivateFrameworks/Preferences.framework/Preferences.tbd
faint timber
#

TWEAK_NAME_PRIVATE_FRAMEWORKS = Preferences

indigo peak
#
libprefs_PRIVATE_FRAMEWORKS = Preferences
#

still erroring

faint timber
#

grep -R "x86_64" /Users/fiore/theos/sdks/iPhoneOS16.4.sdk/System/Library/PrivateFrameworks/Preferences.framework/Preferences.tbd

indigo peak
#

according to simject shouldnt it be arm64

#

and not x86_64

faint timber
#

idk if they changed it

timid furnace
#

are you on apple silicon

indigo peak
#

m2

timid furnace
#

then it should be arm(64)

tepid olive
#

can you hook alloc of an NSObject

indigo peak
#
% grep -R "arm64" /Users/fiore/theos/sdks/iPhoneOS16.4.sdk/System/Library/PrivateFrameworks/Preferences.framework/Preferences.tbd

/Users/fiore/theos/sdks/iPhoneOS16.4.sdk/System/Library/PrivateFrameworks/Preferences.framework/Preferences.tbd:archs:                 [ armv7, armv7s, arm64, arm64e ]
/Users/fiore/theos/sdks/iPhoneOS16.4.sdk/System/Library/PrivateFrameworks/Preferences.framework/Preferences.tbd:  - archs:                [ armv7, armv7s, arm64, arm64e ]
tepid olive
faint timber
#

try iphonesimulator instead of simulator

indigo peak
faint timber
#

need to hardcode arm

#

theos still sets i386 and x86

indigo peak
#

$THEOS/sdks

faint timber
#

need to set archs

indigo peak
#

i set args

#
TARGET = iphonesimulator:clang:16.4:12.0
ARCHS = arm64
faint timber
#

export

timid furnace
visual meadow
#

Ok guys what are we googling today

timid furnace
indigo peak
indigo peak
timid furnace
tepid olive
#

like this: ```objc
// See http://iphonedevwiki.net/index.php/Logos

#import <UIKit/UIKit.h>
#import "Tweak.h"

%hook NCNotificationShortLookView

  • (UIView *)init {
    UIView *initializedObj = %orig;
    viewDidLoadHook(initializedObj);
    return initializedObj;
    }
    %end
timid furnace
#

you need a sim sdk

indigo peak
radiant idol
tepid olive
radiant idol
#

just put your code inside of the hook

#

why is there a separate func

tepid olive
#

oh

tepid olive
radiant idol
#

odd

#

but ig makes sense

#

but very cursed

tepid olive
#

why

#

it'll just be inlined anyways

faint timber
#

use self woeisme

indigo peak
# timid furnace you need a sim sdk
ld: building for iOS Simulator, but linking in .tbd built for iOS, file '/Users/fiore/theos/sdks/iPhoneSimulator16.4.sdk/usr/lib/libobjc.tbd' for architecture arm64
tepid olive
#

I don't even know if you can hook init

radiant idol
faint timber
#

init has no return

tepid olive
radiant idol
#

uh

tepid olive
#

since when

radiant idol
#

yes it does

faint timber
#

not what I mean

radiant idol
#

-(instancetype)init

tepid olive
#

apple's docs literally says it does

tepid olive
indigo peak
#

bro

tepid olive
#

wait

#

why'd I put that in a codeblock

indigo peak
#

why would you send a link like that

tepid olive
#

I'm dumb

indigo peak
#

šŸ’€

indigo peak
timid furnace
#

yes

#

should be smth like this

#

note arm64-ios-simulator

tepid olive
indigo peak
#

targets: [ armv7-ios, armv7s-ios, arm64-ios, arm64e-ios ]

timid furnace
#

yea uh

indigo peak
#

why tho

#

i specified simulator in the sdk creator script

timid furnace
#

oh

#

i think i hacked the script into making one for sims

#

instead of using sim binaries to make one for normal iOS

indigo peak
#

ty

#

@timid furnace oh no

timid furnace
#

bruh

#

man this is mid

native orbit
#

dont u gotta use .xmm or some shit

timid furnace
#

no the sdk is on crack

indigo peak
#

how do i preferenceloader in simject

#

idek if simject is like

#

100% working

native orbit
#

dont trol

timid furnace
#

simject works

#

but like

indigo peak
#

i tried adding a ctor NSLog

#

and it just didnt

#

yeah like i just installed a tweak that should work

#

and just

#

didnt

#

lmao

#

ok i got it to woerk

#

for some reason

primal perch
#

redard

indigo peak
#

simject.plist wasnt copied over

slim bramble
native orbit
tepid olive
#

oh ok

#

so it sort of

#

works

#

but I think the position is being changed after init

placid kraken
#

radar

#

like the alarm??

cloud yacht
#

no like the thing they put in submarines

tepid olive
#

does this look right to y'all + (UIView *)initWithFrame:(CGRect)frame { UIView *initalizedObj = %orig(frame); initHook(initalizedObj); return initalizedObj; }

#

or is "WithFrame" unnecessary

tepid olive
# slim bramble What are you hooking ?
%hook NCNotificationShortLookView
- (UIView *)init {
    UIView *initializedObj = %orig;
    initHook(initializedObj);
    return initializedObj;
}
- (UIView *)initWithFrame:(CGRect)frame {
    UIView *initalizedObj = %orig(frame);
    initHook(initalizedObj);
    return initalizedObj;
}
%end

#

wait these are instance methods

slim bramble
#

Tbh I'd hook - (void) setFrame:(CGRect)frame;

tepid olive
slim bramble
#

Not really

tepid olive
tepid olive
#
- (void) setFrame:(CGRect)frame {
    %orig(setFrameHook(frame));
}
slim bramble
#

Dont write chatgpt code

#

That’s chatgpt fr

tepid olive
#

what's wrong with it

slim bramble
#

Hook like a normal human

tepid olive
#

I do that

#

because autocompletion

slim bramble
tepid olive
#

you can't get autocompletion in .x files

#

so I just opt to have a seperate file with actual hooks

cloud yacht
#

just write code manually like a normal person

slim bramble
tepid olive
cloud yacht
#

just tell your ide its an objective c file

slim bramble
tepid olive
#

lol

slim bramble
#

It does

tepid olive
#

what's y'all's problem with it anyways

#

it gets inlined anyways

#

I'll force inlining

#
//
//  Tweak.m
//  BottomNotif
//
//  Created by Jonah Butler on 3/5/24.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "Tweak.h"
inline CGRect setFrameHook(CGRect inframe) {
    UIScreen *mainScreen = UIScreen.mainScreen;
    if(UIDevice.currentDevice.orientation == UIDeviceOrientationPortrait) {
        return CGRectMake(0.0, mainScreen.bounds.size.height - inframe.size.height, inframe.size.width, inframe.size
                          .width);
    } else {
        return CGRectMake(0.0, mainScreen.bounds.size.height - inframe.size.height, inframe.size.width,inframe.size.height);
    }
}
#

happy?

primal perch
#

no

tepid olive
#

too bad

#

well it works

primal perch
tepid olive
#

it does need some finetuning though

tepid olive
#

it's on my github profile

sonic totem
#

W

slim bramble
sonic totem
#

Can’t say

slim bramble
slim bramble
tepid olive
sonic totem
tepid olive
#

I also need a way for it to only apply to popup notifications

primal perch
#

guys i know @sonic totem's name

young meteor
#

alfie is a secret code

slim bramble
young meteor
#

it means icraze

slim bramble
sonic totem
#

ICraze knows my full legal name

slim bramble
#

Really ?

sonic totem
#

That is a frequent thought I worry about

primal perch
#

icraze is alfie confirmed

slim bramble
sonic totem
slim bramble
slim bramble
primal perch
#

actually thats not possible because @sonic totem knows what hes doing

sonic totem
slim bramble
sonic totem
#

Correct

slim bramble
sonic totem
cloud yacht
slim bramble
sonic totem
#

I know his full legal name though so it’s fine

slim bramble
timid briar
#

Al. Fie Cg

sonic totem
timid briar
kind herald
cloud yacht
sonic totem
primal perch
#

alfie nexus rune

kind herald
#

that means I was right

cloud yacht
#

"the name's rune, icraze nexus rune" - @hasty ruin

primal perch
#

when is trollstore 3 @sonic totem

cloud yacht
#

friday

kind herald
primal perch
#

yipeee

sonic totem
primal perch
#

it being called ts2 makes me happy

kind herald
indigo peak
#

that’s crazy we got trollstore 1, 2 and 3 before GTA 6

sonic totem
#

I’m still finishing up TrollInstaller17 vexedtomato

sonic totem
tepid olive
#

on a scale of one to 10

#

how cursed is this

cloud yacht
#

when is dopamine 17???//?/2/1/11!!

tepid olive
#
@try {
        if([inst.superview.superview.superview.superview.description containsString:@"NCNotificationListCell"]) return inframe;
    } @catch(NSException *e) {};
cloud yacht
#

superview.superview.superview.superview/10

primal perch
#

the beta slaps

kind herald
sonic totem
kind herald
#

I need trollinstaller18 asap for my new iPhone 16

tepid olive
primal perch
#

at LEAST do isKindOfClass

indigo peak
tepid olive
#

that I don't want to deal with headers for

kind herald
kind herald
primal perch
#

but its a method on nsobject just like description

#

iOS 18.0

tepid olive
kind herald
#

rock box for iPhone when

primal perch
#

hold the line on 17.3.1 draters we are getting rootless tomorrow

tepid olive
#

found it

#

but I don't have a way to access the class

primal perch
#

the sptm im4p file is 3KB larger on iOS 17.4 vs 17.3.1

tepid olive
#

lol

sonic totem
primal perch
#

proof that sptm bypass is real guys

primal perch
#

it actually is

#

i looked at them yesterday

sonic totem
#

CoreTrust is like 3KB bigger lol

primal perch
#

on god brother

#

100KB vs 103KB

#

for the 14 pro ipsw anyway

sonic totem
#

What’s your nationality

primal perch
#

US

sonic totem
#

Oh

primal perch
#

šŸ¦…

sonic totem
#

Rule Britannia šŸ«¶šŸ‡¬šŸ‡§šŸ”„šŸ„±

primal perch
#

nfr

placid kraken
sonic totem
#

08?

placid kraken
#

i need trollstore on my ios 8 ipad 2nd gen

primal perch
primal perch
#

yipee

young meteor
sonic totem
#

I’d be curious as to whether CTv2 exists on iOS 12/13

#

I know CTv1 literally doesn’t exist there

kind herald
#

I have an iOS 12 device!!!

sonic totem
#

Wouldn’t be useful anyways

tepid olive
#

now I need to inverse the direction of the animation

kind herald
placid kraken
placid kraken
#

i would love to get trollstore running on my iphone 3gs

cloud yacht
#

can we get a trollinstaller7

sonic totem
kind herald
#

oh

cloud yacht
#

I need a way to install apps on my untethered jailrbeak

sonic totem
kind herald
kind herald
placid kraken
lyric heron
#

ios 9.3.5 untether eta

radiant idol
#
@try {
    if ([inst.superview.superview.superview.superview isKindOfClass:NSClassFromString(@"NCNotificationListCell")]) { 
         return inframe;
    }
} @catch(NSException *e) {};
primal perch
#

AppSync Unified intjcum

kind herald
tepid olive
#

I bet it's slower

cloud yacht
radiant idol
tepid olive
radiant idol
#

and I dont think its slower, the objc runtime is fast

primal perch
#

cpp_getClass

kind herald
primal perch
#

swift propagandists say objc is slow

radiant idol
#

honestly containsString is probably slower

primal perch
#

@sonic totem do you use macos sonoma

primal perch
#

ok you arent icraze

#

kinda funny we have 2 alfies that are 17 from the UK here then

kind herald
#

macOS sonoma my beloved

tepid olive
sonic totem
cloud yacht
sonic totem
#

Explains the code quality

kind herald
#

12 year old iOS developer iCrazeiOS makes UNCRACKABLE DRM with release of new tweak Nexus!!!

primal perch
#

@hasty ruin @grave sparrow sonoma jumpscare

indigo peak
cloud yacht
#

when are we going to get a high serria jumpscare

primal perch
placid kraken
#
brainfuck_getClass(rust_classFromString(ā€œUIViewā€).to_string().unwrap().to_brainfuck().unwrap().parse().unwrap().into().unwrap())
sonic totem
cloud yacht
#

I mean I've never seen alfie and alfie in the same room

indigo peak
#

@primal perch would it be considered like a narcissism disorder to not feel sad emotions

primal perch
#

i dont think so

indigo peak
#

like not get affected by negative things but like

#

not affected by sadness

primal perch
#

Xcode 15.3

native orbit
primal perch
indigo peak
primal perch
indigo peak
#

I wanna kinda change my thesis

#

any arguing how the lack of emotional response to negative situations in the Odyssey diagnoses Odysseus with a personality disorder

primal perch
#

gyatt

#

ur still on that

indigo peak
indigo peak
#

soooo

primal perch
#

take B+ and leave

indigo peak
#

fr

indigo peak
#

so I need as high of a GPA as possible

primal perch
#

if its <3.9 dont even talk to me fr

indigo peak
#

yeah 3.9 out of 100

primal perch
#

capt has like a 2.8 probably

#

@grave sparrow whats ur gpa

cloud yacht
#

3.9/1

primal perch
#

that D in discrete probably did hella damage

indigo peak
#

mf got a D in discrete

#

oh nah

primal perch
#

fr

sonic totem
#

I don’t have a GPA because UK šŸ™

tawdry trench
#

the ucas in question

indigo peak
#

But I also haven’t done any homework’s

sonic totem
#

I haven’t got predicted grades yet

#

But atm they aren’t looking good trol