#development

1 messages · Page 584 of 1

grim sparrow
#

WHAT WAS THAT

ocean raptor
faint stag
#

dumbass sticker autocomplete

#

i hate it here

grim sparrow
#

well I told you how to fix it

#

provided the documentation

#

theres already plenty of templates for apps

#

and tweaks

tepid olive
#

withiut copy pasting codes 10 days? copy pasting codes 1 years

tepid olive
faint stag
#

anyone else used libcspreferences, cause this is some bs

primal perch
#

get gnu make

ocean raptor
grim sparrow
#

^

#

template 3 or 4

ocean raptor
#

RTFM @tepid olive

grim sparrow
indigo peak
#

literally me

tepid olive
#

PLS I DIDNT EVEN ASKED IT

grim sparrow
tepid olive
#

Just help me with if . If u want

ocean raptor
grim sparrow
#

you said you want this, we tell you it exists, you say you didn't ask for it

primal perch
#

they trying to

#

rule 10 dawg

indigo peak
#

:D

faint stag
faint lionBOT
#

Hey @tepid olive, have a look at this!

Rule 10

You are not entitled to anything. If you think otherwise, please leave.

faint stag
primal perch
#

you probably need the lib dylib in $theos/lib @faint stag

faint stag
grim sparrow
#

did you add it to your makefile

faint stag
#

iirc yes

grim sparrow
#

show

tepid olive
faint stag
# grim sparrow show
TARGET := iphone:clang:latest:13.0
ARCHS = arm64 arm64e
INSTALL_TARGET_PROCESSES = SpringBoard
FINALPACKAGE = 1

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = ActionSounds
$(TWEAK_NAME)_FRAMEWORKS = UIKit CoreGraphics AVFoundation AudioToolbox LocalAuthentication

ActionSounds_FILES = Tweak.xm
ActionSounds_CFLAGS = -fobjc-arc
$(TWEAK_NAME)_LDFLAGS += -lCSPreferencesProvider

after-install::
    install.exec "sbreload"
SUBPROJECTS += ActionSoundsPrefs
include $(THEOS_MAKE_PATH)/tweak.mk
grim sparrow
#

change it to

primal perch
#

do ActionSounds_LIBRARIES

#

uro would be fuming rn

grim sparrow
#

ActionSounds_LIBRARIES = CSPreferencesProvider

ocean raptor
#

Don't use $(TWEAK_NAME)

#

Smh

faint stag
primal perch
stuck wyvern
grim sparrow
#

how come nobody ever told me lean_and_mean was deprecated

faint stag
#

woeis yes, it's there

indigo peak
#

because no one ever uses lean_and_mean

primal perch
#

rtfm

grim sparrow
primal perch
indigo peak
grim sparrow
#
// This header will no longer have any effect when used with the iOS 14 or newer SDK. It
// has already been removed for other platforms, such as macOS and tvOS, and is not used
// at all for Swift files.
primal perch
#

removes -Wall and stuff

#

for the lazy

grim sparrow
stuck wyvern
#

holy cock and balls

indigo peak
stuck wyvern
grim sparrow
#

thank you nxp

grim sparrow
#

That was the commit that got this UI working

stuck wyvern
#

lol nice

bitter cove
#

ugh

faint stag
grim sparrow
#

trolling

primal perch
tepid olive
#

@grim sparrow pls tell i cant finddd

grim sparrow
#

huh?

restive ether
#

your mom

grim sparrow
#

ah thanks

tepid olive
grim sparrow
#

what problems

tepid olive
#

nic.tar

#

Uh

faint stag
grim sparrow
#

explain

faint stag
#

wdym explain, the prefs don't load lol

#

i checked the executable and all the changes i made, i guess i'm just blind

grim sparrow
#

ok

#

well

#

whats the error

#

oh

#

are you on an arm64e device

#

on a cs based jailbreak

primal perch
faint stag
#

but i built for arm64e so that's not the issue

grim sparrow
#

well

#

it kinda is

#

can you please run for me

#

the command

#

clang --version

faint stag
#

apple clang 13

grim sparrow
#

ok

#

so

#

I have news for you

#

that won't work

#

what device are you building on

faint stag
#

my mac

#

x86_64

grim sparrow
#

you need that tr

#

actually

#

save yourself some hassle

#

brew install --cask xcodes

faint stag
#

yeah but, now what

#

i have the app

#

but uhh

#

tells me i'm not a developer
very cool

tepid olive
#

@grim sparrow dont u know fix?

faint stag
#

site works though

grim sparrow
faint stag
tepid olive
#

i need help please someone help me with making .nic.tar project

faint stag
grim sparrow
#

have you followed that

celest quiver
faint stag
#

i'm logged in fine

#

there's nothing to register
i'm there already

grim sparrow
#

wild

faint stag
#

i've built prefs before with clang13 so i really don't think that's the issue

#

it isn't

#

i'm missing files

faint stag
# grim sparrow wild

it tells me it's missing but there's an executable in /Library/PreferenceBundles/ActionSoundsPrefs.bundle

#

and it's there in the info.plist

#

using tweaksettings causes the app to crash

#

so maybe you were right about the arm64e thing

restive ether
#

ball version

faint stag
#

well that’s a useful log

grim sparrow
#

it actually is

#

its telling you you're calling a method that doesn't exist

faint stag
#

preferenceloader telling me the executable doesn’t exist isn’t a real error then

pearl sail
#

That is what you have to do with guile

grim sparrow
#

does CFNotificationCenterPostNotification run synchronously, i.e. sending to all listeners before continuing execution flow

indigo peak
#

@lime pivot

primal perch
#

SNAPPERCHATTER

#

SNAPPERCHATTER

#

SNAPPERCHATTER

#

SNAPPERCHATTER

#

@next wadi

next wadi
#

🅿️

#

@primal perch

stuck wyvern
faint stag
#

i'm just gonna go without prefs at this point, everything i've tried doesn't work in one way or another

#

yeah, that was it, thought i had it already

#

but that doesn't mean prefs are going to work trol

zenith hatch
#

woe

#

why it so smol

faint stag
#

that's one way to exaggerate an error

grim sparrow
faint stag
#

bruh

#

yes i'm struggling with an if/else statement here

lime pivot
faint stag
#

it's only named action sounds because i was planning on adding more or something

faint stag
grim sparrow
#

Why me

faint stag
#

everything else is just playing a sound

grim sparrow
#

I provided makefile

faint stag
#

.

grim sparrow
#

Oh

faint stag
#

needs some changes cause i broke stuff apparently lul

#

needed to add reply to else or dismissing wouldn't work

#

though for it to play something on failure instead of dismiss needs another hook

raw solar
#

can someone reverse engineer unc0ver in ida and add support for procursus

raw solar
faint stag
#

but then who's going to add the exploits back in

untold river
#

unzip the ipa, replace the debs, zip the ipa

faint stag
tepid olive
untold river
#

how old does unc0ver's bootstrap checks go back to

ocean raptor
ocean raptor
untold river
#

it's not a matter of if you should

#

it's a matter of if you can

#

and yeah procursus unc0ver would be funny

ocean raptor
#

My favorite fact about unc0ver is that they reinstall apt (and other bootstrap stuff) on every jailbreak meaning that sbingner can't update base packages unless a u0 update comes out too

untold river
#

poor bingner

ocean raptor
#

it also uses rsync to unregister apps on restore rootfs

untold river
#

what

#

rsync what to where

ocean raptor
restive ether
#

this is all very incredibly cursed

ocean raptor
#

it uses rsync to delete the old apps then runs uicache -a

#

smh

zenith hatch
#

egg

untold river
#

am on mobile please gib line number

tepid olive
#

"oh shit"

restive ether
#

906

tepid olive
#

"wait nvm"

ocean raptor
untold river
#

rsync delete

#

android skull

ocean raptor
#

meanwhile I was able to do it non-destructively in 21 loc

restive ether
#

cam does a swift

ocean raptor
#

still angry that coolstar just copied my code so I don't even get credit for it, smh

untold river
#

cam writing swift

#

no way

indigo peak
#

one pump chump looking ass

restive ether
ocean raptor
#

closed not merged 😭

restive ether
#

capt didn’t fix snaputil yet smh!

ocean raptor
#

I still don't understand whats wrong with snaputil tbh

restive ether
#

something with the renaming taurine doesn’t like

tepid olive
restive ether
#

though i don’t know if that’s a taurine or snaputil issue

tepid olive
#

so it just stays orig-fs

restive ether
#

oh there’s your answer

ocean raptor
#

yeah, you're supposed to rename it yourself...

indigo peak
#

@grim sparrow do you know how to 'parse' discord public flags

tepid olive
#

snappy -o renames it

ocean raptor
ocean raptor
#
snaputil -n orig-fs com.apple.os.update-$(cat /private/preboot/active) /
snaputil -r com.apple.os.update-$(cat /private/preboot/active) /
#

EZ

tepid olive
#

though OTAEnabler will create it for you now

ocean raptor
tepid olive
#
snaputil -r "com.apple.os.update-$(ioreg -p IODeviceTree -l | awk -F'[<>]' '/boot-manifest-hash/ { print toupper($2) }')" /
ocean raptor
#

perfect

restive ether
#

incredibly overcomplicated

restive ether
#

your mom tbh

tepid olive
ocean raptor
#

also, out of scope imho

tepid olive
#

your mom is out of scope

ocean raptor
#

we don't like feature creep

#

libsnaputil smh

restive ether
#

when

ocean raptor
#

never

#

out of scope

restive ether
#

you’re out of scope

tepid olive
#

people should not have to paste long scary commands to restore rootfs just because they're stuck only having access to a terminal (or just want to restore rootfs faster without rebooting first)

#

this is why unc0ver is better /s

ocean raptor
restive ether
#

go ahead cam, write snaputil -o in C

ocean raptor
#

someone should write a linter for Procursus

#

so that easy errors can be catched caught by CI

restive ether
#

i’d prefer it didn’t use awk since that’s not included in the system though

tepid olive
#

I was going to yeah

ocean raptor
#

cut -wahtever | tr '[a-z]' '[A-Z]'

tepid olive
#

I mean the preboot one works for most people but this handles that edge case too

tepid olive
#

for OTAEnabler I just added a dependency on gawk fr

ocean raptor
#

depend on awk not gawk please

#

awk is provided by both gawk and mawk

restive ether
ocean raptor
restive ether
#

one true awk MIA

ocean raptor
restive ether
#

dub cat

#

writing snaputil in swift as we speak

ocean raptor
#

nah, it'll be in C

#

@tepid olive do you know C?

#

nvm

#
#include <CoreFoundation/CoreFoundation.h>


typedef char io_string_t[512];
typedef mach_port_t io_object_t;
typedef io_object_t io_registry_entry_t;
io_registry_entry_t IORegistryEntryFromPath(mach_port_t master, const io_string_t path);
CFTypeRef IORegistryEntryCreateCFProperty(io_registry_entry_t entry, CFStringRef key, CFAllocatorRef allocator, uint32_t options);
kern_return_t IOObjectRelease(io_object_t object);

int main() {
  io_registry_entry_t chosen = IORegistryEntryFromPath(0, "IODeviceTree:/chosen");
  CFTypeRef data = IORegistryEntryCreateCFProperty(chosen, CFSTR("boot-manifest-hash"), kCFAllocatorDefault, 0);
  CFTypeID type = CFGetTypeID(data);
  if (type == CFStringGetTypeID()) {
    printf("Type is string\n");
  } else if (type == CFDataGetTypeID()) {
                printf("Type is data\n");
            } else if (type == CFNumberGetTypeID()) {
                if (CFNumberIsFloatType(result))
                    printf("Type is float\n");
                else
                    printf("Type is integer\n");
            } else if (type == CFBooleanGetTypeID()) {
                printf("Type is boolean\n");
            } else if (type == CFDateGetTypeID()) {
                printf("Type is date\n");
            } else if (type == CFArrayGetTypeID()) {
                printf("Type is array\n");
            } else if (type == CFDictionaryGetTypeID()) {
                printf("Type is dictionary\n");
            } else {
                printf("Found a value that is not of a known list type\n");
            }
  IOObjectRelease(chosen);
}

@tepid olive can you compile and run this? Ignore the bad spacing

pearl sail
#

can't ignore it you burned it into my reticle

lime pivot
tepid olive
restive ether
#

rumor has it he’s still compiling gettext to this day

primal perch
pearl sail
#

That isn’t suppose to be a thing

#

build_info only is suppose to carry control files & post and pre install script

#

Nevermind those are fine I don’t know what they are for tho

#

if you have ripgrep you can look up the path to see what they are for

ocean raptor
#

Those are all fine

zenith hatch
#

gaming

ocean raptor
#

Hmm, sounds cringe

#

Can I see your git diff...

#

Also, I recommend pulling

pearl sail
#

adv-cmds probably got updated

#

Link might be dead

primal perch
pearl sail
#

.zst

lime pivot
#

ztsd

#

Z Tsandard

primal perch
#

gif didn’t age well

ocean raptor
#

You should be using MEMO_MANPAGE_SUFFIX not hard coding .zst

pearl sail
#

That is something I didn’t know

#

My bad

primal perch
#

using namespace std;

restive ether
#

balls

stuck wyvern
#

nuts even

primal perch
#

testicles, if you're so inclined

stuck wyvern
primal perch
#

:intjcum:

native dune
pearl sail
#

No you might need to ask Cameron about that

#
export PATH="/opt/procursus/bin:/opt/procursus/local/bin:/opt/procursus/sbin:/opt/procursus/share:/opt/procursus/include:/opt/procursus/lib:/opt/procursus/etc:$PATH"
export CPATH="$CPATH:/opt/procursus/include"
export LIBRARY_PATH="$LIBRARY_PATH:/opt/procursus/lib"

These are part of my zshrc

#
/opt/procursus/bin
/opt/procursus/sbin
/opt/procursus/local/bin
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin

and this is my /etc/paths

ocean raptor
#

no, foo is the name of the directory in build_dist and the control file in build_info/foo.control, but grep for the Package: key in build_info/foo.control to get the actual name

#

grep -lR "libfoo13" build_info

#

should give you build_info/libfoo.control or whatever

#

but why do you need to do that?

#

just do it manually....

#

just don't include so many packages....

ocean raptor
#

@lime pivot new zebra update is now on pro, but it seems you forgot to include multiple components smh

#

bazaar on pro 🙏

#

nvm

#

It's written in python

pearl sail
#

accept the unzip PR first

pearl sail
lime pivot
#

I won't be making major changes to Zebra 1, just fixing bugs and doing a few low-hanging fruit things

ocean raptor
#

@lime pivot I regret to inform you that ubuntu update-manager just listens to dpkg output and the prompt will just send a y or n to dpkg depending on which button you pressed

#

I guess there is no programmatic way to do it 😭

lime pivot
#

ubunut

#

god lmao, that's unfortunate

#

dpkg is like very much the opposite of apt, it mostly works as-is but when you need to customise anything about it, automate it, etc, it just has nothing you can do

ocean raptor
#

tempted to patch it to allow custom config prompt programs

lime pivot
#

while apt has pretty much every little thing as a config var

ocean raptor
#

but I feel like guillem wouldn't accept it

lime pivot
#

may as well ask the mailing list I guess

ocean raptor
#

last time I submitted a patch to dpkg I never got a response KEKW

lime pivot
#

yikes

#

not professional

ocean raptor
#

not even a rejection

#

just straight up ignored

#

smh

primal perch
#

We are introducing annual updates to Windows. Windows 12 will be launching later this fall! @tepid olive

#

bruh

stuck wyvern
#

please say sike

primal perch
stuck wyvern
lime pivot
#

you're saying they invented windows 12 in 2019 and didn't tell us???

#

smh

tepid olive
#

New features Windows 12 The next update is Snip & Sketch. This feature is a feature that allows you to edit or scribble on the screenshot that you just captured. Activities that you can do from Cropping, Marking, Scribbling, even you can also draw using the crossbar and bow. How to use this feature is also very easy, you only need to press Windows + Shift + S to do a screenshot. After that, please click on the image that appears in the Floating Window. Then you can then edit and sketch the Screenshot results according to taste.

stuck wyvern
primal perch
#

two tpms

#

true

#

im down for 12

#

if they like you know

#

actually redo it

vivid dew
lime pivot
vivid dew
pearl sail
#

T-posing sour patch kids have a strong energy

primal perch
undone nest
#

like theres literally some features nobody uses since hitler times

#

so ancient

lime pivot
#

truuu

#

TBF literalwho is using 500 repos and expecting the app to still be perfectly responsive

#

it's a use case we'll do our best to support, but not one we'll make any guarantees on

somber kettle
#

on macOS x86, is the address encoding similar to the Intel x86 specification or does mac does some adds some special bits?

#

assuming it's all 64bit address

ocean raptor
#

You get a bunch of headers included in you strap

ocean raptor
#

Why

#

Just edit the line that runs zstd to run gzip or whatever algo you want

#

DPKG_TYPE won't matter since that's only handled by dpkg which will link libzstd in the bootstrap

#

There is also a way to change the manpage compression but i don't remember exactly

#

Yep, that. Not sure why it's := not ?=

#

Do both, just in case

#

One is for macos(?)

#

Cause other stuff happens in there base on MEMO_PREFIX 🤷‍♂️

#

Whatd I type wrong?

#

That makes sense

#

Sorry, I speak American

#

Apples build won't

#

Oh?

#

zstd decompresses very fast

#

We do

#

Well, they don't have libarchive.h so it's not exactly public

#

But since it's not an apple library but actually from FreeBSD then you'll find documentation on it

#

What are you looking for?

#

Fast decompression? High ratio?

#

Looks like xz -9 will give you best decompression time and ratio

#

But I'll look a bit more

#

But how good is it's ratio?

#

He's not talking about dpkg compression

#

He's trying to figure out what compression to use for the bootstrap tarball

#

Yeah, looks like xz will be your best bet

#

apples libarchive doesn't support lz4

#

It only supports liblzma (lzma, xz), zlib (.Z, gzip), and bzip2

high citrus
#

is it possible to view the layout (or even just the text of an UILabel) inside a .nib file?

primal perch
#

yea

solid condor
#

Is it possible to hook objc_msgSend on a12+? I don’t know how PAC works and I would have to rewrite the function in ASM which isn’t an issue for me but I just don’t know how to put the pieces together

#

PAC tho?

#

im pretty sure it starts out with a pacisb instruction or something like that

#

oh ok

#

highly efficient?

ocean raptor
#

Trolled

solid condor
#

oh thats right hahaha. so how do i setup the hook? attribute((naked))
static void and inline asm?

ocean raptor
#

Can I see your gif diff

#

%hookf MSHookFunction

solid condor
#

yes can i just use use Substrate? will every library that includes a definition of MSHookFunction work?

ocean raptor
solid condor
#

lmfao

ocean raptor
#

That all looks fine... maybe remove your build_{work,stage,dist}

solid condor
#

ok got it ill send an update when i got it to work

ocean raptor
#

Are you running make bootstrap?

#

Cause that'll have some race conditions KEKW

#

Does make ncurses work?

primal perch
#

const auto &

ocean raptor
#

Groff error is inconsequential

#

That's not the error that failing ncurses

#

Look further up stderr

#

Check stdout

#

Oh, that'll do it

primal perch
solid condor
#

where is libobjc.dylib i cant find it anywhere

#

and i cant extract from an ipsw for other reasons

solid condor
#

nvm, simulator

ocean raptor
ocean raptor
#

I wouldn't be surprised if you have to hook objc_msgSend in asm, I mean the official implementation is in asm after all

rose wren
#

how much would it be to inject malware into SlimShadyIAm's computer

pearl sail
#

@shut stag can I at least get Capt's position if he gonna betray you like this

ocean raptor
#

I am once again asking for advanced developer @restive ether

#

You don't have advanced dev???

restive ether
#

Advanced makefile dev

ocean raptor
#

eggNotch QuickActions

pearl sail
primal perch
ocean raptor
restive ether
#

zefram isn’t real

primal perch
#

advanced is overrated

ocean raptor
#

You can't even compile a procursus bootstrap

primal perch
#

back room dead as fuck

restive ether
ocean raptor
primal perch
restive ether
#

capt finding every single procursus makefile issue ever

#

if you can solve all the race conditions

#

see you in 7 years we’ll make bootstrap finishes

primal perch
#

last i remember from back room was that transphobic dude anyway

tepid olive
pearl sail
#

Ofc he does

solid condor
#

its kinda fun to optimize tf outa simple functions plus it would be a serious issue if there was a memory leak or some kind of bug because the function can get called thousands of times per second...

ocean raptor
#

Download Xcode 13 now, then I'm gonna start on stem player app trol @restive ether

solid condor
# ocean raptor Dyld shared cache

i found a dylib in my xcode simulator with an arm64 version intact... if i want to hook functions from there should I do something special?

ocean raptor
solid condor
#

ya thanks my last question was worded badly i mean to hook it on device do i need to do something special?

ocean raptor
#

Usually simulator libraries/frameworks are identical

primal perch
#

balls

faint stag
#

how do you detect when a button is pressed for a uialert?

specifically just any alert. eg: cancel vs destructive w/e

restive ether
#

you can probably look at uialert code from uikittools

faint stag
#

uikittools-ng?

#

well, i'm not too sure since that will create it's own alert and i'm looking to hook something ofc

lime pivot
#

any alert, or just one specific alert?

pearl sail
#

alert

grim sparrow
lime pivot
faint stag
#

kinda sad that the alert decorating tweaks aren't open source, could've just looked at one of those

grim sparrow
#

I love this, missing the point of active development entirely

main apex
grim sparrow
#

Amy<Redacted>

restive ether
#

you just manifest them

grim sparrow
#

You just shit on the keyboard and they come out

ocean raptor
#

Will Xcode 13.2.1 support my phone on 15.4 beta?

grim sparrow
#

Probably when it gets an update

#

Oh

#

Wait

#

I forgot how the releases are

#

It won’t

ocean raptor
#

Nope

grim sparrow
#

You’ll need 13.3

#

Probably

#

Idk

#

Depends if the device support is compatible

ocean raptor
#

Yeah, just looked it up

#

I was half way through Xcode 13.2.1 download 😭

grim sparrow
#

If ur super lazy you can probably find the device support file on some random site and just paste that into

grim sparrow
ocean raptor
#

Xcodes doesn't work for me

grim sparrow
#

Use the experimental version

#

It fixes the bug with non paid dev accounts

ocean raptor
#

I'm have a paid acct

#

Wait what

#

13.3 beta is downloading

grim sparrow
ocean raptor
#

13.2.1 was failing with NSPosixSomething

ocean raptor
grim sparrow
#

Did you sign in with ur Apple ID

ocean raptor
#

Yep

grim sparrow
#

You have a skill issue

ocean raptor
#

13.3 beta is downloading fine

#

13.3 requires macOS 12.0+ androidskull

faint stag
#

this domain man
this entire domain laughedat

grim sparrow
#

Did you enable unxip

ocean raptor
ocean raptor
grim sparrow
#

Omg

pearl sail
#

@lime pivot weird suggestion and I don't know how well chariz is doing or if this idea is viable, but have some low end iphone VMs available so devs on your platform can keep compatibility across multiple versions of iOS for tweaks.

untold river
#

that one worked for me

ocean raptor
pearl sail
#

ah that is a shame

primal perch
#

capt would steal it anyway

ocean raptor
#

Yes pls, then I can add iOS 12/13 support to quickactiosn

restive ether
ocean raptor
lime pivot
pearl sail
#

understandable

radiant solstice
#

Can anyone comment on if there are any tweaks in development to work around DRM content on carbridge?

tepid olive
pearl sail
primal perch
#

yea

gentle grove
#

Post it. Text it. Tag it. Share it. Shout it. And let your friends pay you back in a tap or two. Grab your PayPal.Me link today.

primal perch
gentle grove
#

Post it. Text it. Tag it. Share it. Shout it. And let your friends pay you back in a tap or two. Grab your PayPal.Me link today.

radiant solstice
radiant solstice
#

What..?

restive ether
#

just don’t use drm content

ocean raptor
radiant solstice
#

I’m asking cuz I wanted to find a way to watch content from DRM protected apps

#

That’s all.. how does that imply at all that I might be poor? Lol

radiant solstice
#

I’m trying to use all my apps on carbridge.. so again, does anyone know if there is some kind of tweak in the works for that or no..?

vivid dew
#

deep patel

#

where is shallow patel

untold river
#

set sail on the high seas

#

fuck the drms

solid condor
#

Tried to hook objc msg send. just ran bl (label of orig) and i think that works fine but it crashes with this in the log “Call stack:
0 ??? 0x00000001036dc0e8 0 + 4352491752
1 libobjc.A.dylib 0x00000001c3430318 0x1c3428000 + 33560 // initializeNonMetaClass”

untold river
#

(for legal reasons this is a joke)

solid condor
vivid dew
#

[redacted]s watching whole movies in their car

ocean raptor
#

Doesn't everyone know how to do that

#

reboot3(0x2000000000000000ULL)

vivid dew
#

i think there's a cli tool that does all that already

ocean raptor
#

you don't have to do anything after reboot3(0x2000000000000000ULL)...

#

you just need this ent

<key>com.apple.private.xpc.launchd.userspace-reboot</key>
<true/>
#

you need that ent and root

#

iirc

vivid dew
#

again, i think there's a cli tool that does all that already

solid condor
#
0   ???                               0x0000000105da00e8 0 + 4393140456
1   libobjc.A.dylib                   0x00000001c3430318 0x1c3428000 + 33560
2   libobjc.A.dylib                   0x00000001c3431910 0x1c3428000 + 39184``` why are there question marks??  heres my code simplified greatly ```static id (*_objc_msgSend)(id, SEL, ...);
__attribute__((__naked__)) static void oms() {
    __asm__ volatile ("br %0\n" : : "r"((void**)&_objc_msgSend));
}
%ctor{
    MSHookFunction((void*)objc_msgSend, (void *)oms, (void**)&_objc_msgSend);
    _objc_msgSend(objc_getClass("TestClass"),@selector(callme));
}```
ocean raptor
inland fog
#

???

solid condor
#

ok and why is it crashing?

#

not symbolicated sry but the one after breedable (my dylib) is a call to objc_msgSend_uncached```Thread 0 Crashed:
0 ??? 0x00000001037a80e8 0 + 4353327336
1 libobjc.A.dylib 0x00000001c3430318 0x1c3428000 + 33560
2 libobjc.A.dylib 0x00000001c3431910 0x1c3428000 + 39184
3 libobjc.A.dylib 0x00000001c3440498 0x1c3428000 + 99480
4 libobjc.A.dylib 0x00000001c342a524 0x1c3428000 + 9508
5 breedable.dylib 0x00000001037a3ef8 0x10379c000 + 32504
6 dyld 0x0000000100cee888 0x100cd4000 + 108680
7 dyld 0x0000000100ceeb10 0x100cd4000 + 109328

#

theres a better crash log

#

yes its got the plus sign and everything

#

to 1

ocean raptor
#

what's the correct way to check if userspace reboot is supported?

solid condor
#

oopsie daisy

#

well theres another problem

restive ether
#

reboot3 moment

solid condor
#

it just straight up crashes even when i dont use that bad func

ocean raptor
ocean raptor
#

or I guess electra, but that repo is down

solid condor
#

just used that def bc #1 its in aspective-c and 2 i plan on calling it without having to trick the compiler into making it work

#

like plain and simple

restive ether
#

yeah the ios 10 jailbreak don’t have user space

#

nor does early chimera

#

or rootless

ocean raptor
#

@everyone anyone here with jailbroken iOS 10?

restive ether
#

nice

#

switching to jlaunchctl as we speak

solid condor
#

yup looks good

pearl sail
solid condor
#

doesnt push anything, just my code

ocean raptor
restive ether
ocean raptor
solid condor
#

i cant get lldb to work so ill just write something to crash the program after or before the orig

#

lol

restive ether
ocean raptor
#

launjctl is actually very complete...

#

it's missing bsexec, remove, plist, reboot, config, bootshell, resolveport, attach, kickstart

#

reboot is very important though

#

I haven't decided whether to switch to launjctl instead of internal builds yet

#

procrastinating doing anything about it cause I don't want to break things

#

I'm also not really in the mood to do anything recently

#

I decided to start work on an app

restive ether
ocean raptor
# ocean raptor I decided to start work on an app

@restive ether heres a little teaser

#import <Foundation/Foundation.h>

enum codecType {
    WAV,
    MP3
};

@interface StemStream
@property (nonatomic) NSString *deviceId;
@property (nonatomic) enum codecType codec;
@property (nonatomic) NSNumber *version;
-(NSArray *)getAlbums;
-(NSArray *)getSongsInAlbum:(NSString*)album;
-(int)downloadSongWithTrackId:(NSString*)trackid;
@end
restive ether
#

better off waiting for airyx to do theirs in 4 years lol

restive ether
ocean raptor
restive ether
#

lol

ocean raptor
#

I figured out how to use their API

#

and successfully downloaded a stem

restive ether
#

bundle wget2 for maximum download

ocean raptor
#

nah, I'll just use whatever networking stuff Foundation has

solid condor
#

it got worse haha

#

it crashes on dyld image loader now

#

idek if it reaches the crash code

ocean raptor
#

gotta decide whether to do it in objc and learn UIKit or do it in swift and learn swift and swiftUI @restive ether

solid condor
#

LMFAO i got it to work kind of

restive ether
#

swiftui will be better in the future if you decide to keep doing apps probably

faint timber
#

@grave sparrow poc means it just panics kernel not rw

ocean raptor
lime pivot
#

honestly would recommend learning SwiftUI just to be more familiar with reactive programming

solid condor
#

ya which is wack because its the same as before

tepid olive
tepid olive
#

Combine + SwiftUI = intjsex

#

god that emote is

subtle grail
#

so worth it

pearl sail
tepid olive
#

@grave sparrow make a swift fork with #asm

#

u keep asking for it just do it

primal perch
solid condor
#

SubHookFunction.cold.2 in the stack trace... what

silver rampart
#

8 months later

primal perch
#

nfr

solid condor
#

ya i use sub but i was just using a substrate header via theos

#

well ya but the error code? did it fail to find the symbol to hook?

#

oops i mean the crash log

#

SubstituteLog: SubHookFunction: called with a NULL pointer. Don't do that.

#

SubstituteLog: SubFindSymbol: 'any image' specified, which is incredibly slow - like, 2ms on a fast x86. I'm going to do it since it seems to be somewhat common, but you should be ashamed of yourself.

#

lmao i love these logs

#

ya i called it with a string instead of the first symbol

#

thats real

#

ya

#

ive looked through it a lot

#

lmao

#

i think sam is behind this one

#

k i called it with that and it just crashes in ctor

#

like what

#

should i be using fishhook?

#

memcpy? lol

#

aight

#

ya im kidding

#

atoi works

#

looks grim

#

idk im just hooking calculator to test it

#

asm volatile ("br %0\n" : : "r"(&orig_atoi));

silver rampart
#

also the binja plugin now has this:

solid condor
#

aight thx for trying to help

pearl sail
silver rampart
#

shouldn't be much effort if any

#

i kept the legacy setup.py for that reason, i'll require a few changes but its still there

pearl sail
#

yeah that makes sense

silver rampart
#

or they could use poetry to handle it all

pearl sail
#

I don't know poetry myself as most python packages that we have come across deals with setup.py

silver rampart
#

but the procursus build is pinned to tag 1.0.0rc0 right now, which is nearly identical minus terminal syntax hightlighting, the --class flag, and some other stuff i'm forgetting rn

pearl sail
#

Honestly I am kinda curious what changes will be made if we shift to poetry instead of modifying and using setup.py

#

cause of default build flags and other things in the main makefile that were mostly centered around setup.py

lime pivot
#

too bad I haven't done tweak dev in ages or I would have been trying it out and bugging you about every issue I come across

silver rampart
#

mood

#

finally posting it to r/jbdev / twitter in a few hours so i'm sure i'll get plenty of issues

lime pivot
#

is there a page of handy community tools on dev wiki? definitely add it there

#

or the open source list at least

hardy glen
#

I come across issues but sometimes i don’t wanna bother you. uhh

lime pivot
#

aye there we go

#

the weak_classdump section on that page definitely needs updating

#

he obsoleted that ages ago in favor of class-dump-dyld

silver rampart
silver rampart
primal perch
silver rampart
#

made a fresh reddit account and this is the first thing i see

#

wen intermediate-cmds

misty cradle
#

I wish to achieve proficiency with more creative mediums. Most objects of my derivation — which are also sufficiently novel to induce intrigue — prove ineffable. The shapes and membranes, which I lack the mathematical disciple to describe linguistically (or conventionally mathematically), permeate my deepest reaches of thought. At night, I am able to identify their outlines; in the sun’s presence, these outlines are ostensibly imprinted on the concrete subject of my vision. I have fundamentally mutated the nature of my thought. My most confident supposition suggests that these intuitions were stifled during my development and the vain pursuit of conformity which characterized it.

silver rampart
#

brb copying that into my cover letter

silver rampart
#

day 2 and i'm already struggling

lime pivot
#

@ocean raptor you're gonna hate me for this

#

I'm trying to merge libapt-pkg.dylib and liblzma.a, liblz4.a, etc etc into one big binary

#

I swear I've done this before, can't figure out why it won't work now

#

this is the cursed garbage I've come up with so far

#

oh, never mind the -lout/blabla/libapt-pkg.dylib line

#

I was at my absolute limit trying to try random ideas lmao

#

in the time I've burned trying to do it this way, I could have just compiled from source with flags to make pkgconfig link .a's instead of .dylibs

#

never mind I got it

#

-Xlinker -all_load was the key I was missing

ocean raptor
#

Cause build_misc is kinda new

lime pivot
#

because I hate everyone and everything trol

#

not really I just wanted a workaround so I can run libapt-pkg sandboxed, obv without any ability to call out to dpkg

#

and also wanted to experiment with what kind of size a combined dylib of every dep would be

ocean raptor
#

Make sure to dead strip your binary then

lime pivot
#

1.6MB, by the way

lime pivot
ocean raptor
lime pivot
#

exa

ocean raptor
lime pivot
#

rust your cli 🚀🚀🚀🚀🚀

ocean raptor
lime pivot
#

let's see what happens if I pass -Xlinker -dead_strip

#

actually probably not going to make a difference I guess if I also have -all_load, idk

ocean raptor
#

It is -dead_strip

#

You can't do it using strip(1) though

lime pivot
#

tried it, didn't seem to make a difference

#

both actually

#

-Xlinker -dead_strip and strip -x

ocean raptor
#

Are you using it when linking zebra or whatever against the fat binary you made?

lime pivot
#

ok it did make a tiny difference

#

bottom is without both

#

just about to try it with zebra

#

also, got no clue why I get this when linking for arm64, either iOS or macOS

#

ugh

#

how do I remove an LC_LOAD_DYLIB

#

well he says their test suite passed so I guess I'll trust him on it

ocean raptor
#

@lime pivot did you ever get cmus working?

lime pivot
ocean raptor
lime pivot
#

too many build issues hurting my brain

#

ffmpeg related

ocean raptor
#

true

#

completely understandable

lime pivot
#

oh, it was because it needs libfaac or whatever

#

I could push it somewhere if you want to finish it off, it definitely works with mp3s and any format ffmpeg can decode, just doesn't know how to handle m4a's

#

…I mean, even though ffmpeg can decode m4a, it's just hardcoded to go straight to libfaac for some reason

silver rampart
#

i have 2 reddit karma now where is my legally mandated womens

ocean raptor
lime pivot
#

did I get banned from salsa or did they break stuff

ocean raptor
lime pivot
#

oh well

#

made me panic for a sec because I was trying to wget something

ocean raptor
#

I was trying to use packages.Debian.org yesterday and kept getting 403 too, they probably updated their server to bullseye KEKW

silver rampart
lime pivot
#

good to know 👌

ocean raptor
lime pivot
ocean raptor
#

Pro tip: whois procurs.us will give you all of Hayden's contact information because .us domains aren't allowed to have whois protection

lime pivot
hardy glen
#

Wtf

#

So basically ur getting doxed if you own a .us domain

ocean raptor
lime pivot
#

nope

ocean raptor
#

Goodwood? That's what she said trol @lime pivot

lime pivot
#

that's just the TLD operator I guess

hardy glen
#

What service should i buy a domain from i am lowkey thinking of getting one

lime pivot
#

I will never give godaddy money

lime pivot
ocean raptor
lime pivot
#

google flexing the tld they throw $25k/year at IANA for

silver rampart
#

i use namecheap

#

and then transfer to cloudflare

lime pivot
#

cloudflare supports initial domain purchases now

silver rampart
#

used to use godaddy but namecheap has free-forever whois protection so

hardy glen
#

Cloudflare for ddos protection?

lime pivot
#

domain and DNS/hosting are different things

tepid olive
#

pretty sure free whois protection is required by law in EU now, idk about other places

lime pivot
#

buy domains wherever, then set it up with cloudflare

silver rampart
#

cloudflare bc i dont like my websites sitting on open internet

ocean raptor
lime pivot
#

although if you were going to go with cloudflare anyway, see if they support the domain you want, since they sell them at wholesale prices

ocean raptor
#

is it worth it to transfer a domain from namecheap to cloudflare?

#

will it be cheaper to renew?

lime pivot
#

yes

#

yes

ocean raptor
#

nice, I'll do that tonight

lime pivot
#

you do need to pay for another year when you transfer

snow python
#

Google domains is pretty cheap too

ocean raptor
lime pivot
#

but that just stacks on top of whatever you already have

lime pivot
#

so you're not throwing away what you already paid for

ocean raptor
#

it has to be on a 16G iPhone 5c

lime pivot
#

8GB iPhone 3GS*

subtle grail
#

true

#

connected to cellular ofc

ocean raptor
lime pivot
#

heheh

#

good thing it goes up to iOS 6

ocean raptor
#

wait what

#

3GS runs iOS 6 uhhsweat

lime pivot
#

yes

#

it was the first armv7 device

ocean raptor
#

how slow is it on iOS 6?

lime pivot
#

fairly

ocean raptor
#

I have a 3G with a broken home button and broken power button

#

I restored it to iOS 2 but that bootlooped it and since both buttons don't work I can't restore it back to whatever the latest is

lime pivot
#

hah oops

#

at least in terms of the home button you can open up and short the big pins just where the home button is

ocean raptor
#

I don't know where it is KEKW

lime pivot
#

lmao

ocean raptor
#

My dad probably still has it

#

he took all my devices, that's why I only have one 6s

#

not 5

stuck wyvern
#

it's on iOS 4 I believe

lime pivot
#

I have a 3G and 3GS

#

the 3G has a broken power button that shorts out constantly so I have to dismiss the power off screen every 30 secs

#

the 3GS has decided it doesn't feel like booting any more

lime pivot
#

pokemon cards and old iphones are you in 2009

stuck wyvern
#

so if someone asked me if I had cash, I just pulled out pokemon cards

lime pivot
#

they may as well be cash at this point

stuck wyvern
#

fr

#

the only cash I've ever had to carry is USD

lime pivot
#

it's like paying in bitcoin

stuck wyvern
#

at least it was a much better experience

lime pivot
#

well this isn't actual money, but you can do some stuff on the internet and turn it into actual money

stuck wyvern
#

in 2019 I couldn't pay for shit with paypass

#

at least it was supported almost everywhere I went to this time

#

love the US for having good support for apple pay and google pay yet still a ton of places doesn't take contactless

lime pivot
#

definitely got better, still a disappointment seeing how quickly Australia moved on it and the supposed fintech capital of the world just, didn't

stuck wyvern
#

Quebec basically banned cash during covid so you contactless was forced everywhere

#

even the shop in the middle of nowhere will have contactless here

lime pivot
#

I don't even bring my wallet anywhere any more unless I know I need my healthcare card or something

stuck wyvern
#

yeah I carry mine for IDs and that's about it

tepid olive
stuck wyvern
#

It was just marked as original iphone

#

and I didn't know that the 2g never released in Canada

#

It was technically a first gen Canadian iPhone

tepid olive
#

true

ocean raptor
#

how much did you pay for it uhh

lime pivot
#

mfers who call iPhone 3G "iPhone 1"

stuck wyvern
#

50$ or so

tepid olive
#

.

stuck wyvern
#

So it was jailbroken and the person who sold it

ocean raptor
stuck wyvern
#

fucking wiped it

#

and broke it

lime pivot
#

lolll

stuck wyvern
#

yeah redsn0w only works on W7 too

tepid olive
#

50$ is like 6s pricing

ocean raptor
#

I bought my 3G for like $12

stuck wyvern
#

had to fuck around with a VM with passthrough to get it to work

#

redsn0w shit itself on anything newer than 7

ocean raptor
#

I used to have a laptop running snow leopard or something that I specifically used for the 3G

#

and redsn0w on my 4

stuck wyvern
#

I was looking into building a collection of old iPhones just for fun so I started with the 3G

#

I got an 8 recently but that's just so I could have a jailbroken device on hands

ocean raptor
#

my collection is mostly 6s because everysingle one of my family members had one KEKW

tepid olive
#

i have a uh

#

4s 5 5s 6 6s 7 X

#

i lost or broke most of them

lime pivot
#

sorry to make you jealous

tepid olive
#

except my main trol

lime pivot
#

could have taken a better pic

tepid olive
#

i need to get a new mac so i can have a big sur test machine

#

but i'm gonna have to return this one to get credit

stuck wyvern
tepid olive
lime pivot
#

I legit just got a 5700XT

stuck wyvern
#

nabbed it asap

lime pivot
#

and only because of complete chance because a friend was getting rid of it

stuck wyvern
#

oh yeah mine was brand new from newegg

#

I got an email for it and nabbed it instantly

#

never went in stock again afaik

lime pivot
#

was easier to buy his card that's way overkill for me than to find the right one at the right price

stuck wyvern
#

I was running an rx 480 for ages

tepid olive
#

apparently new mba is dropping soon

lime pivot
tepid olive
#

pleaseeee apple

#

i need to get rid of my 8gb

lime pivot
tepid olive
#

wrote a discord client that uses 60mb of ram and now i'm just upgrading my machine troll

lime pivot
#

:troll~4:

silver rampart
# stuck wyvern my collection isn't as good <:sadge:902248002033426522>

Analysts believe there are currently on the order of 10 billions Internet of Things (IoT) devices out in the wild. Sometimes, these devices find their way up people's butts: as it turns out, cheap and low-power radio-connected chips aren't just great for home automation - they're also changing the way we interact with sex toys. In this talk, we'...

▶ Play video
lime pivot
#

man, that ipod touch 1st gen on the left I pulled apart years ago and just, never gave a shit about fixing it after that

#

I figured I'd have to replace the battery to make it work

lime pivot
#

never bothered to see if batteries even exist for it

stuck wyvern
#

Have you seen their post about adding Elden ring support to their stuff

tepid olive
#

what is elden ring everyone talks about it but i have no clue what it is

stuck wyvern
tepid olive
#

i know its a game

stuck wyvern
#

ELDEN COCKRING

#

LOL

silver rampart
#

well now i know that exists

lime pivot
#

wtf

stuck wyvern
#

that's hilarious

#

They have this marked on their website

#

who is gonna shove a wiimote up their ass

silver rampart
#

the average nintendo fanboy probably already has

stuck wyvern
#

joycon maybe but a god damn wiimote ⁉️

lime pivot
#

waiting for Nintendo 64 controller with Rumble Pak

stuck wyvern
lime pivot
#

dammit 😔

tepid olive
#

have you tried adam

stuck wyvern
lime pivot
tepid olive
#

ah

stuck wyvern
#

I will nuke the dev at Google that decided to change the fullscreen shortcut

#

It's the same across all god damn apps on macOS

#

except chrome set it to fn f

#

I use a fucking normal kb

#

I don't have a fn key

lime pivot
#

somehow Zebra has the fn-f thing just by default

#

didn't do anything to make that happen

stuck wyvern
#

weird

lime pivot
#

yeah, this thing

stuck wyvern
#

It used to be this before

#

for all apps

#

weird that's it's that combo now, maybe it's a new default

lime pivot
#

love how it represents a key that doesn't exist on any Mac produced before 2021

stuck wyvern
#

would be extremely annoying if it is because external kb just doesn't have that mapped

tepid olive
#

it's a new thing

lime pivot
#

I have caps lock remapped to fn

tepid olive
#

definitely

lime pivot
#

upside is I now have a dedicated emoji key

stuck wyvern
#

ah yes

tepid olive
#

and it's the default

stuck wyvern
#

let me find the fn key on my logitech kb

lime pivot
#

*dedicated emoji key that still requires me to move the mouse to click the emoji I want because Apple still doesn't know how to make keyboard-usable UIs

tepid olive
#

all apps have fn f for fullscreen

lime pivot
#

ffffffffff

#

not discord

tepid olive
#

ok well that's an electron moment

stuck wyvern
#

you sure because all my built-in macOS apps still supports control cmd f

lime pivot
#

not xcode either

tepid olive
#

i didn't do anything

stuck wyvern
#

I guess new apps uses that now

#

that's annoying

lime pivot
#

iTerm yes which is hilarious because he decided the full screen shortcut should be cmd-return instead

stuck wyvern
#

cmd enter trol

lime pivot
#

so cmd-return or fn-f works

lime pivot
tepid olive
#

it's probably a new sdk thing

lime pivot
#

must be, amusing it's not in Xcode though

tepid olive
#

yes

lime pivot
#

implement a system-wide feature that doesn't work in the primary dev app

tepid olive
#

UINavigationController had weird behaviour with the iOS 15 sdk iirc

lime pivot
#

would be tbh

#

in the past few years I more get into a specific broken UI state where quitting and restarting is the only sane option

stuck wyvern
#

talking about the devil I have to use xcode rn

lime pivot
#

seems to be related to flicking between storyboards and code

stuck wyvern
#

fuck sake

primal perch
#

xcode shits itself way too much