Could some terminal wizard tell me the right scripts I need to punch into the emulator to uninstall the Gmail app so I can update it? Apparently it tried to do it automatically and now I can't get it to reinstall. Thanks!
Could some terminal wizard tell me the right scripts I need to punch into the emulator to uninstall the Gmail app so I can update it? Apparently it tried to do it automatically and now I can't get it to reinstall. Thanks!
You don't have root explorer ?
Nope. I can't afford gas to get back and forth to the grocery store, let alone apps for my phone.
Cyanogen's official fix is to install the new Google app pack. While I applaud the fix, I'm finding I enjoy doing it myself, even if someone has to hold my hand to do so.![]()
Well at least you know what the important things are
I know the commands to push a system app, let me dig back in my folders and see what I have
Waiting*
O.K. here we go
Remove system app
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblk3 /system
rm /system/app/Gmail.apk
Hopefully it works![]()
That looks a lot better than the scripts I was seeing elsewhere. I'll dig up the pm uninstall part (Do I really need to? It's already BEEN uninstalled during the botched update...) and punch it in as soon as I can.
Word of advice -- if you're chopping Habanero peppers, don't do it bare handed. I absorbed so much that my sweat started to burn my forehead.
su
sysrw
rm /system/app/Gmail.apk
sysro
reboot
Sent from my Droid
Um, usually "sysrw" and "sysro" are scripts included by a rom builder to shortcut the necessary commands and Cyanogen is not in the habit of including any scripts with his. And somewhere back in my folders/research it was pointed out that it was 'mtdblock4' that needed to be used, not 'mtdblock3'.
So, unfortunately my reply will conflict with the rest. And I'm not going to have you remove the app, just in case:
good luckCode:su mount -o remount, rw /dev/block/mtdbock4 /system mv /system/app/Gmail.apk /system/app/Gmail.bak mount -o remount,ro /dev/block/mtdblock4 /system sync reboot
Last edited by teddyearp; 09-21-2010 at 08:49 PM.
Thanks guys! I got it working, eventually. The joys of having to tether to get online...
tparker's command worked, but I had to reboot to finish it. I think part of that was because the market had already tried to update me, but that's neither here nor there. It's good to have all these options in one place!
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblk3 /system
rm /system/app/Gmail.apk
reboot
That worked for me, but I was absolutely sure I wanted to replace the app. teddyearp had the right idea in backing it up, too. It's too bad the wiki page is down over at cyanogenmod.com, otherwise I could probably get the scripts figured out for anyone else who might like doing things the hard way.![]()