ADB 'su: permission denied' in recovery mode on rooted device ADB 'su' command returns 'su: permission denied' on a fully rooted device in recovery mode. I can modify folders and files that require root access on phone (when it's booted). ADB also works when it's booted - I only need to confirm a superuser pop-up on the phone.

USB debugging is enabled.

What can the problem be?

Thanks!
Most recoveries don't work in root mode - and root mode cannot be acheived, as the SU binary calls your superuser app to gain permission to use root mode.

As the su binary cannot call the app, it stops you using SU mode.

It could also be due to the fact that the su file used in recovery is the stock su file found in Android, and this doesn't let you switch to the root user (as if it did every device would be rooted).

Some recoveries allow root to be used - you will have to search for one for your device.