Edge2 - Wifi, USB Not Working

Hi

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?

I sent a DM with firmware.

@goenjoy @xiong.zhang

Hi @mo123 Is it normal to use the userdebug version?
The user version needs to modify the Te file and add relevant selinux permissions.

@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.

@mo123
Okay, we will test this issue on Android 14.

@william.lin

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.

@william.lin Is this perhaps fixed in Android 14?