This may sound weird, but it would serve me a great purpose. I flash the newest CM Nightly about every 3 or 4 days. So I made my own flashable zip file that adds a few init.d tweaks and flashes a framework-res that I modded to get rid of that stupid CRT animation and shortens the "hold back to kill" timeout to an actual usable amount of time instead of having to hold the back button for 5 seconds lol. Along with delete some system apps that I have no need for...and add a modded sysctl file for battery life. And I do this all by flashing one file.

But I usually have to add a couple build.prop tweaks that I like to use by hand. I was wondering if anyone knew if it was possible to add build.prop lines via the updater script? Then I would truly be able to flash the new versions of CM Nightlies with absolute ease

This may sound weird, but it would serve me a great purpose. I flash the newest CM Nightly about every 3 or 4 days. So I made my own flashable zip file that adds a few init.d tweaks and flashes a framework-res that I modded to get rid of that stupid CRT animation and shortens the "hold back to kill" timeout to an actual usable amount of time instead of having to hold the back button for 5 seconds lol. Along with delete some system apps that I have no need for...and add a modded sysctl file for battery life. And I do this all by flashing one file.

But I usually have to add a couple build.prop tweaks that I like to use by hand. I was wondering if anyone knew if it was possible to add build.prop lines via the updater script? Then I would truly be able to flash the new versions of CM Nightlies with absolute ease

any help is appreciated

Click to expand...

A: Yes .

Create a script file (say, "upd-build-prop.sh") that will do the updates (something like: echo new-prop=value >> /system/build.prop) and place it in the top-level of your update.zip file.

Then, in your updater-script, extract your script and then use run_program function to execute that script: