[Xiaomi Redmi 8A Questions & Answers] MAREK10747:
I have 7A with the same CPU ... i'm dev and I know what I do . You make simple script :

ui_print("volte patch redmi 8a");
ui_print("test #1");
ui_print("by Vinay Durva");
ui_print("Mounting system and vendor...");
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/vendor", "/vendor");
ui_print("Extracting Files...");
package_extract_dir("system", "/system");
ui_print("Unmounting system and vendor...");
unmount("/system");
show_progress(0.2, 10);

Where is chmod ???? If you don't add chmod's system have 3 options: 1.Not boot 2.Bootloop 3.total crash

I make patche's to some system's variants and my script maybe help you some :

ui_print("------------HALF GSI PATCHER-------------");
ui_print("------------XDA: MAREK10747--------------");
ui_print("------------Installing Updates-----------");
ui_print("------------Mounting System--------------");
run_program("/sbin/busybox", "mount", "/system");
ui_print("------------Updating system-----------");
ui_print("-----------------------------------------");
ui_print("------------Deleting files---------------");
ui_print("-------Deleting app and priv-app---------");
delete_recursive("/system/app");
delete_recursive("/system/priv-app");
delete_recursive("/system/framework");
ui_print("---------Repleacing build.prop-----------");
ui_print("-----------------------------------------");
ui_print("----Extracting and Installing updates----");
ui_print("-----------------------------------------");
ui_print("--------Extracting deodexed files--------");
ui_print("-----------------------------------------");
package_extract_dir("system", "/system");
ui_print("-----------------------------------------");
ui_print("------------Setting Permissions----------");
ui_print("-----------------------------------------");
ui_print(" Restoreing Permissions for deodexed files");
set_metadata_recursive("/system/framework", "uid", 0, "gid", 0, "dmode", 0777, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/app", "uid", 0, "gid", 2000, "dmode", 0777, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/priv-app", "uid", 0, "gid", 2000, "dmode", 0777, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/build.prop", "uid", 0, "gid", 0, "dmode", 0777, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
ui_print("-----------------------------------------");
ui_print(" Updates and deodex installed sucess !! ");
ui_print("-----------------------------------------");
ui_print("-----------------------------------------");
ui_print("----------------Please wipe--------------");
ui_print("-------------cache and dalvik------------");
ui_print("------------and reboot device ;)---------");
ui_print("-----------------------------------------");
ui_print("-------------Unmounting System-----------");
unmount("/system");

Please add chmod if your patch must work without any bugs or bricks . My script is for you only sample for do that correct . If you have problem's with do a correct zip write to me pm .