Some Bits: Nelson's log

45 posts about android

Customizing Android TV (Sony Bravia)

I have a Sony Bravia TV running Android TV. It’s mostly quite nice, I like Android better than Roku or whatever weird TV vendor OSes are out there Plex works, Youtube works, that’s really all I care about. Unfortunately it’s also loaded with ads and various UI features I don’t want. Here’s some fixes.

Apps only mode

The first thing is very easy but new-to-me: apps-only-mode. Basically you tell it you just want the home screen to be a grid of apps to launch. Most of the other UI crap falls away. Unfortunately there’s still one big box at the top Google controls, right now it’s shilling Tubo and AppleTV and Google TV. But at least it’s down to the one box.

Disable Samba Interactive TV

A second simple improvement is to find “Samba Interactive TV” and turn it off. Mine was hiding under System, I think, unless it was Privacy. This is the “service” that watches what’s on your screen and tells advertisers what you are watching. It is spyware, disable it.

Hacking in Android debug mode

Android devices are nicely generic and there’s a lot of tweaking you can do if you’re willing to enable developer mode and connect through the debug system. I suspect there are many ways to skin this cat.

I used ATV Optimizer, a nice desktop GUI that gives you various menus to tweak things and take a snapshot, roll back, etc. It’s a little scary, I’m sure you can break the TV if you try hard enough, but the tool seems pretty usable.

Enabling debug access

The first thing is getting the TV to let your desktop connect in debug mode. For me I first had to enable developer mode. Then I had to turn on “USB debugging” and also “Wireless debugging”. The latter wouldn’t enable for me: turns out they really mean “wireless” and I had to unplug my ethernet and switch to WiFi. Finally I had to do a one-time pairing with a PIN. All this was a hassle that Claude helped me get through but in the end ATV Optimizer was able to connect.

Animation speed

The best optimization I made was a Tweak that sets the animation speed to 0.5. Which apparently means “twice as fast”. Suddenly the TV doesn’t feel awful and laggy. Why do UI designers create such slow animations? Argh!

Services

ATV Optimizer mostly is a tool that lets you disable various services running on your Android device. It gives you a list of what’s running in the background. I was pleasantly surprised how little junk my Sony TV had running, I ended up not feeling like I had to disable anything.

Launcher

A final step is to replace the stock Android TV launcher with something else. The good launchers don’t have any ads at all, just the stuff you want on screen. They also tend to be lower memory and CPU usage. ProjectIvy is popular and is what I picked. I think the main variance in these things is how you customize them.

I like ProjectIvy alright but in the end decided not to install it as my default launcher. Gonna stick with Google’s launcher in apps only mode first and see if that’s good enough. A broken launcher could cause real havoc so it’s not something to replace lightly.

Kiwix on Android (June 2026)

Kiwix is a fantastic offline Wikipedia reader. Last time I tried installing a new library it was a usability nightmare. It’s still not great but it’s better now.

  1. Pick a Kiwix variant to install. The Play Store version is mostly fine but you can also sideload an APK that has file path restrictions listed. (See step 4).
  2. Choose a Kiwix library. The library picker is very poorly designed but it does work. I picked “Wikipedia The Free encyclopedia” at 115GB (from Feb 2026). That’s all 7+M articles. That collection also comes in a 48GB version (no pictures) and a 12GB version (short summary text only).
    Consider if “Best of Wikipedia” (50,000 articles) or “Wikipedia’s 1m Top Articles” would do for you instead, they are significantly smaller.
  3. Download. For this giant file I’m using BitTorrent and enjoying a full gigabit download, mostly from one direct web peer.
  4. Transfer the .ZIM file to your phone. If you have the Play store version it’s restricted to a couple of directories, I’m using /Android/media/org.kiwix.kiwixmobile/. The APK sideload can read ZIM files anywhere you put them.

Their library picker doesn’t show you versions or dates. Consider looking at the direct download directory instead. The files named “maxi” include full text and pictures.

A note on Android file transfer

The MTP file transfer Android uses for USB is slow: limited to about 37 MiB/s for me, or about 30% of my Internet speed. The big ZIM will take an hour! MTP is also apparently kinda buggy with big files.

The copy alternative I’m using is USB debugging mode and adb push. An AI claimed it would be about 2-3x as fast as MTP but it’s not: it copied in 33 MB/s. Good news is it did successfully copy.

Another option is to use SolidExplorer or some other file explorer with a Wifi transfer utility. Not clear that’ll be faster than USB, WiFi speeds cap out at about 80MiB/s in practice in my experience.

You know, for what’s at its heart a Linux system, Android is not very good at working with big files. Not a big deal in general but it must be a real nuisance for anyone maintaining a video library.

Android migration Pixel 8 → Pixel 10 Pro

I got a new Pixel 10 Pro to replace my Pixel 8. After previous bad experiences migrating from old Pixel phones, how did it go this time? About the same, the only real improvement is that my Verizon eSIM transferred automatically.

By far the biggest problem is many Android apps don’t migrate their state or settings. It doesn’t have to be this way, some apps do migrate successfully. I suspect many don’t bother.

I used a cable instead of WiFi for the transfer this time. This option isn’t highly promoted but seems to be faster. I’m not sure it changed what data was transferred over though.

Good things

  • It migrated my Verizon eSIM first thing. Previously that was something I had to do myself. Update see below about visual voicemail.
  • It migrated the credit card stored in Google Wallet. I had to enter the CVV to verify it. My Clipper card also migrated.
  • It initiated the data transfer in the background while my phone was still busy asking me to answer some setup questions.
  • The transfer mostly went seamlessly. It was a bit of a nuisance answering a bunch of questions but then I could walk away.
  • Some apps migrated seamlessly.

Bad things

  • Many apps don’t copy their settings or data over to the new phone. See below.
  • I had to reboot to finish the setup, updating OS and enabling a bunch of stuff.
  • I had to re-enable WiFi Calling.
  • It’s not copying all my data? I did the custom route and selected everything and it’s only 66 GB. My phone is nearly full at 256GB. Some big chunk of that is the OS, and 100 GB is a copy of Wikipedia. I wish there was a way to know what was missing.
  • There’s a lot of setup questions, some of which is them trying to trick me into turning on features I’d previously deliberately turned off. Unless there’s some new feature unique to the new phone it should not be asking. Particularly offensive: an attempt to opt me in to marketing spam.
  • It turned a bunch of ad tracking stuff on without asking me. I’m sure I’d turned it off in my old phone.
  • It did not restore my custom launcher (Niagara). I had to enable it.
  • The PWA Phanpy didn’t get restored as an app on my new phone. I had to reinstall it.
  • All my F-Droid open source apps didn’t come over. Not entirely a surprise, these are sideloaded as far as Android is concerned and I can see why they wouldn’t copy over. Sure is a nuisance though.
  • Stuff looks different. Different font sizes, different color temperature.
  • I gave up trying to transfer my Paris Metro tickets. They have some elaborate thing where the ticket is stored on your phone. They have a backup plan for transferring tickets but it involves creating another account. This is most definitely a case of the software being bad, not Android’s fault (alone).
  • I had to manually import my Google Maps Timeline data from an old online backup. This is possible at least but quite confusing, I think because in general the Timeline data is stored so awkwardly.

App migration

The biggest problem is that most apps don’t seem to migrate. Instead of being copied they have to be re-downloaded and re-installed. Then configured again. What this means in practice is I have to manually launch and inspect every single app before I can get rid of the old phone.

What’s particularly strange is that some apps do migrate themselves. The Paprika recipe database. Sony’s Playstation app, including my login state. It seems very hit-or-miss. Last time I looked at this I found a note from the Niagara Launcher team saying “We’re currently using Google’s Backup implementation, which is not 100% reliable…” Since then they’ve built a custom backup / restore system which mostly worked but I had to use manually. Other apps are using Google’s official implementation and it did work.

Problems in particular:

  • It didn’t immediately copy the apps over. Instead it is reinstalling them from the Internet. Perhaps Android apps can’t reliably be copied from one device to another?
  • Apps don’t come with all the permissions I enabled before. I have to re-enable permissions in each app individually, stuff like “access files” in Solid Explorer. Some permissions do carry over, maybe just not the most sensitive ones.
  • A bunch of apps didn’t restore their settings. Some have custom backup and restore options I can do manually, like Niagara or Weawow.
  • A bunch of apps didn’t realize that I had paid for the app until I launched it and waited for some handshake to happen.

Syncthing

I used to use Syncthing to synchronize some data from my phone to a Unix folder. It worked but always felt a little creaky. And between Android making it harder and harder to work with the filesystem and the Syncthing project having some drama I decided not to bring it to my new phone.

The obvious alternative is Google Drive. But a whole lot of apps don’t support storing data there, like Aegis’ backups. It’s possible to use a third party app like MetaCtrl - Autosync to sync local files to Google Drive but it comes with limitations and it annoyed me to pay $10 for what should be a system feature.

In the end I was only using Syncthing for Aegis backups and GPSLogger logs. Aegis already backs up to Google Cloud, so that’s OK. GPSLogger has explicit Google Drive support.

F-Droid

F-Droid is an alternate app store for open source apps. It also lets you run some apps that violate Google policies.

On my own phone I had four F-Droid apps: Bubble, GPSLogger, OpenTracks, and WiFi Analyzer. The only one I really care about is GPSLogger. I went ahead and re-installed F-Droid just to install GPSLogger. I may install more F-Droid apps later, some 8 of the Google Play apps I use have F-Droid versions.

Amazingly there is no free, ad-free spirit level / bubble level app on the Play store! There are several on F-Droid, including Bubble. I just reinstalled it. It warned me that the developer is not going to comply with Android’s new signed apps policy, so this app may go away next year.

Update: Visual Voicemail

My Basic Visual Voicemail wasn’t working. The Phone app just showed an error message. The online advice for this is to have Verizon reprovision visual voicemail. Easier said than done, Verizon now makes you run a gauntlet of 10+ minutes of AI bullshit. I did finally get through to a support person who reset some things and had me do Reset Mobile Network Settings and reboot. It’s working now. They also upgraded me to Premium Visual Voicemail, at least for a month. It’s nice! Text transcript. Not sure it’s worth $4/mo given no one leaves voicemail anymore.

Aegis backups

One nice thing about the Aegis authenticator app is it has no bullshit support for exporting all your tokens to an encrypted file and restoring from it. You can then back that up however you want and it’s even possible to use the token data with other software. The other 2FA apps I see all lock your data away.

Aegis also will write your token data into your Android backup. When I set up my new phone recently Aegis just worked, restoring my tokens. (It worked in 2021 and 2023, too). I think you have to enable “Android cloud backups” in Settings > Backup to allow this.

Aegis will also write a backup file anywhere you want on your Android filesystem. The problem is it’s stuck on your phone. Aegis doesn’t support storing the file in Google Drive and amazingly Android has no built-in way to say “sync this folder to Google Drive”. (You can with third party software.) I used to use Syncthing for this but am trying not to use that anymore on Android. For now I’m just writing the backup file to my phone’s Downloads folder. Not ideal, it’s stuck on the device. Although it did at least copy to my new phone on setup. Hopefully I’ll remember to copy it off once a year or something.

There’s been some updates on the Aegis docs recently about this: see this changelist that is part of this github issue.

GPS Tracking for Android (2025)

A list of some location trackers from December 2025. Mostly sourced from ChatGPT. This is for passive trackers that record where I’ve been, not focussed GPS track recorders you turn on for a hike.

For years I’ve been recording my location and experimenting with various analyses of the data. It’s interesting knowing where I’ve been! I even built a product with my friend Brad to track and visualize. But I haven’t used it in years. Truthfully if I want to actually see where I’ve been before I use Google Timeline, as diminished as it is now.

Anyway I’m still tracking. I use Mendhak’s GPSLogger to record things on the phone. It’s only available via the F-Droid because the Google Play store has gotten increasingly hostile to things that run all the time and track location. (Even though all the commerical spyware persists, starting with Google’s own). The other hassle is I never got clean data export. I have it writing files to the Android filesystem and syncing via SyncThing and it works but is awkward. GPSLogger has other export options.

GnssLogger by Google is aimed at debugging location sensors. It looks very cool but is not what I need.

GPS Time Tracker aims at helping you make a logbook, like for business travel. It’s been around for years, 100K+ download, 4.5 rating. Looks promising. There’s a paid version for 10 EUR. The docs sound like it has some significant background operation issues. And while there’s some English localization it’s not complete and it’s pretty shaky. I gave this app a quick try and decided it was not for me.

GPS Timeline :Location History has screenshots that look a little like Google Maps timeline. It only has 500 installs and no ratings. It has ads that are a little intrusive and the UI is buggy. I didn’t see any data export option. Not for me.

I think Mendhak’s GPS Logger may still be the tool for me.

Looking at Health Connect data for InBody, etc

Tinkering with Android’s Health Connect data, the hub for fitness data in the Android ecosystem. I don’t want to mess with their formal APIs so I’m looking to use the nightly full database backups I have it making to Google Drive. They seem to work and contain real data. (This may be a mistake: Health Connect has some semantics implicit in their API I’m having to rediscover by looking at the raw data.)

The result is a .zip file with a single .db file in it, a sqlite3 database. That database has some 73 tables in it but many are empty. So my sexual_activity_record_table shows 0 records, rude!

I’m mostly interested in data from my InBody scale. But I may also have data written from a Amazfit writsband, a WiThings scale, Cronometer diet tracker, maybe the phone itself. Don’t know! Here’s some tables that do have interesting data in them, data that was updated in the last day or two.

Tables seems to come in a couple of types. Some are very simple tables with no app or device identifier and no timezone info. Other tables have complex data with time zone offsets and app and device identifiers. These often are recording cumulative counts for the interval or the like. My theory is the simple data is for old Google Fit APIs and the more complex data is coming from apps using Health Connect APIs. It may be something else.

One thing I’ve learned doing this is Health Connect allows multiple devices and apps to record to the same record of, say, your weight. For my purposes I want to separate those out by ID so I can know whether a weight measure came from the WiThings scale or the InBody scale. Or whatever.

InBody Data

Bottom line: the only useful things this is writing are weight and body fat. I bought the fancy H30 scale that does more precise measures of skeletal muscle mass. They are not recording this data to Health Connect, disappointing. (I do wonder if they can: Health Connect seems to have fixed categories of data.) InBody doesn’t seem to have any other data export options, either. Ugh.

  • weight_record_table (WiThings also writing data)
  • body_fat_record_table (Inbody writes twice, WiThings also writing data)
  • basal_metabolic_rate_record_table (AmazFit also writing this)

Amazfit Data

Bottom line: this is recording a lot of stuff. Steps, Oxygen, Calroies burned, Heart rate, Sleep.

Data is often logged every 10 minutes, but not always. Its data seems to be coming from app ID 1 (Google Fit) and device .

Simple data recorded every N minutes

  • heart_rate_record_series_table
  • speed_record_table
  • activity_date_table
  • sleep_stages_table (contains an interval but is simple data)

Complex data recorded every N minutes

  • steps_record_table (both phone itself and Amazfit / Zepp)
  • distance_record_table
  • oxygen_saturation_record_table
  • total_calories_burned_record_table (Amazfit and Phone)
  • resting_heart_rate_record_table
  • sleep_session_record_table (naps vs. full sleep)

Tables with lots of rows but no actual measurements, just time intervals

  • heart_rate_record_table
  • SpeedRecordTable

Cronometer data

  • nutrition_record_table (many columns!)

Phone-originated data

  • height_record_table (written once a day)
  • activity_intensity_record_table (contains no data?)

Administrative tables and misc data

  • read_access_logs_table
  • change_log_request_table
  • sqlite_sequence
  • preference_table
  • health_data_category_priority_table
  • device_info_table
  • application_info_table
  • android_metadata

From this I learned some device and app IDs.

Devices

  • 1: ? (seems to be my AmazFit)
  • 2: Withings
  • 3: ? (also my AmazFit?)
  • 4: my Pixel 8 phone

Apps

  • 1: Google Fit (coming from other systems?)
  • 2: Withings
  • 3: Google Play services (???)
  • 4: Android Shell (???)
  • 5: Zepp, which is the Amazfit fitness band
  • 6: Cronometer
  • 7: InBody
  • 8: OMRON Connect, a blood pressure monitor
  • 9: Health Sync, an app I installed

Getting data from Google Fit and Health Connect

Health Connect is Google’s data platform for fitness info: weight, steps, etc. Summary: Health Sync is a humane way to get at the data stored in it, so are Health Connect backups.

Health Connect replaces Google Health, a very old product. It also sort of envelops Google Fit. Health Connect isn’t really a consumer product. The consumer product is the Fit app where you can see some records and history. But it’s pretty minimal. Health Connect is more of a database for developers that Google maintains. Various things can store data into Google Fit, various things can take it out. In my case my scale (an InBody) stores my weight in Google Fit and my diet tracker (Cronometer) pulls that data out. Sometimes, it doesn’t seem very reliable.

Worth noting that Health Connect happens on your phone. I don’t think much if anything happens in the cloud.

There’s no simple CSV data export from Health Connect. Shocking oversight, I know. Google Takeout also has no entry for Health Connect. Here’s four alternatives to getting your data:

The Health Connect app in Android has a way to set up a nightly backup to Google Drive. The resulting Health Connect.zip is about 20MB in my case. It contains a sqlite database that is unencrypted. It’s pretty straightforward to get weight, steps, etc out of it. It works for me.

Google Takeout for Google Fit does work. This gives you data in a messy pile of small JSON files with names like raw_com.google.weight_com.inbody2014.inbody_he.json. My actual weight data is stored in there, it would not be hard to write a tool to convert the data into a clean CSV. Maybe someone has.

Health Sync is a third party app that syncs health and fitness data between apps. Sort of Zapier for health data. I connected Google Fit to Google Drive with it and it seems to be creating nicely formatted CSV files for me. It also has a Health Connect sync to Google Drive which should sync everything all at once, but may not be able to get at data history. I’ve got it turned on as well and am not clear what it is doing.

There’s a fourth alternative I haven’t explored.. Google Fit does have a cloud platform and API and it should be possible to write software to fetch data from it to a server. Maybe someone’s done this. But Google Fit appears to be on its way out, I wouldn’t invest in this. Health Connect does not have any sort of cloud API, it’s all running on Android only.

Needless to say this is all a big mess. Part of the problem is Google is trying to meet privacy requirements, health data is particularly sensitive. It’s the same with location tracking, like Google Timeline. They’re moving all this stuff to only live on the user’s Android devices so they are less responsible for it. It’s awkward.

Taming notification spam in Android 16

I complained on social media:

Android makes it hard to run background processes, but one hack to work around it is to display a notification. So my entire phone’s notifications screen is now filled with notifications that allow background jobs to run. GPS tracker, fitness tracker, web messages access, syncthing, doze stopper (itself to fix another Android bug). This is a very bad user experience

A friend helped me improve things. In the settings for App Notifications, for each notification channel (not the whole app), you can silence the notification and then also minimize it. This silences only this category of notification so that others still come through.

That gets it down to one line in the notification screen. It also hides the icon in the top bar. Finally, for the first time in my life I’m seeing the Screen Saver and Pixel Stand idle screen. Those weren’t being shown because there were visible notifications.

Here’s what it looks like now. Still feels spammy but much better.

Passkey success (Jul 2025): 1Password

I love the idea of passkeys but had a very bad time trying to use them last year. But sites keep adding support for them and friends reported they were having more luck, so I gave them another try. It worked!

Before I get into details, I want to talk about another milestone: Apple is leading the way in passkey migration, see these notes on iOS 26. So far none of the vendors had any story for “what if I want to move my passkey to a different device or program?” and Apple now has a solution.

For now I’m storing all my passkeys in 1Password. They’re my existing password agent and I like they are independent. If I were starting brand new I might use Google’s password manager instead, it’s now quite good, but it locks you into Chrome. Apple also has very good password management in their products.

1Password, Windows, and Android

I’m now able to log into GitHub and this test site with passkeys. I generated them in Chrome on Windows and stored them in 1Password and that worked. I could then use them from Chrome on Android (via 1Password). Hooray!

It’s still a little janky: the 1Password UI integration is not perfect. But it does work. A huge help is everything is now displaying which software is trying to fill in the password: 1Password’s blue keyhole icon or Google’s multicolored key.

It was not easy making this work reliably! It’s partly my fault: last year when testing I did everything I could to disable 1Password. Re-enabling it was not so simple. In Windows it’s straightforward enough, but note that Google Chrome or Windows Hello both might try to intervene. I’ve got it going to 1Password first now and I’m happy.

In Android it’s a total mess. It’s Google’s fault, the Android settings have proliferated terribly across the product. And I suspect no one at Google is mandated to make it easy for their competitors to work well.

1Password’s instructions mostly got me there but shed a tear for step 3 with four different scenarios like “If you have a Samsung device running...” Good ol’ Android :-(

Actually even following those instructions I had a lot of trouble. You have to enable it in two different Settings places.

I ended up having to remove everything and re-enable 1Password a second time for it to work. Like I said before, I did a bunch of stuff to disable 1Password last year and I suspect that made me a trickier case than most users.

So passkey usability still isn’t great. But at least I can get them working on my devices now! And now that it is working I’m anticipating a real improvement in authentication usability. I’m convinced passkeys are a good technology, I just wish the user experience were better.

Android phone without a slippery back

My Pixel 8 is an OK phone. Except it’s impossible to hold it in your hand. So I have to put a case on it, which I hate. Glass backs are a scourge. But companies are starting to be brave and offering alternatives again. I had a productive ChatGPT search about options.

My conclusion is the Pixel 9a may be the best choice. It has a matte plastic back. This redesign mostly gets dinged in reviews, it’s not very sexy. But if I can hold it in my hand that’s a big bonus. My Pixel 8 is not at all sexy in a big chunky case.

I’m more interested in Motorola’s new phones. They have a variety of new phones with pleather backs: the Moto G56, the Moto G86, the Edge 60 Pro. But they basically aren’t available in the US. I think because they lack CDMA or otherwise aren’t certified with US carriers. I’m on Verizon, which historically has been a PITA. They do have a couple of phones for the US market. The Moto G56 is called “Moto G” here but doesn’t have an OLED screen. There is an Edge 60. And there’s an Edge 60 Pro for sale in the US that warns us it’s not guaranteed to work.

Meanwhile I ordered some cheap grip tape. No one makes this stuff in interesting colors!

M4B files, audiobooks, Android

I have an unlicensed audiobook file that fell off the back of a truck. It’s an M4B file. How to play it on Android?

Long answer short, probably any audio player will manage to play it. Musicolet, Voice Audiobook Player, and VLC can all play it fine on Android. It’s basically just an M4A file, or MP4 file. If a player doesn’t recognize it, try renaming it from .m4b to .m4a or .mp4. I’ll probably use Voice to play it: that’s a dedicated audiobook player and does a nice job playing at 1.4x speed.

On Linux, file identifies it as “ISO Media, MP4 Base Media v1 [ISO 14496-12:2003]”. fprobe identifies it as “mov,mp4,m4a,3gp,3g2,mj2” and/or “isomiso2mp41”. Inside is an AAC audio stream at 44.1kHz, 64 kb/s stereo, nearly 14 hours of book audio. There’s also a bunch of chapter markers, one per book chapter, which index into the audio.

The file also has a stream of text of some sort: VLC identifies it as a tx3g subtitle file. I couldn’t find any tool to extract the data, I’m not even sure how big it is or what it contains. There’s also a third stream which is a 500x500 mjpeg, I’m imagining it’s the cover image for the audiobook.

Google Pixel vs. screen casting

Roku has a nice feature where you can easily mirror video from your Android or Apple phone or tablet right to your TV. Super easy from my Samsung tablet: just launch “Smart View”, select the Roku on your LAN, and off it goes. There’s some nice extra UI for mirroring vs second screen, etc.

None of this works on my Pixel phone. I launch “Cast” and it just sits there, not finding any devices, no feedback why.

I was guessing it was some sort of networking gremlins until I asked an AI. Turns out this is just Google screwing over its customers on its flagship Android phone. Details here

Rokus accept casting via Miracast and Apple Airplay. Google dropped Miracast from its Pixel phones in 2013 in order to push its own Chromecast protocol.

Thanks Google! That anti-trust action can’t happen fast enough.

I’ve never really read about Miracast before. It’s a widely adopted standard, basically “HDMI over Wi-Fi”. Seems to work great. Shame Google crippled their phones to not support it. I did find some Miracast apps on the Play Store but there’s a bunch of them, they all look dodgy, and they all want to charge me a surprising amount of money. So I’ll just stream from my Samsung tablet that works.

I was already holding off upgrading to another Pixel phone, here’s another reason to switch over to Samsung. The Android on my tablet is quite nice.

Sharing files from Chrome OS to Android tablet

Challenge today: share two 3GB video files from my Chromebook to my Samsung tablet. So many ways, none of them reliable.

  1. USB try 1. Plug in tablet. Popup says “access via Linux? Android?” I chose Linux, probably a mistake. Could never find the device in Linux. It’s there via lsusb but no appearance of file access. Maybe have to mount via command line?
  2. USB try 2. Plug in tablet. Nothing happens. Try several times.
  3. USB try 3. Reboot Chromebook. Plug in tablet. Device shows up in Files immediately! Drag file to copy, says “preparing” for one minute+, then shows an error
  4. USB try 4. Unplug, replug. Try copying again. Get instant error.
  1. WiFi try 1. Launch Solid Explorer on tablet, run its FTP server. Install ftp command line client in Linux. Vaguely remember binary and mput commands like it’s 1994. It seems to work but will take 15 minute. Stalls when one device goes to sleep. No clear way to resume.
  1. Bluetooth try 1. Try Quick Share for first file. This kinda just works?! It’s slow, 10+ minutes, but it copies the file to and seems to be robust even if the device goes to sleep.
  2. Bluetooth try 2. Try Quick Share for second file. Gives error. No diagnosis available, just “try again”.
  3. Bluetooth try 3. Reboot both devices. Try Quick Share. Seems to work.

All that is just to get the file over to Android somehow, somewhere. The other challenge is working around how Android has slowly eroded the idea of a filesystem with general purpose access. Solid Explorer works as a file browser through some hack / special permission that lets it browse things. VLC can access things in Downloads reasonably reliably. Fortunately Quick Share put things in a folder named Downloads / Quick Share, so that wasn’t too bad.

I tried using Google to figure out how to do this and found a bunch of outdated advice that didn’t work. Also tried various AIs that suggested various hilarious non-working options, including things like running Android Debugger.

Why is this so bad? Does no one want to copy their photos from their phone to their Chromebook? It’s really dumb the USB doesn’t work. For some reason tablets and phones don’t show up as a normal USB storage device but instead use some weird mobile device system that’s awkward AF.

More on Doze Stopper

I learned some more about Doze Stopper, the app that seems to be fixing my delayed notification problems on my Pixel phone (Android 14). (Previous discussion.)

First, some observations from using it:

  • Notifications are no longer delayed. Problem fixed?!
  • One drawback: the app prevents scheduled Do Not Disturb mode
  • It doesn’t seem to disrupt battery life much if any

Second, some notes on how it works:

  • The app is using alarms to interrupt Doze mode.
  • Alarms during doze are delayed by a few minutes. This delay seems configurable in the app, I have it set to 5 minutes, the current minimum. So maybe my notifications are delayed by a few minutes still? I haven’t observed that.
  • The app also receives push notifications, I think to enable the alarm.

It’s a pretty minimal app but it seems very good to me. I’m excited I found it.

The lack of battery impact makes me wonder why Google is fooling around with delayed notifications at all. I only get a few notifications a day because I carefully disable everything that’s spammy. Maybe it’d be worse for a normal phone?

Or maybe dozing notifications is just a bad idea that Google could remove from Android. When it was introduced years ago Android had all sorts of background activity consuming battery. Over the years they’ve cracked down on background processing and on network connectivity and maybe the platform is in a place where they could re-enable instant notifications.

One other mystery: Firebase has an option for high priority notifications that should get through even when Doze is active. So why aren’t messages from important apps like Gmail or Signal getting through? Maybe they’re just not setting the important bit? That’d be silly if so.

Doze Stopper, a fix for Android notifications?

I’m testing a new fix for delayed notifications in Android and so far (24 hours) it’s working well. See also this Reddit post I made.

The fix is a free Google Play store app called Doze Stopper. There’s little explanation what the app does but judging by the logs what it’s doing is setting an alarm for itself every 5 minutes, then doing something to wake up from Doze mode. The timestamps on the logs don’t quite make sense though.

I’ve deliberately left my phone idle as much as I can for about a day now, then tested it every few hours with a notification from Gmail or Gotify. The notification always appeared within 30 seconds or so. Also the Messages webapp connects immediately now. In the past often those tests would fail: notification wouldn’t appear, messages wouldn’t connect. But this is hard to test reliably!

Didn’t notice any significant downside in battery life. Left the phone off the charger overnight for 10 hours and it went from 100% to 74%, about typical from before running this app.

Update Sep 15: left it running for 24 hours with no charging. Phone went from 100% to 44% which is roughly the same as it would without Doze Buster. Can’t measure precisely but it’s definitely not killing the battery. Also notifications keep working, Gotify notification shows up immediately after an hour+ idle. Some Gmail notifications may not be coming through immediately, not sure what’s up with that.

Update Sep 17: still seems to be helping a lot. It does seem to disrupt Do Not Disturb mode though. I have DND scheduled every night but in the morning I find it’s not enabled on my phone when it should be. I did a test now and DND was disabled sometime between 8 and 16 minutes after a schedule turned it on. I wasn’t watching closely, but there were no log events in Doze Stopper the first 10 minutes: my guess is the alarm or disabling doze is also turning off DND. There is a DND setting for “Alarm can override end time” but I want that enabled for my own alarms!

Note, the developer has a second app called Doze Buster that also does the same thing but apparently for older versions of Android. It’s a little confusing, none of this is well documented.

Android notifications are still terrible

I’m still missing Android notifications, Gmail this time. I asked the Claude AI for help. Check out this list of 20 options. Perhaps Android’s product has gotten too complicated? The list isn’t entirely correct and it misses a few (some are hidden in the Gmail app itself, for instance) but it gives a gist.

What are all the settings on Android Gmail that might mean I don’t see a notification for a new email? I want all of them, a comprehensive list.

Here’s a comprehensive list of Android Gmail settings that might prevent you from seeing notifications for new emails. Sorry for bad formatting.

  1. Notifications disabled in Gmail app:
  • Settings > [Your account] > Notifications > Notify for new messages
  1. Notification categories turned off:
  • Settings > [Your account] > Notifications > Manage notifications
  1. Sync turned off for your account:
  • Settings > [Your account] > Sync Gmail
  1. Battery optimization interfering:
  • Device Settings > Apps > Gmail > Battery > Battery optimization
  1. Do Not Disturb mode active:
  • Device Settings > Sound > Do Not Disturb
  1. App-specific notification settings in Android:
  • Device Settings > Apps > Gmail > Notifications
  1. Notification importance set to low:
  • Device Settings > Apps > Gmail > Notifications > Importance
  1. Notification channels disabled:
  • Device Settings > Apps > Gmail > Notifications > [Specific channels]
  1. Gmail app data restrictions:
  • Device Settings > Apps > Gmail > Mobile data & Wi-Fi > Background data
  1. Gmail app battery restrictions:
    • Device Settings > Apps > Gmail > Battery > Restricted
  2. Inbox categories filtering:
    • Gmail app > Menu > Settings > [Your account] > Inbox categories
  3. Priority Inbox settings:
    • Gmail app > Menu > Settings > [Your account] > Inbox type > Priority Inbox
  4. Filters or labels automatically archiving emails:
    • Check filters in desktop Gmail settings
  5. Outdated Gmail app version:
    • Google Play Store > My apps & games > Gmail > Update
  6. Android system notification settings:
    • Device Settings > Notifications > App settings > Gmail
  7. Power-saving mode active:
    • Device Settings > Battery > Power saving mode
  8. Account sync issues:
    • Device Settings > Accounts > Google > [Your account] > Sync account
  9. Airplane mode enabled:
    • Quick settings or Device Settings > Connections > Airplane mode
  10. Poor internet connection:
    • Check Wi-Fi or mobile data connectivity
  11. Gmail storage full:
    • Check available storage in Gmail account

This list covers most settings that could affect Gmail notifications on Android. The exact names and locations of these settings may vary slightly depending on your Android version and device manufacturer.

Would you like me to elaborate on any specific setting or provide more information?

Android Doze mode vs. notifications

Still trying to understand why my fancy Google Pixel doesn’t show me notifications in a timely fashion. I got some new insight into a possible cause from some Reddit comments: Android Doze mode.

Long story short, Doze is a power saving system w here the phone only wakes up every 15-28 minutes to process things in what they call “a maintenance window”. Normal notifications get delayed too, although there is an option for high priority notifications from apps. There’s no way to configure it with the usual Android settings. There are ADB hacks you can apply (and have to re-apply every reboot): see here or here for detailed discussions and solutions. The key thing is the command dumpsys deviceidle disable.

But Doze has been around a very long time, since Android 6. I only started noticing a problem around a year ago, maybe around Android 13 or 14. Did something change?

I’ve got no problem with low power modes! But they can’t interfere with basic use of the device. It’s particularly vexing for me since my phone spends most of its time sitting on a Pixel Stand at 100% battery, power saving is not my problem. (Which suggests one possible change: Pixels have gotten recent changes in battery charge optimization that means the phone may not realize it has a source of charging power when it’s near 100%.)

Another possible explanation for a change is that high priority messaging thing. It’s hard to imagine but maybe Gmail, Signal, and Messages aren’t getting high priority messages anymore and so don’t wake up? That’d be dumb. But maybe it’s a bug / bad system interaction?

Update: Gmail is definitely not getting reliable updates. Twice today I only got updates when I woke the phone up maually. I have no way of knowing what priority Gmail sends its notifications at but it’d sure be dumb if it weren’t high. Gmail has a zillion options for configuring its notification behavior. Most of them were turned on but “Notify for every message” was off. I’ve turned it on, now to wait a few days to see if it makes a difference. (No immediate improvement, just had more mail not show up as notifications. Even after I woke the phone, still took 30 seconds or more.)

Mostly I’m just tired and cranky about this bug. It’s affecting a huge number of Android users all over the world. It has to be obvious to any Google engineer who uses an Android phone regularly. Do they just think it’s OK? Can’t reproduce it? Don’t care?

This is the point where I’d be the hero who does a lot of testing and figures out the problem himself, finds a fix. But fuck that, I’ve got better things to do and don’t really know enough to tackle this one myself. It’s particularly frustrating because it’s hard to reliably reproduce the problem, mostly I notice when I haven’t seen an email I know I got about once a day. Anyway if I do get the interest to tinker again, things to try:

  • the ADB hacks
  • turn off Google’s battery saving charging, see if it works better on the charging stand.

Update: ntfy.sh

Got some interesting perspective reading ntfy.sh’s docs.

Instant delivery allows you to receive messages on your phone instantly, even when your phone is in doze mode, i.e. when the screen turns off, and you leave it on the desk for a while. This is achieved with a foreground service, which you’ll see as a permanent notification that looks like this: ....

Limitations without instant delivery: Without instant delivery, messages may arrive with a significant delay (sometimes many minutes, or even hours later). If you’ve ever picked up your phone and suddenly had 10 messages that were sent long before you know what I’m talking about.

The reason for this is Firebase Cloud Messaging (FCM). FCM is the only Google approved way to send push messages to Android devices, and it’s what pretty much all apps use to deliver push notifications. Firebase is overall pretty bad at delivering messages in time, but on Android, most apps are stuck with it.

The ntfy Android app uses Firebase only for the main host ntfy.sh, and only in the Google Play flavor of the app. It won’t use Firebase for any self-hosted servers, and not at all in the the F-Droid flavor.

Fix for Android Pixel Delayed Notifications

I’ve had an annoying problem on my phone for two months: notifications would be delayed by many minutes, mostly only showing up when I manually woke the phone. I think I found a fix.

Turn off Adaptive Connectivity. Details in this Reddit post the text of which I will duplicate below.

Update Apr 10: after a few days of trying this I’d say turned it off has helped but not fixed the problem entirely. Updates still don’t always come immediately but they are delayed by just a few minutes now, not 30+. I don’t have solid data on that, just observing.

Update Apr 24: notifications still seem better before but it’s not perfect. Also I’ve since learned about Android Doze, a feature that dates back to Android 6 where the phone goes into a low power Doze mode. It’d cause exactly the delay problem I’ve seen. Some more discussion here. I wonder if something changed recently with the implementation that made the delay much more noticeable?

But first, a rant. This is a supremely irritating kind of problem that shows how frustrating the modern tech support experience is. There was no realistic way to get helpful info from Google about what this bug might be or how to fix it. I don’t know if there’s even any real personalized support path at all, if there is one I assume it’s the usual “turn it off and on again” useless response. Web searches didn’t get me anywhere, in part because Google’s index is awash in spam. The Android docs are not good, Adaptive Connectivity doesn’t seem to be described adequately anywhere. I did finally find my way to Google Issue Tracker which has what looks like a relevant bug entry. But that’s write-only, barely any acknowledgment.

I’m a software engineer! I understand the tech, I’m careful, I’m willing to spend the time providing expert help to reproduce and debug this issue. But I have no way to get through to someone. I guess that’s inevitable given the economics of supporting millions of users. Still irritating for my $1000 flagship phone.

Not for the first time have I wished that shibboleet was a real thing. I did get some really helpful Google engineer feedback on Mastodon after a passkey problem I reported but that was just dumb luck and a particularly friendly Googler, the right person happened to see my complaints.

The Reddit post

Are you getting delayed notifications on your phone? Try turning off the setting “Adaptive Connectivity” (under Network & internet in Android 14). I think that fixed it for me. Also check that “Adaptive Battery” and “Battery Saver” are off.

Two months ago I posted about getting delayed notifications; they’d only show up when I woke up the phone. A popular post, it keeps getting comments from people saying “me too”. Thanks to a hint in this comment I learned about the “Adaptive Connectivity” setting. I’d never heard of it before. But it was turned on; I turned it off and now 24 hours later my phone has been reliably getting notifications the moment they happen.

As a bonus, I think this may have also fixed my problem with the weather app showing me in the wrong location. Sometimes I’d get weather for Los Angeles where my IP address is rather than Grass Valley, CA where my phone is. I’m less certain of it but it’s plausible.

It’s not clear to me what Adaptive Connectivity is supposed to do, I can’t find clear docs about it. I think it may be a Google Pixel only thing? A lot of web pages talk about it only in terms of cellular, 4G vs 5G. I’m on WiFi almost always and still had notification problems. I don’t know what Adaptive Connectivity’s intent is but my experience is in Android 14 it means “break notifications”. My guess is it’s some power saving setting that is having the effect of taking the phone offline.

Note there’s other phone settings that might cause delayed notifications. Adaptive Battery is the big one (I’ve always had it off). Battery Saver mode may disrupt notifications.

Also individual apps all have battery settings. That used to be Unrestricted / Optimized / Restricted and my understanding is Optimized was supposed to let notifications through immediately. The UI for all that just changed in Android 14 QPR2 but I think it functions the same. Most of my apps are set to Optimized and are getting notifications on time.

Bottom line: turn off Adaptive Connectivity and Adaptive Battery if you are having trouble with delayed notifications.

GPSLogger v129 preferences on Android 14

I use Mendhak’s GPSLogger to track my position. It’s a great tool but a little low level, and in particular its files access is a bit confusing because the docs are written in terms of a basic Unix model but Android has virtualized and secured file storage so many times it is hard to find things. (I hate this about Android; it still lets you use files, but it’s very confusing and no longer a visible part of the consumer product.)

My issue now is I want to back up my settings, reinstall the app, then restore the settings. GPSLogger allows for that! It’s a feature called profiles. Basically you get it to write all your settings to a .properties file, then you can restore them later. The question is, where is that file written?

I found the file by mounting my Pixel 8 as a USB drive, then on Windows going to This PC\Pixel 8\Internal shared storage\Android\data\com.mendhak.gpslogger\files. (Actually I found it using Windows file search, which took several minutes). There’s a Default Profile.properties there. Also a temp.properties I explicitly created. You may have to tell GPSLogger to save the profile first.

I can’t find the properties files using the Files app on the Android device itself. Nor Solid Explorer. Presumably these are being hidden or sandboxed by the OS?

The properties file itself is a simple text file with lines like startonbootup=true in it.

This whole path was deleted when I uninstalled the app. (No surprise! Android wipes apps’ saved files in most cases.)

Once I reinstalled the app and saved a profile once the folder was back. Just dropping Default Profile.properties back in the folder didn’t seem to work; the app may not reread that file? I created a new nelson.properties (editing the file first, the profile name is in the properties file). That let me switch to a new Nelson profile with my preferences loaded. There are a variety of other ways documented in the FAQ to load a profile’s file.

Everything seems to work on reboot. GPSLogger starts with the new Nelson profile.

I have GPSLogger storing my GPS tracks to /storage/emulated/0/Documents/GPSLogger. I can see that in Solid Explorer by looking at Internal Storage > Documents > GPSLogger. Syncthing also sees that folder and is syncing it for me. When I reinstalled the app it could no longer write to files there (an error in Log View). I had to re-enable “write all files” permission (GPSLogger prompts you to do this if you change the folder it writes to).

I verified everything’s working after the reinstall, all the way to my syncthing server the data that archives my data.

Passkeys try two

Yesterday I tried using passkeys with Google and had a bad experience. I’ve since found a couple of sources of the problems and worked around them. I will reiterate it’s still all a bad experience, in no way is this product ready for ordinary users to rely on.

Some of my passkey problems may be specific to logging in to Google services. There seems to be something wrong specifically with their server-side authentication implementation, maybe related to the “new login page” they recently launched. I’m having a better experience with other sites. With both GitHub and Adobe I’m able to create a passkey, save it, and use it to log in. Sometimes. Chrome seems to be sending passkey requests to the wrong device.

Some of my problems might also be related to 1Password. It’s in the middle, between the authenticating site and my browser. But I really want passkey requests to go through to Google’s passkey agent on my phone (at least until 1Password works on Android). See below for notes on 1Password; I’ve disabled its passkey support in my desktop browser for now.

The main problem I’ve encountered is which agent I store the passkey on. I have at least four possibilities: 1Password, Windows Hello (on my desktop), my Pixel 8 Android phone, and my Samsung Android tablet. Those latter two are the same data store, with passkeys synced, but separate physical devices. I want to use the Pixel 8 because it’s the most likely to be accessible to me, at least until 1Password works reliably on Android. But it’s seldom the device I’m logging in on, so I’m relying on Chrome / Windows delegation to a nearby device.

Saving a passkey

This is what saving an Adobe passkey looks like. Before I turned off 1Password, Chrome on Windows wanted me to save the passkey in 1Password, that’s the screenshot above left. If I click the little Yubikey looking thing at the top then I get brought to a Windows dialog in the middle: this is asking me to save it to Windows Hello on my desktop, as authenticated with a PIN. If I then click “Use another device” I get the option of using my Pixel 8. That works; the Pixel gets a message (Bluetooth? Internet?), pops up a screen, and I can save the passkey.

Logging in with a passkey

Logging in worked for me, at least once. But as I tried to document this more thoroughly it failed. I finally turned off 1Password’s recommending passkeys in the browser and that seems to have simplified things enough where they work reliably.

That slideshow is the easy seven step process that’s working for me to log in. I believe steps 1 and 2 are Adobe’s website, 3 4 and 5 are all Chrome on desktop, and steps 6 and 7 are Windows. Not depicted: the extra steps for the UI on the phone to actually use the passkey.

Things go really wrong between steps 3 and 4. I say “Use a passkey from Pixel 8” and then the browser sends the request to SM-X800 instead. That’s my Samsung tablet. WTF? Google knows I’m logged in to two Android devices and syncs passkeys to both of them. So in theory either device would work but I have the phone with me always, not the tablet. And it’s wacky that I am prompted for “Pixel 8” and it sends it to “SM-X800” instead. The passkey dialog sometimes shows up on the tablet but when I’ve tried using it it fails (now it’s not even showing up). I can’t find any way to tell Google to use my Pixel 8 exclusively, or preferentially. I asked on Reddit.

So instead of step 4 I do steps 5 and 6 instead, the awkward way to get Chrome/Windows to use another device for a passkey instead of the default. Note the UI stops being Chrome and starts being Windows at step 6. The good news is this does work; the passkey dialog shows up on the Pixel 8, I approve, and I’m logged in.

Mind you this 7 step process is the good case, I have it working reliably and repeatedly. But only after disabling 1Password entirely and only after going through contortions to work around some problem with using the wrong passkey device. Still not sure how that is happening.

Update: really helpful response on Mastodon from a Google engineer saying at least some of what I’m encountering with multiple devices could be a bug in Chrome.

1Password

I’ve only gotten this far by disabling 1Password’s passkey support entirely. It looks like this:

I’m sympathetic to 1Password, it must be very hard to preserve your business when dependent on the platforms of monopolists. I want them to be my passkey store. But until 1Password works on Android I can’t. And the Chrome desktop browser integration on Windows seems to be causing me problems. Not sure if it’s outright bugs or if it’s just some things are simpler without it.

Anyway, here’s the 1Password extension preferences and its confusing array of options for exactly where it will intervene. As you can see I’ve disabled the most obvious passkey part of it. I still see some evidence it’s in the middle sometimes though. I’m really not sure. Some of my testing has been with the extension entirely disabled in Chrome, I’m reasonably sure it’s not involved in those cases.

Passkeys still awkward in Mar 2024 (Android, Chrome, Windows, 1Password)

Some tech friends surprised me by saying they’re all using passkeys and liking them. I’m still not, despite being very interested in them. Passkeys seem like a failure to me so far. But my friends who are having success with them are all full-in on the Apple ecosystem, that may be why they are having a good experience. I’m using mostly Google and Android stuff and really want 1Password to manage my passkeys.

Update: the notes below are mostly for trying to log in to Google using passkeys. I had a better experience using passkeys for GitHub.

1Password passkeys are a mess.

1Password doesn’t work. I’m not sure it’s their fault. The platform owners (Google, Microsoft, Apple) have all paid lip-service to supporting third party passkey stores but in practice it is clumsy if it works at all. 1Password announced support for passkeys last September, including Android. But here in March 2024 it still doesn’t work. It requires Android 14, which came out only 5 months ago and isn’t on many devices. It also requires Chrome support third party passkeys. Which maybe works? But requires setting a flag in Chrome to enable, and user reports say it may not work well. Disappointing all around and also a clear question for anti-trust investigation IMHO.

The Google passkey experience

Using passkeys in Google (Android, Chrome) is better but doesn’t work reliably. I successfully just created a passkey stored on my Pixel phone, in Google’s store. And then logged in with it using my Windows machine running Chrome. But I had to scan a QRCode to do that, an absurd workflow, despite my phone and my desktop communicating (via Bluetooth?) in the past in some Chrome thing. In theory this desktop/phone integration gets better the second time you need it but instead it just doesn’t work at all; the desktop browser tells me to press a button on my phone but the prompt never shows up on the phone. A similar workflow for Google 2FA is still working so my phone is still able to do some authentication related stuff.

Also I can’t reliably use accounts.google.com to manage my passkeys. Google’s webapp crashes. It might be related to my browser extensions, it works better in incognito mode. Or it’s possible this is something unique to me (I have one of the very first Google accounts ever, created when I worked there before anything launched). Or maybe it’s just broken?

None of this is giving me much confidence in Google managing passkeys.

How about Microsoft?

I also tried creating a passkey stored in Windows Hello to log in to Google using my Chrome browser. This actually works pretty well. But Windows Hello feels rinky-dink and I really don’t want to use it. And at least some part of Windows integration breaks.

Migration

Another huge problem with passkeys is there’s still no story for migrating. If I have a passkey stored on my phone and I get a new phone, can I move the old passkey to another phone? What if I switch from Android to iPhone? Every time I’ve looked they say “migration is a work in progress”.

The practical thing for now is to look at passkeys as ephemeral things you have many of. Your account at Google has many ways to log in: password, proprietary device-based unlock, passkeys. It might have several passkeys. If you get a new phone you’ll just make a new passkey.

Except... what if I use passkeys to log in everywhere? What if I have 100 passkeys on my phone? Do I manually have to create 100 new passkeys, one for every site? That’s ridiculous. But I think that’s where we are today.

Which brings me back to 1Password. They have an excellent story for migration; your authentication lives in the 1Password cloud. Or at least I think they do, I’m not actually sure for passkeys. I can’t test it. Because 1Password passkeys don’t work in Chrome.

Update: it seems Android is storing passkeys in the Google Password Store which you can manage via the Chrome browser. They are synced across devices.

Pixel 8 system shows out of date information

I have a frustrating problem with my new Pixel 8 phone (running Android 14). The phone often shows out of date information when it’s idle, sitting on my charger at 80% or more battery.

One problem is the weather is wrong. In Grass Valley today it’s currently fully sunny and 43° with a forecast of 47–62. I think my phone is showing me weather in LA instead. That’s where my IP address geolocates too, so it must be a dumb service. My phone knows I’m in Grass Valley with WiFi or GPS location but that information is not getting used.

The other big problem is notifications are often delayed; the Gmail app (for instance) won’t chime when I get a new email until I unlock the phone, when suddenly a flood of notifications arrive all at once.

I think the underlying problem is all the various battery saving tricks that have been added to Android. The “Adaptive Battery” feature definitely can cause delayed notifications, it says so right in the settings, and turning that off helps some. But also the “App battery usage > Optimized” setting. I know to turn that to “Unrestricted” for certain apps (like Syncthing, GPSLogger, etc) but I just went and turned it on for a bunch of core Google services like “Google” and “Android System Intelligence” following this guide. We’ll see if it helps. If the Google system components don’t work in “Optimized” it’s a pretty serious bug, Google should fix that by either changing optimization or else disabling it where it breaks things.

Part of the problem here is how complex Android settings have gotten. Here’s the full list of fixes in a guide I found to fix At a Glance weather

  1. Go to settings -> privacy -> personalize using app data (ON)
  2. Go to Google app -> Profile photo -> Settings -> Location -> Always (ON)
  3. Go to settings -> Apps - > Search for Pixel Launcher -> Battery -> Unrestricted (ON)
  4. Go to settings -> Apps - > Search for Android System Intelligence -> Battery -> Unrestricted (ON)
  5. Go to settings -> Apps - > Search for Google app -> Battery -> Unrestricted (ON)
  6. Go to settings -> Location -> Location -> Permissions -> Google app -> Allow all the time (ON)
  7. Have your location (GPS) always turned on
  8. Go to settings -> Apps - > Search for Google app -> Mobile Data & Data -> Background data (ON) and Unrestricted data usage (ON)

Got that? 8 different places just to make the stupid weather widget display correctly. Which may or may not work, and these instructions are a year out of date. Didn’t work for me; I rebooted and the phone is still showing me LA’s weather.

Even more complex.. the lock screen display of the time and weather isn’t actually configured in Android’s Lock Screen. That’s some other older system lock screen. My Pixel phone is actually using the Google Assistant’s “At a Glance” feature, which is configured separately. Well most of the time; when the phone first boots it’s using the default lock screen. It’s all a big mess.

I should add here my GPSLogger stopped logging reliably. For years I’ve coaxed this thing into running 24/7 getting my location every few minutes, something Android really doesn’t want to let you do. That stopped working two days ago, with 3+ hour gaps of no logging. I’m hoping that was just a temporary thing and restarting it will fix it, but we’ll see.

Android’s been around now, what, 20 years? I guess a bunch of platform cruft and confusion is to be expected. Maybe it’s time for a new OS to rethink everything. Or for some dedicated product manager inside Google to spend two years figuring it out, untangling it all, and coming up with a new rational design that makes all this configuration work well and be comprehensible. That’ll never happen, no promotion in fixing old shit.

Pixel cases vs Android gestures

Current phone design drives me crazy. They make these beautiful devices that look great in product shots with fancy glass backs. That are so damn slippery you immediately have to put some ugly case on the phone so it doesn’t fly out of your hand. They never show the necessary case in the product marketing shots.

Worse, the trend to slab-of-glass means there’s nothing really for the case to grab on to on the front of the phone. Cases have to have a little rim that extends above the glass. Which then gets in the way when you try to make swipe gestures from the edge of the screen, your thumb hits the raised case edge and misses the edge of the glass. This was particularly bad in the brief trend towards curved glass on the sides so there was no bezel at all.

The swiping is a real usability issue. Android makes heavy use of swipe gestures: from left for back, from right (sometimes) for delete, from the bottom to switch apps. And every single time I tried to do them the case got in the way. The raised lip is a help for protecting the phone, particularly if you drop it on its front, but it makes the phone harder to use.

Anyway, I tried a bunch of cases. Here’s a few.

  • Peak Design: the winner! This case is super thin in front, a very low profile. It’s still raised a tiny bit but so little over the phone it doesn’t get in the way. Unfortunately none of their product marketing shots show the front of the case, probably because they want to downplay the relatively ugly plastic frame that holds it on. But here’s a still from a video I made that shows it.
  • Ringke Onyx: the runner up. It’s cheap and pretty ugly. But there’s cutouts on the sides that help with side swipe gestures, see this shot. Even so the bump on the sides is still annoying enough to interfere. And there’s an enormous raised lip on the bottom which makes swiping up really awkward.
  • Caseology Nano Pop: a disappointment. Raised rim all around, no effort made to accomodate a swipe.

I considered giving up on a case entirely and just putting some sticker on the back so I could still hold it. Something like Dragon Grips. But they are so ugly. I did try ordering a dbrand skin which was a terrible waste of money. The sticker I got is still slippery. And the edgelord marketing extends all the way to customer support, the installation video has a dumb joke where the instructions to align the sticker should have been. I got a condescending response from their support when I asked for help. Screw those guys.

Kiwix libraries for offline Wikipedia

It’s still hard to set up offline Wikipedia on Android with Kiwix. Fortunately the app is getting updates again after the year+ mess. The new app works well and you can download ZIM libraries in the app and they work fine. But getting the full 100GB Wikipedia is difficult to impossible from their downloader.

Here’s what I did to download the ZIM file to my PC, then copy it to the phone. These steps may require the phone be in developer mode; that’s safe in Android and is not the same as rooting the phone.

  1. Choose a ZIM file. I picked the 101.6GiB wikipedia_en_all_maxi_2023-11.zim
  2. Download the ZIM file on your PC.
    I used this torrent which came from their library. (Note browsing and linking this site is awkward). Another option is a direct HTTP download from their site.
  3. Launch the Play Store Kiwix app on your phone and use the app to download something small, like the top 100 articles. The goal here is just to get a storage folder created.
  4. Mount the phone via USB on your PC.
  5. On the PC, go to the directory
    Pixel 8\Internal shared storage\Android\data\org.kiwix.kiwixmobile\files\Kiwix
    You should see the small ZIM file that you installed in step 3 there.
  6. Copy the big ZIM file you downloaded into the directory
  7. Launch the Kiwix app and choose Library. You should see your new file.

Reddit is full of people saying they did this and it did not work. I’m not sure what’s going on. Maybe developer mode helps?

If the above steps don’t work, it’s recommended you uninstall the Google Play Store version of Kiwix and sideload a download from Kiwix itself. This has extra capabilities the Play Store won’t allow, including file access.

Another option is to install the Kiwix PWA, a fancy web page that works like an offline application. For some confusing reason PWAs on Android (which are not reviewed) can access your entire filesystem even if individual apps (which are reviews) can’t. That’s Google’s fault. Kiwix has been developing their PWA a lot recently. I haven’t really tried it.

The underlying problem here is Android keeps ratcheting up platform security and has slowly eroded the principle that apps can access files. I would hope nothing would stop this direct USB transfer but I don’t know anymore. I have other apps that can still access the filesystem, like SolidExplorer. Maybe Google gives them an exception that Kiwix can’t get?

Choosing a ZIM file

Kiwix has made it very hard to find the ZIM file for Wikipedia. The product usability is really bad.

It seems the ZIM libraries come in the following flavors:

  • Mini: summary sections only with pictures
  • Maxi: full articles with pictures
  • Nopic: full articles without pictures
  • ???: no videos (almost all of them seem to be this but there’s exceptions.)

If you search for “Wikipedia” in the mobile app, you get a bunch of special interest things like “Ray Charles Wikipedia”. If you weed through those you can finally find actual Wikipedia. But the labels are (currently) wrong. For instance the screenshot at right shows 4 different versions of the top 100 articles. But one is mislabelled: that 14.1MB one does not contain videos. I think it’s actually wikipedia_en_100_mini_2023-12.zim which is only the summary section of each article, but has pictures.

In theory you can use the Google Play store app to download the full 100GB Wikipedia all in your phone. Nice! Assuming you can make that download work reliably on a phone, that is. But in practice I literally can’t find that ZIM file in the downloader, it’s like it’s hidden. The closest I could find was the 56GB all nopic.

BTW these files are huge for a phone! If you want something smaller try wikipedia_en_top_maxi_2023-10.zim. That’s 50,000 articles at 6GB. I do think it’s worth getting the full maxi with pictures; very useful in offline situations.

Kiwix also has a new Library webapp which lets you view the ZIM files in your browser. It seems like a nice idea! But again, the usability is terrible. What’s the difference between these 4 libraries in the screenshot below? Other than the size.

I feel bad picking on an open source project like Kiwix. But the product has had these usability problems for years now. They get funding from Wikipedia, maybe it’s not enough.

Phone migration: what I think should happen

Lots of responses to my rant about the bad experience of getting a new Android phone. A real mix. Some folks saying “worked for me!”. Some folks saying “I had those same issues but they didn’t bother me”. Not so many people just saying “I feel your pain, it should be better” but then my post was ranty enough that I expected aggressive responses.

Here’s what I would like for a phone migration experience.

Requirements

Every app should transfer all settings and data. Every preference and config. All data, including cached data you could download over the Internet again. The migration process should be more comprehensive than restoring from a cloud backup; the data is already available locally. (I’ve seen hints that Android does better with a USB wired migration vs. wireless. The Pixel 8 never prompted me to plug in a cable so I didn’t try it.)

Every single app should be aware I migrated. Most apps probably shouldn’t care but some may need to respond to a migration event so the product needs to adapt to the new hardware somehow.

Low stakes apps like Spotify should keep me logged in. The migration was a secure process, my login tokens should transfer too.

High stakes apps like banking or a password store might choose to reauthenticate me after migration, for extra security. But the app on the new phone should already know who I am, already have my username pre-filled. Apps that require two factors for login on a new install should only require one of those factors on a migrated phone.

Some apps require you do something on the old phone to migrate, like de-register it. Those apps need to treat that requirement as a serious thing requiring explicit user action. Notify me during the migration if I need to do something on the old phone. “Hey, you need to do something special for this product”. As it stands now for some apps (Volvo, WhatsApp, Battle.net, ...) you only notice you have to do something on your old phone when you get around to launching it on the new phone. That may be several days later, after you’ve already wiped and sold your own phone. That’s not acceptable. (I literally spent a couple of hours launching every single app to make sure it worked. Don’t make me do that. I’m still scared to wipe and sell the old phone.)

Google needs to work with cell providers to migrate cell service better. This used to be great on iOS, not sure if it still is. All Android says is “lol contact your cell provider”. Maybe the Google Fi version is nicer?

Google should respect my ad privacy settings on migration. As it stands now Android uses a migration as an opportunity to trick you in to agreeing to being tracked.

I’m on the fence whether Android should copy over app permissions. It doesn’t seem to, at least for location, file access, and biometrics. OTOH a migration is a chance to fight the proliferation of promiscuous permissions. That e-commerce app really doesn’t need my precise location.

Commentary

A lot of people responded “it’s an inconvenient experience because of security”. Sure, security-vs-usability tradeoffs are often tricky. But make the tradeoff explicitly, on purpose! Not just this lazy mess. And for security, wouldn’t it be better if the product recognized that it’s not a new install, but rather a secure transfer from an old install? A migration is a different, lower risk. Most of the apps I used don’t do anything that nice, they just reset me back to zero. I suspect they do this because it’s easy and they trust that process is relatively secure rather than building a special migration experience. They didn’t put any product effort into the tradeoff during migration, they just made it inconvenient.

Many of my requirements are predicated on the assumption that the migration itself is a secure process. That no hacker can produce an unauthorized clone of my phone and use that to access my bank account. I am pretty sure Google designs for secure migration and trusts it. But I can understand why my bank might not trust Android. So fine, require I log in again if the stakes are high. But at least design that process nicely. The bare minimum is not making me type my username again.

Secure hardware enclaves complicate migration: it may not be possible to move some data. I don’t know Android well enough to know how prevalent that is. I don’t think it explains most of the problems I saw.

Both 1Password and Aegis did a good job on migration. These are some of the most sensitive apps I own; both migrated my data in a way that I trust is secure. They did require me to reauthenticate but that process was simple. Both already had my data and knew who I was. This proves that secure convenient migration is possible on Android. My guess is their product teams put a lot of effort into making migration work well, it’s a primary feature for both.

Several simpler apps also migrated well. (Yay Paprika!) And Google’s apps also mostly did a good job on migration. Not exactly a surprise, they control the whole platform. Also they have a very clear authentication and account model, most of their apps just trust the system’s Google login. I logged in once to Google during the setup process and then my Gmail, etc was already available. Wallet and GPay were exceptions, both had problems.

Special shout-out to the Wikipedia app which kept all my tabs during the transition. That was a nice surprise!

Migrating to a new Android phone sucks

I upgraded my Pixel 6 Pro to a Pixel 8. I just spent some five hours getting the new phone working the way the old one did. It was a terrible experience. Getting a new phone isn’t a delight, it’s an awful chore to be avoided. Every product manager and engineer involved in this mess should feel bad. FWIW it was bad two years ago when I did this last time, too. My impression is the iOS migration experience is much better. (Update: mixed opinions about iOS on the Fediverse.)

Update: see this followup.

(Content warning: this note is a bit ranty. I felt it was important to capture the emotional experience.)

Broadly speaking, the problems fall into several categories:

  1. Data not copied over to the new phone
  2. Random app settings not being configured
  3. Having to log in to every app
  4. Security critical stuff
  5. Getting the cellular contract to work
  6. Google being sleazy with surveillance

I think the underlying problem is the Android platform must not specify how migration is supposed to work well enough that every app gets it right. No one owns the whole migration product: it’s partly Google/Android’s responsibility, partly the phone manufacturer’s (Google in my case), partly the carrier, and partly the apps’.

Also I can imagine each app / product owner not thinking it’s a big deal. “Migration only happens every two years, no need to worry about it”. I bet these products lose 5–10% of their customers every two years. Also the problem is much worse for the individual because they have to manage 100+ app migrations all on the same day.

It’s not like it’s not possible for migrating to a new phone to work. Some things even do work in Android. The little mom & pop Paprika app migrated perfectly. All my recipes on the new phone, still logged in. So did Libby, the public library book borrowing platform. But many other well funded apps sucked. High stakes things like my banks or Uber, but also low stakes things like my Spotify account. My suspicion is the product people for most of these apps just don’t care enough to make it work.

Details

Do I have detailed notes? You bet I do!

Data not copied over to the new phone

Android has a fancy migration tool for new phones. It’s pretty slick! Wireless, auto-discovery, relatively quick considering what it’s doing. And it does successfully copy a lot of data over. But not everything. For instance all of my music files copied over. But the 3GB of map databases Organic Maps had? Have to download those again. Also the 80GB of Wikipedia database from Kiwix. I suspect there’s a deliberate decision here not to copy this data since it can be downloaded again. It may be tied to the set of data that’s backed up. But re-downloading 80GB over the Internet is a big burden and the data is right there for the copying.

Google Wallet kept my credit card, the most sensitive item it had. But it lost my Clipper transit card. Also lost my Covid vaccination record (again). Maybe no one on the Google Wallet team cares enough to make sure the user’s cards in their wallet transfer over. Just empty the wallet into a fire and start over.

Random app settings not being configured

A whole lot of apps had to be reconfigured. A few apps copied their configs over entirely, worked great. Most didn’t even try, I started new. A few special apps copied some settings but not all. A whole lot of apps treated me to a New User experience, some condescending 8 page onboarding slideshow like I’d never used the product before. (Including, bafflingly, a few that had copied my configs.)

A related detail: all my system settings for app permissions had to be re-enabled. I had to manually tell the phone, again, to allow the maps app to know my location and the file manager app to access my files. I think my notifications preferences were kept though.

The notes from the Niagara Launcher app are possibly instructive here. “We’re currently using Google’s Backup implementation, which is not 100% reliable...” In my case I had to fully reconfigure Niagara. There’s a feature request for Niagara to implement its own settings export / migration tool. Some of the apps I use have those but I didn’t use any of them because the process of juggling the settings file was too tricky. It should just sync to the Google Cloud Backup Drive Panopticon, why does this not work for every app consistently?

Having to log in to every app

A huge PITA is that most apps are basically just wrappers around a website. And almost all of them demanded I log in again. I suppose they think this is “for security reasons” but for 90% of the apps there’s very little risk. It doesn’t help that the login process is a PITA. I use 1Password for logins and for about half the apps it works very well, I just tap a button in the keyboard and it fills. The other half? I have to cut and paste across two apps. Or the new trend, the app doesn’t even let you use a password but insists on sending an SMS message with a login code. Which cuts 1Password out of the loop entirely.

Security critical stuff

A few apps have special security needs, I expected them to be awkward to migrate. Except: they aren’t! Both 1Password and Aegis (my 2FA store) worked great. I think I had to type a password into each one once on the new phone. All data, login tokens, etc transferred. Because they care to get it right.

By contrast the various bank apps and other things with material consequences to security all sucked. In all cases it was basically like I was installing a new app for the first time on a new device, no aspect of the transfer worked at all. Only because these are security conscious products the new app setup process is always onerous.

And then there are the special apps that insist I do something on my old phone to deregister it before it will let the new phone work. The geniuses at Volvo managed to build a car where if you lose your phone or uninstall the app you have to factory reset the entire car software in order to connect a different phone to it. Fortunately I have the old phone and could unpair it but I still haven’t paired the new phone because I have to have both physical car keys with me to pair a new phone. The Android migration tool did nothing to help me here.

I was going to check what happened to my Passkeys but hahaha I have no Passkeys because that technology rollout is going very poorly.

Getting the cellular contract to work

Another special case I have a little sympathy for: migrating cell service is tricky. And very security important, given how every app treats SMS to your phone number as a primary means of identification. I give Verizon credit here, the transfer process was actually pretty good. eSIMs should make this simpler but in practice make it more complicated since there’s no physical object to move your identity on. But it still worked mostly fine, although Verizon’s website and docs are wildly inconsistent on what you need to do to migrate. (The obvious thing worked for me without talking to anyone.)

But Android did nothing at all to help make my phone be a phone. Why not recognize I’m moving a phone with a Verizon contract and help migrate the eSIM service over at the same time?

Google being sleazy with surveillance

A special bonus here. Somehow Google forgot my ad privacy preferences. Google rolled out a whole new ad privacy setting this fall. I immediately opted out of all surveillance on my phone and my Google Account. But despite migrating a Google Account opted out on a phone opted out, the new phone demanded I set my ad preferences up again. Defaulted to full tracking. Twice: once for Chrome and once for the phone device itself.

Of course Google knows exactly what they’re doing, it’s not a bug. They want desperately to track users but they need to maintain the fig leaf that we somehow consented to the tracking. So the phone transfer doesn’t transfer the privacy settings and resets me to full tracking. But this game they’re playing undermines their goal. They clearly ignored my informed preferences and tried to trick me into undoing them. That’s not informed consent, that’s fraud. I know to pay close attention for this garbage but most users won’t follow it.

Conclusion

Phew, feel better getting that rant out. But seriously, the experience of migrating one Android phone to another is really bad. It’s a mess of a difficult problem, complicated tech that apparently doesn’t work right, and a product conundrum that no one cares enough about to fix.

Android Automotive vs Android Auto

Quick notes about Android Automotive Operating System, AAOS. I like it quite a bit. It’s part of why I bought the Volvo C40 Recharge.

AAOS is an Android-based operating system for cars. As the owner of a car, what I see is that I now own another Android device in addition to my phone and tablet. It has a different UI but it works like Android. I can install custom apps on it. And the default apps are quite good. Google Maps, of course, but a special version with EV charging info built in. Even better it integrates with my car’s systems so Google Maps can, say, look at my battery charge and help me plan a route. It also has Android apps for controlling the air conditioning, etc. AAOS mostly is visible on the car’s central display but it also integrates deeper into the car systems and the dashboard display.

Car software generally sucks. AAOS doesn’t, it mostly seems good and modern and not some OEM nightmare.

AAOS is different from Android Auto. Android Auto lets you mirror your Android phone’s display onto a car screen. Apple’s CarPlay is the equivalent thing for iOS. My C40 supports CarPlay but not Android Auto. I think they decided that Bluetooth integration with an Android device, plus maybe a little OS support to bridge things from the phone, was enough. I’m happy that calls, text messages, and media playing still work fine from my phone. But mostly I just run Google Maps and Spotify on the car itself.

GM/Chevy recently made the news that they were dropping support for both CarPlay and Android Auto in new cars. They’re adopting AAOS instead. That’s weird; AAOS can support the display mirroring mode. Dropping CarPlay seems like a real mistake, folks in Apple’s ecosystem are going to miss it. Also the press release suggests they’re doing this because they want subscription revenue; they can’t charge you if you’re just using your mobile phone to control the car. That sucks.

There are fewer AAOS apps that Android Auto apps. And both systems require extra work to support by app developers, a separate UI and affordances to not distract the driver. Here’s some developer info about AAOS apps from Google.

In practice I find the apps I want for my car are on AAOS. PocketCasts, Spotify, PlugShare. It even has YouTube and a web browser (only usable when the car is parked). Strangely A Better Route Planner is not on my C40. They do have an AAOS version for Polestar, not sure what’s going on there.

Kiwix Android mess

Update: this is now resolved. As of December 2023 the Play Store has version 3.8.1. The F-Droid version is still ancient though. See these notes on why you might still want to sideload an APK if you want to easily download ZIM files to your phone.

I’m a big fan of Kiwix, the offline Wikipedia reader. It’s great having Wikipedia cached locally on your phone, particularly when travelling. However as near as I can tell there’s no easy way to get a recent version for Android. iOS is a little better. I may be confused but this is what I’ve found.

The Kiwix Android GitHub repo and Apple repo look official and included dated source releases but not binary builds. Android had a 3.7.0 source release in May 2023. iOS had a 3.1 source release at the same time, with a 3.2 just yesterday. Presumably these version numbers are not directly comparable.

The Kiwix Applications page has what I assume are links to official binary downloads.

For iOS, the Mac App Store link gets you version 3.1, from May 2023. 3.2 came out literally just yesterday so a little delay is understandable. That all looks fine.

For Android, the Google Play link gets you version 3.4.5. That’s from November 2021. It won’t install on Android 14 although I happen to have it installed and it still seems to work. The F-Droid link is just the APK for F-Droid itself. The version hosted at F-Droid seems to be 2.4, from 2018. There’s also a direct APK download link. That gets you 3.7.1, the latest Android release (from June 2023), but you have to sideload it manually and it won’t get autoupdates. Bottom line: install from Google Play if you can, or else sideload.

Why aren’t there more recent Android binaries? This Reddit comment has the story. Kiwix is not open source enough for F-Droid’s policies. And Kiwix did some file scanning which fell afoul of Google’s review process. It looks like that was supposed to be fixed with release 3.7 but somehow that still isn’t out. This issue suggests they’ve fixed the issue very recently? There’s also this issue which tracks Android 14 support.

Update: got a response on Mastodon from Kiwix saying “3.8 should be on the playstore anytime soon”.

(The underlying technical problem is Kiwix needs to access the ZIM library for Wikipedia, which can be 100 GB or more! Treating it as a special file makes sense. But Android has over time made it harder and harder to access the local filesystem and they seem to be running into restrictions when they try to make Google Play releases.)

While I’m complaining, Kiwix also has always had usability issues for figuring out which ZIM library for Wikipedia to install. Right now when you look for Wikipedia in their web library you get 66 results. Anywhere from a 878kB file for “Wikipedia articles about Ray Charles” to a 102GB file for “The free encyclopedia”. It’s really unclear which of all the options you want. The mobile download interface in 3.4.5 is a little better than the website and if you sort through the Simplified English version and the “top 100 articles” version you can eventually find 60GB and 100GB files for the whole Wikipedia (with and without images), also a 6GB download for the top 50,000 articles. The library you want is there, but it’s really hard to find it.

I always feel bad complaining about free open source software. I really appreciate the work these folks do. But Kiwix is important and it’s a shame it doesn’t have easily installed releases for the mobile OS with 70% market share.

Every Mastodon client is broken

I have a simple goal with Mastodon. When I wake up in the morning I want to see every single post in my Following timeline. In reverse time order, oldest first. I do not want to see boosts ever but I want to see every original post. In Twitter I could do this easily, just by scrolling down (with algorithmic timeline disabled).

Not a single Mastodon client I’ve tried can do it.

Fedilab, tooot, and Megaladon all will just miss posts. I’ll see a post that’s 7 hours old, then a post that’s 1 hour old, and everything from 7–1 in between is missing.

Moshidon looks like it might be able to show all the posts inbetween. I like the UI above: it shows the 11 hour gap and has buttons to fill it on either side. A little more manual than I’d like, but workable. Only it has a fatal bug; when I tap “load newer posts” it does load them but for some stupid reason ignores my client-wide setting to ignore Boosts. So I see a stream of lots of boosts, not just the actual posts I want. It doesn’t have this bug when loading posts in other contexts, only pressing this button. Also if I quit Moshidon and relaunch it now that UI is missing; any posts I didn’t tap to load last time are now forever inaccessible.

Writing this now I realize I haven’t tried the official Mastodon Android client. In the past I didn’t like that one much, but I suppose I should try it now. Nevermind: it doesn’t have the ability to hide boosts.

The problem is so commonplace I wonder if it’s a problem with my server, or with the Mastodon API. But it’s not exactly consistent: each Android client seems to have a slightly different gap it refuses to show, it’s not like the same set of 23 posts are missing. And the Mastodon web client (or rather the Glitch soc fork) I use on tech.lgbt also shows this bug in the web view. But only sometimes. It doesn’t today, whereas all 4 Android clients I tried do.

One thing I’ve noticed trying all these clients is they all suck in various ways. 3 of the 4 lack the “tap at top of screen to scroll to beginning” UI that every Android app should have. Tooot doesn’t even have a humane inertial scrolling, so I have to swipe up one screen at a time over and over again to get to the most recent posts.

Another big probem is these apps all love giving user preferences. Fedilab must have 200+ settings. Some I understand; a single button to show or hide boosts, for instance. Others are baffling. Why are there buttons for “show indicator for image alt text” and also “show indicator for missing alt text”? Just pick an alt text presentation style (the right one) and do it, don’t make the user create their own custom client experience. Lots of choices for configuring correct behavior too, like “load missing content from servers”. Um? Yes? Why is this a toggle? It’s classic open source product design: the folks building the product just love all those choices so they figure their users must want choices too. Too many choices.

Sorry, feeling a bit ranty today. The inability to simply load old posts is pretty maddening.

Update: an iOS using friend says Ivory has no trouble with showing all old posts. Unfortunately I don’t have any iOS devices to try it on.

Update 2: I like this speculation it could be related to paginating incorrectly while filtering boosts. That the client loses count because it’s skipping some posts. Plausible? Hard for me to test short of spamming myself with boosts and seeing if it works.

Update 3: another line of inquiry is that I am informed that the Mastodon server keeps a queue of 800 posts for you in the timeline. That’s it and that includes all things, including stuff I’m filtering out in the client like boosts. That number is hardcoded in feed_manager.rb. I don’t really understand the code but it’s more complicated than that, with some calculations happening with just 200 or 400 items. I don’t think the posts I’m missing are 800 down a time ordered queue, I’d guess more like 100-300. But it’s worth a closer look.

What my phone was talking to

After setting up some monitoring I’ve got some data on a little over 2 days of Android phone activity. But I don’t really know what’s going on with my phone other than it’s a lot.

The phone is a Pixel Phone, nothing extraordinary, not used often. I do have a couple of background things running (Syncthing and GPSLogger). Mostly I’m curious why so many apps are sending network traffic every few hours. So I set up NextDNS and Netguard to learn more. Honestly, I didn’t learn much from this exercise. But here’s what I got.

NextDNS Analytics shows 18,000 queries, 35% of which were blocked for being trackers / ad related.

Top domains blocked were for Braze, Urban Airship, Optimizely, Crashlytics, Twilio Segment, and Google Analytics. Ie: all basic user surveillance, ordinary marketing bullshit.

Top unexplained domains allowed were Google SUPL (a location thing), federatedml-pa.googleapis.com, youtubei.googleapis.com, play.googleapis.com, and firebaseremoteconfig.googleapis.com. Guessing these are all related to Google services that are part of Android OS. (A whole lot of network connections go to 1e100.net addresses but all that tells me is they’re hosted by Google.)

Netguard is showing me a lot of my apps wake up and do a little network stuff every few hours, despite me not actively using them. For instance Amazon Music (which I haven’t used in weeks) wakes up once an hour and makes several network connections totalling 1-2MB. Once an hour! What the hell? I deleted that app.

Other apps seem to connect only once a day and some (like HSBC’s banking apps) don’t connect at all. Despite being apps I do use regularly. Presumably some are suppressed because Android identified them as unused and deprioritized them. I’ll note that many open source apps seem better behaved. And shout out to the apps that have “no Internet permission”, typically apps that don’t need them.

I have a theory that a lot of this sparse traffic is basic app telemetry. For instance it looks like Grindr is firing off requests to Crashlytics, Google Analytics, and Scorecard Research. (And also its own DNS-over-TLS queries once it figures out I’ve blocked those on the system level.) Remarkably the other gay dating app I have installed, Growlr, seems to make no queries at all when not used.

There’s an interesting splodge of queries at 2023-08-29T20:45. It’s plausible that’s when I unlocked my phone, I could imagine a bunch of apps taking advantage of the device waking up to phone home.

One last tool I tried is Google’s “Non-carrier data usage” report; that shows you app data usage for a month. But most of that is stuff I did on purpose, like reading a newspaper. Just about 20GB for a month. The first surprise on the list is Tapet, an app that makes random background images; that comes in at 172MB. I do use that app (and love it!) but none of its features are networked, so where’s the data going? I couldn’t figure it out, although their privacy policy suggests usage surveillance. Amazon Music is up there at 42MB. A blood pressure monitor app I barely use is at 39MB. Etc.

Bottom line, I didn’t learn much. Honestly trying to figure out what’s going on with these limited tools is difficult. Netguard has the ability to capture full traffic in PCAP files but trying to comb through those sounds like a nightmare, especially since it’s almost all SSL.

There’s definitely a cost to keeping old apps installed on your phone. Even if you never use them they still wake up and do stuff on the network.

Update: Android has some guidance on excessive mobile network usage in background. “Android vitals considers background network usage excessive when an app is sending and receiving a combined total of 50 MB per day while running in the background.” This page seems mostly concerned about battery consumption, not bandwidth.

Google APIs

One interesting bit of data from the DNS logs are various Google API queries. It’d be interesting to know what all of these services are; like what’s geller-pa?

228 crashlyticsreports-pa.googleapis.com
218 youtubei.googleapis.com
218 federatedml-pa.googleapis.com
180 play.googleapis.com
157 firebaseremoteconfig.googleapis.com
141 android.googleapis.com
130 firebaseinstallations.googleapis.com
114 play-fe.googleapis.com
107 androidattestationvalidation-pa.googleapis.com
100 googlehomefoyer-pa.googleapis.com
90 http://www.googleapis.com
79 notifications-pa.googleapis.com
76 android-context-data.googleapis.com
70 userlocation.googleapis.com
60 geller-pa.googleapis.com
39 telephonyspamprotect-pa.googleapis.com
37 translate-pa.googleapis.com
36 update.googleapis.com
36 paperwork-pa.googleapis.com
36 firestore.googleapis.com

Top Domains

And here’s the top domains overall by DNS queries (count is number of queries, not overall traffic).

588 sdk.iad-06.braze.com
548 device-api.urbanairship.com
400 logx.optimizely.com
386 firebase-settings.crashlytics.com
384 api.segment.io
377 ssl.google-analytics.com
265 supl.google.com
228 crashlyticsreports-pa.googleapis.com
218 youtubei.googleapis.com
218 federatedml-pa.googleapis.com
188 discovery-v6.syncthing.net
180 play.googleapis.com
172 googleads.g.doubleclick.net
157 firebaseremoteconfig.googleapis.com
154 app.rain-alarm.com
151 device-metrics-us.amazon.com
143 static.withings.com
141 discovery.syncthing.net
141 android.googleapis.com
140 g.whatsapp.net
136 meta.wikimedia.org
132 rest.locuslabs.com
131 prod.rudderstack.withings.net
130 firebaseinstallations.googleapis.com
129 clients4.google.com
128 remote-data.urbanairship.com
126 graph.facebook.com
122 slack.com
120 http://www.googletagmanager.com
120 api.pocketcasts.com
119 clients3.google.com
118 http://www.googleadservices.com
118 ad.doubleclick.net
117 msh.amazon.com
114 sb.scorecardresearch.com
114 play-fe.googleapis.com
114 discovery-v4.syncthing.net
111 i.ytimg.com
111 assets.adobedtm.com
111 api.amazon.com

Towards a calmer Android home screen

I just completely changed how my Android devices look and couldn’t be happier. I switched from the usual “grid of random icons” to a clean monochrome look. I like the result, here’s screenshots from my phone and tablet. Edit after 6 weeks I like it even more. Read below for notes on how I did it.

Background: Tapet

The simplest part is the screen background, generated by Tapet. That’s an app that makes a new abstract image once an hour. It’s tweakable, I’ve set it to 60% Adaptive Dark and 10% Blur so the images are less distracting. (The pink screenshot is without the dark setting.) Tapet has been around a long time and is great. You can use it on its own without the other stuff. It’s free but it’s worth paying a few bucks for the premium unlock.

Launcher: Niagara

The big change; I switched from Pixel Launcher and Nova Launcher to Niagara Launcher. That’s a pretty major change to phone UI and I really like it. Niagara has you choose ~8 apps for the home screen (as seen above). Then the rest of the navigation is based on a really neat rolodex UI that lets you pick an app out of a list alphabetized by name. I’ve been launching apps by searching by name for years now; this picker is way better than typing the name!

Beyond that Niagara has a limited but thoughtful set of features to help you keep the home screen clean and minimal. Despite that it also packs in some great detail. See the text on Moshidon on the left screenshot? That’s an Android notification displayed inline in the launcher. There’s also a fancy “popup” feature that’s like folders but better, when I tap on News I get a nice popup of various news related apps.

Niagara is free or $10/year for the not-really-necessary Premium.

Icons: Pix Material You Light/Dark

Niagara can replace the app icons with an “icon pack”, something you download from the Google Play store. These packs contain thousands of icons, both specific ones like “Slack” and generic ones like “Video”. Niagara does a great job helping you use these icons. Google is encouraging all apps to provide a monochrome icon for Material Design but even after two years most of my apps don’t have them. The icon pack lets you override them.

The icon pack I’m using is Pix Material You Light/Dark. These are monochrome icons that adapt to the device theme (more on that below). It’s $2, well worth it. Another nice option is Whicons, all white icons (there’s a black version too), it’s free. I prefer the shapes of Pix but they’re both good.

Weather: Weawow

Niagara lets you have one widget visible on the home screen. I picked Weawow for weather. My first choice would be Windy but its widget is full of colors. Weawow has a nice simple monochrome widget that looks clean. (Does anyone make a weather widget that uses adaptive colors?)

Colors: Material You

Here’s the tricky part: the icons adapt to the colors on the background screen recently generated. See the pink cast to the app icons on the right that matches the pink background? That’s Material You design in action. The system picks a color based on your background screen and customizes all the UI to use that one color as a highlight. And it changes every hour. Subtle variety.

Niagara works well with Material You, most of its UI elements are themed to it. And it can re-color an icon pack to match the Material You color. Works great on my Pixel phone. Unfortunately Samsung chose to break Material You. As Niagara explains, “On Samsung devices the Material You palette consists by default only of shades of blue, no matter what wallpaper you have applied.” Samsung’s apparently really committed to their brand identity color. You can use the Samsung Theme Park app to edit it: it will still be stuck to one color, but at least that color can be white. That’s what I’ve done on the screenshot on the left.

Thoughts

I always feel guilty spending time customizing my environment, but I think it was worth it this time. I’ve got something that looks clean and fresh. And it shouldn’t require much updating or maintenance. I feel like Google is working its way to this kind of look in Android; the core concept I’m using is just an extension of their Material design. But the Niagara launcher is a pretty radical departure.

Update

I like this setup more and more as I use it. Niagara just launched a new version with “Anycons”, its own set of monochrome icons that can be recolored. They are very nicely drawn and it looks great, I’ve replaced the Pix icons. Unfortunately the Samsung bug is still there and still breaks the color detection, see more notes on that. Niagara now has a set of static options you can pick that look fine on most backgrounds, including a neutral white.

Economist Android app: two bugs when changing font size

Finally figured out what causes a couple of bugs that have been driving me crazy in the Android app for several months now. Both are caused by changing the font size of articles (with the Tt button displayed at the top of every article screen).

The simpler bug is that if you increase the font size from the default, the last paragraph’s line spacing is incorrect. It looks like every other paragraph has the line spacing adjusted to match the font size but this last paragraph does not. This is 100% consistent and reproducible on both my phone and tablet. Screenshot below.

The more pernicious bug is that sometimes the navigation at the end of the article doesn’t work. It’s a bunch of links to other articles in the same section. But tapping them sometimes takes you to some other story, generally one or two above the one you tapped on. I think this is also triggered by changing font sizes. (Could it be the page is calculating tap zones based on the original font size layout, not the visible one?) I can’t reproduce it 100% reliably.

Broken line spacing
This navigation menu doesn’t work

Joplin works again on Android

I’ve been using Joplin for a few years now as my note taking app. It’s mostly good but has some rough edges. But there was one ugly thing; Android file system sync was broken for most of a year, without acknowledgement. I used this to sync my machines (via SyncThing for the files). This got fixed a few months ago with Joplin 2.9 but then that release was never pushed to the Google Play Store, making it much less accessible to users.

Happy to report that my phone currently has Joplin 2.10 from Google Play and filesystem sync is now working. The UI is still a little awkward but it seems to be functioning. (With some delay; Joplin is not super swift in re-syncing.)

The whole experience has left me with a sour feeling about Joplin. Maybe that’s not fair; it’s a free open source project. And it’s remarkably complex, supporting a bunch of platforms and sync methods. The underlying technical issue (Android file system permissions) was genuinely complicated. OTOH the developer didn’t handle the bug very well and between that and the Google Play release problem I get the impression he doesn’t much care about the Android platform. Also the UI really is clumsy in a lot of ways.

Another bug / UI problem: I just enabled encryption on my Windows desktop. It re-encrypted the notes and synced them. Then I went to my phone and tried to synchronize and got some generic error (“TypeError”) that suggested data was bad. So I manually turned encryption on in the phone app (it should have turned itself on) and now my phone is very slowly encrypting and re-uploading all its notes again. This is bad! In general the encryption implementation seems wonky.

Alternatives

So maybe I need an alternate notetaking product again. It seems like a simple product but then it needs to be really well designed and reliable, so that it becomes a piece of your memory and not some hated complex app. The main things I need are syncing between Windows and Android (and/or ChromeOS) and good Markdown support. And a good UI for displaying and editing markup.

There’s a lot of note apps out there; here’s a recent roundup of 7. Simplenote was the first I used and loved. I stopped using it because notes aren’t encrypted. Although ironically I never turned encryption on with Joplin because of my sync problems. I switched to Standard Notes for awhile but the price went to $50/year and it had so many UI problems I didn’t want to pay that. So I switched to Joplin.

I’d try Google Keep but the UI is like a clown circus. Evernote is way, way, way too complicated. So I’m sticking with Joplin or now. Maybe I should just pay for Joplin Cloud, that would have solved my Android sync problem.

1Password has a pretty functional little notes app in it, btw, but it doesn’t have the Markdown UI stuff I want, not its intended purpose.

Anyway, Joplin seems to be working for now. If I see something better I’ll try it. If Joplin breaks again I’m going to consider going back to Simplenote. I love how Automattic supports this little product.

Update: thanks to a comment from reader Gina I tried Obsidian, a closed-source Electron app. I like it! The UI is very nice, I particularly like the default Markdown editing mode where the markup syntax is hidden except for the line you’re editing. Also despite all the fancy features it has the basic data model is “text files in a folder” which is refreshingly transparent. The app has a well-used plugin architecture with a lot of third party plugins. It supports advanced things like a canvas, a graph view, and links between notes, but the basic stuff is pretty solid. I hope they aren’t going down the Evernote road of increasing complexity.

I was able to import from Joplin by exporting markdown from it, although I couldn’t get the updated/created metadata to come over (this might be fixable; joplin does export the dates). Obsidian doesn’t encrypt data files on local disk but supports end-to-end encryption in their $96/year cloud sync product. It also looks plausible to sync yourself via SyncThing, but you won’t have the fancy extra layer of conflict resolution that Joplin sync provides. All in all it looks like a very promising product.

Android phone migration doesn’t work very well

I got a new phone, replacing my Pixel 3 (my first Android phone) with a Pixel 6 Pro. So far mostly so good; the new phone is nice. It’s too big IMHO but that’s the trend.

I am surprised at how bad the migration tool was moving data from my old phone to my new one. I think moving from my iPhone to the Pixel 3 worked better than this Pixel upgrade, although perhaps I had low expectations the first time.

The good

It’s simple enough to get the transfer going. Plug the two phones together (USB-C means no bizarro cables), press some buttons, and it’s off. It completed very quickly.

All the Google services moved seamlessly. Gmail, Android backups, Photos... no problems with any of that. Damn well better not be!

Getting Verizon to provision the new phone was also relatively easy. I finally can use an eSIM, so that’s nice, although I never could find IMEI2 in the software settings anywhere. (I had to read the tiny numbers off the box). Verizon basically just has you paste in the IMEI and do some auth stuff and they just transfer phone service over. Slick! (There was a caveat early in the Pixel 6 release you had to tell Verizon to set you up with a non-CDMA phone or else SMS didn’t work. I don’t seem to have needed to do that, and indeed that discussion says this was fixed.)

The bad

Google slammed me out of Firefox, switching my default browser back to Chrome. Funny how that happens. It’s an illegal monopolistic practice, btw, and one we used to complain about loudly at Google when Microsoft did it.

My Google Pay sort of carried over? My credit card is there but I had to reauthorize it. My California vaccination record which I’d laboriously gotten into Google Pay awhile back did not.

Almost no app state copied over. I mean some did; I have all my old text messages, for instance. Aegis also managed to bring all my (encrypted) 2FA tokens over (there’s an explicit preference to enable this). But lots of apps didn’t. For example both dict.cc and Kiwix download 100MB+ databases and cache them to let you read things offline. Those databases did not get transferred over. It seems pretty random what did and what didn’t. I can’t tell if this is just bugs / old design in some apps or if the migration tool is weirdly selective. Given all the changes to Android file semantics over the years I’m gonna guess old design.

No app logins carried over. Everything - Twitter, my bank, Lyft, etc - all require I log in again. No doubt this is “for security” but it’s a very bad user experience, there’s probably 50 logins I have to do. And really how much security is this providing? Many of these are for services where I don’t really use the app regularly but rely on notifications instead. I’m having to go through every single installed app and log them in one at a time.

Logging in the apps reminds me just what a shitty user experience usernames and passwords are. It’s 2021 and that’s still the best we can do? I’ve got 1Password set up, and in theory it’s integrated in to Android as a keyboard. Some apps prompt me to “fill with 1Password”, but I’d say only 25%. And some of those will only prompt with username or password but not both. Also inconsistently; second time I try the password field will prompt me to press a button for the 1Password fill. Mostly though I am just cut and pasting awkwardly between two Android apps. It’s terrible.

I’m sort of over the hump doing all this. I’m to the Ms in my apps making sure each one works on the new phone. No real surprises along the way, it’s just a terrible chore. Android really could make this better.

I’m grouching about Android but my memory of iOS was it was about the same migrating between iPhones.

Android DNS queries on an idle phone

My phone is a Pixel 3 running the latest Android. It mostly sits idle at home on wifi, I use it maybe 30 minutes to an hour a day at most. A couple of days ago I set it up on NextDNS, an ad blocking DNS provider. One nice thing about NextDNS is it gives you stats about the DNS queries. Here’s some data after about 45 hours.

It’s a lot of total queries! 6000, or about 130 an hour. It gets much quieter at night; the lull in the graph below is between 9pm and 7am. My phone has DND enabled from 10pm to 6am, I suspect that has more to do with the pattern than my actual usage.

31% of the queries were blocked as ads or trackers. Google is by far the biggest surveillance on my phone: Analytics, Ads, and Doubleclick. Urban Airship is second, then Crashlytics. I don’t know if that’s because I’m running Android, own a Google-built phone, or if I just mostly use Google services. Probably some of each, also Google’s monopoly power.

Outside ads the biggest source of DNS queries is still Google; Federated ML is top, Google Play (for the store?), and www itself. The other players are Yelp (geolocated to Japan), something called Rainbow API from the Washington Post (Germany), and Syncthing (India!). No idea why the geographic scattering. These are all services I use regularly, although it’d be nice if they weren’t quite so spammy with DNS. 5 queries an hour for something I don’t directly use seems strange. then again these DNS entries are all set up to expire in 1-5 minutes. And hey, DNS is cheap.

All in all not a lot of huge insights other than the magnitude of DNS traffic. But it’s an interesting view into something I’ve never looked at before.

BTW I like NextDNS. It’s more or less the same as AdGuard’s DNS. But it feels more like a real product. You can also customize exactly what’s blocked with some granularity, there’s a lot of OpenDNS-like features too for safe browsing, parental controls, etc. Blocking Parked Domains is a particularly provocative feature. The free tier gives you 300,000 queries / month which I think is enough for two phones at my current activity level. Unlimited usage for a personal account is only $20/year.

Android Tablet: Samsung Galaxy Tab S7+

A little over a year ago I bought an Android tablet on a whim. I liked it so much I’ve already upgraded it, trading up from an Samsung Galaxy Tab S5e to an S7+. It’s kind of a dumb time to be buying this, Samsung is likely to announce the S8 line in a few weeks. But I got a good price on the 256GB storage model.

Really what I wanted was a bigger screen. The S5e has an excellent 11″ screen (245x160mm) but the S7+ has a 12.4″ screen (285x185mm). iPad Pro size, not iPad size. They’re both excellent AMOLED screens but the extra inch in each direction is great for media consumption. The real thing that put me over the top was reading comic books; juts a little small for old eyes on the 11″.

Other than that the S7+ is just an upgrade all around. More storage, more RAM (get the 256GB storage at least; the 128GB has less RAM), faster CPU (8 cores, good lord). Great battery; lasted 5 days with 8 hours of the screen being turned on. Fingerprint sensor hidden under the screen which is a nice improvement. Really it’s just a great piece of hardware. There’s a common meme that the Android tablet market is dead. It’s true there are fewer manufacturers than there used to be but Samsung is doing such a great job it’s fine.

Still reasonably happy with Samsung’s software, or rather the way it gets out of the way when you don’t use it. I switched to Nova Launcher again for the launcher and the rest of Samsung’s stuff mostly disappears. Except the parts I want, like the facial recognition unlocking. Samsung’s a little slow with Android releases, I think about 6 months behind? But they do get there and have a decent track record of support longevity.

And then there’s the S-Pen. I don’t know what to say about the S-Pen. This is Samsung’s big innovation, they’ve been at stylus support for a lot longer than Apple. It’s quite good at drawing, the pressure sensitivity is nice. Mostly it seems to serve to augment the UI, there’s all these gestures you can make with the pen both on screen and in the air to do magic things like take screenshots and scribble on them, zoom the camera, etc. I guess it’s kind of neat? But it requires you hold a pen in your hand; I’m perfectly happy with the touchscreen, thanks. And the pen gets in the way. It magnetically attaches nicely to the back of the screen but there it is sitting out. I have a case that holds the pen on the side and that’s OK too only the pen is thicker than the tablet, so everything’s unnecessarily bulky. I’ve already put the pen away permanently and now am looking for a case that doesn’t make any effort to leave room for it. Maybe if I were drawing art on my tablet I’d be excited to use it.

Android Scoped Storage, SyncThing, GPSLogger

I’m trying to synchronize data from Mendhak’s GPSLogger to other devices. I’m running the latest Android (11?) on a Pixel 3. GPSLogger supports a nice variety of sync options but none are quite right for me, so I thought I’d try using SyncThing on the data files on the phone instead. But I ran into a confusing permissions / security thing in Android where SyncThing couldn’t see GPSLogger’s data files. Here’s what’s going on.

First off, where are the files? The GPSLogger docs say they are in a folder with a name like /sdcard/Android/data/com.mendhak.gpslogger/files/. The first confusing this is that /sdcard prefix: apparently this is different on different devices. But the path from Android on down should be consistent.

If I access this files via the SolidExplorer Android file browser it shows up as a storage named “Internal Memory”, the default. (Presumably this could also be an SDcard or something). From there I can click Android and get three choices: data, media, and obb. Click data, search the giant list for com.mendhak.gpslogger, and there I am. Bottom line: GPSLogger stores its files in /sdcard/Android/data/com.mendhak.gpslogger under the root directory, at least on my phone. It’s just where the root is can be confusing.

If I plug in my phone and access it on my Windows machine as a USB drive, I can find my data with this path:
This PC\Pixel 3\Internal shared storage\Android\data\com.mendhak.gpslogger
Seems logically consistent; get to the root of the internal memory, then drill in on Android.

Unfortunately as of Android 11, ordinary apps can no longer access the data folder of other apps. This is presumably a security update, I guess the assumption is most of the time those files are private to the app and shouldn’t be visible. There’s an elaborate new system called “Scoped Storage” where apps can explicitly choose to share files but a lot of apps haven’t really caught up to that. It’s great that Android has a filesystem you can just access at all but over time they’ve complicated it.

There’s a couple of workarounds to the Android restrictions. A bunch of file explorer apps (including Solid) have hacked around it somehow to show you all the folders. Not sure how, I wonder if they’re using the opt-out procedure which is listed as “temporary”, a compatibly measure, and comes with other restrictions.

But this doesn’t help me with SyncThing; it doesn’t seem to support the workaround. All it shows me under “Android” is “media”, a sign that it’s stuck inside the scoped storage sandbox. Which is a little weird because I think it’s supposed to work thanks to including this patch. In particular there’s a “Use advanced Folder Picker: Select any folder on the device for syncing” that sounds like it should enable the workaround. It just doesn’t seem to work.

I also tried SyncThing-Fork, an experimental version. It has a little wheel next to the directory picker that gives you some “advanced” picker. It shows a data folder but that folder is empty. There’s so much drama getting Google Play Store approval I’m not sure it even can work. I briefly tried the FDroid version too (which is a bit more up to date) and it didn’t work there either. Anyway not thrilled at the idea of the fork, particularly if I have to install it via FDroid! So not pursuing that option further.

I finally gave up; the SyncThing app just can’t access that folder. Which is too bad. But fortunately there’s an easy other solution, which is just to get GPSLogger to write files to a different place instead. I chose to put them in /Documents/GPSLogger. Near as I can tell this directory is world-accessible. At least SyncThing can get at it, although IIRC I had to give it one-time permission to access it.

And so now I have SyncThing syncing GPSLogger’s files to my Linux server. Yay! Honestly it would have been a lot easier just to use SFTP or something from GPSLogger but I didn’t really want to set any of the GPSLogger options up. SyncThing seems to be working.

Android phone migration experience

My 18 month old Pixel 3 had a hardware failure; the battery swelled, apparently a common problem. To Google’s credit they got a replacement to me in 36 hours at no cost to me. So now I have the experience of transferring my life from one Android phone to the other.

This was a transfer from a Pixel 3 running Android 11 to a Pixel 3 running Android 10. No idea if the downlevel OS caused a problem; I didn’t see any option to upgrade first.

Top line: it’s not a great experience compared to an iPhone. Apple has very simple one button backup and restore. Android does not. Instead it has like six different things you might want to back up, some of which are automatic and some are not.

I mostly had the data and settings stuff configured for backup to Google, so I figured I was OK. I also made a backup over USB of all the files on the phone, although I haven’t restored those.

Setting up the new phone at first was easy. You turn it on and it prompts you to plug a cable in to the old phone to transfer everything. Great! Go go go! It only took a few minutes, too. But the fact it only transferred 7GB of stuff was a clue something was wrong; I’ve got 30+GB on the phone.

A big part of what didn’t transfer were my apps. Instead the phone decided to redownload all the apps from the Internet. That’s not a terrible choice but it’s slow and possibly expensive and seems a little unnecessary. It took over an hour to redownload 150 apps, many of which I honestly don’t want.

Then the phone is mostly like before. Except.. all sorts of settings and configurations aren’t carried over. Many are, but not everything, and it’s quite confusing. Some things not restored:

  • Notification customizations. All these apps are back spamming me with noisy notifications.
  • Most logins. Almost every app demands I log in again. Fair enough. Happily, 1Password transferred over with little problem.
  • Authy auth state. I ended up having to delete Authy from the new phone, change the backup password on the old phone, then reinstall it on the new phone to get my login tokens back.
  • App permissions. Have to completely re-set-up which apps get access to location services, etc.
  • Random app preferences. Like my weather app forgot that I want weather for where I am right now, now Tokyo. Tapet seems to have remembered I want a new background every hour and that I’d paid for the app, but forgot my color preferences. GSAM Battery Monitor totally lost its state. Golf on Mars kept everything.

I think what I find most baffling is the app inconsistency, the way some settings carried over and others didn’t. Logins too. I have 4 gay hookup apps on my phone (go ahead and judge; I would). 2 of them made me log in again, 2 didn’t! So weird.

None of this is a catastrophe, but it’s definitely a nuisance.

Update: see the discussion here. Particularly the link to data backup docs for developers. I guess since Android 6 auto-backup for apps is on by default but limited to 25MB / app. There’s also a more manual backed up Key/Value store for properties, etc.

Firefox browser versions for Android

Summary: Firefox Browser is the stable consumer product. It’s about to be replaced with Firefox Preview, a major new release you may want to switch to early. There’s also a collection of betas and nightly builds.

One thing that’s nice about Android is that Firefox works nicely on it; there’s no iOS requirement that all browsers really just be reskinned versions of the vendor’s browser component. I’ve set up Firefox to be my default browser and that setting mostly sticks other than Google launching Chrome occasionally on me. I think Firefox is even used as an embedded browser in other things, but I’ve never been sure.

Anyway, the confusing thing is there’s so many things called Firefox on the Google Play store. Here’s a rundown of them all.

Firefox Browser (org.mozilla.firefox): this is the one you probably want, the mainline consumer app. This is currently version 68.8.0. This is the old Firefox that’s been around for awhile; this is not the new version announced in January 2020.

Firefox Preview (org.mozilla.fenix): this is the new hotness. Version 4.3.0 for me right now, but also says “GV: 76.0”. It’s a major update involving a port to GeckoView. See also these details of new features. Dark mode, more privacy, an option to put the toolbar on the bottom of the screen (near your thumb), a Private Browsing button right on the tab selector. Main change though is a full new rendering engine. Supports fewer addons, but does have uBlock Origin. This new stuff is slated to be released to the public as the Firefox Browser pretty soon.

Firefox for Android Beta (org.mozilla.firefox_beta): this looks like a slightly older version of Firefox Preview. Currently reports version 75.0.0-beta.6, also “GV: 75.0”. I would guess ordinarily this would be the cutting edge beta version of Firefox but right now during the transition to the new hotness, Firefox Preview is getting updates faster. Not positive.

Firefox Nightly for Developers (org.mozilla.fennec_aurora)
Firefox Preview Nightly for Developers (org.mozilla.fenix.nightly): I didn’t test these. I assume they’re just nightly builds of the two main development lines. FWIW the Preview Nightly currently reports “GV: 78.0a1” so it looks fairly far ahead of the main Firefox preview

Firefox Focus (org.mozilla.focus): a privacy-oriented experimental browser. Version 8.2.0 (75.0) right now. I think this was most relevant a couple of years ago and has taken a backseat to what is now Firefox Preview, which includes some of the same privacy features.

There’s also a bunch of stuff using the Firefox brand name that isn’t a browser at all. Firefox Private Network VPN (org.mozilla.firefox.vpn): is Mozilla’s new project selling VPN service to users. Firefox Lockwise (mozilla.lockwise) gives access to the Firefox password store. I think they’re trying to become a password agent like 1Password? Firefox Send (org.mozilla.firefoxsend) is a tool for sharing files. Last update was March 2019, not sure if the project is abandoned. Notes by Firefox is yet another text memo product. Firefox ScreenshotGo organizes screenshots with OCR and text search. And finally Mozilla Stumbler is a wardriving tool for building out Mozilla Location Service data. Last release Feb 2019.

Android Tablet: Samsung Galaxy Tab S5e

I just got a new Android tablet to replace my 2017-era iPad. Since moving to an Android phone last year (Pixel 3) I’ve come to realize I just like Android more. For ordinary stuff ordinary people do, Android is good, just as good as iOS. Sure there’s nits to pick with both systems, but they’re both great.

What I like about Android is that it also allows a level of more sophisticated stuff. There’s a brilliant capability for apps to interact with each other, for instance, setting things up like Unix pipelines. Android out of the box lets you customize the keyboards, the launcher, really most aspects of the system UI; no jailbreaking required. And a fair number of the Android apps seem more hacker friendly than their iOS equivalents.

Android’s ecosystem also does seem genuinely more open. Firefox integrates as a browser way better on Android than Apple ever allowed. Want to add more storage? There’s an SD card slot. (Why the F has Apple never allowed that?) Want to buy a book in the Kindle app? Of course you can; it’s not like iOS where Apple demands their 30% cut. Want to sideload an app from some random site? No problem, just disable the security check and you can. (A double edged sword, to be sure.)

The big downside to Android is that the vendors don’t distribute vanilla Android, they hack and munge and add crap. Worse they subtract value, particularly in how they sit on operating system versions for months, years, forcing folks to run out of date buggy versions. Google really needs to get more control of this problem.

Hardware

Another problem with the Android ecosystem is the hardware quality varies. I dorked around with an Amazon Fire 7 briefly but the hardware is such garbage there was no joy in using it. (To be fair, it was super cheap.) And tablets are seen to be a losing market for some reason, particularly on Android, so there’s not a lot of options.

I read a bunch of guides online (this one was the best) and landed on the Samsung Galaxy Tab S5e. It has an excellent screen (2560x1600 AMOLED), is very thin and light, and at $350 is cheap enough to feel like an accessory / toy, not a whole laptop. The Galaxy Tab S6 is the new flagship, better in most every way, but at $650 it’s awfully pricy. The only thing it’s really missing is S Pen support but I had no desire to have that anyway. There’s an S6 Lite coming but it seems worse than the S5e for the same price, I don’t quite get it.

The S5e hardware seems great. Very solidly built. Nice camera I’ll never use, a working fingerprint reader for unlocking, wifi seems good. Screen is lovely although there’s some weird white balance software at work that’s not helping. Only complaint so far is I can’t find a magnetic cover just for the screen; all the cases are wraparound and cover the back too. Oh well.

Software

So, what about the software? First, the big problem; it’s still only running Android 9. Android 10 came out eight months ago. Being on 9 puts me well ahead of a lot of crappier Android devices, but I hate being beholden to Samsung to get around to putting out an OS release.

Still it works nicely as a stock Android system, there’s none of the lockdown shenanigans that Amazon Fire does trying to keep you from customizing. The GBoard keyboard installs fine, including local voice recognition. Samsung’s launcher is OK but I switched to Nova Launcher mostly because it alphabetizes the apps tray view. Also it’s nicely customizable.

Samsung does install a bunch of its own crap, but it mostly stays out of the way. Bixby was the biggest annoyance but Nova Launcher mostly hides it. For some reason there’s two Clock apps and two Calendar apps and the like, one Google and one Samsung. Meh, I can live with it. It’s annoying Samsung won’t let me remove their preinstalled stuff.

But Android is hacker friendly, so you can install them! I followed this guide to uninstall a bunch of apps using adb to get a command line shell on the tablet. (Try that on an iPad, lol.) Another option is to use a guide like this one along with an app and config files which debloats the device for you. I wanted to control it myself, so I did it by hand.

I already had adb on my system thanks to having Android Studio. The adb.exe executable is in /Users/nelson/AppData/Local/Android/Sdk/platform-tools for me. Here’s a list of stuff I uninstalled by hand:

  • com.microsoft.skydrive
  • com.microsoft.office.officehubrow
  • flipboard.boxer.app
  • com.samsung.android.calendar
  • com.samsung.android.contacts
  • com.sec.android.app.popupcalculator
  • com.samsung.android.email.provider
  • com.sec.android.app.kidshome
  • com.sec.android.app.samsungapps
  • com.sec.android.app.samsungapps
  • com.sec.android.widgetapp.samsungapps
  • com.sec.android.app.sbrowser
  • com.sec.android.gallery3d
  • com.samsung.kidsplay
  • com.samsung.android.app.notes

Special GSAM bonus notes

I use the GSAM Battery Monitor to track battery usage for apps. It works fine by default, but it can work better if you grant extra permissions to the app to let it get at some debugging APIs. There’s multiple conflicting instructions online about how to do this, including a very nice tutorial in the app itself that works right until the final crucial command. I think this worked fine on my Pixel 3? But it didn’t on this tablet, what finally worked was at the bottom of this discussion:

adb -d shell pm grant com.gsamlabs.bbm android.permission.BATTERY_STATS

Wanderings tracker vs GPSLogger

Summary: after 9 months, the GPS data being logged by GPSLogger on Android looks good to me. At least good enough for Wanderings’ location tracking and heatmap.

One casualty of my switch from iPhone to Android is my own Wanderings app, a lightweight GPS tracker that Brad and I worked on together. There’s an iPhone app that tracks your movements and records data and a webapp that displays the data. But we don’t have an Android version of our tracker and I’ve been unmotivated to learn enough Android to write one.

I have been running Mendahk’s excellent GPSLogger though and it is faithfully recording my location every day to GeoJSON and CSV files in Google Drive. I finally got around to collecting all that data and visualizing it with our web app. Qualitatively it looks the same as the data collected a year ago by the Wanderings tracker. That’s good! See screenshots below.

I haven’t done a deep quantitative comparison. But GPSLogger recorded 218,451 points over 284 days, of which 90,877 points were more than one minute apart from each other (a cutoff we use). By comparison our own tracker only stored 6248 locations for me over 574 days. That’s 319 points a day compared to 11! GPSLogger calmed down a whole lot though starting in September, down to about 70 points a day. I suspect that’s when I disabled passive location tracking, resulting in many fewer points logged.

Still GPSLogger is recording 7x as many points as Wanderings. The extra points are harmless to the visualization output but they do incur some storage and processing overhead. The Wanderings tracker is using the iOS Significant Location Change service and only seems to record points when you’re really moving. GPSLogger is configurable in recording granularity. I have it being somewhat aggressive: GPS/GNSS locations, network locations, and a 60 second logging interval with a 10 meter distance filter to log a new point.

I went ahead and looked at distances between points in the GPSLogger output using geopy’s calculation. A whole lot of pairs of points are less than 20 meters apart. I don’t really know what’s correct here, since you do want to capture data with fidelity when the subject is moving. Probably overthinking it. Here’s a quick and dirty histogram of distances for all pairs less than 100 meters apart.

And here’s the promised gallery of app screenshots. Two similar time periods, one year apart. The older is the iPhone tracker and the newer is GPSLogger on Android. They really do look similar.

Amazon Fire 7 first impressions

My switch to an Android phone has gone so well I wanted to get an Android tablet, too. Only to learn Android tablets are universally considered to suck. OTOH they are also very cheap. So I picked up a brand-new Fire 7 9th generation. For $49. 16GB storage, 1GB RAM, two cameras, a full WiFi multitasking computer with a decent touchscreen display for less than the price of a fancy dinner. We live in an age of wonder. (Note 16GB storage is not enough, but it has a microSD slot. More wonders: 256GB of SD storage for $40.)

So how is the tablet? OK I guess. It seems fine for reading books and watching videos, which is what Amazon sells this for. The screen doesn’t feel quite responsive to my touches all the time but I’m not sure if that’s a hardware or software problem. 1GB of RAM really isn’t enough. CPU may be a bit sluggish. Camera quality is appalling. It comes with a bunch of adware (you can pay $15 to remove it). Did I mention it’s $49? Amazing.

The OS is FireOS 6.3.1.2, an Android 7.1 / Nougat variant. It’s ugly. It only supports the Amazon Fire store which has an anemic collection of apps. (No Firefox! No Kiwix!) The Amazon versions of apps aren’t great, like apparently the Silk browser is doing some MITM attack to try to save you bandwidth. However the device is unlocked, or at least it’s not hard to install the Google Play store and from there a bunch of normal Google Play apps. (One caveat; be sure to install the Google APKs to internal storage. Don’t format the SD card as an extension of internal storage and let the apps install to it, because then they can’t be updated via the Google Play store.)

So 30 minutes of installing later and I have a good generic Android device. Firefox for the browser. GBoard for the keyboard. Evie for the launcher, (which requires more work to launch via the launch button). Alles bueno.

I can’t find some things via the Google Play store even though they’re there for other devices; Tapet, 1Password, etc. Maybe these apps don’t explicitly mark they’re compatible with the Fire and so are excluded? I’ve been able to sideload these from APKMirror but I’m a little nervous about that, I like my trusted app stores. Particularly 1Password, brrr. All the apps I’ve sideloaded seem to work fine, so I’m not sure why Google Play isn’t giving me the choice to install them.

All in all I’m reasonably impressed. It’s not as nice as an iPad, nor even really as nice as my Pixel 3 phone. But it’s literally $49 and it works pretty well. And now I have an Android device to tinker with.

SMS vs iMessage vs Android Messages

I sure wish Android and Apple would get together and unify their messaging apps. The business with iMessage being different from SMS causes all sorts of problems. I mean mostly it’s great, it’s cheap/free to iMessage and it’s faster and more featureful. Right until the moment it fails and you really want SMS instead. Or you switch away from iOS. Apple has finally made it easy enough to de-register from iMessage, but now all my old Apple friends are sorta mystified how to message me. (Derp, the same way, it’s just green now.)

I’m more confused about what Messages from Google for Android is. It seems to be a lot like iMessage, including proprietary non-SMS transport for two users who are both using it. It does SMS too. It also has a webapp version that seems to work pretty well. (So does iMessage, a desktop app, but it’s MacOS only because Apple.) The webapp sends SMS if necessary; does it do that via my Android’s cell plan somehow? Directly? It is all a mystery.

Mostly it just feels like both companies have inserted them in front of standard SMS/MMS. And they’re adding value but in competitive ways that make it worse for consumers. No one wants that.

Android new user notes

After twelve years of iPhone use I made the jump last week to Android phones. I’ve been curious to see how the other half lived and Google had a one day sale on the Pixel 3 that was enough to make the jump. (The new Pixel 3a just released is a hell of a good price.) This marks a slow migration for me away from Apple products. They aren’t quite the quality innovator they used to be, and their closed approach to ecosystems has always bummed me out.

So far I like the Android quite a bit. Everything I expect from a fancy phone works. And I’m enjoying discovering new things. I think part of the fun here is just I’m revisiting how I use my phone from the bottom up; maybe I’d think it was juts as neat if I were switching to iOS for the first time.

Anyway, here’s a bunch of thoughts I collected as I learned the new platform

Software

The first setup where it copies from the iPhone is slick. Particularly like how it matches the apps you have. Sadly it can’t copy app data or state like logins.

Pretty much every single app I cared about on my iPhone also had an Android version. About 75% of those were found by the migration tool, the rest I had to install by hand. I only had to buy one app; Paprika, the recipe software. Most software I pay for has an account subscription model like Spotify, not a one-time app purchase model. The one app I could not get on Android was Overcast, no surprise given its author’s Apple fanboy status. Fortunately there’s lots of other podcast players for Android. PocketCasts is probably the best choice. I’m trying Podcast Addict for now but it’s a pretty rough UI to love.

It’s nice being in Google’s loving embrace; Gmail, Photos, Drive, etc all well integrated. Apple’s policies are better for users since Apple isn’t an advertising company. But their services like iCloud are not very good, I’m really glad to not be living under iCloud anymore. Google’s services are good and I’ve been using them for years, nice to have a phone that wants to integrate with them.

I like the home screen! I particularly like the ability to have widgets from apps draw little decorative things on the home screen. I also like the back button. This bit of UI is a source of confusion for many, and often myself, because it can both go back in a single app and also go back between apps. But it mostly seems to do what I mean when I press it. The shortcuts for switching between apps are good too.

Android apps are small! They are 1/3-1/5 the size of their equivalent iOS apps. For an extreme example, Facebook is 450 MB on iOS and maybe 50MB on Android. It’s common to see many Android apps < 10MB download. I haven’t read a completely convincing explanation why, but see here for some ideas. There’s also a new tool to make builds even smaller. The smaller size definitely results in noticeable bandwidth and storage savings; maybe RAM too.

The 1Password integration in the OS is terrific, particularly with apps. Way better than what iOS has tried to kludge together. More generally the integration between apps in general is quite nice on Android, it’s fairly easy to share data from one app to another in a way that never seems to work on the iPhone. The “intents” system lets apps publish APIs for other apps to use. There’s even complex automation for chaining apps together. iOS has something similar now in Shortcuts, but I’ve never used it.

Android has a file system! You can browse it with Amaze File Manager. Apps naturally share files through it, like Sonos playing files Podcast Addict downloaded. You can also bridge out to Google Drive fairly simply and then have the same files on your desktop computer. iOS has always had a notion of files too but they are well hidden and seldom (never?) cross-app.

I can run a real Firefox! With real Firefox addons! None of this “must use Apple’s embedded WebKit” crap. Firefox on iOS is a heroic effort and has a lot of useful Firefoxy features, but when you pull the mask away it’s still Old Man Smithers underneath. There’s something to be said for platform unity, but there’s something to be said for competition too.

Notifications are awfully spammy. Every app (say, Amazon Store) wants to send you notifications all the time. Even with something where it could be useful (say, Washington Post) it’s mostly annoying. It takes some looking but you can extensively customize notification behavior. Some apps have an in-app bunch of settings. And the system has Notifications settings on a per-app basis. Each app has notifications one of many channels (often only one) and for each channel you can configure whether it makes sounds, vibrates, etc.

The phone definitely feels more hacker-friendly. In particular there’s a reasonable chance interesting apps are open source, like GPS Logger. I can’t think of the last open source iOS app I saw. Also I like that I can realistically write code for my Android phone using any computer, not just MacOS. My brief look at Android Studio is encouraging, it seems like a solid IDE.

I gather Android version proliferation is a real problem. I’ve got Pie, which is version 9 of the OS. The development kit tells me if I write code for this version less than 1% of users will be able to be run it. Version 6 only has 63% of users! Also from what I see online the UI changes radically between versions. Always improving, hopefully, but change has a cost.

I also gather vendor Android modification is a real problem. Carrier-sold phones in particular have all sorts of crap on them, as do a bunch of the cheaper Android phones. Some of that crap is locked and hard to remove. I bought a Pixel because I definitely didn’t want to mess with Verizon or Xiaomi’s idea of how they could make an extra $20 off me. The only other brand of phone I’d consider buying is a Samsung Galaxy Note.

I haven’t gotten too deep into lower level system hacking, but it’s nice that Android lets you do it. Even without rooting the device. The is pretty good if you want a quick look at the (non-root) filesystem and some easy upload / download. The GSam Battery Monitor is amazing if you want low level battery watching stats. Even includes using some just-short-of-root debugging interfaces for extra detailed stats.

Android Auto seems fairly good. Not quite as slick as Apple CarPlay, but then not as proprietary either. (Apple for years prevented any other maps from displaying in CarPlay, for example.) One nice thing is you can run Auto even when you’re not plugged into a car display, it has a car-optimized display right on the phone screen. Good for testing or using in an older car without the ability to plug a phone in.

Pixel 3 hardware

In general the hardware is lovely. Flat slab of glass, no distinguishing features except an ugly bright orange button (a feature of the pink-backed phone). Under the hood the Pixel 3 has gotten some criticism for being underpowered for the price but I don’t have any perception of that. The camera is as lovely as people say. Coming from an iPhone I don’t notice the lack of an SD card although in retrospect I wish I had one. Also baffled why there’s no dual SIM; so useful! The new eSIM alternative is proving to be an inadequate kludge.

Cables continue to be a problem. The Pixel 3 has one USB-C port and nothing else (like a goddamn Macbook.) Worse though is I don’t have a USB-C port on any computers here, and they don’t ship with an adapter to a male USB-A connector. They do have an adapter for a female USB-a port, which you use when syncing two phones together, but I had to order the rest. Nevermind that most every USB charger, automobile port, radio port, etc is not USB-C. Argh. At least it’s not fully proprietary like Lightning.

It gets trickier with charging. For wired charging Pixel 3 supports 18 Watt “rapid charging” which apparently is USB-PD, an open standard only now being implemented (Apple’s new phones use it too). AFAICT USB-PD is a USB-C only thing in practice, older type A cables don’t allow USB-PD 2.0 or above. Older fast chargers on a type A cable use Qualcomm’s Quick Charge or some other proprietary thing; the best I’ve been able to do is 8W from them, maybe 10.

It gets more confusing with wireless charging. Google has a proprietary system that allows 10W wireless charging. Other standard wireless chargers (there are such things?!) are limited to 5W. In theory third parties can build 10W compatible wireless chargers but there aren’t any yet.

Of course there’s no analog headphone jack, which is as obnoxious as I feared. But I can live with it. Also the Pixel 3 apparently has no capacity to send HDMI out a wire. The USB-C adapter for headphones works OK but has different wiring from Apple’s proprietary, so I can’t use a full Apple headset with it. The supplied wired headset is fine, the fit sure is better for me than Airpods. Also the sound output is way louder than the iPhone’s ænemic headphone out.

I don’t much care for the fingerprint sensor in back. It means you have to pick the phone up to unlock it. Also the sensor is not accessible on the Pixel Stand; you have to pick up the phone. Don’t miss not having a hardware button in front for the home screen though. And the sensor itself works well. It doubles as a shortcut for “show notifications” too if you turn that feature on.

Conclusion

I like my new Android phone! I was going to spend weeks migrating; I ended up switching over the day I got it set up and haven’t missed the iPhone once. In most ways it seems to be fuctionally equivalent to an iPhone. I’m surprised the UI polish is better than I feared. And I like the relative openness and hack-friendliness of the Android.

My next goal is to start writing apps for the thing. Will no doubt have lots of notes when I get to that.

GPS Logger app for Android

I’ve made the switch from iOS to Android. One thing that means is I need a new GPS tracker; my own Wanderings app is iOS only. I may end up writing an Android custom app myself to do that.

For now I’m using the excellent GPS Logger app. It’s a very flexible passive location tracker, open source, lots of control over exactly what kind of data to log and where to upload it to.

It has three sources of location updates:

  1. GPS/GNSS locations. Honest to goodness satellite fixes
  2. Network locations. Info based on wifi and cell tower fixes
  3. Passive locations. Any time any other app gets a location, GPS Logger gets a copy

I currently have #2 only turned on and it seems very low battery impact, certainly OK to leave on for 24 hours. Once a minute it wakes up, asks the phone where it is, records the data into an internal log file, then goes to sleep. The location data seems pretty inaccurate though, I need to look closer.

I tried #1 for awhile and it seems higher power impact; not sure you can leave it running for 24 hours. (Update: it’s not nearly as bad as I first thought, and might be fine for daily use. Even once a minute.) Data is quite accurate but demanding. It wakes up the GPS chip, waits for 1-2 minutes for a good fix, then records the location. You can also tell it to leave the GPS chip on always, but there’s a warning about “dramatically decrease the battery life”.

#3 seems like a freebie, of course you should use it. I only have it turned off because I’m trying to keep it simple so I understand what GPS Logger is doing itself.

They also have abilities to filter points based on reported accuracy of the fix, and how far you moved. And there’s a way to tell it only to log if the accelerometer detects the phone is moving.

What I haven’t found in GPS Logger is anything like the “significant location changes” API that Wanderings uses in iOS. Nor anything like geofences / regions. Those may be in the Android API and just not in this app.

Update: after a few days playing around with GPS Logger I have some extra notes.

I’ve been running the GPS Logger app on Android in full logging mode for a few days now and its impact on battery life is neglible. My whole phone only uses ~40-50% of its battery in 24 hours. 0.1% of that is attributed to GPS Logger itself. 42% is the wifi radio, 25% if the screen, 10% is the OS.

GPS Logger is currently logging my position once a minute. I’ve told it to use both GPS and “network locations” (wifi/cell). It seems to request both types of position at once and almost always the network location answers first, so it never logs the GPS. I’ve run it in GPS-only mode too to get real GPS fixes, those often take 20+ seconds and don’t work great indoors.

The most problematic thing is that GPS Logger doesn’t log points at all for hours. AFAICT this is a significant problem in Android phones in general, that background apps often don’t run when the phone is in “doze mode”. It mostly happens in the middle of the night where I’m definitely not using the phone so it might be the “right thing” but it’s a problem. I’ve read various hacks and workarounds, see the GPS Logger FAQ. GPS Logger has a gimmick where it constantly has a notification on screen to try to stay more lively.

Funny thing; some apps I don’t even actually use are consuming more battery than GPS Logger. Like Maps.Me was using 2% a day until I went in and told it to be “very low power”; I haven’t even launched it! Google Fi also uses 1% even though I’m not using it.