Commit Graph

530 Commits

Author SHA1 Message Date
Edwin Moquete
a387946639 sm7250-common: Switch to legacy sepolicy_vndr
Signed-off-by: anuragbhaumik <bhaumik463@gmail.com>
2022-10-12 20:35:49 +10:00
mikairyuu
5655f85ad4 sm7250-common: sepolicy: fix for a13 2022-10-11 13:16:55 +10:00
Omkar Chandorkar
8e2f44499c sm7250-common: move to lz4 for EROFS
- while lz4hc,9 provides better compression ratio, it has the cost of
  tremendous compression time and potential hit while decompressing
- internal tests on aarch64 seem to suggest the decompression hit
  is larger than x86_64

Change-Id: I5c102c03f95ace982b85a6ffa5c33aa9ce4637a4
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2022-10-08 13:38:09 +10:00
Omkar Chandorkar
7e7aa05828 sm7250-common: match erofs pcluster size to aosp recommendations
- source https://source.android.com/docs/core/architecture/kernel/erofs

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: If881388771d3922f05012627e9c51c28a4230739
Signed-off-by: DarkAngelGR <asavvo01@gmail.com>
2022-10-08 13:35:32 +10:00
Sebastiano Barezzi
02e5e42e7d sm7250-common: udfps: Update handler methods
Change-Id: I7778ba69dcdf2843d3c11f5bd0ec92f1887f7395
2022-09-20 08:37:59 +03:00
Pavan Kumar M
fb54a034b4 sm7250-common: overlays: add veth_ipa_config to modify tcp buffer values
This shell script assigns the buffer values to
acheive maximum throughputs

Change-Id: I30c41b820923a40cc8ed5c35d44caec3bf2aa69dcd
2022-09-14 14:09:36 +03:00
mikairyuu
55f435bd5b Revert "Revert "sm7250-common: props: enable mag filter""
Let's return it, there's nothing bad about magnetic field sensor
2022-09-14 13:40:21 +03:00
UtsavBalar1231
afdb27fdd8 sm7250-common: overlay: Update multiple vibration intensity levels config for T
Since commit: eaaf5331d6
multiple intensities configuration flag has been changed to an interger
reflect that change in here to allow multiple intensity vibration pattern in settings.

Change-Id: I13f9dbf6280623ad1c954ce96ceecbe363140062
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2022-09-14 13:33:07 +03:00
mikairyuu
7ef489b51a Revert "sm7250-common: enable idle timer with kernel support"
This is useless on our 60hz screen anyway
2022-09-07 09:07:54 +03:00
mikairyuu
e863f56c74 sm7250-common: props: sync c2 props with redbull 2022-09-07 00:08:58 +03:00
Akash Srivastava
5166bcfe8e sm7250-common: Update graphics and display blobs to LA.UM.9.12.r1-14400-SMxx50.0 2022-09-06 21:20:32 +03:00
mikairyuu
0bf8ffd1d6 sm7250-common: Build missing bt libs 2022-09-05 18:03:58 +03:00
mikairyuu
13b34afdc3 sm7250-common: switch to stock liba2dpoffload.so
we don't support source built liba2dpoffload lib anymore
2022-09-05 18:03:58 +03:00
mikairyuu
1fe339de60 sm7250-common: Build android.hardware.bluetooth.a2dp 2022-09-05 18:01:08 +03:00
mikairyuu
01f7e7b227 sm7250-common: Build vendor.qti.hardware.btconfigstore@2.0 interface 2022-09-05 18:01:08 +03:00
mikairyuu
ead945de68 sm7250-common: Build audiohalext interface 2022-09-05 18:01:08 +03:00
mikairyuu
f9c1fc5080 sm7250-common: Cleanup props
* we don't need IOP and iorap isn't even there in a13
* async powermode is set as per stock
* Turns out I had a second latch_unsignaled prop set
2022-09-05 18:01:08 +03:00
johnmart19
de0f55c344 sm7250-common: Audio: Drop Post-Processing
We don't need Volume Leveler to do anything with current sound
2022-09-04 18:20:57 +03:00
Sebastiano Barezzi
1b19711be7 sm7250-common: Switch to prebuilt secure_element stack 2022-09-04 18:20:57 +03:00
mikairyuu
84b7388205 sm7250-common: props: Remove dalvik props
They are set by dalvik cfg already
2022-08-30 11:25:26 +03:00
Adithya R
477b9f7783 Revert "sm7250-common: overlay: Declare 6ghz wifi support"
Our wifi antenna actually doesn't support 6ghz.
2022-08-29 17:14:35 +03:00
mikairyuu
defa09be77 Revert "sm7250-common: props: enable mag filter"
This reverts commit c9e5e004c3.
2022-08-28 16:14:36 +03:00
mikairyuu
3b35d7ab7d sm7250-common: props: Sync volume steps with redbull
30 is just too much
2022-08-24 22:11:16 +03:00
mikairyuu
677a467b72 sm7250-common: rootdir: Fix thermal HAL denials 2022-08-22 23:09:20 +03:00
mikairyuu
9942dd4d3a sm7250-common: sepolicy: Resolve hdvcp and qti_init_shell denials 2022-08-22 23:09:17 +03:00
mikairyuu
71c3721b85 sm7250-common: sepolicy: Label remaining wakeup nodes 2022-08-22 17:24:59 +03:00
mikairyuu
701340b8e9 Revert "sm7250-common: powerhint: return all the nodes"
people ain't that keen on using other kernels anyway so let's not spam anything after all
2022-08-22 15:07:07 +03:00
mikairyuu
a914903ade sm7250-common: Switch Health HAL to AIDL 2022-08-22 15:06:45 +03:00
Akash Srivastava
f202cb1387 sm7250-common: Switch to AIDL WIFI HAL 2022-08-21 20:28:21 +03:00
tarsin
79ad3d7105 sm7250-common: Make shim for com.mi.node.watermark.so
Signed-off-by: Kujou Yuko <i@779.moe>
Change-Id: I47fea33432692a7a76d71db91676cb3a58ac19c7
2022-08-21 19:30:11 +03:00
mikairyuu
6268953703 sm7250-common: Build Pixel Thermal HAL 2022-08-20 15:52:26 +03:00
mikairyuu
5d983c08ba sm7250-common: Uprev audio HAL to 7.1 2022-08-20 15:52:26 +03:00
mikairyuu
ad4c09fa85 sm7250-common: overlays: Enable new network UI 2022-08-19 20:54:55 +03:00
mikairyuu
beba601e2f sm7250-common: overlays: Remove obsolete overlays 2022-08-19 20:53:25 +03:00
Daeho Jeong
fa9190778d sm7250-common: Disable powerhint for F2FS gc_urgent mode
Disable the powerhint for F2FS gc_urgent mode, since we are going to
replace this with the smart idle maintenance service.

Test: turn on/off the screen & check /sys/fs/f2fs/dm-*/gc_urgent
Bug: 214430685
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I5691ce28d24fca80290fdd6b8f4920d4c95e68d7
2022-08-19 20:53:25 +03:00
Kujou Yuko
2588d66aa4 sm7250-common: Enable Audio Support for Hearing Aids central support
Signed-off-by: Kujou Yuko <i@779.moe>
Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
Change-Id: I792a9715f17c1f17fb8b9a524cabed901d3e6f4a
2022-08-19 20:53:25 +03:00
Sal Savage
ac68db8db5 sm7250-common: Enable bluetooth profiles
Bug: 217448211
Test: make -j

Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
Change-Id: I0d06b46910e42346653bea3484636f4129592ce3
2022-08-19 18:58:28 +03:00
Sal Savage
e5778e2b8e sm7250-common: Set default the Bluetooth class of device
The class of device is a string with a list of uint8t values:
90,2,12

The meaning is as follows:
{Service Field, Major class, Minor class}

Service Field: 0x5A -> 90
    Bit 17: Networking
    Bit 19: Capturing
    Bit 20: Object Transfer
    Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)

Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct

Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
Change-Id: I07e83ca352ff969be0e53a0f63b6c940b6c34dfb
2022-08-19 18:52:15 +03:00
Josh Wu
79fba8b135 sm7250-common: Switch BtAudio to AIDL
Test: m
Bug: 203490261

Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2022-08-19 18:49:24 +03:00
mikairyuu
d7397d77ef [TEMP] Switch to mock thermal 2022-08-19 12:22:21 +03:00
mikairyuu
84b5c780ad [TEMP] Ignore neverallows 2022-08-19 12:22:21 +03:00
Etienne Ruffieux
a79fb6ac72 sm7250-common: Removed audio A2dp from common.mk
Bug: 220306859
Test: atest
Tag: #feature
Change-Id: I300369d36399ffb558b98bafc2478b872d09faba
2022-08-17 18:11:09 +03:00
Jiyong Park
d9ad9fa6cb sm7250-common: Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Merged-In: I14a1c57bd06f1f2aa52491f779c7030d4de03547
Change-Id: I14a1c57bd06f1f2aa52491f779c7030d4de03547
2022-08-17 18:10:27 +03:00
Joey Huab
1d38427c4e sm7250-common: Remove gsi_keys
* Removed in b30a23cca2.
2022-08-17 18:10:23 +03:00
mikairyuu
1c6329d11f Revert "sm7250-common: props: enable charger suspend "
This reverts commit 1aa1652a9e.
2022-08-17 10:19:52 +03:00
Randall Huang
aed5f2d0ee sm7250-common: remove IO read_ahead_kb tune
If we set 2048KB ra value in the beginning of the
boot process, services initialized at this time would
keep 2048KB ra value even though we adjust the ra value
to 128KB after boot completion.

This may cause memory pressure.

Bug: 174700194
Signed-off-by: Randall Huang <huangrandall@google.com>
Change-Id: I97ee0ee9511eaada011f2634afd68d68cdca4570
2022-08-15 16:06:44 +03:00
mikairyuu
2ba766af98 sm7250-common: overlay: add missing data service config 2022-08-15 15:56:46 +03:00
mikairyuu
b8ced30a0d sm7250-common: overlay: update pinner values from redbull 2022-08-15 15:56:46 +03:00
James.cf Lin
4c11fbd318 sm7250-common: Set the device does not support RCS User Capability Exchange
Bug: 178239287
Test: build
Change-Id: I595cb214eae7ab1a5e5b861283b80ab447e81b9d
2022-08-15 15:24:36 +03:00
mikairyuu
1b77eea3bc sm7250-common: remove incorrect wifi overlays 2022-08-15 15:18:41 +03:00