Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
94bd81b2d2 | ||
|
|
f52d4dc703 | ||
|
|
3df99291f0 | ||
|
|
b1fc185bf6 | ||
|
|
44ae3a7562 | ||
|
|
f4888b4cbf | ||
|
|
845173ec77 | ||
|
|
c687624452 | ||
|
|
7d11bbbedc | ||
|
|
fc9d3ce245 | ||
|
|
60c1b6fc80 | ||
|
|
a55f64dbbf | ||
|
|
3e7141117f | ||
|
|
28b8a14ff0 | ||
|
|
649ab3dcbb |
@@ -1,7 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2018 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
@@ -19,10 +19,10 @@ DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
|
||||
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
|
||||
|
||||
# Partitions
|
||||
ifneq ($(WITH_GMS),true)
|
||||
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE := 900000000
|
||||
ifeq (,$(filter true, $(WITHOUT_RESERVED_SIZE) $(WITH_GMS)))
|
||||
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE := 840000000
|
||||
endif
|
||||
BOARD_ONEPLUS_DYNAMIC_PARTITIONS_SIZE := 3753902080
|
||||
BOARD_ONEPLUS_DYNAMIC_PARTITIONS_SIZE := 7511998464
|
||||
BOARD_SUPER_PARTITION_SIZE := 7516192768
|
||||
|
||||
# Recovery
|
||||
|
||||
@@ -32,7 +32,8 @@ $(call soong_config_set,OPLUS_LINEAGE_LIVEDISPLAY_HAL,ENABLE_SE,false)
|
||||
|
||||
# Overlays
|
||||
DEVICE_PACKAGE_OVERLAYS += \
|
||||
$(LOCAL_PATH)/overlay-lineage
|
||||
$(LOCAL_PATH)/overlay-lineage \
|
||||
$(LOCAL_PATH)/overlay-evolution
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
OPlusFrameworksResTarget \
|
||||
|
||||
13
evolution.dependencies
Normal file
13
evolution.dependencies
Normal file
@@ -0,0 +1,13 @@
|
||||
[
|
||||
{
|
||||
"repository" : "device_oneplus_sm8250-common",
|
||||
"branch" : "bka",
|
||||
"target_path" : "device/oneplus/sm8250-common"
|
||||
},
|
||||
{
|
||||
"remote" : "github",
|
||||
"repository" : "TheMuppets/proprietary_vendor_oneplus_kebab",
|
||||
"branch" : "lineage-23.0",
|
||||
"target_path" : "vendor/oneplus/kebab"
|
||||
}
|
||||
]
|
||||
26
extract-files.py
Executable file
26
extract-files.py
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env -S PYTHONPATH=../../../tools/extract-utils python3
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2024 The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
from extract_utils.main import (
|
||||
ExtractUtils,
|
||||
ExtractUtilsModule,
|
||||
)
|
||||
|
||||
namespace_imports = [
|
||||
'vendor/oneplus/sm8250-common',
|
||||
]
|
||||
|
||||
module = ExtractUtilsModule(
|
||||
'kebab',
|
||||
'oneplus',
|
||||
namespace_imports=namespace_imports,
|
||||
)
|
||||
|
||||
if __name__ == '__main__':
|
||||
utils = ExtractUtils.device_with_common(
|
||||
module, 'sm8250-common', module.vendor
|
||||
)
|
||||
utils.run()
|
||||
@@ -1,21 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
|
||||
# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# If we're being sourced by the common script that we called,
|
||||
# stop right here. No need to go down the rabbit hole.
|
||||
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
export DEVICE=kebab
|
||||
export DEVICE_COMMON=sm8250-common
|
||||
export VENDOR=oneplus
|
||||
export VENDOR_COMMON=${VENDOR}
|
||||
|
||||
"./../../${VENDOR_COMMON}/${DEVICE_COMMON}/extract-files.sh" "$@"
|
||||
@@ -1,6 +0,0 @@
|
||||
[
|
||||
{
|
||||
"repository": "android_device_oneplus_sm8250-common",
|
||||
"target_path": "device/oneplus/sm8250-common"
|
||||
}
|
||||
]
|
||||
@@ -6,12 +6,13 @@
|
||||
|
||||
# Inherit from those products. Most specific first.
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||
TARGET_SUPPORTS_OMX_SERVICE := false
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
||||
|
||||
# Inherit from kebab device
|
||||
$(call inherit-product, device/oneplus/kebab/device.mk)
|
||||
|
||||
# Inherit some common Lineage stuff.
|
||||
# Inherit some common Evolution X stuff.
|
||||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
||||
|
||||
PRODUCT_NAME := lineage_kebab
|
||||
@@ -20,14 +21,12 @@ PRODUCT_MANUFACTURER := OnePlus
|
||||
PRODUCT_BRAND := OnePlus
|
||||
PRODUCT_MODEL := KB2005
|
||||
|
||||
PRODUCT_SYSTEM_NAME := OnePlus8T
|
||||
PRODUCT_SYSTEM_DEVICE := OnePlus8T
|
||||
|
||||
PRODUCT_GMS_CLIENTID_BASE := android-oneplus
|
||||
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
PRIVATE_BUILD_DESC="OnePlus8T-user 14 UKQ1.230924.001 R.1887f28-81d9-81db release-keys" \
|
||||
TARGET_DEVICE=$(PRODUCT_SYSTEM_DEVICE) \
|
||||
TARGET_PRODUCT=$(PRODUCT_SYSTEM_NAME)
|
||||
|
||||
BUILD_FINGERPRINT := OnePlus/OnePlus8T/OnePlus8T:14/UKQ1.230924.001/R.1887f28-81d9-81db:user/release-keys
|
||||
BuildDesc="OnePlus8T-user 14 UKQ1.230924.001 R.1a46c89-1_1 release-keys" \
|
||||
BuildFingerprint=OnePlus/OnePlus8T/OnePlus8T:14/UKQ1.230924.001/R.1a46c89-1_1:user/release-keys \
|
||||
DeviceName=OnePlus8T \
|
||||
DeviceProduct=OnePlus8T \
|
||||
SystemDevice=OnePlus8T \
|
||||
SystemName=OnePlus8T
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2019-2024 The Evolution X Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- Android version screen, build maintainer -->
|
||||
<string name="build_maintainer_summary" translatable="false">Manidweep</string>
|
||||
<string name="build_maintainer_donate_url" translatable="false">https://www.paypal.me/manidreddy1</string>
|
||||
</resources>
|
||||
@@ -15,8 +15,8 @@
|
||||
with a power meter. -->
|
||||
<item name="none">0</item>
|
||||
<item name="ambient on">35</item>
|
||||
<item name="screen.on">97</item> <!-- ~200mA -->
|
||||
<item name="screen.full">222</item> <!-- ~300mA -->
|
||||
<item name="screen.on.display0">97</item> <!-- ~200mA -->
|
||||
<item name="screen.full.display0">222</item> <!-- ~300mA -->
|
||||
<item name="bluetooth.active">46</item> <!-- Bluetooth data transfer, ~10mA -->
|
||||
<item name="bluetooth.on">1.7</item> <!-- Bluetooth on & connectable, but not connected, ~0.1mA -->
|
||||
<item name="wifi.on">1.8</item> <!-- ~3mA -->
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
<!-- Allow CornerHandleView and PathSpecCornerPathRenderer to decouple from corner-radius -->
|
||||
<dimen name="config_rounded_mask_size">97px</dimen>
|
||||
|
||||
<!-- Microns/ums (1000 um = 1mm) per pixel for the given device. If unspecified, UI that
|
||||
relies on this value will not be sized correctly. -->
|
||||
<item name="pixel_pitch" format="float" type="dimen">63.22</item>
|
||||
|
||||
<!-- the padding on the start of the statusbar -->
|
||||
<dimen name="status_bar_padding_start">0px</dimen>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
## All proprietary files from this list, unless pinned and noted otherwise, are
|
||||
## from OnePlus 8T (KB2005_14.0.0.601(EX01)).
|
||||
## from OnePlus 8T (KB2005_14.0.0.603(EX01)).
|
||||
|
||||
# ACDB
|
||||
odm/etc/acdbdata/Audio_Parameter_Version.txt
|
||||
@@ -106,6 +106,7 @@ odm/etc/sensor/config/kona_T0_sx9324up_0.json
|
||||
odm/etc/sensor/config/kona_ak991x_0.json
|
||||
odm/etc/sensor/config/kona_bmi26x_0.json
|
||||
odm/etc/sensor/config/kona_bmp380_0.json
|
||||
odm/etc/sensor/config/kona_bu52053nvx_0.json
|
||||
odm/etc/sensor/config/kona_mmc5603x_0.json
|
||||
odm/etc/sensor/config/kona_qrd_alsps.json
|
||||
odm/etc/sensor/config/kona_qrd_bmi26x_0.json
|
||||
|
||||
1
setup-makefiles.py
Executable file
1
setup-makefiles.py
Executable file
@@ -0,0 +1 @@
|
||||
#!./extract-files.py --regenerate_makefiles
|
||||
@@ -1,21 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
|
||||
# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# If we're being sourced by the common script that we called,
|
||||
# stop right here. No need to go down the rabbit hole.
|
||||
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
export DEVICE=kebab
|
||||
export DEVICE_COMMON=sm8250-common
|
||||
export VENDOR=oneplus
|
||||
export VENDOR_COMMON=${VENDOR}
|
||||
|
||||
"./../../${VENDOR_COMMON}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"
|
||||
@@ -1,36 +1,23 @@
|
||||
/*
|
||||
* Copyright (C) 2022 The LineageOS 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.
|
||||
* SPDX-FileCopyrightText: 2025 The LineageOS Project
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "TouchscreenGesture.h"
|
||||
|
||||
namespace aidl {
|
||||
namespace vendor {
|
||||
namespace lineage {
|
||||
namespace touch {
|
||||
namespace V1_0 {
|
||||
namespace implementation {
|
||||
|
||||
const int TouchscreenGesture::kSupportedGestures = makeBitField(
|
||||
kGestureUpVee, kGestureLeftVee, kGestureRightVee, kGestureCircle, kGestureDoubleSwipe,
|
||||
kGestureLeftToRight, kGestureRightToLeft, kGestureUpToDown, kGestureDownToUp, kGestureM,
|
||||
kGestureW, kGestureSingleTap, kGestureS);
|
||||
|
||||
} // namespace implementation
|
||||
} // namespace V1_0
|
||||
} // namespace touch
|
||||
} // namespace lineage
|
||||
} // namespace vendor
|
||||
} // namespace aidl
|
||||
|
||||
Reference in New Issue
Block a user