Custom bootloader (kaeru)
info
Thanks to Roger Ortiz for developing the payload for our bootloader!
The custom bootloader protects the device from Hard Brick by preventing critical operations such as flashing the preloader and locking the bootloader without restoring the original firmware.
In addition, it extends the functionality by adding new options for customizing and managing the system.
It was originally developed for penangf (Moto G13/G23), but was ported for fogorow keeping all functionality and adding new functionality specific to our device.
Features​
- Blocks
fastboot flash preloader - Removes orange state
- Bootloader lock state spoofing
- Block
fastboot flashing lock - Adds
fastboot oem help - Adds
fastboot oem hexdump
Specific features, only for our device​
- The bootloader auto-lock security feature has been removed
- Preventing factory mode
- Fuse check
- Added ability to flash any partition
Install​
warning
Initial installation requires penumbra or mtkclient.
To upgrade or rollback to another version of kaeru you can use penumbra or fastboot
Prebuild images​
kaeru v2.0.0
Manually build​
- Download your current firmware archive from lolinet
- Clone repository kaeru
- Transfer the
lk.imgfile from the firmware archive to thekaerudirectory - Enter docker container (installation guide here
$ ./docker_run.sh - Build payload
$ ./build.sh fogorow lk.img - Flash the patched bootloader
# With fastboot
$ fastboot flash lk_a fogorow-kaeru.bin
$ fastboot flash lk_b fogorow-kaeru.bin
# With penumbra
$ antumbra -d DA_fogorow.bin w lk_a fogorow-kaeru.bin
$ antumbra -d DA_fogorow.bin w lk_b fogorow-kaeru.bin