On Thu, Apr 21, 2011 at 7:06 AM, Nagesh A <[email protected]> wrote:
> I have a requirement to install kernel module (module.ko) from the
> application (say setup.apk file).

Fortunately, this should be impossible. Kernel modules are part of the
firmware, and random people writing random applications cannot attack
Android users' devices this way.

> For this, I am planning to invoke shell commands insmod/rmmod from the
> application.  But, insmod/rmmod commands need ROOT access to execute.

And they may not exist on any given device.

> Is it possible to get root access from application level?

Not from an ordinary SDK application on an ordinary (un-rooted) device.

> Is there any other way to do this work?

Write your own firmware.

> Further, I have gone through google groups mailing lists, and found
> some of them
> are saying its not possible to get root permissions from application
> level.

Correct.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 3.0 Programming Books: http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to