#development

1 messages · Page 117 of 1

lime pivot
#

I have thought about doing some streams for Legacy Update dev though, it's like the only OSS project I'm working on lately

hasty ruin
#

thanks for the reminder

lime pivot
#

feels like something people would find interesting, I feel inspired by MattKC's streams on doing funny business like porting .NET 2.0 to Windows 95

silver rampart
#

ok funny build system 2.0 out rootless support eta now

radiant idol
#

eta wen RH support fr

lime pivot
#

also helps it's not a moving target, the foundation is as stable as it'll ever be

hasty ruin
lime pivot
radiant idol
lime pivot
#

face it icraze you like aussie accents

hasty ruin
#

I mean I gotta put up with yours bc you can’t shut the fuck up when you’re at home

lime pivot
#

you would think so but I'm usually pretty quiet and focused at home lol

radiant idol
#

what is this lore

hasty ruin
#

I’m in his walls

lime pivot
#

he lives in my walls

radiant idol
#

oh

hasty ruin
radiant idol
#

i thought he lived in my walls

lime pivot
#

I occasionally feed him when I feel like being humane

radiant idol
#

did he movoe away

hasty ruin
radiant idol
#

since yesterday

hasty ruin
radiant idol
#

how did you move to the other side of the world in 24 hours

hasty ruin
#

legs

radiant idol
#

oh

hasty ruin
#

yeah I’m pretty fast init

radiant idol
#

i was aboutta say you took a plane but then I remembered you're british and obviously ALL brits carry a dagger with them at all times so that cant be it

#

unless they confiscated it 🤔

#

@hasty ruin is this true

hasty ruin
#

no comment

radiant idol
#

why not

left lantern
#

recently got contracted to make an iOS program (for AppStore release, not JB related), which will act as a way to get live news from the source person who asked for it to be created, the current way im thinking of, is a sort of RSS feed approach, where itll dynamically parse and load things like videos and podcast audio and allow the download of that kinda stuff, im thinking of using Swift/SwiftUI (yeah, just cause why not), any ideas of any other good ways to tackle this? The application should be able to present : Text announcements, podcast mp3 audio streaming, and video streaming

lime pivot
#

RSS seems like your best bet, then you can plug it right into something like WordPress and not have to worry about building a backend

radiant idol
#

oh my goodness i did not expect an essay when i came bacak

silver rampart
#

weak definition of essay

left lantern
lime pivot
#

and there are probably WP plugins for videos and podcasts being directly embedded in the RSS in the "standard" way to do that

silver rampart
left lantern
lime pivot
left lantern
#

how good does this look as a starter for understanding the way to implement?

lime pivot
silver rampart
hasty ruin
silver rampart
#

been so swamped w/ work and then having to pick which of 6 large projects to try and fuck with when i just want to draw birds n stuff

hasty ruin
#

dudes on fire

lime pivot
#

item.enclosure gets you the video/audio url and such, which has you covered there

#

item.content gives you the body text of the post

left lantern
#

this is probably the last thing im gonna attempt, how would you tackle the ability for users to make an account/login to comment? since thats prob gonna be its own hurdle entirely, thatll be the very last thing tbh

lime pivot
#

sounds like it should also be possible with WordPress's built in commenting system honestly, there may be plugins to require users to sign up to comment that would handle that part

#

or well, I'm pretty sure I've seen WP sites that require login before commenting

left lantern
#

Mmm even better, the client already uses wordpress to host their main site luckily

#

sounds doable then!

lime pivot
#

oh awesome, so they'll be totally familiar with it. sounds like a winner for both you and them

left lantern
#

nah literally, praydge worked

silver rampart
hasty ruin
silver rampart
hasty ruin
#

ahh makes sense ty

silver rampart
#

eh, i think having it be entirely different is good for distinction against it being something like a regular objc call

#

yea

#

dont wanna confuse it with a super call which is does something v different

#

no clue

hasty ruin
lime pivot
#

it's S for sharp 👍

silver rampart
#

was evan's latest name for it

hasty ruin
#

there’s an old project with the same name

hasty ruin
lime pivot
#

:/

silver rampart
#

my main reason for not touching it for a while

lime pivot
#

that's the primary reason it makes me sad objcs can't be more viable

silver rampart
#

u have to hold so much info in your brain to work on it

hasty ruin
#
  • zefram data exfiltration
#

(not complicated as it doesn’t exist)

radiant idol
#

tweak development and figuring out tweak conflicts:

#

trying to fix your tweak for an iOS that you dont have any devices on:

#

help me

hasty ruin
radiant idol
#

im not getting correlium

silver rampart
radiant idol
#

😭

#

ok that might be worse

silver rampart
#

my drawing tab is on ios 16.latest sadly

#

only >A11 device i own

radiant idol
#

pov my code works on: iOS 14, 15, 16, and then boom just crashes on iOS 17 for some stupid reason

radiant idol
#

thats only for A11 and below, no?

silver rampart
#

16.7.2

radiant idol
#

huh

#

interesting

#

honestly if you're really interesting in tweak dev again, it might be worth it to just pick up a cheap used iphone 8 on iOS 16 and develop for that

#

or even an ipod on ios 15

silver rampart
#

oh 11s are cheap now wtf

acoustic imp
#

iPhone SE 1

#

Jus get a cracked backglass

#

Non working Face ID one

radiant idol
#

yea something like that

radiant idol
#

(basically a full jb but different technique)

acoustic imp
#

Well u can’t inject into daemons but SB and app injection work

#

(I think)

radiant idol
#

i think thats right

radiant idol
#

make sure to try landscape mode too

#

how the hell did you get so far with tweak dev so fast tho lol

#

u kinda sucked at it

silver rampart
#

find n rce in mediaserverd so we can have that one funny tweak

radiant idol
#

fr

acoustic imp
#

Well copy paste is nice, but it’s not that much. Just a bunch of methods, CGRects troll , and math, CGFLoats, and ints

#

Oh and stealing prefs from bolsters reborn troll

#

Not actually tho

radiant idol
#

if you do take code, just credit properly

hasty ruin
#

16.5.1 is for the ppl bypass

acoustic imp
radiant idol
radiant idol
#

best to figure something out

acoustic imp
acoustic imp
acoustic imp
#

Little buggy w the artwork

frail cedar
#

on the left

#

artwork on the right

#

move the three dot thing to the top right of the screen so there's enough space

placid kraken
slim bramble
slim bramble
placid kraken
acoustic imp
#

The artwork is the stock artwork, I just made the player bigger. But if I move it out the way to the side it would just scroll up with the rest of the player also, the tap function would not work

left lantern
#

any idea where this KP stems from?

#

currently doing light research on what could be causing it

upper hull
left lantern
#

its an ARM processor, of course it doesn't

#

its an error in the TCG emulation though, i'm trying to fix that

#

host acceleration on x86_64 processor with qemu -> works flawlessly, full speed
emulation on x86_64 processor with qemu -> works fine, boots but isn't speedy obviously
emulation on ARM64 processor with qemu -> KP on anything older than Lion, doesn't boot at all due to commpage error

faint stag
#

but implementing a krw api probably needs some form of jailbreakd (i think)

elfin quarry
#

at that point just make a whole ass jb

#

(not) today i learned: MSHookMemory doesn't work at all for read only memory

#

some code from github works though

#
#define ENSURE_KERN_SUCCESS(ret) \
if (ret != KERN_SUCCESS) { \
    NSLog(@"it overload.. (write failed)"); \
    return; \
} \

#include <mach/mach.h> // mach_task_self, vm_protect

void write_memory(void* destination, const void* data, size_t size) {
    mach_port_t our_port = mach_task_self();
    ENSURE_KERN_SUCCESS(vm_protect(our_port, (vm_address_t)destination, size, false, VM_PROT_READ | VM_PROT_WRITE))
    ENSURE_KERN_SUCCESS(vm_write(our_port, (vm_address_t)destination, (vm_offset_t)data, size))
    ENSURE_KERN_SUCCESS(vm_protect(our_port, (vm_address_t)destination, size, false, VM_PROT_READ))
}
faint stag
elfin quarry
#

that makes sense ig

#

my silly patch is still not working 😔

elfin quarry
#

(in my case it just crashed lol)

#

read write worked fine

#

¯_(ツ)_/¯

#

i think it's a const region

#

in security.framework

#

basically the thing i'm doing is, i'm trying to add newer ssl ciphers for ios 6

#

obviously this alone won't work because there's no code to handle GCM

#

so i've been copying aes gcm code from coreTLS/corecrypto that's in ios 9.3.5 for the last couple of days 💀

#

and trying to make them work with ios 6's libsecurity stuff

granite frigate
slim bramble
#

@radiant idol can you accept my f req 🙏

cloud yacht
#

@radiant idol can you ignore my f req 🙏

radiant idol
#

@cloud yacht eta wen pr for tweak tutorial

cloud yacht
#

Hasn't been 31 hours yet

#

I might be a bit later, I have some homework I have to do as well

#

31h is when I start it btw

radiant idol
#

smfh

torn cloud
#

anyone have a m1 mac to test some exploit code on?

#

a m1 ipad could work but idk

#

if anyone does ping me. i'm working on a fork of a project that bypasses PAC on all M1 SoC's and need to test it (since i don't know if it works)

#

the project is going on github soon so i guess i'll ask when that happens

faint stag
elfin quarry
#

i do have a m2 ipad

torn cloud
#

cheers

torn cloud
elfin quarry
#

does this vuln have a cve assigned to it

torn cloud
#

it forges kernel PACs from userspace

torn cloud
#

i could be wrong

brazen timber
#

@elfin quarry no cve but here's the site

elfin quarry
#

yea i saw

#

interesting stuff

torn cloud
#

the original dev made a fork in rust

#

so i'm just forking that into c

#

because why not

#

good practise with pointers and just exploit development in general

naive kraken
#

you're already in launchd

#

the problem is you only control the launchd after the userspace reboot so you can't persist krw

#

So you would have to rerun the exploit from launchd

faint stag
#

that sounds like a easy way to cause panics

naive kraken
#

you'd only need to do it once

#

and from there you can have a proper forkfix aswell

#

and if you userspace reboot again you can probably pass krw to the next launchd like dopamine does but you have to figure out krw handoff

granite frigate
#

what things even use libkrw? I can only think of dimentio/shshd, but saving blobs are kind of pointless now

granite frigate
#

i'm not sure if vnodebypass works on iOS 16

#

i mean, it does, but not the tweak version

faint stag
#

probably offsets

granite frigate
#

dimentio uses a kpf though

faint stag
#

i don't think vnode does tho, hence why it had to be updated for 15

#

though vnode shouldn't be as much of a requirement when you can just unlink /var/jb now

faint stag
granite frigate
faint stag
#

why do we still have tweaks writing outside of /var/jb man

#

i can't think of a reason

#

now i can see why rh does the symlink patch

visual meadow
#

I have cfprefsd hook on my setup lol

indigo peak
#

how many times are you gonna say you have a cfprefsd hook

visual meadow
#

Until its added to serotonin

granite frigate
visual meadow
#

Un lazy yourself

granite frigate
#

i don't want to hardcode stuff

visual meadow
#

Bro is trying to credit now

#

@azure sail did you see this lol

azure sail
visual meadow
#

A true artist.

indigo peak
#

@azure sail

azure sail
visual meadow
#

Chaircursus

#

Ok

azure sail
granite frigate
#

put some food on there

faint stag
#

what kind of food tbh

torn oriole
faint stag
#

so a box

#

lol

azure sail
#

@indigo peak your chair back looks painful to lean on

indigo peak
#

I made it in 5 min give me a break 😭😭

#

half of the 5 minutes was finding the PSD for the table

torn cloud
#

there's no way this is real

#

roothide and procurus having the same icon is wild

ashen birch
#

was not approved by procursus team btw

azure sail
#

its not hard to make an original icon ngl

torn cloud
#

what's a good comment to put to describe what this does?? i put // Source file for interacting with PAC addresses but it's a bit vague

#

(i have no clue why it says  before the © btw)

radiant idol
#

could THAT be why SnowBoard and Jade dont wont properly?

#

wait no

#

nvm

#

disregard

granite frigate
#

I can't pinpoint the issue with that, if it works fine on e then something may be wrong with bootstrapd or Ellekit on arm64

radiant idol
#

I still think it may be a dlopen issue

placid kraken
#

snowboard and jade work fine for me on serotonin if thats relevant at all

granite frigate
placid kraken
#

however i believe snowboard causes sb to crash randomly sometimes

slim bramble
#

I love github action

#

Easy tweak build without mac

cloud yacht
#

I just build tweaks on linux

slim bramble
#

I get thrown random errors

#

if anyone has ideas

radiant idol
radiant idol
#

wait

#

no

#

huh

#

odd

slim bramble
#

yeah

#

I use github action

#

cuz theos don't like my debian

placid kraken
slim bramble
#

yeah that's what I was about to test

#

nope

radiant idol
#

#import <substrate.h>

#

idk

slim bramble
#

same

#

oh nvm

#

new errors

#

now it's about logos

olive peak
#

Send error

slim bramble
olive peak
#

Probably need to include something else too but i dont knoww what

slim bramble
#

Bruh

#

now

#

github action have the same issues

placid kraken
#

are you including include $(THEOS)/makefiles/common.mk in your primary makefile?

slim bramble
#

why ?

#

Ok recloned the repo

#

it seem to work

#

but I still have a lot of random errors

#

(it builds fine on mac)

cloud yacht
#

I feel like this is a missing UIKit import (idk what I'm talking about)

radiant idol
slim bramble
cloud yacht
#

do you have a proper SDK?

slim bramble
#

yes

#

new errors

#

this is fun

#

😭

#

Can't recognize int

torn oriole
#

nullptr_ttrollartistic

slim bramble
#

I can't anymore

#

stupid errors

placid kraken
#

bestie all of these errors lead me to believe you may have a broken theos installation

placid kraken
#

i would recommend that you reinstall theos altogether and see if that fixes anything

slim bramble
#

like 5mins ago

placid kraken
#

ah

#

do you have full xcode or just clt

slim bramble
#

I have a real mac

placid kraken
#

ikik

slim bramble
#

I just prefer using windows cuz it's my computer

#

also compiles fine on mac

placid kraken
#

oh ok youre building on win?

slim bramble
placid kraken
#

maybe its an issue with your sdk

slim bramble
#

I've tried a bunch of sdks

placid kraken
#

hmmmmm

slim bramble
#

yeah this is trolling me

#

😭😭

#

Why can't I upload

#

bruh

#

Ig I still have github action to compile

placid kraken
#

is there a way i can add a sublabel to my cell without making a custom cell for that altogether

#

like surely there has to be a native cell that does that

slim bramble
#

is there a way i can have a double slider in settings

visual meadow
#

I think launchd is have stroke

#

Maybe not idk

cloud yacht
#

just close the cocaotop and stop worring about it

visual meadow
#

My bad

#

🙏🙏

placid kraken
#

lmao i made an icon and the difference between no cc and cc is insane

#

the corrections are minor anyway

#

i used the twemoji lotus emoji for this c:<

visual meadow
placid kraken
#

what did you do husk

#

Userspace reboot changed system version

#

that sounds scary

visual meadow
#

to springboard path lol

visual meadow
#

damn it

#

it still didnt work

#

im trying to do a more simplistic approach at replacing daemon paths

#

instead of just constantly hooking posix_spawn path

#

less system resource usage

#

i feel

#

@grave sparrow

void hook_xpc_dictionary_set_string(xpc_object_t dictionary, const char *key, const char *value) {
    if (!strcmp(value, "/System/Library/CoreServices/SpringBoard.app/SpringBoard")) {
        {
            xpc_dictionary_set_string_orig(dictionary, key, "/var/jb/System/Library/CoreServices/SpringBoard.app/SpringBoard");
        }
    } else {
        xpc_dictionary_set_string_orig(dictionary, key, value);
    }
    return;
}```
#

what is wrong with this

#

now it works but springboard is still normal

#

(i forgot the ! and thats why panic above)

#

hm

cloud yacht
placid kraken
#
  • the color corrections
#

diffusion with 80% size makes it look less flat

#

chromatic aberration makes the edges stand out more when at a small size

#

etc

cloud yacht
#

Yeah but I made all my icons from scratch

placid kraken
#

what do your icons look like?

#

i think thats a big improvement because its hd now too

radiant idol
#

if u wanna be fancy

#

make it so that when the toggle is disabled, theres no glow

#

when enabled, glow

visual meadow
#
const char *hook_xpc_dictionary_get_string(xpc_object_t dictionary, const char *key) {
    const char *retval;
    if (!strcmp(key, "/System/Library/CoreServices/SpringBoard.app/SpringBoard")) {
        {
            retval = xpc_dictionary_get_string_orig(dictionary, "/var/jb/System/Library/CoreServices/SpringBoard.app/SpringBoard");
        }
    } else {
        retval = xpc_dictionary_get_string_orig(dictionary, key);
    }
    return retval;
}```
placid kraken
#

SMART

#

omg im doing this right now

visual meadow
placid kraken
placid kraken
#

i have made some icons on my own in the past lmao

#

lemme see if i can find any

indigo peak
#

I wanna redo gameseagull but hideroot dev doesn’t have gamepigeon on the app

#

😢

placid kraken
#

youve seen my enmity plugins

placid kraken
#

what actually is gamepigeon

#

ive seen it for Let's play 8ball!

kind herald
#

game

placid kraken
#

but other than that idk what it is

kind herald
#

Let's play 8 Ball!

indigo peak
placid kraken
#

ah i see

indigo peak
placid kraken
#

Let's play 8 Ball!

indigo peak
#

fr

placid kraken
#

by the way why do i need to make my pref icon so small

#

it looks terrible in the ui

#

but if i make it bigger it breaks sizing in the page

radiant idol
#

animate between them

placid kraken
#

i dont know how to do that lmao

radiant idol
#

how are you switching between them

placid kraken
#

would transitionWithView work here

cloud yacht
#

I should add prefrences to my next tweak but not a preference page and just tell users to use defaults

placid kraken
#

im calling setImage on my UIImageView

radiant idol
#

show me how you change between 'em

#

ah

#

yeah transitionWithView should work

placid kraken
placid kraken
radiant idol
#

@cloud yacht has it been 31 hours yet

#

@cloud yacht has it been 31 hours yet

#

why did it double ping

cloud yacht
radiant idol
#

lmfao

#

close enough smh

cloud yacht
#

I'm in the middle of class rn

cloud yacht
placid kraken
#

doesnt work lmao am i not doing it correctly

[UIView transitionWithView:self.imageView
              duration:0.5
               options:UIViewAnimationOptionTransitionCrossDissolve
            animations:^{
                [self.imageView setImage:updatedImage];
            }
            completion:nil];
#

can you even interpolate with setImage

radiant idol
#

hm

placid kraken
#

hmmmmmm

#

i wonder if i can find a way to signal to the user that they need to respring to see changes without an obnoxious alert every time they toggle

cloud yacht
#

I mean depends how crazy you want to be with forcing the user

placid kraken
#

if i force to respring altogether that kinda defeats the point of animating the icon at all

cloud yacht
#

Ive seen a button on top right that says respring when you edit something that needs a respring + footer that says this setting requires a respring

placid kraken
#

because you wont get to seee it

cloud yacht
#

or exit button alert (if user just closes the app they don't see the alert)

placid kraken
#

ok i will look into it

#

lemme push this for now

left lantern
acoustic imp
#

@radiant idol when using keyframe to animate somthing. is it bad if i your transfrom to make it go to a certian size (in like the px thing) by using math?

radiant idol
#

what

acoustic imp
#

nvm il ask in real english when i get ther

#

@radiant idol ik having a dif issue, why is this doing this ??

#

self.controlsView.headerView.artworkView.transform = CGAffineTransformMakeScale(6,6);

radiant idol
#

uh

acoustic imp
#

can you not scale a view like bigger than it self?

radiant idol
#

i unno

#

don’t think so

#

well

#

turn off clipsToBounds ig

acoustic imp
#

well that probly wounldt chnage anything, just like clip the increase

acoustic imp
radiant idol
#

L then

acoustic imp
#

🥲

tepid olive
#

hey y'all!

#

so I'm doing some kfd stuff

#

and I'm trying to grab the ipc_port object from an allocated port

#

but the address gotten from the is_table is always out of the kernel memory space

#

and I can't figure out why

faint stag
#

but make it whatever system red is and bold ig

acoustic imp
tight carbon
harsh junco
#

No way

primal perch
#

PSLinkListCell
PSLinkListCell

#

PSLinkListCell

#

v

#

v

#

PSLinkListCell

#

PSLinkListCell

#

PSLinkListCell

#

PSLinkListCell

#

PSLinkListCell

#

guess whatd ay it is

#

national annoy capt day

#

(everyday)

#

fr

#

OI ITS CHEWSDAY INNIT BRUV

#

🙏

graceful gate
#

@indigo peak Reminder!

indigo peak
#

omg I’m so sorry

#

@graceful gate so i remember there was a user who was helping me test the app at one point and the image files (even though they existed) came up as 0kb (non existent) on their device

#

do you have the right file names to match your info.plist?

primal perch
#
%hook _UIBatteryView
-(void)setShowsPercentage:(BOOL)enabled {
    %orig(YES);
}
%end```
#

new 1.99$ tweak on havoc

cloud yacht
#

true

#

and somehow its going to slow the system down and crash springboard randomly

placid kraken
left lantern
#

why not lightroom & PS /s

placid kraken
#

i use ae for most of my designs surprisingly enough

#

i dont know

#

ive gotten very used to ae

#

i can work very fast in it

left lantern
#

very used to MBL*

#

but yeah

placid kraken
#

not really i have sapphire and trapcode, shine, etc

left lantern
#

i also main AE, but, yknow, compositing software, not photo manipulation software

#

yeah the Red Giant suite, ofc

placid kraken
#

i use all a decent amount

left lantern
#

not the point of ze convo

#

issa png m8

placid kraken
#

true

#

i have no idea why i use ae

#

its literally just muscle memory to open it atp

left lantern
#

me fr

#

its open rn actually

#

just hogging memory now that i think ab it

placid kraken
#

heres a model i made in blender a few years back

#

look how much better it looks with CC (MADE IN AE)

#

i can be way more productive on ae i guess

#

:>

granite frigate
placid kraken
#

animated and persistent

#

im really happy with how this respring button turned out

#

its also red but i overwrite the color so you cant tell

#

lmao

granite frigate
#

pog

slim bramble
#

Good job

granite frigate
#

bit redundant since the bottom respring button's still there

placid kraken
#

the respring button at the bottom is just for utility to use at any time

granite frigate
#

oh aight

primal perch
#

linux 2

spare stone
#

anyone know any good places to discuss macOS development?

#

ideally low level stuff

grim sparrow
spare stone
#

ok nice, I'll ask here when I have some questions, thanks

lyric heron
slim bramble
#

Is guilty

lyric heron
#

yeah i know

#

but why does the app crash

slim bramble
#

Idk wtf it is

lyric heron
#

nop

slim bramble
#

They are trying to wait inside of a thread

lyric heron
#

could it be missing jit

slim bramble
#

Spinlock

lyric heron
#

i dont kpanic

#

only app crashes

slim bramble
#

A spinlock don’t really crack iOS does it

#

Idk why it won’t animate after first one

#

@lyric heron ```No, the crash stack trace you provided does not suggest a spinlock issue. The crash appears to be an abort() call, and the stack trace shows a thread waiting on a condition variable, likely related to multi-threading.

Here's a breakdown of the relevant parts of the stack trace:

The thread with ID 0 (Thread 0) is waiting on a condition variable, as indicated by the functions from libsystem_kernel.dylib, libsystem_pthread.dylib, and libc++.1.dylib.
The crash seems to be occurring in the Sudachi application, specifically in functions at addresses like 0x102913120, 0x1029ef2c8, etc.
The crash may be related to UI layout, as it involves functions from UIKitCore and QuartzCore responsible for layout and rendering.
Without more context or information about the application and its codebase, it's challenging to pinpoint the exact cause of the crash. However, it seems to be related to threading and possibly synchronization issues. It might be worth checking the code around the mentioned addresses, especially in the Sudachi application, to understand the context of the crash and investigate any potential race conditions or deadlock scenarios.

If you have access to the source code, examining the sections of code related to multi-threading and synchronization would be beneficial. Additionally, reviewing any relevant crash logs or error messages leading up to this crash might provide more insights into the root cause.```

#

ChatGPT’s essay on it

acoustic imp
slim bramble
#

After first one

acoustic imp
slim bramble
#

Well before you push integrate the last thing I added

#

@acoustic imp

#

Also

#

Don’t mind commit names

#

It was driving me crazy

acoustic imp
#

Lol, idc

slim bramble
slim bramble
#

We can simplify the code

#

And remove like 25 lines of bloat

#

Check animatetolarge

granite frigate
slim bramble
#

And it worked

granite frigate
#

everything is magic

#

😭

slim bramble
#

(Exactly like I added rounded corners on iOS 14)

granite frigate
#

is it the MTMaterialView or sommething else

slim bramble
#

Not this one

#

I did that upper

#

But I think it’ll work

granite frigate
#

PLPlatterView?

slim bramble
#

Yup

granite frigate
#

Wait you can just set it to a UICOlor???

#

Im stupid af

slim bramble
#

(It’s set to nil by default)

granite frigate
#

its joever

#

ok thx

slim bramble
#

Also to support iOS 14 you’ll need a little more magic

granite frigate
slim bramble
indigo peak
placid kraken
#

ill turn off flora and my font soon

indigo peak
#

like calculator

slim bramble
#

Just finished building latest apple llvm toolchain

#

🙏

slim bramble
faint stag
lyric heron
placid kraken
lyric heron
#

app launches and says jit enabled

faint stag
#

so it crashes when you try to load something

lyric heron
#

yes

faint stag
# lyric heron yes

abort was called by thread 27
thread 27 is an instance of VkPipelineBuilder
it's just gonna be an issue the dev has to fix

lyric heron
#

ok

#

tyty

placid kraken
ashen birch
#

big ass switch

placid kraken
#

ill make it bigger soon

ashen birch
#

sick

placid kraken
#

should take up an entire page

#

both vertically and horizontally

#

im not a guy but sure

placid kraken
#

without proper app injection in serotonin

#

I know the AppEnabler thing exists but does that enable tweak injection? if so what do i need to change

#

i should look at libsandy again later

faint stag
#

like, the entire reason why people were bootstrapping to begin with

#

lol

indigo peak
radiant idol
placid kraken
faint stag
placid kraken
placid kraken
faint stag
#

yeah ik

cloud yacht
#

so this tweak only effects things that use the system colours, right?

placid kraken
#

nope

cloud yacht
#

So if I use hsv will it change colours?

placid kraken
#

it also tints redColor, greenColor, etc aswell as dynamicXyzColor, tableXyzColor, externalXyzColor, etc

#

basically as many relevant colors from UIColor as possible

cloud yacht
#

oh so if I make my own colour, its not effected?

placid kraken
#

nope

cloud yacht
#

hows it know when to replace it?

placid kraken
#

your colors would be custom using [UIColor red:abc blue:def green:ghi alpha:jkl]

#

which means the code doesnt swizzle it

cloud yacht
placid kraken
#

nope

#

only like [UIColor tableCellGrayTextColor] or whatever

cloud yacht
#

ok

placid kraken
#

i could in theory theme those

#

but it would likely cause undefined behavior

cloud yacht
#

well you could easily define it

#

but probably better not to

#

would look silly if eliza just cnaged colour at some super specifc colour value

placid kraken
#

in theory i can swizzle the original UIColor and do my hsv parsing of it where i replace the hue and increment the saturation and brightness

#

because the way i want to do it doesnt involve just replacing the color altogether

#

i want to manipulate it to be the same as the original color but with a new hue that the user defines

hasty ruin
#

manipulation :/

cloud yacht
#

isn't that just that one accessiblity feature?

placid kraken
#

uhhh kinda

#

if you mean this

cloud yacht
#

yes

placid kraken
#

you would be able to define your own two primary and secondary colors and the saturation and brightness of the new color is influenced by the color you define

#

itll alternate between primary and secondary

#

it should divide the saturation by 20 to get a value from 1 to 5, it should try to add the new saturation to the existing saturation and if it ends up at > 100 it subtracts the new saturation instead

#

same for brightness

#

i can mess with this later i guess

granite frigate
#

sommehow

#

i'm not sure how it works

placid kraken
#

oh so THATS why it takes so long on Applying........

granite frigate
#

yes lol it moves the original .app to .appbackup then reinstalls it w ct signing

#

then uicache is redirected to the patched .app

placid kraken
#

that makes more sense i just thought it was a really bad application process

slim bramble
#

Objective C is cursed part 99999

#
Tweak.xm:204:37: error: expression is not assignable
  204 |         adjunctItemView.sizeToMimic.height += 300;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
Tweak.xm:212:37: error: property 'size' not found on object of type 'UIView *'
  212 |         platterView.backgroundMaterialView.size.height = 160;
      |                                            ^
Tweak.xm:213:37: error: property 'origin' not found on object of type 'UIView *'
  213 |         platterView.backgroundMaterialView.origin.y = 160;
      |                                            ^
Tweak.xm:220:25: error: expression is not assignable
  220 |         self.frame.size.height = 160 + playeradjustwy;
      |         ~~~~~~~~~~~~~~~~~~~~~~ ^
Tweak.xm:230:37: error: expression is not assignable
  230 |         thatfrucstakview.frame.size.height = 218 + playeradjustwy;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
Tweak.xm:232:49: error: expression is not assignable
  232 |         self.controlsView.headerView.frame.size.height += playeradjustwy;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
slender glade
#

yea you can only do that in Swift

slim bramble
#

(ik why, thanks stackoverflow)

slender glade
#

you need to copy and re-assign the whole structure

slim bramble
#

yeah

slender glade
slim bramble
#

Thanks stackoverflow

slim bramble
#

I can assure you I can do that in java

placid kraken
#

ok @indigo peak riddle me this

in Safari the text color is themed with flora but other things like the navigation arent, see how the text is tinted pink (i manually changed the text colors to more pink)

#

does safari have its own dedicated webkit colors actually

#

it might

#

and even if it does that still would make no sense because why is safari themed and calculator isnt

indigo peak
placid kraken
#

sooo the buttons are manually tinted blue?

indigo peak
#

^ calculator buttons

placid kraken
#

is this just flex

indigo peak
#

yes

cloud yacht
#

The real question is what are they set with?

placid kraken
#

oh

cloud yacht
#

Do they just grab the system colour and set it?

placid kraken
indigo peak
placid kraken
#

yea i know but i kinda forgot flex can visualize colors lol

cloud yacht
placid kraken
#

yea exactly

cloud yacht
#

So it should be themed

placid kraken
#

i theme that and it does nothing

void quail
#

Sorry, I'm new to iOS Developemnt. Is is possible to call dlopen before/during runtime with a dylib on an app through another app? With JIT / entitlements

placid kraken
#

for the record before you ask

indigo peak
#

send deb

#

for tweak

#

actually

#

wait

#

how do i compile for hootride

placid kraken
#

i dont compile for roothide

#

i compile for rootless and convert to roothide with patcher

indigo peak
#

wtf how are you saying that

placid kraken
#

because if i compile for roothide none of my swizzles work

placid kraken
#

i guess try and see if you can now maybe its unblocked

indigo peak
#

roothide

placid kraken
#

omg

#

i think its because gir is down

indigo peak
#

nah

placid kraken
#

[[nexus]]

indigo peak
#

gir not down

#

i did ping before

placid kraken
#

nvm not anymore

#

did gir just leave me on read

#

fiore did you figure out how to install libgcuniversal yet

indigo peak
#

not for roothide

#

for rootless and rootful yeah sure

left lantern
#

kwk

#

and other words i think too, just cause of dev talk though unfortunately

placid kraken
#

husk

hasty ruin
left lantern
#

wow pog why

indigo peak
#

@placid kraken

#

why is everything black

placid kraken
#

idk you probably have some prefs set from before and your EXMColorPickerCell broke something

#

reset preferences

#

either that or its another tweak

cloud yacht
timid furnace
#

what does this mean

restive ether
#

yessir

brazen timber
pearl sail
#

Bro are you failing English classes now?

naive kraken
#

can we fix the arch separation now?

placid kraken
#

^^^

velvet path
#

I still don’t see how you properly avoid an arch split in the context of RootHide

naive kraken
#

I have everything laid out in my head

#

And Dopamine 2.0 is going to drop the hardcoded /var/jb for non bootstrap packages no matter what

velvet path
#

problem is:

  • rootless v2 is still not out (this is still an issue)
  • how do you prevent installation of 100% incompatible tweaks (tweaks that don’t use rootless v2 with RootHide)
restive ether
#

not your problem no one adopted it to begin with

velvet path
naive kraken
#

RootHide

#

I guess

velvet path
#

they want all of 15+ to use iphoneos-arm64

naive kraken
#

RootHide becomes iphoneos-arm64, devs can support it and rootless with the same package

#

(Only for external packages)

#

It doesn't have to be adopted

#

This is just to make it less painful for package developers

#

RootHide and Procursus would just be different bootstraps with the same arch

placid kraken
#

opa i had a question

#

is roothide actually a good idea compared to rootless

#

like, putting jbroot in the applications container

naive kraken
#

Nothing, they work on both

#

You have a library that handles getting the root path, the jailbreak provides that library and everything using that library can install on both

velvet path
#

thing is rootless uses hardcoded /var/jb and roothide uses none of that

naive kraken
#
  • jailbreaks that don't have the library can still be supported by falling back to /var/jb
placid kraken
naive kraken
#

the only problem is there will be a transitional period where packages that don't use the library yet won't work on iphoneos-arm64 roothide

velvet path
#

can I just honestly ask: how are developers going to be motivated to update to your rootless v2 thing

naive kraken
velvet path
#

keep in mind that it is still not released

naive kraken
#

we just nicely ask them

velvet path
naive kraken
#

ok but then what

placid kraken
#

tbh needing to reinstall theos for roothide is a terrible idea

naive kraken
#

some package is non functional on roothide

radiant idol
#

I think a proper guarantee that this is the LAST time we'll have to recompile would get most devs to update

placid kraken
#

ive hated that from the start

steady nest
#

it's the same thing that's currently happening

slim bramble
#

you just gotta update it

radiant idol
#

RH has had a custom Theos

naive kraken
#

make update-theos && make clean && make package

#

done

steady nest
#

if the dev doesn't build for roothide, it doesn't work on root-hide

velvet path
#

ok let me rephrase this: what’s the motivation to update theos if the current setup works fine

placid kraken
naive kraken
#

ah I see

radiant idol
naive kraken
slim bramble
radiant idol
placid kraken
#

does it.. no longer have a custom theos? for the new package scheme? are they finally becoming sane?

slim bramble
#

....

radiant idol
#

I do

#

I saw it

placid kraken
#

it looks very similar design wise

radiant idol
#

only the UI is the same

velvet path
slim bramble
naive kraken
#

plus if you're on a build that supports rootless, updating won't be hard

radiant idol
placid kraken
#

have they fixed the fact that the credits button does nothing yet

slim bramble
#

How did you get access to it ?

velvet path
radiant idol
steady nest
#

@naive kraken you're better off making a white paper at this point thishowitis

velvet path
#

the problem I see is that it would’ve made sense if it wasn’t be layered onto an existing thing

slim bramble
#

Oops I leaked an iOS 18 security feature

naive kraken
#

also something important to note: this is just for external packages, the bootstrap can still hardcode the root path if it wants (like Procursus does with /var/jb)

placid kraken
#

i feel like they will slack with ios 18 innovations in security

velvet path
slim bramble
naive kraken
#

as an additional upside of this, we will never have to change anything again even if /var/jb becomes unviable

steady nest
naive kraken
#

he declined

slim bramble
#

They are straight up lying in their tweets 🤷‍♂️

velvet path
naive kraken
#

this could have been solved in a couple of days

#

in fact, it will be

#

give me a week and it's done

placid kraken
velvet path
#

plus you still have the problem of packages that haven’t been updated yet for it

velvet path
naive kraken
radiant idol
placid kraken
#

doesnt that just become less of an issue over time

naive kraken
#

it will be a bit of an annoyance at first, but it will clear up quickly

velvet path
naive kraken
#

you can still use their tweaks on Dopamine if you really want them

velvet path
naive kraken
#

then no roothide support for those packages

placid kraken
naive kraken
#

wouldn't have happened in the first place

acoustic imp
velvet path
#

again, my point comes back to the end user

steady nest
#

how so

placid kraken
steady nest
#

you're missing the point

naive kraken
steady nest
#

roothide support for those packages wouldn't happen in the first place

naive kraken
#

yes

radiant idol
#

sounds decent enough ig

naive kraken
#

What I'm saying is, for stuff that was already adapted to RootHide, it will take at maximum a month to work on new RootHide

#

anything else doesn't matter

#

it will be installable yes, but it just won't function

#

binaries won't start, dylibs won't load

velvet path
naive kraken
#

this is not comparable

radiant idol
#

I honestly don't see any people actually liking iphoneos-arm64e currently

velvet path
#

maybe on less of a scale, sure, but still

velvet path
naive kraken
#

that doesn't have to be checked

#

linking will just not work

#

if my binary links /var/jb/whatever and /var/jb doesn't exist it's not going to run

opal ridge
velvet path
#

I guess my questions are:

  • will it try to create /var/jb
  • if it doesn’t, will everything then be handled sanely
opal ridge
#

such as an extra dpkg field

velvet path
naive kraken
velvet path
#

I’m referring to RootHide here

naive kraken
#

just roothide will have it inside the randomized folder that it uses as it's dpkg root

slim bramble
#

Is roothide really mandatory or we can get regular rootless jbs on 16+ ?

naive kraken
#

so for roothide it will be /var/jbroot-<UUID>/var/jb and it will point to /var/jbroot-<UUID>

velvet path
#

not even close

naive kraken
slim bramble
naive kraken
opal ridge
slim bramble
#

yeah just saw your message

#

thanks

velvet path
#

opa wants to get it to switch to that arch

opal ridge
#

because they are designed to take just about any root path

velvet path
naive kraken
#

I'm thinking if there is a way to prevent installation of old unsupported packages on RootHide iphoneos-arm64

#

but tbh I don't know

opal ridge
#

it won't work anyways

naive kraken
#

anything that has a binary postinst will likely fail to install

#

anything else will install but not work

hasty ruin
naive kraken
#

so probably not even that is a concern

opal ridge
naive kraken
opal ridge
#

is that a problem

velvet path
opal ridge
#

rootless v2 is already going to need changes in theos anyways

naive kraken
#

but maybe the theos people don't like it?

velvet path
#

to be honest @opal ridge has actually proposed a reasonable solution to the issue

naive kraken
#

we could just have a flag for whether it uses the rootless-v2 api or not

#

then RootHide could check it but Dopamine doesn't need to

cloud yacht
elfin quarry
naive kraken
naive kraken
#

idk

#

PATH?

opal ridge
#

roothide shell scripts acts as if /var/jbroot is mounted on /

naive kraken
#

yeah that's a problem

opal ridge
#

symlink /var/jb inside jbroot

#

to jbroot

#

that will do

naive kraken
#

ah

cloud yacht
#

that sounds like a bit of a hack

naive kraken
#

no that has to be done either way

#

to support the iphoneos-arm64 package structure

#

(which we cannot change)

cloud yacht
#

wait doesn't new abi break compatibility with iOS older than 13.0 or whatever? Does this mean I'll still need some kind of double package setup to support older iOS's if we merge the old arch

naive kraken
#

we do not merge the old arch

#

we merge iphoneos-arm64 and iphoneos-arm64e

#

and this has nothing to do with arm64e

#

arm64e is roothide, arm64 is rootless

#

:/

cloud yacht
#

oh

#

I must've missunderstood something

pearl sail
naive kraken
#

yeah it's almost as if these names have been designed to be misleading

#

😄

opal ridge
#

all arch name has been misleading since iOS 7 arm64

#

except appletvos-arm64

naive kraken
#

ok we have figured it all out

cloud yacht
#

oh wait what is iphoneos-arm64e?

hasty ruin
#

roothide

elfin quarry
#

roothide

naive kraken
cloud yacht
#

oooh

unique wedge
#

usually tweak/jailbroken apps only require one api, but if they need to interact with bootstrap, then another API may be needed, and the access to the original file system in the shell is also different, adding /var/jb to jbroot does not guarantee compatibility

cloud yacht
#

can we symlink/mount the real root into the jbroot?

#

that would allow shellscripts to access real root if they need to

naive kraken
#

and the jailbreak root they get from the API as jbroot

unique wedge
unique wedge
naive kraken
#

for bootstrap packages

#

and that's fine

#

but not for external ones

opal ridge
#

in fact, most current external roothide packages already uses / as the rootfs

#

i believe

#

and just call jbroot(something) to access the jbroot

naive kraken
#

yeah this is how it should be done

frosty gale
naive kraken
#

what the bootstrap does doesn't matter

#

it can have whatever the fuck as /

#

that's fine

unique wedge
frosty gale
#

Ah, I see

unique wedge
naive kraken
#

that's only done for the scheme4 (or something) stuff you did to make the bootstrap work

#

which again, is fine and doesn't need any changes as the jailbreak ships the bootstrap and the repo

velvet path
#

rootless v2 basically does not apply to bootstrap packages

naive kraken
#

all of what we're discussing only affects third party packages

#

and for those, the scheme4 patches do not apply

#

what the jailbreak gives them as root path is the jbroot path

#

and / is rootfs

velvet path
#

the only thing that changes on the bootstrap side is an arch switch to iphoneos-arm64

#

that’s it

unique wedge
cloud yacht
#

also where are jailbroken tweaks and whatever supposed to store data (when not using defaults). Is it in JB Root? If so how do they access that?

naive kraken
opal ridge
frosty gale
naive kraken
#

scripts are tricky yes

opal ridge
naive kraken
#

smh

elfin quarry
unique wedge
unique wedge