Recovery Mode – Project FRP Destroyer on XDA, I need help with formatting

Okay, I'm not sure where to go, I'm not sure if it's more custom recovery users, so … Android enthusiasts or Stack Overflow, because they're commands … Anyway always, feel free to mark me when it's in the wrong place …
Overflow question ….

Ok, so I'm working on a project for my XDA called FRP Destroyer … Currently, the update zip file executes a flash of an empty .img file. However, I'm trying to do this with a format instead of package_extract …

The problem is that the FRP partition is different on each device. So I use the build.props file ro.frp.pst to get the partition mount area.

Format ("ext4", "EMMC", "" + (getprop ("ro.frp.pst")), "0");

I tried

format ("ext4", "EMMC", getprop ("ro.frp.pst"), "0");
format ("ext4", "EMMC", "" + getprop ("ro.frp.pst"), "0");
format ("ext4", "EMMC", "" + getprop ("ro.frp.pst") + "", "0");
format ("ext4", "EMMC", "getprop (" ro.frp.pst ")", "0");

FRP = $ getprop ("ro.frp.pst");
Format ("ext4", "EMMC", $ FRP, "0");

Format ("ext4", "EMMC", "" + (getprop ("ro.frp.pst")), "0");   

Could someone please point out the syntax error!

I almost gave up the update …

If someone can help, it does not bother me to put you in the attributes …

Original post
FRP Destroyer – XDA project

                ui_print ("*************************************");
ui_print ("* ______________ *");
ui_print ("* / ___ /. /. / *");
ui_print ("* / / _ / _ / _ / *");
ui_print ("* / _ //  / / *");
ui_print ("* / __ / _ / _ ^ __  _ / DESTROYER *");
ui_print ("* *");
ui_print ("*************************************");
ui_print ("");
ui_print ("*********************************");
ui_print ("* Software Edition: 1.1 *");
ui_print ("*********************************");
Sleep (5);
ui_print ("");
ui_print ("******************************");
ui_print ("* reformatting the FRP partition *");
ui_print ("******************************");
ui_print (getprop ("ro.frp.pst"));
ui_print ("******************************");
Format ("ext4", "EMMC", "" + (getprop ("ro.frp.pst")), "0");
Sleep (1);
ui_print ("");
ui_print ("******************************");
ui_print ("* COMPLETED *");
ui_print ("******************************");
Sleep (2);
ui_print ("");
ui_print ("*************************************");
ui_print ("* ______________ *");
ui_print ("* / ___ /. /. / *");
ui_print ("* / / _ / _ / _ / *");
ui_print ("* / _ //  / / *");
ui_print ("* / __ / _ / _ ^ __  _ / DESTROYER *");
ui_print ("* by Zillinium *");
ui_print ("* _______________________________ *");
ui_print ("* you MUST perform a Factory Reset *");
ui_print ("* and now remove the SIM card. *");
ui_print ("* ___________________________________ *");
ui_print ("* No connection to the WLAN during the setup *");
ui_print ("*************************************");
ui_print ("");
ui_print ("");
set_progress (1.000000);
Sleep (10);