0

I am trying to use the stock recovery to install superuser.zip but it give me an error: E: signature verification failed

So I cannot root it by the superuser.zip

I Googled and someone said solution is to install CWM. However, when I try to install CWM, it require superuser privilege?!

Now I get into the loop CWM need superuser -> install superuser need CWM -> ...

  • What device is this? It's hard to point you in the right direction as Dan said below. You can't install Superuser through stock recovery, you don't need root to install a recovery. – RossC Sep 9 '14 at 9:26
3

Android has a chain of signature verification that (by default) protects your device from being hacked or having an unofficial image installed. Recovery images, updates, and OS images all have to be signed. The bootloader verifies that the recovery is signed by the manufacturer's key, and the recovery in turn verifies that the OS image (and any updates you try to install) are signed by the same key.

That's why you need CWM or TWRP to flash an update that roots the device. You don't need to root to install CWM or TWRP, but you do need to unlock the bootloader. This wipes all user data on the device. It's a security mechanism, to protect your data: if someone steals the device while it's locked, and wants to flash a different OS to bypass the lock and steal your data, they first have to unlock the bootloader.

So, there's no loop at all. Unlock your bootloader and flash a recovery using fastboot, then use that recovery to install the "update". The exact details of how vary from device to device, so find yours on our rooting index.

  • If I understood correctly, I need to port the CWM to my device, which requires me to access the boot.img, etc. But without root, how can I obtain the boot.img? – Wang Sep 7 '14 at 12:34
  • It seems unlikely that CWM isn't already ported to your device, but obviously I can't say for sure since you didn't say what device you have. – Dan Hulme Sep 7 '14 at 22:03
  • It has not been ported yet, otherwise, I will not ask this question. It is a relative new and exotic device. But I did manage to get boot.img from factory restore ROM. Now I am starting to port the CWM. – Wang Sep 19 '14 at 18:24

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.