[ROM][6.0.1] AOSP-CAF - OnePlus2 [26/09]

Men_in_black007

Inactive Recognized Contributor
Apr 18, 2013
813
2,185
0
Delhi
AOSP-CAF 6.0.1 for OnePlus 2


Code:
/*
 * Your warranty is now maybe void.
 *
 * We are not responsible for bricked devices, dead SD cards, thermonuclear
 * war, or you getting fired because the alarm app failed. Please do some
 * research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.
 *
 */
What's AOSP ?
AOSP is Android as Google publish without other modifications. More or less AOSP is the Nexus devices stock rom without gapps.
We added few non-AOSP features for a better user experience and we NOT going to add something other.

What's CodeAurora Forums ?
Code Aurora Forum (CAF) is a consortium of companies with projects serving the mobile wireless industry. Software projects it concerns itself with are e.g. Android for MSM, Femto Linux Project, LLVM, MSM WLAN and Linux-MSM. Code Aurora is basically AOSP plus all Qualcomm specific enhancements and optimization.

Few basic additions on top of AOSP-CAF :
AOSP Messaging app
Bluetooth "Accept All Files" Feature
"Silent" and "Airplane Mode" in Power Menu
Marshamllow Bootanimation
Custom Hardware Keys binding
Reintroduce button-backlight
Notification Slider

Working/Not Working:

Working
Almost everything

Not Working
You tell me with logcats & ksmg.

Installation
-Read Everything Carefully
-Download Rom, GAPPS & SuperSU (in case you need root)
-Boot Into TWRP
-Wipe cache/dalvikcache/system/data
-Flash Rom, GAPPS & SuperSU (in case you need root)
-Reboot to System
-Have Fun!!!

Downloads
Grab it from here
Recommended GAPPS: Open GAPPS

Source
AOSP-CAF Source
Device Sources
Kernel Sources

Credits:
- CodeAurora Forums
- CyanogenMod Team
- @Men_in_black007
- @TechExhibeo
- @martinusbe
- @theonlykamph and @Ravinder0003 for testing :)


XDA:DevDB Information
AOSP-CAF - OnePlus2, ROM for the OnePlus 2

Contributors
Men_in_black007, martinusbe
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Unlocked Bootloader

Version Information
Status: Stable

Created 2016-05-26
Last Updated 2016-09-26
 

inzaghi75

Senior Member
Oct 25, 2009
3,573
1,765
113
Purity is cm based

Gesendet von meinem ONE A2003 mit Tapatalk

---------- Post added at 05:15 PM ---------- Previous post was at 04:23 PM ----------

Is it possible to get another link?

Gesendet von meinem unknown mit Tapatalk
 

Mohit31

Senior Member
Apr 14, 2015
1,223
673
0
Great.. Thanks for the ROM
Will surely give this a try
Btw anyone already tried the ROM ?
A feedback would be great
Edit: Maybe a silly question but will layer work with this ROM ?
Thanks
 
Last edited:

casual_kikoo

Senior Member
Nov 25, 2014
1,037
1,090
113
Paris, France
@Men_in_black007 when trying to build from your sources, I go this error
Code:
make: *** No rule to make target '/home/theob/aosp/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.internal_intermediates/classes.jack', needed by '/home/theob/aosp/out/target/common/obj/APPS/ConfigPanel_intermediates/with-local/classes.dex'.  Stop.
more log here...

Code:
Export includes file: hardware/libhardware_legacy/Android.mk -- /home/theob/aosp/out/target/product/oneplus2/obj_arm/SHARED_LIBRARIES/libpower_intermediates/export_includes
Export includes file: external/tinyxml2/Android.mk -- /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libtinyxml2_intermediates/export_includes
Export includes file: system/bt/embdrv/sbc/decoder/Android.mk -- /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libbt-qcom_sbc_decoder_intermediates/export_includes
Export includes file: system/bt/bta/Android.mk -- /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libbt-brcm_bta_intermediates/export_includes
Export includes file: system/bt/gki/Android.mk -- /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libbt-brcm_gki_intermediates/export_includes
Export includes file: system/bt/stack/Android.mk -- /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libbt-brcm_stack_intermediates/export_includes
Export includes file: system/bt/device/Android.mk -- /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libbtdevice_intermediates/export_includes
Export includes file: system/bt/hci/Android.mk -- /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libbt-hci_intermediates/export_includes
Export includes file: system/bt/utils/Android.mk -- /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libbt-utils_intermediates/export_includes
Export includes file: system/bt/btcore/Android.mk -- /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libbtcore_intermediates/export_includes
Export includes file: system/bt/osi/Android.mk -- /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libosi_intermediates/export_includes
Import includes file: /home/theob/aosp/out/target/product/oneplus2/obj_arm/SHARED_LIBRARIES/libpower_intermediates/import_includes
Import includes file: /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libtinyxml2_intermediates/import_includes
Import includes file: /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libbt-qcom_sbc_decoder_intermediates/import_includes
Import includes file: /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libbt-brcm_bta_intermediates/import_includes
Import includes file: /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libbt-brcm_gki_intermediates/import_includes
Import includes file: /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libbt-brcm_stack_intermediates/import_includes
Import includes file: /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libbtdevice_intermediates/import_includes
Import includes file: /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libbt-hci_intermediates/import_includes
Import includes file: /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libbt-utils_intermediates/import_includes
Import includes file: /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libbtcore_intermediates/import_includes
Import includes file: /home/theob/aosp/out/target/product/oneplus2/obj_arm/STATIC_LIBRARIES/libosi_intermediates/import_includes
Export includes file: system/bt/main/Android.mk -- /home/theob/aosp/out/target/product/oneplus2/obj_arm/SHARED_LIBRARIES/bluetooth.default_intermediates/export_includes
Import includes file: /home/theob/aosp/out/target/product/oneplus2/obj_arm/SHARED_LIBRARIES/libbt-vendor_intermediates/import_includes
Export includes file: hardware/qcom/bt-caf/libbt-vendor/Android.mk -- /home/theob/aosp/out/target/product/oneplus2/obj_arm/SHARED_LIBRARIES/libbt-vendor_intermediates/export_includes
Notice file: hardware/qcom/bt-caf/libbt-vendor/NOTICE -- /home/theob/aosp/out/target/product/oneplus2/obj/NOTICE_FILES/src//system/vendor/lib/libbt-vendor.so.txt
Notice file: hardware/libhardware_legacy/NOTICE -- /home/theob/aosp/out/target/product/oneplus2/obj/NOTICE_FILES/src//system/lib/libpower.so.txt
Notice file: packages/apps/Calendar/NOTICE -- /home/theob/aosp/out/target/product/oneplus2/obj/NOTICE_FILES/src//system/app/Calendar/Calendar.apk.txt
Import includes file: /home/theob/aosp/out/target/product/oneplus2/obj/SHARED_LIBRARIES/libjni_tinyplanet_intermediates/import_includes
Export includes file: packages/apps/Camera2/jni/Android.mk -- /home/theob/aosp/out/target/product/oneplus2/obj/SHARED_LIBRARIES/libjni_tinyplanet_intermediates/export_includes
Notice file: packages/apps/Camera2/jni/NOTICE -- /home/theob/aosp/out/target/product/oneplus2/obj/NOTICE_FILES/src//system/lib64/libjni_tinyplanet.so.txt
Export includes file: external/jpeg/Android.mk -- /home/theob/aosp/out/target/product/oneplus2/obj/SHARED_LIBRARIES/libjpeg_intermediates/export_includes
Import includes file: /home/theob/aosp/out/target/product/oneplus2/obj/STATIC_LIBRARIES/libjpeg_static_intermediates/import_includes
Export includes file: external/jpeg/Android.mk -- /home/theob/aosp/out/target/product/oneplus2/obj/STATIC_LIBRARIES/libjpeg_static_intermediates/export_includes
Export includes file: packages/apps/Camera2/jni/Android.mk -- /home/theob/aosp/out/target/product/oneplus2/obj/SHARED_LIBRARIES/libjni_jpegutil_intermediates/export_includes
Notice file: packages/apps/Camera2/jni/NOTICE -- /home/theob/aosp/out/target/product/oneplus2/obj/NOTICE_FILES/src//system/lib64/libjni_jpegutil.so.txt
Notice file: external/jpeg/NOTICE -- /home/theob/aosp/out/target/product/oneplus2/obj/NOTICE_FILES/src//system/lib64/libjpeg.so.txt
[COLOR="Red"]make: *** No rule to make target '/home/theob/aosp/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.internal_intermediates/classes.jack', needed by '/home/theob/aosp/out/target/common/obj/APPS/ConfigPanel_intermediates/with-local/classes.dex'.  Stop.[/COLOR]
make: *** Waiting for unfinished jobs....
Notice file: packages/apps/CertInstaller/NOTICE -- /home/theob/aosp/out/target/product/oneplus2/obj/NOTICE_FILES/src//system/app/CertInstaller/CertInstaller.apk.txt

Here my roomservice.xml :
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="Meninblack007/android_device_oneplus_oneplus2" path="device/oneplus/oneplus2" remote="github" revision="mm6.0" />
  <project name="CyanogenMod/android_kernel_oneplus_msm8994" path="kernel/oneplus/msm8994" remote="github" revision="cm-13.0" />
  <project name="TheMuppets/proprietary_vendor_oneplus" path="vendor/oneplus" remote="github" revision="cm-13.0" />
  <project name="AOSP-CAF/platform_vendor_aosp" path="platform/vendor/aosp" remote="github" revision="mm6.0" />
  <project name="CyanogenMod/android_external_stlport" path="external/stlport" remote="github" revision="cm-13.0" />
  <project name="CyanogenMod/android_external_sony_boringssl-compat" path="external/sony/boringssl-compat" remote="github" revision="cm-13.0" />
  <project name="CyanogenMod/android_prebuilts_cmsdk" path="prebuilts" remote="github" revision="master" />
  <project name="Seraph08/android_device_oppo_common" path="device/oppo/common" remote="github" revision="cm-13.0" />
  <project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-13.0" />
</manifest>
Could you help me please :) ?