Lollipop Leak Available for the Sprint Galaxy S5

Since the Android 5.0Lollipop’s official release not too long ago, we’ve seen … more

CPU Spy Gets an Android Lollipop Makeover

At some point in the distant past, you probably heard of CPU Spy for Android by XDARetired … more

Amazon Fire TV Stick vs Chromecast – XDA TV

There is no doubt that Amazon is a huge player in many markets, and they want to be a huge … more

Fight the Heat and Conserve Battery with EaseUS Coolphone

Memory hungry Android applications are often responsible for making our device … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] UCLD2 leak email.apk without Exchange security features?

OP algorhythm

23rd April 2012, 05:13 PM   |  #1  
OP Senior Member
Flag Long Island, NY
Thanks Meter: 336
 
1,314 posts
Join Date:Joined: Dec 2007
I know with Gingerbread there were some email.apk files floating around (not gmail) that removed the security enforcement on Exchange servers, such as requiring a PIN or password to lock the phone, remote wipe, etc. Has anyone done this on the latest leak? I ran the first leak we got, and the email.apk app interface was different than the one in UCLD2. I can make the edits myself but I cannot get the .apk to compile, so I come to you guys for assistance.

Thanks
23rd April 2012, 06:10 PM   |  #2  
fuse1820's Avatar
Senior Member
Flag Chicago, IL
Thanks Meter: 1,445
 
320 posts
Join Date:Joined: Oct 2006
Donate to Me
More
Give this a shot..Exchange worked for me:
https://play.google.com/store/apps/d...rprise.dmagent

But then again I am using XWLP4 GT-I9100 build
I can send you the APKs when I get home.
Last edited by fuse1820; 23rd April 2012 at 06:17 PM.
23rd April 2012, 06:18 PM   |  #3  
OP Senior Member
Flag Long Island, NY
Thanks Meter: 336
 
1,314 posts
Join Date:Joined: Dec 2007
From what I can read, that app just allows the policies (from Google Apps, it seems).

Basically the process for GB (and ICS I'm pretty sure) is to pull the email.apk from /system/app/ folder, unpack it with apk tool, modify a SMALI file (which I can do just fine), recompile the .apk and push to phone. The modification to the SMALI file is to always return "policy enabled" when asking for certain permissions, such as remote wipe enabled, PIN lock enabled, etc.
23rd April 2012, 06:58 PM   |  #4  
fuse1820's Avatar
Senior Member
Flag Chicago, IL
Thanks Meter: 1,445
 
320 posts
Join Date:Joined: Oct 2006
Donate to Me
More
Somebody had mentioned to me once to try that for Exchange. In any case the APKs I have work flawlessly. Email.apk and Exchange.apk. Theyre on my dev machine so when I get there ill send them to you

Sent from my SGH-T989-IcyS-RC1 using xda premium
23rd April 2012, 07:40 PM   |  #5  
OP Senior Member
Flag Long Island, NY
Thanks Meter: 336
 
1,314 posts
Join Date:Joined: Dec 2007
Quote:
Originally Posted by yaldak

Somebody had mentioned to me once to try that for Exchange. In any case the APKs I have work flawlessly. Email.apk and Exchange.apk. Theyre on my dev machine so when I get there ill send them to you

Sent from my SGH-T989-IcyS-RC1 using xda premium

Hmm, the apk files you have, are they modified or simply pulled from UCLD2? I can pull just fine, I just cannot compile.

The edit I am making is similar to this: http://forum.xda-developers.com/showthread.php?t=775007

But obviously on the latest leak's email.apk. It looks different than any other ICS email.apk.

When I try to compile on my own, I get an error similar to:
http://forum.xda-developers.com/show...83&postcount=5


I will try one of the thread's suggestions in using the latest aapt.exe file, but I haven't made any progress on it I'd like to contribute to the forum by providing this fixed apk file though lol
23rd April 2012, 07:55 PM   |  #6  
fuse1820's Avatar
Senior Member
Flag Chicago, IL
Thanks Meter: 1,445
 
320 posts
Join Date:Joined: Oct 2006
Donate to Me
More
Theyre pulled from GT I9100 build XWLP4. Exchange policy support out of the box

Ill upload in 10 minutes.

EDIT : i think i misread your post in a rush. Are you looking for APKs that dont require device admin priveleges? Trying to bypass allowing the exchange server control?

Sent from my SGH-T989-IcyS-RC1 using xda premium
Last edited by fuse1820; 23rd April 2012 at 08:03 PM.
23rd April 2012, 08:02 PM   |  #7  
OP Senior Member
Flag Long Island, NY
Thanks Meter: 336
 
1,314 posts
Join Date:Joined: Dec 2007
Quote:
Originally Posted by yaldak

Theyre pulled from GT I9100 build XWLP4. Exchange policy support out of the box

Ill upload in 10 minutes.

Sent from my SGH-T989-IcyS-RC1 using xda premium

Oh, no... all of the existing email.apk files do have exchange policy support... the issue is preventing the policies. I don't want to have to use a PIN to unlock my phone, but my exchange admin requires it, and it forces my phone to use it. Same with remote wiping.

The hack I am trying to do (or find if someone already did) would be to always say the phone is utilizing these features, when in reality it is not.


EDIT: Caught your edit. Yes, exactly.
23rd April 2012, 08:03 PM   |  #8  
fuse1820's Avatar
Senior Member
Flag Chicago, IL
Thanks Meter: 1,445
 
320 posts
Join Date:Joined: Oct 2006
Donate to Me
More
Aha. Sorry about that. Misread it in class. Ill play around with it if i can.

Sent from my SGH-I727 using xda premium
The Following User Says Thank You to fuse1820 For This Useful Post: [ View ]
23rd April 2012, 08:18 PM   |  #9  
OP Senior Member
Flag Long Island, NY
Thanks Meter: 336
 
1,314 posts
Join Date:Joined: Dec 2007
Quote:
Originally Posted by yaldak

Aha. Sorry about that. Misread it in class. Ill play around with it if i can.

Sent from my SGH-I727 using xda premium

I know exactly where to make the edit, at least for the PIN/Password requirement, but not for the remote wipe/anything else.

I just can't get the stupid thing to recompile.
24th April 2012, 06:55 AM   |  #10  
Senior Member
Thanks Meter: 87
 
445 posts
Join Date:Joined: Oct 2010
More
If you want, you can PM me the file along with the necessary edits; I will edit/recompile/resign it for you.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes