To prevent data loss I decided to root my phone right when it came out of the box, which worked well.
After editing and reflashing the boot.img I re-locked the bootloader. Big mistake.
After one boot into recovery mode the phone offered me a factory reset, which I ran.
Now it only boots into fastboot mode.
I tried to perform the usual fastboot commands as mentioned in this case:
fastboot oem 8901-unlock
Allows me to boot into a different screen telling me my device has been corrupted and will not boot.
I am currently looking into the /e/ easy installer source code to understand the command chains it performs.
I do not have to enable oem unlock in the menu if I use easy installer.
Is this correct?
Is there any way to flash a factory image or revert to it?
Thanks for your help!!