#development
1 messages · Page 482 of 1
this is a "private UI" however it's as far up the chain as you can go, as all of the iOS gestures are hard-coded into switch cases
i have a cool way of accessing swift struct values. i might like do a write up on how to access non object swift data types
ah i got deleted because i used a temp site
they just assign numbers to each gesture that mean nothing so they can switch case them in this absurd way
actual battery health algorithm as of ios 13.3
//requires: com.apple.private.iokit.batterydata entitlement
extern "C"
CFArrayRef IOPSCopyPowerSourcesByType(int type);
int healthPercent;
NSArray *sources = (__bridge NSArray *)IOPSCopyPowerSourcesByType(1);
NSDictionary *batteryDict = sources[0];
if (sources && sources.count && batteryDict[@"Maximum Capacity Percent"]) {
healthPercent = [batteryDict[@"Maximum Capacity Percent"] intValue];
} else {
healthPercent = -1;
}
double constraintedHealthPercent = fmax(fmin(healthPercent / 100.0, 1.0), 0.0) * 100;
int finalPercent = (int)constraintedHealthPercent;
NSLog(@"correctedHealthPercent: %i", finalPercent);```
ignore
I'm assuming for faster runtime performance but their implementation is gross
I've seen good code in SpringBoard
especially SpringBoardHome
props to that team (for ios 13 anyways)
i am trying to get to the point where i can reverse engineer a whole function and start to rewrite it properly
sec
at one point i rewrote one of my execution functions for my gb emulator in assembly just to save one instruction
yea i actually have that script
it was run like 20 million times a second tbf
you made a gb emulator?
not very fleshed out but a basic one yea
GB emulator in pongo when
true
damn, i am trying to get to that point
when i get my iphone se
i just need to get that then i have a jb device
fortunately itll get 15 too so we gaming
officially spent a whole day trying to get macos to boot now
loss
laying in bed i have given up
https://youtu.be/F8kx56OZQhg i remember people here recommended me to watch this series
I've always wanted to do this. Let's make an 8-bit console emulator!
YouTube: https://www.youtube.com/javidx9
https://www.youtube.com/javidx9extra
Discord: https://discord.gg/WhwHUMV
Twitter: https://www.twitter.com/javidx9
Twitch: https://www.twitch.tv/javidx9
GitHub: https://www.github.com/onelonecoder
Patreon: https://www.patreon.com/javid...
its probably pretty good yea
ya
amd or intel cpu
making a chip8 interpreter was really useful to understanding assembly fully
if u already know asm to some degree you could poop one out and then take on a bigger console
its a perfect entry to emulation
Intel, it's not (pretty sure) the bootloader entirely
I updated macos
its because you need opencore!!!! /s
oh wait
it's stuck in that Phase 3 of the install process bit
the gt 710 i have is really pushing above its class for like 25$ tho
full acceleration in big sur with like 0 lag
do you get any errors krit?
i spent like 4 weeks trying to perfect mine, i got like every problem you could think of
despite everything I've tried it reboots on panic
hm
yes I have done everything to tell it not to do that
im pretty lucky with opencore for some reason i shit one out in like 3 hours a few days ago to try a dgpu since my igpu is terrible and requires chaing bios
have you told it to log it before it panics
I can boot the recovery image but it takes 30 minutes per boot
but now i can just move my video cable and thats it
i can enjoy hackintosh again finally
yeah the screen bugs out and gets covered in pink rectangles
rip
what gen?
framebuffer
I got bored and left it sitting earlier to go eat
came back 30 minutes later and it had booted
it also might be the digital convertor in the display crapping out at exactly the time when you boot so it doesnt convert the signal to voltages correctly
and then fixing it self shortly after
joke btw
tbh with this machine
like I had to reset CMOS today because this mobo is kinda jank anymore
sidenote: what really grinds my gears is how i have to have like 2 things for pcie max before i lose lanes on everything else
why do we have so little pcie lanes
and we cant use all ports
what helped me was just scouring the internet with people that had the same problems as me
and just trying out every single thing
stupid consumer hardware
also the hack discord is super helpful especailly if the right people are on, like corpnewt
I got like the most anti hackintosh pc lol,
AMD FX 8350
Nividia GTX 1050
that is incredibly generic advise
very familiar with them
but hey it was super cheap
fx 8350 rip
I don't usually go there for help bc they're annoying about it sometimes
get some ipc when you can my g
It doubles as a room heater
my 9900k certainly does
it pulls over 300 watts when i use prime95 on avx2 load
granted that will never happen but its funny
i saw it go to 345 once

vrms were only like 120c
i know there was a kext that fixes panics and it not recognizing your install and also getting panics when installing as well
its called catalinaacpifix or something in the guide
happened to me when i upgraded to big sur
Shitel
Hey, I've never made an iOS tweak before but i'm pretty experienced in the programming field. I find my way around new things pretty easily. I'm looking to make a simple tweak that spoofs the gps speed value for an app. Would this be possible and any advice on where I should get started?
Basically I need a tweak that does that asap and it's not out there so my thinking was that since I program things this shouldn't be too hard to make, to change one value right?
Click this: #development message and it’ll lead you to the message containing the info on how to get started
Depends on how the app is made
Would it be easier to spoof the value system wide and then i wouldn't have to deal with how the app is made?
yep iron, bronze, silver, gold
All depends on how the app works

You gotta look into that
and im on Windows
so the tweak development happens on linux?
I have an ubuntu server could I use that?
*nix 
sure ig
well
You’re gonna have to send the deb over everytime u wanna install it
alr
scp enters the room

tri
i love that program
why was the tag deleted anyways
compared to all the other shit
yeah i'm finding it
tri you need to disable autocorrect lol
go to Autocorrecters Anonymous

ok wait brb I gotta go sell shoe
ok send in dm
I’ll make tag when I get back in train
im following the guide it says i need to restart my shell, how does one do that?
im in newterm
there's probably a better way but i think you can just kill the app and reopen
source the profile
is that what you got from running source?
I ran this echo "export THEOS=~/theos" >> ~/.profile and then restarted NewTerm
ohp
also to this i would just answer 0 because it should leave your config as is
ik !yt but the video im watching ig the guy installed theos on his phone and then ssh'd into his phone from his pc and developed it there
well I would expect more than one lol
more than one to set everything up or more than one to make the actual tweak?
it may have changed since i last did it but iirc theos is a bitch to set up
but it shouldn't be too hard if you're not doing anything weird
because then it's just running a few commands and you could be done pretty fast
I'm following this on my linux server atm https://github.com/theos/theos/wiki/Installation-Linux
yeah it shouldn't take long then
Where it says additionally on WSL is that something i have to run as well?
only if you're on WSL
so im on ubuntu which wouldn't be WSL
ayt it won't be WSL then
downloading the sdk
where can i find the theos folder
$THEOS
im in WinSCP
so by the guide that's ~/theos
just in the home folder, idk anything about windows tools
/home has one directory called ubuntu, and the ubuntu directory has a few hidden files and is empty other than that
so no theos in /home/ubuntu?
no
I can cd $THEOS in the terminal
and it takes me there
but i can't find it in SCP
what do you get if you run realpath $THEOS?
or if you cd into $THEOS and run realpath ./
right
is it being throttled by the VPS provider?
well it just hit 5mbs and then went to 100kbs
now it says 14 minutes
prolly my shitty internet
I had a dedi a year back with the same provider and my speeds were 8gbs dl 900mbs up
unless you are downloading the SDK from your computer and then sending it to the VPS
thats what i did
ah ok
can someone convince me that this won't be to hard and that everythings gonna be okay
fuck
which bit are you worried abt
make a tweak
ig there's this thing #development message
This project was created with the intention of preservation
is the environment like you just have access to the IOS api, i don't think ios has an api but im calling it that
well it's kinda made up of little APIs if you really want to think of it like that
alright so now the make a tweak bit is the bit im worried about lmao
all i wanna do is change one system value system wide
sdk finished transfering
find the code that creates/gets the value, and replace it with code that gives the value you want
yep
cus the sdk was a folder in a git repo and i didn't feel like spending the time to make the command right
Alright so theos should be setup
how do I even get to the part where I look through and code stuff
"look through code" sounds like disassembling/decompiling
for a simple tweak, that should hopefully not be necessary
these
you can think of the SDK like a diagram which shows the compiler what a lot of the code on the device looks like
i assume the sdk is like the framework for the ios im using
I currently have theos setup, I have google in my browser, and I have no idea wth to do lol. So "make the tweak" idk where to go, like theres no guide that says, make this file, write this code, hello world blah blah blah and there you go
write this code
this is pretty important, so i'd learn this first
you may very well understand much better once you know objc
because you'll understand how things work better
i understand that, but what i don't understand is what file is that code in, and where is that file saved
what's that
U mean the one that gets me banned on snapchat
flex 3?
typically something.x inside a folder that contains everything used to make your tweak
shh
wtf
i look at a video with this title "How To Make A Cydia Tweak iOS 13 #2 (Theos Tutorial)"
mf is choosing a template and it auto sets up his directory and files
don't trust anyone who calls it a cydia tweak in the first place
!yt ik

but hes actually like doing the right steps
not like some www.downloadmakeacydiatweak.com bs
ik you'll think shit of this but I don't care to learn everything, I need to learn enough to change the one value i wanna change and that's all I want as soon as I can.
I don't want to develop iOS tweaks, but I need this value changed, and I have plenty development experience so I didn't think it would be too hard.
tbh you could probably use flex to make a patch for that
as in the flex you already knew about
flex bans my snap
even with choicy and all the other tweak restricting shit
so i could uncompile a tweak that's already made
use those files
there might not be one
i think what propr means is that there could be a tweak that exists that you can just use normally to achieve what you want
that's why i asked this ^
#jailbreak has given me nothing
i've been looking for this for a while
not text
a system value
an integer to be exact
what's the app you want to target
forget where the value comes from
what's your end goal
Well if you want the context, with my perfect driving record my parents are making me pay them $20 everytime i go 10mph over the speedlimit, so fuck that. I want to take the gps speed value and subtract 15 from it. They use Life360 to track my shit
I'm currently looking at the NIC wiki in the theos repo
can't you just drive <= the limit
nope
lmao
im not gonna sit in the right lane doing the speed limit with 20 cars passing me
im part of the 20 cars
aside from that
well you have 9.99999999999 mph to go over before your parents make you pay
but fuck that
im gonna try nic.pl
ik
i assume making the files is one of the first steps
how about you use a location spoofer to fix your location before you start driving, and then disable it when you're at your destination. life360 will probably think you drove all the way in less than a second and say you went a million miles per hour, so you can just blame it on a glitch
I have relocate reborn and I do use it sometimes, but my parents actually watch the bullshit and sit back and eat popcorn
that happens naturally
we used to use life360
also I'm driving 5 hours next week and ik they gonna be watching me
and even if i blame it on a glitch
they don't care, they say if it doesn't work i have to be home
ik how my situation is
i need this tweek
tweak*/
true
what if you just go like 5 over instead of 10 lol
this
I'm asking for help to make a tweak, not anything else
you asked for context
so i gave you context
but you need a lot of help because you don't know objective c
we've weighed up the effort vs reward and decided that it's gonna be too hard to teach someone to use a build system that's new to them and a whole new programming language just so they can tell their parents they drove the speed limit
sorry
drive safe 👍
would anyone happen to know the domain that holds hardware serial numbers?
MobileGestalt?
what hardware serials do you want to get
the
@stuck pier text me and tell me what is it that you want to do and which app

can someone help me? i made my own snowboard theme, i dont know why it doesnt work, compiled it etc, still doensn't work
and the config.plist is an generic one, because i want to do it for only me
please someone help
@grave sparrow is your cat walking on the keyboard or something I swear you've been typing for like 20 minutes
i see it also lol

@surreal mountain pretty much anything with a basic example, like display, battery, etc ..
uh
im not sure if it works the same on macOS but look into KTRR http://siguza.github.io/KTRR/
it seems similar
yeah but that's not your problem
ctrr is disabled but the pages still aren't writable
never understood why Apple forces users to be in recoveryOS when disabling this stuff
are you sure ctrr is disabled?
from what i can tell, that adds a layer of hardware-based security which probably makes it harder to compromise
otherwise root access would be equivalent to pwning the kernel
^
Ah that is nice
uh
i think ctrr is what determines whether kernel text pages are writable
ttbr(?)
are you sure it’s the memcpy that’s panicking?
does the kernel have its own page permissions? I mean if it does what exactly controls them?
PPL?
Page Protection Layer
i believe that’s a different concept entirely
seems like the kernel does have page permissions though
that's a bit out of my league
just trying to help with what I can find and remember :/
what’s the panic log like?
think not
are you sure you have the right address? You might need to strip PAC
Ayt so for some reason about four or five people have come to me now with an issue where my tweak simply isn’t loaded
Random devices/iOS versions/app versions
Doesn’t seem to be anything common between all of the cases
There’s one guy who had the issue on two separate devices
And I’ve never been able to reproduce the bug
It’s starting to annoy me lol
tell him to try staying calm instead of panicking
troll

good morning capt
should it be something like com.apple.MobileGestalt -k Temperature to get battery temp ?
that’s what i would’ve done the whole time personally
not really usable for distribution and it’s a permanent change but eh
i don’t know if big sur 11.4 kernel version is OS tho
latest might be 11.2
and maybe the old kernel would still work but it’s just as possible it won’t
@primal perch followed your advice about going with the chip8 interpreter
the fuck windows
wtf
funny how windows 10 ran on pentium 4 but now macOS has longer software support than Windows 11
2018 laptops aren’t even getting the update
my fuckin Kaby lake 7th gen laptop isn't gonna work with it
not to mention the Haswell desktop with better specs than a good chunk of modern PCs
both machines I dumped a fuckload of money into for the sake of making them last >6 years
it’s easily bypassed though
laptop is still a beast even tho I've had it since like Junior year of highschool
just so stupid
it refuses to boot without a TPM apparently
no?
my macbook pro has the leaked build and has no tpm
unless that’s the insiders build that won’t boot
well I'd imagine the leaked build probably doesn't have the same arbitrary restrictions but don't really know for sure
2020 intel
what CPU is that
i5 8th gen
(yes, it wasn’t a great decision, should have gotten M1 but oh well)
couldn’t spend 2 months without a functional computer
M1 still seems to be in a public beta state kinda thing
I've heard of so many issues that shouldn't be present on consumer hardware
nothing as bad as Windows Arm stuff but I'd imagine waiting till 2nd or 3rd generation would probably be best
for someone mostly using Xcode and Apple apps, it sounded pretty good
till everyone gets around to compiling everything natively at least
once we get there, goodbye intel, u won't be missed
did WOA ever get the x86 app translation on release builds?
that's been on public release channel for a very long time
x64 emu dropped in Decemberish of 2020 with same performance as x86 emu and has improved since then
haven’t been following windows much lol
(in Dev channel)
it sounds good, but snapdragon sounded pretty lacking
I don't know when x64 emu will be in release but it's ready
where at
it's done the job for me
was talking about x64 emulation, oop
idk if it's public or not yet but it's been in Insider channels for a while
If you can run a virtual machine on a macbook air with the same performance for less money something is wrong
Microsoft doesn't have the vertical monopoly apple does
they can't do things like M1's x86 address space stuff
they make the OS and companies like Lenovo and Qualcom build the hardware to their own specs
so shit like arm migration is going to be a bumpy ass ride for windows
everyone says "x company" is making their own SoCs but i doubt anyone else is gonna try soon
apple is so far ahead
¯_(ツ)_/¯
rather not have any other company also implement a vertical monopoly
lack of that is what makes windows-targeting machines so good
you get variety and innovation and not the same boring old WalletFuckPro-Air 2021 edition that you can't repair
make your own tbd?
that'd be my guess but also idk how kernel linking works
probably ask on Hack Different server
making an ios kext or a macos one
true
how do people even make iOS kexts
ktrw?
ios has kexts just no public sdk or tools to build them
yes he is likely your best bet for getting an answer
however there are a ton of smart experienced people there
so u just load it in with pongo; not familiar with the implementation details there
ios removes the kext loading functionality present in macos' build of xnu
Levin has spoken vaguely about the possibility of patching it back in with krw
that info may be outdated tho
do they just #if it?
xnu source or someone who's read into that specific bit would tell you
kextstat can be built to target iOS with the same functionality as on macos tho
ah cool
lmk how that goes
I've wanted to eventually get around to digging through that stuff, bc the possibilities that achieving some form of kext loading on ios unlocks is wild
i’m available here if u need help as well
imagine a world with no more horrifying post exploit patchfinders working from userspace through whatever primitives 
u just load ur crappy old kext and do it from there
idk if KTRR makes that unfeasible bc most of the knowledge and resources out there are outdated lol
diagnostics_relay_query_mobilegestalt(DiagnosticsRelayClientHandle client, PlistHandle keys, out PlistHandle result);
for PlistHandle keys what exactly would go there, the value i'm trying to get is from BatterySerialNumber key... not really sure how to even use plist.
Y delete my post?
Ummm isn’t this “development” section in “jailbreak” channel? I’m confused
Ok then. Could just say wrong section
Ahh
I’ll hold off then
yeah thought so
this guide still work for github repos? idk if im fucking up the commands with username or they changed sum https://github.com/MDausch/Example-Cydia-Repository
ah i figured out what was wrong ty for offering help tho
@narrow mason @lethal ice gm
@listen to muse right now
@everyoneexceptjules
@Fermi
What’s Fermina
@listen to nfr right now
2 days without a machine bc I forgot to copy paste Lilu.kext
oll
my understanding is kext loading isn't available on iOS? everything is linked into a kernelcache distributed in the firmware (compared to macOS where it rebuilds a new kernelcache as needed), there's no such thing as "loading" kexts because there's nothing that needs loading
http://newosxbook.com/forum/viewtopic.php?f=7&t=16578&p=17140#p17140 well, i was going to link you to the discussion regarding it but
lol J wyd
https://twitter.com/Technologeeks/status/614790925907144705?s=20 i promise it existed once
OSKext APIs (#iOS, #OSX) and direct #Kext loading without #kextd explained in Q&A: http://t.co/Qita3eH719
shit doesn't add up
it's ok Twitter just does that
love how twitter website just fails to load the content half the time
https://twitter.com/i0n1c/status/614795996602736640?s=20 but yeah aside from the whole popcorn fest i found while looking into it
Guy asks how to load KEXTs in iOS & gets response that adding func back would be "weapons-grade/0-day caliber". https://t.co/9pwG7xZqkO #WTF
seems like it was possible but J didn't want to say how lol

its finally working
Also full of bugs 

does someone have a simple example of a youtube player in ios?
like a method that given a youtube url it will play the video. It has to be in objective C since my ipad mini 1st generation doesn't support swift
How do you add custom flag to theos makefile so that I can enable specific feature in my code when compile? For example in Makefile:
MyTweak_CFLAGS = -DFEATUREONE
Then in my .mm file I could
#ifdef FEATUREONE
//Do my thing
#endif
This doesn't seems to work however.
you could probably use like a premade library
https://github.com/0xced/XCDYouTubeKit this is what is used in youtube reborn to get pip
it takes the youtube stream url or something like that i forgot, back when i was trying to experiment with it
ok thank you
Can you try -DFEATUREONE=1?
Actually I just make clean and it seems to works fine now. -DFEATUREONE=1 or -DFEATUREONE=0 works too. Thanks @glacial matrix
Ah yes, if you have no code changes, changing a cli define won’t trigger a rebuild
Oh didn't know that, good to know.
CXXFLAGS is the variable iirc
oh
nvm

@torpid parcel
Hi there. When trying to install theos installer 2, it's telling me I need LLVM Clang and clang as dependencies and it can't install them automatically. However, when I install those two packages, I still can't install it.
Or can I just use theos installer (1)?
theos installer is shit just follow the wiki
^ plus you'll learn more doing it yourself rather than have a script do it for you
Bruh its 5 commands (probably even less on iOS) there is nothing to learn
If you have to rely on a script to do it you're probably going to learn something doing it yourself
yeah I did it without the script now
ld: malformed file
/var/root/theos/vendor/lib/CydiaSubstrate.framework/CydiaSubstrate.tbd:3:18: error: unknown enumerated scalar
platform: iphoneos
^~~~~~~~``` has anyone ever ran into this?
I just dont use fr
when fr emote
love
tho
I’m ready for Pro’s LLVM toolchain
Might switch PojavLauncher’s GitHub Actions workflow to use Pro when it’s ready
meth





😐






hmm @nimble parcel this is happening due to https://github.com/theos/lib/commit/8b7f487ee82d6a1357432ab2599f617ce8e5a82e
as a workaround you can just modify the file it mentions and change iphoneos to ios
the toolchain they’re using seems to be ancient
which toolchain + iOS version are you using?
going off the discussion in the Theos discord server the substrate tbd had to be modified to remove arm64e as well so the toolchain is at least 4-5 years old and imo at that point all bets are off anyway
modifying iphoneos to ios might work but it’s a hacky solution at best because after that you’ve still got to deal with the fact that the toolchain won’t support any modern SDK either
if this is what our official iOS installation guide recommends we should def update it
ooooo gotcha
Pikachu
scratch 
k
but it was kinda funny ngl
do you know either objc, C, or swift?
nope
and what do you plan on writing, mainly; apps, jailbreak tweaks, something else?
apps and tweaks
I would say with how things currently look learning swift might be best
ok thank you
it's not currently the better language for writing tweaks but
hmm
for App Development and learning the language in general, swift has far more resources
no, it's an IDE
what does that mean?
you use it to write Swift or OBJC and create apps
ohh ok
like Notepad or other editors but it has a ton of features and things for iOS dev
I'd recommend XCode starting out and once you feel like you have a good grasp screw around with AppCode
i need to try out appcode soon, i have a jetbrains license but haven’t used it yet
it's a far better IDE for Apple stuff but requires a good understanding first
hmm alright
does appcode have the same error/warnings ui as xcode or do we only get compiler output
and using AppCode and XCode at the same time on a project is my preferred setup even with jailbreak tweaks
yes
it's better in every way on that stuff
complete with customizable formatting stuff and everything good IDES have
the two things AppCode lacks:
Storyboard GUI
A good project config interface
wait does xcode have dark mode?
modern versions should
so for these I just pop open xcode to do those things, makes life much easier
oh also every so often clangd + whatever xcode shim appcode uses just kinda shits itself, and you get bad errors everywhere
easiest fix is just close and reopen
wait is xcode on windows
yes
welp im fucked for a while
when i get my new pc i was gonna use qemu and emulate macos
i5-5300u
vmware or virtualbox can run it but you won't get graphics acceleration aka the UI looks like shit
i ment like sending the full gpu to the vm type of emulation
yep but im up for the challenge
if you'd like a (less difficult, more rewarding) challenge I'd recommend a hackintosh
and i hae to wait till cristmas
coding in emulated macos is always gonna be subpar and painful
i mean can i use an nvidia gpu and amd cpu?
if you're on a Broadwell intel with an iGPU rn you can hackintosh ur current machine and get good enough performance
never thought about that
Nvidia no, AMD CPU yes with exceptions
i only have an 100 gb ssd on my laptop is that enough
F
it'd require deleting windows which I'd rather not advise you to do for a first attempt
when i get my new pc i wouldnt mind that
witch i should be getting at the end of july
or mid july
the struggle of being stuck with small ass drives
gm
gm
gm person I don't recognize
gm gm
new orangenames while I was gone
burrit0z moment
im so confused
drama dw
..selfbot archive 5000
kinda bored don't know what to build
tbh i was gonna start with a music app
spent 2 months rewriting h+, still rewriting it, but now what
when bored, learn ARKit
hh I wanna learn blender
i had to learn c4d
i hated it so much i forgot
someone built a tool that fucks with ARKit stuff and the memoji animal frameworks
?
link?
that allows you to use any blender model
with certain specifications for the skeleton
so you can make a custom animal or whateverthefuck AR Emoji in blender and use it on your phone
back when my pfp/brand was a dragon I wanted to work with an artist friend to 3d model it and get it in but we both lazy bitches
it's in my gh stars let me go find it
wasn't in my stars but found it
wonder why tho
bc xcode on windows would be a rewrite and a half
oh
it's a horrible bloated awful 30+ GB IDE
closed source written in C based languages with many features dependent on mach-o and the macos' specific filesystem
u think i could use visual studio for now?
making their devs port it to windows would be human rights abuse
if you wanna do ios dev on windows use VSCode and WSL
virtualbox already ported almost all macos apps to windows
i completely forgot about linux
what are my options there
jailbroken phone?
i already have a bootable use with pop
yep
anything you want then
used to use checkra1n
vbox is sex with docker
so xcode on linux?
you can develop apps for ios but you can't use storyboards so have fun with GUI shit
you can't use xcode or appcode
oh
I recommend VS Code
think il just wait/ use vs
I'll also give the opinion that vscode dev with WSL on windows is gonna be nicer than Linux
much easier to set up and all
hmm
and you can use Theos(old, reliable, stable) or dragon(new, fast as fuck, unreliable at times, missing some features) which are both command line tools for building apps/tweaks
hmm
recommend theos for beginners bc the userbase and support community is long-standing and all
hmm il check that out too
dragon is just my mostly solo project still in early phases
in theory easier to get started with but in practice requires knowing how build systems work to some extent :p
still reluctant to make a NIC for it
yo can i add u
sure
but unless it's related specifically to my projects ask stuff here or in other appropriate dev channels
ok
90% of the time someone who knows more can chime in with helpful info and that's what these channels are for
it is neat
could I write a normal iOS app with Xcode and port it as a tweak
Yes
It would still be an app, not a tweak
But yeah you can create a package (deb) for the app which you can distribute via one of the package managers.
the age old problem

VMware Fusion

woe
trolling
.
deleted scene
camera app on s21 has a directional mic that increases sensitivity whenever u zoom
that's pretty neat
never had an actual use for it but it does make sense to have
as long as you don't need GPU support which macOS heavily assumes you do have
yeah preferred setup is macos host windows guest if you really need dual boot for both at the same time
windows runs great (enough) in a VM, macos just shits itself
yeah because no proper hw accel
lmfao
can you imagine

being judged on the first letter of your name
and the RHYME of your name with a STATE
ok so my name is jaidan
i didn't process that correctly
diatrus

eminem did a whole video on that bro
mans is a beast

How do you rhyme with the word orange? It's not a problem for Eminem, as
CNN's Anderson Cooper found out for a "60 Minutes" profile to be broadcast
Sunday, Oct. 10, 7 p.m. ET/PT.
this one's better

eminem washed up
only ever punches down and disses rappers far far smaller than him
if he disses a big name person its some random unrelated mf and if some big dude like snoop talks shit he gets all 'i respected u y do dis
'
@lime pivot
damn I already wrote this for chariz's deb processor heheh
i plan to expand it
occasionally i dig through theos issues and see if there's something I can do when i'm bored and in bed
https://github.com/theos/theos/issues/601 saw this one and remembered wanting to do something like that
yeah, that one is low hanging fruit for sure
possibly can be fixed by just tweaking one of the sed commands' regexes
wanting to ideally expand it to verify/check plenty of other stuff
linking/bundle filter/preferencebundle issues and all
bc even i regularly screw those things up and a linter would be nice
heheh, forgot I was clinging onto the pipe dream that maybe watchos-arm64 becomes something we seriously support
wen eta @silver rampart 😂

tweaks r priority rn
hopefully this year
https://github.com/KritantaDev/tl linter itself
https://github.com/KritantaDev/theos/tree/theos-lint integration into theos (hopefully properly)
hope it can happen someday, hey we already waited 6 years at this point what's another 1 year
saw there was a blank internal-package-check target in package.mk and just stuck a call to it there
but honestly when looking at the numbers that came out in the lawsuit about the watchOS and tvOS app stores' weekly submissions I'm not surprised the demand for a watch jb is so minuscule
ios jb has practical applications
a watchos jb is something truly only very interesting to enthusiasts
I'm sure if you take watchOS submissions as a proportion of iOS submissions, and then divide that again by the number of active jb devices as a proportion of all active iOS devices, the lack of demand will make sense
i'll likely PR this whenever i've tested the linter against a ton of stuff and ensured no false errors, along with adding some more checks
it's likewise with watchOS honestly, iPhone/iPad's killer feature is apps and content consumption, neither of which are particularly useful on a watch
watch is more like a clock with built in fitness measurement device that happens to sync with your phone and can also tell you weather and remote control your music
list of what the few consumers who want watch jbs want:
- Custom watch faces
yep basically accurate lmao
honestly while i'm not backlogging it (anymore than necessary) idek what it'll be useful for
sometimes I wonder if we need to just ship a watch jb and release a NanoWatchFaceLoader or something to make Apple give in and provide an official watchfaces API
i just wanna do it for the sake of doing it (and i spent so much on ibus cables lol)
remind me to buy one I still haven't
well two
I'm imagining it might be able to unbrick my S1 by providing much higher charge current than the puck can provide
i dont believe they support charging properly
may be useful for figuring out what's up but not sure on current
here's the board btw
bottom is lightning
S1 is a 6 pin and i dont have that ibus yet but it'll be mostly similar
watches do 🧱 from drained batteries and then being stuck in a catch-22 of being so drained it needs a charge to do anything, but, not having enough charge to successfully negotiate with the puck to start charging
something along those lines I guess
I know when I plug it into lightning while it's dead it turns green
doesn't charge worth a shit but /shrug
yeah see as long as I can get it as far as booting up to Carousel I should be able to quickly throw it on the puck and revive the battery
I'm usually careful of leaving devices totally drained… but like, you can usually revive a totally dry battery by just charging with a high current brick for a few hours. just didn't occur to me that the watch will be totally different and potentially an impossible situation
funny is my S0 and S3 are both perfectly fine, it's the S1 that's in trouble
and I really don't feel like opening it to "jumpstart" the battery by feeding power directly into it
need ideas for what other things to check though
ok
so
cctools-port and ld64 are both installed
they're in $HOME/cctools-port
I have an SDK in my home directory
clang's installed
how do I compile stuff?
on linux btw
clang myprogram.c -o myprogram
@pliant fossil try a toolchain wrapper
most use autotools
aight
aarch64-apple-darwin-clang will likely spit out
ohhh stuff already existing
yep
then autotools will pick up on it
im smart
You may find this helpful at some point
👍
Obv not the procursus parts but some parts help with the toolchain
yea
oh damn it
i need to reinstall cctools-port
do i install it to $HOME/cctools-port or /usr?
because the cctools-port repo suggests it
I used $HOME myself
guessing i add the bin/ folder to PATH right?
that'd be better actually
@silver rampart you can do
key, value = line.split(":", 1)
To store the two parts of a restricted split
thought so
Definitely look at adding that repo in the link if you want to make it quick
Should have an uptodate ldid and such
wrote that entirely in vscode remote over ssh, and its been a minute since i've done python so didn't want to screw with a language feature i wasn't sure about
ok
I’ll try to read it in full later this week
It may be debian only tho 😁
god damn i installed ubuntu solely for this
I wouldn’t care too much about Python 2 support in 2021
and when i cleared my ~100GB or so downloads folder it took my debian ISO with it
basically is just a bandaid for theos not being able to parse errors from other processes, with the added benefit of catching stuff that causes problems in cydia/on-device
L
till pytheos exists
I prefer debian myself
I find myself compiling if needed on older iphones more than linux nowadays 😂
Whys that?
claimed that libxml2.dylib didnt exist
Also protip libxml2 is in the sdk
it was a symlink to libxml2.2.dylib
i'd be less concerned but IIRC macos only ships with python2 :))
Did you have the sdk?
yes
Odd
and i specified the sysroot in CFLAGS
and i know it was using the libxml2.2.dylib file because i saw it in the verbose make, but it just disappeared mid compilation

What were u comp’ing
libxml2, to compile php
aight
and if the default failure state for python not existing is just not running the linter, it won't be as effective at its purpose of preventing bad github issues/unneeded questions
php configure script claims that libxml2 is missing though
On ios?
yes
What jb
ora1n
Update everything and try again
everything was up to date as of yesterday
pretty sure it does
You install libxml2-dev?
That may be of some help 😉
pretty sure i did but lemme get my ipad
It installs to usr local as to be separate from the apple one
Theres some symbols in the upstream one not in the ios one
yeah lol forgot to install libxml2-dev
aight
i'll give an update when i try the configure script again
ok now cmake, cctools, ld64 want to update
i should do that
Yessum
is procursus built daily btw
I wanted to get the swift 5.4.1 update out so did a little llvm updates last couple days
oh and what should i use as target for cctools-port
aarch64-apple-darwin
ok just started the configure script
saying cannot run c compiled programs, after CATting the config.log it shows Killed: 9
:/
massive pain in the ass lol
I have your solution
Compile programs in the root partition and not var
I make a /home
i’ll try that, thank you
ios 14.2 , iphone xs
Apple walled garden moment
Idk man






