[Q] Gmail 2.2.1 ?

Search This thread

ciwrl

Senior Member
Sep 1, 2006
70
55
Burtonsville
Wow and this got Lifehackered? Only like 3 months late... :p

For those curious to learn, the tap3w0rm mirror is under my control (graciously donated by CM user tap3w0rm). The UP gapps package was released to CM IRC users around CM6 RC1, as testers, and has since been included in the hdpi and mdpi packages that attach to CM6. As speculated above, the package is made from the HTC 2.2 leak that surfaced a while back.

I did some restructuring the other day, so the link on page #1 is defunct, use http://www.tap3w0rm.com/hosted/android/gapps/gapps-hdpi-20100817-signed.zip if you'd like the full update package (or just grab the individual apk from the multi-upload link in this thread)
 

jivemaster

Senior Member
May 6, 2010
269
14
Brisbane
I've done no mods to my froyo nexus and I already have this. Ultra old news going on somewhere. My only update ever done was the last official froyo ota (frf91).
 
Last edited:

Almighty1

Senior Member
Jun 9, 2010
1,035
276
47
San Francisco, California USA
bit.ly
Perfect, thanks!
I had a noob moment (actually mostly a stupid moment)
I used root explorer to move gmail.apk from zip to system apps folder but never thought I actually need to install it. :eek:

I then installed it using astro and everything seems to be working.

Is it okay to do it that way? Can you just install it like normal apk from sdcard?

2.2.1 seems nice. The biggest difference is a large reply arrow on top. When you press it reply, reply all, forward scroll in. This is a bit nicer than before.

Thanks fir the help!

Installation is not necessary since all I had to do is used root explorer and renamed the file Gmail.apk - Android which is Linux like all Unix is case sensitive so everything is lowercase except for the G which is uppercase. I then renamed the original Gmail.apk in /system/apps as Gmail.apk.old, as a backup, you can delete the file if you want and then just pasted the new Gmail.apk in /system/apps and then changed permissions on the file so it's rw-r--r-- for the permissions and then power off and on the DROID1 and it's 2.2.1. It won't work until you reboot the phone.
 

productofusa

Senior Member
May 20, 2010
164
17
WA
then changed permissions on the file so it's rw-r--r-- for the permissions and then power off and on the [device] It won't work until you reboot the phone.

(offtopic newb story)
This one bit me in the butt the other day when I went to switch the stock GoogleQuickSearchBox.apk via Root Explorer, with that sweet black one in Themes & Apps. I renamed/moved the stock one to sdcard, then moved the new one to /system/app, reboot, eh? didn't show up when I selected widgets from the desktop, went back to /system/app, longpress, permissions, r,r, (if I remember correctly) User and Group. Reboot, viola'


I was kinda confused in that I couldn't figure out if it actually needed to be installed or not. Apparently not, just needed correct permissions. I really need to do more homework!
(/offtopic newb story) :confused:
 

Almighty1

Senior Member
Jun 9, 2010
1,035
276
47
San Francisco, California USA
bit.ly
productofusa:

Even though I had been using Unix since 1989, Android is still new to me but I learned this when I had a problem installing Street View for Google Maps and someone said they basically moved the file from /data/apps and renamed it to Street.apk and also moved the file and renamed to Maps.apk in /system/apps so I tried it and it worked so then yesterday, I moved Twitter.apk, Facebook.apk as well as both the QuickSearchBox and VoiceSearch and they all worked. The permissions should be owner (rw), group (r), world (r). x just means executable.
Rebooting is needed unless there is a way to reload the .apk's without rebooting which I'm sure is possible if I knew the Android system well enough. The file permissions have three sets of permissions, the owner of the file need read and write access while the group and world (other users) only need read access.
 

productofusa

Senior Member
May 20, 2010
164
17
WA
productofusa:
Even though I had been using Unix since 1989, Android is still new to me but I learned this when I had a problem installing Street View for Google Maps

Yeah, when I tried to install it from the Market I got the "Install Unsucessful" thing, however after reading this post and looking I do see Street.apk in /system/app.

and someone said they basically moved the file from /data/apps and renamed it to Street.apk and also moved the file and renamed to Maps.apk in /system/apps so I tried it and it worked

Same file? Or am I not understanding you correctly. If yes, then why?

so then yesterday, I moved Twitter.apk, Facebook.apk as well as both the QuickSearchBox and VoiceSearch and they all worked.

I REALLY don't get this? Were none of these working? If yes, then what kind of screwed up ROM/Gapps are you using? LOL

The permissions should be owner (rw), group (r), world (r). x just means executable. Rebooting is needed unless there is a way to reload the .apk's without rebooting which I'm sure is possible if I knew the Android system well enough. The file permissions have three sets of permissions, the owner of the file need read and write access while the group and world (other users) only need read access.


Interesting, on my N1 its (on say, Street.apk) User, Group, Others, i'm maybe offbase here but I take this to mean "User" Permissions for how I interact with the file, "Group" Permissions for how other related files interact with the file? "Others" Permissions for how any file interacts with the file? Second thought, i'm probably way offbase here, but would really like some clarification from a more advanced user.

I despise bumbling around in the operating system to get things to work without understanding more about the underlying cause/effect, but in this case i'm just happy it works, and it also gives me better direction for the homework I need to do!

If I did this kinda stuff in my chosen career people would be getting electrocuted/fires/general mayhem daily LOL.

EDIT: OffTopic, sorry, Started new thread [Q] Permissions questions/clarification
 
Last edited:

Almighty1

Senior Member
Jun 9, 2010
1,035
276
47
San Francisco, California USA
bit.ly
Basically I think what he did was first delete the /system/apps/Street.apk and Maps.apk, rebooted and then installed the new version of Maps and Street View from market except everything installs to /data/apps with com.google.* for the filename so even if you had Street.apk and Maps.apk in /system/apps and the new versions in /data/apps, you would actually have 2 versions of the file so hogging up 2x the space. So when he moved it to /system/apps and renamed them, he would only use space for 1 copy of the app and not 2.

All of them were working but think of it like this... All the stock apps meaning those in /system/apps and if they have updates, they get installed in /data/apps so basically you have the original version in /system/apps and then the current version you're using in /data/apps so when you move it back to /system/apps and rename it correctly, you basically save space as you won't have 2 copies of the app taking up space when only the newer version will be used.

Actually, the way it works is that when you have a file or directory, it is owned by a user and a group. In our case, the user is root and the group is 0 which is the wheel group. So in a file, you can have permissions that show rwxrwxrwx which is basically 3 sets and only when the permission is set will you see the letter there. The first set is the owner's permission, the second set is the group and the third set is everyone else which is known as world or others. For each, you can have read, write and executable permissions. You can read more about it here:

en.wikipedia.org/wiki/Chmod
 

foethalove

Senior Member
Jun 7, 2010
134
12
Ok I fixed the problem..
1. Titanium backup to uninstall Gmail
2. Reboot
3. Install Gmail from market
4. Everything works great

Cyan 6 Final
Nexus One