0

I will list my main objective first, dependencies after. If there is a better path to my goal, please show me the way....

(Phew, what a hassle!)

I am working up from the bottom of this list: the instructions for Super cid begin

adb shell
su
dd if=/dev/block/mmcblk0p4 of=/sdcard/mmcblk0p4

This gives me a permission denied error. Here is the full contents of the shell:

#> adb shell
shell@ville:/ $ su
255|shell@ville:/ $ dd if=/dev/block/mmcblk0p4 of=/sdcard/mmcblk0p4
/dev/block/mmcblk0p4: cannot open for read: Permission denied
1|shell@ville:/ $ ls -al /dev/block/mmcblk0p4
brw------- root     root     179,   4 2017-02-28 20:35 mmcblk0p4
shell@ville:/ $

I find it odd that su seems to change the user to 255 and the failure of dd seems to change the user to 1, but what do I know?

Why is this permission error happening and how do I fix it?

The phone currently runs Cyanogenmod.

  • Sure you got root? $ dd if=/dev/block/mmcblk0p4 of=/sdcard/mmcblk0p4 suggests you've run this command as ordinary user (note the $ at the start; for root this would have been a #). Hint: In developer settings, you need to enable root for ADB. – Izzy Feb 28 '17 at 21:13

Your Answer

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

Browse other questions tagged or ask your own question.