[HELP] Compiling OmniROM for Nubia Z18 (NX606J) - Android Q&A, Help & Troubleshooting

Hi folks,
I've been trying to port OmniROM to ZTE's new Nubia Z18 (codename NX606J) but I'm stuck when trying to compile the ROM and need some help and leading advice as I'm new to ROM development as a whole.
I already asked in the Omni specific thread but didn't get an answer up until now. So since I believe this isn't just Omni related, please forgive me to ask again in the general section. :angel:
Device specific source can be found on my GitHub.
Kernel source is taken from nubia directly but forked by me for modifications in the future
Now onto the error I'm experiencing:
I run make -j4 after lunch-ing my device and it fails with:
Code:
[945/945] including vendor/omni/Android.mk ...
packages/apps/Bluetooth/Android.mk: error: Bluetooth (APPS android-arm) missing libbluetooth_jni (SHARED_LIBRARIES android-arm)
Available variants:
libbluetooth_jni (SHARED_LIBRARIES android-arm64)
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:833: error: exiting from previous errors.
03:34:57 ckati failed with: exit status 1
If I set ALLOW_MISSING_DEPENDENCIES=true (which I guess is bad practice) I get:
Code:
[ 99% 1390/1391] glob vendor/omni/overlay/common/**/*
ninja: error: '/run/media/curtisy/Solus-Data/omni_nx606j/out/target/product/nx606j/obj_arm/SHARED_LIBRARIES/libbluetooth_jni_intermediates/link_type', needed by '/run/media/curtisy/Solus-Data/omni_nx606j/out/target/product/nx606j/obj/APPS/Bluetooth_intermediates/2ND_jni_link_type', missing and no known rule to make it
03:39:28 ninja failed with: exit status 1
The lunch overview in case that's of any use, looks like this:
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=omni_nx606j
TARGET_BUILD_VARIANT=user
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo300
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=kryo
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.19.1-98.current-x86_64-Solus-3.9999
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ1A.181105.017.A1
OUT_DIR=/run/media/curtisy/Solus-Data/omni_nx606j/out
============================================
I'm hoping anyone with more experience has some idea as to what's the issue here. Maybe a look at my boardconfig will help, but I'm not sure. (My uneducated guess is that it's trying to compile for arm and arm64 but fails to link libbluetooth_jni to arm?)
Thanks in advance for any help, I'm really grateful for any straw I can hold onto currently.

better ask omni or lineage team my friend~gd luck!

If anyone comes across this in the future. Seems to be some weird setup with how some things use Android.bp and others Android.mk. That and the interaction the two have between each other. A quick fix is to just make it build both by editing the Android.bp file. Worked for me, though this issue doesn't seem to be that prevalent, might be caused by some other configuration issue? This works as quick fix, not sure if having two different binaries has some other negative effects though.
Code:
android/lineage/packages/apps/Bluetooth/jni/Android.bp:
cc_library_shared {
name: "libbluetooth_jni",
compile_multilib: "both", <---------- from "first" -> "both"

Related

Trying to Build CM10 full-eng

I've successfully built cm10 from source for maguro. (Everything works nicely except the Google Talk app which keeps crashing, but I'll try to find out why later).
I'm building on OS X 10.8 (Mountain Lion), which required some changes in make files.
When trying to brunch full-eng, though, I'm getting the following:
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=darwin
HOST_OS_EXTRA=Darwin-12.0.0-x86_64-i386-64bit
HOST_BUILD_TYPE=release
BUILD_ID=JRO03C
OUT_DIR=out
============================================
grep: build/target/board/generic/recovery.fstab: No such file or directory
find: `src': No such file or directory
build/core/tasks/kernel.mk:65: **********************************************************
build/core/tasks/kernel.mk:66: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:67: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:68: * BoardConfig.mk file *
build/core/tasks/kernel.mk:69: **********************************************************
make: *** No rule to make target `bacon'. Stop.
I would appreciate an insight on that.
Also - I'm trying to find a guide on the forums that will allow me to learn how to port CM10 to unsupported devices.
Thank you.
Code:
. build/envsetup.sh
lunch full-eng
mka
^Works fine.
brunch won't work on full-eng, it's intended to be used for cm_* only
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Thanks ✟
Moving to Q&A
cdesai said:
brunch won't work on full-eng, it's intended to be used for cm_* only
Click to expand...
Click to collapse
Great. Thank you for the quick response.

[Q] Android compilation issues

As a little personal learning project, I'm having a go at trying to build ICS AOSP for my phone (Haier W718).
To start off I copied the moto/stingray device folder and modified all the files/folders to fit my phone to the best of my ability, mainly due to the fact that I don't have much experience in this field yet, and I'm doing my best to learn.
I added the device to the lunch menu, and lunch loads the variables correctly. However, upon running
Code:
make -j6
, the compiler process spits out the following:
Code:
==============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=full_w718
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM67L
==============================================
build/core/base_rules.mk:166 *** abi/cpp: MODULE.TARGET.SHARED_LIBRARIES.libgabi++ already defined by abi/cpp. Stop.
Now, I can successfully compile Android for full_eng IF my device folder is not present.
For reference sake, I've attached my device folder as a .zip, if you wouldn't mind looking through the files.
Bump. No one can help?
I would recommend going into your build directory and go to build/core/base_rules.mk and editing that file and removing an extra references to MODULE.TARGET.SHARED_LIBRARIES.libgabi++. The error is telling you that MODULE.TARGET.SHARED_LIBRARIES.libgabi++ already defined in the abi/cpp build directory.

[Q] Help!

I'm trying to build AOSP ICS source for my device, the Samsung Galaxy Ace II X (GT-S7560M and Canadian variant of Galaxy Ace 2. My device comes with ICS 4.0.4 stock with Touchwiz UX), which is similar to the Galaxy S Duos (GT-S7562) for those of you that are having trouble finding specs. I attempted to port the device tree from the Galaxy Tab 7.7 because they have similiar specs (besides the screen size). I'm using Ubuntu 10.04 and I keep on getting this error message (in the terminal) after entering the command 'lunch kylessopen-userdebug'. I found that the device also has similar specs to the Nexus S so I executed the proprietary binary .sh files from https://developers.google.com/android/nexus/drivers#crespoimm76d (sorry having trouble with hyperlink button) because I was unable to collect proprietary files from my device (didn't work). Please help me out, it would be awesome if I could compile at the very least a partially-functional AOSP ICS build. If you need anything as a reference (ie device tree), feel free to ask for it. Thanks! Below is the message that I got in the Ubuntu 10.04 terminal:
[email protected]:~/ICS_SOURCE# lunch kylessopen-user
build/core/product_config.mk:204: *** No matches for product "kylessopen". Stop.
** Don't have a product spec for: 'kylessopen'
** Do you have the right repo manifest?
Read my SOURCE TUT WARPED420 it may help
Warped420 said:
Read my SOURCE TUT WARPED420 it may help
Click to expand...
Click to collapse
I'm getting a different error after fixing up the device tree (a bit). When I initiate the compile process ("make"), I get the following:
[email protected]:~/ICS_SOURCE# make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=kylessopen
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76
============================================
build/core/main.mk:347: implicitly installing apns-conf_sdk.xml
build/core/main.mk:806: *** missing separator. Stop.
Click to expand...
Click to collapse
The line "build/core/main.mk:347: implicitly installing apns-conf_sdk.xml" stays for 15-30 seconds then I get the 'missing separator' message and the compile process stops. I've tried putting a separator (only works with =) at the end of line 806 in my main.mk, but then I get another missing separator message for a different line in main.mk. After putting separators at the end of a dozen or so lines, I get a different message when initiating the 'make' process:
[email protected]:~/ICS_SOURCE# make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=kylessopen
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76
============================================
build/core/main.mk:347: implicitly installing apns-conf_sdk.xml
host Java: jsr305lib (out/host/common/obj/JAVA_LIBRARIES/jsr305lib_intermediates/classes)
/bin/bash: javac: command not found
make: *** [out/host/common/obj/JAVA_LIBRARIES/jsr305lib_intermediates/javalib.jar] Error 41
Click to expand...
Click to collapse
Attached is my main.mk (from ICS_SOURCE/build/core/) renamed to main.txt because XDA won't let me upload an .mk file. If anybody is reading this, please help me. You can either tell me what to fix, or you can modify my main.mk for me. Please help!
EDIT - NEW PROBLEM!!!
[email protected]:~/ICS_SOURCE# make
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=kylessopen
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76
============================================
build/core/main.mk:347: implicitly installing apns-conf_sdk.xml
make: *** No rule to make target `/usr/lib/jvm/jdk1.6.0_45/jre/lib/tools.jar', needed by `out/target/common/docs/doc-comment-check-timestamp'. Stop.
Click to expand...
Click to collapse
I don't have a doc-comment-check-timestamp....somebody help me out?
try using ". build/envsetup.sh && brunch (name of device ) and post your results... and dont run under root #.. run under $
and u may want to check your java version, i use Oracle 6 without issues.. and did you put java and sdk in your path of the build, its all explained in my tutorial

New ROM building error.

I am trying to build my own custom ROM based on PAC-man. However, I am running into a few build issues.
Here is the error:
Code:
make: *** No rule to make target `/home/brandon/WORKING_FAMIGO/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar', needed by `/home/brandon/WORKING_FAMIGO/out/target/common/obj/APPS/Calculator_intermediates/classes-full-debug.jar'. Stop.
And attached below is the full terminal output.
Also here is the code itself: https://github.com/FamigoROM/android
dotmaniac said:
I am trying to build my own custom ROM based on PAC-man. However, I am running into a few build issues.
Here is the error:
Code:
make: *** No rule to make target `/home/brandon/WORKING_FAMIGO/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar', needed by `/home/brandon/WORKING_FAMIGO/out/target/common/obj/APPS/Calculator_intermediates/classes-full-debug.jar'. Stop.
And attached below is the full terminal output.
Also here is the code itself: https://github.com/FamigoROM/android
Click to expand...
Click to collapse
Hey Dotmaniac,
Did you ever resolve this? I'm having this same error building AOKP on my HTC Desire HD (ace)
espmartin said:
Hey Dotmaniac,
Did you ever resolve this? I'm having this same error building AOKP on my HTC Desire HD (ace)
Click to expand...
Click to collapse
Nope...
Sent from my Nexus 7 using Tapatalk
Google search suggests java version issues, but I've verified I'm running it as recommended... Frustrating!
Android 4.2.2/AOKP built from source
Can you post the full log?
SMillerNL said:
Can you post the full log?
Click to expand...
Click to collapse
I'll post on pastbin asap.
FYI: I get this same exact error when I build just the calc module as such:
mmm packages/apps/Calculator
Android 4.2.2/AOKP built from source
---------- Post added at 09:13 PM ---------- Previous post was at 08:55 PM ----------
Here's the full build log:
http://pastebin.com/ScKDbeej
And here's the full error when just building Calc module (pastbin too):
Code:
[LIST=1]
[*][email protected]:~/SchutzhundAOKP$ . build/envsetup.sh && lunch aokp_ace-userdebug && mmm packages/apps/Calculator
including device/htc/ace/vendorsetup.sh
including vendor/aokp/vendorsetup.sh
including sdk/bash_completion/adb.bash
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
TARGET_PRODUCT=aokp_ace
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-35-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/home/martin/SchutzhundAOKP/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
TARGET_PRODUCT=aokp_ace
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-35-generic-x86_64-with-Ubuntu-13.10-saucy
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/home/martin/SchutzhundAOKP/out
============================================
make: Entering directory `/home/martin/SchutzhundAOKP'
build/core/Makefile:43: warning: overriding commands for target `/home/martin/SchutzhundAOKP/out/target/product/ace/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:43: warning: ignoring old commands for target `/home/martin/SchutzhundAOKP/out/target/product/ace/system/etc/permissions/android.software.live_wallpaper.xml'
PRODUCT_COPY_FILES device/htc/ace/keylayout/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/htc/ace/keylayout/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl ignored.
build/core/Makefile:43: warning: overriding commands for target `/home/martin/SchutzhundAOKP/out/target/product/ace/system/etc/AudioBTID.csv'
build/core/Makefile:43: warning: ignoring old commands for target `/home/martin/SchutzhundAOKP/out/target/product/ace/system/etc/AudioBTID.csv'
PRODUCT_COPY_FILES vendor/aokp/prebuilt/bootanimation/bootanimation_480_800.zip:system/media/bootanimation.zip ignored.
No private recovery resources for TARGET_DEVICE ace
make: *** No rule to make target `/home/martin/SchutzhundAOKP/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar', needed by `/home/martin/SchutzhundAOKP/out/target/common/obj/APPS/Calculator_intermediates/classes-full-debug.jar'. Stop.
make: Leaving directory `/home/martin/SchutzhundAOKP'
[email protected]:~/SchutzhundAOKP$
[/LIST]
espmartin said:
Google search suggests java version issues, but I've verified I'm running it as recommended... Frustrating!
Android 4.2.2/AOKP built from source
Click to expand...
Click to collapse
I'm also having exactly this error. And it is really frustrating
[email protected] said:
I'm also having exactly this error. And it is really frustrating
Click to expand...
Click to collapse
My fix was to use different repos.
Using my own Android Open Kang Project - (4.4.2 Kitkat) build
espmartin said:
My fix was to use different repos.
Using my own Android Open Kang Project - (4.4.2 Kitkat) build
Click to expand...
Click to collapse
What do you mean by different repos? Device? Kernel? or Just Packages app?
I've kept the same device/kernels
Using my own Android Open Kang Project - (4.4.2 Kitkat) build
espmartin said:
I've kept the same device/kernels
Using my own Android Open Kang Project - (4.4.2 Kitkat) build
Click to expand...
Click to collapse
You mean you completely sync an another Rom?
Hey, I just ran into the same issue with no clue yet so resolve this problem. I just wondered if someone came up with a solution in the meantime and could post some information about the issue
UPDATE: I figured out at least what the problem in my case was. Apparently, removing the project "platform/development" from the manifest was not a good idea. Well, I learned my lesson.
This is the line of the local_manifest.xml which should arouse suspection:
Code:
<remove-project path="development" name="platform/development" />

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

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/android_device_motorola_owens-1
Kernel Source- https://github.com/flagersinc/android_kernel_motorola_msm8937
Vendor Blobs - https://github.com/flagersinc/proprietary_vendor_motorola
Version Information
Status: Snapshot
Created 2018-11-20
Last Updated 2018-11-20
EDIT:Added Device Tree, Kernel Source, and Vendor Blobs
Removed the other one lol. no reason for this post
Right on! Glad to see other ppl picking up the pieces.
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
bcrichster said:
Right on! Glad to see other ppl picking up the pieces.
Click to expand...
Click to collapse
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/androi...mmit/dc1f305971b232cece51705c04ec4d8a3dad2a08) 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.
FlagersXDA said:
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/androi...mmit/dc1f305971b232cece51705c04ec4d8a3dad2a08) 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.
Click to expand...
Click to collapse
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
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.
So you gave up on Oreo/15.1?
Might it be easier to get that working first (fewer changes from N)?
ST Dog said:
So you gave up on Oreo/15.1?
Might it be easier to get that working first (fewer changes from N)?
Click to expand...
Click to collapse
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)) ####
@FlagersXDA Have you decided on your plans when this does build and is flashable?
soaringowl2145 said:
@FlagersXDA Have you decided on your plans when this does build and is flashable?
Click to expand...
Click to collapse
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.
FlagersXDA said:
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)) ####
Click to expand...
Click to collapse
make -j4 ..needs be "make bacon -j4" or "mka bacon -j4". Bit I usually try to build the boot.img / kernel FIRST with " mka bootimage -j4" ..hope that helps
bcrichster said:
make -j4 ..needs be "make bacon -j4" or "mka bacon -j4". Bit I usually try to build the boot.img / kernel FIRST with " mka bootimage -j4" ..hope that helps
Click to expand...
Click to collapse
The kernel won't really work with this because I still have not made the binder flags changes. Need to do that later
Feel free to suggest commits to the repo, I'd love it lol.
EDIT: Fixed the above mentioned error. Was a typo that I looked over, no wonder nobody else had that issue lol.
I changed LineageOS 16 to 15.1 so as to not get too ahead of ourselves. It's a better idea to start with Lineage 15.1 because it is easier to port the changes forward.
Hi, I was just wondering if in this version you could somehow implement the one-hand navigation with the fingerprint sensor like in the stock rom (moto actions). Thanks.
Flagers,
You look at hector99's code for DotOS 2.5 on nicklaus?
It builds and boots. Might be helpful for your owens build.
ST Dog said:
Flagers,
You look at hector99's code for DotOS 2.5 on nicklaus?
It builds and boots. Might be helpful for your owens build.
Click to expand...
Click to collapse
maybe i could help, but the code for nicklaus and owens is very different, basically, the trees are different also i have the mediatek variant, so i cant debug logs or test changes as soon i made.
FlagersXDA said:
This project is a work in progress.
Click to expand...
Click to collapse
The first post was on the 20th Nov and I dont find any Download Link here.
Placeholders are not allowed in this FORUM
I am closing this thread temporarily.
Message me or the MODs once you are ready to post the DL.
Thanks

Categories

Resources