Commit 1bcbd552 authored by SnowCatPDA's avatar SnowCatPDA
Browse files

ADD android 7 basicsupport - not tested

parent 3e6517d6
Loading
Loading
Loading
Loading
+2 −20
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@ CUSTOM_HAL_CAM_CAL = dummy_eeprom
CUSTOM_HAL_COMBO = mt6735
CUSTOM_HAL_EEPROM = dummy_eeprom
CUSTOM_HAL_FLASHLIGHT = constant_flashlight
#CUSTOM_HAL_IMGSENSOR = ov5648_mipi_raw ov2680_mipi_raw gc2355_mipi_raw sp5409_mipi_raw hi551_mipi_raw s5k5e2ya_mipi_raw
CUSTOM_HAL_IMGSENSOR = gc2355_mipi_raw s5k5e2ya_mipi_raw
CUSTOM_HAL_LENS = fm50af dummy_lens
CUSTOM_HAL_MAIN2_IMGSENSOR =
@@ -182,28 +181,11 @@ MTK_BRAZIL_CUSTOMIZATION_CLARO = no
MTK_BRAZIL_CUSTOMIZATION_TIM = no
MTK_BRAZIL_CUSTOMIZATION_VIVO = no
MTK_BSP_PACKAGE = no
MTK_BT_21_SUPPORT = yes
MTK_BT_30_HS_SUPPORT = no
MTK_BT_30_SUPPORT = yes
MTK_BT_40_LE_STANDALONE = no
MTK_BT_40_SUPPORT = yes
MTK_BT_BLE_MANAGER_SUPPORT = no
MTK_BT_BLUEDROID_A2DP_APTX = no
MTK_BT_BLUEDROID_AVRCP_TG_15 = yes
MTK_BT_BLUEDROID_HFP_AG_17 = yes
MTK_BT_BLUEDROID_AVRCP_TG_15 = no
MTK_BT_BLUEDROID_HFP_AG_17 = no
MTK_BT_BLUEDROID_PLUS = yes
MTK_BT_CHIP = MTK_CONSYS_MT6735
MTK_BT_FM_OVER_BT_VIA_CONTROLLER = no
MTK_BT_POWER_EFFICIENCY_ENHANCEMENT = yes
MTK_BT_PROFILE_BIP = no
MTK_BT_PROFILE_BPP = no
MTK_BT_PROFILE_DUN = no
MTK_BT_PROFILE_FTP = no
MTK_BT_PROFILE_MAPC = no
MTK_BT_PROFILE_MAPS = no
MTK_BT_PROFILE_PRXM = no
MTK_BT_PROFILE_PRXR = no
MTK_BT_PROFILE_SIMAP = no
MTK_BT_SUPPORT = yes
MTK_BUFFER_COMPRESSION_SUPPORT = no
MTK_BWC_SUPPORT = yes
+9 −2
Original line number Diff line number Diff line
@@ -4,17 +4,24 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
# Detect android compile version
ifneq (, $(filter 5.%, $(PLATFORM_VERSION)))
THIS_ANDROID_VERSION :=5x
THIS_BUILD_VERSION=R1.32
LINUX_KERNEL_VERSION = kernel-3.10
endif
ifneq (, $(filter 6.%, $(PLATFORM_VERSION)))
THIS_ANDROID_VERSION :=6x
THIS_BUILD_VERSION=R2.133
LINUX_KERNEL_VERSION = kernel-3.18
endif
ifneq (, $(filter 7.%, $(PLATFORM_VERSION)))
THIS_ANDROID_VERSION :=7x
THIS_BUILD_VERSION=N0-PRE.A
LINUX_KERNEL_VERSION = kernel-3.18
endif

ifeq (yes,$(MTK_K64_SUPPORT))
MTK_BUILD_VERNO = DOOGEE-X5pro-Android$(PLATFORM_VERSION)-R2.133x64
MTK_BUILD_VERNO = DOOGEE-X5pro-Android$(PLATFORM_VERSION)-$(THIS_BUILD_VERSION)x64
else
MTK_BUILD_VERNO = DOOGEE-X5pro-Android$(PLATFORM_VERSION)-R2.133x32
MTK_BUILD_VERNO = DOOGEE-X5pro-Android$(PLATFORM_VERSION)-$(THIS_BUILD_VERSION)x32
endif

# Set target and base project for flavor build
+25 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
          http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<!-- This is the standard set of features for an camera. -->
<permissions>
    <feature name="android.hardware.camera" />
    <!-- unmark following line if the hardware supports autofocus -->
    <feature name="android.hardware.camera.autofocus" />
    <feature name="android.hardware.camera.flash" />
    <feature name="android.hardware.camera.front" />
    <feature name="android.hardware.camera.any" />
</permissions>
+20 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
          http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<!-- This is the standard feature indicating that the device includes microphone. -->
<permissions>
    <feature name="android.hardware.microphone" />
</permissions>
+21 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
          http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<!-- This is the standard set of telephony features for a GSM phone. -->
<permissions>
    <feature name="android.hardware.telephony" />
    <feature name="android.hardware.telephony.gsm" />
</permissions>
Loading