c257c6be3298e40897a642f72a2602879706c8b0
Bump xml2js from 0.4.23 to 0.5.0
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.jsonaccordingly. 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.shandserviceScript.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%