Commit Graph

313 Commits

Author SHA1 Message Date
Demon000
e9b808a352 sm6250-common: overlay: disable phone object update on registration state change 2020-07-15 23:03:28 +03:00
Demon000
e9df0999f5 sm6250-common: overlay: configure IMS 2020-07-15 23:03:28 +03:00
Demon000
7bcdcafeb4 sm6250-common: overlay: configure mobile tcp buffers 2020-07-15 23:03:28 +03:00
Demon000
3c193c1865 sm6250-common: overlay: decouple interactive mode from display 2020-07-15 23:03:28 +03:00
Demon000
07c1c93f5c sm6250-common: overlay: add radio attributes 2020-07-15 23:03:28 +03:00
Demon000
f8db2c82cc sm6250-common: overlay: add network attributes 2020-07-15 23:03:28 +03:00
Demon000
f5118566e7 sm6250-common: overlay: describe tetherable DHCP ranges 2020-07-15 23:03:28 +03:00
Demon000
e77120ccd6 sm6250-common: overlay: describe tetherable interfaces 2020-07-15 23:03:28 +03:00
Demon000
337ff0f7e1 sm6250-common: overlay: set MMS user agent 2020-07-15 23:03:28 +03:00
Demon000
54ab548b74 sm6250-common: overlay: add link for cell broadcast app 2020-07-15 23:03:28 +03:00
Demon000
a5fe4395dc sm6250-common: overlay: add wifi configs found on stock 2020-07-15 23:03:28 +03:00
Demon000
d714a6e0a9 sm6250-common: overlay: skip restoring network selection 2020-07-15 23:03:28 +03:00
Demon000
4fb4f9f4ad sm6250-common: overlay: enable software navigation bar 2020-07-15 23:03:28 +03:00
Danny Baumann
e61517093d sm6250-common: overlay-lineage: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
2020-07-15 23:03:28 +03:00
Jesse Chan
c31a950156 sm6250-common: overlay-lineage: Enable option for full screen aspect ratio
Change-Id: I2a1b2acc5ed97ccb6795dc371c2b3ac9cb4f9d03
2020-07-15 23:03:28 +03:00
Demon000
7647273bb7 sm6250-common: include overlays 2020-07-15 23:03:28 +03:00
Demon Singur
c9301eb92e sm6250-common: Build separate system and vendor HIDL libs
Change-Id: If8e2211e643bdb0ff67fb248e7fe33b78077a06e
2020-07-15 23:03:28 +03:00
dianlujitao
6eabb2c0dd sm6250-common: Build dummy android.hidl.[base,manager]@1.0
Change-Id: I81a081130869c4d92f30b2674e75bb6b096a7a2c
2020-07-15 23:03:28 +03:00
Demon000
9f82ee6b06 sm6250-common: slim up filesystem configuration
Remove deprecated symlink directories, and remove
services that are not present in our system or vendor.
2020-07-15 23:03:28 +03:00
David Ng
0d171a099e sm6250-common: Add common config.fs AID/fs configuration file
Common config.fs/$TARGET_FS_CONFIG_GEN AID/fs configuration
file for all chipset inheriting from base.mk.

Since legacy device-specific android_filesystem_config.h and
config.fs do not co-exist, temporarily include config.fs only
if legacy file is absent.  Once all legacy, device-specific
files have been deleted, config.fs can be made unconditional.

Change-Id: Ie100d0cd9db808b82d99be7139f0709390c7f3a2
2020-07-15 23:03:28 +03:00
Demon000
e07fbb9738 sm6250-common: init: override dalvik heap config based on total RAM 2020-07-15 23:03:28 +03:00
Lokesh Gidra
149534d371 sm6250-common: Use 4GB dalvik-heap config
Change-Id: I086d4a5c09634c3c7bd51ec5d08dcaa1551511b4
2020-07-15 23:03:28 +03:00
Bruno Martins
5103f8908c sm6250-common: Define Soong namespace
Change-Id: Ibea0e8fe5dbc26d8953a9735f0b38cf087805b76
2020-07-15 23:03:28 +03:00
Jiyong Park
f3796a363a sm6250-common: Add updatable_apex.mk
The product abstracts configs that need to be set to support updating of APEXes.

Change-Id: Id5aa944ceba6a6846308f1c18a08af8b3bb38589
2020-07-15 23:03:28 +03:00
Demon000
d531d043ec sm6250-common: set shipping api level
Change-Id: I6fb3ccbdb534fc737888648bc780c2cdbe96070e
2020-07-15 23:03:28 +03:00
Demon000
f36a101882 sm6250-common: inherit from base device configuration 2020-07-15 23:03:28 +03:00
Demon000
ca394df9e8 sm6250-common: add support for curtana 2020-07-15 23:03:28 +03:00
Demon000
c8ce429b15 sm6250-common: create wlan firmware symlinks 2020-07-15 23:03:28 +03:00
Bruno Martins
49d5be9433 sm6250-common: Create RFS symlinks
Change-Id: Ica1d4a9893f526ab98c5ef07e18d51dbf74c8e93
2020-07-15 23:03:28 +03:00
Ameya Thakur
b17e97f25e sm6250-common: Generate non-hlos image mount points for A/B builds
On builds where A/B support is enabled the system image acts as the
rootfs. In this case we can no longer create the non-hlos image mount
points at run time as we used to. We now create them as part of the
build itself.

Change-Id: I30d98f7c50fca3ce7117b9b8d87150655bb5b440
2020-07-15 23:03:28 +03:00
Demon000
37a32ef638 sm6250-common: add root makefile 2020-07-15 23:03:28 +03:00
Demon000
c66d4f6e8f sm6250-common: import extract files scripts 2020-07-15 23:03:28 +03:00
Demon000
ac373c1520 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
2020-07-15 23:03:28 +03:00
Demon000
d6d664d174 sm6250-common: specify recovery fstab 2020-07-15 23:03:28 +03:00
Demon000
f9271b3d25 sm6250-common: import fstab from stock 2020-07-15 23:03:28 +03:00
Demon000
45f0b20397 sm6250-common: specify recovery flags 2020-07-15 23:03:28 +03:00
Demon000
77159a9816 sm6250-common: inherit proprietary blobs 2020-07-15 23:03:28 +03:00
Demon000
97aafa1110 sm6250-common: include local sepolicy 2020-07-15 23:03:28 +03:00
Demon000
667f722eae sm6250-common: include qcom sepolicy 2020-07-15 23:03:28 +03:00
Demon000
db8ed7dc9c sm6250-common: create dummy property files 2020-07-15 23:03:28 +03:00
Christian Oder
453a236973 sm6250-common: Build disabled VBMeta image
Partitions that use vbmeta_system can be found by looking at
avb flag in fstab from boot ramdisk.

--flags 2 makes the verification function of avb always return a
positive result.

--set_hashtree_disabled_flag builds the vbmeta images with the
HASHTREE_DISABLED bit set and as a result they don't need to manually
disable dm-verity via e.g. 'adb disable-verity'.

The rest of the configuration is taken from
https://source.android.com/devices/tech/ota/dynamic_partitions/implement#avb-configuration-changes

Change-Id: I381feef8f6fefc8449ca50d85d704b67bcc8a77e
2020-07-15 23:03:28 +03:00
Demon000
ed08feb3fe 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.
2020-07-15 23:03:28 +03:00
Demon000
c21db8f4da sm6250-common: define security patch level
Can be found by checking the value of ro.vendor.build.security_patch
on stock.
2020-07-06 04:47:59 +03:00
Demon000
1bfd9147f0 sm6250-common: allow duplicate targets
Change-Id: Ied8866cc2d9f76bc2acd77ff07fd72d560ba7c69
2020-07-06 04:47:59 +03:00
Demon000
87a506fee8 sm6250-common: build with qcom hardware
Change-Id: I62a85f2a7d2d1a6c430688f57458bc99c46ce5c5
2020-07-06 04:47:59 +03:00
padarshr
9277c9cf3d sm6250-common: Add device compatibility matrix
Add device compatibility matrix to common project and
targets can point the build variable DEVICE_MATRIX_FILE to
this file to build device compatibility matrix.

Change-Id: If8e75c5ee8de0ef50d6937ffbd6453fb3f5eb648
2020-07-06 04:47:59 +03:00
Demon000
8a113b2d68 sm6250-common: import stock manifest 2020-07-06 04:47:59 +03:00
Demon000
c4e01f6871 sm6250-common: use dexpreopt on linux host and non-eng build 2020-07-06 04:47:59 +03:00
Demon000
24af70e3ba sm6250-common: enable suspend in off-mode charging
This guards usage of libsuspend in off-mode charging.
2020-07-06 04:47:59 +03:00
Demon000
67caa47dff sm6250-common: enable use of QTI camera device
Based on the existance of vendor.qti.hardware.camera.device@1.0.so
on stock.
2020-07-06 04:47:59 +03:00