Using ADB run the following commands:
adb.exe uninstall com.google.android.apps.maps adb.exe shell rm /system/app/Maps.apk
Now try to install Google Maps from the Market, it should work.
Guide on using ADB
If this doesn't work for you then try the fixes in the comments below!
In case you deleted your Maps.apk file and need it back, olta777 uploaded it .
Here are maps fixes collected by mrZoSo...Thank you!!!!!
So people don't have to scoure through the all he posts here, I put the 3 fixes that have been successful at fixing the maps issue.
** Make sure android sdk is installed properly - How To: adb for Windows the Easy Way
** Make sure phone has USB debugging on.
Plug phone to USB
Open command prompt
Type this (DO NOT TYPE adb shell unless noted):
adb shell rm /system/app/Maps.apk
adb uninstall com.google.android.apps.maps
If you get a not found error after you type the first one in, then the sdk/tools is not in the windows path correctly. Double check the sdk and that the path is correct.
You should now be able to install Maps from the Market.
Using Root Explorer
Do a search for maps
/data/app/com.google.android.apps.maps-1.apk -you might not have this entry, it's OK
If you see /system/app/Maps.apk, move it out to your sdcard, your going to need it soon.
Install Maps using the apk just moved to sdcard
Run maps and play in it for a minute, join Latitude also from within Maps, just to make sure it works and close it.
Go in to Settings>Applications>Manage applications>All, tap on Maps, tap Clear data, tap Uninstall
Go to Market and re-installed from there.
When going in to Maps, you should get a Login failed- that's OK, click on join Latitude now you should see a Notification(in Notification bar up top) asking for permission, accept it and your good to go now.
Now after my install of Froyo: Maps wasn't accessible, I couldn't install it from the market, and wasn't in the Settings->Applications->Manage applications menu.
I tried running zone117x's code in the adb and I could only get the second line to go through - because Maps wasn't really installed. However, some artifacts were left over from the recovery image that prevent the install from market.
Once you mount your device with read-write access (with the adb) and give adb root privileges (once again, with the adb), you must edit the /data/system/packages.xml file. There is an entry that looks something like:
<shared-user name="com.google.android.apps.maps" userId="10028"> <sigs count="1"> <cert index="13" /> </sigs> <perms> <item name="com.android.launcher.permission.INSTALL_SHORTCUT" /> <item name="android.permission.USE_CREDENTIALS" /> <item name="android.permission.GET_TASKS" /> <item name="android.permission.WRITE_EXTERNAL_STORAGE" /> <item name="android.permission.ACCESS_WIFI_STATE" /> <item name="android.permission.ACCESS_COARSE_LOCATION" /> <item name="android.permission.GET_ACCOUNTS" /> <item name="android.permission.READ_CONTACTS" /> <item name="android.permission.CALL_PHONE" /> <item name="com.google.android.apps.maps.permission.PUSH_MESSAGE" /> <item name="android.permission.WRITE_CONTACTS" /> <item name="com.google.android.googleapps.permission.GOOGLE_AUTH" /> <item name="com.google.android.providers.gsf.permission.READ_GSERVICES" /> <item name="android.permission.DISABLE_KEYGUARD" /> <item name="android.permission.READ_PHONE_STATE" /> <item name="com.google.android.googleapps.permission.GOOGLE_AUTH.local" /> <item name="android.permission.INTERNET" /> <item name="android.permission.ACCESS_FINE_LOCATION" /> <item name="android.permission.MANAGE_ACCOUNTS" /> <item name="android.permission.VIBRATE" /> <item name="android.permission.RECORD_AUDIO" /> <item name="android.permission.ACCESS_NETWORK_STATE" /> <item name="android.permission.WAKE_LOCK" /> </perms> </shared-user>Remove this entry. Put the packages.xml file back on to your Droid and then restart. Then you should be able to install Maps from the market.
Here is rough step by step guide
Note: I am using a linux machine, hence no .exe after 'adb'. The commands should be very similar in Windows.
adb remount adb root adb shell rm /data/app/Maps.apk adb pull /data/system/packages.xml packages.xml (now edit packages.xml with your favorite text editor and remove the maps entry) adb push packages.xml /data/system/packages.xml (then shutdown and start back up!)Just remember that the packages.xml file will end up in whatever folder you are executing the
adb command from.