Aymee2 wrote:
I searched for information about this online and found the command "xartutil erase all," which I promptly entered into Terminal and pressed "yes."
IIRC, that command could only be used on the 2016 & 2017 models. Using it on any 2018+ models with the T2 security chip or Apple Silicon Mac ends up erasing critical parts of the system. Many times Terminal commands can be for very specific systems & circumstances....this is one of those commands.
Then I found information about flashing it using DFU and started trying to flash it using a MacBook Air with an M2 processor.
In Apple Configurator, it simply froze at the 4th step of the system boot sequence. And in Finder, it returned error "4042."
I've seen several people posting about this error, but have no idea what it is since Apple doesn't provide descriptions for those error codes. Since you already erased a critical part of the system, you will likely need to perform the DFU Firmware Restore which will destroy all data on the internal SSD.
Make sure you follow Apple's instructions exactly when performing a DFU Firmware Revive/Restore. You must be using an actual USB-only data cable (it must not support Thunderbolt at all). And you should use the Apple Configurator v2.19 app on the host Mac. The host Mac must be running macOS 15.7+ Sequoia or macOS 26.x Tahoe. Here is an Apple article with the instructions...unfortunately Apple's reference to supported versions of macOS on the host Mac are wrong....what I have posted here will work at this time:
How to revive or restore Mac firmware - Apple Support
Is there any chance of recovery? Or will it remain bricked forever? Because I live in a country without Apple stores or services.
I've only ever heard of people using that Terminal command on the Intel Macs & they were able to recover them with a DFU Firmware Restore. I've never seen any posts on the Apple forums of somebody using that Terminal command on an Apple Silicon Mac so I have no idea. Considering how DFU Mode works, I would expect you to be able to use the "Restore" option to make your laptop functional again.
If you are unable to achieve success, then you will need to have Apple or an Apple Authorized Service Provider attempt to perform a DFU Firmware Restore on your broken Mac. Keep in mind, if the laptop had issues even with the previous owner, then this laptop may have some other underlying hardware issue that is preventing a successful DFU Firmware Restore. If I had to guess, this laptop likely suffered a liquid spill in the past.