Grant sdcard_r to ril-daemon.

Bug: 6793799
Change-Id: Ife23c98c30d7b08479d75798c7075005bf281119
merge in jb-mr0-release history after reset to jb-dev
Mount/unmount filesystems before running e2fsck

This works around a performance problem in the firmware of
some emmc chips.

Change-Id: Ia414b4604d11e47ce9cb3f86ac82602e081bb09e
merge in jb-mr0-release history after reset to jb-dev
Merge android-4.1.2_r1
Use inet_ntoa to display ipaddr and mask values

Signed-off-by: Chris Dearman <chris@mips.com>
Change-Id: Iee72a6b987e4ec1c720e925b59e9e2631ae978e5
Close adb_usb.ini after reading it

Change-Id: I449e4a4c93385d9f18f5087547b2686f3eaafb89
Signed-off-by: Chris Dearman <chris@mips.com>
Remove dependence on system pagesize

Signed-off-by: Chris Dearman <chris@mips.com>