Add notes for auto-serial check

This commit is contained in:
Blizzard Finnegan 2023-06-19 13:42:26 -04:00
parent 7b28751871
commit f1a4b4b251
Signed by: blizzardfinnegan
GPG key ID: 61C1E13067E0018E

View file

@ -1,8 +1,7 @@
Boot time isn't static.
Boot time can (in theory) be sped up by forcing a clearing of the screen of all vitals before rebooting.
Clearing the screen of all vitals is theoretically possible in the UI menu, with a Spoof Touch, but I don't know the object name of the 'clear' button.
Auto-serial:
Can check for reboot completed by reading in serial, check for `reboot: Restarting System`
once done, read for `login:`
First command sent to shell gets dropped (possibly due to timing issue?)
`echo 'y1q' | python3 -m debugmenu` contains the serial number. Search keyword is: "DtCtrlCfgDeviceSerialNum"
split on `\n`, collect into Vec<&str>. Iterate over Vec:
if doesn't contain colon, continue
split_once on colon
if first half is keyword, trim second half, remove `"` characters, save as serial