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