dependabot[bot] 42ce1dbacb Bump minimist from 1.2.5 to 1.2.8
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8.
- [Release notes](https://github.com/minimistjs/minimist/releases)
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/minimistjs/minimist/compare/v1.2.5...v1.2.8)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 02:28:39 +00:00
2021-05-06 12:36:25 +05:30
2022-01-30 13:45:12 +05:30
2019-06-25 19:44:16 +05:30
2022-01-30 13:54:34 +05:30
2019-06-25 23:40:01 +05:30

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

  1. npm i -> This will install the dependencies
  2. Edit settings.json accordingly.
  3. npm run pkg -> This will package the application with the configured settings.json

Usage

Option 1

  1. Place alongside servicefile.xml.
  2. Run executable. On Windows, double click. On Linux, do chmod +x <filename> then ./<filename>

Be aware that the default executable creates serviceScript.sh and serviceScript.bat, so don't have any files of that name already.

  1. Inspect the scripts and use them as required.

Option 2

  1. Run it passing the filename as the second argument
Description
Parse Android image package servicefile.xml into an executable script for device flashing
Readme MIT 94 KiB
Languages
JavaScript 100%