diff --git a/AGENTS.md b/AGENTS.md index c0a3f8e..99daa96 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -13,8 +13,9 @@ Three repos cooperate: | `rubenslte/android_kernel_samsung_rubenslte` | Samsung msm8226 stock kernel, built from source | This drive builds from **source**: kernel, dt.img and ramdisk are all produced, -never prebuilt. The artifact is `recovery.img` (currently 10,366,992 bytes, -TWRP 3.7.0_9-0) and has passed on-device tests on real hardware. +never prebuilt. The artifact is `recovery.img` (currently 10,479,632 bytes with +the full 19-language pack set, TWRP 3.7.0_9-0) and has passed on-device tests +on real hardware. ## Commands @@ -52,8 +53,9 @@ Verification without nix (cheap): `bash -n build_twrp.sh`. the include-order reasoning. - **`mkbootimg.mk`**: the dt.img rule depends on `INSTALLED_KERNEL_TARGET` (not `TARGET_PREBUILT_INT_KERNEL`), and the recovery-ramdisk override - (drop tzdata, keep only en/pl languages, **LZMA** compression) is what keeps - the image under the 10,485,248-byte partition. Changing compression or adding + (drop tzdata + f2fs tools, **LZMA** compression) is what keeps the image + under the 10,485,248-byte partition. All 19 common TWRP language packs are + shipped as-is (10,479,632 packed). Changing compression or adding `twres/`/`system/` files can overflow it — always re-check image size. - **F2FS is off.** The kernel has no F2FS driver. Never re-add `TARGET_USERIMAGES_USE_F2FS`. `mkbootimg.mk` also deletes the f2fs tools from