Before anyone drops a "use the search function first", I hope you provide a link because I have scoured over 200 posts trying to find the answer to this question and its either not there, or EXTREMELY well hidden.
So...ADB worked fine for me on Windows 7 x64, untill I had to uninstall and reinstall some drivers when helping a buddy root his g1.
Now, ADB doesn't work. Whenever I try to run an adb command, even just to list devices, I get this error:
Code:
* daemon not running. starting it now *
CreateProcess failure, error 2
* failed to start daemon *
error: cannot connect to daemon
I have scoured Google, and I haven't found a single post that is android related (there are similair errors on android forums, just not this one) and am sorrily stumped. If anyone can help, I'd be ever so grateful.
This definitely sounds driver related although I'm not sure how you can "roll back" drivers in 7. I've heard that 7 pretty much keeps every driver you've ever used around and for whatever reason it's using an older ADB driver. I'd put money on me being wrong though.
if you are using a 1.5 image, use the drivers from the 1.5 SDK. If you are still on the RC builds, use the drivers in the 1.0 SDK.
win32 error code 2 means: 2 The system cannot find the file specified. ERROR_FILE_NOT_FOUND
and from the source code this is after a call to CreateProcess() and the file name is given by GetModuleFileName(), so it seems that the latter failed in a strange way.
What's the full path to your adb.exe?
billc.cn said:
win32 error code 2 means: 2 The system cannot find the file specified. ERROR_FILE_NOT_FOUND
and from the source code this is after a call to CreateProcess() and the file name is given by GetModuleFileName(), so it seems that the latter failed in a strange way.
What's the full path to your adb.exe?
Click to expand...
Click to collapse
D:\G1\android\tools\adb.exe
No spaces or odd characters. Like I said this worked fine for a month or so before I started ****ing with the drivers. I havent moved anything, my PATH and CLASSPATH are pointed correctly to the right directory. I also have a copy of adb in my /system32 directory (along with we .dll file it needs) so I can run it from wherever at a cmd prompt.
it might have something to do with wow64 messing the path up (it may rewrite system32 to syswow64). try launching the program under D:\G1\android\tools\ path. even if GetModuleFileName() failed, system should still be able to find adb.exe if you're under that path. also check file permissions and antivirus...
you can also try the command "adb fork-server server" in the path that contains adb. (you'll have to leave that console open)
I get this error:
"An unrecoverable error occurred in setup. Reset the device and try again."
Its version 1.620771.. how come? Can anyone help me on this?
I get this everytime I install. Ignore it. Voice Command should be installed and ready to go once you reset.
the thing is even tho i ignore it, i cant seem to find the program file to start it anywhere.. also startup voicecommand say it cant be opened..
Hi.
I have a little problem, WindowsPhone emulator not started from VisualStudio.
When i start debuging the emulator displays with the message 'Windows Phone is Starting'. Times out after about 5 minutes with the following error messages:
Error: DEP6100: The following unexpected error occurred during bootstrapping stage 'Connection to the device':
Error: DEP6200: Bootstrapping Emulator 8.1 WVGA 4 inch(RU)' failed. Device cannot be found. App deployment failed. Please try again.
If run from Hyper-V Manager, it's works fine.
I tried:
- Reinstalled Visual Studio (after removal i cleaning system by CCleaner)
- Reinstalled Hiper-V
- Download and install the Windows Update, VS updates
- Removes all virtual machines in the Hiper-V, and network interfaces
- Turn off the firewall, no antivirals, Windows Defender is turned off (but i haven't viruses)
- Turned off all network interfaces except the Windows Phone Emulator Internal Switch (VS creates when starting the emulator)
- With routes 169.254.xx all right
Help please...
Sorry for my bad english.
eljira said:
Hi.
I have a little problem, WindowsPhone emulator not started from VisualStudio.
When i start debuging the emulator displays with the message 'Windows Phone is Starting'. Times out after about 5 minutes with the following error messages:
Error: DEP6100: The following unexpected error occurred during bootstrapping stage 'Connection to the device':
Error: DEP6200: Bootstrapping Emulator 8.1 WVGA 4 inch(RU)' failed. Device cannot be found. App deployment failed. Please try again.
If run from Hyper-V Manager, it's works fine.
I tried:
- Reinstalled Visual Studio (after removal i cleaning system by CCleaner)
- Reinstalled Hiper-V
- Download and install the Windows Update, VS updates
- Removes all virtual machines in the Hiper-V, and network interfaces
- Turn off the firewall, no antivirals, Windows Defender is turned off (but i haven't viruses)
- Turned off all network interfaces except the Windows Phone Emulator Internal Switch (VS creates when starting the emulator)
- With routes 169.254.xx all right
Help please...
Sorry for my bad english.
Click to expand...
Click to collapse
Make sure you don't have too many NICs, tunneling adapters, or TAPs for OpenVPN installed. My only remedy was to reinstall the whole OS. Hopefully you can find something out.
My temporary solution:
Start XDE manually -
PHP:
XDE.exe /name "Emulator 8.1 WVGA 4 inch(RU).admin"
where param /name is a name of virtual machine in Hiper-V and name emulator in VisualStudio, after it VisualStudio can connect to started emulator.
First of all, kudos to jcs for this op. While fairly new at this, I found it very complete. I had to do alot of reading and downloading behind the scenes to get it this far, but so far everything has worked.
As the title suggests, I am stuck on step 7c, in particular where I am trying to run "novacom....certs.sh". I am using ubuntu and had to load "Wine" to get it to recognize the "palmenv.bat" file. So, is there an easy way to run the "nova...." file in ubuntu? Other than finally figuring out how to get and use java in ubuntu, I've been very impressed with that OS.
Here is the error message:
Z:\home\mds\Downloads\WebOS>novacom run file:///bin/sh < fix-webOS-certs.sh
File not found.
The "Z" directory was the result of running the "wine cmd" as the directory originally was "C". Initially after running the "wine cmd" command, I ran the "palmenv.bat" and it accepted it. However, I was unable to run the "novacom...certs.sh" file, even though it was in the same location.
PS: I have deleted and added spaces in combinations around "<" in the above as I could not tell for sure the correct way.
golfnut22 said:
First of all, kudos to jcs for this op. While fairly new at this, I found it very complete. I had to do alot of reading and downloading behind the scenes to get it this far, but so far everything has worked.
As the title suggests, I am stuck on step 7c, in particular where I am trying to run "novacom....certs.sh". I am using ubuntu and had to load "Wine" to get it to recognize the "palmenv.bat" file. So, is there an easy way to run the "nova...." file in ubuntu? Other than finally figuring out how to get and use java in ubuntu, I've been very impressed with that OS.
Here is the error message:
Z:\home\mds\Downloads\WebOS>novacom run file:///bin/sh < fix-webOS-certs.sh
File not found.
The "Z" directory was the result of running the "wine cmd" as the directory originally was "C". Initially after running the "wine cmd" command, I ran the "palmenv.bat" and it accepted it. However, I was unable to run the "novacom...certs.sh" file, even though it was in the same location.
PS: I have deleted and added spaces in combinations around "<" in the above as I could not tell for sure the correct way.
Click to expand...
Click to collapse
Did you fully read post #2, part C of the TPTB thread? You should be able to just unzip the TPTB into a folder, open a terminal session in that folder, and run the .sh file that's there. You may need to run it with sudo; that I don't recall.
shumash said:
Did you fully read post #2, part C of the TPTB thread? You should be able to just unzip the TPTB into a folder, open a terminal session in that folder, and run the .sh file that's there. You may need to run it with sudo; that I don't recall.
Click to expand...
Click to collapse
Yes thanks. The problem boils down to running a ".bat" file then running a ".sh" file. Using Ubuntu, I have been unable to run the .bat file without "wine", then, in "wine", I have been unable to run the ".sh" file.
In windows 7, I can run the ".bat" file, but unable to run the ".sh" file. This is the final step in jcs's op to do a clean install of webos and this particular step fixes the certificates. Ref here step 7d: http://forum.xda-developers.com/showthread.php?t=2756314&page=7
Ubuntu command:
sudo ./tptb_v42_nix.sh
You have to be in the same directory where tptb is...of course the listed command is for version 42.
The .sh file is for Linux not for windows. You cannot run it in "wine".
golfnut22 said:
Yes thanks. The problem boils down to running a ".bat" file then running a ".sh" file. Using Ubuntu, I have been unable to run the .bat file without "wine", then, in "wine", I have been unable to run the ".sh" file.
In windows 7, I can run the ".bat" file, but unable to run the ".sh" file. This is the final step in jcs's op to do a clean install of webos and this particular step fixes the certificates. Ref here step 7d: http://forum.xda-developers.com/showthread.php?t=2756314&page=7
Click to expand...
Click to collapse
You're not getting the message. You don't run the batch file in Ubuntu; it's for Windows only. Follow the above post's advice (note the period before the /. It's essential).
shumash said:
You're not getting the message. You don't run the batch file in Ubuntu; it's for Windows only. Follow the above post's advice (note the period before the /. It's essential).
Click to expand...
Click to collapse
Ok gotcha. I will try it again. Thanks
shumash said:
You're not getting the message. You don't run the batch file in Ubuntu; it's for Windows only. Follow the above post's advice (note the period before the /. It's essential).
Click to expand...
Click to collapse
golfnut22 said:
Ok gotcha. I will try it again. Thanks
Click to expand...
Click to collapse
So, below is an exact copy (ctrl c, then ctrl v) from page 7 of jcs' op for reinstalling webos.
then run "palmenv" and then run "novacom run file:///bin/sh < fix-webOS-certs.sh"
Just got back on this project again and have a follow-up question.
From your comment above, I need to add a period here either before the "///" or ".///" slashes or after "bin" or "bin./"?
Here is also a direct copy out of the text file of "fix-webOS-certs.sh"
novacom run file:///bin/sh < fix-webOS-certs.sh
So, neither place has a period before either of the /'s as you mentioned. Please advise...thanks again.
Thanks and Sorry, I did not see the previous post to yours. In the meantime, I did run it again without knowing where to put the period and I am a little closer to completing the reinstall...but still don't know why I can't get the last line "novacom run file.....certs.sh" to run.
I redid every step again on the tp and got to the screen where you select the "language". I then opened up the command prompt in windows 7, tp still connected, cd'd until I got to the directory where both "palmenv" and "novacom run file..." is located. I ran "palmenv" and got "Setting Novacom Path ....".
I then immediately ran the "novacom run file....." and got "unable to find device".
I checked my device manager under disk drives and the "HP Webos-usb device" was listed with no flags.
I tried it again, but same message.
One other comment on the "novacom run file....". In windows, when I hit the download button on the "goo" website, it actually opens up. In order to download, I had to select all, paste it in notepad, open up notepad and save as the ".sh" file. So, I don't know if that is screwing something up or not. Otherwise, it would not down load or I would not have it. Strangely, it did download in Ubuntu, but that file did not work either.
So, any advice on how I can complete the very final step on running the "novacom run file....certs.sh"?
gtallmadge said:
Ubuntu command:
sudo ./tptb_v42_nix.sh
You have to be in the same directory where tptb is...of course the listed command is for version 42.
The .sh file is for Linux not for windows. You cannot run it in "wine".
Click to expand...
Click to collapse
Thanks. I had thought the .sh file was for Ubuntu, but I received a message that said those sequence of commands from jcs was to be run in windows. Anyway, I believe the above instructions are how to get the tptb running in Ubuntu. If so, that is not the problem. If not, then from that and other messages received, I would run the .bat file from windows, reboot my system and then run the .sh file in Ubuntu adding "sudo ./ to the "novacom run file:///bin/sh < fix-webOS-certs.sh"?
So, for a recap, per jcs's op, one would open the command prompt in windows, and cd to the correct directory where the palmenv,bat file and fix-webOS-certs.sh reside. Then run "palmenv" the run "novacom run file:///bin/sh < fix-webOS-certs.sh" file.
For some reason, I doubt he was suggesting changing from windows to Ubuntu when running these commands, but I may be wrong...as I often am.
I know I'm dumber than a hay rake, but really, can someone please explain in detail for this newbie, what he needs to do to run both of those commands? Refer to a previous post link if unfamiliar with what op I'm trying to perform...and am on the last step 7d
I think the issue is that you are trying to install WebOS.
Not sure of the help you are going to get with that as many of us have moved on a while ago and no
longer have the interest in it. You might want to check on other threads where it is relevant.
gtallmadge said:
I think the issue is that you are trying to install WebOS.
Not sure of the help you are going to get with that as many of us have moved on a while ago and no
longer have the interest in it. You might want to check on other threads where it is relevant.
Click to expand...
Click to collapse
Yes, that is what the procedure does that jcs has outlined. And thanks for the reply. I have got webos installed which was the easy part, however, running the last two commands appear to be a matter of proper input...which several advices have been given, but none have worked. I was hoping that someone, other than the author of the procedure, had tried it or at least someone may be familiar enough with this type of input to help. Oh well, thanks again.
Progress with novacom run file:///bin/sh < fix-webOS-certs.sh
Was able to finally run novacom run file:///bin/sh < fix-webOS-certs.sh after previously receiving unable to locate device message by booting HP Touchpad into developer/USB mode and running novaterm.bat from the terminal folder and connecting from the menu. I was then able to run novacom run file:///bin/sh < fix-webOS-certs.sh from the Command Prompt but it does not appear to have run successfully.
C:\Program Files\Palm, Inc>novacom run file:///bin/sh < fix-webOS-certs.sh
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
FAILED: rc=${rc}: ${@}
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
FAILED: rc=$rc: ((create /tmp/asb.crt))
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
FAILED: rc=$rc: ((create /t1/pssb.crt))
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
command not found
OK
I am trying everything I can to get the HP Touchpad wifi working after having done a complete wipe before a system restore and learning the HP Servers are no longer supporting. I have Cyanogenmod 11 installed and wifi worked for approximately one day after each install. When I try to connect to any access point it only says "saved" afterward and the signal seems to drop to zero while connecting. Another strange occurrence is the fact that the wifi mac address that shows in the advanced menu of Cyanogenmod does not match the previously saved mac address on my home wifi set up as an extra security measure. The mac is the same in the device info menu of WebOS when trying to install but getting the message that servers can not be accessed to finish the install. When it was connected for a short time after Cyanogenmod install the MAC address was correct but since it has changed will not connect and the new address gives an unsupported message when trying to add to my network devices list. I have tried all posted troubleshooting steps as well as having installed Busy Box and attempting to change the Mac address manually. I get operation not supported at that prompt in the Terminal Emulator on the Touchpad. Has anyone come across this or been able to get their HP Touchpad working properly with Cyanogenmod 11?
I'm new to Android development and I just started playing with Android Studio 3.1.3. I'm following a tutorial from android.developer.com and I'm on the part: Start Another Activity - Respond to the Send button. Thing is, when I add the sendMessage() method stub, I get an error message saying the symbol View cannot be found. I tried the following steps to resolve the issue but I'm not successful:
- Place the cursor on View then click ALT-ENTER but the menu Import class doesn't appear.
- I clicked File - Invalidate Caches/Restart
Any useful assistance is welcome.
Christopher