12 Commits
udc ... bka

Author SHA1 Message Date
Manidweep
b3dbd17263 lemonades: Initialize for Evolution X 11.x 2025-10-13 22:15:43 -04:00
Bruno Martins
a0fcc17829 lemonades: Switch to Touch AIDL
Change-Id: I92a19fedb9ea482616c2e3d550e30b69d2a3a5c7
2025-06-06 20:59:15 +00:00
LuK1337
b0e3492350 lemonades: Support WITHOUT_RESERVED_SIZE=true
Test: WITHOUT_RESERVED_SIZE=true \
      get_build_var BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE
Test: WITH_GMS=true \
      get_build_var BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE
Test: WITHOUT_RESERVED_SIZE=true WITH_GMS=true \
      get_build_var BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE
Test: get_build_var BOARD_PRODUCTIMAGE_PARTITION_RESERVED_SIZE
Change-Id: I66a658cb36868cc0aae433aa918ea94e9c5f45ad
2025-05-27 21:48:25 +02:00
Michael Bestas
7908ab3eb8 lemonades: Disable OMX service
Change-Id: I5381e098af64271f9d71c484262e1710e8fcacea
2025-01-02 01:12:24 +02:00
LuK1337
15c697d265 lemonades: Update from OOS 14.0.0.604(EX01)
Change-Id: I7f0c3396dc1a16ac8b8d67efc7481479d4a16b82
2024-12-29 13:45:32 +01:00
Michael Bestas
6ab3536f60 lemonades: Remove unused Android.mk
Change-Id: I98105c127066f7de7012a1895d19c96356105921
2024-12-02 00:30:04 +02:00
LuK1337
97aa83a2cf lemonades: Update from OOS 14.0.0.603(EX01)
Change-Id: I238b675634e6411bfe474ae1beff903936a091b2
2024-11-09 20:54:32 +01:00
Michael Bestas
6d75680ee0 lemonades: ELF checks are enabled by default
Change-Id: I5740f4c8d359831b4cb794912c5d650f55c33f17
2024-11-05 23:18:21 +02:00
LuK1337
418d1e0469 lemonades: Adjust override prop key names
Change-Id: I436bbf425023dbe54cf3e2c35f50a5575511bc38
2024-10-20 18:13:13 +02:00
Beverly
a560097026 lemonades: overlay: Update pixel pitch
Bug: 319894241
Flag: ACONFIG com.android.systemui.device_entry_udfps_refactor DEVELOPMENT
Test: manual

Change-Id: Iaa9576cb95ebe73043b7030b2b176f67bc90e3a1
2024-10-19 19:54:28 +02:00
LuK1337
d1c030cd3b lemonades: Setup ELF checks
Change-Id: Iacc8a942f4e09bf61f5b8e0f4ad8e70f0b43dfa8
2024-10-19 19:54:28 +02:00
LuK1337
350f427f66 lemonades: Switch to py extract utils
Change-Id: I5618bf10c107df579a540e2393b222128961e670
2024-10-19 19:54:28 +02:00
14 changed files with 73 additions and 85 deletions

View File

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

View File

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

View File

@@ -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
View 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_lemonades",
"branch" : "lineage-23.0",
"target_path" : "vendor/oneplus/lemonades"
}
]

26
extract-files.py Executable file
View 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(
'lemonades',
'oneplus',
namespace_imports=namespace_imports,
)
if __name__ == '__main__':
utils = ExtractUtils.device_with_common(
module, 'sm8250-common', module.vendor
)
utils.run()

View File

@@ -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=lemonades
export DEVICE_COMMON=sm8250-common
export VENDOR=oneplus
export VENDOR_COMMON=${VENDOR}
"./../../${VENDOR_COMMON}/${DEVICE_COMMON}/extract-files.sh" "$@"

View File

@@ -1,6 +0,0 @@
[
{
"repository": "android_device_oneplus_sm8250-common",
"target_path": "device/oneplus/sm8250-common"
}
]

View File

@@ -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 lemonades device
$(call inherit-product, device/oneplus/lemonades/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_lemonades
@@ -20,14 +21,12 @@ PRODUCT_MANUFACTURER := OnePlus
PRODUCT_BRAND := OnePlus
PRODUCT_MODEL := LE2101
PRODUCT_SYSTEM_NAME := OnePlus9R
PRODUCT_SYSTEM_DEVICE := OnePlus9R
PRODUCT_GMS_CLIENTID_BASE := android-oneplus
PRODUCT_BUILD_PROP_OVERRIDES += \
PRIVATE_BUILD_DESC="OnePlus9R_IND-user 14 UKQ1.230924.001 R.186814e_3fcd-4c58 release-keys" \
TARGET_DEVICE=$(PRODUCT_SYSTEM_DEVICE) \
TARGET_PRODUCT=$(PRODUCT_SYSTEM_NAME)
BUILD_FINGERPRINT := OnePlus/OnePlus9R_IND/OnePlus9R:14/UKQ1.230924.001/R.186814e_3fcd-4c58:user/release-keys
BuildDesc="OnePlus9R_IND-user 14 UKQ1.230924.001 R.1b68875-1-5727a release-keys" \
BuildFingerprint=OnePlus/OnePlus9R_IND/OnePlus9R:14/UKQ1.230924.001/R.1b68875-1-5727a:user/release-keys \
DeviceName=OnePlus9R \
DeviceProduct=OnePlus9R \
SystemDevice=OnePlus9R \
SystemName=OnePlus9R

View File

@@ -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>

View File

@@ -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>

View File

@@ -1,5 +1,5 @@
## All proprietary files from this list, unless pinned and noted otherwise, are
## from OnePlus 9R (LE2101_14.0.0.601(EX01))
## from OnePlus 9R (LE2101_14.0.0.604(EX01))
# ACDB
odm/etc/acdbdata/Audio_Parameter_Version.txt

1
setup-makefiles.py Executable file
View File

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

View File

@@ -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=lemonades
export DEVICE_COMMON=sm8250-common
export VENDOR=oneplus
export VENDOR_COMMON=${VENDOR}
"./../../${VENDOR_COMMON}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"

View File

@@ -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