Skip to content

Commit

Permalink
Add make_backup.sh
Browse files Browse the repository at this point in the history
This will make a backup zip that contains folder that you need to put in /data folder
  • Loading branch information
Taewan-P committed Oct 2, 2021
1 parent 8abb677 commit e62ff0a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions make_backup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

LOCSHA1=`./magiskboot sha1 boot.img`
mkdir magisk_backup_${LOCSHA1}
cp boot.img magisk_backup_${LOCSHA1}/boot.img
gzip -9f magisk_backup_${LOCSHA1}/boot.img
zip backup.zip magisk_backup_${LOCSHA1}/*

0 comments on commit e62ff0a

Please sign in to comment.