[MOD] ICS Email.apk Bypassing Exchange Security Policy (modded by irtehun) - Android Software/Hacking General [Developers Only]

This is for Ice Cream Sandwich 4.0.1 Only!
Modded ICS EmailGoogle.apk to allow Bypass of Security Policy.
Attached is just the APK and then a zip file which SHOULD be able to be flashed with CWM. The zip has been untested, so please post feedback.
Howto Install.
1.) Use Root Explorer or something like it and naviagte to system/app, mount as r/w and delete Email.apk, Reboot Device
2.) copy the new EmailGoogle.apk to system/app and change permissions to Owner(read,write), Group(read), Others(read).
rebot again. and your done.

Got it working.
I delete both EmailGoogle.apk and ExchangeGoogle.apk at /system/app.
Reboot, copy back your modded EmailGoogle.apk and ExchangeGoogle.apk
Thanks a lot dude!!

zaidaiman said:
Got it working.
I delete both EmailGoogle.apk and ExchangeGoogle.apk at /system/app.
Reboot, copy back your modded EmailGoogle.apk and ExchangeGoogle.apk
Thanks a lot dude!!
Click to expand...
Click to collapse
Does this require a de odexed rom? The stock galaxy nexus has odex files so im not sure if this will work?
Also you mention the exchangegoogle.apk this isnt provided here, do you mean you backed up the stock one and reinstated it along with the moded emailgoogle.apk after a reboot?
Cheers

luapclark said:
Does this require a de odexed rom? The stock galaxy nexus has odex files so im not sure if this will work?
Also you mention the exchangegoogle.apk this isnt provided here, do you mean you backed up the stock one and reinstated it along with the moded emailgoogle.apk after a reboot?
Cheers
Click to expand...
Click to collapse
I would say it requires de-odexed ROM.
I can't install this as normal application, it will return fail.
So I know I need to clear the email off the system (including the ExchangeGoogle).
Backed it up, delete and reboot.
Then I copy both of them back and reboot it.

guys you dont need to touch ExchangeGoogle at all.
EmailGoogle is all you need.

zaidaiman said:
Got it working.
I delete both EmailGoogle.apk and ExchangeGoogle.apk at /system/app.
Reboot, copy back your modded EmailGoogle.apk and ExchangeGoogle.apk
Thanks a lot dude!!
Click to expand...
Click to collapse
No problem. U don't have to delete ExchangeGoogle.apk though.
Sent from my SGH-I777 using Tapatalk

Are we sure this requires deodexed rom? I'm willing to root for this, but it's a-little early for me to start flashing. I usually don't do that until I'm bored with stock.
Thanks irtehun!

jasbur17 said:
Are we sure this requires deodexed rom? I'm willing to root for this, but it's a-little early for me to start flashing. I usually don't do that until I'm bored with stock.
Thanks irtehun!
Click to expand...
Click to collapse
Pretty sure it has to be de-odexed, but u could let us know if it works on stock.
Sent from my SGH-I777 using Tapatalk

I accepted your challenge. Unfortunately when I launch email it just tells me that unfortunately exchange services has stopped.
Perhaps I'll be flashing sooner than I thought.

jasbur17 said:
I accepted your challenge. Unfortunately when I launch email it just tells me that unfortunately exchange services has stopped.
Perhaps I'll be flashing sooner than I thought.
Click to expand...
Click to collapse
Must have to be de-odexed. Send me a pm and ill give u my email and will try to mod the stock one to work
Sent from my SGH-I777 using Tapatalk

Well, I thought I'd get it over with - so I flashed the Revolution HD rom for my Galaxy Nexus.
I tried both methods, copying and CWM for the modified apk but I still get the exchange error when opening the email app. I copied back the original apk and it launched OK.
I don't know what I'm doing wrong, but I sent you a PM in case...
Thanks!

jasbur17 said:
Well, I thought I'd get it over with - so I flashed the Revolution HD rom for my Galaxy Nexus.
I tried both methods, copying and CWM for the modified apk but I still get the exchange error when opening the email app. I copied back the original apk and it launched OK.
I don't know what I'm doing wrong, but I sent you a PM in case...
Thanks!
Click to expand...
Click to collapse
Are u sure that ROM is deodexed?
Also send me the Email.apk from that ROM. I'll mod that particular one and let u try it.

irtehun said:
Must have to be de-odexed. Send me a pm and ill give u my email and will try to mod the stock one to work
Sent from my SGH-I777 using Tapatalk
Click to expand...
Click to collapse
jasbur17 said:
I accepted your challenge. Unfortunately when I launch email it just tells me that unfortunately exchange services has stopped.
Perhaps I'll be flashing sooner than I thought.
Click to expand...
Click to collapse
Which is why I deleted/backup EmailGoogle.apk and ExchangeGoogle.apk, reboot and copy paste back the modded EmailGoogle.apk and ExchangeGoogle.apk.
Else, I'll just get exchange services has stopped.

zaidaiman said:
Which is why I deleted/backup EmailGoogle.apk and ExchangeGoogle.apk, reboot and copy paste back the modded EmailGoogle.apk and ExchangeGoogle.apk.
Else, I'll just get exchange services has stopped.
Click to expand...
Click to collapse
Well thanks hope that helps him out. I have no power at my house(damn snow storm) so I can't help him by Modding his version
Sent from my SGH-I777 using Tapatalk

zaidaiman, can I ask what rom you're using?
I swear I did it right, but it's still a no go for me.
I copied the 2 APKs EmailGoogle and ExchangeGoogle to sdcard for backup.
I deleted the 2 files from system/app
rebooted
copied the modded EmailGoogle and then the ExchangeGoogle APKs back to system/app
changed file permissions to read/write, read, read.
rebooted.
Immediately on bootup I get the exchange error. I tried to go through email setup and got the exchange error several more times then it closed the email app.

jasbur17 said:
zaidaiman, can I ask what rom you're using?
I swear I did it right, but it's still a no go for me.
I copied the 2 APKs EmailGoogle and ExchangeGoogle to sdcard for backup.
I deleted the 2 files from system/app
rebooted
copied the modded EmailGoogle and then the ExchangeGoogle APKs back to system/app
changed file permissions to read/write, read, read.
rebooted.
Immediately on bootup I get the exchange error. I tried to go through email setup and got the exchange error several more times then it closed the email app.
Click to expand...
Click to collapse
I'm using kwiboo's ICS AOSP ROM with franco.kernel ICS on Nexus S.
How about you try to set it up, just ignore the bloody exchange service has stopped, reboot and uninstall it through titanium.
I think the issue is the some sort of "registry". Need to clear this one for sure.

Works
Works on I9000 ICS port Beta1. I just followed the steps in OP. Thanks

I use Exchange mail for work and I'm curious: why would you actually need this? Is this only for people who have specific security policies that prevent the stock Email app from connecting to the server?

I use Exchange mail for work and I'm curious: why would you actually need this? Is this only for people who have specific security policies that prevent the stock Email app from connecting to the server?
Click to expand...
Click to collapse
No it bypasses the password lock so u don't have to enter password every time u unlock
Sent from my SGH-I777 using Tapatalk

PS: not sure if it is the apk you modded's fault or the exhange - but after a couple of reboots or 24hours, the email stops responding - and I get a "cannot connect due to security" message.
Need to re-enable pin lock, then re-synch, then change the unlock method again.

Related

AOSP apks?

Hey everyone. I have decided to get rid of some HTC apks and replace them with AOSP apks. (Music, Dialer, Browser, etc.) I am not 100% sure on which ones I will be replacing, but can someone provide a download for AOSP apks? That would be awesome because I know I can download a few ROMs here and then take out the AOSP apks, but my internet is REALLY slow, so that would take forever. Also, feel free to let me know on which ones I should take out and why. I would really like a second opinion on what all can be replaced and if replacing any would help. Let me know! Thanks to the one who uploads the apks!
BUMP
Anyone?
you on dial up?
karnoff said:
you on dial up?
Click to expand...
Click to collapse
Close enough >.> I tether my HTC Hero, but Cellular South's internet is terrible. I average at about 30 KB/s
that info would be great to have I would like the aosp dialer but don't know what the apk is called so I can pull it off one of the other ROMS
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
I have mms and music apk ill upload when I get home
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
Definitely replace HTC mms. AOSP mms is so much faster, especially if you're using the AOSP keyboard. The email gives you a combined inbox, which is kind of nice - but attachments might not download properly. Music is nice and fast, but you don't get the lockscreen controls. Contacts/dialer is kinda personal preference. Browser always shows the taskbar and addressbar, unlike the HTC browser; it also seems a bit faster from startup. However, doubletap zoom might not work. Oh, the AOSP browser wont work without the com.cyanogenmod.android.jar and com.cyanogenmod.android.xml files (those are found in roms, so you might be out of luck with the browser...)
these apks are from Darch's roms.
What's needed to get AOSP contacts.apk to work with my awesome DCv2.06 setup? I imagine some framework is not in place - something deep like that?
Attempted to install (thought it would fail or at least not work if it did install) and it said 'Not Installed' and an OK button.
scirio said:
What's needed to get AOSP contacts.apk to work with my awesome DCv2.06 setup? I imagine some framework is not in place - something deep like that?
Click to expand...
Click to collapse
You have to push it in to system/app ... installing from a file explorer should only work for the email apk.
scirio said:
What's needed to get AOSP contacts.apk to work with my awesome DCv2.06 setup? I imagine some framework is not in place - something deep like that?
Attempted to install (thought it would fail or at least not work if it did install) and it said 'Not Installed' and an OK button.
Click to expand...
Click to collapse
Wondering the same thing myself!
stuckinstupid...PLEASE change your name (Because you're stuckonsmart!), because you just got me the dialer I've always wanted! I didn't think to pull it from anyone, and further more, I didn't think to push it. I kept installing it.
thanks for the AOSP dialer i been looking for it for awhile now thanks
now im trying to decide on which MMS app i want to use i like the AOSP one better than the HTC one but it won't let you send V-cards(contact card) via MMS.
Can i have Both on the Phone If so How Do i get Both on the Phone? Rename one of them?
stuckinstupid2 said:
these apks are from Darch's roms.
Click to expand...
Click to collapse
Would I pull and replace or install these?
kratos313 said:
Can i have Both on the Phone If so How Do i get Both on the Phone? Rename one of them?
Click to expand...
Click to collapse
Naw, you're going to have to choose one or the other...renaming the apk won't rename the actual app
Tipharet said:
Would I pull and replace or install these?
Click to expand...
Click to collapse
Mms --> push/replace mms.apk in system/app
contacts--> push/without replacing anything...you have to keep the HTC dialer alongside the AOSP dialer
music--> push and delete HTCmusc.apk in system/app
email--> push/without replacing anything OR simply install with file browser...you can have both HTC mail and AOSP mail at the same time
REMEMBER TO BACKUP REPLACED APKS TO SDCARD
stuckinstupid2 said:
Naw, you're going to have to choose one or the other...renaming the apk won't rename the actual app
Mms --> push/replace mms.apk in system/app
contacts--> push/without replacing anything...you have to keep the HTC dialer alongside the AOSP dialer
music--> push and delete HTCmusc.apk in system/app
email--> push/without replacing anything OR simply install with file browser...you can have both HTC mail and AOSP mail at the same time
REMEMBER TO BACKUP REPLACED APKS TO SDCARD
Click to expand...
Click to collapse
What about the browser?
Which rom you are using would this work on Flipz?
Never mind It does work on Flipz 2.1d
Tipharet said:
What about the browser?
Click to expand...
Click to collapse
For the browser, remove the existing browser.apk, replace it with the AOSP browser.apk, THEN you must place these files in the corresponding paths in your rom:
darchstar said:
com.cyanogenmod.android.jar in /system/framework & com.cyanogenmod.android.xml in /system/etc/permissions
Click to expand...
Click to collapse
Those files can be found in Darchvanilla (in those paths).
chubbzlou said:
Which rom you are using would this work on Flipz?
Never mind It does work on Flipz 2.1d
Click to expand...
Click to collapse
Lol. Was just about to say I just pushed Contacts.apk to my phone (running Fresh 2.0d) and it works perfectly .
EDIT** Only thing I have found not working with Contacts.apk from AOSP is how they are listed. If you go into contacts, you can see them listed correctly (alphabetically) but the displayed alphabet is technically incorrect (if that makes any sense). For example, the names are in the correct order, but the "A" is listed under "W" even though it is up top as it should be.
scirio said:
What's needed to get AOSP contacts.apk to work with my awesome DCv2.06 setup? I imagine some framework is not in place - something deep like that?
Attempted to install (thought it would fail or at least not work if it did install) and it said 'Not Installed' and an OK button.
Click to expand...
Click to collapse
Just added it. Use the Contacts.apk that someone attached above and you have to push it to your phone as a /system/app through ADB. Nothing to it. Works great, no modification needed.
Most importantly it allows you to select which groups from your contacts in google that you want to sync. An option that broke or was removed in all 2.1 based roms out right now.
scirio said:
Just added it. Use the Contacts.apk that someone attached above and you have to push it to your phone as a /system/app through ADB. Nothing to it. Works great, no modification needed.
Most importantly it allows you to select which groups from your contacts in google that you want to sync. An option that broke or was removed in all 2.1 based roms out right now.
Click to expand...
Click to collapse
Thanks for posting this.
I'm still having some trouble getting Contacts.apk on my Hero. I'm running DC 2.072.
I'm able to successfully push the Contacts.apk from this thread with the command adb push Contacts.apk /sytem/app while in recovery mode. When I rebooted, though, I couldn't find it on the phone. There's no "Contacts" app, and the only "Phone" app is the HTC one.
Any suggestions?? I have also previously tried installing the APK by copying it to the SD card and then using an app installer, but the install would either fail, or I would get an FC when launching the phone app.

Using Stock ICS Email vs Samsung email app

Hello.
I want to know if somebody can/is run(ing) a stock Android email apk (as the one in the nexus phones or Xoom tablet), instead of the Samung email client.
I really want to use such version, as I cannot get confortable with the samsung version.
Instructions to install it? Sideload? adb push? where to find an apk?
I had a Google version running but I flashed a new rom after the leak and am having issues getting it to work. If I do soon I'll let you know
Sent from my SAMSUNG-SGH-I727 using xda premium
Use tibu and back up email, exchange, and social hub... Then delete and reboot.... Drop in the two apks below into system/app reboot and profit.
Could you post up some Screens? Hoping to include in this post.
http://forum.xda-developers.com/showthread.php?p=24238579
Sent from my SAMSUNG-SGH-I727 using xda premium
Don't know why they inverted
Sent from my SAMSUNG-SGH-I727 using xda premium
crusecontrl said:
Use tibu and back up email, exchange, and social hub... Then delete and reboot.... Drop in the two apks below into system/app reboot and profit.
Click to expand...
Click to collapse
Thanks, going to pass the files to some security servers and then install.
Thanks a lot!!!
I can't get them to work. It gets to the part where it asks how often to check. I click next. phone vibrates and email does nothing but crash and lock up the phone after that.
the emailExchange doenst work for me somebody know the issue?
crusecontrl said:
Use tibu and back up email, exchange, and social hub... Then delete and reboot.... Drop in the two apks below into system/app reboot and profit.
Click to expand...
Click to collapse
These are the best email apps hands down.. the stock email.app got better but this is 'NEW GMAIL' style and works with your personal email box on pop3 or imap or exchange! its just great!
I Highly recommend them!
Better screenshot
Sent from my SAMSUNG-SGH-I727 using Tapatalk
djoneal said:
the emailExchange doenst work for me somebody know the issue?
Click to expand...
Click to collapse
Did you try changing the permissions for both apps when you copied them to the /system/apps folder?
the permissions need to match the other files in the folder rw-r--r--
(all the read boxes need to be checked and just the owner write box needs to be checked)
I can confirm these files do work.
Thank you mhk!
Confirmed working with Smooth Ice ROM and Exchange 2003 server. So far so good. Wish I hadn't spent the $10 on EnhancedEmail...
the google email will not give me the option to push my yahoo email accounts any ideas?
I'm trying to get these email apps to work on LR2.6 but the emailgoogle.apk wont launch. It breifly opens before it FC.
I have tried fixing permissions but still no joy.
The reason why I have been lookign to change from the stock email.apk is that I couldn't get exchange to work properly with my work email which I did have working on a previous ROM.
Any ideas what I could do to get it to launch? Should this work on GT-i9100?
Not working on UCLD2??
Seems like this aosp apps wont work on the UCLD2 leaked release.
Anyone has success?
Works for me on NexusMOD UCLD2. It took me a few tries to get it to work though. I had to clear data for the built in email, then rename them, install the new ones and reboot. Let it settle. The first few times it would force close all the time, but after clearing data and then rebooting, it worked.
I finally managed to create some flashable zips that work, so you can move from Samsung email to Google/ICS email app much easier. All you need to do is go into manage apps, Email and clear data and cache (if any), reboot into recovery and flash ICS_EmailGoogle_update.zip. It will rename Email.apk, Exchange.apk and SocialHub.apk and install the new apks. To revert back to stock, again go to manage apps, Email and clear data and cache (if any) and boot into recovery and flash ICS_Stock_Email.zip. If you don't clear data, when you switch back and forth you will get FC's. I only use this with Exchange, so I can't verify if it works with other providers, but it works great for me.
I realize you can do all this with a rooted file explorer, but with the amount of times I seem to have to do it, this is easier...
As always, no guarantees, if your phone blows up, I'm not responsible. If you are curious, open up the zips and check out the scripts, just so you can see that I'm not deleting your system partition...
Enjoy!
Tom
OK
After this , my system crashes. Is it compatable with ICS and Litening rom 2.7?
ITS COMPLETELY HELL, I CANT USE MY PHONE! IT JUST SAYS ERROR APPLICATION CLOSED, THEN CRASHES.
MasterfullDON said:
OK
After this , my system crashes. Is it compatable with ICS and Litening rom 2.7?
ITS COMPLETELY HELL, I CANT USE MY PHONE! IT JUST SAYS ERROR APPLICATION CLOSED, THEN CRASHES.
Click to expand...
Click to collapse
Flash new seanscreamz ucld2 base sky ics 4.2D-7 for working email
*#* Google dropbox, its useful.
https://www.dropbox.com/referrals/NTcwNDE0ODUyOQ *#*

[App]GMail from Android 4.2

This is a leaked version from Android 4.2
There are new features and seems to be working on Android 4.0+
Enjoy! Not my work, I take no credit, just passing it along
Hows everyone liking it? Swipe to delete is great! Any bugs out there?
The link in that thread was removed but here it is
Installation Option 1:
]
Uninstalled old apk with Titanium -> Reboot -> Installed new Gmail apk with explorer -> Reboot - Done
Click to expand...
Click to collapse
Installation Option 2:
The Gmail 4.2 APK is signed by Google, but with a different key than the one in the Play Store (we checked the signatures - they differ). One is probably the test key and the other the production key. For this reason, you can't simply install it as an update and therefore need to be rooted with the ability to mount the /system directory for writing in order to remove the existing Gmail APK.
OK, let's get down to it. You'll probably need ADB installed on your computer (here's an easy way that doesn't require downloading the Android SDK). There is a chance that this might work without ADB by just removing the APKs mentioned below and installing the new one, but it didn't seem to work reliably for everyone. This should, though:
1. Download Gmail 4.2 from one of the mirrors above.
2. Rename it to Gmail2.apk.
3. Make a Nandroid backup in case something goes wrong (this is always a good thing to do before messing with your device).
4. Delete (or move if you want to save the APKs) all other versions of Gmail. Usually there are 2 or 3 copies. One will be in /system/app (that's the original Gmail that was pre-installed on the device) and there may be a few in /data/app (these are the updates installed from the Play Store). They'll be called "Gmail.apk," or "com.google.android.gm-[number].apk," An easy way to tell is to look for the Gmail icon.
5. You may need to delete the .odex files matching the APKs in step 4 too, if you have them. Neither I nor Artem had to do this, but there are many different ROMs out there, and we're trying to cover all bases. Ignore this step and only come back to it if something doesn't work later.
6. Reboot. Once you do, you should have no Gmail as far as Android is concerned.
7. You can try to install the Gmail 4.2 APK you downloaded at this point by tapping it in your favorite file explorer (move the APK to your device first, of course). If that doesn't work, or if you prefer ADB, fire up a command line and type adb install Gmail2.apk.
If you get an error message, you probably didn't delete all copies of Gmail. If you don't feel like playing with ADB for Step 7, I've also gotten it to work by just copying the APK to /data/app, but that's not as fool proof as "ADB install".
Click to expand...
Click to collapse
All instructions taken from the original post, just posting them here to help you guys
Neverendingxsin said:
The link in that thread was removed but here it is
Click to expand...
Click to collapse
Thanks!
speedybishi said:
Thanks!
Click to expand...
Click to collapse
No problem
I like it. Pinch to zoom is nice and swipe is also. Hope to start seeing this in a few roms.
Sent from my SCH-I535 using Xparent Blue Tapatalk 2
Is it just me...or can we only access our inbox with this gmail. No outbox/sent items...trash or anything?
Sent from my SCH-I535 using xda app-developers app
duarian said:
Is it just me...or can we only access our inbox with this gmail. No outbox/sent items...trash or anything?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
It's working fine for me. Just now checked. You have to hit the label looking icon to change sections. Thats on the bottom right corner.
Neverendingxsin said:
It's working fine for me. Just now checked. You have to hit the label looking icon to change sections. Thats on the bottom right corner.
Click to expand...
Click to collapse
Ah! That's it. Alright I take that back. Works great. Refresh animation doesn't work for me but it does refresh either way. Thanks!
Sent from my SCH-I535 using xda app-developers app
It won't let me install?
Sent from my SCH-I535 using xda app-developers app
kichard said:
It won't let me install?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
great, did the same for me, so i used titanium to un-install gmail and then tried to install it, still get an error. Now ti is not restoring my gmail.
Uninstall Gmail with TB.
REBOOT.
Install 4.2 Gmail
I had that same error at first too. You have to Reboot after uninstalling with TB before you install the new one
TokedUp said:
Uninstall Gmail with TB.
REBOOT.
Install 4.2 Gmail
I had that same error at first too. You have to Reboot after uninstalling with TB before you install the new one
Click to expand...
Click to collapse
Ok, I may try that. After it hung re-installing gmail, I rebooted and my screen said updating and then I had gmail again. I'm on stock. Is that an issue?
kichard said:
It won't let me install?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
I personally used root explorer and changed the original gmail apk to Gmail2.bak (yours may either be in system/app or data/app) mine was in data/app because im using AOSP, for stock touchwiz it might be in system/app. For AOSP its probably going to be named com.gmail.apk or something along the lines of that. Anyways after you delete/rename your original one move the 4.2 Gmail2.apk to system/app, set the permissions and reboot. It MUST be in system/app and you have to set the permissions and reboot for it to work
---------- Post added at 12:25 PM ---------- Previous post was at 12:22 PM ----------
Installation Option 1:
Originally Posted by uwdus
Uninstalled old apk with Titanium -> Reboot -> Installed new Gmail apk with explorer -> Reboot - Done
Click to expand...
Click to collapse
Installation Option 2:
The Gmail 4.2 APK is signed by Google, but with a different key than the one in the Play Store (we checked the signatures - they differ). One is probably the test key and the other the production key. For this reason, you can't simply install it as an update and therefore need to be rooted with the ability to mount the /system directory for writing in order to remove the existing Gmail APK.
OK, let's get down to it. You'll probably need ADB installed on your computer (here's an easy way that doesn't require downloading the Android SDK). There is a chance that this might work without ADB by just removing the APKs mentioned below and installing the new one, but it didn't seem to work reliably for everyone. This should, though:
1. Download Gmail 4.2 from one of the mirrors above.
2. Rename it to Gmail2.apk.
3. Make a Nandroid backup in case something goes wrong (this is always a good thing to do before messing with your device).
4. Delete (or move if you want to save the APKs) all other versions of Gmail. Usually there are 2 or 3 copies. One will be in /system/app (that's the original Gmail that was pre-installed on the device) and there may be a few in /data/app (these are the updates installed from the Play Store). They'll be called "Gmail.apk," or "com.google.android.gm-[number].apk," An easy way to tell is to look for the Gmail icon.
5. You may need to delete the .odex files matching the APKs in step 4 too, if you have them. Neither I nor Artem had to do this, but there are many different ROMs out there, and we're trying to cover all bases. Ignore this step and only come back to it if something doesn't work later.
6. Reboot. Once you do, you should have no Gmail as far as Android is concerned.
7. You can try to install the Gmail 4.2 APK you downloaded at this point by tapping it in your favorite file explorer (move the APK to your device first, of course). If that doesn't work, or if you prefer ADB, fire up a command line and type adb install Gmail2.apk.
If you get an error message, you probably didn't delete all copies of Gmail. If you don't feel like playing with ADB for Step 7, I've also gotten it to work by just copying the APK to /data/app, but that's not as fool proof as "ADB install".
Click to expand...
Click to collapse
All instructions taken from the original post, just posting them here to help you guys
The TI method worked wonderfully, thanks boys and girls.
Thank yo:thumbup:
TokedUp said:
Uninstall Gmail with TB.
REBOOT.
Install 4.2 Gmail
I had that same error at first too. You have to Reboot after uninstalling with TB before you install the new one
Click to expand...
Click to collapse
Yep, worked now too. Thanks
Gotta lock this up,the new app is considered warez. Google doesn't want this being distributed.

Inverted gapps and apps

Here's a link to b-boy inverted apps
http://www.designrifts.com/teamblackedoutapp/category/blacked-out-apps/google-apps-black/
Thanks to b-boy
MikeyNick found this as another option
http://forum.xda-developers.com/showthread.php?t=1745830
Using play store,calendar, gmail and Google now
They way I install these are
1) name the app you're replacing ie. MMS.apk to MMS.apk.bak , also do the same for the matching odex file
2) copy the inverted app to system/ app and change permissions to rw-r-r
3) reboot
Note: may not work with jcases method of gaining root, my boot loader is unlocked
Sent from my XT1058 using Tapatalk 2
thanks for this! Though I can't seem to get Gmail to install.. how did you go about getting rid of the system app? Titatium Backup doesn't seem to be doing the trick for me...
I haven't even begun to try any ones that require recovery.. just rooted my X and can't quite figure out to get into recovery easily.. is it as as simple as using Quick Boot? anyway to tell if it's in recovery without ADB?
thanks!
nonotechnology said:
thanks for this! Though I can't seem to get Gmail to install.. how did you go about getting rid of the system app? Titatium Backup doesn't seem to be doing the trick for me...
I haven't even begun to try any ones that require recovery.. just rooted my X and can't quite figure out to get into recovery easily.. is it as as simple as using Quick Boot? anyway to tell if it's in recovery without ADB?
thanks!
Click to expand...
Click to collapse
I deleted it with an app like titanium backup. After that you just need to reboot your phone and installed the inverted APK and all is well.
This method works for just about all the system apps. Just remember to Make a backup before you start cutting away.
Sent from my XT1058 using xda app-developers app
Have you gotten the blacked out Email app (corporate email) to work? It won't work for me
corywf said:
Have you gotten the blacked out Email app (corporate email) to work? It won't work for me
Click to expand...
Click to collapse
yep Email didn't work.
Unfortunately I stopped using Blackout apps because of a bug. Every time I would install any Blackout apps, my Hangouts would develop a weird scrolling bug (even if I didn't install blackout hangouts at all). On normal Hangouts when you type a message and send it, it should scroll to the very bottom. But when mine was bugged, it never scrolled after I typed a message, unless someone replied. I could scroll manually but still, drove me nuts. Reinstalling hangouts and it's lib dependance didn't fix it. Reverting blackout apps didn't fix it either. Tried wiping cache, dalvik, wiping hangouts data, nothing. I had to do RSD Lite complete clean flash to make it work properly again.
I really wish I could have them on, if it weren't for the hangouts bug.
Anybody find a dark MMS apk that still retains the square chat bubbles that the stock one has? I played around with every theme option for this one and I couldn't get it to match the stock app.
Sent from my XT1058 using XDA Premium 4 mobile app
_MetalHead_ said:
Anybody find a dark MMS apk that still retains the square chat bubbles that the stock one has? I played around with every theme option for this one and I couldn't get it to match the stock app.
Sent from my XT1058 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I believe you can change the style in mms settings. I have bubbles with side arrows
Sent on my Moto X
flashallthetime said:
I believe you can change the style in mms settings. I have bubbles with side arrows
Sent on my Moto X
Click to expand...
Click to collapse
It's not the same.
So, is there any way to do this on a verizon one (locked bootloader)? In my attempt to install the blacked out mms, I tried flashing the zip from stock recovery, but it failed to verify. Tried installing the Mms.apk from the zip via adb and pm, and it said INSTALL_FAILED_NO_CERTIFICATES
so then I signed it with a key as per android doc, and then I got INSTALL_FAILED_UID_CHANGED. so i figured out it was because the /data/data/com.android.mms was still hanging around. removed that, tried again and got INSTALL_FAILED_DEXOPT. That's where i stopped.
I'm starting to think i'll have to wait till there's safestrap for moto x. If not then let me know what i need to do!
MikeyNick said:
So, is there any way to do this on a verizon one (locked bootloader)? In my attempt to install the blacked out mms, I tried flashing the zip from stock recovery, but it failed to verify. Tried installing the Mms.apk from the zip via adb and pm, and it said INSTALL_FAILED_NO_CERTIFICATES
so then I signed it with a key as per android doc, and then I got INSTALL_FAILED_UID_CHANGED. so i figured out it was because the /data/data/com.android.mms was still hanging around. removed that, tried again and got INSTALL_FAILED_DEXOPT. That's where i stopped.
I'm starting to think i'll have to wait till there's safestrap for moto x. If not then let me know what i need to do!
Click to expand...
Click to collapse
Just manually install it with any root explorer but before you replace your existing MMS apk , rename it to MMS.apk.bak. Change permission to rw-r-r and reboot.
Sent on my Moto X
flashallthetime said:
Just manually install it with any root explorer but before you replace your existing MMS apk , rename it to MMS.apk.bak. Change permission to rw-r-r and reboot.
Sent on my Moto X
Click to expand...
Click to collapse
Can you explain what you mean by "manually install it" ? If you mean clicking the apk file and and hitting install, that doesn't work for me. from Root Browser, with system mounted as read write, it just says "App did not install"
If I just copy to /system/app and change permissions, it doesn't actually install it. it's not listed as an app in my applications.
I did figure out that I can restore the titanium backup by mounting /system as read write and restoring the backup, so i have my messaging back, just really want to get blacked out working!
EDIT: another thing I tried was replacing the apk file in the titanium backup with the blacked out apk. That also did not work. Titanium backup just sits there spinning with "restoring app"
MikeyNick said:
Can you explain what you mean by "manually install it" ? If you mean clicking the apk file and and hitting install, that doesn't work for me. from Root Browser, with system mounted as read write, it just says "App did not install"
If I just copy to /system/app and change permissions, it doesn't actually install it. it's not listed as an app in my applications.
I did figure out that I can restore the titanium backup by mounting /system as read write and restoring the backup, so i have my messaging back, just really want to get blacked out working!
Click to expand...
Click to collapse
Any chance you're using jcase's root method? You use any root file explorer , copy the MMS apk , go to system/app and change the existing MMS.app to MMS.apk.bak and also the odex mms file, then copy the inverted mms .apk and change the permissions to rw-r-r
Sent on my Moto X
flashallthetime said:
Any chance you're using jcase's root method? You use any root file explorer , copy the MMS apk , go to system/app and change the existing MMS.app to MMS.apk.bak and also the odex mms file, then copy the inverted mms .apk and change the permissions to rw-r-r
Sent on my Moto X
Click to expand...
Click to collapse
Okay, tried your way. It doesn't matter whether I remove Mms.apk, rename it to Mms.apk.bak, or straight overwrite it with the other. Every time the original Mms.apk leaves the /system/app folder, it is removed from the list of installed apps. The Messaging app literally disappears off the screen.
Yes, I used PwnMyMoto
MikeyNick said:
Okay, tried your way. It doesn't matter whether I remove Mms.apk, rename it to Mms.apk.bak, or straight overwrite it with the other. Every time the original Mms.apk leaves the /system/app folder, it is removed from the list of installed apps. The Messaging app literally disappears off the screen.
Yes, I used PwnMyMoto
Click to expand...
Click to collapse
Yah, thought you're using pwnmymoto, I believe if you reboot it wipes r/w privledges? Can you do it through penmymoto. Sorry I'm frigging getting a headache. I just found out that some major dinaro, mula, cash that's owed to me I'm not going to see it, does anyone live near lake Mary Florida? I need you to brake some frigging legs, there's a 10‰ finders fee 400 bucks . I guess I'll have to put a lien on the property here in Toronto, just pissed
Sent on my Moto X
flashallthetime said:
Yah, thought you're using pwnmymoto, I believe if you reboot it wipes r/w privledges? Can you do it through penmymoto. Sorry I'm frigging getting a headache. I just found out that some major dinaro, mula, cash that's owed to me I'm not going to see it, does anyone live near lake Mary Florida? I need you to brake some frigging legs, there's a 10‰ finders fee 400 bucks . I guess I'll have to put a lien on the property here in Toronto, just pissed
Sent on my Moto X
Click to expand...
Click to collapse
I guess it was just that particular version. This one worked fine:
http://forum.xda-developers.com/showthread.php?t=1745830
MikeyNick said:
I guess it was just that particular version. This one worked fine:
http://forum.xda-developers.com/showthread.php?t=1745830
Click to expand...
Click to collapse
Do you mind if I use the link you found in the op, gives people more options?
Sent on my Moto X
flashallthetime said:
Do you mind if I use the link you found in the op, gives people more options?
Sent on my Moto X
Click to expand...
Click to collapse
Absolutely not, go for the gold!
MikeyNick said:
Absolutely not, go for the gold!
Click to expand...
Click to collapse
Going to use it anyways
Sent on my Moto X
I might give this a try. Can you post up some screenshots? Thanks!
Sent from my Moto X using XDA Premium
eyeisdasteve said:
I might give this a try. Can you post up some screenshots? Thanks!
Sent from my Moto X using XDA Premium
Click to expand...
Click to collapse
Just follow the link in op, team blackout has pictures posted already
Sent on my Moto X

Email - Exchange Security bypass?

Has anyone bypassed the exchange security? I know people made flashable zip's for 4.3 and earlier in the past.
http://forum.xda-developers.com/showthread.php?t=1117452
I have the tool but i can't get it to work with my computer at home. i'm going to try a few more things before i add anything to the thread though. Give it a try and see if it works for you
Jrob2k said:
http://forum.xda-developers.com/showthread.php?t=1117452
I have the tool but i can't get it to work with my computer at home. i'm going to try a few more things before i add anything to the thread though. Give it a try and see if it works for you
Click to expand...
Click to collapse
I can't try that on my machine right now, well at least not my laptop and wont have access to my desktop until Saturday. I did however try this originally on my Nexus 7 with 4.3 and it failed, so I am not sure it would even work on 4.4 especially since the mail app has apparently been updated.
I am also very interested in this...
Sent from my Nexus 5 using Tapatalk
I haven't been able to test these yet, but If someone wants to check report back. If not I will check tomorrow. Stock email and exchange apks with the pin bypassed.
Backup your current email and exchange apks including their odexed files and push these to system/app, set permissions, and reboot.
Exchange2Google.apk - 1.12 MB
EmailGoogle.apk - 4.81 MB
Trying now, will respond with an update in 15min.
Update: Here is what I did, and please tell me if I did this wrong or need to replace my odex files. I changed the 2 apk files and their odex files to .bak after their names. Moved the 2 files you linked into system and changed permissions. Rebooted the device. Setup my email. Added my account and it asked for permission, hit activate and it did not make me set a passcode. Email is syncing now.
Only question is, should I make a copy of the 2 odex files and just put them back in there, or leave it without and .odex files? I have no idea what the .odex files actually do which is why I am asking.
I followed the steps in the other thread, made a flashable zip then flashed it. Working fine here :victory:
apascual89 said:
I haven't been able to test these yet, but If someone wants to check report back. If not I will check tomorrow. Stock email and exchange apks with the pin bypassed.
Backup your current email and exchange apks including their odexed files and push these to system/app, set permissions, and reboot.
Exchange2Google.apk - 1.12 MB
EmailGoogle.apk - 4.81 MB
Click to expand...
Click to collapse
That worked perfect for me! Thank you very much
Sent from my Nexus 5 using Tapatalk
Works awesome! Thank you!
killer2239 said:
Trying now, will respond with an update in 15min.
Update: Here is what I did, and please tell me if I did this wrong or need to replace my odex files. I changed the 2 apk files and their odex files to .bak after their names. Moved the 2 files you linked into system and changed permissions. Rebooted the device. Setup my email. Added my account and it asked for permission, hit activate and it did not make me set a passcode. Email is syncing now.
Only question is, should I make a copy of the 2 odex files and just put them back in there, or leave it without and .odex files? I have no idea what the .odex files actually do which is why I am asking.
Click to expand...
Click to collapse
Glad it worked! You can leave it without the odex files.
Great
tabii said:
I followed the steps in the other thread, made a flashable zip then flashed it. Working fine here :victory:
Click to expand...
Click to collapse
That one also works for me and eases the process Thank you
Quick question...
Does this patch fix the syncing issue? I have to set up my work email using IMAP, instead of exchange, as the Email app stops syncing after a couple of hours, when I set it up using exchange. Just wondering. Thanks.
cgjjaf said:
Does this patch fix the syncing issue? I have to set up my work email using IMAP, instead of exchange, as the Email app stops syncing after a couple of hours, when I set it up using exchange. Just wondering. Thanks.
Click to expand...
Click to collapse
I tried this patch and it stops syncing after a while too. I could not get it to work after trying multiple times. I just switched to the 4.3 version and it's working perfectly.
I patched mine with the first method of copying the files over myself and 16 hours later it is still syncing my mail just fine. Setup as Exchange account with active sync.
tabii said:
I followed the steps in the other thread, made a flashable zip then flashed it. Working fine here :victory:
Click to expand...
Click to collapse
Zip worked. Thanks
Flashable zip worked fine for me.
I did try switching to the ART runtime and I then got constant FC's on the email app/exchange app. I reflashed and it still had the issue.
After switching back to Dalvik, all is working and it didn't need another flash. So stay on Dalvik.
maamdroid said:
Flashable zip worked fine for me.
I did try switching to the ART runtime and I then got constant FC's on the email app/exchange app. I reflashed and it still had the issue.
After switching back to Dalvik, all is working and it didn't need another flash. So stay on Dalvik.
Click to expand...
Click to collapse
Having the same issue. Hopefully someone can make an ART runtime version that will not FC.
I used to use the modded apk's too, until I snagged "Enhanced Email" created by the developer himself from the amazon market for free.
britoso said:
I used to use the modded apk's too, until I snagged "Enhanced Email" created by the developer himself from the amazon market for free.
Click to expand...
Click to collapse
I used to use it too, but sadly now the look is too out of date. It also doesn't look like the developer has any plans to update it anytime soon.
kia_sx said:
I used to use it too, but sadly now the look is too out of date. It also doesn't look like the developer has any plans to update it anytime soon.
Click to expand...
Click to collapse
That is true, I tried using the stock app, but the 8 digit policy from my employer made me go back

Categories

Resources