MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.

[Testing] Getting an emulator up and running a full ROM with the Market etc.

40 posts in this topic

Posted · Report post

androidmarketemulator.png
I am currently using the Android emulator on my machine with a copy of the excellent Cyanogen 3.6.5 ROM I am running on my device.

If you'd like to do the same, here's how (it's a great way to play with things like the Android Market that aren't in the real emulator!)

Windows PC

1. Download the Android SDK (which includes the emulator) from here.
2. Extract the downloaded zip.
3. Run a command prompt, and change to the 'tools' directory of the SDK (or add the tools directory to your path).
4. Type 'android list target'
5. Note the 'id' number of the '1.5' target (in my case it's '2')
6. Type 'android create avd -n enhanced -t 2' (substitute 2 with the target number determined above if required)
7. You will be prompted to create a hardware profile. This is optional, but I selected 'yes' and accepted the defaults for everything except RAM, where I gave it 256MB. ;)
8. Download and unzip this image file.
9. Copy the above file to the location of the enhanced.avd directory ('C:\Documents and Settings\<user>\.android\enhanced.avd' on Windows XP, and 'C:\Users\<user>\.android\enhanced.avd' on Windows Vista).
10. You're ready! Type 'emulator -avd enhanced' to run! Note: inital boot may take a few minutes!

If you get Java errors, you need to download the JDK for your system from here!

Mac OSX

1. Download the Android SDK (which includes the emulator) from here.
2. Extract the downloaded zip.
3. Run Terminal, and change to the 'tools' directory of the SDK (or add the tools directory to the path settings in ~/.profile).
4. Type './android list target'
5. Note the 'id' number of the '1.5' target (in my case it's '2')
6. Type './android create avd -n enhanced -t 2' (substitute 2 with the target number determined above if required)
7. You will be prompted to create a hardware profile. This is optional, but I selected 'yes' and accepted the defaults for everything except RAM, where I gave it 256MB. :D
8. Download and unzip this image file.
9. Copy the above file to ~/.android/avd/enhanced.avd/system.img (e.g. if you saved it to and unzipped it to downloads enter 'cp ~/Downloads/system.img ~/.android/avd/enhanced.avd/system.img')
10. You're ready! Type './emulator -avd enhanced' to run! Note: inital boot may take a few minutes!

If you get Java errors, you need to download the JDK for your system from here!

:)

P
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

hi,

followed the instructions, had problems with java so installed from the link provided, however i'm still getting this:

D:\android-sdk-windows-1.5_r2\tools>android list target

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/s

dkmanager/Main (Unsupported major.minor version 49.0)

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Tools dir is added to system path variable. I'm using windows xp.

Thanks

ZF

Edited by zombiefly
0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi Paul,

Thank you for putting together this quick tutorial.

I am very tempted by an Android device as I have various WinMo devices with custom ROMs and an iPhone 3Gs but am never satified.

Did you by chance know how I can run a HERO ROM in the emulator? I am very interested in the Hero and would like to play in the emulator.

I can find the ROM just need to know if I need any special settings to get it to work.

Many thanks

Russ

0

Share this post


Link to post
Share on other sites

Posted · Report post

I haven't managed to get a Hero ROM running, and I don't actually think it's possible because of the Kernel in use (but I could be wrong)...

P

0

Share this post


Link to post
Share on other sites

Posted · Report post

Zombiefly, did you install the JDK from above, not just the JRE?

P

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Zombiefly, did you install the JDK from above, not just the JRE?

P

I installed the file that I downloaded from the link... which was : jdk-6u14-windows-i586.exe

Do i need to update the JRE too? i'll give that a go now...

edit: nope, that made no difference. Will try this on my home pc this evening ;)

Edited by zombiefly
0

Share this post


Link to post
Share on other sites

Posted · Report post

No, you should be sorted I would have thought - odd!

P

0

Share this post


Link to post
Share on other sites

Posted · Report post

I haven't managed to get a Hero ROM running, and I don't actually think it's possible because of the Kernel in use (but I could be wrong)...

P

Thats a shame, I will play this rom in the emulator.

Having trouble finding the Calendar on this ROM? I am being thick?

Thanks

Russ

0

Share this post


Link to post
Share on other sites

Posted · Report post

You're right! Where the hell has the Calendar gone!

;)

Investigating!

P

0

Share this post


Link to post
Share on other sites

Posted · Report post

You're right! Where the hell has the Calendar gone!

;)

Investigating!

P

Web browsers seems to have done a runner too!

When I use the google search bar it just crashes with acore.

Russ

0

Share this post


Link to post
Share on other sites

Posted · Report post

Oops, needs some work methinks! ;)

P

0

Share this post


Link to post
Share on other sites

Posted · Report post

I think you can try out several Hero roms that has been "Cyanogenized" (they have the Cyanogen Kernel)

0

Share this post


Link to post
Share on other sites

Posted · Report post

Oops, needs some work methinks! ;)

P

Is it due to the Apps2SD thing used in quite a lot of android ROMs?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Ok, So have anyone got a fully working ROM for this emulator? I just want to test out IMAP Secure mail etc before I buy a Hero.

Thanks

Russ

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

I am using this for some testing and I need to connect to an IMAP server on port 993 for SSL IMAP but with a self signed cert.

The OS is too protective and says security issue! and wont let me past.

Anyone know how to add your own trusted certs into android?

Also I guess as the brower is missing it wont download anything from the marketplace :-(

Thanks

Russ

Dont care about the emulator just want to know if its possible on the real deal.

0

Share this post


Link to post
Share on other sites

Posted · Report post

i tried this but i got stuck at boot loop. it brought me up to the page where it says click on android to continue setup of google account. i try to click on the android, nothing happens. the hardware buttons work but the touch screen does not. After 1min or so it reboots.

FYI it works perfectly without the cyanogen's image

0

Share this post


Link to post
Share on other sites

Posted · Report post

Here you have 3.9.1 thanks to Bavilo:

http://sharebee.com/7b5ff589

it works fine in the emulator :-)

Can someone point me to the steps for how to create a system.img from a custom ROM like cyanogen? I've been surfing around and am obviously missing some key understanding about how the system.img relates to the updates.zip these guys are now distributing their ROMs as.

Thanks,

d

0

Share this post


Link to post
Share on other sites

Posted · Report post

Using this system.img in the emulator I am having two issues that are keeping me from getting through the initial setup. I am first getting the error message "google talk service (process com.google.process.gapps) has stopped unexpectedly" and my only choice is to Force Close. Then after I enter my gmail info I get the error message "Can't establish a reliable data connection to the server."

I am using target 2 with SDK 1.5r3. I have successfully used the Cyanogen 3.9.1 a few times with other AVDs, so I think I have the process right and its something different with this image.

I've attached a screenshot of each error and the log from ddms.

Anyone have any suggestions on what I can try?

Thanks,

dave

jackhero.log.txt

post-573101-1250175015_thumb.png

post-573101-1250175044_thumb.png

0

Share this post


Link to post
Share on other sites

Posted · Report post

Best way is probably to create a nandroid backup from your modified recovery image, then copy the system.img that it creates from your SD card?

P

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Can someone point me to the steps for how to create a system.img from a custom ROM like cyanogen? I've been surfing around and am obviously missing some key understanding about how the system.img relates to the updates.zip these guys are now distributing their ROMs as.

Best way is probably to create a nandroid backup from your modified recovery image, then copy the system.img that it creates from your SD card?

Thanks, I was wondering if there is someway to do it without installing it on a device first. Or is there a way to run a recovery.img on the emulator?

d

Edited by reesd
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

This is the right way to use the JacxHero system.img on the emulator:

http://www.mediafire.com/?f5edzmhh3gt

emulator.exe -avd jacxhero -system system.img -partition-size 150 -sdcard sdcard

previously you have to create an avd named jacxhero and also create a sdcard using mksdcard.exe

capturexas.jpg

Edited by zencloud
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

I have question to the author of this thread. How did you run market service, I can't log in using emulator?

And one more question. How should I use mksdcard.exe? When I start it, it shows for a second and disapear. :)

Edited by Misiek_ud
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.