[Q] UCLD2 leak email.apk without Exchange security features? - T-Mobile Samsung Galaxy S II SGH-T989

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

Give this a shot..Exchange worked for me:
https://play.google.com/store/apps/details?id=com.google.android.apps.enterprise.dmagent
But then again I am using XWLP4 GT-I9100 build
I can send you the APKs when I get home.

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.

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

yaldak said:
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
Click to expand...
Click to collapse
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/showpost.php?p=23909183&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

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

yaldak said:
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
Click to expand...
Click to collapse
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.

Aha. Sorry about that. Misread it in class. Ill play around with it if i can.
Sent from my SGH-I727 using xda premium

yaldak said:
Aha. Sorry about that. Misread it in class. Ill play around with it if i can.
Sent from my SGH-I727 using xda premium
Click to expand...
Click to collapse
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.

If you want, you can PM me the file along with the necessary edits; I will edit/recompile/resign it for you.

Hi all - any progress on the email.apk and exchange.apk files from ICS being altered and shared, without exchange policies governing?
Many thanks.

marcyspark said:
Hi all - any progress on the email.apk and exchange.apk files from ICS being altered and shared, without exchange policies governing?
Many thanks.
Click to expand...
Click to collapse
Yes. I I fixed my fix and will be in the next update of my rom DIGITAL EVOLUTION 2.
:: DARKSIDE ::
"I am turned into a sort of machine for observing facts and grinding out conclusions..."

Related

Is it ok to post free apps that you have modded?

Well I have a couple apps that I am modding to my liking. I'm modding the actual apk file itself. Is it ok to post them when finished, or could that be an issue
If they are free I don't see why not.
Free does not always equal open source or give you the right to distribute.
You should email the developer to make sure.
I just figured it would get deleted by a Mod due to the fact it wasn't my work originally. I got a couple I know people will like.
Fancy Widget, working on a clear Pandora (couple versions actually), and Some more that I come across.
ViViDboarder said:
Free does not always equal open source or give you the right to distribute.
Click to expand...
Click to collapse
Right that what I was thinking.
ViViDboarder said:
Free does not always equal open source or give you the right to distribute.
You should email the developer to make sure.
Click to expand...
Click to collapse
I second this. An e-mail to the dev would be the best idea.
Wonder how Pandora would respond to a bad grammer, spelling, and sounding email? Hey look at this email this no body actually thinks we will give him permission to distribute our program, just changed to his liking. haha
enragedpaza said:
Wonder how Pandora would respond to a bad grammer, spelling, and sounding email? Hey look at this email this no body actually thinks we will give him permission to distribute our program, just changed to his liking. haha
Click to expand...
Click to collapse
Haha, post it here and I'm sure we can proof read it for you.
Pandora was only a small start-up not too long ago. Although I think your chances are VERY slim on getting them to give you permission to redistribute their APK. Think about it, what if you started putting in a virus and everyone blames it on Pandora?
If you have a clear theme you want people to use, you're probably better off packaging something yourself that requires users to download the official APK for Pandora and modify the contents themselves.
What I just described is pretty common practice as it puts the modification of the content in the end users hands which is (arguably) within their rights.
So posting a zip of some original images (not modified versions of theirs) and instructions on downloading their APK and making the modifications is the safest way to do it.
ViViDboarder said:
Haha, post it here and I'm sure we can proof read it for you.
Pandora was only a small start-up not too long ago. Although I think your chances are VERY slim on getting them to give you permission to redistribute their APK. Think about it, what if you started putting in a virus and everyone blames it on Pandora?
If you have a clear theme you want people to use, you're probably better off packaging something yourself that requires users to download the official APK for Pandora and modify the contents themselves.
What I just described is pretty common practice as it puts the modification of the content in the end users hands which is (arguably) within their rights.
So posting a zip of some original images (not modified versions of theirs) and instructions on downloading their APK and making the modifications is the safest way to do it.
Click to expand...
Click to collapse
Yeah I know they wouldn't give me permision haha. I don't know how to even create a virus. But your point is clear to me. So my easy install of clear Pandora will just sit in a folder for personal use.
enragedpaza said:
Yeah I know they wouldn't give me permision haha. I don't know how to even create a virus. But your point is clear to me. So my easy install of clear Pandora will just sit in a folder for personal use.
Click to expand...
Click to collapse
How about posting a not-do-easy install?
Sent from my EVO 4G using the XDA App.
I've never looked into the structure of apk files but I thought it was compiled code? How are you modifying it?
ViViDboarder said:
How about posting a not-do-easy install?
Sent from my EVO 4G using the XDA App.
Click to expand...
Click to collapse
Lol meaning? Or I could look into metamorph.
Sent from my PC36100 using XDA App
Minjin said:
I've never looked into the structure of apk files but I thought it was compiled code? How are you modifying it?
Click to expand...
Click to collapse
I'll let you know when I'm on my pc.
Sent from my PC36100 using XDA App
i've seen plenty of roms that have pandora (themed) included. would what you're wanting to do be any different?
i've even seen an "adless" version of pandora floating around somewhere before.
madsquabbles said:
i've seen plenty of roms that have pandora (themed) included. would what you're wanting to do be any different?
i've even seen an "adless" version of pandora floating around somewhere before.
Click to expand...
Click to collapse
All I wanted was a transparent Pandora. I made every widget 50% transparent. I know there is metamorph and there is a theme/skin floating around that will do it. But, I dont like having to go through the process of downloading Metamorph, download this, download that. Just wanted to have it as a apk. I haven't used Metamorph since nexus one sold it 2 months after buying it. Might have changed since then, but it used to fail on doing some skins.
you should just make the theme, and let people morph it themselves. a theme is not the same as distributing the application.

[SOLVED] How to remove the orange highlight on SMS Unread Count widgets

I've just bought WidgetLocker Lockscreen and using SMS Unread Count to display any missed calls/sms/emails.
The one thing that annoys me about my nice new lockscreen is pressing on the SMS Unread Count widget has an orange highlight before it opens the application.
Is there any way to remove the annoying orange highlight? It seems to be standard for all widgets to be highlighted in some way when pressed.
Been digging through my framework-res.apk and tried editing focused_application_background_static.png to another colour or transparent but this doesn't seem to be the correct image file.
If anyone knows how I can do this could you please point me in the right direction?
So I was looking in the wrong apk file. I guess this is what happens when you're attempting mods when you should be sleeping.
All it took was a simple edit of some .9.png files in the correct apk and now everything is nicely colour coordinated again.
Can someone explain to me how to do this in detail?
Anyone ?
Been a few months, but I still can't find which files to edit. Anyone know?
can we get this on ICS ROMS mms.apk the unread counter i miss it much
bump...
...
Man I feel so sorry for you lol. It seems like this wasn't a hard problem to solve but nobody wanted to help... anyway, cheers to you that you solved the problem!
waylaidwanderer said:
Man I feel so sorry for you lol. It seems like this wasn't a hard problem to solve but nobody wanted to help... anyway, cheers to you that you solved the problem!
Click to expand...
Click to collapse
LOL I haven't solved it yet. The OP has solved it and I wanted to know what he did. He never responded though, even in PMs. I guess no one's been opening this thread because it says SOLVED in the thread title.
EH15 said:
LOL I haven't solved it yet. The OP has solved it and I wanted to know what he did. He never responded though, even in PMs. I guess no one's been opening this thread because it says SOLVED in the thread title.
Click to expand...
Click to collapse
Oh oops I guess I wasn't really paying attention when reading... Anyway, you just need to decompile the widget/app apk and replace the image file that gives the orange glow with a transparent one. You can sort of tell which one it is by looking at the file names.
Sent from my GT-I9100
waylaidwanderer said:
Oh oops I guess I wasn't really paying attention when reading... Anyway, you just need to decompile the widget/app apk and replace the image file that gives the orange glow with a transparent one. You can sort of tell which one it is by looking at the file names.
Sent from my GT-I9100
Click to expand...
Click to collapse
Yup, I found the apk I need. It's com.kanokgems.smswidget-1.apk. I replaced a couple of images using WinRar, then used Root Explorer and copied it over to it's original location. Then restarted my phone, but it didn't work. The app wouldn't run properly...
You need to decompile it with APKtool or Auto APK Manager, and recompile it that way. Not always necessary, but that's the best way. And the most important part is to re/sign the apk file after you've recompiled it.
(Try installing it; if it tells you "Application not installed" you probably haven't signed it properly, and if you do sign it correctly it should work, otherwise uninstall the app and install your modded one).
Just delete badgeprovider.apk
Sent from my GT-I9100 using xda premium
Got it to work.
EH15 said:
Got it to work.
Click to expand...
Click to collapse
That's great! I hope I helped!
Sent from my GT-I9100

[DEV] Splash Screen Logo Maker Scripts - Windows, Linux, and Market App

Thanks to the hard work of Kalico from the #xoom irc channel, she has deciphered how to create writable images to the elusive logo.bin partition!
Here is a linux script with resource package. Requires having ImageMagick, which most distros have out the box. Read the readme.
Download Splash Maker for Linux
Kalico's Windows Script Here
Eos Motorola Xoom Boot Splash App ( Market Link )
Note: The Linux script is being released as is likely without further support. I got too much ICS stuff to do. Feel free to edit, modify, do as you wish. Just be sure to give some credits. thx
(supposed to be) SECOND!!
EDIT: Somehow got FIRST despite forgetting to sign in. Huge props to Kalico! Be sure to bug her until she puts up a donate link.
With help from me.
So, yeah, I'm slow and I just got this app together.
A few things are assumed:
You know how to operate your computer.
You have the Android Platform Tools installed and adb sees your Xoom
You have ImageMagick installed.
You have the .NET 4.0 Client Profile installed (sue me, it's all I can use)
Your Xoom is plugged in and ADB sees the device.
You assume any responsibility for your hankering with your device.
First things first:
In the folder you run the app from, it will make a config file, and 3 directories where it will store the original image, the raw image, and the flashable bin.
On first run, click on the Options tab and set the location of your adb.exe from the Platform Tools and convert.exe from ImageMagick.
Just run the app, drop your 256x320 image (jpg, gif, bmp, png or tif) and hit the Raw button, then the Bin button, then the Flash button.
I have a VBScript that can be used in the interim, as I am not home and can't get a pretty packaged app together to do this.
It needs to be edited for the paths to adb.exe and ImageMagick's convert.exe (set variables in the file), then your image formatted to 256x320, drag n' dropped onto the .vbs, it will convert the file, and do some adb magic to push and flash it.
Otherwise, wait a week, and I'll have a little app to do it for you.
Click to expand...
Click to collapse
Good to see this!
Sent from my Galaxy Nexus using xda premium
Very cool. Well done!
Sent from my HTC Desire using Tapatalk
Congratulations are in order.
Sent from my Xoom using Tapatalk
what's that live wallpaper named?
Edit, found it.
Amazing! Great work and congrats Kalico and BRD!
Good work guys
Link to video was broken.
Sent from my Xoom using Tapatalk
Oh, amazing!!! I like that logo lol
Merry Christmas guys
hardcorecn said:
Oh, amazing!!! I like that logo lol
Merry Christmas guys
Click to expand...
Click to collapse
It is pretty sweet.
Like tat Adorable Boot Screen!! CUTE!!
ZOMG! I need to go through my irc logs to find out how to wright to that logo.bin file now there's a way to do it! (This is assuming it was talked about in the xoom orchestra Chanel itself)
HALLELUJAH.....ask and you shall receive!!! Or for the unfaithful....plant a seed and watch it grow!!!
Merry Christmas everyone!!
double1 said:
what's that live wallpaper named?
Edit, found it.
Click to expand...
Click to collapse
Whats the name??
dadoc04 said:
Whats the name??
Click to expand...
Click to collapse
Ditto....anybody
bigrushdog said:
We are now working on a simple implementation method for all xoom users.
Click to expand...
Click to collapse
For those of us who are technically proficient, what's the underlying tech on this? I'm assuming the image partition's not merely an RLE/etc. image, then?
The LWP is called My Beach HD and was an amazon free app or Google 10 cent app sometime last week, I forget which. That's when I got it
Sent from my Xoom using xda premium
this is fantastic!

[Q] APKTool and Candy Crush

Hi
This is my first post and I hope that I have posted to the write forum!
I have a rooted Note II phone and I pulled the Candy crush APK down to my PC.
I have decompiled the APK and compiled the APK and signed the APK. I have copied the new APK down to the phone, installs OK but runs it stays on the Home Page and crashes.
I am not sure what I am doing wrong, I have not change anything just decompiling and compiling /signing and testing.
This is what I have done so far:
1. APKTOOL d Candy.apk
2. APKTOOL b Candy Candy2.apk
3. java -jar SignApk.jar testkey.x509.pem testkey.pk8 Candy2.apk Clash2Signed.apk
4. Copied to phone, installed OK but stays on the home page.
Where am I going wrong?
Thanks
Paul
if it is an app with online functions, may be failing a signature check since the original developers signature is replaced.
What are you trying to do? Hack it for 1000 lives, 200 moves, no tickets and slow timer?
Candy Crush + APKTOOL
gshadow325 said:
What are you trying to do? Hack it for 1000 lives, 200 moves, no tickets and slow timer?
Click to expand...
Click to collapse
Pretty much yes but I want to know I can change this and get this to work.
Thanks
Paul
pphillips100 said:
Pretty much yes but I want to know I can change this and get this to work.
Thanks
Paul
Click to expand...
Click to collapse
You can go here but first make a free account game is already hacked.
http://androidcheats.org/forum/inde...tersupdated-7613-new-version/?view=getnewpost
Sent from my SGH-T889 using xda app-developers app
pphillips100 said:
Pretty much yes but I want to know I can change this and get this to work.
Thanks
Paul
Click to expand...
Click to collapse
paul, you know i sent you a pm...top right corner of your screen shoulr show notifications
Might of found of issue
gshadow325 said:
paul, you know i sent you a pm...top right corner of your screen shoulr show notifications
Click to expand...
Click to collapse
Yes thank you.
I think I have found the problem but still seeking a solution, looking at the log file I am seeing the following error:
E/FictionFactory( 9936): Trying to seek in a file which probably is compressed! This is not possible. Either remove the seeking or add the file to the list of extensions which should not be compressed.
Any ideas?
Paul
pphillips100 said:
Yes thank you.
I think I have found the problem but still seeking a solution, looking at the log file I am seeing the following error:
E/FictionFactory( 9936): Trying to seek in a file which probably is compressed! This is not possible. Either remove the seeking or add the file to the list of extensions which should not be compressed.
Any ideas?
Paul
Click to expand...
Click to collapse
Look at the original apk and your new one, and make sure anything that isn't compressed in the original is not compressed in the new one as well. I've seen issues like this come up w/ .ogg files in the /res/raw/ directory, but it could exist anywhere really.
dwitherell said:
Look at the original apk and your new one, and make sure anything that isn't compressed in the original is not compressed in the new one as well. I've seen issues like this come up w/ .ogg files in the /res/raw/ directory, but it could exist anywhere really.
Click to expand...
Click to collapse
Thank you finally got it to work!!!
The issue was pretty straight forward, all the tutorials that I have seen have always steered me decompile, compile and sign which has not worked for me so far.
The way I got around this was to add my changes to the original APK file, resign it and hey it worked.
Paul.
pphillips100 said:
Thank you finally got it to work!!!
The issue was pretty straight forward, all the tutorials that I have seen have always steered me decompile, compile and sign which has not worked for me so far.
The way I got around this was to add my changes to the original APK file, resign it and hey it worked.
Paul.
Click to expand...
Click to collapse
how you solved it?
please explain for me.
thanks
DavidCDM said:
pretty cool:good:
Click to expand...
Click to collapse
how to make it no ticket ? i have edited apk and dont know which file to edit for no ticket... any suggestions pls ?:silly:

[TW] Bypass Exchange Security Policy on Galaxy S4 Android 4.2.2

Hello All,
I've been searching how to bypass the Exchange security policy on our device and was unable to really find anything.
This is a MOD that exists for Vanilla roms easily, and is also available for many other ROMs in the form of modified APK's.
After a bunch of searching I was able to find a MOD that would patch up the APK's on many ROMs, including TW ROMs.
I have nothing to do with this work, and all credit goes to its creators in the link below.
You will have to download this to your computer, and have Java SDK (JDK) installed on your machine.
When you run it - it will say that it cannot identify the EMAIL APK and ask you to type the APK name.
On our phone it is: SECEMAIL_J.APK
(It is located in /systems/app folder, if you care, though you don't need to know this)
The program will also create a backup of this APK file, as well as the SecExchange.APK which it modifies as well.
Good luck to you all!
LINK:
http://forum.xda-developers.com/showthread.php?t=1117452
Everything seems to line up just fine except it seems the security policies were applied anyway...
Note: FRESH BRAND NEW PHONE
1) Rooted device.
2) Setup my exchange mail settings, device asked me to accept policy changes, I closed it (not agreeing).
3) Downloaded the attached file (on that thread) "email-policy-patch-3.3.zip"
4) Extracted it...
5) Plugged up my phone.
6) Ran apply-patch.cmd
7) Said "Can't find Email app. Enter the name of your Email apk or press <Enter> to exit:"
8) Typed in "SECEMAIL_J.APK"
9) Finished patch successfully.
10) Phone rebooted and I open the mail app accepting the security policies. Then it made me set a PIN instead of my pattern.
Note: I did try to delete the email account and re add it with no success..
Now I'm confused... Why do I have to use a 7 char PIN? I thought the whole point of this was to avoid the security settings.
Ideas?
I hope this did not work. otherwise it is a huge security risk for the exchange server.
Sent from my SGH-M919 using XDA Premium 4 mobile app
skesseks said:
I hope this did not work. otherwise it is a huge security risk for the exchange server.
Sent from my SGH-M919 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It's been working for a lot of people... I have said it before and I'll say it again...
If you want to control the data fine... But NO ONE, will control my phone but me. To give a single company access to my entire phone is ludacris! There is no reason they need access to remote wipe my entire phone. If they need the ability to wipe the exchange account and all the relevant data with it fine, i'm ok with that... Now if they want to pay the $600 for my phone then we will talk ...
It worked!! I can't believe it. Thank you so much.
Apollo Eldon said:
It worked!! I can't believe it. Thank you so much.
Click to expand...
Click to collapse
What device Apollo?
arvo.bowen said:
It's been working for a lot of people... I have said it before and I'll say it again...
If you want to control the data fine... But NO ONE, will control my phone but me. To give a single company access to my entire phone is ludacris! There is no reason they need access to remote wipe my entire phone. If they need the ability to wipe the exchange account and all the relevant data with it fine, i'm ok with that... Now if they want to pay the $600 for my phone then we will talk ...
Click to expand...
Click to collapse
True enough. But then I don't have to let you use my exchange server if you don't abide by the policy I set forth, do I? This is not about your phone.
Sent from my SGH-M919 using XDA Premium 4 mobile app
skesseks said:
True enough. But then I don't have to let you use my exchange server if you don't abide by the policy I set forth, do I? This is not about your phone.
Sent from my SGH-M919 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
hehe, if you want me to work on my off hours you do.
arvo.bowen said:
Now I'm confused... Why do I have to use a 7 char PIN? I thought the whole point of this was to avoid the security settings.
Ideas?
Click to expand...
Click to collapse
Got it working fine at http://forum.xda-developers.com/showpost.php?p=47125823&postcount=1189, includes patched apks.
I thought I saw xposed modules for this.. why dont you guys use that? Its much cleaner and will survive rom flashing and it gets updates too
Don't enable security during offwork
Pretty simple. If you're not paid during off, then don't enable security on your phone. Or create an app that disable your security during off hours.

Categories

Resources