updater-script multiple errors. Need help !

kartik verma

Senior Member
Dec 14, 2013
376
152
0
Hamirpur H.P
Device : GioneeP5W
Android version : 6.0 Marshmallow
Recovery : Philz recovery cwm

A)
I can't install anything with "package_extract_file" in any partition except "/tmp".
Log -
I:Update location: /storage/sdcard/test.zip
Opening update package...
Installing update...
====== Updater-Script:
mount("ext4", "EMMC", "/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/system", "/system", "");
package_extract_file("/system/app_process", "/system/app_process");
package_extract_file("/system/app_process32", "/system/app_process32");
package_extract_file("/system/xposed.sh", "/system/xposed.sh");
run_program("/system/xposed.sh", "xposed");
unmount("/system");


is_gpt = 1
gpt prefix is /dev/block/platform/mtk-msdc.0/by-name
get_partition_path, input partition is /dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/system
get_partition_path, translate partition to /dev/block/platform/mtk-msdc.0/by-name/system
get_partition_path, input partition is /system/app_process
get_partition_path, translated partition /dev/block/platform/mtk-msdc.0/by-name//system/app_process can not access (Not a directory), ignore translated result and return /system/app_process
package_extract_file: no /system/app_process in package
get_partition_path, input partition is /system/app_process32
get_partition_path, translated partition /dev/block/platform/mtk-msdc.0/by-name//system/app_process32 can not access (Not a directory), ignore translated result and return /system/app_process32
package_extract_file: no /system/app_process32 in package
get_partition_path, input partition is /system/xposed.sh
get_partition_path, translated partition /dev/block/platform/mtk-msdc.0/by-name//system/xposed.sh can not access (Not a directory), ignore translated result and return /system/xposed.sh
package_extract_file: no /system/xposed.sh in package
about to run program [/system/xposed.sh] with 2 args
run_program: execv failed: No such file or directory
run_program: child exited with status 1
script result was [/system]

B)
Not able to use "set_perm" command in updater-script gives syntax error : command not found

C)
Not able to execute *.sh files with "run_program" command
Log -

about to run program [/system/xposed.sh] with 2 args
run_program: execv failed: No such file or directory
run_program: child exited with status 1
 
Last edited:

kartik verma

Senior Member
Dec 14, 2013
376
152
0
Hamirpur H.P
isn't a correct format "./filename.sh
@vampirefo has explained all the errors.
can't you have another name for shell file when you were explaining. "faeces.sh" isn't good at all.
A simple explaination for all the errors which i mentioned above is :
If you were using a lollipop recovery in your device you should use Meta-inf containing updater-binary & updater-script of lollipop too. Else if you have a lollipop recovery and using meta-inf of marshmallow then you will face errors which i mentioned above.
Hope this helps.
 
Last edited: