LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, LiMo, Maemo, MeeGo, Openmoko, Ubuntu Mobile, WebOS, Firefox OS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices

Reply
 
LinkBack Search this Thread
Old 02-23-2011, 11:28 AM   #1
preetb123
LQ Newbie
 
Registered: Jan 2011
Posts: 28

Rep: Reputation: 0
how to root/get root access in android emulator?


Hi all,

I have All android SDK versions(from 1.5 to 2.3.3), and i tried many methods for getting root in android emulator. I don't use any android device and test everything on emulator(AVD).

below are my android versions and emulator specification::

Android SDK Version 1.5:
Kernel Version:
2.6.27-00110-g132305e
mikechan@cheetara #6
Build Number:
sdk-eng 1.5 CUPCAKE 150240 test-keys

Android SDK Version 1.6:
Kernel Version:
2.6.29-00177-g24ee4d2
veenstra@jackv)
Build Number:
sdk-eng 1.6 Donut 20842 test-keys


Android SDK Version 2.1 update1:
Kernel Version:
2.6.29-00261-g0097074
digit@digit#14
Build Number:
sdk-eng 2.1-update1 ECLAIR 35983 test-keys


Android SDK Version 2.2:
Kernel Version:
2.6.29-00261-g0097074-dirty
digit@digit#20
Build Number:
sdk-eng 2.2 FRF91 43546 test-keys

Android SDK Version 2.3.3:
Kernel Version:
2.6.29-00261-g0097074-dirty
digit@digit#20
Build Number:
sdk-eng 2.3.3 GRI34 101070 test-keys

I need to get root access in any one of the android emulator to use the 'iptables' and 'busybox' functionality. And to use iptables i must have root access. Atleast 'su' command should execute in the terminal emulator.

I also installed 'z4root' application, but it takes very long time and doesn't finish rooting, and gets stuck. some say that if we downgrade the system to below RC30, this way we can get root access...if this is true, then how to do this, i use both linux and windows OS.

please someone tell me any method to root my emulator...

i, very urgently need this. please please help.....


Thank you very much..!!
 
Old 02-24-2011, 08:26 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,850

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
You should always have root level permissions when running in the emulator, so I'm not sure what the problem would be. What kind of error messages are you getting when you try to do something that needs root?
 
Old 02-25-2011, 12:15 AM   #3
preetb123
LQ Newbie
 
Registered: Jan 2011
Posts: 28

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by MS3FGX View Post
You should always have root level permissions when running in the emulator, so I'm not sure what the problem would be. What kind of error messages are you getting when you try to do something that needs root?
No, we don't have root permissions when running emulator. when i type "whoami", it says 'Permission Denied' and same message for "su" i.e: 'uid 10024 not allowed to su'. I think this can be achieved using downgrading the emulator, please help if you know anything regarding how to downgrade or any other way to get root access..please help. thankyou.
 
  


Reply

Tags
busybox, emulator, iptables, root


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"how to get root access in android phone emulator" preetb123 Linux - Mobile 3 02-19-2011 06:25 AM
[SOLVED] How to allow access to some commands having root privleges to be run bu non root user suryashikha Linux - Newbie 8 10-31-2009 01:05 PM
LXer: Developers Find Root Access to Android G1 LXer Syndicated Linux News 0 11-06-2008 08:50 PM
why can't root level access do everything root account can do? newbiesforever Linux - General 6 09-22-2008 10:02 AM
[SOLVED] Disable remote root access but allow local root access-- possible? bskrakes Linux - Security 3 03-03-2008 12:15 PM


All times are GMT -5. The time now is 08:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration