• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Build Commando Specific Emulator

I need a emulator with all the stock apps as a G'zone commando. Can anyone help?

Ok, so here's what you're gonna need the Android source, once you follow all the instructions, it'll show you how to build for emulator, now comes the fun part. You're gonna need unyaffs to tear apart the .img files it outputs (specifically userdata.img and system.img) so you can do a pull (adb pull /system and adb pull /data) and overlay that onto the system.img and userdata.img you already created. (Or instead of pulling, you can unyaff a nandroid, there are a couple around the all things root thread) then you'll need mkyaffs2image to rebuild the .img files ...
You'll also need a kernel so you're gonna want to follow some of the instructions here.


Oh, don't forget to make the Android SDK from the source code before you try to start emulating (it'll help)


Here's another good link (it's Fedora based, if you're running fedora, it's good, otherwise, extrapolate what you can (yum==apt-get) HOWTO Setup Android Development - FedoraProject

If you have any more questions, feel free to ask!
Pax
 
Upvote 0
Haha, helpful links pax but I think you scared him!

Well, I can't do all the work, after all, how else would he learn :p (pretty much I compiled most of what I've learned from the development side onto paper here :p )

Also, in case anybody wants an easy way to tweak nandroids to their liking, (linux,) unyaffs, mkyaffs2image and md5sum are very powerful tools :p (if you change a nandroid, make sure you update nandroid.md5 or else you get a md5sum mismatch error)

Note: If anybody sees what I just wrote, and has a md5sum error on a file that was just downloaded, and thinks to themselves, I'll fix it this way! I will laugh when you screw up your system. Always double check md5sums to guarantee you don't have a corrupted file!
Pax

Sent from my R800x using Tapatalk
 
Upvote 0
how hard is it to brick/unbrick it? Especially while messing with the innopath? would it be worth setting up the emulator because that was mostly Chinese gibberish to me ;)

follow the links, they're very helpful (so are lots of google searches.)
The only brick I've recovered from is erasing the boot partition. Any other brick is currently in recoverable.

Sent from my R800x using Tapatalk
 
Upvote 0
i just dont know what to do after i pull /system and /data.
:mad:
this is SO frustrating :eek:

do this in terminal in the directory with system.img and data.img

1) mkdir system
2) cp system.img system/
3) cd system/
4) (/path/to/)unyaffs system.img (i put the binaries I use most in /bin)
5) cp -r /path/to/system/dump ./
6) cd ..
7) (/path/to) mkyaffs2image system/ system.img

repeat with data

(Now you have the commando specific system.img and data.img)

Pax
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones