开发者

a way to edit udev rules on Android device?

开发者 https://www.devze.com 2023-03-06 03:41 出处:网络
Does anyone know if it is possible to add udev rules on an Android device?Not talking about udev rules on my host machine, but about udev rules on the actual Android device.I could not find a udev fol

Does anyone know if it is possible to add udev rules on an Android device? Not talking about udev rules on my host machine, but about udev rules on the actual Android device. I could not find a udev folder anywhere on my Droid phone, and if I create an /etc/udev directory with an /etc/udev.conf config file with rules in /etc/udev/rules.d/* ... it does not seem to actually do an开发者_C百科ything. It seems to ignore any rules that I create.


Android's flavor of the Linux kernel does not use udev; it appears to have been branched from main before udev was stable. Instead, I believe it uses some script called MAKEDEV.

This may not be the case with newer phone kernels, but I cannot speak for them as I don't have experience with them.

0

精彩评论

暂无评论...
验证码 换一张
取 消