include packaging changes
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,6 +1,5 @@
|
||||
# Builds
|
||||
index-*
|
||||
index.exe
|
||||
# Service Files
|
||||
servicefile.xml
|
||||
serviceScript.*
|
||||
|
13
README.md
13
README.md
@@ -1,2 +1,15 @@
|
||||
# xml-servicefile-parser
|
||||
|
||||
Parse servicefile.xml from stock Android pieces to create a script to restore to stock
|
||||
|
||||
## Executable
|
||||
|
||||
### Building
|
||||
|
||||
1. `npm i`
|
||||
2. `npm run package`
|
||||
|
||||
### Usage
|
||||
|
||||
1. Place alongside `servicefile.xml`.
|
||||
2. Run executable or `node test`, if using source.
|
||||
|
@@ -4,7 +4,8 @@
|
||||
"description": "Noob script to create scripts onn servicefile.xml",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "node ."
|
||||
"test": "node .",
|
||||
"package":"pkg index.js --out-path build/"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@@ -1,23 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Generated for ahannah
|
||||
fastboot getvar max-sparse-size
|
||||
fastboot oem fb_mode_set
|
||||
fastboot flash partition gpt.bin
|
||||
fastboot flash bootloader bootloader.img
|
||||
fastboot flash modem NON-HLOS.bin
|
||||
fastboot flash fsg fsg.mbn
|
||||
fastboot erase modemst1
|
||||
fastboot erase modemst2
|
||||
fastboot flash dsp adspso.bin
|
||||
fastboot flash logo logo.bin
|
||||
fastboot flash boot boot.img
|
||||
fastboot flash recovery recovery.img
|
||||
fastboot flash system system.img_sparsechunk.0
|
||||
fastboot flash system system.img_sparsechunk.1
|
||||
fastboot flash system system.img_sparsechunk.2
|
||||
fastboot flash system system.img_sparsechunk.3
|
||||
fastboot flash system system.img_sparsechunk.4
|
||||
fastboot flash vendor vendor.img
|
||||
fastboot flash oem oem.img
|
||||
fastboot erase DDR
|
||||
fastboot oem fb_mode_clear
|
Reference in New Issue
Block a user