Commit graph

83 commits

Author SHA1 Message Date
Francescodario Cuzzocrea
6dfb0a8d0e msm8226-common: initial commit of the rebased tree 2019-08-29 16:31:07 +02:00
Francescodario Cuzzocrea
a0ec9fcb98 msm8226-common: add dalvik.vm.dex2oat-swap=false 2019-08-19 11:50:07 +02:00
Rashed Abdel-Tawab
94c4d69941 msm8226-common: Add legacy Camera HAL impl
Change-Id: Ie817e4d10631359f3b6c3c42249d75ebf73c596e
2019-08-18 14:42:09 +02:00
Ramjee Singh
af373f8058 msm8226-common: Enable h/w memory tuning
H/w binder reserves 1 MB by default for memory operations.
Customization is to only reserve usable memory

Change-Id: Ide08e72e4437da270d498ff30b3cc1640d39d963
2019-08-18 14:42:09 +02:00
Satya Krishna Pindiproli
6684a772b4 msm8226-common: add system property to set AudioFlinger client heap size
Playback of high sample rate multichannel clips fails when
repeat mode is set to repeat one. This is because the default
heap size allocated for AudioFlinger clients is 4MB which is insufficient.

Set the system property ro.af.client_heap_size_kbyte to 7KB. This property
is read in AudioFlinger and multiplied by 1024, so effectively the allocated
heap size becomes 7MB which is sufficient to play such clips in repeat mode.

CRs-Fixed: 2108978
Change-Id: I72f4bb9892465afb311bb269545a5fe926696b02
2019-08-18 14:42:09 +02:00
Wei Wang
edab789619 msm8226-common: add SysUI and Settings to PRODUCT_DEXPREOPT_SPEED_APPS
Test: Build
Change-Id: I088938462b389e1ebe783997f773dc5946345666
2019-08-18 14:42:09 +02:00
Yu Yang
c6c938fc38 msm8226-common: Disable Vulkan for 8226
Vulkan is not supported on 8226
Set "persist.graphics.vulkan.disable" to true.
Framework checks for this flag and disables
Vulkan features for 8226.

Change-Id: I32c42d0ca488b22c3a3cac96044bdf6356535c11
2019-08-18 14:42:09 +02:00
Adithya R
24b7cbb015 msm8226-common: Introduce dalvik tweaks 2019-08-18 14:42:09 +02:00
Francescodario Cuzzocrea
f927ed98d9 msm8226-common: use lower end google codecs 2019-08-18 14:42:09 +02:00
RenanQueiroz
a17ca85387 msm8226-common: Build charger_res_images
Some roms don't build charger_res_images by default, so add it to the tree to ensure that offline charging will work.
2019-08-18 14:42:09 +02:00
Kevin F. Haggerty
45717b9cdb msm8226-common: No tenemos HWC2
Change-Id: I56932ab5ed3ae6ab930f40a549fdcf7b3806c5e2
2019-08-18 14:42:09 +02:00
Adrian DC
a19d8a9e7e msm8226-common: native: Increase ART heap growth limit to 192MB
* Snapshot values exported from frameworks/native
    of the build/phone-xhdpi-1024-dalvik-heap.mk file:

    "Fix issue #7257947: Need to fix heap limits on Mako"
    Change-Id: Id8014b19195b8740bccf000ab66c1b599ba3a1a0

From: Adrian DC <radian.dc@gmail.com>
Date: Wed, 16 Nov 2016 13:02:04 +0100

    native: Increase ART heap limit to 192MB for 1024MB RAM devices

     * Needed for Google SetupWizard to start

     * Without this, SetupWizard is compiled by ART on boot
       and runs out of memory (heap) while running, resulting
       in the SetupWizard crashing and blocking boot

    Change-Id: Ic5b8caf4352f6d104af9121a09a01adad1c5bcc3

Change-Id: Iee6766c3a912c0b841faa41c3d0776e87478817d
Signed-off-by: Adrian DC <radian.dc@gmail.com>
Signed-off-by: RenanQueiroz <queirozrrq@gmail.com>
2019-08-18 14:42:09 +02:00
Kevin F. Haggerty
4c950a5179 msm8226-common: Use shared blobs from vendor/
Change-Id: I8f8675b9fd1950cd7c64538f160e73514209be19
2019-08-18 14:42:09 +02:00
Adrian DC
19d52874f4 msm8226-common: display: Disable EGL buffer_age extension support
* Due to commit I9b346b4053ec12c8a78a143a4dc0e708c44888a2
    "Support EGL_KHR_partial_update without EGL_EXT_buffer_age"
    in libhwui, EGL_EXT_buffer_age extension was forcibly enabled
    if EGL_KHR_partial_update was available, even if the EGL driver
    was not providing EGL_EXT_buffer_age support

 * On older Adreno drivers, renderthread sources could use bufferAge
    specific swap behaviours and would result in partially missing
    display redraws upon animations and rotated screens,
    for instance flashing action bars, blinking loading bars
    and half black displays in landscape rotations

Change-Id: I16fe13f0726792522e382716f8f24eccf2a27701
Signed-off-by: Adrian DC <radian.dc@gmail.com>
2019-08-18 14:42:09 +02:00
Francescodario Cuzzocrea
ed7b2c72d2 msm8226-common: remove CRDA packages 2019-08-18 14:42:09 +02:00
Kevin F. Haggerty
f51dcf420b msm8226-common: Use TARGET_COPY_OUT_VENDOR instead of explicit path
Change-Id: I5a35a481fcdee8b1f85e0b9aa9a5c726909b928f
2019-08-18 14:42:09 +02:00
Michael Bestas
a6d0907a7a msm8226-common: Move permissions to vendor
Change-Id: Idf4022e03ba376f7971d02be973444e70dbc4521
2019-08-18 14:42:09 +02:00
Kevin F. Haggerty
b026d2c933 msm8226-common: Set TARGET_BOOTANIMATION_HALF_RES to true
* No apparent resolution difference
* Much smoother animation
* Much faster boot
* What's not to like?

Change-Id: I2119fe826146a3103da50b4862ad88f5950a97ec
2019-08-18 14:42:08 +02:00
Paul Keith
08db719a9e msm8226-common: Use QTI HIDL power HAL
* Let's use the new shiny binderized HAL in hardware/qcom/power

Change-Id: I2abf4ca9b0b5a0cb031f12c400a1159962f5e94c
2019-08-18 14:42:08 +02:00
Bruno Martins
b21828716d msm8226-common: Ship RenderScript HAL
Change-Id: Ia13a26c46c803f6853b1188449547c70d3305bfa
2019-08-18 14:42:08 +02:00
Kevin F. Haggerty
91d52d50a5 msm8226-common: Make the common tree more common
* Compare things that are used in s3ve, ms01, kmini3g , and matisse
  wifi and move the stuff that's truly common to here. This will
  greatly ease O bring-up of the child trees.

* Also do a bit of cleanup while we are at it.

Change-Id: I8fc5a099a348fa7feb502e3afe9b43df6e22d00b
2019-08-18 14:41:29 +02:00
Kevin F. Haggerty
9ea1a043a0 msm8226-common: Drop audiod
Change-Id: I455752ca3bc0b444ef15274be03df791120bb00a
2019-08-17 10:49:17 +02:00
Bruno Martins
08b8df80d8 msm8226-common: Build graphics allocator service
Change-Id: Id3964c10aa474d94c85da7e1a65e65e7f8f6bc76
2019-08-17 10:49:17 +02:00
Rashed Abdel-Tawab
1ca8982ace msm8226-common: Add audio and display HAL impl
Change-Id: I2fcd62b1dd6cbe292d89cf97085c9549bf69ba26
2019-08-17 10:49:17 +02:00
Christer
9eb234fba5 msm8226-common: update OMX
Change-Id: Id506b52d138e9389e1638db5fe0230a8acd85142
2019-08-17 10:49:17 +02:00
Ethan Chen
ba208be44d msm8226-common: Add seccomp policy
Change-Id: I1d5017228a4a9318f8a77ef4036532d64718ecbb
2019-08-17 10:49:17 +02:00
PythonLimited
e86f1d480c WIP: msm8226-common: rootdir: update for O
* general cleanup
    * add init.ril.sh
    * enable adaptive LMK
    * update charger context
    * configure the CPU when boot is completed
2019-08-17 10:48:35 +02:00
Francescodario Cuzzocrea
6e7140d9ee msm8226-common: remove custom power hal implementation 2019-08-16 10:18:55 +02:00
Bruno Martins
fe2a12f801 msm8226-common: Inform Trust about legacy encryption support
* Encryption causes noticeable performances loss, because HW crypto
   is not suported.

Change-Id: I4336c0cd050584020780d8ff97f454e40c7e6125
2019-08-16 10:18:55 +02:00
Kevin F. Haggerty
bc1c24125f msm8226-common: Build the GPS HAL and copy config files
Change-Id: I86fb9fff481b7bcf926b1ddce4f79fe0d87325a6
2019-08-16 10:18:55 +02:00
Kevin F. Haggerty
fc3d48387d msm8226-common: gps: Import CAF HAL
* https://source.codeaurora.org/quic/la/platform/hardware/qcom/gps
* Tag: LA.BF.1.1.3-00310-8x26.0

Change-Id: Ied5197b459ccc51c8b7c8288a8b1d4a6839685e4
2019-08-16 10:18:54 +02:00
Francescodario Cuzzocrea
7193e76faa msm-8226-common: move media_codecs_performance.xml to device specific tree 2019-08-16 10:18:54 +02:00
Francescodario Cuzzocrea
dc2a83b7f4 msm8226-common: remove device specific keylayouts 2019-08-16 10:18:54 +02:00
Francescodario Cuzzocrea
edb6341733 msm8226-common: remove Boot Animation flags 2019-08-16 10:18:54 +02:00
Francescodario Cuzzocrea
dbaf9ad2b8 msm8226-common: remove Screen Density flags 2019-08-16 10:18:54 +02:00
Francescodario Cuzzocrea
f2c15dcff9 msm8226-common: reorganize msm8226.mk 2019-08-16 10:17:05 +02:00
Jackeagle
91c22bd95e msm8226: Switch to proprietary GPS blobs
Change-Id: I25d4eab64b16ca882e8f7dc346e81bf765c4de84
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
2016-05-17 12:21:20 +05:30
Jackeagle
10a720e28d msm8226-common: Remove deprecated init.crda.sh
Change-Id: I5e15574de04af9e8755acce2db4042ff6c7a3c25
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
2016-04-28 19:24:22 +05:30
Apavayan
8629a9dfd8 Revert "msm8226: Remove boringssl-compat"
This reverts commit 52887b1231.
2016-04-22 16:51:25 +05:30
Apavayan Sinha
52887b1231 msm8226: Remove boringssl-compat
Change-Id: I6df9801ba7aa9141c72902d7b69a07e60389e754
2016-02-13 10:09:24 +05:30
Nikola Majkic
3f510c8c06 Camera: Enable Snap
from http://review.cyanogenmod.org/#/c/127421/
2016-01-16 00:29:20 +01:00
Rox-
3bbe9c0c97 msm8226-common: Update media_codecs and media lib listing 2015-12-27 14:02:43 +01:00
Zhao Wei Liew
c2ee69951d msm8226: Remove last unused mm-dash lib
With the recent removal of QC AV enhancements, we no longer use
these libs.

Change-Id: Ic7c4fd8056e88c278d7f11bdfeaf24af5aede124
2015-11-30 18:47:37 +08:00
Zhao Wei Liew
e6db609a6c msm8226: Move dalvik config to system prop file
Change-Id: Iac6d9c5263ea958dc8bbadee1eacb880bba7af76
2015-11-30 18:45:45 +08:00
Steve Kondik
9ef5fdbe38 msm8226: Drop all the janky proprietary stuff we don't even use
Change-Id: I6832ca9b57b171590e8f257b92e45fa9777c6ed4
2015-11-30 18:40:17 +08:00
Rox-
7045e1cd5f msm8226-common: Update FM packages for M 2015-11-27 21:51:51 +01:00
Zhao Wei Liew
2556302858 msm8226: Enable low power modes in recovery
Build the power config for recovery too.

Change-Id: I238a38a7fd54b510123962b003eaecca5f3d68ab
2015-11-26 14:49:04 +08:00
Zhao Wei Liew
5459fe2415 msm8226: Use VENDOR_PATH for local directory
Stop using LOCAL_PATH as it breaks CMHW build. Also remove
a redundant definition of LOCAL_PATH.

Change-Id: Ib79072aba4d429a290300c9026752adac5129017
2015-11-26 14:41:44 +08:00
Zhao Wei Liew
ffeea9fa32 msm8226: Remove duplicate USB package
This is built in one of the common device makefiles.

Change-Id: If2f4c8865c04c5b2d308ebdad1e087b9f1d1fdf8
2015-11-26 14:18:41 +08:00
Zhao Wei Liew
12f4a093bf msm8226: Actually build the init scripts
Change-Id: I92b336a54c04548fb5cb5dd3830ecfaff9b1eb11
2015-11-26 14:18:18 +08:00