Browse Source

included all possible ways to install LineageOS with Linux

master
anonymized 2 years ago
parent
commit
52b907dd1c
  1. 5
      README.md
  2. 68
      step-by-step.md

5
README.md

@ -86,7 +86,10 @@ Lineage
- Google Cloud (Kontakte & Kalender)
- Google Cloud Messaging: Push Notifications
- Google Maps
- microG:
- microG: Open-Source replacements for GApps
- network localization services
- Google Cloud Messaging
- Maps API
### Womit kann man Google Services ersetzen?

68
step-by-step.md

@ -7,9 +7,13 @@ Sources:
## Research
* find out device code: https://support.mogaanywhere.com/hc/en-us/articles/201302920-How-do-I-find-my-Android-device-s-model-number-
* find out device code:
https://support.mogaanywhere.com/hc/en-us/articles/201302920-How-do-I-find-my-Android-device-s-model-number-
* find out if there is TWRP for the device code: https://twrp.me/Devices/
* find out if there is a custom rom for the device code: https://download.lineage.microg.org/
* find out if there is a microG-lineage for the device code:
https://download.lineage.microg.org/
* if not possible, look for normal lineageOS without microG:
https://wiki.lineageos.org/devices/
## Risks
@ -43,10 +47,62 @@ you flashed it. Be wary if you bought the phone second hand/online.
### Install Firmware
* install TWRP and lineageOS with microG https://lineage.microg.org/#instructions
* if not possible, look for normal lineageOS without microG: https://wiki.lineageos.org/devices/
* 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
Install TWRP and lineageOS+microG https://lineage.microg.org/#instructions
#### TWRP
Download TWRP image (see above)
Install ADB on the computer: https://www.xda-developers.com/install-adb-windows-macos-linux/
Enable USB debugging
* Tap seven times on Settings/About Phone/Build Number to enable Developer Settings
* Enable Settings/Developer Settings/USB Debugging
Create adb connection
* Connect phone to computer with a micro USB cable
* Linux: execute `adb devices -l`
* On the phone, confirm that you want to allow this computer to do debugging
* If the device doesn't show up, try a different micro USB cable
Boot the phone into download mode:
* Either `adb reboot bootloader`
* Or `adb reboot download`
* Or duckduckgo for the download mode key combination of your device
* If all of this doesn't work, you might need to unlock the bootloader:
https://www.theandroidsoul.com/unlock-bootloader-via-fastboot-android/
Flash TWRP:
* Either with fastboot: `fastboot flash recovery twrp-xxx-xxx-xxx.img`
* Or with heimdall (you might need to install it first): `heimdall flash
--RECOVERY twrp-xxx-xxx-xxx.img`
* If it doesn't work, try `heimdall flash --RECOVERY twrp-xxx-xxx-xxx.img
--no-reboot` and reboot manually afterwards. Careful: only reboot if the
flashing is finished.
#### LineageOS
First boot into the recovery mode:
* Either with adb: `adb reboot recovery`
* Or with the recovery mode key combination of your device.
* Note: this is not the same combination for the download mode.
Then go to Wipe + Advanced Wipe to wipe the following partitions:
* System
* Data
* Cache
* Dalvik
Then go to Advanced/ADB Sideload, swipe to the right, and execute `adb sideload
lineage-xxx.zip` on your computer.
If `adb sideload` doesn't work, use a micro SD card:
* Copy the lineage-xxx.zip to the micro SD card
* Insert the micro SD card into the phone
* Boot into Recovery mode/TWRP
* Go to "Install", select the file from the micro SD card, and install it.
Reboot to start LineageOS!
### Secure Phone

Loading…
Cancel
Save