Commit graph

501 commits

Author SHA1 Message Date
Giammarco Senatore
e0a7933eff
kunlun2: addressed some denials 2021-02-15 15:41:06 +01:00
Giammarco Senatore
6ab15e1726
Revert "kunlun2: drop soundtrigger hal"
This reverts commit 9e0bb715c6.
2021-02-15 15:41:06 +01:00
xyyx
ad74ced2e6
kunlun2: Address FM Radio denials 2021-02-15 15:41:06 +01:00
akhilnarang
0febe60110
kunlun2: Flash dtbo and print what's being flashed 2021-02-10 19:12:11 +01:00
Giammarco Senatore
8895212b30
kunlun2: Build kernel from source 2021-02-10 12:11:25 +01:00
Giammarco Senatore
3da4b8031b
Partially revert "kunlun2: light: minor cleanup"
This reverts commit 1d06f837c1.
2021-02-10 12:11:20 +01:00
jjpprrrr
9e0bb715c6 kunlun2: drop soundtrigger hal
Co-authored-by: SamarV-121 <samarvispute121@gmail.com>
2021-02-05 20:11:54 +01:00
Giammarco Senatore
0b5d4137fa kunlun2: We are still shipping CarrierSettings 2021-01-23 21:09:51 +01:00
Giammarco Senatore
28f5e83463 Revert "RMX1851: Kang CarrierConfig overlay from oneplus_sdm845-common"
This reverts commit 3eac25c37e.
2021-01-23 21:07:23 +01:00
mikeNG
25f2ae1553 kunlun2: Switch to standalone extract utils 2021-01-23 15:38:21 +01:00
Giammarco Senatore
0e92220187 kunlun2: Enable ADB on eng builds 2021-01-23 15:38:16 +01:00
TTTT555
da0889b45a kunlun2: Add camera aux package list
- Required for third party apps to use their built in camera e.g Telegram

Signed-off-by: Zinadin Zidan <zidan44@pixelexperience.org>
Change-Id: I22ab565d7d75e278faf4600cd5aecec59164bf8f
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-21 18:40:16 +01:00
Giammarco Senatore
60633c1215 kunlun2: Update and cleanup init qcom rc
* we don't have some paths
 * we have emmc
2021-01-21 18:31:18 +01:00
GiaSen
abdf28791a kunlun2: sepolicy: cleanup and update 2021-01-02 21:05:16 +01:00
GiaSen
1d06f837c1 kunlun2: light: minor cleanup 2021-01-02 18:40:14 +01:00
GiaSen
b3e0af8270 kunlun2: Cleanup
- Remove unused build broken configs
- Remove RevengeOS early hack to bypass long baseband name
- Remove blur expensive prop, new power aidl doesn't support
- Live wallpapers are built by default
2021-01-02 16:43:53 +01:00
Volodymyr Zhdanov
4db1147a64 kunlun2: power-libperfmgr: move dt2w mode on top of setMode switch
* fixed dt2w after reboot

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 19:36:00 +01:00
Volodymyr Zhdanov
7fd6e62ecd kunlun2: power-libperfmgr: enable DOUBLE_TAP_TO_WAKE mode explicitly
* libperfmgr expects mode to be declared in powerhint but dt2w is handled in powerhal
* so let's just force enable it like google did with LOW_POWER
* also use break instead of fallthrough because there's no need to play with hints

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 19:34:49 +01:00
DennySPB
d4a7573cd1 kunlun2: Resolve power HAL denials on R
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 19:18:32 +01:00
SamarV-121
0b9dcc21d6 kunlun2: power-libperfmgr: Enable dt2w
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 18:09:57 +01:00
GiaSen
98dce4d4d5 kunlun2: Nuke LenovoParts 2021-01-01 17:53:10 +01:00
Kyle Lin
0d01eb2df5 kunlun2: libperfmgr.rc: let power hal start early
Bug: 162791243
Bug: 72471476
Test: build and using emul temp/running burn8 to verify it
Change-Id: I5ca475be8b73b940e4858634595a7918ae92f6ef
(cherry picked from commit 35e110fe669a7d2996ce503d7e31204554f972e3)
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +01:00
SamarV-121
4416341c21 kunlun2: Hack to override empty power hidl 2021-01-01 17:52:21 +01:00
Robb Glasser
5ec60c1e74 kunlun2: Enable idle_state mechanism
Allows us to check the idle state of the display in order to use perf
hints to improve system performance.

Bug: 69270928
Bug: 69915886

Test: Booted and cat-ed the affected files
Change-Id: I8717093e9b8ed9ed35b6ca51a20225abbf71f775
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +01:00
Andres Oportus
37bb69e906 kunlun2: Add SchedTune configuration
Bug: 36367381
Test: Boot and check stune configuration effect on sysfs

Change-Id: I838c31d164684a5d88550c92284b65bb50f2ed56
Signed-off-by: Andres Oportus <andresoportus@google.com>
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +01:00
Jesse Chan
bae3d485a5 kunlun2: power-libperfmgr: Initialize powerHAL when boot is completed
Change-Id: I801b3aba05ef0be14c7af1969ddf9318c05ef64c
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +01:00
Jesse Chan
a485a2c7c8 kunlun2: power-libperfmgr: Remove Google-specific display LPM control
Change-Id: If58f38b99bf6fbd73f6b6ab2144293c63e18b600
Signed-off-by: Jesse Chan <jc@lineageos.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +01:00
Jesse Chan
89e43efead kunlun2: power-libperfmgr: simply wait if idle state node is not present
Change-Id: I93dd97e5437761d2d969f93a5af0cae864fd0a65
Signed-off-by: Jesse Chan <jc@lineageos.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +01:00
SamarV-121
30666f3913 kunlun2: Import Pixel power AIDL HAL
Nuke Powerstats
2021-01-01 17:52:11 +01:00
GiaSen
581940f777 kunlun2: Enable 4G by default 2021-01-01 15:46:37 +01:00
GiaSen
f5f839f3b3 kunlun2: Nuke manifest.xml
Was not needed at all
2021-01-01 15:46:25 +01:00
GiaSen
2f07f5abc0 kunlun2: Go enforcing
Bind mount etc files because vendor_overlay/29/etc makes device to reboot to recovery

from pstore
vdc: Command: cryptfs enablefilecrypto Failed: Status(-8, EX_SERVICE_SPECIFIC): '0: '
2021-01-01 13:33:47 +01:00
Kuber Sharma
b86cae0eba kunlun2: Copy updated handheld_core_hardware.xml to enable software controls feature
* AOSP has included device software controls feature permission
inside handheld_core_hardware.xml from android-11.0 but since
we use prebuilt OEM vendor which is from android-10.0 it
does not have this feature permission included in that.

a9708b1763%5E%21/#F1

Signed-off-by: Ayush Dubey <ayushdubey70@gmail.com>
Signed-off-by: aashil123 <singhalaashil@gmail.com>
Signed-off-by: victor10520 <merser2005@gmail.com>
2021-01-01 12:42:13 +01:00
dragonGR
ac6129893f kunlun2: doze: Inject doze through ia
This reverts commit 01d28d0abd9559dab1d735ba66a6844d8e5884c3.

Signed-off-by: Ayush Dubey <ayushdubey70@gmail.com>
2021-01-01 12:42:13 +01:00
GiaSen
3b00c1e366 kunlun2: Don't build Snap 2021-01-01 12:42:13 +01:00
Sujin Panicker
55797d3525 kunlun2: configs: Add voip_tx profile to policy conf
Skype+camcorder concurrency usecase makes Skype
to mute since both uses same record_24 profle, due to
which second audio record request de-prioritizes first
setting isTopOrLatestActive(=true)

Add voip_tx profile making skype to use fasttrack rather
than using record_24 profile

Change-Id: I4a6cee00787f8f587b088d4586e8d13d824144c3
2020-12-22 15:47:15 +01:00
Jasmine Cha
241e67c81c kunlun2: audio: Add hotword input for hotword mic concurrency
Bug: 126595113
Bug: 129733664
Bug: 133123985
Bug: 130316160

Test:
 (ST: sound trigger, VO: VoIP, PH: phone call,
  NR: media recording, PL: playback music)
 ST->VO (MO/MT),  ST->PH (MO/MT)
 ST->NR->PH (MO/MT), ST->NR->VO (MO/MT)
 ST->PL->PH (MO/MT), ST->PL->VO (MO/MT)
 ST->NR->PL->PH (MO/MT),  ST->NR->PL->VO (MO/MT)

Change-Id: I11513994c7a34364de38e00fc8ff999efe3dbb6c
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-12-22 15:47:10 +01:00
GiaSen
a6c5f9d7d5 kunlun2: Reduce density 2020-12-07 12:20:34 +01:00
GiaSen
f31e94c048 kunlun2: Nuke qti telephony injection 2020-12-05 13:18:18 +01:00
SamarV-121
3eac25c37e RMX1851: Kang CarrierConfig overlay from oneplus_sdm845-common
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-12-05 13:13:37 +01:00
GiaSen
fb115aa927 kunlun2: Kang audio policy configuration from DRG 2020-12-03 22:49:30 +01:00
Ethan Chen
347bedf5e6 sdm710-common: Add AOSP RCS packages
Change-Id: Ic16d3b92820d246db73ad70ccaa0f4bc7f50e515
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-12-03 22:49:30 +01:00
Lucas Dupin
73f29a6e11 kunlun2: Enable blurs, under dev-option
Test: make
Test: manual
Bug: 149792636
Change-Id: I607ce7de50545b87c3b4d98bb149355c84631e53
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-12-03 22:49:26 +01:00
Redick Lin
3be848dca8 RMX1851: Use phase offsets as duration
In Android R, the SurfaceFlinger calculate phase offsets
based on duration. Adopt the new way of specifying
phase offsets to SurfaceFlinger.

Bug: 158464992
Test: scrolling, app launching/closing, playing video
Change-Id: Ia717f5c0075b6adaedaf20dd6be689737edc1415
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-11-28 21:57:43 +01:00
David Sehr
7777658b00 RMX1851: Use dex2oat64
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-11-28 21:57:35 +01:00
SamarV-121
3b63e90589 RMX1851: Optimize ART
* Ref: https://source.android.com/devices/tech/dalvik/configure#dex2oat_options

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-11-28 21:56:53 +01:00
aleasto
bf9b5b775f kunlun2: Disable SF backpressure
Change-Id: I4d5e9ec52901a8b7da9c0c439417a4ac90c512b3
2020-11-28 21:56:29 +01:00
GiaSen
06198e087e kunlun2: Add 11 dependencies 2020-11-28 21:55:13 +01:00
Roshan Pius
13fc98c8d2 RMX1851: overlay: Change wifi tether regex
The wifi interface names for wifi can either be wlan0 or wlan1.
Change the "config_tether_wifi_regexs" appropriately.

Bug: 80375412
Test: Ensured we display "Hotspot on" in settings when softap is started
on either wlan0 or wlan1.

Change-Id: I0c456412f9b71ef2ee784f3bfa58b01b9287ca73
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-11-28 21:53:54 +01:00
Kyle Harrison
689fabb481 RMX1851: overlay: Move tethering overlays
Config overlay values moved from frameworks_base core to
frameworks_base packages/Tethering

https://github.com/LineageOS/android_frameworks_base/blob/lineage-18.0/packages/Tethering/res/values/config.xml

Change-Id: Ia5a8056d6334cd78e79853c0ada4e8873a9669e0
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-11-28 21:53:39 +01:00