[HOWTO] Build minimal eOS-Pie

have you copied this patch to /frameworks/base folder ?

By the way, the patch makes no sense. You will lost one ‘tick’ in MicroG Selfcheck and Apps which are needed signature Spoofing will still not work. Have a look here Make /e/ OS ROM Signature Spoofing microG ready