How to write a script that removes a certain set of apps everytime you flash an update file?
I tried pm disable &lt;app&gt;, pm hide &lt;app&gt;, and pm block &lt;app&gt; – but all of them spew out error messages. But when I tried pm disable-user &lt;app&gt; it works! And the changes persists after reflashing, so that's great! I don't need to write a script after all!