#palera1n
1 messages · Page 117 of 1
👍 thanks
just debugging
idk yet what im going to try to solve it, that part is up in the air still
still slowly waking up 🤣
You are very welcome! Anything to support. Got Xbox series X controller and elite series 2 available for testing
nice 👍 and if there are controllers i dont support yet (i dont remembet about elite series 2, i THINK i added that already but not sure) can work on that too
when searching for the ps5 data i saw a LOT of xbox learning requests as well so there must ne some model im missing
and that reminds me theres a HUGE backlog of some 1100 control requests (not all unique of course) that i need to go through.
So is there any way to pair both as one single mfi pad?
I also have a DS4 and two joycon pairs plus a "pro controller" (8bitdo sf30 pro in switch mode)
@wraith ferry i could never get that working, i did eventually have a friend with both joycons try and lend me theirs to piece it together with no luck, nintendo does some weird stuff 😔
ughhh that's so sad :c
what are/were you stuck on?
i dont own a switch, only have one uncharged joycon lol, left at the behest of friends with devices on those ones
well they still pair it as two controllers, syncing those both together to act as one just doesnt fit ncontrols architecture, totally diff paradigm. and the reverse engineering docs about how they handle that were massively confusing
so i never really got much of anywhere unfortunately
nintendo overengineers everything
how does ncontrol work? does it map a single bluetooth device to a single mfi device?
yes simply put
it creates a virtual device that masquerades as a supported mfi device
then the hid input is translated and dynamically remapped to act like said controller
so to the device 2 joycons would still appear as two separate controllers
if i can think of a way to reconcile that and get my hands on working and charged joycons again im willing to try again. just cant promise anything
and to whoever asked about wiimote support through an adapter, if i can sanely support said adapter theoretically it could work
I am a dev but not an iOS/theos dev but
Can't you just "read if there's already a joycon connected and if so use its interface as mfi device"?
@wraith ferry i cant just make the assumption that they have 2 joycons so they want it to work as one, for one, and two id still have to re-write most of the architecture to support 2 controllers being displayed as one and lastly, i STILL dont know how to properly interpret the data, or get it to change (if it needs to) for it to treat the 2 as 1 properly. its a multi tiered problem
Makes sense, I hadn't thought about that. In case you need or want any help I'm always up for a challenge haha (not that I think you'll need any, I don't wanna sound presumptuous 🙈)
@wraith ferry there are many things i can debug without having direct access, this kind of thing id need another much more extended session with the joycons than i had with my friend before. appreciate the offer but this one i definitely need direct controller access to try and piece it together
Yeah, I get it :o Wish I could help. I do have some spare joycons around somewhere... xP
@wraith ferry if u dont mind sending me the red one then all id need to do is get a charger lol. i have the blue one already. its annoying how expensive they are
yeah.. it's very annoying, but that's nothing unusual with nintendo stuff
it's all super expensive :))))
so, as i should've expected, it looks like PS5 controller doesnt look any different from the PS4 one, should be able to duplicate / rename some shit and it should /just work/
true
okay DS5 /should/ work in the one building now 🙂
are you capable of getting a log from your device (either via a mac in the console app when paired wirelessly / connected via USB) or by using libimobiledevice on other platforms? this will be essential to see what kind of things spit out logs isolated via the search term [yourControl] /cc @wraith ferry
if you have a set of specific actions that you want me to do please tell, so that I can help more effectively :D
I do have a mac, what should I filter by with Console.app?
[yourControl]
should say sometihng like [yourControl] h4xing system name: X at version: X
or more likely if its failing
[yourControl] patch failed! system name: X at version: X
and if that is the case, ill need to enlist some help from a friend who wrote said patchfinder to see why that may be and what i need to change to make debugging it possible.
1.7.7-1&1.7.7-2 out now for iOS & tvOS and it SHOULD support PS5 controllers now. i dont have one to verify it, but no reason it shouldnt work
gonna try it asap
it... connects for a second but then disconnects like .5 seconds after connecting
@wraith ferry the log is the most important part, i know the behavior
sure, gonna check it
that doesn't show anything o.o
where are you from btw? @burnt river
like, what's your TZ?
@wraith ferry i live in arizona in the US, my time zone is complicated
lol
mountain time zone i guess is one way u can refer to it
@full vessel @wraith ferry either of you want to test a potential fix? i think the problem has been figured out and potentially fixed
welp anyone who wants to try it can now: 1.7.8-5 out for iOS only, tvOS didnt need an update because it didnt have this issue
enjoy, im eager to hear if it fixes the problem for anyone/everyone...
I'm gonna try it as soon as I get out of the bathroom xD
👍 please let me know if it works
Btw have you read the message about console.app?
oh yeh i know why its not showing up in teh console app, thats my fault
all my stuff is apparently still redirecting to syslog
and u have to force enable that, i dont remember if there is an iOS specific package for it. but if there isnt i should make one including the force loading bit. its actually quite nice to log there now because practically NOTHING still does
but if there is indeed a syslog package on iOS all you need to do to make it work is launchctl load -w /System/Library/LaunchDaemons/com.apple.syslogd.plist
'-w' is the special part, that forces even disabled daemons to load
but i decided to release untested because it still works for everything it did before, the new patching method is only tried as a fallback if the first one fails. so i felt pretty confident EVERYONE should be covered now
after someone verifies this works im going to take a break, but im still going to try and continue to address any issues that have been reported recently in here and also try to get to some of the controller learning support backlog
i know it took a while, but i did promise i was going to get active with this again as soon as i could 🙂
Y'know I sent a refund request then after seeing how active you became actually decided to keep the tweak, you deserve the money for being such a nice person and a dedicated dev ^^
my dedication whaned for a long time because of work and life stuff
but i had every intention on getting it back up to speed as soon as i could
it's okay man, I completely get it
seems like the controller still turns off 1s after connecting
damnit
(dualsense)
that really should've fixed it 😦
can I use libimobiledevice to get the logs? don't wanna get my macbook out
I'll ssh into the phone, enable the daemon and then check the logs
so actually u just need syslog installed and to run that command i said earlier and then syslog -w would get you the appropriate log
looks like there isnt a package for it, if u are comfortable installing the binary manually yourself u can do that
can I just run the binary from /var?
no
(do I need to chmod it or run it with su?)
put it in /usr/bin/ or /usr/local/bin/ or something
okie dokie
no sudo necessary may or may not need to chmod it first
launchctl load -w /System/Library/LaunchDaemons/com.apple.syslogd.plist
and once u install it and make sure its executable syslog -w
should tail the log
operation not permitted
su -c ?
oh yeh that one does need root permissions
i guess installing it does as well if you dont choose /usr/local/
ok, with su - it worked
or may even still need it in that case, im always sshed in as root to my devices
gonna install the binary
yup
gonna copy it into /usr/local/bin, check if it is u+x then run it

and u probably need to restart bluetoothd to see the appropriate logs spit out
sure, isn't there a button in ncontrol for that?
if u have killall installed killall -9 bluetoothd will do it
i think there should be
good point
i knew i did that for a reason
lmao :D
yep restart bluetooth services should almost certainly be killing bluetoothd, id have to double check but that sounds like what id have it do
yep BTServer or bluetoothd as appropriate are restarted with that option
i work on alot of stuff this all just blends together at some point lol
either way @wraith ferry when u get that working look for logs related to bluetoothd with the string [yourControl] in em
ie
Mar 7 17:54:10 iPad bluetoothd[4768] <Warning>: [yourControl] new l33t h4xing system name: iOS at version: 14.0.1```
lol #itsProbablyFine
maybe?
its quite possible
and itll likely be empty until u restart bluetoothd again
killall'd it but no dice
bluetoothd? really? thats baffling
what jailbreak are you using out of curiousity
@wraith ferry
u0v6.1.1 I think
okay
or 6.1
maybe ill have to try that on one of my iOS devices, i dont /think/ it should make any difference
and what iOS version are you on?
14.3
okay thanks. grasping at straws right now. this makes literally zero sense.
maybe I did something wrong?
sysctl works
(btw, can I keep the daemon on or will it drain the battery?)
nah the instructions were very simple, and if u tried as root and still nothing then its almost like the tweaks arent even getting loaded into bluetoothd
which daemon?
launchctl load -w /System/Library/LaunchDaemons/com.apple.syslogd.plist
oh yeh thats fine
very little goes in that direction anymore anyways. impact should be very minimal
okie
this is the syslog:
Martes-iPhone:~ root# syslog -w
Mar 8 01:50:16 Martes-iPhone syslogd[3873] <Notice>: ASL Sender Statistics
Mar 8 01:51:11 Martes-iPhone WidgetSmith[3885] <Warning>: Hit loading Liberty Lite into com.crossforward.WidgetSmith - (C) Ryley Angus, 2016-19. No warranty provided.
Mar 8 01:51:41 Martes-iPhone TwitterNotificationServiceExtension[3886] <Warning>: Hit loading Liberty Lite into com.atebits.Tweetie2.NotificationServiceExtension - (C) Ryley Angus, 2016-19. No warranty provided.
Mar 8 01:52:12 Martes-iPhone VyprVPN[3892] <Warning>: Hit loading Liberty Lite into com.goldenfrog.vyprvpn.mobile - (C) Ryley Angus, 2016-19. No warranty provided.
Mar 8 01:54:59 Martes-iPhone WeatherWidget[3992] <Warning>: Hit loading Liberty Lite into com.apple.weather.widget - (C) Ryley Angus, 2016-19. No warranty provided.
Mar 8 01:55:08 Martes-iPhone sshd: mobile@tt[3998] <Notice>: USER_PROCESS: 3998 ttys001
Mar 8 01:57:28 Martes-iPhone sshd: mobile@tt[4020] <Notice>: USER_PROCESS: 4020 ttys002
Mar 8 02:00:49 Martes-iPhone sshd: mobile@tt[3994] <Notice>: DEAD_PROCESS: 3998 ttys001
Mar 8 02:00:49 Martes-iPhone syslogd[3873] <Notice>: ASL Sender Statistics
Mar 8 02:02:09 Martes-iPhone NotificationServiceExtension[4049] <Warning>: Hit loading Liberty Lite into com.google.ios.youtube.NotificationServiceExtension - (C) Ryley Angus, 2016-19. No warranty provided.
i mean even just killing bluetoothd should trigger SOMETHING to show up in that log
although maybe not with substitute which is what i think they are using now. but at very least MY logs should appear in there
you can check your console log if u have a mac to be certain no [yourControl] logs show up in there
but im fairly confident they wont
I tried before :o should it be any different now?
ill have to do more experimenting with different jailbreaks and setups. just really wish i had direct access to ONE problematic device. but they are all too expensive to buy JUST to fix this problem 😦 lol
@wraith ferry u did try before thats right, no it wont be any different now
yeah makes sense haha
if you have any idea please do tell, wanna try to help :D
i will. but i think im at the point where i need to step away from it for the moment because its just making me mad and i have no further ideas of what to test until i do more research on my own over here using stuff other than checkra1n.
I feel ya, happens to me as well haha
theres no reason it should matter, but i have to rule everything out before i can rule anything in
lol
I wish I knew more about tweak dev, but I haven't really made any tweak, certainly nothing as low level as nControl
does bluetoothd show up on your checkra1n'd device?
yes it has to run for bluetooth to work
is bluetoothd not running for you at all?
because if that is the case then they COULD be handling it in a different daemon again
@burnt river are you the dev?
yes
Could you please help me?
i can try to
I’m trying to connect a pro controller to my iPad 6 and it disconnects after 1 second
im having a feeling its the exac problem im debugging. lol yep.
I installed the latest version of ncontrol but the issue persists
wait @burnt river do I have to edit the plist as per pinned message?
yeh i was mistaken that it was going to be the fix. im still trying to get to the bottom of the problem but have currently run out of ideas on what to test.

oh thats fascinating. i dont need to do that with any of my devices but apparently that might be a thing
huh
if that is indeed something that needs to be done im sure i could automate the process somehow as part of nControl. but i need to find out more about it.
gonna try it later
what in the world....
i mean its worth a shot, i had always assumed it was a patchfinder issue
lmao thats so old
I tried the plist thing and it didn’t work at all
Same thing happens
no its cuz apple specifically and intentionally blacklists pro controllers
Wtf why
cuz apple
i thought the same thing but that must only happen on newer devices
bluetoothd has new checks in 13+ that i try to hook and return the expected values to bypass, i had assumed some new mitigation BS in a newer version was preventing it from working
nope, it just checks the ids and if it matches, it blocks it
took a look at a bluetoothd bin from one of said devices today, saw the necessary reference i use to find the function patch in fact was missing from this bin (but not from mine on an older device but same *OS version) and tried patching based on a different string to find that did indeed exist.
or at least thats what i assume. otherwise why would my fix work
since that still doesnt work
i dont know why your fixed wouldve worked unless the bluetooth daemon changed again on newer devices
Your fix doesn’t work for me
Idk why
they may have changed something, this was back in october
0 getting through might have been a fluke, its not a blacklist
its a whitelist
if you are MFI OR if you match a certain pid/vid
i know this cuz i have exhaustively reversed bluetoothd in that area
then find a device that does work, and give me the ids for that and ill update my post
some generic keyboard is what i used for the one
IT WORKED
what happened to not working XD
vid=1356 pid=1476
@silent anchor I tried your fix with the latest ncontrol and it worked
wtf
It wasn’t working with the older version
teamwork woo
well hook not patch
now i need to figure out why the hell that does anything different
they must have something that is only running on newer devices that has to do with that profile u are editing
all my thing is doing is spoofing a generic keyboard
it makes the bluetooth driver think its a generic keyboard that i had laying around
by acting like keyboards
clever
and i can definitely automate what you are doing at SOME level in one of the many pieces that has become nControl at this point
it used to be so simple before apple meddled in 13
the fact that my fix works at all is like
baby town frolics
i know the feel... alot.
that shouldnt work
feeling*
u should hear how i got youtube to continue working on older devices when they deprecated 2.0
but thats google and not apple
but probably for similar legacy reasons
ya but pro controllers worked on ios 12
and then ios 13 they blacklisted it or whitelisted it idk
they didnt specifically blacklist it
So @burnt river are you going to try spoofing them?
the whitelisted the DS4 and Xbox One and THEN closed the door on EVERYTHING else
because NONE of my other controllers worked in 13 initially
but if they didnt blacklist it, why do you also need to set other random values to 0, instead of just the product id
why 0 works is a mystery tbh
what this other layer of protection is, im not sure, im aware of that file u are referencing cuz i used to try and fuck w/ it to get Ps4 controllers to stop being shitty BEFORE 13 happened
but like... they didnt seem like significant values. although tbh i did kinda just set anything that looked important to 0 or a spoofed value, so its possible im overdoing it
so why does that work
it makes perfect sense
it needs to get through until that value CAN be resolved
and once it is
THEN it can say "no soup"
omg lmao did i put it in limbo
Hmm it’s not working in Minecraft
and just force it to stay there
Lemme try some other game
it seems that way @silent anchor
thats hilarious
its genius in its simplicity
probably the only reason it worked
It works in super hexagon
Idk why it doesn’t work in Minecraft
"why would anything not be resolved past the initial startup, we dont need a check for this"
thats a minecraft thing
not a ncontrol thing
if the app doesnt have controller support it wont work
PUBG was my masterpiece until they started banning ppl
well my masterpiece plus an anon assembly god who wanted to remain anon
minecraft mobile is meh. literally playing modded minecraft right now lol
I don’t have a laptop
screw assembly omg
Just a desktop and an iPad
I try to use the iPad as a laptop lol
i actually never got in to minecraft, it got big when i first joined cdev aeons ago with a bunch of my friends and they could never help me with shit i needed cuz they were playing minecraft, back when notch still owned it
i have a desktop but both my monitors broke so im just on my laptop
...god im old
i was even a curmodgeon when i was young tho apparently cuz i got grumpy at them for platying minecraft
i just turned 40 so i really am old lol
try modded, its fun
It’s not working with sonic cd
😫
just stay away from computercraft lol if youre anything like me, its torture. i program in my normal life, i dont need to program in lua in minecraft lol
im sure it is, for the active / main author of nControl i play startingly little games. (i dont want to not give qwerty credit, he got the most important parts working... as usual lol)
So any idea? :D
@wraith ferry well it sounds like my latest version + @silent anchor fix are the solution for newer devices
so.. did you just not check this channel in 5 months? like thats been pinned for ages lol
why i have no freaking idea
Btw, I'm 21 and I've been playing MC since the alpha
@silent anchor pretty much
lmao
life has been crazy and complicated for a while
im kind of getting my bearings back
i literally forgot that this was a thing
"who pinged me, and why... oh ya i remember that"
hahahaha indeed
also woo i can point to this whenever people say girls can program or dont know tech
cant
im just happy to be in a state where i can get back to this. ive been buried in one difficult work task after another that have mentally drained me for well i guess like 5 months now lol
So apparently it’s not working with mfi capable games but works with older games
is pro controller mfi?
That's something sexist :D
Anyone can code :)
@silent anchor it is not
nito back me up lol how many girls do you know who are programmers
No but nControl in theory makes it compatible with mfi games
@silent anchor not a ton but i do know some brilliant ones
cuz ya they exist but theyre rare
i had one other girl in my classes in college, and like... idk class of 30 i think?
maybe 40
but yeh its been a boys club for most of the time its been around, but i dont think theres any malevolent intention to that, certainly not nowadays especially
yeh i didnt even go into comp sci i was a design major initially
ya it just a thing. sometimes stereotypes have roots in truth lol
a friend already past college was like "yeh my life is office space"
i was like.. i love that movie, but FUCK THAT
stereotypes do exist for a reason
theres usually at least a kernel of truth
puns are fun
lol the only job i got after college so far was a web development place so like
almost as bad as office job
I know many, esp in the JB scene :)
okay so another theory im working with - is stronger checks via the cache about controllers that are already "not acceptable"
but if u change its vid / pid it wont match the vid & pid of what paired so that could make a improper check bail
dumb problem, dumb solution.
also keep in mind you have to restart bluetooth service after modifying stuff
but im ecstatic that SOMETHING is working
so actually idk about that not resolved theory
im not sure about any of the theories yet
i was away from bluetooth..ish. for a bit. i guess HomeKit stuff involves bluetooth as well but iwas buried in the mDNS and UDP pairing crap
ughhhhh i dont look forward to getting back to that issue after i punted it.. again. lol
my favorite story about nControl was first researching it when we talked about the idea post defcon a few years ago (me qwerty and jon seals) i gave qwerty my laptop to lookin into something related to bluetooth to start moving on the idea and he found and juicy vuln in bluetooth in like 10 minutes
that guy... i tell ya
some people are born with a knack for certain things
some people just stumble onto things XD like me
that + tenacity & good timing
he was in the awkwardtv.org rooms when i was hacking the first gen when he was like 13 or some shit just observing
that usually gets a lot done
i had no idea about that either until he told me a couple years ago
too funny
which is part of why i keep the awkwardtv.org wiki alive from those days. should probably do some kind of merge with the iphonewiki at some point. or at least cross posting or somethin
so much planned so little time lol
(part of why is the nostaliga) okay i think its time to go get a drink, especially now that i know that my solution does actually help combined with @silent anchor tweak in the pinned message. look forward to investigating if the issue is indeed cache related OR if its still something that only lives on newer devices for whatever odd reason (just seams unfeasible, but who knows?)
drinking is good for programming lol
in fact im going to chase this white russian i just drank with some mead and a shot of tequila, THEN go start the night
making mywant to grab some distillate lol
yep im a functional alcoholic
i need to get some new cartridges now that its recreatational here now but all the dispensaries always have lines out the door all day when i go check and im not tryin to wait in line forever lol
its been legal here for a while
good ol canada
Sotn detects I’m using a controller but no buttons work
I tried the fix with the dualsense but it didn't work
is dual sense the new ps5 controller?
yep
its probably the exact same issue
and whether or not its the fact that its cache and theres a new check to say "hey is this cached and blacklisted already, dont check it again" OR that file is actually the source of truth in general and setting it to 0 invalidated a bad check im not really sure
but im assuming doing the same thing it if fixed one controller (but for the entry for your ps5 controller instead) would get it through OR
try deleting that cache file altogether
and maybe once it hasnt been blacklisted it will always "just work" after that
because of the fix in the patchfinder
lots of theoretical stuff at this point
^
and u dont have to delete it altogether u can just move it or whatever
that would actually probably be the best idea just move it to a different folder on device maybe give the services a restart etc
Already tried killing bluetoothd
after moving the plist file out of place?
does it connect and then immediately disconnect?
OR it connects but just doesnt work? theres sooo many different variations of what could go wrong specificity is super important 🙂
No no, after editing it haha
and the controller still doesnt work? and if it doesnt work, in what way does it not work
cuz i analyzed the raw data i got back and it was identical to that sent by a DS4 so i just made a few name / file changes and popped that in. if it connects but doesnt work theres a log you can check specifically for the nControl daemon
@burnt river do you know why mfi games recognize the controller but the buttons don’t work?
/Library/Logs/controllersupport-Error.log
Maybe it’s related to the same issue?
@silent anchor if they recognize the controller it /should/ work. because the issue at hand is the controller connect and then immediately disconnect
one problem at a time lol
first, getting them to connect
then, making them work for games
but if nControl creates its virtual controller for the device then it should definitely work at that point.
and if it doesnt that means the developer didnt properly add MFI support
cuz that DOES happen
the only reason we could get PUBG working so well is they implemented ONE joystick and nothing else
and the joystick they implemented was the one for panning your view in all directions. try implementing that via fake touches. no thanks. (i did it, it sucked and never worked well lol)
they do
this is adding MFI controller support to games that dont have it
or dont fully have it
@silent anchor
ah
for instance pubg had JUST the one joystick supported, i had to hack in the rest
i just like playing cod mobile with pro controller lol
@burnt river the games I tested work with a DualShock 4 without nControl
cuz everyone sucks and i get liek 30+ killstreaks with a controller
But with the pro controller it just detects it but doesn’t register any inputs
Yup
same with Xbox One controllers
so thatll work regardless
but when they added that support they sandbagged EVERYTHING else
Rip
before that it was the wild west ANYTHING could pair, it just wouldnt work
and now post 13 they police the hell out of it
Man I wonder if the Apple engineers get fed up with the marketing teams with all this anti consumer shit
which is why nControl USED to work without any tweaking of daemons and shit
Their hardware is good but is intentionally crippled for higher profit margins
i think theres a lot of different angles about it, its like taking away USB on the appletv 4k, i think there is a lot of pressure from various partners in media about keeping people from copying and pirating shit
im not defending it, dont get me wrong
I know
its annoying as hell
it makes my life much more difficult, cuz JUST as i was about to launch nControl they announced the ps4 and xbox one thing
Jobs was a sociopath but at least he cared about the products
Cook took away features to sell external solutions
tim cook i think now, its all money. luckily the money is starting to show that stiffing customers isnt good so
i mean he was an accountant before this, that and supply side
he should've been a stop gap at best
That explains a lot
literally the only reason EA is doing good stuff now is cuz the money shows that they need to change stuff
and i think that was teh initially intention
of course an accountant is going to be a good CEO on paper
they will make the company money and brutally cut expenses, thats what i would do if that was my job, but im not an accountant. fuck that lol
no offense to the profession, it is very necessary
haha
oh and nickel dime us with dongles
Exactly
thats his signature move right there
External solutions
Now the fucking charger
at least theyre starting to switch to usbc
Isn’t included anymore
thats why this laptop is my last mac one ever
The lightning port on a $1000 phone still baffles me
pre mac
Just to get money from licensed cables
i have mixed feelings about lightning, being a luddite i hated them changing to a new port, BUT the 32 pin def had to go, usb sucks, and if its usb-c vs lightning im painfully chosing lightning but i despise them both
thats a REALLY tough one for me
im still bitter about the headphone jack... so im all over the map there
i like usbc
and usbc is a standard. lightning isnt
i dont mind losing the headphone jack
i have airpod pros so
and they are both reversable, but usb-c is flimsy as fuck
and im just bitter about the macbook "pro" having all usb c and NOTHING else now
I only sold my pros because they wouldn’t stay in my ear
pro just doesnt mean anything anymore
because of companies like apple watering it down
eh i dont like the direction of macOS at all anymore
and yeh the 'everything soldered' bullshit has gotten old
it was old before it got old
They’re trying to lock it down even further that’s true
They’re trying to converge it into iOS
the macOS version (which anyone who has bought it is entitlted to) needs a jailbreak to work
yes
that is actually a thing
well ya its an apple product
they lock it down so much
Can’t you just disable the gatekeeper
but its the home product
no u need to completely eviscerate all levels of security basically
Wtf
its kind of insane
why do you think i hate macs
im even starting to think about moving to linux
Can’t I just pair my switch pro controller on a Mac?
Like on Windows?
lmao apple playing nice with nintendo? ya right
they dont even play nice enough with sony for the ps5 to work right out of the box
well play nice enough / hire good enough developers to future proof it properly
Holy shit
fuckin amateurs
haha
oh yeh i can update my wiki again now too, i need to start doing that
ugh i need a clone

yes because youtube videos are so accurate
and never scams
From the video it looks like the same process as on windows
Unless I’m missing something
so this is the thing, there is likely other ways to get them working
but for how nControl specifically works
it requires these steps
because u cant run a daemon anymore as far as i can tell, and it needs special entitlements that they dont give out to us, which is why additional amfi and codesigning checks needs to be disabled
its just by virtue of how low level its working, and how stringent apple has gotten about locking those services down with entitlements
well we communicate with it at the IOKit level
its not really hijacking insomuch as masquerading
and it worked just fine until they pulled the clamp down in 13
and made bluetoothd shutdown ANYTHING that wasnt MFI Xbox or PS4
which is why it APPEARED specific controllers were targeted
i had the same thought too when i first heard about it and started messing with it
00000001005bc0f2 db "Bypassing Game controller security on Mac and connecting", 0 ; DATA XREF=sub_1002e216c+92
lol
fun things are fun
and assembly isnt XD
okay now for those drinks i mentioned earlier
oh i suck ass at assembly, u can be a very proficient reverse engineer without ever being good at it
dont despair lofl
i took some distillate
and immediately lost it
lol
pretty sure it got stuck to my teeth or something
its always the last place you look
i mean as long as i feel it i dont care lol
its just really small drop of it so like its hard sometimes
makes sense- some of the biggest things come in small drops
like 10 hits of acid or something
its like 95% thc so i mean
haha
tomato patato
if anyone would further like to research the cache hypothesis that'd be amazing, but if not ill get to it later this next week
lulz
i as doing no such thing
was
my favorite thing to do when comparing two things (regardless of similarity)
is to say "tomato patato"
i mean it took you 5 months to even see my fix XD and i forgot about this entire server. so im not in any hurry
cuz people always get really confused when they think about it
hence why i dont think about it 😛
good plan

but yes i need to discard caring about whether or not i showered today (i know i did yesterday, maybe twice) and go out for that drink i mentioned hours ago. really intrigued about this mobilebluetooth file coming back into play
i dont mind sharing this ```+ (void)repairMobileBluetoothDictionary {
NSString *thatLoc = [self mobileBluetoothDevicesLocation];
//NSLog(@"######### thefile :%@", thatLoc);
//NSError *error = nil;
NSMutableDictionary *dict = [NSMutableDictionary dictionaryWithContentsOfFile:thatLoc];
//NSLog(@"######### og fileContents :%@", dict);
NSMutableArray *markedForDeath = [NSMutableArray new]; //keep track cuz we can mutate the dictionary while we enumerate it
[dict enumerateKeysAndObjectsUsingBlock:^(id _Nonnull key, NSDictionary * _Nonnull obj, BOOL * _Nonnull stop) {
if (obj.allKeys.count == 0) {
NSLog(@"######### bunk entry! cleaning out: %@", key);
[markedForDeath addObject:key];
}
}];
[markedForDeath enumerateObjectsUsingBlock:^(id _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
[dict removeObjectForKey:obj];
}];
if (markedForDeath.count > 0) {
//NSLog(@"######### new fileContents :%@", dict);
NSString *backupFile = [thatLoc stringByAppendingPathExtension:@"og"];
//NSLog(@"######### backing up %@ to %@", thatLoc, backupFile );
NSFileManager *man = [NSFileManager defaultManager];
if ([man fileExistsAtPath:backupFile]) {
[man removeItemAtPath:backupFile error:nil];
}
if ([man moveItemAtPath:thatLoc toPath:backupFile error:nil]){
//NSLog(@"######### backing up %@ to %@ success", thatLoc, backupFile );
[dict writeToFile:thatLoc atomically:TRUE];
}
}
}``` please excuse the egregious spacing lol
but that file is an old nemesis
tldr
even the best things have horrible spacing
im a new line kinda gal
which is funny since javascript is my language of choice
and thats like designed for same line
oh i left out how that file is found lol
return [[self returnForProcess:@"/usr/bin/find /private/var/containers/Shared/SystemGroup -type f -iname *MobileBluetooth.devices.plist"] componentsJoinedByString:@"\n"];
}```
lol
ok thats not great lol
good times
im not proud of all the code of written, dont hate
😛
if it gets the job done
i have a bot that basically runs a tf2 community
and like i started it yeeears ago
lol nice
its running node, but like it predates es6, so some of it is written really good, and others are just like...
it wasnt meant to run the whole community lol it was originally written as a report bot. just a simple thing that messages people
its funny i have code i wrote YEARS ago that i find awesome and stuff i find from weeks ago that fills me with dread
but then i added report tracking, then i added handling of reports, and then i added admin management
and some of it is so garbage
automation is the goat
i love automation
yeh but if it works, it works.
until it doesnt
just dont take down entire departments while experimenting
i literally have it just autorestarting when it crashes
cuz i cant be fucked to fix whatever crashes it every few days
anyhow, drinks. take care. thanks for your crazy weird fix pinned from ages ago. ill have to pull this thread later this week.
Someone dm me if yk how to jailbreak without a computer i need help
Omg what did I miss! I sorry I feel asleep. I’ll try to read and catch up to what I have missed 😂
Today after I get back from the Garage (hopefully will finish fixing the 2 cars) I’ll do some testing with the Xbox Elite 2 and try to get some logs to share. Unfortunately, I don’t have a MAC but I’ll be using Kali Linux and libimobiledevice and will share logs. My knowledge is not the greatest with tweak development but I might need your help later if I get stuck somewhere @burnt river
It will be challenging with the elite controller that it doesn’t even show up in nControl at all
so maybe that one isbt actually supported yet
btw objc has a terrible syntax
its still a trillion times better than swiftlang by every relevant metric @wraith ferry
nah I prefer the swift syntax
swift is trash
I like the c-style syntax
id rather drink a beaker of sulfuric acid than write a single line in that dumpsterr fire
lmao that's a very strong opinion haha
its not ANYTHING like C
C eats swifts breakfast
yeh i DESPISE swift more than i hate most other things
that and catalyst
ppl have got to reallly hate their users to deploy with that heap
but yeh my hatred of swift makes me practically unemployable outside my current job
but thankfully theyll go out of buisiness before i lose my job and neither is likely 😂
definitely cant get cancelled either, they followed me on twitter before crybabies got me thrown off there too lol
Why tho?
@wraith ferry catalyst?
cuz thats what im referring to there, not swift. swift only affects your users if it still bloats the binaries, which is still shitty UX
catalyst is like the electron of apple, it yields garbage that doesnt belong on macOS
for lazy devs that are scared of easy ass AppKit
its not hard to write an app that shares relevant code and works across platforms
pulling the "com.apple.MobileBluetooth.devices.plist" thread a little bit today @silent anchor
just read the one on my AppleTV and it does NOT have an entry for the pro controller that is paired right now, but it DOES have a record of a PS4 controller and the Xbox one, as well as my bluetooth sound bar. i have some theories im going to play around with to see if i can figure out exactly what that file is used for
Lmao Swift
im thinking it may add it to the list if nControl doesnt intercept it and allow it first and instead of serving as a "we know this device its okay" for that entry it'd be more "this device is no bueno, ignore it" idk yet. just guessing at the moment
yeah but that's not true anymore, the binaries don't contain the swift stdlib because it's now included in macOS and iOS
@wraith ferry took them long enough with that one, glad its not true anymore
it's not about being scared, it's about ease of porting apps. you can't expect devs to always write native apps for every arch. twitter didn't have a macOS app, now it has a wonderful app BECAUSE they used catalyst
easier to make one that shares 99% of the code though
wonderful? 🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣
it's a perfectly fine app and I enjoy using it lol
something I'm missing?
I'm the first that criticizes weird non-platform specific behavior
but... uh the twitter app is just great lol
"Lazy Devs"
You mean all of us?
Devs are inhenetly lazy. That's why we program, to make our lives easier XD show me any dev who doesn't copy paste for a good majority of their code and I'll show you a liar
Or a masochist
One of the two
imo its not even great on iOS so the idea of a kronenburg being good on macOS is just baffling
im lazy as fuck but not THAT lazy
not to where i make my users suffer
my daily driver cant even run the twitter app
yet another demerit for catalsyt in my book
@wraith ferry thats another thing, you HAVE to run catalina or big sur to even use that app
and i refuse to install either
sorry if im coming off obnoxious, just very strong opinions here
@silent anchor great quote but awful person 🤣
Is he? What's wrong with him
not here lol.
dude is pure evil tho, like jeff epstein level evil
they were actually pals too 🤣
I mean... not updating devices is a security risk, as a matter of fact
no prob :D
@wraith ferry yeh id rather be at risk 🤣
catalina and big sur are TERRRRRRRRRIBLE
my laptop doesnt even support big sur either so i couldnt if i wanted to
its on my work laptop and i cringe every time i use it (big sur)
idk man I'm happily using them haha
the UI / UX are just 🤮
to each their own tho 👍
im moving away from macOS anyways so its all moot
next laptop isnt going to be a mac for my first time ever.
Moving to Linux I'd assume?
yep!
not sure which flavor yet
probably arch
system 76 laptop iirc. need my hdmi and old school usb ports still.
sadly apple turned their back on pro user segment a long time ago.
hmmmmm @silent anchor so that file has no influence on older devices accepting controller connections
i unpaired my pro controller, temporarily moved the yourControl dylib out of place, tried to pair it. it connected/disconnected as expected. i see the item in the list. moved the dylib back, restarted bluetoothd, everything works fine again. im REALLY baffled why it makes a difference for anyone right now.
maybe i need to torch the file altogether and start fresh with a test
Hey I bought ncontrol and Im having a hard time connecting joycons or my daulsense to it on an Iphone 12
oooh nice choice :)
popOS is very nice, I have it on dualboot w/ win10 on my gaming rig
not familiar with popOS
@boreal fable i have a feeling this is the issue ive been actively debugging last few days. although DualSense support is still unverified because i dont own one, but im fairly certain it should work. im wondering if the pinned message will help. im still researching why that would make a difference
(why the pinned message appears to help some ppl)
@silent anchor have u tried deleting that file or entry with latest v to see if it makes any diff?
the one in the pin?
yeh
removing the entry makes it try to pair properly again, and since its a pro controller, it doesnt work
but the entry stays there
even with latest version? @silent anchor
not sure. ill have to check
plz do
ugh fine ill help XD
lol i appreciate it
whats the repo
@silent anchor check dm plz
@boreal fable i think we've potentially figured out a solution based on the pinned message. im working on making it possible to automate that directly in nControl
just testing some things out with it now
I just wanna play Delta with either my joycon or dualsense 😭
Lmao
For the dualsense it basically connects for a second then disconnects
And the joycons wont work
The joycons show up but wont connect
@boreal fable i know the exact issue you are talking about and i think i have a temporary work around until i get to the bottom of the actual problem
Bet
just waiting on a test to verify it works before i put anything out.
i dont own any of the devices that are having issues so its really hard for me to troubleshoot
Alright thats cool
@burnt river any updates?
close, i think we got something working but i just replicated another bug that has been reported a few times and need to fix that as well before i push out a new update
Alright
changing the controller mapping on iPad
if you dont present view controllers in an iPad friendly way in your app then they kill the app lol
I don't have an iPad so you're on your own for that one lol
i actually just got one and thats how i found it
i didnt realize it was iPad specific
ugh so now it doesnt crash anymroe but it also doesnt show the alert lol
Ping me if you need me cuz I gotta catch up in other servers
How do you update?
wdym
just go into your package manager of choice and install it there
it should be listed in updated
updates*
"Fix Pairing Issues" is a new option u gotta run manually (i dont want to do it automatically for devices that dont require it)
because its a bit of a stopgap fix that implements part of what sakura said in the pinned message
Thank you!
its less than ideal but it worked for her so im hoping it helps others too
it also adds support for some xbox controller i cant identify lol
guessing some custom or elite model or something
i think i need to add a custom user input field for the learning section so they can say the exact controller it is
Oh ya I meant to test other ways of fixing it
Cuz idk making it think it's a keyboard instead of a controller feels weird
I'm sure it's just that there's more variety of keyboard so they're less strict than with controllers but still
thats how controllers have been sneaking through for a long time
that werent mfi
we can keep messing with it
Ya but if we can make it work AND keep the device thinking it's a controller, it should allow controller things to happen to it
Example, keyboards can't rumble. Game pads can. Maybe this way rumble won't work
nah rumble on pro still works
everything that matters still think its a controller
even other parts of bluetoothd
still know
But you get my point
i do
And maybe we won't be able to make it work, but maybe we can
and i dont like doing it this way either
If we can't, ok so what. It still works. But if we can, all the better
agreed
theres def another way, just need to find it
and while its fresh in my mind im still going to investigate a few things
@burnt river hey so now the dualsense connects but the buttons and inputs dont do anything lol
@boreal fable still progress! lol, strange because according to the report data i got it should be identical to ps4
ill take another look in a moment and see if i missed anything
My controller shows up called Generic Troubleshooting (CS Virtual)
bizarre, it should totally be picked up as a DS5
My joycons are all the way upstairs Ill get them and see if they at least work
@boreal fable no i want to figure out whats going wrong here if u dont mind
theres a log file i need u to send me
/Library/Logs/controllersupport-Error.log
in files?
@boreal fable files probavly wont get it but filza will and itll let u share it too
My ps5 controller won’t connect?
@rapid spade make sure to grab the latest release and choose 'fix pairing issues' still trying to debug why PS5 isnt working AFTER that now
@boreal fable because its not recognizing it as a PS5 controller for some reason, but without that log i cant find out why. it makes no sense that its not there
It shows up in my Bluetooth. it just keeps showing not connected. I’ve tried forgetting the device and pairing it again. I just downloaded the latest release too. I’ll try the fix pairing issues right now
@boreal fable i guess, i still would like to get to the bottom of why theres no log file, cuz its clearly running if it creates that learning virtual device for u
Yea its really weird
Id prefer if that one worked too
Since its in my opinion the most comfortable controller
Still not connecting on my end
My joy cons won’t work either
Does anyone know if the newer Xbox controllers work?
Like the ones for the s/x
The series x?
Yes
Dont have one
yeh i dont have one that is charged or a charger, but last i tested them they still worked. unless i broke something while trying to do some research into making them into one controller. its possible
lol
theyre so janky
you can make them one controller?
right now im baffled as to why the DS5 support i JUST added isnt working, or even registering that its there
i mean i cant, nintendo can
oh lmao
not really no
i miserably failed at my attempt
I just want one to work
theyre two controllers that change the mapping based on the presence of another joycon
to play gba and ds games
which nintendo does automatically. obviously ios doesnt
i hear ya, im going to get to the bottom of the PS5 stuff as soon as i can figure out why u dont have a log
that completely cripples my ability to troubleshoot lol
maybe I did something wrong?
its a firmware thing, not a hardware thing. so ya basically nito would have to reimplement the way the switch does it
I’m on iOS 13.5 if that matters
including detecting if a joycon is left or right and then seeing if a second is hooked up, and then changing the mappings based on that... ya tbh dont count on it soon lol
then again i could be dumb, thats possible
What’s the directory to the logs?
ty
wow what the hell?????
Here’s mine
@boreal fable yours is crazy
really?
yeh like the weirdest log ive EVER seen
oh damn..
maybe there are some strange side effects to making the change that we do @silent anchor lol
@rapid spade and yours is just desolate lol. ugh this is so strange
@silent anchor we dont know for sure thats why im seeing this weird behavior
ya actually
@burnt river Do you know if the series x controller will work?
Im lost.
@boreal fable you controller is just firing off wildly differing information
and none of it jives with it being a dualsense controller
its pid is completely empty
and vid is NOT sonys vendor id
huh.
unpair
and then try again from start
ok
yeh and if its possible to reset the controller to factory settings i'd do that too
idk how duelsense works
there should be a little pin hole somewhere iirc
i wonder if it resends the device id after
but tons of logs like this found device: (null) with vid: 1452 pid: 0, reportDescriptor: <060cff09 11a10106 00ff0923 a1008501 0615ff09 04950175 40810206 0cff090d 950176b0 05810285 02060cff 090e9501 76b00581 02c08501 05200a0e 03950175 20b10285 020a1b03 95017520 b1028504 05200a1a 03950175 20b102c0> length: 92
that would make it not connect
but it does connect, but doesnt work
actually wait no that means the fix we did worked. what we changed is working.
but now NEW issue, some controllers dont work
found device: (null) with vid: 1452 pid: 0, reportDescriptor: <0520097a a1018501 27ffffff 7f170000 0080550b 75209501 05200a57 0481020a 58048102 05200a59 04810255 0e0a3404 8102060c ff090924 14450234 75028102 55004501 34090a75 01810295 01750581 01090b44 34751081 020600ff 0923a100 0615ff09 02754081 02c00520 0a0e0395 017520b1 0285020a 1b039501 7520b102 0615ff0a 01008503 95017520 b102c0> length: 143
this is the closest one to looking like it comes from a dual sense controller
hmm
well i dont know if this issue is at all related to what we just did. cant say for certain very easily on things like this
welp
but either way the vid and pid are wrong
back to square one now
the fix we did should allow any controller to connect
@boreal fable what happened?
it connects for a second
technically... it might make any bluetooth device period work
then disconnects
ty
maybe also the bluetooth device plist too
before and after pairing fix
aka before and after its forcing it to work. maybe something happens
oh ya that reminds me i have like 30 temp files that i need to delete
hm no changes in the log. thats even weirder
@boreal fable try the pairing fix again
please
@silent anchor yeh that might not be a bad idea
might be able to cull some information about why its getting such weird descriptors
for unrelated reasons im about to take some distillate so im either going to be a lot of help soon, or none at all lol
@burnt river I did
wait wtf vendor id 1452 is apple
0x05AC = 1452
why the hell does it think your dualsense is an apple device
@boreal fable theres a file that i'd like u to send me that u can find via directions in the pinned message from @silent anchor
dont follow the rest of the directions cuz thats what my "fix pairing issues" does under the hood
i just want that file
or if you have a terminal do
i also wonder if your dual sense is flagging false positive for a 'supported' controller.
plutil /private/var/containers/Shared/SystemGroup/E08FE7FC-09B9-4B82-9820-1DC9AACB9452/Library/Preferences/com.apple.MobileBluetooth.devices.plist > devices.plist
then upload that file
devices.plist
@boreal fable im also going to DM you a custom build to install, i want to see if the DS5 is getting swept up by the check i do to let PS4 and Xbox pass through
since support was added for those in 13
cuz those generic controllers that are showing up are probably apple devices that i need to filter out.
@rapid spade i dont know, i added support for another xbox controller today but it might be passing through like the DS5 potentially is
i can send u this custom build as well that has some extra logs to try and pin down if that is what is happening
I can do that
cool check DM @rapid spade
i wasnt expecting success just hopefully a more helpful log
and u tried disconnecting and reconnecting the controller? @rapid spade
I’ll try it again
ok
It shows up in my Bluetooth under wireless controller, always has, but won’t connect
When i try to pair it the flashing blue stops and goes solid for a couple seconds then the controller turns off
oh right since it doesnt connect it wont even log out that issue
their UUID in that path will be different
was the same for both of us
which is why i use 'find' to get at it
strange
on my ipod its /private/var/containers/Shared/SystemGroup/2CE45485-4DBE-4CAE-900E-1836E521329E/Library/Preferences/com.apple.MobileBluetooth.devices.plist
hmm
/usr/bin/find /private/var/containers/Shared/SystemGroup -type f -iname "*MobileBluetooth.devices.plist" will always find it
