How to resolve ADB "Device not found" error - AT&T, Rogers HTC One X, Telstra One XL

I found out the issue with the ADB environment & was able to finish off s-off , firmware upgrade & move to CleanRom 7 since yesterday and it is looking good.
For the masses, if it is of any interest. These are the steps I followed.
Pre-Requsite for S-OFF : Unlocked bootloader, Rooted etc.
a. Download the ADK (Android Dev Kit) ~470MB (This was the only option which worked for me)
b. Extract & copy the folder platform-tools to C:\ as android
c. Set the environment path to point to this folder. This would resolve all your *device not found* errors while running ADB.
If not, then
1. Remove all HTC drivers & sync software
2. Run a registry cleaner like Ccleaner to remove any leftout entries.
3. Download & run the latest HTC sync software.
4. Once Install has completed, connect your phone & switch on USB debugging. The PC would recognize the phone & install most drivers.
5. Fire up a CMD window in the Android folder & run "adb devices". If you see your phone listed, you're good to go.
Else,
6. Reboot the phone to bootloader & give it a wait. It should install the Android phone 1.0 device driver.
7. Boot the phone to Android & wait for system to install all drivers once more.
8. Run the command in step 5 again to verify that system recognizes your device.
If the above steps work, go ahead and s-off your phone. Then do the firmware upgrade if you wish & you should be able to run any ROM without issues.
Don't execute any steps while flashing ROMs if you don't see your device through ADB or don't understand what the step means :fingers-crossed:
Click to expand...
Click to collapse

Related

Google Ion Developer's Edition

I need some help installing amon_ra's recovery. In adb it states I don't have permission to push files. If I try to run a fastboot it states I don't have permission. How can I get the above mentioned recovery on this phone ?
timal said:
I need some help installing amon_ra's recovery. In adb it states I don't have permission to push files. If I try to run a fastboot it states I don't have permission. How can I get the above mentioned recovery on this phone ?
Click to expand...
Click to collapse
You should ask this in the thread that already exists.
If you follow every step listed, that won't happen. Do not skip any steps.
Do not skip any steps
1. Boot the device in fastboot mode, hold down the back button while powering on.
2. Connect via USB.
3. "fastboot boot recovery-RAv1.1.1H.img"
It will reboot into the custom fastboot with a black background. Then you'll be set to do these commands:
adb shell mount -a
Ignore the the errors...
adb push recovery-RAv1.1.1H.img /system/recovery.img
adb push recovery-RAv1.1.1H.img /sdcard/recovery-RAv1.1.1H.img
adb shell flash_image recovery /sdcard/recovery-RAv1.1.1H.img
adb shell reboot
I would have tried all that except the adb drivers are not working with the magic on windows vista. Device manager only shows Android 1.0
timal said:
I would have tried all that except the adb drivers are not working with the magic on windows vista.
Click to expand...
Click to collapse
they work fine, you just need to properly install them.
k4r1m said:
they work fine, you just need to properly install them.
Click to expand...
Click to collapse
Device manager only shows Android 1.0 Which I installed from the most recent sdk. Adb only will show 'waiting for device' even when I try to boot the recovery before flashing.
timal said:
Device manager only shows Android 1.0 Which I installed from the most recent sdk. Adb only will show 'waiting for device' even when I try to boot the recovery before flashing.
Click to expand...
Click to collapse
Switch to Linux ... nah just kidding... you obviously have a driver "issue", it happens to many people using Micro$oft Vi$ta...
Perform the following steps (do not skip any steps) on Vista :
1. Make sure your phone is not connected via usb
2. Download USBdeview and run it as admin (it's very important to run it as admin otherwise you will be unable to uninstall!).
3. Uninstall all drivers that mention Android in the device name or description.
4. Make sure that USB debugging is enabled in your phone (Settings - Applications - Development - USB debugging).
5. Connect your phone via usb.
6. Vista will now look for drivers, point it to the sdk drivers and make sure it uses those.
7. Check with "adb devices" to see if your phone listed.
Amon_RA said:
Switch to Linux ... nah just kidding... you obviously have a driver "issue", it happens to many people using Micro$oft Vi$ta...
Perform the following steps (do not skip any steps) on Vista :
1. Make sure your phone is not connected via usb
2. Download USBdeview and run it as admin (it's very important to run it as admin otherwise you will be unable to uninstall!).
3. Uninstall all drivers that mention Android in the device name or description.
4. Make sure that USB debugging is enabled in your phone (Settings - Applications - Development - USB debugging).
5. Connect your phone via usb.
6. Vista will now look for drivers, point it to the sdk drivers and make sure it uses those.
7. Check with "adb devices" to see if your phone listed.
Click to expand...
Click to collapse
Thank you I tried all the above. Long story short brick, no power dead . This hobbie is getting expensive.

[Q] Modding From A to B Guide?

Sorry to sound pig ignorant about phones but I am ... my expertise is in PCs. So anyway I want to upgrade the Hero with CyanogenMod.
I backed up my contacts, apps, etc and rooted the phone with unrevoked ... lost everything in memory in the process, but that's OK -- the important stuff is backed up.
Rebooted into stock 21. ROM and skipped all the new user stuff ...
OK, here's where I'm lost ... to load the CyanogenMod ROM I apparently need something like Amon-RA, but to load Amon-RA image file I need to install the SDK pack.
So I downloaded the SDK pack, but it is nothing like what is described in all the install SDK posts I've been able to find. What I have found are instructions about running ASroot and other files that don't exist in the SDK version I have.
So like what do I do now, more important ... is there an A to B thread for doing this mod starting from a stock phone, going to unlocking, than loading SDK, than installing Amon-RA (or equivalent) and than installing CyanogenMOD.
I know all this info is out there, but it seems like most of the files I've found don't interface well in the sense that the ones that talk about doing step one aren't terribly relevant to ones that talk about step 2, etc.
Thanks
Yes. Its a sticky at the top of the page. Search "guides" lol...
Sent from my HERO200 using XDA App
All you need to do with the sdk is download it and extract it. I just put it in the root of my C: drive. Then open a cmd prompt in windows by going to Start > Run > cmd (press enter). Then in the command prompt you need to change directories to the sdk folder you extracted. For example, mine is in C:\android-sdk-windows. I just type "cd c:\android-sdk-windows" then "cd tools" to get into the directory where you can run the adb program. Make sure your phone is in debugging mode by going to settings > applications > development > check the USB Debugging box. Then you can hook the phone up to the usb and run the command "adb devices". If everything is working correctly then you should see a device serial number show up. If that doesn't work make sure you have the htc drivers installed by downloading htc sync from their website and installing it.
Once adb can see the phone then you should run the command "adb shell" and then when you get a $ prompt type su in order to elevate to root. Make sure you put a recovery image on the phones sd card using step 4 from this guide: http://forum.xda-developers.com/showthread.php?t=694572 I think he has a link to download the recovery in that guide but just in case here is a direct download link for the recovery: http://www.androidspin.com/downloads.php?dir=amon_ra/RECOVERY/&file=recovery-RA-heroc-v1.6.2.img Feel free to rename it to recovery.img so that the commands in the guide can be used as is.
Now you should be able to start at step nine from the guide in that thread (you should be in an adb shell when you start). It should be the adb command to flash a recovery image. Once you do that installing roms is as simple as putting them on your sd card and booting into recovery to select the flash option.

Guide on how to use Alpharevx for Newbies

This is a guide for all those who want to have S-off for their HTC Desire S !!!
I will try to elaborate as much possible so that you understand this easily !
Need :
1. HTC desire S with S-ON
2. Hboot : 0.98.0000 (this the only 1 supported for now. Please check the Hboot version before you proceed else it might brick your phone)
3. No need for any drivers or anything nor HTC sync
Linux system :
I used Ubuntu 11.04. But this manual would work for all Linux Systems.
1. Go to http://alpharev.nl/x/beta/
2. Click on Download for Linux
3. Now download the package
4. Now go to the location where this package you have downloaded and extract it to find Alpharevx file.
5. Next take your HTC Desire S. Goto Menu>Settings>Applications>development and turn USB debugging mode on.
6. Now connect your phone to the computer and select Charge only mode.
7. Now open terminal and go to location where you have Alpharevx and type sudo ./alpharevx in the terminal.
8. It would detect your phone, show you you serial number and ask for Beta key.
9. Now on the http://alpharev.nl/x/beta/ enter this serial along with selecting your model and Hboot version.
10. Press generate to get the beta key.
11. Now copy this key as it is and paste in the terminal and press enter.
12. Within 5 min your phone should be unlocked. You can see your phone restart couple of times during this period and then see that its S Off.
13. You will get a message Complete and option if you want to download Clockworkmod recovery.In case cell hangs or any issues. Start again from step 1.
14. I would suggest you say yes to it. It downloads and installs it.
15.Once you get the message that its complete. You can Unplug your phone and enjoy the Power of Android now.
Screenshot :
http://forum.xda-developers.com/atta...1&d=1310301451 (Credits : Nodeffect)
Windows : (credits : chockyT)
Note : You will need to install drivers for your phone but PC Sync should be not installed or uninstalled if installed already.
In case you have PC Sync installed...
Uninstall HTC Sync
Download the windows HTC drivers from Alpharevx's website and install
1. Go to http://alpharev.nl/x/beta/
2. Click on Download for Windows
3. Now download the exe
4. Now go to the location where this alpharevx.exe.
5. Next take your HTC Desire S. Goto Menu>Settings>Applications>development and turn USB debugging mode on.
6. Now connect your phone to the computer and select Charge only mode.
7. Now run this alpharevx.exe. (In case of Windows Vista and 7. Right click and run as administrator)
8. It would detect your phone, show you you serial number and ask for Beta key.
9. Now on the http://alpharev.nl/x/beta/ enter this serial along with selecting your model and Hboot version.
10. Press generate to get the beta key.
11. Now copy this key as it is and paste in the alpharevx.exe box and press enter.
12. Within 5 min your phone should be unlocked. You can see your phone restart couple of times during this period and then see that its S Off.
13. You will get a message Complete and option if you want to download Clockworkmod recovery.In case cell hangs or any issues. Start again from step 1.
14. I would suggest you say yes to it. It downloads and installs it.
15. Once you get the message that its complete. You can Unplug your phone and enjoy the Power of Android now.
Guys I have tried my best to keep this explanation as simple as possible. If you have still any problems or face issues feel free to ask.
Btw finally if any1 of you wants me to create another thread for steps for flashing custom roms after S-Offing your phone which I think we already have lots at XDA. But still if you want would post a simple 1 only if people want.
Hope this thread helped
S-off your phone and enjoy !!!
vampire36 said:
7. Now open terminal and go to location where you have Alpharevx and type ./alpharevx in the terminal.
!
Click to expand...
Click to collapse
ASAIK: you have to use
sudo ./alpharevx
this tool needs admin rights. When you start it without your phone will not be found. It happened to me too. Afterwards i tried sudo and it worked perfect.
I think this manual will be helpful for others
I was able to s-off my device but during the installation of clockwork mod, nothing happens. do i need to start again to step 1? thanks
I used XTC Clip so i have no idea what this is, but it seems like a very detailed and helpful guide. Will be pretty useful for newbies.
Does it work straight off the bat without having to download things such as android SDK? Thinking of getting an ubuntu live cd and using that.
Sent from my GT-I9000 using Tapatalk
tanivula said:
Does it work straight off the bat without having to download things such as android SDK? Thinking of getting an ubuntu live cd and using that.
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
YES!
Great guide!
Thanks for the great guide. It's actually almost the same as this one if you guys prefer this one better (just to share).
http://forum.xda-developers.com/showpost.php?p=15486696&postcount=138
Rooting with AlphaRevX using Ubuntu:
For those who want to use Ubuntu (it's not that difficult once you get used to it):
1. Download Ubuntu from the Ubuntu site.
2. Burn image onto CD/DVD (follow instructions provided at the site. If you have Windows 7, you can simply use the Windows Disk Image Burner program).
3. Reboot computer. Allow Bootup popup menu (usually F8?).
4. Select DVD/CD-drive.
5. Wait a bit for things to load. Choose "Try" aka Live CD Mode, no need to install, unless you want Ubuntu.
6. Connect phone, making sure that Debugging Mode is enabled. Download AlphaRevx for Linux (Firefox included with Ubuntu). Keep that browser window open.
7. Extract the downloaded file and make sure it's at the root directory (in Ubuntu, that's Ubuntu/Ubuntu, if I recall correctly).
8. Search for the Terminal (Windows key pops up the search, I think; otherwise, it's the icon on the top left corner of your screen), run Terminal.
9. Type in "sudo ./alpharevx".
10. It'll provide a key. Go back to the browser window where you downloaded Alpharevx - there's a form to fill out. Type in the key. It'll generate a second key. Type that key into the Terminal.
11. Make sure it says that everything is successful. It'll ask if you want to flash Clockwork. Type in "Y".
12. Once it shows success, reboot.
Never had any permissions problems, but sudo su between step 8 and 9 if you do.
- Hope you could make a guide on how to flash custom ROMS. Thanks.
guys, having problem, stuck at downloading recovery for your phone.... how long does it takes usually? how can I end it?
Thanks for the guides. Used Ubuntu's wubi installer to get Ubuntu onto my second hard drive then just deleted it from the hard drive after I was done.
Flashing a rom is very easy. You need to make sure you have Clockwork Recovery installed which the AlphaRev X tool actually does for you.
You'll need to install titanium backup from the market to backup any apps if you want to, as all your apps will be removed when you do this.
1) Download the rom you want to install; it should be a .zip file; and put it onto the root of your sd card (this means copy it straight over into the sd card and not into any folders within it)
2) Remove the battery from your Desire S and replace it, this makes sure your phone is not fast booting when you turn it off and on.
3) Turn your phone on while holding down both the Power button and the Volume down button. This will boot you into Clockwork Recovery.
4) Using volume up and volume down to move up and down the selections, and power button to select, go to wipe data/factory reset. THIS WILL WIPE ALL YOUR DATA BUT NOT ERASE YOUR SD CARD. Follow it through.
5) Now select 'install zip from sdcard'.
6) Locate the zip file and select it using the power button. Select the option to install it.
7) Wait until its finished, then reboot the phone, you can do this by removing the battery and putting it back or selecting the reboot option.
DONE!
Hope this helped!
nodeffect said:
guys, having problem, stuck at downloading recovery for your phone.... how long does it takes usually? how can I end it?
Click to expand...
Click to collapse
Definitely shouldnt take more than a few minutes, the recovery file is quite small and with your internet speed it should download in a few seconds.
You can always install recovery manually by downloading ROM manager from the market.
I made a screenshot for those who are new to Ubuntu/Linux. Hope this helps.
http://forum.xda-developers.com/attachment.php?attachmentid=650642&stc=1&d=1310301451
kadettilac89 said:
ASAIK: you have to use
sudo ./alpharevx
this tool needs admin rights. When you start it without your phone will not be found. It happened to me too. Afterwards i tried sudo and it worked perfect.
I think this manual will be helpful for others
Click to expand...
Click to collapse
Yup...
My mistake...
Corrected...
Thanx
ghuk said:
I was able to s-off my device but during the installation of clockwork mod, nothing happens. do i need to start again to step 1? thanks
Click to expand...
Click to collapse
I mean after sometime depending on your net speed don't you get a message that Clockworkmod installed...
No you don't have to repeat all steps just check if your phone is S-off...
If so you can install Clockworkmod manually...just search in the forum for latest 1...
Hi,
I used windows version on win7 pro x64,
it worked for my DS though after 3d try.
For windows version you will NEED install Drivers for your phone but PC Synch should be not installed or uninstalled if installed already.
In my case it went 2 times not good,but 3d time - ok, but after installing of CWM shell just disareared, however after reboot I could check that CWM was successfully installed.
PS you should run alpharevx.exe with admin privileges. (rigch click on alpharevx.exe -> run as Administrator)
PPS be patient!!! I aborted the 2d try because I thoght i'ts hanging, but next time it took about 20 min till shell disapeared...
S-off with Alpharev, Root with Gingerbreak and Clockworkmod Recovery with ROM Manager, thanks to everyone involved
In case anyone needs it for windows (although it is quite straight forward), sorry if im stepping on anyones toes,
vampire36 said:
Need :
1. HTC desire S with S-ON
2. Hboot : 0.98.0000 (this the only 1 supported for now. Please check the Hboot version before you proceed else it might brick your phone)
3. No need for any drivers or anything nor HTC sync
Click to expand...
Click to collapse
1, I personally did a factory reset but apparently this is not necessarily needed
2, Uninstall HTC Sync if its installed on your PC/laptop
3, download the windows HTC drivers from Alpharevx's website and install
4, download the windows version of alpharevx from the same website ensuring you fill in the necessary details and take note of the serial
5, on your phone ensure you have USB debugging ticked (Menu>settings>applications>development)
6, connect phone to computer using USB cable and select 'charge only'
7, Extract the files from the downloaded alpharevx zip package and right click the exe file and 'run as administrator'
8, Give it a few minutes and it should be S-OFFed, your phone should restart a few times and youll eventually see the S-ON will have changed to S-OFF.
9, a message will come up in alpharevx saying something about downloading clockwork, say Yes (must be connected to the internet), it wont take long at all
10, As in vampires OP if the phone hangs for too long (alpharevx suggests 15+ minutes) then restart your phone and start again, also if it says waiting for device... for ages (like my noobie error did) then see step 5.
11, once its done it will stay on the bootloader screen, just unplug your phone, reboot and jobs a good un.
12, rejoice and thank any and every member of the alpharevx team until you vommit
On that note - Thank you alpharevx team, i absolutely love you!!
FYI: I used windows 7 home premium 64 bit and it has worked, obviously lol.
If anyone wants to rewrite my pathetic guide please do
Si
The webform to have a beta key has disappeared ?
edit : nwm I need to stop drugs
I followed the guide posted by chockyT and got my Desire S S-Off on first tried using Windows 7 64bit. =)
Lyner24 said:
I followed the guide posted by chockyT and got my Desire S S-Off on first tried using Windows 7 64bit. =)
Click to expand...
Click to collapse
Glad it worked I was worried it didnt make sense
Is there a way to go back to S-on after having used alpharevx? I'd like to try some custom roms, but only if then I can restore the phone to factory conditions.
Sent from my HTC Desire S using XDA App

[Q] Having trouble installing adb for Windows

Problem getting adb installed.
Installed the JDK.
Installed the Android SDK, revision 15.
Now I am stuck, not sure how to install ADB, don't know if it's done from within the SDK manager.
I've got a Rogers i727R. It's running 2.3.5. It's the stock ROM, rooted. I was figuring that I would have to tick the checkbox in Android SDK Manager for 2.3.5 and download those components, and that would give me everything I need.
But there is no 2.3.5. There is 2.2, and 2.3.3, and of course Android 4.
I do have drivers for my phone installed through Kies if that matters. Any pointers in the right direction would be appriciated.
Harry
Thanks goes to Silver<<<<<<
1- Like always enable your Debugging. you can enable that by going to your Settings -> Application -> Development
2- Install the android SDK . you can download it Android SDK
3- Extract the SDK to any folder, Example : C:\Android
4- Make sure you have the drivers installed- In that way your OS can talk to your phone!
now that everything is installed we can go ahead and perform a command :
1. Open the 'run' dialog by pressing the 'Windows' + 'r' buttons on your keyboard (minimize the browser & other non-windows programs) 2. cmd (this will open a DOS prompt) 3. cd c:\Android\tools (go to the directory where you extracted the SDK) 4. adb shell 5. Now you'll see just a '$' 6. logcat
You can now just press the power button on your phone to see what happens. It displays everything the device is doing.
So the thing is: leave your device connected for a while and see what is actually going on when you're not using it. Boom
__________________
OP,
Just install the 'Tools' listed there in the sdk downloader. you dont need to worry about anything else
It seems to also want me to install the Google USB Driver package. Any reason to do that?
harry_fine said:
It seems to also want me to install the Google USB Driver package. Any reason to do that?
Click to expand...
Click to collapse
just do it, it wont affect anything negatively
By the way, it worked great. I can now talk to my phone using the emulator on my PC. I see the list of adb commands, lots of stuff. Seems I can even install apk files, run a remove shell. Very cool.
Lol good luck

Guide: How to reboot your Nexus 5 without power button

Hi everyone, I would like to share my experience regarding two methods that I have used to revive a Nexus 5 whose power button just will not work. Please use this guide if your Nexus 5 dies due to a low battery and you want to boot (start) it without power button. Following methods have been successfully tested on Win 7 and 10. You can use this guide and keep using your Nexus 5 without repairing the power button. There are other guides and posts which can help you attain locking, unlocking of the screen and remapping the hardware buttons such as volume keys to perform as a power button.
Method 1
Step 1: Download adb/fastboot binaries or use Android SDK for adb/fastboot. If downloaded as a zip, extract it in a folder. It is better to download adb/fastboot minimal, as it is small and can be handy.
Step 1a: Download your phone drivers and install them. If it is a zip folder then extract it in a folder for later use.
Step 2: Plug in the micro USB in your phone. Hold both volume keys on the phone and while holding the keys plug the USB cable in to your PC’s/laptop’s USB port. Your phone will reboot in Bootloader mode where you will see START written at the top of your phone screen which is the prompt to start the system but you cannot select it, as your phone’s power button does not work.
Step 3: Open Command Prompt in windows, which is cmd . Navigate to your adb/fastboot folder which you created while extracting the zip or you might be able to use the commands from anywhere in command prompt if you have installed Android SDK.
Step 3a: Commands only work if you installed adb/fastboot correctly or you are in the binaries folder. While in the corresponding folder,
Type: fastboot devices
123456789 fastboot
The command will show devices connected in fastboot mode just like the above example
If your phone does not appear here then go to control panel>device manager search for any unknown device such as unknown device or android device ; Right click on it and choose update drivers. Do not select the auto search for updated drivers. Select browse my computer for driver and then browse to the folder where you had extracted the drivers choose the right folder and windows should install your device as android bootloader interface device.
Once installed properly, you should see your device by typing the above command again. When successful
Type: fastboot reboot
Now your phone should reboot and start normally.
Method 2
Step 1: Download Wug's Nexus Root Toolkit by Wugfresh.
Step 1a: Download your phone drivers and install them. If it is a zip folder then extract it in a folder for later use.
Step 2: Plug in the micro USB in your phone. Hold both volume keys on the phone and while holding the keys plug the USB cable in to your PC’s/laptop’s USB port. Your phone will reboot in Bootloader mode where you will see START written at the top of your phone screen which is the prompt to start the system but you cannot select it, as your phone’s power button does not work.
Step 3: Run Nexus Root Toolkit. Let it complete its initialisation and when done its main window will pop up on your desktop. If your using it for the first time it will ask for your phone model and android version. Input the details appropriately, if you do not know the android version you are running choose any build which is at the end of the list.
Step 3a: The toolkit might ask for any dependency files to be downloaded, which it will download automatically. You might be able to skip it but if you use any build or wish not to download them but it won’t harm if you download them as you might wish to use the toolkit later.
Step 4: After completing the above step. Toolkit will finally be ready to use. From the main window of toolkit click Launch under the Advanced Utilities.
Step 5: Choose Reboot System and your phone will reboot normally.
If Toolkit returns, No adb/fastboot device found then follow the next step.
Additional Step: Go to control panel>device manager search for any unknown device such as unknown device or android device ; Right click on it and choose update drivers. Do not select the auto search for updated drivers. Select browse my computer for driver and then browse to the folder where you had extracted the drivers choose the right folder and windows should install your device as android bootloader interface device.
Once drivers are installed, go to Step 5 and it should work for you.
The above methods have been used on Nexus 5 and might be helpful on other Nexus or completely different devices from other brands
For Mods: I have done my good faith search before making this guide. Please let me know if a similar guide exists or I have posted it in a wrong place.
If it has helped anyone please consider a Thanks. By the way it is my first post.
For downloads, please use search engines and you will be happily served.
No responsibility is taken, whatsoever.

Categories

Resources