Commit Graph

845 Commits

Author SHA1 Message Date
Jimmy Chen
264ba999e2 sm6250-common: wifi: move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: Icea6361942873b5177c5fa59f9628c3b383b4509
2020-12-03 01:19:26 +02:00
Volodymyr Zhdanov
b987b28cd5 sm6250-common: rootdir: load_system_props was deprecated 2020-12-03 01:18:03 +02:00
Volodymyr Zhdanov
e5823aa243 sm6250-common: rootdir: remove service for unused wigignpt 2020-12-03 01:17:38 +02:00
Shivaprasad Hongal
026131b271 sm6250-common: avb: Compile recovery image as a chain partition
Add AVB flags to compile recovery image
as a chained partition. This is required
for safe OTA when multislot support is
not present.

Change-Id: I1115eba4038e6fcaa61440846a25861366996ed4
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
2020-12-03 01:16:21 +02:00
Dan Willemsen
b220c66461 sm6520-common: use BUILD_COPY_HEADERS
Bug: 130719878
Test: turn copy headers into an error by default; still builds
Change-Id: Idf228b2e8c4a4d93c3ad43fcd9995564d4feb67d
2020-12-03 01:16:09 +02:00
Steven Moreland
77b24904f4 sm6250-common: power: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: Iba2cd20b8b20fac3e7564de6b853b475fd4ebd2a
2020-12-03 01:15:46 +02:00
Steven Moreland
d821e05d3e sm6250-common: light: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: Iba2cd20b8b20fac3e7564de6b853b475fd4ebd2a
2020-12-03 01:15:37 +02:00
Jaegeuk Kim
bf69bf5116 sm6250-common: get back to default from long-standing VM tweaks
This patch removed the old writeout policy tune which was never touched since
2009. In the meantime, most of Android devices are equipped with over 4GB DRAM
and very fast flash storages like UFS, which becomes more like desktop or
servers in 2009. So, it'd be worth to go back to use the default kernel configs.

Bug: 136483670
Bug: 137190999
Bug: 152936751
Test: check value output
Change-Id: I1ebbf9f1f27a921103db51e96a50aadd6ec0dde8
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Signed-off-by: Martin Liu <liumartin@google.com>
2020-12-03 01:14:21 +02:00
maxwen
d646153a0b sm6250-common: Update overlay to hide sRGB toggle
* Now expected as an array in Settings package

Change-Id: I92a56abb0fc1379e4482d1889d04d8db6a14ea2b
2020-12-03 01:13:05 +02:00
dianlujitao
4372eed462 sm6250-common: Hide sRGB toggle in developer options
* This is only available on Nexus/Pixel devices, and we have our own
   implementation in livedisplay.

Change-Id: I8343e4986d7dd8413bd8d36dfad0309a4c08026e
2020-12-03 01:12:55 +02:00
Sushil Chauhan
d393764697 sm6250-common: Enable UBWC aligned framebuffer
Enable UBWC aligned allocation for framebuffer on sm6250 target.

Change-Id: Ia4fede80e73c8557fb681f4d22cc0e2b0ed2570d
2020-12-03 01:09:40 +02:00
Sushil Chauhan
f68b1c4ddc sm6250-common: Enable H/W Composition
Change-Id: I9f4c5435d51d1dfaead1c11208059e7a6f922cbb
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
2020-12-03 01:09:23 +02:00
Volodymyr Zhdanov
94b6dd902c sm6250-common: Increase reserved space on product and system partitions
* low inodes shouldn't be possible issue anymore
2020-12-03 01:08:38 +02:00
Volodymyr Zhdanov
7479c2b15f sm6250-common: reserve some space for product partition
* so nikgapps can be happy now
2020-12-03 01:08:34 +02:00
Luca Stefani
b10c3c7d83 sm6250-common: Set linker to LLD
Change-Id: Ia165daa55ff707725b0619af12bf3a2e6e79c981
2020-12-03 01:08:27 +02:00
Jesse Chan
083f010684 sm6250-common: Enable unspecialized app process pool
Change-Id: I6dfcb59dace5eaa7551caeae86db3b485c0cfbf1
Signed-off-by: Jesse Chan <jc@lineageos.org>
2020-12-03 01:07:32 +02:00
razorloves
b5645dbd80 sm6250-common: Lower reserved space on system partition
Reserving more than 1.5gb sharply decreases free inodes, resulting
in gapps install/restore issues.

Change-Id: I16c0c649b7e06aea6203e34a81d0d0350b80588c
2020-12-03 01:07:23 +02:00
Volodymyr Zhdanov
01913545a4 sm6250-common: set stock configstore flags as props
/sbin # ./configstore-dump
  TARGET_HAS_WIDE_COLOR_DISPLAY := true
  TARGET_HAS_HDR_DISPLAY := true
  TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true
  MAX_VIRTUAL_DISPLAY_DIMENSION := 4096
  NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
2020-12-03 01:06:12 +02:00
Volodymyr Zhdanov
20aeaa3659 [BLOBS] sm6250-common: do not use prebuilt configstore@1.1 2020-12-03 01:05:46 +02:00
Volodymyr Zhdanov
dfa95eb51e [BLOBS] sm6250-common: remove curtana-specific device features config 2020-12-03 01:05:25 +02:00
LuK1337
a1ce496285 sm6250-common: Add reboot_fastboot action to power menu
Change-Id: I7fd47a4ad5e6387e830f3d3318c32f9488e5deb8
2020-12-03 01:03:37 +02:00
Demon000
461be9334e sm6250-common: rootdir: remove modprobes for inline modules 2020-09-15 19:30:33 +03:00
Demon000
dfdc5e42b2 sm6250-common: define sepolicy for xiaomi battery services 2020-08-30 00:40:02 +03:00
Nick C
45daab797e sm6250-common: add FM 2020-08-25 16:49:31 +03:00
Demon000
2594a4727e sm6250-common: update vendor security patch 2020-08-25 16:49:30 +03:00
Nick C
7614e3da96 [BLOBS] sm6250-common: add FM blobs 2020-08-25 13:35:03 +03:00
Demon000
322dc33c3f Revert "sm6250-common: remove xiaomi specific battery services"
This reverts commit acdc91e92d.
2020-08-22 00:50:52 +03:00
Demon000
9807c13368 sm6250-common: manifest: remove QTI WiFi entries
Change-Id: I33da186d036f336585af716d62eda9b62cd9c618
2020-08-18 15:48:18 +03:00
Demon000
99ed2b49d1 sm6250-common: build WiFi packages 2020-08-18 14:56:37 +03:00
Demon000
ba2e32a7ce sm6250-common: import WiFi configs 2020-08-18 14:55:15 +03:00
Demon000
767ceea3dd sm6250-common: remove prebuilt QTI WiFI blobs
Change-Id: I0c006768432a520e64ba510f5136fcd3496e028f
2020-08-18 14:51:26 +03:00
Demon000
5d74742307 sm6250-common: overlay: enable DT2W 2020-08-18 14:44:17 +03:00
Demon000
997f392e71 sm6250-common: manifest: upgrade power to 1.3
Change-Id: I0c4b842bd4d28aae11927a216383b3d1186585df
2020-08-18 12:57:26 +03:00
Demon000
ddb4eab6f4 sm6250-common: build power service from source
Change-Id: Iba9c1d1a6d74c318d68aed4fa548d9539b1bc983
2020-08-18 12:57:26 +03:00
Demon000
57de657953 sm6250-common: power: add DT2W support FTS and NVT touchscreens 2020-08-18 12:57:26 +03:00
Bruno Martins
a587e4ebb8 sm6250-common: power: Add support for DT2W feature
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Co-authored-by: AbhiShek Aggarwal <warabhishek@gmail.com>
Change-Id: I2f7fb4a8b0c9cd1a16d6c2b93602d285a191f170
2020-08-18 12:56:56 +03:00
Demon000
40eda54cb1 sm6250-common: power: add no-op 1.3 interface implementation
Change-Id: I435e275ab4229b9d6f5fbb4eb1271cfcd7488409
2020-08-18 12:37:45 +03:00
Demon000
aecb94ebd3 [BLOBS] sm6250-common: remove prebuilt power HAL 2020-08-18 12:32:18 +03:00
Demon000
97dd323607 [BLOBS] sm6250-common: remove uncommon thermal engine map 2020-08-15 20:25:19 +03:00
Demon000
f4ce900e01 sm6250-common: init: cleanup includes 2020-08-15 05:24:42 +03:00
Demon000
3b12ba11d0 sm6250-common: init: split up functionality into separate static library
So we can include it again in device-specific tree.
2020-08-15 04:27:26 +03:00
Demon000
8068c2a96f sm6250-common: rootdir: include device specific rc file 2020-08-15 04:27:26 +03:00
Demon000
ad54dad564 [BLOBS] sm6250-common: remove thermal engine init file 2020-08-15 04:27:26 +03:00
Demon000
756f09f94b sm6250-common: add miatoll to guard 2020-08-15 04:27:26 +03:00
Demon000
c24d83443b sm6250-common: add all devices to guard 2020-08-15 04:27:26 +03:00
Demon000
b5730f713a sm6250-common: build WiFi Display dependencies and add framework to boot JARs 2020-08-15 04:27:26 +03:00
Demon000
48c1a54a68 [BLOBS] sm6250-common: add WFD blobs 2020-08-15 04:27:26 +03:00
Demon000
6f531fdd49 sm6250-common: reserve more space on system 2020-08-14 23:35:10 +03:00
Demon000
ebc9e93a3f sm6250-common: add misys blobs needed for MiuiCamera 2020-08-14 23:35:10 +03:00
Demon000
a0c7e0c3c9 sm6250-common: init: group dalvik property initialization together 2020-08-13 22:06:51 +03:00