#development

1 messages Ā· Page 135 of 1

acoustic imp
#

i was thinking that

#

but howd u do it

#

what u add?

slim bramble
#

Some funnies

#

But I want a refund

#

cuz not generating haptics

acoustic imp
#

oh L

#

audio yap yap 4life

slim bramble
acoustic imp
tepid olive
#

No

slim bramble
#

it's a lot easier

#

šŸ’€

acoustic imp
#

no its not

slim bramble
#

it is ????

acoustic imp
#

its more work

tepid olive
#

Seriously what is that

acoustic imp
#

prefs stuff

tepid olive
#

That is bad practice if I've ever seen it

acoustic imp
#

what else should i do ?

slim bramble
acoustic imp
orchid fulcrum
#

C sytle array maybe? Just asking

acoustic imp
#

dk what that is

tepid olive
acoustic imp
#

good idea

slim bramble
#

also @tight carbon I got it to compile but there is no feedback for 0 1 and a lot of others

tight carbon
#

you have to add this to compile the code without errors

** @interface _UITapticEngine : NSObject

  • (void)actuateFeedback:(NSInteger)count;
    @end

@interface UIDevice ()

  • (_UITapticEngine )_tapticEngine;
    @end
    *

P.S I demonstrated a private api just like that and I don't encourage to use it. Instead just use UIImpactFeedbackGenerator

slim bramble
tight carbon
slim bramble
acoustic imp
#

after moved vars to .h file an cleaned up comment 1225 -> 1025 or sm

#

should i put like my main grouods into different .xm files?

#

that would also help break up the vars

#

also can i put vars in %groups ?

slim bramble
#

@acoustic imp Also I should probably teach you what macros are

acoustic imp
#

macro keys?

#

or like methods/funcs u run to do shi

slim bramble
#

Ok I'm gonna explain u come dms

visual meadow
#

anyone know how to get flexing in carplay

#

i need flex

acoustic imp
#

u gota do sm like flex in the app on ur phone then there sm like thing thats ther

#

ETHN did dm

native dune
#

most coherent sentance

torn cloud
#

@radiant idol suggestion: you should add a search menu to Onesettings

#

it’ll be easier to navigate if yk

acoustic imp
visual meadow
#

im not in there anymore

visual meadow
#

is it the testing channel

#

or

torn cloud
#

Best channel

radiant idol
#

once i actually have energy to program

#

im so burnt out atm

torn cloud
#

can relate

visual meadow
#

@acoustic imp what channel is that

acoustic imp
#

um one sec

visual meadow
#

or just ping me in there

acoustic imp
acoustic imp
visual meadow
#

oh

#

is that a thread or channel

acoustic imp
#

channel

visual meadow
#

damn

#

@shut stag add me

acoustic imp
visual meadow
#

static void (* orig_DBDashboardHomeViewController_viewDidLoad)(DBDashboardHomeViewController* self, SEL _cmd);
static void override_DBDashboardHomeViewController_viewDidLoad(DBDashboardHomeViewController* self, SEL _cmd) {
    orig_DBDashboardHomeViewController_viewDidLoad(self, _cmd);

    // player
    NSURL* url = [GcImagePickerUtils videoURLFromDefaults:kPreferencesIdentifier withKey:kPreferenceKeyCarPlayWallpaper];
    if (!url) {
        return;
    }

    carPlayPlayerItem = [AVPlayerItem playerItemWithURL:url];

    carPlayPlayer = [AVQueuePlayer playerWithPlayerItem:carPlayPlayerItem];
    [carPlayPlayer setPreventsDisplaySleepDuringVideoPlayback:NO];
    [carPlayPlayer setMuted:YES];

    carPlayPlayerLooper = [AVPlayerLooper playerLooperWithPlayer:carPlayPlayer templateItem:carPlayPlayerItem];

    carPlayPlayerLayer = [AVPlayerLayer playerLayerWithPlayer:carPlayPlayer];
    [carPlayPlayerLayer setVideoGravity:AVLayerVideoGravityResizeAspectFill];
    [carPlayPlayerLayer setFrame:[[[self view] layer] bounds]];

    [[[self view] layer] insertSublayer:carPlayPlayerLayer atIndex:0];

    [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryAmbient error:nil];
    
    if (carPlayPlayer) {
        [carPlayPlayer play];
    }
}```

well im trying to get eneko working on carplay
#

this is what i have rn

#

and the video plays, just i cant see it

velvet path
visual meadow
#

damn

velvet path
#

the artfull channel is in a completely different server

visual meadow
#

he made it sound like it was in this one

radiant idol
#

that's ETHN's server

#

smh

acoustic imp
radiant idol
#

what does that even mean

acoustic imp
#

Idk, I said ETHN

radiant idol
#

"did dm"

#

what

acoustic imp
#

Idr

#

I was ā€œtyping fastā€

radiant idol
#

you always type fast

acoustic imp
radiant idol
visual meadow
#

no

#

thats what eneko did

#

i hate them for that btw

radiant idol
#

oh

visual meadow
#

but aanyways

#

do you know lol

radiant idol
#

no

visual meadow
#

the video plays i just

#

yk

#

dont see it lol

radiant idol
#

what is this tweak

hasty ruin
#

bounty tweak

radiant idol
#

DMs

#

šŸ¤“ ā˜ļø

visual meadow
radiant idol
#

@grave sparrow maybe you know

sonic totem
#

Nightwind just jealous because they only know ObjC 😢

tight carbon
# hasty ruin me rn

Isn't it easier to create a custom config so that the logos does not call @selector at the compile time?)

lean ermine
tight carbon
#

this is a regular null-terminated string and obviously @selector is called by default at the time of recompilation to substrate. Now we go back to the beginning and due to the fact that @selector is called and not Š” sel_registerName or NSSelectorFromString, hikari does not encrypt methods and so that it can do this, it is enough to register the whole thing in a dynamic table by calling sel_registerName. To be honest, I'm not sure about sel_registerName, but I can say with confidence that instead of the default configs provided when setting the LOGOS_DEFAULT_GENERATOR flag, can create your own by replacing the @selector inserts with NSSelectorFromString

#

I know that's why I turned to iCraze knowing that he uses hikari

hasty ruin
#

though i'm not using sel_registerName for obfuscation here

#

i just need to get the selector based on a string at runtime

primal perch
#

icraze

hasty ruin
#

shepgoba

lean ermine
#

who named they kid shepgoba

primal perch
#

idk

#

its wild

indigo peak
#

is there a way to make HBLinkTableCell load from the filesystem

#

or should i just subclass HBLinkTableCell

bright lance
#

anyone know a way to bypass the file limit for unity dumper?

#

planning on reverse engineering a specific app built in unity but the file is too big?
asked around and people said they just changed the maximum file size limit

but its only really simple to do that if im on pc but im on mac rn
and the only way to use it is through the website

someone said u can still bypass it
wondering if there is a way to install on mac instead of using the website
and if there isnt a way to install wondering if i can bypass the limit on the web version

radiant idol
brazen timber
faint stag
#

probably

elfin quarry
#

not wine

faint stag
#

at least in my experience

elfin quarry
#

also just noticed why he's uploading the ipa šŸ’€ there's no way the main executable is 2 gigabytes lol

faint stag
elfin quarry
#

ah

faint stag
#

idk how much ipas are compressed

#

but if it's 2gb then that's still crazy

elfin quarry
faint stag
#

yeah

frail cedar
torn cloud
#

it got announced way quicker than I expected

#

W Opa

sonic totem
#

fr

torn cloud
#

Does dopamine use ChOma?

sonic totem
#

It's the basis of the kernel patchfinder

torn cloud
#

Ah

#

Cool

timid furnace
#

Dopamine
^
|
Xpf
^
|
Choma

torn cloud
#

What’s XPF?

sonic totem
#

XNU PatchFinder

torn cloud
#

Cool

indigo peak
# radiant idol subclass

@implementation JellyLinkCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier specifier:(PSSpecifier *)specifier {
    self = [super initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:reuseIdentifier specifier:specifier];

    NSLog(@"self.iconImage: %@", self.iconImage);

    return self;
}

- (UIImage *)iconImage {
    UIImage *icon = [UIImage imageNamed:self.specifier.properties[@"iconFileName"] inBundle:[NSBundle bundleForClass:[self class]] compatibleWithTraitCollection:nil];
    NSLog(@"icon: %@", icon);
    return icon;
}

- (BOOL)shouldShowIcon {
    return YES;
}

- (void)loadIconIfNeeded {
    [self setIconImage:[self iconImage]];
}

@end
radiant idol
#

Nice

indigo peak
#

not working

#

lmao

#

like it works

#

but when specificers are reloaded

slender glade
#

@granite frigate dopamine 2 on Antoine’s anniversary.. we are eating good

granite frigate
#

šŸ”„

indigo peak
#

it flashes when specificers reload

radiant idol
#

Smh

indigo peak
#

bruh

radiant idol
#

weird

granite frigate
#

tictacjb rt

#

😭

#

whatd you say i didnt see

naive kraken
#

right?

tawdry storm
sonic totem
naive kraken
#

oh

#

this is when ur jailbroken with something that sets CS_PLATFORM_BINARY on all processes

#

dopamine thinks it's jailbroken then

#

but it's not

#

well technically is

#

but it can't get the root path

#

I will make it fall back I guess

visual meadow
#

lol my ipad just sharted itself

#

@naive kraken

#

something got called that should never get calle

#

WTF

#

IT WIPED MY BOOTSTRAP

faint stag
#

L

visual meadow
#

BRO

#

guess i have to get all my tweaks again

#

Dude its all gone

ashen birch
ashen birch
#

crazy fr

visual meadow
#

Guess what

#

I did

#

Im not saying it removed that

ashen birch
#

oh ok i’m dumb

visual meadow
#

It got rid of the dopamine one

ashen birch
#

ignore

visual meadow
#

It decided to reinstall itself

ashen birch
#

pack alert

hasty ruin
ashen birch
#

(i still have no trollstore or jailbreak)

#

when does 17.0 get to eat

visual meadow
hasty ruin
#

user error

#

🧌

steady nest
#

@empty spade sup, you seem to have left some debug logs on latest Alpine release build hm

stark barn
#

Out of curiosity, how hard is it to take apart an iPhone and just write a custom bootrom?

ashen birch
#

less hard

ashen birch
#

more impossible

#

quite literally

#

look up what rom means

visual meadow
#

@naive kraken hey it seems dopamine keeps re extracting the bootstrap every single time i rejailbreak

stark barn
#

Well the ROM must have been produced somehow. It had to have been written to at least once.

empty spade
steady nest
#

yes

#

just [+] ALPINE DEBUG: Loading into -> com.apple.findmy

steady nest
#

not really a big issue

ashen birch
#

but good luck doing it again

stark barn
#

What if we straight up swap out the ROM with a different one?

ashen birch
#

once again

#

look up what rom means

elfin quarry
#

you literally can't

empty spade
naive kraken
steady nest
#

idk, it's listed as 1.4

stark barn
naive kraken
ashen birch
#

yes!

naive kraken
#

it can't

visual meadow
#

Yes it did

naive kraken
#

no

visual meadow
#

It literally did it twice

#

Bro

steady nest
#

it didn't

naive kraken
#

it just picked a new dir

visual meadow
#

IT DID

#

ok

naive kraken
#

the old one still exists

stark barn
#

I get that any particular ROM chip might be unwritable, but what keeps me from taking out rom chip 1 and putting in rom chip 2? I'm not actually writing anything if I do it that way.

visual meadow
#

I see

#

But like

#

Why did it pick a new dir

ashen birch
#

BREAKING: Nathan does not understand the concept of rootless bootstrapping

naive kraken
#

because your previous bootstrap was from something that's not dopamine 1.x

naive kraken
#

which is unsupported

visual meadow
ashen birch
visual meadow
#

I didnt have dopamine 1.x either

naive kraken
#

yeah

ashen birch
#

and it’d work

naive kraken
#

then it will pick a new one

stark barn
ashen birch
#

it’s embedded into the soc

#

you don’t just ā€œreplace the romā€

stark barn
#

Apple why do you do this to us -_-

visual meadow
#

Every single tome

#

Time

stark barn
#

Also I doubt that "ROM" is completely immutable. Like if I throw the thing into a volcano, it would definitely have different data afterwards.

#

I just hope that one day we manage to actually edit it somehow

#

Pipe dream for sure, but would be huge

steady nest
#

just get a microscope or smth

#

a needle the size of sperm and a steady hand

#

everything's possible

visual meadow
#

seee brooooo

#

it keeps deciding to bootstrap again

stark barn
#

Radiation can destroy data

velvet path
visual meadow
#

ah yes

#

probably that

#

no its probably the other line

#

nvm i was right

frail cedar
naive kraken
# visual meadow bro

I had a wrong idea of what the issue was and changed that to a if (strlen(...))

#

but then when I actually realized what was up I removed it again but somehow forgot to readd the exclamation mark

#

super dumb

sacred orbit
#

anyone knows why my tweak does not work on dopamine?

visual meadow
#

i have a lock screen seconds tweak

naive kraken
visual meadow
#

it doesnt work either

sacred orbit
visual meadow
#

i have a lock screen seconds tweak and it doesn't work either

#

@naive kraken do you want to try it

sacred orbit
#

huh weird

visual meadow
#

i can send you the src in dms

sacred orbit
#

it fr doesnt work

torn cloud
#

so there's bound to be bugs and stuff

#

for example, i ran dopamine 2 on my iPhone 7 and it got stuck on Applying bootstrap or something like that

#

then it tried to reboot userspace

#

it just ended up turning off and the power button was broken for 5 minutes

#

then it randomly started working, no clue why that happened lol

sacred orbit
#

oh

#

it worked

#

@visual meadow i had to add arm64e to ARCHS

visual meadow
#

ok alr

naive kraken
#

nathan had to do that too

#

what a suprise

visual meadow
#

lol

orchid fulcrum
#

Migrating from serotonin (by the book) I only got dopamine to work in 2.0.0 and after updating cant get it to work. (Crashes in kernel phase)

naive kraken
#

if it's a panic, reboot try again

orchid fulcrum
#

Kernel panic i guess

#

Okay

#

Worked. Also a suggestion about choicy for what its worth i think it would be better if you could disable injection for all applications and then start enabling individually (roothide applist style). You can technically still do this manually but there are a lot of apps so it would take time.

faint stag
#

just set the list to allow (whitelist) instead of deny

orchid fulcrum
#

Thats for global/springboard no ?

reef trail
#

anyone tried orion tweaks, both of mine are causing springboard to crash

orchid fulcrum
#

Also is it me or respring in dopamine app doesnt work

faint stag
reef trail
faint stag
#

on that version

reef trail
#

no

faint stag
#

ok then what are you using

reef trail
#

13 on 16.1

faint stag
reef trail
#

?

faint stag
#

you do know that orion was created for 13-14.x

#

right?

reef trail
#

it worked just fine on serotonin + bootstrap

#

and says 14 - 16 in version support

faint stag
#

unless you mean orion (swift) tweaks

#

this is development

#

ugh i forgot

torn cloud
reef trail
faint stag
#

wait what swift tweaks are you even trying to use

reef trail
#

my own

faint stag
#

well if springboard is crashing it would be helpful to get a log

reef trail
reef trail
torn cloud
#

respectable

faint stag
#

doesn't matter what os you're on

reef trail
#

from what i've read i need console.app

faint stag
#

that just parses them

#

you don't need console

reef trail
#

i've been using a remote logger in my tweaks but they're not hooking it at all so

#

where are they found

#

i'll scp them out

torn cloud
#

wait is Dopamine 2's dmaFail the same as the pplrw.m gist?

#

looks very similar

velvet path
#

yes, dmafail is the PPL Bypass

reef trail
torn cloud
#

struct shit_map fr

timid furnace
#

ignore

#

meant to search that

faint stag
reef trail
#

there’s one but i’ve put it into safe mode more than that so i think it’s unrelated

#

the time stamp backs that up

#

ohh i know what it is i’ve been building as arm64e still

#

i haven’t installed the legacy support

#

that didn’t help, i’ll rebuild as arm64 when i get home

placid kraken
#

do they clear tweak prefs when installing from a different source

#

none of my jade or alpine prefs carried over

#

also where does sileo keep its repo list

#

i would rather not go back to serotonin to export that

faint stag
#

that includes prefs

#

if you removed the bootstrap then there's no way to get those

placid kraken
#

yea but i looked in /var/mobile/Library/Preferences and found all the prefs from all my tweaks i had on roothide

#

i still have jbroot on my dopamine install so i can see the tweaks i had

faint stag
#

lol

placid kraken
#

theyre actual files

#

jbroot/Library/Preferences is empty

faint stag
placid kraken
#

ok well all my prefs are here

#

cool

#

now to find the repo list of all the repos i had on roothide

visual meadow
#
#include <Foundation/Foundation.h>
#import <UIKit/UIKit.h>



@interface CSActivityItemContentView : UIView
@property UIColor *backgroundColor;
@end

%hook CSActivityItemContentView

- (UIColor *)backgroundColor {
    return [UIColor colorWithRed:100.0/255.0 green:196.0/255.0 blue:102.0/255.0 alpha:1.0];
}

%end```
does anyone know why this isn't working
#

in flex it shows the color as green

#

If I set the color in flex it actually goes to green

tepid olive
#

does anyone have an OSS tweak that shows a ui alert in like, a postinst/postrm file?

faint stag
#

anyway

#

your postrm/postinst doesn't have to a script

#

it can be a binary, hence why calling an alert can be done

tepid olive
#

oh hm interesting

granite frigate
#

just realised swift student challenge ends next week

#

im dogshit at swiftui I HAVE NEVER TOUCHED IT

#

and idk what to make

#

brilliant

faint stag
timid furnace
#

uikittools-extra

#

that should be the way to do it iirc

faint stag
#

but that would require a dependency now

#

for a postinst that's a bit silly

timid furnace
#

i mean

#

better than writing a binary postinst to do it trol

faint stag
#

and it would have to be Pre-Depends as it has to be installed first lol

indigo peak
#

@tepid olive bro I was not expecting your voice to be that deep 😭😭

#

mf spoke and it was like 10 decibels lower than I was expecting

faint stag
#

i don't think you measure pitch in decibels

indigo peak
#

shhh

#

you get the idea

placid kraken
#

i think the word youre looking for is hertz, fiore

orchid fulcrum
#

Whats the go to jb bypass nowadays

placid kraken
#

well um

#

thats not fun

orchid fulcrum
faint stag
faint lionBOT
placid kraken
#

oh ok

#

the website is still /repo

tepid olive
#

tbh i had to step in considering he was tryna avoid the literal FAQ of the software so whatever

indigo peak
#

he was doin a lot of yapping

#

@hasty ruin are you gonna release your keyboard tweak now that dopamines out troll

tepid olive
#

does dopamine have uikittools by default (i dont use dopamine)

placid kraken
#

where are snowboard themes stored ughhhh

#

so much stuff

tepid olive
#

bet

indigo peak
#

I don’t remember installing it and I have it installed

#

Sooooo

tepid olive
#

derootifier-whitename.deb

indigo peak
tepid olive
#

i mean couldve been a depends

tepid olive
#

whatever uikit is simple

indigo peak
tepid olive
#

oh yeah i guess

indigo peak
#

ok there’s your answer

tepid olive
#

PAWSOME

faint stag
#

cause some are in the extra package

tepid olive
#

nah i just need uialert and uiopen

faint stag
#

oh ok

tepid olive
#

ty

placid kraken
#

is it just me or is havoc dying

#

(what purchase i already own it)

tepid olive
#

havoc is going on and off rn

placid kraken
#

whats !t unbootstrap

#

!t unbootstrap

faint lionBOT
# placid kraken !t unbootstrap
unbootstrap

How to uninstall (Roothide) Bootstrap and Serotonin

  1. Disable ALL apps in the App List.
    (This must be done as enable apps are patched for tweaks to work with bootstrap and will cause issues if not)
  2. Open the RootHide application (com.roothide.manager in Sileo if not installed) and run varClean with all files selected.
    (Some apps such as Misaka or other apps installed using trollstore may have files present in this list. Save any files important to you elsewhere such as the Files app.)
  3. Reboot your device and press uninstall in the Bootstrap application.

Please complete these steps before using Dopamine or else you will encounter issues.

placid kraken
#

ah

#

me when i did none of that and dopamine works fine

#

i shall do that once i get all my prefs transferred

#

so far i already did

#

with most of my tweaks

#

hmmmm i wonder if flora works everywhere now

indigo peak
#

no

#

It won’t

tepid olive
#

at least they SHOULD because they wont really work when not bootstrapped. you're also leaving a bunch of files in /var, and unless you use the exact same setup you run the risk of random incompatibilities, not to mention theres still unused files so

placid kraken
#

oh ok

#

gosh i hope i dont need anything else

#

time to painstakingly disable every app from the app list

#

i have almost all of them enabled

tepid olive
#

......

#

why?

placid kraken
#

ok well less than i thought

#

but most of the apple apps are

tepid olive
#

oh alright

placid kraken
tepid olive
#

no ive seen some horrible people enable like everything. will kill storage and p much make ur phone a brick when it reboots lol

placid kraken
#

i see

indigo peak
#

I’m ab to pull my mac out on the train and start coding

faint stag
indigo peak
#

I’m the second to last stop

#

lmfao

#

I have another hour according to my ETA

indigo peak
#

vscode on da train

placid kraken
#

i have returned

#

this time without bootstrap

#

i just need my havoc tweaks but its broken

#

šŸ™

torn cloud
indigo peak
#

nope

torn cloud
#

finally

west bloom
snow python
cloud yacht
visual meadow
#

?

cloud yacht
#

[[timeshift]]

#

Modifies the Lock Screen time stuff

visual meadow
#

what ios

cloud yacht
#

Like all of the ones I tried

visual meadow
#

well this is 16

cloud yacht
#

It's built for rootless

visual meadow
#

its probably not gonna work on 16

cloud yacht
#

I think someone said it worked on 17

#

It also works on iOS 7

#

My device used to support dopamine 2.0 but I upgraded

kind herald
#

error while building project and you become angry? look to your side there’s a bunch of trees and birds and grass

indigo peak
#

real

#

most annoying part was having to use my phone as a hotspot for any googling

#

but it did kill the time on the train tho

#

still like 2 stops away but I’m stopping for now

#

fixed 2 bugs šŸ™

acoustic imp
#

Can I %init a hook(s) after springboard loads? (Aka can I %init hooks outside the %ctor?)

placid kraken
#

whats this standard called

#

i found it a while ago but i forgot what its called

#

for defining datetimes

tepid olive
#

EEEE mmmm dd itself? or just the concept in general

placid kraken
#

idk but i found a documentation page a while ago showing all the different things you can do for a datetime

#

for example, MMM is Feb, MMMM is February

tepid olive
#

yeah

placid kraken
#

if you wrap text in single quotes it can be displayed as plain text etc

#

idk if it was an apple api

tepid olive
#

is it seriously dependant on language

placid kraken
#

no I don't think so

#

its just for helium, a trollstore app which i assume is written in swift

placid kraken
#

great thanks

sacred orbit
#

so basically if i want to make my tweak support only 16+ then i make firmware (>= 16.0)?

radiant idol
#

yes

acoustic imp
#

Havoc down?

sonic totem
#

Yes

acoustic imp
#

😢

#

I need krashkop 😪

placid kraken
#

beautiful

#

do you guys know where i can get statusbarsupport

#

because its not in [[statusbarsupport]]

faint lionBOT
#
StatusBarSupport

Adds theming support for extra status bar icons for SnowBoard

Author

MiRO

Version

1.0.1

Price

Free

Repo
Bundle ID

com.miro.statusbarsupport

placid kraken
#

ive tried

#

its not in the repo

reef trail
#

from my orion tweak, worked fine on bootstrap + serotonin

tepid olive
#

Hey do you know how to make a theos application and compile to a tipa?

elfin quarry
#

linux, macos or iOS?

tepid olive
elfin quarry
#

you can just follow the theos instructions then

tepid olive
#

It does not say what to do to compile it to a ipa

elfin quarry
#

search google for ipabuild.sh site:github.com and just pick one lol

#

but do you need theos for making an ipa anyway?

#

you could also just use xcode

tepid olive
elfin quarry
#

why not

#

hm fair ig

ashen birch
#

@naive kraken can you add me back, need to ask something important (i promise it'll be worth your time)

naive kraken
#

the testing thread?

ashen birch
#

?

#

no just accept friend req

naive kraken
#

oh

#

im dumb

ashen birch
#

🧌

indigo peak
#

he’s so invested into dopamine he forgot how to have a social life

#

(he’s a real jailbreak developer now)

tepid olive
#

Real

pearl sail
acoustic imp
indigo peak
#

according to my reports I wasn’t talking to you

pearl sail
sonic totem
#

I’m a trusted source of information

pearl sail
#

I don't believe the 2nd part

placid kraken
sonic totem
#

Streak fr

pearl sail
#

Okay

sonic totem
tepid olive
#

@sonic totem you're better than opa (don't tell them I said that)

#

:)

young meteor
#

@sonic totem you're better than opa (don't tell them I said that)

tepid olive
#

Where’s night winds guide

placid kraken
#

so i um kinda fucked my jb install by installing a rootful tweak derootified

#

it respring loops

#

idk where its stored so i cant uninstall it

#

its not in /var/jb/Library/MobileSubstrate/DynamicLibraries

#

nvm it is

reef trail
#

use apt

#

ssh in and apt remove

placid kraken
#

idk how to do that lol

tepid olive
reef trail
placid kraken
#

okok

acoustic imp
placid kraken
#

ok well i fucked up everything lol

#

i tried to rebootstrap to get root to delete the file from there

#

it deleted my jb folder and now dopamine gets stuck on the apple logo when jailbreaking

#

i love

#

so much

#

at least its not a bootloop because i can still force reboot to get to a non jailbroken state

#

but idk what to do now

#

maybe ill clear the jb and rejb altogether

#

clean slate

#

that was a stupid idea

#

fuck i cant even do anything now because havoc is offline

#

no libgcuniversal for me

#

yayyyyyyyyy

placid kraken
#

ok @naive kraken hear me out

"jailbreak with tweak injection disabled" when

#

odyssey had this i think

placid kraken
#

holy shit i just realised

#

im actually blind

#

šŸ’£

solar pendant
#

umm do I clean clean everything?

orchid fulcrum
#

Someone should really share it

#

If they have

placid kraken
#

im kinda just waiting for havoc

#

shouldnt be down for too much longer its been like 5 hours

#

at least everything on the website is back

#

but auth is still fucked

#

nevermind the website died again

orchid fulcrum
#

Thank god

fiery monolith
#

@naive kraken can you think of any reason why my tweak which works on Dopamine 1.x and palera1n no longer can save preferences with Dopamine 2.x? I’m using ROOT_PATH_NS like this: ROOT_PATH_NS(@"/var/mobile/Library/Preferences/blah.plist")

#

I’m just using writeToFile with NSDictionary

#

The only thing I can think of is this device previously had palera1n on it, but looks like other tweaks are saving preferences there just fine

#

But those might have been created via NSUserDefaults or some other standard api

naive sedge
#

Hey, so, I was trying to see if perhaps TrollStar could work inside Swift Playgrounds, since that would provide a computer-less installation method for iPads

#

so I started with porting libkfd to Swift, I started with the PhysPuppet vulnerability since it's the simplest

frail cedar
#

@naive kraken At a loss here. Normally I jb with palera1n rootful (iPhone 7 15.4.1). Rebooted and tried jb with dopamine 2 (using 2.0.4) to test Legizmo and it panics consistently after respringing/userspace rebooting (not sure what it does). Only produces a panic-base

timid furnace
#

shared_region_pager_data_return trol

frail cedar
#

that sounds PPL related?

#

idk this is not my area

timid furnace
#

no

granite frigate
timid furnace
#

it's a rarely occuring panic that has been experienced

#

i'm not entirely sure what the cause is tho

#

no jinx pls

radiant idol
#

LOL

frail cedar
#

apparently

timid furnace
#

did you set up legizmo

#

or does it happen even before setting it up

frail cedar
#

no i cant even

#

get past the respring

#

it happens during respring

timid furnace
#

ok so testable without an apple watch i guess

#

maybe

frail cedar
#

The legizmo test was just bc people are reporting the alpha rootless build says

#

Bad Deb

timid furnace
#

bad deb means it was on icloud drive

#

move it off of icloud drive

frail cedar
#

noted

timid furnace
#

this has been a thing for months idk how people are still experiencing it

radiant idol
#

why does it even say that

timid furnace
#

idk something to do with the file provider access

radiant idol
#

it works fine when installed through filza or whatever

frail cedar
#

still no panic-full

#

just a panic-base

#

strange

frail cedar
primal perch
sacred orbit
#
static BOOL tweakEnabled;

void preferencesChanged(){
    NSDictionary *prefs = [[NSUserDefaults standardUserDefaults] persistentDomainForName:@"org.haxi0.lunarprefs"];

    textAlignmentKey = (prefs && [prefs objectForKey:@"textAlignmentKey"] ? [[prefs valueForKey:@"textAlignmentKey"] integerValue] : 0 ); // PSSegmentCell
    tweakEnabled = (prefs && [prefs objectForKey:@"tweakEnabled"] ? [[prefs valueForKey:@"tweakEnabled"] boolValue] : YES );
}

%ctor{
    preferencesChanged();

    CFNotificationCenterAddObserver(CFNotificationCenterGetDarwinNotifyCenter(), NULL, (CFNotificationCallback)preferencesChanged, CFSTR("org.haxi0.lunarprefs.prefschanged"), NULL, CFNotificationSuspensionBehaviorDeliverImmediately);
}```
The tweakEnabled thing is not staying on, what am I doing wrong?
#

Root plist:

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
    <dict>
        <key>items</key>
        <array>
            <dict>
                <key>cell</key>
                <string>PSSwitchCell</string>
                <key>default</key>
                <true/>
                <key>label</key>
                <string>Enable Tweak</string>
                <key>key</key>
                <string>tweakEnabled</string>
                <key>PostNotification</key>
                <string>org.haxi0.lunarprefs.prefschanged</string>
            </dict>
            <dict>
                <key>cell</key>
                <string>PSGroupCell</string>
                <key>label</key>
                <string>Text alignment</string>
            </dict>
            <dict>
                <key>cell</key>
                <string>PSSegmentCell</string>
                <key>default</key>
                <integer>0</integer>
                <key>label</key>
                <string>Text alignment</string>
                <key>validTitles</key>
                <array>
                    <string>Left</string>
                    <string>Center</string>
                    <string>Right</string>
                </array>
                <key>validValues</key>
                <array>
                    <integer>0</integer>
                    <integer>1</integer>
                    <integer>2</integer>
                </array>
            </dict>
        </array>
        <key>title</key>
        <string>Lunar Preferences</string>
    </dict>
</plist>```
timid furnace
#

did you forget defaults

sacred orbit
#

how do i set defaults then?

timid furnace
#

i mean quite literally the "defaults" key

sacred orbit
naive sedge
#

Look at the original code ?

#

They’re that way on purpose

#

Trying to trigger an exploit remember

#

I’m using UInt max since the original code did -1

#

A standard process should be able to trigger the exploit, otherwise how could you trigger it from a standard side loaded IPA? (TrollStar)

sacred orbit
naive kraken
#

So just try again

naive kraken
sacred orbit
#

what is the right way to respring?

placid kraken
#

how long was havoc down for

#

oh great dont tell me chariz is down now

drifting heron
#

damn appsync unified is broken

sonic totem
#

Think it’s just broken on 16.5+

drifting heron
#

weird because it’s not working for me on 16.1

#

have you tried it?

sonic totem
#

No I haven’t I just remember asking someone a couple of weeks ago

drifting heron
#

ah

#

I think I need to ad hoc sign with Sideloadly?

frank fossil
#

(if something requires trustcache to work properly eg CocoaTop just ldid pseudo sign it back afterwards)

fiery monolith
placid kraken
#

ive gotta figure out how to setup ssh to my phone

naive kraken
#

maybe that's the problem

#

you need to use cephei or libSandy for that

fiery monolith
fiery monolith
placid kraken
#

oh so you literally just do this?

int ret = libSandy_applyProfile("SafariPlus_Preferences");
        if(ret == kLibSandyErrorXPCFailure)
        {
            libSandyWorks = NO;
        }

        //int denied = sandbox_check(getpid(), "user-preference-write", SANDBOX_FILTER_PATH | SANDBOX_CHECK_NO_REPORT, "com.opa334.safariplusprefs");
        //NSLog(@"libSandy user pref write: %d", denied);

        //_userDefaults = [[NSUserDefaults alloc] initWithSuiteName:@"com.opa334.safariplusprefs"];
        _userDefaults = [[NSUserDefaults alloc] initWithSuiteName:@"/var/mobile/Library/Preferences/com.opa334.safariplusprefs.plist"];
        [_userDefaults registerDefaults:defaults];
fiery monolith
#

@naive kraken On my iPhone 15.1.1 (still on Dopamine 1.x), /var/jb/var/mobile is owned by mobile:mobile but on the iPhone X where I just installed Dopamine 2.0.3 (coming from palera1n) it’s owned by root:wheel

naive kraken
#

oh shit that's a bug

fiery monolith
#

I do have another tweak which simply uses NSUserDefaults (just the standard APIs) and that tweak was able to write to that folder

fiery monolith
#

Or I should have done rootfs restore first

naive kraken
fiery monolith
#

Just kinda rolled with it since it worked

#

Yeah I noticed /var/jb was replaced

#

@compact swift yep I’d tend to agree that’s the issue as well, if it’s indeed supposed to be owned by mobile:mobile

naive kraken
#

do I need to chown it recursively?

#

smh I forgot passing a flag to libarchive

fiery monolith
naive kraken
#

that's what caused this to begin with

#

I will check if the var/mobile is owned by root and in that case I will recurse it

#

but if it's already mobile I won't do it again

fiery monolith
#

That sounds like the fix I’d apply, since people might have other stuff in there owned by other users/groups?

#

Should everything under /var/jb be owned by mobile?

naive kraken
#

only /var/jb/var/mobile

fiery monolith
# naive kraken only /var/jb/var/mobile

Okay cool, so you don’t need me to check any other folders for permissions? I did notice that sub directories were indeed owned by mobile but that folder itself was by root which is likely why my tweak prefs never get written

naive kraken
#

nah that's the only one I think

#

yeah the Preferences folder is being created under mobile by dopamine itself

#

but the rest is not

hasty ruin
fiery monolith
# naive kraken nah that's the only one I think

Okay thanks for confirming. So would you say it’s still a ā€œbugā€ in my tweak to simply write to that folder? Or is it safe to assume that I have write permissions for that folder on any 15/16 jailbreak?

harsh junco
#

I'm trying to cross-compile for Mac OS on arch gnu/linux with cctools-port, where can i get x86_64-apple-darwin-clang?

configure:6719: x86_64-apple-darwin-clang --version >&5
./configure: line 6721: x86_64-apple-darwin-clang: command not found
configure:6730: $? = 127```
orchid fulcrum
#

Share menus system wide are misbehaving (ie they dont work at all) anybody else had this before? Its probably not dopamine related because it was working when i installed dopamine first.

acoustic imp
#

@naive kraken maybe you could add like a check before dopamine jailbreaks and if there’s an issue, it jailbreaks with tweaks off and wount let you turn them on till the bug is fixed ?

#

The mobile root owner bug^

elfin quarry
#

@naive kraken i don't think it's still fixed yet, on normal iOS the /var/mobile folder itself is owned by mobile:mobile
but the procursus one is still owned root:wheel

#

only the contents of the /var/jb/var/mobile is chown'd to mobile:mobile

fiery monolith
elfin quarry
#

i already have 2.0.5 though

velvet path
#

you have to truly rejailbreak

elfin quarry
#

oh

#

lemme reboot then

#

ok yea that works

#

oops

frail cedar
frail cedar
#

oh nvm then

#

thought it was different

#

but then yea i can trigger the panic consistently

#

i am being trolled, i tried again and got to the home screen
and then it panicked

fiery monolith
#

@naive kraken I confirmed that on 2.0.5 that /var/jb/var/mobile is indeed owned by mobile now (I had to fully reboot and rejailbreak - update environment was not enough). Oddly enough my tweak still isn’t creating my plist file…gotta investigate further I suppose

#

Maybe I still need to use libSandy..?

placid kraken
frail cedar
#

sileo isn't showing up but that's probably a result of my special uicache

frail cedar
hasty ruin
#

ironic

placid kraken
hasty ruin
#

L

#

average rosiecord

placid kraken
#

its fine because if it was vendetta instead it wouldve caused 3 amber alerts to appear on your phone

#

tbh vendetta is quite good

#

well

#

both are

hasty ruin
placid kraken
#

how did you get banned

languid gyro
#

Why do I get this error when trying my tweak on Dopamine 2? The actual tweak doesn't work either.

hasty ruin
#

in a private server

#

šŸ’€

placid kraken
#

OH right it was that thing

#

i remember now

hasty ruin
placid kraken
#

what the hecking heck

languid gyro
placid kraken
#

its eol now which is sad

languid gyro
tough shadow
#

Hello

languid gyro
placid kraken
steady nest
#

you got your answer then thishowitis

languid gyro
#

@grim sparrow Happy Birthday!

sonic totem
#

Happy birthday @grim sparrow upvote upvote

radiant idol
#

@grim sparrow happy birthday!

sacred orbit
#

are there any weather libraries?

#

@grim sparrow happy birthday!

languid gyro
acoustic imp
#

Build for both always

granite frigate
acoustic imp
languid gyro
acoustic imp
sacred orbit
languid gyro
grim sparrow
grim sparrow
grim sparrow
languid gyro
#

assuming by arm64e you meant arm64e and not Roothide

acoustic imp
#

Arch’s in the make file are the actual like device arch

#

A11> arm64 , A12+ is arm64e

fiery monolith
#

Again, this same code works on palera1n

#

And also my 15.1.1 device still on Dopamine 1.x

fiery monolith
#

What’s so confusing is that I just looked through Choicy’s code and it’s literally doing the same thing…ugh

#

I guess one difference is that my tweak preference reading/writing code is in actually in a library

reef trail
#

should i be building for arm64 or 64e for dopamine, im guessing arm64e for A12+ and arm64 for lower

kind escarp
#

Arm64e is roothide

#

Arm64 is rootless
Arm is rootful

#

If your talking about the physical devices

#

A12+ devices use Arm64e

reef trail
#

right

kind escarp
#

And A7-A11 uses arm64

reef trail
#

and cos im on linux i cant build 64e properly

timid furnace
#

For dopamine you should be building for archs arm64 and arm64e and for rootless (which is iphoneos-arm64 but theos takes care of this, THEOS_PACKAGE_SCHEME=rootless)

timid furnace
reef trail
#

and the legacy support package isnt working for me so im kinda screwed

reef trail
naive kraken
#

choicy only writes to it from the prefs bundle

versed nymph
#

Yo, I have a tweak that targets an AppStore game. When I try to read the _TEXT segment by directly using a pointer (ASLR already bypassed), the game crashes.

naive kraken
#

anything else just reads from it

versed nymph
#

I tried using task_for_pid then vm_write instead but I cant even get task_for_pid to work... I return error 5 (os/kern failure)

#

The game process is obviously not running as root, so can I use these functions? If not, how can I read/write memory of a game with my injected tweak with Dopamine 2.0? Using a pointer would work perfectly before.

naive kraken
#

if reading is broken then something is wrong on your end

#

for writing use MSHookMemory

versed nymph
#

That's a little test function I wrote, I dont understand why I get error 5 (os/kern failure).

kern_return_t ret;
task_t kernel_task;
mach_port_t port = MACH_PORT_NULL;
port = mach_task_self();
    
if (port == MACH_PORT_NULL || port == MACH_PORT_DEAD) {
    showPopup(@"Test", @"Could not get mach_task_self. Returned mach_port_t is MACH_PORT_NULL or MACH_PORT_DEAD");
} else {
    // Get the process id of the game
    int pid = -1;
    pid = getpid();
        
    if (pid == -1) {
        showPopup(@"Test", @"getpid is not working, its still -1");
        return;
    }
        
    ret = task_for_pid(port, pid, &kernel_task);
    
    if (ret != KERN_SUCCESS) {
        showPopup(@"Test", [NSString stringWithFormat:@"Could not get task_for_pid for PID %d. Returned error is %d. mach_error_string : (%s)", pid, ret, mach_error_string(ret)]);
    } else {
        showPopup(@"Test", @"Got task_for_pid for PID. YESSSIR!!");
    }
}
#

I always get KERN_FAILURE. It's a simple tweak that targets an AppStore game...

fiery monolith
#

My next test I want to try is to write to the file from my tweak directly and not from the library
Edit: nope, still doesn’t work.

lusty jacinth
#

Can I modify a tweaks dependencies just from the .deb?

young meteor
#

yeah

#

inside the deb there is a file called control

lusty jacinth
#

.txt?

#

Figured it out thanks

versed nymph
#

Does the game process have to run as root to be able to use task_for_pid? I want to read it's own memory, that shouldnt be necessary

orchid fulcrum
#

Clash of clans used to work when i disabled its tweaks with choicy. Now it doesn't even if i disable. Shadow bypass also didn't work. I am not sure if there is a dopamine version difference between when it worked and now. Even if there is its probably 2.0.4->2.0.5

#

Any suggestions welcome especially if you can use clash of clans with dopamine 2

cinder frigate
#

Is there an IDE for iOS (iPadOS) that can access files in /var/mobile? I'm on 16.6 with serotonin

naive kraken
torn cloud
#

and probably never will

naive kraken
naive kraken
cinder frigate
uncut arrow
#

Hi guys! I'm trying to find out if there is any chance to run remote debugging on a physical iPhone. To do that I need to start debugserver on iPhone (Xcode somehow can do that). I want to do it without any jailbreak.

I started digging and I tried multiple things like:

xcrun devicectl device process launch -d XYZ /Developer/usr/bin/debugserver
xcrun devicectl device process launch -d XYZ /usr/libexec/debugserver
xcrun devicectl device process launch -d XYZ com.apple.debugserver

but nothing works.

I also tried to check out what tools like ios-deploy do and I found out that they are trying to call private API AMDeviceStartService. However, it looks like it doesn't work anymore. Any ideas isn't it possible anymore with the latest iOS?

orchid fulcrum
primal perch
#

lol

placid kraken
#

has anyone gotten status bar theming to work on dp2

#

other than the battery

acoustic imp
#

@naive kraken just a thought, could you add a dopamine theme that uses the wallpaper of the device it’s on. Like safari ?

granite frigate
#

editing src to do it is probably possible

slim bramble
hasty ruin
#

I can use it with just choicy

#

(there’s also some patched ipas on github with the detection bypassed)

slim bramble
slim bramble
#

I have not a rune version of it

#

I should make one

orchid fulcrum
steady nest
#

It works fine

orchid fulcrum
versed nymph
#

How do you guys read memory on Dopamine from a non-root process?

placid kraken
fiery monolith
#

I will note this worked perfectly fine in 1.x though, which is why I just wanted to double check

orchid fulcrum
naive kraken
#

but use the path without /var/jb when you initialize NSUserDefaults, the cfprefsd hook will take care of it

#

But you need a libSandy extension for both paths

#

Althouh I might update libSandy for libroot soon

fiery monolith
naive kraken
#

not from sandboxed processes

fiery monolith
#

But that’s a PreferenceLoader project

placid kraken
#

seems like im gonna have to implement libsandy into flora now that its running in a full jb

fiery monolith
#

Guessing that has the permissions?

placid kraken
#

because now none of my prefs work inside of apps

#

for flora

slim bramble
#

What’s libSandy for ? Isn’t it for managing sandboxing?

placid kraken
#

while on serotonin some/most did

placid kraken
#

but im not sure

#

its in the readme, it extends the sandbox

slim bramble
#

Also, I remember that for prefs you did something really long with observers

#

You can just add the PostNotification flag on each elements of prefs

placid kraken
placid kraken
placid kraken
#

yea its weird

#

it doesnt work in any system apps other than settings

#

it does work in sileo though surprisingly

slim bramble
#

Huh ???

#

That’s very odd

placid kraken
#

yeah

slim bramble
#

There is probably an issue somewhere

#

Idrk

placid kraken
#

its open source

#

it reads the current color at function runtime fyi

#

so that you can switch between simple and advanced mode and switch colors without needing to respring

#

so its not like it has access to the colors once upon init and then its done

#

in flex it supposedly uses systemBlueColor which makes sense

#

flora themes that ^

radiant idol
#

made me laugh

radiant idol
#

explain ā€¼ļø ā€¼ļø ā€¼ļø

#

or else

placid kraken
#

you can put emojis in remixes

#

theres nothing more to it

radiant idol
#

fake news

placid kraken
#

nope real real for real

radiant idol
#

get out of here with your tiny homebar

torn cloud
#

sparkdev why

#

I just want juice

radiant idol
#

oh.

placid kraken
#

i couldve hidden it altogether

#

but i think this is better

#

how hard is it to publish to chariz i would like to put flora there in a few decades, centuries, millenia

radiant idol
#

contact Chariz team

placid kraken
#

ok but like what's the process like, do i just give them a deb? give them the src to sanitize and make sure there's no malware, and let them build it, etc?

#

i havent really documented my code because it's mostly not hacky and documents itself

radiant idol
#

so I'm not sure

indigo peak
#

I’ve been saying that

#

for like 2 months now

placid kraken
#

yea well before it used to partially work 😭😭😭

#

i knew i had to do it eventually

#

now in dp2 it doesnt theme inside of apps at all

indigo peak
#

It’s not that hard to include libsandy

#

lime

#

at all

#

hella easy

placid kraken
#

i know but ive been too busy to work on this

placid kraken
#

aswell as the fucking 100 day cough shit

#

impossible to get anything done that involves problem solving

orchid fulcrum
#

There is an "upload deb" button yes

placid kraken
#

idk what havoc's looks like ive never submitted a tweak before

placid kraken
tawdry trench
#

q

acoustic imp
#

do tweak pref cells like auto adjust their height to fit the subviews ?

torn cloud
acoustic imp
#

ok so just like set the frame height ?

torn cloud
#

i would assume so

acoustic imp
#

ok thanks

torn cloud
#

for example, if you're using a PSListController in your preferences bundle, you might need to override the tableView:heightForRowAtIndexPath: method

#

correct me if i'm wrong i don't know shit about tweak dev

tepid olive
#

Sorry if this is a thick as shit question but I’m following @radiant idol tutorial to create and learn tweak development. Where it says to use flex is this the Flex tweak by John Coates? šŸ‘€

acoustic imp
acoustic imp
#

another question why isnt my cell class applying ?

tepid olive
acoustic imp
tepid olive
#

Appreciate it, thank you šŸ™

faint lionBOT
#
FLEXing

Open FLEX anywhere!

Author

Tanner Bennett

Version

1.5.0+rootless

Price

Free

Bundle ID

com.pantsthief.flexing

placid kraken
#

this is your simplest solution

acoustic imp
acoustic imp
#

cant get my cell class thing to work

placid kraken
acoustic imp
torn cloud
#

does dmaFail (the PPL bypass in Dopamine 2) have a mapping primitive? because i remembe that was missing from pplrw.m

acoustic imp
#

@placid kraken is ther anything esle i need to do ?

placid kraken
#

in the ui

radiant idol
acoustic imp