I want to clone internal memory of my android phone. Version 5.0 lolipop. I have found an tutorial website but this is not working. Web site link given below. http://www.fciotti.com/2017/02/26/clone-android-memory

chmod +r /dev/block/mmcblk0 returns Bad mode

shell@M1:/ $ su root@M1:/ # chmod +r /dev/block/mmcblk0 Bad mode 10|root@M1:/ #

and adb pull /dev/block/mmcblk0 "mmc.img" returns

adb: error: failed to copy '/dev/block/mmcblk0' to 'mmc.img': remote Permission denied

  • I don't know who wrote that tutorial – but adb pull pulls files, not devices. You'd need to cat that into a file and pull that (cat /dev/block/mmcblk0 > /sdcard/mmc.img). – Izzy Oct 27 '17 at 7:33
  • shell@M1:/ $ cat /dev/block/mmcblk0 > /sdcard/mmc.img /system/bin/sh: cat: /dev/block/mmcblk0: Permission denied. Please help – Animesh Das Sumit Oct 27 '17 at 10:45
  • Reading your question I thought you know you need root for that. Only root (#) can access devices directly, the shell user ($) can't. – Izzy Oct 27 '17 at 10:47
  • Its working! amazing but not final. Please wait for final comment – Animesh Das Sumit Oct 27 '17 at 10:52
  • \o/ So when the "dump" is done, you just need to pull the image files. If the result meets your expectations, let me know to sum it up to an answer you can "accept" then – so folks in a similar situation see this issue has a solution :) – Izzy Oct 27 '17 at 10:57

To copy mmcblk0 or any partition directly to pc, you need root access and busybox installed on your android phone.

Working ADB command is adb -d shell su -c busybox dd if=/dev/block/mmcblk0 bs=4096 > D:\mmc.bin

Or try these following links https://www.youtube.com/watch?v=aWgJdwn0-4M https://www.youtube.com/watch?v=Qo5lBWAIb4g

| improve this answer | |
  • Isn't unlocked bootloader enough? (according to some other sources) – neverMind9 Apr 14 '19 at 20:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.