Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
28cb640
yoshino-common: Remove obsolete dex settings
Nov 7, 2018
48724c4
yoshino-common: Remove deprecated telephony flag
bgcngm Nov 20, 2020
c57aa8b
yoshino-common: Remove libI420colorconvert
mikeNG Sep 30, 2017
9f046ae
yoshino-common: Don't pin camera app in memory
kdrag0n Oct 6, 2020
68844ce
yoshino-common: Don't pin launcher app in memory
kdrag0n Apr 11, 2021
d8e2db4
yoshino-common: powerhint: Replace unused & inefficient freqs with ef…
enesykaya Jun 1, 2022
001e6ec
yoshino-common: media_codecs: remove vc1/divx entry from media_codec …
nadinsylaa Nov 17, 2020
f0ad0d6
yoshino-common: media_codecs: Fix maxinstance issue
nadinsylaa Dec 18, 2020
197d818
yoshino-common: media_codecs: fine tune performancexml
nadinsylaa Dec 2, 2020
0fcca2f
yoshino-common: Deduplicate handheld_core_hardware.xml copy rule
bgcngm Jan 3, 2021
fd4643f
yoshino-common: remove suffix in vulkan-related permissions
raul-16 Nov 1, 2021
dea9b5d
yoshino-common: Don't explicitly build fs_config_files
ArianK16a Apr 13, 2022
f58a3d8
yoshino-common: overlay: Don't translate some strings
AKoskovich Jul 5, 2022
83c56d9
yoshino-common: overlay: Drop explicit 'sdk_version' declaration
AKoskovich Jul 5, 2022
0da583b
yoshino-common: readme: fix version
SirRGB Nov 1, 2023
1ab7864
yoshino-common: Remove unneeded NFC packages
vware Oct 26, 2022
60c252a
yoshino-common: sepolicy: Remove NFC HAL policy
vware Oct 27, 2022
0b870ec
yoshino-common: overlay: Remove config_enableAutoPowerModes
cyberwalkman Jun 18, 2018
ffcdf3b
yoshino-common: Do not build libxml2
Demon000 Jul 14, 2018
8ec9c8a
yoshino-common: Don't build tinymix
mikeNG May 14, 2018
7d286a5
yoshino-common: Don't build vndk_package
luca020400 Sep 2, 2018
c3357f1
yoshino-common: Remove duplicate SIP+VoIP permission
trautamaki Nov 29, 2021
44ebda5
yoshino-common: overlay: Remove obsolete config_keyboardTapVibePattern
bgcngm Nov 16, 2023
285f3cb
yoshino-common: Remove libprotobuf-cpp-full from PRODUCT_PACKAGES
luk1337 Nov 10, 2023
54f0575
yoshino-common: Remove bogus gralloc properties
vware Apr 26, 2023
62c489a
yoshino-common: Switch to [email protected]_role_usb
mikeNG Mar 21, 2024
2d4cd5c
yoshino-common: Nuke ATFWD
Arman-ATI Dec 18, 2024
a5fd021
yoshino-common: Use common libqti-perfd-client and power-libperfmgr
bgcngm May 18, 2024
797f750
yoshino-common: powerhint: set INTERACTION duration to 58ms
Jan 1, 2023
8f2e77c
yoshino-common: powerhint: use lowest CPU frequency on MinFreq nodes
lifehackerhansol May 19, 2024
355a71b
yoshino-common: powerhint: decrease LAUNCH duration to 1s
Jan 1, 2023
ded4d70
yoshino-common: powerhint: Remove Google-specific camera and VR hints
bgcngm Apr 18, 2021
0a017e2
yoshino-common: Switch to Audio HAL V6
Nov 22, 2019
1b3d5fc
yoshino-common: Replace [email protected] with audio.service
Apr 8, 2020
f372054
yoshino-common: Upver NFC hal to version 1.2
Jleeblanch May 12, 2020
68b7fa0
yoshino-common: Build missing libraries for 14 QPR3
mikeNG Jun 13, 2024
7b4e210
yoshino-common: Disable the usage of ConfigStore.
AKoskovich Dec 3, 2020
aa2c7ad
yoshino-common: Set manifest target-level to 5
Linux4 May 15, 2022
036d256
yoshino-common: Inherit from QTI FCM
bgcngm Apr 5, 2022
c8d7069
yoshino-common: Include lineage FCM
mikeNG Jun 14, 2024
84ddcc0
yoshino-common: Inherit from legacy QTI FCM
mikeNG Jun 17, 2024
04fff28
yoshino-common: Use the common device compatibility matrix from QCOM
bgcngm Feb 8, 2024
89688a2
yoshino-common: Add a common-device specific FCM
mikeNG Jun 14, 2024
1679af2
yoshino-common: Inherit non_ab_device.mk
Linux4 Aug 24, 2022
be25e69
yoshino-common: Move to new RFS install_symlink targets
bgcngm Jun 23, 2024
9df3e9b
yoshino-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
bgcngm Jun 23, 2024
911597d
yoshino-common: regen vendor
SirRGB Apr 13, 2025
249f82c
yoshino-common: Declare IMS libs as symlinks during extraction
bgcngm Jun 23, 2024
1e0338e
yoshino-common: Declare EGL libs as symlinks during extraction
bgcngm Mar 28, 2024
4f7d7f0
yoshino-common: Prevent adding same dependency twice in blob_fixup
luk1337 Apr 13, 2025
1646a51
yoshino-common: Convert WiFi firmware symlinks to install_symlink tar…
bgcngm Jun 23, 2024
88d9172
yoshino-common: Mark CNE symlink target as required package
bgcngm Mar 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions BoardConfigPlatform.mk
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,6 @@ BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
endif
TARGET_COPY_OUT_VENDOR := vendor

### DEXPREOPT
# Enable dexpreopt for everything to speed boot time
ifeq ($(HOST_OS),linux)
ifneq ($(TARGET_BUILD_VARIANT),eng)
WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY := false
WITH_DEXPREOPT := true
endif
endif

### BUILD_COPY_HEADERS ALLOWED
BUILD_BROKEN_USES_BUILD_COPY_HEADERS := true

Expand All @@ -113,11 +104,17 @@ TARGET_USES_ION := true

### HIDL
BOARD_VNDK_VERSION := current
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \
$(PLATFORM_PATH)/device_framework_matrix.xml \
hardware/qcom-caf/common/vendor_framework_compatibility_matrix.xml \
hardware/qcom-caf/common/vendor_framework_compatibility_matrix_legacy.xml \
vendor/lineage/config/device_framework_matrix.xml
ifneq ($(filter poplar_dsds maple_dsds, $(TARGET_DEVICE)),)
DEVICE_MANIFEST_FILE := $(PLATFORM_PATH)/manifest_dsds.xml
else
DEVICE_MANIFEST_FILE := $(PLATFORM_PATH)/manifest.xml
endif
DEVICE_MATRIX_FILE := hardware/qcom-caf/common/compatibility_matrix.xml

### PROPS
TARGET_ODM_PROP += $(PLATFORM_PATH)/odm.prop
Expand All @@ -135,9 +132,9 @@ endif
### RIL
ENABLE_VENDOR_RIL_SERVICE := true
TARGET_PER_MGR_ENABLED := true
TARGET_PROVIDES_QTI_TELEPHONY_JAR := true

### SEPOLICY
include device/lineage/sepolicy/libperfmgr/sepolicy.mk
include device/qcom/sepolicy-legacy-um/SEPolicy.mk
BOARD_VENDOR_SEPOLICY_DIRS += device/sony/yoshino-common/sepolicy/vendor
PRODUCT_PRIVATE_SEPOLICY_DIRS += device/sony/yoshino-common/sepolicy/private
Expand All @@ -147,7 +144,6 @@ BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW := true
### VENDOR FILE OVERRIDE
BUILD_BROKEN_DUP_RULES := true
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
BUILD_BROKEN_INCORRECT_PARTITION_IMAGES := true

### VENDOR SECURITY PATCH LEVEL
VENDOR_SECURITY_PATCH := 2019-09-01
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Device configuration for yoshino platform
=========================================

This is the Lineage 19.1 device configuration for the Yoshino platform.
This is the Lineage 21 device configuration for the Yoshino platform.

Devices based on Yoshino platform:

Expand Down
6 changes: 0 additions & 6 deletions config/init/init.yoshino.srv.rc
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,6 @@ service qcom-radio-sh /vendor/bin/init.qcom.radio.sh
group root system radio
oneshot

service vendor.atfwd /vendor/bin/ATFWD-daemon
class late_start
user system
group system radio
task_profiles ServiceCapacityLow

on boot && property:persist.radio.multisim.config=dsds
start vendor.qcrild2

Expand Down
92 changes: 11 additions & 81 deletions config/media/media_codecs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="blocks-per-second" min="1" max="979200" />
<Limit name="bitrate" range="1-100000000" />
<Limit name="frame-rate" range="1-240" />
<Limit name="concurrent-instances" max="16" />
<Limit name="concurrent-instances" max="24" />
<Feature name="can-swap-width-height" />
<Limit name="performance-point-3840x2160" value="24" />
</MediaCodec>
Expand All @@ -161,7 +161,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="blocks-per-second" min="1" max="489600" />
<Limit name="bitrate" range="1-60000000" />
<Limit name="frame-rate" range="1-240" />
<Limit name="concurrent-instances" max="16" />
<Limit name="concurrent-instances" max="24" />
<Limit name="performance-point-1920x1088" value="30" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.encoder.h263" type="video/3gpp" >
Expand All @@ -174,7 +174,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="blocks-per-second" min="1" max="48600" />
<Limit name="bitrate" range="1-2000000" />
<Limit name="frame-rate" range="1-240" />
<Limit name="concurrent-instances" max="16" />
<Limit name="concurrent-instances" max="24" />
<Limit name="performance-point-720x480" value="30" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" >
Expand All @@ -187,7 +187,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="blocks-per-second" min="1" max="979200" />
<Limit name="bitrate" range="1-100000000" />
<Limit name="frame-rate" range="1-240" />
<Limit name="concurrent-instances" max="16" />
<Limit name="concurrent-instances" max="24" />
<Limit name="performance-point-3840x2160" value="30" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.encoder.hevc" type="video/hevc" >
Expand All @@ -200,7 +200,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="blocks-per-second" min="1" max="979200" />
<Limit name="bitrate" range="1-100000000" />
<Limit name="frame-rate" range="1-240" />
<Limit name="concurrent-instances" max="16" />
<Limit name="concurrent-instances" max="24" />
<Limit name="performance-point-3840x2160" value="24" />
</MediaCodec>
</Encoders>
Expand All @@ -216,7 +216,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="bitrate" range="1-100000000" />
<Limit name="frame-rate" range="1-240" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" />
<Limit name="concurrent-instances" max="24" />
<Feature name="can-swap-width-height" />
<Limit name="performance-point-3840x2160" value="60" />
</MediaCodec>
Expand Down Expand Up @@ -244,7 +244,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="bitrate" range="1-60000000" />
<Limit name="frame-rate" range="1-240" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" />
<Limit name="concurrent-instances" max="24" />
<Limit name="performance-point-1920x1088" value="60" />
</MediaCodec>
<!--
Expand All @@ -258,7 +258,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="bitrate" range="1-40000000" />
<Limit name="frame-rate" range="1-240" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" />
<Limit name="concurrent-instances" max="24" />
<Limit name="performance-point-1920x1088" value="30" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.mpeg2.secure" type="video/mpeg2" >
Expand Down Expand Up @@ -289,76 +289,6 @@ Only the three quirks included above are recognized at this point:
<Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-720x480" value="30" />
</MediaCodec>
<!--
<MediaCodec name="OMX.qcom.video.decoder.vc1" type="video/x-ms-wmv" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Limit name="size" min="64x64" max="1920x1088" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="489600" />
<Limit name="bitrate" range="1-60000000" />
<Limit name="frame-rate" range="1-240" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-1920x1088" value="30" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.vc1.secure" type="video/x-ms-wmv" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Limit name="size" min="64x64" max="1920x1088" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="489600" />
<Limit name="bitrate" range="1-20000000" />
<Limit name="frame-rate" range="1-30" />
<Feature name="adaptive-playback" />
<Feature name="secure-playback" required="true" />
<Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-1920x1088" value="30" />
</MediaCodec>
-->
<!--
<MediaCodec name="OMX.qcom.video.decoder.divx" type="video/divx" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Limit name="size" min="64x64" max="1920x1088" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="244800" />
<Limit name="bitrate" range="1-10000000" />
<Limit name="frame-rate" range="1-240" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-1920x1088" value="30" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.divx311" type="video/divx311" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Limit name="size" min="64x64" max="720x480" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="40500" />
<Limit name="bitrate" range="1-2000000" />
<Limit name="frame-rate" range="1-240" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-720x480" value="30" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.divx4" type="video/divx4" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Limit name="size" min="64x64" max="1920x1088" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="1" max="244800" />
<Limit name="bitrate" range="1-10000000" />
<Limit name="frame-rate" range="1-240" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-1920x1088" value="30" />
</MediaCodec>
-->
<MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" >
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
Expand All @@ -369,7 +299,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="bitrate" range="1-100000000" />
<Limit name="frame-rate" range="1-240" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" />
<Limit name="concurrent-instances" max="24" />
<Limit name="performance-point-3840x2160" value="60" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.vp9" type="video/x-vnd.on2.vp9" >
Expand All @@ -382,7 +312,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="bitrate" range="1-100000000" />
<Limit name="frame-rate" range="1-240" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" />
<Limit name="concurrent-instances" max="24" />
<Limit name="performance-point-3840x2160" value="60" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.vp9.secure" type="video/x-vnd.on2.vp9" >
Expand All @@ -409,7 +339,7 @@ Only the three quirks included above are recognized at this point:
<Limit name="bitrate" range="1-100000000" />
<Limit name="frame-rate" range="1-240" />
<Feature name="adaptive-playback" />
<Limit name="concurrent-instances" max="16" />
<Limit name="concurrent-instances" max="24" />
<Limit name="performance-point-3840x2160" value="60" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.hevc.secure" type="video/hevc" >
Expand Down
22 changes: 11 additions & 11 deletions config/media/media_codecs_performance.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ limitations under the License.
<Limit name="measured-frame-rate-3840x2160" range="6-24" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.encoder.h263" type="video/3gpp" update="true">
<Limit name="measured-frame-rate-176x144" range="120-120" />
<Limit name="measured-frame-rate-352x288" range="80-80" />
<Limit name="measured-frame-rate-176x144" range="335-340" />
<Limit name="measured-frame-rate-352x288" range="296-310" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.encoder.mpeg4" type="video/mp4v-es" update="true">
<Limit name="measured-frame-rate-176x144" range="120-120" />
<Limit name="measured-frame-rate-352x288" range="100-110" />
<Limit name="measured-frame-rate-176x144" range="340-347" />
<Limit name="measured-frame-rate-352x288" range="285-297" />
<Limit name="measured-frame-rate-640x480" range="80-100" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.encoder.vp8" type="video/x-vnd.on2.vp8" update="true">
<Limit name="measured-frame-rate-320x180" range="120-120" />
<Limit name="measured-frame-rate-640x360" range="100-100" />
<Limit name="measured-frame-rate-640x360" range="280-285" />
<Limit name="measured-frame-rate-1280x720" range="49-49" />
<Limit name="measured-frame-rate-1920x1080" range="16-40" />
</MediaCodec>
Expand Down Expand Up @@ -99,14 +99,14 @@ limitations under the License.
<Limit name="measured-frame-rate-320x240" range="455-455" />
<Limit name="measured-frame-rate-720x480" range="360-360" />
<Limit name="measured-frame-rate-1280x720" range="300-300" />
<Limit name="measured-frame-rate-1920x1088" range="240-240" />
<Limit name="measured-frame-rate-1920x1088" range="90-95" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" update="true">
<Limit name="measured-frame-rate-352x288" range="284-379" />
<Limit name="measured-frame-rate-352x288" range="87-285" />
<Limit name="measured-frame-rate-640x360" range="85-227" />
<Limit name="measured-frame-rate-720x480" range="174-374" />
<Limit name="measured-frame-rate-720x480" range="80-230" />
<Limit name="measured-frame-rate-1280x720" range="269-269" />
<Limit name="measured-frame-rate-1920x1080" range="254-254" />
<Limit name="measured-frame-rate-1920x1080" range="98-103" />
<Limit name="measured-frame-rate-3840x2160" range="70-70" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.h263" type="video/3gpp" update="true">
Expand Down Expand Up @@ -137,7 +137,7 @@ limitations under the License.
<Limit name="measured-frame-rate-1920x1080" range="24-24" />
</MediaCodec>
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="410-410" />
<Limit name="measured-frame-rate-320x240" range="150-160" />
<Limit name="measured-frame-rate-720x480" range="129-129" />
<Limit name="measured-frame-rate-1280x720" range="10-52" />
<Limit name="measured-frame-rate-1920x1080" range="24-24" />
Expand All @@ -161,7 +161,7 @@ limitations under the License.
<Limit name="measured-frame-rate-352x288" range="160-560" />
<Limit name="measured-frame-rate-640x360" range="30-120" />
<Limit name="measured-frame-rate-720x480" range="28-100" />
<Limit name="measured-frame-rate-1280x720" range="80-80" />
<Limit name="measured-frame-rate-1280x720" range="30-32" />
<Limit name="measured-frame-rate-1920x1080" range="40-40" />
</MediaCodec>
<MediaCodec name="OMX.google.mpeg4.decoder" update="true">
Expand Down
Loading