dimanche 5 juin 2016

Device name for non-MMC device based phone?

Phones based on MMC (MultiMedia Card) devices has mmcblk0 as their device name. Is it same for MTD (Memory Technology Device), EMMC (Embedded MultiMedia Card) based devices too?

On MMC-based Moto-e Android 4.4. I got this:
HTML Code:

shell@condor_umtsds:/ $ cat /proc/partitions                               
major minor  #blocks  name

 179        0    3825664 mmcblk0

If I'm not wrong, one these file should have the answer
Code:

/proc/mtd
,
Code:

/proc/emmc
ps: I need this info for one of my app. thanks!


from xda-developers http://ift.tt/1O94fWz
via IFTTT

Aucun commentaire:

Enregistrer un commentaire