#development

1 messages · Page 116 of 1

warm cipher
#

hm yes. let me chec

#

Calling the respring button instead

radiant idol
#

wat

warm cipher
#

NSLog(@"[Testing2] Respring called");

slender glade
#

doesn't snowboard work by hooking into that one UIImage method

#

_applicationIconImage

visual meadow
#

no idea

#

probably

slender glade
#

surprised to learn a year back that it wasn't oss lol

visual meadow
#

About this

#

It works but

#

Pretty sure its... missing something

dreamy mason
slender glade
#

you mean functionally or you mean it looks off?

visual meadow
slender glade
#

yeah

#

well

visual meadow
slender glade
#

i think you'd need to hook another layer for those nathan

visual meadow
dreamy mason
slender glade
#

this is 1000% smth u can FLEX right

visual meadow
#

I tried looking

#

I tried random hooks lol

#

Just didnt work

#

so id figure id ask you

ashen birch
#

Balls Balls Balls

slender glade
visual meadow
indigo peak
#

So I didn’t know they wouldn’t be themed

primal perch
ashen birch
placid kraken
#

what the fuck

placid kraken
#

i made some changes to the cell it now opens the menu no matter where you tap

#

theres no easy way to do this

#

ive looked EVERYWHERE

#

i even tried asking ai and it was just spewing methods that were deprecated or didnt exist

#

so i did this

UIButton *menuResponderButton = [UIButton buttonWithType:UIButtonTypeCustom];
menuResponderButton.translatesAutoresizingMaskIntoConstraints = NO;
[menuResponderButton addTarget:self action:@selector(createMenu) forControlEvents:UIControlEventTouchUpInside];
[self.contentView insertSubview:menuResponderButton belowSubview:self.accessoryView];

[NSLayoutConstraint activateConstraints:@[
    [menuResponderButton.leadingAnchor constraintEqualToAnchor:self.leadingAnchor],
    [menuResponderButton.trailingAnchor constraintEqualToAnchor:self.trailingAnchor],
    [menuResponderButton.topAnchor constraintEqualToAnchor:self.topAnchor],
    [menuResponderButton.bottomAnchor constraintEqualToAnchor:self.bottomAnchor],
]];

menuResponderButton.menu = menu;
menuResponderButton.showsMenuAsPrimaryAction = true;
#

i made a clear button which has the constraints of the entire cell

#

and opens the menu on tap

#

its probably hacky but it works i guess

#

why is doing this so extremely convoluted

#

why is there no easy way to present a menu/popover

warm cipher
#

the color picker works just doesn't change the home bar color

#

or I could just provide the plist and the code

harsh junco
#

why jailbrekd/bootstrapd are proprietary?

placid kraken
warm cipher
warm cipher
placid kraken
#

..public i guess?

warm cipher
#

ok

quaint wagon
placid kraken
#

ill look at it later

warm cipher
#

ok i am still gonna try and fix it lol

warm cipher
acoustic imp
#

@hasty ruin do you plan to fix this nexus issue ?

hasty ruin
#

that's with a timer right?

acoustic imp
#

yea

#

and things aligned left/right(not center)

hasty ruin
#

yeah i remember that

acoustic imp
#

is it fixed in ur beta?

hasty ruin
acoustic imp
#

~~ when eta~~

topaz yew
#

how do i stop theos from signing my binary?

radiant idol
acoustic imp
#

is it bad to have like this many like variables?

radiant idol
acoustic imp
radiant idol
#

then yeah thats fine

#

what about the bottom ones

acoustic imp
#

for like sizing stuff

radiant idol
#

so like

#

constants?

acoustic imp
#

yea ig so

radiant idol
#

mark them as constants and yeah you should be fine

acoustic imp
#

k

#

is it bad if i dont or is it like shitdev if it dont

radiant idol
#

neither, its just better for readability

acoustic imp
#

ah ok, so its not gona like effect memory usage or anything?

radiant idol
#

also constants are usually marked with SCREAMING_SNAKE_CASE if you really want to be semantic about it. For example:

const int ARTWORK_SIZE = 20;
const BOOL INDEV_FEATURE_ENABLED = NO;

stuff like that

acoustic imp
#

ok, but dont put it as a const if it chnages at all?

#

like a bool for if the player/artwork is in "big" mode or not?

radiant idol
# acoustic imp ah ok, so its not gona like effect memory usage or anything?

not really. if you really want to make sure memory isn't affected, then you can use #define's. These are made at compile time. The compiler just copies the contents at compile time. For example:

#define ARTWORK_SIZE 20

// ...

imageView.frame.size.width = ARTWORK_SIZE; 

the compiler will then just copy the contents and paste them:

imageView.frame.size.width = 20; 
acoustic imp
#

got it, can they chnage after respring? like for prefs ?

#

or is it like hard coded at compile time?

radiant idol
#

for prefs stuff, don't put constants

#

not necessary

acoustic imp
#

👍

#

anyone have a like objc code formatter for VScode ?

#

@grave sparrow about what you said about DRM for halo, did you meant that tweaks shouldn't have DRM? or jus not have two?

#

👍

#

understood, just wondering if i should atempt at adding drm to my tweak

radiant idol
#

so

hexed knot
#

Specifically you

acoustic imp
#

👍 😭

radiant idol
#

LOL

hasty ruin
#

😭

acoustic imp
#

how to i give my prefs multiple pages

#

any guids?

radiant idol
#

take a look at Bolders Reborn

acoustic imp
#

👍

#

also it crashes tweaksettings 🥲

radiant idol
#

what does

acoustic imp
#

@radiant idol 5 less tweak 👍

acoustic imp
radiant idol
#

opening what page

kind herald
#

the page

acoustic imp
#

Settings page *

radiant idol
#

oop

#

thats weird

acoustic imp
#

Works fine Jon regular settings tho

radiant idol
#

I'll look later

acoustic imp
#

👍

acoustic imp
young meteor
#

gasolina

acoustic imp
#

oh

young meteor
#

what even is that

acoustic imp
#

its supose to help batter but it was just anoying

#

i always had it disabled

acoustic imp
#

(Oops piracy)

radiant idol
#

🤫

wanton swan
#

Gonna have the worst grammar and have people confused on why this tweak gives their phone random duck logos

hasty ruin
graceful gate
#

I imagine it’s this

faint stag
#

bru

#

why not just pull every app icon why exclude any

#

they all have the same prefix anyway lol

graceful gate
#

plz

radiant idol
#

typical capt essay

acoustic imp
#

is it easy to get a tweak aproved to be on havoc/chariz ?

#

is one easier ?

faint stag
acoustic imp
#

Is/are there like a standards ?

#

For tweaks

acoustic imp
graceful gate
#

Funny thing is that I only have two icons on the right but at some point either Theos or something added another two on the left for me without me knowing when I build an IPA.

acoustic imp
#

Ok so my music player tweak I’m making would be ok ?

#

Also wdym shitty ?

#

K

#

Ok, do they actually install it on a device and test it ?

#

@grave sparrow

#

Also it doesn’t Frick notifications like other iOS 16 player tweaks do, cough cough ~~ halo, sixteen music~~

hasty ruin
#

makes sense

indigo peak
#

In

#

like

#

To@orowwl

#

Drinks rn

#

Drunk

#

I can help tmr

#

Bro I’m hsmmered

#

Uhhhz

#

Barcardia#

#

Bacardi

#

I like

#

Zero sugar smirnoff

#

Smirnoff

radiant idol
#

hi fiore

warm cipher
#
ld: warning: -multiply_defined is obsolete
ld: warning: ignoring duplicate libraries: '-lc++'
ld: Undefined symbols:
  _OBJC_CLASS_$_MTLumaDodgePillView, referenced from:
       in Tweak.xm.d4bf3125.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/Users/mattycbtw/Desktop/HomeBarSizer/.theos/obj/debug/arm64/HomeBarSizer.dylib] Error 1
make[2]: *** [/Users/mattycbtw/Desktop/HomeBarSizer/.theos/obj/debug/arm64/HomeBarSizer.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [HomeBarSizer.all.tweak.variables] Error 2
mattycbtw@Mattycbtws-MacBook-Air HomeBarSizer % 

got a quick issue and I am struggling to solve this anybody know how to fix this error?

graceful gate
#

I guess I need to migrate my project to be Xcode-based. The Theos one may be broken.

warm cipher
#

Yes I am using Visual Studio Code

#

Just saying

timid furnace
#

are you linking against MaterialKit.framework

warm cipher
#

Just trying to get the home bar color to change when I change the color picker color

#

I will do the makefile

#

is the makefile for the settings or the tweak makefile?

topaz yew
warm cipher
#

ok

#

Thanks for this, it worked

#

now just gopnna test the color picker and hopefully the home bar chasnges color

faint stag
#

4 year old tweak but actually not updated troll

#

the target

#

also using export fr

#

well this already does subprojects

#

so

#

rootless

#

with that target

#

lmao

#

is my theos broken or

#

besides, i run into errors if i target higher
but that's just because it would need to be updated

#

so in this case you don't have to include materialkit as a private framework if you keep the existing target

faint stag
graceful gate
#

In my case, I had to add UIPrerenderedIcon property to the Info.plist so that it will render correctly on iOS <= 14

#

yeah exactly

#

I think @indigo peak can explain, as he fixed this issue with his TrollDecrypt

indigo peak
#

Il sxplain tm

#

pin me in

#

12 hous

#

If I don rnemeber

graceful gate
indigo peak
warm cipher
#

If I provide my Tweak file can someone let me know and see if I have implemented the home bar color correctly because the colro picker works its just the home bar color that doesn't change to the color picker

graceful gate
#

How do people extract sandbox profile of any binaries on iOS nowadays? I came across sandblaster from malus-security but I think it's outdated

indigo peak
graceful gate
#

Or the question is more like, let's say I see Sandbox: Process(...) deny(1) iokit-get-properties Something, how do I know which entitlement to use to suppress it?

naive kraken
#

although it's also not perfect

warm cipher
radiant idol
warm cipher
#

ok sorry

radiant idol
#

Bruh read what I said…

warm cipher
#

ok

warm cipher
radiant idol
#

bruh

warm cipher
#

lol

radiant idol
#

no I’m not providing dev support in DMs

warm cipher
#

ok

radiant idol
#

…and explain what you’ve done, what you are trying to accomplish, what the problem is, etc

warm cipher
graceful gate
wheat grotto
#

Somebody once told me the world was gonna roll me

hasty ruin
#

They lied

placid kraken
#

the queen of bloatware

#

(i figured out how to do icons without cephei so thats 1 less dep)

#

how can i present alerts from inside of cells

#

thats 1 thing i couldnt get working

#

nvm got it working !!

#

either way i think this looks pretty good considering its my first tweak

#

i need to make a proper icon though

hasty ruin
slender glade
placid kraken
#

tyyy

lime pivot
#

same, this looks pretty neat

torn cloud
#

what does #define MEM_REGION_SIZE 0x40000000000 do? i used google and chatgpt but didn't get a straightfoward response. if anyone does know please simplify it since i'm stupid :/

#

i know it's a hexidecimal value

#

but what does it actually do?

warm cipher
placid kraken
placid kraken
torn cloud
#

i know what #define does lmao

#

that's basic

warm cipher
warm cipher
placid kraken
#

you should try with libgcuniversal its likely easier

warm cipher
#

I did, but took me ages to implement it.

#

so I wanted to try something easier

#

not sure why the home bar color doesn't change

acoustic imp
#

@placid kraken I’m thining about adding color customization to my 16 player tweak, is it easy ? And are there good examples online or in other tweaks ?

acoustic imp
#

Ok

placid kraken
torn cloud
#

i officially hate this

#

i have to rewrite like 20 .rs files to .h for them to work with C

warm cipher
torn cloud
#

this is outrageous

placid kraken
#

it tells you how you install, how you make a color picker cell, and how you retrieve the color from it

warm cipher
#

ah ok. I will try this

warm cipher
placid kraken
#

well if you do it correctly it should

slim bramble
#

@placid kraken hey, what is the name of the key to get a color picker in a tweak's settings ?

placid kraken
#

it doesnt exist by default, you need to either make your own or use alderis/libgcuniversal

#

for lgu its GcColorPickerCell

slim bramble
#

thanks 🙏

cloud yacht
placid kraken
#

i just do this instead

for (PSSpecifier *specifier in baseSpecifiers) {
    NSDictionary *iconImageSystem = [specifier propertyForKey:@"iconImageSystem"];

    if (!iconImageSystem || ![iconImageSystem objectForKey:@"name"]) continue;

    [specifier setProperty:[UIImage systemImageNamed:[iconImageSystem objectForKey:@"name"]] forKey:@"iconImage"];
}
acoustic imp
#

@silver rampart

cloud yacht
#

someone should ping me in ~31 hours and then I might make a thing for accessing logs for nightwinds guide

acoustic imp
#

@radiant idol , i feel like you would know, is there a method that get called when you close out of the CC ? or the media player in the CC ?

radiant idol
#

Look l there

acoustic imp
#

👍

granite frigate
#

this looks so slickm wonder how you'd set wallpaper w a tweak on 16

torn cloud
#

that'll be nice

faint stag
granite frigate
#

ya prolly

#

but then it'd bug out when you slide to unlock

faint stag
#

well, other tweaks have done it before

acoustic imp
#

ther probly a method bc ios has to chnage it, like w focus's

granite frigate
#

yh

acoustic imp
#

or use a shortcut

cloud yacht
#

ios can change the wallpaper dynamcically now cause you have the ability to set multiple images

#

but using a custom view is probably smarter

#

just like subview it or smth

placid kraken
granite frigate
#

this guys twitter has a lot of tweak ideas lol

placid kraken
#

also

#

look at eneko

#

idk if its open source

granite frigate
#

oh right

#

it is

#

okay

acoustic imp
granite frigate
granite frigate
placid kraken
#

im not gonna look because im gonna be dissapointed that these tweaks dont exist yet

granite frigate
#

ong i wanted to make some of them

placid kraken
#

i mean i probably could make some of them

granite frigate
#

but i dunno anything about tweak dev past hooking a function to return false

#

💀

placid kraken
#

ive used my year+ of experience doing discord client modding for flora

#

so far its turned out to be really similar

#

beautiful

slim bramble
acoustic imp
#

nah its fine

torn cloud
#

is it better to structrure headers like #include "Headers/evict_reload.h"?

#

or just #include "evict_reload.h"

native dune
faint stag
#

but sure, if you want to put all your headers in one folder then i don't see why not

placid kraken
#

i should start using #include instead of #import

#

so i dont need to

#import "../../Tweak/Constants.h"
cloud yacht
#

Just don't have a header file

lime pivot
#

MyThing_CFLAGS += -include Tweak/Constants.h

slender glade
placid kraken
#

what.

slender glade
#

is that an actual flag

#

IT IS

placid kraken
slender glade
#

does it just include into every file

lime pivot
#

it sure does

placid kraken
#

how can i use my things from my control in my tweak?

placid kraken
#

i already know about this flag

FloraPreferences_CFLAGS = -fobjc-arc -DPACKAGE_VERSION='@"$(THEOS_PACKAGE_BASE_VERSION)"'
cloud yacht
placid kraken
placid kraken
#

but doesnt that mean redefining it altogether

#

if i wanna use the description for example

#

time to pull out nodemon

#

well i wanted to reference the bundle id and put it at the bottom of the prefs

#

aswell as the arch

#

well i mean i already have that

#

ive been using it everywhere for nsuserdefaults as the suite name

#

i wanna display it at the bottom like a debug kind of thing

#

architecture compiled with

#

literally just wanna display the text "com.rosiepie.flora • iphoneos-arm64" at the bottom or whatever

#

yeah true

#

i suppose i am building for arm64 rootless

#

is there a way to get whether its building for rootful or rootless

#

in the makefile

#

so i can expose with -D

#

oh right yeah

#

now how can i use macros in plists?

#

i dont really mind because my code doesnt have a license it falls back to copyright law anyway

slim bramble
#

Tf

#

Why is background Color a subview????

#

😭

placid kraken
#

footerText in a PSGroupCell in my root plist

#

i could put an id on it and reference it in my objc

#

and replace it there

#

thats for the author text smh

radiant idol
#

that big toggle looks familiar

placid kraken
#

i already go through every specifier to apply the icons

placid kraken
radiant idol
#

nah yeah all good

placid kraken
#

mac

#

true but thats probably pointless when my specifiers method looks like this

- (NSArray *)specifiers {
    if (!_specifiers) {
        NSUserDefaults *preferences = [[NSUserDefaults alloc] initWithSuiteName:BUNDLE_ID];
        NSMutableArray *baseSpecifiers = [self loadSpecifiersFromPlistName:@"Root" target:self];
        NSString *value = [preferences objectForKey:@"mode"] ?: @"Simple";

        for (PSSpecifier *specifier in baseSpecifiers) {
            NSDictionary *iconImageSystem = [specifier propertyForKey:@"iconImageSystem"];

            if (!iconImageSystem || ![iconImageSystem objectForKey:@"name"]) continue;

            [specifier setProperty:[UIImage systemImageNamed:[iconImageSystem objectForKey:@"name"]] forKey:@"iconImage"];
        }

        _specifiers = [self getSpecifiersWithValue:value specifiers:baseSpecifiers];
    }

    return _specifiers;
}
#

i can just add another thing in the for loop to make it check for an id

#

hmmm

#

ok

#

btw nightwind maybe make the bg of this header cell transparent

#
- (void)setBackgroundColor:(UIColor *)color {
    [super setBackgroundColor:[UIColor clearColor]];
}
#

unless the background is intentional it looks kinda bad

radiant idol
placid kraken
# radiant idol I thought I did(?)

self.backgroundColor = [UIColor clearColor] and self.contentView.backgroundColor = [UIColor clearColor] do not work you need to do the thingie i showed above

radiant idol
#

lol

placid kraken
#

maybe i just need to update jade

acoustic imp
#

bc ur BG is black fr

radiant idol
#

1.0.2 isn't out yet

placid kraken
#

oh

radiant idol
placid kraken
radiant idol
#

ok waiit

acoustic imp
radiant idol
placid kraken
#

btw nightwind how difficult is it to add a dynamic gesture controller which follows your finger around when you swipe to open/close the cc

#

bigsurcc does it, its a really nice qol change if you can do it

radiant idol
#

I tried

#

it was way

#

too

#

buggy

placid kraken
#

maybe ask the dev of bigsurcc, if theyre still active in the jb community

placid kraken
acoustic imp
radiant idol
#

shut up

acoustic imp
#

one of my main reason for not using jade

#

as it like hurt my brain

placid kraken
#

i think its called a pan gesture nightwind?

#

activates when a finger is placed on the screen and moved some initial distance

#

but ofc this is react native not uikit

acoustic imp
#

couldnt you just use the OG one?

placid kraken
#

so itlll be a different implementation

placid kraken
#

like use the same gesture controller as the stock cc?

#

that sounds very hacky

acoustic imp
#

oh

#

nvm then

slim bramble
#

@placid kraken do you know why my color picker is just a subview ? 😭

slim bramble
placid kraken
slim bramble
#
  • added to makefile
placid kraken
#

did you define it as your cellClass?

slim bramble
#

And included

slim bramble
placid kraken
#

what does the code look like?

slim bramble
placid kraken
#

yea

slim bramble
#

Or the root.plist ?

placid kraken
#

both

slim bramble
#

backgroundColorEnabled = (prefs && [prefs objectForKey:@"backgroundColorEnabled"] ? [[prefs valueForKey:@"backgroundColorEnabled"] boolValue] : NO ); // PSSwitchCell
    backgroundColor = [GcColorPickerUtils colorFromDefaults:@"com.teslaman3092.16playerprefs" withKey:@"backgroundColor"];```
radiant idol
placid kraken
slim bramble
#

Ohhh

#

Well yeah I did not added it 😭

placid kraken
#

thats probably why then lol

slim bramble
#

It was not listed on the documentation

#

Or I can’t read

placid kraken
#

im confused as to how your prefs are rendering at all without a RootListController.m

placid kraken
#

either way heres a minimalistic one

// YourPrefsRootListController.h
#import <UIKit/UIKit.h>
#import <Preferences/PSListController.h>
#import <Preferences/PSSpecifier.h>

@interface YourPrefsRootListController : PSListController
@end
// YourPrefsRootListController.m
#include "YourPrefsRootListController.h"

@implementation YourPrefsRootListController

- (NSArray *)specifiers {
    if (!_specifiers) {
        _specifiers = [self loadSpecifiersFromPlistName:@"Root" target:self];
    }

    return _specifiers;
}

@end
placid kraken
#

what does that look like

slim bramble
#

It’s just the 5 basic lines

#

The one that you get when you generate the proj

placid kraken
#

idk what that looks like but it sounds like it should work then

#

what does your plist look like?

slim bramble
placid kraken
slim bramble
#

Yea

#

That’s why it’s weird 😭

placid kraken
#

do you actually have libgcuniversal installed on your device?

slim bramble
#

Yes

#

I added it to the control file

placid kraken
#

this all looks correct hmmm

slim bramble
#

Yeah it’s soooo weird

#

Tested on iOS 14 and 15 btw

#

Same result

placid kraken
#

the only thing i can think of is that your tweak is somehow not building properly?

slim bramble
#

It has been tested with 2 different macs

#

One vm and a real mac

#

Same results 😭

placid kraken
#

my makefiles look like this

BUNDLE_NAME = FloraPreferences
FloraPreferences_FILES = $(wildcard Controllers/*.m ../Tweak/Utilities.m Colors/*.m Cells/*.m Observers/*.m)
FloraPreferences_FRAMEWORKS = UIKit
FloraPreferences_PRIVATE_FRAMEWORKS = Preferences
FloraPreferences_INSTALL_PATH = /Library/PreferenceBundles
FloraPreferences_CFLAGS = -fobjc-arc -DPACKAGE_VERSION='@"$(THEOS_PACKAGE_BASE_VERSION)"' -DPACKAGE_SCHEME='@"$(THEOS_PACKAGE_SCHEME)"'
FloraPreferences_LIBRARIES = gcuniversal

include $(THEOS)/makefiles/common.mk
include $(THEOS_MAKE_PATH)/bundle.mk
export ARCHS = arm64 arm64e

THEOS_PACKAGE_SCHEME = rootless
TARGET := iphone:clang:latest:14.0
SUBPROJECTS = Tweak Preferences

include $(THEOS)/makefiles/common.mk
include $(THEOS_MAKE_PATH)/aggregate.mk
``` maybe you forgot something
slim bramble
#

I have the same

placid kraken
#

hmmm this is really weird

slim bramble
#

Yeah…..

placid kraken
#

@hollow laurel any idea about this? everything looks to be configured correctly yet the color picker cell doesnt render, its just a regular PSLinkCell

slim bramble
#

🙏

acoustic imp
#

dev branch

placid kraken
#

i doubt you need to import uikit but you might aswell try

acoustic imp
#

@slim bramble

acoustic imp
#

@placid kraken do you know of a good way of like dectecting device orientation ? and like updating thing when the orientaion is chnaged?

placid kraken
placid kraken
#

oh maybe you can hook setOrientation

#

there is also this ivar which implies you can observe for orientation changes

acoustic imp
#

ok, lower tweak alos has this ```objc
%hook SpringBoard

-(void) noteInterfaceOrientationChanged:(long long)arg1 duration:(double)arg2 logMessage:(id)arg3 {
%orig;
//send command to relayout when device changes orientation
CFNotificationCenterPostNotification(CFNotificationCenterGetDarwinNotifyCenter(), CFSTR("org.s1ris.lower/notif"), nil, nil, true);
}

%end```

#

is it bac to hook springboard tho ?

placid kraken
#

not sure

radiant idol
#

afaik every UIView and UIViewController has this:

- (void)traitCollectionDidChange:(UITraitCollection *)traitCollection;

it gets called for a lot of things tho, for example: light -> dark mode and vice versa and also orientation changes

hasty ruin
#

this dynamic island issue is driving me crazy

radiant idol
acoustic imp
#

pov ios 16.2

hasty ruin
#

if the island moves outside of the screen rect, backboardd crashes

#

i've been able to work around the crash by killing the island entirely

#

but yk

#

i dont wanna do that

acoustic imp
#

why is it going outside?

hasty ruin
#

when rune moves the screen upwards

radiant idol
#

oh ur doing something else

hasty ruin
radiant idol
#

ah

#

how did you get it to move tho in that screenshot

acoustic imp
hasty ruin
radiant idol
#

can you not just hide that

hasty ruin
#

if you hide that view, it should leave you with just the two sensors

hasty ruin
radiant idol
#

make a tweak to hide the DI pretty please

acoustic imp
#

could you jus hide the DI view when you open rune and show it when it closes?

hexed knot
#

Why would you hide Dynamic Island

acoustic imp
#

is that what ur saying?

radiant idol
radiant idol
acoustic imp
#

could you like increas the "screen" bounds

hasty ruin
#

not really

hexed knot
acoustic imp
#

could you just move the isalnd down?

radiant idol
#

the DI is kind of a gimmick for me

hasty ruin
hasty ruin
acoustic imp
hasty ruin
#

mhm

radiant idol
#

whats the crashlog anyway

acoustic imp
#

is there sm you could hook to disable the bb killing?

radiant idol
#

hooking backboardd is not a good idea

hasty ruin
hexed knot
#

Well it’s getting killed for a reason

radiant idol
#

spinlocks galore

hasty ruin
#

and idk if 16 fixed spinlocks

acoustic imp
hexed knot
#

You shouldn’t hook it so it doesn’t get killed

radiant idol
hasty ruin
hexed knot
#

You should hook what’s causing the reason for it to be killed

radiant idol
radiant idol
#

KERN_INVALID_ADDRESS 🤔

#

wonder if using palera1n rootful + cr4shed could give a better crashlog

hasty ruin
#

maybe

radiant idol
#

so the crash is in IOMFB

hasty ruin
#

though my only other device on 16/17 is an ipad

#

and idk if you can enable DI on there

radiant idol
#

think you can

hasty ruin
#

also i'd have to patch rootful palera1n to work on 17

radiant idol
hasty ruin
radiant idol
#

anyway

placid kraken
slim bramble
hollow laurel
#

like how do you want to use the lib?

slim bramble
hollow laurel
#

but like plist style or code?

slim bramble
#

It’s above

slim bramble
#

@hollow laurel

hollow laurel
#

looks good

placid kraken
#

how do i get the deb of a tweak i installed locally from sileo cache

hollow laurel
#

check if your prefs binary is linked properly

#

also, what iOS version and JB are you trying this on?

slim bramble
#

maybe this will help

hollow laurel
#

can you send over a build?

slim bramble
hollow laurel
#

can make clean and then build it again?

slim bramble
torn cloud
torn cloud
#

you'll need thousands of lines just to print a simple line

slim bramble
torn cloud
#

headers make it simple

hollow laurel
#

what did the build output look like?

slim bramble
#

maybe there is a verbose toggle ?

hollow laurel
#

can you send over a deb?

slim bramble
#

sure

#

rootless or rootful ?

hollow laurel
#

doesn't matter

slim bramble
#

oh bruh

#

your dms are disabled

#

can you add me ?

hollow laurel
#

your prefs don't link gcuniversal

slim bramble
#

wait I'm dumb

#

I added LIBRARIES

#

to root

#

and not prefs

slim bramble
#

😭

placid kraken
#

shouldn't they.. both have it?

#

im assuming youre reading from utils in your tweak

slim bramble
#

yeah it works now

#

thanks ig

indigo peak
#

my beloved

torn cloud
#

nah my workspace is so unorganised woeis

indigo peak
#

limneos headers are so slowwwww

faint stag
indigo peak
#

cynder >>>

faint stag
#

yeah when it actually works

placid kraken
#

i just google "HeaderName.h site:github.com"

faint stag
#

why do that when github's own search works better

#

lol

slim bramble
#

Is there a way to implement hot reload for tweak preferences ?

faint stag
slim bramble
#

Aka no respring to apply tweaks pref

placid kraken
#

you need to add an observer for when one of your values in NSUserDefaults changes and do something with that accordingly

#

and this only works if you have a way to update the thing youre changing on the fly when the prefs do actually change

indigo peak
#

ok imessage app is stupid

slim bramble
#

Thanks anyways !

tepid olive
#

yo

wise spruce
#

quick question, is there anyway I can automate a userspace reboot in shortcuts if I forgot the root password, I'm using palera1n rootful iOS 15

#

Trollcuts only support 16+

frail cedar
faint stag
#

^

faint stag
graceful gate
#

@indigo peak about 5 hours late but here I ping you. Now explain to me about app icons. 😋

wise spruce
#

This command is for respring ik but I use it as a try

wise spruce
frail cedar
wise spruce
#

:((

acoustic imp
#

also do you have open ssh server installed?

wise spruce
#

Waitttt dpkg is fucked

#

I'm restoring a backup

#

Lol

elfin quarry
#

does anyone possibly have an idea how could i debug safari on ios 6

#

ideally without a mac (linux or windows)

#

like with gdb, lldb

slim bramble
elfin quarry
#

i don't have a mac 💀

#

i've been developing my tweak with vscode and clang/llvm

#

and compiling on the device itself

slim bramble
#

oh fr 😭

#

Using frida ?

#

idk if there is a build for ios 6 tho

#

maybe super old

elfin quarry
#

i love getting super obscure errors that only the chinese have the answers

slim bramble
#

yeah that works too

elfin quarry
#

there we go

#

and it does work

#

very fucking slow though 💀

#

probably because it's over wifi

#

actually it isn't bad

#

definitely usable

faint stag
elfin quarry
#

it works well with ios 6 sdk

#

and i do have theos in linux

#

i'm just lazy to switch to that because i also need to reverse engineer the dyld cache (security.framework and corecrypto/commoncrypto)

#

and i don't want to use ghidra..

#

pirated ida 7.7 ftw

#

it's ok, even in a6 with 1gb ram it takes like couple of seconds to compile and package the tweak

acoustic imp
wise spruce
faint stag
wise spruce
#

Is there any OpenSSH other than the one on palera1n repo ?

wise spruce
faint stag
#

rootful oh

#

why is launchctl missing?

faint stag
#

(if that's even the package name)

wise spruce
#

Lol

faint stag
#

that should be default

#

what did you do

wise spruce
#

I installed it

faint stag
wise spruce
#

It worked they installed lmao

faint stag
#

well that's probably why you couldn't userpace reboot

wise spruce
# faint stag yeah lol

I think I've played a lot with the default packages idk if I have any of them missing lol

#

Ok I'll try now

faint stag
#

the command to userpace reboot is launchctl reboot userspace
launch daemon controller is launchctl

wise spruce
#

I've tried port 44

#

And host 127.0.0.1

faint stag
# wise spruce Still ://

the password is alpine unless you've changed it

if you have tweaks running, then just use a tweak instead of doing all this

wise spruce
#

I need an automation for palera1n to userspace to not panic every 2 days

faint stag
#

oh

#

initproc exited very cool

wise spruce
#

Shiiiit

#

alpine worked

#

W

#

I'm sure I've changed it a year ago 😭

faint stag
#

you're logging in as mobile

#

that's another user

wise spruce
#

But the phone doesn't userspace it just stuck at Black screen

wise spruce
#

Wtf I'm doing lol

#

The phone rebooted jailed lol

wise spruce
#

But why the phone panicked

faint stag
faint stag
#

rootful is deprecated anyway, so

wise spruce
#

atleast I know I can log in as mobile now instead of root ¯_(ツ)_/¯

wise spruce
#

And many things are broken with mewobreak2

faint stag
wise spruce
velvet path
#

!t whyrootless

faint lionBOT
# velvet path !t whyrootless
whyrootless

Why rootless > rootful:

  • There isn't any storage penalty (such as the 2-5 GB bindfs or 10GB+ fakefs storage penalty) compared to stock iOS
  • Most future development of both tweaks and palera1n will primarily be rootless
  • In general, rootful tends to have more and harder to troubleshoot issues in comparison to rootless

Yes, tweak compatibility for older tweaks may be better than rootless, but many older tweaks can be patched in various ways to work with a rootless setup.

velvet path
frail cedar
#

as a rootful user i strongly recommend not using it

#

its jank and annoying

radiant idol
#

rootless + patcher = better

frail cedar
#

yes

radiant idol
#

oops i said too much

wise spruce
# faint lion

Tweak combability ;;) and rootless keeps panicking plus meowbreak has many broken things

frail cedar
#

rootful also panics

#

i panic every 3 days

velvet path
hexed knot
wise spruce
velvet path
#

you have to list them off or we can’t help you

wise spruce
frail cedar
#

some 14 tweaks are broken on 15

#

even with rootful

velvet path
#

I’d argue many to be honest imo

wise spruce
radiant idol
#

Emerald on rootless

radiant idol
acoustic imp
#

flow

hasty ruin
acoustic imp
#

gm

velvet path
frail cedar
#

most work

velvet path
#

I’m just saying a large percentage don’t

frail cedar
#

a good chunk require autosign tho

#

and that breaks legizmo if you have it installed when you install legizmo, so i dont

#

installing it after installing legizmo is fine

radiant idol
#

Xeon Lite on rootless

frail cedar
radiant idol
#

smh

#

this

frail cedar
#

oh

#

zeppelin for modern

radiant idol
#

🤫

frail cedar
#

Supports Rootless: No mfs when I dirtypatch

acoustic imp
#

pinaminetroll

radiant idol
#

no symlinks

#

I'm not using any symlinks

acoustic imp
#

ah the private patcher

wise spruce
frail cedar
acoustic imp
radiant idol
#

I'm not using dirtypatch/xina x dopamine/other symlink patcher

wise spruce
#

The rootful one

keen linden
#

this isn't really development support or anything, but i did something so i figured i'd share.

i'm not a super duper really real developer, but i've been working on a testing app to learn how to use kfd and other exploits.

i've been working on the UI for a few days, and i just managed to kopen without panicking!
it's not a super huge W or an amazing breakthrough, but i'm happy that i did something

frail cedar
#

its probably ssh misconfig

#

I would show you how I have my ssh configured but i cannot install the shortcuts app

#

it just fails

wise spruce
#

Lmao

faint stag
faint stag
#

told them to login as mobile

#

lol

wise spruce
wise spruce
faint stag
radiant idol
#

i dunno why its symlinked

#

lemme see

hasty ruin
radiant idol
#

I didnt touch that

faint stag
#

find out what did

#

cause that's unusual

radiant idol
#

huh it symlinks to /var/jb/usr/bin/bash

#

🤷‍♂️

faint stag
#

seems like it would

radiant idol
#

iunno

faint stag
#

but why would you need to find bash any faster

radiant idol
#

I didnt make that symlink anyway

faint stag
#

like $PATH is a thing

radiant idol
#

maybe its a leftover of me testing on Xina

#

I primarily use Dopamine

#

I did briefly switch to Xina for some testing

#

yeah I think its a leftover from xina

radiant idol
lime pivot
#

so wouldn't be surprised by that

radiant idol
#

no thats not Xina v1

#

Its Xina v2 plus uhhhh

lime pivot
#

ik

radiant idol
#

you know what

#

I was using it to test against my patcher

#

the Xina one uses the symlinks but mine and staturnz's doesnt

faint stag
#

didn't know that was xina

radiant idol
#

yea thats xina

faint stag
#

couldn't imagine having to write tweaks for xina v1

radiant idol
#

tbh it wasnt that bad

#

afaik my tweaks worked fine

#

well except OneSettings but that was broken due to iOS 15+, not due to Xina

lime pivot
#

my problem with it was more that it was doing magic you couldn't control, that and the brief moment that Sileo supported it was a disaster of hacks to fix its broken apt/dpkg

radiant idol
#

yeah....

#

if it was a manual patcher it would've been better

#

automatically patching everything is horrible

lime pivot
#

I felt uncomfortable praying that those hacks worked every time and wouldn't destroy some important apt/dpkg state file, luckily they seemed pretty stable

radiant idol
#

wish they were OSS so we could at least know what was going on

lime pivot
#

Sileo's side was of course

radiant idol
#

yeah I meant Xina's side

#

i.e. if Xina changed something on the backend, we'd know

lime pivot
#

there was also the issue that it was a moving target, Sileo got broken a few times as well

radiant idol
#

yeah...

lime pivot
#

lack of communication, an update just drops and nobody can install packages any more

radiant idol
#

also quick rant

#

iphoneos-arm64 was a horrible name for rootless

#

I still don't get why that was chosen

#

it also set precedent for ridiculous stuff like iphoneos-arm64e for RH's arch

lime pivot
#

lmao

radiant idol
#

right

lime pivot
#

I got filtered for saying what those initials are

#

basically what you said

radiant idol
#

the developer role should get an exemption for stuff like that ngl

lime pivot
#

I tried unsuccessfully to make him realise iphoneos-arm64 was a bad name that caused extreme confusion, and tacking an e on the end because "I only support arm64e anyway" isn't justification for creating more confusion

radiant idol
#

but yeah stuff like iphoneos-arm-rootless would've been far better
trying to explain to beginners that iphoneos-arm64 is not at all coorelated to arm64 (the processor arch) is such a pain
...and iphoneos-arm64e made it even worse

lime pivot
#

now it's too late to change

radiant idol
lime pivot
#

can't tell if it's a language barrier or stubbornness appleneutral

radiant idol
#

:P

lime pivot
#

don't be short-sighted about it

#

are the binaries even arm64e? (I hope not)

radiant idol
#

If you ever wanna laugh a bit, take a look at the Theos server and search RH (not the initials) from me

radiant idol
#

its so confusing

lime pivot
#

so the arch name isn't even accurate

radiant idol
lime pivot
#

see at least the way Debian uses architectures, i386 means … you get i386 binaries. no exceptions

radiant idol
lime pivot
#

any case where that's not true would be a policy violation

#

that's why, to run 32-bit Windows exes in Wine, you need to add i386 as a dpkg foreign arch and then install wine:i386

faint stag
#

that's like specific to darwin rn

lime pivot
#

it would be unnecessarily confusing to have something like wine32 that contains i386 binaries, but the deb arch is amd64

lime pivot
#

I'm saying it's straight up a Debian policy violation to have a package with binaries that don't match the declared deb arch

radiant idol
lime pivot
#

not sure I see the need for it, what benefit that has, but if it's safe and not too complex sure

#

it's just the same mach-o in the end but wrapped with a few extra bytes' header

radiant idol
#

I mean whats the point of having a FAT Mach-O if there's only one arch

lime pivot
radiant idol
#

fair enough

#

this is the PR

lime pivot
#

oh lightmann been killing it with Theos work lately

faint stag
lime pivot
#

I guess he's not in this server

brazen timber
radiant idol
lime pivot
brazen timber
#

yeah i looked at the amalgamation of scripts that theos is

#

pure cancer

#

no one is porting that

radiant idol
#

I mean if it works it works i guess lol

lime pivot
#

well, the main issue is the project format is a makefile script, and you can't exactly have ninja etc build using that

#

so it would be a completely breaking change to switch to cmake. possible but whether someone wants to work on it is the question

radiant idol
#

and then you'd still need to keep compat with "legacy projects"

#

nah I dont think its worth it

lime pivot
#

would keep them on a "v2" branch I guess

radiant idol
#

yea but that would become confusing

#

especially to beginners

brazen timber
#

ide support 🙏

radiant idol
#

what ide lmao

brazen timber
#

clion

radiant idol
#

Logos files only have "proper" syntax highlighting in VSC and Sublime

#

not even talking about autocomplete

brazen timber
#

the build system is the blocker

#

creating a plugin for syntax is easier

radiant idol
#

eh

#

I guess

lime pivot
#

yeah IntelliJ plugin could be done, just nobody's felt the need to I guess

radiant idol
#

tbh it is kind of a pain to work with Logos files if you don't know what you're doing

#

it is kind of the wild west

#

no autocompletion

lime pivot
#

it's programming in hardcore mode. no computer can help you

radiant idol
#

if you're writing Java for example, you could get around and sort of understand whats going on

radiant idol
#

I personally made a couple macros

lime pivot
#

I wish it could be better, tooling just really does not like the concept of code being preprocessed by something that isn't clang

brazen timber
#

there isn't even any docs abt it except for the very sparce theos documentation

hasty ruin
lime pivot
#

docs have improved over the past year at least

radiant idol
#

made a macro like this for the very very rare times when I want to use the mobilesubstrate API to hook instead of logos

#

dont really use it tho

brazen timber
lime pivot
#

actually Logos docs have been pretty good for a while, like years

#

it's been done twice

#

it's far too much work appleneutral

brazen timber
#

and people aren't using it hm

radiant idol
lime pivot
#

@silver rampart might be able to say more on how that's worked out, I don't recall at this point

brazen timber
#

never have i ever seen worse docs (hyperbole)

lime pivot
#

hm I thought they were decently descriptive but thanks for the feedback

hasty ruin
#

tbf I’ve learnt new stuff from logos docs recently

radiant idol
#

iirc cynder's stuff is like:

@hook NSObject

- (instancetype)init { }

@end
#

idk

hasty ruin
#

not like they’re meant to teach you how to make tweaks

#

just the hooking syntax or whatever

radiant idol
#

yeah

hasty ruin
lime pivot
#

yeah I guess what's missing in Theos docs is specifically tutorials, then

#

rather than just this is a feature, this is how you use it

radiant idol
#

I'm ashamed to admit that I only recently figured out %dtor exists
never seen it used though, like ever

hasty ruin
radiant idol
#

shameless self promo

graceful gate
lime pivot
silver rampart
lime pivot
#

that and Apple wants us to write code that should expect to be SIGKILLed at any time

brazen timber
#

so why isn't everyone using this

radiant idol
graceful gate
hasty ruin
#

Please note that this toolchain is still in very active, early development,

brazen timber
#

llvm-ObjCS is a modified build of apple-llvm
i thought objc was in mainline clang

lime pivot
#

I get why the whole % thing is difficult, but I wish it could be a drop-in replacement for Logos

radiant idol
#

or is it %&orig

#

I can't remember

lime pivot
#

so we could even just silently switch Theos to it one day and 100% of tweaks are being preprocessed by LLVM-based logic

silver rampart
radiant idol
#

Doesn't your stuff also have nice ivar support, cynder?

silver rampart
#

yes that's my fav thing about it

radiant idol
#

That is quite nice

#

Yeah

silver rampart
#

you just declare it in the header and use it

radiant idol
#

Oh I wish

#

that would be so nice

hasty ruin
lime pivot
#

:/

hasty ruin
#

Oh

lime pivot
#

maybe one day I'll port my stuff to objcs lol

#

but I barely write tweaks any more

hasty ruin
#

need new kirb dev stream

silver rampart
#

same i ported that layout tweak

#

focused on getting build system 2.0 out rn tho

#

i should just do that rn tbh

radiant idol
#

HomePlus?

#

iirc

lime pivot
#

and drop-in compatibility with theos
wen eta applesimp

radiant idol
silver rampart
#

it's eta whenever-i-can-figure-out-how-to-compile-module-support

lime pivot
hasty ruin
#

I tuned in to one and you wrote maybe 20 lines in 2 hours

radiant idol
#

tweak dev streams sound like a fun thing

hasty ruin
#

🔥🔥

silver rampart
hasty ruin
radiant idol
hasty ruin
#

was so good

lime pivot
#

that and I'm always scared I'll leak things I shouldn't, and I can't make it interesting enough to not show my screen

silver rampart
#

real

radiant idol
#

ah yeah fair enough

lime pivot
radiant idol
#

also while we're on the topic
does ld64 have new ABI support or not? I'm still so confused... it would be nice for our linux friends to be able to compile their tweaks with the new ABI so that we can finally throw old abi into the trash

silver rampart
lime pivot
#

leaking someone else's code I'd feel awful about

radiant idol
lime pivot
#

or API keys or something else I can't quickly rotate

radiant idol
hasty ruin