rey-early/twrp_device_infinix_X6886 — reverse-engineered prompt

Reverse engineered prompt

I want a working custom recovery device tree for the Infinix Hot 60 Pro Plus X6886, basically an OrangeFox style recovery that can actually build and boot for this phone.

Please set it up so it matches the device properly, Android 12, MediaTek MT6789, arm64, vendor boot v4, virtual A and B with compression, dynamic partitions, and f2fs userdata. It should also handle modern encryption on userdata, including FBE v2 and inline encryption, so recovery support is realistic for the device instead of just producing a broken image.

Make sure the recovery config, init pieces, boot control parts, and any prebuilt or partition path utilities are wired together cleanly, and fix anything missing or inconsistent in the tree so the build flow works end to end. The goal is that I can sync the source, run the usual environment setup, lunch fox_X6886-eng, build recoveryimage, and get a usable recovery image for this exact model.

If anything is unclear, look up current OrangeFox and Android recovery docs online and fill in the gaps sensibly.

Want more depth? Deep Reverse