#development

1 messages ¡ Page 479 of 1

wicked summit
#

then it's time to memory manage ahaha 😎

tepid olive
#

Also it talks about the shared instance but I don’t have that because what I’m trying to get it doesn’t exist

#

Well I mean it exist but it doesn’t have a shared instance

twilit jungle
#

lmao... thats an example

#

you don't need sharedInstance

tepid olive
#

Yeah I know

twilit jungle
#

Read the first half of the page

tepid olive
#

Hm

#

I have an idea

tacit spade
#

@lime pivot you tend to know these things -- what's the basic "pattern" for zkswizzle? let's say i have a class called CoolClass and i want to override -(NSString *)superString to return itself, appended by @"joe mamma". i'm starting from a .m with literally just #import "ZKSwizzle.h".

#

(also i saw your name on the github page for zkswizzle)

#

the way i have it right now is -- keeping the linker in mind --

@interface CoolClass
-(NSString *)superString;
@end

ZKSwizzleInterface(ChillClass, CoolClass, NSObject);

@implementation ChillClass
-(NSString *)superString {
  return [ZKOrig(NSString *) stringByAppendingString:@"joe mamma"];
}
@end
lime pivot
#

I haven’t used ZKSwizzle myself

tacit spade
#

darnit

lime pivot
#

sorry

#

what’s the issue though? maybe I can psychic debug it for you anyway

tacit spade
#

it just

#

doesnt do the thing

#

😛

#

compiles correctly

glacial matrix
#

In a more serious suggestion, pairing two devices with MultipeerConnectivity to use one as keyboard and the other as screen only

tacit spade
glacial matrix
lime pivot
#

I was thinking of it as just an easy way to get help debugging something, while the remote side can select text and possibly type things (no idea if it supports that?)

#

like VSCode/IntelliJ remote feature

tacit spade
#

so it dawned on me that since i'm using a hackintosh, i may have not disabled SIP or AMFID all the way

#

so im gonna go check thaaaaaaaat

#

wouldn't you know it

#

they're still on

tepid olive
#

@twilit jungle well it compiles but I get safe mode

primal perch
tepid olive
#

Exception type: EXC_BAD_ACCESS (SIGSEGV)
Exception subtype: KERN_INVALID_ADDRESS: 0x0
Exception codes: 0x0000000000000001, 0x0000000000000000
Culprit: Spacecandy.dylib
VM Protection: 0x0 is not in any region.

tacit spade
#

that's what us tweak developers call a HECK THIS

primal perch
#

whats the backtrace

tepid olive
#

Yeah I’ma see if the key for value thing works

primal perch
#

that alone is almost useless

tacit spade
#

scroll down just a bit more @tepid olive

#

thread 0

#

give us thread 0

tepid olive
#

Mhm

#

Oh ok

tacit spade
#

We want the backtrace for Thread 0!

tepid olive
#

It’s 3000k characters over the limit

tacit spade
#

my dog wants back up on the couch

tepid olive
#
Thread name: Dispatch queue: com.apple.main-thread
Call stack:
0   Spacecandy.dylib                  0x0000000108927574 0x108920000 + 30068          // _logos_method$_ungrouped$CCUIScrollView$layoutSubviews(CCUIScrollView*, objc_selector*)
1   Spacecandy.dylib                  0x0000000108927568 0x108920000 + 30056          // _logos_method$_ungrouped$CCUIScrollView$layoutSubviews(CCUIScrollView*, objc_selector*)
2   UIKitCore                         0x00000001938f6398 0x1928be000 + 17007512       // -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
3   QuartzCore                        0x0000000193dfbdf4 0x193ca6000 + 1400308        // -[CALayer layoutSublayers]
4   QuartzCore                        0x0000000193e02398 0x193ca6000 + 1426328        // CA::Layer::layout_if_needed(CA::Transaction*)
5   UIKitCore                         0x00000001938e2cb0 0x1928be000 + 16927920       // -[UIView(Hierarchy) layoutBelowIfNeeded]
6   ControlCenterUI                   0x00000001b182d674 0x1b1811000 + 116340         // __75-[CCUIModularControlCenterViewController _reparentCollectionViewController]_block_invoke
7   UIKitCore                         0x00000001938e9704 0x1928be000 + 16955140       // +[UIView(Animation) performWithoutAnimation:]
8   ControlCenterUI                   0x00000001b182d5e8 0x1b1811000 + 116200         // -[CCUIModularControlCenterViewController _reparentCollectionViewController]
9   ControlCenterUI                   0x00000001b182c7e4 0x1b1811000 + 112612         // -[CCUIModularControlCenterViewController _reparent]
10  ControlCenterUI                   0x00000001b1830d8c 0x1b1811000 + 130444         // -[CCUIModularControlCenterOverlayViewController viewDidLoad]```
#

Oops

tacit spade
#

perfect perfect

#

dont remove

twilit jungle
#

layoutSubviews

#

F

primal perch
tacit spade
#

lol

primal perch
#

well post ur layoutsubviews hook

tepid olive
#

Which one

primal perch
#

CCUIScrollView

tepid olive
#

Where I do the MSIVarHook

#

Ok

primal perch
#

DGh0st Tweaks

twilit jungle
tacit spade
twilit jungle
tepid olive
#

Wait I think I know

tacit spade
tepid olive
#

I put it as double instead of NSObject

tacit spade
#

oh god what

tepid olive
twilit jungle
tepid olive
#

Now it doesn’t even compile

tacit spade
#

share your hook block, we literally won't steal it

primal perch
#

i might

tepid olive
#

Ok

misty cradle
#

Who tag

tacit spade
restive ether
#

ok

tacit spade
#

gib code pls

tepid olive
#
%hook CCUIScrollView
    -(void)layoutSubviews 
    {
        for (SpaceBackground *sbg in self.subviews)
        {
            [sbg removeFromSuperview];
        }
                
        SpaceBackground *spaceBackground = [[SpaceBackground alloc] initWithFrame:self.bounds];
        [self addSubview: spaceBackground];
        [spaceBackground setup];

        NSObject tss = MSHookIvar<NSObject >(wkprogtrack, "CCUIOverlayTransitionState");//clampedPresentationProgress;

        NSLog(@"%f", tss);

        //spaceBackground.alpha = tss;
    }
%end```
tacit spade
#

ok

primal perch
twilit jungle
#

F

tacit spade
#

I'm assuming you've defined SpaceBackground elsewhere

primal perch
#

wkprogtrack

#

f

tepid olive
primal perch
#

we do a little globals

tacit spade
#

NSObject tss
well your first issue is right here

primal perch
#

also you should try hooking the ivar name

tepid olive
#

It was double before

primal perch
#

not the type

tepid olive
#

oh

tacit spade
#

you're trying to store an entire object in an address

tepid olive
#

Oh no

tacit spade
#

NSObject * tss

gaunt mesa
#

do u not store objects in an address /s

#

but yeah he’s right that needs to be a pointer

primal perch
#

well its an address in an object but yeah dont use stack objects

tacit spade
primal perch
#

it wont let you anyway

gaunt mesa
#

storing shep in your mother

tepid olive
#

I am going to steal your hook

primal perch
tacit spade
#

pirate moment

restive ether
primal perch
#

modern settings

gaunt mesa
#

man had reddit uninstalling code

primal perch
#

we did

restive ether
#

i love twickd

primal perch
#

i was doing a service

twilit jungle
#

It was test code bro

restive ether
#

how did you even manage that

gaunt mesa
tacit spade
#

wait wait wait

primal perch
#

we left a little code in production

twilit jungle
#

Testing in production is the way

gaunt mesa
#

obviously

#

why do u think chariz breaks every other day

tepid olive
#

@tacit spade well I changed it and now it’s giving compile errors

#

Galore

#

kinda sos amogus

primal perch
#

@twilit jungle i probably shouldnt put that charlie brown gif at my top of favorites

tacit spade
#

you could make it a subview of a view that already gets its alpha changed during presentation

primal perch
#

im gonna forget and press it one day

tacit spade
#

and avoid the ivar

gaunt mesa
#

i wish clang gave errors backward

primal perch
#

accidentally

gaunt mesa
#

so i can scroll up

#

instead of having to scroll up then down

tepid olive
#

I dont know why I didn’t think about

gaunt mesa
#

:stfufurry:

twilit jungle
primal perch
gaunt mesa
twilit jungle
primal perch
gaunt mesa
tepid olive
#

I know remember why I didn’t do that earlier

#

Because it’s not dealing with the alpha

#

It’s just knows the alpha

#

And it safemodes anyway

tepid olive
#

Imagine believing in little electrical signals in your body letting you be conscious of your own existence

primal perch
#

its a feature

tepid olive
#

The reason I was trying to get the alpha was because my control center just pops into position instead of a fade

#

Imagine

#

Snapping to

primal perch
tepid olive
silver rampart
#

anyone have any info on new cache format stuff?

rain falcon
#

nfr

faint timber
#

is region size basically just page size?

#

then the question is answered

#

but be warned some ipads report the wrong fucking page size

#

thanks apple...

primal perch
#

size_t is unsigned

#

so its not really interpreted as -2 but as 0xfffffffffffffffe

hardy glen
#

you still writing the dis?

#

weren’t you writing a disassembler

faint timber
#

homie really just forgot about signed unsigned

#

!jumbo facepalm

hardy glen
#

never going on tweak bounty discord again

tepid olive
#

Are you the best dev alive

primal perch
#

Are you the best dev alive

faint timber
#

@grave sparrow I've gotten 8+ hours of sleep everyday for the past week, its worth making the change

tepid olive
#

@ Landyn#2591 Are you the best tweak bountier alive

faint timber
#

yes

primal perch
#

every animal alive sleeps, even fish. look at sleep from an evolutionary perspective it looks like its pretty fucking important

tepid olive
#

I dont believe in sleep because i dont believe i exist

faint timber
#

even mf dolphins sleep when their brain has to be on 24/7 to live

primal perch
#

i dont believe you exist either

#

youre likely just a figment of my imagination

#

as i am the only definite consciousness

tepid olive
#

Which means you’re technically all me

#

And i am you

primal perch
#

good one bro but its me

#

my imagination is so funny sometimes

#

electricity

#

mfers stay up so late because we got artificial light

faint timber
#

@primal perch yep thats the secret all my shit is off and I use nightshift mode

#

also give yourself time to fall asleep

hardy glen
#

i stay up because i keep learning new shit every day and i am addicted

faint timber
#

so u actually get the amount

primal perch
#

im glad my job is 4 days a week so i get that 3 day weekend

#

big sleeps

faint timber
#

warm mode max

hardy glen
#

^ thats what i do

#

no blue light

faint timber
#

no lights in room whatsoever

#

shades fully closed

#

computer off

#

completeltey

#

drink water

#

wear an eye/sleep mask

#

@tepid olive long press on brightness

#

(haptic)

primal perch
#

like 1 hour

#

you could do 30 mins probably

#

the more the better really

tepid olive
primal perch
#

maybe but 2 hours isnt super realistic because so much shit is online

#

if you have work or homework nthishowitis

#

thats what sub is

tepid olive
#

if you over flow it, it should become negative

primal perch
#

idk about newer instruction sets but on the 6502 sub literally just inverts the bits of the value to subtarct then does the exact same thing as add

hardy glen
#

blue light is proven to disrupt your sleep. your “inside clock” thinks as though it is sunlight

#

F

primal perch
#

i tried doing an x86 one but quickly dipped because of the variable length encoding

#

it would require everything to work or any instruction after is void

#

or at least getting the right sizes for every single one

#

and theres like thousands of possible instructions

#

should they though

#

8 bytes just to ret

#

you can just do it in 2 tho

#

same size but then you use 4 bytes for shit that doesnt need 8 bytes

#

use inline functions

#

instead of & 0b10010.. every time you can just do like __get_imm(instr)

#

also neat tip you can shorten unsigned int to unsigned

#

use java then

#

Systemasinthecomputer.out.println

#

or just use one buffer and then snprintf but whatever

#

doesnt matter at all

#

another reason i wouldnt use it personally is its not standardd c

#

and you have to check the return value

tepid olive
#

:nthishowitis:

primal perch
faint timber
#

sir

#

how tf did you get ldp and stp mixed up

#

they aren't even the same thing

gentle grove
#

docker-compose scale?!??!!

primal perch
#

617MB/s

#

pretty good

tepid olive
#

0x8

silver rampart
#

shit go fast when it's all one file

#

why I usually tar before uploading/copying over USB

#

everything is fast as fuck but then gets bottlenecked bc they do it so inefficiently

livid ridge
#

but in debian atleast the package manager asks for the sudo password?

gaunt mesa
#

someone could just make a helper binary that calls dpkg

gentle grove
#

ssd very good

#

NVMe on the other hand...

faint timber
#

Wym nvme

gentle grove
#

nvme ssd is good

#

very zoom

#

M.2

muted lily
#

linux rookie question. I am an ubuntu server fan, however for work i feel like debian is gonna be the safer choice. I wanna begin jumping ship to debian entirely. is there any major differences in the command line or can i pretty much jump into it like it's ubuntu?

stuck wyvern
#

Ubuntu is based off debian

#

it's very much the exact same thing

muted lily
#

perfect, that answers my question 🙂

#

@stuck wyvern also HAPPY BDAY!

stuck wyvern
#

tyty

gaunt mesa
#

t

ashen birch
ashen birch
#

idk i don’t pay attention to bad languages /s

tepid olive
#

So what’s this place normally like

#

oh

stuck wyvern
#

wait you guys actually do programming?

gaunt mesa
#

surprisingly

stuck wyvern
#

unbelievable

tepid olive
stuck wyvern
tepid olive
#

Assembly moment

paper salmon
#

do we need an jailbroken iphone for tweak development?

#

no?

#

what dpes that mean?

#

"."?

#

oh ok

#

thanks for the answer

#

ill see if i can buy a cheap iphone 6s

#

SE2 or 6s?

gaunt mesa
#

bro the SE2 and 6S are so far apart

#

in terms of price

paper salmon
#

yeah i just need a cheap one

gaunt mesa
#

$700

#

“budget”

paper salmon
#

wtf

primal perch
#

in what world is it 700

paper salmon
#

the problem is

primal perch
#

even renewed on amazon its 290 lmao

paper salmon
#

if they erase the phone

primal perch
#

on ebay some are 250

paper salmon
#

it will be on the latest ios version

#

how do i score a 14.3 version iphone lol

#

is there a way to use xcode simulator as a jailbreak simulator?

primal perch
#

yea

paper salmon
#

oh really wow

primal perch
#

simject

paper salmon
#

is there a specific xcode version it wont work with?

#

im using the xcode 13 beta

#

also im on macos montere

#

idk if thats gonna be a problem with tweak development

gaunt mesa
high citrus
#

simulators don't have bluetooth access right?

paper salmon
#

i think they do

#

dont they use the mac's bluetooth

high citrus
#

Just checked it, they don't support bluetooth (at least without simject), they also don't use the mac's bluetooth.

paper salmon
#

welp

#

i need to get a real device then

#

is testing on a daily device bad?

#

like is it not recommended?

#

I mean like if i brick my device

#

through some dumb shit

#

im like a noooob

#

so i ask stupid questions 😐

high citrus
paper salmon
#

yeah

#

a tweak that I plan to make requires bluetooth

#

it has something to do with airpods pro

#

ima look appleswap for sone ios 14.3 devices

high citrus
#

Ah okay, if you only need to change the ui, then u might be able to fake a Bluetooth connection or something like that

paper salmon
#

yeah ill see

paper salmon
#

lol

twilit jungle
#

all the trolls want to [redacted]

paper salmon
#

im not a kid

#

but true

silver rampart
silver rampart
#

oh boy

#

nitro users can send 4kb of text now

#

before it sticks it in a file

#

this will not get abused whatsoever

tepid olive
silver rampart
#

^k.{3,4}$ gang

silver rampart
tepid olive
#

Any idea why I get

(Reading database ... 4324 files and directories currently installed.)
Preparing to unpack /tmp/_theos_install.deb ...
Unpacking com.birds.spacecandy (0.0.1-31+debug) over (0.0.1-30+debug) ...
Setting up com.birds.spacecandy (0.0.1-31+debug) ...
/var/lib/dpkg/info/com.birds.spacecandy.postinst: /var/lib/dpkg/info/com.birds.spacecandy.postinst: No such file or directory
dpkg: error processing package com.birds.spacecandy (--install):
 installed com.birds.spacecandy package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
 com.birds.spacecandy
make: *** [/home/birds/theos/makefiles/install/deb_remote.mk:2: internal-install] Error 1
#

When I try to add a postinst

#

the file is executable

#

layout/DEBIAN/postinst

#

Is the path

#

And whenever it exist it just won’t compile

tepid olive
#

Ok

tepid olive
#

@grave sparrow still fails

#

And it says there’s a half installed package

#

In Cydia

livid ridge
#

They're able to do this because every device has a default root password, right?

tepid olive
#

What

#

Who

restive ether
#

1 blocked message

tepid olive
#

So uh

#

Can someone help

#

Me or should I go somewhere else

twilit jungle
tepid olive
#

@restive ether might wanna delete this

restive ether
#

trol

tepid olive
#

nfr

pearl sail
silver rampart
subtle grail
#

quora moment

silver rampart
#

yahoo answers 2

subtle grail
livid ridge
#

so then how are package managers able to obtain root perms?

#

and how are they able to do that without having root privileges?

#

how?

twilit jungle
#

lol

hardy glen
#

really stupid question: How would i begin to generate AARCH64 assembly for a C file on mac. Do i need to have a cross compiling toolchain or something ? Is there any internal xcode command i could use

subtle grail
#

like clang -S -arch arm64 test.c

surreal mountain
#

^

hardy glen
#

thank goodness, i was hoping there was a simpler way of doing this. Another question, Why does it generate like 5 pages of code for just a simple hello world?

primal perch
#

“-fno-asynchronous-unwind-tables -Os” may help with size

hardy glen
primal perch
#

unsurprising

#

its assembly and expected to be pretty verbose

#

you need all the c startup functions, then main, then all your data

hardy glen
#

nice i was expecting like a page just showing my function lmao

primal perch
#

if you just want one function at a time or something you can use -c to make it one object file

#

then you dont need main

#

or any of the startup shit

hardy glen
lime pivot
# livid ridge

the jailbreak is what gives you root privileges on the device in the first place

#

so going from there, the package manager has elevated privileges to itself install packages, and then packages can give themselves permissions from there

tepid olive
#

Does anyone know what the fuck manages cellular on/off

#

Been searching for 45 minutes and still haven’t found it

tepid olive
#

Still have found it

tepid olive
#

Well... what is it

tepid olive
misty cradle
#

@tepid olive tip: use flex on the cc button for it and check the controller

tepid olive
#

what controller

#

View Controller?

#

JoeMamaController

#

I’m too tired for this shit

#

Goodnight

hardy glen
#

is there a better way to run arm64 binaries without using a whole qemu vm

tepid olive
#

mach-o or elf

hardy glen
#

either or. preferebly mach-o

#

i have a bunch of spare arm64 iphones so i guess i could use those

tepid olive
#

there are translation layers iirc

#

stuff like aah

hardy glen
#

not familiar hm

tepid olive
hardy glen
#

was just looking at that, thanks. i was messing with unicorn earlier and did not like it so i just ended up using debian aarch64 on qemu

tepid olive
#

just inject the aah dylib, should work

lime pivot
#

it would definitely be super interesting if you can make ELFs run on iOS with that

#

then you can somewhat run a Linux env in a chroot, of course it may be limited since there's no Linux kernel running

tepid olive
#

i don't know much about elf but couldn't we "unpack" an elf to .o files and make it a mach-o?

lapis vessel
#

that sounds like fun

nimble parcel
#

so going through .o would just be a whole lot of mostly pointless work. imo your best bet (if you really want AOT translation instead of emulation) is using some sort of Static Binary Translation tool, similar to how Rosetta 2 works

late ridge
#

TIL swift deprecated the ++ and -- operators ._.
was there a legitimate reason for that

primal perch
nimble parcel
late ridge
#

ah I guess so

versed lynx
#

ios 15

restive ether
#

retweet

surreal mountain
#

bitch

primal perch
#

cope harder

tepid olive
steady nest
primal perch
#

yea true

tepid olive
#

I accidentally fixed a bug but it prolly made like 6 other bugs

primal perch
#

wtf

#

shes eating dghost

#

she killed him

rain prairie
#

!!

primal perch
rain prairie
#

stole his acc too

peak quartz
rain prairie
#

tl;dr reasons

grim sparrow
#

i’ve already said this many times, lol.

in simplified terms, the first installation of your package manager is done with apt using sudo. apt will run the package manager’s postinst script as root with the sudo perms you gave it. that script calls chown 4755 /path/to/package/manager/helper/tool. this enables the ability for that helper tool to call setuid() later on.

when the package manager wants to do perform an operation later on, it will spawn the helper tool. then the helper tool calls setuid(0), and now the helper tool is running as root. next, it uses its root permissions to spawn apt as root.

apt will then perform the requested operation, which may include running a package’s postinst script as root. inside that postinst script, a package basically has full permissions, where it can easily nuke your entire device.

this is why you only install packages that you trust

rain prairie
#

ahaha they copied it

#

ahaha

tepid olive
#

i’ve already said this many times, lol.

in simplified terms, the first installation of your package manager is done with apt using sudo. apt will run the package manager’s postinst script as root with the sudo perms you gave it. that script calls chown 4755 /path/to/package/manager/helper/tool. this enables the ability for that helper tool to call setuid() later on.

when the package manager wants to do perform an operation later on, it will spawn the helper tool. then the helper tool calls setuid(0), and now the helper tool is running as root. next, it uses its root permissions to spawn apt as root.

apt will then perform the requested operation, which may include running a package’s postinst script as root. inside that postinst script, a package basically has full permissions, where it can easily nuke your entire device.

this is why you only install packages that you trust

peak quartz
tepid olive
#

@edgy cape did you ever get ssh inside an iPod btw?

#

where

#

@grave sparrow zefram has a dissassembler?

hardy glen
#

just research, its a great thing to learn

restive ether
#

i’ve already said this many times, lol.

in simplified terms, the first installation of your package manager is done with apt using sudo. apt will run the package manager’s postinst script as root with the sudo perms you gave it. that script calls chown 4755 /path/to/package/manager/helper/tool. this enables the ability for that helper tool to call setuid() later on.

when the package manager wants to do perform an operation later on, it will spawn the helper tool. then the helper tool calls setuid(0), and now the helper tool is running as root. next, it uses its root permissions to spawn apt as root.

apt will then perform the requested operation, which may include running a package’s postinst script as root. inside that postinst script, a package basically has full permissions, where it can easily nuke your entire device.

this is why you only install packages that you trust

#

@grave sparrow thanks saurik

tepid olive
#

Capt Freeman (saurik)

azure sail
#

how do I update a silica repo

#

I wanna add a new package to it

tepid olive
azure sail
tepid olive
azure sail
tepid olive
tepid olive
#

also just do git config --global core.autocrlf input

#

then it won't mess with your line endings

#

here's my script:

#!/bin/sh                                        
                                                 
# Force GPG to ask for a passphrase if necessary 
gpg -o /dev/null --sign /dev/null >/dev/null 2>&1
                                                 
rm -f Packages                                   
rm -f Packages.gz                                
rm -f Packages.bz2                               
rm -f Packages.xz                                
rm -f Release                                    
rm -f Release.gpg                                
rm -f InRelease                                  
                                                 
dpkg-scanpackages debs /dev/null > Packages      
gzip -k Packages                                 
bzip2 -k Packages                                
xz -k Packages                                   
zstd -k Packages                                 
                                                 
apt-ftparchive -c aptftp.conf release . > Release
gpg -o Release.gpg -a -b --sign Release          
#gpg -o InRelease --clearsign Release            
twilit jungle
#

Bruh

surreal mountain
tepid olive
#

blame my shitty terminal copy paste

#

the actual file doesn't have trailing whitespace

surreal mountain
#

ok bouta say bruh

#

@tepid olive i have discord bot u might like

#

bot to correct google amp links

tepid olive
tepid olive
tepid olive
tepid olive
tepid olive
#

just do wc -c Packages instead

#

much simpler and more portable

tepid olive
#

yes

#

that's like asking would echo work in WSL

#

it's a very basic command that mostly any system has

tepid olive
#

I don't see why you'd think a command to simply get the size of a file wouldn't work ¯_(ツ)_/¯

tepid olive
gentle grove
#

imagine using wc to get file size

tepid olive
#

Average wc -l fan

#

Average du -sh enjoyer

#

Fill the meme in yourself

primal perch
#

average linux user

#

average windows enjoyer

indigo peak
#

[redacted list of slurs]

serene dragon
#

average frcoal

tepid olive
primal perch
#

me

tepid olive
rain falcon
#

nfr

faint timber
#

windows is so bad

faint timber
#

why do you keeping using that

primal perch
lime pivot
#

and @ everyone else who uses swift for some reason

tepid olive
#

test failed

grim sparrow
#

Woah

peak quartz
#

So this is the new infra for cr4shed?

tepid olive
peak quartz
# tepid olive What

Shortcut to send the crash log to the dev after a crash occurred if your tweak is the culprit

tepid olive
#

oh

#

Nice

peak quartz
#

Yea, reminded me that CCTime13 is not clear enough that it is meant for iOS 13 and not 14. Should add this to the control file as well

left owl
#

greetings, i’m looking for the method recognizing finger touch on home button, thank you

tepid olive
#

@left owl the method that returns to homescreen?

#

Sorry for Double ping btw

left owl
#

yes, and the one that recognizes touchid

tepid olive
#

Uh

#

Ok

#

One sec

#

Nvm I thought I knew it but I didn’t

#

Sorry

left owl
#

no problem, thank you

tepid olive
#

Yup

nimble parcel
gaunt mesa
#

it’s never

#

prepare for disappointment

nimble parcel
#

dw im not hoping for much

gaunt mesa
#

can’t wait for apple to switch the ABI for arm64e next year or something

#

and kill us all again

nimble parcel
#

has anyone checked the ABI version in iOS 15

#

also I’m really excited about DocC

#

time to redo all the Orion docs welp

opal ridge
#

why would the abi switch kill stuff

gaunt mesa
#

just like it did with ios 13 to 14

opal ridge
#

well, that isn't that much of a problem

#

Anyways we have the remount issue to deal with first

lime pivot
#

glad they finally worked out something proper for this though, after all the ad-hoc afterthought-feeling stuff it's been up to this point

gaunt mesa
tepid olive
#

i was switching back and forth between 13 and 12 and could notice 13 had much better compile times

#

and also 13 seems to be much better at handling large swiftui views

#

not great still but it works much better now

lime pivot
#

that's definitely good

#

a real shame it took 2 years to get to "the compiler can sorta handle more complex SwiftUI views"

tepid olive
#

it's also loosely related to RAM apparently

#

8gb seems to be not enough for smooth swiftui development

lime pivot
#

how soon until not even 32GB is enough huh

tepid olive
#

@lime pivot do you get this when working on SwiftUI

#

ugh i've been just fighting against this error

#

no errors except that meaningless thing

#

The compiler is unable to type-check your mom in reasonable time

#

The compiler is unable to fuck your sister in time

tepid olive
tepid olive
#

ugh

tepid olive
#

my fan spinning hard

#

1.4ghz, this gets to 100C in seconds

#

A small price to pay

wicked summit
#

time to download 3rd version of xcode onto my mac

#

xcode gonna be all my storage

tepid olive
#

trol

tepid olive
#

.

ashen birch
#

is that a vm or did apple really ship 1.5ghz cpus in 2020 mbps

tepid olive
#

they did

ashen birch
#

that's mad cringe

tepid olive
#

it's pretty fast tho

#

just underclocked

#

it can boost well

primal perch
#

the real bruh is 8gb ram

twilit jungle
gaunt mesa
#

true

pearl sail
wicked summit
#

😐

tepid olive
gentle grove
#

can i download more gpu

#

download intel gpu

twilit jungle
wicked summit
#

download more cores

pearl sail
#

Can I burn down airline companies for a delaying a flight more than once

wicked summit
#

morally, yes

#

legally, yes

pearl sail
#

Oh great guess I am gonna have some fun when I land

primal perch
primal perch
#

@rain falcon nfr

rain falcon
#

nfr

hardy glen
tepid olive
#

ramdisk moment

lime pivot
#

I love ramdisks

#

I can’t say the same about using usbs as ram

#

Microsoft really thought that was a great idea in Vista, ReadyBoost

#

I think it either still exists in 10 or was recently removed because did anyone even use that

#

man the early jailbreak years would have been a great time to scam people into buying a softram equivalent

#

literally just enabling stuff built into the OS (zram)

twilit jungle
#

Still can to some degree

tepid olive
#

i'd assume the nand's longevity would be significantly impacted if Apple added swap to iOS

#

I was really excited to see what smartctl showed on my iPhone, but the tool straight up didn't work on iOS, since it used a macOS kext

#

you can but at what cost

primal perch
#

swap is already surely used on ios bro

lime pivot
#

although at least since Apple started really caring about their flash quality, they've been super over-provisioning them

#

it's definitely not

primal perch
#

every OS worth a damn uses it

tepid olive
primal perch
#

id honestly be surprised if not

#

so maybe cue surprise emotion

tepid olive
#

i've never heard of iOS using it

#

because of nand issues

#

libhooker pro was supposed to add it, if that ever ships

twilit jungle
#

I mean jetsam sounds like a reasonable thing to have even with swap

primal perch
#

true

#

the latest source i could find saying it didn’t was like 2015

#

color me surprised then

#

since i thought they used it even earlier

twilit jungle
#

The "most actively developed" compiler, Quick C--, was abandoned in 2013.

tepid olive
#

Norman Ramsey
I didn’t know Gordon Ramsey had a brother

twilit jungle
#

Yeah he is the normal one

lime pivot
#

you just have to find logical bits you can break down by assigning it to a let, then use that var inside the big combined view you’re returning

#

or just split it out to an entire new View subclass (substruct…?) if it seems to make sense to

hardy glen
#

this is pretty dope

#

i imagine one could learn alot of things

faint timber
#

last time someone did something like this, they were completely and utterly embarressed after

serene dragon
#

Watching someone code is like watching paint dry, the best you can hope to do is point out mistakes

pearl sail
#

I feel like the only way for this stuff to be useful. Is if the dev goes into real detail and can call into other examples of the code. Where beginners could understand. Otherwise it is exactly like watching paint dry.

hardy glen
#

yea but honestly i assume he would explain and do commentary over stuff he is doing. If you can understand the code they are writing and are familiar with C, i don’t see any issue with following along.

#

i could watch google kickstarts with no commentary and follow along just fine. i think its just about the knowledge you might have. i don’t think a beginner could learn anything of significance from this, its like watching tutorials on how to make a game, and you only know how to write a simple if else statement

hardy glen
upbeat wyvern
#

anybody figure out how to open new shared cache in ida yet?

#

was thinking of concatenating them together but then symbols would be an issue probably

#

and it doesn't work at all

twilit jungle
#

Its a new format right? So IDA probably needs updating even if you are able to load it

upbeat wyvern
#

it's split into multiple files

#

but it ends up pretty similar once it's mmapped in I think

#

maybe I should try just dumping it from memory

#

hmm yeah that should work, dlopen... get the range of the lib I want, write to disk

lapis vessel
upbeat wyvern
#

not that I know of yet, but I could paste you the code dyld uses to load it from RE 😛

lapis vessel
#

Lol yes pls

grim sparrow
#

lol

#

@gaunt pewter just a dumb thought, but wouldn’t that func need to be exposed to objc

#

Is that protocol method just not implemented by default?

tepid olive
tepid olive
#

im trying to make a tweak with 0 experience and i dont know where to start. no coding experience. i need a jumping off point

gaunt mesa
#

who deleted it

#

@restive ether sir who deleted tweakdev tag

#

i made it and pinned it

restive ether
#

idk don’t ask me

gaunt mesa
#

i never deleted it

tepid olive
#

9-9

gaunt mesa
#

here snapple check this

tepid olive
#

h

wicked summit
#

all these new updates out

#

when will they be in

primal perch
#

ol

next wadi
#

l

#

ok uh ive been here for a long time and ive met some really great people here but tbh i think my time here is over

ive lost so much of my life and time with family and friends in general due to discord and i think i need to start remedying that problem so im leaving here and a few other servers

so yea gn and good luck in the future

primal perch
#

cya bro

#

godspeed

rustic oriole
#

cya bro

primal perch
rustic oriole
#

godspeed

primal perch
#

true

rustic oriole
#

true

twilit jungle
pearl sail
primal perch
#

"im offended by that"

#

bro

#

go outside

tepid olive
#

luki is dumb

faint timber
#

I think language with jit support is considered a programming langauge

misty cradle
#

mashallah brother @vivid dew

primal perch
wicked summit
#

javascript is a programming language deadaf

tepid olive
#

oh

#

I didn’t know they did that

#

luki is a clown

#

@tepid olive luki these nuts

primal perch
#

ok

restive ether
#

threatening then essentially doing so

primal perch
twilit jungle
#

swift moment

#

ofc

tepid olive
restive ether
#

i can’t believe he typed this

#

and said

#

yeah

#

let me post that

#

after just banning someone for doing literally the same thing

misty cradle
#

l

obsidian briar
#

!beta

late ridge
#

!beta

tacit spade
#

so there’s a “new” class in 15

#

this is literally _UISheetPresentationController from 13 and 14

#

it’s how I did this fancy thing

late ridge
#

^^
Basically OBWelcomeController easy mode

twilit jungle
#

ObviouslyBloatWelcomeController

#

true

lime pivot
hardy glen
tacit spade
#

oh god

hardy glen
#

most entertaining thing reading this sub lmfao

silver rampart
tepid olive
hardy glen
#

lmao idk where he heard of this smart technique

brazen birch
#

Hello people , i am doing reverse Engineering for Android apps from past 3-4 Years,

As a new IOS user , i want to explore / reverse this side too , anyone who can help me to start with this new journey ?

#

( without MAC )

grim sparrow
#

What do you actually want to achieve

brazen birch
#

Improve my reversing knowledge & enabling hidden features etc.

rain prairie
#

given the difference between the two examples you've given i fear the "etc" may mean "and everything else possible" in this instance

rain prairie
brazen birch
rain prairie
#

ok well if you can RE Android stuff then you can RE iOS stuff

#

unless you stuck to JVM things on android

#

in which case it's different

brazen birch
#

Amy tools for decryting in windows ?

rain prairie
#

not that i know of

#

do you have an iOS device

brazen birch
#

Yes i bought iphone 6s ( 13.5 ) + iphone XR (15.0)

rain prairie
#

if you jailbreak the 6S then you should be able to decrypt apps from it

brazen birch
#

How how ? 👀 I did jailbreak using crakr1n

rain prairie
#

crakr1n is new

#

to me at least

#

you can use checkra1n, unc0ver or odyssey

#

if you need help with jailbreaking the device then this isn't the channel for that

brazen birch
#

I did already* so i need help in development

rain prairie
#

oh sorry i misread your message

brazen birch
#

Np

rain prairie
#

i can't help you with debugging, development and reverse engineering all at once

#

pick one

high citrus
rain prairie
#

what do you want to reverse

brazen birch
brazen birch
high citrus
rain prairie
#

but see the link i sent if you want to decrypt an app to look at that

#

you'll probably want something like Filza unless you want to use the command line for sending the decrypted binaries to a computer

brazen birch
#

I can manage the remaining things but i just need a decryting tool for windows

rain prairie
#

but afaik there isn't a decrypting tool for windows

#

you need to do it from the phone

brazen birch
#

Oki... Thanks

lime pivot
#

Windows doesn't know how to decrypt apps, your phone does. the keys are in hardware and tied to your Apple ID and all, so it's just easier to tell iOS to decrypt the binary, then pull it out of memory

#

which is what those decryption tools do

brazen birch
#

Okay got it , thanks for the explanation 😄

Any decryting app for iOS you are aware of ?👀

tepid olive
#

[[bfdecrypt]]

faint lionBOT
#
bfdecrypt

bfdecrypt for iOS 11+

Author

level3tjg

Version

1.3.1

Price

Free

Repo
Add Repo
More Info
brazen birch
#

Thanks boss 😴peepoLove

grim sparrow
shrewd flame
#

just curious, but do y'all recommend i keep my mac on Catalina or update it to Big Sur?

shrewd flame
grim sparrow
#

Big Sur

#

Compared to Catalina is a lot better imo

#

Monterey feels a lot better than both but is still buggy

shrewd flame
#

alright thanks for the input

gaunt mesa
#

monterey is great

faint timber
#

@grim sparrow I barely notice I’m on big sur

#

Except when I open finder

#

And there’s popup dialogue

#

Pretty much the same os

surreal mountain
#

monterey been actually good for me so far

#

only safari issues

wicked summit
#

monterey is so unbelivably less buggy than big sur was on initial dev beta relase

#

only problem i have is volume HUD reacting super late sometimes

#

monterey is cool, not many big changes though

surreal mountain
#

looove private relay

#

so seamless

gaunt mesa
twilit jungle
gaunt mesa
#

i'm not wrong

twilit jungle
#

Imagine still using macOS

gaunt mesa
#

u can't find bugs where there weren't changes

gaunt mesa
wicked summit
#

did the volume HUD change though

gaunt mesa
#

no?

wicked summit
#

that's buggy for me

#

also they should've changed volume HUD

#

why is it the same box

twilit jungle
#

because nostalgia

wicked summit
#

macos 2 versions behind ios

twilit jungle
#

they literally don't care about macOS

#

use ipadOS

wicked summit
#

okay how to install ipados on mac

twilit jungle
#

Thats a journey you'll have to enjoy on your own

gentle grove
#

ok

grim sparrow
#

that's my only issue with it

twilit jungle
#

why would that be os related?

surreal mountain
gentle grove
#

who is that in the top right

twilit jungle
#

lisa

restive ether
nimble parcel
surreal mountain
#

yes

twilit jungle
#

Mr ying

gaunt mesa
rain prairie
#

lmao

surreal mountain
#

until i found out it was electron

#

i did get access to test material before the test thoughj

gaunt mesa
#

well cuz its loaded offline for the tests

surreal mountain
#

yeah

#

test material is loaded in the day-before checkin

gaunt mesa
#

nah

#

its loaded whenever u do the prep thing

surreal mountain
#

oh thats three days before the test

#

a three day window

#

i forget it was like weeks ago and i didnt care enough

peak quartz
#

fellow devs

rain prairie
#

no

peak quartz
#

any idea how to send message in the background to whatsapp without opening the app / nsextension?

#

i know siri can do that

#

before reaching out to frida and investigate i wanted a shortcut from you guys

gaunt mesa
#

joe knows how to do it

nimble parcel
peak quartz
gaunt mesa
#

joe mama

nimble parcel
peak quartz
peak quartz
rain prairie
surreal mountain
peak quartz
nimble parcel
peak quartz
wicked summit
#

i was able to circumvent safe exam browser

#

open source security system

tepid olive
#

@gaunt pewter did you get BSODs installing Windows 11

#

it won't work at all in qemu for me

primal perch
#

gm

grim sparrow
surreal mountain
#

homebrew pinentry seems to be dead on m1 monterey

#

it just happened all of the sudden ive committed stuff and it worked but today it just died

#

so

#

procursus pinentry it is

tepid olive
wicked summit
#

true

wicked summit
#

time to name variables master1 master2

tepid olive
#

im sure its swiftlint, just gotta disable that rule

grim sparrow
tepid olive
#

you should name it the main array 🤓

#

whats new

primal perch
#

bro are you just gonna circlejerk stuff all day

#

anyway if you excuse me im going to go praise C for another 3 hours

tepid olive
#

best language, nothing wrong with it, can never be replaced, etcetc

primal perch
#

i mean

#

not wrong tho

#

until we get objective-zig anyway

tepid olive
#

i much prefer objective-python

#

zig is too mainstream for my taste, pure language wise i like to hit up fortran

primal perch
tepid olive
#

maybe even haskell if im feeling zesty

primal perch
#

i do quite like objc in terms of syntax and readability

#

that being said its a lot of boilerplate

#

and you get to write things like 3 times

restive ether
#

your mom was really nice last night

primal perch
#

fair

shadow trout
#

how do you make a welcome screen for your app?

#

I think dopeconvos has one

#

examples?

primal perch
#

whatever you do just dont do it in springboard

#

thanks,
literally everyone

gaunt mesa
#

use OBWelcomeController

shadow trout
#

troll i will use the bloat welcome controller

gaunt mesa
#

die

primal perch
#

das

tepid olive
#

der

#

wanna know the best welcome controller
It's a control file field: Description:

gaunt mesa
#

TRUE

primal perch
#

better yet use stock ios

tepid olive
#

damn man too true

tepid olive
primal perch
#

true

twilit jungle
#

Lmao true

surreal mountain
#

🛰

gentle grove
#

or linux

ashen birch
#

??

gentle grove
#

python is GOOD

#

does it work on mac

#

not sure if it works on systemd

#

Never tried it

#

I'll have to try it once I can get a credit card or something for oracle cloud free tier and then move boba.best to a vps there and then try it on systemd on Debian

summer fulcrum
#

Basically, the latest theos requires the manual linking against all the basic frameworks such as UIKit, CoreGraphics etc, which never required before (which "broke" every projects I did before)

#

Is this intentional?

restive ether
#

yes

summer fulcrum
#

🤦‍♂️ okay thanks. That's why I hates update theos, every update broke something on my projects.

twilit jungle
#

bruh_l that change was made months ago if not over a year

brazen birch
#

Hiii 👀

#

I managed to extract .ipa file , how to read the code without MAC now 🕵️

grim sparrow
brazen birch
#

💀 O.o k

lime pivot
grim sparrow
#

By no means do I support piracy however if one was to slide into my dms I might be able to help you out

#

or of course you can just google stuff

summer fulcrum
tepid olive
grim sparrow
#

lmao

rain prairie
#

how do i combat some idiot uploading my tweak to mediafire and putting it behind a gestyy link

grim sparrow
#

What you have just described is an interesting method of piracy

rain prairie
#

he renames the deb files, so if i could somehow detect that in one of the *inst scripts then i could put a token file somewhere

#

it's a free tweak

grim sparrow
#

It's still piracy

#

By definition

rain prairie
#

actually yeah

rain prairie
#

haha

grim sparrow
#

lmao

rain prairie
#

mediafire don't make it easy to get stuff taken down it seems

grim sparrow
#

It's open source right

rain prairie
#

it is

#

this is my first idea

tepid olive
tardy narwhal
#

did you license it or just uploaded source code

lime pivot
grim sparrow
#

it's not licensed

rain prairie
#

no defined licence, so i think it's copyrighted by default

grim sparrow
#

it is

lime pivot
#

you still, technically, retain copyright on binary releases

tepid olive
#

i love it when people open source but don't allow pull requests and don't license it

grim sparrow
#

lol

tardy narwhal
#

then it’s ARR by default, mediafire should comply with it since it’s open source software and not FOSS directly

rain prairie
#

i just forgot to add a licence lol

lime pivot
#

we have in a few cases used NewTerm and TypeStatus (the free one) to take down github pages piracy repos

rain prairie
#

nice

grim sparrow
#

I have a list of new github piracy repos to claim

#

I just haven't had the energy to do it yet

tardy narwhal
#

make a script to automate

tepid olive