updating google apps

On a custom (such as rooted) rom, google apps may fail to update. To fix the issue, make app backups using TitaniumBackup and perform the following in a terminal…

Google Maps

su
mount -o remount,rw -t yaffs2 dev/block/mtdblock4 system
busybox rm system/app/Maps.apk
cd system/bin
sh pm uninstall com.google.android.apps.maps
cd ..
cd ..
mount -o ro,remount -t yaffs2 dev/block/mtdblock4 system
sync

Gmail

su
mount -o remount,rw -t yaffs2 dev/block/mtdblock4 system
busybox rm system/app/Gmail.apk
cd system/bin
sh pm uninstall com.google.android.gm
cd ..
cd ..
mount -o ro,remount -t yaffs2 dev/block/mtdblock4 system
sync