[Android Software/Hacking General [Developers Only]] daoist:
Ermine + Market = Allmine

Crossposted from my blog here: http://bellybuttonporn.com/wp/2011/10/05/entourage-pocket-edge-google-apps-market/

What this is:

* Installs Google Apps

* Fixes a problem with the Edgejr which prevents it from talking to google talk

* Allows all google apps to function properly

* Yes, you will have a working Market.

What this is not:

* A full ROM.

* An adb/titanium backup/root hack which involves copying apps from your phone.

Prerequisites:

1. You must have a gapps zip file from here

2. You must have a microSD card.

3. You must have a USB flashdrive.

4. I have no idea if this will work if you have already tried installing google apps via other methods.

5. I have no idea if this will work on the full sized Edge. If you want to send me an Edge to play with, that would be swell.

Instructions:

I have only tested this package from a stock Dingo (Android 1.6) ROM. If you want to try without downgrading all the way back to Dingo, let me know how it works. If you brick your edgejr, I'm sorry :)

If you want to wipe your PE and start from scratch, start with Step 1.

If you have the Stock firmware your PE shipped with and haven't monkeyed with it at all, you can start with Step 6.

If you have upgraded to Ermine already and haven't monkeyed with installing google apps via other methods, you can try to start with Step 11. If you have any problems, though, you will probably have to start over from step 1.

Downgrade to Dingo.

1. I have made a version of the Dingo "Golden" update which skips some of the checks which stop the update from working. Get it here:

http://bellybuttonporn.com/android/edgejr/Dingo-update.zip-hellbent.zip

This update will factory reset your PE! Do not proceed unless you have backed up all your data.

2. Rename the zip file to "update.zip" and put it on the root of your USB flashdrive.

3. Turn off your PE. Insert the flash drive.

4. While holding Menu and Rotate on the LCD side, turn the PE on. Continue holding Menu and Rotate.

5. The PE might reboot a few times before it actually updates. Once you see the Updating screen, you may let go of the Menu and Rotate buttons.

The PE will reboot when the update is complete. When it boots up you will have the Dingo ROM. This is Android 1.6, and what it shipped with.

Upgrade to Ermine

6. Download the Ermine ROM. Get it here:

http://bellybuttonporn.com/android/edgejr/Ermine-update.zip

7. Rename it to "update.zip" and put it in the root of your microSD card.

8. Turn off your PE. Unplug your USB flashdrive and insert the microSD card.

9. While holding Menu and Rotate on the LCD side, turn the PE on. Continue holding Menu and Rotate.

10. The PE might reboot a few times before it actually updates. Once you see the Updating screen, you may let go of the Menu and Rotate buttons.

The PE will reboot when the update is complete. When it boots up you will have the Ermine ROM. This is Android 2.2, released shortly before Entourage went belly-up.

Install Allmine

11. Download Allmine. This update fixes a bug with the PE which prevents googletalk (and thus Market) from working. Get it here:

http://bellybuttonporn.com/android/edgejr/Allmine-latest-update.zip

12. Rename it to "update.zip" and put it in the root of your USB flashdrive.

13. Download a Google Apps package from the Cyanogenmod wiki. Go here:

http://wiki.cyanogenmod.com/wiki/Latest_Version

Scroll to the bottom. You want the Cyanogenmod 6 HDPI zipfile.

14. Rename it to "gapps.zip" and put it in the root of your USB flashdrive.

Both Allmine (update.zip) and Google Apps (gapps.zip) need to be on your flash drive

15. Turn off your PE. Unplug your microSD and insert the USB flashdrive.

16. While holding Menu and Rotate on the LCD side, turn the PE on. Continue holding Menu and Rotate.

17. The PE might reboot a few times before it actually updates. Once you see the Updating screen, you may let go of the Menu and Rotate buttons.

The PE will reboot when the update is complete. When it boots up you will still have the Ermine ROM. Sorry! :)

But wait, there's more. You'll have Google apps, and they'll work.

Set up Gingerbread Keyboard (Optional)

When your PE restarts it will want you to complete the registration process. You will find that your on-screen keyboard is too wide so you probably can't sign in to your google account. Whoops!

18. During the setup wizard, choose to sign in later.

19. From your home screen, hit menu, then Language & Keyboard. Put a check next to "Gingerbread Keyboard"

20. Hit back, go into "Accounts & Sync". Tap Add account.

21. Long-press on the input box for your email address. Choose Input method. Choose the gingerbread keyboard.

Setup

22. Sign in to your google account.

23. Go into your apps and into Market. Accept the User agreement.

Watch about a zillion notifications popup that it's updating your google apps to the latest versions.

Caveats & Things to Keep in Mind:

* the build.prop in your Pocket Edge is setup to fool Market into thinking it's a Nexus One. The setup wizard also thinks it's a Nexus One. As a result, you will only see market apps that will work on a Nexus One. Also, if you visit the market website your PE will be listed as Nexus One.

* You can try doing the various updates all from a USB flashdrive or from a microSD. I never had much luck. Dingo likes to upgrade via USB, ermine via microSD, and allmine via USB again. No idea why!

* I have tested this out on my own Pocket Edge. So far nobody else has. Proceed at your own risk. Let us know in this thread how it works.

* Keep holding the Menu & Rotate buttons until you see the update screen. Really.

* If your Allmine update fails for some reason, look in your USB flashdrive for an update.log file. Post that here.

* If you have tried some custom wackiness with your PE (perhaps you were hacking on it trying to get google apps to work?) and the upgrade(s) fail, your best bet is to start over with step 1 and wipe the PE.

* If your PE doesn't respond during an upgrade for 30 minutes, you can turn it off by poking the reset button next to the USB port.

Library fix

If you’ve previously applied the Allmine update and your library is broken, applying the newest Allmine update should fix it. If that doesn’t work, you can try this manually. First, find your serial number. Go into Settings, Edge Settings, Default Device Preferences, and then scroll down to Device Preferences. Write that down.

su

sqlite3 /intstorage/.edge/.esi-data/.databases/library.db "update esimeta set device='SERIAL_NUMBER_GOES_HERE'"

Have you moved your Library to your SDcard? (Thanks to bobthesane of mobileread.com forums for this fix)

su

sqlite3 /sdcard/.edge/.esi-data/.databases/library.db "update esimeta set device='SERIAL_NUMBER_GOES_HERE'"

Version History

0.1.0 – Initial Release

0.1.1 – Fixed Library “could not insert” bug.

0.2.0 – Fixed trackpad, camera, and keyboard bug, big thanks to tarvoke and vldmr from mobileread.com forums for the build.prop edit. Added superuser.apk & su v3.0

Download links:

http://bellybuttonporn.com/android/edgejr/Dingo-update.zip-hellbent.zip

http://bellybuttonporn.com/android/edgejr/Ermine-update.zip

http://bellybuttonporn.com/android/edgejr/Allmine-latest-update.zip

http://wiki.cyanogenmod.com/wiki/Latest_Version