Help installing ADB - Nexus 4 Q&A, Help & Troubleshooting

My phone only has cwm with no zip rom files.
I know i need adb files to recognize my phone in order to put in the zip files to my internal storage. I am having a difficult time installing adb drivers.
What do i have to enable on my phone in order to install the adb files? I have nothing on my phone except cwm.....thanks.

You dont need to do anything on your phone. All you gotta do is have it in CWM while you use the adb commands.
What you need to do is get the drivers working on your PC. Try installing Koush's Universal ADB driver (google this).

Related

Question about ADB

I am currently running CM 4.2.2. on MT3G and I have been reading/hearing a lot about adb. Is it required to do something you can't do otherwise? Also, I downloaded the adbwin.zip wrapper and when i do "adb devices" my phone shows up as connected and I can browse through the file system and stuff. Does that mean that adb is working fine?
I tried installing an apk named test.apk that was in the main folder of the sd card by doing "install /sdcard/test.apk" but it didn't work.
Any help?
ADB isn't required, but it sure does make doing some stuff easier.
Refer to that guide if you want to setup ADB, it'll show you some commands for ADB also. Hope that helps
http://forum.xda-developers.com/showthread.php?t=532719

ADB Problem with HTC Magic Vodafone

Hello, I install the android SDK correctly and install all correct drivers, all correct files from the google repository, and reading on unlockr, you need to type CMD and enter a few commands, the final one being ADB devices, which is meant to bring up your device serial/id but doesnt show nothing for me, i deleted all drivers with a program, and it re-installs them, I put the phone into debug mode too, but whatever i try, i cant root my magic (32B), please help!!!!
i have followed every single guide but cant blooming root my phone!!!
HELP!!!!!!!!
Install the HTC Sync software first. If this connects correctly and recognizes your phone, then the ADB will find it too. I use it as a test, whether the drivers are installed correctly or not.
To start the ADB, you have to navigate to the folder where the SDK was extracted using the CMD Prompt, and then into /tools. There you type ADB and the command you want to execute.
done that mate, going to /tools and then adb devices and its meant to say a device serial, but on mine it shows nothing
As far as I know, you have to have a recovery installed to access adb.
Write "fastboot devices" while in /tools to see if the drivers are OK. When you install a recovery, adb should be accessible.

Can't sideload onto NSTG

Firstly i rooted with GlowNooter, but the market wasn't working, so I figured might as well go with tinynooter as I don't any other gapps.
I've successfully rooted with tinynooter now, but I'm not sure how I can sideload applications. I have them copied onto the sd card, but how do i navigate to the sd card? The supermanager that's included isn't working
And amazon appstore doesn't work for me since I'm outside of the USA.
What's the easiest way to get a file manager installed (or is there one somewhere im unaware of) ?
What you need to do is set up ADB on your computer - ADB = Android Debug Bridge, and you can use it to install apk files to rooted devices.
ADB wireless, included in glownooter and tinynoot, lets you issue ADB commands to your device over the wireless connection, eliminating one hassle that many folks have - getting ADB running over USB. I think but don't remember for sure that you need to have the "allow non-market apps" tickbox ticked in the Nook Color tools for this to work.
The command to install an app via adb is just
adb install appname.apk
(that assumes that you are running the command from the same directory that you have the APK sitting in on your computer.)
To install files that you already have copied to your device, you can do:
adb connect x.y.a.b
where x.y.a.b is your wifi IP address
then (with tinynoot; glownoot users don't need this step, I don't think)
su
then
cd /sdcard
pm install appname.apk
(pm is the android package manger, which you are running directly in this case.)
How do you install ADB?
written guide:
http://forum.xda-developers.com/showthread.php?t=879701
video guide:
http://www.xda-developers.com/xda-tv-2/pro-tip-number-4-installing-applications-using-adb-xda-tv/
Thanks a dozen, I was just reading up on that, and i managed to get it to work

No OS but only CWM recovery

I want to flash a rom but i can't save the zip files to my storage. What do i do?
I have no os but only cwm. Please help, thanks.
dicksonjoe said:
I want to flash a rom but i can't save the zip files to my storage. What do i do?
I have no os but only cwm. Please help, thanks.
Click to expand...
Click to collapse
ADB Sideload
1. Connect your phone make sure it's actually connected. No errors in Device Manager
2. Rename the downloaded ROM you want to flash to something basic, like rom.zip (Names can get rather long)
3. Open CMD (command prompt), & navigate it to the folder you placed the ROM in. or just press shift and right click on the folder where the rom is and select open command prompt here
4. Boot to recovery on your phone and enable the ADB sideload function. Under Advanced in TWRP...not sure about CWM
5. in CMD type adb sideload rom.zip or what ever the name of the .zip is
6. Let TWRP or CWM flash the zip and prompt for reboot.
7. Reboot and be happy, your phone is fixed!
You can then transfer the gapps to your internal storage and flash the normal way through your reecovery or just go through the same process for the gapps after you flash the rom.
I am having trouble installing the adb file.
I don't know what mode my phone needs to be on in order to install adb file.
dicksonjoe said:
I am having trouble installing the adb file.
I don't know what mode my phone needs to be on in order to install adb file.
Click to expand...
Click to collapse
Installing adb doesnt have to do with what mode your phone is in.

Stuck on TWRP

Hi forum
I'm stock in TWRP after I flashed the SlimKat OS for the D802 on a too old recovery.
So I'm moving forward with ADB pushing a newer recovery.zip onto my phone but this is where I'm stuck. Although the command is very simple Windows 8 isnt recognizing the G2 even through I've installed root from this PC.
I guess my question is does anyone have a link for the very lg G2 driver when in TWRP mode? Apprently it's not the same as the one you use to root etc.
A million thanks for saving my day!
I found out I need to force Windows to recognize the driver as a LGE ADB device. Now I can push the file but I can't locate the file. What am I doing wrong?
adb push recovery.zip /sdcard/
The file is copied but I can't locate it on sdcard?
Haha I end up fixing my own issue. I just forgot to mount the DATA folder
Aaaannnd it worked. Thanks for looking either way

Categories

Resources