#development

1 messages · Page 503 of 1

silver rampart
#

dev role genuinely means nothing i promise u

hardy glen
#

i might start posting random shit from my projects tommorow. and ^

indigo peak
#

but i feel like i dont have to try anymore

#

bc i wanted dev role

#

thats all i wanted

#

and i got it

#

so now im loist

#

i wasnt expecting to get it so soon

#

literally 4 month ago gameseagull was dogshit

#

and i didnt know objc

silver rampart
#

just have fun and do whatever u wanna fuck with

indigo peak
#

now its still dogshit

#

and i dont know objc

hardy glen
#

^

#

just have fun with it, who gives a fuck about a discord role

#

just learn and be amazing

indigo peak
#

Perfect

hardy glen
#

you're already ahead of alot of people that want to do this but never get this far

#

so give urself a pat on the back

silver rampart
indigo peak
#

pog

#

like

#

an hour ago there was only 3

#

i like

silver rampart
#

did they hotfix an exploit in 14.7.1?

hardy glen
#

@indigo peak this was the last tweak I worked on.

#

Actually I might go back and finish my iMessage tweak I was working on

indigo peak
#

open source that bitch

hardy glen
#

I actually think about that every day

#

The source is trash

indigo peak
#

didnt you write it on mobile

hardy glen
#

It uses Swift to detect color of icon fr

#

Nah on max

#

I’ll open source it tonight

silver rampart
#

The source is trash
^

indigo peak
late ridge
#

LOLOL

#

that var name

indigo peak
#

i didnt want to bring it up myself

#

bc i cant really be talking

silver rampart
#

no i mean

silver rampart
#

a lot of source code is trash

#

see this

hardy glen
#

I don’t write any of my source code for other people to read

indigo peak
hardy glen
#

So to me it’s pretty lmao

indigo peak
#

this line is aids

silver rampart
#

at 3 am

#

when i was ravenously hungry

#

"i can make this interface name for SBIconListView whatever i want and the compiler will just go with it"

late ridge
indigo peak
#
        uint32_t newBallVal = 0x52A88F48;
        uint32_t newCueVal = 0x1E67D002;

        void *ballAddr1 = (void *)((unsigned char *)_dyld_get_image_header(0) + 0x155684);
        MSHookMemory(ballAddr1, &newBallVal, sizeof(newBallVal));
        void *cueAddr1 = (void *)((unsigned char *)_dyld_get_image_header(0) + 0x155750);
        MSHookMemory(cueAddr1, &newCueVal, sizeof(newCueVal));


        void *ballAddr2 = (void *)((unsigned char *)_dyld_get_image_header(0) + 0xCA6B0);
        MSHookMemory(ballAddr2, &newBallVal, sizeof(newBallVal));
        void *cueAddr2 = (void *)((unsigned char *)_dyld_get_image_header(0) + 0xCA77C);
        MSHookMemory(cueAddr2, &newCueVal, sizeof(newCueVal));

        void *ballAddr3 = (void *)((unsigned char *)_dyld_get_image_header(0) + 0x155684);
        MSHookMemory(ballAddr3, &newBallVal, sizeof(newBallVal));
        void *cueAddr3 = (void *)((unsigned char *)_dyld_get_image_header(0) + 0x645C8);
        MSHookMemory(cueAddr3, &newCueVal, sizeof(newCueVal));
late ridge
#

that's great

indigo peak
#

perfect source code

silver rampart
#

statusviz dumbest tweak on the planet tho

#

someone made a tweak request and i did it in like 2 hours

#

it just

#

shoves some mitsuha vizualizers in the top left corner of the notch

indigo peak
silver rampart
#

and uses libCozy to do color recognition

indigo peak
#

thats the dumbest tweak ever

#

i dont wqanna hear it

silver rampart
#

man i need to finish libcozy

indigo peak
#

there are so many springboard headers

#

i cant tell what does what

silver rampart
#

whatcha lookin for

indigo peak
#

the controller for swiping

silver rampart
#

that is very bague

indigo peak
#

like going from page to page

silver rampart
#

vague

indigo peak
#

on the homescreen

silver rampart
#

on the icon list

#

ah

indigo peak
#

and i also want to see if theres a NSMutableArray for each page

#

i doubt

#

but i hope

silver rampart
#

wdym

indigo peak
#

liek

silver rampart
#

like that contains icons?

indigo peak
#

ye

silver rampart
#

ho i wish

indigo peak
#

i think it does exist

#

wait

#

no

silver rampart
#

ok so

#

the home screen is one giant SBFolder

#

controller for it is here:

#

this has references to a ton of objects that are useful when doing springboardy stuff

indigo peak
#

hm

silver rampart
#

this is the controller for

indigo peak
#

interesting

silver rampart
#

everything?

#

as you can see from the import list it does quite a bit

indigo peak
#

only some slight importing

silver rampart
#

now so uh

#

there is a mutable dict of icons

#

but i dont think using it is gonna be quite as simple as that sounds

#

this contains that

indigo peak
#

also hm

#

im trying to remake mobius

#

for ios 14

#

since its a pretty requested tweak

silver rampart
#

step 0

indigo peak
#

but i like dont know where to start

silver rampart
#

go install flex

#

flexall from dgh0st repo

indigo peak
#

done

#

done

silver rampart
#

learn to use it

indigo peak
#

done

hardy glen
#

learning how to use flex is a game changer

#

fr

silver rampart
#

like not just learning how to click the menus and edit values but

hardy glen
#

i also have tools for flex if you want.

silver rampart
#

like getting into a flow with it

hardy glen
#

hold on

silver rampart
#

its like a debugger and a header browser combined into one

indigo peak
#

yeye

#

i fucked with it a ton with an old discord tweak i wanted to make

#

i wanted to make harmony

#

before harmony was a thing

silver rampart
#

lldb is also great but ppl never use it

hardy glen
#

I have this private tool that copied all these things to your clipboard

#

I use LLDB fr

silver rampart
#

lldb po

#

absolute game changer

indigo peak
#

i forgot to %orig in a springboard method

silver rampart
#

%hook UILabel
-(NSString *)text { return @"hello worlb";}
%end

indigo peak
#

or in discord

#

%hook YYLabel
-(NSString *)text { return @"hello worlb";}
%end

silver rampart
indigo peak
#

or smth like that

silver rampart
#

it no longer works in iOS 14

#

springboard freezes

#

sadcat

indigo peak
#

i "borrowed" some of neptas code and made this in my hotel room

hardy glen
#

If you have a mac, that tool is helpful since you can just copy everything from clipboard to your computer. I spent so much time on Logging methods and it’s smart asf. It can do shit NSStringFromSelector() and shit like that

indigo peak
#

i wanna make a tweak that hooks every springboard method

#

and doesnt %orig

silver rampart
#

hookf objc_msgSend

#

would do that

#

set the bundle filter to com.apple.UIKit no balls

hardy glen
#

Fiore, give me a class to log rq

indigo peak
#

uh

#

uh

#

springboard class?

silver rampart
#

oh one sec i have something to show off

hardy glen
#

Any

indigo peak
#

SBIconScrollView

#

that

hardy glen
#
@interface SBIconScrollView : SBIconScrollView : BSUIScrollView : UIScrollView : UIView : UIResponder : NSObject {
//Instance Variables
CGPoint _lastAnimatedScrollContentOffset;
}
//Properties
@property (nonatomic, assign, readwrite) CGPoint lastAnimatedScrollContentOffset;

//Instance Methods
- (void)setLastAnimatedScrollContentOffset:(CGPoint)arg1 ;
- (CGPoint)lastAnimatedScrollContentOffset;

//Class Methods

@end

%hook SBIconScrollView
//Log Instance Methods
- (void)setLastAnimatedScrollContentOffset:(CGPoint)arg1  {
    NSLog(@"- (void)setLastAnimatedScrollContentOffset:(CGPoint)arg1 : %@",NSStringFromCGPoint(arg1));
    %orig;
}
- (CGPoint)lastAnimatedScrollContentOffset {
    NSLog(@"orig:%@ - (CGPoint)lastAnimatedScrollContentOffset",NSStringFromCGPoint(%orig));
    return %orig;
}

//Log Class Methods

%end```
#

No code locks on phone

silver rampart
hardy glen
#

Fiore do you see, how it logs cgpoints

#

And shit like that

indigo peak
#

oh

#

ive been logging cgponts as

silver rampart
#

thats good

indigo peak
#

NSLog(@"%f, %f", arg1.x, arg1.y);

hardy glen
#

Yea it uses native objc for everything

indigo peak
#

:O

#

release eta wen

hardy glen
#

The source code is horrible though uhh

silver rampart
#

just upload it anyways

hardy glen
#

I ll release that tonight too

#

Might as well start posting random shit

silver rampart
#

lemme jb my phone so i can demo this

indigo peak
#

fancy

#

mans making mod menus for springboard fr

silver rampart
#

prints filename and line as well

indigo peak
#

aye

#

est gang

silver rampart
#

extremely useful for working on non-macos

#

cuz os_log is absolutely busted

indigo peak
#

krit is officially a cool kid

silver rampart
#

EST gang

#

gonna maybe try to add XPC to this but meh

indigo peak
#

i need some ideas for tweaks

#

how do you get your ideas

#

from requests?

silver rampart
#

i write what i want to write

indigo peak
#

or are you actually creative

#

so the second option

silver rampart
#

i say "i want my phone to do this" once in a blue moon

#

then i make it do it

#

then i upload it to github/twitter

#

alternatively you can just browse r/jailbreak /new and look for good suggestions

indigo peak
#

o yeah

#

ive looked at so many of your tweaks

#

that are open source

#

when i was learning tweak dev

silver rampart
#

my condolences

indigo peak
#

hey, it works

silver rampart
#

really wish other ppl would add their stuff to that

indigo peak
#

ETHN becoming the next krit

silver rampart
#

pog

#

maybe now ppl will stop asking me to write tweaks

#

also

#

new dev wiki style >

indigo peak
#

whats it like working with someone on a tweak

#

i dont like collaborations and i just want to know

silver rampart
#

i'm not quite done with the new theme but its close

silver rampart
undone nest
#

damn that looks clean

indigo peak
#

hi cdawg

undone nest
#

hi gm

silver rampart
#

you can enable it by logging in and selecting the new style

#

i wanted to make it default

#

but it has some mobile issues

indigo peak
silver rampart
#

seems to be a recurring thing with others as well

undone nest
#

cough dra1n

silver rampart
#

working on signe with tr1fecta was a blast tho

#

love that tweak

#

crimminally underrated

indigo peak
#

i looked at signe prefs for so long

silver rampart
#

are those the ones i worked hard on

#

outside of iconoclast prefs

indigo peak
#

ive always wanted to collab with someone

#

but i cant see it ending well

silver rampart
#

look at these frickin prefs

#

easier to see the effect it has on an OLED screen

#

the 3 big buttons are on-off toggles

#

they pop out when disabled, push in when enabled, with haptic feedback

undone nest
#

thats cool af

indigo peak
#

i just figured out how to do haptic feedback

#

what i was trying to do with ass before

silver rampart
#

and im here to tell u u are doing it wrong

#

how are u doing haptic feedback

indigo peak
#

was an idea alpha gave me

#

to make it like a sub woofer

silver rampart
#

OOH

hardy glen
#

You want to give the ass a haptic feedback

silver rampart
#

yes

#

omg

#

yes

#

i've wanted to do that for so long

indigo peak
#

wait really

#

i thought no one would download it

#

bruh

#

thats why i gave up easily

silver rampart
#

idk how well it'd end up but i wanted to try some day

indigo peak
#

well arent there only 3 settings for vibrations

undone nest
indigo peak
#

light medium and hard

indigo peak
#

true

undone nest
#

just open source it and if someone wants it they can dl and look at the source

hardy glen
#

Learn as you go

undone nest
#

might be useful some day

indigo peak
#

like Cach3d

#

i learned how to make 3d touch menu shortcuts

hardy glen
#

The most I learned was from a shitty Swift app with mem leaks. I just randomly decided I was going to make random shit for it

indigo peak
#

for a cache clearing tweak

silver rampart
hardy glen
indigo peak
undone nest
indigo peak
#

ill make it better

#

ill update the message

silver rampart
indigo peak
#

personally i dont understand the need for dragonmake

undone nest
#

i do

silver rampart
#

there's no need for it

#

i just wanted a better build system

indigo peak
#

theres no need for anything

silver rampart
#

so i went and made one

undone nest
#

its just good to have a choice

indigo peak
#

¯_(ツ)_/¯

hardy glen
#

To be fair, Dragonmake is lifetimes faster than theos. Although obviously not as stable

silver rampart
#

its a good bit more stable now thankfully

hardy glen
#

Honestly I think it has a lot of potential

silver rampart
#

thanks to lorenzo pane

#

and i sat and ironed out some old issues yesterday

silver rampart
hardy glen
#

Yup

silver rampart
#

and probably another month worth of testing/bugfixes/love and care

indigo peak
#

new instance generator

silver rampart
#

UNFORTUNATE TYPO

#

LMFAO

indigo peak
silver rampart
#

this is why we say

#

new instance creator

#

:)

indigo peak
#

[redacted]

hardy glen
#

And a growing community/contributors. It would honestly not be a bad alternative. With time it could even be something more

indigo peak
#

i also wanted to make a message "logger" for discord

silver rampart
#

bannable here

undone nest
#

wtf

silver rampart
#

ask burrit0z

undone nest
#

@ adminstrators

silver rampart
#

oops accidentally triggered their self bot again

indigo peak
#

basically see messages when they are deleted

#

and when you restart

#

it delets them

silver rampart
#

yes that's bannable here

indigo peak
#

interesitng

#

i was asking abiout it

#

and no one said no

#

so

undone nest
#

people have been banned for it

indigo peak
silver rampart
#

it falls under self botting

indigo peak
#

really?

#

on ios?

silver rampart
#

@eternal crater can u clarify this real quick

undone nest
#

it doesnt really make sense to call it selfbotting on ios but its definitely still not allowed

silver rampart
eternal crater
#

We do ban for message loggers

indigo peak
#

ok

#

i wil not make

#

dont bam pls

hardy glen
#

What about token loggers

indigo peak
#

no no, he has a point

silver rampart
#

Logging is the process of cutting, processing, and moving trees to a location for transport. It may include skidding, on-site processing, and loading of trees or logs onto trucks or skeleton cars.
Logging is the beginning of a supply chain that provides raw material for many products societies worldwide use for housing, construction, energy, an...

#

logging of any kind is not allowed as it destroys the amazon rain forest

indigo peak
#

f

hardy glen
silver rampart
#

im not clicking that

indigo peak
#

neither am i

hardy glen
silver rampart
hardy glen
#

Microshaft Winblows 98 is a 1998 interactive comedy video game for Windows and the Classic Mac OS. It parodies the then-popular Windows 98 operating system, as well as Microsoft co-founder Bill Gates. Released by Palladium Interactive during the United States v. Microsoft Corp. case and at a time when Microsoft, Windows, and Gates were easy targ...

silver rampart
#

bc most of the ppl using it aren't aware of a lot of new stuff i add to it

hardy glen
#

The os we all need

hardy glen
silver rampart
#
name: lockdown
icmd: sbreload
id: lockdown
depends: mobilesubstrate
version: 1.1.0
architecture: iphoneos-arm
description: lockdown
author: _kritanta
section: Tweaks

all:
  archs: 
  - arm64

ksecured:
  type: cli 
  codesign: ldid
  dir: ksecured 
  install_location: usr/libexec/
  entflag: -S
  entfile: ent.plist
  libs:
    - mryipc
  frameworks:
    - IOKit
  files:
    - KLockdownKeybag.m 
    - KLockdownServer.m
    - "*.mm"
  stage:
    - mkdir -p .dragon/_/Library/LaunchDaemons/
    - cp me.krit.ksecured.plist .dragon/_/Library/LaunchDaemons/me.krit.ksecured.plist

libksecure:
  type: library
  dir: libksecure
  install_location: /usr/lib/
  libs:
    - mryipc
  files:
    - KLockdownClient.m
  stage:
    - cp .dragon/_/usr/lib/libksecure.dylib ../libksecure.dylib

lockdown:
  type: tweak
  filter:
    executables:
      - SpringBoard
  libs:
    - ksecure
  frameworks:
    - SpringBoardUIServices
  files:
    - SpringBoard.x

managedconfhooks:
  type: tweak 
  filter:
    bundles:
      - "com.apple.managedconfiguration"
  libs:
    - ksecure
  files:
    - ManagedConfiguration.x

prefhooks:
  type: tweak
  filter:
    executables:
      - Preferences
  libs:
    - ksecure
  files:
    - Preferences.x
#

ugh how do i make that not take up the entire thing

#

anyways that's the DragonMake for lockdown

hardy glen
#

It seems clean, easy to understand

silver rampart
#

(which is why i've never gotten around to finishing a NIC)

indigo peak
#

new instance generator

silver rampart
#

uses about the same amount of effort for me to just write it manually

hardy glen
#

Yea but the truth is, most people are going to want a nic. I personally wouldn’t mind because I love setting shit up my self

#

Like my neovim config/tmux config, I am constantly changing it

silver rampart
#

i will say it'd be nice to at least have the control replacement portion generated by a NIC

#

bc i just copy paste these every time

#

from other tweaks

hardy glen
#

I think a good one for people is going to be, tweaks w prefs

silver rampart
#

been trying to think how i want to structure it

#

ppl are going to want theos behaviour stuff as well so

hardy glen
#

Because without any docs, I have no clue how to setup the dragonmake. But the example project helped a lot

silver rampart
#

it'd have to be able to read a DragonMake, figure out what's already in it, then add to that file

hardy glen
#

Oh btw hopefully, you like the issue structure I posted it. I didn’t know what to include so I just added as much as I could for you to debug

silver rampart
#

i can reproduce it so no issues, + its a compliation issue, so that's enough debug output

hardy glen
#

Okay nice. I thought it might’ve been an issue on my end

silver rampart
#

if you're really looking to info dump:

hardy glen
#

Got it, if I run across issues I’ll use that from now on

#

Might port one of my projects to dragon

#

For fun

silver rampart
#

vn makes ninja (the compiler stuff) print debug info, vd makes the bash script print literally every line of code it executes, vg makes the generator verbose (this is usually the one you want)

#

if you have no idea, the ddebug arg enables all 3

#

it also prints a metric shitload of information

silver rampart
#

it should work on it already

#

we just fixed some issues with makefile parsing

indigo peak
#

ok gn guys

silver rampart
#

gn

indigo peak
#

cya later

hardy glen
#

Use of undeclared indentifier ‘MSHookMemory’

#

Just tried on gameseagull lmao

silver rampart
#

oop

#

can you send gh link

hardy glen
#

Ur

#

Yea*

silver rampart
#

i'm guessing they probably dont import substrate.h or some shit

indigo peak
#

its my tweak

hardy glen
indigo peak
#

and i think i needed to import substrate

#

but i never did

hardy glen
#

Most likely

indigo peak
#

bc unc0ver

silver rampart
#

prefix.pch moment

indigo peak
#

ok now gn

#

i shlep

hardy glen
#

Yup, I imported substrate.h and it still has errors.

#

I could probably fuck with dragon all day and try to post as many issues I can find lmao

silver rampart
#

if u get bored

#

feel free

#

extremely helpful for improving the project

#

honestly as good as contributing code

#

quite a few long term issue filers that i wish got contributor roles from github

hardy glen
#

I would contribute, but I dk shit about python

#

I only feel comfortable with c++

undone nest
silver rampart
#

that was my first thought as well

hardy glen
#

Have you tried windows rg

#

I watch this guy called kitboga and he acts like a old lady using a parody windows copy and calls scammers

#

It’s the funniest shit ever

undone nest
#

nah bro id rather use this

silver rampart
#

man

#

wtf is this

hardy glen
undone nest
#

wtf

silver rampart
#

oh its

#

i needed to do an if else based on string parsing

#

and both of those things suck absolute balls in bash

hardy glen
#

Rewrite dragon in c++

silver rampart
#

so i used x = $(<expression>) where the stdout from <expression> is the value of X

#

then passed some variables to a single line python script to print one of the two variables depending on the values of one of them

silver rampart
#

I didn't like the new issues that posed so i scrapped it

#

the perk of python is it runs literally anywhere on anything

hardy glen
#

yea true, i need to start learning it asap

silver rampart
#

evaluated a ton of languages for usage in it and python was the simplest for usage cross-platform

#

what Java was trying to be

hardy glen
#

if you use neovim, try telescope.nvim and thank me

silver rampart
#

with python you just pip3 install dragon, with C, you have to hope and pray there's a precompiled available for your platform, and if not, hope your compiler is in good shape, have fun

hardy glen
#

yea thats true

#

python is the best choice for compatibility

silver rampart
#

so i have no issues working on this on arm64 WSL1

#

it would theoretically be portable to windows without WSL as well

#

i've gotten it working before, but there's no toolchain for windows

#

i also think i have it installed on my android

#

lemme check

#

i know it works in iSH

#

got it to build a tweak there iirc

#

ye

wicked summit
#

gm

indigo peak
grim sparrow
slender glade
grim sparrow
#

Yes, but you need to bundle Swift 5.6 with the app it seems

#

which can make your apps 35mb+ heavier

slender glade
#

Wait swift 5.6 exists?

#

🤨

#

I thought it was just 5.5- till now

grim sparrow
#

it looks like this is a part of 5.6

nimble parcel
grim sparrow
#

interesting

nimble parcel
grim sparrow
#

oh thats good

indigo peak
#

how are we doing on this fine morning developers?

grim sparrow
#

pain and suffering

indigo peak
#

all day everyday !

misty cradle
#

@grim sparrow hi check yet?

#

;tro

grim sparrow
#

I will beat you with a rusty spoon

indigo peak
#

can you make a tweak that simulates a touch on my screen to prevent it from locking due to being idle

#

that sums up most of the r/jailbreak request flair posts

tepid olive
#

Hey Im Juls.
At the moment I am building up a site for my repo.
I have an idea for a nice little and not to complicated tweak.
When someone wants to help me and has the time for a little fun project write me an pm. (no i will not pay u) but you will be in the credits of the tweak! You get also mod on my Discord Server(not done) and we can work together on some nice projects! And maybe you are that person

Sorry for my english, im from Germany :)

native dune
tepid olive
#

sure :)

hardy glen
#

i actually have been wanting to, ngl

indigo peak
hardy glen
#

new cod alpha wen up today LESSS GOOO

#

ready to be disappointed

indigo peak
#

geometry dash bot wen?

tepid olive
#

discord bot c lib wen?

misty cradle
#

exists

#

already

indigo peak
#

discord python library wen frcoal

tepid olive
#

powerpc asm discord bot c lib wen

hardy glen
indigo peak
#

pogger

hardy glen
#

i am not even sure if i want to add my other one since that one i wrote in like 3 nights staying up all night

indigo peak
#

best code

hardy glen
hardy glen
#

i know lmao

#

no but actually think about it, for every single icon, it allocates a bridged swift class and runs swift code

#

fr performance

#

nah i actually just write shit to get it done and never go back and fix my mistaktes

#

just wait till i put out the other project rn lmao

high citrus
#

I like that you future proof your project by adding space for 9 extra lines of code at the end of your file

hardy glen
tepid olive
#

[[app store++]]

#

[App Store ++]

tepid olive
#

Thanks

#

i was looking for the repo

indigo peak
#

repo ^

hardy glen
#

This is what it is does, with really smart logging. I tried to make it so you can choose any class and log it without having any errors.

#

It just copies to clipboard, not ideal for windows users though

#

Unless you have a way to access iPhone clipboard from windows

slender glade
#

just make a program that prints UIPasteboard.general.string

#

Should be easy

hardy glen
surreal mountain
#

hey @naive kraken, is there a way to disable notifications from inactive containers on crane

surreal mountain
#

in my case i have two containers for discord one with each account and don’t want notis from the inactive account

#

ah sad

naive kraken
#

propert notification support is planned for 1.2

surreal mountain
#

W

indigo peak
#

is there a way to get these values programmatically?

high citrus
indigo peak
#

theme

high citrus
#

Ah that makes sense

indigo peak
#

kindaStock

#

thats the themes depiction ss

high citrus
indigo peak
#

yeah its kindaThicc

#

mine used to be like that

#

but now mines like that

high citrus
#

Smol clock

#

Is there a way to keep the other icons, but revert the clock to stock?

indigo peak
#

remove the clock png file from the .theme folder

high citrus
#

Hmm yeah that’s probably one way to do it

indigo peak
#

/Library/Themes/kindaStock.theme/Bundles/com.apple.springboard

high citrus
#

It does look correct in the iconbundle png btw

indigo peak
#

its borked for me

#

for clock

restive ether
#

clock and calendar have odd properties

#

especially in 14

rain falcon
#

nfr

tepid olive
#

you have odd properties

#

@tepid olive so do you trol

surreal mountain
#

man

#

fuck discord

indigo peak
#

fuck discord

tepid olive
#

Fuck discord chain

neat escarp
#

fuck discord

tepid olive
#

fuck discord

ashen birch
#

fuck discord

grim sparrow
#

fuck discord

haughty bear
#

i fuck discord

twilit jungle
tepid olive
#

@relative

#

When I was 12 my vision changed from 20/20 to 20/50 in a few months. I didn't even realize the world got blurry at first. I got glasses but hated them and only wore them in class. When I was 16, I got contacts, saw leaves in trees clearly, & thought: Wow it's OpenGL, like Quake2!

tepid olive
#

lol

warm cipher
#

gae

haughty bear
#

haha

hexed bolt
#

Hi, can I have some help?

TLDR: How can one properly update objects in Cephei/HBPreferences (setObject does not work for me?)

I'm developing a tweak that modifies reported telemetry of an app, by user-set values.
I'm currently trying to add default values that would equal to what app sends by-default (w/o tweak intervention), yet display them in Preferences.
Minimal example of my code:

#import <Cephei/HBPreferences.h>

NSString *device_id;

HBPreferences *preferences;

%ctor {
    preferences = [[HBPreferences alloc] initWithIdentifier:@"ru.mostmodest.uberpatchpreferences"];
    [preferences registerObject:&device_id default:NULL forKey:@"device_id"];
}

%hook ExampleClass
+(id)deviceId {
    NSLog(@"Current value of device_id: %@", device_id);
    if (device_id != NULL) {
        NSLog(@"Returning user-set value for device_id.");
        return device_id;
    } else {
        NSLog(@"Updating device_id value...");
        NSString *original_device_id = %orig;
        NSString *new_instance_of_device_id = [[NSString alloc] initWithString:original_device_id];
        preferences[@"device_id"] = new_instance_of_device_id;
        device_id = new_instance_of_device_id;
        NSLog(@"Set device_id to %@", device_id);
        return device_id;
    }
}
%end

What I would expect from this code in Console.app:

Current value of device_id: (null)
Updating device_id value...
Set device_id to (some new value)
Current value of device_id: (some new value)
Returning user-set value for device_id.

What I see instead:

Current value of device_id: (null)
Updating device_id value...
Set device_id to (some new value)
Current value of device_id: (null)
Updating device_id value...
Set device_id to (some new value)
``` (nor did changes apply to `plist` stored in `Preferences`)
https://i.imgur.com/fKCiVBd.png

I tried creating new instance of `NSString` for copying to `HBPreferences` (as you can see in example), and using `forKeyedSubscript:` syntax of `setObject:`
hardy glen
hexed bolt
twilit jungle
#

but like why?

indigo peak
#

why not

#

how are you doing dgh0st

twilit jungle
#

Whats the gain of wasting storage space for a default value?

indigo peak
twilit jungle
#

I am doing the same as I was doing yesterday

tepid olive
indigo peak
tepid olive
#

one advantage could be that you could change the default later on without unexpectedly changing it for existing users who had explicitly set it

indigo peak
#

i dont recall asking how you felt yesterday

misty cradle
#

the same as the day before yesterday

twilit jungle
indigo peak
#

:(

misty cradle
#

its ok dgh0st is an enigma

#

he never talks about how he feels

twilit jungle
misty cradle
#

but soon we will find out

#

just a little bit of emoji conversion therapy

hexed bolt
twilit jungle
#

Also its just a few bytes is the dumbest thing ever, its just a few bytes for what a thousand prefs?

surreal abyss
#

really hope I'm just being dumb, but when I specified -framework UIKit in my CFLAGS in the Makefile, I get the following:

error: -framework UIKit: 'linker' input unused

do I need to specify a path? because whenever I try and find information about it, all they suggest are include dirs and such

twilit jungle
#

If you are using Theos then you can just specify <project name>_FRAMEWORKS = UIKit and which then should take care of specifying the framework flag during compiling and linking

surreal abyss
#

give me a second

twilit jungle
#

Also that sounds like its the last error, in which case you should always look at the first one as fixing the first one could potentially fix the later ones.

surreal abyss
#

now it complains not finding an -lUIKit, also it was the only error I got when compiling everything

#

well the package

twilit jungle
#

Show the full error output

surreal abyss
#
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/var/mobile/theos/makefiles/instance/library.mk:52: /var/mobile/Documents/Development/drawing/.theos/obj/debug/arm64/Drawing.dylib] Error 1
make[2]: *** [/var/mobile/theos/makefiles/instance/library.mk:52: /var/mobile/Documents/Development/drawing/.theos/obj/debug/arm64/Drawing.dylib] Error 2
make[1]: *** [/var/mobile/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2
make: *** [/var/mobile/theos/makefiles/master/rules.mk:117: Drawing.all.tweak.variables] Error 2```
twilit jungle
#

Do you have an SDK?

surreal abyss
#

yes

twilit jungle
#

Does the SDK have UIKit?

surreal abyss
#

let me check

#

yeah it does have UIKit, thought it was private at first

#

i got it from theos/sdks

twilit jungle
#

Wait why are you using clang 5?

#

Thats really old

surreal abyss
#

PeepoSlippy i just realized i was as well

hardy glen
#

lesson learned, do not argue with dgh0stfr

#

just got done reading the chat lmao

twilit jungle
surreal abyss
#

i have the one from bigboss

indigo peak
#

i dont like to talk to dgh0st

#

he makes me feel dumb

twilit jungle
#

F

surreal abyss
twilit jungle
#

There should be newer version of clang on procursus or sbingner repo

surreal abyss
#

do i get rid of the one from bigboss then and then get the new one?

twilit jungle
#

Wasn't the official theos guide updated to reflect the new repos?

surreal abyss
#

let me recheck: but i think so

indigo peak
#

i dont think so

#

iirc

#

my friend was installing theos from the guide and i think it wasnt up to date

surreal abyss
#

it was updated recently tho

indigo peak
#

last update was jul 19

#

i had to give him a proper toolchain

#

since this one was broken

surreal abyss
#

ohh

twilit jungle
#

Well there is atleast an issue that mentions it

surreal abyss
#

didnt even notice it was out of date

late ridge
#

finally decided to buy le C bible

#

didn't realize how thin it was

surreal abyss
#

peepoLove my friend you have walked into a world of greatness

restive ether
late ridge
#

yw

surreal abyss
grizzled gulch
#

Anyone know how to properply use decache in js for testing purpose ?

pliant fossil
#

it's a dependency of the Theos Dependencies metapackage

gusty pelican
#

good vim plugin for hex code color highlighting?

lyric trail
#

ayo. does anyone have the UIKit.h file from their theos/vendor/include/UIKit install? I am apparently missing it and idk where to get it

indigo peak
#

i dont see that file

lyric trail
# indigo peak i dont see that file

dammit. I received source of a tweak that is discontinued from the original dev and I no longer have contact with them. and I am getting errors when compiling saying that file is not found

indigo peak
#

is the source on github?

haughty tulip
#

I’ll try compiling

lyric trail
#

no, it is not. but I can put it up

haughty tulip
#

Nah don’t

#

You need permission from them probably

twilit jungle
#

UIKit.h should be in your sdk

#

If you specify the UIKit framework in Makefile then it should be including the correct path for it to find that header file and be able to link it correctly.

hardy glen
#

Just found gnu stow and it’s amazing for managing dotfiles… can’t believe I didn’t hear about it sooner

surreal mountain
#

how do i get an ipa of an app i can’t see bc of region lock

#

or just install it

faint timber
#

@surreal mountain opa's tweak

surreal mountain
#

thanks that’s a good description

surreal abyss
surreal mountain
#

did you put it in libraries

surreal abyss
#

yes

surreal mountain
#

or frameworks

#

it should be in frameworks

surreal abyss
#

if i were to put it in libraries as well is it libraries or library

#

like NAME_LIBRARY or NAME_LIBRARIES

surreal mountain
#

the latter

#

but it should be in NAME_FRAMEWORKS

surreal abyss
#

yeah i do have it in there

#

my sdk does have uikit

surreal mountain
#

make clean

surreal abyss
#

what does that do again

#

my brain isnt working frpensive

faint timber
#

@surreal mountain im not sure if its out yet but its supposed to be part of crane

surreal abyss
#

nope didnt work

surreal mountain
faint timber
#

but it had region spoof

hexed bolt
#

actually ldrestart fixed it

#

have no idea why though

#

well at least now user has an option to revert to default settings through ldrestart and opening an app

faint timber
#

ldrestart is for normies

#

chads reboot userspace

grim sparrow
#

that is the dumbest idea ever

indigo peak
#

UIDevicetrol

grim sparrow
#

What info do you need and why

indigo peak
#

so? you gonna say what info you need or no?

surreal mountain
#

prob uuid LMFAO

indigo peak
#

true

#

also looking at MobileGestalt

#

would they actually have to "hook" it

#

what is the "somem else"

tepid olive
#

i need something else man can you help me find that or nah bro i really can’t find it

indigo peak
#

oh yeah all you have to do is this

#

and there you have it

#

ez

#

bro

#

what are you trying to get

#

oh my

tepid olive
indigo peak
#

just answer the question

#

NSString* identifier = [[[UIDevice currentDevice] identifierForVendor] UUIDString];

#

idk if that actually works

#

oh wait

#

im dumb

#

you can try messing with NSProcessInfo

#

maybe

#

[[NSProcessInfo processInfo] processName] shows the app name

#
%hook SBStatusBarManager

-(void)handleStatusBarTapWithEvent:(id)arg0 {
    NSLog(@"TESTTWEAK %@", [[NSProcessInfo processInfo] processName]);
    %orig;
}

%end
#

sudo oslog | grep TESTTWEAK

#
Aug 29 11:55:54 iPhone SpringBoard[7936] <Notice>: TESTTWEAK SpringBoard
Aug 29 11:55:54 iPhone SpringBoard[7936] <Notice>: TESTTWEAK SpringBoard
Aug 29 11:55:55 iPhone SpringBoard[7936] <Notice>: TESTTWEAK SpringBoard
Aug 29 11:55:55 iPhone SpringBoard[7936] <Notice>: TESTTWEAK SpringBoard
Aug 29 11:55:56 iPhone SpringBoard[7936] <Notice>: TESTTWEAK SpringBoard
#

since handleStatusBarTapWithEvent only works in the SpringBoard, youll only be able to test on the home screen

indigo peak
#

maybe i will

surreal abyss
#

am I being dumb by getting so many _objc_release/msgSend/getClass errors sad

indigo peak
#

well it depends, what are you doing to get the errors

surreal abyss
#

was following some github repository about displaying an ip at the top of the status bar for funsies: https://github.com/sferrini/StatusBarIp

copied everything and such and had to modify it a tiny bit (cause it couldnt find certain methods on the above interfaces) but now its just so much objc stuff

GitHub

An iOS tweak that shows your IP address on the status bar. - GitHub - sferrini/StatusBarIp: An iOS tweak that shows your IP address on the status bar.

indigo peak
#

i was able to compile perfectly fine

#

but it doesnt do what its suposed to on my device

surreal abyss
#

hm

#

let me try again or something and ill come back if i got anything new feelsthinkingman

indigo peak
#

alr

surreal abyss
#

yep absolutely nothing has changed: i think i might've done something wrong because these objc errors and stuff have been appearing whenever i do some other framework even if it wasnt this project

#

like its been happening before

#

idk what im doing wrong frcoal

velvet laurel
indigo peak
#

hello attic

#

thank you amy

#

very cool

velvet laurel
surreal abyss
# indigo peak alr

nvm: redid everything from theos to sdk and now it's compiling thanks btw fr

grim sparrow
indigo peak
indigo peak
#

glad you figured it out

surreal abyss
#

you learn something new everyday PES_EvilRondo

indigo peak
surreal abyss
#

and yet its still not showing up but it compiled so im happy

indigo peak
#

yeah the github was last updated 7 years ago

#

so the methods and the hooks are probably outdated

surreal abyss
#

oof

#

ill see if i can find another one maybe

#

thanks for your help tho

indigo peak
#

or you could learn how to write tweaks

#

and make your own

surreal abyss
#

true

#

gonna try that now since apparently everything just stopped going to crap

indigo peak
grim sparrow
#

I can't reproduce it myself, seems to only happen on a small number of devices

#

That is example is on Checkra1n iPhone 6s iOS 14.4.1 substitute

#

theres a thing called entitlements and sandbox in your way

faint timber
#

get the output of dlerror bozo

#

tfw you try to sell a product without even knowing how iOS works...

restive ether
#

good start

restive ether
faint timber
#

at least those people make valid products instead of cheating a video game @restive ether

restive ether
#

i figured but i wasn’t sure

faint timber
#

@restive ether read his profile

indigo peak
restive ether
#

lmao

#

L

faint timber
#

game modding is fun, cheating is just...

indigo peak
faint timber
indigo peak
faint timber
#

I know im just trolling

faint timber
indigo peak
misty cradle
#

how to write to /Library/Application Support/Akara

#

i have no perms apparently

#

someone else wrote to /Library/Application Support/ before

faint timber
#

it pisses me off that devs don't use the same paths

#

like app support is awesome

#

then some mfs drop shit in library root

#

like mf u had one job

misty cradle
#

true

#

but how to make my folder writable

twilit jungle
#

You are implying tweak devs know what they are doing

misty cradle
twilit jungle
#

and not just copying someone else's code

misty cradle
#

root just to write one file

misty cradle
twilit jungle
misty cradle
#

dgh0st github so much good shit in

#

u can find solution for everything

faint timber
misty cradle
#

is this a good idea

#

to change the ownership and perms of it

misty cradle
grim sparrow
faint timber
#

the last game hacker turned into a furry

misty cradle
faint timber
#

yes

#

501:501 is iOS default

misty cradle
#

ok how do i set this shit

#

i forget

#

chown and chmod

#

right

faint timber
#

chown -R 501:501
chmod -R 0644

misty cradle
#

i can do this on my mac right

grim sparrow
#

wait

#

so

misty cradle
#

or does it have to be done on device

grim sparrow
#

could it be that issue you had

faint timber
#

@misty cradle prob need fakeroot for mac

misty cradle
#

what if i do it in my postinst

#

on device

grim sparrow
#

then ur cringe

faint timber
#

hayden will murder u but go ahead

misty cradle
#

troll

#

@tepid olive

#

give solution

#

chown -R 501:501
chmod -R 0644

faint timber
#

FAKEROOT

misty cradle
#

how tf does that work

#

mf acts like i know

#

this the first tweak i make since like august 2020

faint timber
#

I don't know myself lol

misty cradle
faint timber
#

everyone hyped about kanye but im overhere jammin weezer TrollFront

grim sparrow
#

where you didn't init things and it didn't work

#

ok lemme try that

#

yaeh i remember

tepid olive
#

I think packix does but not sure

misty cradle
faint timber
#

what bozo thought that was a good idea

misty cradle
#

mine goin on chariz

#

probably

restive ether
#

in signal

indigo peak
grim sparrow
misty cradle
#

f

restive ether
misty cradle
restive ether
#

why do you think bird poop is on twickd

indigo peak
#

¯_(ツ)_/¯

#

would packix deny too

restive ether
#

because no one is dumb enough to accept a tweak like that

misty cradle
indigo peak
#

woe

faint timber
#

everyone is the genius bars be like: asks a question, ghosts us then asks the question again the next day...

restive ether
#

twickd is the only ones who would take a tweak like that

grim sparrow
faint timber
#

why are these mfs so fucking stupid

grim sparrow
#

I told aaron about the problem

#

and

#

andy said

#

iirc this is a direct quote

grim sparrow
#

"No we don't, stop lying"

misty cradle
indigo peak
#

i wanted to not have my tweak on twickd

#

but oh well

#

guess im still not using a repo

restive ether
#

have fun with that poison

grim sparrow
#

don't use twickd

restive ether
twilit jungle
#

Its more like radiation than poison

grim sparrow
#

OMG

indigo peak
#

im not gonna use a repo

grim sparrow
#

WHAT

indigo peak
#

like i have been

grim sparrow
#

THEY SAID IT WOULD BE REMOVED LIKE 3 WEEKS AGO

restive ether
#

twickd is on top of things

misty cradle
#

@spice talon

#

nice package bro

indigo peak
#

honestly i think its better if my tweak isnt on a repo

grim sparrow
#

oh

#

it basically just copies an updated version of apt get

#

which fixed sileo a year ago

#

and i asked twickd to remove it

#

because its stupid

#

and they said they would

#

3+ weeks ago

misty cradle
#

fr

#

really a year old

#

im Tr1 "Kanye" Fecta

#

Sentro releasing in 2022

surreal mountain
#

pov you cant accept that donda is mid

grim sparrow
misty cradle
surreal mountain
#

correct

misty cradle
#

L take

#
  • ratio
faint timber
#

pov white people
xcode.app

misty cradle
#

@faint timber still same error

#

after setting perms

faint timber
#

whats the error

#

didn't see

grim sparrow
#

what is error

misty cradle
#

Error Domain=NSCocoaErrorDomain Code=513 "Je hebt geen bevoegdheden om het bestand 'MY FILE' in de map 'Akara' te bewaren." UserInfo={NSFilePath=/Library/Application Support/Akara/MY FILE, NSUnderlyingError=0x282fa6d30 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}

#

you have no perms to save my file in the map akara

faint timber
#

644 might be bad

misty cradle
#

f

faint timber
#

try 00755

grim sparrow
misty cradle
#

idk should i

grim sparrow
#

thats what I use, but other

misty cradle
#

my files are all in /Library/Application Support/Akara

#

00755

#

these r the files

grim sparrow
#

it works fine on my machine™️

#

is it a symlink?

misty cradle
#

dont think so

misty cradle
#

definitely not

grim sparrow
#

capt wat r u sayin

misty cradle
#

ty

faint timber
#

I hate how easy it is to forget how perms work

twilit jungle
misty cradle
#

@wicked scarab @lethal ice

#

f wrong shep

indigo peak
#

wym wrong shep

#

there is no right shep

misty cradle
indigo peak
#

😢

misty cradle
#

@twilit jungle

indigo peak
twilit jungle
lethal ice
#

i miss the old shep pic

#

sad charmander

misty cradle
surreal mountain
tepid olive
indigo peak
twilit jungle
lethal ice
indigo peak
#

rip evelyn

#

sad oshawott

grim sparrow
#

He said removing tweakreviewsdb fixed it

#

but it happened on another device without it installed

#

installing the tweak doesn't cause the issue on my end

#

oh nvm it does

#

so it looks like its caused by substitute trying to inject tweaks into giveMeRoot which causes issues

#

tweakreviewsdb filter just has sileos bundle ID

#

so am i correct in thinking that tweakreviewsdb will inject into anything posix_spawn'd by sileo on substitute nfr

faint timber
#

we've been lied to?

misty cradle
#

@grave sparrow false

#

iOS 15 many bugs

indigo peak
#

@misty cradle true

misty cradle
#

Monterey I barely hear shit

#

Does anyone even have it installed??

#

Big Sur I heard everyone talk about

#

Monterey completely silence

wicked summit
#

Monterey beta has been leaps and bounds better than Big Sur beta

tepid olive
#

Just downloading Big Sur on my 2010macbook

upbeat wyvern
#

tried injecting tetherme to it and that didn't break, gotta track down this one lol

#

huh still can't duplicate that's odd

iX-15b2:~ mobile$ sileoroot /bin/bash
2021-08-30 08:54:31.262 sileoroot[5082:2603947] [TweakReviewsDB] Couldn't detect package manager. Not loading.
iX-15b2:~ root# 
#

better try on 14 lol

drifting dust
#

i used azule to inject

#

tried with both a dylib extracted from the ipa on the tiktok site, and a dylib from the deb

upbeat wyvern
#

@grim sparrow looks like I better push out this update, didn't think I'd fixed anything that would have caused this but I guess I have lol...

#

not sure why it was crashing but whatever it is I've already fixed 😐

grim sparrow
#

That’s great

#

Ty

weary heath
drifting dust
#

A13, no access to mac

drifting dust
grim sparrow
#

Yeah that’s quite interesting actually

weary heath
drifting dust
#

oop

#

well i use a signing service with personal ipa uploads

drifting dust
weary heath
#

Yeah worth a shot

drifting dust
#

thanks i will

#

and i am

weary heath
#

That service isn’t the worst

#

I’d use it if I were jailed probably

drifting dust
#

also i didn't ask, also i'm jailed, also it's one of the only ones that i know of, also it works just fine

weary heath
#

Someone here said whatever way it signs apps that notifications work with them

drifting dust
#

they do