Language: 日本語
This repository contains an ARMv7 payload that provides arbitrary code execution on MediaTek bootloaders (LK).
[!CAUTION] If you don't know what you're doing, you can brick your device. This is not a beginner's project. Please READ THE DOCUMENTATION carefully and understand the implications of modifying your bootloader.
Given a bootloader image, this tool will output a patched version that can be flashed to the device. The patched image will contain a custom payload that allows you to run arbitrary code during the boot process.
Things to keep in mind:
The following list showcases the most common use cases for kaeru:
... and much more!
An elaborate wiki with multiple guides and notes has been provided to help you understand how kaeru works. Please refer to it to learn how to build, add support for a new device, and more:
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).
Key points to be aware of:
AGPL-3.0) when redistributing modified versions.For full details, please refer to the LICENSE file.
@R0rt1z2) (roger@r0rt1z2.com)@AntiEngineer) (me@antiengineer.com)@shomykohai) (git@itssho.my)Some of the Makefile and build-related scripts were adapted from the Linux kernel source code.
Linux which is licensed under the GNU General Public License v2.
© The Linux Foundation and contributors.
Original source: https://github.com/torvalds/linux
This project includes nanoprintf, a minimal implementation of printf-style formatting designed for embedded systems.
nanoprintf is dual-licensed under the Unlicense and the Zero-Clause BSD (0BSD).
© 2019 Charles Nicholson.
Original source: https://github.com/charlesnicholson/nanoprintf
This project includes libsej, a library for interacting with MediaTek's Security Engine (SEJ/HACC) hardware.
libsej is licensed under the GNU General Public License v3.
© 2024 B.Kerler, 2025 Shomy.
Original source: https://github.com/shomykohai/mtk-payloads/tree/main/libsej
This software is provided "as is" without any warranty of any kind, express or implied. By using this tool, you acknowledge that:
Proceed only if you fully understand the risks and implications.
C
84.2%
C++
4.2%
Makefile
3.1%
Python
3.0%
Assembly
1.9%
Yacc
1.3%
Language: 日本語
This repository contains an ARMv7 payload that provides arbitrary code execution on MediaTek bootloaders (LK).
[!CAUTION] If you don't know what you're doing, you can brick your device. This is not a beginner's project. Please READ THE DOCUMENTATION carefully and understand the implications of modifying your bootloader.
Given a bootloader image, this tool will output a patched version that can be flashed to the device. The patched image will contain a custom payload that allows you to run arbitrary code during the boot process.
Things to keep in mind:
The following list showcases the most common use cases for kaeru:
... and much more!
An elaborate wiki with multiple guides and notes has been provided to help you understand how kaeru works. Please refer to it to learn how to build, add support for a new device, and more:
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).
Key points to be aware of:
AGPL-3.0) when redistributing modified versions.For full details, please refer to the LICENSE file.
@R0rt1z2) (roger@r0rt1z2.com)@AntiEngineer) (me@antiengineer.com)@shomykohai) (git@itssho.my)Some of the Makefile and build-related scripts were adapted from the Linux kernel source code.
Linux which is licensed under the GNU General Public License v2.
© The Linux Foundation and contributors.
Original source: https://github.com/torvalds/linux
This project includes nanoprintf, a minimal implementation of printf-style formatting designed for embedded systems.
nanoprintf is dual-licensed under the Unlicense and the Zero-Clause BSD (0BSD).
© 2019 Charles Nicholson.
Original source: https://github.com/charlesnicholson/nanoprintf
This project includes libsej, a library for interacting with MediaTek's Security Engine (SEJ/HACC) hardware.
libsej is licensed under the GNU General Public License v3.
© 2024 B.Kerler, 2025 Shomy.
Original source: https://github.com/shomykohai/mtk-payloads/tree/main/libsej
This software is provided "as is" without any warranty of any kind, express or implied. By using this tool, you acknowledge that:
Proceed only if you fully understand the risks and implications.
C
84.2%
C++
4.2%
Makefile
3.1%
Python
3.0%
Assembly
1.9%
Yacc
1.3%