Are you having issues with your windows pc recognizing your Android phone? - myTouch 3G, Magic Android Development

I dont know if this is the correct forum for this and i dont know if it has been posted before but hey, what the heck, as long as i can help out.
If you don't use Windows or adb has no problem with your device,
you can skip this.
If your G1 or HTC Magic is not properly recognized by ADB under
Windows, then your prayers are answered.
The bottom line: Make sure to enable Home > Settings >
Applications > Development > USB debugging on your G1 or HTC Magic
*before* you plug it in Windows the very first time.
If you read this after the fact, googling why "adb doesn't recognize
my device under Windows", here are the steps to fix it:
This concerns both the G1 and HTC Magic and all flavors of Windows. I dont know if it works for any other devices out there but its worth a shot.
1- Remove existing drivers
2- Plug your phone
3- Open the Device Manager
4- Remove any driver for [ADB Interface > HTC Composite ADB
Interface] and [Disk Drives > HTC Android Phone USB Device] if you see
them
5- Unplug phone
6- Edit the registry (Disclaimer: be careful what you do in regedit. If you're not sure, then do not proceed to fix your issue and get a someone who is more knowledgeable than you are at this.) Open the Registry Editor (Start > search/run > regedit) You *may* need to be administrator to do this.
7- Search for "vid_0bb4&pid_0c02" in keys or values. (This may take a
while. If you find it in a value, delete the whole key folder.)
8- Some keys may be "locked" and you will not be able to delete the keys. If this happens right-click the folder where the key is located and add "everyone" with "full control" permissions. Then delete the key folder.
9- Repeat the search till no more instances are found.
10- Close regedit.
11- Before your plug in your phone, Make sure to enable Home > Settings > Applications > Development > USB debugging on your G1 or HTC Magic
12- Plug the phone in. Windows should now ask you for a driver. (Do NOT selected to search the Windows Update. Instead select "I
will choose a driver" or the equivalent.)
13- Make sure to give the *full* path to the x86 or x86_64 driver, e.g: C:\SDK\usb_driver\x86\ or C:\SDK\usb_driver\x86_64\
If you just select "SDK/usb_driver", Windows will take the wrong
architecture and complain the driver can't be installed.
I hope this helps anyone out there.

Related

Helpful USB Troubleshooting Tips

Hiya,
If you're having problems with your phone connectivity due to USB devices/drivers, or you just feel like poking around and seeing what USB devices your system has ever met, then this may be some helpful troubleshooting information. There are two ways you can do it, either temporarily or permanently:
NOTE: Windows XP. Maybe works for Vista too, dunno for sure..
Temporary method:
1. Open a cmd.exe window.
2. Enter this: set devmgr_show_nonpresent_devices=1
3. Enter this: devmgmt.msc
4. In the resulting Device Manager, go to View --> Show hidden devices.
5. ....
6. Profit! (j/k. But all your non-present devices should now show up.)
Permanent method:
1. Open up your computer properties (Win+Pause or Win+PrtSc, I forget..)
2. Click on the Advanced tab, then click Environment Variables.
3. Under System Variables, add devmgr_show_nonpresent_devices.
4. Set this value to 1.
5. Open your Device Manager. By now you should know how..
6. Go to step 4 in the "Temporary" instructions..
7. From this point on, just follow these "Permanent" instructions from #5.
Hope this helps someone!
--Weasel5i2
Hmm, looks like this has been mentioned before:
http://www.google.com/cse?cx=000825531964825142534%3Acqr2sjirilw&q=devmgr_show_nonpresent_devices&cof=FORID%3A0&ie=utf-8&oe=utf-8
Ah well, I still hope it helps someone who isn't specifically searching for the "devmgr_show_nonpresent_devices" string!

[Q] How To root for Nook Tablet

Hi All,
I want to root my Nook Tablet .
Please show me the way how to do.
My Tablet version is 1.4.0
I was tried to root according to this instruction as below.
1. Enable USB debugging mode:
If you’re accustomed to rooting Android devices, then you know that USB debugging needs to be enabled before engaging in the finer points of hacking. This setting is typically easy to find, but it’s hidden on the Nook Tablet.
Download this APK (for Titanium Backup)
Open the app, and click “Package Installer” when presented with the first menu.
Then it will bring up a message, saying “Install Blocked.” No worries, just hit “Settings”. You’ve now just accessed your Nook’s hidden Android settings menu.
Check the box up top to allow installations for unknown sources.
Then hit “Development” at the bottom and check the two boxes for ‘USB Debugging.’ Finally, uncheck the box for ‘Auto-mount’ at the bottom of the development settings menu.
USB debugging is now successfully enabled.
2. Download & Extract
Download USB drivers and Nook & Zergy
Create a folder c:/ntroot on your desktop (obviously change the drive letter if c: isn’t your default drive)
Extract the contents of both zip files (USB drivers and Nook & Zergy) to the ntroot directory
3. Install drivers
Open that folder (c:/ntroot) and run the file runmefirst.bat.
It will ask you to unplug your Nook. Do it.
It will then ask you to plug it in (meaning connect it via USB to your desktop). Do that.
At this point, open your Device Manager on your PC. On Windows Vista and 7, simply type Device Manager in the Start Menu search. If you’re on an older Windows, right click on My Computer > Properties > Device Manager
In Device Manager, make sure you see an entry for Nook Tablet. Right click on that entry, hit “Properties,” click “Update Driver,” then “Browse My Computer,” and select the c:/ntroot/usbdrivers/ folder. If Windows gives you a warning, hit “Install Anyway”.
If all went well in the previous step, Device Manager will now list your Nook Tablet as Android Composite ADB Interface.
4. Root!
Now go back to your batch window (runmefirst.bat dialogue), and press any key to continue, like it says.
It will tell you to run NookandZergy.bat. Go ahead and run it (it’s also in your extracted c:/ntroot folder).
The dialogue that pops up should display a device number. When it asks, hit “Y” to continue (if there is no number, your drivers probably didn’t install correctly).
Hit “Y” again when it asks if you want to root it.
It will now display a list of commands, as your device is rooted!
5. Install Android Market and Google Apps
Continuing with the same NookandZergy.bat window, it will now ask you if you want to install gApps. Hit “yes.”
This will automatically install all of it for you, and will then restart your Nook Tablet.
6. Install a third-party launcher
After it’s done rebooting, disconnect the Nook Tablet from your PC.
Now open your Nook’s settings menu, and select search. You will now see that Google Search comes up, instead of the stock B&N one.
Now hit the settings button on the bottom right of the search screen, and then select “Search Settings” from the pop-up.
Select “Searchable items” and check the box for Library.
Go back to your search, and search the web for your favorite launcher. ADW Launcher, Launcher Pro, and Go Launcher are all quality options with free versions. On the Google results page, click on the Android Market link (it should be near the top if you search for the launcher’s name).
Click “Install” from the launcher’s Market page, and its entry will automatically open in the Android Market. Install the launcher.
I was used the following 3 files.
(tbp421.APK)
(usbdrivers.zip)
(Nook&Zergy.zip)
But i can`t pass root .Please see the attach photos.
Please teach me how to root this.
Best Regards,
Nyan Linn Aung
Please use the Q&A Forum for questions Thanks
Moving to Q&A
Waiting your reply.......
Hello !!!!
Anyone reply me how to root it properly.
I waiting to root it now...
Please help me !!!

Can't get One S USB driver installed!

I've tried the following:
1) Installing HTC Sync Manager and HTC Sync (the older version of Sync Manager)
2) Installing the drivers included with hasoon's All-in-One Toolkit.
Neither works. Both methods result in a device labeled "E:" showing up under "Portable Devices" in Device Manager, but adb devices shows no devices, and if I choose on the phone to use it as a disk drive, it does not show up under My Computer.
I previously had a Galaxy Nexus and I had the adb usb drivers installed for that. The only thing I can think of is that the computer is somehow still defaulting to those drivers instead of using the HTC drivers, but I don't know how to solve that problem, if that is even the problem.
Any advice would be greatly appreciated!
Oh, and I also had the android-sdk installed for my Galaxy Nexus. Any chance that completely uninstalling it would help?
I had the same problem but i just figured out how to make my PC to see the HTC One S
(My Windows 7 is in Italian, so I don't know the exact translation for the links)
Start -> Right click on Computer -> Manage -> Devices -> Select the HTC Android Phone USB Device you will have in "DVD/CD-ROM", right click on it and "Deactivate" it, then you have to right click the other HTC Android Phone USB Device you will have under "Disc units" or something like that and right click it, then "Software update" (I repeat, I don't know how the buttons will be in English since I'm on Italian windows, but it'd be similar) and select the second button "Search driver software in my computer" then again the button below "Choose manually" and then just click on "Disc unit" and finally "Next" and it should work...
Hope it helped!
chrikenn said:
I've tried the following:
1) Installing HTC Sync Manager and HTC Sync (the older version of Sync Manager)
2) Installing the drivers included with hasoon's All-in-One Toolkit.
Neither works. Both methods result in a device labeled "E:" showing up under "Portable Devices" in Device Manager, but adb devices shows no devices, and if I choose on the phone to use it as a disk drive, it does not show up under My Computer.
I previously had a Galaxy Nexus and I had the adb usb drivers installed for that. The only thing I can think of is that the computer is somehow still defaulting to those drivers instead of using the HTC drivers, but I don't know how to solve that problem, if that is even the problem.
Any advice would be greatly appreciated!
Oh, and I also had the android-sdk installed for my Galaxy Nexus. Any chance that completely uninstalling it would help?
Click to expand...
Click to collapse
Try this first:
Install drivers on you PC, as you have done. Also don't forget to enable "Debugging mode" in settings. After that, when you connect phone to PC, don't select anyhing, leave it at default of "just charging".
If after the above it still won't work, then you will have to:
1) Uninstall the drivers that you installed from the toolkit.
2) You will need to change how windows handles installation of drivers, once the device is connected.
a) Right click on "Computer", then properties.
b) From the left, click on Advances System Settings
c) Click on Hardware tab.
d) Click on the second button "Device Installation Settings"
e) If you have "Yes..." selected, select "No" instead.
f) Now select "Install driver from Win Update if it is not found on my computer and save!
3) Restart you PC
4) Go to the Hasoon's All-in-One Toolkit folder and install HTC drivers again. Just make sure your phone isn't connected at this time.
5) After intallation is done, just connect you phone. Make sure "debbuging icon" is present on the phones notification bar and that is it, you don't need to enable usb storage mode.
Hope it helps.

Regaining access to a password locked tablet.

I've no idea if this works for all Android tablets/phones but it sounds like it should.
It might also be common knowledge to most on here but I couldn't find it earlier.
This is a story that happened to a work college of mine and three of us have just spent half the morning trying to sort it out. It starts with a cheap £50 tablet from Amazon, the LelikTec A13 Touch Screen AllWinner, which my college's son bought for his daughters. Being kids they did what kids do and mucked around with all the settings which resulted in them locking themselves out of the tablet (by setting up a pattern lock and then forgetting it).
Unfortunately, the tablet was locked with the WiFi turned OFF, so an attempt to use the useful Google recovery system was unsuccessful (tip for Google there, make the password recovery system so you can enable and setup a WiFi link). Never mind, you can perform a factory reset on Android devices by booting into recovery mode by pressing the up volume and power buttons at the same time. Well for some unexplained reason this didn't work, it simply resulted in the distressing image of a dead Android on the screen.
So the next thing to do is attempt to use the Android Debug Bridge via USB. Now between us we knew this is what we needed to do, but no one knew exactly how, so here is a beginners, step-by-step guide.
Download the ADB SDK from this website.
http://developer.android.com/sdk/index.html
(If you have a 64 bit system then the top download button is all you need. If you have a 32 bit system then at the bottom of the webpage is "Download for other platforms" link and you can download the relevant software from here)
Install the ADB SDK so that it is on the c:\ drive (so that to navigate through it looks like c:\android-sdk\.....etc)
You now need to install the correct USB Drivers. If you navigate through to C:\android-sdk then you will see SDK Manager.exe.
Run up the SDK manager
Scroll through to Extras\Google USB Driver and check the box
Select Install packages. This will now have installed the usb drivers so that the development kit can talk to the tablet. (These drivers worked fine on a 64 bit machine but did not work on my 32 bit XP machine. I downloaded the drivers from here:-
http://www.kmods.net/android/misc_g59-usb_drivers_windows_7__vista__xp__32bit_p18.html
and they worked fine on the XP machine)
Close the SDK Manager
Now plug in the tablet to your PC using the USB cable supplied with the tablet.
Check the "DEVICE MANAGER" and you should see "ANDROID PHONE\Android ADB Interface"
(If you still have an unknown device then right click it navigate to "Update Driver" and then point it at the drivers USB drivers folder you may have downloaded earlier and update it)
This next step will make life a lot easier to unlock your tablet but take care in doing it.
a) Right Click "MY COMPUTER" and select properties\Advanced\Environment Variables
b) Scroll down until you see "Path" and select edit.
c) Add the following two lines to the end of the text making sure that you use ;(semicolon) between them.
e.g.C:\Program Files\WinNT\Bin\;c:\android-sdk\sdk\platform-tools\;c:\android-sdk\sdk\tools\
Now you all you have to do is follow the instructions on this website
http://www.addictivetips.com/androi...e-pattern-unlock-on-android-via-adb-commands/
As a brief summary:-
Goto ,<START> <RUN> and type in cmd
Cut this text:-
adb shell
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db
update system set value=0 where name='lock_pattern_autolock';
update system set value=0 where name='lockscreen.lockedoutpermanently';
.quit
and paste it into the cmd window.(You have to right click to paste into the CMD window)
If you now reboot your tablet you will find it unlocked. Re-connect it to the internet, type in your Gmail account details and away you go.
There may be other, easier ways of doing this, but this is what we did and this is what worked for us.
Apologies if this is in the wrong part of the forum, please feel free to move if so.

Help - Bootloader Unlocking

Hey!
I've just picked up my shiny new Z3 and attempting to unlock it's bootloader.
I've followed the instructions on Sony's Website:
" 1. Download and install the Android SDK.
2. If you’re running Windows, you also need to download and install an updated Fastboot driver. This is the standard android_winusb.inf-file, with a few lines of code added to enable Fastboot to support Sony & Sony Ericsson devices. Replace the original android_winusb.inf-file with the downloaded file in the usb_driver folder, located in the Android SDK > extras > google folder on your computer. If you can’t find the usb_driver folder, make sure you are running Google USB Driver package revision 4 or higher in your Android SDK. If not, install the Google USB Driver Packager using the Android SDK manager.
Note! If you’re running OSX or Linux, you are not required to install any additional drivers.
3. On your device, turn on USB debugging by going to Settings > Developer options and click to enable USB debugging.
As of Android Jelly Bean 4.2 the Developer options are hidden by default. To enable them tap on Settings > About Phone > Build Version multiple times. Then you will be able to access the Settings > Developer options.
Connect to Fastboot
1. Turn off your Xperia™ Z3 Compact.
2. Connect a USB-cable to your computer.
3. On your Xperia™ Z3 Compact, press the Volume up button at the same time as you connect the other end of the USB-cable. ** (Here, this step doesn't happen for me) **For Windows users, when asked for a driver, point to the usb_driver folder where you placed the android_winusb.inf-file, and select the Android Boot loader Interface-file.
4. When your device is connected, open a command window on your computer and go to the platform-tools folder within the Android SDK folder.
5. Enter the following command:
fastboot devices ----- ( I've noticed that I should type " device" as opposed to " devices" ) ( This is where my issue begins)
After I've typed the above instructions, I don't get a reply from the device. Nor am I prompted on Windows or on the device.
6. Verify that you get an answer back without any errors. "
I've tried the above with the SDK running in the background on my computer and the SDK closed on my pc.
Any advice or assistance would be much apprecaited.
Thanks!
check this guide out, hopefully it'll help you out... http://www.theandroidsoul.com/unlock-bootloader-sony-xperia-z3/
Thanks. I was able to successfully unlock my Xperia ZR with this link.
Thanked you

Categories

Resources