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.
Right, every time I can set up my blueyonder email address on the phone(desire) using the email widget thing no problems, but when it retrieves them it usually wipes any previous emails of the phone or it only downloads a few of them and then wipes them as well when it updates, the only roms it has worked properly on is the stock rom and LeeDoid 2.3d, can't get it to work on redux,miui and I've tried a couple of gingerbread roms. Anybody else have this problem or know solution to it ? It's not a deal breaker on with roms more of an annoyance.
cheers
bump.
any ideas anybody ?
Gingerbread roms contain an updated Mail.apk which provide a few features not in FroYo. I only tried a 2.3 rom for a few hours (won't go into the details). So if I remember correctly there were options to delete emails from the phone when they got deleted off the server and a few others (have a look in settings) such as the option for downloading x number of messages. Also, set your 'Download Options' to 'By Days: All".
Sorry I couldn't give you detailed instructions ;-)
Anyway, hope this helps!
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.
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