Google-free Android Setup

October 2018

Table of Contents


I am in no way responsible for damage to your phone or other problems caused as a result of this article. By modifying your phone you are doing so at your own risk. Please be careful!

If you do run into issues, feel free to email me and I can try to help, but please note that I have limited time and I may not be able to respond.

Back-up Your Device

Unless you have a fresh device, I highly recommend backing up photos, pictures, messages, videos, contacts and other items that you may not already have a back-up of somewhere.

There are two ways to do so (and I strongly recommend doing both):

Additionally, I recommend to write down a list of your favorite apps that you have installed on a notepad somewhere.

Install Requirements

I currently recommend using LineageOS as an alternative to the stock Android operating system. LineageOS is a free and open-source operating system for smartphones and tablet computers, based on the Android mobile platform.

In order to install the operating system, please follow the steps below:

  1. Install ADB and fastboot by following the instructions at:
  2. Download the latest version of TWRP recovery for your specific device at: (sometimes you may need to actually use an older version, e.g. if you are unable to boot into recovery mode, but first try the latest if possible)
  3. Download the latest version of LineageOS for your specific device at:
  4. Go to and click on your specific device. Then proceed to unlock your phone’s bootloader by clicking on the Installation instructions shown and following the instructions for “unlocking the bootloader”. For example, if you have a Google Nexus 5X you will be following the instructions here If your device’s respective installation guide does not have steps for unlocking the bootloader you may need to search XDA developer forums. Note that not all devices have bootloaders that can be unlocked (e.g. the Samsung Galaxy S8 is not supported).
  5. Boot into the bootloader with adb:

    Run this command from your terminal or command prompt:

    adb reboot bootloader
  6. Install TWRP (recovery management software) with fastboot:

    Be sure to replace “path/to/twrp.bacon.img” in the script below with the path to the file you downloaded in step 2 above

    Run this command from your terminal or command prompt:

    fastboot flash recovery path/to/twrp.bacon.img
  7. If you are still in fastboot menu, use the volume up and down keys to select “Recovery mode” and then hit the power button to select it. Otherwise you will need to boot into recovery mode by pressing and holding down the volume down and power button for a few seconds – may vary depending on what your device is; you can search on DuckDuckGo for your device’s shortcut if necessary)
  8. Make a back-up with TWRP at:
  9. Pull the recovery backup ZIP off the phone using adb:

    Be sure to replace “/sdcard/” with the path to the back-up on your phone and “” with the path to where you’d like to store the file locally on your computer

    Run this command from your terminal or command prompt:

    adb pull /sdcard/
  10. Repeat step 7 above
  11. Under the recovery mode menu, navigate to Wipe and then run a Factory Reset
  12. While in recovery mode, push the LineageOS ROM to your phone:

    Be sure to replace “path/to/” in the script below with the path to the file you downloaded in step 3 above

    Run this command from your terminal or command prompt:

    adb push path/to/ /sdcard/
  13. Under the recovery mode menu, navigate to Install and select the file you just pushed inside the /sdcard/ folder
  14. (Optional) Root the device by installing the arm SU add-on at: (make sure you reboot the device after running step 13 and test everything out first – then you’ll push it to /sdcard/ and then install it similarly LineageOS in step 13)
  15. Reboot the device (if you’re in Recovery mode, go to Reboot and then tap System)
  16. Install F-Droid
  17. Install your preferred applications from Recommended Applications below

All of the applications listed below are Google-free alternatives and/or useful applications that I highly recommend.

If you’re looking for a Google-free alternative to a favorite app of yours, please email me and I’d be glad to help.

  • OsmAnd+ for navigation and directions using OpenStreetMap data (an alternative to Google Maps)
  • SatStat for viewing satellite, GPS, and other sensor data


  • K-9 Mail for receiving email from multiple accounts with support for OpenPGP encryption (an alternative to Gmail)
  • ForwardEmail for private, encrypted, and free email forwarding (I made this – it’s an alternative to Google Business)

Security & Password Management

  • FreeOTP for two-factor authentication (2FA) token management (an alternative to Google Authenticator)
  • SnoopSnitch for checking mobile network security
  • FlowCrypt for PGP encryption (not on F-Droid)
  • OpenKeychain for encrypting files and communications (OpenPGP compliant and pairs well with K-9 mail)
  • Skimmer Scanner (not yet on F-Droid, but you can download APK using Yalp Store, see below)
  • AdAway for blocking ads, uses hosts file (requires root, see step 14 above in Install Requirements)
  • Password Store for simple password management, built on top of pass – you may also want to use pass-import (an alternative to Google Sync)
  • AFWall+ for root-based (iptables) firewall management (requires root, see step 14 above in Install Requirements)
  • PilferShush Jammer for blocking unwanted use of onboard microphone (using in passive mode is recommended, it will pause during telephony interrupts – e.g. when you make calls)
  • AnySoftKeyboard for an on-screen keyboard (an alternative to Google Keyboard and Android’s stock keyboard)
  • QKSMS for SMS messaging (an alternative to Android’s stock Messenger and Google Hangouts)
  • Firefox Klar for private browsing with ad-blocking and web-tracking blocking support (an alternative to Google Chrome and Android’s stock browser)
  • Transistor for listening to radio streams over the internet
  • Etar for calendar management (an alternative to Google Calendar)
  • Vinyl Music Player for listening to music (an alternative to Android’s stock music player and Google Music)
  • Lawnchair for a better launcher with customizability (an alternative to Android’s stock launcher)
  • Open Camera for taking pictures, video, and more (an alternative to Android Camera and Google’s Camera)
  • SecScanQR for QR code scanning and generation (secure and private alternative)
  • NewPipe for viewing YouTube videos (an alternative to YouTube)
  • Easer for event-driven Android automation
  • Termux for a terminal emulator with SSH support and more
  • Night Screen for adjusting brightness and screen color to prevent eye-strain
  • Yalp Store for downloading apps directly from Google Play Store as APK files (alternative to Google Play Store – you can download apps like Slack and more using this!)
  • Slide for browsing Reddit
  • Omni Notes for taking notes (an alternative to Google Keep)


  • OpenVPN for virtual private network (“VPN”)


If you get stuck, search on XDA

Do a search on DuckDuckGo for “xda lineageos $deviceName $yourProblem”. You should generally find a solution.

For example, you might need to completely re-flash firmware, radio, and bootloader depending on your device. I had to do this with a Nexus 5X and followed this thread here for my issue I found this thread by searching “nexus 5x lineageos xda”.

How to back-up SMS messages

Simply install QKSMS (see link above), and in the app first sync with native messages, then go to Backup and restore, click on “Backup now”, and then adb pull /sdcard/QKSMS some-local-path (replace “some-local-path” with where you want to save the back-up locally). Later once you’re done with all the steps above, you can adb push some-local-path /sdcard/QKSMS, re-open the QKSMS app after installing it, and restore from back-up. Make sure there is a .json file in the /sdcard/QKSMS/Backups folder, otherwise it will not work.

Want to go Google-free on your Mac

Send me an email and I’ll ping you back once my article for that is up.

From your computer, simply copy the link to your clipboard, go to, and search for !qr <insert link here>. DuckDuckGo will automatically generate a QR code you can scan with your phone using SecScanQR (a QR code app listed above).

Opt-out of Google Location services on your Network Router

See You will need to affix your router’s SSID name with _nomap.

Adjust captive portal detection

You may also wish to disable captive portal detection or change the default from Google’s servers. Do not do this unless you are highly technical and understand the implications of doing this. Disabling captive portal will most likely disable your device from working at airports, coffee shops, and at public wi-fi hotspots.

This assumes you have Android Debugging Mode turned on and Developer Mode enabled:

Note you will need to reboot your device after running the below commands:

To disable:

adb shell
settings put global captive_portal_mode 0
settings delete global captive_portal_mode

Or, to re-enable:

adb shell
settings put global captive_portal_mode 1

Additional Reading | Github | Twitter | Updates | RSS/XML FeedPowered by Wintersmith