Commit Graph

71 Commits

Author SHA1 Message Date
Linux Build Service Account ed7546d9e4 Merge "device: common: add navigation bar for MSMGOLD" 2016-01-14 03:18:54 -08:00
Himanshu Aggarwal 60e9b60a4f device: common: add navigation bar for MSMGOLD
Touch panel does not support virtual keys on MSMGOLD. Set
qemu.hw.mainkeys as 0 to enable the Android navigation bar
on CDP, RCM and MTP.

Change-Id: Ife68f4ba2ab17b1f03b4dd7db689c30d4acd03d1
2016-01-12 23:59:56 -08:00
Abinaya P 24b2b0d6bb device: common: make a single switch case for msmtitanium
There were two switch cases created for msmtitanium as a result
of which only one switch case got executed and navigation keys
were not working.

Change-Id: I4bb0c2312fcc3a17c0b1a99d1bc0d929d9a441d4
2016-01-12 20:30:06 -08:00
Abinaya P fe13c21ecc device: common: add navigation bar for APQTITANIUM
Touch panel does not support virtual keys on APQTITANIUM. Set
qemu.hw.mainkeys as 0 to enable the Android navigation bar.

Change-Id: I0a0c3dc3b4de780a2fd99d1f61791661c26c6b85
2016-01-08 16:59:11 +05:30
Linux Build Service Account c3edb8e5f9 Merge "init: qcom: start irq balancer for msmtitanium" 2015-12-24 05:52:27 -08:00
Abinaya P 73376e3cab device: common: add navigation bar for MSMTITANIUM
Touch panel does not support virtual keys on MSMTITANIUM. Set
qemu.hw.mainkeys as 0 to enable the Android navigation bar.

Change-Id: Ibb03e30dce67731c0192ffc73647f5f5aa3339af
2015-12-21 11:56:55 +05:30
Prasad Sodagudi d098aa3a09 init: qcom: start irq balancer for msmtitanium
start irq balancer for msmtitanium and use
msm_irqbalance.conf config file.

Change-Id: I63ccc6badb0b5438a7834c97d8418d7b193e77f4
2015-12-15 18:51:31 +05:30
Linux Build Service Account 7216f0edf6 Merge "init: qcom: start irq balancer for 8937" 2015-11-21 17:55:55 -08:00
Prasad Sodagudi 5005afbfc4 init: qcom: start irq balancer for 8937
start irq balancer on 8937 builds and use
msm_irqbalance.conf config file.

Change-Id: Ie067a7f6dfa473909c13a612cb030e1779d9630d
2015-11-13 11:33:39 +05:30
Sooraj Sasindran cccaccab57 FR 30314: Do not copy mbns during every boot up
Do not copy mbns for every boot up, instead copy
only for first boot up or after a factory reset or
after modem update

CRs-Fixed: 938004
Change-Id: I74a417bcb05d3fb0f969580d51895b8ce23e13ec
2015-11-11 21:17:36 -08:00
Himanshu Aggarwal d7e5428dd4 device: common: add navigation bar for MSM8937
Touch panel does not support virtual keys on MSM 8937. Set
qemu.hw.mainkeys as 0 to enable the Android navigation bar.

Change-Id: Idc40ae63488898d393153a8e4fd49fefdd0b555a
2015-11-02 12:09:55 +05:30
Linux Build Service Account 918007533d Merge "init: qcom: set permission/ownership of secure-touch sysfs" 2015-10-16 09:09:49 -07:00
Himanshu Aggarwal d4c42275cb init: qcom: set permission/ownership of secure-touch sysfs
The sysfs path of input device corresponding to the touchscreen
can not be hard-coded. Determine the path dynamically at
run-time and set the permission/ownership of secure-touch sysfs
correctly.

Change-Id: I203c7a21ce8f1669fce8eab17f646d4d29795c6e
2015-10-13 19:55:37 +05:30
Richard LIU 11b14d8b64 Add file flag to synchronize qcril.db copying
- Add a file to indicate if prebuilt db file is supported
- Add a file to indicate if copying process has completed

Change-Id: I27344d1e318456d9e5ad639a6ae9394f121a3705
2015-10-09 11:15:29 -07:00
Satya Durga Srinivasu Prabhala ee637c86ba common: init: move sensor service to it's own script
Even though sensor service moved to core class, common script is
being started as part of late_start services, from which, sensor
service is started. This is causing issues like, none of the
sensors are available to clients as System Server also scheduled
in parallel.

Change-Id: Ie69e43e9845952f06efd9fe52b68b9a02a9522ce
2015-07-08 16:30:43 -07:00
Sooraj Sasindran 5a1cd5fcc8 Enable cutom ecc
Enable custom ecc by deafualt in RIL
copy prebuilt qcrl.db file into /data/misc/radio if
data partition does not have.

Change-Id: Ic024e157d3b6577170c4b79d8a76d9a5b5ce03f1
2015-06-12 17:34:17 -07:00
Sooraj Sasindran aeb976c54a Set correct permission for the modem_config
Set corrrect permission for modem_config dir

Change-Id: Ieaad4056bbecc26cfbbae27c68e7e30dbfab364d
2015-05-18 15:43:49 -07:00
Sooraj Sasindran 0c440edd5d Change bootup shell script to duplicate config files
Change bootup shell script to:
- Copy config files
- change the new config to correct ownship
- set flag to indicate copy is completed.

Change-Id: Ie00059ba49ac0d59b2c41b35640593347521dec3
2015-05-07 17:14:37 -07:00
Ravinder Konka 71a90539e5 qcom: Enabling default route addition during RA in IPv6
Removing the code which sets accept_ra_defrtr to 0 for all interfaces

Change-Id: I280a317f21190420a10bb2abfc479749d75ec15b
2015-02-18 19:49:40 -08:00
Olav Haugan 9b02b55460 msm8992: Enable irq balancer
The msm_irqbalance daemon starts up as root and then
lower its privileges immediately to user nobody while holding
on to capability to read/write files on the file system (proc).

The msm_irqbalance daemon balances IRQs among available cores to ensure
even IRQ load on each core. The daemon also moves IRQs away from cores
that are configured to not handle any IRQs

Change-Id: I70faaedbf0d4ff4972e13013ba1131d27e877224
2015-01-08 14:39:27 -08:00
Olav Haugan c17578e080 init.qcom.sh: Fix syntax error
There is a syntax error related to msm8916 that causes the script to not
execute at all. Fix this.

Change-Id: Ida2fbad764f8107671765f6546de7baab53c321d
2015-01-08 14:39:20 -08:00
Chun Zhang e61c94eef4 init: qcom: enable Navigation bar for improveTouch MTP platform
Touchscreen on MTP improveTouch platform does not have navigation
buttons. Enabling these buttons helps user better operate devices.

Change-Id: I81c937aceb3363ae91a8e16e0d9016e4e1341f15
2014-11-13 11:09:36 -08:00
Chun Zhang 524d2265d4 init: qcom: enable Navigation bar for improveTouch platform
Touchscreen on improveTouch platform does not have navigation buttons.
Enabling these buttons helps user better operate devices.

Change-Id: Iad89aa98111b61762f7118b01625ee402871baba
2014-11-13 11:06:13 -08:00
Tirupathi Reddy T ea530b33eb init script: start the vm_bms service for 8909
The vm_bms service is the voltage mode battery monitoring
system (BMS).

Change-Id: Id6a88bdde959929eff22ce590d6dc9a6f45e2131
2014-10-27 17:23:15 +05:30
Jie Cheng 34703121e7 common: init.qcom.sh: change the trigger position for remotefs process
Change the trigger position from init.qcom.rc to init.qcom.sh for remotefs
process rmt_storage and rfs_access. Make sure the two processes are loaded
with "ro.boot.emmc = true" and not in the power off charging mode.

Change-Id: Ie5ddc7afc9e69ab907db18fbcc7301020830cd4b
2014-09-29 17:23:42 +08:00
Ashay Jaiswal 464725c09a init script: fix chmod command line option
'chmod' command does not support '-h' option.
Update 'chmod' command line option in the init script.

CRs-Fixed: 709723
Change-Id: Ie10cbd8c04308cd7de8b9496f3b64a9ab6cb881e
2014-08-14 18:37:29 +05:30
Olav Haugan e6aa44add4 msm8994: Enable msm_irqbalance
The msm_irqbalance daemon starts up as root and then
lower its privileges immediately to user nobody while holding
on to capability to read/write files on the file system (proc).

The msm_irqbalance daemon balances IRQs among available cores to ensure
even IRQ load on each core. The daemon also moves IRQs away from cores
that are configured to not handle any IRQs

Change-Id: Ib9a8d6a12902bcdba60837d9d3ca31adea2d574f
2014-08-04 14:29:33 -07:00
Linux Build Service Account 5f660208c1 Merge "trepn: Auto start profiler_daemon" 2014-03-13 19:40:18 -07:00
Siddartha Mohanadoss 0764252ebc trepn: Auto start profiler_daemon
Profiler daemon is used by trepn for providing battery, voltage,
and current information.

Change-Id: Ied1742323156e9779cc1fdcb0e0c212e3d9ff7ec
2014-02-26 14:00:07 -08:00
Anirudh Ghayal 439374a70d init script: start the vm_bms service for 8916
The vm_bms service is the voltage mode battery monitoring
system (BMS).

Start the service as root to set CAP_BLOCK_SUSPEND for
wake lock capability. Later, the service will drop itself
down as a system service but will retain CAP_BLOCK_SUSPEND
capability.

Change-Id: I7ee8eed0b075e2ee82b2b6c7e3a771d97b08a33a
2014-02-19 11:44:43 +05:30
Tushar Janefalkar ce6d16fac8 Remove location related processes from init scripts
The native proceses that are used by
location features have been moved from
the init scripts and will now be launched
from a native launcher processes. This
launcher process will be started from init.rc

Change-Id: I00101fcdff61824c31fd9510bc6202cb943dcd8c
CRs-fixed: 600179
2014-01-31 17:41:48 -08:00
Anirudh Ghayal f0c8be03fa init: qcom: Change owner and permissions of input_current_settled property
The input_current_settled property is accessed by the charger_monitor which
is running as a system service. Modify the permissions and owner for it to
be accessible.

Change-Id: I0bc0b6b31d2cda0c1550e38ce838b984f80a959b
2013-12-20 20:38:15 +05:30
Satya Durga Srinivasu Prabhala c7c5a0dd0c common: init: update sensor settings file related entries
As part of consolidating sensor directories & files,
updating sensor settings related entries in init script
for better alignment & security.

CRs-Fixed: 582070
Change-Id: I5df308fe2d77ea047435d03dfda47a338fb858af
2013-12-12 08:50:56 -08:00
Biswajit Paul 2e2d79df93 Modified chown/chmod to not follow symlink.
Enable symlink to not follow target file if "-h" option is
provided.

CRs-fixed: 545883
Change-Id: I94dbc32e7635d06a2121b3a1b07cc2616d06b5a4
2013-11-20 13:53:51 -08:00
Linux Build Service Account 7adc2041e5 Merge "init: qcom: Add charger_monitor service for 8610" 2013-09-23 16:07:08 -07:00
Linux Build Service Account 618fdcfd46 Merge "Start gpsone_daemon for MSM8974" 2013-09-23 13:20:12 -07:00
Jiafei Wen 33fa621046 Start gpsone_daemon for MSM8974
Add check for device platform id. If the soc id
is 126, which means the device is MSM8974,
gpsone_daemon will be started.

Change-Id: I999ede153821d4175c5faaab78d0b80ede43608d
2013-09-20 16:06:48 -07:00
David Keitel cc0a272dfa init: qcom: Add charger_monitor service for 8610
This adds the charger monitor service. The charger monitor
is responsible to conduct the adaptive input current limting.
This service is supported on 8610, 8x26 and 8974.

Change-Id: I9b299edf91595a9ec3bd61a87d9ba36d207a9e0a
2013-09-16 13:51:14 -07:00
Linux Build Service Account 940a186c37 Merge "init: qcom: Add charger_monitor service for 8226" 2013-09-13 01:43:44 -07:00
David Keitel 068485e00b init: qcom: Add charger_monitor service for 8226
This adds the charger monitor service. The charger monitor
is responsible to conduct the adaptive input current limting.

This service is supported on 8x26 and 8974 .

Change-Id: I52e9ddc9bf22ec32505bbdf3a5f2364dc414393f
2013-08-22 10:03:24 -07:00
Linux Build Service Account 898d260cbe Merge "init: qcom: change rights for input_current_trim sysfs entry" 2013-08-22 03:45:48 -07:00
Linux Build Service Account 7abe73ef45 Merge "init: qcom: change rights for voltage_min sysfs entry" 2013-08-22 03:45:46 -07:00
David Keitel 8e0ee8430b init: qcom: change rights for input_current_trim sysfs entry
When the system determines to start the charger_monitor service
also change the privileges of the input_current_trim file which is
located in /sys/class/power_supply/battery/

Change-Id: Ie4133373f879f62faf50fe565f7193090adc1a6b
2013-08-20 10:27:25 -07:00
Satya Durga Srinivasu Prabhala b1b89e15db Replace sysdev path
sysdev gets deprecated in 3.10 Kernel. Hence, replacing
sysdev path with relevant path/s.

Change-Id: Ia951a720fb7012ca7e0c034935024b9f69faf1f3
2013-08-16 21:19:20 -07:00
David Keitel 9477e60b62 init: qcom: change rights for voltage_min sysfs entry
When the system determines to start the charger_monitor service
also change the privileges of the voltage_min file which is located
in /sys/class/power_supply/battery/

Change-Id: I2c2469cca220e3be1355d108e87c6d6121acc208
2013-08-16 14:12:43 -07:00
David Keitel 24e96c7ab5 init: qcom: Add charger_monitor service
This adds the charger monitor service. The charger monitor
is responsible to conduct the adaptive input current limting.

This service is supported on 8x26, 8974 and 8x10.

CRs-Fixed: 457381
Change-Id: I7b7b3cd751a06f67a460d821043cfc2e896a53e2
2013-07-22 11:11:55 -07:00
Anirudh Ghayal 4d3db66bdc init: qcom: Start battery_monitor for msm8974
Start the battery_monitor only if FCC learning
is enabled.

While at it, set system as the owner for qpnp-bms-*
FCC sysfs entries and module parameters.

Change-Id: Ib2cd6bbc8b0b687d4e1576d1f80f8ba2461fb1cf
2013-06-13 01:17:08 +05:30
Liang-Yun (Mac) Wang 80c8e1be2a iZat service initialization
Adding switches to individually control whether
various iZat services should be turned ON or OFF
at boot time.

Change-Id: Id6575b16c04c6656526ab18d01085d86992e26c6
2013-05-24 19:34:55 -07:00
Tushar Janefalkar 8043e1dd25 Add sglte2 as baseband value to start gps daemone
Start gpsone daemon when baseband
prop returns either sglte or sglte2

CRs-fixed: 478950
Change-Id: I19cf075a2f5a968a90f078faa85d3a6fa0b3e5ab
2013-05-10 09:55:45 -07:00
Tushar Janefalkar 81364f7bdd Start gpsone daemon for sglte
Apart from the target msm7630_fusion,
the gps daemon will start based on
the baseband property value

Change-Id: Ide55e4bafcd7ffb250dfd6f8a7d44a341721ba5f
CRs-fixed: 447327
2013-05-02 15:00:37 -07:00