docs.benjamin-altpeter.de

Android

This page describes how I configured my Pixel 4a. This is still a work-in-progress.

Install LineageOS for microG #

Follow the instructions in 1 but download the files from here instead. Before using the downloaded files, verify the signatures (2):

git clone git@github.com:lineageos4microg/update_verifier.git
cd update_verifier
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
python3 update_verifier.py lineageos4microg_pubkey ../<path_to_zip>

Basic device setup #

Open the microG Settings app and under Location modules, enable Mozilla Location Service and Nominatim.

Open F-Droid and under Settings, enable Automatically install updates and set the Automatic update interval to every 12 hours.

Settings #

Under Apps & notifications, Notifications and Advanced, enable Hide silent notifications in status bar.

Under Display, enable Dark theme. Schedule Night light between 4:30 PM and 6:00 AM. Set Screen timeout to 10 minutes. Under Lock Screen, set Notifications on lock screen to Show sensitive content only when unlocked, and disable Wake screen for notifications. Enter a notice under Add text on lock screen. Enable Display media cover art. Disable Lift to check phone.

Under Sound, set Vibrate for calls to Always vibrate.

Under Storage, disable Storage manager.

Under Privacy and Trust, enable Restrict USB.

Under System and Buttons, enable Show arrow keys while typing. Set Back long press action to Kill foreground app. Set Home long press action to No action.

Under System and Status bar, enable Network traffic monitor for Upload and download. Set Clock position to Right. Set Battery status style to Text.

Under System, Gestures and Power menu, enable Advanced restart.

Enable the developer settings by pressing the build string a couple of times.

Install Magisk #

Download, install and open the Magisk app (1). Ensure that the device has Ramdisk: Yes.

Extract boot.img from the LineageOS ZIP as explained here. Push that to the device using:

adb push boot.img /sdcard/Download/

In the Magisk app, click Install, choose the file and click Let’s go. Then, copy the patched image to the computer using adb, reboot into fastboot and flash the image:

adb pull /sdcard/Download/<magisk_patched-*.img>
adb reboot bootloader
fastboot flash boot <magisk_patched-*.img>

Afterwards, reboot into the system. Open the Magisk app to check that the install was successful.

In the settings, enable MagiskHide and Enable Biometric Authentication.

Apps #

F-Droid #

Add the following repositories:

Install the following apps through F-Droid:

  • AFWall+
  • Aurora Store
  • Corona Contact Tracing Germany
  • DAVx⁵
  • DuckDuckGo Privacy Browser
  • EDS Lite
  • Element
  • Fennec F-Droid
  • NewPipe
  • Nextcloud
  • OsmAnd~
  • QR & Barcode Scanner
  • RadioDroid
  • SQLiteViewer
  • StreetComplete
  • Syncthing
  • Tasks
    • Use Nextcloud calendar Tasks for tasks.
  • Telegram FOSS
  • Vespucci
  • VLC
  • WiFiAnalyzer

Aurora Store #

In the Aurora Store, under Settings and Filters, enable Filter Google apps and Filter F-Droid apps. Then, under Blacklist manager, select all remaining Google and microG apps.

Install the following apps through Aurora:

  • 1Password
  • AliExpress
  • BSVG Netz
  • eBay (doesn’t work without Safety Net)
  • eBay Kleinanzeigen
  • IServ
  • Mapillary
  • N26
  • photoTAN
  • Spotify
  • Windscribe
  • WhatsApp