• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[MOD!] GMail Application (GB + HC + ICS!) [EXTERNAL APP ACCESS ENABLED!]

Search This thread

BULL3TPR00F

Senior Member
Dec 6, 2009
1,054
149
Toronto
UPDATE 3
--------------
Added modified GMail v3.2.1 for HC and GMail v4.0.3 for ICS based ROMs. Make sure you download the right one for your OS (GB, HC, or ICS).
--------------

Hey guys, for those of you who didn't know, the Gmail application now RESTRICTS access to your emails by third party apps. This basically means that any app that needs access to your email database (for example, Pure Messenger Widget) will be LOCKED OUT and therefore Gmail will be disabled in said application.

So I went ahead and modified the latest Gmail apk to ALLOW EXTERNAL ACCESS to re-enable support for apps that require it. Hope this helps anyone who needed it.


Install Instructions (YOU MUST BE ROOTED!)
--------------------------------------------------------------------------
0) DOWNLOAD CORRECT VERSION FOR YOUR OS AND RENAME TO Gmail.apk

1) Open Root Explorer (or any other root file manager you like)
2) NAVIGATE to /data/app
3) DELETE com.google.android.gm-1.apk (it might say com.google.android.gm-2.apk for some people or it may not exist at all)
4) NAVIGATE to /system/app
5) Mount Read/Write
6) DELETE Gmail.apk
7) COPY new modified Gmail.apk into /system/app
8) CHANGE permissions to Owner = read/write, Group = read, Others = read.

---(The following may not be necessary but its HIGHLY RECOMMENDED!)---
9) REBOOT into Recovery
10) Wipe Cache/Dalvik-Cache/Fix Permisions
------------------------------------------------------------------------

11) REBOOT!

NOTE: Some apps may require you to uninstall and reinstall the program before it is able to see the change in Gmail (for example, Pure Messenger Widget)

DON'T FORGET TO HIT THE THANKS BUTTON! :)
 
Last edited:

BULL3TPR00F

Senior Member
Dec 6, 2009
1,054
149
Toronto
APK Re-added.

I was having issues with regards to getting the app to show up after reboot but realized it wasn't actually a problem with the modification, but it was a problem with the permissions.
 
  • Like
Reactions: pficrx

BULL3TPR00F

Senior Member
Dec 6, 2009
1,054
149
Toronto
lol guess i was the only one who needed this... ah well, if anyone needs it its here, hopefully people know how to use the search :p
 

ozzybulldog

Senior Member
Dec 30, 2008
156
4
Thanks for this! Google are a bunch of tight ass losers for restricting access to Gmail...

Oz
 

Gadgetz

Senior Member
Jun 5, 2011
2,291
488
Nevermind, I figured it out. Explorer didnt allow me to mount r/w or change permissions so I installed Root Explorer and worked it out.....much better file system explorer btw. Thanks for the tutorial.

via x10i WB GB v4.0 edition
 

BULL3TPR00F

Senior Member
Dec 6, 2009
1,054
149
Toronto
Yeah sorry i took so long to upload the new version, my phone has been disconnected for a few months now so i dont use it too much lol.
 

ben.cordy

Senior Member
Dec 23, 2009
93
7
THanks for this, it's exactly what I've been looking for however I seem to get stuck doing the steps involving pasting into system/data basically nothing ever pastes there despite me setting the read write permissions as suggested. Guy who got slidescreen working using this how exactly did you go about it? exactly as described?
 

skittleys

Senior Member
Dec 31, 2010
59
12
Toronto
Thanks so much for this fantastic hack!

Mind letting us know exactly what you did?

I ask because I'm using I'm already using a modded themed apk, and obviously I can't use both at the same time. :(
 

Top Liked Posts

  • There are no posts matching your filters.
  • 24
    UPDATE 3
    --------------
    Added modified GMail v3.2.1 for HC and GMail v4.0.3 for ICS based ROMs. Make sure you download the right one for your OS (GB, HC, or ICS).
    --------------

    Hey guys, for those of you who didn't know, the Gmail application now RESTRICTS access to your emails by third party apps. This basically means that any app that needs access to your email database (for example, Pure Messenger Widget) will be LOCKED OUT and therefore Gmail will be disabled in said application.

    So I went ahead and modified the latest Gmail apk to ALLOW EXTERNAL ACCESS to re-enable support for apps that require it. Hope this helps anyone who needed it.


    Install Instructions (YOU MUST BE ROOTED!)
    --------------------------------------------------------------------------
    0) DOWNLOAD CORRECT VERSION FOR YOUR OS AND RENAME TO Gmail.apk

    1) Open Root Explorer (or any other root file manager you like)
    2) NAVIGATE to /data/app
    3) DELETE com.google.android.gm-1.apk (it might say com.google.android.gm-2.apk for some people or it may not exist at all)
    4) NAVIGATE to /system/app
    5) Mount Read/Write
    6) DELETE Gmail.apk
    7) COPY new modified Gmail.apk into /system/app
    8) CHANGE permissions to Owner = read/write, Group = read, Others = read.

    ---(The following may not be necessary but its HIGHLY RECOMMENDED!)---
    9) REBOOT into Recovery
    10) Wipe Cache/Dalvik-Cache/Fix Permisions
    ------------------------------------------------------------------------

    11) REBOOT!

    NOTE: Some apps may require you to uninstall and reinstall the program before it is able to see the change in Gmail (for example, Pure Messenger Widget)

    DON'T FORGET TO HIT THE THANKS BUTTON! :)
    1
    APK Re-added.

    I was having issues with regards to getting the app to show up after reboot but realized it wasn't actually a problem with the modification, but it was a problem with the permissions.
    1
    i`ve got a problem i cant find in /data/app com.google.android.gm-1.apk or the other one (im rooted and i use root file manager ) it's that a problem ?? or i can continue to the next steps ??

    I had the same issue. Just followed the rest of the steps and it seemed to work fine.
    1
    Updated OP with new HC and ICS version of GMail, hacked of course :)
    1
    Try doing a cache/dalvik cache wipe and fix permisions in recovery.

    If you still have issues, ill upload a non signed version. It is working perfectly on my SGS II running ICS, and my ASUS Transformer running HC. Haven't had any other reports of issues.