Copyright 2015-2016 - The CyanogenMod Project
Copyright 2017-2019 - The LineageOS Project
Basic | Spec Sheet |
---|---|
CPU | Dual-core 2.0 GHz ARM® Cortex™ A57 and quad-core 1.5 GHz ARM® Cortex™ A53 |
CHIPSET | Qualcomm MSM8992 Snapdragon 808 |
GPU | Adreno 418 |
Memory | 3GB |
Shipped Android Version | 5.1 |
Storage | 32GB |
MicroSD | Up to 128GB |
Battery | 3000 mAh |
Dimensions | 148.9 x 76.1 x 6.3 - 9.8 mm |
Display | 2560 x 1440 pixels, 5.5" HD-IPS LCD |
Rear Camera | 16 MP hybrid infared autofocus, dual-LED flash |
Front Camera | 8 MP |
Release Date | April 2015 |
every model will need a single build run. porting that to another rom means you might (depends on the ROM):
- rename the main mk file
lineage.mk
(e.g. tomynewrom.mk
) - rename all
lineage_*mk
files (e.g tomynewrom_*.mk
) - rename
PRODUCT_NAME
in alllineage_*mk
files to matchmynewrom
- rename inherits of
lineage.mk
to themynewrom.mk
from step 1 - rename lunch combos in
vendorsetup.sh
- perform sed to be sure everything completed correctly
- do a verification of the renaming process
<model>/BoardConfig.mk
might need to be changed to another kernel defconfig (if you want to use different ones)- rename
lineage.dependencies
tomynewrom.dependencies
that sounds a lot first but tbh its just a few for loop
runs and its almost done.
mv lineage.mk mynewrom.mk
check how it would look like:
for i in $(ls lineage_*.mk);do echo mv $i ${i/lineage/mynewrom};done
if that looks good do the change:
for i in $(ls lineage_*.mk);do mv $i ${i/lineage/mynewrom};done
check how it would look like:
for i in $(ls mynewrom_*.mk);do sed "s/lineage_/mynewrom_/g" $i ;done | grep PRODUCT_NAME
if that looks good do the change:
for i in $(ls mynewrom_*.mk);do sed -i "s/lineage_/mynewrom_/g" $i ;done
check how it would look like:
for i in $(ls *.mk);do sed 's/lineage.mk/mynewrom.mk/g' $i ;done |grep mynewrom
if that looks good do the change:
for i in $(ls *.mk);do sed -i 's/lineage.mk/mynewrom.mk/g' $i ;done
check how it would look like:
for i in $(echo vendorsetup.sh);do sed "s/lineage_/mynewrom_/g" $i;done
if that looks good do the change:
for i in $(echo vendorsetup.sh);do sed -i "s/lineage_/mynewrom_/g" $i;done
run the following commands to be sure nothing was missed:
sed -i 's/lineage/mynewrom/' AndroidProducts.mk
sed -i 's/lineage/mynewrom/' mynewrom.mk
run the command grep -r lineage *.mk
to verify that there are no entries related to lineage left
I trust in you that you can handle that ;)