OK，I have entered the Havoc OS now, thanksThat looks like the help. If you have the latest version of modify_phh_gsi.sh, the only time that's called is if you enter parameters after the command.
How are you running the script?
Download the script again, copy it to your sdcard, make sure it's executable, then in twrp try again with the command:
adb shell /external_sd/modify_phh_gsi.sh
but the new question is coming
when i intalled the magisk in the twrp，Havoc Os reboot failed
stay on the splash screen,keep spinning again and again
when i restore the boot in the twrp,i can enter the Havoc OS again(without magisk)
looking forward to reply, thank you very much