This post will help you to install the required Google Play Store, Superuser and Busybox binary in your Emulator.
Download the required files from the following URL
GOOGLE SERVICES– http://www.mediafire.com/download/7cps3k7qgyjcpsp/Google%20Services.zip
SUPERUSER BINARY– http://www.mediafire.com/download/bgy1et6e3vytge7/Superuser%2520binaries.zip
BUSYBOX BINARY– http://www.mediafire.com/download/mye5qcejxk54e6v/Busybox%2520binary.zip
The following urls contains a zip file which after extracting would find “install.bat” file. This bat file contains the necessary scripts for installing the corresponding apps and binaries.
The commands present in script file are given below.
1:Installing Google Play Store
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
adb shell chmod 777 /system/app
adb push GoogleLoginService.apk /system/app/
adb push GoogleServicesFramework.apk /system/app/
adb push Vending.apk /system/app/
adb shell rm /system/app/SdkSetup*
2:Installing Superuser binary
adb shell mount -o rw, remount -t yaffs2 /dev/block/mtdblock0 /system
adb push su /system/bin/
adb push Superuser.apk /system/app/
adb shell chmod 06755 /system/bin/su
3:Installing Busybox Binary
adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
adb push busybox /system/xbin/
adb shell chmod 06755 /system/xbin/busybox
Please note that once the emulator has been closed the the above files will be deleted. So again the process should be repeated when the emulator is started once again.
The Android is based on Linux kernel it consists of iptables included along with the android source. The iptables version included with the android source is 1.3.7 which is based on Linux kernel 2.6.29 . The iptables shipped with android has the same packet filtering capabilities as found in Linux kernel. But the device should have ROOT ACCESS in order to manipulate the iptables in android. Another issue with the android iptables binary is that it doesn‟t support entire iptables commands say for example commands like “iptables-save” which is used to save the current iptables rules set to file and later restored by using “iptables-restore” command. These commands are used to preserve the rules because iptables are not persistent the configurations are erased on system reboot. The commands supported by android iptables binary are append, delete, insert, replace, list, flush, zero, new, delete-chain, policy and rename-chain. More details can be found by typing the following shell command using adb interface (adb stands for Android Debug Bridge) after connecting a rooted android phone.
“adb shell iptables –help”
Type the following shell command to view the current version of iptables in your device
“adb shell iptables –version“
The latest versions of android based devices are capable to act as Wifi hotspot which uses iptables to work. There are also third party applications available in android market that can transform the device into Wifi hotspot.