Corrupted EFI after windows update
TL;DR - macos and recovery doesn't work, apparently after windows update, though the windows itself runs ok.
There was a minor windows update (installed via bootcamp) a short time before, but maybe it's not an issue, but somehow after restarting my laptop in order to boot into macos in went into infinite bootloop.
CMD+R fails, internet recovery (both options CMD+OPTION+R+(SHIFT)) fails either after the preparations stage (it just reboots again into int. rec. mode) or gives -2100 or -2003 errors after downloading something.
I did reset NVRAM and SMC, but it didn't make any difference.
The only way to do something is to boot into windows with the alt key.
I wonder if there is any way to fix the problem from windows - if it's got the means to break things, there's probably some way to fix something. Additional issues are the main partition in T2 encrypted with filevault and, of course, there is no way to boot externally, again, due to T2 chip.
An interesring detail is a presence of EFI partition (the 300 MB one) (img 1)
(img 5) These logs must have been created by the internet recovery utility. Here are some lines from there:
APFSStart:1608: Mounting with apfs_efi_osx_aligned-1934.121.2
efi_fusion_pairing:691: Container a18a0741-317e-4d84-bb28-8a11342fc619
efi_fusion_pairing:696: fusion uuid: 00000000-0000-0000-0000-000000000000
efi_container_create:933: LoadedImage->DeviceHandle = 0x7a499818
efi_container_create:995: Volume attached is internal
nx_dev_init:834: warning: superblock indicates jumpstart record but this driver was not loaded from that partition
nx_mount:1184: initializing cache w/hash_size 256 and cache size 4096
nx_mount:1460: checkpoint search: largest xid 11472612, best xid 11472612 @ 177
er_state_obj_get_for_recovery:6457: No ER state object for volume Preboot - rolling is not happening, nothing to recover.
er_state_obj_get_for_recovery:6457: No ER state object for volume Recovery - rolling is not happening, nothing to recover.
er_state_obj_get_for_recovery:6457: No ER state object for volume VM - rolling is not happening, nothing to recover.
#[PW]
#[SSR|>] Starting Recovery at 07/26/2023 04:46.
#[SSR|RM] 2
#[SSR|>] Network recovery selected.
#[SSR|>] BridgeOSVersion 19.16.15071.0.0,0
Also all of these files end with repetition of line "#[SSR|N] 3" in any quantity (difference between the logs on the image above is only in amount of those lines)
\EFI\BOOT contains only windows' bootx64.efi; \EFI\APPLE\EXTENSIONS contains only Firmware.scap
Also I've seen a similar topic (https://discussions.apple.com/thread/7182666) and checked wether the APFS'S GUID was fine, and it was.
Any ides on how the bootloader was corrupted and how to solve the problem?
MacBook Pro — Илья