Setup Android Calendar, Contacts, and Gmail Apps for Office 365

I’m really surprised this is not posted somewhere with clean instructions. The obvious path here is just to get the really nice Outlook Android app and be done with it, but some users tend to want to pull business calendar events into their personal calendars that are native to Android. Outlook does the contact sync back to contacts in Android as a option, but it does not yet sync calendars back to native Android calendars. 

  1. Get the most current version of Android OS you can get for your device. This goes without saying, but don’t try to set this up on versions below Nougat (Android 7.x) or, I’m guessing, you will have issues at some point. 
  2. Get the latest Gmail.app if you don’t have it from Google Play. 
  3. Go into System Preferences or just find the Gmail App and create a new account of type Exchange. Different Android phones will have different paths to create new accounts for things depending on vendor, but most all will have an Accounts System Preference of some sort. 
  4. Creating the new account, the Exchange type should reference your domain autodiscover settings and figure out your email is at Office 365. If it doesn’t, you probably can go with the mailserver address outlook.office365.com (but hopefully it figures it out for you.)
  5. Complete the new account setup here but one possible complication is the account password. If the domain in the Office365 setup uses multi-factor (which you better do nowadays!) then your user password is not the password for the account setup. It’s the application password you need to generate as your user in your account preferences in Office365. 
  6. If needed >> Generate an application password in Office 365: Login to portal.office.com, go to My Account, then into Security & Privacy, then Additional security verification THEN into Create and manage app passwords. Click create and copy that code. 
  7. Back to the Exchange account setup in Android – use the app password you generated in #6 as your user password. 
  8. The default setup is that you start syncing calendar, contacts, and email immediately. If you are using Outlook on Android, then you might want to disable contacts and email since they are coming in via Outlook if you enabled that Contacts Sync option in the Outlook app. If you don’t want to use Outlook on Android at all, leave them all syncing. 

Hope that helps. The app password wrinkle is a fun one. At some point, I am sure Microsoft will add calendar sync support to native Android as they have now with contacts and this sort of double setup would be unnecessary if you did want to use Outlook and native Android apps. But, until then, this sort of setup works. 

SafetyNet and Android Nougat 7.1.2 broken June 2017? Get Magisk Beta 13

Looks like Google update the SafetyNet check. Thankfully topjohnwu issued a Magisk beta 13. Seems to work again for me on bacon. 

https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589
Before on v12

After on v13 beta

Will report back. Seems like the beta is the fix. Check the above XDA link to download. 

Android Pay on OnePlus One with Resurrection Remix

 

Still running with my old OnePlus One (bacon) and now running Resurrection Remix but ever since moving to Nougat ROMS, I’ve been unable to get tap and pay with Android Pay operational. But, some devs over on XDA have figured out the issues with the nfc files and have provided a flashable zip to flip the settings on the libnfc_nci_jni.so files to enable it. After flashing post-ROM update, Android Pay is back (provided you’re running Magisk, and all the other goodies. Without this flash though, it’s not going to work. 

Everytime you flash the rom, you also need to come back and flash the zip. This is not an issue with TWRP. Just do the libnfc fix zip after the Resurrection Remix N flash. There are a lot of various threads on this and lots of download links to various zips. Here are the ones that seem to work for me for download below. YMMV.

AndroidPayFix-flashable.zip

Android_Pay_Fix_for_Bacon-1.1.zip 

Unable to Update Your AT&T Samsung Galaxy Phone? Try Changing The Date.

samsung-galaxy-s5

I had a heck of a time getting the AT&T Software Update OTA going on my wife’s Samsung Galaxy S5 (SAMSUNG-SM-G900A). Apparently, on AT&T images, they put a check in place on the software update to limit/inhibit multiple checks based on a timeframe. The phone did not have enough storage space on the device memory to handle the download on the first check, so we moved apps and data around to clear 3gb or so for the 2gb or so download of Android 6 and then wanted to start the update. But, you cannot just go in and run the software update again and trigger the update. There is no way to restart the updater application either to get it to recognize we had space this time. Frustrating.

Anyway, thankfully, I found this in the AT&T forums that suggests messing with the device date to get around this. I guess AT&T uses local device time to limit the request again to initiate the software update. If you take your phone off automatic date and time settings and kick the device ahead a day, the software update application resident on the phone will validate that the update can now happen. We moved the device date from Saturday to Sunday and we got the download going.

Crazy they inhibit updates in this manner, but fooling the date and time seems to do the trick.

 

Fixing false “insufficient storage available” errors on Android

For some reason, I started to get some of these Android errors and did some searches to figure-out what was happening. I think it happened after I used some cache cleaner apps or something. There are a lot of other posts out there on this but here is what works for me. I’m running Cyanogenmod 11 on an HTC One (M7) so YMMV.

image

Errors have started to kick-up on certain apps and I can’t even determine a pattern for ones that this generates for whatever reason. Chrome was one that this happened to for me. Google Play SHOULD be able to just play the update on the screenshot below. image

Except, it stops. So, in investigating this there are many posts out there that reference the app-lib directory under /data. Popping-open a Terminal and getting into the directory with root lets you nuke the files that get stuck. image

On CyanogenMod, you want to go to /data/app-lib and su or sudo to be able to nuke the stuck files. image

You can do a search with an ls -l and grep to see what is in there for the app. Then come back and delete it. They are little directories that might get stuck. This removes the data around the install that don’t want to play nice with Android. image

After the removal of the stuck directories and files, you can play the update.image

Update: June 1, 2014

The permissions on the problem files somehow got messed-up. You can see that the owner/groups are not system.

image

So, when I fixed the permissions with a chown (the -R option is not available to all the Linux folks out there!) it helps correct the issues.
image

This gets everything to have system owner and group.

HTC One with Cyanogenmod recommended settings

I’ve been running CM for almost six months now and have played with many different options and settings throughout and am very happy now with the following settings. This might be helpful for others thinking of ditching the stock Android and HTC Sense software.

1. Here is a snapshot of what the software versions look like tonight. I’m running CM 11.
image

image

2. I’ve found staying with dalvik runtime for the time being is still the way to go.
image

3. I have also played around a lot with energy profiles and found power save the best way to go.
image

4. For processor settings, I went back and forth often but keep coming back to the ondemand setting. Interactive is also great, but eats more battery for me and my usage for some reason.
image

Well, that is what I’m running now but it might change. I have tried Art runtime often, but have not yet found any advantages. The AT&T Visual Voicemail is buggy on KitKat, but I’m hoping they will eventually stabilize it again.

Hope this gives you another point of reference. I love the HTC One hardware, and CM really makes it sing.

Problems getting group SMS/MMS from iOS on Android? Get Ninja SMS.

I was having a lot of blank messages from iPhone users on my Android CyanogenMod HTC One phone. The messages were blank when sent as part of a group text. This was quite annoying. I’m sure it has to do with iOS sending in a format for other iOS users. Here is what the Android Messaging app window looked like:

image

I was able to send okay and see what I sent to iOS users, but not see what they sent back to the group. Of course, I was the only non-iOS phone in the mix. I don’t get many of these group texts, so it was annoying but not debilitating. I tried a few other SMS apps but landed on Ninja SMS.

With Ninja, I immediately was able to see the formally blank texts.
image

It’s well worth the $1.50 if you are experiencing issues with SMS in an iOS-dominated world.

Killing Waze Ads On Mobile

Waze is a wonderful tool for commuters to help and alert each other to hazards and road conditions. But, the recent inclusion of ads when you stop are annoying.

I have a rooted Android device, so I decided to do something about it. Waze pulls the ads from:

venues.waze.com

So, I snagged a hosts editor from Google Play and added the host with a dead-end to 127.0.0.1

image

image

After adding that, anytime Waze ads are called, it will just kick an error screen and go away.

image

Better than a Jack In The Box ad IMHO.

Video-Out to HDMI on HTC One (CyanogenMod 10.2)

HTC One Video-Out To HDMI

I bought a micro-USB to HDMI MHL cable on a lark down at Central Computers on Howard St. in San Francisco just to see if I could get video-out on my CM-modded HTC One. I hooked it up today to our Samsung TV just to see and it came up immediately! Pretty cool that it just pushed the video-out without a problem or additional configuration. My guess is any micro-USB to HDMI cable should work. Here are some pics of the $15.95 one I bought from Central that for sure works.

HTC One micro-USB to HDMI

HTC One Video-Out To HDMI

Here is the cable in the bag. It is a pretty generic model. I bought it because it was the only one that really didn’t make a reference to Samsung phones. My guess is though, it probably doesn’t matter as long as the cable is to the MHL standard.

micro-USB to HDMI cable from Central Computers

I was so shocked it all just worked, I have yet to test things like Netflix, and other Android audio/video apps.

Use Evernote Webclipper in Android via Firefox

2013-10-19: Looks like Evernote has changed the webclipper functionality and are going to the browser plug-in route. I will see if I can adjust.

 

A couple of years ago, I did a little javascript trick to take the Evernote Bookmarklet code and place it into a Safari bookmark to get webclipper functionality inside iOS for all you Evernote users. Now that I am on Android, here is a way to get that same functionality via Firefox. Here is how.

1. Install Firefox from the Google Play Android App Store.

Screenshot_2013-05-13-16-04-39_1

2. From inside Firefox on Android, go to http://www.evernote.com. Then, click on the side three-dots detail to flip the star bookmark icon.

Screenshot_2013-05-10-16-58-56

 

wpid-Image-817806750.png

This will give you a new bookmark we will use to park the webclipper on.

3. While you are there, go ahead and login to the web interface of Evernote. This is important as it sets the cookie that the web clipper code and Firefox will use moving forward. If you don’t login, you might get the “Set Third-Party Cookies” error when you try to use this clipper hack. You don’t need to stay logged-in, you just need to do something in Firefox so it will be okay with cookies from evernote.com like a login.

Screenshot_2013-05-10-16-56-58

3. Select all and copy the code below in Android. This will be pasted into the Firefox bookmark.

Make sure you get the entire piece of continuous text/code in your clipboard to paste. 

4. Click on the URL field and tab over to Bookmarks. Find the Evernote bookmark we created in Step #2.

5. Click and hold on the Evernote bookmark to get the “Edit” option.

finaloutput

6. Edit the bookmark title to something you want like “Clip to Evernote” and paste the code you have in your Android clipboard from Step #3.

Skitch

The completed “Edit Bookmark” should look something like this. Click OK to save out.

7. Now, when you are on a page you want to include into your Evernote system, you can just click on the URL field, go to bookmarks and select the “Clip to Evernote” and it will. You will be prompted to login initially, but after that (if you flip the “Remember Me” checkbox) you should all set when you are on a page you want to send to Evernote.
image

While on the URL you want to  Evernote, go into bookmarks and click it to bring it in as just a URL, whole page or both.

image