Categories
Android De-Google Digital Minimalism Geekery Privacy Qin F21

Android: Firewall, DNS and Advert Elimination

The purpose of a modern phone is of course communication: not only via the cell radio, but over the internet.

Naturally, this is a vital tool for the user. But the predominance of always-on network connectivity has lead to increasing abuse by providers of phone software: both Google and other creators of the operating system, and third-party app creators. As far as they are concerned, the phone’s true purpose is to (i) gather information about their users and (ii) serve advertising back at them based on this information.

Both these functions – antithetical to the users needs and wishes – rely on the internet. The baleful combination became possible with the rise of widespread mobile internet. In this post we’ll take control back over our network functions, so only the components we says can ever send or receive data on our phone. After all, we pay for it!

Categories
Android De-Google Digital Minimalism Geekery Privacy Qin F21

Android: Eliminating Google Dependencies

with microG, F-Droid and Aurora

Don’t Be Evil is now long forgotten. It’s almost a truism that the purpose of Google is to harvest our data so we can be advertised to. But are we stuck with Google on Android?

We all know that Android is a Google project – but things are a bit more complicated than that. Google does not in fact control Android; rather it is an open source, and freely licensed, project worked on by a consortium (and is merely sponsored by Google). In fact, the majority of Android and the applications it runs is built from open source code and tools.

Unfortunately, Google have in practice made it as difficult as they possibly can to use Android without involving the Google ecosystem.

Google have attempted to insert themselves into almost every process in your phone, hoovering up as much data as they can, and claiming everything will break if they are removed.

This isn’t true. Let’s de-Google Android.

Categories
Android De-Google Geekery Mobile Devices Qin F21 Technology

Google’s Stranglehold on Android

Six ways in which Google make it as difficult as possible to avoid using their products in on your Android mobile device:

Categories
Android Geekery Mobile Devices Privacy Qin F21 Technology

Qin F21: backup, unlocking, rooting and replacing stock firmware

As I described in the backstory, hardware-wise the Xiaomi Qin F21 Pro was the perfect form factor for me. The power of a smartphone, but actually designed to be a focused communication device, rather than a hamstrung computer.

There are thoughtful debates about the security pros and cons, but the prerequisite for this level of control is rooting the phone.

However, on the software side it needed a bit of work. The phone arrived with little bloat and mercifully no Google components – but there was still a fair bit of Xioami stock software, including the notorious browser which reportedly was spying on Chinese users for every page browse [I have no idea if this is the case in the internal Qin].

Categories
Arcana Geekery Linux MacBook Air

Plymouth boot splash

Boot splash in Linux

Most operating systems have some sort of branded animation or placeholder while they are loading. In Linux, this niche is filled by plymouth. Unfortunately – and this is far from an exclusive scoop – plymouth is a pain in the arse and doesn’t work very well. I’ll never get back the day of my life I spent getting this working – but maybe I can save someone else the time (or at least the bother).

What follows are my attempts to get some sort of loading screen working for Gentoo on my MacBook Air before X/LXDE loads. This was a ludicrous amount of effort to get something so trivial working.

Unless you have a lot of time to kill, I wouldn’t bother with plymouth at all. But for the curious, here’s what I did.

Categories
Geekery Kernel Linux MacBook Air

FaceTime Webcam

The last piece

The webcam built into the MacBook Air is quite odd in a number of ways. It appears to use an unusual hardware configuration involving a wifi-disabled Broadcom BCM15700A2 chip – and it was the one piece of hardware that didn’t work out-the-box on the Linux Mint installation. I also identified it as the culprit that was preventing deep CPU package sleep states (and hence full battery life) under Gentoo.

It isn’t too difficult to get it working properly – but it does require a custom firemware driver and activation of the right kernel modules.

Categories
Geekery Kernel Linux Mac OS MacBook Air Operating Systems Technology

Macbook Keyboard HID and Touchpad

A better configuration for the Apple keyboard

As a piece of hardware, the Apple keyboard is great – crisp and satisying to use. In terms of key layout – not so much. Many users coming from non-Mac systems find the following frustrating:

  • The media keys defaults to on all the time. Most people, particularly developers, use the function keys (F2, F5 etc) more often.
  • The Ctrl and Fn keys are swapped, meaning Ctrl (surely the most important special key) is no longer at the corner of the keyboard. I’m flumoxed by this design choice, also present on the Thinkpad – it’s pretty infuriating.
  • Alt is no longer by the space bar. This is confusing for alt-tabbing between windows.
  • The “super” (start or command) key is moved compared to PC keyboards
MacBook function and control keys

Fortunately, there is a simple way to configure the mappings directly in the kernel under Linux.

Categories
Arcana Geekery Kernel Linux MacBook Air Power Consumption

Battery life under Linux

Linux energy efficiency, laptops and battery life

While linux distributions proliferate on servers and desktops (and even on mobile devices in the form of Android) linux desktop OSs running on laptops have often been the poor relation. Most prominently, it’s become somewhat accepted that popular fully-featured distributions like Ubuntu and Mint will have significantly higher power consumption, and worse battery life, than Mac OS – or even Windows. Keeping up with Windows running on the same machine is typically considered a good result.

This was much the situation I found for myself when running Linux Mint on my 2015 Macbook Air. The features of Linux Mint are excellent, and I much prefer the interface and flexibility to Mac OS. Indeed, modern distos like Mint are now by necessity generalised for many different systens, which inevitably introduces some degree of unwanted components (or “bloat”).

What I was interested in was whether it was possible to piece together a Linux system more minimally tailored to my needs, and optimised for the MacBook hardware – and so maintain the freedom and flexibility while regaining the battery life performance.

Categories
Geekery Linux MacBook Air Mobile Devices Operating Systems Technology

Macbook Air + Gentoo + LXDE

What?

Take a 2015-era, 11-inch MacBook Air. Strip off the proprietary software tailored exactly for this hardware and model. Install the most do-it-yourself Linux distribution there is.

Apple no more

First up, why (on earth) would I want to do this?