#development

1 messages Ā· Page 541 of 1

untold river
#

python deez nutz

gentle grove
#

ecobee supports home assistant out of the box

lime pivot
#

by Clipsal, Schneider Electric's Australian arm

gentle grove
#

Homekit rather

lime pivot
#

all the switches in the house are digital and can be reprogrammed even to turn on something on the other side of the house

#

that's about where the good stuff ends, the rest of it is absolutely cursed

gentle grove
#

mmmmm I remember years ago when I used yo use homekit and homevridge

#

It was great

silver rampart
gentle grove
#

I can probably do that if I want in home assistant

lime pivot
gentle grove
#

Brb

silver rampart
#

no that's from my living room

#

I just don't turn the lights on in there bc it's 2 am and I'm fairly drunk

lime pivot
#

lmao

#

fair

#

my favorite part of this system is the only way to hook it up to a network is to run a USB Type-B cable from the box to a PC running a Java server called C-Gate

silver rampart
#

lmao are your fuckin light switches vulnerable to log4j

lime pivot
#

they've also pretty much given up on this product despite that it's still (disappointingly) unique

lime pivot
silver rampart
#

lol

untold river
lime pivot
#

reminds me of when heartbleed happened (that's going back a while now, yikes) and saurik's openssl was never vulnerable because it was still v0.9 or something

silver rampart
#

lmfaoo

lime pivot
#

and it was introduced in 1.1

untold river
#

oh wait

#

kek

lime pivot
#

what was the name of that class

#

JndiLoader?

#

gonna do a grep real quick

untold river
#

can't be vulnerable if your software is too old troll

lime pivot
#

JndiLookup

#

I was close

#

naturally, it's also closed-source, you just get the .jar

#

so if it's vulnerable I don't think I'll ever be getting a fix

untold river
silver rampart
#

who uses BSD in current year

untold river
#

cameron

lime pivot
#

yeah that might be because everyone went wait fuck we're not funding this project we all depend on?!?!?!????

untold river
#

he uses freebsd apparently

silver rampart
#

why

lime pivot
#

then openssl got all the investment money and libressl got nothing

pearl sail
#

People who have pfsense

untold river
silver rampart
#

doubt he knows either

restive ether
#

cameron likes bsd tools more than GNU

lime pivot
silver rampart
#

why

restive ether
#

because he does why don’t you ask him

silver rampart
#

bsd tools are shit

untold river
restive ether
#

idk bsd doesn’t have Stallman

#

i guess that’s something

lime pivot
#

^

#

good news friends

restive ether
#

@ocean raptor why you using bsd dog

#

@lime pivot wanna make theos support Haiku bro

lime pivot
#

just for fun, yes it has log4j 1.x

lime pivot
restive ether
#

!

pearl sail
lime pivot
#

you don't make an account with anyone

restive ether
#

oh boy can’t wait to use theos on airyxOS

lime pivot
#

unless you want cloud access to your control panel

pearl sail
#

I would imagine most would want that

#

Either way a choice

#

Not forced

lime pivot
#

I have VPN set up on mine so worst case, I can VPN in from my phone and use the mobile app

restive ether
#

šŸŽ‰šŸŽ‰2 days of solid hacking šŸ‘©šŸ»ā€šŸ’»later, my MachO #ObjectiveC test is now working on #airyxOS! āœŒļø

ICYMI: the test is 'NSLog(@"a string")' built on Big Sur and copied over, where it runs with purely #opensource code. ā¤ļø

lime pivot
#

app supports controllers on the LAN as well as through their cloud service

lime pivot
#

like fascinated by the work they've done, but wew boy

#

GNUstep

#

that shit's crusty af

restive ether
#

hopefully they find some better way to do that in the future

lime pivot
#

internet of things = internet of shit

untold river
pearl sail
#

Pfsense does have a lot great support for being FOSS based it is a little clunky and I will admit that ubiquiti does have a better user experience for the most part

lime pivot
#

mind you, we also purchased what was supposed to be a remote control box, which if I think the main C-Bus system is used by about 5 people, this box must be used by like 2 people

#

it runs Android 4.0 from 2012, compiled as a debug build with root access enabled, on an extremely low-end TI dev board

untold river
#

kek

lime pivot
#

you can literally plug in a mini usb (yeah I had to rummage around to find one of those lmao) and adb shell

#

and it drops you at a root# shell

#

this is about as cursed as my Sony Alpha camera running Android 2.0 on what feels like a binned SOC that otherwise would have gone in a low-end Sony Android phone

#

in 2011

untold river
#

3 billion devices run java, probably 2 billion of these are android

restive ether
#

god i sure do love my lack of optimizations on android

lime pivot
hardy glen
#

Ah i remember deodexing my android

restive ether
#

optimization is when i clear the app cache

lime pivot
#

optimisation is when you flick up all the apps in the switcher and then immediately reopen them

restive ether
#

and clear everything from my multitask becusse two apps are using 4gigs

hardy glen
#

We don’t need safe mode we got recovery

lime pivot
#

man, you know

restive ether
#

oh i bricked the phone? i didn’t need it anyways

lime pivot
#

current Samsung flagships have 12-16GB RAM

#

16 on the higher end models

restive ether
#

are they that high now

untold river
restive ether
#

that’s more than most consumer laptops

lime pivot
#

yet I bet owners of those phones still kill apps as if they're still in desperate need of more RAM

restive ether
#

šŸ’€

restive ether
lime pivot
#

my Note 10+ is 12GB (the higher end spec of that gen) and I can literally go days without using an app, I reopen it and it's back in action instantly

restive ether
#

lotta RAM for a bomb

lime pivot
#

if you flick away your apps all the time that's an amazing experience you're missing out on

untold river
#

isnt the bomb note 7

lime pivot
#

lmao yeah that's a few generations ago

#

as obnoxious as 12GB is on a phone, I mean if they're putting it in, sure, I'll take it

restive ether
#

can’t imagine how toasty those phones must get if the ram is getting used

lime pivot
#

no friggin clue

#

it's still all-day battery life

restive ether
#

what does the 13 have, 4?

#

3?

untold river
#

considering android is still in a specs race

lime pivot
#

3GB was X

restive ether
#

oh are we up to 6 these days

#

that’s crazy man

untold river
#

i think 13 is 4

lime pivot
#

and honestly I bet that was only 3GB because it was while the DRAM price fixing was still going on

restive ether
#

i thought the base 13 was 4

lime pivot
#

so that was the best balance of capacity and price at the time

#

then they started incrementing it when prices fell

restive ether
#

wait we have a chart somewhere

#

where is it

untold river
faint lionBOT
#
All tags
taurineerrors

Added by: Tanbeer#4750
Used 29 times

taurineuntether

Added by: stkc#6525
Used 1 times
Has image attachment

tvreboot

Added by: Black Swordsman#2802
Used 2 times

tweaklist

Added by: JTV#5846
Used 296 times

unc0vermoment

Added by: cameren#0420
Used 457 times

unsigned

Added by: eric#1997
Used 126 times

untrusted

Added by: toilet cat#6525
Used 27 times
Has image attachment

usbc

Added by: stkc#8018
Used 111 times
Has image attachment

usbcmoment

Added by: Cryptic#6293
Used 11 times
Has image attachment

whyjbtv

Added by: Rick.#7777
Used 75 times

xen

Added by: Rick.#1519
Used 15 times

yt

Added by: toilet cat#8018
Used 1161 times

untold river
#

and 4 on 13 (mini)

restive ether
#

idk where the chart is

#

it’s somewhere

untold river
lime pivot
#

13 - 4GB
13 Pro - 6GB

restive ether
#

from 2 neural cores to 8 to 16

#

lol

lime pivot
#

13 mini - 4GB
13 Pro Max - 6GB

lime pivot
#

4s is really still supported? wow

untold river
#

who's anonymous alligator

restive ether
#

6 gigs on a flagship iphone vs 16 on one of the most popular android devices

lime pivot
#

is this current??

lime pivot
untold river
lime pivot
#

yes

restive ether
#

i’m on safari in private browsing

#

so i don’t think it’s me

lime pivot
#

it should still show you even in private mode

restive ether
#

L

lime pivot
#

I might have to steal some of this spreadsheet

#

to make sure I got my big firmware table right in chariz

#

130 lines of this

faint lionBOT
restive ether
#

also this

lime pivot
#

1 array item for devices still in support, 2 for ones out of support

#

and at some point I need to add Macs there too

#

currently only iPhone 5 and up

gentle grove
#

I should count how many of our smart home devices actually use wifi

#

its probably a low percentage

lime pivot
gentle grove
#

wtf WiFi oven??

#

our cameras have WiFi since getting Ethernet to them would be a pain, but I added firewall rules blocking them from initiating any connection to anything

lime pivot
#

good call

gentle grove
#

I might further limit it so nothing can connect to them on anything except the rtsp port

lime pivot
#

I need to really toughen up our firewall rules

gentle grove
#

and I can temporarily disable the rule to change settings I guess

#

not much I can do firewall wise about our ecobee and roomba though

indigo peak
#

Krit too op

#

Pls nerf

#

@silver rampart thank you for making the entire tweak for me

#

this was truly a learning experience

pearl sail
#

Copying truly be teaching the youth

ocean raptor
#

It's also the most complete open source Foundation implementation

ocean raptor
ocean raptor
# silver rampart why
  1. It has everything I need
  2. I like the tooling, not many stupid long options
  3. It's something I can actually contribute to
  4. GPL sucks
lime pivot
#

they took all they could from GNUstep and some other more obscure project I forget the name of

#

and actually got pretty good compatibility, where it sucked was more in UIKit and all the other high-level frameworks

ocean raptor
#

All that it's using from gnustep is libobjc2 right now

lime pivot
ocean raptor
#

And cocoatron for foundation

lime pivot
#

ah Cocoatron is what I was thinking of

ocean raptor
#

Cocoatron has very little

#

Don't even have NSUserDefaults

lime pivot
#

yeah they really only used it as a "well we have to start somewhere"

#

by the end I think they only achieved perfect compatibility with iPhone OS 3.2 or something

#

newer APIs were there, just a lot was missing and it was mostly companies asking Microsoft "hey we need this, can you implement this"

ocean raptor
#

They are thinking about switching to apple's objc4, cause gnustep libobjc2 has a different return struct for some objc_ funcs

lime pivot
#

ick

#

I see no reason not to use objc4

#

they'll just be in for more hurt as they continue trying to achieve parity with modern features

ocean raptor
#

I think they are going to

lime pivot
#

especially swift which has a lot of special just-for-swift functions in libobjc

ocean raptor
#

They haven't even touched swift binaries yet

lime pivot
#

yeah they shouldn't yet hah

ocean raptor
#

Does winobjc have a libobjc?

lime pivot
#

it should do

#

of course it's not intended to have binary compatibility

ocean raptor
#

Im send it to the aiyxOS dev cause it seems very complete

ocean raptor
lime pivot
#

the way you port to Windows is mostly importing an xcodeproj into Visual Studio, which creates a clang-based VS project with the clang flags needed

#

yeah

#

so without actually trying it (probably need like VS 2018 or something at this point) hard to know how exactly it links the binaries

#

but presumably clang itself is just stock clang

#

(VS does ship clang as an optional addon)

lime pivot
ocean raptor
#

macOS, not iOS

lime pivot
#

macOS 10.14*

ocean raptor
#

Probably won't have Siri KEKW

lime pivot
#

would be hilariously cool to hackintosh real macOS on top of a completely FOSS impl of the frameworks

#

just wouldn't have working iMessage/FaceTime or FairPlay, could still get lucky on that though

ocean raptor
#

Still won't be able to watch Netflix KEKW

#

Actually

#

The macOS build of the drm may work...

lime pivot
#

honestly Widevine doesn't seem to really check that much about the host environment

tepid olive
#

this is probably the future of hackintoshing

lime pivot
#

it's more like a black box that somewhere deep within contains the magic keys

weary heath
#

Widevine is relatively easy to crack compared to FairPlay

misty cradle
#

Damn Thats Crazy

undone nest
ocean raptor
tepid olive
#

im thinking about coding as a full time job next year, as i have past experiences with it, and i want to get back on it

#

i have since switched to Ubuntu for ease of access, as a lot of people who code for things like jailbreaks and custom firmwares use linux as a base

#

if im doing this, will visual studio code suffice?

#

if not, what other IDE's for Ubuntu would you guys recommend?

tepid olive
tardy narwhal
#

any IDE will do, even good 'ol nano is enough @tepid olive

misty cradle
#

^

tepid olive
#

so should i get code for now?

tardy narwhal
#

the IDE won't make you a better programmer per-say, might alleviate some tasks and common things but shift your focus away from the trivial things

#

use code, perhaps a jetbrains ide later if you prefer or return to ed

tepid olive
#

ight

#

thanks so much yall!

tardy narwhal
#

that'll be 1.99

tepid olive
#

omg

#

XD

misty cradle
tepid olive
#

the only reason i like IDE's at this moment tho, is i get to see errors in my code (even tho most of the time its bullshit XD)

high citrus
#

Does nano have github copilot support?

misty cradle
#

How about u add it

tepid olive
#

who knows tho, anything is possible

high citrus
tardy narwhal
#

there is no need for github copilot, the copilot is within u

misty cradle
#

That explains why I sometimes forget where I am or what I’m doing

#

Copilot has taken me over

tardy narwhal
#

no you're just a goofball

misty cradle
#

Fuck u

tepid olive
tardy narwhal
#

much love hombre

misty cradle
#

no no FUCK

misty cradle
#

Ok u are forgiven

#

Need copilot for jetbrains

tepid olive
ocean raptor
#

Copilot supports neovim 0.6.0+

high citrus
silver rampart
#

and make it not shit

indigo peak
#

Removing the extra 2 page dots, removing App Library, today view

#

Making widgets stay

silver rampart
#

neat

indigo peak
#

I will release and definitely credit you

#

$2.99 troll

silver rampart
#

iterate list views and get the index from their x pos, set x pos to 0, mult x by y, set icon scroll view x to screen width, set y size to page count * height, disable today view

indigo peak
#

@late ridge

#

@silver rampart does springboard still handle folders like normal pages

#

Or does it not handle them the same way

silver rampart
#

kinda

#

not at home give me 30 min

indigo peak
#

oh my lord, he’s bouta add even more to the tweak

#

dude just make iOS 16

late ridge
#

I wonder how well dragging icons between pages works with that

silver rampart
#

probably terribly

native dune
silver rampart
#

root folder is an SBRootFolderView, folders are SBFloatyFolderViews

#

all of them contain SBIconListViews (pages) which are indistinguishable from one another

#

aside from their .iconLocation property which will tell you if the listview is in a floaty folder or a regular one

#

the code I sent should only affect the root folder view bc it only hooked one class

silver rampart
#

given it gains nothing from being in there and i was just too drunk to bother moving it somewhere else

#

lol

indigo peak
#

I’ve been coding on my chrome book and emailing it to my phone to compile@

#

I’ll probably do that when I get home

silver rampart
#

wtf

native dune
#

šŸ’€

indigo peak
#

What the lack of a computer does to a person

pearl sail
#

More like what a lack of bitches does to a person. :TrollFace:

ocean raptor
#

email uhh

#

Why not rsync it?

#

Isnt chromeos based on gentoo?

#

Just emerge theos

#

Or whatever

faint stag
ocean raptor
#

Sad

#

Just compile emerge

#

emerge emerge

silver rampart
#

just use github actions at that point

late ridge
#

^

#

@west grove did you ever get that desktop environment working on ur phone

restive ether
#

x11?

#

procursus has had a lot of X done for awhile

late ridge
#

oh nice

restive ether
#

april 22nd

faint stag
late ridge
#

Dead anyways fiore should just use that for development at this point

restive ether
#

oh yeah

#

nick never finished binutils

#

sad

#

haven’t seen him in awhile though

#

be prepared for the procursus package count to increase by 100 whenever that happens

ocean raptor
restive ether
#

at least there was like a 60% chance if he did something it worked

ocean raptor
restive ether
#

embrace X become cringe

ocean raptor
#

Gotta do it over vnc Iirc

restive ether
#

yeah

tepid olive
#

ik

restive ether
#

no in display that would be pain to do

#

that’s tihm’s challenge

tepid olive
#

he’s not doing it lol

grim sparrow
#

Can I pass an MSImageRef into dlsym or do I have to open it twice

ocean raptor
grim sparrow
#

oh I completely missed that

ocean raptor
#

Learn to read

#

Smh

grim sparrow
#

shut

#

the

#

flying

#

frick

#

up

indigo peak
#
%hook SBIconListPageControl
-(void)layoutSubviews {
    %orig;
    // _UIPageControlContentView    // _UIPageControlIndicatiorController
    NSArray *array = self.subviews[0].subviews[0].subviews;

    ((_UIPageIndicatorView*)[array firstObject]).hidden = YES;
    ((_UIPageIndicatorView*)array[1]).hidden = NO;
    ((_UIPageIndicatorView*)[array lastObject]).hidden = YES;

}
%end
#

@silver rampart

restive ether
#

nerd

indigo peak
#

very cursed code ^

silver rampart
#

cursed

indigo peak
#

i have to set the hidden to be NO for index 1 because im assuming when it is first instantiated it doesnt have the leading page dot

#

idk why

#

but that works

indigo peak
#

so just like

#

%new
-(void)kUpdateListViews {}

silver rampart
#

it'd work

#

you could also just create a new c function that takes the rootfolderview as an arg

indigo peak
#

true

#

ill do that

#

the C function did not work

#

:c

#

so:
making it a C function - No
making it a %new - No
keeping it how you wrote it originally - Yes

#

it doesnt work though

#

like, yes it is cleaner

#

but it just doesnt work

#

it compiles

#

but it doesnt execute

#

it just doesn't do what it's supposed to do

#

i changed the name too

#

i think

#

i know how %new works

#

and i dont feel like pasting that

#

well

#

i named the new method fuckingEndMe

#

and it still didnt run

#

and i dont think apple has a method called fuckingEndMe on their classes

vivid dew
#

troll.

hardy glen
#

?

#

bruv

#

Tf is this

restive ether
#

what

hardy glen
#

@steady crown what’s this

#

Don’t open that lmao

restive ether
#

why did he just dump a random daemon log

#

that has no bearing on anything

hardy glen
#

I have no clue but I don’t trust this man lmao

tepid olive
#

?

hardy glen
tepid olive
#

ā˜ ļøā˜ ļøā˜ ļøā˜ ļø

restive ether
#

you’re stalking your sisters phone?

#

tf are you saying

hardy glen
#

Bros snooping on his sis phone

restive ether
#

how did it go from your sister to your daughter?

hardy glen
#

Lmao

restive ether
#

how about you get your facts straight before you come here

indigo peak
#

what the fuck is going on fr

hardy glen
#

I guess it makes sense?

#

Ur daughter name is anx?

restive ether
#

no his daughters name is sister

hardy glen
#

His daughter is his sister

restive ether
#

his sisters name is daughter

#

my name is joe

hardy glen
#

That makes more sense

#

How tf did it end up in r/JB dev channel

restive ether
#

who cares? you came in here and posted absolute word salad and want people to help you

hardy glen
#

Exactly

restive ether
#

who was supposed to help you then?

#

the fucking FBI discord server?

hardy glen
#

Alright bro hope u find ur daughter

restive ether
#

dude said yeah ima ask discord instead of the police

hardy glen
grim sparrow
#

lol

restive ether
#

you’re being very useful finding your daughter by being here then if that’s the case

hardy glen
#

Find my iPhone her ass

grim sparrow
#

Tf is going on here

restive ether
#

???

#

classic

#

what’s my gender

#

please explain it to me

vivid dew
#

hi, i've geolocated the phone based on the provided logs

restive ether
#

it’s seems more important to you than your quote on quote missing daughter

#

i’m glad you have your priorities straight loser

vivid dew
hardy glen
vivid dew
#

this is the approximate last known location

hardy glen
#

Thanks for helping the community @vivid dew

grim sparrow
#

What is my gender

restive ether
#

gay

#

gender means cameron is an idiot?

#

when did mariam webster change that

vivid dew
#

@ocean raptor

hardy glen
#

ā€œMen’sā€ no pun intended ?

grim sparrow
#

Bruh

misty cradle
#

Fetty wap comeback soon

hardy glen
#

Isn’t he locked up

#

On Rico charges

misty cradle
#

No he out on bail

grim sparrow
#

Manticore moment

misty cradle
#

twice now

hardy glen
#

Nice

misty cradle
restive ether
#

when my daughter is missing my first thought is to read discord bios

misty cradle
#

he got caught again trying to leave jersey

grim sparrow
#

Oh yeah

#

Cameren

#

Now that I have a jailbroken phone with a sim

tepid olive
grim sparrow
#

I can work on amy crack again

restive ether
#

amy crack

grim sparrow
#

Mhm

tepid olive
#

sidown reborn

indigo peak
#

how do i check if the person running a tweak is on ios 14 or not

#

like

restive ether
#

sw_vers

indigo peak
#

if 14
do this
else
do this

grim sparrow
#

@available

restive ether
#

oh

grim sparrow
#

or #available

#

Depending on language

indigo peak
#

i got 3 conflicting answers

#

objc

#

it's for a tweak

tepid olive
#

L

grim sparrow
#

if (@available(iOS 14, *))

indigo peak
#

thanks

grim sparrow
#

I’m on mobile stfu about formatting

restive ether
#

n

#

AmyCrack coming to an ios 15 device near you, Q3 2022

grim sparrow
#

I just want a way to set bands

tepid olive
#

the jailbreak is coming Q1 2024

grim sparrow
#

That doesn’t follow the sin that is carrier crack

tepid olive
#

i love sinning

grim sparrow
#

I’m gay, my life is one big sin

restive ether
#

gay gender

vivid dew
#

just be straight lol

untold river
#

Just ungay yourself

restive ether
#

so true

untold river
#

Isn't that hard

grim sparrow
#

That’s what she said

tepid olive
vivid dew
tepid olive
restive ether
tepid olive
#

oh shit oh fuck

untold river
tepid olive
restive ether
tepid olive
tepid olive
restive ether
#

aw sweet

#

Funny Bisexual Interns

#

idk

ocean raptor
#

@restive ether QuickActions(4)

restive ether
#

cam makes a tweak

#

wtf

ocean raptor
restive ether
#

i’m sure he begged you nerd

lime pivot
ocean raptor
#

Begging

rose wren
ocean raptor
rose wren
ocean raptor
#

Good

#

Gonna relicense my tweaks as GPL cause I hate the jailbreak community

#

so in a framework that acts different depending on the device, those checks will be runtime, it won't be different code depending on the ipsw, right?

ocean raptor
untold river
#

no way

ocean raptor
#

what does
Tweak.x:48: error: %end does not make sense inside a block
mean?

#

it's not inside a block

#

completely balanced

#

it compiled this time???

#

works if I do gmake instead of gmake do?????

#

wait, my hooks not working????

#

oh lol

#

I did have unbalanced brackets

gentle grove
#

imagine your editor not prominently showing you matching brackets

ocean raptor
#

neovim moment

gentle grove
#

you're blind then

ocean raptor
#

it usually highlights them red

#

but this time it didn't

gentle grove
#

L

untold river
#

same with vscode

ocean raptor
#

Don't you love it when ghidra segfaults on you woeis

#

i though java wasn't supposed to have bugs smh

gentle grove
vivid dew
tepid olive
hardy glen
#

@ocean raptor if you use neovim you can use the vim syntax files that come with logos

#

Look here

ocean raptor
#

I do

indigo peak
#

How do I make it so something only hooks if you’re on iOS x.x

indigo peak
#

i understand thgat

#

but

#

how

tepid olive
#
%group Fourteen
// hooks
%end 
%ctor {
      if (@available(iOS 14.0, *)) {
               %init(Fourteen);
      }
}
#

@indigo peak this should work

#

it’s something like that

indigo peak
#

but what if i have other code

#

that will run no matter if its 13 or 14

tepid olive
#

make a main group and always init the main group

indigo peak
#

i think its gonna get mad at me for ungroupped thgn

tepid olive
#

idk i’m not a tweak dev

#

this is based on my knowledge of tweak dev last used 1.5 years ago

#

and the source code of my tweak

twilit jungle
tepid olive
#

silly

prisma grove
tacit spade
vivid dew
ocean raptor
#

don't use @available, it's part of compiler-rt which is only on macOS cause neither sbingner or I built it in our toolchains

tacit spade
#

literally just found this so idk anything more

ocean raptor
tacit spade
vivid dew
#

ok how do i do it on ios 7

tacit spade
#

also ngl a logos %available macro would be wonderful. not sure how one would implement it or what options would be available. maybe it could be applied to class hooks as an autogenerated %group?

#

It just feels like api availability is a big problem that we really haven’t addressed yet

ocean raptor
#

you can't compile on linux or iOS than

#

it's fine to use, but I don't have a mac so I'm biased

twilit jungle
#

Use feature checks not iOS version checks

ocean raptor
#

respondsToSelector:

hardy glen
lime pivot
#

otherwise it’ll complain you’re using newer symbols on older oses

indigo peak
ocean raptor
#

Ghidra 10.1.1 also crashes woeis

ocean raptor
#

I love your pfp

#

So, in the class CSQuickActionsView, the method -(void)_layoutQuickActionsButtons; makes calls to UIDevice to determine whether or not to show the buttons, is it possible to override the return value of those methods only when called from this method?

#

so calls to UIDevice will be perfectly normal unless the call is from -[CSQuickActionsView _layoutQuickActionsButtons]

prisma grove
ocean raptor
#

cause it will probably have effects all across the device instead of this one method

grim sparrow
ocean raptor
#

I'm just gonna re-implement _layouQuickActionsButtons I guess šŸ˜”

lime pivot
#

think I posted a sample of that last week or so

ocean raptor
#

oh, good idea

#

thanks

ocean raptor
#

can someone with a notched device run this program for me? Link it to SpringBoardFoundation.framework

int SBFEffectiveHomeButtonType();

int main()
{
  printf("%i\n", SBFEffectiveHomeButtonType());
  return 0;
}
restive ether
#

no sorry i can’t dog

ocean raptor
#

ok iphone 13 guy

restive ether
#

your mom

silver rampart
ocean raptor
#

oh truetrue

#

I was NSLoging from SpringBoard

#

why is ida only showing me methods not C functions

silver rampart
#

@ocean raptor

id SBFEffectiveHomeButtonType()
{
    BSPlatform *v1 = [BSPlatform sharedInstance];
    id v2 = [v1 homeButtonType];
    return v2;
}
ocean raptor
#

ok

ocean raptor
silver rampart
ocean raptor
#

yeah, that function wasn't what I needed

#

I'm trying to convince CoverSheet that the device is supposed to have the QuickAction buttons instead of calculating the position myself like how most tweaks do it

#

and IDA's psuedocode is being very unhelpful cause it's a ton of repeated if statements

#

and it's super long and hard to follow

#

there are like 200 goto calls

silver rampart
#

oh

silver rampart
ocean raptor
#

-[CSQuickActionsView _layoutQuickActionsButtons]; has a lot of logic to determine the frame

silver rampart
#

ohh i see

ocean raptor
#

so I either have to calculate the frame myself or convince _layoutQuickActionsButtons to calculate it

#

This is what it looks like otherwise with some of my code to handle opening the app

snow python
#

remove the allowed clients portion from it, then it will link

silver rampart
#

it should still kill the program at runtime

snow python
#

you will only be able to call it within a sb process though, or else the phone will panic

ocean raptor
#

SpringBoardFoundation isn't restricted

snow python
silver rampart
#

which is what he posted

snow python
#

Also yah, sbfoundation isnt restricted

#

I use it in Asteroid

#

You could make an ipc that sits in sb and calls the function, then returns it to whatever process you want.

ocean raptor
#

I just needed to know what that func returns

silver rampart
#

lost my X in my appartment somewhere

grim sparrow
snow python
#

but that is from about 3 years back so that may have changed

silver rampart
ocean raptor
snow python
#

Ok, let me check my code lmao

ocean raptor
#

1 is haptic button maybe?

snow python
#

I could see that

#

I could have sworn I used that function before, but Im not finding it in my brief check

#

You know that would actually make sense

#

0 being like the physical button, 1 being the one that the 7 had, and then 2 being a home gesture

silver rampart
#

does ipad air 3 use haptic button

#

i can check it there

#

@ocean raptor here's your answer

tepid olive
silver rampart
#

lmk if you need to test anything else

ocean raptor
#

So in ida, this method should end early depending on some stuff, so where can I find where they exit the method?

#

In the pseudo code

silver rampart
#

will probably be a goto /shrug

#

not really a control flow graph for psuedocode, but you can use the CFG in disassembly graph view

grim sparrow
#

nice

high citrus
tepid olive
#

use the nitroless thing capt

#

it should work

#

yeah

#

shows fine for me but probably not for u

#

i’ll add it to the markdown parser

#

Yes

silver rampart
tepid olive
#

ur discord is broken

tepid olive
shell nova
#

it could be skill issue but on the new build when I open a channel it crashes lol

shell nova
silver rampart
#

swift

shell nova
#

hot

#

bruh what did I do to swift lol

ocean raptor
#

victory

#

the settings don't work cause I gotta figure out how I want to do them...

shell nova
#

nice

ocean raptor
grim sparrow
silver rampart
#

mood

#

using nsdefaults is the easy way

#

didn't realize nsdefaults could load prefs for like a year

ocean raptor
#

You can do as many as you want

#
> defaults read com.cameronkatri.quickactions
{
    buttons =     {
        1 = "com.apple.Preferences";
        2 = "com.apple.MobileSMS";
        3 = "com.apple.camera";
        4 = "com.apple.mobilecal";
        5 = "com.apple.Home";
        6 = "kjc.loader";
        8 = "org.coolstar.SileoStore";
    };
}
silver rampart
#

that's cool

ocean raptor
#

hmm, it's a little broken

silver rampart
#

what'd the solution end up being to the layout stuff?

ocean raptor
#

just did it manually

tepid olive
#

yo

#

cam tweak ??

ocean raptor
#

yep

#

gotta make it collapse now woeis

restive ether
tepid olive
#

dyld: missing LC DYLD INFO load command Trace/BPT trap: 5

#

iso 9.2.1 why is it do

#

it doesnt happen on other versions that i tested

#

(8.4.1 and below)

#

and 10 above

indigo peak
#

cam tweak :O

silver rampart
#

and what did you use to compile it

tepid olive
#

ios 15 sdk

#

it works on earlier versions

silver rampart
#

confused

#

is a tweak you're installing doing this?

tepid olive
#

no

silver rampart
#

can you send the bin

tepid olive
#

sure

silver rampart
#

thonk the LC is there

#

weird

tepid olive
#

i guess ios 9 mopment

silver rampart
#

try compiling it targeting ios 9

indigo peak
#

like you dont need a widget handling tweak for it

#

it just acts as a normal widget

silver rampart
#

lol so, that was the original plan for that stuff

#

and it could probably be adapted into one

indigo peak
#

so how does it work now

silver rampart
#

but lots of drama, so that's probably never getting finished

indigo peak
#

ah

#

that would be cool though

#

making a tweak that installs a widget

#

and it handles it as a normal widget

silver rampart
silver rampart
indigo peak
#

interesting

#

you need to go outside more :D

silver rampart
#

thanks

ocean raptor
#

touch grass trol

indigo peak
#

true

#

snapchat was like "heres your 2021 rewind"

ocean raptor
indigo peak
#

and the first thing was a picture of me touching grass

#

and a picture of me holding a nerf gun saying "im going to shoot up my google meet"

silver rampart
#

edgy

ocean raptor
#

should the orbs animate out of the original or just fade in?

silver rampart
#

former

ocean raptor
silver rampart
#

use UIDynamics and make them bounce out

ocean raptor
#

no

#

no bouncing

silver rampart
#

weak

indigo peak
#

^

silver rampart
#

are there any tools for dumping headers at runtime

#

that are not RuntimeBrowser

#

and also not classdump-dyld assuming that does it at runtime

#

and also not FlEx

ocean raptor
#

man, I'm not sure where to start with doing this collapsible stuff...

silver rampart
#

UIKit animations

#

google tutorials if you're lost

#

animations (and dynamics) are great things to learn about for both tweak and app dev

#

also if you want some fun, make them collapsed into a single usable button by default (that does the top task), and have it expand out when you do a pan gesture upward

indigo peak
#

@silver rampart i managed to make this code even more cursed

                NSArray *pageIndicators = self.subviews[0].subviews[0].subviews;
                ((_UIPageIndicatorView*)[pageIndicators firstObject]).hidden = YES;
                ((_UIPageIndicatorView*)pageIndicators[1]).hidden = NO;
                ((_UIPageIndicatorView*)[pageIndicators lastObject]).hidden = YES;
#

so i was getting a lot of springboard crashes because it was complaining about index out of bounds

#

so

#
%hook SBIconListPageControl
-(void)layoutSubviews {
    %orig;
    if([self.subviews count] > 0) {
        if([self.subviews[0].subviews count] > 0) {
            if([self.subviews[0].subviews[0].subviews count] > 1) {
                NSArray *pageIndicators = self.subviews[0].subviews[0].subviews;
                ((_UIPageIndicatorView*)[pageIndicators firstObject]).hidden = YES;
                ((_UIPageIndicatorView*)pageIndicators[1]).hidden = NO;
                ((_UIPageIndicatorView*)[pageIndicators lastObject]).hidden = YES;
            }
        }
    }
}
%end
#

:D

tepid olive
#

sir i think you need some help

misty cradle
#

layoutsubviews

indigo peak
#

some is an understatement

indigo peak
silver rampart
#

looks even better on my tiny discord window

misty cradle
#

@twilit jungle time to teach your next student fiore troll

indigo peak
#

but since kat wrote the entire tweak for me i dont really care about it anymore

tepid olive
#

looks even better when my markdown parser doesn't support codeblocks

indigo peak
#

L bozo

tepid olive
#

shut up

misty cradle
#

L bozo

tepid olive
#

shut up

ocean raptor
#

Got it collapsing with animations @silver rampart

silver rampart
#

ooo

restive ether
#

n

shell nova
#

sorry forgot ping @tepid olive

tepid olive
#

can you click run in xcode and tell me what it says

#

and where it’s crashing

shell nova
#

is there a new build that I should pull first

#

anyways

#

build succeeded

#

warning: accord isn’t code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it

#

also running via Xcode doesn’t actually open the accord window

#

kinda loops

restive ether
#

no code signatures monent

shell nova
#

a few lines of the text

restive ether
#

ldid -e /path/to/whatever app

#

if you have ldid that is

shell nova
#

what is that uhh

indigo peak
#

@silver rampart would you care if i did this

#

for releasing the šŸ…±ļøobius tweak

#

im also not calling it šŸ…±ļøobius

shell nova
#

anyways

tepid olive
shell nova
#

oh ok I’ll redo the test

tepid olive
#

@shell nova can you reproduce the crash and tell me what xcode says when it crashes

#

(you have to click run in the app)

indigo peak
shell nova
#

kinda weird that xcode opened 2 of the same app

#

@tepid olive

ocean raptor
restive ether
#

L

silver rampart
restive ether
#

kat

indigo peak
#

kit

tepid olive
shell nova
#

tried to redo the test to see if I got anything different and it seems like sometimes it opens and sometimes it doesn’t. also this time Xcode only opened one visible accord instance in the dock

#

seems to consistently crash though

#

on the same exact line

tepid olive
#

@shell nova add ā€œsafe: ā€œ before the v

shell nova
#

build fail

#

I clicked the auto fix thing and it seems to be fine

#

nvm it’s not opening to a gui

tepid olive
#

is that fucking javascript

tepid olive
# shell nova

folders[i].guilds[safe: v]?.channels?.forEach…

#

do that

#

remove line 29

#

and fill in the rest of the foreach

#

am on mobile sorry

vivid dew
#

none of that code is in the bible

tepid olive
tepid olive
#

it was a hack i made at 1am

vivid dew
#

tabernak

tepid olive
#

calisse

#

esti

tepid olive
tepid olive
vivid dew
shell nova
#

a few warnings

restive ether
shell nova
#

anyways still no gui I'll try to restart it and maybe some race condition will let a gui appear eventually uhhsweat

hardy glen
lime pivot
restive ether
#

torrenting krits

grim sparrow
#

gm flame repo guy

lime pivot
#

we out here downloading linux isos of @silver rampart

#

gm amany

grim sparrow
#

hey adam

lime pivot
#

hi

grim sparrow
#

Guess what you forgot to do

shell nova
lime pivot
#

😩

shell nova
#

anyways I clicked the warnings and it did this

grim sparrow
#

lol

lime pivot
#

yeah you’re right

shell nova
grim sparrow
#

I don't mind, I just think its funny seeing you're reaction

hardy glen
silver rampart
grim sparrow
shell nova
#

LOL

grim sparrow
#

sorry

#

may have been a little over the top there

hardy glen
#

Ctrl Z that shit right away

shell nova
#

that's what I did trol

tepid olive
#

@shell nova literally remove everything inside the function

#

should work lol

#

i’ll get at my computer and fix it in a few hours

tepid olive
ocean raptor
#

The buttons are huge for some reason...

indigo peak
#

@silver rampart so with the widgets not rendering, could it be because of this

#

like how you need to make the view setVisibleColumnRange

#

and that only does it for icons?

#

but not for widgets?

#

idk this apple logic man

silver rampart
#

when do they not render?

scarlet flare
#

okay so i made a tweak but it won't compile

tepid olive
#

ok

scarlet flare
#

i dont understand

#

oh wait

untold river
#

ok

scarlet flare
#

think i fixed it

untold river
#

congrats security expert

scarlet flare
#

thanks

misty cradle
#

time to send some crypto transactions to ruin the environment

vivid dew
#

send me eth i send back bro

hardy glen
#

He double it and send back

glacial matrix
#

@silver rampart I finally set up a pypi account for Theos (theosdev)

silver rampart
#

going to see if it lets me revoke myself as owner

glacial matrix
#

Thanks!

silver rampart
#

seems like i cant

hardy glen
#

F

glacial matrix
#

It looks like I can remove you

silver rampart
#

oh sick

#

go ahead

#

worked

#

šŸŽ‰

glacial matrix
#

It’s scary that it does not have a confirmation prompt

silver rampart
#

it seems odd to me that i wasn't able to remove me, but you were, even though i was the original owner

#

that's kind of dumb, really

glacial matrix
#

I guess it does not distinguish between owners

silver rampart
#

if anything it should be the other way around

indigo peak
#

im not sure its the same for widgets on the first page and scrolling right from the last page

#

also folder backgrounds dont render in either

silver rampart
#

widgets are likely not rendered when off screen to conserve resources given how widgets are currently done

hardy glen
#

vertical scroll HS?

indigo peak
#

infinite scroll

silver rampart
#

they're working on a Mobius update

indigo peak
#

you can use he/him for me if its easier

#

just bc its less letters fr

silver rampart
#

its habit

indigo peak
#

fair enough

#

i used to default to he but thats now offensive

#

so i cant

silver rampart
#

lol

hardy glen
#

We don’t assume genders here

indigo peak
#

i dont assume

hardy glen
indigo peak
#

i just defaukt

#
switch(KnownGender) {
  case 0:
    print("mail")
    break;  
  case 1:
    print("femail")
    break;
  default:
    print("he")```
#

oh well

#

im adapting

#

im starting to use they

silver rampart
#

šŸ†—

indigo peak
#

ok

indigo peak
#

i still dont know how to properly do one without looking it up

silver rampart
#

write pre-python 3.10 code and tell me that again

indigo peak
#

ive legit never wrote a python script for 3.10

silver rampart
#

really really wish they could've added it sooner

indigo peak
#

python has switch statements now

#

wtf

silver rampart
#

pattern matching in 3.10 is great

indigo peak
#

oh of course its not named switch statement

hardy glen
#

Is it just for switching integers?

silver rampart
#

no, it works for a ton of different things

hardy glen
#

Really nice

indigo peak
#

pip3 install -U theos-orion

silver rampart
#

spec is on the update page for 3.10

#

it works for strings, classes, ints, you name it

hardy glen
#

PyTheos

silver rampart
hardy glen
#

True

indigo peak
hardy glen
#

No its just theos written in python

#

Instead of perl or whatever the fuck it uses

silver rampart
#

@glacial matrix the current upload for theos on pypi is just a dummy example package to hold the slot

indigo peak
#
@hook(ArcheryScene)
def setWind(arg1: float power: float) -> None:
  @orig(0.0, 0.0)
grim sparrow
silver rampart
#

idk if it needs to stay in place to prevent the name from getting reclaimed, but it required one to make it

indigo peak
#

we do a little troling

grim sparrow
#

If anyone knows what to fix in that callback feel free to let me know

glacial matrix
#

Perl can die in a fire

silver rampart
#

amen

#

logos source code scares me

indigo peak
gentle grove
glacial matrix
indigo peak
#

my own source code scares me

grim sparrow
#

fantastic news

#

I copied the callback from the apple docs and it compiled

silver rampart
#

lol

indigo peak
#

Tweak.h contains every class that i hooked, inheriting from UIView, and adding a backgroundColor property

hardy glen
indigo peak
#

and i #define'd UIColors for whatever reason

grim sparrow
#

just removing the CALLBACK_API_C worked

indigo peak
#

i def thought that i was a professional coder

hardy glen
#

Ah nvm

grim sparrow
#

its probably because it doesn't like it in a bridging header

silver rampart
#

working on getting ios 15 device headers

#

soonā„¢ļø

grim sparrow
#

thats cool

#

afaik I've already updated Aemulo to work on iOS 15

silver rampart
#

way i'm having to do it is horrible

grim sparrow
#

With the power of reverse engineering I changed everything I had to

indigo peak
#

gameseagull, calculatorhistory and brokepods should all work on ios 15

silver rampart
indigo peak
#

they only should work since they use absolutely no trivial things

silver rampart
#

i'm having to write (yet another) runtime class dumping tool to dump all the metadata into a json file

grim sparrow
#

thats

#

eeeerrrrr