Skip to content

Instantly share code, notes, and snippets.

View tomasz1986's full-sized avatar

Tomasz Wilczyński tomasz1986

  • Kraków, Poland
  • 20:25 (UTC +01:00)
View GitHub Profile

Fix magisk stock backup does not exist

# put stock boot.img into /sdcard/boot.img

# get sha1
adb shell
su
SHA1=$(cat $(magisk --path)/.magisk/config | grep SHA1 | cut -d '=' -f 2)