Commit graph

47 commits

Author SHA1 Message Date
Francescodario Cuzzocrea
bfcc9d042c msm822-common: remove debug log function 2019-06-01 08:48:44 +02:00
Francescodario Cuzzocrea
e386fe0847 DNM: add debug log function 2019-05-18 09:52:56 +02:00
Francescodario Cuzzocrea
fb18fc1de6 Revert "msm8226-common: remove ds_fmc_appd service"
This reverts commit 35998f32ca.
2019-05-18 09:09:15 +02:00
Francescodario Cuzzocrea
35998f32ca msm8226-common: remove ds_fmc_appd service 2019-05-10 23:12:37 +02:00
Francescodario Cuzzocrea
ecc18ab298 msm8226-common: enable adaptive lowmemory killer 2019-04-19 08:35:11 +02:00
Francescodario Cuzzocrea
c07e04d0e5 update camera and make the thing run 2019-04-18 22:17:07 +02:00
Francescodario Cuzzocrea
b51f0024f1 Further cleanup of te init script. Now startup is a little bit faster 2019-04-18 15:50:20 +02:00
Francescodario Cuzzocrea
b282d8dc83 Cleanup to init 2019-04-18 10:50:20 +02:00
Francescodario Cuzzocrea
d4c2b09c96 Load vendor blobs from /vendor 2019-04-18 09:30:07 +02:00
PythonLimited
3876947d6b enable android GO definitions and add ril fix for mobile data 2019-01-17 08:48:09 +01:00
PythonLimited
50620e518e add ril-fix for sometimes after a reboot 3g is not working properly 2019-01-15 19:16:57 +01:00
PythonLimited
987f1cb442 its rmdir not rm 2019-01-15 12:45:43 +01:00
PythonLimited
e5c7bcc8f2 fix 3g not working after some restarts 2019-01-15 12:22:27 +01:00
PythonLimited
26dd0b136d update power hal to fix vibration issue and enable all cores at start 2019-01-15 00:47:25 +01:00
PythonLimited
22b0dffa0d update for oreo stable mr1 2019-01-14 21:05:28 +01:00
PythonLimited
e3deb6ad34 update everything we missed previously to oreo 2019-01-14 16:20:17 +01:00
PythonLimited
02dea362b7
Update init.qcom.rc 2018-10-21 20:44:57 +02:00
PythonLimited
36ebad45ca
Update Android.mk 2018-10-21 20:43:18 +02:00
PythonLimited
d99d12856e
Create debug_log.sh 2018-10-21 20:42:58 +02:00
PythonLimited
b550d5cc17 fix rild on clean wipe 2018-09-12 20:18:02 +02:00
PythonLimited
a7e66577b1 add service for rils to start on boot 2018-09-06 23:57:19 +02:00
PythonLimited
38edb23e0e fix ril on oreo 2018-09-06 21:49:19 +02:00
PythonLimited
965359f493
Update init.qcom.rc 2018-08-30 12:57:25 +02:00
PythonLimited
d3ac4c1415 add debug ril and fix qmuxd 2018-08-09 16:30:44 +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
404bd1bb07 libwvm: fix missing symbols (thanks at Ivan) 2017-12-12 23:27:00 +01:00
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
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
Rox-
0fe14d67e5 [REVERT] msm8226-common: Comment restore context
*Until we fix selinux enforce mode
2016-01-04 00:10:37 +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
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
Zhao Wei Liew
42a19d3d39 msm8226: Disable in-kernel input boost
We have 1.1 GHz input boosting for 3 seconds in PowerHAL, so this
is definitely unneeded, wasting more power.

Furthermore, this will hurt performance. The in-PowerHAL solution will
race with the in-kernel solution due to difference in boost freqs,
hurting performance.

Change-Id: Id4381af400d94a9c7690274d10b1b4ea011b6b32
2015-11-30 08:48:12 +08:00
Steve Kondik
686eb762e9 msm8226: Adjust cpufreq timer rate
* We're no longer managing timer_rate from the PowerHAL, so set it to
   30000 which will improve battery live.

Change-Id: I5a25533b674b37961e975537fc7b905f4e3497b3
2015-11-30 08:10:42 +08:00
Rox-
3d97fb58c1 [WIP]msm8226-common: Update sepolicy for M 2015-11-29 17:06:30 +01:00
Rox-
e7423d0351 msm8226-common: rootdir: Clean up init and move outside etc
*Remove some device specific permissions, add them to init.target.rc
2015-11-27 12:22:27 +01:00
Zhao Wei Liew
13df128ae6 msm8226: Refactor low power set-up
* Use a trigger to enable low power modes in recovery and boot.
* Enable L2 low power modes in charger.
* Set up low power modes earlier to keep device cool during dexopt.
* Slight clean up.

Change-Id: Ida7a62e457e2eda052e4a83b050df673eda743e0
2015-11-26 15:20:08 +08: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
7c1e6cf7e1 msm8226: Commonize init scripts
Change-Id: Iab43f5a4174edd758e0654f127d7820f9912fdb4
2015-11-25 13:31:34 +08:00