Thank you
@Linux4 for this great work, I just installed and works like a charm.
One problem though: disk encryption.
I'm entering a rabbit hole of encryption on Android now. I was not aware that Android 10+ enforces FBE (File-Based Encryption) as opposite as FDE (Full-Disk Encryption). I never realized it because this is not the case on older devices, even if on Android 11, that probably do not have storage and power to support FBE and therefore fallback to FDE, and I was using an older phone before. From what I read, I think FBE looks like a really bad idea that sacrifices user's control on data privacy in exchange for silly amenities such as being able to use the phone as an alarm or for emergency calls even if powered off and rebooted by an unauthorized person.
The build in this thread adopts FBE natively, in fact my beyond0lte came out already encrypted just by installing the ROM (I found no way of disabling it). And this is, I'm sure, also the core reason why you cannot use TWRP with this build. But, most critically, the problem is that native FBE does not seem to allow to have two different passwords, one to insert only one time when the phone boots up, and one (like a PIN or fingerprint) to unlock the screen. This is a very desirable security feature that, I suspect, is not in the best interest of Google&friends to let you have.
Now, I have questions:
1) would it be possible to have this build without FBE enabled? So that if you want it you need to go in Settings -> Security and enable it yourself?
2) Is it possible to undo FDE on this build? Clearly not from the UI, but maybe with a rooted terminal, e.g., Magisk + Termux?
3) A bit off-topic but... If necessary to use FBE, is it at least possible to disable Direct Boot and have two different passwords, one to insert only one time when the phone boots up, and one (like a PIN or fingerprint) to unlock the screen? See this for refrence:
http://www.gagliardoni.net/#android_dual_cryptfs_dec_2020