Skip to content

Instantly share code, notes, and snippets.

@dennisotugo
Last active May 22, 2020 23:09
Show Gist options
  • Save dennisotugo/5754676c90929e768a5a60fb43af876f to your computer and use it in GitHub Desktop.
Save dennisotugo/5754676c90929e768a5a60fb43af876f to your computer and use it in GitHub Desktop.
for f in *.tar; do tar xf $f; done
for f in *.tar.md5; do tar xf $f; done
lz4 -dm *.lz4
adb reboot bootloader
heimdall flash \
--pit part.pit \
--BOOTLOADER sboot.bin \
--CM cm.bin \
--PARAM param.bin \
--UP_PARAM up_param.bin \
--KEYSTORAGE keystorage.bin \
--UH uh.bin \
--DTB dt.img \
--DTBO dtbo.img \
--BOOT boot.img \
--RECOVERY recovery.img \
--RADIO2 modem_5g.bin \
--RADIO modem.bin \
--DQMDBG dqmdbg.img \
--VBMETA vbmeta.img \
--SYSTEM system.img \
--VENDOR vendor.img \
--PRODUCT product.img \
--CACHE cache.img \
--OMR omr.img \
--CP_DEBUG modem_debug.bin \
--CP2_DEBUG modem_debug_5g.bin \
--USERDATA userdata.img \
--verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment