Commit Graph

1521 Commits

Author SHA1 Message Date
Juhyung Park b6f0b6ffef aospa: sepolicy: label all dirty writeback nodes
We are interested in tuning these as well.
Label them under u:object_r:proc_dirty:s0.

Change-Id: I21868ea3952ace1e33c593515c56e5fe7aea1353
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2023-05-18 10:29:04 +00:00
Juhyung Park dfcfdcb17e aospa: sepolicy: allow lmkd to access ro.vendor.lmkd.* properties
Change-Id: I9b1ae73ab3bb18c66cbb3aa6bb77aec3dfc60edc
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2023-05-18 10:25:52 +00:00
Jake Weinstein 1092346f2d aospa: Update CLO merge script
- Fix --no-tags argument.
- Remove --no-clone-bundle.  Qualcomm no longer recommends
  this since migrating from CAF to CLO.
- Remove handling of separate CLO remotes since
  we now just have one: clo-la.

Change-Id: Ib9026a5850f658903e6e9717ecec347fc1cdd17f
2023-05-17 00:26:48 +09:00
Jake Weinstein f62c5426f1 aospa: Add hardware/xiaomi to sunny
Change-Id: I7891e034b447aa2b3656ae07f0691bb96887ebf1
2023-05-16 06:35:07 +09:00
blurzyy d9a8582a0a aospa: Track topaz-12 branch for gcc repos
Change-Id: I96e6dbad24670e13f29de4d0d9ee2a4cb7fc6fe8
Signed-off-by: blurzyy <selster02@gmail.com>
2023-05-15 08:33:58 +08:00
Jake Weinstein 7ed03ef685 aospa: Align phoenix and sunny dependencies spacing
Not a functional change, just looks a little nicer.

Change-Id: I2f6319590078cbe380e7d455e7283386183e2353
2023-05-15 03:36:45 +09:00
Jake Weinstein 9fc1091505 aospa: Fix sunny lunch target
Device prefix must be _ not -, otherwise
the build system thinks aospa is the target.

In file included from build/make/core/config.mk:356:
In file included from build/make/core/envsetup.mk:354:
vendor/aospa/products/AndroidProducts.mk:54: error: COMMON_LUNCH_CHOICES contains products(s) not defined in this file: aospa.

Change-Id: I08c537f3a5edfeea700acee03ea50b6f00866750
2023-05-15 03:35:41 +09:00
blurzyy af501c3682 aospa: products: Introduce Redmi Note 10 (sunny)
Change-Id: Iffaddea01a24f279dcd6a01b567188d0eaea5629
Co-authored-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-05-14 08:19:33 +00:00
Adithya R 99b549d028 products: lisa: Sync leica branch of miuicamera
Commonized package that works on other devices, and more features.

Change-Id: I1ab26f5ef42ad23c756b3d0801528819b6dfcf9f
2023-05-14 05:09:24 +00:00
raghavt20 03f6b21f37 products: Introduce POCO X3 Pro (bhima/vayu)
Change-Id: I56a972fdbf1c46d4555e8da8cae56ea35bd1d27f
2023-05-12 18:10:10 +05:30
Cyber Knight 806a9f148d vendor: Enable LLVM Support if GCC is not used
- By default LLVM Support is set to true unless GCC flag is set to true.

Change-Id: I5eb8b2d29c1c818ab6011abe809494b0b80707f0
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-05-11 19:02:03 +00:00
rk134 0344657154 build.sh: backup-unsigned: Correct typo in function description
Change-Id: I751145ece2cc90cc6656542f620446a2964441a6
Signed-off-by: rk134 <me@rk134.cf>
2023-05-11 10:35:34 +00:00
rk134 051eaa5176 aospa: products: Introduce realme GT master edition
Change-Id: Ifb6eb1df0e8a426b6606592c91983d22b87cad52
Signed-off-by: rk134 <me@rk134.cf>
2023-05-10 14:44:29 +00:00
SagarMakhar dd8bdd4387 aospa: overlay: Import Black theme [3/3]
[rdxzv: Rebrand to AOSPA and move to blueprint]
Change-Id: I362c75a9a9456bb4d7ffe12072b1b2ef1ea49dac

Change-Id: I9a29203af8721ec105a40849f0814ef109abc08e
2023-05-06 21:50:03 +00:00
Juhyung Park e82b38c71e SF: set debug.sf.frame_rate_multiple_threshold to 60 by default
If the device only have 60 and 120 Hz in the config group, 60 Hz won't be
used when watching a 24 fps video and instead 120 Hz will be used because
it is perfectly divisible by 24.

This is a publicly documented AOSP behavior [1], but it simply does not
make any practical sense and trades off significant amount of power for a
very-hard-to-notice jitter-free experience.

Set debug.sf.frame_rate_multiple_threshold to 60 by default to limit this
behavior to 60 or lower fps.

[1] https://source.android.com/devices/graphics/multiple-refresh-rate

Change-Id: I66353abc46ad16e63b2c9188794469ad71f2192e
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2023-05-07 06:46:10 +09:00
Danny Baumann cc8e196600 aospa: extensions: Import SystemSettingSwitchPreference
Co-authored-by: SpiritCroc <dev@spiritcroc.de>
Change-Id: Id391e6b569b503ebc7a74d62124e806f73c47ddc
2023-05-05 03:49:27 +00:00
Adhan Begovic 4b2dd33a52 aospa: extensions: Import SecureSettingSwitchPreference
Co-authored-by: Christian Oder <myself5@carbonrom.org>
Co-authored-by: SpiritCroc <spiritcroc@gmail.com>
Change-Id: I0a4a3510c8e0c4603fa334a3db4165c8b1e927dc
2023-05-05 03:49:07 +00:00
madmax7896 2268637023 products: Add POCO F4/Redmi K40S(munch)
Change-Id: I2fcdfa8999f24f2cfc66bf4f67da8512581d42d3
2023-04-25 22:45:59 +05:30
Adithya R 4e14c76a30 products: Add Xiaomi 11 Lite NE (lisa)
Change-Id: I449d8d6c9e15d0ae04487e73be62d92b4a3e160a
2023-04-25 02:53:35 +00:00
Sourajit Karmakar 4a00a6f4f2 aospa: Add davinci-firmware to dependencies
Change-Id: I984341fc74e7a34ccf31e44e9f0336b78c9cefd3
2023-04-23 21:52:15 -04:00
Sourajit Karmakar 3d82a2e616 aospa: Initial product definition for Zenfone 9
Co-authored-by: Anay Wadhera <anay1018@gmail.com>
Change-Id: Ic6ebbac5d35c75dcc561ca2ed17062df264c9392
2023-04-23 12:14:35 -04:00
Mashopy a1e5fd1953 products: Introduce realme X50 Pro 5G Play (bladerunner_48m)
Change-Id: Icf6a2a515a395ab762a0cf1d76fb5f52f1e6e790
2023-04-22 21:21:11 +00:00
Mashopy 4936adb565 products: bitra & bladerunner: Track AOSP LLVM 17
Change-Id: If05ccb000c27a86c03f8acf53484afd06b8bd97b
2023-04-22 21:20:34 +00:00
Mashopy bb91f09f3c products: bitra & bladerunner: Update clo remote names
Update hardware/nxp revision to LA.QSSI.13.0.r1-09400-qssi.0 while were at it

Change-Id: Ibbf5bd7da4658fb400fae8168177778fbca8b27d
2023-04-22 21:20:25 +00:00
rituj 8f579db561 aospa: sepolicy: Introduce automated DC Dimming [4/4]
Label sysfs node as vendor_sysfs_dc_dim in device tree

Signed-off-by: rituj <ritujbeniwal@gmail.com>
Change-Id: Ic50a616037dc744943ca1a7c04c506827ef50526
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2023-04-17 06:46:08 +00:00
timocapa 466c1b35bf products: Introduce the OnePlus 7 Series
Change-Id: I71db3ddf5deaddb0968404c373340ddf25e3dc3f
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2023-04-16 07:34:44 +00:00
ShelbyHell f7735f702d products: Introduce Redmi 9T/POCO M3 (juice).
Change-Id: Id31200d41d56645f87689baf4ee402cad577d172
Signed-off-by: ShelbyHell <shelbyhell@proton.me>
2023-04-16 05:34:05 +00:00
Jprimero15 42954e7d53 products: mi439: Switch to AOSP LMKD
* Users reported that CLO lmkd is too aggresive compared to aosp, so for now use what's the best.

Change-Id: I36134aefaa9a4200b757ac1861b11af2379f2ad6
Signed-off-by: Jprimero15 <jprimero155@gmail.com>
2023-04-14 14:30:23 +00:00
Kunmun d06607c3dd aospa: products: dubai: Sync AOSP clang-17 from gitlab
Change-Id: I4393100ffee2fcffc143ae8bb666bed90c51deda
2023-04-12 16:59:26 +00:00
Kunmun 21f7b43c26 aospa: overlay: Frameworks: Separate controls for notification and ringtone volumes
Change-Id: I28d44b38d792fdea8bb04c1a29066d4baa49bf2d
2023-04-11 22:05:49 +05:30
Rasenkai 7524edf36d aospa: remove duplicate copying
Change-Id: I61cef4766230bc840f45107d49742c06cf8ebcad
Signed-off-by: Rasenkai <rasenkai99@gmail.com>
2023-04-10 21:30:46 +05:30
LuK1337 7a462857cc overlay: Set config_displayLightSensorType to android.sensor.light
The fallback was broken in frameworks/base@4be1126d25.

Change-Id: If6d7b0ea0306cbfde94d344dd5d933a155471a3f
2023-04-05 12:51:00 +09:00
Jprimero15 8b7c6a1362 products: mi439: Use topaz-taro-backup for usb and wlan
* Recently we switched to LA.VENDOR.13.2.0.r1(KAILUA.QSSI14.0) tag on vendor and for mi439 devices, it broke wifi,hotspot and usb so for now revert to working tag which is LA.VENDOR.1.0.r1 (WAIPIO.QSSI13.0) until we get a proper fix.

Change-Id: I75a3da89b121550f34d3496c46b01c9bf994a45b
Signed-off-by: Jprimero15 <jprimero155@gmail.com>
2023-03-27 02:23:54 +00:00
chrisl7 45d7d3e71f products: spes: Introduce sm6225-common
Change-Id: I188c4e35e31abf62fec1cffcf51e36bd67be8182
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-23 19:49:35 -03:00
chrisl7 b99188162b products: spes: Use topaz-bengal for audio hal
[1] - There are some changes between 9.15 and 9.16. So we'll use something specific to bengal.

Change-Id: Ie0950dcd0f0dc2655ecb7663520bbd996b218af6
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-23 19:49:19 -03:00
Kunmun ab58afc14b prebuilt: Update Google Camera Go to 3.8.476835377_release
Change-Id: I9230f09b9ee0c1854e73a6e5eb28b57b58943e9f
2023-03-19 22:33:01 +05:30
BladeRunner-A2C 6fc47c6337
aospa: Remove clean spec makefile
* not needed after afcbc334f2

Change-Id: Ie345fe439291f846bbf5b4f55150d0da9df566d5
Signed-off-by: BladeRunner-A2C <prisoner56898@protonmail.com>
2023-03-18 22:20:51 +06:00
Kunmun 8cad97b47f aospa: products: Introduce Motorola Edge 30(dubai)
Change-Id: I443649ed6d8d62a5e9fee2eb9c2b4d852f63ee27
2023-03-13 22:57:19 +05:30
Jprimero15 78f24de637
products: Introduce Xiaomi SDM439 (mi439)
Unified devices:
* Redmi 7A/8/8A/dual/pro

Change-Id: I75706418f01ab0abb5593b6bb78acb4e914b67a3
Signed-off-by: Jprimero15 <jprimero155@gmail.com>
2023-03-09 21:46:56 +00:00
Adithya R fa83fa7e01 overlay: Frameworks: Set GMS certified build props
Ref: 32cd021753
Change-Id: Ie5c76f45bd0734d6ab0f9c68485e63e25ea079b4
2023-03-09 15:40:15 +00:00
Jake Weinstein e1ea777afb aospa: Suspend in charger mode after charging finishes
Change-Id: I60b628b02193448d0530698e625c1de7162c00fa
2023-03-07 17:41:43 +05:30
Jake Weinstein c05590cbee aospa: Reorganize target makefiles
There's really no point in separating packages
and properties.

Change-Id: Iece79a3b2e744a110f73e99200f60716ef369eb2
2023-03-07 17:41:31 +05:30
Jake Weinstein a25ca0eccb aospa: Remove skip boot jars check
This is no longer used.

Change-Id: Ic5c5662b12cbb3f13aa95b6ed83bd868caddd0c0
2023-03-07 17:41:23 +05:30
Jake Weinstein c826f3e981 aospa: Correct clo remotes for bitra and bladerunner
Change-Id: I9fd9a08298b8d7f7e25d6b76a6c64be32635d5d6
2023-02-22 12:01:20 +09:00
enesykaya 1f7ffb0572 aospa: products: Introduce OnePlus 5/5T
Change-Id: I9560a1ca878b45dfa4b7aefe529a16e50681beae
Signed-off-by: enesykaya <enesykaya@gmail.com>
2023-02-19 06:32:36 +00:00
Kunmun 4f8ba89862 aospa: Clean kernel from out directory on installclean
KERNEL_OBJ directory was just a symlink to this directory.
Hence, on installclean, KERNEL_OBJ was getting wiped while
kernel directory was still there in out. On running the build,
this symlink gets recreated. Since it matches the previous
condition of the directory, the build doesn't consider
rebuilding the kernel.

• This commit does address the issue at [1].

Reference:
[1] https://gerrit.aospa.co/c/AOSPA/android_build_soong/+/26101

Change-Id: Idbd998de19f2a634cc9d9c93ccb921bb00d41718
2023-02-19 03:50:00 +00:00
BladeRunner-A2C 8bfca6ffcb
products: miatoll: Use our forked pn5xx nxp hidlimpl repo
* update kernel path while we're at it
   and fix some typos

Change-Id: Ib7da277cfa5f132be72161471a88843e2e008399
Signed-off-by: BladeRunner-A2C <prisoner56898@protonmail.com>
2023-02-13 15:06:30 +06:00
minaripenguin 81ca068a6c aospa: sepolicy: Allow system_server to set tethering properties
01-17 09:56:57.302     1     1 W /system/bin/init: type=1107 audit(0.0:10515): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=persist.device_config.tethering.bpf_net_maps_enable_java_bpf_map pid=1427 uid=1000 gid=1000 scontext=u:r:system_server:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0'
01-17 09:56:57.306  1427  1972 W libc    : Unable to set property "persist.device_config.tethering.bpf_net_maps_enable_java_bpf_map" to "0": error code: 0x18

Change-Id: Ifdea5944db915748396de1d6f2c71b2a57dfe2f4
2023-02-11 23:02:50 +05:30
cjh1249131356 966098fbdf soong: Add TARGET_USES_NOTHING_CAMERA
Change-Id: I7bc263a270d24217416b064d6ce4e9e950568988
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
2023-02-04 02:44:06 +09:00
cjh1249131356 039433473a soong: Add TARGET_USES_OPLUS_CAMERA
Change-Id: Id8737e6d2fcce577639bad429560f0d26a560626
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
2023-02-04 02:44:06 +09:00