Question

I've download the ICS source and built it for my pandaboard. After installing ICS on the Pandaboard I realized it was not rooted.

Can someone guide me as to how to root the ICS on pandaboard? I'm okay with having to change the kernel source but I suspect there must be an other way.

Basically I have an app that needs to execute a command that requires superuser permissions so I need superuser access on my pandaboard.

Was it helpful?

Solution

If you know how to build AOSP source tree you should be able to edit the ./system/core/rootdir/init.rc file and adjust permissions. For example, to get console root access you need to edit the "service console /system/bin/sh" section and change user and group to root.

service console /system/bin/sh
    class core
    console
    disabled
    user root
    group root

After this you can rebuild your boot image to update your ramdisk with new init.rc. Just run make bootimage, and upload newly created boot image with the fastboot to your PandaBoard SD card.

fastboot flash boot

Make sure you put your PandaBoard into fastboot mode.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top