mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-11-06 19:31:10 +00:00
fix Magisk install on ODROID-N2/C4
add /dev/block/dtbs support
This commit is contained in:
@@ -109,7 +109,7 @@ case $((STATUS & 3)) in
|
||||
if [ -d $BACKUPDIR ]; then
|
||||
ui_print "- Restoring stock boot image"
|
||||
flash_image $BACKUPDIR/boot.img.gz $BOOTIMAGE
|
||||
for name in dtb dtbo; do
|
||||
for name in dtb dtbo dtbs; do
|
||||
[ -f $BACKUPDIR/${name}.img.gz ] || continue
|
||||
IMAGE=`find_block $name$SLOT`
|
||||
[ -z $IMAGE ] && continue
|
||||
|
||||
Reference in New Issue
Block a user