Spade Lee
df3964ba99
dump_power: gs101: correct dump path
...
- fix pmic path
- move fg registers dump from debugfs to sysfs
- remove dual battery path
- remove max77779fg path
- remove maxfg history path
Bug: 377895720
Flag: EXEMPT bugfix
Change-Id: Ic765b17a6b32918a7a2b9e7dfe28a60e6503ba1c
Signed-off-by: Spade Lee <spadelee@google.com>
2024-11-13 17:00:00 +00:00
Spade Lee
7bbc59eec1
dumpstate: gs101: fix dump path
...
- Add missing change ag/25268925
- Correct FG reg dump path in sysfs
- Correct battery EEPROM dump path
- Correct main/dc charger dump path in sysfs
- Correct tcpm dump path
- Add charger dump path in debugfs
- Add swelling data dump in dumpBatteryHealth
- Remove function not for gs101
Bug: 376080915
Test: all paths were correctly dumped, but debugfs need sepolicy
Flag: EXEMPT bugfix
Change-Id: I398ef1554aa10a41c54290394e918478e2216cfe
Signed-off-by: Spade Lee <spadelee@google.com>
2024-11-05 13:36:13 +00:00
samou
e7603cd7a9
bcl: remove charging debugfs data logging
...
Flag: EXEMPT refactor
Bug: 362671589
Signed-off-by: samou <samou@google.com>
Change-Id: I389f4318f9fc62039d422e5c909576c0e6d5daf9
2024-09-05 10:02:25 +00:00
samou
6c2502279f
bcl: revision for kernel6.1
...
- Migrate dump_gs101.sh to dump_power
- Enable battery_mitigation
- Correct ocp_cpu1 threshold
Flag: EXEMPT refactor
Bug: 349935208
Change-Id: I7e7f155ba7722dc5c24c2795c2840395ed4f9043
Signed-off-by: samou <samou@google.com>
2024-08-23 10:58:20 +00:00
Will McVicker
91bda4797a
Update tcpm-source-psy i2c name
...
Use a regex to accomodate for the new and old name.
Bug: 315190967
Bug: 323447554
Change-Id: I41c4882fdccdbc3f98eedf6fc518d04b73ee92a0
2024-02-22 17:54:36 +00:00
Daniel Okazaki
536524e4cd
dumpstate: moving charger nodes to user build
...
Bug: 323415060
Test: adb bugreport
Change-Id: I757d17f45f0cb302ec186ec5c1467e158c04a81a
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2024-02-21 00:11:20 +00:00
Jacky Liu
06501969ec
Update i2c device paths
...
Update i2c device paths with static bus numbers.
Also remove some redundant paths.
Bug: 323447554
Test: Boot to home
Change-Id: I90a723018f6628c825e97ff75a80350843684959
2024-02-06 16:17:25 +00:00
Spade Lee
ad7f854c34
dumpstate: add SoC residency dump
...
Bug: 319536756
Change-Id: Ied43b9b5bd13a4b36d73399e4dd2fc389ecaa276
Signed-off-by: Spade Lee <spadelee@google.com>
2024-01-22 16:52:23 +00:00
Will McVicker
b1662cade2
init: update i2c bus numbers and move initialization to ueventd
...
Update the i2c bus numbers to use the statically assigned numbers
configured in the kernel device tree. In addition, use ueventd to set
the ACL for the i2c devices.
Bug: 291606723
Test: performance boot testing
Test: verify selinux labelling with ls -Z on the modified device nodes
Change-Id: Ib412510e4b6c086c978ad5487486323685732cae
2023-10-02 16:28:59 +00:00
Roy Luo
7bd4fdd98f
Revert "init: update i2c bus numbers and move initialization to ..."
...
Revert submission 24855741-gs101-i2c-bus-fixes
Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.corp.google.com/builds/quarterdeck?branch=git_main&target=bluejay-trunk_food-userdebug&lkgb=10876543&lkbb=10876988&fkbb=10876587 , bug b/302549624.
Reverted changes: /q/submissionid:24855741-gs101-i2c-bus-fixes
Change-Id: I1c87ea91d0a2eaf441c554b8f4729cefd0eca068
BUG: 302549624
2023-09-28 18:00:06 +00:00
Will McVicker
d9c462fc17
init: update i2c bus numbers and move initialization to ueventd
...
Update the i2c bus numbers to use the statically assigned numbers
configured in the kernel device tree. In addition, use ueventd to set
the ACL for the i2c devices.
Bug: 291606723
Test: performance boot testing
Test: verify selinux labelling with ls -Z on the modified device nodes
Change-Id: I579143fa38bc2e9b3bf7dc618b10e63001263e2e
2023-09-28 16:08:00 +00:00
Adam Shih
ae8663e544
add missing comment
...
Bug: 278006689
Test: adb bugreport
Change-Id: I2def5f7b6a96beb61ab2fec0f7bbb0cfbe097dd2
2023-04-13 13:36:52 +08:00
Minchan Kim
07ee6dcf53
move dump pixel vendor cma stat into gs-common
...
Bug: 276901078
Test: dumpstate_board.txt on adb bugreport includes the info
Change-Id: Ifaaeb635a62bfa189ee5440778f72087658a4614
Signed-off-by: Minchan Kim <minchan@google.com>
2023-04-12 06:09:00 +00:00
Adam Shih
b4920665cc
Use dumpstate from gs-common
...
Bug: 273380985
Test: adb bugreport
Change-Id: I2ef2c029bf2d7c3982c3035ec8b8b6c8eddf641e
2023-04-10 01:11:14 +00:00
Adam Shih
c08f948ee3
Move power dump text section out of hal_dumpstate_default
...
Bug: 273380985
Test: adb bugreport
Change-Id: I5e104880d38c1a1b2dda4b48b0b3576b14a5ea8e
2023-03-29 03:01:36 +00:00
Adam Shih
a9207eff25
Move camera text dump to dump_gs101
...
Bug: 273380985
Test: adb bugreport
Change-Id: Ie82c87ba87d175cb861d36f7e4a94c0e730da0d2
2023-03-28 02:20:56 +00:00
Adam Shih
05082134e1
Move cma dump to itself
...
Bug: 273380985
Test: adb bugreport
Change-Id: I6732dd8dbbf0367f99e25b29f2a0dd526aaac9d4
2023-03-24 13:55:53 +08:00
Adam Shih
9df43666f0
use devfreq dump from gs-common
...
Bug: 273380985
Test: adb bugreport
Change-Id: I2d301fad03cbac0bc63ae6f522df31ab5c607118
2023-03-21 07:51:50 +00:00
Adam Shih
27657f1a1e
allow modem to debug 5 seconds longer
...
Bug: 273638955
Bug: 273639036
Test: adb bugreport
Change-Id: I0c978577625397ba88958b31ae8ace6a6aabd9ab
2023-03-20 10:26:33 +08:00
Adam Shih
78bbc7d5f8
Move display dump to gs-common
...
Bug: 269212897
Test: adb bugreport
Change-Id: Idc38fd971b274ba4ef62e2347c92eef7fb13e20f
2023-03-07 12:57:48 +08:00
Adam Shih
1f747d3b75
Move memory dump to gs-common
...
Bug: 240530709
Test: adb bugreport
Change-Id: I3ee10b08e4218f2e7cda7f741936bc647818c447
2023-02-14 07:22:05 +00:00
Adam Shih
a64bf67d97
extract misc section from dumpstate
...
Bug: 240530709
Test: adb bugreport
Change-Id: Idd305ceb4786b5e66c2f1d8e2ae20ffd233bd088
2023-02-10 13:42:43 +08:00
Pat Tjin
eda8cd2218
Add OWNERs to dumpstate
...
Change-Id: I1f6d0b7d8c950dffc9f438f554c05db537fe94a7
2023-01-31 05:24:03 +00:00
Taylor Nelms
c50d6678f6
Modify dumpstate to point to decon_counters in sysfs rather than debugfs
...
Bug: 240346564
Test: Build for Oriole device with "user" build, check bug report for decon_counters content
Change-Id: I5ae08064c2c4106b9f54f7823f1e325a6d6978b5
Signed-off-by: Taylor Nelms <tknelms@google.com>
2022-12-21 01:41:36 +00:00
Adam Shih
989d016d98
move dump cpu to gs-common
...
Bug: 240530709
Test: adb bugreport
Change-Id: I073a4c55053b8844b2702c9cd5d7a9e84840b66d
2022-12-14 00:41:12 +00:00
Wiwit Rifa'i
73e95ea084
dumpstate: change HWC fence & error logs to be per display
...
hwc_error_log.txt and hwc_fence_state.txt files will be changed to be
per display. Those files could also be divided into at most 2 files,
i.e.
- hwc_error_log.txt will be renamed to
{DisplayName}_hwc_error_log{index}.txt where {index} is 0 or 1.
- hwc_fence_state.txt will be renamed to
{DisplayName}_hwc_fence_state{index}.txt where {index} is 0 or 1.
Bug: 245511651
Test: adb bugreport
Change-Id: I08fbc4faf5fea72cbbca007f43ccedd22d1e0aca
2022-12-13 05:09:22 +00:00
kierancyphus
a381b21dfc
Dumpstate.cpp: use new history dir and inc more files
...
Modify the logging mask file path to instead point to the new history
directory, as well as include more files (right now only logging mask
history and logging enabled history).
Bug: 259174982
Test: Manually build and inspect bugreport to make sure files are
included
Change-Id: I1a57e0f4fea66929803fac350547b706d7442b26
2022-12-07 03:18:53 +00:00
Adam Shih
66379fde0e
use touch dump from gs-common
...
Bug: 256521567
Test: adb bugreport
Change-Id: I224a2a194c9e37768e8a5c7e879da97964d97fbf
2022-11-29 04:47:15 +00:00
kierancyphus
fddf45d940
Include modem log mask history in dumpstate
...
Includes the file `LoggingMaskHistory.csv` when a bug report is triggered.
Bug: 241739027
Test: Trigger a bugreport with `adb bugreport` and check to make sure
the report contains the `LoggingMaskHistory` file. E.g. after
unzipping `cat <bugreport>.txt | grep -a 'LoggingMaskHistory'`.
Change-Id: Ibfa74194d13cb4dc5c3f2cf9f54ee81390a301a6
2022-11-25 03:58:45 +00:00
Adam Shih
34fc0761d3
remove raven touch dump
...
Bug: 256521567
Test: adb bugreport
Change-Id: I17b72b69b882fc670f780f7d480ae828d9f3c931
2022-11-16 07:42:22 +00:00
Adam Shih
e182c63bd6
move thermal dump to gs-common
...
Bug: 257880034
Test: adb shell dumpsys android.hardware.dumpstate.IDumpstateDevice/default dump_thermal.sh
Change-Id: I6fa51c7662401a45defed776d69334fc42cee49e
2022-11-16 03:52:39 +00:00
Adam Shih
95e0d9bdb9
move sensors dump to gs-common
...
Bug: 250475720
Test: adb bugreport
Change-Id: I500bfba706b74a872d4ba07b9b58efaed015772e
2022-11-11 05:35:22 +00:00
Kevin Jeon
9257a5f2dc
Add tracepoints to gs101 dumpstateBoard
...
This change adds tracepoints for the gs101 implementation of
dumpstateBoard. This is intended to help identify long-running sections.
Test: Build+flash, check that traces of 'adb bugreportz' show the
expected trace sections.
Bug: 258228821
Change-Id: I8efea28278b4507a7e2a448c96281113331cbd02
2022-11-10 15:33:05 +00:00
Jenny Ho
d5d60ee813
Merge "[conflict] dumpstate: dump battery defend logbuffer am: 34e66966c7
am: e4fd1ce422
"
2022-11-03 06:33:04 +00:00
Roger Wang
6665f0dcc7
wifi: remove unnecessary debug dump
...
Since design was adjusted, we are no longer need
to cat dump_start when bugreport be triggered.
Bug: 256746618
Test: Trigger bugreport and check debug files.
Change-Id: I907e707be99a35bfd76dfdb5f9bd693cb4b471d8
Signed-off-by: Roger Wang <wangroger@google.com>
2022-11-03 05:33:08 +00:00
Jenny Ho
90ad087288
[conflict] dumpstate: dump battery defend logbuffer am: 34e66966c7
am: e4fd1ce422
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20310168
Bug: 257151155
Change-Id: Ib5ebc52513667e163a8db7d5b36b7438e4c7b8cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-03 03:37:04 +00:00
Jenny Ho
e4fd1ce422
dumpstate: dump battery defend logbuffer am: 34e66966c7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20310168
Change-Id: Ibbc74ada239907e10aeaf9a392cf392a3eee37d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-03 00:59:48 +00:00
Jenny Ho
34e66966c7
dumpstate: dump battery defend logbuffer
...
Bug: 242679204
Change-Id: I59c2267105ef093a75c2cac2183c941def70b10f
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2022-11-03 00:39:32 +00:00
Adam Shih
3c94afad75
align user experience on Android bug tool
...
Bug: 255250616
Test:
adb shell dumpsys android.hardware.dumpstate.IDumpstateDevice/default wlan
Change-Id: Ibefd8f9fff91cf6ece1f09dd6b207b6f9c97df4d
2022-11-02 07:22:56 +00:00
Adam Shih
0e57a35f5d
upgrade dumpstate from hidl to aidl
...
Bug: 240530709
Test: adb bugreport
Change-Id: I0cd75fa84e495037a55284b43bd0ee53e5379d4c
2022-10-14 07:37:42 +00:00
Adam Shih
179d0e83ea
remove redundant code that has moved to gs-common
...
Bug: 248426917
Test: adb bugreport
Change-Id: I61a64b13a84bdf397a7cf0e11e7665711529e35e
2022-10-12 10:56:15 +08:00
Adam Shih
b2d7dc9459
move trusty dump from gs101 to gs-common
...
Bug: 244504232
Test: adb bugreport
Change-Id: I486f18dc55eea3843972d856e81d736cd6c25141
2022-10-11 08:07:16 +08:00
Adam Shih
40b3e768e4
move modem dump to gs-common
...
Bug: 250475732
Test: adb bugreport
Change-Id: Ifa227d7712c5d019db2e3a9d6fea118d054be601
2022-10-07 01:04:49 +00:00
Adam Shih
69aa9e1774
move soc dump to gs-common
...
Bug: 248428203
Test: adb bugreport
Change-Id: Ia96ecf46bb3af9d72da1bf30cfa0d17d9985e4c4
2022-10-05 02:14:13 +00:00
Adam Shih
2b7c6714f1
move ramdump relate dumpstate to gs-common
...
Bug: 248428203
Test: adb bugreport
Change-Id: I2e3f3ebaccd6a6b345f75d6ebfb3f38d8be6d0f8
2022-10-03 06:02:36 +00:00
Adam Shih
badac57edd
move UFS dump to gs-common
...
Bug: 248143736
Test: adb bugreport
Change-Id: I39b950942d0d7d9331fa808f46cd7622c5b43690
2022-09-29 01:07:43 +00:00
Adam Shih
c20b957299
dump f2fs in gs-common
...
Bug: 248143736
Test: adb bugreport
Change-Id: Ife974bc4e246f9a85475cf78bc6867a29f5423c7
2022-09-27 17:02:26 +08:00
Adam Shih
552fe66f7f
allow dumpstate to execute files under vendor/bin/dump
...
Bug: 240530709
Test: adb bugreport has the same result
Change-Id: I6927c3ab64369f1e3c30842d571f66374dd544ac
2022-09-16 11:29:12 +08:00
JJ Lee
6ac6818309
dumpstate: Add aoc memory vote dump for a32 and ff1 am: 0327040142
am: 0c0e38a98c
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/19738947
Change-Id: I6d6151ee8713b5fd30c4f644dc4f5830139bb7b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 06:00:11 +00:00
JJ Lee
0c0e38a98c
dumpstate: Add aoc memory vote dump for a32 and ff1 am: 0327040142
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/19738947
Change-Id: Ie598bcd62199f531836d7ad39d8c799abdb398f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 05:16:23 +00:00