-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make fails on the mt66xx_intermediates target #11
Comments
I get the same error on "android_device_bq_krillin cm-14.0". Seems to be a problem with "BOARD_USES_MTK_HARDWARE", removing it from wpa_supplicant/Android.mk and BoardConfig.mk gets you further but it craps out when building "out/target/product/krillin/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o". The lather is probably connected to former since running make with showcommands, shows stuff like "-DWIFI_DRIVER_STATE_CTRL_PARAM=""/dev/wmtWifi"" -DWIFI_DRIVER_STATE_ON="1"" prior to the error. Not getting any further atm. |
@MagnusAlm i got a bit further halium-krillin@b642e77 but then i get a curl dependency error |
Package Complete: /home/magnus/android/system/out/target/product/krillin/lineage-14.1-20171115-EXPERIMENTAL-krillin.zip @delijati Removing that whitespace in BoardConfig.mk helped. THANKS ;-) There was also an extra empty row at the top in: |
hmm i still run into that error:
|
@delijati I guess that is related to make a build for halium, I didn't get any such errors when building on "android.git -b cm-14.1". |
@MagnusAlm have you flashed it ? is it working ? |
No I haven't and will probably not do it in the nearest few weeks either, since I feel I need to have a working backup phone before I try it. |
@delijati Did the last patch fix the build error you had on your fork? |
I just made a compile with just these changes from stock Pablito2020/android_device_bq_krillin device/bq/krillin/BoardConfig.mk device/bq/krillin/overlay/packages/apps/Settings/res/values/config.xml (The following changes might just be cosmetic tho) |
@MagnusAlm i tired a plain
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 5c080d1..688956e 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -112,7 +112,7 @@ BOARD_WPA_SUPPLICANT_DRIVER := NL80211
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_mt66xx
BOARD_HOSTAPD_DRIVER := NL80211
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_mt66xx
-WIFI_DRIVER_FW_PATH_PARAM:="/dev/wmtWifi"
+WIFI_DRIVER_FW_PATH_PARAM:="/dev/wmtWifi"
WIFI_DRIVER_FW_PATH_STA:=STA
WIFI_DRIVER_FW_PATH_AP:=AP
WIFI_DRIVER_FW_PATH_P2P:=P2P
@@ -132,7 +132,6 @@ TARGET_SYSTEM_PROP := $(LOCAL_PATH)/system.prop
# Mediatek needed flags
BOARD_HAS_MTK_HARDWARE := true
-BOARD_USES_MTK_HARDWARE := true
MTK_HARDWARE := true
# Display
diff --git a/overlay/packages/apps/Settings/res/values/config.xml b/overlay/packages/apps/Settings/res/values/config.xml
index 08c8d55..dbaf137 100644
--- a/overlay/packages/apps/Settings/res/values/config.xml
+++ b/overlay/packages/apps/Settings/res/values/config.xml
@@ -1,4 +1,3 @@
-
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index 0e25e61..003e299 100755
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -16,7 +16,6 @@
LOCAL_PATH := $(call my-dir)
-ifeq ($(BOARD_USES_MTK_HARDWARE),true)
ifeq ($(WPA_SUPPLICANT_VERSION),VER_0_8_X)
$(warning Build wpa_supplicant_lib...)
WPA_SUPPL_DIR = external/wpa_supplicant_8
@@ -70,4 +69,3 @@ include $(BUILD_STATIC_LIBRARY)
########################
endif
-endif
<manifest>
<!-- Device -->
<project path="device/bq/krillin" name="Pablito2020/android_device_bq_krillin" remote="github" revision="cm-14.0"/>
<project path="kernel/bq/krillin" name="Pablito2020/android_kernel_bq_krillin" remote="github" revision="cm-14.1"/>
<project path="vendor/bq/krillin" name="Pablito2020/android_vendor_bq_krillin" remote="github" revision="cm-14.1"/>
</manifest> |
I have now tried to install the build I made in short words it didn't work. First I flashed my phone with the "1.5.3_20150618-1313_bq-FW" rom using "MediaTek SP Flash Tool v5.1424.0 (downloaded from bq.com). Then I flashed the TWRP recovery image I built on to the phone with same SP Tool. Even tho I could boot into TWRP recovery with that it was hopeless to use since the screen was constantly flashing and it was almost non responsive to input. I then downloaded twrp-3.1.1-0-krillin.img for BQ Aquaris E4.5 and flashed it. I then installed my CM-14.1 build zip file and open_gapps-arm-7.1-mini-20171116.zip. After that I tested a few of the other roms with Kitkat 4.4.2 from bq.com and since that didn't work either I got to the conclusion that the rom I've built was faulty and could never boot. So I tested to install lineage-13.0-20170521-UNOFFICIAL-krillin.zip instead (along with open_gapps-arm-6.0-mini-20171117.zip and addonsu-13.0-arm-signed.zip). CM-13.0 works tho it seems to have some flaws, not tested every thing I would like to use yet tho. Can't receive sms/mms from Iphone 4s. Some apps hangs and even reboots the phone, even got stuck in safe mode at one point. I don't know if these issues is related to LineageOs in general, my installation method/tools or the cm-13.0 rom. |
@MagnusAlm urgss that sounds pretty disappointing :/ |
@delijati Or like a challenge ;-) |
note to my self "check that mobile data is on when trying to send or receive mms, dumbass!" |
I fixed vulding for meizu justa adding on /build/core/main.mk the: and also on the same main.mk adding device/meizu to # device and vendor |
Were you able to fix this?? Could anyone please help me with this? |
Hello!
I am now getting an error during the make.
This is if I use the android_device_bq_krillin cm-14.0 branch:
This is if use the cm-14.1 branch:
The text was updated successfully, but these errors were encountered: