When building Android 13 ‘user’ firmware with
BOARD_SELINUX_ENFORCING := true and removing root, su
then the USB ports and wifi doesn’t work.
Wifi can see the networks but can’t connect.
I also removed the kernel and system SELInux always open commits.
Anyway to solve it and build a secure ‘user’ firmware?
@william.lin
Hi, if you can perhaps find a solution for Selinux USB & Wifi, it might be the better option. User firmware provides better compatibility for apps and certain apps also check userdebug or root and then don’t run. User also has better security than userdebug. If possible also test Android 14 ‘user’ firmware, I want to move to it when available instead of building Android 13.
I plan to release custom, optimized firmware on the forum.
Please also test mp4 bootvideo on Android 14 ‘user’ instead of ‘userdebug’ firmware. Bootvideo doesn’t work on Android 13 ‘user’ firmware, also some selinux problem.