Commit Graph

3862 Commits

Author SHA1 Message Date
Devi Sandeep Endluri V V 7a48f02820 [DPM-init_script]:Start dpmQmiMgr via init.qcom.rc
- Removed user and group tag for dpmQmiMgr
- Start the daemon as root and drop the privilege from
  main routine.

CRs-Fixed: 2063125
Change-Id: I8c0f58ba52dd764e2cd986f59b5c10668b4dcc5e
2017-06-27 22:06:26 -07:00
Hemant Kumar 43e3e5f833 init.msm.usb.configfs.rc: Add support for USB PID 0x90D7 and 0x90D8
USB product id 0x90D7 includes DIAG, DIAG_MDM, QDSS, QDSS_MDM, DUN,
DUN_MDM, RMNET
USB product id 0x90D8 includes DIAG, DIAG_MDM, QDSS, QDSS_MDM,
DUN, DUN_MDM, RMNET, ADB

Change-Id: I2bc7f3b8e9cb6e52c8fdd8007207e92bf98b55f0
2017-06-27 13:33:31 -07:00
Hemant Kumar 65adc2c2c3 init:qcom.usb.rc: Add mdm instance for qdss, diag and dun interfaces
In order to instantiate qdss, diag and dun interfaces for mdm create
qdss_mdm, diag_mdm, cser.dun.2 dir under configfs.

Change-Id: Ic6aadba929dd172cec8039f007acf3e6f865696a
2017-06-27 13:31:39 -07:00
Linux Build Service Account 3ab9eeeadd Merge "init: Create wifi directory into /data/vendor path" 2017-06-27 10:58:29 -07:00
Linux Build Service Account 61119809e9 Merge "Add TARGET_OUT_VENDOR_EXECUTABLES for the wlan script." 2017-06-27 10:58:27 -07:00
Linux Build Service Account 31fe425cc8 Merge "device/common: Avoid delay for vblank disable from DRM" 2017-06-27 10:58:26 -07:00
Linux Build Service Account be52ae9722 Merge "init.qcom.debug.sh: Configure DCC Registers and enable DCC for SDM845" 2017-06-27 10:58:18 -07:00
Linux Build Service Account 6c89e7851b Merge "post-boot: msm8909: Set bw_hwmon governor correctly for cpubw" 2017-06-27 10:58:16 -07:00
Linux Build Service Account 24ed5b801b Merge "[DPM-init_script]:Start dpmQmiMgr via init.qcom.rc" 2017-06-27 10:57:17 -07:00
Linux Build Service Account a2b22d56a8 Merge "msm8998: Set permission for low persistence display mode" 2017-06-27 04:34:52 -07:00
Linux Build Service Account dc1fa9f596 Merge "init.qcom.rc: Change msm_core node ownership from root to system" 2017-06-27 04:34:33 -07:00
Linux Build Service Account 232716fa72 Merge "Launch mlid at startup" 2017-06-27 04:34:22 -07:00
Linux Build Service Account bff107c8f4 Merge "common: set USB as mass_storage in power off charging mode" 2017-06-27 04:34:21 -07:00
Linux Build Service Account 9836655881 Merge "SEEMP: Add optional package verifer to PackageManagerService" 2017-06-27 04:34:15 -07:00
Linux Build Service Account 32c6a5b42f Merge "wifi: Add permissions for wifi aware service" 2017-06-27 04:33:51 -07:00
Himanshu Aggarwal a67f344ab0 improveTouch: enable improvetouch hbtp service for sdm450
Enable ImproveTouch hbtp service for CDP/MTP/RCM variant of sdm450.

Change-Id: I6dea7c4f6d36ff7567bdaec7bdc660aab252a47b
2017-06-27 15:32:19 +05:30
Himanshu Aggarwal a428c4bb32 device: common: add navigation bar for sdm450
Touch panel does not support virtual keys on sdm450. Set
qemu.hw.mainkeys as 0 to enable the Android navigation bar.

Change-Id: I8afd710d3cbf63f727afeffc4fbc9d588226e203
2017-06-27 15:30:19 +05:30
Sai Krishna Juturi 10d7b1ca39 uicc: Remove unused script
Removing unused init.qcom.uicc.sh script.

Change-Id: I0d5ec9c6775eca4b38d859c66be9723ef91e788e
Signed-off-by: Sai Krishna Juturi <jsaikrishna@codeaurora.org>
2017-06-27 01:22:02 -07:00
Sai Krishna Juturi 4084687aaa uicc: Remove unused script
Removing unused init.qcom.uicc.sh script.

Change-Id: I0d5ec9c6775eca4b38d859c66be9723ef91e788e
Signed-off-by: Sai Krishna Juturi <jsaikrishna@codeaurora.org>
2017-06-27 01:18:53 -07:00
Mao Jinlong 2cadddc8cd Changes for time service
1. Change time_daemon path from system/bin to system/vendor/bin
2. Change time data folder into /data/vendor/time as time_daemon is in
vendor folder.

CRs-Fixed: 2055017
Change-Id: Ic2d4604e67be29fd1f7ba455baca93991e7d5f21
2017-06-26 23:13:53 -07:00
Mao Jinlong 985b74ead4 healthd : Changes of power off charging alarm
1. Start alarm thread when device enters power off charging mode.
Reboot the device when alarm time is up during power off charging.

2. Add reboot function to event data.If the alarm event happens, call
reboot function immediately to ensure that device won't go to suspend
during calling reboot function.

3. Add alarm seconds check in case of that power off alarm time is up
when start alarm thread. If the final alarm time is less than the
estimated time of next boot completed to fire, that means it is not able
to fire the last power off alarm at the right time, so just miss it.

CRs-Fixed: 2054302
Change-Id: I40bd9c35a9e42aeabb742603e161c2049cd0b5f5
2017-06-26 23:13:31 -07:00
Nikhil Kumar Kansal 0fa5c307b2 power: KW warning fix in power hal for sdm660
KW throws warning about possible access of an array
by out of index range. Size passed to memcpy is
properly guarded to avoid out of bound access.

Change-Id: I355573c307098498cfa988377921b4e9ea7e8c2e
2017-06-26 21:41:52 -07:00
Yahui Wang 42cede8101 msm8998: Set permission for low persistence display mode
As low persistence display mode will be used for msm8998
QVR, so add support for that.

Change-Id: Ie8a92a87f6ed768aef696c1a4287b32ec1b3a0f4
2017-06-26 21:27:47 -07:00
Prabhanjan Kandula f2dce2c709 device/common: Avoid delay for vblank disable from DRM
Set drm_vblank_offdelay parameter to -1, to make DRM
issue the vblank disable immediately with out delay.
By defailt  the DRM framework has a delay of 5 secs
timeout before issuing the vblank disable.

Change-Id: Idc1dfe6a6994f2ac2d3c60ae8fd5a4e883b675d9
2017-06-26 16:22:01 -07:00
Linux Build Service Account 8afa5f6150 Merge "IMS: Configs for RTT feature" 2017-06-26 15:02:55 -07:00
Linux Build Service Account 01868da92b Merge "base.mk : Add android.hardware.drm@1.0-impl to PRODUCT_PACKAGES" 2017-06-26 15:02:50 -07:00
Linux Build Service Account e56f9d1386 Merge "msm8998: Fix improve touch daemon cfg in post boot" 2017-06-26 15:02:37 -07:00
Linux Build Service Account e8a34a9ad2 Merge "Deprecate init.qcom.vendor.rc script file." 2017-06-26 15:02:34 -07:00
Udaya Bhaskara Reddy Mallavarapu f48e9ad077 base.mk : Add android.hardware.drm@1.0-impl to PRODUCT_PACKAGES
Add android.hardware.drm@1.0-impl.so library to PRODUCT_PACKAGES.

Change-Id: I28aa4861256579a4e8d06709a10d0d6711c0cd65
Signed-off-by: Udaya Bhaskara Reddy Mallavarapu <udaym@codeaurora.org>
2017-06-25 22:49:34 -07:00
Linux Build Service Account d18d874109 Merge "media: Giving permissions to mediacodec" 2017-06-25 20:10:45 -07:00
Linux Build Service Account 27fa5adb9b Merge "Merge commit 'da1600401a975bc2bebbd094ea75b797c46a6f60' into HEAD" 2017-06-25 20:10:11 -07:00
Naveen Kumar 21663da6ad msm8998: Fix improve touch daemon cfg in post boot
Update post boot configuration so hbtp daemon program will
be launched for non HDK,QVR in QRD HW platform family.

Change-Id: I670ece0c20d8a709ca2000e0f58c51ecf83cae9d
2017-06-25 02:32:00 -07:00
Linux Build Service Account a3b4a298ab Merge "cryptfs_hw: Remove keymaster partition check" 2017-06-24 16:44:43 -07:00
Linux Build Service Account 81a233c800 Merge "BT: Create folder for Bluetooth logs/dump collection" 2017-06-24 16:44:36 -07:00
Joonwoo Park 4b0d065c9c post_boot: lower down migration threshold to 85%
Lower scheduler down migration threshold to scheduler's default value 85%.

Change-Id: I7d32dd8d28828d31e41e2bd1f658e738afa17b0e
2017-06-23 17:49:08 -07:00
Rama Aparna Mallavarapu 8b5b15d351 init.qcom.debug.sh: Configure DCC Registers and enable DCC for SDM845
Add the DCC register configuration and enable it for SDM845.

Change-Id: Id5f1fe709a4d63c9757e5b583532ea5f90449d24
2017-06-23 15:44:46 -07:00
Linux Build Service Account 8eb889c7a5 Merge "Disable verity.mk while using AVB 2.0" 2017-06-23 13:31:18 -07:00
John Zhao a75d601ec0 common: set USB as mass_storage in power off charging mode
Set USB to be mass_storage in power off charging mode.
CRs-Fixed: 1060985

Change-Id: Id0a3d18c29b925ed0e2efc5c6d6b03d93abf9cf6
2017-06-22 23:35:27 -07:00
Adam Bickett 68111c265f Disable verity.mk while using AVB 2.0
Disable invoking verity.mk when AVB 2.0
is enabled, dm-verity is enabled differently
in AVB 2.0

Change-Id: I9299d1939740bf7a326656d88c722ace0c355a1a
2017-06-22 22:33:48 -07:00
AnilKumar Chimata 432a4e9890 cryptfs_hw: Add new APIs for key management
Add new APIs for create, wipe and update keys, which is
required for HW based Full Disk Encryption.

Change-Id: I483ce1a734db7b7cbfb2a06fe74baf559cfb51fb
2017-06-23 00:40:13 +05:30
AnilKumar Chimata d34ac3e93d cryptfs_hw: Remove keymaster partition check
As the partition names are changing from branch to branch, device
FDE key is not wrapped with Hw keymaster which is less secure.
So removing the partition name related checks to avoid failures.

Change-Id: If181b093122479ca57ff6846b10d6aa2fb3eaa0c
2017-06-23 00:20:52 +05:30
Brahmaji K 10866e6dc1 cryptfs_hw: Remove android reboot during password check
After reaching the maximum number of retires with wrong password,
userdata is erased based on the info written on /cache partition.
As per the latest changes of A/B, cache partition is not present
which leads to failure of userdata wipe before reboot. This patch
removes reboot from cryptfs_hw layer if max entries reached, as
frameworks take care of userdata wipe.

Change-Id: If97f2f7452beb004f44d7d41d1d76def23fe2720
2017-06-23 00:20:51 +05:30
AnilKumar Chimata 1581fe2438 cryptfs_hw: Add liblog for logging
Add liblog to cryptfs_hw to compile the adb log message related
functions to enable logging.

Change-Id: Ibc6b8617431cae687d964d1ab56ac25e1b1b96f2
2017-06-23 00:20:45 +05:30
Srinivas Girigowda 0261be2bdf Allow wifi service to access wlan dev node
android.hardware.wifi@1.0-service which is triggered
at boot up time is failing to access the /dev/wlan node.
Modify the uid and gid as wifi to enable the wifi service
to access this node

CRs-Fixed: 2062348
Change-Id: Id649979e762cfbf8801f707500229fec24974a55
2017-06-22 08:32:01 -07:00
Uma Mehta e5e013cc26 media: Giving permissions to mediacodec
giving permissions to mediacodec for
/data/vendor/media folder.

Change-Id: I43abbd7acb1e8eeb96952c819cf23dcb2636b063
2017-06-22 06:50:22 -07:00
Hardik Kantilal Patel cc9d24643d init: Create wifi directory into /data/vendor path
As per Android-O architecture, move vendor specific file into
/data/vendor path instead of /data/misc. To address this
create the wifi directory into /data/vendor path.

CRs-Fixed: 2047794
Change-Id: I6835fb70e1777e23d0b30aa9e08de9a746638c50
2017-06-22 05:46:53 -07:00
Linux Build Service Account 2744758e25 Merge "video: create directory for video dump" 2017-06-21 20:16:56 -07:00
Linux Build Service Account 4c68a523b5 Merge "media: Avoid overwrite of vendor media codec xml with legacy" 2017-06-21 20:16:53 -07:00
Linux Build Service Account 628310355a Merge "init_earlyboot: Enable fb related scripts only for fb driver" 2017-06-21 20:16:53 -07:00
Linux Build Service Account 00190a9df4 Merge "init.qcom.rc: add qdmastatsd service" 2017-06-21 20:16:52 -07:00