I deleted my flashrom and need the stock firmware

TLDR: i deleted the flashrom on accident and then turned off the device.

taking a moment to allow you to have shock and horror

ok, now for for some answers

“why??” i was trying to get rid of the rewrite protection, and part of the flashrom was read only, and i couldn’t change it. I wanted to delete only PART of the flashrom and did the “flashrom --delete” command without thinking at 11 o’clock at night after waking up at 6am. remember to sleep on time, kids.

“why didn’t you use the Mr.chromebox tutorial?” i did, but i kept getting it couldn’t write to the file because part of my flashrom was read only, thus the attempt to delete it, and here we are now.

“why did you turn off the device??” i thought rebooting it would fix it. ex windows user

“what have you done to fix it?” ok, well, im on linux, and im following the mr.chromebox tut on unbricking and trying to get the firmware for my chromebook. Its a Lenovo 500e (so a Apollolake chip and a Robo360 board) and im at the point in the tut where i need the stock firmware, and despite following the tut TO THE LETTER, im getting an error. maybe im putting in the command wrong, maybe the file just isn’t there. whatever. I just need help.

The end goal is to put Linux on the damn thing. if you can skip chromeOS by some miracle and give me Linux, i will kiss your feet. either way, im stuck, and need more in depth help than the tut is giving.

so getting your original stock firmware back when it was already deleted is (as far as i can tell) really difficult. your best option is to at LEAST get back into ChromeOS is to make a ChromeOS Recovery USB and reflash with that in the MrChromebox Firmware Utility.

do note that (at least when i used it) it doesn’t restore VPD or other device-specific information (such as serial number) but it’s enough to get back into ChromeOS :v

if it’s present in the UEFI firmware, it will restore it back to the recovery image firmware. both VPD (serial) and HWID

if it’s present in the UEFI firmware, it will restore it back to the recovery image firmware. both VPD (serial) and HWID

huh, that’s weird. when i tried it on my Chromebook it didn’t restore any of the VPD data even though it should’ve been present in the UEFI firmware? i guess it wasn’t. oh well, my bad then

I’ve not tested it recently, but that’s what it’s supposed to do

I’ve not tested it recently, but that’s what it’s supposed to do

the Chromebook that i recovered using the ChromeOS image had installed the UEFI firmware a LONG time ago, like about 1.5 years ago. perhaps it didn’t save VPD data at the time when installing UEFI firmware, but does now.