[7.1.x] LineageOS 14.1 for Moto G5 [cedric][UNOFFICIAL]

Search This thread

SirRGB

Senior Member
Jun 29, 2019
549
209
Google Nexus 5
Samsung Galaxy S5 Mini

ektus

Senior Member
That's all I do, repopick all unmerged patches. The current patch level hasn't been merged since July of 2021 because the maintainer refused to do so as long as there is no backport of the two missing patches. I've been writing it in my announcement for the past years that those two are missing and so the patch level technically isn't current, as that would imply that all known vulnerabilities have been addressed. Hence the designation of my builds as "experimental".
 
I understand your situation but no one is obliged to create a backport for Pacht level.
For example, since this month Google has discontinued Android 11 and until now there is no one who makes a backport.
You also have to know that the people from girrit do everything voluntarily and if the effort is not worth it, then that's just the way it is and you have to accept it .
 

ektus

Senior Member
Experimental new build with April 05th, 2023 security patches available

https://www.dropbox.com/s/n2ye8jkn8pv0onv/lineage-14.1-20230416-UNOFFICIAL-cedric.zip?dl=1

This build is to be considered alpha as it is lacking two patches from July 2021 as can be read on Gerrit. The patches from August, 2021 through April, 2023 have also been included, but no updated patch level. It still reports June 5th, 2021, as it is lacking the two patches from July of 2021 from the "not implemented" section. There seems to be no progress in backporting these patches :-(

I've got it installed and running on my own device for half an hour now.

As always, these builds don't contain any patches to closed source drivers, as those would have to be supplied by Lenovo. Who have long since stopped supporting this device.

Builds prior to December 11th, 2022 have been deleted from my dropbox to mitigate space constraints.

Use at your own risk!

Regards
Ektus.
 

Attachments

  • lineage-14.1-20230416-UNOFFICIAL-cedric.zip.md5sum.txt
    78 bytes · Views: 15

ektus

Senior Member
Just a short notice: I've had to upgrade my build machine (bigger mass storage and update Mint 19 to Mint 21 or thereabouts) and in the process my build environment was damaged. I'ts been restored to a point where I can successfully build for N5110, but not for Cedric :-(
I'm still investigating the cause and will ask here once I know more. Looks like it's when trying to compile the kernel, somewhere in kernel/motorola/msm8937/scripts/dtc, but it may take me some (or even a lot) more time. Or somebody here can give me a hint?

Code:
FAILED: /bin/bash -c "(make -j4  CFLAGS_MODULE=\"-fno-pic\" -C kernel/motorola/msm8937 O=/home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" zImage ) && (if grep -q '^CONFIG_OF=y' /home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ/.config; then                    echo \"Building DTBs\"; make -j4  CFLAGS_MODULE=\"-fno-pic\" -C kernel/motorola/msm8937 O=/home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" dtbs;           fi ) && (if grep -q '^CONFIG_MODULES=y' /home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ/.config; then                  echo \"Building Kernel Modules\";                       make -j4  CFLAGS_MODULE=\"-fno-pic\" -C kernel/motorola/msm8937 O=/home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" modules;                fi )"
make: Entering directory '/home/ekkehard/nougat/lineage14/kernel/motorola/msm8937'
make[1]: Verzeichnis „/home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ“ wird betreten
  GEN     ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/soc/qcom/Kconfig:380:warning: choice value used outside its choice group
drivers/soc/qcom/Kconfig:385:warning: choice value used outside its choice group
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
  CHK     include/config/kernel.release
  GEN     ./Makefile
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  Using /home/ekkehard/nougat/lineage14/kernel/motorola/msm8937 as source for kernel
  HOSTLD  scripts/dtc/dtc
  CC      scripts/mod/empty.o
  CC      scripts/mod/devicetable-offsets.s
/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x50): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
  MKELF   scripts/mod/elfconfig.h
collect2: error: ld returned 1 exit status
make[3]: *** [scripts/Makefile.host:100: scripts/dtc/dtc] Fehler 1
make[2]: *** [/home/ekkehard/nougat/lineage14/kernel/motorola/msm8937/scripts/Makefile.build:402: scripts/dtc] Fehler 2
 

SirRGB

Senior Member
Jun 29, 2019
549
209
Google Nexus 5
Samsung Galaxy S5 Mini
Just a short notice: I've had to upgrade my build machine (bigger mass storage and update Mint 19 to Mint 21 or thereabouts) and in the process my build environment was damaged. I'ts been restored to a point where I can successfully build for N5110, but not for Cedric :-(
I'm still investigating the cause and will ask here once I know more. Looks like it's when trying to compile the kernel, somewhere in kernel/motorola/msm8937/scripts/dtc, but it may take me some (or even a lot) more time. Or somebody here can give me a hint?

Code:
FAILED: /bin/bash -c "(make -j4  CFLAGS_MODULE=\"-fno-pic\" -C kernel/motorola/msm8937 O=/home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" zImage ) && (if grep -q '^CONFIG_OF=y' /home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ/.config; then                    echo \"Building DTBs\"; make -j4  CFLAGS_MODULE=\"-fno-pic\" -C kernel/motorola/msm8937 O=/home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" dtbs;           fi ) && (if grep -q '^CONFIG_MODULES=y' /home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ/.config; then                  echo \"Building Kernel Modules\";                       make -j4  CFLAGS_MODULE=\"-fno-pic\" -C kernel/motorola/msm8937 O=/home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" modules;                fi )"
make: Entering directory '/home/ekkehard/nougat/lineage14/kernel/motorola/msm8937'
make[1]: Verzeichnis „/home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ“ wird betreten
  GEN     ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/soc/qcom/Kconfig:380:warning: choice value used outside its choice group
drivers/soc/qcom/Kconfig:385:warning: choice value used outside its choice group
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
  CHK     include/config/kernel.release
  GEN     ./Makefile
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  Using /home/ekkehard/nougat/lineage14/kernel/motorola/msm8937 as source for kernel
  HOSTLD  scripts/dtc/dtc
  CC      scripts/mod/empty.o
  CC      scripts/mod/devicetable-offsets.s
/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x50): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
  MKELF   scripts/mod/elfconfig.h
collect2: error: ld returned 1 exit status
make[3]: *** [scripts/Makefile.host:100: scripts/dtc/dtc] Fehler 1
make[2]: *** [/home/ekkehard/nougat/lineage14/kernel/motorola/msm8937/scripts/Makefile.build:402: scripts/dtc] Fehler 2
 

ektus

Senior Member
Experimental new build with May 05th, 2023 security patches available

Finally, my build machine is back in working order. So here you go:

https://www.dropbox.com/s/jq9ctsdx3xrcxnw/lineage-14.1-20230515-UNOFFICIAL-cedric.zip?dl=1

This build is to be considered alpha as it is lacking two patches from July 2021 as can be read on Gerrit. The patches from August, 2021 through May, 2023 have also been included, but no updated patch level. It still reports June 5th, 2021, as it is lacking the two patches from July of 2021 from the "not implemented" section. There seems to be no progress in backporting these patches :-(

I've got it installed and running on my own device for an hour now.

As always, these builds don't contain any patches to closed source drivers, as those would have to be supplied by Lenovo. Who have long since stopped supporting this device.

Builds prior to January 9th, 2023 have been deleted from my dropbox to mitigate space constraints.

Use at your own risk!

Regards
Ektus.
 

Attachments

  • lineage-14.1-20230515-UNOFFICIAL-cedric.zip.md5sum.txt
    78 bytes · Views: 5

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Experimental new build with May 05th, 2023 security patches available

    Finally, my build machine is back in working order. So here you go:

    https://www.dropbox.com/s/jq9ctsdx3xrcxnw/lineage-14.1-20230515-UNOFFICIAL-cedric.zip?dl=1

    This build is to be considered alpha as it is lacking two patches from July 2021 as can be read on Gerrit. The patches from August, 2021 through May, 2023 have also been included, but no updated patch level. It still reports June 5th, 2021, as it is lacking the two patches from July of 2021 from the "not implemented" section. There seems to be no progress in backporting these patches :-(

    I've got it installed and running on my own device for an hour now.

    As always, these builds don't contain any patches to closed source drivers, as those would have to be supplied by Lenovo. Who have long since stopped supporting this device.

    Builds prior to January 9th, 2023 have been deleted from my dropbox to mitigate space constraints.

    Use at your own risk!

    Regards
    Ektus.
    2
    Just a short notice: I've had to upgrade my build machine (bigger mass storage and update Mint 19 to Mint 21 or thereabouts) and in the process my build environment was damaged. I'ts been restored to a point where I can successfully build for N5110, but not for Cedric :-(
    I'm still investigating the cause and will ask here once I know more. Looks like it's when trying to compile the kernel, somewhere in kernel/motorola/msm8937/scripts/dtc, but it may take me some (or even a lot) more time. Or somebody here can give me a hint?

    Code:
    FAILED: /bin/bash -c "(make -j4  CFLAGS_MODULE=\"-fno-pic\" -C kernel/motorola/msm8937 O=/home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" zImage ) && (if grep -q '^CONFIG_OF=y' /home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ/.config; then                    echo \"Building DTBs\"; make -j4  CFLAGS_MODULE=\"-fno-pic\" -C kernel/motorola/msm8937 O=/home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" dtbs;           fi ) && (if grep -q '^CONFIG_MODULES=y' /home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ/.config; then                  echo \"Building Kernel Modules\";                       make -j4  CFLAGS_MODULE=\"-fno-pic\" -C kernel/motorola/msm8937 O=/home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" modules;                fi )"
    make: Entering directory '/home/ekkehard/nougat/lineage14/kernel/motorola/msm8937'
    make[1]: Verzeichnis „/home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ“ wird betreten
      GEN     ./Makefile
    scripts/kconfig/conf --silentoldconfig Kconfig
    drivers/soc/qcom/Kconfig:380:warning: choice value used outside its choice group
    drivers/soc/qcom/Kconfig:385:warning: choice value used outside its choice group
    warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
    warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
      CHK     include/config/kernel.release
      GEN     ./Makefile
      CHK     include/generated/uapi/linux/version.h
      CHK     include/generated/utsrelease.h
      Using /home/ekkehard/nougat/lineage14/kernel/motorola/msm8937 as source for kernel
      HOSTLD  scripts/dtc/dtc
      CC      scripts/mod/empty.o
      CC      scripts/mod/devicetable-offsets.s
    /usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x50): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
      MKELF   scripts/mod/elfconfig.h
    collect2: error: ld returned 1 exit status
    make[3]: *** [scripts/Makefile.host:100: scripts/dtc/dtc] Fehler 1
    make[2]: *** [/home/ekkehard/nougat/lineage14/kernel/motorola/msm8937/scripts/Makefile.build:402: scripts/dtc] Fehler 2
  • 102

    mwRBiAz.jpeg


    Code:
    /*
    * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
    * Please do some research if you have any concerns about features included in the products you find here 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.
    * Your warranty will be void if you tamper with any part of your device / software.
    * Same statement for XDA.
    */

    LineageOS is a free, community built, aftermarket firmware distribution of Android 7 (nougat), 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.



    What's working :

    • Boots
    • Touch
    • RIL [Calls, Mobile Data, Dual SIM]
    • Wifi
    • Wifi Tethering
    • Bluetooth
    • Camera
    • Camcorder
    • Audio
    • Sensors
    • Flash
    • GPS
    • Notification LED
    • Fingerprint
    • OTG
    • VoLTE
    • FM Radio

    Known issues:
    • Fingerprint(Fixed in the build 25.05.2017)
    • OTG(Fixed in the build 29.05.2017)
    • Camcorder(Fixed in the build 01.06.2017)
    • VoLTE(Fixed in the build 27.06.2017)
    • Wi-Fi Obtaining IP problem in some variants.(Fixed in the build 27.06.2017)
    • Video player stutters.(Fixed in the build 28.06.2017)
    • FM Radio(Fixed in the build 28.06.2017)
    • Rear Camera in 3rd party apps does not work on some users.(Fixed in the build 30.06.2017)
    • USB tethering function does not work.A Third party app such as pdanet might be a solutiıon.(Fixed in the build 30.06.2019)

    Instructions :

    Downloads :

    Source Code:

    XDA:Rom Information
    LineageOS 14.1,cedric, ROM for the Moto G5

    Contributors
    wzedlare, vache, CodeZero, ektus
    ROM OS Version: 7.1.x Nougat

    Version Information
    Status:
    Stable

    Created 2017-05-25
    Last Updated 2022-01-21
    18
    The build with january security patch is now on the thread.
    16
    New build(18/10/17) is now available to fix "Krack" vulnerability.
    16
    just got Oreo booted on our beloved Moto G5
    15
    New Build 12-11-2017.Big thanks to vache and jobinrjohnson for their helps.Changelog:
    Code:
    - Root obtaining problems(a.k.a segmentation faults) are fixed.
    - Governor of the little clusters is interactive now.
    - Some other optimizations.