
LineageOS is a free, community built, aftermarket firmware distribution of Android 10.0, which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
Code:
#include "std_disclaimer.h"
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
What's working:
- RIL (Calls, SMS, Data)
- IMS
- Fingerprint
- Wi-Fi
- Bluetooth
- Bluetooth Audio
- Camera
- Audio
- Sensors
- Flash
- GPS
- DAC
- Vibration
- Wifi Hotspot
- Display out
- Wireless display
- Selinux enforcing
What's not working:
- a2dp offload
Flashing Instructions:
Go to the first (pre) release in the downloads, and download the boot.img, vendor_boot.img, dtbo.img and copy-partitions-20220222.zip
- Reboot to bootloader (adb reboot bootloader or hold vol- and power when the phone is off)
-
Code:
fastboot flash boot boot.img
-
Code:
fastboot flash vendor_boot vendor_boot.img
-
Code:
fastboot flash dtbo dtbo.img
- Use volume keys and power to reboot to recovery, or use
Code:
fastboot reboot recovery
- If you dont have both slots populated, nows your chance:
a) Enable adb sideload
b) Flash the copy partitions script:Code:adb sideload copy-partitions-20220222.zip
- Enable adb sideload and flash LineageOS:
Code:
adb sideload lineage-19.1-20220327-UNOFFICIAL-pstar.zip
- Reboot to recovery: Advanced -> Reboot recovery
- (Optional) Flash Gapps/Magisk:
a) Enable adb sideload and:Code:adb sideload gapps.zip
- Factory reset/format data
- Reboot system
- Profit
Edge 20 Pro Telegram group
Downloads:
pstar releases here: github
Sources:
Device Tree pstar: pstar
Device Tree sm8250-common: sm8250-common
Kernel: sm8250
Vendor: motorola
lineage-19.1 branches
XDA:DevDB Information
LineageOS for the Motorola Edge 20 Pro, ROM for the Motorola Edge 20 Pro
Contributors
SGCMarkus
Source Code: https://github.com/LineageOS
ROM OS Version: Android 12
ROM Kernel: Linux 4.x
ROM Firmware Required: 11
Based On: LineageOS
Version Information
Status: Stable