| drawmem.sh | first commit | |
| overwrite_screens.sh | first commit | |
| README.md | Update README.md | |
| stitch.sh | first commit | |
some very crude scripts I wrote from reverse engineering mudita os
Requirements:
* MuditaKompakt on 1.1.1 with unlocked bootloader and AVB disabled
* Linux machine with ffplay aik mtkclient gimp programs
- Use gimp to generate useable images. export 480x800 image as RGBA 8-bit
- Use mtkclient to dump the boot img. Make a backup of every partition first to be safe
- Use aik to unpack/repack kernel from boot img
- aik has an aur package for arch users
overwrite_screens.sh
* replaces boot, lock, poweroff, and low battery screens from an unpacked kernel image
* Use mtkclient to dump the boot.img and use AIK to unpack/repack the kernel partition
* usage: ./overwrite_screens.sh <BOOT_SCREEN> <LOW_BATTERY_SCREEN> <POWEROFF_SCREEN> <LOCKSCREEN> <K_IMG>
stitch.sh
* replaces data at address with provided image. Use this if you dont want to replace all 4 images
drawmem.sh
* renders an image of <HEIGHT>/<WIDTH> at <ADDRESS> from kernel img <K_IMG> using ffplay
* usage: ./drawmem.sh <K_IMG> <ADDRESS> <IMAGE_SIZE> <WIDTH> <HEIGHT>