Commit Graph

244 Commits

Author SHA1 Message Date
Weikai Kong
7f20f7bf30 sweet: add back ro.vendor.extension_library definition
* We aren't using QCOM's perfd but our blobs still check for this.
 * To avoid unnecessary errors, let's just add it back.

Change-Id: Icc44b330f21a658cfa8ded691a6628d8f62c3649
2022-03-24 20:50:00 +05:30
Lucchetto
09782fa380 sweet: Create dummy libqti-perfd-client
* proprietary perfd blobs can finally be nuked without breaking goodix
* we could even map the functions to use libperfmgr powerhints in the future

Change-Id: I124652f3041761966a3e3bd97c757fecc39cc5fb
2022-03-24 20:50:00 +05:30
AdarshGrewal
7c5329f4d0 sweet: hidl: Include lineage FCM from vendor 2022-03-24 20:50:00 +05:30
AdarshGrewal
e4c38321a5 sweet: hidl: setup framework compatibility matrix 2022-03-24 20:50:00 +05:30
AdarshGrewal
850f212a3a sweet: Build vndservicemanager 2022-03-24 20:50:00 +05:30
AdarshGrewal
8a980a17aa sweet: allow building with dup rules 2021-09-16 17:50:06 +05:30
AdarshGrewal
bd8cc5cbe7 sweet: add asserts for sweet and sweetin 2021-09-16 17:50:01 +05:30
AdarshGrewal
1b074efa78 sweet: define screen density 2021-07-12 16:58:47 +05:30
DennySPB
a0cc5fb715 sweet: power: Decrease launch boost to 3sec
* 5s is just too much long plus battery drainer

Signed-off-by: DennySPB <dennyspb@gmail.com>
Change-Id: I7e037c45cd2296a8bbd67d6bd63c212c0ef2a805
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
2021-07-12 16:58:47 +05:30
Bruno Martins
121e9b01ce sweet: power: Remove Google-specific camera hints
Change-Id: I06a83be233490f0b23cebd83bb71172b7044727b
2021-07-12 16:58:47 +05:30
Arian
99d8f03186 sweet: power: Import powerhint configuration from Pixel 4A
powerhint.json is checked out to https://android.googlesource.com/device/google/sunfish/+/refs/tags/android-11.0.0_r38/powerhint.json.

Change-Id: Ib576cea82363865cefd5e5fa2e7c746c0b95c3a8
2021-07-12 16:58:47 +05:30
Arian
53d3c0a5b1 sweet: Add ultrasound sepolicy
Change-Id: I5b16c2f76f66375fbef3c0b1ccb91f2e857dfb9d
2021-07-12 16:33:37 +05:30
Arian
aaa3a6c87f sweet: init: Cleanup unused includes
Change-Id: Ib713665e84bdfb3e41e6d54618308b32cfba8f1b
2021-07-12 16:33:37 +05:30
Arian
a7a27ba917 sweet: init: Use variables for the region specific properties
Change-Id: I67df78d83007f872fd22c9b177e82234ef494523
2021-07-12 16:33:37 +05:30
Arian
2b862b0c6b sweet: init: Always set the ro.build props
* ro.build. properties are set at runtime if not set
  already (after libinit runs) in android 10 hence
  ro.build.fingerprint wasn't set since the prop did
  not contain a value while libinit ran.

Change-Id: I213c4c2c730c294c42a5d4db70359e7b49d7947e
2021-07-12 16:33:37 +05:30
LuK1337
ea8fecdd6f sweet: init: Override everything ^.^
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: I8b617e57ef5345cb55e697c29a63c036512ed0af
2021-07-12 16:33:37 +05:30
AbhiShek Aggarwal
4993f0ecbb sweet: Add custom init to set proper variants
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: I04f09a14cf41c89b3135c53e3089d5c3e703aae0
2021-07-12 16:33:37 +05:30
AdarshGrewal
14cb9ceb69 sweet: Import audio configs from MIUI V12.5.4.0.RKFMIXM 2021-07-12 16:33:36 +05:30
daniml3
57030969c3 sweet: pin acdbdata from sweetin MIUI V12.5.2
Signed-off-by: daniml3 <danimoral1001@gmail.com>
Change-Id: I6ad029ec06eb29dda8157338ece34b0e1a9080c8
2021-07-12 16:33:36 +05:30
AdarshGrewal
3e2c1b5b96 sweet: add Ultrasound blobs 2021-07-12 16:33:36 +05:30
daniml3
6fa6d44e65 sweet: import camera configurations for s5kgw3
* Fixes green tint on cameras on 64MP camera variant

Signed-off-by: daniml3 <danimoral1001@gmail.com>
Change-Id: I29d875bf33167dcfb577fd4b29e26fe6c3e98bba
2021-07-12 16:33:36 +05:30
AdarshGrewal
7dfa5d7c55 sweet: import camera blobs 2021-07-12 16:33:36 +05:30
AdarshGrewal
4f3964e27b sweet: import mi_thermald 2021-07-12 16:33:36 +05:30
AdarshGrewal
8f20052600 sweet: import Import blobs 2021-07-12 16:33:36 +05:30
AdarshGrewal
5faffe2783 sweet: import Graphics firmware 2021-07-12 16:33:36 +05:30
AdarshGrewal
5588f0f167 sweet: import wifi blobs 2021-07-12 16:33:36 +05:30
raghavt20
6122b67040 sweet: Build 1.0 sensors service
* It was decommonized because some devices require 2.0 sensors service

Change-Id: Ieb0d5dc846d3cd0ee35487a31779b7b182f1a4fc
2021-07-12 16:33:24 +05:30
AdarshGrewal
f034a2e78d sweet: import sensors blobs 2021-07-12 16:28:50 +05:30
Arian
5c82ac57ee sweet: Add prebuilt audio HAL
Change-Id: I889bf86fab97e704c33d0ce0c9f831a99ad33925
2021-07-12 16:28:16 +05:30
Arian
51954cc1c6 sweet: Add vendor properties
Change-Id: If0f9c762bc17804d27a405dfb91ef33ca24c4b99
2021-07-12 16:28:16 +05:30
AdarshGrewal
e658c96bef sweet: import audio blobs 2021-07-12 16:28:16 +05:30
AbhiShek Aggarwal
4d23c197b2 sweet: overlay: Import brightness overlays from MIUI
Change-Id: Ib00b3817eece7bb8ff0acafb3d545e4324d7c26d
2021-07-12 16:28:16 +05:30
Arian
b0dadb8019 sweet: Configure partitions
Change-Id: I802acf41be02788cb14646fbcfc2e9bbdb1f99f9
2021-07-12 16:28:16 +05:30
AdarshGrewal
089bc8c331 sweet: Inherit from sm6150-common 2021-07-12 16:28:16 +05:30
AdarshGrewal
892b61d6ad sweet: rootdir: add boot to fstab 2021-07-12 16:28:16 +05:30
AdarshGrewal
af5d80cb3e sweet: rootdir: Import fstab 2021-07-12 16:28:16 +05:30
AdarshGrewal
9756696985 sweet: Define kernel config 2021-07-12 16:28:16 +05:30
Jiyong Park
7b570dca07 sweet: support updatable APEX
Before, updatable_apex.mk was inherited indirectly from
mainline_system.mk. Since mainline_system.mk no longer inherits
updatable_apex.mk, updatable_apex.mk is inherited directly from
device-specific mk file.

Bug: 132664085
Test: choosecombo to phoenix; get_build_var TARGET_FLATTEN_APEX
shows false

Change-Id: I7162567b732f284f618a77cf09f5b40aadd913d5
Merged-In: I7162567b732f284f618a77cf09f5b40aadd913d5
2021-07-12 16:28:16 +05:30
Bowgo Tsai
c62f427eee sweet: Adding GSI keys
Bug:112293933
Test: tree hugger
Change-Id: I112ece91566e6cea066cd637bfed5cae6761ae66
2021-07-12 16:28:16 +05:30
AdarshGrewal
57864dabce sweet: Declare shipping API level 2021-07-12 16:28:16 +05:30
AdarshGrewal
68c442c7ef sweet: inherit the proprietary vendor 2021-07-12 16:28:16 +05:30
AdarshGrewal
b75a011b8c sweet: Add extract scripts 2021-07-12 16:28:16 +05:30
Ethan Chen
31fc943209 sweet: Use Soong namespace to avoid device build conflicts
Change-Id: Id04f464102264b6f2e8d49b39389c7e346613b39
2021-07-12 16:28:16 +05:30
AdarshGrewal
799abfe47a sweet: Initial device tree 2021-07-10 16:41:06 +05:30