#development

1 messages · Page 472 of 1

pearl sail
gaunt mesa
primal perch
#

:t:

#

_ _

#

since when do middle schoolers get 9

twilit jungle
#

What is sleep?

pearl sail
#

Something for the weak

twilit jungle
primal perch
versed ruin
#

little progress guys....just a little more spoon feeding and my shitty code will be coming to a github near you lmao

dawn dome
versed ruin
#

got it done guys! went over with a fine tooth comb and was able to find a property to manipulate. No more uilabel!...and yes it does feel good to do it on your own

tepid olive
#

Good job dude

versed ruin
#

lol thx...thank you all for the help...shade...etc

faint timber
#

ngl this is a pog workflow

#

/cc @gaunt pewter

#

left is the term

silver rampart
#

awk "BEGIN { printf \"%.2f\n\", $(cat /sys/devices/system/cpu/$(ls /sys/devices/system/cpu/ -1a | grep -E 'cpu[0-9]' | xargs | grep -oE '[^ ]+$')/cpufreq/cpuinfo_max_freq)/1000000 }"

gaunt mesa
#

i am proud

faint timber
#

@gaunt mesa yes

#

Im trying to set up rust errors but doesn't seem to work

gaunt mesa
#

which intellisense plugin are u using

#

coc?

faint timber
#

that gray line is colorcolumn used for errors

#

I just installed the rust.vim plugin

#

and set mode to use mac pbcopy

gaunt mesa
#

i've never used rust

#

so

faint timber
#

people use rust but not vim

silver rampart
#

rust and vim go together like the c & b in cbt

pearl sail
#

I wonder if nano has more plugin like Vim

tepid olive
#

@shut stag my apologies for the ping, but I could not find another way to contact you. I am messaging about the WWTC presenter recruitment you posted on Reddit. Could you please send me a friend request so we could talk about it? Many thanks.

shut stag
#

my dms are open

primal perch
lime pivot
silver rampart
#

so

#

I'm recreating neofetch in kwgt

#

that prints the clock rate of the last core as GHz

#

so 2.84

#

doubt that file path exists

#

on your machine

#

uh

tepid olive
#

i need it

silver rampart
#

bc it's a different machine wdym

#

ur machine is not my machine

pearl sail
#

Sileo server

#

cause I steal shit

tepid olive
#

thx

faint timber
#

@gaunt pewter you said to use enum but what if there is the enum type inside itself eg recursion

next wadi
pearl sail
silver rampart
#

I can't use double quotes

faint timber
#

no one:

cargo not responding to | head

primal perch
#

@tepid olive it’s in ios rtards

silver rampart
tepid olive
next wadi
#

clone deez nuts

faint timber
#

what if I don't know the contents @gaunt pewter

#

I just want to take a random plist and deserialize it with serde

next wadi
#

true

primal perch
#

deez nuts

silver rampart
#

boom

#

cat /sys/devices/system/cpu/$(ls /sys/devices/system/cpu/ -1a | grep -E 'cpu[0-9]' | xargs | grep -oE '[^ ]+$')/cpufreq/cpuinfo_max_freq | xargs printf 'scale=2; %s/1000000' | bc

#

clock speed in ghz without using double quotes

#

got the chug jug song stuck in my head

upbeat wyvern
#

python will be there if you install python

iPad:~ root# python
Python 2.7.15 (default, xx/xx/xx, xx:xx:xx) 
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
#

based on that post it seems to be that it's trying to use Python and not python

#

@tepid olive do you have a problem?

#

rude emojis above

restive ether
#

:stfuchristian:

#

not a thing

#

you’re not going to college

#

you’re going to war

tepid olive
#

man i wanna get drafted

#

they told u not to bro

#

ur not allowed

#

2-in-1 are allowed

#

so iPads work, but not M1?

primal perch
#

go ahead write a gpu driver for a completely undocumented gpu

tepid olive
#

all development was done on a server at my uni and the best part is, when we did javafx shit with X11, xquartz would behave differently than x11 on linux. so we never knew whos code was actually correct

restive ether
#

until apple rips rosetta off your computer in an update

primal perch
tepid olive
primal perch
#

it will

#

before 2023

restive ether
#

didn’t they already take it off computers in some regions

#

Just like the original Rosetta technology, Rosetta 2 lets users run macOS apps from one platform on another — this time translating Intel apps to the ARM architecture of the M1 chip. While I don’t expect Rosetta to go away any time soon, Apple may disable it in some regions as macOS 11.3 beta codes […]

#

so i’m guessing this didn’t happen then

#

this is true

#

i am curious what countries are not so happy about this

primal perch
#

go ahead go to 11.4

#

have more panics

#

@restive ether lossless or shit semi untether jb(14.5.1)

#

the choice pretty clear

restive ether
#

14.5.1 has AM lossless? lol

primal perch
#

no

restive ether
#

thought it was just .6

#

oh

primal perch
#

it’s 14.6 only

restive ether
#

i misread

#

yeah fuck that lmao

primal perch
#

so like it’s pretty obvious what choice

restive ether
#

.6

#

xerub’s code is coming out this summer or later based on what he said so

primal perch
#

for what

tepid olive
#

if you're A10 or lower then might as well update

restive ether
#

idk

#

i did hear that is a possibility

primal perch
#

do we know what versions

faint timber
#

@gaunt pewter trying with hashmap now

primal perch
#

probably patched by now anyway

restive ether
#

it was patched in .6

#

it’s on the notes

tepid olive
#

well 14.5.x might have webkit yes

primal perch
#

interesting gamble

#

but i’m finna take the lossless

tepid olive
#

rpwnage has a kernel 0day for it but he won't burn it atm

primal perch
#

then again

#

i’m sure a tweak can be made for lossless on 14.5

tepid olive
#

not really an untether but no signing requied ig

faint timber
#
thread 'main' panicked at 'fail to read plist: Error { inner: ErrorImpl { kind: Serde("invalid type: byte array, expected any valid JSON value"), file_position: None } }', src/main.rs:86:10
primal perch
#

rust nfr

tepid olive
#

why

faint timber
#

give one reason why they aren't another fakebreak skid

tepid olive
#

well I mean there's no proof I guess but if I had a kernel 0day I wouldn't burn it either

#

that sounds fun

#

but I meant the webkit exploit

#

true

primal perch
#

semi untethers suck now

tepid olive
#

my passcode tweak is coming along well btw

primal perch
#

mfers either are bad at patching or it actually can’t be done

tepid olive
#

it even has lockout after 10 failed attempts now fr

#

probably gonna keep it private but it's fun

primal perch
#

that’s great and all

tepid olive
#

I know it's not real encryption but it's still useful against illiterate people

#

I mean, noobs might think their device is secure, sure

#

I'm well aware it's insecure and might reconsider using this if I was going out somewhere but

pearl sail
tepid olive
#

atm I'd just rather have notification privacy

primal perch
#

:stfubingner:

tepid olive
#

I mean it's not like my mom or anyone in the house is gonna reboot my phone

#

yeah

primal perch
#

release it if you want

#

who cares what idiots do with it

#

i’m should make thanosfuck 2

tepid olive
#

I still have bugs to fix anyway, we'll see later, idk

#

I mean both sides have valid points really

#

like for me personally I'm fully aware of the risks of jailbreaking anyway being stuck on 14.4+ rn so I'd rather add some minimal security

#

it's really just handy to not have all the notifications show in plain sight on my screen if my mom accidentally turns on the screen or I do with her around lol

restive ether
tepid olive
#

release it and make it not work on a11 devices

pearl sail
tepid olive
#

there will always be idiots who will end up disregarding the warnings and then complaining too but I mean it's kinda their loss then

#

"Only works if SEP enabled"

#

I'm also trying to make Face ID work but it's a pain in the ass

#

holy shit thats genius

#

i dont even need to make a tweak

pearl sail
#

lmaoooo

tepid olive
#

"Works if passcode enabled and SEP working"

#

$0.99

#

I can't even make simple [LAContext evaluatePolicy] work, let alone things that want to use keychain

pearl sail
tepid olive
#

too true

#

reject the past

pearl sail
#

accept modernity

tepid olive
#

I mean it will probably be relevant like 10 years later if we get checkm8 for A12

#

because BPR will also fuck A12+ over

late ridge
#

@tepid olive out of the 8.8k+ stars on the apple/darwin-xnu github, ur on the first page

tepid olive
#

uhhh so this is interesting

late ridge
#

very

tepid olive
#

not that

late ridge
#

lolol

tepid olive
#

kicking my phone into safe mode from the "iPhone is disabled" screen (fake screen triggered by my tweak) fucked with my phone pretty badly

#

a reboot will probably fix it but

late ridge
#

are you implementing the built-in "iphone is disabled" thing. Or are you making ur own?

tepid olive
#

I'm hooking the real thing

#

but it's at runtime only

#

no system files modified

#

or tricking it into actually disabling it in stock state or anything

late ridge
#

wait... so rebooting the phone would get rid of the password :frba

tepid olive
#

yes

late ridge
#

where did frball go

tepid olive
#

this is a weird half safe mode because both my tweak (I think) and maXscale are still injecting

#

ok a killall -9 SpringBoard was enough to fix it

#

over SSH

#

@tepid olive

late ridge
tepid olive
#

this is not meant to be a full "your device is 100% secure now"

#

that's what I'm doing, the tweak enforces a fake passcode, but safe mode or reboot breaks it

#

I should add a "delete /var on 10 failed attempts" option troll

primal perch
#

enjoy 0 gpu acceleration though

#

linux 4 lts or bust

gentle grove
#

what

#

what happening

#

does not matter

#

any of them

#

preferably without a heavy DE

#

i onlly know arch lol

#

shut up sheep

#

i didnt ask you for your opinion

primal perch
#

no

gentle grove
#

sure

#

ok then

#

pick one

primal perch
#

best distro is windows

gentle grove
#

random number generator

#

why out of the box

#

can i get some context

#

but still why out of the box

#

can't you make like a custom debian iso or something

#

if you want to use a distro other than arch

#

lol

tepid olive
#
Tweak.xm:143:29: error: use of undeclared identifier 'SBSSpringBoardServerPort'
                SBDataReset(SBSSpringBoardServerPort(), 5);
gentle grove
#

i gtg

primal perch
#

TWEAK_NAME_PRIVATE_FRAMEWORKS = SpringBoardServices

gentle grove
#

ill be back soon

primal perch
#

extern mach_port_t SBSSpringBoardServerPort();

#

gg

gentle grove
#

you can probably do arch too

#

:)

#

or any distro

#

well that doesn't change this at all

#

pick a distro

#

it doesnt really matter too much

#

ping me if you need help

tepid olive
#

wait do tb3 gpus work in passthrough on M1

#

now it says SBDataReset is undeclared

versed ruin
#

trying to set the y origin on one of my labels in a uitableviewcell...it works, however it doesnt update until i click the cell....any ideas?

#

using CGRect newFrame = self.nameLabel.frame;
newFrame.origin.y = 1;
self.nameLabel.frame = newFrame;

#

i've gone the extent of even trying layoutSubviews....still doesnt update till cell is clicked.....weird

hardy glen
primal perch
next wadi
#

has anyone ever had this error

#
*** First throw call stack:
(0x18af9b9d4 0x19e94cb54 0x1023b5a6c 0x1023b6628 0x18abd3298 0x18abd4280 0x18ab7cdcc 0x18ab7d8a8 0x18ab87338 0x1d099a5a4 0x1d099d874)
libc++abi.dylib: terminating with uncaught exception of type NSException
zsh: abort      remotecontrol pauseaudio```
restive ether
hardy glen
restive ether
#

no i just mean the app looks bad

next wadi
#

true

restive ether
#

but yeah everything they’ve done basically since the initial 5.0 beta release has been bad too

versed ruin
#

who the heck uses installer anyway

restive ether
#

idk

#

i don’t know anyone who uses it seriously

next wadi
#

now i just get

primal perch
#

can’t you just link mediaremote and pause from there

tepid olive
#

All my homies use mediacli on procursus

restive ether
#

[[mediacli]]

faint lionBOT
#
MediaCLI

CLI tool to control media playback. Run "media help" to list the available actions.

Author

absidue

Version

1.2

Price

Free

Repo
More Info
restive ether
#

so true

tepid olive
#

mediacli with the JSON OUTPUT???

restive ether
tepid olive
#

I know i will get downvoted to hell for this but will there ever be a time when you will be able to develop tweaks in swift?

pearl sail
tepid olive
#

can you point me to documentation for this?

tepid olive
#

thanks

#

Its my understanding that many people feel pretty strongly about obj-c around these parts 😂

pearl sail
#

I mean some mfers act like using swift for thing is equating to killing their child

#

but that is about it

primal perch
#

its worse because of the lack of usable pointers

#

and before you say swift has them

#

usable

restive ether
#

your mom was usable until last night

primal perch
#

did you break her

restive ether
#

yes

primal perch
#

wtf

#

did she cum too hard

restive ether
#

yessir

primal perch
#

glad she could have some happiness finally @restive ether thanks

#

ever since the divorce

lime pivot
tepid olive
primal perch
#

quick warning don’t get the covid vaccine it’s poison

primal perch
gaunt mesa
#

does frida-ios-decrypt work

#

or should i use bfdecrypt

restive ether
primal perch
#

does your cock work @restive ether

restive ether
#

i’m pretty sure the only jailbreak it doesn’t work on is chimera

gaunt mesa
#

i have no clue how to do any kind of app dumping what so ever

#

hopefully someone pinned a tutorial here

restive ether
primal perch
#

"cracker""xi+";

#

true

tepid olive
gaunt mesa
#

how tf do i reverse engineer apps

#

i have no clue wtf i'm doing

primal perch
#

take binary into ida

#

press f5

restive ether
#

cracker da app

tepid olive
primal perch
#

enjoy code

gaunt mesa
restive ether
#

it’s been like 3 years

#

idk if that’s his fault but yeah

tepid olive
restive ether
#

L

gaunt mesa
#

is there a good tutorial on how to use bfdecrypt

primal perch
#

ill see you bitches on ios 14.6 @restive ether

restive ether
gaunt mesa
#

ok

restive ether
#

toggle the switch for the app

gaunt mesa
#

great

restive ether
#

open it

gaunt mesa
#

oh

restive ether
#

that’s it

tepid olive
gaunt mesa
#

oh

#

i thought it was more complicated than that

restive ether
#

and then you just wait and hope it decrypts

#

because it doesn’t fucking tell you for some reason

gaunt mesa
#

is bfdecrypt on a repo by any chance

restive ether
#

[[bfdecrypt]]

faint lionBOT
#
bfdecrypt

bfdecrypt for iOS 11+

Author

level3tjg

Version

1.3.1

Price

Free

Repo
Add Repo
More Info
restive ether
#

that one

tepid olive
gaunt mesa
#

ok

restive ether
#

or nito’s if you want airdrop for some reason

restive ether
tepid olive
#

@restive ether Do you want to ask if its possible to get the source code?

restive ether
#

not much i can do with it

#

if it’s abandoned then it’s whatever there are other options

tepid olive
restive ether
#

is there not a mirror of it anywhere

#

has to be

tepid olive
restive ether
#

if you really want you can RE his debs lol

versed ruin
#

some big wigs in this forum, i didnt even realise

tepid olive
#

Yeah

#

What?

versed ruin
# tepid olive What?

since faith has brought us together again, let me run something by you. My frame changes aren't being updated until i scroll or switch to another view and back, i've tried [layoutIfNeeded];
and [updateConstraintsIfNeeded] to no avail

lime pivot
#

if you’re changing the frame manually and the view uses constraints (very likely), you’ll run into issues like that

zenith hatch
#

thank you!

versed ruin
lime pivot
#

I'd recommend looping over the label.constraints array for the constraint you want to change, rather than trying to hack around setting the frame directly

#

the code won't look too nice unfortunately… but it's just better to work with the system rather than against it

peak quartz
#

Weird probably stupid idea but I gotta ask - on iOS 14.5 they added the ability to use 5G on both of the dual sim, and it is probably related to a baseband upgrade. What if we futurerestore to 14.3 with 14.5 baseband (which I know is supported)? How stupid to completely unrelated to reality this idea is?

tepid olive
#

maybe with a tweak if someone manages to reverse what exactly changed

peak quartz
#

Glad to hear that it is not completely stupid

tepid olive
#

well I don't have much knowledge of the baseband chip but it doesn't sound completely stupid to me

peak quartz
#

I figured that there should be iOS support tweak but I figured that this will be the easy part

lime pivot
#

may also need to upgrade CommCenter and the related telephony frameworks from 14.5

peak quartz
#

I hardly know anything about this area, maybe @upbeat wyvern could shed some light

tepid olive
#

what's the proper way to present an alert from a preference bundle?

#

specifically the presentViewController part, what do I call that on

primal perch
#

ur controller class

tepid olive
#

oh wait

#

I should do it in RootListController.m instead of Tweak.xm

#

can't use %c in RootListController?

#

oh well, I'll link the framework instead

eternal elk
#

Not sure if this is the right place to ask this... I’m trying to locate where my existing respring animations are stored... any tips? Thanks I’m advance! (:

primal perch
#

but yea

#

linking generally better

high citrus
#

naming variables be like:

tepid olive
# primal perch or use objc_getClass

I ended up using CFNotificationCenterPostNotification and calling it with %c from Tweak.xm because linking FrontBoard was causing random crashes

next wadi
tepid olive
#

well, should have been is_number

#

maybe?

#

oh no

#

it's for an option

#

number_opt or something then

high citrus
#

yeah this isn't really a self-explainable variable name

tepid olive
#

what's the proper URL scheme for RestartRenderServer to go back to the tweak's preferences page? prefs:root=BUNDLEID didn't seem to work

#

it just opens the settings app, that's it

#

ah, tweak name works, but Shuffle breaks it

late ridge
#

ye

#

@tepid olive that's how to do it with shuffle

tepid olive
#

ah, good idea

#

I was trying canOpenURL but that didn't work

#

only small problem is that will break if shuffle is disabled

#

oh well that's an unlikely edge case and it's not like it will crash or anything

restive ether
#

uutils plz

primal perch
#

the french

stuck wyvern
#

I hate it here

tepid olive
#

French Canadian moment

stuck wyvern
upbeat wyvern
tepid olive
restive ether
#

i don’t know about you but i like obfuscating my CommCenter patches

grim sparrow
tepid olive
#

obfuscate source code then upload to github

high citrus
tepid olive
#

ezpz

grim sparrow
tepid olive
#

also remove all tabs

#

and if it's an xcodeproj, remove the appdelegate and .xcodeproj and storyboards

#

how the FUCk

#

i have 100gb free

#

out of 512

plain python
tepid olive
#

hmmmmmmm

#

GiB != GB

#

macOS uses SI units (multiples of 1000)

#

true

primal perch
#

i hate that thats a thing

high citrus
tepid olive
#

GiB is IEC (1024)

primal perch
#

powers of 2 only

plain python
high citrus
# tepid olive NO

I know someone that did that, can't share it though. (and i don't know if it's a joke or not, but its on github)

plain python
#

bonus points if it only builds with iphone-gcc and not Clang

pearl sail
#

Bonus points if it runs

plain python
stuck wyvern
#

gn

primal perch
pearl sail
#

MFW I go to sleep at 6 am to get up at 8 am

subtle grail
grim sparrow
#

I mean

#

Idk

#

Why 14+ only

#

Bruh

#

If it builds for 13 it’s compatible

tepid olive
#

Corellium troll

#

there's a 1 hour free trial fr

#

@tepid olive might not be a gib thing

#

what's that

#

it's ncdu

#

oh

#

I didn't know wtf you mean by "gib" because you didn't capitalize it fr

upbeat wyvern
#

simulator?

#

OSX VM?

next wadi
upbeat wyvern
#

huh pretty sure I ran it on ivy bridge processor lots

#

double checks

#

ok sandy bridge

tepid olive
#

sandy bridge??

#

damn

#

desktop and laptop are probably a big difference though

#

do you need your gpu though

#

simulator runs without accel

upbeat wyvern
tepid olive
#

oh yeah that's a lot better than a i5 though

upbeat wyvern
#

yeah

#

really tho I'd think the issue would be RAM not processor

#

make sure you give it enough RAM and it should be fine

tepid olive
#

@tepid olive y'know what i'll test it for you lol

upbeat wyvern
#

I usually did 16GB but 8 worked

tepid olive
#

send the code i'll try it

upbeat wyvern
#

I'm thinking maybe the issue was graphics tho

tepid olive
#

might be fine for his stuff though

upbeat wyvern
#

yeah xcode with less than 16gb could suck

tepid olive
#

doing swiftui with 8gb is really painful

upbeat wyvern
#

too bad they only sell 16GB macbooks still bastards.

#

lol

tepid olive
#

hopefully the new ones have more

#

M1 might limit it

upbeat wyvern
#

can't see why it would?

tepid olive
#

M1 has tons of those kind of limitations

#

wouldn't be surprised

#

that's why the iMac has 2 tb3 ports

pearl sail
#

That sucks

tepid olive
#

can't be worse than me, i bought a base model mbp in september

#

intel 8th gen i5 trolldisappointed

#

got an external monitor to keep the heat off my fingers

#

mine always overheats

#

idle 50C

#

i'll probably just swap it out for a M1 air

#

i don't like touch bar much anymore lol

#

what is it

#

damn bro you could probably sell it for the price of a 3060 msrp right now

#

450$ ??????

#

holy shit

#

isn't that 3080 msrp??

#

710 lmfao

#

i don't think people are buying 710 rn

#

that's why you got one

#

can't you run high sierra @tepid olive

#

on 1050

upbeat wyvern
#

I use a 690 and it works well, not sure if 710 still works for macos tho

tepid olive
#

you can patch it

#

@tepid olive try Retroactive

#

says high sierra here

#

why don't you give it a try

upbeat wyvern
#

btw it worked for me on M1 with retroactive too but I think I had to edit a file too

tepid olive
#

i don't see why it wouldn't work on macOS High Sierra

#

idk

upbeat wyvern
#

oh probably that rosetta issue

#

just don't run latest xcode, you don't want that for making tweaks anyway

tepid olive
#

true

upbeat wyvern
#

but you can also run newer osx vesions

#

gpu won't work on newer versions?

#

mine is on Mojave with gpu

tepid olive
#

TIL macOS hardcodes something to stop Aperture from running

upbeat wyvern
#

oh mine's kepler

tepid olive
#

funny

upbeat wyvern
#

yeah you have to edit the file and it runs fine

#

fuckers

tepid olive
#

well it won't run directly

#

but it does work with swizzling and other mods

#

using objc runtime to hook code

#

poor man's logos troll

#

logos is just a preprocessor

stuck wyvern
#

logos converts to substrate hooks iirc

#

but logos are just instructions for the compiler to simplify hooking

#

so you don't have to use substrate functions directly

upbeat wyvern
tepid olive
#

ok, but now I am gonna need to present an alert just from SpringBoard and not just in my preference bundle - how would I do that?

#

I found some code but it doesn't work because it says keyWindow is deprecated since iOS 13

#

(also how the fuck do I tell theos to not make even an "unused variable" warning an error)

gaunt mesa
#

it’s reflection basically

#

reflection, runtime modification, there’s a lot of names it goes by

#

runtime reflection

#

that’s what it’s called in like java and C#

subtle grail
#

it’s basically just changing which implementation a method calls

gaunt mesa
#

well there’s more to ur

#

it*

subtle grail
#

yeah

#

but that’s the basic gist of it

gaunt mesa
#

it’s basically like hooking tbh

primal perch
#

this cock

#

french people

stuck wyvern
proud geyser
#

Is midnightchips still around?

#

Sry I thought fellow devs would know yk

restive ether
proud geyser
#

Is he coming back to jailbreaking scene any time soon?

#

Oh i didnt see that

viral ermine
#

Can I ask a dev question here? I'm looking to possibly get some help trying to find the right method. I've looked on both limeos and tried my hand at flex, but I think I'm either doing something wrong or not approaching it properly.

silver rampart
#

don't ask to ask, bc the channel was (probably) made for that exact purpose

#

I'm tired words are hard

viral ermine
viral ermine
silver rampart
#

forgive me

#

what is magsafe

viral ermine
#

NSLOG shows on console.app but I'm not sure why it's still not disabling.

#

Magsafe is on the newer iPhone 12's
It's for the charging puck and the wallet and case.

silver rampart
#

lord

#

any ios 14 version should have the software, right?

#

or did support get added in a certain one

viral ermine
#

I think it would? It's just not being enabled?

silver rampart
#

will see if I can get my old X to jb

viral ermine
#

Alright thanks for reaching out.

restive ether
silver rampart
tepid olive
#

yall develop in obj-C?

restive ether
#

yeah i just saw that one

viral ermine
#

I've also worked with the developer a bit on this one too. He's a really nice guy. Still I haven't been able to figure it out, or he.

silver rampart
#

doesn't look like that one does what you're looking for

viral ermine
#

this allows you to fake a normal charge to become a magsafe charge.

silver rampart
#

wack

tepid olive
#

why cant u just build a custom nimation

viral ermine
#

Still he plugs into similar libraries that was the idea @silver rampart

tepid olive
#

hold on isnt there a tweak already for that

#

chargeanimations or smthn

viral ermine
#

I don't know how to do this.
Wouldn't just finding the proper bool and disabling the animation be the easier route?

silver rampart
#

yes

#

can you post a vid of what the animation looks like coming up and dismissing?

#

on mobile rn

viral ermine
#

just a moment.

#

The code that I presented above, I know is very messy. And they're all pretty much useless hooks because none of them actually work.

hardy glen
#

@viral ermine can you use FLEX quickly when the animation is shown?

#

i would assume you are doing it correctly since you are hooking the getter methods of the properties that were used in the tweak

viral ermine
hardy glen
#

no thats normal

viral ermine
#

I've tried moving them, but theres about a million layers. And then if i want to test if i got to the right layer, it resets all the movements all over again

#

But I may be approaching it wrong, I've only used flex a few times.

hardy glen
#

well your best bet, is too frida trace the springboarduicontroller class

#

and see what gets called . maybe find the method that handles the animation ?

#

to get rid of the animation all together

hardy glen
#

it would be easier to find WeSmart

silver rampart
#

if you do that? not so much

#

wrong framework

#

Magsafe stuff is in CoverSheet

hardy glen
#

i just assumed it was in here since the magsafe controller dev was using it. that makes it alot easier

pearl sail
#

Hopefully gone for good

hardy glen
viral ermine
#

But thats the charing ring, in this case, I want the wallet ring.

silver rampart
#

ah

#

back to digging

hardy glen
#

i would assume it would handle that maybe?

#

csaccessorywalletview.h

#

is what you are looking for

ashen birch
#

good morning smart people

viral ermine
silver rampart
#

yooo

#

found it

viral ermine
#

yo good lord your joking.

hardy glen
#

just looked up wallet lmao

#

good luck

viral ermine
#

And then what, maybe just don't write anything in the void statement? aka return nil?

primal perch
#

that’s the less optimal solution

silver rampart
#
%hook CSAccessoryWalletViewController
-(double)animationDurationBeforeDismissal
{
return 0.0;
}
%end
viral ermine
#

-(void)_presentAnimation;

primal perch
#

at the least just set it to hidden in the view controller

#

or something like that

silver rampart
viral ermine
#

ehh how to make it hidden then?

primal perch
#

and even krits code can be improved but it’s better

silver rampart
#

give it a shot

viral ermine
hardy glen
#

yes it would

silver rampart
viral ermine
#

haha, that's fair.

#

Thank you guys.

silver rampart
#

bc the alternative is getting frida/lldb and a disassembler and spending months trying to work ur way up the chain to do it "right"

viral ermine
silver rampart
#

correct

viral ermine
#

@primal perch I'm curious what you are thinking of could be improved?

silver rampart
#

lmk if that works bc it was a blind guess

viral ermine
#

yup just about to compile it, just a sec

primal perch
#

finding what creates it

#

at every point it’s basically just a bool

#

the only problem is finding that

hardy glen
#

well the view would still be presented right, thats what i think he means

primal perch
#

so like krit said it’s fine to settle for good enough

hardy glen
#

unless you are in layoutSubviews fr

viral ermine
#

Still doesn't work :/

#

I'm going to try to return nil on that void statement

hardy glen
#

now its just a guess and check. Try to siff through the methods in the header and check what works

viral ermine
silver rampart
hardy glen
silver rampart
#

probably not great advice to give but trying what works at the surface and going deeper when it doesn't works well

viral ermine
viral ermine
silver rampart
#

don't leave the method blank

viral ermine
silver rampart
#

it is a double

hardy glen
#

he means the void method

silver rampart
#

what void method

hardy glen
#

no idea, he mentioned it earlier

viral ermine
#

-(void)_presentAnimation;

silver rampart
#

can you show your code you built real quick

#

whole file

viral ermine
#

I know it's messy! It was the guess and check method I was doing for a few hours.

hardy glen
#

heading straight into 64bit arm assembly without any assembly background. wish me luck trol

viral ermine
#

I've never asked before, is there a way to dive deeper into a function to see more what it does -(void)_presentAnimation;?

silver rampart
#

all of the options for decompiling arm64e objc are the opposite of beginner friendly

viral ermine
#

is this a possible problem? I'm targeting springboard and not coversheet?

silver rampart
#

on phone rn so we doin this the hard way

silver rampart
viral ermine
silver rampart
#

Coversheet is a framework used by the Process Springboard

silver rampart
viral ermine
#

thank you for sticking with me. I thought this was going to be pretty easy (at one point)

silver rampart
#

Unidentified, "Clear Case", "Leather Case", "Silicon Case", Sleeve, Wallet, Charging Mat, Charging Cable

#

OK delete the code you pasted in earlier

viral ermine
#

I would really love to learn what you just did. I don't understand what you did there. But it checks out

silver rampart
#
%hook CSAccessory
-(BOOL)shouldShowAnimation
{
if (self.type == 5)
    return NO;
return %orig;
}
%end
viral ermine
#

It's having an issue with self.type

silver rampart
#
@interface CSAccessory : NSObject
@property (assign,nonatomic) long long type;
@end
#

above the code you pasted in

viral ermine
#

Like this? Still returning an error in theos

viral ermine
#

Derp

pearl sail
#

Ah man

#

was gonna add the funny

late ridge
#

TIL IDA can output html

#

honestly it looks kinda cool

silver rampart
#

Noticed it was Initializing with a CSAccessory object, meaning that object likely influenced the visual behavior of it (MVC)

viral ermine
#

Still not working. I feel like this approach should at least, or at least it’s making more sense then the original approach I was doing.

viral ermine
#

Gotta go drive home, be back in thirty.

tepid olive
silver rampart
# viral ermine And then how did you find the values?

Saw there was a type object [Red Highlighter], in springboard stuff (I guess?) if you see a long long field named type it's 99% of the time gonna be an emum.

Saw there was a static initializer that took a type int [Blue Highlight].

tepid olive
silver rampart
#

Then I called accessoryTypeString, [Purple] wrote it down, then called setType [Green] to move onto the next number until I got through the list

viral ermine
#

when you input 1 did it return the information you needed? I couldn't tell if you ended the video early or if i missed somethign

#

ahh i see it at the top, clear case

silver rampart
#

that was just how I got the object to test on but doing that each time would work I guess

viral ermine
#

oooh dude that's legit, so thats a way that you can almost reverse engineer these classes?

lethal ice
#

:meth:

silver rampart
#

that is probably the second hardest way to reverse engineer this stuff yes

#

if I had a decompiler rn I would've just clicked two buttons and hit F5

viral ermine
#

It didn't seem too bad. To make it work through theos though. But I see what you mean

hardy glen
#

@silver rampart you want me to decomp?

silver rampart
#

and I wanna know if I'm right

hardy glen
#

alright give me a sec

viral ermine
#

Is a decompiler something you just need to set up?
@silver rampart i feel like this is the closest and most logical approach

hardy glen
#

i wouldn’t worry too much about decompilers if you are just starting out

#

honestly

silver rampart
#

what's the second sentence referring to

silver rampart
hardy glen
#

true

silver rampart
#

will raise the skill floor for tweak dev

viral ermine
#

Referring to the essential approach of this bool and id type return function
overall, hooking to this header than the last ones i was trying.

hardy glen
#

i want to get into kernel debugging so thats the reason i am taking on arm assembly

silver rampart
#

however my opinion kinda invalid now I main android

hardy glen
#

hows that like

silver rampart
#

amazing

hardy glen
#

i miss my s8 plus ngl

viral ermine
#

Though, I will say, I was at least on some good approach, considering the fact that nslog with console.app was able to pull up the hook everytime i attatched the wallet, i think this is why i spent so much time on it.

hardy glen
#

that dylib is not a macho format is it?

silver rampart
#

don't worry about this much at all rn, and especially for this case, I think, but having your hook called more times isn't always a good thing

silver rampart
hardy glen
#

yes

silver rampart
#

it's macho, is that one busted?

hardy glen
#

yes i think so

silver rampart
#

shit

#

one sec

#

try this on a dsc, the 14.0.1 batch extraction was on a very early version of the tool

silver rampart
#

this thing puts the iPhone 12 to shame

viral ermine
#

@silver rampart @hardy glen There is one small thing to possibly consider, I am looking into it now. It seems that the tweak works until i remove it for a second time. Maybe theres some other weird class that re-enforces

silver rampart
#

oh boy

viral ermine
#

seems dumb if thats the case

silver rampart
#

yeah at this point I need a decomp lol

hardy glen
#

downloading ipsw atm

viral ermine
#

I can't wait till I understand how to use one

#

But I think you're right, @hardy glen Im still figuring this all out.

hardy glen
#

its not rocket science honestly. try out ghidra

#

you will get used to it

silver rampart
#

the issue is ppl using tweak dev to learn objc

hardy glen
#

you should have prior knowledge of oop and objc

viral ermine
#

ehh yea.

silver rampart
#

which is fine but, it'd also is going to be much much harder to learn when you're doing tweak dev

viral ermine
#

I'm half guilty of that. I have a good knowledge of C++. I was learning some objc before starting this, thinking it would be pretty simple.

next wadi
#

man

#

lemme tell you

silver rampart
#

bc efficient tweak dev requires getting familiar with debugging/RE tools which require knowing objc very well

next wadi
#

i started devving in may of last year

#

and i was a literal dumbass

#

lmao

viral ermine
#

lolo

next wadi
#

i c

silver rampart
next wadi
#

well i thought i got smarter until krit put me to shame

silver rampart
#

u did

next wadi
silver rampart
#

however ur still in this channel

next wadi
#

im just still a dumbass

#

yea

silver rampart
#

yeah

next wadi
hardy glen
#

try out app dev before you get into tweak dev. that is the best route if you are interested

next wadi
#

i had the wackiest order of learning langs

#

i did HTML

#

then objc

#

then C

#

then JS

silver rampart
#

I mean I learned tweak dev before app dev

next wadi
#

then swift

#

then TS

hardy glen
#

java c++ objc swift, now assembly

silver rampart
#

did the quality of my tweaks suffer greatly?

#

yes

next wadi
#

assembly

#

should i learn assembly

silver rampart
#

but I would've never been motivated to learn had I started with app dev

next wadi
#

@lethal ice scoo

#

p

silver rampart
#

so

next wadi
#

should i learn

#

assembly

hardy glen
#

it helps for some people. but some people pick up on things faster than others. the thing is, you can be greatly discouraged jumping head first

#

so most just end up quiting

lethal ice
#

assembly true

hardy glen
silver rampart
silver rampart
hardy glen
#

you don't really need to learn assembly nowadays unless you have a reason. although i believe everyone should at least learn the fundamentals

next wadi
#

my reason is boredom

silver rampart
#

learning assembly is like installing arch linux

hardy glen
#

well i want to get into kernel debugging and just being more efficient with RE, so that is why i am learning assembly atm

next wadi
#

man

#

i just wanna be a good dev

hardy glen
#

if you want to write your own compiler

#

go ahead

next wadi
hardy glen
#

lmao

silver rampart
#

I learned assembly by working on a bootrom exploit for armv7k watchOS without a decompiler for armv7 iboot

next wadi
silver rampart
#

unfortunately what I learned was armv7

#

but

#

idk I don't have any buts I regret my decisions

#

siguza was right fuck armv7

lethal ice
#

fuck armv7

#

arm64 for life

next wadi
#

i spent the night learning the rain song by led zeppelin on my guitar

lethal ice
#

true

next wadi
#

true

lethal ice
#

mono toca guitarra wtf

next wadi
#

si senor scoop

hardy glen
#

i am diving straight into armv8 but i feel like that isn't the right choice

viral ermine
#

thank you @silver rampart @hardy glen for spending your time to help me out

next wadi
next wadi
#

if you could get advanced dev for js knowledge i’d have it by now

#

but in terms of tweak dev stuff im terrible

#

lool

hardy glen
#

lack of resources, and also everyone telling me to learn x86 first for some reason

silver rampart
#

whoever said that was a dumbass

#

and can fight me

next wadi
silver rampart
#

x86 is dying

next wadi
#

arm forever

silver rampart
#

armv8 is god

hardy glen
#

true, i am confident that i could get a good grasp of arm. i already have a good amount of knowledge about memory registers. This shouldn't be too hard.

silver rampart
#

I have no valid advice to give on the topic lol

#

there were multiple points where I tried to learn and it just wasn't working

#

and then one point where all the details just clicked

#

I think a lot of dealing with the iBoot exploit stuff and patching instructions very manually helped stuff make far more sense

#

along with for a while basically having the iBoot Source leak as the only resource and having to re-symbolicate the rom using only the disassembled memory

#

I still don't understand the differences between like

#

when I disassemble a binary it's all segmented out and on disk, when I disassemble secrom it's one big blob of assembly in memory and then the variables and stuff are also in memory but off a little further?

hardy glen
#
    extractImage(dyldFile, dyldFile.images[targetImageData[0]], "binaries\\"+targetImageData[1])
  File "/Users/hearse/Desktop/DyldExtractor-master/./extractor.py", line 74, in extractImage
    Converter.ObjCConverter(machoFile, dyld).convert()
  File "/Users/hearse/Desktop/DyldExtractor-master/DyldExtractor/Converter/ObjCConvertor.py", line 70, in convert
    self.processSegments()
  File "/Users/hearse/Desktop/DyldExtractor-master/DyldExtractor/Converter/ObjCConvertor.py", line 149, in processSegments
    self.processClassData(classObj.data)
  File "/Users/hearse/Desktop/DyldExtractor-master/DyldExtractor/Converter/ObjCConvertor.py", line 225, in processClassData
    self.processMethodList(classData.baseMethods)
  File "/Users/hearse/Desktop/DyldExtractor-master/DyldExtractor/Converter/ObjCConvertor.py", line 244, in processMethodList
    methList = ObjC.method_list_t.parse(self.dyldFile.file, methListOff, methListPtr)
  File "/Users/hearse/Desktop/DyldExtractor-master/DyldExtractor/ObjC.py", line 177, in parse
    inst = super().parse(buffer, fileOffset, method_t, 0xffff0003, loadData=loadData)
  File "/Users/hearse/Desktop/DyldExtractor-master/DyldExtractor/ObjC.py", line 95, in parse
    inst = super().parse(buffer, fileOffset, loadData=loadData)
  File "/Users/hearse/Desktop/DyldExtractor-master/DyldExtractor/Structure.py", line 85, in parse
    buffer.seek(offset)
OSError: [Errno 22] Invalid argument
``` tried to extract CoverSheet
silver rampart
#

what command

hardy glen
#

./extractor.py dyld_shared_cache_arm64e -f CoverSheet

silver rampart
#

how fast is your internet

hardy glen
#

really fast

#

1000 down 500 up

silver rampart
#

use an arm64 cache

hardy glen
#

got it

silver rampart
#

the model I got is a pain to root and idk if it's even rootable rn

#

but I don't need to root it

hardy glen
#

locked bootloader huh

silver rampart
#

like there's genuinely nothing I need superuser for on this device so far

silver rampart
hardy glen
#

yea, i loved my android experience although i hated touchwiz. I hear OneUI is much better

viral ermine
#

@silver rampart I may have figured it out.

hardy glen
#

i used to develop roms for the note 4 and s6 edge

#

good times

silver rampart
#

my first experience is with Android 11 and OneUI 3.0

#

so I am getting the final product of 10s of years of suffering with no idea of what it was like before I'm sure lol

hardy glen
#

touchwiz was a nightmare

silver rampart
#

but yo like I can do this on a regular secure unrooted android

#

why tf would I even root I have everything

hardy glen
#

after a certain period of time, even the phone would feel so bloated and slow because of samsungs bloatware and poor memory management

silver rampart
#

it even let me remove Facebook

undone nest
silver rampart
#

well if ur not getting a latest Gen Samsung just get an iPhone

hardy glen
#

you only had the option to "disable" on past firmwares

silver rampart
#

software is on par with ios rn, the hardware experience is what knocks it out of the park

#

look at this puppy

hardy glen
#

custom kernels with overclocking and a kernel manager was the best benefit of rooting for me

silver rampart
#

iPhone 12 over here like yo we added LIDAR bc we're out of fuckin ideas please buy this please bro

hardy glen
#

yeah, my brother has one and i am thinking of getting his old s10 and experimenting with it

#

i remember i was such a noob i would use this app to "allocate my sd card as ram" fr

silver rampart
#

who needs overclocking 😎

#

Snapdragon 888 is cracked

hardy glen
#

i am not sure if you know what Xposed framework is, but that was one of the best things if you were rooting

silver rampart
#

12GB ram and 120mhz 3200x1400 display

#

5000mAh battery

hardy glen
#

crying in iphone 11woeis

silver rampart
#

apple over here like "we made it square and small again, innovation baby"

hardy glen
#

if it weren't for facetime/imessage, i would've switched a long time ago

#

i just really like the united usability across all the apple devices.

silver rampart
#

I use smserver

#

I plugged my SE into the USB port on my router

#

left it running

#

can't show more than this bc it's my imessage shit but I currently have the site set up like a native app

next wadi
#

@lethal ice scream intjcum

silver rampart
#

probably just gonna throw some shit together in Flutter and rip out the backend of smserver to make something better

#

wait it's GPL

#

nvm gonna write my own

hardy glen
#
id __cdecl -[k9 accessoryTypeString](k9 *self, SEL a2)
{
  signed __int64 v2; // x8
  id result; // x0

  v2 = self->_type;
  result = CFSTR("Clear Case");
  switch ( v2 )
  {
    case 0LL:
      result = CFSTR("Unidentified");
      break;
    case 2LL:
      result = CFSTR("Leather Case");
      break;
    case 3LL:
      result = CFSTR("Silicon Case");
      break;
    case 4LL:
      result = CFSTR("Sleeve");
      break;
    case 5LL:
      result = CFSTR("Wallet");
      break;
    case 6LL:
      result = CFSTR("Charging Mat");
      break;
    case 7LL:
      result = CFSTR("Charging Cable");
      break;
    default:
      return result;
  }
  return result;
}```
#

so its just returning a string

silver rampart
#

yeah it returns Clear Case past 7

next wadi
#

oops wrong channel

pearl sail
#

Nah this the right channel

viral ermine
silver rampart
#

if you don't mind

#

need to know where that's pulling from

hardy glen
#

its no issue, i am bored anyways

silver rampart
#

oh also I can charge my phone with my laptop charger now

hardy glen
#

usb c

#

must be nice

hardy glen
#
bool __cdecl -[k9 shouldShowAnimation](k9 *self, SEL a2)
{
  return (unsigned __int64)(self->_type - 1) < 5;
}```
silver rampart
#

make sure to buy your apple brand $50 box with your Apple iPhone $39 USB C to Lightning Adapter to get 10W charging

#

oh its an ivar

#

need to look at header again

#

that's the problem, maybe

hardy glen
#

i recently just figured out how to access swift data types and read/set values to them. Spent like 5 days straight banging my head

silver rampart
#
%hook CSAccessory
-(id)initWithDictionary:(id)arg1 endpointUUID:(id)arg2
{
NSLog(@"%@", arg1);
%orig;
}
%end
#

@viral ermine show what that spits out in console.app when you activate the wallet thing or whenever

hardy glen
#
k9 *__cdecl -[k9 initWithDictionary:endpointUUID:](k9 *self, SEL a2, id a3, id a4)
{
  id v6; // x19
  id v7; // x20
  k9 *v8; // x0
  k9 *v9; // x21
  id v10; // x0
  id v11; // x23
  id v12; // x0
  UIColor *v13; // x0
  UIColor *v14; // x8
  id v15; // x0
  id v16; // x22
  id v17; // x0
  UIColor *v18; // x0
  UIColor *v19; // x8
  objc_super v21; // [xsp+0h] [xbp-40h] BYREF

  v6 = objc_retain(a3);
  v7 = objc_retain(a4);
  v21.receiver = self;
  v21.super_class = (Class)&OBJC_CLASS___k9;
  v8 = objc_msgSendSuper2(&v21, "init");
  v9 = v8;
  if ( v8 )
  {
    objc_storeStrong((id *)&v8->_endpointUUID, a4);
    v9->_type = -[k9 accessoryTypeFromDictionary:](v9, "accessoryTypeFromDictionary:", v6);
    v10 = objc_msgSend(v6, "objectForKeyedSubscript:", kACCProperties_Endpoint_NFC_DisplayP3Rgb);
    v11 = objc_retainAutoreleasedReturnValue(v10);
    v12 = -[k9 colorForP3ColorData:](v9, "colorForP3ColorData:", v11);
    v13 = objc_retainAutoreleasedReturnValue(v12);
    v14 = v9->_primaryColor;
    v9->_primaryColor = v13;
    objc_release(v14);
    objc_release(v11);
    v15 = objc_msgSend(v6, "objectForKeyedSubscript:", kACCProperties_Endpoint_NFC_DisplayP3RgbSecondary);
    v16 = objc_retainAutoreleasedReturnValue(v15);
    v17 = -[k9 colorForP3ColorData:](v9, "colorForP3ColorData:", v16);
    v18 = objc_retainAutoreleasedReturnValue(v17);
    v19 = v9->_secondaryColor;
    v9->_secondaryColor = v18;
    objc_release(v19);
    objc_release(v16);
  }
  objc_release(v7);
  objc_release(v6);
  return v9;
}``` if you want the decomp code
silver rampart
#

the more I think abt it the more i like the idea of just

#

moving on

hardy glen
#

ended up using a swift helper class and using the instance variable offset to compute the address

silver rampart
#

kotlin is so nice

#

like swift but less instances of "why the fuck is this thing like this"

hardy glen
#

i would do whatever makes me happy. I feel like it could get repetitive and its nice to feel some change

#

at the point i am at right now, i am just getting started with this i feel like. I wanted to get deeper into it, but for you, i know you've doing it for a while

hardy glen
#

so thats understandable

silver rampart
#

I've only been doing this since like mid 2019

hardy glen
#

still, thats like a decade

silver rampart
hardy glen
#

oh

#

i thought it said 2009

#

lmao

silver rampart
#

feels like a decade

hardy glen
#

math was offfr

#

calculator messed up

#

i just got started a year ago almost

silver rampart
#

I still have a lot of exploring left to do