6a555c7fbc35bcc33958cb9f24caeb4751af752c
Bumps [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) from 0.4.23 to 0.5.0. - [Release notes](https://github.com/Leonidas-from-XIV/node-xml2js/releases) - [Commits](https://github.com/Leonidas-from-XIV/node-xml2js/commits/0.5.0) --- updated-dependencies: - dependency-name: xml2js dependency-type: direct:production ... 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%