summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdumpstate/DumpstateDevice.cpp1
-rw-r--r--init.hardware.rc2
-rw-r--r--sec_config2
3 files changed, 3 insertions, 2 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp
index 529087ba..4075d631 100755
--- a/dumpstate/DumpstateDevice.cpp
+++ b/dumpstate/DumpstateDevice.cpp
@@ -317,6 +317,7 @@ Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) {
return Void();
}
+ RunCommandToFd(fd, "Notify modem", {"/vendor/bin/modem_svc", "-s"}, CommandOptions::WithTimeout(1).Build());
RunCommandToFd(fd, "VENDOR PROPERTIES", {"/vendor/bin/getprop"});
DumpFileToFd(fd, "SoC serial number", "/sys/devices/soc0/serial_number");
DumpFileToFd(fd, "CPU present", "/sys/devices/system/cpu/present");
diff --git a/init.hardware.rc b/init.hardware.rc
index 6b8f78b8..c8ab6ffd 100644
--- a/init.hardware.rc
+++ b/init.hardware.rc
@@ -628,7 +628,7 @@ service vendor.tftp_server /vendor/bin/tftp_server
user root
group root system
-service modem_svc /vendor/bin/modem_svc
+service modem_svc /vendor/bin/modem_svc -q
class core
user root
group system
diff --git a/sec_config b/sec_config
index 9418856a..c73be69d 100644
--- a/sec_config
+++ b/sec_config
@@ -315,7 +315,7 @@
/* Allow Data dpmd to access QMI DFS */
48:4294967295:1000:3004
/* QMI vendor specific service from modem */
-231:4294967295:1001
+231:4294967295:1000:1001
/* DIAG */
4097:4294967295:2002:2950:3009:2901
/* <WLFW QMI Service ID - 0x45>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */