aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* msm8996-common: init: Update for OLuca Stefani2017-12-02
| | | | | Change-Id: I635dc8d27f92f9a2fa83da62c2f32e48bd2c7680 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: init: Check if power off alarm is setMichael Bestas2017-12-02
| | | | | | | | | Check if power off alarm is set, then set alarm's properties Adapted from Mao Jinlong <c_jmao@codeaurora.org> patch in init.qcom.early_boot.sh Change-Id: Ib86584d1c09aba07c47435ac8bed39aac79a80f7 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: init: Check reboot_reason when setting alarm_boot propZhao Wei Liew2017-12-02
| | | | | | | This was missed out from init.qcom.early_boot.sh. Change-Id: Iab5b0d7782a53b97315d2aa9d0c301ed7725e01d Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: init: Use core init function to read from filesBruno Martins2017-12-02
| | | | | Change-Id: I3fd23490bcdfa4097dad73161ad226337e93cd18 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Use more conservative VM parametersDiogo Ferreira2017-12-02
| | | | | | | | | | | | | | | | | | | | | | | The maximum heap size for each virtual machine is 1GB. This is too big and puts too much pressure on both the garbage collector when it tries to perform collections in older generations. The symptoms are simple, some applications will allocate objects that live long enough to be promoted to older generations, escaping the efficient CMS collections. Eventually, a stop-the-world collection will go through this large block of memory and cause applications to pause for too long. Additionally, the out of memory killer follows a LRU approach where it tries to kill older applciations to make room for new ones. The problem arises when the least recently used applications don't have large heaps but the most recent ones do. When this happens the system halts to a crawl while older apps and services are killed and respawned in a never ending cycle of jankiness. These values were obtained experimentally but actually match the defaults for devices with >2gb of ram and xhdpi. Change-Id: I73a92269ceac61dd4d4c1b1600f55a21534a27a0 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Cleanup and update init extension for NBruno Martins2017-12-02
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: init: Dynamically set Dalvik propertiesLuK13372017-12-02
| | | | | Change-Id: I656cbed7abf351fea4129e7ff3c930eb9d8914ae Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: init: Checkout to NDavide Garberi2017-12-02
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Don't call external kernel headersDavide Garberi2017-12-02
| | | | | | * Everything is already there in kernel now Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Cleanup after b8b870892b6f71ad9decf7cf38bf31412f540d46Davide Garberi2017-12-02
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* rootdir: SafailNet: Don't touch ro.build.selinuxjhenrique092017-11-27
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* rootdir: Introduce 'SafailNet'jhenrique092017-11-27
| | | | | | | | | | | | | | | SafailNet is inspired on magisk hide. (Thanks to topjohnwu) https://github.com/topjohnwu/Magisk/blob/master/jni/magiskhide/magiskhide.c The purpose is bypass safetynet without installing any zip via twrp And these commits too: https://github.com/PixelExperience/kernel_motorola_msm8953/commit/dc9c2f35e988123abf2aa50d30b8b324bc377fbf https://github.com/PixelExperience/kernel_motorola_msm8953/commit/ec5b1bb6821098ebb30a37cbf5d2c52286cacbfd Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: overlay: Set brightness percentage at 50% as defaultDavide Garberi2017-11-26
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* overlay: Fix fingerprint positionontherunvaro2017-11-26
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* z2_plus: Flip screen in kernel [2/2]dd3boh2017-11-26
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Add calib.cfg from ZUIDavide Garberi2017-11-25
| | | | | | | * This is for the assertive display * The configuration was already there in the system.prop without the file though Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Add a qti_whitelist configurationDavide Garberi2017-11-25
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Add back cmdline safetynet bypassDavide Garberi2017-11-25
| | | | | | * This should be helpful once the selinux enforcing will be working Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Nuke BOARD_USES_QC_TIME_SERVICES flagdianlujitao2017-11-24
| | | | | | | | * The framework did exact the same thing as TimeService.apk, so there's no reason to keep it, and it's not ported to O. Change-Id: I74abc65468e983732bccde571003235891379463 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: wifi: full rework of the Wifi configurationAlex Naidis2017-11-24
| | | | | | | | | | | | | | | | | | * enable RA Filtering * increase RA rate limit interval to 15 minutes -> saves power * enable IPA offloading in STA mode -> kernel support is present * set the beacon missed count threshold from stock -> ensures stability * maximize the continuous packets dropping threshold * limit peers for SoftAP to 10, prevent overloading * prefer connecting to a 5Ghz AP even if its RSSI is lower by 5dBm than the competing 2.4Ghz AP -> smart decision * set the stock RoamRssiDiff value * disable Packet logging * cleanup some options Signed-off-by: Alex Naidis <alex.naidis@linux.com> Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: wifi: enable and tune BETAlex Naidis2017-11-24
| | | | | | | | | | | | | | Enabling Beacon Early Termination in order to speed up beacon processing drastically. This will lead to power savings. Also tune the BET wake interval to a value of "8" to reduce the frequency of wakeups. "8" is a safe choice since I could detect values of higher than 10 to cause issues in some usecases. Signed-off-by: Alex Naidis <alex.naidis@linux.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: wifi: relax WiFi re-association RSSI thresholdsSultanxda2017-11-24
| | | | | | Signed-off-by: Sultanxda <sultanxda@gmail.com> Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: wifi: Enable scan aging time ini parameteryeshwanth sriram guntuka2017-11-24
| | | | | | | | | | | | | Stale scan entries are updated to NL because scan results are not aged out in PNO complete handler. Fix is to enable scan aging time ini. Change-Id: I2a1a6d0d1e3a37a013b1e044301d857bc7ce062c CRs-Fixed: 2047214 Signed-off-by: Alex Naidis <alex.naidis@linux.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: wifi: Tune BMPS listening intervalAlex Naidis2017-11-24
| | | | | | | | | Tune the BMPS listening interval for the moderate power level to achieve power savings during wifi idle. Signed-off-by: Alex Naidis <alex.naidis@linux.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Set gInformBssRssiRaw to 0Srinivas Girigowda2017-11-24
| | | | | | | | | | | | | | | | When FW sends the Mgmt Rx event message to host, the raw rssi field is wrongly getting updated with an RSSI that is accounted twice for RSSI offset if enabled in BDF. Set gInformBssRssiRaw to 0 to pick the raw rssi from the Rx Descriptor populated by HW & avoid double calculation. CRs-Fixed: 1084457 Change-Id: I615f9fbb8b9849025fff865c8886edd9e73f938b Bug: 31781264 Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org> Signed-off-by: Alex Naidis <alex.naidis@linux.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: wifi: reduce delay for Runtime PMAlex Naidis2017-11-24
| | | | | | | | | -> Set the delay to "1500" to improve power efficiency without increasing the chance of a wifi dropout. Signed-off-by: Alex Naidis <alex.naidis@linux.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: wifi: enable RX thread to receive packetBhargav Shah2017-11-24
| | | | | | | | | | | | | | | In present code, RPS is enabled in RX path which is causing inconsistency in TCP DL throughtput case. Enabling Rx thread Which is providing consistency in throughtput with minimal power impect. CRs-Fixed: 1018382 Change-Id: Ieac0fec9399375b723c0f350639f861bdbc143a2 This somehow didn't make into the UM branch, reapply it. Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: wifi: enable QPower and Deep sleep at the same timeAlex Naidis2017-11-24
| | | | | | | | | * This enables Deep Sleep mode, additionally to QPower * With this configuration, QPower manages the new Deep sleep mode -> Leads to amazing power savings Signed-off-by: Alex Naidis <alex.naidis@linux.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Remove deprecated stuff [2/2]Davide Garberi2017-11-19
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Update config.fsDavide Garberi2017-11-19
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: rootdir: Some updates from CAFDavide Garberi2017-11-19
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: QMI-FWK: Copy sec_config file correctly for combined images.Muhammed Siju2017-11-19
| | | | | | | | | Use TARGET_COPY_OUT_VENDOR makefile flag while copying sec_config file to copy to correct path irrespective of split/combined system vendor images. Change-Id: I77d9c53b1d59f51642c4a2d749739a9769577c09 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: sec_config: Allow QMID service to aquire net_raw permissionMike Cailean2017-11-19
| | | | | | | | | Allow QMID service to aquire net_raw permission for GPS to fix GTP WAA based Cell-id injection Change-Id: Ibcbf2516d32f46fda358d9ec4db7cd68f6174a11 CRs-fixed: 2093489 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: sec_config: Add 2901 to IPC Router configChris Lew2017-11-19
| | | | | | | | | The diag node is moving to oem_2901 group permissions instead of diag permissions. Update IPC Router security config to allow diag communication through sockets. Change-Id: I46411aff66a5e9fd6478924bfa92d575030305ea Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: sec_config: Remove clients group id from sensorsShaikh Shadul2017-11-19
| | | | | | | Do not allow access to sensors services from clients group id 3011. Change-Id: Iafe88f835af337d8745bc9be410740ed858e14d8 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: sec_config: Allow ril to access the locator and notifier ↵Jaime A Lopez-Sollano2017-11-19
| | | | | | | | | | services. In order to be notified of PDR status, ril needs access to the QMI SERVREG_LOG and QMI_SERVREG_NOTIF services Change-Id: I99866e34994159578faa8a689b66184ca5d5d99b Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: sec_config: Add system permission for DMS QMI serviceYuanyuan Liu2017-11-19
| | | | | | | | | Add system permission for DMS as cnss-daemon runs in system group and uses DMS service. Change-Id: Iffcf23afc3940a7acf28bb9c9b47648475cc9152 CRs-Fixed: 1067995 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Declare manifest.xml as DEVICE_MANIFEST_FILEDavide Garberi2017-11-18
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Update READMEDavide Garberi2017-11-18
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: cmhw: Remove old and uneneded stuffDavide Garberi2017-11-18
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: rootdir: Add back debugfs mountDavide Garberi2017-11-17
| | | | | | * Fixes commit e84d238e99a5b3340e123082fcc0014102fc4529 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: manifest: Add the needed properties for servicesDavide Garberi2017-11-16
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Move xtwifi-client to vendor folder [2/2]dd3boh2017-11-14
| | | | Signed-off-by: dd3boh <dade.garberi@gmail.com>
* msm8996-common: Reorder display propertiesdd3boh2017-11-14
| | | | | | * Also disable triple framebuffer Signed-off-by: dd3boh <dade.garberi@gmail.com>
* msm8996-common: configs: Advertize high-speed recording profilesblunden2017-11-12
| | | | | | | Fixes slow-motion recording in Google Camera. Change-Id: I5db9f9aedf8ae795c3461ab9d0424ac3db0e9f70 Signed-off-by: dd3boh <dade.garberi@gmail.com>
* msm8996-common: Enable qcom common sepolicydd3boh2017-11-09
| | | | Signed-off-by: dd3boh <dade.garberi@gmail.com>
* msm8996-common: rootdir: Remove init.qcom.shdd3boh2017-11-09
| | | | | | * This isn't called from anything here but we don't have problems anyway Signed-off-by: dd3boh <dade.garberi@gmail.com>
* msm8996-common: rootdir: Cleanup from unused servicesdd3boh2017-11-09
| | | | Signed-off-by: dd3boh <dade.garberi@gmail.com>
* msm8996-common: Checkout rootdir to a sane statedd3boh2017-11-09
| | | | Signed-off-by: dd3boh <dade.garberi@gmail.com>
* Revert "msm8996-common: Move bin files to vendor [2/2]"dd3boh2017-11-09
| | | | This reverts commit a18ae7d8278f9be32946f3f67dbf0c49add82b31.