how to root/get root access in android emulator?

Discussion in 'Android Hacks and Help' started by preetb123, Feb 23, 2011.

  1. preetb123
    Offline

    preetb123 New Member

    Joined:
    Feb 13, 2011
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    0
    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..!!
  2. DaSnOoTeRKiNG
    Offline

    DaSnOoTeRKiNG New Member

    Joined:
    Feb 19, 2011
    Messages:
    112
    Likes Received:
    1
    Trophy Points:
    0
    You have to root your phone try super one click works plush then you can do whatever you want in the terminal
  3. jeffv2
    Offline

    jeffv2 Developer Developer

    Joined:
    Dec 23, 2010
    Messages:
    1,240
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    south jersey
    super one click wont work for emulator. the su binary for android phones is different then what is used in the emulator.
  4. DaSnOoTeRKiNG
    Offline

    DaSnOoTeRKiNG New Member

    Joined:
    Feb 19, 2011
    Messages:
    112
    Likes Received:
    1
    Trophy Points:
    0
    Sorry misunderstood I thought he was askin why he couldn't get su perm in terminal emu app.............
  5. jeffv2
    Offline

    jeffv2 Developer Developer

    Joined:
    Dec 23, 2010
    Messages:
    1,240
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    south jersey
    no problem, you meant well thats all that matters.
  6. Xplorer4x4
    Offline

    Xplorer4x4 New Member

    Joined:
    Mar 9, 2010
    Messages:
    1,005
    Likes Received:
    4
    Trophy Points:
    0
    Location:
    Evansville,IN
  7. preetb123
    Offline

    preetb123 New Member

    Joined:
    Feb 13, 2011
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    0
    thanks everyone for giving time.

    Emulator cant be rooted. it can be rooted temporarily by remounting and the root is not persistent, it goes off at the next reboot.
    And also, i need root to perform system level operations and to deal with iptables.
    now i test with temporary root. thanks you.
  8. jeffv2
    Offline

    jeffv2 Developer Developer

    Joined:
    Dec 23, 2010
    Messages:
    1,240
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    south jersey
    you could set ro.secure in the default prop to =0

    "ro.secure=0"

    at least i think so
  9. preetb123
    Offline

    preetb123 New Member

    Joined:
    Feb 13, 2011
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    0
    where is "ro.secure", meaning in which file..?
Search tags for this page

android emulator root

,
android root emulator
,
android root on pc emulator
,
get root on android emulator
,
how to gain root access on android emulator 2.3.3
,
how to root an android 4.1 emulator
,

how to root android emulator

,
how to root android sdk emulator
,
how to root emulator
,

root android emulator

,
root android emulator 4.1
,
root emulator
,
root emulator android
,
root nexus one using terminal emulator
,
rooting android emulator