dependabot[bot] 3ffe678d57 Bump simple-get from 3.1.0 to 3.1.1
Bumps [simple-get](https://github.com/feross/simple-get) from 3.1.0 to 3.1.1.
- [Commits](https://github.com/feross/simple-get/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: simple-get
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-31 11:14:18 +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%