No ActiveSync Account in 14.1? - LineageOS Questions & Answers

Hi everybody,
just installed the current LineageOS nightly on my Galaxy S5 which worked without any problem. After that I installed OpenGApps (stock).
Now I wanted to add some formerly under stock rom used ActiveSync (Exchange) accounts.
But the only account type that can be found under "Settings -> accounts" is google? I even cant't find Pop3 nor imap...
Is that because LineageOS is just nightly or do I miss sth.?
Thx for any hint!
Snoopy

Just read a bit on the lineageOS Website and stumbeld across a little hint here:
https://wiki.lineageos.org/gapps.html
"Note: If you reboot into LineageOS before installing Google apps, you must factory reset and then install them."
I just followed that (Factory Reset my Phone, re - installed LineageOS and immediatly without rebooting from recovery installed the stock GApps).
After system reboot the first start wizard looks completeley different than after my first try (think, this was now the google-one) and I was able to configure Exchange Accounts with it.
BUT:
After creating the Exchange Accounts everythung works fine, data was synced... but in the "Preferences -> Accounts" page just the google Account is visible... the Exchange accounts aren't there and again I can't add new ones...
A little workaround (or is that the correct way from now on?):
Open GMail App, there go to the "preferences". Here one can see / configure the Exchange accounts or add other ones...

After clean Installing the last Nightly for my S5 (klte) (lineage-14.1-20170301-nightly-klte-signed.zip) the account preference page again shows all acounts, not just the google one.
Now I understood, that the ExchangeAccounts are really managed by the GMail App. The build in "Android E-Mail" - App just supports IMAP and POP3, not ActiveSync.

I noticed the same thing, but when I loaded the latest Nightly everything went back to normal, including Google.
Sent from my Nexus 9 using Tapatalk

No Exchange ActiveSync Account in this ROM?
Flashed Android O-build zerofltexx-2017-10-06_2147, and open_gapps-arm64-8.0-pico-20171010 from opengapps.org
If I install open_gapps-arm64-8.0-micro-20171010, witch include Gmail and others apps, Exchange account is available only for Gmail, not for stock Mail app.
Is there another option for Exchange Activesync for stock Mail app?
Thanks.
---------- Post added at 01:55 PM ---------- Previous post was at 01:38 PM ----------
Sorry, post for other forum.
fjcurr said:
No Exchange ActiveSync Account in this ROM?
Flashed Android O-build zerofltexx-2017-10-06_2147, and open_gapps-arm64-8.0-pico-20171010 from opengapps.org
If I install open_gapps-arm64-8.0-micro-20171010, witch include Gmail and others apps, Exchange account is available only for Gmail, not for stock Mail app.
Is there another option for Exchange Activesync for stock Mail app?
Thanks.
Click to expand...
Click to collapse

Just for the sake of completeness and others finding this: https://forum.xda-developers.com/android/help/exchange-lineage-15-1-t3805459

Related

[HACK] Removing keyguard and other security policy restrictions from Email apk

This patch was originally created for Samsung Galaxy S II and Galaxy S III, but it might work for other devices* running Android 2.3 or 4.x because it patches the Email application that you have on your phone. This is not a pre-patched Email.apk.
* Motorola Blur (Droid), LG G2 and HTC Sense - based ROMs are not supported!
What does it do?
It will make the Email app ignore Exchange-pushed policy on your device, including things like mandatory pin lock (a.k.a. keyguard), minimum password length, encryption, etc.
How to apply this patch?
Root your phone. Your phone must be rooted. It is impossible to apply this patch without root access. You need root to proceed.
Get Java (Java SE JRE v7 or later)
Get USB ADB drivers (for Samsung, install Samsung USB Drivers). Most likely you already have this because of step 1.
Note - ADB via Wi-Fi is also supported. In that case no USB drivers are needed.
Enable USB debugging on the phone (Settings->Applications->Development->USB debugging)
* For CM9 users, also go to Settings > Developer Options > Root access, and select ADB.
Download and unzip attached patch
Run apply-patch.cmd or apply-patch.sh
Note 1: Although the Email app will prompt you for device admin access, it won't actually enforce any policy on your device. Let the app install the device admin!
Note 2: any shortcuts to the Email app as well as any Exchange accounts will disappear and will need to be re-created.
Note 3: The patch will reboot your phone, this is needed for the changes to take effect.
Note 4: If you already installed another Email application and it doesn't work, first restore your original Email application before applying this patch.
A Special Note to those experiencing performance issues! This is not an issue of my patch. This is an issue in the Email app itself. Sometimes calendar sync can't finish properly, causing battery drain. It often happens after you just added a new exchange account. A reboot usually solves this issue. Again, this is not my issue!
Change Log
4.6 - Added basic lollipop support (generic AOSP and CM, no Samsung, alpha, untested)
4.5 - More fixes for Android 4.3 and 4.4
4.4 - Minor release with fixes for KitKat 4.4
4.3 - Bugfix release (adb path errors)
4.2 - ...
4.2 - Bugfix release (IOException)
4.1 - Bugfix release (connection timeout bug fix)
4.0 - Improved ADB support for Mac and Linux (beta)
3.4 - JB 4.3 support (improved boot class path detection)
3.3 - JB 4.2 support (updated adb)
3.2 - Improved Jelly Bean support
3.1 - Added Jelly Bean support (alpha, do not use), minor optimization and cleanup
3.0 - Added Galaxy S III support
2.4 - Bugfix release
2.3 - Will now patch both Email.apk and Exchange.apk, added patch for ProvisionP****r.hasSupportablePolicy(), courtesy of boost252525
2.2 - added ICS isSupported() patch
2.1 - added support for EmailGoogle.apk
2.0 - New patch method based on patching SecurityPolicy's isActive() and isActiveAdmin()
1.1 - Fixed a bug with /system remounting
1.0 - Initial revision based on patching SecurityPolicy.PolicySet <init>
Did the patch work for you? Donations are welcome!
Already patch Email.apk
Your "How to install this patch "is a little to difficult for me.
Is it possible for you to supply an already patched Email.apk ?
In advance thanks
For those who are interested in the source code of this patch, here it is.
https://github.com/rustyx/email-policy-patch
Thanks you
I use the Email.apk with the how to you supply, and All work like a charm.
I want to thanks you very much.
Thank You
Thanks so much for your effort. just want to get one thing clear, since you provided the patched Email.apk can i just install it directly, or do i need to be in recovery mode for example. because in your note you mentioned not to install!
Thanks again
Root explorer will also work! no ADB required!
1) Put Email.apk on your sdcard
2) Go to /system/app and press mount rw
3) remove Email.apk and Email.odex
4) move Email.apk from /sdcard/ to /system/app/
Then you need to setup your email again!
I had to clear the data also in applications -> email
Edit1:
your Email.apk is weird. When i reboot i get the notification that i need to set extra security. But when i press it nothing happends.
And after the email.apk the phone doesn't feel as smooth.. weird
Edit: removed Email.apk (modified) and wen't back to stock! phone is smooth again and works fine
May I ask why u use const/16 ?
const/4 goes from -8 to 8 (2^4) and should be preferred for small constants I think
Fr4gg0r said:
May I ask why u use const/16 ?
const/4 goes from -8 to 8 (2^4) and should be preferred for small constants I think
Click to expand...
Click to collapse
const/4 has also a limited range of destination register numbers, and with the p-format in smali the mapping of p-registers to actual v-registers depends on the number of v-registers. It may happen that in the future more v-register are added, and an existing p-register does not fit in const/4 anymore. Using const/16 is thus more or less future proof.
This is awesome, it woks great
I am on KF1 and it works flawless push with no lag or so
I wonder what happened when we deleted the Email.odex and didn't replace it? we only replace the Email.apk
At first to all, I used tool "FroyoMailUnlocker" to generate my new mail.apk and it worked fine for SGSII on 2.2.3 and also on GT7100 on Honeycomb 3.0.1.
Only problem is that after flashing new OS it need to be installed again.
Does anybody what settings should/can be saved to have an easier restore of the mailbox setup (for my exchange and hotmail accounts)?
Frank
This looks very interesting, but please help me figure out if it will solve my problem:
I have complete security enforced by my work Exchange account.
I need to sync email and calendar with that account.
I want to be able to set a timeout delay to the PIN lock engagement (now it is on immediately as the screen goes black), and it would be nice to use swipe unlock instead of PIN/password.
Will this hack do the trick for me? If so, even with calendar sync?
Thanks!
/Edit: I use the standard email app and calendar om my SGS2
too bad
Hi,
in general I was searching for a long while for this!!!!
Now I have all done as decribed and once I try to create the exchange account it comes back with: "the server requires security settings which your phone dosn't support"
too bad...any ideas?
update:
now it's working...I'd to be patient..
THANK YOU VERY MUCH!!!!
Just to clarify the instructions here (I am noob):
After installing Android SDK, do I unzip the attachement on my PC or phone?
The shell commands, I type them in the adb shell with the phone in recovery mode, or what?
Thanks!
I've been using this hacked app in the past week or so, and it does great what it is supposed to do.
BUT: lately I wanted to see what is draining the battery so fast, and imagine the surprise when I saw that the biggest drainer by far is email.apk, far above the display itself, which is supposed to be the main consumer!!!
Is anyone else seeing this? Do you know about any resolution to this? For now, I just froze the application, but that's not acceptable, since one of the main uses of the phone is to sync up mail, calendar, etc with the corporate one.
catastrat said:
I've been using this hacked app in the past week or so, and it does great what it is supposed to do.
BUT: lately I wanted to see what is draining the battery so fast, and imagine the surprise when I saw that the biggest drainer by far is email.apk, far above the display itself, which is supposed to be the main consumer!!!
Is anyone else seeing this? Do you know about any resolution to this? For now, I just froze the application, but that's not acceptable, since one of the main uses of the phone is to sync up mail, calendar, etc with the corporate one.
Click to expand...
Click to collapse
Do you have push enabled on the account? Try disabling it (setting it to a pull every 15 mins for example).
I had the same issue (without this hack though!) on one of my Exchange accounts, and not using push fixed the issue. It must be an Exchange provider issue, because my work account uses push with no issues.
I don't use push - I have it set for every 1h check during the workday and every 12h for off hours.
I even have disabled all notifications from it...
catastrat said:
I don't use push - I have it set for every 1h check during the workday and every 12h for off hours.
I even have disabled all notifications from it...
Click to expand...
Click to collapse
Hmm I see. Well, if this hack introduces another possible battery draining culprit, I'm not so sure I want to try it. I've spent too much time identifying battery draining apps/processes on my new phone already.
Has anyone else experienced email.apk battery drain after applying this hack?
Me. My phone also slowed down!
There are many factors that may cause a slowdown, which I have no way to reproduce. I can only say that my company's Exchange server is 2003 and that it is the only non-google mail account that I have configured on my phone. I have push enabled. The hack works great with this setup, i.e. no slowdown of the phone, no extra battery drain.
If someone who is experiencing issues can post more details about the version of exchange, sync mode, and any other pop/imap mail accounts configured, I may be able to investigate the issue further.
rustamabd said:
If someone who is experiencing issues can post more details about the version of exchange, sync mode, and any other pop/imap mail accounts configured, I may be able to investigate the issue further.
Click to expand...
Click to collapse
I am running your modded Email.apk in a Galaxy Tab with Gingerbread (Overcome Hermes) and I have no problems with slowdowns or battery drain either. However I am always getting a FC from the mail application when rebooting the Tab. Afterwards it works correctly. I guess it's natural since it is not the native mail application.
I have tried to mod myself the native Gingerbread Email.apk from the Galaxy Tab using your posted code, but it does not work (FC continuously). Although very similar to the Galaxy S II mail application, there must be some differences that make it impossible to just blindingly use your modifications.
Would you be so kind as to have a look at the original Email.apk from the Tab Gingerbread Overcome firmware and suggest a possible mod? Thanks in advance.

[Q] Arc S - GoogleApps E-Mail Client missing for Android 4.22 (Cyanogenmod 10.1)

Hello,
I have installed Cyanogenmod 10.1 on my ARC S and it's working great so far.
However, in the available googleapps.zip for Android 4.22 there is no longer the email client included.
I was using this client to synchronize my device with an Exchange server.
I saw in the forums that there was a custom version for a Samsung device.
Does anyone know if there is such a custom version for the ARC S available too?
Thanks in advance and regards,
Felix
Exchange nor Email app are related to Google Apps. You should ask the ROM developer to include them inside the ROM, if they are not already there.
Also, not even Gmail is included in Google Apps.

[Q] Gmail 5.0 on One M8 - using exchange?

Hello,
I've received my nexus 9, and discovered the support of exchange account on the Gmail app which is really great. I really wanted to configure the same on my HTC one m8, but I don't have the option when I add a new account.
I 've already checked that the versions are the same on both devices (5.0 1569867) but I lack the option Exchange from the drop list of the mail account type. (I have the Gmail and imap/pop option)
I' ve tryed couple of search but I found none reporting the same issue. Any idea there is a magic tricks to activate exchange support on the m8 (htc edition, not the play edition).
Thanks!
What's the version of Gmail on your HTC One M8? You can know the version from Settings > Apps > Gmail , under the application icon you will find the application version, exchange services was added in Version 5.0, and I don't think you we will be able to see it except if you received the new gmail version or side loaded it.
bingorabbit said:
What's the version of Gmail on your HTC One M8? You can know the version from Settings > Apps > Gmail , under the application icon you will find the application version, exchange services was added in Version 5.0, and I don't think you we will be able to see it except if you received the new gmail version or side loaded it.
Click to expand...
Click to collapse
Like I said in my first message: 5.0 1569867, the exact same version than on my nexus 9.
NightFalken said:
Like I said in my first message: 5.0 1569867, the exact same version than on my nexus 9.
Click to expand...
Click to collapse
There is an exchange.apk that goes around which will enable it for you. No idea if it's version specific though. Let me try to find it and post it for you.
NightFalken said:
Like I said in my first message: 5.0 1569867, the exact same version than on my nexus 9.
Click to expand...
Click to collapse
Here you are. As i said i don't know if the apk is version specific so try it on your own risk. After you install exchange.apk Force Stop and reopen Gmail. When you add account you will see a new option for "Exchange"
stathis95194 said:
Here you are. As i said i don't know if the apk is version specific so try it on your own risk. After you install exchange.apk Force Stop and reopen Gmail. When you add account you will see a new option for "Exchange"
Click to expand...
Click to collapse
Many thanks, it works

Prroblem with Google Keep

I rooted my Canvas A1 using philz recovery to CM 12.1 Sprout 4 Nightly the Google Apps package was taken as mentioned on droidone site with.cf domain. The package provided Google App and Play Store only and I installed all other Google Apps separately. While the Gmail, Drive and others are working fine, Google Keep is unable to start. It crashes at the very beginning.
Don't know it's the package or app or any other thing which is causing this.
Dear members please provide the solution to resolve this problem.
A big thanks in advance :fingers-crossed:
I had the same problem. My notes, contact and most of the other data was also gone.
You must try singing syncing your Google account.

Cannot download updates or apps from Play Store

Hi folks,
since a few weeks, I am not able to download apps from Google Play Store. I flashed a new nightly and GApps and didn't notice the issue at first. Then I tried to update a few apps. Did not work over wifi nor over mobile data. Error code: 495. Standard internet tasks (check mails, browser, messenger apps) work as usual.
I'm on LineageOS 14.1-20170320 with Open GApps Pico 20170326 on a Nexus 6P (angler).
I've tried:
- removing Google account
- cleaning all Google Play, Google Play Services, Google Play Framework caches and data
- Flashing lineageos.zip, su_armx64.zip, opengapps, wipe cache and dalvik
- rename /system/addon.d to addon.d.bak
- Use F-Droid App Yalp Store to download. "Error at receiving or processing data in HTTP layer..<message cut here>"
Could this be the root cause?
/data/media/0/recovery.log -> "__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!"
Background data is allowed for all Google apps, block all mobile network or wifi access are unchecked, AF+ Firewall is disabled.
I could use some advice here. Factory reset is not an option.
Use vpn apps, like opera vpn, onetouch vpn, etc
@Nexus4Owner1
Did u resolve ur above problem? How?
I am facing the same problem, with "lineage-14.1-20170608-nightly", in my MotoG3 (osprey) !
same here. tried everything. driving me nuts
Nexus4Owner1 said:
Hi folks,
since a few weeks, I am not able to download apps from Google Play Store. I flashed a new nightly and GApps and didn't notice the issue at first. Then I tried to update a few apps. Did not work over wifi nor over mobile data. Error code: 495. Standard internet tasks (check mails, browser, messenger apps) work as usual.
I'm on LineageOS 14.1-20170320 with Open GApps Pico 20170326 on a Nexus 6P (angler).
I've tried:
- removing Google account
- cleaning all Google Play, Google Play Services, Google Play Framework caches and data
- Flashing lineageos.zip, su_armx64.zip, opengapps, wipe cache and dalvik
- rename /system/addon.d to addon.d.bak
- Use F-Droid App Yalp Store to download. "Error at receiving or processing data in HTTP layer..<message cut here>"
Could this be the root cause?
/data/media/0/recovery.log -> "__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!"
Background data is allowed for all Google apps, block all mobile network or wifi access are unchecked, AF+ Firewall is disabled.
I could use some advice here. Factory reset is not an option.
Click to expand...
Click to collapse
The following link is to the Official LineageOS thread for your device.
http://forum.xda-developers.com/showthread.php?t=3498453
You should be able to search/post any support questions or concerns there.
***Please Note: As always, I welcome any member to help with further valuable information/clarification for any of my posts.
Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise...
bhishmar said:
@Nexus4Owner1
Did u resolve ur above problem? How?
I am facing the same problem, with "lineage-14.1-20170608-nightly", in my MotoG3 (osprey) !
Click to expand...
Click to collapse
Hi bhishmar,
didn't have the time to test. Tried Tor with no luck. It seems that something in the Google Services communication is broken. Friends of mine have a new app icon (the one without the white bag around the arrow).
@Ibuprophen: Thanks for showing me the device thread, but it seems it device unrelated, as bhishmar owns a MotoG3. So it seems more appropriate to post in a more general sub-forum.
bhishmar said:
@Nexus4Owner1Did u resolve ur above problem? How? I am facing the same problem, with "lineage-14.1-20170608-nightly", in my MotoG3 (osprey) !
Click to expand...
Click to collapse
Nexus4Owner1 said:
@Ibuprophen: Thanks for showing me the device thread, but it seems it device unrelated, as bhishmar owns a MotoG3. So it seems more appropriate to post in a more general sub-forum.
Click to expand...
Click to collapse
My apologies for the delay @Nexus4Owner1 & @bhishmar as I've been swamped a bit lately
I was thrown off a bit (probably brain cramped LOL!) when bhishmar had stated Moto G3 but, after a few minutes, I had realized that G3 was only a (poorly chosen only by someone else) nickname and not a part of the devices name because it's technically a Motorola G osprey (2015 - 3rd Generation).
The following link is to the Official LineageOS 14.1 thread for that specific device.
[ROM][osprey] Official LineageOS 14.1 by Alberto97
I can only assume that the "G3" and "G 2015 3rd Generation" confusion may be why bhishmar had trouble locating the Official LineageOS thread but, the Code Name of "osprey" is what clicked with me as to where to go as well as getting me to locate the reason for the G3 confusion. G3 is a nickname for that specific Motorola Device.
Anyway... bhishmar should be heading to the thread above for any LineageOS support questions or concerns.
Thank You for your patience and understanding!
***Please Note: As always, I welcome any member to help with further valuable information/clarification for any of my posts.
Sent via Communicator [d2vzw] from the Bridge of the U.S.S. Enterprise.
Sort of a solution
Nexus4Owner1 said:
Hi folks,
since a few weeks, I am not able to download apps from Google Play Store. I flashed a new nightly and GApps and didn't notice the issue at first. Then I tried to update a few apps. Did not work over wifi nor over mobile data. Error code: 495. Standard internet tasks (check mails, browser, messenger apps) work as usual.
I'm on LineageOS 14.1-20170320 with Open GApps Pico 20170326 on a Nexus 6P (angler).
I've tried:
- removing Google account
- cleaning all Google Play, Google Play Services, Google Play Framework caches and data
- Flashing lineageos.zip, su_armx64.zip, opengapps, wipe cache and dalvik
- rename /system/addon.d to addon.d.bak
- Use F-Droid App Yalp Store to download. "Error at receiving or processing data in HTTP layer..<message cut here>"
Could this be the root cause?
/data/media/0/recovery.log -> "__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!"
Background data is allowed for all Google apps, block all mobile network or wifi access are unchecked, AF+ Firewall is disabled.
I could use some advice here. Factory reset is not an option.
Click to expand...
Click to collapse
Hey, I had the same problem, so I installed some apps using google play on my pc, and sending the apps to the phone (motorola moto g3), I installed all my apps like this, but when I tried to install an app from the play store on the phone, it suddently worked. So I guess this isn't a perfect solution, but it seems it worked out for me.
I have the same problem with my galaxy S4 m919 T-Mobile can anyone help
Same problem for me in lineageos 14.1 Asus ze500kl.
Anyone have solution?
I had this problem, and disabling Play Protect fixed it!

Categories

Resources