WiFi broken: "wpa_supplicant: wlan0: CTRL-EVENT-ASSOC-REJECT" - ONE Q&A, Help & Troubleshooting

So, I've been trying to build a variant of Dirty Unicorns (Nougat) for the OnePlus One, and I can see WiFi networks, but this (pastebin) happens when I try to connect to any of them, after authenticating (this is not caused by any sort of saved passwords, etc. - this is on the Google account setup screen, before I even sign in). This is the manifest I ran "repo init" from, and my local manifest is here:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="https://github.com/" name="gb" />
<remote fetch="https://gitlab.com/" name="gl" />
<remote name = "bb" fetch = "https://bitbucket.org/" />
<project name="amardeep434/du_device" path="device/oneplus/bacon" remote="gl" revision="n-caf" />
<project name="amardeep434/nkernel" path="kernel/oneplus/msm8974" remote="gl" revision="nougat" />
<project name="AOSP-bacon/proprietary_vendor_oneplus" path="vendor/oneplus" revision="nougat" remote="gb" />
<project name="Shreeesha/android_device_oppo_common" path="device/oppo/common" revision="n-caf" remote="gb" />
<!-- <project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" revision="cm-14.1" remote="gb" /> -->
<project name="android_external_ant-wireless_ant_service" path="external/ant-wireless/ant_service" revision="n-caf" remote="du" />
<project name="android_external_ant-wireless_ant_native" path="external/ant-wireless/ant_native" revision="n-caf" remote="du" />
<project name="android_external_ant-wireless_antradio-library" path="external/ant-wireless/antradio-library" revision="n-caf" remote="du" />
<project name="CyanogenMod/android_external_connectivity" path="external/connectivity" revision="cm-14.0" remote="gb" />
<!--<project name="DirtyUnicorns/android_vendor_qcom_opensource_dataservices" path="vendor/qcom/opensource/dataservices" revision="n-caf" remote="gb" /> -->
<remove-project name="android_hardware_qcom_wlan" />
<project name="CyanogenMod/android_hardware_qcom_wlan" path="hardware/qcom/wlan" revision="cm-14.0" remote="gb" />
<project path="hardware/qcom/wlan-caf" name="CyanogenMod/android_hardware_qcom_wlan" groups="qcom_wlan" revision="cm-14.0-caf" remote="gb" />
<remove-project name="android_system_core" />
<project name="amardeep434/du_system_core" path="system/core" revision="n" remote="gl" />
<remove-project name="android_frameworks_base" />
<project name="amardeep434/du_frameworks_base" path="frameworks/base" revision="n" remote="gl" />
<remove-project name="android_frameworks_av" />
<project name="amardeep434/du_frameworks_av1" path="frameworks/av" revision="n-caf" remote="gl" />
<project name="Shreeesha/android_system_qcom" path="system/qcom" revision="n-caf" remote="gb" />
<project path="hardware/qcom/display-caf/msm8974" name="CyanogenMod/android_hardware_qcom_display" groups="pdk,qcom,qcom_display" revision="cm-14.0-caf-8974" remote="gb" />
<project path="hardware/qcom/audio-caf/msm8974" name="CyanogenMod/android_hardware_qcom_audio" groups="pdk,qcom,qcom_audio" revision="cm-14.0-caf-8974" remote="gb" />
<project path="hardware/qcom/media-caf/msm8974" name="CyanogenMod/android_hardware_qcom_media" groups="pdk,qcom,qcom_media" revision="cm-14.0-caf-8974" remote="gb" />
<project path="hardware/qcom/bt-caf" name="CyanogenMod/android_hardware_qcom_bt" groups="qcom" revision="cm-14.0-caf" remote="gb" />
<remove-project name="android_system_bt" />
<project name="Shreeesha/system_bt" path="system/bt" revision="n-caf" remote="gb" />
<remove-project name="android_system_sepolicy" />
<project name="amardeep434/du_system_sepolicy" path="system/sepolicy" revision="n" remote="gl" />
<remove-project name="android_build" />
<project name="amardeep434/du_build" path="build" revision="n-caf" remote="gl" >
<copyfile src="core/root.mk" dest="Makefile" />
</project>
<remove-project name="android_frameworks_native" />
<project name="amardeep434/du_frameworks_native" path="frameworks/native" revision="n-caf" remote="gl" />
<remove-project name="android_packages_apps_Settings" />
<project name="amardeep434/du_packages_apps_Settings-1" path="packages/apps/Settings" revision="n" remote="gl" />
<project path="packages/apps/masquerade" name="TeamSubstratum/masquerade" remote="gb" revision="master" />
</manifest>
Other observations:
This does not seem to be caused by the ROM/build, because someone else is also running the same build on their OnePlus One elsewhere and has WiFi connectivity without any issues.
This does not seem to be caused by a hardware defect, because I can load on other ROMs (Dirty Unicorns marshmallow, CM14.1, PureNexus nougat) and WiFi works perfectly fine.
This does not seem to be caused by the access point/router, as I've tried two different models at home (a NETGEAR and an Asus) as well as a public wifi hotspot without authentication.
I've tried swapping out my sources for hardware/qcom/wlan(-caf) - tried sources from DU, CM, AOSP, and Slim - issue remains unresolved
I've tried swapping out my sources for external/wpa_supplicant - tried sources from DU and AOSP - issue remains unresolved
Anyone have any ideas? Thanks.

Check your WCNSS_qcom_cfg.ini in the device tree and sync it with CM's else try importing Sultan's Wifi stack(kernel). Better alternative is that you just switch to his kernel. Yeah the camera will be broken but atleast you can narrow the possibilities. And if none of this works, try updating prima to LA.BF.1.1.3_rb1.13 (https://source.codeaurora.org/quic/la/kernel/msm/log/?h=LA.BF.1.1.3_rb1.13).

I've replaced the prima in my kernel with the latest from sultan's (LA.BF.1.1.3_rb1.13) - simply deleted the entire prima folder in the source tree and copied his in. WiFi now works flawlessly. Thanks for the tip!

Related

repo Sync issues with tagging

I keep getting this
Code:
$ repo sync
Fetching projects: 4% (7/172) remote: Counting objects: 9, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta 4), reused 0 (delta 0)
Unpacking objects: 100% (5/5), done.
From git://codeaurora.org/platform/dalvik
26296a6..5a39da7 gingerbread -> korg/gingerbread
Fetching projects: 8% (14/172) fatal: Couldn't find remote ref refs/tags/andr
oid-2.3.1_r1
Fetching projects: 11% (19/172) remote: Counting objects: 7, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 3), reused 0 (delta 0)
Unpacking objects: 100% (4/4), done.
From git://codeaurora.org/platform/external/bluetooth/bluez
2e93ca5..4d08278 gingerbread -> korg/gingerbread
Fetching projects: 12% (21/172) fatal: Couldn't find remote ref refs/tags/andr
oid-2.3.1_r1
Fetching projects: 14% (25/172) fatal: Couldn't find remote ref refs/tags/andr
oid-2.3.1_r1
Fetching projects: 33% (57/172) fatal: Couldn't find remote ref refs/tags/andr
oid-2.3.1_r1
Fetching projects: 34% (59/172) fatal: Couldn't find remote ref refs/tags/andr
oid-2.3.1_r1
Fetching projects: 36% (62/172) fatal: Couldn't find remote ref refs/tags/andr
oid-2.3.1_r1
Fetching projects: 39% (68/172) fatal: Couldn't find remote ref refs/tags/andr
oid-2.3.1_r1
Fetching projects: 40% (69/172) fatal: Couldn't find remote ref refs/tags/andr
oid-2.3.1_r1
Fetching projects: 48% (83/172) fatal: Couldn't find remote ref refs/tags/andr
oid-2.3.1_r1
Fetching projects: 53% (92/172) remote: Counting objects: 16, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 9 (delta 7), reused 0 (delta 0)
Unpacking objects: 100% (9/9), done.
From git://codeaurora.org/platform/external/webkit
7475a62..3e28fc8 gingerbread -> korg/gingerbread
Fetching projects: 61% (105/172) fatal: Couldn't find remote ref refs/tags/and
roid-2.3.1_r1
Fetching projects: 74% (128/172) fatal: Couldn't find remote ref refs/tags/and
roid-2.3.1_r1
Fetching projects: 80% (138/172) fatal: Couldn't find remote ref refs/tags/and
roid-2.3.1_r1
Fetching projects: 94% (162/172) fatal: Couldn't find remote ref refs/tags/and
roid-2.3.1_r1
Fetching projects: 100% (172/172), done.
Syncing work tree: 8% (14/172) error: revision refs/tags/android-2.3.1_r1 in
device/samsung/crespo not found
Here is my repo sync file
default.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="themes"
fetch="git://github.com/tmobile" />
<remote name="common"
fetch="git://github.com/tmobile" />
<remote name="korg"
fetch="git://codeaurora.org/"
review="review.source.android.com" />
<default revision="refs/tags/android-2.3.1_r1"
remote="korg" />
<project path="build" name="platform/build">
<copyfile src="core/root.mk" dest="Makefile" />
</project>
<project path="vendor/tmobile/build/common" remote="common" revision="refs/heads/master" name="common-platform-vendor-tmobile-build-common">
<copyfile src="Android.mk" dest="vendor/tmobile/Android.mk" />
<copyfile src="vendorsetup.sh" dest="vendor/tmobile/vendorsetup.sh" />
</project>
<project path="bionic" name="platform/bionic" />
<project path="bootable/bootloader/legacy" name="platform/bootable/bootloader/legacy" />
<project path="bootable/diskinstaller" name="platform/bootable/diskinstaller" />
<project path="bootable/recovery" name="platform/bootable/recovery" />
<project path="cts" name="platform/cts" />
<project path="dalvik" name="platform/dalvik" />
<project path="development" name="platform/development" />
<project path="device/common" name="device/common" />
<project path="device/htc/common" name="device/htc/common" />
<project path="device/htc/passion" name="device/htc/passion" />
<project path="device/htc/passion-common" name="device/htc/passion-common" />
<project path="device/sample" name="device/sample" />
<project path="device/samsung/crespo" name="device/samsung/crespo" />
<project path="external/apache-http" name="platform/external/apache-http" />
<project path="external/astl" name="platform/external/astl" />
<project path="external/bison" name="platform/external/bison" />
<project path="external/blktrace" name="platform/external/blktrace" />
<project path="external/bluetooth/bluez" name="platform/external/bluetooth/bluez" />
<project path="external/bluetooth/glib" name="platform/external/bluetooth/glib" />
<project path="external/bluetooth/hcidump" name="platform/external/bluetooth/hcidump" />
<project path="external/bouncycastle" name="platform/external/bouncycastle" />
<project path="external/bsdiff" name="platform/external/bsdiff" />
<project path="external/bzip2" name="platform/external/bzip2" />
<project path="external/chromium" name="platform/external/chromium" />
<project path="external/clearsilver" name="platform/external/clearsilver" />
<project path="external/dbus" name="platform/external/dbus" />
<project path="external/dhcpcd" name="platform/external/dhcpcd" />
<project path="external/dnsmasq" name="platform/external/dnsmasq" />
<project path="external/dropbear" name="platform/external/dropbear" />
<project path="external/e2fsprogs" name="platform/external/e2fsprogs" />
<project path="external/easymock" name="platform/external/easymock" />
<project path="external/elfcopy" name="platform/external/elfcopy" />
<project path="external/elfutils" name="platform/external/elfutils" />
<project path="external/embunit" name="platform/external/embunit" />
<project path="external/emma" name="platform/external/emma" />
<project path="external/esd" name="platform/external/esd" />
<project path="external/expat" name="platform/external/expat" />
<project path="external/fdlibm" name="platform/external/fdlibm" />
<project path="external/freetype" name="platform/external/freetype" />
<project path="external/fsck_msdos" name="platform/external/fsck_msdos" />
<project path="external/genext2fs" name="platform/external/genext2fs" />
<project path="external/giflib" name="platform/external/giflib" />
<project path="external/grub" name="platform/external/grub" />
<project path="external/gtest" name="platform/external/gtest" />
<project path="external/guava" name="platform/external/guava" />
<project path="external/icu4c" name="platform/external/icu4c" />
<project path="external/iproute2" name="platform/external/iproute2" />
<project path="external/ipsec-tools" name="platform/external/ipsec-tools" />
<project path="external/iptables" name="platform/external/iptables" />
<project path="external/jdiff" name="platform/external/jdiff" />
<project path="external/jhead" name="platform/external/jhead" />
<project path="external/jpeg" name="platform/external/jpeg" />
<project path="external/jsr305" name="platform/external/jsr305" />
<project path="external/junit" name="platform/external/junit" />
<project path="external/kernel-headers" name="platform/external/kernel-headers" />
<project path="external/libffi" name="platform/external/libffi" />
<project path="external/libgsm" name="platform/external/libgsm" />
<project path="external/libnfc-nxp" name="platform/external/libnfc-nxp" />
<project path="external/libpcap" name="platform/external/libpcap" />
<project path="external/libpng" name="platform/external/libpng" />
<project path="external/libvpx" name="platform/external/libvpx" />
<project path="external/libxml2" name="platform/external/libxml2" />
<project path="external/mtpd" name="platform/external/mtpd" />
<project path="external/netcat" name="platform/external/netcat" />
<project path="external/netperf" name="platform/external/netperf" />
<project path="external/neven" name="platform/external/neven" />
<project path="external/nist-sip" name="platform/external/nist-sip" />
<project path="external/oauth" name="platform/external/oauth" />
<project path="external/openssl" name="platform/external/openssl" />
<project path="external/oprofile" name="platform/external/oprofile" />
<project path="external/ping" name="platform/external/ping" />
<project path="external/ppp" name="platform/external/ppp" />
<project path="external/proguard" name="platform/external/proguard" />
<project path="external/protobuf" name="platform/external/protobuf" />
<project path="external/qemu" name="platform/external/qemu" />
<project path="external/quake" name="platform/external/quake" />
<project path="external/safe-iop" name="platform/external/safe-iop" />
<project path="external/skia" name="platform/external/skia" />
<project path="external/sonivox" name="platform/external/sonivox" />
<project path="external/speex" name="platform/external/speex" />
<project path="external/sqlite" name="platform/external/sqlite" />
<project path="external/srec" name="platform/external/srec" />
<project path="external/stlport" name="platform/external/stlport" />
<project path="external/strace" name="platform/external/strace" />
<project path="external/svox" name="platform/external/svox" />
<project path="external/tagsoup" name="platform/external/tagsoup" />
<project path="external/tcpdump" name="platform/external/tcpdump" />
<project path="external/tinyxml" name="platform/external/tinyxml" />
<project path="external/tremolo" name="platform/external/tremolo" />
<project path="external/v8" name="platform/external/v8" />
<project path="external/webkit" name="platform/external/webkit" />
<project path="external/wpa_supplicant" name="platform/external/wpa_supplicant" />
<project path="external/wpa_supplicant_6" name="platform/external/wpa_supplicant_6" />
<project path="external/xmlwriter" name="platform/external/xmlwriter" />
<project path="external/yaffs2" name="platform/external/yaffs2" />
<project path="external/zlib" name="platform/external/zlib" />
<project path="frameworks/base" name="themes-platform-frameworks-base" remote="themes" revision="refs/heads/themes-2.3.1_r1" />
<project path="frameworks/ex" name="platform/frameworks/ex" />
<project path="frameworks/opt/emoji" name="platform/frameworks/opt/emoji" />
<project path="hardware/broadcom/wlan" name="platform/hardware/broadcom/wlan" />
<project path="hardware/libhardware" name="platform/hardware/libhardware" />
<project path="hardware/libhardware_legacy" name="platform/hardware/libhardware_legacy" />
<project path="hardware/msm7k" name="platform/hardware/msm7k" />
<project path="hardware/qcom/gps" name="platform/hardware/qcom/gps" />
<project path="hardware/qcom/media" name="platform/hardware/qcom/media" />
<project path="hardware/ril" name="platform/hardware/ril" />
<project path="hardware/ti/omap3" name="platform/hardware/ti/omap3" />
<project path="hardware/ti/wlan" name="platform/hardware/ti/wlan" />
<project path="libcore" name="platform/libcore" />
<project path="ndk" name="platform/ndk" />
<project path="packages/apps/AccountsAndSyncSettings" name="platform/packages/apps/AccountsAndSyncSettings" />
<project path="packages/apps/Bluetooth" name="platform/packages/apps/Bluetooth" />
<project path="packages/apps/Browser" name="platform/packages/apps/Browser" />
<project path="packages/apps/Calculator" name="platform/packages/apps/Calculator" />
<project path="packages/apps/Calendar" name="platform/packages/apps/Calendar" />
<project path="packages/apps/Camera" name="platform/packages/apps/Camera" />
<project path="packages/apps/CertInstaller" name="platform/packages/apps/CertInstaller" />
<project path="packages/apps/Contacts" name="platform/packages/apps/Contacts" />
<project path="packages/apps/DeskClock" name="platform/packages/apps/DeskClock" />
<project path="packages/apps/Email" name="platform/packages/apps/Email" />
<project path="packages/apps/Gallery" name="platform/packages/apps/Gallery" />
<project path="packages/apps/Gallery3D" name="platform/packages/apps/Gallery3D" />
<project path="packages/apps/HTMLViewer" name="platform/packages/apps/HTMLViewer" />
<project path="packages/apps/Launcher2" name="themes-platform-packages-apps-Launcher2" remote="themes" revision="refs/heads/themes-2.3.1_r1" />
<project path="packages/apps/Mms" name="platform/packages/apps/Mms" />
<project path="packages/apps/Music" name="platform/packages/apps/Music" />
<project path="packages/apps/Nfc" name="platform/packages/apps/Nfc" />
<project path="packages/apps/PackageInstaller" name="platform/packages/apps/PackageInstaller" />
<project path="packages/apps/Phone" name="platform/packages/apps/Phone" />
<project path="packages/apps/Protips" name="platform/packages/apps/Protips" />
<project path="packages/apps/Provision" name="platform/packages/apps/Provision" />
<project path="packages/apps/QuickSearchBox" name="platform/packages/apps/QuickSearchBox" />
<project path="packages/apps/Settings" name="platform/packages/apps/Settings" />
<project path="packages/apps/SoundRecorder" name="platform/packages/apps/SoundRecorder" />
<project path="packages/apps/SpeechRecorder" name="platform/packages/apps/SpeechRecorder" />
<project path="packages/apps/Stk" name="platform/packages/apps/Stk" />
<project path="packages/apps/Tag" name="platform/packages/apps/Tag" />
<project path="packages/apps/VoiceDialer" name="platform/packages/apps/VoiceDialer" />
<project path="packages/experimental" name="platform/packages/experimental" />
<project path="packages/inputmethods/LatinIME" name="platform/packages/inputmethods/LatinIME" />
<project path="packages/inputmethods/OpenWnn" name="platform/packages/inputmethods/OpenWnn" />
<project path="packages/inputmethods/PinyinIME" name="platform/packages/inputmethods/PinyinIME" />
<project path="packages/providers/ApplicationsProvider" name="platform/packages/providers/ApplicationsProvider" />
<project path="packages/providers/CalendarProvider" name="platform/packages/providers/CalendarProvider" />
<project path="packages/providers/ContactsProvider" name="platform/packages/providers/ContactsProvider" />
<project path="packages/providers/DownloadProvider" name="platform/packages/providers/DownloadProvider" />
<project path="packages/providers/DrmProvider" name="platform/packages/providers/DrmProvider" />
<project path="packages/providers/GoogleContactsProvider" name="platform/packages/providers/GoogleContactsProvider" />
<project path="packages/providers/MediaProvider" name="platform/packages/providers/MediaProvider" />
<project path="packages/providers/TelephonyProvider" name="platform/packages/providers/TelephonyProvider" />
<project path="packages/providers/UserDictionaryProvider" name="platform/packages/providers/UserDictionaryProvider" />
<project path="packages/wallpapers/Basic" name="platform/packages/wallpapers/Basic" />
<project path="packages/wallpapers/LivePicker" name="platform/packages/wallpapers/LivePicker" />
<project path="packages/wallpapers/MagicSmoke" name="platform/packages/wallpapers/MagicSmoke" />
<project path="packages/wallpapers/MusicVisualization" name="platform/packages/wallpapers/MusicVisualization" />
<project path="prebuilt" name="platform/prebuilt" />
<project path="sdk" name="platform/sdk" />
<project path="system/bluetooth" name="platform/system/bluetooth" />
<project path="system/core" name="platform/system/core" />
<project path="system/extras" name="platform/system/extras" />
<project path="system/media" name="platform/system/media" />
<project path="system/netd" name="platform/system/netd" />
<project path="system/vold" name="platform/system/vold" />
<project path="system/wlan/ti" name="platform/system/wlan/ti" />
<project path="vendor/tmobile/apps/ThemeChooser" name="themes-platform-vendor-tmobile-apps-ThemeChooser" remote="themes" revision="refs/heads/master" />
<project path="vendor/tmobile/libs/com.tmobile.themes" name="themes-platform-vendor-tmobile-libs-com.tmobile.themes" remote="themes" revision="refs/heads/master" />
<project path="vendor/tmobile/providers/ThemeManager" name="themes-platform-vendor-tmobile-providers-ThemeManager" remote="themes" revision="refs/heads/master" />
<project path="vendor/tmobile/themes/Androidian" name="themes-platform-vendor-tmobile-themes-Androidian" remote="themes" revision="refs/heads/master" />
<project path="vendor/tmobile/themes/Cyanbread" name="themes-platform-vendor-tmobile-themes-Cyanbread" remote="themes" revision="refs/heads/master" />
<project path="vendor/tmobile/products/themes" name="themes-platform-vendor-tmobile-products-themes" remote="themes" revision="refs/heads/master" />
</manifest>
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to General
has anyone found a solution to this?

[Q] Boot Problem

Hello mates
I make a cm11 for s2vep, compilation works fine about 6 hours, build with linaro 4.7 toolchains without any stopping and error and get a flashable about 220mb, flash is ok on cwm 6.0.4.5 btw the problem is on boot, stuck a few seconds then soft keys light, my phone go in standby and activate it by press on power on but i still can't get into desktop, what depend from? because power on, home, and volume button are working but can't access into welcome wizard....
If someone can help me to solve this problem maybe we can get ubuntu touch too using phablet-4.4.2 that i'll apply same configuration files to make it working ..
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="git://github.com/" name="gh" />
<project name="SamsungBCM-cyanogenmod/android_device_samsung_s2vep" path="device/samsung/s2vep" remote="gh" revision="cm-11.0" />
<project name="SamsungBCM-cyanogenmod/android_device_samsung_bcm-common" path="device/samsung/s2vep-common" remote="gh" revision="cm-11.0" />
<project name="SamsungBCM-Cyanogenmod/android_kernel_samsung_galaxys2plus-common" path="kernel/samsung/galaxys2plus-common" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_qcom_display-caf-new" path="hardware/qcom/display-caf-new" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_qcom_media-caf-new" path="hardware/qcom/media-caf-new" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_qcom_fm" path="hardware/qcom/fm" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" />
</manifest>
haky 86 said:
Hello mates
I make a cm11 for s2vep, compilation works fine about 6 hours, build with linaro 4.7 toolchains without any stopping and error and get a flashable about 220mb, flash is ok on cwm 6.0.4.5 btw the problem is on boot, stuck a few seconds then soft keys light, my phone go in standby and activate it by press on power on but i still can't get into desktop, what depend from? because power on, home, and volume button are working but can't access into welcome wizard....
If someone can help me to solve this problem maybe we can get ubuntu touch too using phablet-4.4.2 that i'll apply same configuration files to make it working ..
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="git://github.com/" name="gh" />
<project name="SamsungBCM-cyanogenmod/android_device_samsung_s2vep" path="device/samsung/s2vep" remote="gh" revision="cm-11.0" />
<project name="SamsungBCM-cyanogenmod/android_device_samsung_bcm-common" path="device/samsung/s2vep-common" remote="gh" revision="cm-11.0" />
<project name="SamsungBCM-Cyanogenmod/android_kernel_samsung_galaxys2plus-common" path="kernel/samsung/galaxys2plus-common" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_qcom_display-caf-new" path="hardware/qcom/display-caf-new" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_qcom_media-caf-new" path="hardware/qcom/media-caf-new" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_qcom_fm" path="hardware/qcom/fm" remote="gh" revision="cm-11.0" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" />
</manifest>
Click to expand...
Click to collapse
Since when our hardware is built by qualcomm?(caf-sources)
So maybe the cause of problem?if yes i'll edit it and rebuild again, and what kind of source should be used for s2vep? Thanks @CoolDevelopment
Sent from my GT-I9105P using XDA Free mobile app

removing optional projects from CM's manifest

Hi, I want to build a minimal ROM for my LG P990. It will be used as a remote control only, so I don't need telephony and bluetooth.
Here's what my local_manifest.xml looks like so far:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="aosp"
fetch="https://android.googlesource.com"
review="android-review.googlesource.com" />
<remote name="github"
fetch=".."
review="review.cyanogenmod.org" />
<remote name="private"
fetch="ssh://[email protected]" />
<default revision="refs/heads/cm-10.2"
remote="github"
sync-c="true"
sync-j="4" />
<remove-project name="CyanogenMod/android_external_Focal" /> -->
<remove-project name="CyanogenMod/android_external_stressapptest" />
<remove-project name="CyanogenMod/android_external_svox" />
<remove-project name="CyanogenMod/android_external_tagsoup" />
<remove-project name="CyanogenMod/android_frameworks_opt_telephony" />
<remove-project name="CyanogenMod/android_packages_apps_Apollo" />
<remove-project name="CyanogenMod/android_packages_apps_CellBroadcastReceiver" />
<remove-project name="CyanogenMod/android_packages_apps_CMUpdater" />
<remove-project name="CyanogenMod/android_packages_apps_Focal" />
<remove-project name="CyanogenMod/android_packages_apps_Mms" />
<remove-project name="CyanogenMod/android_packages_apps_VoiceDialer" />
<remove-project name="CyanogenMod/android_packages_apps_VoicePlus" />
<remove-project name="CyanogenMod/android_packages_providers_TelephonyProvider" />
<remove-project name="CyanogenMod/android_packages_wallpapers_Galaxy4" />
<remove-project name="CyanogenMod/android_packages_wallpapers_HoloSpiral" />
<remove-project name="CyanogenMod/android_packages_wallpapers_LivePicker" />
<remove-project name="CyanogenMod/android_packages_wallpapers_MagicSmoke" />
<remove-project name="CyanogenMod/android_packages_wallpapers_MusicVisualization" />
<remove-project name="CyanogenMod/android_packages_wallpapers_NoiseField" />
<remove-project name="CyanogenMod/android_packages_wallpapers_PhaseBeam" />
<remove-project name="CyanogenMod/android_frameworks_opt_mms" />
</manifest>
However when compiling I get the following error:
Code:
make: *** No rule to make target `.../work-p990/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar', needed by `.../work-p990/out/target/common/obj/JAVA_LIBRARIES/mms-common_intermediates/classes-full-debug.jar'. Stop.
make: *** Waiting for unfinished jobs....
1.) What project does the target "mms-common_intermediates/classes-full-debug.jar" belong to? There's only 1 project with "mms" in its name and that's "CyanogenMod/android_frameworks_opt_mms", which I have already added to local_manifest.xml.
2.) How can I find out more about the dependencies between the projects? What's safe to remove?

[ROM][5.1.1][K920]Resurrection-Remix-LP-v5.5.9 for Lenovo Vibe Z2 Pro ROW

Unofficial build of CyanogenMod 12.1 for international Lenovo Vibe Z2 Pro ROW (K920)
DOWNLOAD
https://drive.google.com/file/d/0B9HNYIRzOAs4NExOOWkyRXB4d2M/view?usp=sharing
Google+ community
known bugs:
- HDR in Camera app not working
- flip cover not supported yet
- your TWRP may be replaced with Cyanogen recovery, DO NOT USE CYANOGEN RECOVERY to install anything for now! just reinstall TWRP from running CyanogenMod or in fastboot mode
- i had to "Format DATA" in recovery to be able to install this. it will delete everything from your phone so make a backup first if it's needed
kernel source: https://github.com/frantisheq/androi...lenovo_msm8974
local_manifest.xml
HTML:
Quote:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="frantisheq/android_device_lenovo_kingdom_row" path="device/lenovo/kingdom_row" remote="github" revision="cyanogenmod-cm-12.1" />
<project name="frantisheq/android_kernel_lenovo_msm8974" path="kernel/lenovo/msm8974" remote="github" revision="cm-12.1" />
<project name="frantisheq/proprietary_vendor_lenovo" path="vendor/lenovo" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_hardware_qcom_fm" path="hardware/qcom/fm" remote="github" revision="cm-12.1" /></manifest>
[email protected]
What new in this rom?

Building custom Lineage rom [Guide needed]

Hey guys, so at its root, it's a common question that has many answers and posts already, but I'm still kinda lost on how one would build for a device that you can't just run "breakfast" on, like our Honor8.
There are things like:
https://forum.xda-developers.com/showthread.php?t=2320007
https://cohaolain.wordpress.com/2017/01/07/building-lineageos-14-1-with-specifics-for-the-oneplus-3/
and many many more that explain how to get the android base repo setup, and that's as far as I am now. I've already done repo sync for android, but now it's down to the device specifics.
https://forum.xda-developers.com/honor-8/development/rom-t3500171
and
https://forum.xda-developers.com/honor-8/development/rom-t3521731
have the sources for Huawei-Dev for the device tree, but where do you tie that into everything?
I had a problem with 14.1, so I had to go with 14.0, so I KNOW there will be issues in the end result. Since I'm going to be mixing 14.0 and 14.1 together. I'm not too worried about that, I'm just trying to learn how the overall compilation actually works or atleast have the guide in mind for how
In that WP link I provided, they mentioned for OnePlus to do a "roomservice.xml" and then a subsequent repo sync. So my guess would be that I my setup would be along the following lines:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Huawei-Dev/android_vendor_huawei_frd" path="vendor/honor8" remote="github" revision="7.1.1" />
<project name="Huawei-Dev/android_device_huawei_frd" path="device/honor8/honor8" remote="github" revision="cm-14.1" />
<project name="Huawei-Dev/android_kernel_huawei_frd" path="kernel/honor8/kirin950" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_external_stlport" path="external/stlport" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_vendor_nxp-nfc_opensource_Nfc" path="vendor/nxp-nfc/opensource/Nfc" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_vendor_nxp-nfc_opensource_frameworks" path="vendor/nxp-nfc/opensource/frameworks" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_vendor_nxp-nfc_opensource_libnfc-n:ci" path="vendor/nxp-nfc/opensource/libnfc-nci" remote="github" revision="cm-14.1" />
</manifest>
After that would come another repo sync to get those paths downloaded, then I guess I do lunch and brunch?
Okay, so i've ended with this
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Huawei-Dev/android_vendor_huawei_frd" path="vendor/huawei" remote="github" revision="7.1.1" />
<project name="Huawei-Dev/android_device_huawei_frd" path="device/huawei/frd" remote="github" revision="cm-14.1" />
<project name="Huawei-Dev/android_kernel_huawei_frd" path="kernel/huawei/kirin950" remote="github" revision="7.1.1" />
<project name="LineageOS/android_external_stlport" path="external/stlport" remote="github" revision="cm-14.1" />
</manifest>
for the roomservice.xml
now i went ahead and did "breakfast frd" and then did "mka". But I get the following:
Checking build tools versions...
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/deqp/Android.mk: libdeqp: Unused source files: \
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
build/core/binary.mk:1253: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc
./external/speex/Android.mk:56: TODOArm64: enable neon in libspeex
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
find: `/home/tim/CM14.1/android/system/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates': No such file or directory
build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets
build/core/base_rules.mk:183: *** system/core/rootdir: MODULE.TARGET.ETC.init.rc already defined by device/huawei/frd/rootdir.
build/core/ninja.mk:166: recipe for target '/home/tim/CM14.1/android/system/out/build-cm_frd.ninja' failed
make: *** [/home/tim/CM14.1/android/system/out/build-cm_frd.ninja] Error 1
make: Leaving directory '/home/tim/CM14.1/android/system'
#### make failed to build some targets (19 seconds) ####
Hate to bump, but does anyone have any ideas or input on what i may be doing wrong?
uaktags said:
Hate to bump, but does anyone have any ideas or input on what i may be doing wrong?
Click to expand...
Click to collapse
I'm not building for our Honor 8, but maybe the following will help.
1) I've never had much luck with ninja. The following is what I use to disable ninja and build for the OnePlus One.
cd android/system
repo sync
. build/envsetup.sh
export USE_NINJA=false
./prebuilts/sdk/tools/jack-admin kill-server
export ANDROID_JACK_VM_ARGS="-Xmx5g -Dfile.encoding=UTF-8 -XX:+TieredCompilation"
JACK_SERVER_VM_ARGUMENTS="-Xmx5g -Dfile.encoding=UTF-8 -XX:+TieredCompilation" ./prebuilts/sdk/tools/jack-admin start-server
brunch bacon
2) I have not explored the github for Huawei stuff, but again, here is the roomservice.xml that works for the OnePlus One. Maybe you can compare this with yours for the Honor8 and determine if some resources are missing.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="LineageOS/android_device_oneplus_bacon" path="device/oneplus/bacon" remote="github" />
<project name="LineageOS/android_device_oppo_common" path="device/oppo/common" remote="github" />
<project name="LineageOS/android_kernel_oneplus_msm8974" path="kernel/oneplus/msm8974" remote="github" />
<project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
</manifest>
take a look at cm.dependencies (https://github.com/Huawei-Dev/android_device_huawei_frd/blob/7.1.1/cm.dependencies) and add those three to your room service file as well. I haven't tried to build with the cm14 trees, but I do know the cm13 trees were in a buildable state two months ago.
anks329 said:
take a look at cm.dependencies (https://github.com/Huawei-Dev/android_device_huawei_frd/blob/7.1.1/cm.dependencies) and add those three to your room service file as well. I haven't tried to build with the cm14 trees, but I do know the cm13 trees were in a buildable state two months ago.
Click to expand...
Click to collapse
Thanks, I'll take a look and see if I can apply your two posts.

Categories

Resources