Related
Hi, does anyone know how to permanently change the MAC address on a rooted Nexus One? Thanks.
Considering the root of this file system is linux, it should be pretty similar to this: http://linuxhelp.blogspot.com/2005/09/how-to-change-mac-address-of-your.html
If at all possible. Obviously, change eth0 to whatever is appropriate. Also, you'll probably have to su to do any of the commands.
Hi, thanks for the reply. I did try that already but after the following command:
ifconfig eth0 hw ether 00:80:48:BA:d1:30
I get this error:
ifconfig: bad address 'hw'
Any ideas?
It worked for me. Before you ran that command did you switch to root user?
Also, this won't permanently change it. It'll only change it for your current boot. If you want it to be permanently done, you'll have to put the command into a init.d script.
So, I have been looking into and testing this some more and I have found something strange. It seems as though something within android keeps reverting my MAC address back to the real MAC address and I am unable to connect to the network I am trying to connect to (it has MAC address filtering). Any thoughts?
And nachod0g in response to your error, double check and make sure that when you type the command "ifconfig -a | grep HWaddr" that eth0 actually comes up. If WiFi is not enabled, this will not work.
Would really appreciate some help here guys...
basically i have a new SLCD nexus one with Ramons 1.8.01 recover image.
I tried uploading a few roms but none of them worked..
so I'm trying to restore one of two nandroid backups i made before i started messing..
on the phone if i go into recovery and select nandroid restore then i get an error telling me to run nandroid-mobile.sh via ADB.
So, i set up adb, follow a guide (here) and end up with an error saying
error: unyaffs not found in path
does anyone know how i can get that backup working???
I've attached a copy of my cmd window..
Any help would be gratefully appreciated
Quick update, I have Cyanogen 6.0.0 working on the phone now..
But i'd still like to be able to restore!
jamin100 said:
Would really appreciate some help here guys...
basically i have a new SLCD nexus one with Ramons 1.8.01 recover image.
I tried uploading a few roms but none of them worked..
so I'm trying to restore one of two nandroid backups i made before i started messing..
on the phone if i go into recovery and select nandroid restore then i get an error telling me to run nandroid-mobile.sh via ADB.
So, i set up adb, follow a guide (here) and end up with an error saying
error: unyaffs not found in path
does anyone know how i can get that backup working???
I've attached a copy of my cmd window..
Any help would be gratefully appreciated
Click to expand...
Click to collapse
I would suggest trying to type the directory instead of using default. When the restore prompts you to either type the directory or hit enter... instead of hitting enter type:
/sdcard/nandroid/HT08BP800418/BCDS-20100911-2252
See if it gives you the same error.
NOTE: That IS case sensitive.
Thanks for your reply, unfortunately it does give the same error, I have 3 nandroid backups but cant restore any of them which is worrying incase anything happens to the phone!
Please help
Try this... while in the shell... type the following:
Code:
ls -l /sdcard/nandroid/HT08BP800418/BCDS-20100911-2252
It should bring up a list of 5 files. Go ahead and attach a screen if you can if you are getting a list of files. If not let me know what error you get.
Thanks for your help,
here's the screen shot
Nobody encountered this problem?
Ok... sorry had you look in the wrong place. I thought it was looking in the directory with the image in it for what it needed. I just looked at the nandroid code. Turns out... it looks for some executables that are required for the script to run. It doesn't have to do with your image and I think your images are probably fine.
I need you to run 2 more commands so I can see where the problem is. First run:
Code:
env
Next run:
Code:
which unyaffs
The "env" command should show your enviroment variables. What we are looking for is for /system/bin to be in your "PATH" variable. It should be because it checks for another executable first "flash_image" and it is not coming up with an error. The second file it is checking for is "unyaffs". Next you need to check and make sure unyaffs is actually in your /system/bin folder. It is probably not... and would explain the error you are getting.
I guess my first question is... is this happening on all ROMs you have tried (or have you only gotten one up and running)? If it is there may have been a problem when you flashed it. Even though it is possible that you could copy it to the /system/bin I would suggest not doing this. The reason is because if that one file is missing... there may be other files missing that should be there from when you flashed your ROM. These missing files... if there are any... could cause problems later. It might be best just to reflash whatever ROM you are using. I would suggest CM6 (not nighties) and then moving to some other ROM once you get a "known good" to work with.
Hey GoblinLord,
Thanks for your help on this, really appreciate it..
OK, well i've ran the two commands that you said and have attached the screenshot with the output. I've tried going to /system/bin but get permission denied errors through adb.
Although it looks like the PATH is actually /sbin rather than /system/bin ???
As for the roms..
I'm currently using CM6 (the stable version) as this was the only one that I could manage to get to work. As this is a SLCD nexus i dont think there are many roms that have the right drivers for the screen. Its does work fine though.. The nandroid restore is the only part of the phone that i cannot get working....
Again thanks for the help...
jamin100 said:
Hey GoblinLord,
Thanks for your help on this, really appreciate it..
OK, well i've ran the two commands that you said and have attached the screenshot with the output. I've tried going to /system/bin but get permission denied errors through adb.
Although it looks like the PATH is actually /sbin rather than /system/bin ???
As for the roms..
I'm currently using CM6 (the stable version) as this was the only one that I could manage to get to work. As this is a SLCD nexus i dont think there are many roms that have the right drivers for the screen. Its does work fine though.. The nandroid restore is the only part of the phone that i cannot get working....
Again thanks for the help...
Click to expand...
Click to collapse
Hmmm... the permission denied is normal. That is because it is a folder and not an executable. You should be able to do:
Code:
ls -l /system/bin
This will list what is in your /system/bin directory. As for your path being different... that seems a bit strange. I am doing the commands from a terminal on my device... once I get back home today I will do it through the ADB shell and see what I get. The "which" command will only look in the folders in your "PATH" variable for the executable. If /system/bin is not in there I am not sure how it is passing the part where it looks for "flash_image". In my sbin folder I only have the ADB daemon (adbd) executable. What you could do is manually add the /system/bin to your PATH variable while in the shell... that may work. You can try the following:
Code:
PATH=$PATH:/system/bin
Run that before running your restore command. That should manually place the directory you need into your PATH environment variable. I will do a little testing with ADB once I get home and update this if I get to before you try it.
Thanks for the reply....
I won't be able to try this until Wednesday as I have left the USB cable at work ....
I will try it Wednesday and let you know...
Thanks
Sent from my Nexus One using XDA App
jamin100 said:
Thanks for the reply....
I won't be able to try this until Wednesday as I have left the USB cable at work ....
I will try it Wednesday and let you know...
Thanks
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
I checked my environment variables via ADB. Mine did show the /system/bin in my PATH variable. Seeing as this is a shell being run on your device... I would still venture to say that something may have went wrong when you flashed your ROM originally. That or something you installed changed it for some crazy reason (and shouldn't have). Either way, I still think it would be best to flash again... possibly to a different version. I know you would have had to get a modified version of CM6 so... if you don't mind me asking where did you get your copy?
EDIT: Correction... I am getting the same path variable as you when in recovery mode. I am not quite sure why this is... the guide I found for using nandroid restore through ADB doesn't seem to run into this issue. It might be some kind of issue related to just Amon_Ra recovery. This would mean that Amon_Ra Recovery just didn't add it to the PATH variable... which I guess is rather odd... but whatever. Just try manually adding it to the PATH variable as mentioned above and then run the restore. It should work then.
EDIT 2: I did a bit of researching on that error you are getting when you try and restore in recovery. Reference:
http://forum.xda-developers.com/showthread.php?t=621940
Various people point to things that may cause this error. Is your phone charged? Do you have plenty of space on your SD card?
Im using CM 7.2 RC1 hero ported to X8 but when i want check logcat it just blank doesn't appear anything.
Anyone knows about it ?
PLease help
Advance thanks.
weird ...maybe it is a problem with the rom or maybe it is a bug
The ROM it's self have logcat in system/bin/
Others all fine but only this logcat give problem....
Actually i was updated rooting system to SuperSU and Binary plus changed busybox to 1.19.4 version and toolbox too.
Do you thing it's happen because of this updating ?
VillainZ said:
The ROM it's self have logcat in system/bin/
Others all fine but only this logcat give problem....
Actually i was updated rooting system to SuperSU and Binary plus changed busybox to 1.19.4 version and toolbox too.
Do you thing it's happen because of this updating ?
Click to expand...
Click to collapse
I am having a similar concern. Mine says "waiting for device", but nothing happens. The logcat file exists but is blank.
jnow2 said:
I am having a similar concern. Mine says "waiting for device", but nothing happens. The logcat file exists but is blank.
Click to expand...
Click to collapse
do you have usb debugging enabled?
fifo171 said:
do you have usb debugging enabled?
Click to expand...
Click to collapse
Yes, usb debugging is enabled. I am able to copy files between pc and phone, push adb commands via terminal, etc. Logcat is the only issue I'm having.
I was able to find help in another forum. My problem was that I was using adb commands through Terminal Emulator. I initially entered "adb logcat > /sdcard/logcat.txt". As long as you type "su" and receive "#" prompt, type the same command above eliminating" adb". It works. Hope this helps!
Sent from my LS670 using XDA
MIT activity manager
jnow2 said:
I was able to find help in another forum. My problem was that I was using adb commands through Terminal Emulator. I initially entered "adb logcat > /sdcard/logcat.txt". As long as you type "su" and receive "#" prompt, type the same command above eliminating" adb". It works. Hope this helps!
Sent from my LS670 using XDA
Click to expand...
Click to collapse
My adb logcat shows:
W/WindowManager( 152): Window Window{2b2f8b10 com.crashapps.easypccontrol_android/com.crashapps.easypccontrol_android.ServersActivity paused=false} destroying surface Surface(name=com.crashapps.easypccontrol_android/com.crashapps.easypccontrol_android.ServersActivity, identity=152), session Session{2b254ba8 uid 10071}
I want to open it in MIT activity manager any ideias?
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 was wondering if it is possible to track/trace the download URL of the OTA updates that arrive automatically and can be downloaded to our mobile devices?
The reason I ask is that since Xiaomi is late to release the official URL's there might be a way to figure out how to download the OTA update information directly to install it.
Yes its possible. Use ADB log.
kradNZ said:
Yes its possible. Use ADB log.
Click to expand...
Click to collapse
Hello kradNZ, pardon my question, I'm not quite sure how that works. I've used ADB commands to help control the phone and certain things from a PC/Mac but I'm unclear how adb log issued from a PC/Mac will provide the information that has transpired on the phone itself through the OTA update.
Edit: when I issue "adb log" from a Mac Terminal window it says "adb: unknown command log".
nadia p. said:
Hello kradNZ, pardon my question, I'm not quite sure how that works. I've used ADB commands to help control the phone and certain things from a PC/Mac but I'm unclear how adb log issued from a PC/Mac will provide the information that has transpired on the phone itself through the OTA update.
Edit: when I issue "adb log" from a Mac Terminal window it says "adb: unknown command log".
Click to expand...
Click to collapse
I've found "adb logcat -d > logcat.txt" to dump log information, however when I review it's contents I don't see anything obvious that might refer to the OTA update file. Any advise?