yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Termus:
Hi, i'm just wondering what exactly does this mod 'bypass'?

I would like to connect to my company's exchange server (using eas) but I need to be able to modify my SG3's "DeviceID" as recognised by Exchange. I'm happy to accept the full eas policy as long as I can make my DeviceID look like an apple device.

Does anyone know how to modify the email.apk so that I can spoof the deviceID string?

Thanks!
[Android Software/Hacking General [Developers Only]] freeman9911:
Didn't work on my Skyrocket. ICS 4.0.4

when I launch the Email app it goes into black screen and they crashes.

I backed up the email.apk and copied the one form this post. I didn't touch the odex files or the exchange files.

Any skyrocketer out there on ICS 4.0.4 got it to work or aware of any other solution! It's so frustrating
[Android Software/Hacking General [Developers Only]] xmsxms:
Managed to get it working on a HTC Desire GSM running BCM (CM9 4.0.4) by using the files from this post:

http://xdaforums.com/showpost.php?p=24962588&postcount=214

I had to replace Email.apk in /data/app-system rather than /system/app, I assume due to m2sd.
[Android Software/Hacking General [Developers Only]] oldjuju:
Hey s77tas,

are you able to share how you managed this?

I was able to get it working on MIUI.us_Sensation_v4_2.6.29, but felt I needed Sense. I've moved to Android_Revolution_HD-Sensation_6.6.7, but it doesn't have the same files.

I assume that using Sensation ICS stock that it's a Sense ROM and should be the same as the Rev HD?

thanks in advance.
[Android Software/Hacking General [Developers Only]] stormwyrm:
Confirmed working on ASUS Transformer (1st gen) with Megatron 1.1.6 (CM9/ICS 4.0.3). Great work.
[Android Software/Hacking General [Developers Only]] h4rr0d:
delete me
[Android Software/Hacking General [Developers Only]] apeh2000:
mod email for jelly bean

is there an email mod like this one but for jelly bean?
[Android Software/Hacking General [Developers Only]] Lolento:
Hello,

I'm using the Asus Transformer Infinity, while the files themselves work but I still could not bypass the exchange security. I am getting the message that says my Tablet is not compatible with an exchange policy that allows installation from unknown sources.

I'm am using the HTC EVO 3D phone running Sense 3.6 ICS and the modded files for Sensation from another thread works for me on the phone.

However, I need the AOSP Email and Exhange apk to get my tablet work...can anybody help me? (Are these apks only modded to remove the PIN requirement security policy?

Thanks in advance!!
[Android Software/Hacking General [Developers Only]] pmbabu:
All - any response to this? Do the same apks work for JB too? Thanks a lot in advance!
[Android Software/Hacking General [Developers Only]] TuxDude:
http://xdaforums.com/showthread.php?t=1117452

Try the one in this thread, it worked for me with Jellybean.
[Android Software/Hacking General [Developers Only]] moose1313:
force close when completing exchange setup

running team dirt RemICS v1.3.1 having tough time finding a mod to make exchange mail stop asking for pin...tommys finale wasnt this difficult lol can i get some help.heres the apks
[Android Software/Hacking General [Developers Only]] huntingr:
FYI - Did not work on C9 ICS 4.04 (ACEICS V2 ROM). Got an error (see attached)... Any ideas?
[Android Software/Hacking General [Developers Only]] fubofo:
Doesn't work on Samsung Galaxy S3 GT-I9300

Copied file to /system/app

chmod 744

Rename SecMail.apk to SecMail.apk.bak (Samsungs email app)

Reboot device

Contsant message about 'Email has crashed'
[Android Software/Hacking General [Developers Only]] pmbabu:
Sorry I didn't post an update here, but this one worked for me:

http://tinyurl.com/8fv6x5k
[Android Software/Hacking General [Developers Only]] systemtemp:
You Sir, made my day. Successfully synchronizing my stock 4.1.B.0.587 (Mini Pro) with my Office 365 exchange server. Just deleted old email .apk (doesnt matter what name it has, haven't found and deleted any exchange.apk), copied email.apk and exchange.apk to /system/app, fixed permissions and voila!
[Android Software/Hacking General [Developers Only]] beganjackston:
Got my Motorola Razr M running stock ICS 4.0.4 working by using the file at this thread;

http://xdaforums.com/showthread.php?t=1957432

Couldn't be happier!

Ben.
[Android Software/Hacking General [Developers Only]] rexboy:
Glad it worked for you :)

Sent from my SG3
[Android Software/Hacking General [Developers Only]] kvan99:
Noob needs help please...

Quote:

Originally Posted by rexboy

Not sure if the same but i have it working on my ICS MIUI 4.0.4

Doesnt hurt to try, if it works, cant take credit, downloaded these 2 apk's from somewhere in this thread.

Backup existing email and exchange apks from system/app then delete them and reboot

copy new email and exchange apks into system/app and change permissions for both owner (read/write) and others to read only then reboot

then begin to setup your email and when complete and it asks you for security, select yes, choose your relevant options but when asked to select activate, reboot again.

Then load email again and this time hopefully you wont be asked for a pswd etc and it will start to sync.

Hope it works for you, let us know if it does. Works on ICS 4.0.3 as well

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

First off thank you for all of your hard work, but can some one post a instructions for a noob like me? I rooted and flashed the elegencia rom for my HTC sensation 4G t-mo branded phone but I cannot get this to work. I know there are other threads that talk up clearing the cache and removing the exchange policy before installing the patch but I'm not getting it. when I connected the phone to my pc I do not see the system/app folder..if some one can please post an easy step by step instructions I'd be grateful. TIA
[Android Software/Hacking General [Developers Only]] Bierfreund:
I'm using stock (rooted) ITL41F. I uploaded Email.apk and Email.odex to http://www.multiupload.com/7PMTIQ6YGX

Would be awesome if you could mod these.
[Android Software/Hacking General [Developers Only]] irtehun:
I will look into modding it later this evening.
[Android Software/Hacking General [Developers Only]] nakadm:
If you get stock Email.apk patched, can you please share? I too am on stock ICS and don't feel like flashing Deodex ROMs yet!
[Android Software/Hacking General [Developers Only]] irtehun:
If I get it modded I'll post on op
[Android Software/Hacking General [Developers Only]] os2baba:
The apk works for me using Beta 2 on the Vibrant. Thanks a lot!
[Android Software/Hacking General [Developers Only]] AMoosa:
+1. Would appreciate this.
[Android Software/Hacking General [Developers Only]] froggymike911:
What changes are you making so I can do the same on my ROM (Inspire 4g here)
[Android Software/Hacking General [Developers Only]] irtehun:
If your running gingerbread there is already a mod for it
[Android Software/Hacking General [Developers Only]] irtehun:
I haven't had time to try and mod yet. Off work Friday so I should be able to work on it then.
[Android Software/Hacking General [Developers Only]] froggymike911:
I'm running a beta of ics
[Android Software/Hacking General [Developers Only]] sh4z:
Looks like its working! good job irtehun :)
[Android Software/Hacking General [Developers Only]] nakadm:
Same here, took the plunge finally and Flashed ARHD on Galaxy Nexus, exact same issue as you
[Android Software/Hacking General [Developers Only]] irtehun:
I'll try these ROMs monday when i get my Nexus S and see if i can replicate the problem. as i dont have exchange I might not be able to figure out the problem.
[Android Software/Hacking General [Developers Only]] AMoosa:
Hi, Have you had time to do an odexed modded version yet? Thanks in advance. :)
[Android Software/Hacking General [Developers Only]] lightlytoasted:
I'll donate $10 for this mod. Hate the pin soooo much :)

I need stock GN ICS version...
[Android Software/Hacking General [Developers Only]] nakadm:
+1 Does not matter if Stock (Odex) or Custom (De-Odex) ARHD, or other...
[Android Software/Hacking General [Developers Only]] lightlytoasted:
Well if you dont care which type, first post has de-odexed already...
[Android Software/Hacking General [Developers Only]] nakadm:
Sure, but it's not working on GN, when I reboot phone, I get exchange service failed...
[Android Software/Hacking General [Developers Only]] sputnik99:
don't know what I am doing wrong...

I run this deodexed ics on my galaxy nexus : http://xdaforums.com/showthread.php?t=1372376

I tried the "delete - reboot - paste - permissions - reboot" way and had the same error messages from exchange service like others here.

I restored my old email.apk, then tried the flash-cwm-method. So far I got no exchange error but I can't deactivate or bypass the screen lock. As I have the face unlock (and face unlock is seen as unsecure) I was hoping to be able to chose this screen unlock.

Any help?
[Android Software/Hacking General [Developers Only]] ghammer80:
Same issues for me on a deodexed ROM. I did the delete/backup reset and keep getting Exchange Service errors.
[Android Software/Hacking General [Developers Only]] jasbur17:
I don't think I've seen anyone with a Galaxy Nexus report success. I think all the successful ones have been Galaxy S.
[Android Software/Hacking General [Developers Only]] Phyrefox:
Actually i managed to get it working on my Galaxy Nexus. However im not stock. Currently using Modacco lr5. I'll attach the emailGoogle.apk later so you guys can have a go at it.

Done. I do hope this isn't considered hijacking. Let me know if I am and I'll create a separate thread.
[Android Software/Hacking General [Developers Only]] nakadm:
Thank you! Works on ARHD on Galaxy Nexus. No more PIN!
[Android Software/Hacking General [Developers Only]] celltestr:
Anyone know why some ICS roms have different names for the apk?

Some have the names:

Email.apk and Exchange.apk

and some have:

EmailGoogle.apk and ExchangeGoogle.apk

Any idea?
[Android Software/Hacking General [Developers Only]] kynon:
Well, I can confirm it works here on the deodexed ITL41F stock ROM (posted by bigxie). All I did was to copy the original EmailGoogle.apk to a backup location, then flash ICS-hacked-email.zip via CWM, reboot, and removing the lockscreen PIN.
[Android Software/Hacking General [Developers Only]] irtehun:
I'm downloading that ROM to pull the email app out and mod just it.
[Android Software/Hacking General [Developers Only]] celltestr:
Solution for all ICS roms?

So I have a Galaxy S Vibrant, I used 2 different ICS roms in the first one (the I9000 port) I had no issues using the attached EmailGoogle.apk like described in the OP. I followed the instructions and it worked right away. The original apk file I had on the ROM was the same name as the one in the OP.

The problems started when I flashed a different ICS ROM (Passion 6.5) I kept getting FC for the Exchange process.. I noticed that the originals files in the passion are different than the ones from the I9000 port.. In the Passion ROM the file names were: Email.apk and Exchange.apk unlike the EmailGoogle.apk and ExchangeGoogle.apk in the I9000 port.

What I did to solve this I deleted the original files from the Passion ROM - both Email.apk and Exchange.apk - and I took the ExchangeGoogle.apk from the I9000 port and the EmailGoogle.apk from the OP, fixed permissions for both (like the OP says) rebooted and no more FC on the Passion ROM..

Hope that helps people that are having the FC issue.
[Android Software/Hacking General [Developers Only]] ghammer80:
Got it to work! But...my calendar wont sync. Not sure if its an issue with the exchange server...or the modded APK...anyone confirm this?
[Android Software/Hacking General [Developers Only]] Phyrefox:
Calendar sync is working for me.
[Android Software/Hacking General [Developers Only]] celltestr:
Did you do what I said? Or something else?
[Android Software/Hacking General [Developers Only]] OSully:
Is there any way to install this as a regular apk so I don't need to root quite yet?
[Android Software/Hacking General [Developers Only]] Bierfreund:
I flashed ICS-hacked-email.zip from the first Thread on my GN (MoDaCo ROM) and it works fine.
[Android Software/Hacking General [Developers Only]] ghammer80:
I did the same as you.
[Android Software/Hacking General [Developers Only]] flakz0r:
Can you update this for the updated mail app in 4.0.2? Pretty please? :D
[Android Software/Hacking General [Developers Only]] nakadm:
The APK posted by Phyrefox on page 5 of thread works for me on 4.0.2 Galaxy Nexus ARHD custom ROM (2.1.0)
[Android Software/Hacking General [Developers Only]] skandel_s:
Would like to know this as well. thx guys
[Android Software/Hacking General [Developers Only]] nakadm:
I don't see how that is possible. You need to replace an APK in /system/app, I don't know if you can do that without root access.
[Android Software/Hacking General [Developers Only]] yanki99:
is it possible to also mod the stock email with search? thx
[Android Software/Hacking General [Developers Only]] OSully:
So I can't use this on stock huh? I'd gladly donate for a stock version. I really don't want to get into flashing roms yet.. I was trying to avoid my obsession with that. :D

I'm on an LTE by the way.
[Android Software/Hacking General [Developers Only]] w0rdie:
I wanted to first say thanks to everyone who put time and effort into this! The community of developers and enthusiast are truly what makes the Android platform worthwhile.

Anyway -- ass kissing aside, I wanted to let anyone concerned know that using the APK from the post on page 5, the process is simple even if you're running stock ICS 4.0.2.

*** Requires Root ***

*** Doesn't require a Deodexed ROM ***

1.) Download file

2.) Using Root Explorer, rename EmailGoogle.apk and EmailGoogle.odex for backup purposes.

3.) Copy the downloaded EmailGoogle.apk to system/apps using Root Explorer.

4.) Reboot.

5.) Setup Exchange as normal.

6.) I received notifications that my server required additional security until I rebooted a second time. YMMV.
[Android Software/Hacking General [Developers Only]] plexuzflexuz:
Thank you! Works fine on my Nexus S running ICS 4.0.3 :-D
[Android Software/Hacking General [Developers Only]] OSully:
Just installed and seems to be working fine. I just denied the permissions for the security features - it gave me an error until I rebooted, now all is fine.

EDIT: I'm not getting push notifications it seems... any ideas?

DOUBLE EDIT: Not sure what I did but it seems to be ok now.
[Android Software/Hacking General [Developers Only]] kakesen:
cant get this to work, im on teamhacksungs build 10. Ive tried the op apk and the page 5 apk, but exchange services stop. anyone on build 10 get this to work? I got it to work on the other ICS port (beta 1).
[Android Software/Hacking General [Developers Only]] pentafive:
I followed the instructions above and it is working for me. Stock, Rooted 4.0.2

After I setup Exchange, I hit cancel when it asked for device admin. It then put something in my notification tray asking for device admin. Rebooted and all is well.

Thanks!
[Android Software/Hacking General [Developers Only]] johnuopini:
Great!!!! Thanks a lot! Working perfectly on Galaxy Nexus, 4.0.2 stock, even without any reboot (i was not using internal email.apk before).

---------- Post added at 05:56 PM ---------- Previous post was at 05:55 PM ----------

BTW can you post the source code / diffs?
[Android Software/Hacking General [Developers Only]] iluve:
Not works for me... The Exchange Server of my Enterprise request me more Security features, specifically the StorageCardEncryption.

Can someone include this rule to this bypass app or explain me how can i do it?

Android doesn´t support this feature for the moment and i only can set my exchange account using the "Netdesk Touchdown" app, but it´s impossible for me to set the native app for exchange...

I opened a issue in the support page of Google called "Ice Cream Sandwich (Galaxy Nexus) - Native exchange problems" (i don´t put the link because i don´t want to spam the thread).

But the support person in charge can´t help me. He only told me that they doesn´t support for the moment this feature :(

Someone have any idea?
[Android Software/Hacking General [Developers Only]] andrewrh3:
so far so good on stock 4.0.2 lte verizon nexus. Thanks a lot!!
[Android Software/Hacking General [Developers Only]] OSully:
I'm using this amazing version of 4.0.3 - http://rootzwiki.com/topic/12451-rom-aosp-403-android-open-kang-project-toro-build-8-dec-20/

Not able to get this working. I'd really appreciate help, I need it for work!
[Android Software/Hacking General [Developers Only]] AMoosa:
+1

My work exchange server has the exact same requirement - encrypted storage. If anyone can incorporate a workaround to this in the hack, it would be amazing. I have to use Moxier Mail which is fine, but not as good as thw native calendar and mail apps and i cannot use thw unified email andcalendar of the native apps so not as good.
[Android Software/Hacking General [Developers Only]] litso:
Can't get the apk from pg 5 to work on CM9 4.0.3. Upon launcher the app I get a FC of Exchange Services. If I dismiss this I can go through and set up my account, when I get to the manual setup screen I get the FC of Exchange Services again. If I dismiss again, enter all the correct information and select Next, Email FCs.

Loving CM9, but I may have to roll back until I get this working. Anyone had any luck on 4.0.3?
[Android Software/Hacking General [Developers Only]] rhsauer:
nevermind - please delete
[Android Software/Hacking General [Developers Only]] litso:
Just as an update to my previous post, I used the apk from the OP instead of the one listed on pg 5 and it is working famously on CM9 for Gnexus.
[Android Software/Hacking General [Developers Only]] madroix:
Can't connect to server

Followed the steps to use this on rooted stock 4.0.2 and when the setup tries to go to my exchange server it says it can't communicate. This happens after a long time of the circle spinning. I do not see any data activity in the signal indicator, and I am getting the same problem on WiFi. Any thoughts?

EDIT: I changed the exchange file from .apk to .old as well. I stink. All is well now.
[Android Software/Hacking General [Developers Only]] celltestr:
I'm having problem seeing the entire even info in the Calender.. It only showing the first few lines in the meeting description.. This is really annoying since I'm missing half of the meeting info! Anyone else noticed that? Or maybe have a solution?
[Android Software/Hacking General [Developers Only]] thefa:
Hi,

I was just reading this page

http://en.m.wikipedia.org/wiki/Comparison_of_Exchange_ActiveSync_clients

Where it seems that ics does not support sd encryption thing and I got a message on my GN saying that I should "encrypt my phone"... (requested by the exchange server). Would I be missing something?

Thanks,
[Android Software/Hacking General [Developers Only]] andrewrh3:
zygot3 1.8

I had this working on Stock 4.0.2, but it on Zygot3 (http://rootzwiki.com/topic/12696-rom-zygot3-18-apex-v4-kernel-12232011/page__st__1290) I keep getting the Exchange Services force close. Anyone get it working on this ROM? Any ideas?

Thanks a lot. Happy Holidays.
[Android Software/Hacking General [Developers Only]] johnuopini:
Just copy ExchangeGoogle.apk from the stock rom and you are done. Remove any existing Exchange.apk first clearly.
[Android Software/Hacking General [Developers Only]] dumees:
Hi All,

I have a I9000, ICS installed from Teamhacksung build 11(4.0.3). I know that only 4.0.1 is supported.

I removed the email.apk and the exchange.apk. Rebooted, placed this one in system/app and rebooted. I don't have a email app anymore, placing the backupped one back also doesnt work anymore.

Anyone got an idea?
[Android Software/Hacking General [Developers Only]] thefa:
Forget that, i mixed sd encryption and phone encryption. Table reports that the later is supported...
[Android Software/Hacking General [Developers Only]] andrewrh3:
The dev posted a zip that worked for me when flashed in recovery...others may want to try this one as well if on a 4.0.3 AOSP build: http://th3oryrom.com/GalaxyNexus/Mods/ZYGOT3_EXCHANGE_HACK.zip
[Android Software/Hacking General [Developers Only]] CaspaTheGhost:
Used the one on page 5 and it worked a treat on my G-Nexus...
[Android Software/Hacking General [Developers Only]] TuxDude:
The EmailGoogle.apk from page 5 worked - thanks...

I'd like to know what is the diff and the steps to modify the stock EmailGoogle.apk to get this one.

One more request - although not directly related to the thread's main topic... My exchange server requires client certificates as well, which I end up installing using the credentials storage, but that again forces me to set at least a Lock pattern... Is there any way of overriding this as well similar to the email app ? If you could at least give me some direction/pointers - I can poke around with the apks or the AOSP sources to figure out how to get it done. Thanks.
[Android Software/Hacking General [Developers Only]] mgmind:
been looking for this ! thanks!
[Android Software/Hacking General [Developers Only]] winterknoll:
Does anyone have this working on 4.0.3? Works fine on my stock 4.0.2 but can't seem to get it working on 4.0.3 roms.
[Android Software/Hacking General [Developers Only]] hrm5023:
Got it working!!

After a lot of trial and error I finally got it working on galaxy nexus running [AOSP 4.0.3] Android Open Kang Project - maguro build X

Essentially what I did was that I took all the apks from his thread and started a mix-match process to get it to work. The final tid-bit that made it work was I renamed the attached apks from emailgoogle.apk and exchangegoogle.apk to email.apk and exchange.apk. I did this because I noticed that this is what the rom came with originally.

The installation process:

- With root explorer backup/delete the old email.apk and exchange.apk

- Copy/paste the attached email.apk and exchange.apk

- Change the permissions to rw-r-r for both apks

- Reboot

I did not receive any errors after the modification.

Credit goes to whomever made those apks. (Apologies, I forgot which ones they are from all the mix-match)

-HM
[Android Software/Hacking General [Developers Only]] ftc_osiris:
AWESOME MAN

Thank you
[Android Software/Hacking General [Developers Only]] bigelar:
not working on sense 3.5

there is no email.apk in system/app insted there is Mail.apk.

I pasted EmailGoogle.apk but i get th messege "can't connect to server".

if I am trying to use the mail.APK it will conect.

[edit] after pasting exchange.apk working like charm.
[Android Software/Hacking General [Developers Only]] erosco:
So this WILL run on a gingerbread ROM? - The reason I ask is that I know the ICS email app has a nice 'view messages' widget. I would love to run this under gingervillian!
[Android Software/Hacking General [Developers Only]] wogfella:
Ummm no.

This is the ICS email app and needs the framework provided by ICS. Even the other AOSP versions won't work on GB.

Sorry.
[Android Software/Hacking General [Developers Only]] keith7120:
I'm using stock 4.02 and I'm deodexd, just follow the instructions below using the download from page 5. Keep in mind if you are deodex, there is not a EmailGoogle.odex file to rename.

1.) Download file

2.) Using Root Explorer, rename EmailGoogle.apk and EmailGoogle.odex for backup purposes.

3.) Copy the downloaded EmailGoogle.apk to system/apps using Root Explorer.

4.) Reboot.

5.) Setup Exchange as normal.

6.) I received notifications that my server required additional security until I rebooted a second time. YMMV.

In addtion once I rebooted and set up my exchange, It would not sync. I would have to reboot yet a second time and it synced just fine. Yeah, no PIN!