Dragon0x1 Hello there, I am working on developing the GrapheneOS for a special purpose and we try to decrease the attack surface by disabling some features such as Bluetooth and NFC and remove some system applications. Now I am stuck at removing bluetooth from the OS itself anyone can help and If there are any resources for stuff like that please share
Dragon0x1 Dragon0x1 I know some sort of that services can be disabled using ADB but I need to remove it from the OS itself cuz it will be installed in many phones not only 1 or 2
Z3br4 Dragon0x1 Hey, I am also looking into disabling some features as part of a custom build and I was wondering if you made any progress regarding this. I would be very interested in anything that you might be able to share!
23Sha-ger Just disable them using the toggle, you are not decreasing any attack surface by removing core components from the system. You are probably increasing it, because it will mean you need to build your own system and keep it up to date.
DeletedUser557 Z3br4 I don't really know anything about programming, but Bluetooth in AOSP is handled by the Bluetooth stack, so presumably you could just remove that? Bluetooth stack The default Bluetooth stack is provided in AOSP and is located in packages/modules/Bluetooth/system. The stack implements the generic Bluetooth HAL and customizes it with extensions and configuration changes.
Z3br4 DeletedUser557 Thanks for the reply and taking the time to point me to the docs. I will definitely read up on that as well. In general though I was interested in any lessons learned that Dragon0x1 might be able to share regarding the whole process of not only removing features/customizing GrapheneOS but also maintaining and updating this build for a number of phones. Thanks again though!