4 Commits
bka ... udc

Author SHA1 Message Date
987f1111c3 kebab: Initialize for Evolution X 9.x
Signed-off-by: AnierinB <anierin@evolution-x.org>
2024-12-11 09:34:36 -05:00
LuK1337
642b775960 kebab: Update from OOS 14.0.0.603(EX01)
Change-Id: I59bb9dae027723cfeecbcea065e1c96f763ff53a
2024-11-27 19:06:14 +01:00
LuK1337
b68f8a7523 kebab: Add bu52053nvx sensor config
Change-Id: I984bb04fdf9087602fc7f770f8b0a8fba2c09f9a
2024-11-27 19:06:14 +01:00
LuK1337
97049d0932 kebab: Update from OOS 14.0.0.602(EX01)
Change-Id: I238b675634e6411bfe474ae1beff903936a091b2
2024-11-09 21:01:48 +01:00
10 changed files with 77 additions and 45 deletions

7
Android.mk Normal file
View File

@@ -0,0 +1,7 @@
#
# Copyright (C) 2018 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
LOCAL_PATH := $(call my-dir)

View File

@@ -19,7 +19,7 @@ DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Partitions
ifeq (,$(filter true, $(WITHOUT_RESERVED_SIZE) $(WITH_GMS)))
ifneq ($(WITH_GMS),true)
BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE := 900000000
endif
BOARD_ONEPLUS_DYNAMIC_PARTITIONS_SIZE := 7511998464

View File

@@ -1,13 +1,13 @@
[
{
"repository" : "device_oneplus_sm8250-common",
"branch" : "bka",
"branch" : "udc",
"target_path" : "device/oneplus/sm8250-common"
},
{
"remote" : "github",
"repository" : "TheMuppets/proprietary_vendor_oneplus_kebab",
"branch" : "lineage-23.0",
"branch" : "lineage-21",
"target_path" : "vendor/oneplus/kebab"
}
]

View File

@@ -1,26 +0,0 @@
#!/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()

21
extract-files.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/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" "$@"

View File

@@ -6,7 +6,6 @@
# 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
@@ -21,12 +20,14 @@ 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 += \
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
PRIVATE_BUILD_DESC="OnePlus8T-user 14 UKQ1.230924.001 R.1a46c89-1_1 release-keys" \
TARGET_DEVICE=$(PRODUCT_SYSTEM_DEVICE) \
TARGET_PRODUCT=$(PRODUCT_SYSTEM_NAME)
BUILD_FINGERPRINT := OnePlus/OnePlus8T/OnePlus8T:14/UKQ1.230924.001/R.1a46c89-1_1:user/release-keys

View File

@@ -8,10 +8,6 @@
<!-- 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>

View File

@@ -1 +0,0 @@
#!./extract-files.py --regenerate_makefiles

21
setup-makefiles.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/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" "$@"

View File

@@ -1,23 +1,36 @@
/*
* SPDX-FileCopyrightText: 2025 The LineageOS Project
* SPDX-License-Identifier: Apache-2.0
* 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.
*/
#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