FORUMS
Remove All Ads from XDA

[WIP ROM][UNOFFICIAL][owens] LineageOS 15.1 for Moto E4 Plus (Qualcomm)

44 posts
Thanks Meter: 29
 
By FlagersXDA, Member on 20th November 2018, 05:10 AM
Thread Closed Email Thread
This project is a work in progress. I have gotten past the beginning stages of porting LineageOS 15.1 to Owens. Slowly ironing out the build issues. Thank you. I suck at git, so I will eventually upload all of my progress in one commit because I haven't been keeping track.

XDA:DevDB Information
LineageOS 15.1 for Moto E4 Plus (owens), ROM for the Moto E4 Plus

Contributors
FlagersXDA
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
Based On: Lineage OS

Sources
Device Tree - https://github.com/flagersinc/androi...torola_owens-1
Kernel Source- https://github.com/flagersinc/androi...torola_msm8937
Vendor Blobs - https://github.com/flagersinc/propri...endor_motorola

Version Information
Status: Snapshot

Created 2018-11-20
Last Updated 2018-11-20

EDIT:Added Device Tree, Kernel Source, and Vendor Blobs
The Following 4 Users Say Thank You to FlagersXDA For This Useful Post: [ View ] Gift FlagersXDA Ad-Free
 
 
20th November 2018, 05:17 AM |#2  
OP Member
Thanks Meter: 29
 
More
Removed the other one lol. no reason for this post
21st November 2018, 01:37 AM |#3  
bcrichster's Avatar
Senior Member
Thanks Meter: 850
 
Donate to Me
More
Right on! Glad to see other ppl picking up the pieces.
21st November 2018, 03:59 AM |#4  
OP Member
Thanks Meter: 29
 
More
I used your condensed sources because they'd be easier to work on in the long run. I will be posting it to Github soon, however during building I am getting this error:
[979/979] including vendor/qcom/opensource/dataservices/Android.mk ...
hardware/qcom/display-caf/msm8996/libcopybit/../common.mk: error: copybit.msm8937 (SHARED_LIBRARIES android-arm) missing libmemalloc (SHARED_LIBRARIES android-arm)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
hardware/qcom/display-caf/msm8996/sdm/libs/hwc/../../../common.mk: error: hwcomposer.msm8937 (SHARED_LIBRARIES android-arm) missing libmemalloc (SHARED_LIBRARIES android-arm)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:850: error: exiting from previous errors.
22:33:42 ckati failed with: exit status 1
21st November 2018, 04:05 AM |#5  
OP Member
Thanks Meter: 29
 
More
Quote:
Originally Posted by bcrichster

Right on! Glad to see other ppl picking up the pieces.

All I've done so far is done the necessary CM to Lineage rebrands and changes to apply the commit done to the Cedric Oreo device sources (https://github.com/Sohamlad7/android...ec4d8a3dad2a08) to the Owens device sources.
I didn't and still done expect it to build properly for a while.
I added my current sources to the first post if you want to take a look, it still doesn't build properly so take it with a grain of salt lol.
The Following User Says Thank You to FlagersXDA For This Useful Post: [ View ] Gift FlagersXDA Ad-Free
21st November 2018, 01:46 PM |#6  
bcrichster's Avatar
Senior Member
Thanks Meter: 850
 
Donate to Me
More
Quote:
Originally Posted by FlagersXDA

All I've done so far is done the necessary CM to Lineage rebrands and changes to apply the commit done to the Cedric Oreo device sources (https://github.com/Sohamlad7/android...ec4d8a3dad2a08) to the Owens device sources.
I didn't and still done expect it to build properly for a while.
I added my current sources to the first post if you want to take a look, it still doesn't build properly so take it with a grain of salt lol.

Right on.. So no zips yet. Did'ja ever get that tree to build Nougat and boot? I couldn't.. I was close on that tree but something was still broken because it'd build, just never booted so I went back to my other owens device tree, the one with 3 main folders in one. Hope that helps. JasonM has some tree updates I'm likely port, helps the govs and stuff

Sent from my Moto E (4) Plus using Tapatalk
22nd November 2018, 01:26 AM |#7  
OP Member
Thanks Meter: 29
 
More
For now I still don't get a .zip, however we may be close. I hope that @CodeZero, or Sohamlad7 on GitHub can maybe help us port this. Hopefully we can increase the longevity of this device.

EDIT 11/23/2018: I've worked on the device trees some more and the vendor stuff and have been gaining leads. Most of my commits are ports from the Cedric trees. They seems to be progressing the build past those errors.
23rd November 2018, 05:17 PM |#8  
Senior Member
Thanks Meter: 325
 
More
So you gave up on Oreo/15.1?

Might it be easier to get that working first (fewer changes from N)?
23rd November 2018, 08:49 PM |#9  
OP Member
Thanks Meter: 29
 
More
Quote:
Originally Posted by ST Dog

So you gave up on Oreo/15.1?

Might it be easier to get that working first (fewer changes from N)?

Honestly, if we get done with Pie first, it may be easier to back port these changes to Oreo.
EDIT: Made another commit that may get rid of a few build errors.
1. Condensed all the vendor trees "Owens, msm8937-common, qcom318-32" into one owens tree.
2. Copied all non existing vendor blobs from Cedric vendor trees to avoid build errors

For now this is what we're dealing with:
$ make -j4
build/make/core/combo/TARGET_linux-arm.mk:43: warning: cortex-a53 is armv8-a.
build/make/core/combo/TARGET_linux-arm.mk:45: warning: TARGET_ARCH_VARIANT, armv7-a-neon, ignored! Use armv8-a instead.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
LINEAGE_VERSION=16.0-20181123-UNOFFICIAL-owens
TARGET_PRODUCT=lineage_owens
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-18.0.0-x86_64-10.14
HOST_BUILD_TYPE=release
BUILD_ID=PPR2.181005.003
OUT_DIR=/Volumes/build/WORK_DIR/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8996 hardware/qcom/display-caf/msm8996 hardware/qcom/media-caf/msm8996
============================================
ninja: no work to do.
ninja: no work to do.
device/motorola/owens/device.mk was modified, regenerating...
build/make/core/combo/TARGET_linux-arm.mk:43: warning: cortex-a53 is armv8-a.
build/make/core/combo/TARGET_linux-arm.mk:45: warning: TARGET_ARCH_VARIANT, armv7-a-neon, ignored! Use armv8-a instead.
device/motorola/owens/device.mk was modified, regenerating...
build/make/core/combo/TARGET_linux-arm.mk:43: warning: cortex-a53 is armv8-a.
build/make/core/combo/TARGET_linux-arm.mk:45: warning: TARGET_ARCH_VARIANT, armv7-a-neon, ignored! Use armv8-a instead.
[2/977] including art/Android.mk ...
art/build/Android.common.mk:50: warning: unsupported HOST_ARCH=x86_64
[594/977] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
system/sepolicy/Android.mk:89: warning: Be careful when using the SELINUX_IGNORE_NEVERALLOWS flag. It does not work in user builds and using it will not stop you from failing CTS.
[977/977] including vendor/qcom/opensource/dataservices/Android.mk ...
art/build/Android.gtest.mk:121: warning: overriding commands for target `Uncompressed'
art/build/Android.gtest.mk:101: warning: ignoring old commands for target `Uncompressed'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/build/WORK_DIR/out/target/product/owens/system/lib/hw/fingerprint.msm8937.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/Volumes/build/WORK_DIR/out/target/product/owens/system/lib/hw/fingerprint.msm8937.so'
build/make/core/Makefile:28: warning: overriding commands for target `/Volumes/build/WORK_DIR/out/target/product/owens/system/vendor/lib/libOmxVdec.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/Volumes/build/WORK_DIR/out/target/product/owens/system/vendor/lib/libOmxVdec.so'
ninja: error: 'vendor/motorola/owens/proprietary/vendor/lib/libOmxVdec.so', needed by '/Volumes/build/WORK_DIR/out/target/product/owens/system/vendor/lib/libOmxVdec.so', missing and no known rule to make it
18:49:32 ninja failed with: exit status 1

#### failed to build some targets (05:39 (mm:ss)) ####

The Following User Says Thank You to FlagersXDA For This Useful Post: [ View ] Gift FlagersXDA Ad-Free
24th November 2018, 12:55 AM |#10  
soaringowl2145's Avatar
Senior Member
Thanks Meter: 145
 
More
@FlagersXDA Have you decided on your plans when this does build and is flashable?
24th November 2018, 12:57 AM |#11  
OP Member
Thanks Meter: 29
 
More
Quote:
Originally Posted by soaringowl2145

@FlagersXDA Have you decided on your plans when this does build and is flashable?

I'd work on improving compatibility and reliability. If it works 100% like how it does on 14.1 then that would be the finishing line.
The Following User Says Thank You to FlagersXDA For This Useful Post: [ View ] Gift FlagersXDA Ad-Free
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes