Commit graph

70 commits

Author SHA1 Message Date
Francescodario Cuzzocrea
c07e04d0e5 update camera and make the thing run 2019-04-18 22:17:07 +02:00
PythonLimited
e3deb6ad34 update everything we missed previously to oreo 2019-01-14 16:20:17 +01:00
Simone Esposito
47e17097a1
fmradio: added hardware support 2018-06-08 21:56:18 +02:00
Dyneteve
e56e9fb1c5 msm8226: Update 2018-05-18 13:22:52 -04:00
leonardo meitz
b8e2c5780c added new stuff for sensorhal and etc... 2018-05-17 15:09:36 +02:00
leonardo meitz
be138c1f2e los15.1 bringup 2018-05-16 22:48:20 +02:00
PythonLimited
f0ec43f2eb -Revert "camera: dont use openlegacy()"
This reverts commit 79da828b11.

Change-Id: If5b1665b4986918ed3f882940d6d86bc2cead7cf
2018-02-18 23:32:25 +01:00
PythonLimited
6b76d51966 switch to modular layout
Change-Id: If375e683b32d1509ffab49989d5bd89985d262e4
2018-02-18 13:36:47 +01:00
PythonLimited
79da828b11 camera: dont use openlegacy()
Change-Id: I24712e972c5378287bad171d66bb0f9eb7e6b096
2018-02-10 12:48:06 +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ć
3f1936c674 Revert "msm8226: Build the kernels with gcc-4.9"
This reverts commit e8bc18546a.
2016-08-25 01:32:32 +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
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
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
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-
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
Apavayan Sinha
d2355eb934 msm8226-common: Remove CAMERA L COMPAT flag
Change-Id: I93cd6af35121db8785da3f59d05ac6de18abe205
2016-01-06 10:56:17 +05:30
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
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
Zhao Wei Liew
e7b55c62d7 msm8226: Reference inline WLAN module
We have switched to building the module inline, make the appropriate
changes to recognize the change.

Change-Id: I2e6e5114f4241c1b694f678dbdd59f4efd173d5b
2015-12-01 23:07:45 +08:00
Zhao Wei Liew
d687a9499e msm8226: Commonize system properties
Respective devices need to add a reference to their target
system properties in BoardConfig.mk.

Change-Id: Ic79498519f53fac1cf0e4a37aefa1ca18db5d5e2
2015-11-29 16:30:20 +01:00
Steve Kondik
e8bc18546a msm8226: Build the kernels with gcc-4.9
This requires appropriate GCC warning fixes in the kernel.

Change-Id: Ia0c0cc45b2c192ad7262d797ee3c469b94644194
2015-11-27 22:47:31 +08:00
Zhao Wei Liew
bd5ba43a61 msm8226: Use common cyanogen hardware repo
Change-Id: Iea20d73a6d29217a30c0ba4c2b85d4f35efdf7b3
2015-11-27 21:28:42 +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
7bfcb69873 msm8226: Switch to deep buffer audio output by default
This was missed out. Actually enjoy lower power consumption.

Change-Id: I818d24a5531750fa90664d1c14d5cbad2b5565cf
2015-11-25 13:44:13 +08:00
Zhao Wei Liew
167c0c676f Revert "msm8226: Wait for keymaster to be loaded in TZ"
Our blobs don't support this.

This reverts commit 12ca0b8029.
2015-11-25 12:28:46 +08:00
Apavayan Sinha
0a303128d3 msm8226: Enable camera compatibility flag
Change-Id: I4993cf0de6f38da9c7d24e880fc3bd6768d8e3f2
2015-11-15 14:22:05 +01:00
Apavayan Sinha
12ca0b8029 msm8226: Wait for keymaster to be loaded in TZ
Change-Id: I5e3774b0ed0b19fe2be9a1c71346c8ab6b4e2682
2015-11-15 14:21:49 +01:00
Apavayan Sinha
ececd0f1e5 gps: fix build with M
Change-Id: Ibe8799714547cffb5e4505a08fa85d30075afd9d
Signed-off-by: Apavayan Sinha <info@apavayan.com>
2015-10-18 13:41:21 +05:30
Apavayan Sinha
7094adc1f3 msm8226: drop BOARD_SEPOLICY_UNION
As suggested in the comments on
https://android-review.googlesource.com/#/c/141560/
drop BOARD_SEPOLICY_UNION and simplify the build_policy logic.
Union all files found under BOARD_SEPOLICY_DIRS.

Change-Id: I4fea5f5196639f512073ce650185674f2dc2d608
2015-10-08 20:53:32 +05:30
Rox-
b567f7284e msm8226-common: Remove deprecated egl.conf
993814255f
2015-08-16 12:40:42 +02:00
Rox-
ffb6ea8ca9 msm8226-common: Remove duplicate flag
*This is common for samsung qcom devices
58c4ee7d3c
2015-05-21 20:38:08 +02:00
Rox-
e61f726a8d msm8226-common: Set dlmalloc as default allocator
Use dlmalloc instead of jemalloc for mallocs
2015-04-19 11:40:52 +02:00
Rox-
31f86fcc25 msm8226-common: charger: Show battery percentage
*Show battery percentage in LPM
2015-04-07 16:25:14 +02:00
Rox-
3520819dd7 msm8226-common: Disable memcpy_base.S optimization 2015-03-18 00:22:29 +01:00
Rox-
dd64706a98 msm8226-common: De-commonize liblights 2015-03-08 13:37:49 +01:00
Rox-
3a58555cb3 msm8226-common: Our sound driver is not ready for this yet 2015-03-07 21:55:08 +01:00
Rox-
a9c51e82e5 msm8226-common: Add PCC calibration interface 2015-03-07 21:52:41 +01:00
Rox-
169b19068c msm8226-common: Make sepolicies common 2015-02-25 16:20:53 +01:00
Nikola Majkić
463e3e072d msm8226-common: audio: Enable offloaded audio effects
Updated by @Rox-
2015-02-13 19:16:46 +01:00
Rox-
6d247cf4f8 msm8226-common: Don't use SMD_TTY 2015-01-31 22:06:58 +01:00
Rox-
b486c6c9c6 msm8226-common: wlan: Use wcnss-qmi interface to set the MAC address 2015-01-31 02:25:28 +01:00
Rox-
37ee2b3c8a msm8226-common: Bring back custom lun path
*Suport for custom lun path should be merged soon
2015-01-09 17:17:20 +01:00
Rox-
ec87105ef7 msm8226-common: Update audio policy
* Add FM device
* Add PCM offload formats
2015-01-09 00:58:15 +01:00