Click here to Skip to main content
15,879,613 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have to root android emulator. I've found some articles, but I've got the same error every time! It's 'cannot create su: Out of memory'!
What I did:
1. adb push su /data/local
2. adb shell 
3. #su
4. #mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
5. # cd /system/xbin
6. # mv su osu
7. # cat /data/local/su > su // I've got an error!!! Cannot create su: Out of memory!

What do I wrong?
Updated 27-Sep-11 5:10am

Share this answer
_Ares!!! 28-Sep-11 8:01am    
Thanks for your answer, Daren. But if you could see I have an error when I push any file into /system/xbin!!!
I've got answer on my question! I must run an android emulator with -partition-size 128 option. It should look like below:
android-sdk-windows\tools\emulator -avd MyAndroidVirtualDeviceName -partition-size 128

After that I can root my emulator.
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