How does adb view the / data/data directory

problem description

look at Android phone files through adb shell and find that the / data directory does not have permissions, but android studio,
can view / data/data files. I don"t know how to get / data/data permission

the platform version of the problem and what methods you have tried

< H1 > adb root, is not connected to an Android phone. < / H1 >

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

adb can read the file directory like android studio, and get relevant permissions

A lot of responses are made with su tools. My phone is a hammer, and we all know that hammer root is very difficult. I use a virtual machine now, and this Android naturally has no permission restrictions, but the original super card of android studio, and the third party crashes on my computer. I hope there are experts who can study how android studio gets / data/data directory files.

Sep.11,2021

su root

adb shell
su
cd /data/data
ls
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3d7a4-2c3a3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3d7a4-2c3a3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?