Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,116 Members 46,282 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
algorhythm
Old
#1  
Senior Member - OP
Thanks Meter 336
Posts: 1,314
Join Date: Dec 2007
Location: Long Island, NY
Default [Q] UCLD2 leak email.apk without Exchange security features?

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
 
fuse1820
Old
(Last edited by fuse1820; 23rd April 2012 at 05:17 PM.)
#2  
fuse1820's Avatar
Senior Member
Thanks Meter 1445
Posts: 320
Join Date: Oct 2006
Location: Chicago, IL

 
DONATE TO ME
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.
 
algorhythm
Old
#3  
Senior Member - OP
Thanks Meter 336
Posts: 1,314
Join Date: Dec 2007
Location: Long Island, NY
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.
 
fuse1820
Old
#4  
fuse1820's Avatar
Senior Member
Thanks Meter 1445
Posts: 320
Join Date: Oct 2006
Location: Chicago, IL

 
DONATE TO ME
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
Projects:
Custom AOSP for T989, T999, P999

Sources at Github
 
algorhythm
Old
#5  
Senior Member - OP
Thanks Meter 336
Posts: 1,314
Join Date: Dec 2007
Location: Long Island, NY
Quote:
Originally Posted by yaldak View Post
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
 
fuse1820
Old
(Last edited by fuse1820; 23rd April 2012 at 07:03 PM.)
#6  
fuse1820's Avatar
Senior Member
Thanks Meter 1445
Posts: 320
Join Date: Oct 2006
Location: Chicago, IL

 
DONATE TO ME
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
Projects:
Custom AOSP for T989, T999, P999

Sources at Github
 
algorhythm
Old
#7  
Senior Member - OP
Thanks Meter 336
Posts: 1,314
Join Date: Dec 2007
Location: Long Island, NY
Quote:
Originally Posted by yaldak View Post
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.
 
fuse1820
Old
#8  
fuse1820's Avatar
Senior Member
Thanks Meter 1445
Posts: 320
Join Date: Oct 2006
Location: Chicago, IL

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

Sent from my SGH-I727 using xda premium
Projects:
Custom AOSP for T989, T999, P999

Sources at Github
The Following User Says Thank You to fuse1820 For This Useful Post: [ Click to Expand ]
 
algorhythm
Old
#9  
Senior Member - OP
Thanks Meter 336
Posts: 1,314
Join Date: Dec 2007
Location: Long Island, NY
Quote:
Originally Posted by yaldak View Post
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.
 
krackers
Old
#10  
Senior Member
Thanks Meter 86
Posts: 444
Join Date: Oct 2010
If you want, you can PM me the file along with the necessary edits; I will edit/recompile/resign it for you.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Blast Those Flags with Knock the Flags

Lately, we have seen a rather drastic shift in the world of mobile device gaming. The infamous Angry … more

Hide Numbers on Your SMS and Call Logs with Reflection

How many times have you given your device to someone else in order to show them a … more

Implement Split View in Your LG G2 KitKat Rom with Automated Installer

Some of you may have remembered a story on the Portal a few weeks back … more