yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] froggymike911:
Try the EmailGoogle.apk and ExchangeGoogle.apk I posted above... worked on another AOSP rom i was using. Rename them to Email.apk and Exchange.apk respectively
[HTC Sensation] Rechinica:
Doesn't work for me. Whenever i try to add a corporate email i get a short flicker (probably app starting) then back to settings screen.

I've attached the apps from the ROM.

Thanks,
[HTC Sensation] froggymike911:
Put the stock files back on the phone and try running the attached patch kit. its updated for ICS
[HTC Sensation] Rechinica:
Thanks, but how do i "run" the script? flash it in CWM?
[HTC Sensation] froggymike911:
On your computer, its not a CWM .zip, just a zip of files... have the phone plugged in when you do it, it pulls files, edits, pushes them back
[HTC Sensation] Rechinica:
OK got it :)

Installed JDK for Java.exe, run the cmd as admin i get this error message:

"Cleaning up ...

Waiting for USB connection...

Connect your device!

Enable USB debugging (Settings -> Applications -> Development -> USB debugging)

Did you have a connection before but not anymore? Try rebooting your PC."

On the phone however i have the "connected as a media device" and "USB debugging connected" messages. Using Windows 8 Consumer Preview.

Any thoughts?
[HTC Sensation] froggymike911:
can you use adb to connect to your device? i'm pretty sure thats what its going to use. if you can get adb setup, it should work. sorry, i didnt write the script, just trying to help you out
[HTC Sensation] Rechinica:
Thanks, works now, i needed to install GN adb drivers it seems :)

THANK YOU!
[HTC Sensation] EDD!E:
mate ... is exchange sync, not pop or I map.
[HTC Sensation] shantur:
Did you try the apk posted in here as well

I have updated the Sense 4.0 apk. It should work now. Apologies for being away.

It was giving me only 2 options Imap / Pop, i forgot to install the exchange.apk
[HTC Sensation] shantur:
Nice one, I didnt try this but it seems to be working.

If you can give me details of roms it can support, i can put this in OP.
[HTC Sensation] IntegraR:
Hi rathore4u,

Thanks for making such an awesome mod!!

I wonder if it is possible to even modifying the user agent string?

Thanks!
[HTC Sensation] dLeTe:
This one worked for me

I used the attached from this post. Copied my com.android.exchange.apk in case and I just used root explorer to push the downloaded file into system/app. Fixed permissions, rebooted, and then added my exchange account. Works perfect on VI 4.0. I never had to put a security pin and all my mail syncs perfectly.
[HTC Sensation] shantur:
I checked Sense version, it seems like yes you can do it. But why would you like to do it?
[HTC Sensation] houms:
Hello,

In the new ARHD 6.6.0 I think the mail.apk had changed. I had a bug with persian writing which is now fixed with ARHD 6.6.0.

Can you please update the patch for this mail.apk?

And thanks a lot for this very good job.
[HTC Sensation] baste07:
+1 to this
[HTC Sensation] shantur:
OP updated.
[HTC Sensation] houms:
Thanks a lot.
[HTC Sensation] baste07:
is it possible to use root explorer and just copy the file and set corresponding permission?
[HTC Sensation] sanven:
HTC One X Mail.apk

Hi Can you help on this one too?

I try 4.0 sense Mail.apk 2.0 but not work in HTC One x sense.

This is the stock rom from HTC One X.

Mail.apk attached.

Thanks
[HTC Sensation] baste07:
just applied the mod on arhd 6.6.1, working great
[HTC Sensation] marystar:
working on galaxy tab (p7510)

Hi, did the same thing on my galaxy tab running AOKP build 30 (ICS 4.0.4) and it is working perfectly! Thanks.

Using ES File Explorer with root access i deleted existing exchange app and pasted the com.android.exchange.apk in it's place.

Now enjoying working email without pin and security hassle on both the sensation and tab :D
[HTC Sensation] AiKoiN:
FAIL !!!

connected to Exchange 2010 with 6.6.1 XE !

tested a remote wipe all data gone included SD card !!!!!!!
[HTC Sensation] shantur:
Strange.... As after using this patch, the Device Admin is not enabled at all.

Did you remove the existing Device Admin?

In case you already had the account the device admin must have been activated earlier.
[HTC Sensation] shantur:
Glad, it works... Thanks button awaits you :p
[HTC Sensation] shantur:
Unable to download your attachment.

I dont have HTC One X so, will not be able to test the mod.
[HTC Sensation] baste07:
Can i download the mail

Apk for my device and just copy it in the appropriate foldet using root explorer? (No pc requirer)
[HTC Sensation] shantur:
Yes, but remove older apk and exchange accounts
[HTC Sensation] HaJeeEs:
I am using the Sense 4 modded version on OrDroid (v2.0.8) rom. It all works fine. The only issue I have is setting the synctime (peak/off-peak) options when the system language is set to Dutch (Nederlands/Nederland). It seems the 'Smart Sync' option is missing in Dutch, while 'Once a day' is missing in English. This results in unexpected settings when selecting from the available options. In Dutch system setting you get another option than the one you actualy select from the menu. Not sure if this is APK or ROM related though. Translated Dutch options (see screenshot): first line 'Manual', last line 'Once a day', others don't need translation I guess... ;) I will test another Sense 4 ROM, hopefully later today. Maybe you can tell if this is caused by the APK? Thanks!
[HTC Sensation] shantur:
The Apk modifications doesnt change anything within your area. I would recommend you trying with original apk first, if its fine in original apk maybe its Rom-APk mismatch.
[HTC Sensation] HaJeeEs:
Mail.apk that comes with the rom works fine. Didnt realize that there are different Sense 4 mail.apk's. Would you mind modding this one (from OrDroid v2.1.1) too? Much appreciated.
[HTC Sensation] shantur:
Try this...

PS : Attachment moved to OP
[HTC Sensation] HaJeeEs:
Woohooooo, working! :) Thanks a lot, have a drink on me. (29920608UC787401H)
[HTC Sensation] shantur:
Thanks.. Much appreciated
[HTC Sensation] f10a:
I am running the latest InsertCoin 5.3.0. Which download do I need to use to try to fix this issue?

Or can I use the Sense 4 Mail.apk with 5.3.0 (Sense 3.6)?

Thanks!
[HTC Sensation] shantur:
Use Mail-Sense3.6-ARHD-6.6-v2.apk
[HTC Sensation] chrisw99:
A quick question.

I've got ARHD 6.6.2 , and have installed this Mail mod - great stuff, thanks for this.

I have re-setup all my mail accounts, etc.

Release 6.6.3 of of ARHD is out imminently, probably today.

What is the best way of keeping this mod so when the system boots up after flashing 6.6.3 (with the original Mail package again), I won't have to drop all my accounts, install the mod, set up the accounts again...

I was thinking

a) Manually insert the modded mail apk into the 6.6.3 ARHD zip before I flash it - is this possible?

b) Install this mod from the recovery after flashing ARHD 6.6.3 before the first reboot - again is this possible?

c) any other suggestions?
[HTC Sensation] shantur:
Both a and b are possible.

I would try this too ( only if you are using this mod on previous version)

1. upgrade the rom,

2. let the sync fail.

3. just copy new Mail.apk over older Mail.apk without removing the older one. I think it should fix without having you to remove the accounts.

I will try to spend some time writing a script to generate flashable zip from recovery so that you will not need to mod the rom itself.
[HTC Sensation] SquireSCA:
Anyone get this working on Scott's CleanROM Developer Edition 1.2 for the Rezound?

The ROM is perfect in every way, except for this Exchange Encrption thing. I tried deleting the account, downloaded what the com.android.exchange.apk file to the phone and used Root Explorer to delete the old one under /system/app and copy in the new one.

The old one was just named exchange.apk so I renamed the new one to that, rebooted and tried to install the new account and it just said that it couldn't connect.

Is there a step that I missed, or should I try the adb method?
[HTC Sensation] shantur:
It can be many things.

When it says it couldn't connect does it prompt you for policies?

Do you see any crashes in the logcat. It will be worth to post the logs just after the cannot connect error.

If you dont know how to get logs off your phone, download aLogcat from Play Store.
[HTC Sensation] chrisw99:
Strange one. Been using this fine for a week since I installed 6.6.3.

But last night, it started saying I needed to activate Exchange security policies.

I checked in /system/app and Mail.apk was 3.5Mb and not the one I pushed last week.

I repushed the Mail.apk and it's fine again.

So how did the original Mail.apk get back in /system/app? As far as I'm aware, it wasn't due to anything I did, certainly didn't update or flashing anything.
[HTC Sensation] ManCityFC:
Whenever I hit reply, the body of the original email is supposed to be included in the reply, but the recipient does see it....it doesn't get attached to the reply as it claims it should. Anybody any idea why? It seems to be doing it with every ICS mail client on Android.
[HTC Sensation] shantur:
I would really be interested in knowing more about this. Please let me know if it happens again or anyone else faces this.

I hope HTC is not implementing like Windows Genuine File Protection :)

I am using Sense version of mail and it works fine. It seems to be a bug in ICS mail client.
[HTC Sensation] shantur:
Added Mail.apk from ARHD 6.6.3 XE to OP
[HTC Sensation] baste07:
Was there updates for arhd 6.6.3? Im using the mail apk from earlier and its working
[HTC Sensation] shantur:
Not sure. I just modified from new rom.
[HTC Sensation] chrisw99:
I'll keep an eye on it. A couple of the mods I flash after ARHD (e.g. lightningbugs color icons theme) contain Mail.apk in there as I assume they contain the notification icons, but I'm 99% sure I pushed this Mail.apk after I flashed those.

That was a week ago anyway, so would Exchange really take a week to suddenly pop up saying it needed security policies activating??
[HTC Sensation] shantur:
I think wait and see is what we can do.
[HTC Sensation] BlueDiamond:
Can't make it work on HTC Sensation

After replacing the Mail.apk file on my HTC Sensation (official ICS 4.0.3) all Mail icons are gone - it's like the mail program has been uninstalled.

I tried to copy the original Mail.apk back into the system/app folder, but the problem remains the same: no Mail program, and I'm not able to add an exchange account (The exchange accout type dosn't exist at all)

What am I missing here?:confused:

Thanks!
[HTC Sensation] baste07:
Did you rebooted?
[HTC Sensation] BlueDiamond:
Yes, and the Mail icon is still gone form the list of apps and from the "quick buttton" on the fron
[HTC Sensation] baste07:
Did you update permission of the app after copying it over/
[HTC Sensation] BlueDiamond:
After some chmod and another reboot I was able to add a Exchange account. I accepted to add the required policies, why I had to enter the pin code and get my SD card encrypted (which basically deleted it).

And now: Everything is like it was before, and the security has NOT been disabled. (I'm using the Mail-Sense3.6-ARHD-6.6.3-v2.0.apk):confused:

Please help!
[HTC Sensation] baste07:
What rom are you using
[HTC Sensation] BlueDiamond:
I'm using stock ICS 4.0.3 for HTC Sensation
[HTC Sensation] salman saso:
Good day all

I didnt see any apk only zip file help here please
[HTC Sensation] baste07:
Its on the very first post
[HTC Sensation] salman saso:
Thank you it was browser problem

and the mod really work and its awsome

My device HTC ONE X Bindroid ROM
[HTC Sensation] BlueDiamond:
I’m stuck – Please help!

The situation is that I have rooted my HTC Sensation which is running the official ICS 4.0.3. No exchange accounts we installed at this time.

Then I installed the Mail-Sense3.6-ARHD-6.6.3-v2.0.apk by renaming and copying it using ES File Explore, and rebooted the phone.

First I wasn’t able to add an Exchange Account but after changing the permissions on the Mail.apk file (using chmod 666) I could add the Account. First time I tried to sync. I was asked to accept a number of policies which I did. Now I got pin code, SD encryption etc. – exactly like I did using the original Mail.apk.

On top of that the mail program icon is not visible anywhere (even after I changed the permissions and rebooted). Not in the Apps list or in Settings->Apps->All. If I copy the original Mail.apk back, the situation is the same, why I think I must be doing something wrong; some kind of installation step is missing.

BTW, if I try the manual procedure as describe in the first post, the \adb remount step fails, then the push step succeeds but the problem remains the same: The Mail app is not visible.

I appreciate any help I can get!
[HTC Sensation] baste07:
What does your permission looks like for mail.apk?
[HTC Sensation] BlueDiamond:
I have tried 644, 666 and 777 (rebooted after each change).

All with the same result. In "644 mode" the Exchange accout type is gone as well.
[HTC Sensation] apascual89:
Thanks

Just to report that this worked on my Htc One X running Insert Coin 6.2 Rom.
[HTC Sensation] Drefsab:
can this be ported to work on MIUI?
[HTC Sensation] d.cortez:
attached is the Mail.apk from the att one XL, that will be used with an ASOP ROM... it's slightly different from the 4.0 Mail apk in the original post. would be grateful if you could work your magic on this version.
[HTC Sensation] Stevemann:
Which one of these apk's works with the Desire HD using ARHD v7.0.4?
[HTC Sensation] PeeHoo:
Sorry my noob question... My wife is using desire HD and she cannot use stock email app because her company policy wants smime support. Is this mod (if possible use in desire HD) able to fake security things to the exchange server?

It creates some problems when using moxier app... ty for answering this.:banghead:
[HTC Sensation] shantur:
I have never tried, but in theory it should be possible

Choose any that matches your rom's Sense version

This doesnt fake anything to server, it just ignores the security requirement on device.
[HTC Sensation] Stevemann:
Thanks. But I see only two types - Sense 4.0 and Sense 3.6. Apparently I have:

Android 2.3.5 - HTC Sensation XL RUU 1.05.401.4

with HTC Sense 3.5 Interface

Which one is compatible please?
[HTC Sensation] arvo.bowen:
I have a HTC One X Stock ICS 4.0.3

Which one of the MODs should I use?

I tried using the Mail-Sense4-orDroid-2.1.1.apk and it installed OK but when I run the Mail app. As soon as I add my exchange account it tries to sync and tells me I need to ad hear to the policy changes...

- 7 Digit Pin

- Remote Wipe

- Monitoring Of Pin Entries ...

Etc..

Should I not be seeing this? Or is it a situation where I ad hear to the policy changes then somehow remove it after the exchange account is setup? Ideas/Input?
[HTC Sensation] PeeHoo:
Sooo.... If company is using s/mime then it is not possible to use native Android exchange sync... Not good :banghead:
[HTC Sensation] Stevemann:
Anyone provide help?

Thanks
[HTC Sensation] shantur:
I dont have 3.5 version. Please provide Mail.apk from your rom.

Did you Try Sense4.0 Fixed also? If not I will try to Mod one. Can you send me yours?
[HTC Sensation] shantur:
Try the apk attached
[HTC Sensation] Stevemann:
Thanks.

Here's the mail.apk from ARHD v7.0.4 Sense 3.5

Hope you can help
[HTC Sensation] Stevemann:
Thanks.

Here's the /system/app/mail.apk from ARHD v7.0.4 Sense 3.5. The earlier one was in a different folder. But I'd be interested to know if they are the same...

Hope you can help
[HTC Sensation] arvo.bowen:
First off THANKS SO MUCH for looking into my apk.

A Few Things...

1) The file sizes are different.

My original one is 3.18MB

Your new one is 3.38MB

If you are taking things out of it should it not be smaller?

2) Error when running your modded apk.

I get an error when trying to run your modded apk. The error is a generic android error. "Unfortunately, Mail has stopped."

3) My original apk is now attached.

Mail.apk for HTC One X (AT&T) HTC Sense 4.0
[HTC Sensation] eac:
Hello.

Can you take a look in the One X mail.apk (if yes, I cat send it to you)?

I'm using now your 4.0 fixed and is somehow very good. But there are some visuals wrong and, on the other side, 2 or 3 times the policies showed up again and I've had to delete the account and set it again.
[HTC Sensation] arvo.bowen:
I just sent him mine to look into it. :P
[HTC Sensation] shantur:
try the attached apk
[HTC Sensation] bluther:
I'm having the exact same problem.
[HTC Sensation] shantur:
1. Yes i have seen this everytime the size changes. I just change few lines of code doesnt remove anything ... I am not sure why this happens

2. I think this APK will not be able to run on AOSP roms, it is for Sense 4.0 Roms

3. The apk attached doesnt have code, seems like a bad upload. Try uploading again.
[HTC Sensation] arvo.bowen:
In regards to #2, I'm running Sense 4.0 ... Would that not be compatible for my phone?

#3, I clicked to download my uploaded file and got the apk (which it says on this website that the contents are over 3MB) then used winrar to extract it and see everything that was packed up... Looks fine to me....? Were you not able to unpack it?
[HTC Sensation] shantur:
I dont have One X so cant try that.

The apk doesnt have classes.dex file which has all the code.
[HTC Sensation] arvo.bowen:
OK so after doing some research it seems that with my phone you need the Mail.apk and the Mail.odex as the Mail.apk does not contain the file classes.dex.

So here is a zip with the following original files...

- Mail.apk

- Mail.odex
[HTC Sensation] arvo.bowen:
Bad News.... Just found this...

http://andwise.net/?p=419

Seems I have an Odexed ROM rather then a DeOdexed ROM! :(
[HTC Sensation] eac:
And who's stopping you to install a deodexed one? :-)
[HTC Sensation] arvo.bowen:
Not sure how I can. I have tried using the ones at the first post in this thread. They work but still have the security policies enabled on them. :(

I thought I would have to have one from my phone model... And I do believe that everyone else's HTC One X would be done the same way.
[HTC Sensation] Stevemann:
Thanks. Ran ok but get error 'failed to create account. Try again later' all the time...
[HTC Sensation] eac:
Sorry I wasn't more specific.

I meant why are you not installing a deodexed ROM, not just the email app?
[HTC Sensation] arvo.bowen:
Will that get me what I want? Will it solve my problem?

Still running stock. :/ hehe

I'm guessing you have the HTC One X International version... I have the AT&T... Not a lot of ROMS to choose from as far as i can see. I'm not sure if the ROMs out for the AT&T version are all that great yet... :8

I see your using the Energy ICS ROM... You don't like Android Revolution or Insert Coin?
[HTC Sensation] eac:
Yes, I think would solve your problem like it solved mine (the little issues I've mentioned in my post here are not such a PITA)

AT&T you're saying? Well, then you're right... Not so many choices

NRGZ wrote on his twitter that he "could do that", that being the AT&T port of his OneX ROM., so maybe you'll be lucky :)

Yes, I'm using an international OneX.

I like both ARHD and InsertCoin, but I cant use them all :)

On my Sensation, I've tested Energy and ICoin, but used day by day ARHD.

On OneX I'm testing ARHD, but using Energy. Maybe I'll test ICoin as well...
[HTC Sensation] d.cortez:
att one xl version is working so far. thanks!
[HTC Sensation] Stevemann:
Odd. Still getting error: Failed to create the account. Please try again later. I'll try with the stock mail.apk again and see.
[HTC Sensation] eac:
@rathore4u

Hello Sir, here u have the Mail.apk in Energy_5.25.2012.OneX.ICS ROM

If you can have a look and "customize" it a little, then you'll make many people happy :D

Like I've said in a post before, I'm using now your Mail-Sense4.0-Fixed-v2.0 and I cant say I'm not happy with it, but I guess the things could be better.

...And it's a very popular ROM here, as much as others, so I thought you can help us.

Big thanks for your work.
[HTC Sensation] shantur:
I have modified the apk attached. Try this and let me know so that i can move the apk to op.

Edit : APK moved to OP
[HTC Sensation] arvo.bowen:
OK rathore4u ... I have done a lot since my last post. For the first time I have installed a new ROM. So far I love it seeing as how I have never tried replacing a ROM on an android device before.

So now on my AT&T HTC One X I have CleanROM 2.2 installed and everything is deodexed. So now I have the attached Mail.apk deodexed for you that DOES include a classes.dex.

If you can mod this one that would be great! I tried to mod it myself but after I unpacked it using the following...

dex2jar\d2j-dex2jar.bat -f -o Mail.jar Mail.apk
dex2jar\d2j-asm-verify.bat Mail.jar
dex2jar\d2j-jar2jasmin.bat -f -o Mail Mail.jar

I had no idea which file to target... For that matter I had no idea what function to target either! :/
[HTC Sensation] eac:
OK

Well, well, well!

If you're not the man, then who?!? :p

Thanks, my friend, as far as I'm seeing, it's working smoothly.

Like the other, to be honest, but now w/o those visuals issues I've referred earlier.

I'll give you feedback in a moment if something new will show up.

Once again, big thanks!
[Asus  Eee Pad Transformer Prime] predo:
Got the ATP today delivered to my house, wife just unpacked it and its waiting for me coming back home on Thursday. However! I ordered Champagne Gold and they have sent Amethyst Grey!!!!

She checked box and ATP and serial matches up but starts C10... I always have thought that Champagne gold ones were always C1 or C2 and AG were always BB, BC and so on....

any ideas why serial and color don't match up?
[Asus  Eee Pad Transformer Prime] hitekdroid:
my first prime was a bc and this new one is a c20 i think those numbers are the build date
[Asus  Eee Pad Transformer Prime] REAVER117:
As far as I know the initial digits of the serial have nothing to do with the color, they indicate the build date.
[Asus  Eee Pad Transformer Prime] PolishPoet:
100% correct C1 is Jan 2012.

Proud Owner of a Transformer Prime on Tapatalk
[Asus  Eee Pad Transformer Prime] wokka00:
First character indicates build year - B stands for 2011, C for 2012.

Second character indicates build month - 1-9, then ABC. Skip zero.

http://service.asus.com/InfoPage.aspx?rid=1
[Android Q&A, Help & Troubleshooting] Faiz Malkani:
I'm using a ZTE blade with CM7 and ICS launcher overclocked to 748 MHz. I'm using a super app to SD application called Droidsail.

When I boot my phone, because of all the apps loading ( I have 150+ apps) I get multiple force closes and the phone hangs. I've to try like 10 times before it gets stable. Somebody help. is there anything I can do?
[Android Q&A, Help & Troubleshooting] Haraldr Blaatand:
Move some apps to your SD card.

1) Menu -> Settings -> Applications -> Manage Applications

2) Select an app from the list, and press the button 'Move to SD card.'

Go for the 'unimportant' ones, like Angry Birds. (i.e. I'd keep Flash internal.)

Avoid anything with a widget (that you're using).

I can't say if this truly is a cure. It worked for me, but, personally, it just doesn't seem to be logical.

150!?!?!? And I thought 110 was too many. ;)
[Android Q&A, Help & Troubleshooting] Faiz Malkani:
dude all the apps are on my memory card. all 150+ except for my launcher and my widgets. that's the problem. when I boot, it loads all 150+ from the memory card causing multiple FCs. it sucks. I tried increasing the SD cache size. no difference :/

and yeah, 150+ and counting. ;)
[Android Q&A, Help & Troubleshooting] egymaro:
I think you should use an app to configure your startup apps which runs when you starts yor phone.. i'm using an app called System Tuner its great, and in the section Startups you can prevent the apps u don't want to open automatically when u turn your phone On
[Android Q&A, Help & Troubleshooting] Faiz Malkani:
thanks a lot. I'll try it.

but the apps don't fc. the launcher does. I think as It reads and loads the apps. Idk. :/

btw I'm using ics launcher v1.4. it has a bad rep., but I want the ics look. ;)