GMail Update: How to update in MIUI.


TRDeadbeat

Members
Nov 29, 2010
8
11
A new GMail update is out today - and there are probably people out there who do not know how to get the update to work successfully with MIUI, so i thought i'd post this little public service announcement before anyone has to ask.

When you try to update from the market, you will get "Installation Failed" or "Incompatible Update" on MIUI, to get around this follow these steps:

Open a shell and run the following adb commands:
Code:
adb remount
adb shell mv /system/app/Gmail.apk /system/app/Gmail.apk.bak
adb reboot

After your phone reboots, you should be able to install GMail from the market without a hitch.

If you are still unable to install GMail from the market, you can "reinstall" the original version using these commands:
Code:
adb remount
adb shell mv /system/app/Gmail.apk.bak /system/app/Gmail.apk

Alternatively, if you do NOT have any problems installing from the market, you can safely remove the backup of the original Gmail.apk by running the following commands:
Code:
adb remount
adb shell rm /system/app/Gmail.apk.bak

Hope this helps.
 
I just did the same thing but with root explorer, thanks for the adb method though!
 
I used titanium backup and uninstalled the current gmail version. Rebooted my phone, went to the market, unchecked allow automatic updating, and clicked on install and it loaded properly without any issues.
 
My update worked like normal.

Sent from my Nexus One using the miui-dev.com Forums App
 
My update worked like normal.

Sent from my Nexus One using the miui-dev.com Forums App

Same here. Just updated via the market, and it worked fine. Didn't even realize people had issues.

Edit: I flash Gapps when I flash MIUI. Maybe the one included with MIUI isn't upgradeable. Whenever I used to try to update the included Terminal Emulator via the market, the install would fail.
 
How do I open a shell command? Is it done with terminal emulator? What is adb?

Sent from my Droid using the miui-dev.com Forums App
 
Nevermind. Used root explorer to delete Gmail apk, rebooted, went to market and download new. ;)

Sent from my Droid using the miui-dev.com Forums App
 
You can't uninstall through the usual means - you can use Root Explorer and delete the apk though.

well, the root explorer doesn't work for me..
I try to delete it, it shows like it's deleted, the file just isn't there, but when I restart the phone, start installing the market latest gmail then installation failed, and the gmail app is still there.
I used 2 different apps, one of which was paid, and still it was the same.
 
Weird. I used root explorer and was successful in deleting the Gmail apk. Did you change the R/W?

Sent from my OG DROID rocking the MIUI
 
all I did was rename the gmail.apk, rebooted, then downloaded and installed
themes working still and got new gmail apk
does anyone have a link to the new one though?
 
Well, Gmail not listing in Market for my country (Turkey). So can anyone share the .apk please ?