Compare commits

...

5 Commits

Author SHA1 Message Date
Lup Gabriel
ca6479685e
beryllium: set screen density to 420 2023-11-03 14:48:52 +02:00
Lup Gabriel
827308a628 beryllium: enable add f2fs support 2023-11-03 14:48:17 +02:00
Lup Gabriel
70908a7716
beryllium: set Screen Recorder frame rate to max 60 2023-11-03 14:46:32 +02:00
Lup Gabriel
c8a77e74df
beryllium: set divider for CPU info overlay 2023-11-03 14:46:02 +02:00
Lup Gabriel
feb30c5f0b
beryllium: set crdroid.dependencies 2023-11-03 14:34:51 +02:00
5 changed files with 46 additions and 7 deletions

View File

@ -20,7 +20,7 @@ BOARD_HAS_QCA_FM_SOC := "cherokee"
BOARD_HAVE_QCOM_FM := true BOARD_HAVE_QCOM_FM := true
# Display # Display
TARGET_SCREEN_DENSITY := 440 TARGET_SCREEN_DENSITY := 420
# Kernel # Kernel
TARGET_KERNEL_CONFIG += vendor/xiaomi/beryllium.config TARGET_KERNEL_CONFIG += vendor/xiaomi/beryllium.config

14
crdroid.dependencies Normal file
View File

@ -0,0 +1,14 @@
[
{
"repository": "crdroidandroid/android_device_xiaomi_sdm845-common",
"target_path": "device/xiaomi/sdm845-common"
},
{
"repository": "crdroidandroid/proprietary_vendor_xiaomi-beryllium",
"target_path": "vendor/xiaomi/beryllium"
},
{
"repository": "crdroidandroid/proprietary_vendor_xiaomi_sdm845-common",
"target_path": "vendor/xiaomi/sdm845-common"
}
]

View File

@ -1,6 +0,0 @@
[
{
"repository": "android_device_xiaomi_sdm845-common",
"target_path": "device/xiaomi/sdm845-common"
}
]

View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2022, The Android Open Source 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.
*/
-->
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. -->
<resources>
<!-- The CPU temperature divider, if needed -->
<integer name="config_cpuTempDivider" translatable="false">1000</integer>
<!-- If not zero, limits the internal screen recorder's framerate to the set value. -->
<integer name="config_screenRecorderMaxFramerate">60</integer>
</resources>

View File

@ -4,11 +4,13 @@
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags> #<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=0,noauto_da_alloc latemount,wait,check,fileencryption=ice,quota /dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=0,noauto_da_alloc latemount,wait,check,fileencryption=ice,quota
/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,background_gc=off,fsync_mode=nobarrier latemount,wait,check,fileencryption=ice,quota
/dev/block/bootdevice/by-name/modem /vendor/firmware_mnt vfat ro,shortname=lower,uid=0,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait /dev/block/bootdevice/by-name/modem /vendor/firmware_mnt vfat ro,shortname=lower,uid=0,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait
/dev/block/bootdevice/by-name/dsp /vendor/dsp ext4 ro,nosuid,nodev,barrier=1 wait /dev/block/bootdevice/by-name/dsp /vendor/dsp ext4 ro,nosuid,nodev,barrier=1 wait
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,barrier=1 wait /dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 noatime,nosuid,nodev,barrier=1 wait
/dev/block/bootdevice/by-name/bluetooth /vendor/bt_firmware vfat ro,shortname=lower,uid=1002,gid=3002,dmask=227,fmask=337,context=u:object_r:bt_firmware_file:s0 wait /dev/block/bootdevice/by-name/bluetooth /vendor/bt_firmware vfat ro,shortname=lower,uid=1002,gid=3002,dmask=227,fmask=337,context=u:object_r:bt_firmware_file:s0 wait
/dev/block/bootdevice/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1 wait /dev/block/bootdevice/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1 wait
/dev/block/bootdevice/by-name/cache /cache f2fs nosuid,nodev,noatime,inline_xattr wait,check,formattable
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults /dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
/dev/block/bootdevice/by-name/boot /boot emmc defaults recoveryonly /dev/block/bootdevice/by-name/boot /boot emmc defaults recoveryonly
/dev/block/bootdevice/by-name/recovery /recovery emmc defaults recoveryonly /dev/block/bootdevice/by-name/recovery /recovery emmc defaults recoveryonly