Compare commits

..

15 Commits

Author SHA1 Message Date
Simon1511 71f9aae3e6 a52q: pull everything from A525FXXS7FXE2 6 months ago
Jenna e6f3a83643 Build crDroid 6 months ago
Simon1511 d9b0fbf5f9 a52q: call correct script in setup-makefiles.sh 9 months ago
Simon1511 0f7eeb4f8a a52q: switch to AIDL fingerprint HAL 10 months ago
Simon1511 47b94c89d4 a52q: pull everything from A525FXXU6EWL3 (U) 11 months ago
Tim Zimmermann a807384551 a52q: Switch to hardware/samsung camera provider HAL 11 months ago
Simon1511 3730084bd5 a52q: A525FXXS5DWD1 2 years ago
Simon1511 bfa0208316 a52q: Fully redo extract-files and setup-makesfiles scripts 2 years ago
Simon1511 03323993d0 a52q: A525FXXU4CVJB 2 years ago
LuK1337 970349981e a52q: Set a default Settings.Global.DEVICE_NAME 2 years ago
Sal Savage 98761a2706 a52q: Replace BTM_DEF_LOCAL_NAME with a sysprop 2 years ago
Simon1511 9ee70e2659 a52q: Replace LOCAL_PATH with DEVICE_PATH 2 years ago
Simon1511 6ec48526c1 a52q: Move camera.qcom out of common tree 2 years ago
Simon1511 6cd48d7567 a52q: Move fingerprint into tree 2 years ago
Simon1511 d0227342e8 a52q: A525FXXU4BVG1 2 years ago
  1. 8
      AndroidProducts.mk
  2. 23
      README.md
  3. 14
      aosp.dependencies
  4. 55
      aosp_a52q.mk
  5. 6
      lineage.dependencies
  6. 15
      lineage_a52q.mk
  7. 19
      overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml
  8. 2
      proprietary-files.txt
  9. 2
      setup-makefiles.sh
  10. 2
      vendor.prop

@ -14,9 +14,9 @@
# limitations under the License. # limitations under the License.
PRODUCT_MAKEFILES := \ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/bootleg_a52q.mk $(LOCAL_DIR)/lineage_a52q.mk
COMMON_LUNCH_CHOICES := \ COMMON_LUNCH_CHOICES := \
bootleg_a52q-userdebug \ lineage_a52q-ap1a-userdebug \
bootleg_a52q-user \ lineage_a52q-ap1a-user \
bootleg_a52q-eng lineage_a52q-ap1a-eng

@ -1,23 +0,0 @@
The Samsung Galaxy A52 4G is a mid range phone from Samsung released in March 2021
Device specifications
Device | Samsung Galaxy A52 4G
:-------------: |:-------------:
SoC | Qualcomm SM7125 Snapdragon 720G
CPU | Octa-core (2x2.3 GHz Kryo 465 Gold & 6x1.8 GHz Kryo 465 Silver)
GPU | Adreno 618
Memory | 4GB, 6GB, 8GB
Shipped Android version | Android 11
Storage | 128GB, 256GB
MicroSD | microSDXC (uses shared SIM slot)
Battery | Li-Po 4500 mAh, non-removable
Dimensions | 159.9 x 75.1 x 8.4 mm
Display | 1080 x 2400 pixels, 20:9 ratio (~407 ppi density)
Rear camera 1 | 64 MP, f/1.8, 26mm (wide), 1/1.7", 0.8µm, PDAF, OIS
Rear camera 2 | 12 MP, f/2.2, 123˚ (ultrawide), 1.12µm
Rear camera 3 | 5 MP, f/2.4, (macro)
Front camera | 32 MP, f/2.2, 26mm (wide), 1/2.8", 0.8µm
Image
![alt text](https://fdn2.gsmarena.com/vv/bigpic/samsung-galaxy-a52-4g.jpg "Samsung Galaxy A52 4G")

@ -1,14 +0,0 @@
[
{
"repository":"vendor_samsung_a52q",
"target_path":"vendor/samsung/a52q",
"branch":"fourteen",
"remote":"pixel-devices-blobs"
},
{
"repository":"device_samsung_sm7125-common",
"target_path":"device/samsung/sm7125-common",
"branch":"fourteen",
"remote":"pixel-devices"
}
]

@ -1,55 +0,0 @@
#
# Copyright (C) 2021 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.
#
# Inherit device configuration
$(call inherit-product, device/samsung/a52q/device.mk)
# Inherit from the 64 bit configuration
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
# Inherit from the common Open Source product configuration
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
# Inherit some common Lineage stuff
$(call inherit-product, vendor/aosp/config/common_full_phone.mk)
# Enable updating of APEXes
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
# Boot animation
TARGET_SCREEN_HEIGHT := 2400
TARGET_SCREEN_WIDTH := 1080
TARGET_BOOT_ANIMATION_RES := 1080
## Device identifier. This must come after all inclusions
PRODUCT_NAME := aosp_a52q
PRODUCT_DEVICE := a52q
PRODUCT_BRAND := samsung
PRODUCT_MODEL := SM-A525F
PRODUCT_MANUFACTURER := samsung
PRODUCT_GMS_CLIENTID_BASE := android-samsung
# Recovery
TARGET_USES_AOSP_RECOVERY := true
PRODUCT_SHIPPING_API_LEVEL := 30
# Vendor fingerprint
BUILD_FINGERPRINT := "samsung/a52qnsxx/a52q:11/RP1A.200720.012/A525FXXU6EWL3:user/release-keys"
PRIVATE_BUILD_DESC := "a52qnsxx-user 11 RP1A.200720.012 A525FXXU6EWL3 release-keys"
# Security patch
VENDOR_SECURITY_PATCH := 2023-12-01

@ -0,0 +1,6 @@
[
{
"repository": "android_device_samsung_sm7125-common",
"target_path": "device/samsung/sm7125-common"
}
]

@ -24,7 +24,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
# Inherit some common Lineage stuff # Inherit some common Lineage stuff
$(call inherit-product, vendor/bootleggers/config/common_full_phone.mk) $(call inherit-product, vendor/lineage/config/common_full_phone.mk)
# Enable updating of APEXes # Enable updating of APEXes
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
@ -32,21 +32,20 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
# Boot animation # Boot animation
TARGET_SCREEN_HEIGHT := 2400 TARGET_SCREEN_HEIGHT := 2400
TARGET_SCREEN_WIDTH := 1080 TARGET_SCREEN_WIDTH := 1080
TARGET_BOOT_ANIMATION_RES := 1080
## Device identifier. This must come after all inclusions ## Device identifier. This must come after all inclusions
PRODUCT_NAME := bootleg_a52q PRODUCT_NAME := lineage_a52q
PRODUCT_DEVICE := a52q PRODUCT_DEVICE := a52q
PRODUCT_BRAND := samsung PRODUCT_BRAND := samsung
PRODUCT_MODEL := SM-A525F PRODUCT_MODEL := SM-A525F
PRODUCT_MANUFACTURER := samsung PRODUCT_MANUFACTURER := samsung
PRODUCT_GMS_CLIENTID_BASE := android-samsung PRODUCT_GMS_CLIENTID_BASE := android-samsung
# Recovery
TARGET_USES_AOSP_RECOVERY := true
PRODUCT_SHIPPING_API_LEVEL := 30 PRODUCT_SHIPPING_API_LEVEL := 30
# Vendor fingerprint # Vendor fingerprint
BUILD_FINGERPRINT := "samsung/a52qnsxx/a52q:11/RP1A.200720.012/A525FXXU6DWH2:user/release-keys" BUILD_FINGERPRINT := "samsung/a52qnsxx/a52q:11/RP1A.200720.012/A525FXXS7FXE2:user/release-keys"
PRIVATE_BUILD_DESC := "a52qnsxx-user 11 RP1A.200720.012 A525FXXU6DWH2 release-keys" PRIVATE_BUILD_DESC := "a52qnsxx-user 11 RP1A.200720.012 A525FXXS7FXE2 release-keys"
# Security patch
VENDOR_SECURITY_PATCH := 2024-05-01

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2020 Paranoid Android
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.
-->
<resources>
<!-- Location on the screen of the center of the physical power button. This is a reasonable
default that should be overridden by device-specific overlays. -->
<dimen name="physical_power_button_center_screen_location_y">980px</dimen>
</resources>

@ -1,4 +1,4 @@
# All blobs are from A525FXXU6EWL3 (U), unless pinned # All blobs are from A525FXXS7FXE2 (U), unless pinned
# ACDB # ACDB
vendor/etc/audconf/ODM/Global_cal.acdb vendor/etc/audconf/ODM/Global_cal.acdb

@ -18,4 +18,4 @@ export DEVICE=a52q
export DEVICE_COMMON=sm7125-common export DEVICE_COMMON=sm7125-common
export VENDOR=samsung export VENDOR=samsung
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@" "./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"

@ -2,6 +2,4 @@
bluetooth.device.default_name=Galaxy A52 4G bluetooth.device.default_name=Galaxy A52 4G
# Fingerprint # Fingerprint
ro.vendor.fingerprint.type=udfps_optical
ro.vendor.fingerprint.sensor_location=540|2137|119 ro.vendor.fingerprint.sensor_location=540|2137|119
ro.vendor.fingerprint.request_touch_event=true

Loading…
Cancel
Save