Commit Graph

29 Commits

Author SHA1 Message Date
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