Commit graph

7 commits

Author SHA1 Message Date
Woody Lin
7d695f4bff DO NOT MERGE: gs201: init.debug.rc: Enable etm/etm2dram when ramdump is enabled
Bug: 265382296
Change-Id: Ib215551397a361f5734401173e62a15691e45425
2023-03-02 07:14:55 +00:00
Cheney Ni
a150e72f05 Bluetooth: correct logbuffer_btpower owner to Bluetooth
Bug: 229691092
Test: Pass file permission check
Change-Id: I62c0c32124859db36b530a861bcc554d9a9d6c33
2022-07-20 19:05:20 +00:00
Jenny Ho
e3a70263b6 init.rc: add permission to dump battery debugging data
Bug: 205259954
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I6d71cc6fb11e1881d78a81f36162e3d9493654bd
2022-06-21 06:33:43 +00:00
Ted Lin
805826c2cc fix the avc denied for maxfg/registers
01-13 11:02:39.148 10124 10045 10045 I id.hardwareinfo: type=1400 audit(0.0:28): avc: denied { search } for name="maxfg" dev="debugfs" ino=31872 scontext=u:r:hardware_info_app:s0:c512,c768 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=dir permissive=1 app=com.google.android.hardwareinfo
01-13 11:02:39.148 10124 10045 10045 I id.hardwareinfo: type=1400 audit(0.0:29): avc: denied { read } for name="registers" dev="debugfs" ino=31885 scontext=u:r:hardware_info_app:s0:c512,c768 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=file permissive=1 app=com.google.android.hardwareinfo
01-13 11:02:39.148 10124 10045 10045 I id.hardwareinfo: type=1400 audit(0.0:30): avc: denied { open } for path="/sys/kernel/debug/maxfg/registers" dev="debugfs" ino=31885 scontext=u:r:hardware_info_app:s0:c512,c768 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=file permissive=1 app=com.google.android.hardwareinfo
01-13 11:02:39.148 10124 10045 10045 I id.hardwareinfo: type=1400 audit(0.0:31): avc: denied { getattr } for path="/sys/kernel/debug/maxfg/registers" dev="debugfs" ino=31885 scontext=u:r:hardware_info_app:s0:c512,c768 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=file permissive=1 app=com.google.android.hardwareinfo

Bug: 208909060
Test: adb bugreport
Change-Id: I72a6b72e568fe109350edd2a0a91747251e6fba4
Signed-off-by: Ted Lin <tedlin@google.com>
2022-02-17 09:04:23 +00:00
jonerlin
7d12f0defa bluetooth: correct btuart logger device node path
* modify dev/logbuffer_tty16 to dev/logbuffer_tty18

Bug: 213759828
Test: 1. Enable Bluetooth in P22 devices and check uart log in
android.hardware.bluetooth@1.1::IBluetoothHci.txt
2. Enable Bluetooth in P21 devices and check uart log in
android.hardware.bluetooth@1.1::IBluetoothHci.txt
3. Fake bthal ssrdump and check the coredump log.

Change-Id: I208fae8e5ddf60d7df52311c32249bf3ac401dbc
2022-01-17 09:06:28 +00:00
Peter Csaszar
71a2c8287a init.debug.rc: Change owner/group of SJTAG files
On userdebug & eng builds, change the owner/group of SJTAG sysfs files
that need to be written to 'system', so that BetterBug is able to write
these files.

Bug: 204381544

Test: Ensure that the writable files in the following directories have
'system' as their owner & group:

  /sys/devices/platform/sjtag_ap/interface/
  /sys/devices/platform/sjtag_gsa/interface/

Signed-off-by: Peter Csaszar <pcsaszar@google.com>
Change-Id: I1fd61f702960a266bc8a2f84d1a1358ccefe3c9c
2021-10-28 16:02:13 +00:00
Aaron Ding
bb4beafe47 Create gs201 device folder baseline
clone from gs101 sha 9d1c97c2

Bug: 183183095
Change-Id: Ie7112bdf0aceb33c9e1956aa52e961b670582733
2021-05-19 13:35:26 +08:00