Commit Graph

186 Commits

Author SHA1 Message Date
ad7cd522f9 mondrianwifi: remove IGloveMode not supported 2021-08-24 20:39:44 +02:00
5bb76637ab mondrianwifi: Declare IStylusMode for vendor.lineage.touch in vintf ma…
…nifest

* The cmd_list node exists, and it contains hover_mode, so
  isSupported() returns true. Not having a supported interface
  declared leads to boot-breaks starting with R.

Change-Id: If2081dc796ff1a33043d9894aa556028d4aa2d68
2021-08-24 19:59:19 +02:00
1668cce888 mondrianwifi: Drop interactive power extensions
What this do is only write to core_ctl nodes every time the
screen turns on and off, as the new Lineage power HAL decides
to just change the migration value rather than messing with
cores, we may drop this as well.

Change-Id: I318268842aa0a4680883990bb8076e224ca9234d
2021-08-24 19:03:46 +02:00
e2c6d0eb2c mondrianwifi: build sensors 2021-08-24 18:54:20 +02:00
13fae377f8 mondrianwifi: ueventd: Don't modify permissions of /dev/hw_random
This addresses an underlying problem since /dev/hw_random is used. The
issue is that EntropyMixer, which runs in system_server, needs to read
from /dev/hw_random, but thanks to our qualcomm ueventd, EntropyMixer
can never accress this node, resulting in warnings like this:

W EntropyMixer: Failed to add HW RNG output to entropy pool
W EntropyMixer: java.io.FileNotFoundException: /dev/hw_random (Permission denied)

AOSP ueventd handles this well, so just remove this line to get things
back to stage. This issue was never exposed because Google derps the
logging here, which is already fixed on Pie.

c78a463e87

Change-Id: I42c9aaa8f57306536e51c0a17febad57a5a77581
2021-08-24 18:47:45 +02:00
2afca3631b mondrianwifi: Set PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true
* Apparently this is now required on all non full treble devices since
  google added a sleep(1) in libhidl...

Change-Id: I6d8492dd7c56bfdb2ca00f3477634a46fa55b1c0
2021-08-24 18:39:35 +02:00
9809970dde mondrianwifi: move touch from hwbinder to passthrough as msm8974-common 2021-08-24 18:21:29 +02:00
eab5739dfa mondrianwifi: move audio from hwbinder to passthrough as msm8974-common 2021-08-24 18:15:19 +02:00
3e84849d8f mondrianwifi: move DRM from passthrough to hwbinder
Change-Id: Idefd27539d3124a40b2be98e3f50666077d05c48
2021-08-24 18:11:45 +02:00
baad742cc3 mondrianwifi: Build Samsung LiveDisplay service
Change-Id: I74d38aa0df3179bb00b942135e8ff055aa8a5658
2021-08-24 18:07:51 +02:00
5875421e88 mondrianwifi: Switch to IMapper 2.1
Test: display CTS
Bug: 62535446
Change-Id: I2d6d0d118014eb2b99a6832b4c900ae21c062517
2021-08-24 18:04:18 +02:00
4d9ff01386 mondrianwifi: Binderize them all
* Switch to binderized HAL services as possible and update
   HIDL manifest accordingly.

Change-Id: Id50291488d655187aa013c51bdd6890dca010564
2021-08-24 18:02:53 +02:00
a76acd5eb6 mondrianwifi: manifest: Remove widevine instance
In Q, this looks like it's making the system wait for a
specific widevine service, which we don't have.
Removing this appears to make L3 start working again.

Change-Id: Ib410029519e1d3cb0f0f3a5aa553976b36bca8c3
2021-08-24 17:59:54 +02:00
071d4125da mondrianwifi: Wifi: Remove hostapd hidl entry from manifest.xml
This CL removes the definition for the hostapd hidl interface from
manifest.xml and rely on vint-fragements entry.
This is to avoid the need to modify the revision in future

Bug: 145780363
Test: builds and wifi softap works
Change-Id: I2a9cb25209efc94f6306f38d89cb5e1ff6f72bed
2021-08-24 17:58:39 +02:00
f5026de1b6 mondrianwifi: Build 2.1 health HAL
The devices fail to boot otherwise.

Change-Id: I5bc6ae361a5319224b87ef6a4d7127b6b5bc9a97
2021-08-24 17:57:56 +02:00
ea608f5149 mondrianwifi: Build new aidl qti power HAL
Change-Id: I4bdea354e54d34d0dfe9b811e228fc6f8762d2ed
2021-08-24 17:55:35 +02:00
64c6461c7d mondrianwifi: Wifi: Remove IWifi hidl entry from manifest.xml
This CL removes the definition for the IWifi hidl interface from
manifest.xml and rely on vint-fragements entry.
This is to avoid the need to modify the revision in future

Bug: 138243400
Test: builds and wifi works
Change-Id: Icaff93193e10d4953d9947d2739b05959ece79f1
2021-08-24 17:53:55 +02:00
285323c2ee mondrianwifi: wifi: move wpa_supplicant VINTF definition to wpa_sup…
…plicant module

Bug: 36505680
Test: atest FrameworksNetTests
Test: atest VtsHalWifiSupplicantV1_3TargetTest
Test: connect EAP access point and verify PMK cache works correctly.
Change-Id: I2c382765b8e84951fc17bb9f1c3785dcd66e7b51
2021-08-24 17:53:09 +02:00
21b2500bad mondrianwifi: Remove vintf entries that are now fragments
Change-Id: I22b105b1340dff648bc5011b80f735b33d5fe370
2021-08-24 17:52:02 +02:00
821c487d48 mondrianwifi: Move graphics composer to hwbinder
The passthrough impl is dead as of Android 11 QPR1.

Change-Id: Ic10e93398363f03551afe39715cb664bbbce1683
2021-08-24 17:50:20 +02:00
9fcfe4da27 mondrianwifi: manifest: Remove Trust interface entry
This has been turned into a VINTF fragment.

Change-Id: Iaf53a2e1fbac75d53ec11d4c56c51230f4758daf
2021-08-24 17:26:52 +02:00
5c5f6614a9 mondrianwifi: Increase zram size to 50% 2021-08-24 15:44:07 +02:00
63b9769273 mondrianwifi: Remove USE_XML_AUDIO_POLICY_CONF
* Dead since Q, where XML audio policies weren't enforced yet

Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
2021-08-24 08:10:06 +02:00
df7c3ee73f mondrianwifi: Define shipping FCM version in the manifest
Shipping API level less than 26 corresponds to legacy FCM version.

This addresses the following build warning:

   Warning: Shipping FCM Version is inferred from Shipping API level. Declare Shipping FCM Version in device manifest directly.

Change-Id: Ib230c345ff7deb552597824838b8809ceefbbe8a
2021-08-24 08:09:19 +02:00
f0e76be7d8 mondrianwifi: Use XZ compressed ramdisks
Old LZMA_RAMDISK_TARGETS is deprecated.

Change-Id: I3b9205500bb1777ff0f7caa5a6a61fcacdeb6ad6
2021-08-24 08:00:49 +02:00
d884bb1def mondrianwifi: gps: Replacing copy headers with header libraries
Bug: 33241851
Test: Build target and pass CTS location tests
Change-Id: I75db5e6de3c4194a6a46e0d37fcd899ea1d1db04
2021-08-23 21:14:20 +02:00
Valera1978
470785f827 remove low memory option 2021-03-05 11:07:07 +03:00
Valera1978
038c8ea307 add camera wrapper 2021-03-05 11:06:27 +03:00
Valera1978
a3a18843ad update symlinks - thanks @notGarrison 2020-07-15 16:25:09 +03:00
Valera1978
eb9ce0ba2c update readme 2020-05-26 11:28:57 +03:00
Valera1978
9601eb6cb8 Use sdfat for exfat and vfat 2020-05-26 11:25:10 +03:00
Valera1978
0a2ae82e4c back to SM-T320 mixer, fix video recording 2020-05-26 11:25:10 +03:00
Valera1978
949d22db81 remove netmgrd service 2020-05-26 11:25:10 +03:00
Valera1978
e217cca34e Disable SF Latch Buffer Signaled property 2020-05-26 11:25:10 +03:00
Valera1978
ba47993bbc update interfaces 2020-05-26 11:25:10 +03:00
Valera1978
b0acb38d06 Use sdfat for exfat and vfat 2020-05-26 11:25:10 +03:00
Valera1978
838c760d4f Add /dev/alarm rule to device ueventd.qcom.rc
* AOSP removed this as a platform-wide rule since it is "...not
  present on Pixel devices". As it turns out, our RIL gets grumpy
  and won't latch a data connection if it cannot open the device.
* own/mode aligned to AOSP values from before the change

* E RILD    : ElapsedRealTime() Cannot open file /dev/alarm

* ref: LineageOS/android_system_core@16cdffe

Change-Id: Ib369e4b76653a412d75a3c8c37ee283f8c8e9239
2020-05-26 11:16:32 +03:00
Valera1978
f9558e890f back to old powerhal 2020-05-26 11:14:51 +03:00
Valera1978
3896a8816e add ld.config.txt 2020-05-26 11:13:15 +03:00
Valera1978
cd1702ad36 remove unused stuff 2020-05-26 11:12:28 +03:00
Valera1978
a83289e46b update power profile 2020-05-26 11:08:10 +03:00
Valera1978
b938324615 fix error - wrong pthread_mutex_unlock 2020-05-26 11:07:16 +03:00
Valera1978
0aad327162 cleanup overlay 2020-05-26 11:06:36 +03:00
Valera1978
998eb6d33a remove Doze, already exist in /hardware/samsung/doze 2020-05-26 11:04:55 +03:00
Valera1978
6175a477c5 add Low memory flag 2020-04-08 12:13:35 +03:00
Valera1978
3cff4ca0d1 fix ir 2020-02-13 12:04:23 +03:00
Valera1978
b64273351f rollback wifi driver 2020-01-31 18:51:21 +03:00
Valera1978
a768aa23a9 fix audio 2019-12-18 16:31:14 +03:00
Valera1978
2c17c0fd50 switch to sensors from sources 2019-12-14 17:13:27 +03:00
Valera1978
f3333c2799 add lockscreen rotate 2019-12-13 14:47:36 +03:00