227 Commits

Author SHA1 Message Date
Demon000
16b28c14ac
sm6250-common: Define vendor RIL service usage
This can be checked by looking for a rild service in system.
If it's missing, then a vendor ril service is being used, in
our case, it is qcrild.

Change-Id: I5378de6eec4ff2511a49c19c0fc474658efe338f
2021-09-09 18:45:58 +02:00
LuK1337
d89b49336b
sm6250-common: releasetools: Add vbmeta images to the output zip if present
Change-Id: I18372d2f8f3ab701bd92427c571d7506540f6f05
2021-09-09 18:45:58 +02:00
XiNGRZ
d0df23cd8c
sm6250-common: releasetools: Add dtbo image to the output zip if present
Change-Id: I8bb4da99945eceae3beab77489e6b9e2a47ab972
2021-09-09 18:45:58 +02:00
Demon000
76fd1493b6
sm6250-common: Specify recovery flags
Change-Id: I203a86d59908b96ab90f1599f3426ba4ebd8ba26
2021-09-09 18:45:58 +02:00
David Sehr
179a6eb85e
sm6250-common: Use dex2oat64
Enable dex2oat64 use.

Bug: 153380900
Test: boot and install an application
Change-Id: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
(cherry picked from commit 126f03be80f57a8a0411842011152d9381589b78)
Merged-In: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
2021-09-09 18:45:57 +02:00
Albert I
d3292ab6e6
sm6250-common: Decrease number of total call volume steps to 10
Signed-off-by: Albert I <kras@raphielgang.org>
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
Change-Id: Icf9f877415cd6242f27b248b6821bd3464790904
2021-09-09 18:45:57 +02:00
Albert I
b35cb65b48
sm6250-common: Remove MIUI packages from auxpackagelist
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: Ic1a01044ce0f862e8d6e279b6f1a1f163e438931
2021-09-09 18:45:57 +02:00
Alexander Winkowski
28e76b69d4
sm6250-common: Initial build properties
* From curtana-user 11 RKQ1.200826.002 V12.0.4.0.RJWMIXM release-keys

Change-Id: I6898416bacc3ebde9938f9a9cd455d90e3dcef0a
2021-09-09 18:45:57 +02:00
Sebastiano Barezzi
b6871b71e6
sm6250-common: Declare BOARD_VENDOR
* Needed for xiaomi-perfmgr power AIDL guards

Change-Id: I54f2377ac529053906ee4dbdc16def74c8ed80fc
2021-09-09 18:45:56 +02:00
Alexander Winkowski
1f48e70a82
sm6250-common: Add platform flags
Change-Id: I06431ef5fb73eceda5bbff8706d45303fe6f5aab
2021-09-09 18:45:56 +02:00
Volodymyr Zhdanov
e7b68cf01e
sm6250-common: Reserve some space in dynamic partitions
Change-Id: If5546e4459da7408932c797d1c239b6442f96dd7
2021-09-09 18:45:56 +02:00
Demon000
fab0daa3bd
sm6250-common: Define partition rules
Partition sizes can be found by query-ing sysfs.
For example, for super partition.

> ls -la /dev/block/by-name/super
lrwxrwxrwx 1 root root   16 1970-03-23 06:51 super -> /dev/block/sda17
> cat /proc/partitions | grep sda17
 259        1    8388608 sda17

The size needs to be multiplied by the block size used by
/proc/partitions, which is 1024 bytes.

Logical partitions found inside the physical super partition
can be found by looking for entries with the logical flag in the
fstab inside boot ramdisk.

Change-Id: Ic65df8e093a601e3f603c40174b116b20072ee27
2021-09-09 18:45:56 +02:00
Albert I
af4ac57c6e
sm6250-common: Use as many LLVM tools as possible
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I3cff2a996944d8fe354859fa51b71d21475c3972
2021-09-09 18:45:56 +02:00
Demon000
f874e702d7
sm6250-common: Define kernel rules
Change-Id: Iba6e0617d69a6c1ef2266dddf551613e5876aa56
2021-09-09 18:45:55 +02:00
Sebastiano Barezzi
27c7899680
sm6250-common: Initial variant handler libinit
* This libinit has been made to commonize device variants props handling

[dereference23: Adapt for Xiaomi SM6250]
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
Change-Id: Iab68ff451ab1d6e861fb4cda4ef07fad3123ecde
2021-09-09 18:45:55 +02:00
Alexander Winkowski
223d20e8cd
sm6250-common: Add framework compatibility matrix
* Generated with https://gist.github.com/SebaUbuntu/ec053a00a9988eaea091fb1cc1f19324

Change-Id: Ic40d19adb0d47a52c4b82eb71bb60ddaff76548d
2021-09-09 18:45:55 +02:00
Sebastiano Barezzi
fe19426429
sm6250-common: Use only full qualified name for manifest entries
* As recommended by Google for multiple different versions of the same HAL in VINTF manifests
* https://android.googlesource.com/platform/hardware/interfaces/+/master/drm/1.1/README.md#devices-launching-with-android-pie

Change-Id: I4922d72ab60ca1aae78c010aeb610f9bca9012cb
2021-09-09 18:45:55 +02:00
Alexander Winkowski
40a05679ad
sm6250-common: Uprev soundtrigger
Change-Id: Ia150b3af7cc22dce12a96b745c52f38858c61666
2021-09-09 18:45:54 +02:00
Paras Nagda
1306dbd561
sm6250-common: Remove VPP service from the device manifest
Change-Id: I4df4ca927e32a7d40dadf6669b308a6c8181b94f
2021-09-09 18:45:54 +02:00
Alexander Winkowski
d67c35223b
sm6250-common: Remove Xiaomi HALs from manifest
Change-Id: I509d96e04315c300e723dcc71999b4498d3dd02e
2021-09-09 18:45:54 +02:00
Alexander Winkowski
fee6e4e2c5
sm6250-common: Import compatibility matrix and manifest
* From mojito-user 11 RKQ1.201022.002 V12.5.2.0.RKGMIXM release-keys

Change-Id: I9ffb0687e0f8bdfdec3253f198a6e08b93543a01
2021-09-09 18:45:54 +02:00
Demon000
c38eca6eb1
sm6250-common: Define bootloader flags
Change-Id: I9a47b68089717e8ad96cec85ea9ed99ba0e75b7e
2021-09-09 18:45:54 +02:00
Alexander Winkowski
597303833b
sm6250-common: Define architecture rules
Taken from ad8e3a17f6/BoardConfig-common.mk

Change-Id: I5d53c033449a86e0ec354ba38214a11e8b7d7c6c
2021-09-09 18:45:53 +02:00
Demon000
5bb1b2b40a
sm6250-common: Allow duplicate targets
Change-Id: Ied8866cc2d9f76bc2acd77ff07fd72d560ba7c69
2021-09-09 18:45:53 +02:00
Demon000
0528cf0e42
sm6250-common: Specify common path
This path will be used later when including files relative to
this directory.

Change-Id: I09870cf0525e7ae6ef9a85a1b36eff14fa898590
2021-09-09 18:45:53 +02:00
Alexander Winkowski
44dc9bdff9
sm6250-common: Import extract files scripts
Change-Id: Idb96de9b5c170ca6919e1766e6bae99545f80a45
2021-09-09 18:45:53 +02:00
Demon000
0057b473fa
sm6250-common: Initialize tree
Change-Id: Iaf4dcad4b5bf29c4a348d9b726201d34e0b1a29c
2021-09-09 18:45:51 +02:00