Commit graph

240 commits

Author SHA1 Message Date
PythonLimited
55e680dc5f bugfixes for los 14.1X 2018-01-07 15:18:14 +01:00
PythonLimited
4bb7629c42 added new selinux rules for camera 2017-12-29 10:59:26 +01:00
PythonLimited
9ae574f964 linwvm: added new symbols (thanks Ivan again) 2017-12-12 23:33:53 +01:00
PythonLimited
404bd1bb07 libwvm: fix missing symbols (thanks at Ivan) 2017-12-12 23:27:00 +01:00
bauner
d97319cf13 testing: adding shim for libwvm.so
fix cannot locate symbol "_ZN7android16MediaBufferGroupC1Ev"

Change-Id: I5092bd97f703028c168dcb72e098e45f9106f268
2017-12-04 12:21:47 +01:00
PythonLimited
b9f4966127 selinux: updated policy for nougat
Change-Id: I862d6434244b1196b8436c94dbeb6c58c76570c1
2017-12-04 12:21:32 +01:00
PythonLimited
35dedfac16 adding MALLOC to Boardconfig.mk
Change-Id: Ica5df80a6def0af7d42427adcf5bec1ec14bd42e
2017-12-03 11:18:03 +01:00
PythonLimited
b829dae9e9 added include 2017-12-03 00:12:25 +01:00
PythonLimited
d0c33df664 bluetooth: added bt config as our kernel is missing alarmtimer.c
Change-Id: I4deba13b1373e82fe339c0f64958f1d87d0bb54d
2017-12-03 00:01:22 +01:00
PythonLimited
e8f8348fac cm-14.1 bringup
Change-Id: I55f4cfe91f17766b4f4623e4805928d2ca998b09
2017-09-24 19:34:23 +02:00
Nikola Majkić
de749b5d19 Samsung-msm8226: rebrand
Change-Id: I43141238707c8b9e6c6c11502c089af0ae2e7117
2017-01-27 23:48:52 +00:00
Nikola Majkić
3f1936c674 Revert "msm8226: Build the kernels with gcc-4.9"
This reverts commit e8bc18546a.
2016-08-25 01:32:32 +02:00
Nikola Majkić
dc44eb9388 Revert "msm8226-common: prop: Disable Strict mode"
This reverts commit 50d4340071.
2016-08-21 00:13:26 +02:00
Matt Filetto
f56b6165cf msm8226-common: Disable QC HW FLP HAL
* Something inside the HAL keeps choosing to use inaccurate locations
  even when more accurate GNP/GNSS location is available. Since we don't
  have any visibility into this component, disable it.

Change-Id: I84f5cf142ec9d5c4ea95b54b0bd16c54de2b1743
2016-05-17 12:22:01 +05:30
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
ljzyal
3823dcb74c msm8226: sepolicy: Add sepolicy for Fingerprint Hardware
Change-Id: I8d681a0fd7a33f88a29b0ff6e101ae76062ee43b
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
2016-04-28 22:47:22 +05:30
Jackeagle
6409ec417f msm8226: rootdir: Update TCP Buffers from CAF [1/2]
Change-Id: I42587dd7e0418add04bae0b312245c1a12e62430
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
2016-04-28 19:32:13 +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
Ethan Chen
3284d45b27 msm8226-common: Annotate unused parameter
Change-Id: Ie15ab403230b5820bce0b72bb024e0c2b426518b
2016-02-25 09:26:56 +05:30
Nikola Majkić
c5c79db297 Revert "Revert "Revert Jmalloc""
This reverts commit 5bc8b183ea.
2016-02-22 20:53:51 +01:00
Emilio López
295c6278f5 msm8226-common: enable basic dexpreopt
This reduces the time from off to pin-input on encrypted devices
considerably, while leaving enough space on /system for third party
app packages the user may desire to install. Tested on peregrine.

Change-Id: Iaa5974275476f5580f7e38cf8a502d5c3d28ac90
2016-02-22 06:27:56 +01:00
Dan Pasanen
76a4d7eeef gps: fix error when building with clang
* error: constant expression evaluates to 4294967295 which cannot be narrowed to type 'long'

Change-Id: I66c3fda80d72a2c650992f14336a646c6459e937
2016-02-22 02:41:32 +01:00
Nikola Majkić
13b8f743ad Boardconfig: Build with Clang 2016-02-22 02:40:46 +01:00
Nikola Majkić
5bc8b183ea Revert "Revert Jmalloc"
This reverts commit cad1ca9705.
2016-02-21 23:31:52 +01:00
Apavayan Sinha
52887b1231 msm8226: Remove boringssl-compat
Change-Id: I6df9801ba7aa9141c72902d7b69a07e60389e754
2016-02-13 10:09:24 +05:30
Apavayan Sinha
f9dbd3b9e8 msm8226-common: init: fixed Crashing Of some app
Some apps like:
	*Snapchat
	*facebook
	*Facebook Messager
	etc

Change-Id: I8287a2fd5d159e52b66b7b8ac163a7b77e57c9fd
Signed-off-by: Apavayan Sinha <info@apavayan.com>
2016-01-25 22:51:58 +05:30
Apavayan Sinha
50d4340071 msm8226-common: prop: Disable Strict mode 2016-01-23 17:00:50 +05:30
Nikola Majkic
cad1ca9705 Revert Jmalloc
dmalloc make problems with camera on M so we will stay on jmalloc
2016-01-19 23:01:11 +01:00
Rox-
b334801b7c msm8226-common: Add simactivation old ril config 2016-01-16 00:54:00 +01:00
Rox-
d13fd52c91 msm8226-common: Force NV12 and NV21 pixel alignment
Our libadreno_utils returns an incorrect value for the pixel alignment
(32 instead of 16) and therefore the 480p preview is corrupted.
Force the right alignment to fix it.

d96e6bdebe
2016-01-16 00:32:01 +01:00
Nikola Majkic
3f510c8c06 Camera: Enable Snap
from http://review.cyanogenmod.org/#/c/127421/
2016-01-16 00:29:20 +01:00
Apavayan Sinha
d2355eb934 msm8226-common: Remove CAMERA L COMPAT flag
Change-Id: I93cd6af35121db8785da3f59d05ac6de18abe205
2016-01-06 10:56:17 +05:30
Rox-
0fe14d67e5 [REVERT] msm8226-common: Comment restore context
*Until we fix selinux enforce mode
2016-01-04 00:10:37 +01:00
Christopher R. Palmer
1d08a4f56d msm8226-common: Unlock the GPS
Change-Id: If9fd67483fedee915d46f7b9d2a7e0851400de3c
2016-01-03 12:37:08 +01:00
Gabriele M
25f1c3c6db msm8226-common: PowerHAL: Add powersave bias profile
This profile is exactly like powersave except for the max CPU
frequency which is not limited.

Change-Id: I66c09c1ed4c9730e1ed47a8768bd4d44bc2aa929
2016-01-03 12:27:09 +01:00
Rox-
8f8b327eb7 msm8226-common: Enable disableWifiApFirmwareReload 2016-01-03 12:19:36 +01:00
Rox-
928a9205db msm8226-common: power: Fix function call 2015-12-31 12:04:35 +01:00
Rox-
569b83700c Revert "msm8226: Use common cyanogen hardware repo"
We only use DisplayColorCalibration from there and AdaptiveDisplay is duplicated ( one exist in samsung/cmhw ) and causes build error
This reverts commit bd5ba43a61.
2015-12-31 12:02:33 +01:00
Rox-
e57053e2fa msm8226-common: Stop QC-QMI message spam 2015-12-30 14:25:24 +01:00
Rox-
b08ac9cd48 msm8226-common: Update GPS header for M 2015-12-27 14:02:57 +01:00
Rox-
3bbe9c0c97 msm8226-common: Update media_codecs and media lib listing 2015-12-27 14:02:43 +01:00
Gabriele M
17591b33ae Custom PowerHAL implementation
PowerHAL highlights:
* The CPU governor is always interactive. Governor changes are not
  expected and permissions are set once on boot.
* Powersave profile: the CPU frequency is limited 787MHz and the CPU
  is never boosted on user interaction. This will save power without
  making the phone unbearably slow.
* Performance profile: the CPU is constantly boosted.
* Balanced profile: the CPU is boosted on user interaction.
  When the screen is turned off, the governor is tuned to lower the
  power consumption to save power in case of long lasting screen off
  activities such as music playback.
* Currently there are no restrictions on the number of active cores.

With this PowerHAL cpu-boost is not needed, so keep it disabled.

In addition to that, drop all the properties based profiles and set
config_perf_profile_prop to "powerhal" to make the framework send
hints to PowerHAL when the power profile is changed.

msm8226-common: PowerHAL: Initialize mutex

Since the mutex is declared as static, this went unnoticed, but mutexes
should always be initialized, so do it.

msm8226-common: PowerHAL: Don't override user selected profiles

Save and restore the last selected profile so that the user preference
is not lost when transitioning out the low power mode. Also, don't
actually change the profile if in low power mode, but don't discard
the user preference.

msm8226-common: Refactor PowerHAL

Make the HAL generic by keeping the device dependent configuration
separate. This allows to easily add or edit the profiles.

The HAL should behave exactly as before, except for the fact that now
there might be some useless writes when the screen is turned off.

Change-Id: I6bb01a14f0058c59986989568e7766f4203150cc
2015-12-27 13:13:57 +01:00
Rox-
bdeca00d33 msm8226-common: Cleanups
*GPS update for M
*Newline
*Drop USB charging mode - not needed in M
*Specify persist.sys.ssr.enable_debug
2015-12-26 15:53:57 +01:00
Thierry Strudel
0f01aab1fc msm8226-common: force dex2oat not to use swap file
Bug: 20658562
Change-Id: Ib8e47b3edd94b1977c294959cdde01a54b64f123
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2015-12-26 15:53:50 +01:00
Apavayan Sinha
1dde331fec msm8226-common: ril: update constructors for M
Change-Id: Ia749bc1ab58a83947520945e49138522237492a4
2015-12-26 15:30:34 +01:00
Jackeagle
647f63136b rootdir: Add more permissions
- Required for S5 Mini

Change-Id: Ib88ae9eec4ca4da5d390c75580509c3f9f2ec684
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
2015-12-11 05:21:58 -05:00
Jackeagle
ebfbceee15 rootdir: Add more usb parameters
- Needed for other devices

Change-Id: Ib8f90006bfd55f3227714bfd5f79e7163e0fecd8
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
2015-12-11 05:16:07 -05:00
Zhao Wei Liew
47a350f43e msm8226: Enable idle power collapse in charge mode
No reason to disable this, stick to default. Also disable thermal
driver before setting low power modes for sanity's sake.

Change-Id: I54457176494b295ca2e78c8ce306fa1838350962
2015-12-02 18:48:59 +08:00
Zhao Wei Liew
5d90599f1a msm8226: Remove unused encryption properties
We are building these modules inline, so these properties are unused.

Change-Id: If6597f51cf9675f09804f34ab508616e81effffc
2015-12-01 23:09:50 +08:00