Click here to Skip to main content
15,916,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm using android 4.2 emulator (Jelly Bean). Now I need to root my emulator. I wrote following code in command prompt but didn't catch any positive result (the emulator did not root). How do I do it?
adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system
adb push su /system/xbin/su
adb shell chmod 06755 /system
adb shell chmod 06755 /system/xbin/su
adb install superuser.apk
Posted
Updated 12-Aug-13 21:07pm
v2

 
Share this answer
 
Comments
Verya Heydari 13-Aug-13 4:10am    
I wrote following command because I've got the same error every time! It's 'cannot create su: Out of memory'!. But I don't find this path:'android-sdk-windows\tools\emulator' in my pc. Moreover avd command is not recognized. please help )-:
Code:'android-sdk-windows\tools\emulator -avd MyAndroidVirtualDeviceName -partition-size 128'
youu arree coool but i aamm coooler muhahha yes it works, but i dont know howw hahaha
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900