Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I can read the content of /dev/logo in C,
fd = open("/dev/logo", O_RDONLY); len = read(fd, logo_addr, 512);
Now I want to do these things using shell command, how to do?
Can I use
$ adb shell cat dev/logo >logo.dev
?
你能用dd吗?就像是:
dd
dd /dev/logo bs=1 count=512 of=logo.dev
假设您需要读取设备的 512 字节。