#
✕ nick:rwhitby
#asahi · 2021-01-10 06:51
rwhitbyand is reverted to full security by a DFU restore (also as expected)
#asahi · 2021-01-10 06:41
rwhitby"bputil -g" is persistant across a restart in 1TR (as expected)
#asahi · 2021-01-10 06:39
rwhitbyrestart to check that is persisent, then a full restore to check it is reverted
#asahi · 2021-01-10 06:39
rwhitbyok, I see "Full Security enabled" before bputil -g and "Reduced Security enabled: 1" after
#asahi · 2021-01-10 06:36
rwhitbyand after the restore, does bputil tell me that it's back in full security or is there another utility to determine that?
#asahi · 2021-01-10 06:33
rwhitbymarcan: what's the smallest reversible deviation from fully secure that I can do to test that full security is restored by the DFU restore?
#asahi · 2021-01-10 05:04
rwhitbyit also blew away the Linux volume and FAT32 partition that I created yesterday (as expected)
#asahi · 2021-01-10 05:00
rwhitbyDFU restore worked fine before deleting anything, and can restore from external bootable disk as part of the process
#asahi · 2021-01-10 04:35
rwhitbyI can try and replicate it before and after I do my disk wipe and restore
#asahi · 2021-01-10 04:35
rwhitbymarcan: can you please pastebin the volume layout you found to work last night?
#asahi · 2021-01-10 04:26
rwhitbyNext is "Restore" which should replace macOS and wipe all data
#asahi · 2021-01-10 04:25
rwhitbyso the "Revive" step is pretty painless. It just asks you for the password for an admin user and then reuses the macOS install that's ostensibly untouched.
#asahi · 2021-01-10 04:24
rwhitbyConfigurator connects and sees DFU, but says you need to update the host before you can start a revive.
#asahi · 2021-01-10 04:08
rwhitbydavidrysk[m]: yeah, I read it at https://mrmacintosh.com/restore-macos-firmware-on-an-apple-silicon-mac-boot-to-dfu-mode/ and wanted to confirm it
#asahi · 2021-01-10 03:19
rwhitbyok, I confirmed that you can't DFU restore an 11.1 M1 device from a 10.15.7 host - it requires a system OS update to proceed. Moving to a different MBP host running 11.1 ...
#asahi · 2021-01-10 03:12
rwhitbybut what that does probably mean is that the USB-PD side of things can operate all the way to making a power contract (obviously needed for dead battery operation) and a TBT3 control connection without any interaction with macOS.
#asahi · 2021-01-10 02:59
rwhitbyok, it's just the PD messaging, there's no LSTX/RX traffic, so the TBT data path is not active
#asahi · 2021-01-10 02:52
rwhitbyinteresting - in DFU mode, there is still a TBT3 connection made between the apple configurator 2 host and DFU M1 device. not sure yet whether it is used for anything though. only way to tell will be to do two DFU restores, one with a simple USB2 cable and one with a TBT3 cable and see if the restore time differs.
#asahi · 2021-01-10 02:44
rwhitbyok, https://www.theiphonewiki.com/wiki/ECID - so everyone knows my M1 silicon SoC unique chip id now :-)
#asahi · 2021-01-10 02:43
rwhitbyanyone know what ECID represents in the iSerialNumber above?
#asahi · 2021-01-10 02:41
rwhitbyeven easier for m1 mini - just remove AC power for 10 seconds then hold power button while applying AC power
#asahi · 2021-01-10 02:37
rwhitbyhttps://gist.github.com/rwhitby/8edf285681075d139f88dd6cf809a8ee <- DFU descriptor info
#asahi · 2021-01-10 02:35
rwhitbyoh, sorry, I'll pastebin stuff instead
#asahi · 2021-01-10 02:35
rwhitby0x03 iProduct "Apple Mobile Device (DFU Mode)"
#asahi · 2021-01-10 02:35
rwhitby0x0800 wTransferSize
#asahi · 2021-01-10 02:35
rwhitby0x000A wDetachTimeOut
#asahi · 2021-01-10 02:35
rwhitby0x01 bmAttributes
#asahi · 2021-01-10 02:35
rwhitby0x21 bDescriptorType
#asahi · 2021-01-10 02:35
rwhitby0x07 bLength
#asahi · 2021-01-10 02:35
rwhitby------------------------------
#asahi · 2021-01-10 02:35
rwhitbyDFU Functional Descriptor:
#asahi · 2021-01-10 02:32
rwhitby(that's the DFU descriptor)
#asahi · 2021-01-10 02:32
rwhitbySerial Number: SDOM:01 CPID:8103 CPRV:11 CPFM:03 SCEP:01 BDID:22 ECID:000139663662001E IBFL:3C SRTG:[iBoot-5540.0.0.400.2]
#asahi · 2021-01-10 02:32
rwhitbyVendor ID: 0x05ac (Apple Inc.)
#asahi · 2021-01-10 02:32
rwhitbyVersion: 0.00
#asahi · 2021-01-10 02:32
rwhitbyProduct ID: 0x1227
#asahi · 2021-01-10 02:25
rwhitbyI take that back, active TBT3 cables will likely work too, unless they are active optically isolated cables.
#asahi · 2021-01-10 02:23
rwhitbyNow, lets's see what the USBC cable requirements are. It should just be D+/D- connected through, so all passive cables should be fine, but going to see what happens with active TBT3 cables (not expected to work) and active USB4 cables (expected to work).
#asahi · 2021-01-10 02:22
rwhitbyI like that for the m1ni you don't need to hold down 4 keys at once, but just hold the power button while applying power and see the orange light for DFU entry.
#asahi · 2021-01-10 02:19
rwhitbyos[m]: yes, I 100% believe it will work, but need to verify it myself before I rely on it :-)
#asahi · 2021-01-10 02:13
rwhitbyI want to get to a point where I'm 100% comfortable in having the internal disk wiped at any time for any reason and knowing that I can recover to a initial install state at any time.
#asahi · 2021-01-10 02:12
rwhitbyos[m]: thx, I'm going to try it without wiping first, and then try it after deleting various volumes later
#asahi · 2021-01-10 02:07
rwhitbyShiz: /usr/libexec/opendirectoryd is running
#asahi · 2021-01-10 02:03
rwhitbySo my understanding of DFU restore for M1 is that I can completely wipe the internal disk, and run DFU restore from Apple Configurator 2 from another Mac (running the same OS version I believe), and get back to a clean install state. Has anyone here personally verified that before I try it here?
#asahi · 2021-01-10 01:57
rwhitbytoday I'm going to run DFU through an Ellisys C-Tracker USB-PD/USB analyser, capture the traffic, and report on whether there is any USB-PD traffic involved or whether it is all plain USB data.
#asahi · 2021-01-10 01:54
rwhitbythe overnight log for 1) refers to needing at least an APFS volume group, Preboot volume, /Library/CoreServices/, /usr/standalone/, bless, apfs preboot update, Recovery volume, but not sure if all this was sufficient or if more was required.
#asahi · 2021-01-10 01:48
rwhitby2) seems to be a combination of master.passwd and UsePAM=no
#asahi · 2021-01-10 01:45
rwhitbyso it looks like two breakthroughs occurred overnight - 1) building on the testing of partition adding yesterday, a set of additonal partitions was identified which is recognised as an alternate boot target in 1TR, and 2) a means of running sshd in 1TR was identified. it would be good have these documented so others can reproduce and verify ...
#asahi · 2021-01-09 07:11
rwhitbyDoes it work from command line too? (for future scripting)
#asahi · 2021-01-09 07:10
rwhitbyyes, very good.

plus ›