92 lines
3.4 KiB

# Setup a Google-Free mobile phone
## Research
* find out device code:
* find out if there is TWRP for the device code:
* find out if there is a custom rom for the device code:
## Risks
Liberating your device from google voids the warranty.
If it fails and your backup does not work correctly, you risk that contacts or
data are not available anymore.
If you have to use unofficial LineageOS or TWRP builds, because the device is
not supported, the installation can fail. Then you'll have to flash the stock
rom, and restore the backup. It's a nasty effort.
If you have to flash the stock rom, you can only login and use the phone, when
you log into a Google account, that already was logged into the phone before
you flashed it. Be wary if you bought the phone second hand/online.
## Step By Step
### Back up data before flashing
* Install F-Droid from their website:
* download apk
* enable installing from "unknown sources" in Settings/Security/Unknown Sources
* install apk
* install DAVDroid
* create ownCloud account
* backup telegram accounts
* backup files to ownCloud
* sync Contacts to ownCloud
* full backup:
### Install Firmware
* install TWRP and lineageOS with microG
* if not possible, look for normal lineageOS without microG:
* if `adb reboot bootloader` doesn't work, use `adb reboot download`
* if `adb sideload` doesn't work, use a micro SD card to transfer the lineageOS image
### Secure Phone
* Encrypt phone
* Load the battery to 100%
* plug it into a charger
* Start Encryption process: Settings/Security/Encrypt Phone
* Install F-Droid
* Root phone with Magisk
* Download Magisk
* Boot into TWRP recovery mode
* Install Magisk zip file
* Reboot
* Install cryptfs
* First configure your lock screen PIN, then configure device encryption
* Install wrong pin shutdown
### Install apps
On F-Droid, you can get open source apps for almost any purpose.
If you need Google Play Store apps, you can install them via the Aurora store.
You can install the Aurora Store on F-Droid, too.
Some recommendations:
* DAVdroid: sync Contacts & Calendar with ownCloud
* Firefox Klar: private browser
* OsmAnd~: offline maps with
* Offi Stations: public transport connections. Different networks are available
* Briar: End-to-End encrypted serverless Messenger
* Conversations: End-to-End encrypted XMPP Messenger
* DeltaChat: End-to-End encrypted E-Mail Messenger
* ownCloud: store your data in a private cloud. Ask [[|]] for an account
And if you really want proprietary shit software on your device:
* setup Whatsapp with island
* install FB messenger with island
* install Netflix or Amazon Video with YALP Store or Aurora