Nexus 7 won't show up in adb devices, what should I do? - Nexus 7 Q&A, Help & Troubleshooting

Earlier today I flashed Kaos Droid to try it out, but it put my Nexus in a state where it would not go past the screen that says Google and has the lock at the bottom. Since I have TWRP, Reboot to recovery from boot loader didn't work. I tried fixing the problem in not Windows and Ubuntu, but Windows kept on ending up as unknown device and no matter what drivers I tried to make it use it would not take, and in Linux it didn't show up in adb devices. I got lucky and it rebooted into TWRP after my fifth try of selecting recovery from the boot loader. I restored from backup, but I don't want this to happen again, if that ever happens. What should I do to get it in adb devices? Thanks.
Sent from an 8-core device from 2015

usb debugging

Try
Code:
adb kill-server
adb start-server
Can't remember if you need superuser permissions or not.

thebobp said:
Try
Code:
adb kill-server
adb start-server
Can't remember if you need superuser permissions or not.
Click to expand...
Click to collapse
I tried that, didn't work.

sonikot said:
usb debugging
Click to expand...
Click to collapse
How could I turn that on from bootloader? It was and is on before flashing the ROM and after restore.

Should have been able to run fastboot commands, either to try to reboot into the existing recovery, reboot into a recovery image, or flash a new recovery.
Sent from my Nexus 7 using xda premium

jcracken said:
Earlier today I flashed Kaos Droid to try it out, but it put my Nexus in a state where it would not go past the screen that says Google and has the lock at the bottom. Since I have TWRP, Reboot to recovery from boot loader didn't work. I tried fixing the problem in not Windows and Ubuntu, but Windows kept on ending up as unknown device and no matter what drivers I tried to make it use it would not take, and in Linux it didn't show up in adb devices. I got lucky and it rebooted into TWRP after my fifth try of selecting recovery from the boot loader. I restored from backup, but I don't want this to happen again, if that ever happens. What should I do to get it in adb devices? Thanks.
Sent from an 8-core device from 2015
Click to expand...
Click to collapse
Have a look at the Device Manager in Windows with your tablet plugged in. If there's that yellow triangle, just right click and choose update driver. Then you just browse and point Windows to where you have your N7 drivers.

akbar26 said:
Have a look at the Device Manager in Windows with your tablet plugged in. If there's that yellow triangle, just right click and choose update driver. Then you just browse and point Windows to where you have your N7 drivers.
Click to expand...
Click to collapse
That's the thing, I pointed it to official N7 drivers, Google USB Drivers, SuperOneClick drivers, and a bunch of other ones. It would never take--saying either that the best drivers are already installed (even though none were installed) or no suitable drivers exist in that directory.

I'm having a similar issue here, except I can get to the "X" boot animation.

jcracken said:
That's the thing, I pointed it to official N7 drivers, Google USB Drivers, SuperOneClick drivers, and a bunch of other ones. It would never take--saying either that the best drivers are already installed (even though none were installed) or no suitable drivers exist in that directory.
Click to expand...
Click to collapse
same problem here ... did u ever solve it ?

sonikot said:
usb debugging
Click to expand...
Click to collapse
Sometimes it seems to me that, even though USB debugging is "on", it really isn't.
Several times I have had to un-check and re-check "USB debugging" before adb would recognize the device.
Just my experience. Your milage may vary.

i'm in the same boat !
,
Any ?

Are you on 4.2.2? There now should be a security dialog upon executing an ADB command on the device, it will prompt you to allow the command to be executed.
If tou aren't on 4.2.2 - then it seems to be either a driver or a ROM issue

Yes I'm on 4.2.

I had this problem too and reinstalling the SDK tools fixed it for me for some reason.
Sent from my Paranoid 3.0 Nexus7 running M-Kernel mr1

I reinstall sdk without sucess

Maybe try using wugfresh toolkit. I've seen people say they couldn't use adb or fastboot but the toolkit worked. Doesn't really make sense to me since the toolkit just sends the commands for you but hey, worth a shot. It will walk you through uninstalling current drivers and doing a fresh driver install also.
Sent from my Paranoid 3.0 Nexus7 running M-Kernel mr1

travisjustin said:
Maybe try using wugfresh toolkit. I've seen people say they couldn't use adb or fastboot but the toolkit worked. Doesn't really make sense to me since the toolkit just sends the commands for you but hey, worth a shot. It will walk you through uninstalling current drivers and doing a fresh driver install also.
Sent from my Paranoid 3.0 Nexus7 running M-Kernel mr1
Click to expand...
Click to collapse
I use this kit. Remove all drivers. Then install the driver again. The drivers has been install in fastboot mode and recovery mode. The nexcus is recognized in these mode by the wugfresh toolkit.
Unfortunately in normal mode, when i active usb debug mode, i get a unkown device on windows 7 32 with any possibility to update the drivers.
I get error unkow device, device is stop error 43
Cable is stock and also try another one.
I get same message error on another computer with windows 8

I confirm that my usb issue is solved.
After a factory reset, i reinstall the last release Usb ROM and USB comes back to life on my nexus.
The nexus is no more recognized as unkown device by my computer and i can install the adb driver.
During this story, i try also to get acces via wifi but was unable to connect even with adb over wifi enable on the nexus.
That why Timur recommands me to made a full factory reset.
My problem seems to be due to corrupt data that block every connections between the computer and the nexus (adb wifi and usb) based on last 4.2.2 new safety features.
So far i recommand full wipe between two rom install to avoid such trouble.
Thank a lot to timur for his support during the week end.

If your nexus is rooted, go in recovery mode and install a new rom from zip.
How to ?
Download rom of your choice via wifi
You can download a rom directly from your nexus to sd.
Check here for download (example)
http://mehrvarz.github.com/nexus-7-usbrom/
Download Google applications on your nexus via wifi
Download from here : http://donandroid.com/gapps
Before installing new rom make a save using titanium backup.
https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackup&hl=fr
Save all your application and data in batch mode.
Create titanium.zip on your nexus 7 sd.
Then from recovery mode make a full wipe but without erasing sd data.
Follow these instructions :
Unless you format the system partition and system caches, you aint wiped nothing, there is only one way to carry out a proper full wipe, and thats the full wipe the correct way.
1. Boot into recovery
2. Wipe the cache partition
3. Go to advanced and wipe dalvik and batt stats.
4. Go back to mounts and storage and format system, then data, then cache.
5. Go back and install the rom zip file from the sd card.
6. Reboot.
No need to wipe data/factory reset, the contents of your internal and external sd cards are untouched.
From Recovery mode
- install titanium.zip.
- install gapps.zip
Reboot
Go to titanium backup and recover all your data.
Et voila...

Related

Stuck on Google and unlock icon

Since upgrading to Windows 8 the toolkit for android and pretty much the drivers are impossible to get working.
It seems that the device has nothing on it, zip, zero. No matter how I try to recover it what ROM it tried to install it didn't work and when I try to access anything via command prompt it can not find the device.
I look at the devices on system manager and there is one listed as unknown device but I do have android phone listed as a device.
It plugs in, makes a sound knowing there is something but its unknown. Tried using the Samsung drivers, no luck there.
I need to do a complete reboot, get the original folders back on but don't know how to get it to recognise and get things going again.
jozkam said:
Since upgrading to Windows 8 the toolkit for android and pretty much the drivers are impossible to get working.
It seems that the device has nothing on it, zip, zero. No matter how I try to recover it what ROM it tried to install it didn't work and when I try to access anything via command prompt it can not find the device.
I look at the devices on system manager and there is one listed as unknown device but I do have android phone listed as a device.
It plugs in, makes a sound knowing there is something but its unknown. Tried using the Samsung drivers, no luck there.
I need to do a complete reboot, get the original folders back on but don't know how to get it to recognise and get things going again.
Click to expand...
Click to collapse
You need to disable driver signing in windows 8 to be able to install drivers for the Nexus.
Done this already, for some strange reason the device listed in Device manager now knows its a adb interface but still listed as a unknown device.
Try getting to look at the Samsung drivers but still no luck.
When you go into the device properties it states the following;-
Windows has stopped this device because it has reported problems. (Code 43)
Windows 8 doesn't seem to work very well with adb/fastboot etc...
Do you have access to another computer that has Windows 7 (or XP, Linux?)?
Thanks for you help guys so far.
I do have a Vista 32bit laptop that I can use. Going to install the Toolkit, drivers etc on there and see how far it goes.
jozkam said:
Thanks for you help guys so far.
I do have a Vista 32bit laptop that I can use. Going to install the Toolkit, drivers etc on there and see how far it goes.
Click to expand...
Click to collapse
I've read where people who are using Win8 and fastboot flashing .img files to get back to stock, it stops/locks up in varying spots...after three hours of messing with it they try another OS (Win7, Linux) and it works within minutes.
Hopefully, Vista works...and I'm sorry you have to resort to Vista!
Well I seen to be getting somewhere but still with strange issues in Device Manager.
It shows Android device with the following devices below.
- Android Composite ADB Interface (yellow exclamation mark)
- Google Nexus 7 ADB Interface (yellow exclamation mark)
- Google Nexus 7 ADB Interface (yellow exclamation mark)
- Google Nexus 7 ADB Interface (yellow exclamation mark)
- Google Nexus 7 ADB Interface (yellow exclamation mark)
- Google Nexus 7 ADB Interface (working properly)
- Google Nexus 7 BootLoader Interface (yellow exclamation mark)
Further down I have Portable Devices with MTP Device listed (yellow exclamation mark).
I have Google Nexus Toolkit installed.
jozkam said:
Well I seen to be getting somewhere but still with strange issues in Device Manager.
It shows Android device with the following devices below.
- Android Composite ADB Interface (yellow exclamation mark)
- Google Nexus 7 ADB Interface (yellow exclamation mark)
- Google Nexus 7 ADB Interface (yellow exclamation mark)
- Google Nexus 7 ADB Interface (yellow exclamation mark)
- Google Nexus 7 ADB Interface (yellow exclamation mark)
- Google Nexus 7 ADB Interface (working properly)
- Google Nexus 7 BootLoader Interface (yellow exclamation mark)
Further down I have Portable Devices with MTP Device listed (yellow exclamation mark).
I have Google Nexus Toolkit installed.
Click to expand...
Click to collapse
Is this from your Vista machine or Win8 machine now?
RMarkwald said:
Is this from your Vista machine or Win8 machine now?
Click to expand...
Click to collapse
Vista machine.
jozkam said:
Vista machine.
Click to expand...
Click to collapse
Strange. Did you install the USB drivers? Maybe download them from Asus, extract them to your Desktop, right click on your N7 in Device Manager and unistall the drivers for your device, then connect your N7 and browse to the location of the downloaded USB drivers....?
Okay following God knows how many windows updates, following restart I can see that the MTP device is now showing as working properly.
When running the toolkit (version 3.2) it shows the device number at the top under ADB mode but not under Fastboot mode.
RMarkwald said:
Strange. Did you install the USB drivers? Maybe download them from Asus, extract them to your Desktop, right click on your N7 in Device Manager and unistall the drivers for your device, then connect your N7 and browse to the location of the downloaded USB drivers....?
Click to expand...
Click to collapse
Remind me which USB drivers?
Okay, puzzling but it appears to be getting somewhere.
In device manager there is one instance of Google Nexus 7 ADB Interface under Android Device and MTP Device under Portable Devices even though it seems to reinstall the same instance of MTP device every 1 minute or so.
I am installing the Samsung drivers however, the same as before when it comes to the Toolkit. The ADB mode list of devices shows correctly, nothing underneath fastboot mode.
What would be the next stage?
I would boot into fastboot, change directory to your Android SDK - Platform Tools directory, and if you type: fastboot devices
does anything show up?
Well, I would reflash stock images completely. Hopefully you have a backup of whatever is/was on your internal sd card because doing this will erase it.
You can get the image from here (note, I am assuming you have the N7 Wifi Only): https://developers.google.com/android/nexus/images#nakasi
Then, you can revert to stock by following this post: http://rootzwiki.com/topic/28544-guide-nexus-7-bootloadersrecoveriesrootback-to-stock/#entry764332
NOTE: Step 10 the file name will be different than shown.
Ok so I have managed to get into the ClockworkMod recovery v6.0.1.9, going with the 'install zip from sideload', used the command adb sideload nakasi-jop40c-factory-6aabb391.tar.
The screen on nexus says:
Restarting adbd...
Finding update package...
E: Cant open /tmp/update.zip
(bad)
Installation aborted.
Sorry about this I am a complete amateur when it comes to this stuff, thanks for the help so far.
UPDATE: - I used the CLEANROM 2.5 zip file and it has now gone back to its original state, YES, thank you so much.
This may have happened when I started to use Paranoid Android, they brought out a beta 5 version, which originally worked but I can't see to get it updated via the 'update recovery' step.
http://forum.xda-developers.com/showthread.php?t=1800268
Thanks once again.
RMarkwald said:
I would boot into fastboot, change directory to your Android SDK - Platform Tools directory, and if you type: fastboot devices
does anything show up?
Well, I would reflash stock images completely. Hopefully you have a backup of whatever is/was on your internal sd card because doing this will erase it.
You can get the image from here (note, I am assuming you have the N7 Wifi Only): https://developers.google.com/android/nexus/images#nakasi
Then, you can revert to stock by following this post: http://rootzwiki.com/topic/28544-guide-nexus-7-bootloadersrecoveriesrootback-to-stock/#entry764332
NOTE: Step 10 the file name will be different than shown.
Click to expand...
Click to collapse
Steps done, back to stock which is great, thanks a lot.
Oh man just when I thought my problems were finished.
One thing I forgot to do was run the superuser zip file to give permissions on the clockworkmod recovery. Even trying to do something with Rom Manager within jellybean itself but it says I need permissions.
How can I reverse back and get the superuser.zip from working? At the moment I can not access recovery, tried using command prompts and Rom Manager but to no avail.
jozkam said:
Oh man just when I thought my problems were finished.
One thing I forgot to do was run the superuser zip file to give permissions on the clockworkmod recovery. Even trying to do something with Rom Manager within jellybean itself but it says I need permissions.
How can I reverse back and get the superuser.zip from working? At the moment I can not access recovery, tried using command prompts and Rom Manager but to no avail.
Click to expand...
Click to collapse
You can boot back into fastboot, and download the latest TWRP Recovery from here: http://teamw.in/project/twrp2/103
They even give you instructions on the command to run type in: fastboot flash recovery <name of recovery file>
Put the .img file in your Android SDK - Platform Tools folder as well.
Type in the flash recovery command, then reboot to recovery.
From there, you can flash the Superuser.zip (I assume you have it?). If not, here it is: http://download.chainfire.eu/282/SuperSU/CWM-SuperSU-v0.98.zip
You'll also want to make sure that the following files are deleted/removed:
/system/etc/install-recovery.sh
/system/recovery-from-boot.p
The reason being is that if they are there, it will reload the stock Android recovery at reboot, which will remove TWRP or CWM if you have flashed those. I would just rename them by putting a .bak on the end of the file names. But to do this, you'll need root first. You may have to: fastboot flash recovery, flash SuperSU zip, reboot, browse to those two locations to verify if those files exist/rename them, fastboot flash recovery again...reboot, and recovery may stick. When I went back to stock and fastboot flashed TWRP, I checked for those files and they weren't there, and recovery stuck just fine.
You're learning the manual way, congratulations! Not too bad is it?!
RMarkwald said:
You can boot back into fastboot, and download the latest TWRP Recovery from here: http://teamw.in/project/twrp2/103
They even give you instructions on the command to run type in: fastboot flash recovery <name of recovery file>
Put the .img file in your Android SDK - Platform Tools folder as well.
Type in the flash recovery command, then reboot to recovery.
From there, you can flash the Superuser.zip (I assume you have it?). If not, here it is: http://download.chainfire.eu/282/SuperSU/CWM-SuperSU-v0.98.zip
You'll also want to make sure that the following files are deleted/removed:
/system/etc/install-recovery.sh
/system/recovery-from-boot.p
The reason being is that if they are there, it will reload the stock Android recovery at reboot, which will remove TWRP or CWM if you have flashed those. I would just rename them by putting a .bak on the end of the file names. But to do this, you'll need root first. You may have to: fastboot flash recovery, flash SuperSU zip, reboot, browse to those two locations to verify if those files exist/rename them, fastboot flash recovery again...reboot, and recovery may stick. When I went back to stock and fastboot flashed TWRP, I checked for those files and they weren't there, and recovery stuck just fine.
You're learning the manual way, congratulations! Not too bad is it?!
Click to expand...
Click to collapse
Wouldn't have got this far without you, really appreciate your help, now its stable with 2.54 Paranoid Android.
:good:

[Q] Nexus 4 factory rom deleted

Good day guys,
I need a help with my nexus 4, I had a rooted rom in my nexus 4 with clockwork mode recovery, I tried to wipe my data through clockwork mode but by mistake I did system wipe. Now there is no rom in the device, I can only access to fastboot mode and clockwork recovery mode, also I tried to install rom through toolkit but my PC & Mac doesn't read any device connected and no device shown in device manger in my windows 7 with using different usb cables and ports. I installed samsung drivers and adb drivers but still I cannot see the device in device manager.
Please if any body can help me to install rom back to my device.:crying:
alhawi6 said:
Good day guys,
I need a help with my nexus 4, I had a rooted rom in my nexus 4 with clockwork mode recovery, I tried to wipe my data through clockwork mode but by mistake I did system wipe. Now there is no rom in the device, I can only access to fastboot mode and clockwork recovery mode, also I tried to install rom through toolkit but my PC & Mac doesn't read any device connected and no device shown in device manger in my windows 7 with using different usb cables and ports. I installed samsung drivers and adb drivers but still I cannot see the device in device manager.
Please if any body can help me to install rom back to my device.:crying:
Click to expand...
Click to collapse
In cwm there should be an option to mount the device as usb storage. Try that. It should let you plug the phone into the pc and simply copy the zip onto the phones internal sd.
If thats not working try this to set up the drivers. Then plug the phone in and boot into the bootloader/fastboot mode. The open command prompt and cd to the android-sdk/platform-tools directory. Then run the following command:
Code:
adb push /path/to/rom/on/pc/ /mnt/sdcard/
still not working
Still not connected to windows, I cannot do any thing with my device
Download any ROM and do the following:
1. Connect phone to PC when in fastboot
2. Install drivers (if required)
3. Flash latest version of CWM using fastboot flash recovery name_of_recovery.img
4. Reboot phone into fastboot using fastboot reboot-bootloader
5. Boot into CWM
6. Install drivers (if required)
7. Select 'Install via sideload'
8. Flash ROM using adb sideload name_of_rom.zip
9. Follow instructions in CWM
If that still doesn't work, go back to stock using this guide (and read ALL of it):
http://forum.xda-developers.com/showthread.php?t=2010312
EddyOS said:
Download any ROM and do the following:
1. Connect phone to PC when in fastboot
2. Install drivers (if required)
3. Flash latest version of CWM using fastboot flash recovery name_of_recovery.img
4. Reboot phone into fastboot using fastboot reboot-bootloader
5. Boot into CWM
6. Install drivers (if required)
7. Select 'Install via sideload'
8. Flash ROM using adb sideload name_of_rom.zip
9. Follow instructions in CWM
If that still doesn't work, go back to stock using this guide (and read ALL of it):
http://forum.xda-developers.com/showthread.php?t=2010312
Click to expand...
Click to collapse
Thank you for your quick replay
My problem now that I cannot connect my device to PC, I installed drivers every thing and when I open fast boot or recovery mode and plug the cable, nothing indicates on my PC that there is a device connected even device manager not showing any device connected... I am stuck now, I cannot install any rom to get phone life back.
don't worry! the biggest problem would be that you had no drivers installed!
nexus are super easy to recover and you can play with them safely (except if you flash wrongs kernels from other devices haha)
do what my mate gets up in the post! and it will fixed it.
alhawi6 said:
Thank you for your quick replay
My problem now that I cannot connect my device to PC, I installed drivers every thing and when I open fast boot or recovery mode and plug the cable, nothing indicates on my PC that there is a device connected even device manager not showing any device connected... I am stuck now, I cannot install any rom to get phone life back.
Click to expand...
Click to collapse
It's not that it's not showing, it might already be installed correctly. When you have the Nexus 4 connect in fastboot it will show in Device Manager as 'Android Bootloader Interface' under the heading of 'Android Phone (see attached)
alhawi6 said:
Thank you for your quick replay
My problem now that I cannot connect my device to PC, I installed drivers every thing and when I open fast boot or recovery mode and plug the cable, nothing indicates on my PC that there is a device connected even device manager not showing any device connected... I am stuck now, I cannot install any rom to get phone life back.
Click to expand...
Click to collapse
Try with a different USB cable also could be your USB port on your computer
Sent from my Nexus 4
spaceman860 said:
Try with a different USB cable also could be your USB port on your computer
Sent from my Nexus 4
Click to expand...
Click to collapse
It seems that it will never works. I tried all the recommendations given but still device not detected by PC.
same problem for me.. help me
alhawi6 said:
Good day guys,
I need a help with my nexus 4, I had a rooted rom in my nexus 4 with clockwork mode recovery, I tried to wipe my data through clockwork mode but by mistake I did system wipe. Now there is no rom in the device, I can only access to fastboot mode and clockwork recovery mode, also I tried to install rom through toolkit but my PC & Mac doesn't read any device connected and no device shown in device manger in my windows 7 with using different usb cables and ports. I installed samsung drivers and adb drivers but still I cannot see the device in device manager.
Please if any body can help me to install rom back to my device.:crying:
Click to expand...
Click to collapse
i've the same problem in my nexus 4.. Could u recover from that?

Soft brick (Already searched up and down)

So I messed up my Nexus somehow. I was trying to install MIUI coming from Carbon ROM but something went wrong as it got stuck on the miui logo. So I rebooted to TWRP and restored my backup. So then I tried to install PA and then it just got stuck on the google logo. So i restored my backup again and tried again to no avail. Then after that I couldn't restore my backup ( I keep getting FAILED as soon as the data restore starts). I can boot to Recovery but I dunno what to do. I tried sideloading but that's not working. I tried the toolkit but everytime it tries to download the factory image it says 404. The phone charges and whatnot but I don't know what to do. I only have the PA rom on my phone and reinstalling it doesn't do anything. The only weird thing is that when I try to install the PA gapps I get a FAILED message. Any help would be appreciated
varem said:
So I messed up my Nexus somehow. I was trying to install MIUI coming from Carbon ROM but something went wrong as it got stuck on the miui logo. So I rebooted to TWRP and restored my backup. So then I tried to install PA and then it just got stuck on the google logo. So i restored my backup again and tried again to no avail. Then after that I couldn't restore my backup ( I keep getting FAILED as soon as the data restore starts). I can boot to Recovery but I dunno what to do. I tried sideloading but that's not working. I tried the toolkit but everytime it tries to download the factory image it says 404. The phone charges and whatnot but I don't know what to do. I only have the PA rom on my phone and reinstalling it doesn't do anything. The only weird thing is that when I try to install the PA gapps I get a FAILED message. Any help would be appreciated
Click to expand...
Click to collapse
Have you tried to install another rom on your nexus?
you can put it on with adb push command from recovery though a pc, and then wipe everything and try to install it.
Or you can download stock 4.2.2 rom here: http://forum.xda-developers.com/showthread.php?t=2147281
Here you can find your factory image directly from google: https://developers.google.com/android/nexus/images#occamjdq39
How do I adb push?
varem said:
How do I adb push?
Click to expand...
Click to collapse
you must enter into recovery, connect your phone to your pc with usb cable and then you should be able to see your device,
try
Code:
adb devices
on CMD and it can see your phone type
Code:
adb push **your-rom-from-computer** /sdcard/
then just install it from the recovery
When you say recovery do you mean the main menu? I'm using TWRP and when I'm on the main menu my PC doesnt read the device
http://forum.xda-developers.com/showthread.php?p=34674471
My bad I should have read.....you tried a tool kit already
Sent from my Nexus 4 using xda app-developers app
mmh i don't have twrp so i don't know, do you have the option to mount sdcard to usb?
varem said:
When you say recovery do you mean the main menu? I'm using TWRP and when I'm on the main menu my PC doesnt read the device
Click to expand...
Click to collapse
Ok, wait. I need some clarification. I'm going to try to be as simple as possible, to make sure we are on the same page. When you say your PC doesn't read the device, do you mean through adb or on Windows Explorer?
If you mean through Windows Explorer, then that is not where you need to be. You must get adb working as a bridge to your device. Use this sticky guide to get it set up. I would recommend reading that guide top to bottom anyway, it's extremely informative and new-user friendly. Anyway, the info you need is in the 'Setting up ADB for our device:' section.
If you have adb installed, you need to check to see if it recognizes your device. Do this by opening up cmd and navigating to the folder that adb.exe is located. After that, use 'adb devices' to see if adb recognizes your device. If so, move to the next paragraph. If not, your drivers aren't set up properly for recovery mode. Go into Device Manager on your computer and find your device (under something like 'Other devices', or 'Android device'). If you find it, then get these drivers and install them for the device. Do this by right-clicking, and selecting 'Update Driver Software...', 'Browse my computer for driver software', and browse to that folder. I may have missed a few steps on installing the drivers, it's been a while. If so, just search on how to do it, or post back here. I'm sure I can walk through it and get a more precise guide.
Assuming you have adb installed and it recognizes your device, you need to open up cmd and navigate to the folder that adb.exe is located. Then, use the adb push command as outlined above.
Download stock images from Google's website and flash it via fastboot. If you don't know how to do it then use a toolkit like WuguFresh to do it for you.
Sent from my Nexus 4
You can also use the toolkit for pushing a ROM in your SDcard, or backup your SD in your pc.
Envoyé depuis mon Nexus 4 en utilisant Tapatalk 4 Beta
The PC reads the device as it detects it but when I type in adb devices it doesnt show up. It only ever shows up when I enter the sideload menu in TWRP
atulalvenkar said:
Download stock images from Google's website and flash it via fastboot. If you don't know how to do it then use a toolkit like WuguFresh to do it for you.
Sent from my Nexus 4
Click to expand...
Click to collapse
Thanks man. This toolkit saved my nexus!
Sent from my Nexus 4 using xda premium

[Q] Enable USB debugging for ADB with a wiped device. Is it possible?

Hi there.
I have a Nexus 4 with a failed root through Nexus 4 Root toolkit.
The toolkit unlocked the bootloader with no problems but it failed at applying SuperSU-v1.45.zip through ADB through CWM
I am pretty certain that this process failed because I did not Enable USB debugging before starting.
So, I think the question I want to ask is: Is it possible to Enable USB debugging so I can apply perform adb sideload SuperSU-v1.45.zip
Do I have any other options? At present the device won't boot into Android OS. The states I currently have are either
1. fast boot mode
and then Recovery Mode -> CWM
2. Just a black screen, the Google logo, and an unlocked padlock
Any pointers would be greatly appreciated
Thanks!
jon.
Why CWM? TWRP is a lot better.
And Android USB debugging has no job in recovery so it isn't necessary if you're sideloading
Oh, and a few extra bits of info:
* I am on a mac
* I am pretty sure it's the adb ruining the party because when I do this:
(null) latform-tools jonwhittlestone$ adb devices
List of devices attached
(null) latform-tools jonwhittlestone$
Ahh thanks Lawstorant. Maybe my question isn't warranted then, or I'm barking up the wrong tree with ADB/USB debugging. Needless to say, I didn't enable it and surely this is not going to stop me rooting?
How can I get replace CWM with TWRP bearing in mind I can't get into the OS anymore - I'm a total Android root newbie as of this morning?
jonwhittlestone said:
Ahh thanks Lawstorant. Maybe my question isn't warranted then, or I'm barking up the wrong tree with ADB/USB debugging. Needless to say, I didn't enable it and surely this is not going to stop me rooting?
How can I get replace CWM with TWRP bearing in mind I can't get into the OS anymore - I'm a total Android root newbie as of this morning?
Click to expand...
Click to collapse
You shouldnt have used a toolkit.
Anyways, i think that you are misunderstanding this. You DO NOT need usb debugging enabled for adb to work while in a custom recovery. Adb works by default in a custom recovery.
I would suggest pushing a rom onto your phone (download a rom on your mac, put the phone into cwm, and run "adb push rom.zip /sdcard/").
After that go back to the phone and choose: wipe data/factory reset, wipe cache partiiton, advanced> wipe dalvik cache. Then go to install zip from sdcard and install the rom that you just pushed.
*Download the newest TWRP .img file from TWRP website
*Rename it to recovery.img to get rid of that long name
*Go into bootloader but don't choose anything (fastboot mode)
*In ADB type: fastboot flash recovery file_location/recovery.img
Sideloading in TWRP is in Advanced menu
consonant edbreach
Chromium_ said:
You shouldnt have used a toolkit.
Click to expand...
Click to collapse
Thanks Chroumium_, the procedure is becoming clearer. I should have known better to use a toolkit for sure.
I had actually followed Lawstorant's advice and put on twsrp, nevertheless - when I try to push a zip with adb, I get the following
(null)latform-tools jonwhittlestone$ adb push cm-10.2-20130815-rootandboot-mako.zip /sdcard/
error: device not found
Is this because I don't have the correct Nexus 4 drivers? The way I've always handled File transfers is with Android File Transfer so presumably I have go the correct drivers.
I am guessing if I had removable media, I could have put the zip on that...
jonwhittlestone said:
Thanks Chroumium_, the procedure is becoming clearer. I should have known better to use a toolkit for sure.
I had actually followed Lawstorant's advice and put on twsrp, nevertheless - when I try to push a zip with adb, I get the following
(null)latform-tools jonwhittlestone$ adb push cm-10.2-20130815-rootandboot-mako.zip /sdcard/
error: device not found
Is this because I don't have the correct Nexus 4 drivers? The way I've always handled File transfers is with Android File Transfer so presumably I have go the correct drivers.
I am guessing if I had removable media, I could have put the zip on that...
Click to expand...
Click to collapse
Im pretty sure that mac doesnt require any drivers to be installed. Try running these commands first:
Code:
adb kill server
adb start server
Also make sure that your adb is up to date (using the sdk manager). If its still not working try other usb ports or cables if you have any.
At this point adb is the only way to move the zip onto the phone, since the nexus 4 doesnt not support usb mass storage.
Chromium_ said:
Im pretty sure that mac doesnt require any drivers to be installed. Try running these commands first:
Code:
adb kill server
adb start server
Also make sure that your adb is up to date (using the sdk manager). If its still not working try other usb ports or cables if you have any.
At this point adb is the only way to move the zip onto the phone, since the nexus 4 doesnt not support usb mass storage.
Click to expand...
Click to collapse
Thanks to both - I've now solved and rooted
I reflashed with the stock google image
Followed androidpolice.com/2013/07/24/how-to-flash-your-nexus-4-to-android-4-3-jwr66v-and-root-it-right-now/
And - got the official TRSW from Gooapps on the Market
Flashed the SU update using the shell script - all details in the link above.
current supersu is 1.65
Can i enable usb debugging via locked phone [pin screen lock]
ok so i have a phone its an lg k5 or in mexico lg q6 a friend has asked me to unlock it with out doing any kind of hard reset or format so he he can access the pictures and other things on the phone since it belongs to his brother who passed away. anyways does anybody know of any way i can enable usb debugging so i can reset the lock screen via ADB ?? or maybe some other way?

[Q] TWRP no OS installed, can't connect to PC

Hello,
I just got the OTA message for 4.4 and tried to install it but I got a bootloop. After clearing the cache and performing a factory reset in TWRP (which got installed through Nexus Toolkit) it still didn't work. Someone told me to perform a complete format through TWRP which I did (hindsight, I know) and now TWRP says I have no OS installed, adb won't see my device (I have the drivers installed) and when I go into the bootloader (which says FASTBOOT MODE) fastboot still won't recognize the device (nothing shows up on my PC either but that can be normal).
I'm at my wit's end here, is there anyone who can help me?
You need to realize that if you want to install OTA, you need to use stock recovery. Even though it is possible to flash through TWRP, it can still run into problems. Especially when you made root modifications to your device.
You don't have to do a full wipe for everything. There is a method to flash factory firmware without wiping data (link in my signature). After that if it still don't boot due to existing data, boot into a custom recovery and do a factory reset without wiping the internal storage.
But since you have custom recovery already, just go into the Development section, find a stock KitKat rom, download it and sideload it using TWRP (which is enabled it in the Advance menu).
eksasol said:
You need to realize that if you want to install OTA, you need to use stock recovery. Even though it is possible to flash through TWRP, it can still run into problems. Especially when you made root modifications to your device.
You don't have to do a full wipe for everything. There is a method to flash factory firmware without wiping data (link in my signature).
But since you have custom recovery already, just go into the Development section, find a stock KitKat rom, download it and sideload it using TWRP (which is enabled it in the Advance menu).
Click to expand...
Click to collapse
Yes I've tried that but I don't know how to sideload it. adb doesn't see my device, fastboot doesn't either and windows doesn't recognize the device (although I have the adb naked drivers installed).
fverswijver said:
Yes I've tried that but I don't know how to sideload it. adb doesn't see my device, fastboot doesn't either and windows doesn't recognize the device (although I have the adb naked drivers installed).
Click to expand...
Click to collapse
If it is connected adb should see your device while in TWRP. Fastboot only work in fastboot mode (bootloader screen), not in recoveries. If you have the UND installed then they both should work, if not it wasn't installed correctly. If you are using Windows 8 you need to disable driver signature before you can install UND (search google for that).
You could also make a bootable Ubuntu flashdrive, and use the ADB/Fastboot for Ubuntu link in my signature to install them.
eksasol said:
If it is connected adb should see your device while in TWRP. Fastboot only work in fastboot mode (bootloader screen)
Click to expand...
Click to collapse
I tried both. ADB devices gives me an empty line and fastboot devices (when in bootloader screen) gives me nothing at all. I've tested 2 different computers (both windows 7 x64) and it still won't detect it. When in TWRP windows tries to detect my device but it says "Unknown Device" and gives the yellow triangle.
fverswijver said:
Yes I've tried that but I don't know how to sideload it. adb doesn't see my device, fastboot doesn't either and windows doesn't recognize the device (although I have the adb naked drivers installed).
Click to expand...
Click to collapse
You might have to point the drivers to your phone. If you go into device manager, see if your Nexus 4 has an error. If it does, right click it, and then update the driver. Do a manual install, and point it to the .ini file for the driver
fverswijver said:
I tried both. ADB devices gives me an empty line and fastboot devices (when in bootloader screen) gives me nothing at all. I've tested 2 different computers (both windows 7 x64) and it still won't detect it. When in TWRP windows tries to detect my device but it says "Unknown Device" and gives the yellow triangle.
Click to expand...
Click to collapse
Fix your drivers, uninstall them and select the checkbox to delete the driver files, search Google on how to disable driver signature and try reinstalling the driver again.
or
Make a bootable Ubuntu flashdrive, and use the ADB/Fastboot for Ubuntu link in my signature to install them.
eksasol said:
Make a bootable Ubuntu flashdrive, and use the ADB/Fastboot for Ubuntu link in my signature to install them.
Click to expand...
Click to collapse
I did this and still the same, adb gives an empty list and fastboot gives nothing.
fverswijver said:
I did this and still the same, adb gives an empty list and fastboot gives nothing.
Click to expand...
Click to collapse
Try using a different cable and on different computers.
eksasol said:
Try using a different cable and on different computers.
Click to expand...
Click to collapse
I've tried 3 different computers, 2 different OSes and 3 different cables. Nothing seems to work. I'm really starting to panic now.
fverswijver said:
I've tried 3 different computers, 2 different OSes and 3 different cables. Nothing seems to work. I'm really starting to panic now.
Click to expand...
Click to collapse
Just to clarify, see attachment for the correct name of the device if UND is installed correctly.
If you tried it with Ubuntu, make sure you do the 1st step from here also:
http://bernaerts.dyndns.org/linux/74-ubuntu/245-ubuntu-precise-install-android-sdk
Same here
i installed the ota update normally with twrp installed everything went fine but im kind of disappointed in this update:/
eksasol said:
Just to clarify, see attachment for the correct name of the device if UND is installed correctly.
Click to expand...
Click to collapse
These are my findings:
Ubuntu:
- Bootloader (fastboot)
-- running lsusb in Ubuntu shows no device
- TWRP (adb)
-- running lsusb shows no device
Windows 7 (3 different computers)
- Bootloader (fastboot)
-- Windows gives the following popup, no device listed in Device Manager
- TWRP (adb)
-- Windows gives the same popup as on fastboot and this appears in the Device Manager:
fverswijver said:
These are my findings:
Ubuntu:
- Bootloader (fastboot)
-- running lsusb in Ubuntu shows no device
- TWRP (adb)
-- running lsusb shows no device
Windows 7 (3 different computers)
- Bootloader (fastboot)
-- Windows gives the following popup, no device listed in Device Manager
- TWRP (adb)
-- Windows gives the same popup as on fastboot and this appears in the Device Manager:
Click to expand...
Click to collapse
Is file transfering working atleast? If it is, then it's a software problem. If it isn't, then it could be a hardware problem, you can try replacing the USB charging board for the phone. Also some roms with corrupt files can cause this issues, so try a different roms if you haven't.
File transfer used to work but atm I'm unable to even connect it to a computer so I can't actually transfer any files. If I could I would flash a rom but no files = no flashing.
fverswijver said:
File transfer used to work but atm I'm unable to even connect it to a computer so I can't actually transfer any files. If I could I would flash a rom but no files = no flashing.
Click to expand...
Click to collapse
Get one of these: http://www.ebay.com/sch/i.html?_nkw=nexus+4+usb+charging+port+replacement&_sacat=0
If it don't work, then use the phone as a door stopper.
hey guys, I'm having the same problem here but with a Nexus 5 now.
Its been over a month and I've kind of gave up over the situation.
I couldn't resist to write a comment on the thread, since it appears to be the same problem as mine.
long story short, I decided to order an USB charging port to replace the one on the phone (as my last attempt).
Otherwise I will consider using the device as a door stopper.
Do not despair! Check this out: http://highonandroid.com/android-ro...r-android-in-a-bootloop-with-no-os-using-adb/
http://highonandroid.com/android-roms/how-to-copy-files-over-to-your-android-in-a-bootloop-with-no-os-using-adb/
i installed nokia xl rom into my device un fortunately i wipe the os and later i copy a rom file into my sd card and tried to flash tjat but it showing unable to open the zip. iam stuck with my company logo on the screen. twrp cannot open the zip and flash the rom. please help me in this issue.
thanks in advance

Categories

Resources