dependabot[bot] 13f3c4ac4d Bump braces from 3.0.2 to 3.0.3
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>
2024-10-31 11:14:15 +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
2023-04-11 21:10:37 +00:00
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%