Files
xml-servicefile-parser/README.md

22 lines
652 B
Markdown
Raw Normal View History

2019-06-25 19:44:16 +05:30
# xml-servicefile-parser
2019-06-25 23:54:12 +05:30
2021-05-06 12:36:25 +05:30
Parse `servicefile.xml` from stock Android pieces to create a script to restore to stock.
> Remember to *inspect* the created scripts before actually running them.
2019-06-25 23:54:12 +05:30
## Executable
### Building
2021-05-06 12:36:25 +05:30
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
2019-06-25 23:54:12 +05:30
### Usage
1. Place alongside `servicefile.xml`.
2021-05-06 12:36:25 +05:30
2. Run executable.
> Be aware that the default executable creates `serviceScript.sh` and `serviceScript.bat`, so don't have any files of that name already.
3. Inspect the scripts and use them as required.