high_speed_delay and scaling_min_freq parameters are
changed as per voltage plan of thorium
Also start perfd.
Change-Id: I940e7fc4a96df7968dc6fc33a7ee5e337c2c039b
This change configures USB composition as "charging" which results
into enumerating with HID USB composition with power off charging
mode.
Change-Id: I463b7f0ff14ee10ae75e463f8e7fa7fa399fc6df
To use DUN interface related transport as port bridge instead of TTY, update
USB default composition as well update USB composition related configuration.
Change-Id: I713ab7b5d7f90611d25ab1c8ef7813e489abcdd8
- grant write permissions on hdmi_audio_cb node for
audio HAL. hdmi_audio_cb is used for HDMI audio
device switch acknowledgement feature.
Audio hal updates hdmi_audio_cb with HDMI audio device
switch status. hdmi driver monitors hdmi_audio_cb and
send connect/disconnect events accordingly.
Change-Id: I053a9eb8bd3bdc76e990e69ff3625e0dc6a4e76c
Change modifies touch boost frequency as per frequency
plan on 8996, previous frequency was getting rounded off
to higher value.
Change-Id: Ibd3144c5fd5729a29c2ae715e595fb8d52339e42
Calculating density depending on FB resolution is more accurate
than depending on platform or target ID, since in some cases there
might be multiple panels supported on a single target or a single
target can have multiple hwplatform variants
Change-Id: Ibf238b269d3c64ffc06d798998dcd68343977003
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
If boot is trrigerred by rtc alarm, set ro.alrm_boot as true and set
debug.sf.nobootanimation as '1' to disable boot animation.
Change-Id: I55ca254e63f24a9a7255f0d8600ef3ede91d4a97
ESOC is a used to determine if there is an MDM device connected,
and if so, what type of connection is used (HSIC, PCIe). Currently
the script only supports MDM9x25 or MDM9x35. Update the check to
support all present and future MDMs.
Change-Id: I6afe7d3da74fa1cf795ff2313d1bb992f5aa4f1e
Enable memory latency governor for msm8996 for helping memory
latency intensive usecases. Remove the cpufreq governor setting
for mincpubw device since memory latency governor along with
bw_hwmon governor is sufficient for voting for higher DDR
frequencies for most memory bound workloads.
Set the polling_interval for mem_latency governor to 10ms.
Change-Id: I5715aea50452c02d57fe94538627fe00567106fe
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
Allow system permission for RPS sysfs nodes, so that WLAN user space
daemon can enable RPS(Receive packet steering) feature.
CRs-Fixed: 902775
Change-Id: I54cf28ce07785ec0fb36456d1100160da312a7de
Add permissions for /sys/class/graphics/fb0/msm_cmd_autorefresh_en
node. This can be read from / written to by display stack.
Change-Id: Ibe6854d076f176d34986edcde365e3dab91b2660
Start the cnss_diag service with -f option to capture the wlan
driver logs to an internal/external sdcard and also enable -d
flag to capture debug logs.
Change-Id: I69400e3dc70e2bd75c1f1ff9d997cb3cf9deb378
CRs-Fixed: 866180
For more secure, the HLOS framework process can't
run as net_admin, it only has system privilege.
Therefore those IPA device nodes which HLOS
framework process needs to access should be put
as system UID but with net_admin GID for IPACM
to configure rules in IPA-HW when device bootup.
Change-Id: I445aa23d01ad6606e8e140e3aaa0c03e0d11481c
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
Start irsc_util along with other core services so that it is able
to configure the communication infrastructure which the other core
services require.
CRs-Fixed: 917146
Change-Id: I2611613a38677b5d5e0d1fc713a3694ad44de459
- Add a file to indicate if prebuilt db file is supported
- Add a file to indicate if copying process has completed
Change-Id: I27344d1e318456d9e5ad639a6ae9394f121a3705
It is possible for a temporary file system to be
mounted as /data during device bootup in certain
cases ex. when Full Disk Encryption is enabled.
The temporary file system will be replaced with the
proper data partition in post-fs-data.
We were creating the port-bridge logging folder
/data/misc/port_bridge in "on boot" when the
temporary file system is loaded. We will lose
this folder when the actual partition is loaded
at a later point. To fix this we need to move
the folder creation commands to "post-fs-data"
Change-Id: Id1ab94169e4d797a5ef5bd789766fa557811ef43
Add RNDIS USB compositions having DUN interface using char_bridge as
transport instead of SMD.
0x90B5 - RNDIS + MODEM (cdev as transport) + DIAG
0x90B6 - RNDIS + MODEM (cdev as transport) + DIAG + ADB
Change-Id: Ic8a16dfacd488ed90cdd0ae8546fcf3c97e20b40
Update BCL hotplug control in post boot script
with new sysfs path to reflect the change in
kernel device naming rule.
CRs-Fixed: 919092
Change-Id: I908bddeef945cbdb9724c2495141d1289b678f29
In FFBM mode, not able to set the FMRadio transport module parameter.
Gave enough permission to set.
Change-Id: If157c710cd5d3ea50e52b1195a1657e8c98a9cd8
CRs-Fixed: 876930
/dev/diag node permissions changed back to AID_QCOM_DIAG.
This patch ensures that diag clients will be running
with correct permissions.
Change-Id: Id921bf1932058f42a92320adfbcde2f4db47e419
On an encrypted device, mkdir in /data partition must be moved from
"boot" trigger to "post-fs-data" as the /data partition is remouned
after giving passkey by the user. Hence some folders are not created
as they were created already on boot but could not be found after
remounting the /data partition.
Change-Id: I36763cac31efed4d64d5d1ac18e5bcd1a2323432
Add new USB compositions to support MIDI functionality.
Add the following PIDs:
0x90BA - MIDI
0x90BB - MIDI + ADB
Change-Id: I2f50a6b55c12fd7706644c6497d00f8a0c1c02fa
This is required for using libnl API's. Since there is a limit of
maximum 12 groups, this also required removing a few unnecessary
groups that were there earlier.
Change-Id: I7107275dfeffffb203892134d4fef94ef3597188
Setting the Newly created task load to 100 percent, since such tasks
have no history of their demand. Setting this tunable to 100 will
result in tasks to start on the best capacity CPU cluster.
Change-Id: I4c79029672376ea0ecb8628523f5ce4f389b81f7
Modem interface is using serial transport as char_bridge. Due to using
"cdev" as serial transport name with DPL based composition, DPL based
composition switch is failing. Hence fix this issue by using
"char_bridge" as serial transport name.
Change-Id: I092df985f8f5302d0f5c4299cd2dbdc5e5b3dd1c
Because of an open file on /data by this module,
encryption was failing as /data unmounting failed,
so changing this to main class to make encryption successful
Change-Id: I52a1f0f8abb51234f54be0ddbcc4016df52c466e
To store subsystem ramdumps on persistent storage, /data/ramdump
folder is created on persist.sys.ssr.enable_ramdumps property set
Change-Id: I9aba35e09656c36f1056fc2255f75e094916fafa
CRs-Fixed: 838055
On an encrypted device, mkdir in /data partition must be moved from
"boot" trigger to "post-fs-data" as the /data partition is remouned
after giving passkey by the user. Hence some folders are not created
as they were created already on boot but could not be found after
remounting the /data partition. Consequently some functionality broken
Change-Id: I25e6c208d4cc036b34f818c683a3219d3431d67a
On encrypted device init.qcom.class_core.sh script is unable to write
fake_batt_capacity to /sys/class/power_supply/battery/capacity file
due to unknown reason. Moving this logic to init.class_main.sh script
is working fine
Change-Id: I4c7cc7893314302f4749628d57343be1903e7e1c
There is a race observed between ffs_func_bind() and ffs_ep0_open()
while doing composition switch from any composition which supports adb
to any other adb supporting composition.
Below are the steps executed on switching to rndis,none,adb composition:
1. On doing stop adbd ffs_ep0_release is called which releases all the
descriptors.
2. Write 0 to /sys/class/android_usb/android0/enable which calls unbind of
all functions of the existing composition.
3. Write 1 to /sys/class/android_usb/android0/enable which calls bind of
rndis and ffs function drivers.
4. start adbd which calls ffs_ep0_open().
bind of rndis function driver completes successfully.
Below is the race observed where ffs_do_functionfs_bind() returns -ENODEV
since the descriptors are not ready, due to ffs_ep0_open() called after
bind call and hence the descriptors are not ready.
enable_store ffs_ep0_open
| |
android_enable ffs_ep0_write
| |
android_bind_config __ffs_data_got_descs
| |
android_bind_enabled_functions ffs_ep0_write
| |
ffs_function_bind_config __ffs_data_got_strings
| |
usb_add_function ffs_epfiles_create
| |
ffs_func_bind ffs_ready
| (descriptors are ready)
ffs_do_functionfs_bind
(check if descriptors are
ready)
|
functionfs_bind
stop adbd releases the descriptors and then again start adbd in the
same composition switch, rewrites these descriptors.
adb daemon is always running, even when the composition does not support
adb. So doing a stop/start of the adb daemon is not needed. Hence, fix this
issue by not doing stop adbd in all compositions which support adb.
Change-Id: Ib65b3f99eaa136f6cd10c64bc37e0951f6a0567c
- Open the SMD channel dynamically instead of bootup.
- Remove dev node access permission to 3rd party application.
Change-Id: I7486a59c298acbeede9f51145475f937a6e8de36
- As the platform apps does not have permission to run the fm_dl service,
run the fm_dl service during bootup to get the calibrartion data.
- Gave dev node access permission to 3rd party application.
Change-Id: I7fb49d4b01452d4efff8f06dfd3f6863407081b6
CRs-Fixed: 849294
This change will make sure SLPI gets loaded early and
available by the time sensor daemon gets started.
Change-Id: Idc31ffd038a72a8b16b8dbc0c2426ff830382661
Set LCD density to 240 for typical 10" Dragonboard FWVGA displays.
Enable Software Navigation Bar for Dragonboard.
Change-Id: Ie48ef1987a00941866ed0ef9e6e67519359cb360
When there is no platform identify using ro.board.platform, use
USB default composition as diag,adb. This reduces depedency on
different USB interface related transport.
Change-Id: Idc66ed88422494780670a92892951d6f84e315e8
* commit '286a19816bbb48cfe05ac008e564a86014809d8f':
init.qcom.post_boot: Configure new bus bw_hwmon parameters for MSM8996
Initial support for thorium project on master
Conflicts:
vendorsetup.sh
Change-Id: Icd41cc4a722fe5f4f2bffa711484c2a0662b0a0d
* commit '6dfa44b044c858c2b5de0f0c3ca9eef28131a0c1': (27 commits)
Add tcp buffer sizes for LTE_CA
init.qcom.post_boot.sh: Update scheduler tunables for 8996
tz app seemp_healthd removed
init.qcom.post_boot: Enable low power modes for 8952
init.qcom.usb: Add composition to support DPL with DUN over char bridge
init.qcom.rc: FST Manager runs as user "wifi"
init.qcom.post_boot.sh: Enable all the LPMs by default
qcom: Add default configuration for DCC block on MSM8976
BTLogKit: Added BTLogKit to Product Packages
init.qcom.usb: Set default USB request buffer size as 128 KB for MTP
Adding and starting IOP service for 8996
base.mk: add FST Manager to the build
init.qcom.rc: add FST manager service
Bluetooth: Drop Wcnss_filter to bluetooth only access
init.qcom.post_boot: Set mincpubw devfreq governor to cpufreq for 8996
audio_policy: disable software DRC flag
init.qcom.rc: Seemp health Deamon
Disable sched_boost on msm8996 at post-boot.
Mms: Change default config options
qcom: Add default configuration for DCC block.
...
Conflicts:
rootdir/etc/init.qcom.rc
Change-Id: Ifedca1c92c67b2006f11eaa54d4fb8134fe5952c
Remove defunct scheduler parameters: mostly_idle_* and sched_small_task.
Update remaining ones that guide scheduler placement decision based on
8996.
Change-Id: I1d144ad1a524d9b7ea0b584f7dc29744fd0079b5
Adding new service for in init.qcom.rc for testing purpose.
This service is only for userdebug configuration.
Change-Id: Id94a50bd6269a8a47ca1a8929b566c70a23d852e
Add new USB compositions having DPL interface to update serial_cdev as
transport for Modem inteface.
0x90AD - DIAG + ADB + MODEM (cdev as transport) + NMEA + RMNET +
Mass Storage + DPL
0x90B0 - DIAG + MODEM (cdev as transport) + NMEA + RMNET +
Mass Storage + DPL
Change-Id: I27e142a9ff2dca00c8f41e57f822fd551377271c
run fstman as "wifi" instead of root.
At boot, chown of bond0's sysfs entry queue_id so that
fstman can access it.
support netd.fstman.start property for starting fstman in SoftAP mode
Change-Id: I025a2cab2d6a3ffbc879e14faf21c48da9936a11
To improve throughput when using USB MTP functionality, set default
USB request buffer size as 128 KB for both Tx and Rx.
Change-Id: I2fd3f6ba05daf167b27ba82678f25b7bf9269a47
Creating directory for IOP socket and database.
Defining IOP daemon sevice to serve the prefetching requests.
Starting IOP service for 8996.
Change-Id: I43f00118c60a2768035a395de87d8c36f5a0cf57
* commit '06292cd44d1f0d8143e08feb2173108ec2e25e42':
audio: Add appropriate permission for avtimer driver
Add support for generating signed LK image.
common: init.qcom.rc: move to core class for Sensor Daemon
init.qcom.post_boot: Configure cpu boost paramters for 8996
Config File for Sprint Voice Replacement RAT
init.qcom.post_boot: start perfd after cpu governor is initialized
init.qcom.post_boot: enable perfd for msm8996
init.qcom.rc: QSEE Proxy daemon
base.mk: remove "libdrmdecrypt" library reference as the lib is obsolete
Change-Id: I22c00cd75c52922fc119d69fd72ce1d8ed903ac6
This disables the sched_boost enabled at init.target.rc,
which was trying to keep threads on the sLVT cluster
during boot-up.
Change-Id: I88153d65d9dd916f9c444565926095267c33188f
Add support to run default configuration for DCC block.
On MSM8996 device DCC is configured to capture SPM registers at the time
of crash.
Change-Id: I70e2139e365e6d5e169d34b78380f80f8cfea78f
Update the permisions for avtimer driver so that only apps
with audio group permission can open it
Change-Id: If3eabd988dfa5537037f5a1936ad254ec3eab9bf
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
The newer kernels have changed the default mount permissions of
debugfs from 0755 to 0700. As a result a lot of userspace processes
can no longer access it. Changing the permission to 0755 to compensate
for this.
Change-Id: Ibc608dfadaf0157b72da6e172c5acd6ff3f27e3a
Peripheral Manager gets started as part of core class & if Sensor
Daemon gets started as part of class late_start, for slow
processors (e.g. at bring-up), scheduling may not happen as
expected and leads to issues like none of the sensors are available
to clients as System Server also scheduled in parallel.
Change-Id: I444600db8c66855db1d23b629c04dbe2beef30a3
Set cpu_boost driver parameters for 8996. Userspace Entity can use
cpu boost driver to boost cpu frequency using these paramters.
Change-Id: I9fddd2e92d2aa65f761b49838b96d3fc9325ac8b
perfd hosts perflock/profile manager api. If perfd starts before cpu
governor parameter initialization then it cannot save default values
into file. This changes make perfd to start only after cpu governor
parameters are initialized.
Change-Id: Ifbbf6a61c9c048349b8c71395a5ba23abfed7006
* commit '485c2299fc9482baea450440176ec8a98f9d9f0b':
8952 bring-up on LA.HB.1.1.1
init.qco.post-boot: Set bw_hwmon governor correctly for cpubw on 8996
init.qcom.post_boot.sh: Enable C4 mode and disable suspend for 8996
Enable cutom ecc
base.mk: Adding compilation of libqcmediaplayer
wqmsm8996: Enable Bus DCVS
init.qcom.post_boot: Set bw_hwmon governor for cpubw device on 8996
d/q/common: Add wfdservice to input group
Conflicts:
vendorsetup.sh
Change-Id: If43c3633bbad8001790a5701ae376e581e4fabb5
msm8996 uses perfd to host perflock. perfd implements api for both
perflock and profile manager. Any userspace entity can use perflock
and profile manager to change system performance.
Change-Id: Ic176d8503181e11dd810df6c5d1766df1bd36dfd
Previous commit to set the governor might fail on some builds which
might have a prefix 'soc:' to the node name for cpubw device.
This patch accounts for that change and sets the governor correctly
for the cpubw device.
Change-Id: Ic5b9a1264fc6fc6fef36c9486a0ba0dfe2b1716a
Enable C4(Fast PC) LPM mode for 8996v2.1.
All LPMs are disabled by default for v1.0 and V2.0.
Disable suspend for 8996v1.0 and 8996v2.0.
Change-Id: I6fe1e6da074b033cc895a17e52a6f33903a21875