[Android Software Development] tullywork:
Here are the steps (from my notes) that I used. Note the FAILED, but could be a good starting point for you: Keep in mind this is from my first 8 hours of trying to learn Android, my first ADB session, etc, I am NOT an expert at this, just dangerous given all the other information others have shared, most of this comes from other device/forums for people trying to install the android market. Got my starting point from a post that stated that to install Android Market you had to:

Install:

1) GoogleApps.apk

2) SetupWizard.apk

3) TalkProvider.apk

4) Vending.apk

5) GoogleCheckin.apk

6) gtalkservice.apk

and copy and locations below:

/system/etc/permissions/com.google.android.datamessaging.xml

/system/etc/permissions/com.google.android.gtalkservice.xml

/system/framework/com.google.android.gtalkservice.jar

/system/lib/libgtalk_jni.so

------------------------------------------------------------------

HERE IS AS FAR AS I GOT:

------------------------------------------------------------------

Power up and Vol - (together - not sure if this was necessary but for some reason I couldn't ADB SHELL in and make modifications originally - although it might have been a skill thing on my part)

ADB REMOUNT

ADB SHELL

CD /SYSTEM/ETC

ls -l shows: drwxr-xr-x root root 2010-12-15 15:40 permissions

chmod 775 permissions

ls -l shows: drwxrwxr-x root root 2010-12-15 15:40 permissions

exit

exit

adb push com.google.android.datamessaging.xml /system/etc/permissions

0 KB/s (829 bytes in 1.000s)

adb push com.google.android.gtalkservice.xml /system/etc/permissions

52 KB/s (832 bytes in 0.015s)

ADB SHELL

CD /system/etc/permissions

ls -l

-rw-r--r-- root root 1139 2010-11-05 15:38 required_hardware.xml

-rw-r--r-- root root 8188 2010-11-05 15:38 platform.xml

-rw-rw-rw- root root 829 2011-01-10 23:20 com.google.android.datamessaging.xml

-rw-rw-rw- root root 832 2011-01-10 23:20 com.google.android.gtalkservice.xml

cd ..

chmod 755 permissions

ls -l

drwxr-xr-x root root 2011-01-11 01:43 permissions

cd ..

ls -l

drwxr-xr-x root root 2010-12-15 15:41 lib

drwxr-xr-x root root 2010-12-15 15:40 fonts

drwxr-xr-x root shell 2010-12-15 15:41 bin

drwxr-xr-x root root 2010-12-15 15:40 framework

chmod 775 framework

chmod 775 lib

drwxrwxr-x root root 2010-12-15 15:41 lib

drwxr-xr-x root root 2010-12-15 15:40 fonts

drwxr-xr-x root shell 2010-12-15 15:41 bin

drwxrwxr-x root root 2010-12-15 15:40 framework

exit

adb push com.google.android.gtalkservice.jar /system/framework

1698 KB/s (27139 bytes in 0.015s)

adb push libgtalk_jni.so /system/lib

29 KB/s (9460 bytes in 0.312s)

ADB SHELL

cd /system/

chmod 755 lib

chmod 755 framework

drwxr-xr-x root root 2011-01-11 01:47 lib

drwxr-xr-x root root 2010-12-15 15:40 fonts

drwxr-xr-x root shell 2010-12-15 15:41 bin

drwxr-xr-x root root 2011-01-11 01:47 framework

exit

ADB INSTALL

SetupWizard.apk

GoogleApps.apk

TalkProvider.apk

REBOOT

vending.apk

gtalkservice.apk

GoogleCheckin.apk

GmailProvider.apk

C:\Program Files (x86)\Android\android-sdk-windows\platform-tools>adb install Gmail.apk

2472 KB/s (710975 bytes in 0.280s)

pkg: /data/local/tmp/Gmail.apk

Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION]

GoogleContactsSyncAdapter.apk (success)

GooglePartnerSetup.apk

GoogleSettingsProvider.apk

At some point during the APK install and a device reboot the devices comes to complete crap and you need to use the VelocityMicro.com Cruz firmware update.zip to 'restore' the device to it's original state - so I would suggest being careful with what I've done above because your likely to make your device extremely unstable. My GUESS is it's somewhere after the first three APK installs and the reboot (after the first reboot it comes back fine, all steps after that cause failure, reboot, GUI starts acting all funky, can't swipe to login, etc and it's done)

If I get a chance, I'll try to play with it some more tonight.

The Attached SUCCESS.ZIP contains the files from the AOSP2.4 download I used to get this far...