Commit graph

473 commits

Author SHA1 Message Date
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
GiaSen
e3eca1b8ce kunlun2: Don't dexpreopt apps 2020-11-28 21:47:35 +01:00
jesec
a568f64847 kunlun2: Bind mount /vendor/overlay to empty folder
* Instead of removing it directly from vendor
2020-11-28 21:45:41 +01:00
Aayush Gupta
0584a27c21 sdm710-common: Remove qcom.fmradio from PRODUCT_BOOT_JARS
- It's loaded as app library, hence not needed to be a boot jar

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I1b1357be08b511f5af7663dee256849e2f2b1b63
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-11-28 21:42:59 +01:00
GiaSen
cc7f5fae2e Revert "kunlun2: nuke fm radio [WIP]"
This reverts commit 3dd2159bf0.
2020-11-28 21:42:33 +01:00
SamarV-121
d305f8ec6d Revert "sdm710-common: Enable AOD"
This reverts commit 40b06eb286.
2020-11-28 21:40:48 +01:00
Redick Lin
7380a1a509 sdm710-common: Enable ro.charger.enable_suspend
Define ro.charger.enable_suspend to true as charger no
longer uses BOARD_CHARGER_ENABLE_SUSPEND.

Bug: 153937817
Change-Id: Ic76bf3a66c5e21c74e49607f54d6c0358c31bbac
Signed-off-by: Redick Lin <redicklin@google.com>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-11-28 21:38:40 +01:00
Jimmy Chen
ab06d56014 sdm710-common: overlay: Add p2p regex for tethering modes
Bug: 137602441
Test: CtsVerifier - Wi-Fi Direct
Change-Id: I6d6d29bd1742e4f34d09a208fefdddc9913e38a2
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-11-28 21:37:11 +01:00
Pooja Singh
9ca1bfac71 sdm710-common: Enable chain partition for recovery
Change-Id: I81266c7ce170f9a108a0ce4d01980b5bf8faffd0
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-11-28 21:36:25 +01:00
GiaSen
6c16489353 Revert "kunlun2: use recovery avb key"
This reverts commit 7d200328d3.
2020-11-28 21:36:22 +01:00
GiaSen
936551ec37 kunlun2: Pixel Experience 11
Nuked safailnet and pixel prop
 Nuked CarrierSettings
2020-11-28 17:22:10 +01:00
GiaSen
021d6e59ee kunlun2: Build libhwbinder 2020-11-17 13:34:37 +01:00
GiaSen
2981e944d7 kunlun2: Build libhidltransport 2020-11-17 12:34:51 +01:00
SamarV-121
b1433f3b0d kunlun2: Kang audio policy configuration from Realme sdm710
*BT configs from Lenovo
2020-11-15 15:04:29 +01:00
GiaSen
77b3f1797a kunlun2: Update coral fp to nov 2020-11-13 00:10:11 +01:00
GiaSen
26f0822f47 kunlun2: Ship RevengeOS OFFICIAL 2020-11-13 00:08:28 +01:00
GiaSen
6e374c1939 kunlun2: Remove non-working and useless light rc
This reverts commit b6b7486d55.
2020-11-13 00:01:27 +01:00
Lucchetto
920fec6e5d kunlun2: add wired headset to audio policy
* Workaround for missing audio trough headphone jack
    * Source: https://github.com/phhusson/treble_experimentations/issues/855

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
2020-11-13 00:01:22 +01:00
GiaSen
6f69e21cbf kunlun2: Import and bind mount stock audio policy configuration 2020-11-13 00:01:13 +01:00
Roshan Pius
62c81ec8a9 kunlun2: Add WifiOverlay
Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5
2020-11-12 15:14:46 +01:00
Kevin Chyn
4b637d7acf kunlun2: Add fingerprint configuration to overlay
The framework was changed in Android R to require explicit authenticator registration.
This change allows apps to continue to use the fingerprint sensor.

Bug: 147445115

Test: Builds
Change-Id: Id3385edc784b2053c8b54ec3153728f4e6e22a45
2020-11-12 15:05:02 +01:00
Roshan Pius
10ff7b1cbe kunlun2: overlay: Remove wifi related internal overlays
These are replaced by formal mainline module overlays.

Bug: 143464763
Test: Send for  Wifi regression tests
Change-Id: I45881ed210132252b9c5c7d6be03ed845e33f971
2020-11-12 14:12:17 +01:00
Brad Ebinger
fcfedf13ff kunlun2: overlay: Add translatable="false" tags to ims package overlays
Bug: 147569830
Test: atest TeleServiceTests:PhoneGlobalsTest
Change-Id: I57d80bbf17fafdc87ba04c6e7f7ab9573482e395
2020-11-12 14:09:19 +01:00
LuK1337
5fca2b44ca kunlun2: overlay: Remove old configuration and use new config for MMTEL/RCS
Remove the old config_ims_package device config and configure the
new MMTEL and RCS configurations in Telephony instead. Also,
configure the RcsService to be the default RCS service.

Bug: 111305845
Test: make checkbuild
Change-Id: I0d709b8248f1c40f0a5b50ec799396706eeadd65
2020-11-12 14:08:49 +01:00
GiaSen
7a5037cb9e Revert "kunlun2: import coral Telephony overlays"
This reverts commit 83a4082fe7.
2020-11-12 14:06:20 +01:00
LuK1337
17165825d5 kunlun2: overlay: Update in pinned files.
Remove or update paths that don't exist.

Bug: 119800099
Test: boots
Change-Id: Ib2cea88499cf08274d620d9d85ffcafc31fee868
2020-11-12 14:05:33 +01:00
LuK1337
5435f6f34f kunlun2: Include QSSI sepolicy
* Now that device/qcom/sepolicy is non-vendor only
  we are able to do that.

Change-Id: I4c83a8e30cfa11e45be2f06eb7f444de7f68d219
2020-11-08 13:06:26 +01:00
deanlancer
9eafbb49c3 kunlun2: Update Light HAL 2020-11-08 13:04:48 +01:00
GiaSen
3976e2254b kunlun2: Nuke USB custom Hal 2020-11-08 13:04:35 +01:00