#asahi-dev · 2023-07-13 21:44
j`eyChaosPrincess: true#asahi-dev · 2023-07-13 21:44
ChaosPrincesswell, that does not work when i dont have the device i want to grab device tees for :P#asahi-dev · 2023-07-13 21:44
sid-linuxj`ey: by m1n1 you mean m1n1 via the proxyclient?#asahi-dev · 2023-07-13 21:43
j`eyor just use m1n1 :p#asahi-dev · 2023-07-13 21:42
ChaosPrincessgrab the ipsw from i.e Firmware/all_flash/DeviceTree.j180dap.im4p , decode with openssl asn1parse -inform der -in DeviceTree.j180dap.im4p , grab the big hex blob, unhex into a file, decompress with i.e lzfse -decode -i DeviceTree.j180dap.data -o DeviceTree.j180dap.im4p then do sth like python3 -m m1n1.adt DeviceTree.j180dap.im4p >dts/DeviceTree.j180dap.im4p#asahi-dev · 2023-07-13 21:42
sid-linuxif its complicated, I can probably try running it via proxyclient... I assume it would work with that approach most simply?#asahi-dev · 2023-07-13 21:41
sid-linux(sorry still learning mac internals stuff)#asahi-dev · 2023-07-13 21:40
alyssaChaosPrincess: oml#asahi-dev · 2023-07-13 21:40
sid-linuxsorry -- can you explain "adt template extracted from ipsw" -- how do i do that ? #asahi-dev · 2023-07-13 21:38
ChaosPrincessdoesnt work with SAE networks unfortunately, macos doesnt write enough data into the nvram var#asahi-dev · 2023-07-13 21:38
ChaosPrincessalyssa: congrats on nerdsniping me :P https://github.com/WhatAmISupposedToPutHere/asahi-nvram/commit/ef1d04391689a80239a965015736f4ee53ecdbdd#asahi-dev · 2023-07-13 21:38
ChaosPrincessnope, it can run offline on an adt template extracted from ipsw#asahi-dev · 2023-07-13 21:36
sid-linux*with the proxy#asahi-dev · 2023-07-13 21:36
sid-linux(thanks !) -- we need to be running m1n1 on the proxy to be able to run this script right?#asahi-dev · 2023-07-13 21:34
ChaosPrincessthere is something like adt.py in m1n1, it dumps text repr to stdout#asahi-dev · 2023-07-13 21:33
sid-linuxis there a way of getting a textual representation of the apple device tree (adt) ? m1n1 code reads various things from it so it might be useful to be able to have a textual version for reference...#asahi-dev · 2023-07-13 14:53
marcannow we actually check the csrutil status (which we get in the DT) which should be safe#asahi-dev · 2023-07-13 14:53
marcansven: older iboot filtered -v, newer does not, that's why I changed it#asahi-dev · 2023-07-13 13:51
alyssaasahi linux snarfing wifi passwords from macos/1tr sounds terrifying and awesome#asahi-dev · 2023-07-13 13:10
sid-linuxj`ey agree#asahi-dev · 2023-07-13 13:08
sveni'm reasonably sure there's also a filter in iBoot that just drops unsupported boot args#asahi-dev · 2023-07-13 13:08
j`eyso I think it makes sense to leave it as -v#asahi-dev · 2023-07-13 13:07
svenas I said: sven> yeah, -v is some iBoot thing which then sets a flag in the xnubootargs [...]#asahi-dev · 2023-07-13 13:07
svenoh, right, that was changed at some point because we originally thought we could only set -v with disabled security#asahi-dev · 2023-07-13 13:06
sid-linuxj`ey is correctly -- m1n1 does not check nvram. it gets boot args from the _base address#asahi-dev · 2023-07-13 13:05
sid-linuxbtw you can also y have verbose mode without proxy mode. proxy mode additionally requires csrutil disable. I successfully ran with csrutil enabled but with `nvram boot-args=-v`#asahi-dev · 2023-07-13 13:04
svenah, makes sense I guess#asahi-dev · 2023-07-13 13:03
ChaosPrincessverbose boot is a side effect of enabling the proxy in release build#asahi-dev · 2023-07-13 13:02
svenyeah, -v is some iBoot thing which then sets a flag in the xnubootargs. it also doesn't enable verbose boot for m1n1, it enables proxy mode iirc#asahi-dev · 2023-07-13 12:57
j`eym1n1 doesn't check nvram itself, right? -v is converted by iBoot into a boot_arg#asahi-dev · 2023-07-13 12:57
ChaosPrincessit might be more resilient now, i had previously overwritten the entire nvram with junk data and only won a blaring boot chime, and boot picker showing up#asahi-dev · 2023-07-13 12:53
_jannau__it is potentially dangerous to set nvram variables that macos doesn't expect, for some (which macos partially understands or understood in the past) you win a dfu restore #asahi-dev · 2023-07-13 12:52
sid-linuxanyways just asking#asahi-dev · 2023-07-13 12:52
sid-linuxdottedmag: indeed typical users will not set this. but developers are also users and they may not want a noisy startup on their macOS... #asahi-dev · 2023-07-13 12:50
sid-linuxi was asking to check other developer's feedback. yes, it might be a good idea to do this as a PR #asahi-dev · 2023-07-13 12:50
dottedmagusers are not supposed to set this flag#asahi-dev · 2023-07-13 12:49
ChaosPrincessmight be a good idea, send a pr :P#asahi-dev · 2023-07-13 12:49
dottedmagnote that you are in developers' channel#asahi-dev · 2023-07-13 12:49
sid-linuxinitially i thought I had broken something when i saw all those boot messages in the macOS#asahi-dev · 2023-07-13 12:49
sid-linuxmight it be a good idea to have `nvram asahi-boot-args=-v` (instead of `nvram boot-args=-v` ) so that users are not suprised by macOS also booting verbosely?#asahi-dev · 2023-07-13 12:36
_jannau__I'd love to integrate the bt link key syncing into the default first boot but bluez makes that very annoying#asahi-dev · 2023-07-13 12:25
ChaosPrincessit uses that, but was written by jannau#asahi-dev · 2023-07-13 12:25
chadmedis that one of your nvram tools? #asahi-dev · 2023-07-13 12:25
ChaosPrincessthere is techincally btsync, that copies bluetooth keys over, but you need to install that manually#asahi-dev · 2023-07-13 12:24
chadmedyeah 1TR, which runs macos#asahi-dev · 2023-07-13 12:24
ChaosPrincessthat 1tr, not linux#asahi-dev · 2023-07-13 12:24
sid-linuxpaired 1tr knows about wifi network... you said...#asahi-dev · 2023-07-13 12:24
chadmed(yet) #asahi-dev · 2023-07-13 12:23
ChaosPrincessthe short answer is it doesnt#asahi-dev · 2023-07-13 12:23
sid-linuxoh... i didnt read that correctly