How to enable adb after wiping system and installing new kernel?

2.6k views Asked by At

I have a Nexus 4. I accidently wiped system and tried to restore it unsuccessfully. I did have adb before I wiped the system. Now I can only get into recovery mode. When I use Nexus root toolkit it recognizes the device only in bootloader but it can't recognize it as adb device. I thought maybe now that Android is not installed USB, debugging is disabled as default. Do I have a way to enable it or do you have any other solution? I can't use the device. Do I have any other way to install Android without adb?

1

There are 1 answers

5
Stephan Branczyk On

adb isn't required (adb is only one of the ways to do it. As long as you still have access to recovery mode, you're golden).

Just get the zipped image you want to install (a modded one, or the official one). You should be able to get the official one from google since it's a Nexus 4. Do not unzip it.

Connect your phone to your computer as a usb drive. Copy the zip file to the root of your internal sdcard on your phone.

Reboot your phone into recovery mode. Then navigate the menu on the phone with the sound rocker and the power key to tell it where to find the new location of the new image.

Then reboot normally. I'm writing this from memory. If you want more specific instructions, I can provide them if you want.