Originally Posted by shadowcore
Could someone tell me why the hell the Android kernel or shell need to communicate with the internet? I have installed a firewall in my phone and I waas disturbed to find out that for some reason, android shell and kernel have access to internet.
FYI, I use the firewall to prevent suspicious applications from communicating with the internet, and keep them isolated.
Of course, I have denied access to the kernel and shell, and everything seems to be working fine.
I currently run android 4.2.2 cyanogenmod 10.3 on a LG optimus 4x.
Kernel has internet access, well because you want your device to internet access. The kernel pretty much has access to everything (outside of things lower than it. Kernel is the heart of the OS.
Shell user itself doesn't automatically have internet access, however when using adb shell one of the permissions granted to it is the internet permission (see /etc/permissions/platform.xml or on newer devices Shell.apk/AndroidManifest.xml). This is needed for debugging purposes mainly.