13f3c4ac4d05e3c00f174e81da58533c6fa08a8f
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) - [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3) --- updated-dependencies: - dependency-name: braces dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
xml-servicefile-parser
Parse servicefile.xml
/flashfile.xml
from stock Android pieces to create a script to restore to stock.
Remember to inspect the created scripts before actually running them.
NPM
Usage
Executable
Building
npm i
-> This will install the dependencies- Edit
settings.json
accordingly. npm run pkg
-> This will package the application with the configured settings.json
Usage
Option 1
- Place alongside
servicefile.xml
. - Run executable. On Windows, double click. On Linux, do
chmod +x <filename>
then./<filename>
Be aware that the default executable creates
serviceScript.sh
andserviceScript.bat
, so don't have any files of that name already.
- Inspect the scripts and use them as required.
Option 2
- Run it passing the filename as the second argument
Languages
JavaScript
100%