New Google Maps Update

MJ5150

Active Member
Joined
Dec 22, 2009
Messages
984
Reaction score
0
Location
Lacey, Washington
I don't ride the bus, and I sure don't need Goggle giving me suggestions on who my friends should be.

I'll pass on this "update".

-Mike
 

Fault

Member
Joined
Jun 8, 2010
Messages
640
Reaction score
0
Running SS 4.1, cant get the update to work, unsucessful error, any suggestions?
 

silentbob343

Member
Joined
Feb 25, 2010
Messages
82
Reaction score
0
Thanks! I got maps to install from the market. I deleted the apk file and followed Skulls directions.

FWIW: I just used root explorer and deleted the text. Long press on the file and select Open in Text Editor. I then proceeded to delete everything skull posted. Saved and Exited by using the Menu Key. The one next to the Home key on your phone. I then rebooted and downloaded.

If you attempt to do it this way I take no responsibility if you screw up.

The only thing I'm bummed about now is that I don't have the uber cool maps icon that came with Nextheme.
I had the same idea, but did not want to scroll through that giant wall of XML and try to find those few lines. So I copied everything to a text document with a search/find capability so I knew where to begin looking to edit the xml.

For those that want to do the root explorer method the text we need to delete is towards the bottom. Last 1/5 of the way I'd say.
 
OP
Mojo

Mojo

Active Member
Joined
Nov 25, 2009
Messages
1,353
Reaction score
0
Location
S.W Missouri
I just want to say a big thank you to all of you that are smart enough to find these work-a-rounds!! I truly applaud you guys!
 

jamko101

Member
Joined
Dec 8, 2009
Messages
47
Reaction score
0
Location
WA
I just want to say a big thank you to all of you that are smart enough to find these work-a-rounds!! I truly applaud you guys!

I mucho agree.

I was tired of seeing maps sitting in "my downloads" part of the market with the word "free" next to it... even though it was installed. Skulls trick worked for me, now I'm back in business.

Did all on my droid, it was a pain scrolling through that huge XML, but it paid off dancedroid
 

ratboy3124

Member
Joined
May 26, 2010
Messages
197
Reaction score
0
Ok, this is a BARE BONES explanation. I am going to assume a LOT of stuff. Like mainly you know how to work ADB, WordPad and edit XML.


launch a command prompt
adb shell cp /data/system/packages.xml /data/system/packages.xml.org
adb pull /data/system/packages.xml
wordpad packages.xml

FIND THE FOLLOWING:

<shared-user name="com.google.android.apps.maps" userId="10028">
<sigs count="1">
<cert index="27" />
</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.CALL_PHONE" />
<item name="android.permission.READ_CONTACTS" />
<item name="android.permission.GET_ACCOUNTS" />
<item name="android.permission.WRITE_CONTACTS" />
<item name="com.google.android.apps.maps.permission.PUSH_MESSAGE" />
<item name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
<item name="android.permission.READ_PHONE_STATE" />
<item name="android.permission.DISABLE_KEYGUARD" />
<item name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<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.WAKE_LOCK" />
<item name="android.permission.ACCESS_NETWORK_STATE" />
<item name="android.permission.RECORD_AUDIO" />
</perms>
</shared-user>

DELETE THAT.

close word pad and say yes to save file
adb push packages.xml /data/system/packages.xml
adb shell chmod 664 /data/system/packages.xml
adb reboot


Since I am at work I can't tech support every question. Which means the rescue squad might need to lend a hand (sorry I did that to you guys ;) )


SIDE NOTE:

IF wordpad doesn't work, launch it manually and go find the file at the location your command prompt is at.

IF this fails. You have a backup if you did the adb shell cp command. To restore:

adb shell cp /data/system/packages.xml.org /data/system/packages.xml
adb shell chmod 664 /data/system/packages.xml
adb reboot

Didn't work for me.
 

SDI

Member
Joined
Mar 24, 2010
Messages
354
Reaction score
0
Ok, this is a BARE BONES explanation. I am going to assume a LOT of stuff. Like mainly you know how to work ADB, WordPad and edit XML.


launch a command prompt
adb shell cp /data/system/packages.xml /data/system/packages.xml.org
adb pull /data/system/packages.xml
wordpad packages.xml

FIND THE FOLLOWING:

<shared-user name="com.google.android.apps.maps" userId="10028">
<sigs count="1">
<cert index="27" />
</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.CALL_PHONE" />
<item name="android.permission.READ_CONTACTS" />
<item name="android.permission.GET_ACCOUNTS" />
<item name="android.permission.WRITE_CONTACTS" />
<item name="com.google.android.apps.maps.permission.PUSH_MESSAGE" />
<item name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
<item name="android.permission.READ_PHONE_STATE" />
<item name="android.permission.DISABLE_KEYGUARD" />
<item name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<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.WAKE_LOCK" />
<item name="android.permission.ACCESS_NETWORK_STATE" />
<item name="android.permission.RECORD_AUDIO" />
</perms>
</shared-user>

DELETE THAT.

close word pad and say yes to save file
adb push packages.xml /data/system/packages.xml
adb shell chmod 664 /data/system/packages.xml
adb reboot


Since I am at work I can't tech support every question. Which means the rescue squad might need to lend a hand (sorry I did that to you guys ;) )


SIDE NOTE:

IF wordpad doesn't work, launch it manually and go find the file at the location your command prompt is at.

IF this fails. You have a backup if you did the adb shell cp command. To restore:

adb shell cp /data/system/packages.xml.org /data/system/packages.xml
adb shell chmod 664 /data/system/packages.xml
adb reboot

Ok first off that's a heck of a lot to assume LOL there has GOT to be a way that this can be done easier then this????? C'mon now somebody has to know a better way? This looks like Russian, written as Spanish then translated back to Chinese LOL
 

bubbleflubber

New Member
Joined
Dec 18, 2009
Messages
7
Reaction score
0
For a moment, it didn't work for me, either. However, when I deleted the text information from the packages.xml file the first time, I tried updating from the Market. That didn't work, so on a hunch, I went back to my packages.xml file, and sure enough, somehow the permissions-related text that I had removed moments earlier was back. I downloaded the Maps 4.3.0 standalone apk (link below), and it installed without any problems. Thanks Skull.

Also, just to make sure that it works for future updates, I saw that the Market still listed Google Maps 4.3.0 as "FREE" (aka, "uninstalled"), so I tried re-installing from the Market and it installed/overwrote the current maps program without any permissions problems.

I did everything from Root Explorer too. Didn't have to connect anything to the computer or move any files around. Root Explorer negated the need for the terminal, included the ability to long-press the packages.xml file and "Open with Text Editor" and edit it, automatically backed up the file upon any changes, and made changing the read-only and read-write permissions for the system super-uber easy. I swear Root Explorer is worth its weight in technological gold. Haven't really needed a terminal app for anything much after installing it.

But I digress... Skull's info should work perfectly for FRF57-based Froyo 2.2 users, including ROMs from Pete (BB ROMS) and BlackDroidMod (Ultimate Droid ROMS) and most other similarly based systems.

My key to success was (1) deleting the Maps.apk from the /system/app folder, (2) deleting the cache file located in data/dalvik-cache/system@[email protected]@classes.dex, (3) editing the permissions.xml file with Root Explorer (see steps above), (4) rebooting, (5) installing the standalone 4.3.0 Maps.apk from here: http://bit.ly/dqEdLr, (6) then going back into the Market and "installing" again (this step is just for those that don't like to see "FREE" next to the application and would like to take advantage of the automatic updating feature in Froyo).

It may sound like pig latin, but it should work without a hitch.
 
Last edited:

subsynth

Member
Joined
Mar 15, 2010
Messages
150
Reaction score
0
Location
Asheville, NC
Gah, I should have just left well enough alone.

Already had it restored to 4.2, now I tried the packages.xml edit and I got a boot loop!
 

Samurai26

Member
Joined
May 1, 2010
Messages
330
Reaction score
0
I thought about messing with that.xml file to try to get it working, but now I'm just going to wait it out for an easier, more efficient solution after looking at all of these errors
 

bubbleflubber

New Member
Joined
Dec 18, 2009
Messages
7
Reaction score
0
I thought about messing with that.xml file to try to get it working, but now I'm just going to wait it out for an easier, more efficient solution after looking at all of these errors


Check a page back and see if my error/"got it to work" method might help. I was editing my original post while you guys were posting to the board.
 

SDI

Member
Joined
Mar 24, 2010
Messages
354
Reaction score
0
For a moment, it didn't work for me, either. However, when I deleted the text information from the packages.xml file the first time, I tried updating from the Market. That didn't work, so on a hunch, I went back to my packages.xml file, and sure enough, somehow the permissions-related text that I had removed moments earlier was back. I downloaded the Maps 4.3.0 standalone apk (link below), and it installed without any problems. Thanks Skull.

Also, just to make sure that it works for future updates, I saw that the Market still listed Google Maps 4.3.0 as "FREE" (aka, "uninstalled"), so I tried re-installing from the Market and it installed/overwrote the current maps program without any permissions problems.

I did everything from Root Explorer too. Didn't have to connect anything to the computer or move any files around. Root Explorer negated the need for the terminal, included the ability to long-press the packages.xml file and "Open with Text Editor" and edit it, automatically backed up the file upon any changes, and made changing the read-only and read-write permissions for the system super-uber easy. I swear Root Explorer is worth its weight in technological gold. Haven't really needed a terminal app for anything much after installing it.

But I digress... Skull's info should work perfectly for FRF57-based Froyo 2.2 users, including ROMs from Pete (BB ROMS) and BlackDroidMod (Ultimate Droid ROMS) and most other similarly based systems.

My key to success was (1) deleting the Maps.apk from the /system/app folder, (2) deleting the cache file located in data/dalvik-cache/system@[email protected]@classes.dex, (3) editing the permissions.xml file with Root Explorer (see steps above), (4) rebooting, (5) installing the standalone 4.3.0 Maps.apk from here: http://bit.ly/dqEdLr, (6) then going back into the Market and "installing" again (this step is just for those that don't like to see "FREE" next to the application and would like to take advantage of the automatic updating feature in Froyo).

It may sound like pig latin, but it should work without a hitch.

Ok how do you select just that text line to delete it? I see how to select it but it wants to select too much how do you control this?
 
Top