Skip to content

Commit

Permalink
oneplus3: AICP-ify
Browse files Browse the repository at this point in the history
  • Loading branch information
SaatvikShukla committed Jan 19, 2017
1 parent b81cedd commit 58bcff5
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 71 deletions.
2 changes: 1 addition & 1 deletion BoardConfig.mk
Expand Up @@ -31,7 +31,7 @@ PLATFORM_PATH := device/oneplus/oneplus3
TARGET_SPECIFIC_HEADER_PATH := $(PLATFORM_PATH)/include

BOARD_VENDOR := oneplus

BOARD_HAVE_QCOM_FM := true
# Use Snapdragon LLVM, if available
TARGET_USE_SDCLANG := true

Expand Down
48 changes: 48 additions & 0 deletions aicp.dependencies
@@ -0,0 +1,48 @@
[
{
"repository": "AICP/device_oppo_common",
"target_path": "device/oppo/common",
"branch": "n7.1"
},
{
"repository": "LineageOS/android_kernel_oneplus_msm8996",
"target_path": "kernel/oneplus/msm8996",
"branch": "cm-14.1"
},
{
"repository": "LineageOS/android_packages_resources_devicesettings",
"target_path": "packages/resources/devicesettings",
"branch" : "cm-14.1"
},
{
"repository": "LineageOS/android_vendor_nxp-nfc_opensource_frameworks",
"target_path": "vendor/nxp-nfc/opensource/frameworks",
"branch": "cm-14.1"
},
{
"repository": "LineageOS/android_vendor_nxp-nfc_opensource_libnfc-nci",
"target_path": "vendor/nxp-nfc/opensource/libnfc-nci",
"branch": "cm-14.1"
},
{
"repository": "LineageOS/android_vendor_nxp-nfc_opensource_Nfc",
"target_path": "vendor/nxp-nfc/opensource/Nfc",
"branch": "cm-14.1"
},
{
"repository": "TheMuppets/proprietary_vendor_qcom_binaries",
"target_path": "vendor/qcom/binaries",
"branch": "cm-14.1"
},
{
"repository": "LineageOS/android_device_qcom_common",
"target_path": "device/qcom/common",
"branch": "cm-14.1"
},
{
"repository": "AICP/proprietary_vendor_oneplus",
"target_path": "vendor/oneplus",
"branch": "n7.1"
}
]

2 changes: 1 addition & 1 deletion init/init_oneplus3.cpp
Expand Up @@ -93,7 +93,7 @@ void vendor_load_properties() {
char rf_version[PROP_VALUE_MAX];
int rc;

rc = property_get("ro.cm.device", device, NULL);
rc = property_get("ro.aicp.device", device, NULL);
if (!rc || strncmp(device, "oneplus3", PROP_VALUE_MAX))
return;

Expand Down
26 changes: 0 additions & 26 deletions lineage.dependencies

This file was deleted.

43 changes: 0 additions & 43 deletions lineage.mk

This file was deleted.

8 changes: 8 additions & 0 deletions system.prop
Expand Up @@ -137,3 +137,11 @@ persist.timed.enable=true

# Wifi
wifi.interface=wlan0

# Hardware Info
ro.device.chipset=Qualcomm MSM8996 Snapdragon 820
ro.device.cpu=Quad-core (2x2.15 GHz Kryo & 2x1.6 GHz Kryo)
ro.device.gpu=Adreno 530
ro.device.rear_cam=16 MP
ro.device.front_cam=8 MP
ro.device.screen_res=1080 x 1920

0 comments on commit 58bcff5

Please sign in to comment.