Skip to content

Instantly share code, notes, and snippets.

@cetinajero
Last active September 4, 2023 15:56
Show Gist options
  • Save cetinajero/52024c5afa112b74ca323a5c96b56767 to your computer and use it in GitHub Desktop.
Save cetinajero/52024c5afa112b74ca323a5c96b56767 to your computer and use it in GitHub Desktop.
MTKLogger export script
adb devices
@echo "Downloading mtklog"
adb pull /mnt/sdcard/mtklog mtklog
adb pull /mnt/sdcard0/mtklog mtklog
adb pull /mnt/sdcard2/mtklog mtklog
adb pull /storage/sdcard1/mtklog mtklog
@echo "Downloading trace"
adb pull /data/anr mtklog/anr
@echo "Downloading data aee db"
adb pull /data/aee_exp mtklog/data_aee_exp
adb pull /data/vendor/mtklog/aee_exp mtklog/vendor_aee_exp
@echo "Downloading core"
adb pull /data/core mtklog/data_core
@echo "Downloading tombstones"
adb pull /data/tombstones mtklog/tombstones
@echo "Finished"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment