Commit Graph

50 Commits

Author SHA1 Message Date
xSylla
35aa84537f sm8250 > sm7250 2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
e3463cc2d7 sm8250-common: Import liblight
* From c7c6e7e9f5

Change-Id: I49486fcb33414625753b71fed04c8b906e0bffc9
2021-06-09 11:57:03 +02:00
Abhishek Aggarwal
4a2f70507b
sm8250-common: fod: Add surfaceflinger extension lib
* And specialize it for xiaomi kona devices

Co-authored-by: dataoutputstream <mb150996@gmail.com>
Change-Id: I440e6d246884fd22044756c6260b3583a1e58a7b
2021-06-08 14:53:18 +02:00
Sebastiano Barezzi
7d367dd95a
sm8250-common: Don't override DEVICE_{MATRIX|MANIFEST}_FILE
* Allow device-specific manifests to be safely added

Change-Id: Iccafe8c8491219336389015af8caa2c7a700ff61
2021-06-08 14:53:18 +02:00
Sebastiano Barezzi
1ca97128ca
sm8250-common: Remove USE_XML_AUDIO_POLICY_CONF
* Dead since Q, where XML audio policies weren't enforced yet

Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
2021-06-08 14:52:37 +02:00
Sebastiano Barezzi
3fe9a3b11a
sm8250-common: Remove BOARD_RAMDISK_OFFSET
* Not used

Change-Id: I5fd7c439aad46800b77514682a28b590e04179db
2021-06-08 14:52:37 +02:00
Sebastiano Barezzi
9db0864cb7 sm8250-common: Add power AIDL DT2W support via sysfs node
Change-Id: Idcff758444a5c89ba20f2ae804a407ee78c445cb
2021-06-03 00:30:15 +02:00
Sebastiano Barezzi
545fe5c78e sm8250-common: Drop power AIDL extension
Change-Id: Ied144ee0f7840ab43499d43f3d0c64dfd414d99f
2021-06-03 00:27:20 +02:00
Sebastiano Barezzi
21bc0bdf77
sm8250-common: biometrics: Hardcode fingerprint HAL classes list
* We have just 3 variants for all 7 devices, why do we even bother

Change-Id: I7488aaccd35bc2de4d214b3c71cce14177ab76c7
2021-05-20 11:45:15 +02:00
Sebastiano Barezzi
8949260eaf
sm8250-common: Enable FOD Soong configs with opt-in
Change-Id: Ie7a731e45a93cd92003d0d0c026047ff6c2c63c3
2021-04-25 02:49:49 +02:00
LuK1337
cd09fddfab
sm8250-common: Enable TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY
We can handle analog audio just fine, no need to
inform the user that their device is not supported.

Change-Id: I7dda01e7bd2560e8c782245dea3f3b7519c3b0b6
2021-04-25 00:55:02 +02:00
Sebastiano Barezzi
5ac57d355f
sm8250-common: biometrics: Implement custom HAL loading list
Change-Id: Id545287bed468f39738dbaa4c069660047055585
2021-04-24 08:54:27 +02:00
Sebastiano Barezzi
b342c72524
sm8250-common: Unset BUILD_BROKEN_DUP_RULES
* Nothing in common tree is duplicated, we can now remove it

Change-Id: I26a7e4b8a6b07b4cf78ee35cfa816ab5d24f0e20
2021-04-22 15:17:29 +02:00
Sebastiano Barezzi
bd6d215f11
sm8250-common: Update blobs from lmi V12.2.6.0.RJKMIXM
* From lmi-user 11 RKQ1.200826.002 V12.2.6.0.RJKMIXM release-keys

Change-Id: I5bf78d123397e39c80a56810a83374affe289cc4
2021-04-12 22:55:01 +02:00
Sebastiano Barezzi
263f491c12
fixup! sm8250-common: Update blobs from lmi V12.2.5.0.RJKMIXM
Change-Id: I0f37339ecad5873649509f8d720d107b924aaa4d
2021-04-12 19:36:50 +02:00
Sebastiano Barezzi
e034bbae4c
sm8250-common: Update audio props from lmi stock
* From lmi-user 11 RKQ1.200826.002 V12.2.5.0.RJKMIXM release-keys

Change-Id: I4500e4b44c5e36c5ac2aa5c37c96e9ff3b54d047
2021-04-11 20:10:45 +02:00
Sebastiano Barezzi
c2c941216a
sm8250-common: Initial common sepolicies
* Adapted from xiaomi-sm6150 and xiaomi-sm6250

Co-authored-by: Pig <pig.priv@gmail.com>
Co-authored-by: Zinadin Zidan <zidan.roking@gmail.com>
Co-authored-by: Utsav Balar <utsavbalar1231@gmail.com>
Co-authored-by: Ramii Ahmed <ramy@ahmedramy.com>
Change-Id: Ie64d863d6d36bdebb79d328de9ede5826b1cd486
2021-03-29 08:27:20 +02:00
XiNGRZ
5aa2996a9d
sm8250-common: releasetools: Add dtbo image to the output zip if present
Change-Id: I8bb4da99945eceae3beab77489e6b9e2a47ab972
2021-03-28 05:07:07 +02:00
Sebastiano Barezzi
47d8a188d6
sm8250-common: Update blobs from lmi V12.2.5.0.RJKMIXM
* From lmi-user 11 RKQ1.200826.002 V12.2.5.0.RJKMIXM release-keys

Change-Id: Ia42b7def56f44d8688b3d56b7573ebcef15f188f
2021-03-25 00:18:49 +01:00
Sebastiano Barezzi
7c4982bf5e
sm8250-common: Don't use custom format for RAW10
Change-Id: I8516b17ad33f31eb0abe922646f1d31ea5eba1fa
2021-03-12 08:42:30 +01:00
Sebastiano Barezzi
b6db17f87d
sm8250-common: Kill console parameters
Change-Id: I69a14e00cfc3291175351259f2d8cbd6b0dc827a
2021-03-12 08:42:30 +01:00
Sebastiano Barezzi
8f39ecb05e
sm8250-common: Add BUILD_BROKEN_DUP_RULES
* We're overriding some libraries with prebuilts

Change-Id: I4075aa87380e26583aad9909bde5e9f9b8bf5b14
2021-02-21 16:47:29 +01:00
Bruno Martins
5f1b8d41b5
sm8250-common: Import power AIDL extension for DT2W
This is a squash of the following commits:

	From: Bruno Martins <bgcngm@gmail.com>
	Date: Fri, 31 Jan 2020 23:10:19 +0000
	Subject: sm8250-common: power: Scan input devices for eligible DT2W node

		It is no longer a surprise for anyone to see Xiaomi shipping the same
		device with different displays and different displays usually mean
		different touchscreen drivers.

		The current double tap handling in the power HAL only takes into
		account one specific node, meant to be set in the device tree.
		However, if the touchscreen was registered as a different input device
		it would cause the feature to be broken. Address the issue by iterating
		through the input devices in order to find one supported touchscreen
		input to be used.

		Co-authored-by: LuK1337 <priv.luk@gmail.com>
		Change-Id: I2f7fb4a8b0c9cd1a16d6c2b93602d285a191f170

	From: Bruno Martins <bgcngm@gmail.com>
	Date: Fri, 9 Oct 2020 12:19:37 +0100
	Subject: sm8250-common: power: Adapt extension to new aidl power HAL

		Change-Id: I58ac49957d8d28ad904912986d89ac8db4820ff9

Change-Id: If30eaca900f0a046f7740c681e8707b5dce8e1a9
2021-02-20 01:34:26 +01:00
Sebastiano Barezzi
e668167ef1
sm8250-common: Add additional gralloc usage bit for camera
Change-Id: Ie0a4c25ce86fa23ee90ef1441aa9a1b053fff785
2021-02-15 18:54:38 +01:00
TheScarastic
b4c826232c
sm8250-common: Initial hardware/xiaomi based FOD implementation
Change-Id: Idfd24c3dc96c442438a1cbafc64c344d9138180c
2021-02-15 18:54:37 +01:00
Dan Pasanen
bdbc0d65e4
sm8250-common: Reserve additional space on odm/product/system/system_ext/vendor
This is a squash of the following:

Author: Dan Pasanen <dan.pasanen@gmail.com>
Date:   Sat Oct 19 00:06:11 2019 -0500

    floral: Reserve additional space on system/product/vendor

    Change-Id: Iacd45444dd0d3f423314a8edb243370600f37cdb

Author: Nolen Johnson <johnsonnolen@gmail.com>
Date:   Sun Aug 16 03:27:34 2020 +0530

    floral: Don't reserve space for gapps WITH_GMS

    Change-Id: Ie95b32654772622f7a061947c252b09a45db8fdd

Author: LuK1337 <priv.luk@gmail.com>
Date:   Sun Sep 6 14:51:31 2020 +0200

    floral: Don't limit system inode count when !WITH_GMS

    Change-Id: I458edd755fa436feadeb9f5fb2aecb0da797b0ef

Author: Eamon Powell <eamonpowell@outlook.com>
Date:   Fri Jan 1 11:59:38 2021 +1100

    floral: Adjust reserved partition space

    * Increase reserved partition space for vendor and add reserved
      partition space for system_ext so both partitions can be
      written to, regardless of GMS presence.

    * Increase product reserved partition space so smaller addon
      packages that write to the product partition like MindTheGapps
      can be installed.

    * Increase the amount of available space on the system partition
      so the user can optionally choose to install other addon packages
      that write to the system partition such as OpenGapps.

    Change-Id: I8d3ecca3980d50621f960fd7dff22ba40f495fee

[SebaUbuntu] Always reserve at least 30MB on each partition

Change-Id: I0382f5070751ef4d1be0e48bb89c7abb7eba22c6
2021-02-15 18:54:36 +01:00
Sebastiano Barezzi
b93af39cf6
sm8250-common: Initial build properties
Change-Id: I69c601e7899774d7d23853486404c4638c0b0f63
2021-02-15 18:54:35 +01:00
Sebastiano Barezzi
8b3ab991cb
sm8250-common: Reboot to recovery if init fails
Change-Id: I1d8f38620caa7b003911ff30f69ed7973c100e6d
2021-02-15 18:54:35 +01:00
Sebastiano Barezzi
71e727030b
sm8250-common: Define recovery fstab
Change-Id: If6eeb10239ebe07decfed311d4f70661415c4a8e
2021-02-15 18:54:35 +01:00
Sebastiano Barezzi
207fd69748
sm8250-common: Import config.fs
* Extracted from lmi-user 11 RKQ1.200826.002 V12.2.4.0.RJKMIXM release-keys

Change-Id: I6c394a66c62f5ccda68056fdf89826d2f818c03f
2021-02-15 18:54:35 +01:00
Jimmy Chen
e3fea18aa7
sm8250-common: Move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2021-02-15 18:54:34 +01:00
Sebastiano Barezzi
06b616eaa7
sm8250-common: Build Wi-Fi stack
Change-Id: I2e99bb95cbcdb2fdb652e20bb1e9e55b53cab2eb
2021-02-15 18:54:32 +01:00
Sebastiano Barezzi
1bbf4e4a27
sm8250-common: Enable vendor RIL service
* We use qcrild

Change-Id: Iaab09d72110fdc3887fda6f543b988bdb3e98a4c
2021-02-15 18:54:31 +01:00
Sebastiano Barezzi
5bd84d8aea
sm8250-common: Build DRM HIDL
Change-Id: I51a46b9dd23b4de19708ad8ffbfba7f939230238
2021-02-15 18:54:30 +01:00
Sebastiano Barezzi
f15e472204
sm8250-common: Build display stack
Change-Id: I8aa97b9847fd49fb1bebd35f8193aefa7e8997e1
2021-02-15 18:54:30 +01:00
Sebastiano Barezzi
b4817fe3fd
sm8250-common: Build camera libs
Change-Id: I9b5d730c54018614c8e28a946a1d234663339b0c
2021-02-15 18:54:29 +01:00
Sebastiano Barezzi
8e67e15f30
sm8250-common: Build audio stack
Change-Id: Id1e28604c0c83093e309656a2059c517084984f5
2021-02-15 18:54:29 +01:00
Sebastiano Barezzi
21cf99c2e2
sm8250-common: Initial proprietary files list
* From lmi-user 11 RKQ1.200826.002 V12.2.4.0.RJKMIXM release-keys

Change-Id: I8cda29845fa273be757c60e78622083be4a91fd8
2021-02-15 18:54:29 +01:00
Luca Stefani
aaa9b4105d
sm8250-common: Enabled updateable APEX
Change-Id: Iae46cbf48ae5fbfa100e83e8d6ce19f225102cf3
2021-02-15 18:54:28 +01:00
Sebastiano Barezzi
0324819610
sm8250-common: Import compatibility matrix and manifest
* From lmi-user 11 RKQ1.200826.002 V12.2.4.0.RJKMIXM release-keys

Change-Id: I9537ab00dc8124b3a9ccce5cf4e0a4a7f8f972a8
2021-02-15 18:54:28 +01:00
Sebastiano Barezzi
b6552add88
sm8250-common: Set BOARD_VNDK_VERSION to current
Change-Id: I78d2d8b0664af46d52c2bea543cd65b9a2e897ad
2021-02-15 18:54:28 +01:00
Jyotiraditya
f2d191ca6a
sm8250-common: Specify AVB recovery flags
Change-Id: I576883b03b9c4239f9010bbc200179958e6fe95c
2021-02-15 18:54:28 +01:00
Christian Oder
c52eb16d14
sm8250-common: Build disabled VBMeta image
Change-Id: I381feef8f6fefc8449ca50d85d704b67bcc8a77e
2021-02-15 18:54:27 +01:00
Sebastiano Barezzi
09d0e109b8
sm8250-common: Inherit qcom vendor sepolicies
Change-Id: I6e1fb3a236a13428f84e912e148a59a5476c91f7
2021-02-15 18:54:27 +01:00
Sebastiano Barezzi
1e4dbde055
sm8250-common: Add recovery flags
Change-Id: I4b1b1accffc077fc56b8d8e40e1bc34046539c1b
2021-02-15 18:54:27 +01:00
Sebastiano Barezzi
4fd92fb723
sm8250-common: Add platform flags
Change-Id: I9172d913cd1500a63f5f9da2e9709a77dfc718de
2021-02-15 18:54:27 +01:00
Sebastiano Barezzi
237481f694
sm8250-common: Add partitions flags
Change-Id: Ide8e8c710abf02f260bbbd5592045e452bc81178
2021-02-15 18:54:27 +01:00
Sebastiano Barezzi
45e5032888
sm8250-common: Add kernel flags
Change-Id: I3f96c59013eb0723e353750979f4ea3e66dc4537
2021-02-15 18:54:27 +01:00
Sebastiano Barezzi
b11d777ae2
sm8250-common: Add arch and bootloader flags
Change-Id: I578f01a20d604fd8c936cffbeed83b967906f638
2021-02-15 18:54:27 +01:00
Sebastiano Barezzi
ab6eba3b8f
sm8250-common: Initial skeleton
Change-Id: Ic9773001e798552cc4130665a6454fcdaa4ecc72
2021-02-08 08:34:32 +01:00