#development

1 messages · Page 18 of 1

cloud yacht
#

Right but it can use the bootstrap sever once it's available. Just a socket for before it's available?

#
  • are sandboxed things actually booting before launchd?

  • idk polling? Or can the thing with the socket tell you when it's available?

timid furnace
#

is /var/tmp a good place for ephemeral data storage

#

i'm not ready to convert my code into an XPC daemon yet so i want to store something there on boot and have my tweak read it as needed

#

yes

#

great

#

ugh

#

i hate how i have to be on a vpn to access llvm.org

#

but if i'm on the vpn i can't access local network

#

yea

#

vscode.dev's cdn domain used to be blocked too fr

#

time to submit yet another ticket ig

#

this isn't even the normal blocker

#

which blocks random IPSWs for some reason

#

every interaction i have had with this stupid malware shield has been a legitimate site fr

lime pivot
#

the entire internet is malware

timid furnace
#

beautiful

#

also woeis small screen moment

#

oh i need to write a launchdaemon so this runs at boot don't i

hasty ruin
lime pivot
hasty ruin
#

Charix quality

glacial matrix
#

But what if the standard is wrong?

harsh needle
#

im guessing platform binary = actual osx binaries. but thats not what im doing

#

just a normal distributed codesigned binary

#

started lldb as root, yet it still shits itself

peak quartz
#

Someone knows why the fuck new tweak with hook on springboard and overriding applicationdidlaunch doesn’t work? I mean even if I use a class from springboard doesn’t give me any value, happens only on a specific device (xs iOS 13.3) on any other device (x 13.5 or 12 pro 14.4) it works!

#

Both x (13.5) and xs (13.3) using the same unc0ver versio (5.3.1) and I have no idea what’s going on, even tried rootfs/completely restore the xs but nothing shows up! Hooking on a specific app works ok

#

really simple as that ```#import <Foundation/Foundation.h>
#include <UIKit/UIKit.h>

%hook SpringBoard

  • (void)applicationDidFinishLaunching:(id)application {
    %orig(application);
    NSLog(@"WOW");
    }
    %end```
#

{ Filter = { Bundles = ( "com.apple.springboard" ); }; }

#

and its not just the nslog not working, any functionality i try is not working

slim bramble
#

Hey is it possible to create a root helper in bash and then execute it in a Shell or ish to access /var/mobile ?

faint timber
ocean raptor
#

For all you sickos who compile from iOS: you can now use @available in your tweaks

hasty ruin
faint timber
#

list1.issubset(list2) ended up working,
however, there's one major caveat... set's don't allow duplicates so this a flaw that just can't happen because duplicates are in the nature of the data

list1 in list2 doesn't return true for some reason despite sets working fine

#

ah this syntax works all(x in list2 for x in list1)

glacial matrix
glacial matrix
ocean raptor
cloud yacht
#

cool

primal perch
#

For each operand that names a file of a type other than directory, ls displays its name as well as any requested, associated information. For each operand that names a file of type directory, ls displays the names of files contained within that directory, as well as any requested, associated information.

#

diskutil resetFusion

#

🧌

tepid olive
#

Best website

ocean raptor
#

W

#

🥰

slim bramble
#

Hey, this might sound stupid but I want to see what I can do for mcbc iOS 14.x, the problem is : I don't know what needs to be updated for iOS 14 troll

faint stag
slim bramble
pearl sail
#

Killing you is pretty easy

vivid dew
#

real

primal perch
tepid olive
hasty ruin
#

Fr

faint timber
#

Again, who really cares?

#

It’s not tweaks

#

Shut the fuck up

cloud yacht
#

I mean it is development

faint timber
#

I know but too many clout chasers in here

tepid olive
faint timber
#

Doesn’t matter

tepid olive
#

What

primal perch
tepid olive
#

Green name not be a total imbecile challenge [impossible]

#

This also applies to red names

#

Exceptions apply to kitty and shouganai

vivid dew
#

i'm one of them

vivid dew
#

omg a discord notification

#

i'm not going to be friends with you until you complete my challenge

lime pivot
faint timber
#

again, doesn't matter what I said

tepid olive
#

nerd

tepid olive
hasty ruin
#

Recreate ntwerk

tepid olive
#

Gm Rolex

pearl sail
pearl sail
faint timber
primal perch
primal perch
ocean raptor
#

I have never seen a wild gator outside of the Everglades

faint timber
#

CryptoTokenKit is a SEP akf framework that's closed source and used by Security Framework.
It's used for system cert attestation. SIK/UIK Which is used for many things, activation, BCert etc

faint timber
#

@grave sparrow this fine?

primal perch
#

amoung

lyric timber
#

I'm still looking for these files:

581993e4320b7abe499b63f4c8c566ef3415235d  Command_Line_Tools_for_Xcode_14_beta_2.dmg
dd2973ea5fd80b1dea7963867db29fec7f0f528d  Command_Line_Tools_for_Xcode_14_beta_3.dmg
e709a707e5c5faef1620eb23f2e3c71eae38ad11  Command_Line_Tools_for_Xcode_14_beta_5.dmg
primal perch
#

@vivid dew do you have a mic

vivid dew
#

yes

primal perch
vivid dew
primal perch
vivid dew
lyric timber
wicked summit
#

are you writing objective-C in school

#

or were you using #import in C

#

source?

primal perch
#

apple clang

wicked summit
#

I'm pretty sure #include is standard for C

#

#import was made with objc

primal perch
#

capt is just stubborn

wicked summit
#

capt moment

wicked summit
#
#include <somebitches>
#

gm

ocean raptor
#

He's just a complete dumbass

wicked summit
#

real

#

same

ocean raptor
#

Capt when he thinks he did something by writing objc but claiming it's c

wicked summit
#

capt asks his professor where the @ is before string literals

ocean raptor
#

You know this won't work, right?

faint stag
ocean raptor
#

"#import is the proper syntax for clang"

#

Bro thinks clang is a language

#

No idiot

#

Clang is just an implementation of the C standard

hasty ruin
#

@tepid olive n||asty||

ocean raptor
#

Clang just isn't pedantic enough and allows you to use objc syntax in a .c and not linking libobjc

#

You want #import in C? Talk to the standard committee

#

Otherwise

#

shut up

hasty ruin
primal perch
#

fr

tepid olive
#

is this safe to use on palera1n?

#

its a fork that (supposedly) adds ios 15 support

#

im even more tempted to run palera1n on my main device, now also to see if it works, but im not exactly keen on bricking my device

#

eh, you know what, fuck it, im going to do a local (encrypted) itunes backup, and run palera1n

#

since I already have onboards for 15.1

ocean raptor
#

nobody asked

tepid olive
ocean raptor
#

oh god, not you again

tepid olive
ocean raptor
#

@grave sparrow do you use C++ in your code and claim that it is valid C code because it is part of clang

ocean raptor
#

capt when he writes rust code and claims it's C because rustc uses llvm Clueless

ocean raptor
primal perch
#

god i love old spongebob

hasty ruin
#

True

vivid dew
#

troll

primal perch
#

true true

sonic root
#

I am just mad

ocean raptor
#

Oh wow, an objc feature is in two objc compilers

#

Too bad ITS NOT IN THE C STANDARD

indigo peak
#

lmao

#

well its meant to work on trollstore

#

and thats the only app decrypter that supposedly works on ios 15

tepid olive
#

help, make package command makes a deb file with -debug version, how do i make a deb without -debug

#

im new to this

ocean raptor
#

Read the docs Clueless

tepid olive
#

do i run chmod +x postinst?

#

eh its for ios 12

#

hm, i chmod'ed the postinst then did make package FINALPACKAGE=1 STRIP=0 and it doesn't do anything after installing the deb, my script:


echo " Running uicache..."
uicache -p /Applications/AirTroller.app
echo " Running uicache... Done."

exit 0;
#

it's like this

#

YES! it worked

#

thank you

ocean raptor
#

Bro doesn't understand how triggers work

#

You know, every time capt speaks he just gets dumber and dumber

restive ether
ocean raptor
#

Ikr

#
echo Thank you for using procursus
echo follow us on Twitter at @ProcursusTeam
echo and at @KatriCameron
#

Adding to every procursus package postinst right now

restive ether
#

#!/bin/sh

uicache -p /Applications/AirTroller.app

#

there i made a portable script for you

tepid olive
restive ether
tepid olive
#

and all jailbreaks

#

so yea

restive ether
#

oh ok that's fine then

gaunt pewter
#

@tepid olive yo dumb question since u know swiftui shit: is there any library which helps provide consistent colors on both macOS and iOS? (i.e "solving" the UIColor/NSColor oddities)

tepid olive
#

Unless it’s about displaying it

gaunt pewter
tepid olive
#

Those colors aren’t meant to be the same for both platforms

gaunt pewter
#

oh

#

i mean they all don't even have counterparts for each other

tepid olive
#

The colour is intentionally different

#

What’s missing

#

You could just get the rgb codes for the colors

gaunt pewter
#

NSColor is missing systemBackground, for exampel

tepid olive
#

windowBackgroundColor

#

should be a good alternative

gaunt pewter
#

ah okay

#

i just dislike they're inconsistent and have different names

twilit jungle
#

:frbruh_l:

vivid dew
#

wtf

#

gh0st alive

primal perch
hasty ruin
tepid olive
#

umm another question, can i set the firmware version range from ios 12.0-12.5.6 in the control file?

hasty ruin
#

Depends: firmware (>= 12.0), firmware (<= 12.5.6)

tepid olive
#

oh uh ok

#

ty

hasty ruin
#

i thought of that but i just stuck to what was asked

ocean raptor
#

Extremely rare capt smart moment

primal perch
turbid fjord
#

Icraze when 12.5.7 releases

ocean raptor
vivid dew
#

wtfahhhhhh

river imp
#

nvm it was just another tweak i forgot i installed

#

thx

lime pivot
#

it's << rather than just <, because reasons

#

yep

#

<=, <<, >>, >=

#

and because something would be very wrong if it possibly had any consistency, equal version is = and not ==

primal perch
#

i mean if it does what you want to

hasty ruin
#

fr

faint timber
ocean raptor
faint timber
#

why wouldn't it be lol

rain falcon
#

@grave sparrow listen fucker

hasty ruin
#
BOOL isTrue(BOOL b) {
  return [(b ? @"ntwerk" : @"nsquirt") isEqualToString:@"ntwerk"];
}```
indigo peak
#

so the phone will panic/respring if the app has a plugin

tepid olive
#

Loss

neon jungle
#

Does anyone know if this looks correct?

#

nvm very broken still

unkempt raft
# neon jungle

you run an expression with try! (most likely in package.swift) and it crashes

#

or you call a method that executes try!

neon jungle
unkempt raft
slim bramble
#

Are they any good ide for swift on linux/windows?

slim bramble
unkempt raft
#

has sourcekit-lsp support

neon jungle
neon jungle
unkempt raft
#

wine microsoft word

#

under m1 emulation

neon jungle
#

programing in ms word

unkempt raft
neon jungle
unkempt raft
#

has intellisense

neon jungle
#

why

unkempt raft
neon jungle
#

Tbh I didn't know bash had a limit

wheat grotto
#

How would i develop my own API ?

The plan is to gather data (temperature, air moisture etc.) from an ESP8266 with all the sensors or similar, and send it over to a SQL database so another program can read it afterwards

Ive never made something like that, so i pretty much need whatever help i can get

#

True

tardy narwhal
#

when the nut is less successful than anticipated

wheat grotto
tardy narwhal
# wheat grotto How would i develop my own API ? The plan is to gather data (temperature, air m...

After you're done with the initial hurdle of getting everything running on the sensor/esp-side of things (correct readings, intervals, data structure, wifi connectivity), pick a web framework of choice and start out building a very simple hello world.
Assuming you really dunno webdev, what you'd want to design are endpoints which consume only (e.g. you can only POST to them(send data)) [yes there are other methods but we'll gloss over them for the sake of simplicity].
For security you can probably get away with a token system (such as JSON Web Tokens) or even simpler - a predefined, singular token. This will depend how much you're scaling this project but it doesn't hurt to take the simple route at first and optimize as you go

wheat grotto
#

It pretty much requires only a single ESP8266 that would send the data, for the web site, i chose nuxt

#
  • vuetify
#

had that last year

#

so why not

#

Would be cool if i can make it scaleable (add more devices via a web ui) but for now, its only a single device

tardy narwhal
#

I'm not much of a wizard with javascript tbh but the core concepts should carry over, however do focus on getting the readings from the device to your webserver first - since you're in control, try sending the data from the esp in an orderly crafted JSON to your webserver and print the incoming data to the console

#

if the data received equals the data sent, you're well on your way to proceed

wheat grotto
#

I like how im a "programming technician" yet i know absolutely nothing about what i need.

At this point, all i have is that nuxt project where my frontend gonna be running on localhost and the ESP itself.

ESP side should be pretty simple, cause ive worked with arduinos for quite a while, so thats a piece of cake, the ESP is pretty much an Arduino Nano but with Wifi and a bit more powerful but thats pretty much it lol

#

And this is my last year, so good luck graduating for me

tardy narwhal
#

All good g, as long as your curiosity and spirit is up that's all that matters.

You might want to look at existing projects, punch in "esp weather station" in google and filter for git repositories which use javascript as backend language. You'll stumble upon projects which can help you in terms of code & the approach

neon jungle
neon jungle
tardy narwhal
#

using google will take you a long way

neon jungle
tardy narwhal
#

use flexall

#

or any other libflex opener

unkempt raft
#

Not flexinf

neon jungle
#

and resprings my phone

unkempt raft
#

Send Cr4shed log

neon jungle
wheat grotto
neon jungle
#

My cr4shed log

unkempt raft
#

Try restoring rootfs

neon jungle
snow python
wheat grotto
snow python
indigo peak
#

@snow python still nothing from chariz?

wheat grotto
# snow python Walk me through what you are trying to accomplish again

I have a hardware side - ESP8266 MCU with temperature sensors, moisture sensors etc.

I have my nuxt front end where i wanna display all the data and manage it

Aaaand i have an SQL database which ill probably use phpMyAdmin for to manage/run it

What i need is a way to get the data from that ESP8266 onto my SQL DB, and for that, the best way is to use an API, probably

#

Yes, SQL is a must

#

I dont make the rules

tardy narwhal
snow python
wheat grotto
#

fr

snow python
wheat grotto
#

That needs to be worked on too.

snow python
#

Ok what has been configured for your mcu right now? Anything been setup for it? I am not as familiar with those, I’m not sure if js would be the best solution for driving an iot device

#

Ok brief research done, make a nuxt api route that accepts post requests with an object, and then on the mcu write a C program that sends a post request with the data you need to the said endpoint every x seconds or whatever for the trigger

tepid olive
#

Which one

#

Fugu >

lime pivot
neon jungle
#

Already tried

#

I tried every version from the top repository’s

#

Only flexall worked but crashes springboard

lime pivot
neon jungle
#

I also tried holding

#

1-6 fingers

#

An activator version of flex

#

Etc

hasty ruin
#

im using libflex+flexing from nscake and both activation gestures work fine (palera1n)

#

3 finger hold

#

and status bar hold

lime pivot
#

3 finger should work with the official one, I think I saw the dev confirm it

#

my brain hurts trying to remember which flex loader tweak is which

hasty ruin
#

flexing is on the official libflex repo

lime pivot
#

yep that one then

hasty ruin
#

so i'd assume thats the recommended one

lime pivot
fervent verge
#

which sdk to compile c++ with mobile theos? I usually use Mac but needed to test something theos mobile kinda trippin

faint stag
fervent verge
#

I can’t compile c++ code with mobile theos, header errors works fine on Mac

#

vector, string etc throw errors

fervent verge
#

C++ headers

faint stag
#

alright, what sdk are you targeting in your makefile

fervent verge
#

latest I believe 14.5

primal perch
#

C++17

fervent verge
#

I had this, I just ported the project from my mac to mobile compiled fine on mac

neon jungle
#

On a clean install of undercover iOS 13

#

Funny thing is cydia doesn’t even give me the option to respring after installing flexing

#

(But of course I did it anyway)

unkempt raft
#

Since you are on 13

wheat grotto
#

That would work too wouldnt it ?

#

Now im just having a trouble of setting a static IP

snow python
wheat grotto
#

I can just program it using the arduino IDE

#

it has libs for that and i have the webserver already up and running

#

ah yes, now its printing a stack trace every time it tries to connect to my wifi network

#

success thumbsUp

glacial matrix
#

You can make an ESP8366 serve a webpage and have it auto refresh in the client by using an EventSource (html). Not what you want but might be useful for local testing

wheat grotto
#

Might want to add some auth tho

high citrus
#

would probably be easier to post the data to the api of the server, instead of letting the server poll from the esp

wheat grotto
#

it could be easier cause the servers IP probably wont change, but the ESPs could

#

Also that would make more sense, but this works too.

#

I guess ill just ask what fits them better

#

backstory of this - This is my last year as i already said, came back from Slovenia, realised everyones having to do some stuff, i didnt have the slightest idea of what i could do, one of the teachers just told me that theres some special oak tree that needs monitoring cause it was a gift to the school or something and needs to be monitored. As they all know that i like messing with technical stuff, soldering and all that bs, and because of that, told me i could make this.

The shitty part of all this is that this isnt a project for myself, which means i dont buy the parts for it and have to request them. The deadline is in 3 days and i dont have any of the sensors i need fr

#

I can do guesswork from examples online, which i will do, but at this point in time, ill just "emulate" the data i would gather from these sensors to test if the system even works

#

also used NTPClient to get the current time and date of the request

#

Might have to add an actual date tho, weekdays dont think will do it

cloud yacht
high citrus
cloud yacht
#

Yeah I guess unless theres a physical stroe you can go to

high citrus
#

you could start with a script that generates data locally (on the server), and just work on the connection with the database and to the frontend first. Then just modify the script to pull the data from the esp instead

cloud yacht
#

I guess if you wrote an abstraction layer around it, then even if the data isn't sturcutred the same, you just have to replace how its abstracted

wheat grotto
#

Well, even tho the deadline is in 3 days, as the teachers that gave me this also have to give me a mark for the same thing, my hope is that i can talk my way out of it for atleast a week or two

cloud yacht
#

The real question is did they igve you a short pried of time to do it or did you procrastinate for like a week or 2?

wheat grotto
#

For the sensors, they, for the rest, me

wheat grotto
#
void serve(){
  timeClient.update();
  String laiks = timeClient.getFormattedTime();
  String diena = day[timeClient.getDay()];
  String jsonData;
  DynamicJsonDocument doc(250);
  doc["time"] = laiks;
  doc["day"] = diena;
  serializeJson(doc, jsonData);
  server.send(200, "application/json", jsonData);
};

Looks simple but i needed like an hour to make this work

#

This library cool tho

harsh needle
wheat grotto
zenith hatch
misty heath
#

is there a way to build unsigned ipa's with xcode?

#

or do i need to use a tool/something else

restive ether
misty heath
#

gaming

#

is there a way to build an ipa with xcode? or do i need a jailbroken device

#

because all of the google searches ive done just says it builds it as an .app but idk

restive ether
#

.ipa is just a fancy zip container anyways

misty heath
#

true

primal perch
#

there’s an answer on stack overflow but basically it’s like product > output or something

misty heath
#

oh

#

ok

turbid fjord
#

@misty heath see above

#

For Xcode btw

#

I believe that’s correct but

#

First time it’s annoying to figure out so ping if you need help but second time it’s easy

misty heath
#

ahhh okay

#

ty

faint timber
#

we do a little RE

primal perch
#

we do a little gay porn

#

true tho

#

its pretty good

restive ether
primal perch
hasty ruin
primal perch
#

that would be gay, not just fruity

hasty ruin
ocean raptor
faint stag
ocean raptor
#

Why is everyone in this server so cringe

faint stag
sturdy chasm
#

anyone know why untaring over ssh is resulting in the error: connection closed by remote host? here is the comman im using: cat rootfs.tar | ssh root@localhost -p 2222 "cd tmp ; tar xvf - -C /mnt1 --same-owner"

primal perch
glacial matrix
lime pivot
vivid dew
#

yo hop on irc

faint stag
restive ether
#

😭

faint stag
prime ingot
# hasty ruin

the one time I look in the dev channel and this is the first thing I see

twilit jungle
#

Yes

primal perch
sturdy chasm
#

anyways I know the command works

#

It’s only throwing an error when the tar is big

faint stag
sturdy chasm
#

where would I place it if there’s not enough space on the device?

twilit jungle
faint stag
twilit jungle
#

How is there enough space for content inside the tar file but not the tar file itself?

faint stag
#

you'd have to mount that too if you didn't already

sturdy chasm
#

If I extract the tar over usb, I will be left with about 4gb

#

Anyways my question is why the connection is randomly terminating

neon jungle
unkempt raft
neon jungle
ocean raptor
#

Just remove the cd tmp;

#

Or

#

Mount a tmpfs, copy the tar to that, then extract it

sturdy chasm
ocean raptor
#

tmpfs is just a filesystem stored exclusively in ram

#

Why do you have a 5gb tarball though

sturdy chasm
#

rootfs

#

Maybe ram is filling up

ocean raptor
#

Did you seriously tarball all of iOS

hybrid stream
#

Can anyone help, i tried installing xcode on my macbook on catalina, earlier it couldn’t expand cause of low space, i freed the disk and got 44gb of free space, clicked, it started to expand, the process completed and disappeared, my storage has 22gb free disk now but i cannot find xcode anywhere, can anyone help?

neon jungle
sturdy chasm
primal perch
#

based tbh

sturdy chasm
#

but it works

#

it’s way easier than making a custom ramdisk to run apfs_invert

#

I guess I’ll remove cd tmp and see if that works

cloud yacht
#

Could you untar the tar then transfer each file over manually?

neon jungle
# unkempt raft no way to tell

Ok I'm starting to make a tweak and need to edit a frame, do you know how I can make it have different values per device sizing? Because I assume it would be bad to only program it to the values for my device

unkempt raft
#

or do you mean edit

#

if you are creating a new element, then don't use frames.
if you are editing an already exsiting, then override some method that's called after frame is set

glacial matrix
neon jungle
cloud yacht
neon jungle
#

I think so, it changes the frame size for the status bar

#

I'll look at that, one last thing, how do I print debug values somewhere

#

Actually I think I'll try hooking into the status bar and adding it to the clock temporary

grim sparrow
#

Effort

neon jungle
#

What phone do you have?

#

Oof now I need to get somebody else to check the frame size

#

same

#

I'm tweaking an old family phone

hasty ruin
#

@azure sail pls warn for rule 8

azure sail
hasty ruin
neon jungle
#

I like tweaking the statusbar

hasty ruin
#

apple music, my favourite device

neon jungle
#

Imao family phone

#

WHY

hasty ruin
#

not as good as morbius tweak

neon jungle
#

''' import Orion
import SideStatusC
class StatusBarTextHook: ClassHook<UIStatusBarStringView> {
func setText(
text: String) {
CGRect bounds = UIScreen.mainScreen.bounds;
CGFloat width = bounds.width;
CGFloat height = bounds.height;
orig.setText("W:(width) H:(height)")
}
}
'''

#

I'm trying to figure out whats wrong with this however I can't find the issue

neon jungle
primal perch
hasty ruin
neon jungle
#

I'm like declaring variables wrong

hasty ruin
#

doesnt swift use implicit variable types

#

so let width = bounds.width

neon jungle
#
Sources/SideStatus/Tweak.x.swift:5:27: error: cannot find 'width' in scope
        orig.setText("W:\(width) H:\(height)")
                          ^~~~~
Sources/SideStatus/Tweak.x.swift:5:38: error: cannot find 'height' in scope
        orig.setText("W:\(width) H:\(height)")
                                     ^~~~~~

<unknown>:0: warning: unable to perform implicit import of "_Concurrency" module: no such module found
Sources/SideStatus/Tweak.x.swift:5:27: error: cannot find 'width' in scope
        orig.setText("W:\(width) H:\(height)")
                          ^~~~~
Sources/SideStatus/Tweak.x.swift:5:38: error: cannot find 'height' in scope
        orig.setText("W:\(width) H:\(height)") ```
                                     ^~~~~~ ```
#

oof discord formating

neon jungle
#

it was

#

var bounds = UIScreen.main.bounds;
let width :CGFloat = bounds.width;
let height :CGFloat = bounds.height;

faint stag
neon jungle
hasty ruin
#

|| spoiler ||

cloud yacht
#

** Bold **

hasty ruin
#

👨‍🦲

#

bald

faint stag
#
+ codeblocks also support syntax highlighting

(that's highlighting as if it was a diff)

```type
text
```

neon jungle
faint stag
faint stag
neon jungle
frail cedar
#

magician in action

faint stag
hasty ruin
frail cedar
#

that is

#

i mistyped

neon jungle
#

How can I make my tweak respring when uninstalled?

#

In the makefile? That's all I can see with similar syntax

grim sparrow
#

It’s pinned

#

_ _

neon jungle
grim sparrow
#

In the postinst/ postrm

neon jungle
grim sparrow
#

mkdir layout/DEBIAN

neon jungle
grim sparrow
#

mkdir layout

#

mkdir layout/DEBIAN

neon jungle
#

and inside is a file called "postint"?

grim sparrow
#

Yes

neon jungle
grim sparrow
#

Yes

faint stag
neon jungle
#

Thanks it works

#

What about a prefence bundle, its incomplete on the theos wiki

faint stag
cloud yacht
#

How on earth do I figure out why this is just being killed

mobile@Shortys-iPhone:~> sudo /usr/bin/WebMessage
[sudo] password for mobile: 
[1]    3477 killed     sudo /usr/bin/WebMessage
faint stag
#

y'know, with console (macOS app) or idevicesyslog (part of libimobildevice)

neon jungle
#

and perhaps a link or two

cloud yacht
#

Exception Type: EXC_BAD_ACCESS (SIGKILL - CODESIGNING) intresting

faint stag
#

well yeah that makes sense

cloud yacht
#

How do I fix this?

faint stag
#

if so, just fakesign the binary with ldid

cloud yacht
#

Yes this is my device

#

Signing with sudo ldid -s /usr/bin/WebMessage did not work

#

Also this should work as I installed the tweak from the repo and I know it has worked on my iPad before I updated it

faint stag
#

are you using taurine by any chance

cloud yacht
#

Yes

faint stag
cloud yacht
#

Intresting cause I just jailbroke before running this but I'll reboot real quick

#

otherwise I'll see if my new pc can run checkra1n

neon jungle
#

I changed it to 555 for both

#

fair enough

ocean raptor
#

Literally doesn't matter

#

555 is fine

faint stag
#

all you need to do is read and execute

#

555 is fine

#

but i guess you'd use 7 in case you wrote a broken one

#

and someone has to fix it

#

owner can modify perms if need be thishowitis

neon jungle
#

Gotta use your epic "hacker" skills with chmod? lol

#

though tbh I do like the console

#

It relaxes me

ocean raptor
neon jungle
neon jungle
neon jungle
#

Anyone know how to resize my preference bundle icon to fit?

indigo peak
neon jungle
#

it was the title key of a different file at the very bottom

indigo peak
#

yeah

indigo peak
indigo peak
#
58x58 icon@2x
87x87 icon@3x```
neon jungle
#

Oh my icons are slightly off

#

32x32

#

etc

indigo peak
#

and then you need to add the icon mask yourself

#

like the rounded corners

neon jungle
indigo peak
#

i use this thing

#

i think

#

tbh

#

i dont fucking remember

neon jungle
#

nvm I think the download button is broken]

#

I'll do it manually

neon jungle
indigo peak
#

uh

#

i use edge

hasty ruin
neon jungle
#

its probably broken on mine cause I'm getting empty pngs

neon jungle
tepid olive
#

bama

neon jungle
#

the documentation says in the file ending in .mm

#

however I don't have that file

neon jungle
indigo peak
#

which one

#

gameseagull or quitall

neon jungle
indigo peak
#

o

faint lionBOT
#
Rule 1

No personal attacks, accusations, harassment, sexism, racism, or general malicious behavior. This includes, but is not limited to comments that we deem to be of this nature.

ocean raptor
#

@lime pivot ok, htop is back on the repo, sorry for taking so long

gentle grove
#

Btop

tacit spade
#

had a thought

#

if swift is going to be apple’s way forward

#

we should probably start demangling swift names

indigo peak
#

I can test this later if you want

indigo peak
#

I’ll still give it a shot when Im free

indigo peak
#

@weary heath so it looks like the script was made for an older version of the IDA utils lib and python (makes sense as the last commit was 6 years ago)
but with a couple tweaks it works

#

was just gonna do that

#

should work

tacit spade
#

noted

faint timber
#

uart serial for logging and if you are skilled enough SysCFG

primal perch
timid furnace
timid furnace
#

ok thx

hasty ruin
#

np

gentle grove
#

gnome moment

#

GIO (the gnome application launcher thingy) has default terminals hardcoded to gnome-terminal and they havent released the change where they added xdg-terminal-exec yet

tepid olive
#

why are u doing it

#

unless ur using cracked ida where it doesn’t work

indigo peak
#

cracked ida 😄

tepid olive
#

L

neon jungle
#

Why can't I declare this Static bool?

#
import SideStatusC
//add observer for status bar from space.detrimental.sidestatuspref/settingschanged
let observer = NotificationCenter.default.addObserver(forName: NSNotification.Name(rawValue: "space.detrimental.sidestatuspref/settingschanged"), object: nil, queue: nil) { (notification) in
    loadPrefs()
}
func loadPrefs() {
    //load prefs
    var prefs = UserDefaults(suiteName: "space.detrimental.sidestatuspref")!
    static bool debug = prefs.bool(forKey: "debug")
    //Declare static bool called debug from prefs

}```
#
    static bool debug = prefs.bool(forKey: "debug")
           ^
Sources/SideStatus/Tweak.x.swift:9:9: warning: initialization of variable 'prefs' was never used; consider replacing with assignment to '_' or removing it
    var prefs = UserDefaults(suiteName: "space.detrimental.sidestatuspref")!
    ~~~~^~~~~
    _
Sources/SideStatus/Tweak.x.swift:19:12: error: cannot find 'debug' in scope
        if debug == true {
           ^~~~~
Sources/SideStatus/Tweak.x.swift:36:13: warning: variable 'isSideLeft' was never mutated; consider changing to 'let' constant
        var isSideLeft = true;
        ~~~ ^
        let

<unknown>:0: warning: unable to perform implicit import of "_Concurrency" module: no such module found
Sources/SideStatus/Tweak.x.swift:10:12: error: expected declaration
    static bool debug = prefs.bool(forKey: "debug")```
primal perch
#

that’s not a thing in swift unlike c

neon jungle
primal perch
#

don’t make it static

hasty ruin
#

solution: dont use sw*ft

stuck wyvern
neon jungle
#

idk why people say it's more friendly that Ob C

glacial matrix
#

maybe there's a different paradigm when programming in objc vs swift and you're using objc-like in swift

neon jungle
snow python
#

I mean i think both swift and objc are fine I think uros right, it’s a different paradigm

lyric timber
#

ffs now Apple deleted Xcode 14.1 betas from the download website too

#

did anyone here ever install the tvOS or watchOS simulators in Xcode 14? could you check if you have anything in /Library/Developer/CoreSimulator/Images?

lyric timber
#

actually just run shasum /Library/Developer/CoreSimulator/Images/*.dmg in Terminal and let me know the output if you have any

hasty ruin
tepid olive
neon jungle
#

Swift is just weird

tepid olive
#

no it isn’t

neon jungle
#

At least that’s my experience for making my tweak

tepid olive
#

it’s way faster

#

i use swift to write low level code

#

it’s so good

turbid fjord
neon jungle
#

I mean I guess it’s all about what you expect

#

I guess objective C lines up more with previous programming languages I used

lyric timber
#

I should do an asm version

ocean raptor
glacial matrix
lyric timber
#

Well how would you do it without libobjc? 😛

glacial matrix
#

Without linking? dlopen and dlsym troll

snow python
primal perch
neon jungle
#

I’ve only know Java, C, and python to this point

#

That’s why I prefer objective C I guess

lyric timber
snow python
#

Wut isn’t python like a completely different paradigm from objc

faint stag
neon jungle
timid furnace
hasty ruin
#

license exception: you can do whatever the fuck you want with it

timid furnace
#

lesgoooo thanks

#

question though, why GPL over something more permissive

#

i ask because i'm reconsidering what license i want to use for future projects

hasty ruin
#

gpl is basically the only one i actually remember

cloud yacht
#

Lmao

#

I like gpl and other more copyleft licenses (like Mozilla ) because it makes people share modified work.

timid furnace
#

like, on one hand, yea i wanna force everyone to make their changes OSS!
on the other hand, i don't really want to restrict people from using my work

cloud yacht
cloud yacht
timid furnace
#

hm

cloud yacht
#

Apache is also similar

faint stag
#

why are you pinging me

hasty ruin
#

Depends: firmware (>= 14.0), firmware (<< 16.0)

#

worked fine earlier

faint stag
# hasty ruin

i guess run whatever generates the firmware package?

hasty ruin
faint stag
#

makes sense now

faint stag
hasty ruin
#

makes sense

faint stag
faint stag
# hasty ruin

ok so firmware writes directly to /var/jb/Library/dpkg/status

#

it also generates the capability packages (gsc) stuff

hasty ruin
#

i found a simpler solution

#

wiped the jb files

#

🧌

faint stag
#

you could probably bootstrap with pogo

#

ngl

hasty ruin
#

this is xina jb

faint stag
#

yes but rootless

#

cause i know firmware actually works there

ocean raptor
lyric timber
#

@zenith hatch hey any chance you have watchOS beta simulators for Xcode? See if you have any dmg in /Library/Developer/CoreSimulator/Images/

zenith hatch
#

ok

lyric timber
#

shasum /Library/Developer/CoreSimulator/Images/*.dmg

zenith hatch
lyric timber
#

Yeah that's 9.1 final

#

Apple deleted Xcode 14.0 and 14.1 betas from the developer download site, along with associated files like command line tools package and simulator runtimes

restive ether
cloud yacht
#

Hacked up is still better than non-existant

hasty ruin
turbid fjord
ocean raptor
primal perch
#

using u0

turbid fjord
#

Fair

#

Can’t argue against that

primal perch
#

and i agree hacked up is better than nothing just dont mald when it breaks stuff

#

all jbs have a "no warranty, cope" disclaimer

hasty ruin
#

this font is weird

primal perch
#

fr

steady nest
tepid olive
#

what's wrong with u0

lime pivot
lyric timber
#

ikr

faint stag
#

now i'm using github pages fr

faint stag
#

ah yes, there's nothing like needing an extension to allow right clicks so you can inspect without searching a tree of elements

lime pivot
faint stag
lime pivot
#

which incidentally is proof that blocking right clicks doesn't at all block accessing devtools

faint stag
#

it pauses the debugger once it's opened lol

#

unpausing it will redirect you to the homepage which has basically nothing you want, or it just pauses it (again)

#

yes, you could disable breakpoints but it has the redirect still

lyric timber
#

That's fucking evil

lime pivot
#

yeah definitely evil, smart though

#

far smarter than just disabling right click

primal perch
#

cant wait to have 5 usb-c ports on my machine when the thunderbolt 4 AIC comes in

faint stag
faint stag
sturdy chasm
#

I’m trying to install swift & dependencies from Sileo on iOS 12.5.6, but I’m getting that annoying “expected size xxx but got xxx instead” is this a known bug?

#

dependencies are fine but swift always fails to download

tepid olive
#

Hello, nice to meet you. I'm Japanese and I'm not very good at English, so I use Google Translate. I would like to create a jailbreak app based on the exploit that has already been published and run tweak. Is there anyone who can teach me how to jailbreak?
Since I want to learn from the basics, I am assuming iOS12 jailbreak.

kindred wigeon
#

You could fork the exploits and try to make them more stable maybe.

ocean raptor
kindred wigeon
#

I'm not experienced in developing, but I'd love to learn a bit.

#

As an example if you want to make an UI for the app, here's the Chimera Jailbreak UI (don't copy UI's though)

sturdy chasm
grim sparrow
#

slightly amused by the fact this isn't deprecated on the tv yet

#

but is everywhere else

lime pivot
grim sparrow
#

lmao

hasty ruin
vivid dew
#

they're going to remove it once all the internal code using it is gone (never)

lime pivot
#

reminds me there’s that one “prompt for admin password and run a command as root” function that’s been deprecated since OS X 10.7 and will never ever be removed

#

that one

#

because, I mean, I respect Apple’s thought process but not everything needs to be done by an XPC agent

ocean raptor
grim sparrow
ocean raptor
#

Can't you put a xpc agent in a .app

grim sparrow
#

it uses smjobbless

#

which asks for a password prompt which installs a root helper

#

and that root helper runs as a service

#

but only apps signed with my dev cert can talk to that service

ocean raptor
ocean raptor
#

Ok

grim sparrow
#

THEY DEPRECATED IT

#

FFS

lime pivot
grim sparrow
#

Apple gonna have to pay me to drop that api

#

I swear

ocean raptor
#

So does it ask for password every time you install something?

grim sparrow
#

not rn

#

but it could

#

it only asks for a password on initial sileo install

ocean raptor
lime pivot
#

feels like it’d make sense on macOS to always prompt

grim sparrow
#

no it really doesn't

lime pivot
#

subsequent runs can just be touch id

grim sparrow
#

it only prompts on calls to smjobbless

#

which is at first install

ocean raptor
#

Imho, we should prompt on iOS too

ocean raptor
grim sparrow
#

which is only at first launch bozo

#

it doesnt need to reinstall the helper every time you start the app

#

if the helper is there just use it

ocean raptor
grim sparrow
#

I am doing a lot of sileo trolling rn

#

its like on my todo list

#

I'm doing Aemulo, Sileo and DepictionKit trolling

#

yes

#

the dev build does

#

which is released

#

the only part that doesn't is a dumb edge case in some new logic I wrote but thats broken on 12+

#

I am getting close

#

I am working on rewriting some other bits

#

I'm taking everything off the main thread

#

prioritising UI fluidness

#

the roothelper won't exist anymore

#

im dropping ios 12 support

#

because

#

icba

#

and its just gonna use the funny posix_spawn thing

#

where you can set the uid of the spawned processs

#

so

#

iOS -> Persona Entitlement
macOS -> SMJobBless

#

giveMeRoot is going in the shitter

#

iOS 12 users can sniff copium

#

I can't use it though can I?

#

its a private apple ent

#

Sileo mac is properly signed

#

it starts with com.apple.private

#

which is a major giveaway that I won't be able to use it

#

no

#

pro works fine on both

#

do what

ocean raptor
#

I only have one jailbroken device

#

An iPhone 6 on iOS 12

grim sparrow
#

please dont say ur one jailbroken device is ios 12

#

ffs

#

that shit legacy

ocean raptor
#

I have a few iPhone 6s

#

But they're all on iOS 10.3.3 or 15.1

grim sparrow
#

15.1 is jailbreakable using trolling so

#

I'm going to dismiss ur concerns

ocean raptor
#

I forgot I sold my other 6ses

ocean raptor
grim sparrow
#

probably 13 and below

#

but

ocean raptor
grim sparrow
#

UI api's are near identical between 13 and 14 so im not losing much by still supporting that

grim sparrow
#

as long as checkm8 works from it

ocean raptor
#

Procursus is gonna support iOS 12 until I have a stable iOS 15 jailbreak

#

Great, why

#

My screwdriver kit comes today but I can't move my fingers to use it 💀

grim sparrow
#

I like C

#

I just feel like thats a bit over excessive

ocean raptor
#

They literally used libobjc, that doesn't count

grim sparrow
#

ok this feels like cheating

#

I use both a lot

#

it just depends on what im doing

#

I swear there was a C one

#

that the objc one is just a wrapper of

#

oh rip

#

xpc is great

#

as long as you aren't dumb

#

no?

misty cradle
#

Ask chat gpt on how to do it

#

Tell it to convert ur code to swift ez

rapid mirage
#

what are inference times like on an iphone 14 pro

indigo peak
#

@naive kraken is there even a way to get the team id of an app programmatically

misty cradle
timid furnace
indigo peak
#

different context

timid furnace
#

i tried a bit of searching and what i could find at best involves copying the csblob headers, getting the appropriate CodeDirectory from the binary, and getting the team ID from there

#

idk if opa334 has anything better

cloud sundial
#

@misty cradle you still alive?

rapid mirage
#

has anyone run stable diffusion on an iphone 14 pro yet

#

38s inference on an 8gb m1 ipad is awesome

misty cradle
primal perch
#

Cum st uffed

#

@misty cradle t challa

graceful gate
#

“Backward compat in Makefile for older YouTube versions”

What are you talking about? How does one modify Makefile to make the tweak support older versions of the app magically?

“Support more UIColors”

Why do you keep saying UIColor for theming the app? I’d be much more inclined if you say you would modify the color palette (YTColorPalette) of the app instead. Hooking any methods in UIColor class has a global effect - to everything and not just YouTube.

#

Still is not an efficient way I don’t think…

faint stag
#

all you did was target clang 11 instead of 12?

hasty ruin
#

isnt that just for arm64e slices

faint stag
#

ohhhh, you thought that was building using ios 11's sdk

TARGET := iphone:clang:latest:12.0 means TARGET := x:y:x-version:y-version

timid furnace
indigo peak
#

this is a lot of work tbh

timid furnace
#

Platform binaries don't have team ids

indigo peak
#

no clue how to even do this

timid furnace
#

I did it kernel space so it was easier, you're probably going to have to copy a good chunk of code

#

Take a look at the function that actually sets csb_teamid in xnu, you'll also see how it picks the codedirectory and such

hasty ruin
#

thanks kirb

timid furnace
#

Or you could do some more searching in ie. Security.framework for a relevant method

primal perch
#

Sex

timid furnace
#

I only found SecTask though unfortunately

#

Oh slightly related

#

What's the best way to deal with variables that I want to share across makefiles

primal perch
#

me who just adds export to everything because it works

timid furnace
#

And then I can just reference it from the subproject makefile, and when the main makefile includes it it will work?

#

My code needs significant cleanup tbh I do so much cursed shit

#

I dlopen one library, check if it has a symbol, if not try another one

primal perch
timid furnace
#

All because I'm trying to use functions from a statically compiled lib

#

libDER moment

primal perch
#

dgh0st also recommends you play DDLC

#

so id take it with a grain of salt

hasty ruin
primal perch
#

he probably lurking rn

timid furnace
#

Love when one ios version I have to use libamsupport and another I use whatever the fuck SEService.framework is

primal perch
timid furnace
#

Uh

#

You mean cdhash?

#

Idk what you mean by calculate the code signature
You can read the code signature, you can check if it's valid, but you can't like calculate it afaik

#

codesigned

#

not codesigned

restive ether
#

try reading ldid 🎅🏿

#

for what reason

primal perch
timid furnace
#

or in other words

#

you want to adhoc sign

#

lmao

hasty ruin
timid furnace
#

wouldn't it be easier to just patch out whatever checks are being made

#

ok, i'm curious and want to check something

#

gimme a sec and i'll see if i get a cs_blob for unsigned binaries

#

thank god for readable git history

#

yea code signature shenanigans start all the way from the load commands

#

LC_CODE_SIGNATURE

#

unsigned binaries don't have that

#

so i'm afraid you're kinda screwed @grave sparrow

#

yea, that would be easier

#

everything should be adhoc signing at minimum these days anyway

#

Apple Silicon macOS moment

#

it's not an adhoc signature if it's signed with a cert

#

adhoc = no cms blob (ok well the cms blob has to be there, but the length = header size)

#

if there's a cms blob, that means it's signed by some kind of cert

#

now whether that cert is trusted or not is another story

#

now codesign is failing me and 010 editor's template broke but

#

for the first slice, we see the Genuine Apple Certificate™️

#

for the second slice, we see the Genuine Apple Certificate™️

#

but for the third slice

#

lipo ftw

#

Signature is not adhoc, but has a size

#

and the authority is TrollStore

#

verification of the cert is where apple fucked up

#

along with checking the codesig of the wrong slice

timid furnace
primal perch
#

based

#

armv7

timid furnace
#

and my final tidbit of advice is to just try signing with a cert/adhoc/stripping codesig on binaries, and analyzing them both with something like 010 Editor or whatever you like that supports binary templates + and also seeing how they're handled in practice and what happens if you patch certain checks out

#

i understand the latter is probably difficult on iOS so might be worth trying with macOS for that, you get some easier-to-read AMFI.kext and xnu source to fill in the gaps
(ps you should really check out macOS's AMFI.kext in IDA/whatever as it will definitely fill in some gaps, especially look at _vnode_check_signature, just make sure you don't get confused by the control flow like i do)

#

the core parts should be decently similar anyway

#

opa334 or Linus can probably explain this better as my understanding of code signatures is jank as fuck lmao but @grave sparrow i hope you learned something