I really like my linux setup and workflow and would love to implement that for my phone too.
This means, that I want full disk encryption as well as root access.
As far as I know, there’s no android “distro” providing this yet, so I have to build this myself.
My current approach would be to modify LOS to only include the following partitions into the vbmeta struct:
- boot
- kernel (could also go into the super partition if possible)
- recovery
The other partitions would be in the super partition, which is encrypted using LUKS.
The attached image is a diagram of what I was thinking about.
Some Questions:
- Is it possible to render a UI and get user input in the bootloader?
- How big is the possibility that I brick my phone (Fairphone 5) when messing around with the bootloader?
- Are there any restrictions, which partitions can be part of the super partition?
- Are there any breaking challenges when building this for A/B partitioning? (didn’t dive into that yet)
- Do you have any helpful resources on the topics of this post except these android docs?
- Is it possible to disable FBE as it is not needed in an FDE environment?
I’ve roundabout 5 years of software development experience and think that I’d might be able to build something like that.
But when it comes to ROM development my experience sums up to only one failed try to port lineage to a device,
so I’m reaching out to you people to ask if I’m overseeing things or if there are any pitfalls I should be aware of.
Thanks in advance for any answers 🙂
(already asked this question on XDA -> thread)
As these are questions, this section is empty.
antifallobst is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.