1|mek_8q:/ $ pci-tool -vvv /system/bin/sh: pci-tool: inaccessible or not found 127|mek_8q:/ $ 127|mek_8q:/ $ 127|mek_8q:/ $ 127|mek_8q:/ $ uname [ 432.796731][ T397] healthd: battery none chg=a -a Linux localhost 5.15.41-00003-g03e8d5418b8e #1 SMP PREEMPT Fri Aug 5 03:21:56 CEST 2022 aarch64 mek_8q:/ $ lspci [ 467.781633][ T276] type=1400 audit(1659669863.368:141): avc: denied { read } for comm="lspci" name="class" dev="sysfs" ino=42751 scontext=u:r:shell:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 [ 467.800407][ T276] type=1400 audit(1659669863.368:142): avc: denied { read } for comm="lspci" name="class" dev="sysfs" ino=42684 scontext=u:r:shell:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 mek_8q:/ $ lsblk /system/bin/sh: lsblk: inaccessible or not found 127|mek_8q:/ $ cd block[ 492.796654][ T397] healthd: battery none chg=a ^C 130|mek_8q:/ $ ls [ 499.515797][ T276] type=1400 audit(1659669895.104:143): avc: denied { getattr } for comm="ls" path="/init" dev="dm-0" ino=24 scontext=u:r:shell:s0 tcontext=u:object_r:init_exec:s0 tclass=lnk_file permissive=0 acct debug_ramdisk mnt storage apex dev [ 499.538067][ T276] type=1400 audit(1659669895.104:144): avc: denied { getattr } for comm="ls" path="/metadata" dev="mmcblk0p12" ino=2 scontext=u:r:shell:s0 tcontext=u:object_r:metadata_file:s0 tclass=dir permissive=0 odm sys bin etc [ 499.562156][ T276] type=1400 audit(1659669895.124:145): avc: denied { getattr } for comm="ls" path="/data_mirror" dev="tmpfs" ino=1 scontext=u:r:shell:s0 tcontext=u:object_r:mirror_data_file:s0 tclass=dir permissive=0 odm_dlkm system bugreports init[ 499.587531][ T276] type=1400 audit(1659669895.124:146): avc: denied { getattr } for comm="ls" path="/cache" dev="dm-0" ino=16 scontext=u:r:shell:s0 tcontext=u:object_r:cache_file:s0 tclass=lnk_file permissive=0 oem system_ext cache [ 499.611653][ T276] type=1400 audit(1659669895.124:147): avc: denied { getattr } for comm="ls" path="/linkerconfig" dev="tmpfs" ino=2 scontext=u:r:shell:s0 tcontext=u:object_r:linkerconfig_file:s0 tclass=dir permissive=0 init.environ.rc postinstall vendor config [ 499.636798][ T276] type=1400 audit(1659669895.124:148): avc: denied { getattr } for comm="ls" path="/postinstall" dev="dm-0" ino=44 scontext=u:r:shell:s0 tcontext=u:object_r:postinstall_mnt_dir:s0 tclass=dir permissive=0 init.recovery.nxp.rc proc vendor_dlkm d linkerconfig product data lost+found sdcard data_mirror metadata second_stage_resources mek_8q:/ $ ls -l [ 502.746617][ T2709] audit: audit_lost=52 audit_rate_limit=5 audit_backlog_limit=64 [ 502.754604][ T2709] audit: rate limit exceeded total 72 drwxr-xr-x 2 root root 4096 2022-08-05 01:38 acct drwxr-xr-x 24 root root 500 19[ 502.765309][ T276] type=1400 audit(1659669898.336:149): avc: denied { getattr } for comm="ls" path="/init" dev="dm-0" ino=24 scontext=u:r:shell:s0 tcontext=u:object_r:init_exec:s0 tclass=lnk_file permissive=0 70-01-01 00:00 apex lrw-r--r-- 1 root root 11 2022-0[ 502.789014][ T276] type=1400 audit(1659669898.336:150): avc: denied { getattr } for comm="ls" path="/metadata" dev="mmcblk0p12" ino=2 scontext=u:r:shell:s0 tcontext=u:object_r:metadata_file:s0 tclass=dir permissive=0 8-05 03:58 bin -> /system/bin lrw-r--r-- 1 root root [ 502.813078][ T276] type=1400 audit(1659669898.336:151): avc: denied { getattr } for comm="ls" path="/data_mirror" dev="tmpfs" ino=1 scontext=u:r:shell:s0 tcontext=u:object_r:mirror_data_file:s0 tclass=dir permissive=0 50 2022-08-05 03:58 bugreports -> /data/user_de/0/com.android.sh[ 502.837778][ T276] type=1400 audit(1659669898.336:152): avc: denied { getattr } for comm="ls" path="/cache" dev="dm-0" ino=16 scontext=u:r:shell:s0 tcontext=u:object_r:cache_file:s0 tclass=lnk_file permissive=0 ell/files/bugreports l????????? ? ? ? ? ? cache -> ? drwxr-xr-x 4 root root 0 1970-01-01 00:00 config lrw-r--r-- 1 root root 17 2022-08-05 03:58 d -> /sys/kernel/debug drwxrwx--x 49 system system 4096 2022-08-05 03:17 data d????????? ? ? ? ? ? data_mirror drwxr-xr-x 2 root root 4096 2022-08-05 01:38 debug_ramdisk drwxr-xr-x 24 root root 1900 2022-08-05 03:17 dev lrw-r--r-- 1 root root 11 2022-08-05 03:58 etc -> /system/etc l????????? ? ? ? ? ? init -> ? -rwxr-x--- 1 root shell 463 2022-08-05 01:38 init.environ.rc -rwxr-x--- 1 root shell 589 2022-08-05 02:58 init.recovery.nxp.rc d????????? ? ? ? ? ? linkerconfig drwx------ 2 root root 16384 2022-08-05 03:58 lost+found d????????? ? ? ? ? ? metadata drwxr-xr-x 15 root system 320 1970-01-01 00:00 mnt drwxr-xr-x 2 root root 4096 2022-08-05 01:38 odm drwxr-xr-x 2 root root 4096 2022-08-05 01:38 odm_dlkm drwxr-xr-x 2 root root 4096 2022-08-05 01:38 oem d????????? ? ? ? ? ? postinstall dr-xr-xr-x 297 root root 0 1970-01-01 00:00 proc drwxr-xr-x 9 root root 4096 2022-08-05 03:56 product lrw-r--r-- 1 root root 21 2022-08-05 03:58 sdcard -> /storage/self/primary drwxr-xr-x 2 root root 4096 2022-08-05 01:38 second_stage_resources drwx--x--- 4 shell everybody 80 1970-01-01 00:00 storage dr-xr-xr-x 13 root root 0 1970-01-01 00:00 sys drwxr-xr-x 14 root root 4096 2022-08-05 03:16 system drwxr-xr-x 5 root root 4096 2022-08-05 03:56 system_ext drwxr-xr-x 15 root root 4096 2022-08-05 03:57 vendor drwxr-xr-x 2 root root 4096 2022-08-05 01:38 vendor_dlkm mek_8q:/ $ cd de debug_ramdisk/ dev/ mek_8q:/ $ cd de vmek_8q:/ $ cd dev/ mek_8q:/dev $ ls -l [ 518.692762][ T276] type=1400 audit(1659669914.280:155): avc: denied { getattr } for comm="ls" path="/dev/event-log-tags" dev="tmpfs" ino=522 scontext=u:r:shell:s0 tcontext=u:object_r:runtime_event_log_tags_file:s0 tclass=file permissive=0 total 8[ 518.714293][ T276] type=1400 audit(1659669914.288:156): avc: denied { getattr } for comm="ls" path="/dev/cgroup_info" dev="tmpfs" ino=315 scontext=u:r:shell:s0 tcontext=u:object_r:cgroup_rc_file:s0 tclass=dir permissive=0 drwx--x--x 2 root root 5060 1970-01-01 00:00 __properties__ crw-rw-rw- 1 root root 10, 126 1970-01-01 00:00 ashmem crw-rw-rw- 1 root root 10, 126 1970-01-01 00:00 ashmema0a254a5-8039-4830-9555-8bafc54f9a59 crw------- 1 root root 10, 235 1970-01-01 00:00 autofs lrwxrwxrwx 1 root root 20 1970-01-01 00:00 binder -> /dev/binderfs/binder drwxr-xr-x 4 root root 0 1970-01-01 00:00 binderfs dr-xr-xr-x 3 system system 0 1970-01-01 00:00 blkio drwxr-xr-x 6 root root 1340 1970-01-01 00:00 block drwxr-xr-x 3 root root 60 1970-01-01 00:00 boringssl drwxr-xr-x 3 root root 60 1970-01-01 00:00 bus d????????? ? ? ? ? ? cgroup_info crw------- 1 root root 5, 1 2022-08-05 03:25 console crw------- 1 root root 10, 125 1970-01-01 00:00 cpu_dma_latency -r--r--r-- 1 root root 9 1970-01-01 00:00 cpu_variant:arm -r--r--r-- 1 root root 10 1970-01-01 00:00 cpu_variant:arm64 dr-xr-xr-x 10 system system 0 1970-01-01 00:00 cpuctl dr-xr-xr-x 8 system system 0 1970-01-01 00:00 cpuset crw------- 1 root root 10, 236 1970-01-01 00:00 device-mapper drwxr-xr-x 2 root root 40 1970-01-01 00:00 dm-user drwxr-xr-x 2 root root 140 1970-01-01 00:00 dma_heap crw-rw-r-- 1 system system 237, 0 1970-01-01 00:00 dmabuf_imx drwxr-xr-x 2 root root 120 2022-08-05 03:17 dri -????????? ? ? ? ? ? event-log-tags lrwxrwxrwx 1 root root 13 1970-01-01 00:00 fd -> /proc/self/fd drwxrwx--- 2 root system 40 2022-08-05 03:17 fscklogs crw-rw-rw- 1 root root 1, 7 1970-01-01 00:00 full crw------- 1 root root 10, 229 1970-01-01 00:00 fuse crw-rw-rw- 1 system graphics 199, 0 1970-01-01 00:00 galcore drwxr-xr-x 2 root root 60 2022-08-05 03:17 graphics crw------- 1 root root 511, 0 1970-01-01 00:00 hidraw0 crw------- 1 root root 511, 1 2022-08-05 03:17 hidraw1 crw------- 1 root root 511, 2 1970-01-01 00:00 hidraw2 lrwxrwxrwx 1 root root 22 1970-01-01 00:00 hwbinder -> /dev/binderfs/hwbinder crw------- 1 root root 89, 1 1970-01-01 00:00 i2c-1 crw------- 1 root root 89, 2 1970-01-01 00:00 i2c-2 crw------- 1 root root 89, 3 1970-01-01 00:00 i2c-3 crw------- 1 root root 89, 4 1970-01-01 00:00 i2c-4 crw------- 1 root root 89, 5 2022-08-05 03:17 i2c-5 crw------- 1 root root 89, 6 2022-08-05 03:17 i2c-6 crw------- 1 root root 89, 7 2022-08-05 03:17 i2c-7 drwxr-xr-x 2 root root 120 2022-08-05 03:17 input crw------- 1 root root 1, 11 1970-01-01 00:00 kmsg crw--w--w- 1 root root 1, 11 1970-01-01 00:00 kmsg_debug crw------- 1 virtmanager root 10, 232 1970-01-01 00:00 kvm crw------- 1 root root 10, 237 1970-01-01 00:00 loop-control dr-xr-xr-x 4 root root 0 1970-01-01 00:00 memcg crw------- 1 system system 234, 0 1970-01-01 00:00 mmcblk0rpmb drwxr-xr-x 2 root root 60 1970-01-01 00:00 net crw-rw-rw- 1 root root 1, 3 1970-01-01 00:00 null crw-rw---- 1 radio vpn 108, 0 1970-01-01 00:00 ppp crw------- 1 root root 244, 0 1970-01-01 00:00 pps0 crw-rw-rw- 1 root root 5, 2 1970-01-01 00:00 ptmx crw------- 1 root root 243, 0 1970-01-01 00:00 ptp0 drwxr-xr-x 2 root root 0 1970-01-01 00:00 pts crw-rw-rw- 1 root root 1, 8 1970-01-01 00:00 random crw------- 1 root root 241, 0 1970-01-01 00:00 remoteproc0 crw------- 1 root root 241, 1 1970-01-01 00:00 remoteproc1 crw------- 1 root root 252, 0 1970-01-01 00:00 rpmsg_ctrl0 crw------- 1 root root 252, 1 1970-01-01 00:00 rpmsg_ctrl1 crw-r----- 1 system system 247, 0 1970-01-01 00:00 rtc0 crw------- 1 root root 10, 124 1970-01-01 00:00 seco_mu1_ch0 crw------- 1 root root 10, 123 1970-01-01 00:00 seco_mu1_ch1 crw------- 1 root root 10, 122 1970-01-01 00:00 seco_mu1_ch2 crw------- 1 root root 10, 121 1970-01-01 00:00 seco_mu1_ch3 crw------- 1 root root 10, 120 1970-01-01 00:00 seco_mu2_ch0 crw------- 1 root root 10, 119 1970-01-01 00:00 seco_mu2_ch1 crw------- 1 root root 10, 118 1970-01-01 00:00 seco_mu2_ch2 crw------- 1 root root 10, 117 1970-01-01 00:00 seco_mu2_ch3 drwxr-xr-x 2 root root 180 1970-01-01 00:00 snd drwxr-xr-x 3 root root 440 1970-01-01 00:00 socket crw------- 1 root root 153, 0 1970-01-01 00:00 spidev0.0 lrwxrwxrwx 1 root root 15 1970-01-01 00:00 stderr -> /proc/self/fd/2 lrwxrwxrwx 1 root root 15 1970-01-01 00:00 stdin -> /proc/self/fd/0 lrwxrwxrwx 1 root root 15 1970-01-01 00:00 stdout -> /proc/self/fd/1 drwxr-xr-x 4 system system 80 1970-01-01 00:00 sys crw-rw---- 1 system drmrpc 242, 0 1970-01-01 00:00 trusty-ipc-dev0 crw------- 1 root root 10, 127 1970-01-01 00:00 trusty-log0 crw-rw-rw- 1 root root 5, 0 1970-01-01 00:00 tty crw------- 1 root root 238, 0 1970-01-01 00:00 ttyLP0 crw-rw---- 1 bluetooth bluetooth 238, 1 1970-01-01 00:00 ttyLP1 crw-rw---- 1 system vpn 10, 200 1970-01-01 00:00 tun crw-rw---- 1 uhid uhid 10, 239 1970-01-01 00:00 uhid crw-rw---- 1 uhid uhid 10, 223 1970-01-01 00:00 uinput crw-rw-rw- 1 root root 1, 9 1970-01-01 00:00 urandom drwxrwxr-x 5 shell shell 100 1970-01-01 00:00 usb-ffs crw-rw---- 1 root usb 10, 116 1970-01-01 00:00 usb_accessory crw-rw---- 1 system camera 81, 2 2022-08-05 03:17 video0 crw-rw---- 1 system camera 81, 0 1970-01-01 00:00 video12 crw-rw---- 1 system camera 81, 1 1970-01-01 00:00 video13 lrwxrwxrwx 1 root root 23 1970-01-01 00:00 vndbinder -> /dev/binderfs/vndbinder crw-rw---- 1 system root 10, 130 1970-01-01 00:00 watchdog crw------- 1 root root 240, 0 1970-01-01 00:00 watchdog0 crw-rw-rw- 1 root root 1, 5 1970-01-01 00:00 zero mek_8q:/dev $ cd blomek_8q:/dev $ cd block/ by-name/ loop15 mmcblk0p1 mmcblk0p21 ram12 dm-0 loop2 mmcblk0p10 mmcblk0p3 ram13 dm-1 loop3 mmcblk0p11 mmcblk0p4 ram14 dm-2 loop4 mmcblk0p12 mmcblk0p5 ram15 dm-3 loop5 mmcblk0p13 mmcblk0p6 ram2 dm-4 loop6 mmcblk0p14 mmcblk0p7 ram3 loop0 loop7 mmcblk0p15 mmcblk0p8 ram4 loop1 loop8 mmcblk0p16 mmcblk0p9 ram5 loop10 loop9 mmcblk0p17 platform/ ram6 loop11 mapper/ mmcblk0p18 ram0 ram7 loop12 mmcblk0 mmcblk0p19 ram1 ram8 loop13 mmcblk0boot0 mmcblk0p2 ram10 ram9 loop14 mmcblk0boot1 mmcblk0p20 ram11 vold/ mek_8q:/dev $ cd block/ [ 552.796668][ T397] healthd: battery none chg=a mek_8q:/dev/block $ mek_8q:/dev/block $ mek_8q:/dev/block $ su nvme-list su: invalid uid/gid 'nvme-list' 1|mek_8q:/dev/block $ pci-tool -vvv /system/bin/sh: pci-tool: inaccessible or not found 127|mek_8q:/dev/block $ [ 612.796710][ T397] healthd: battery none chg=a