Commit Graph

282 Commits

Author SHA1 Message Date
Cosmin Tanislav
9d9cb61021 Revert "[DNM] sm6250-common: disable building with qcom hardware"
This reverts commit 31a7722031.
2020-07-18 12:05:11 +02:00
Demon000
81d93fb1b6 sm6250-common: properly include dtb in bootimg 2020-07-18 05:04:32 +03:00
Cosmin Tanislav
3b050dcabf sm6250-common: fix audio policy configuration file path
Change-Id: Id8d9a8ab1e50b2356721fabdc0ba8ea6b13572ca
2020-07-18 03:28:25 +02:00
Demon000
e3d3b465c6 [BLOBS] sm6250-common: remove prebuilt libssrec to avoid build errors 2020-07-18 04:25:11 +03:00
Demon000
ae3ba835ff sm6250-common: build light HAL 2020-07-18 00:39:53 +03:00
Demon000
7964f5f6dc sm6250-common: light: WHITE_LED -> NOTIFICATION_LED 2020-07-18 00:39:53 +03:00
Demon000
7e0d232409 sm6250-common: light: match service name 2020-07-17 21:35:39 +03:00
Demon000
3c7ffbcc8b sm6250-common: light: simplify alpha scaling logic
Change-Id: I9b5c15d5ec4865d3bf829457d6f110ddb3af6e94
2020-07-17 21:35:37 +03:00
Demon000
963ec1b29d sm6250-common: light: do not turn on breathing for unlit hardware states
Change-Id: I093fb2fb81012a473eda232d3c3407d0e0791907
2020-07-17 21:35:34 +03:00
Demon000
9cc256c981 sm6250-common: light: avoid resetting state
The handler function is called regardless of whether the value of the
highest priority state changed.
In case of the notification led, this translates to the breathing
process being reset, which triggers my OCD.

Change-Id: I4880b00602cbb739219871f1d7ce9ad85d87bc1b
2020-07-17 21:35:31 +03:00
Demon000
46157d8b5b sm6250-common: light: avoid uint32_t underflow
Change-Id: If4f9360cc301ee8ba9f432dbbe3379c2c634c574
2020-07-17 21:35:29 +03:00
Demon000
f98970f590 sm6250-common: light: properly scale brightness range
Change-Id: I0c7b9d2644bbc67a1d404e60bbb2fcc7d8a305ec
2020-07-17 21:35:12 +03:00
Demon000
7a6ac36e65 sm6250-common: import light HAL from Xiaomi msm8998-common
Change-Id: Ieee4277f15927b4522deaec9a709809cf6db6fea
2020-07-17 20:45:46 +03:00
Demon000
fdb59bd328 [BLOBS] sm6250-common: remove prebuilt light hal 2020-07-17 20:36:11 +03:00
Demon000
e97d9a61c8 [BLOBS] sm6250-common: update camera blobs 2020-07-17 18:37:49 +03:00
Demon000
c8c62af0fd sm6250-common: build libvolumelistener from source 2020-07-17 03:49:06 +03:00
Demon000
eb876032cb [BLOBS] sm6250-common: remove prebuilt libvolumelistener 2020-07-17 03:48:39 +03:00
Demon000
865a0a69b6 sm6250-common: audio: remove raw flag for audio pop 2020-07-17 03:42:59 +03:00
LuK1337
a44d3029b2 sm6250-common: audio: Disable ULL mode
* Ultra low latency playback is currently broken. Crackling audio
   can be well noticed while playing WhatsApp audio messages or even
   during some games.

 * This patch routes all audio that normally used audio-ull-playback
   paths to low-latency-playback paths instead, thus meaning we're
   switching from ULL to LL mode.

Change-Id: I1f029d7df9a306f411598b0cffc536409cb2ae95
2020-07-17 03:36:33 +03:00
Demon000
2d3d55dffd sm6250-common: import audio policy configuration
From
https://source.codeaurora.org/quic/la/platform/hardware/qcom/audio/plain/configs/atoll/audio_policy_configuration.xml?h=LA.UM.8.9.r1-09600-SM6xx.0.
2020-07-17 03:36:05 +03:00
Demon000
a6386dada9 [BLOBS] sm6250-common: remove prebuilt audio policy configuration 2020-07-16 22:08:34 +03:00
Demon000
e9365a682c sm6250-common: add display props 2020-07-16 18:27:33 +03:00
Demon000
72ff21d3d6 sm6250-common: add charging prop 2020-07-16 18:25:23 +03:00
Demon000
319da037d2 sm6250-common: update security patch 2020-07-16 18:20:28 +03:00
Demon000
631e684d93 [BLOBS] sm6250-common: remove readily available prebuilt targets 2020-07-16 03:16:27 +03:00
Cosmin Tanislav
94d6264c9f sm6250-common: rootdir: correct wlan module name
Change-Id: I5d23fcc2938d34faaaf8b3403a0e766637dcf822
2020-07-16 02:06:16 +02:00
Demon000
6bb8716037 sm6250-common: rootdir: refactor usb configuration 2020-07-16 02:19:31 +03:00
Demon000
9668da7df5 sm6250-common: rootdir: remove unused parts of vendor init scripts 2020-07-16 02:12:12 +03:00
Cosmin Tanislav
a270c01cc3 sm6250-common: rootdir: fix machine module name
Change-Id: I3b441bbb7312187124e001e971af9febb4a59c50
2020-07-15 22:13:11 +02:00
Cosmin Tanislav
bd3f1341e1 [DNM] sm6250-common: reserve 100MB on each dynamic partition
Change-Id: I7960bc6a365946924fcae90a61035d13af9ac9c4
2020-07-15 23:03:28 +03:00
Demon000
31a7722031 [DNM] sm6250-common: disable building with qcom hardware
Change-Id: I2d690949a43ee1170f1639827f732b691f792a9e
2020-07-15 23:03:28 +03:00
Demon000
6f175e568e [DNM] sm6250-common: disable audio HAL extension
Change-Id: I01c165a0251623580cd05ece8cc395629e16faf5
2020-07-15 23:03:28 +03:00
Demon000
f4100037a5 [DNM] sm6250-common: permissive selinux 2020-07-15 23:03:28 +03:00
Demon000
a7043a44bf sm6250-common: media: remove unsupported profiles 2020-07-15 23:03:28 +03:00
Demon000
628874031d sm6250-common: import media profiles 2020-07-15 23:03:28 +03:00
Demon000
1ba07c1914 sm6250-common: rootdir: fix audio module names 2020-07-15 23:03:28 +03:00
Demon000
91088f7df5 sm6250-common: rootdir: import vendor init scripts 2020-07-15 23:03:28 +03:00
Erfan Abdi
ac2d5035c4 sm6250-common: symlink logical partitions in recovery 2020-07-15 23:03:28 +03:00
Demon000
a1b7eaf9df sm6250-common: add recovery scripts
* wait for bootdevice
 * setup ADB
 * symlink logical partitions

Change-Id: I78bdab01eb24464ef9416f35ea8e3c50cfef7864
2020-07-15 23:03:28 +03:00
Demon000
54112478b6 sm6250-common: copy fstab to ramdisk and vendor 2020-07-15 23:03:28 +03:00
Demon000
884bcf7c15 sm6250-common: include AVB public keys 2020-07-15 23:03:28 +03:00
XiNGRZ
28cb6ac7c9 sm6250-common: releasetools: Add dtbo image to the output zip if present
Change-Id: I8bb4da99945eceae3beab77489e6b9e2a47ab972
2020-07-15 23:03:28 +03:00
Demon000
95ce303f90 sm6250-common: rootdir: add /boot to fstab
Build process errors out without this.

Traceback (most recent call last):
  File "build/make/tools/releasetools/ota_from_target_files", line 2455, in <module>
    main(sys.argv[1:])
  File "build/make/tools/releasetools/ota_from_target_files", line 2429, in main
    output_file=args[1])
  File "build/make/tools/releasetools/ota_from_target_files", line 1103, in WriteFullOTAPackage
    common.CheckSize(boot_img.data, "boot.img", target_info)
  File "/home/aicp-dev/rom/lineage-17.1/build/make/tools/releasetools/common.py", line 1190, in CheckSize
    p = info_dict["fstab"][mount_point]
KeyError: '/boot'

Change-Id: I30a396ea62e6e48420c0dd41533c156e90032929
2020-07-15 23:03:28 +03:00
Demon000
5e27bd5e52 sm6250-common: use dynamic partitions
Change-Id: Iac89f608a7f8efa78da5200c68cb45ab2f439fd0
2020-07-15 23:03:28 +03:00
Demon000
547eb500af sm6250-common: make libplatformconfig a module
Change-Id: I116f4abbc1fce53465d0a124afa9be5e312690d0
2020-07-15 23:03:28 +03:00
Demon000
4840af74af [BLOBS] sm6250-common: add system and product permissions 2020-07-15 23:03:28 +03:00
Demon000
8fb554bc2a [BLOBS] sm6250-common: remove prebuilt vendor media profiles 2020-07-15 23:03:28 +03:00
Demon000
73dbb87c65 [BLOBS] sm6250-common: remove prebuilt init scripts 2020-07-15 23:03:28 +03:00
Demon000
95df602802 [BLOBS] sm6250-common: remove prebuilt modules 2020-07-15 23:03:28 +03:00
Demon000
3fb0022fb3 [BLOBS] sm6250-common: remove NOTICE zips 2020-07-15 23:03:28 +03:00