[Q] Exchnage No Pin ? - ZenFone 2 Q&A, Help & Troubleshooting

Anyone try flashing the Exchange No Pin on this phone?
Looking at the package it has an updated Email.apk and Exchnage.apk it places in the System\app directory
But on the Zenphone Asus has placed their own email app on the phone. I did find the in System\priv-app\AsusEmail\AsusEmail.apk
Any help is appreciated

Do I understand you correctly that you want to avoid the pin enforcing? You can install a cool app: mail wise
It can bypass all exchange security policies

Thanks - yes that is exactly what I am looking to do!
Will give it a try

I used Mailwise for connecting to my work bypassing the pin, but after about a couple of weeks it stopped working. Whether encryption is the way forward I don't know.

Related

[Q] Exchange Security Policy Post OTA

EDIT: Use the app from KShatzkes' post #24.
I installed the the OTA update, and like many 2.2 phones now, if you use the Email app to connect to exchange, you have to enter an annoying password just to unlock your phone, every time it locks. It's annoying and time consuming because you cannot use the pattern unlock --- you must choose an alphanumeric code at least four digits long.
There are email.apk files that bypass this, but since we cannot replace our email.apk permanently, that probably won't work for us.
The phone did not do this before the OTA, but now it does. Also, you can disable it via the databases in 2.1 (or use lockpicker), but these solutions seem to be broken in 2.2.
Any ideas?
Yes! This is bothering the heck out of me too! Hopefully some solution arises soon!
EDIT: I am guessing that the only option we have is to do something like Paul's Goggles Removal app. If we remove the Email that way, we can then install the other .apk just fine.
I emailed my company's IT department today about this, and got an interesting response:
[Me],
Activesync is set up for a production environment, since it sync's with your handheld which then contains [Company Name] material.
While not all handheld manufactures are have all come to the same level of programming, we've allowed underdeveloped handhelds containing a degree of activesync client to communicate with our servers, with the priority on greater protection. This is why the update of your device is now asking your for a 4 digit pin. The update to your device now has a full activesync client. This is by design.
We apologize for any inconvenience this may cause you.
Thanks
-[Technician]
Click to expand...
Click to collapse
So apparently, we got the "full" version of activesync. Sucks. I never before wanted something so underdeveloped. =(
Wish I could revert to the old version of the app as well.
I haven't noticed a difference since I installed the OTA.
I'm definitely not having to enter any password to unlock when I bring the phone to life.
I didn't have an unlock code before, and still don't. Maybe that's the difference. Did you have an unlock pattern before? Maybe it changes the type of code you can use.
I have the same annoying Pin requirement now after the OTA. I also did not have a pin before the update. It sucks.
I'll toss out an idea to get around this.
Root with Visionary.
Connect device via USB.
adb shell
su
pm disable com.android.email.policy
Our corporate Exchange server does not have these policies enforced so I cannot confirm whether it will do the trick. But either way, the change is persistent so you only need to do it once unless you wipe.
It can be undone by substituting the last command with "enable" instead of "disable.
smasraum said:
I haven't noticed a difference since I installed the OTA.
I'm definitely not having to enter any password to unlock when I bring the phone to life.
I didn't have an unlock code before, and still don't. Maybe that's the difference. Did you have an unlock pattern before? Maybe it changes the type of code you can use.
Click to expand...
Click to collapse
This is probably because your IT staff has not enabled the security (or more likely disabled it, since it is enabled by default in Exchange). I talked to our IT guys, and they say the national corporate office won't disable it, but they all hate it (local IT).
I showed them how to disable it in 2.1 Eclair, but those fixes don't work in 2.2 Froyo. The only fix for Froyo is to replace the Email.apk with a hacked version, but we cannot do this without permanent root.
rmk40 said:
I'll toss out an idea to get around this.
Root with Visionary.
Connect device via USB.
adb shell
su
pm disable com.android.email.policy
Our corporate Exchange server does not have these policies enforced so I cannot confirm whether it will do the trick. But either way, the change is persistent so you only need to do it once unless you wipe.
It can be undone by substituting the last command with "enable" instead of "disable.
Click to expand...
Click to collapse
I'll give it a shot, but my guess is that you won't be able to connect to the server at all without an email policy.
Edit: Doesn't work. You cannot send without the policy, and the password is still there. If you delete the account and recreate, it still forces you to create a password, and you still cannot send.
So to get this straight, the issue is with the Email.apk or the Email Policy file? Or both?
smasraum, can you upload your Email.apk and/or the com.android.email.policy that you say work for you? I doubt it is gonna work without perm root, but I'm so frustrated that I want to see if the system will allow me to downgrade the files.
Thanks in advance.
Here is the working (without password) Email.apk. I have this working fine on my Nexus with no password required. I don't think any changes to the policy are necessary. I believe this works by telling the Email app not to ask the server what its password policies are.
cparekh said:
Here is the working (without password) Email.apk. I have this working fine on my Nexus with no password required. I don't think any changes to the policy are necessary. I believe this works by telling the Email app not to ask the server what its password policies are.
Click to expand...
Click to collapse
I am assuming this apk won't remain on a reboot, will it? Will it revert back to the new apk?
If so, I guess we can make a visionary.sh script which can install the working apk on boot. Closest thing we will have.
EDIT: I tried to install that Email.apk, but I am getting an "Application not installed." Any ideas?
I don't think you can install it. I think you have to push it to the system/app directory. Then reboot, which is why it won't work on the G2. Also, I believe the ROM needs to be deodexed, so it would not work with the stock ROM anyways.
The steps I followed on my Nexus:
1) Delete Exchange account.
2) Remove password and go to regular lockscreen.
3) Replace existing email.apk with edited email.apk.
4) Reboot.
5) Add Exchange account.
All this was done on CM 6.1, which, I believe, is deodexed.
cparekh said:
I don't think you can install it. I think you have to push it to the system/app directory. Then reboot, which is why it won't work on the G2. Also, I believe the ROM needs to be deodexed, so it would not work with the stock ROM anyways.
The steps I followed on my Nexus:
1) Delete Exchange account.
2) Remove password and go to regular lockscreen.
3) Replace existing email.apk with edited email.apk.
4) Reboot.
5) Add Exchange account.
All this was done on CM 6.1, which, I believe, is deodexed.
Click to expand...
Click to collapse
Ah, okay so I see the real problem more clear now. And a visionary.sh script won't work because we need a reboot...
So I am guessing the only way to actually get this done is through Paul's Google Goggles method. Trick the system into deleting the current Email.apk, and then installing the old one. Anyone know enough to make that happen? =P
You can do that via Titanium backup with Paul's update. The problem is, if it doesn't work, then the change is permanent, and there is no current way of reverting.
I don't know if it would work, though, because it's not a market app, so it would not have the necessary signature to write itself to system/app and then run.
cparekh said:
You can do that via Titanium backup with Paul's update. The problem is, if it doesn't work, then the change is permanent, and there is no current way of reverting.
I don't know if it would work, though, because it's not a market app, so it would not have the necessary signature to write itself to system/app and then run.
Click to expand...
Click to collapse
Ah I didn't know Titanium Backup can do it now! Thats awesome.
But yes, I am wary that the change can be permanent if it doesn't work. Anyone pre-OTA (or a brave soul Post-OTA), willing to help us out and try this? Thanks!
I just caught the end of your last post. Yeah, I didn't think of it that way. I guess no matter what we aren't going to be able to make changes to the /system/app.
But, wait. If we deleted the Email.apk through TB, and then as long as the other Email.apk could be installed, then I think we would be good. Since we could make a visionary.sh script to install the good Email.apk on boot each time. But still, the problem I guess is we aren't too sure if the Email.apk would install in the first place...
KShatzkes said:
the problem I guess is we aren't too sure if the Email.apk would install in the first place...
Click to expand...
Click to collapse
Yeah, that's what I don't know. In effect, the NAND lock is not only keeping us from customizing our phones, it's keeping us from trying to customize our phones.
exchange problem after OTA update
i believe the problem i'm experiencing is related to everyone else here except i am not asked to enter any pin or pass codes. prior to the OTA update on 11/5 am for me, i was having absolutely no problems checking my work email via exchange. now after the update, i get this error message when i go into the app and try to retrieve email "unable to open connection to server".
anyone else experiencing this?
I got this once. The problem seems that after the OTA, it did not push the security policy to the phone. The solution for me was to delete the account and then re-enable it.

[Q] CM7 Outlook Security

I have searched and even tried to make this work myself, but have been unable to. Is there a way, using CM7 to:
1) not have to enter an EIGHT digit unlock code due to outlook security OR
2) use the stock HTC email client-which doesn't require it?
I have tried to flash the stock email client but it doesnt work, I have been told the screen unlock overrides the Exchange security-not in my case.
Thanks
If you're on RC1, go open a ticket in the Issue Tracker. More likely to get help from the devs who supposedly fixed this.

Cyanogen rom & encryption

Hiya,
My phone is a work phone and I've rooted it and installed Cyanogen rom on it, however encryption doesn't work as part of that rom. For me to be able to use the phone as a work device I need to encrypt it. If I tell it to encrypt the phone it never seems to do anything, I get the green android appear and that's it I have left it overnight before and it never seems to complete or give me any kind of progress bar. Any ideas how I can fix this please ?
Regards,
Martin
brayman said:
Hiya,
My phone is a work phone and I've rooted it and installed Cyanogen rom on it, however encryption doesn't work as part of that rom. For me to be able to use the phone as a work device I need to encrypt it. If I tell it to encrypt the phone it never seems to do anything, I get the green android appear and that's it I have left it overnight before and it never seems to complete or give me any kind of progress bar. Any ideas how I can fix this please ?
Regards,
Martin
Click to expand...
Click to collapse
if you want to know something then ask in the rom thread....but where do you tried to encypt it? in the settings or where? and which encrypt do you mean? it should work nicely
I'm assuming here you are trying to add an account as either Exchange or a Google Apps domain controlled by your employer and thus you are getting the security pop-ups telling you to add a PIN and encrypt the storage. What you'll find that really sucks is that once encrypted you can't flash updates to CM through the recovery anymore.
Try this app: Enhanced Email $9.99.
It will let you sync without needing to enable all of the security features on your device. I highly recommend you stick with a PIN code though!
Sorry for the self-advertisement: but encryption does work in my 4.2 AOSP ROM: http://forum.xda-developers.com/showthread.php?t=2013506
Note that you should switch to the 'bigdata' layout in order to avoid any data leakage by an unencrypted sdcard.
One-X-master said:
if you want to know something then ask in the rom thread....but where do you tried to encypt it? in the settings or where? and which encrypt do you mean? it should work nicely
Click to expand...
Click to collapse
I thought I did, ok. Yes if I go to settings and encrypt on the phone that way and it doesn't work.
navalynt said:
I'm assuming here you are trying to add an account as either Exchange or a Google Apps domain controlled by your employer and thus you are getting the security pop-ups telling you to add a PIN and encrypt the storage. What you'll find that really sucks is that once encrypted you can't flash updates to CM through the recovery anymore.
Try this app: Enhanced Email $9.99.
It will let you sync without needing to enable all of the security features on your device. I highly recommend you stick with a PIN code though!
Click to expand...
Click to collapse
Yes that's exactly It, Our work email is on Google now so its the Google apps problem. I don't mind if I cant flash updates as I haven't found any problems with the latest nightlies for a long time. I may try that if there is no other solutions dont really wanna spend my own money getting my work email working .

Downloading ZIP files via stock Email app... trying to fix... PLEASE HELP!

Dear All,
I recently discovered the atrocious 'security feature' Google is forcing upon it's Nexus users that disallows any downloading of certain compressed file types if they are sent to you via Email.
For those that don't know... send yourself a ZIP file (for instance) as an email attachment and your Nexus device will NOT let you download it once you receive the email within either the 'Email' or 'Gmail' app (other third party apps work fine).
I have searched high and low for a solution to this issue but it seems a fix hasn't been implemented even by the CyanogenMod community.
The closest I came to a fix is the following:
http://forum.xda-developers.com/galaxy-nexus/help/opeing-zip-files-email-t1377475/page3
I have tried the solution suggested in the above thread which involves decompiling Email.apk, modifying some code, recompiling and implementing the new apk but I am now struggling.
I have decompliled the systems email.apk using apk tool... found the correct lines of code for my version of android ( http://grepcode.com/file/repository...Utilities.0UNACCEPTABLE_ATTACHMENT_EXTENSIONS ) and modified the file in question accordingly.
It is here where it all goes wrong... I cannot for the life of me figure what I am doing wrong when trying to implement the new Email.apk.
I copy it into system/apps using root explorer and reboot (after removing the old apk)... nothing. Email app has in fact disappeared.
Could anyone shed some light on this please?
I know there are work arounds such as using webmail but that's no good to me... I am extremely surprised that even at this stage of Android development we still have this kind of restriction so would appreciate all thoughts on how to get this going.
Maybe someone out there has some more information about the issue that I haven't been able to find?
PLEASE HELP!
UPDATE:
Managed to get my modified email.apk loaded but the amendments have not been successful.
Does anyone know any other parts of the source code I should be looking at?
bump
Audio Oblivion said:
bump
Click to expand...
Click to collapse
Can't help you with the source code just wanted to say that I am able to download zip files with the newest version of the Gmail app (v 4.9) just fine. Sent a zip to my yahoo account and tried to use the Email app and keep getting "Couldn't download. Touch to retry." I thought they had fixed both but apparently not.

Pleaaaseeee Help!!! After Root can't login to Samsung Account No biometrics:(

Hi Guys. My device is SM-950F and I was able to root with the Latest TWRP and Magisk 20.1 .
My installing sequence was;
flashing TWRP after enabling OEM UNLOCK
flashing the encryption and lock bypass zips through TWRP right after restarting to recovery.
Installing Elementx 2.11 together with MAGISK 20.1 via TWRP
Finally Restarted the system without choosing the option to install TWRP App
Set up all welcoming pages without setting up any accounts because I already have my backup ready via Smart Switch
I tried to set up my Samsung Account with the correct password afterwards, it showed me the agreement and so on... pressed agree and it said " Process Failed" and sent me back to login page and this loop continued whenever I wanted to set Samsung Pass as well.
I tried to set up Lock Screen with fingerprint which forced me to set up either pattern,pin or password in the beginning. I setup the pattern but couldn't back it up on Samsung cloud so LockScreen does not stay on what I set because of that I guess . When you set a pin , it doesn't accept your pin either as well as password. As if it is not enough , when you restart your phone you are faced with the restart loop where the sim card pin screen appears and disappears after 10 seconds same thing. You can not start your system unless you go back to recovery and flash an official rom again
Is there something I should do after restarting the system like installing Ex Kernel Manager app which I figured is not a free app and enable something within the app or download a patch within Magisk Manager for Samsung not to see the root. Because without rooting everything works flawlessly on the same rom :crying:
Please help!!!
Update: Ok guys I solved it. After researching and trying some other new things I found out that I needed to use TGP Kernel instead of Element X which fixed all my problems
I hope someone else might also benefit from this thread because it drove me crazy to not to be able to use my phone for 1 week ...
By the way I will not give his name but someone wanted me to contact him directly via hangout and asked me to send them some screenshots and so on and when I asked him why he wanted to help me via hangouts but not here so that everyone could benefit from the solution he said that he is using a server to fix problems. I guess some hacker trying to benefit from people's difficult situations. I blocked him immidiately. Do you guys think I am wright ? Should I expose him to you guys or to the admins ???
uraz said:
By the way I will not give his name but someone wanted me to contact him directly via hangout and asked me to send them some screenshots and so on and when I asked him why he wanted to help me via hangouts but not here so that everyone could benefit from the solution he said that he is using a server to fix problems. I guess some hacker trying to benefit from people's difficult situations. I blocked him immidiately. Do you guys think I am wright ? Should I expose him to you guys or to the admins ???
Click to expand...
Click to collapse
Do not do anything outside at xda. I had the same thing where somone wanted to help on on hangouts using telegram. Just dont talk with them
uraz said:
By the way I will not give his name but someone wanted me to contact him directly via hangout and asked me to send them some screenshots and so on and when I asked him why he wanted to help me via hangouts but not here so that everyone could benefit from the solution he said that he is using a server to fix problems. I guess some hacker trying to benefit from people's difficult situations. I blocked him immidiately. Do you guys think I am wright ? Should I expose him to you guys or to the admins ???
Click to expand...
Click to collapse
kpwnApps said:
Do not do anything outside at xda. I had the same thing where somone wanted to help on on hangouts using telegram. Just dont talk with them
Click to expand...
Click to collapse
Telegram is a bit different in groups. But yea most of these guys will want some form of payment. A lot of us use Telegram now just cause of the quickness and capabilities

Categories

Resources