How to identify userdata partition on an unrooted Android device?

Search This thread

wenyendev

Senior Member
Aug 29, 2022
248
12
Hi all,

I was trying to identify userdata partition after
- adb shell

- cat /proc/partitions

on an unrooted Oneplus 2.

Here below was the result.

How to identify which one is userdata partition?

Thanks in advance.

Cheers,
Wen


Code:
major minor  #blocks  name

 179        0   15388672 mmcblk0
 179        1      81920 mmcblk0p1
 179        2       1024 mmcblk0p2
 179        3        128 mmcblk0p3
 179        4        128 mmcblk0p4
 179        5          1 mmcblk0p5
 179        6       1024 mmcblk0p6
 179        7        128 mmcblk0p7
 179        8       1536 mmcblk0p8
 179        9          1 mmcblk0p9
 179       10       1024 mmcblk0p10
 179       11       1024 mmcblk0p11
 179       12        256 mmcblk0p12
 179       13        256 mmcblk0p13
 179       14          1 mmcblk0p14
 179       15          1 mmcblk0p15
 179       16          8 mmcblk0p16
 179       17       1536 mmcblk0p17
 179       18       1536 mmcblk0p18
 179       19      10240 mmcblk0p19
 179       20      10240 mmcblk0p20
 179       21       1024 mmcblk0p21
 179       22       8096 mmcblk0p22
 179       23      16192 mmcblk0p23
 179       24      16384 mmcblk0p24
 179       25      32768 mmcblk0p25
 179       26       1024 mmcblk0p26
 179       27       1024 mmcblk0p27
 179       28         96 mmcblk0p28
 179       29       1024 mmcblk0p29
 179       30       1024 mmcblk0p30
 179       31        500 mmcblk0p31
 259        0        500 mmcblk0p32
 259        1        512 mmcblk0p33
 259        2        512 mmcblk0p34
 259        3      65536 mmcblk0p35
 259        4      65536 mmcblk0p36
 259        5      32768 mmcblk0p37
 259        6       1024 mmcblk0p38
 259        7        512 mmcblk0p39
 259        8        512 mmcblk0p40
 259        9     262144 mmcblk0p41
 259       10    2621440 mmcblk0p42
 259       11   11980783 mmcblk0p43
 179       32       4096 mmcblk0rpmb
 
Last edited:

xXx yYy

Senior Member
Feb 4, 2017
1,186
6
227
If you have an eMMC internal storage you can see names and partitions at same time:

Code:
ls -l /dev/block/platform/msm_sdcc.1/by-name/