2022-01-11 17:29:10 +00:00
# Remove google-dependencies
As Android / LineageOS is a google software, there are some sentinels deeply baked in the system.
Here we will remove them.
2021-09-10 12:41:15 +00:00
## 1. DNS
2021-10-22 14:38:22 +00:00
2022-01-11 17:29:10 +00:00
Not every server name should be resolved by google:
2021-09-10 12:41:15 +00:00
2021-10-22 14:38:22 +00:00
1. Navigate to Settings - Network and Internet - Advanced - Private DNS
2. Enter new DNS: `dns3.digitalcourage.de`
2021-09-10 12:41:15 +00:00
2022-01-11 17:29:10 +00:00
## 2. google captive Portal
2021-10-22 14:38:22 +00:00
2022-01-11 17:29:10 +00:00
The question whether you are connected to the internet should not be googles decision:
2021-09-10 12:41:15 +00:00
2022-01-13 10:59:57 +00:00
1. Replace google captive portal check with [Kuketz ](https://www.kuketz-blog.de/android-captive-portal-check-204-http-antwort-von-captiveportal-kuketz-de/ ).
Therefore, connect your Fairphone to your computer and execute following adb commands:
2021-12-18 14:37:42 +00:00
```
adb shell 'settings put global captive_portal_http_url "http://captiveportal.kuketz.de"'
adb shell 'settings put global captive_portal_https_url "https://captiveportal.kuketz.de"'
adb shell 'settings put global captive_portal_fallback_url "http://captiveportal.kuketz.de"'
adb shell 'settings put global captive_portal_other_fallback_urls "http://captiveportal.kuketz.de"'
```
2022-01-11 17:29:10 +00:00
In order to test if the settings were correctly adopted, type in your terminal:
2021-12-18 14:37:42 +00:00
`adb shell 'settings get global captive_portal_https_url'`
2021-09-10 12:41:15 +00:00
2022-01-11 17:29:10 +00:00
## 3. google print service
2021-10-22 14:38:22 +00:00
2021-09-10 12:41:15 +00:00
Did you ever use the google print-service? If not, let's switch it off:
1. Switch off Print Service (Settings - Connected devices - Connection preferences - Printing).
2021-11-14 11:00:47 +00:00
## 4. Phone number lookup
2022-01-11 17:29:10 +00:00
LineageOS uses an online look up for the entered number, but that is not their business.
2021-11-14 11:00:47 +00:00
1. Switch of the forward lookup, the people lookup and the reverse lookup (Telephone-App - three points in the search field - Settings - phone number lookup).
2022-01-13 10:59:57 +00:00
## 5. Alternative Browser
2021-11-14 11:30:53 +00:00
2022-01-11 17:29:10 +00:00
Do not trust googles Browser
1. Open Fdroid to install a Browser. We use Fennec.
2021-12-18 14:37:42 +00:00
2. Open Fennec and install "privacy badger" & mBlockOrigin as add-on.
2022-01-11 17:29:10 +00:00
3. Drag your Fennec-App-Symbol to the browser location (at the bottom of your screen) & remove chromium
4. Set Fennec as you standard browser.
2021-11-14 11:30:53 +00:00
2022-01-13 10:59:57 +00:00
## 6. Location Tracking
2021-11-14 11:30:53 +00:00
2021-12-18 14:37:42 +00:00
Nobody should track your location:
2021-10-22 14:38:22 +00:00
2022-01-11 17:29:10 +00:00
1. Check Privacy Settings and GPS (especially browser-settings for Fennec).
2021-09-10 12:41:15 +00:00
2022-01-13 10:59:57 +00:00
## 7. Browser search suggestions
2021-12-18 14:37:42 +00:00
2022-01-11 17:29:10 +00:00
Not every stroke on your keyboard has to be sent to the search engine, especially not to google.
2021-12-18 14:37:42 +00:00
1. Choose another search engine e.g. startpage or duckduckgo (Browser - Settings - Search)
1. Switch off the search suggestions (Browser - Settings - Search - Show search suggestions)
2021-12-18 14:53:13 +00:00
2022-01-13 10:59:57 +00:00
## 8. Deny net access for untrusted apps
2021-12-18 14:53:13 +00:00
2022-01-11 17:29:10 +00:00
If you have to use less trustworthy apps, a firewall is very usefull. We use NetGuard.
2021-12-18 14:53:13 +00:00
1. FDroid -> search for NetGuard -> install.