I have downloaded the latest Beats Audio Flash Zip I was wanting to change the updater-script file to mount system and then unmount system and reboot
This is the Original updater-script
This is what I am wanting to do:
I get the error "Mount is expecting 4 args got 3. I have tried adding a -w to it to hopefully be the argument it needs but I got Error 7 from that then last attemp I got Error 6 tried to take it back as it is above and got bad file so I figured I need to ask
I've tried changing the update-binary as well but get the bad file error message as well. The above mount has worked for me in the past on other projects
This is the Original updater-script
Code:
ui_print(" Beats Audio ");
ui_print(" By: RockoDev ");
ui_print(" Installing... ");
package_extract_dir("system", "/system");
ui_print(" Installed ! ");
ui_print(" Reboot Now ! ");
This is what I am wanting to do:
Code:
ui_print(" Beats Audio ");
ui_print(" By: RockoDev ");
ui_print(" Installing... ");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
unmount("/system");
ui_print(" Installed ! ");
ui_print(" Rebooting Now..... Goodbye! ");
run_program("/sbin/reboot");
I've tried changing the update-binary as well but get the bad file error message as well. The above mount has worked for me in the past on other projects