#
#asahi-dev · 2026-07-26 17:43
yukaor maybe I misunderstood and the .dSYM directory is unnecessary for the development kernels
#asahi-dev · 2026-07-26 17:40
yukadid anyone already find out what was the last KDK to contain debug symbols?
#asahi-dev · 2026-07-26 17:34
NickChan[m]to do stuff like that on macOS I think people uses a kernel read write kext instead of patching that
#asahi-dev · 2026-07-26 17:34
NickChan[m]chaos_princess: that's one check but you would also need to patch the check for kernel_pmap and probably the check when converting the task port
#asahi-dev · 2026-07-26 17:26
yuka(or, it needs a reboot, but there is some guidance for that)
#asahi-dev · 2026-07-26 17:26
yukathe kexts I can load from the running system once sip is disabled
#asahi-dev · 2026-07-26 17:26
yukaI have honestly never booted a custom kernel without the help of m1n1, so I'll have to look into that as well, but looks like a doable path
#asahi-dev · 2026-07-26 17:21
chaos_princessso, since you are loading a custom kernel... just patch out the check for ==0 in task_for_pid ?
#asahi-dev · 2026-07-26 17:13
yukabut I guess I can read up on this, just not a today thing...
#asahi-dev · 2026-07-26 17:12
yukaI tried writing a character device for sending proxy commands from userspace, but it turned out to be very badly documented
#asahi-dev · 2026-07-26 17:12
yukaI'm too much of an xnu/mach noob to know how to obtain this port
#asahi-dev · 2026-07-26 17:11
chaos_princesshttps://developer.apple.com/documentation/iokit/1514240-ioconnectcallmethod
#asahi-dev · 2026-07-26 17:11
yukaor would the kext just enable some existing mechanism?
#asahi-dev · 2026-07-26 17:11
yukahmm, how would it interface with the kext?
#asahi-dev · 2026-07-26 17:10
svenbut yeah, I’d write a kext that lets an ioclient or however they are called map and read anything from userspace
#asahi-dev · 2026-07-26 17:10
yukafor many reasons...
#asahi-dev · 2026-07-26 17:10
yukaI mean, I had an m1n1 uartproxy running an a kext, it was just really buggy
#asahi-dev · 2026-07-26 17:10
svendon’t think you can read memory from userspace anymore
#asahi-dev · 2026-07-26 17:09
svenwe could really use that hypervisor 🙃
#asahi-dev · 2026-07-26 17:09
chaos_princesswrite MacRingZero.kext :P
#asahi-dev · 2026-07-26 17:09
yukais there some easier way to do that than a kext?
#asahi-dev · 2026-07-26 17:09
yukathat still requires reading the memory from macos
#asahi-dev · 2026-07-26 17:08
yukamakes sense
#asahi-dev · 2026-07-26 17:08
chaos_princessso, make the tunable write a recognizable flag at offset zero, see which area changed
#asahi-dev · 2026-07-26 17:08
chaos_princesslook at the memory ranges in the adt, when it applies tunables, it uses one of them as base
#asahi-dev · 2026-07-26 17:08
chaos_princessand tbh, you don't need to read the entire area
#asahi-dev · 2026-07-26 17:07
yukathat would work too
#asahi-dev · 2026-07-26 17:07
chaos_princesswhat about patching an adt and causing it to instead write a recognizable pattern
#asahi-dev · 2026-07-26 17:07
yuka(fwiw t6050 has the same tunables etc.)
#asahi-dev · 2026-07-26 17:06
yuka* from a booted macOS
#asahi-dev · 2026-07-26 17:06
yukaBut not today
#asahi-dev · 2026-07-26 17:06
yukaI mean I can try to do the old trick of reading the whole area from m1n1, and then reading the whole area again from a kext from a booted kext (with/without $device plugged in), and then diffing
#asahi-dev · 2026-07-26 16:49
yukalet me stare at the values for a bit
#asahi-dev · 2026-07-26 16:49
yukatrue
#asahi-dev · 2026-07-26 16:49
yukaah yes
#asahi-dev · 2026-07-26 16:49
chaos_princesstunable_LN0_RX_CFG_TX_OF_RXCLK ?
#asahi-dev · 2026-07-26 16:49
yukacan try, I guess
#asahi-dev · 2026-07-26 16:49
yukaif that means we just don't need them? Idk
#asahi-dev · 2026-07-26 16:48
yukanone of the tunables that would go into apple,tunable-laneX-usb are present
#asahi-dev · 2026-07-26 16:48
yukaas-is this will only result in apple,tunable-axi2af, apple,tunable-common-b & apple,tunable-laneX-cio
#asahi-dev · 2026-07-26 16:48
yukaI doubt USB3 will work
#asahi-dev · 2026-07-26 16:44
yukaI think it would be useful to have a 'reset-only' mode in atcphy
#asahi-dev · 2026-07-26 16:42
chaos_princessyes
#asahi-dev · 2026-07-26 16:42
yuka'grew'=added?
#asahi-dev · 2026-07-26 16:42
chaos_princessso, phy is probably different, but usb part may be same
#asahi-dev · 2026-07-26 16:41
chaos_princessoh, they grew tb5 in t6040
#asahi-dev · 2026-07-26 16:38
yukat6040: https://termbin.com/cb37c
#asahi-dev · 2026-07-26 16:37
yukat8132: https://termbin.com/lyn86
#asahi-dev · 2026-07-26 16:35
yuka(even less)
#asahi-dev · 2026-07-26 16:35
yukaand then there are a lot less tunables

plus ›