I want to get the name USB module as i want to block loading of USB module in android
for the I am using lsmod to get list of loadable module and it is showing the following output
# lsmod
lsmod
bcm4329 204281 0 - Live 0xbf09e000
vpnclient 62940 1 - Live 0xbf000000
but how Can i Know which is USB Module from the above 2
Please help!!!
You will need recompile the kernel and disable all USB options. I’m fairly certain that USB support is compiled in and not set as a module. Note that “adb” uses USB, so by disabling USB you may have other problems. I.e. not able to obtain a remote shell to your phone.