Android知识备忘

在Android系统中,如何确认SoC的信息?可以查询/proc/cpuinfo

$ cat /proc/cpuinfo
processor	: 0
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 2
...

Hardware	: Qualcomm Technologies, Inc MSM8994

如何确认各个分区是挂载到哪个目录下的?在/dev/block/platform/soc目录下找到by-name

$ ls -l /dev/block/platform/soc.0/f9824900.sdhci/by-name/
total 0
lrwxrwxrwx 1 root root 20 1972-04-19 15:21 DDR -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 aboot -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 abootbak -> /dev/block/mmcblk0p16
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 apdp -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 boot -> /dev/block/mmcblk0p34
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 cache -> /dev/block/mmcblk0p38
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 cmnlib -> /dev/block/mmcblk0p25
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 cmnlibbak -> /dev/block/mmcblk0p27
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 devinfo -> /dev/block/mmcblk0p17
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 dpo -> /dev/block/mmcblk0p28
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 frp -> /dev/block/mmcblk0p41
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 fsc -> /dev/block/mmcblk0p29
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 fsg -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root 20 1972-04-19 15:21 hyp -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 hypbak -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 keymaster -> /dev/block/mmcblk0p24
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 keymasterbak -> /dev/block/mmcblk0p26
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 keystore -> /dev/block/mmcblk0p40
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 limits -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 metadata -> /dev/block/mmcblk0p33
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 misc -> /dev/block/mmcblk0p39
lrwxrwxrwx 1 root root 20 1972-04-19 15:21 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 modemst1 -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 modemst2 -> /dev/block/mmcblk0p21
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 msadp -> /dev/block/mmcblk0p23
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 oem -> /dev/block/mmcblk0p36
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 oeminfo -> /dev/block/mmcblk0p31
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 persist -> /dev/block/mmcblk0p32
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 persistent -> /dev/block/mmcblk0p42
lrwxrwxrwx 1 root root 20 1972-04-19 15:21 pmic -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 pmicbak -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 recovery -> /dev/block/mmcblk0p35
lrwxrwxrwx 1 root root 20 1972-04-19 15:21 rpm -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 rpmbak -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 20 1972-04-19 15:21 sbl1 -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 sbl1bak -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 20 1972-04-19 15:21 sdi -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 20 1972-04-19 15:21 sec -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 ssd -> /dev/block/mmcblk0p30
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 system -> /dev/block/mmcblk0p43
lrwxrwxrwx 1 root root 20 1972-04-19 15:21 tz -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 tzbak -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 userdata -> /dev/block/mmcblk0p44
lrwxrwxrwx 1 root root 21 1972-04-19 15:21 vendor -> /dev/block/mmcblk0p37
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值