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..!!
 
Back