Commit Graph

3356 Commits

Author SHA1 Message Date
Vijayavardhan Vennapusa d075702d0f init.qcom.usb.sh: Check serialnumber value before writing dummy value
Currently .rc updates serialnumber from ro.serialno on boot and before
enabling .sh to execute. Once .sh starts executing, it tries to read
ro.serialno and if it shows empty string,  it tries to write dummy value
for adb interface to work properly. But it happens that .sh couldn't
access ro.serialno due to sepolicy permission and in that .sh endup
overriding serialnumber with dummy value.  This causes all devices
get same dummy value instead of having different serialnumber for each
hardware.  Fix the issue by checking serialnumber in .sh if it is already
updated by .rc rule or not and write dummy value to serialnumber sysfs entry
only if it is empty.

Change-Id: Ie07dfa6f05d9847800143b4c318c55367e865935
2017-05-18 10:32:17 +05:30
Linux Build Service Account 15db7a3e5e Merge "Hide IMS APN per operator's policy" 2017-05-10 10:35:51 -07:00
Linux Build Service Account 550d5b5b94 Merge "Add metered APN type for operators" 2017-05-10 10:35:50 -07:00
Linux Build Service Account 7ddac7ec48 Merge "improveTouch: enable improveTouch hbtp service" 2017-05-10 04:04:30 -07:00
Linux Build Service Account e01fa276ae Merge "Add stop_scan.mk for repo manifest's use" 2017-05-10 04:04:28 -07:00
Mengjun Leng 9879ca5a93 Hide IMS APN per operator's policy
Hide IMS APN for MCCMNC 20404 45400 45403 45404 45431 based
on the SIM card ICCID.

Change-Id: Ieed71d33b1931ae72b7a3a5e0634fdb20b910bbb
CRs-Fixed: 2043193
2017-05-09 18:31:40 -07:00
Mengjun Leng 8d6397f41a Add metered APN type for operators
Unblock mobile data establishment for unmetered APN mms and ims.

Change-Id: I810700918c5e345f68576661d510c7a66e260dfa
CRs-Fixed: 2034321
2017-05-09 18:31:35 -07:00
Linux Build Service Account 4460712fbb Merge "init_earlyboot: Set lcd density for sdm845" 2017-05-09 04:39:25 -07:00
Linux Build Service Account 3cc349f83d Merge "init.qcom.usb.sh: Set 9091 as USB default composition on SDM845" 2017-05-08 19:22:18 -07:00
Linux Build Service Account b529984413 Merge "ueventd: Allow system permission for wlan dev node." 2017-05-08 19:22:17 -07:00
Linux Build Service Account d1505bdb22 Merge "Add sdm845 to MASTER_SIDE_CP_TARGET_LIST" 2017-05-08 19:22:17 -07:00
David Ng 4774868c33 Add stop_scan.mk for repo manifest's use
An effectively empty Android makefile to stop Android
build system from scanning deeper into the subdirectories
for Android.mk for pick up.

To use, modify the manifest to copy/link this file
as Android.mk to the needed directories.

Change-Id: Iac19312304a87daa0d2277fe77a5261166ef27be
2017-05-08 15:40:30 -07:00
Soumil Shah 78e4842483 init_earlyboot: Set lcd density for sdm845
Set the property ro.sf.lcd_density to 560

Change-Id: Ie72c688ba49169ca1c221424b522b2f5b79c1cf4
2017-05-08 15:02:15 -07:00
Arunk Khandavalli b7cd29b418 ueventd: Allow system permission for wlan dev node.
Allow system permission for wlan device node, so that WLAN user space
wifistatemachine can wait till the wlan driver is completly initialized.

Change-Id: Ie34f8e7fdde97be3b78224c08f3b9ba6e45b1696
CRs-Fixed: 2010830
2017-05-08 13:41:22 -07:00
Linux Build Service Account 33ebc3c84f Merge "gpt-utils: Update list of A/B partitions" 2017-05-06 13:51:11 -07:00
Linux Build Service Account f07fe7ba66 Merge "oem-recovery: Fix an interger overflow issue on 32-bit architecture." 2017-05-06 13:51:07 -07:00
Bruce Levy 759cb35ecb gpt-utils: Update list of A/B partitions
Updated PTN_SWAP_LIST to add addtitional A/B partitions.

Change-Id: I57bf6e6b6017a9822d2ddd8089f60340adaf7871
2017-05-05 14:46:23 -07:00
Linux Build Service Account 3581a55e70 Merge "base.mk: Enable BT Ext app for compilation" 2017-05-05 07:15:47 -07:00
padarshr db18a6a9b1 oem-recovery: Fix an interger overflow issue on 32-bit architecture.
On 64 bit architecture, off_t is 'long long', whereas on 32 bit
architecture off_t is just 'long', i.e. 4 bytes less. Due to this,
integer overflow is seen, and gpt-utils was not able to mark bootup as
successful, causing the device to be slot switched after 7 reboots by
the bootloader. Use off64_t instead.

Change-Id: I4c568188dc1b9076b282ba66d1ec45a81861a2a0
2017-05-05 05:53:44 -07:00
Linux Build Service Account 5b44db355c Merge "media: Install default media configuration files in system/vendor/etc/" 2017-05-04 19:50:56 -07:00
Alex Sarraf 68d38c6953 improveTouch: enable improveTouch hbtp service
Enable hbtp service during bootup.

Change-Id: Ida6a69298146867d3c354f679d3009bf9cba276b
Signed-off-by: Alex Sarraf <asarraf@codeaurora.org>
2017-05-04 18:07:04 -07:00
Linux Build Service Account ffa0d433b2 Merge "common: Update media codec list" 2017-05-04 03:38:13 -07:00
Linux Build Service Account 66ce321f07 Merge "device-common: Changes for display" 2017-05-04 03:38:09 -07:00
Sravan Kumar V c14e5c0ccc base.mk: Enable BT Ext app for compilation
Enable FTP and Dun for compilation.

Change-Id: I288311749dd5b9f248f8a5974f10e6d321df459b
2017-05-04 03:18:38 -07:00
Prabhakar Reddy Krishnappa a1c42537be Add sdm845 to MASTER_SIDE_CP_TARGET_LIST
Enabling master side CP for sdm845 target

Change-Id: I45cf6c0f379647250d7c413f735005e9bc04875f
2017-05-03 18:43:35 -07:00
Amit Shekhar a9895031ec common: Update media codec list
Update common media codec list for vendor

Change-Id: I0b43dd0a81d11104bfc37217159dc9f92d1ab0c0
CRs-Fixed: 2027600
2017-05-03 17:33:36 -07:00
Praveen Chavan f374e2e283 media: Install default media configuration files in system/vendor/etc/
configuration files are now moved from system/ to vendor/
or (system/vendor)

Change-Id: Idd1301f820f8c37d6688a07133fb4cda1bd0f124
CRs-Fixed: 2039799
2017-05-03 13:33:14 -07:00
Linux Build Service Account f170940b1f Merge "init.qcom.rc : Add time_daemon in init.qcom.rc" 2017-05-03 03:47:29 -07:00
Linux Build Service Account d512844d93 Merge "IMS: Control display of Wifi calling mode preference" 2017-05-03 03:47:28 -07:00
Linux Build Service Account 037fa02c3a Merge "common: add sdm845 as hw component" 2017-05-03 03:46:53 -07:00
Mayank Rana c33f452c93 init.qcom.usb.sh: Set 9091 as USB default composition on SDM845
This change sets USB default composition as 9091: DIAG, DUN, RMNET,
ADB interfaces on SDM845.

Change-Id: I1c9c5fe78358b7618d3b900a280f90b300ba7f57
2017-05-02 17:33:47 -07:00
Prabhanjan Kandula 8a00c3632c device-common: Changes for display
- Enable compilation of display libraries for sdm845
- Set the permissions for the max_brightness node

Change-Id: Ib544404e151c79e4959793aa313d0121674a6b11
2017-05-01 12:53:44 -07:00
Linux Build Service Account f0136c5861 Merge "Update configuration for sdm660" 2017-04-29 09:52:29 -07:00
Mao Jinlong 0116293b4f init.qcom.rc : Add time_daemon in init.qcom.rc
Add time_daemon in init.qcom.rc to make it be effective to all
platforms.

Time_daemon will change into class_main, then it will be started in
min framework mode. And class main services will be restarted once
system starts from min framework mode to normal mode.

So remove start and restart time_daemon action from init.qcom.rc.

Change-Id: Ie127c909e16eea6c4f9313341c3910d88c6d282a
CRs-Fixed: 2019549
2017-04-27 19:27:04 -07:00
Linux Build Service Account d301e69eed Merge "DISABLE AUDIO CLIENT profiles" 2017-04-27 07:13:56 -07:00
Linux Build Service Account 556c0bfe54 Merge "Support init.qcom.vendor.rc script file." 2017-04-27 07:13:33 -07:00
Linux Build Service Account 0f638cccf7 Merge "init.qcom.debug.sh: dump GNoC registers from DCC" 2017-04-27 07:13:32 -07:00
Aalique Grahame d2923d847f common: add sdm845 as hw component
add sdm845 as a hardware component so that the hal
is compiled by default

CRs-Fixed: 2038634
Change-Id: I922a0c02145e480577c4923fb5afad5070511b48
2017-04-25 17:56:05 -07:00
padarshr 0817c3b133 Support init.qcom.vendor.rc script file.
We now support init.qcom.vendor.rc file which is intended to
contain VENDOR service definitions, triggers common to all targets.
This file will stay at /vendor/etc/init, so the vendor service
definitions written with this file will now correctly stay in
vendor region.

Change-Id: I82a3aaad6dcc566daf09aa155cd25df199b4794e
2017-04-25 08:36:59 -07:00
pramod kotreshappa 6dfb897ed4 DISABLE AUDIO CLIENT profiles
- Disable A2dp Sink, HFP-Client, AVRCP-Controller

Change-Id: I1bbecbd9807d8ec60f3f75d3c918c20009882f9d
2017-04-24 11:25:24 -07:00
Suresh Koleti 9261936654 IMS: Control display of Wifi calling mode preference
Update configuration flag to control Wifi calling
mode preference UI option

Change-Id: I66c241442fa6b3b59353ce7d5a7797fd28a8d04d
CRs-Fixed: 1036851
2017-04-24 06:40:30 -07:00
Naveen Kumar 4d79ff49cb Update configuration for sdm660
Change-Id: If023dd696d54ea32e4eac367421999192c4996a2
2017-04-24 16:16:15 +05:30
Linux Build Service Account 38a064ca18 Merge "qmuxd: Do not start binary on newer targets" 2017-04-22 20:29:14 -07:00
Linux Build Service Account c31464ce73 Merge "msm8998: Move hostapd to vendor partition" 2017-04-22 20:29:13 -07:00
Linux Build Service Account fe9c290925 Merge "common: Allow system processes to write to the kmsg buffer" 2017-04-22 20:29:10 -07:00
Linux Build Service Account ab45adc61d Merge "Update "show_apn_setting_cdma_bool" to true" 2017-04-22 20:29:00 -07:00
Linux Build Service Account 0baa532ca5 Merge "msm8953:power:add mutex to camera hints add mutex to camera hints for dual camera support" 2017-04-22 20:28:59 -07:00
Linux Build Service Account 2439fa2c48 Merge "Add hiding APN rule for some operators" 2017-04-22 20:28:58 -07:00
Linux Build Service Account 2ce273cc10 Merge "post_boot: Enable mem_latency governor and associated parameters" 2017-04-22 20:28:56 -07:00
Linux Build Service Account 251dd4e930 Merge "init.qcom.usb.sh: update sys.usb.config using persist.sys.usb.config" 2017-04-22 20:28:55 -07:00