We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 734f567 commit ad7e681Copy full SHA for ad7e681
extractor.sh
@@ -511,8 +511,9 @@ if $(7z l -ba "${romzip}" | grep -q radio.img); then
511
## Extract 'radio.img.sparse'
512
"${star}" "${PWD}/radio.img" ${PWD} 2>/dev/null
513
514
- ## Delete everything that's not 'NON-HLOS.bin'
515
- find "${PWD}/" -type f ! -name 'NON-HLOS.bin' -delete
+ ## Delete everything that's not 'NON-HLOS.bin' and 'fsg.mbn'
+ find "${PWD}/" -type f ! -name 'NON-HLOS.bin' -and ! -name 'fsg.mbn' -delete
516
+ mv ${PWD}/fsg.mbn ${outdir}/fsg.mbn
517
518
## Move 'NON-HLOS.bin' to 'radio.img.sparse'
519
mv "${PWD}/NON-HLOS.bin" "${PWD}/radio.img.sparse"
0 commit comments