how to root/get root access in android emulator?
This is a discussion on how to root/get root access in android emulator? within the Droid Development forums, part of the Droid Hacking category; 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 ...
-
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..!!
-
-

Originally Posted by
preetb123
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..!!
the emulator is already "rooted" so to say. with adb you can type adb remount & that remounts system r/w. then you can push busybox to /system/bin or /system/xbin & change the permissions
-
this didn't work. i tried. says, "Permission Denied." i want to use iptables on emulator, so, in the emulator terminal "su" should return some result other than "uid not allowed to su"
Last edited by preetb123; 02-26-2011 at 10:58 PM.
-
thats impossible. are you trying to use the honeycomb preview to do this?
-

Originally Posted by
jeffv2
thats impossible. are you trying to use the honeycomb preview to do this?
sorry, i might have done some mistakes before... actually remounting worked on my android 1.5 emulator yesterday, and also "su" worked in the terminal emulator.
Will this work for other versions(above 1.5) too?
and one more problem is, when i pushed iptables binary into andriod, the following error appeared for "su iptables -L"
"can't open iptables"
what might be the problem? and what will i have to do to use iptables?
and, thankyou very much for help.!!
-
where did you get the iptables executable?
Last edited by jeffv2; 03-01-2011 at 02:52 PM.
-

Originally Posted by
jeffv2
where did you get the iptables executable?
i took iptables from droidwall source from code.google.coom(in this iptables binary is a 104KB file). i used this just for testing.
but actually i have to cross-compile iptables for ARM architecture with BuildRoot and then use the binary that will be generated(i have not done this yet, i'll try it today).
but rooting using remounting will work for versions higher than 1.5?
-
its not really rooting its just mounting the /system read write & yes it has to be compiled for arm.. but if you got it from something called droid wall then maybe its already compiled for arm ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Similar Threads
-
By babyman287 in forum Droid Development
Replies: 61
Last Post: 03-20-2011, 02:00 PM
-
By preetb123 in forum Pending Submissions / Questions
Replies: 0
Last Post: 02-23-2011, 10:35 AM
-
By preetb123 in forum Android Forum
Replies: 0
Last Post: 02-23-2011, 10:32 AM
-
By koralyne in forum Droid Incredible Hacks
Replies: 3
Last Post: 02-06-2011, 10:54 AM
-
By skuzmanic in forum Droid Hacks
Replies: 5
Last Post: 04-20-2010, 02:13 PM
Search tags for this page
android avd root
,
android not allowed to su
,
android terminal emulator access denied
,
android terminal emulator permission denied
,
android terminal emulator root access
,
android terminal emulator su access denied
,
android uid not allowed to su
,
avd root
,
how to root avd
,
root avd
,
su access denied
,
su access denied android
,
terminal emulator access denied
,
uid not allowed to su
,
uid not allowed to su android
Click on a term to search our site for related topics.
Tags for this Thread