Page 1 of 2

[HOW-TO] Android Market on ICS

Posted: Sat Jan 28, 2012 10:21 pm
by jazzmista
Hi all,
I've successfully managed to get Android Market running on ICS! Here's how: (This guide is for Ubuntu and using a 3 partition setup, and the guide assumes that your android partition is called ANDROID, and your data partition is called DATA)

1) Install ICS as per usual (3 partition method), and make sure it boots,
2) Grab GoogleServicesFramework.apk from http://cmw.22aaf3.com/gapps/gapps-gb-20 ... signed.zip (a zip of all the Google Apps), and install it on the Joggler. Make sure this is done before continuing! Add a Google Account.
3) Install Android Market 3.4.4 from http://www.redmondpie.com/android-marke ... -it-first/. Optional: rename this to market.apk for simplicity later on
4) Download FuriusISOMount:
4a) On Ubuntu:

Code: Select all

sudo apt-get install furiusisomount
4b) Else: Check http://www.marcus-furius.com/?page_id=170 for other packages and source
5) Plug in your Joggler USB in the computer
6) Go to FuriusISOMount (under Accessories on my install) and select system.img in the Android folder. Select mount via Loop, and click mount.
7) Enter this in Terminal (assuming you follow this guide to the letter, may not work if you didn't!):

Code: Select all

cd system_img
cd
sudo cp Downloads/market.apk system_img/app/com.android.vending.apk
(the first cd system_img is to check that the IMG has been created) If it says that the directory is read only, make sure you have used sudo, or try doing sudo -i as the first command when you open the terminal (opens as root)
8) Unplug the USB from your PC and boot ICS.
9) Try to open Android Market. It should force close. If it doesn't, and Android Market loads (asking you to accept Terms & Conditions), then skip to step 15.
10) Unplug your Joggler, and insert the USB into the PC again.
11) Open a new Terminal, and type in this...

Code: Select all

sudo -i
cd /media/DATA/data
rm -r com.android.vending
What you have just done is remove the data for Android Market (for some strange reason, Clear Data within ICS doesn't work)
12) Eject USB, Plug into Joggler.
13) Select "Market" from the Launcher
14) It will give a couple of "Market is not responding" errors. Choose "Wait" each time
15) It should eventually take you to a screen which features a loading circle and the text "Loading". For those of you with fast internet, this should take about 30 seconds. If not, go and make a cup of tea/coffee/a beverage of your choice
15) Accept Market T&Cs
16) Download apps
17) ...
18) Profit!

Some Really Bad Photos (taken from a Phone Camera)
Image
Image
Image

Re: [HOW-TO] Android Market on ICS

Posted: Sat Jan 28, 2012 11:00 pm
by jazzmista
I've added some photos of Market working on ICS :-)

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 12:10 am
by dwl99
Fantastic! How would you like to make an image of a working installation & upload it?

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 12:18 am
by jazzmista
dwl99 wrote:Fantastic! How would you like to make an image of a working installation & upload it?
I'll see what I can do! :-D

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 12:19 pm
by jazzmista
jazzmista wrote:
dwl99 wrote:Fantastic! How would you like to make an image of a working installation & upload it?
I'll see what I can do! :-D
Right, I've got a buildable version of ICS (Market, english language and a few other tweaks) but I can't find anything that will allow me to make an image of the whole USB (all 3 partitions). Has anybody got any suggestions?

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 12:52 pm
by danfoshizzle
win32 disk imager if on windows

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 1:30 pm
by jazzmista
danfoshizzle wrote:win32 disk imager if on windows
Oh, of course! I feel like a muppet now :-S I've even got that installed on my PC (for Joggler ubuntu distros)

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 1:31 pm
by danfoshizzle
Lol easily forgotten mate

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 2:32 pm
by miccheck1516
jazzmista wrote:
jazzmista wrote:
dwl99 wrote:Fantastic! How would you like to make an image of a working installation & upload it?
I'll see what I can do! :-D
Right, I've got a buildable version of ICS (Market, english language and a few other tweaks) but I can't find anything that will allow me to make an image of the whole USB (all 3 partitions). Has anybody got any suggestions?

get it uploaded!!!!! :D

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 2:50 pm
by jazzmista
miccheck1516 wrote: get it uploaded!!!!! :D
I'm trying! ;-) .

Anyway, I've got an image (thanks to Dan :-D), just doing some testing and then I'll set about uploading it!

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 2:55 pm
by danfoshizzle
Lol looking forward to trying it.

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 3:33 pm
by jazzmista
danfoshizzle wrote:Lol looking forward to trying it.
Messed up the GoogleServicesFramework.apk install, going to fix now.

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 3:59 pm
by miccheck1516
im very keen to try this out :D

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 4:06 pm
by jazzmista
My latest tweet describes what is going on with this at the moment...
And now EVERYTHING is force closing. *headdesk* #thejoysofbeingaromdeveloper
I am currently implementing a solution for the excessive amounts of force closes, however!

Edit: No longer force-closing, Market appears to be working again. :-)

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 4:27 pm
by jazzmista
Everything working, just wiping my data off it and recreating the image. Sorry for the delay, someone knocked the Joggler off my desk and the screen half-separated from the Joggler itself :-S Hardware appears to be fine however!

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 5:24 pm
by jazzmista
Image done, uploading now :-D

Edit: Going to take around 1 hour due to my terrible internet connection!

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 5:41 pm
by danfoshizzle
How big is the image?

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 5:58 pm
by jazzmista
450mb download (zipped), will fit on a 4gb USB stick (as that is all I have got on me at the moment). Still got a 1.7gb sd card partition though!

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 6:00 pm
by danfoshizzle
Nice, I did not even tinker with ics half as much as I would of liked, so your image will give me reason to lol

Re: [HOW-TO] Android Market on ICS

Posted: Sun Jan 29, 2012 6:10 pm
by jazzmista
danfoshizzle wrote:Nice, I did not even tinker with ics half as much as I would of liked, so your image will give me reason to lol
My upload speed has just dropped to 30kbps. This could take a while...

Back up to 100kbps.