Thanks, I understand this.
However my curiosity in this topic got triggered by one application,
Ethernet Configuration, found in Android-x86 2.2 & 2.3 under Settings
category. This app can change the IP address. However on a typical
Linux PC it can be done (using ifconfig) only with admin/root
privileges.
Of course it has nothing to do with installing kernel modules, but
still it implies that an application can get root privileges. Isn't it
so?
I am anyway going to have a look at its code (http://www.android-
x86.org/screenshot).


On Apr 26, 12:36 am, Dianne Hackborn <[email protected]> wrote:
> Android currently doesn't support this.  Allowing third party apps to
> install kernel modules is Very Not Desireable in terms of the overall user
> experience.
>
> On Apr 25, 2011 3:34 PM, "Abhijit" <[email protected]> wrote:
>
>
>
>
>
> > Well, the intention may not be to attack with a malware or something,
> > but what if the phone supports some kind of hardware extension to
> > which a device is being attached which doesn't have a native support
> > in the form of a driver?
> > What if the phone can act as a USB host (like Nokia N8) and I am the
> > developer of a USB device and want to support my device on this phone?
> > Say I have a working Linux driver for my device and want that device
> > to work on this phone, then I might want to provide an APK which
> > installs the required driver. What other option do I have here?
>
> > On Apr 22, 1:03 am, Mark Murphy <[email protected]> wrote:
> > > 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/commonsguyhttp://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- Hide quoted text -
>
> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

-- 
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