[Q] How to change nooks MAC address? - Nook Color Q&A, Help & Troubleshooting

IS there any way of changing nooks MAC address, due to a bug in firmware my router has problems with devices that have macs other than 00:..... (nooks starts with 58).

I tried editing /rom/devcon/mac address with rootexlorer. I got the changed file to stick after reboot but when I looked at my router it still showed a NC beginning with 58.

gedster314 said:
I tried editing /rom/devcon/mac address with rootexlorer. I got the changed file to stick after reboot but when I looked at my router it still showed a NC beginning with 58.
Click to expand...
Click to collapse
Yeah I changed it too, but it doesn't help. There's another file containing mac address -> /sys/devices/virtual/net/tiwlan0/address but I failed to change it

MAC addresses aee fixed on the wlan chip itself... without some spoofing software, you shouldnt be able to edit it in software...
Sent from my NookColor using XDA app

Changing MAC Address (CM7)
Contrary to what Jason said, it seems that the NC actually spoofs its MAC addresses in its configuration files.
The /rom/devconf/MACAddress file seems to just be for the device info menu in the stock rom. (I would edit that file and the change would be reflected when I checked the device settings). However, this does not seem to change the actual MAC address, but only the info for that menu.
Like many important hardware settings (at least back in the day), changing the MAC address requires a hex editor. If you hex edit /rom/devconf/WiFiBackupCalibration, you'll see your MAC address in the first line (00000000 offset). The MAC address values are backwards and there is a gap between the 2nd & 3rd values.
As always, be sure to make a backup of your files before playing around with them. I cannot guarantee that this works for you, but it definitely worked for me.
Here is a key for the coordinates of the MAC address in WiFiBackupCalibration:
Aa : Bb : Cc : Dd : Ee : Ff
Aa - 0B
Bb - 0A
Cc - 06
Dd - 05
Ee - 04
Ff - 03

linyongzheng said:
Contrary to what Jason said, it seems that the NC actually spoofs its MAC addresses in its configuration files.
The /rom/devconf/MACAddress file seems to just be for the device info menu in the stock rom. (I would edit that file and the change would be reflected when I checked the device settings). However, this does not seem to change the actual MAC address, but only the info for that menu.
Like many important hardware settings (at least back in the day), changing the MAC address requires a hex editor. If you hex edit /rom/devconf/WiFiBackupCalibration, you'll see your MAC address in the first line (00000000 offset). The MAC address values are backwards and there is a gap between the 2nd & 3rd values.
As always, be sure to make a backup of your files before playing around with them. I cannot guarantee that this works for you, but it definitely worked for me.
Here is a key for the coordinates of the MAC address in WiFiBackupCalibration:
Aa : Bb : Cc : Dd : Ee : Ff
Aa - 0B
Bb - 0A
Cc - 06
Dd - 05
Ee - 04
Ff - 03
Click to expand...
Click to collapse
I've used this method on cm7 and it worked great =). But on cm10 this doesn't seem to work. Does anyone know why this is the case and how we could still change the Mac address?
Sent from my NookColor using Tapatalk HD

danformer said:
I've used this method on cm7 and it worked great =). But on cm10 this doesn't seem to work. Does anyone know why this is the case and how we could still change the Mac address?
Sent from my NookColor using Tapatalk HD
Click to expand...
Click to collapse
CM10 does it differently. Look at this post. It was written for CM10 on the HD+ but the same thing applies to the Nook Color running CM10. Just the file location is different. It is at /data/misc/wifi

I gave the method a shot, and no luck so far. Am I possibly missing something? I found the file and changed the values (which were bolded), turned off WiFi, inserted the edited file, turned on WiFi and the Mac is the same.
Sent from my NookColor using Tapatalk HD

danformer said:
I gave the method a shot, and no luck so far. Am I possibly missing something? I found the file and changed the values (which were bolded), turned off WiFi, inserted the edited file, turned on WiFi and the Mac is the same.
Sent from my NookColor using Tapatalk HD
Click to expand...
Click to collapse
Did you reboot?
Sent with XDA Premium from my Nook HD+ running CM10 on SD

Yes I just rebooted and at first it didn't change the Mac address, but when I went back to the file there was another that looked almost the same but had .orig at the end. So I switched the WiFi off, removed that file, switched WiFi on and it worked =)
Thanks for the help, it is appreciated :thumbup:
Sent from my NookColor using Tapatalk HD

I Need Help
i have no expirence with hex editors and i have a nook HD+ With cyanogenmod 11. how do i do this
I Backed up a different nook HD+ With a mac address and now they cant be on wifi at the same time
so thats why i need to change my mac address

Related

WIFI Generic Mac Address to Actual Mac FIX!

I know that some of you are still dealing with this issue and in different roms, As I was too, but for anyone wishing to fix this the right way after installing their roms, follow below and this will fix your problem.
Disable WIFI (settings/System/Wireless & networks untick wifi. System must be rooted, use any root explorer, and navigate to your SD card location where you put the file you downloaded, and select to copy it, then navigate to system/lib. and rename the file with adding .old at the end, and paste this file into this location. Then MOVE the file you just added ".old" to your sdcard as a backup, exit out of your explorer and reboot.
And when you are back in the phone, turn wifi on, go to settings about phone then hardware information, and you now have your actual wifi mac address and not the generic.
Anyone who uses zip roms, can replace this file in there zip file before flashing. Should work without having an issue, cant guarantee every phone as I do not have every phone, nor can I guarantee every rom, but you can always try it.
If this was fixed then FML but I tried.
The attached file is not zipped, after downloading just rename and remove the .zip at the end, forum will not allow uploading of unknown extension. Initial User Testing shows POSSIBLY NOT Compatible with Gingerbread
Thanks for this. It's exactly what I was looking for!
I use NexusHD2 Gingerbread, and it doesn't work for me (it's \system\lib - no etc folder in system). It actually stopped my wifi working. It turned on for a few seconds, didn't even try to connect, and then turned off.
It's all fine after restoring the old state and rebooting though.
Thanks for the effort all the same - I hope others have more luck than me.
if it really works why dont you share this with the developers so that the new builds will come with the real mac address.
are you sure that you are getting the real MAC address.
because in the MDJ's latest kernel we get a unique MAC address but not the original one
johncmolyneux said:
I use NexusHD2 Gingerbread, and it doesn't work for me (it's \system\lib - no etc folder in system). It actually stopped my wifi working. It turned on for a few seconds, didn't even try to connect, and then turned off.
It's all fine after restoring the old state and rebooting though.
Thanks for the effort all the same - I hope others have more luck than me.
Click to expand...
Click to collapse
Thanx, edited my original post with the correct path, and incompatible with Gingerbread Possibly
agarp said:
if it really works why dont you share this with the developers so that the new builds will come with the real mac address.
are you sure that you are getting the real MAC address.
because in the MDJ's latest kernel we get a unique MAC address but not the original one
Click to expand...
Click to collapse
AGarp, now I cant be 100% sure, but I can assure you that ts not the 00:11:22:33:44:55. My MAC Addy right now is: 00:90:4C:B7:CE:36 Unique or Actual I dont think matters once you have a actual valid MAC Address.
And as for sharing it with Developers, I think by posting here I am offering it to Dev's and anyone else that wants it.
AngelDeath said:
Thanx, edited my original post with the correct path, and incompatible with Gingerbread Possibly
AGarp, now I cant be 100% sure, but I can assure you that ts not the 00:11:22:33:44:55. My MAC Addy right now is: 00:90:4C:B7:CE:36 Unique or Actual I dont think matters once you have a actual valid MAC Address.
And as for sharing it with Developers, I think by posting here I am offering it to Dev's and anyone else that wants it.
Click to expand...
Click to collapse
well if its the unique one then most of the new nand builds comes with it.
AngelDeath said:
AGarp, now I cant be 100% sure, but I can assure you that ts not the 00:11:22:33:44:55. My MAC Addy right now is: 00:90:4C:B7:CE:36 Unique or Actual I dont think matters once you have a actual valid MAC Address.
Click to expand...
Click to collapse
It's not dissimilar to the MAC address I have on my device (not the same though). Is this just a forced value, or is it actually the real MAC address? If it's a forced value I'm just wondering what advantage there is over having the previously forced one of 00:11:22:33:44:55? Surely you'd still have the same MAC address as someone else that did the same thing on their phone.
Or am I missing something?
johncmolyneux said:
It's not dissimilar to the MAC address I have on my device (not the same though). Is this just a forced value, or is it actually the real MAC address? If it's a forced value I'm just wondering what advantage there is over having the previously forced one of 00:11:22:33:44:55? Surely you'd still have the same MAC address as someone else that did the same thing on their phone.
Or am I missing something?
Click to expand...
Click to collapse
i think the advantage is when u try to connect two Leo phones to a same network might get conflict because of similar MAC Addresses
and some routers wont accept this "00:11:22:33:44:55" MAC Address
I did that and now my phone does not boot!!! Please HELP

[Q] HyperDroid WiFi issue on HTC HD2

Hi,
since a few days im using HyperDroidGBXv5 on my HTC HD2, the ROM is beautiful but unfortunately there is a problem with any Wifi remote app i tried.
I can access my Wifi network, surf through the internet, remote control my PC etc.
But there is no way to access my phone from the PC for remote file transfer oder remote controlling the phone. It acts like there is a damn firewall on the phone, not even a ping to the phone is possible!
Tested apps:
DroidPhoneControl Lite
Droid VNC Server
Wireless File Transfer Pro
Remote Web Desktop
Here is my logcat log: pastebin [dot] com [slash] iaQaKuLM
During the logging i start Wireless File Transfer Pro an try to access the phone vom browser. But there is no visible error on the phone so i think the logs are useless!?
1. Is the bug reproducible?
Yes
2. How do you reproduce it?
Just start the app
3. What is the expected behavior?
Access the phone wireless by browser, vnc or ping
4. What actually happens?
Nothing... On the PC just a 404 error
5. Do you have a Task Killer running?
ES Taskmanager, AppMonster but no automatic task killer
6. Are you on the default Kernel?
No i dont think so -> 2.6.32.12rafpigna_1.7_OC-g39281e5 root [at] rafpigna-pc #15
7. Did you restore using Titanium Backup?
No
1. Are you using the default kernel?
See above
2. If using a custom kernel are you loading the correct bcm4329.ko and tun.ko?
Sorry i dont know, let me know where i find this informations
3. Are you using a fresh data.img created by the system on 1st boot?
I exactly followed the tutrial in the HyperDroidGBXv5 thread
4. Are you using the default Build Folder Name that came with your version?
Yes
If any additional information is needed please let me know.
I know there are some problems with wifi tethering on this release but i found nothing regarding the problems that I have...
I really like to use the wifi remote features again and i would really appreciate for any help
greetings
MakkuZ
There are few threads regarding this issue.
I am using Ultimate Droid 3, also Gingerbread based. Few people I think was from MDJ's CM7. So it could be GB problem, dont know, no one really provided any usefull info.
There is a workaround for this. When you connect to wifi on your phone, open terminal emulator and do a ping to your PC's IP address, or use any ping app (I am using Net Ping from market). As soon as you start to ping your PC, connection is immidiatelly opened. I have no idea why it is like that, but for now I am using this method when I want to use FTP server on HD2....
OH MAN! Thanks a lot
Thats really nice! Have you tried to write a little script with ping and your ip adress in it?
Haven't tried with scripts. I use NetPing, just enter my PC IP and click ping...
I have tried some ping apps here are the results for my phone/ROM:
Working:
Ping by Firedale
Ping!Up
Terminal Emulator
Not working:
PingCmd
Ping & DNS
NetPing
I recommend Ping by Firedale because you can save different hosts in a compfortable list an ping them with one click.
Thats a really nice workaround especialy when you are at different locations!
MakkuZ said:
I recommend Ping by Firedale because you can save different hosts in a compfortable list an ping them with one click.
Thats a really nice workaround especialy when you are at different locations!
Click to expand...
Click to collapse
That's a nice feature....Just uninstalled NetPing
MakkuZ said:
I have tried some ping apps here are the results for my phone/ROM:
Working:
Ping by Firedale
Ping!Up
Terminal Emulator
Not working:
PingCmd
Ping & DNS
NetPing
I recommend Ping by Firedale because you can save different hosts in a compfortable list an ping them with one click.
Thats a really nice workaround especialy when you are at different locations!
Click to expand...
Click to collapse
Cant find that in the Android market. Can someone post it here. Thanks.

[Q] usb reverse tether to feature phone

I have a basic samsung feature phone. Id like to use this as a modem for my Acer if possible. This phone works fine on all my ubuntu systems - just plug it in for the first time, click next-next in the wizard and I'm online. On the tablet, I see that it shows up as a /dev/ttyACM0. I belive this means that its a matter of getting the correct chat commands and associating pppd with the android layer. I imagine the process must be similar as to getting a USB 3G dongle working. Does anyone have any thoughts on how to do this?
There are already some threads about tethering the tablet to your phone, as well as 3G dongles.
http://forum.xda-developers.com/showthread.php?t=1152869
But yeah, no solution yet.
got it working
I thought I'd post the info on how I got this working for my specific situation. I have not read many other threads about this so maybe this type of info is already out there.
My phone is a basic samsung feature phone on AT&T that I called up and got unlimited data for $10/mo extra. This phone is practically unusable for browsing on itself. I plugged it into my ubuntu laptop and basically the tethering worked right away. I thought then that it should be able to work on the tablet. I wanted to make sure that "unlimited data" also applied to tethering to a computer. They said yes, if you can get tethering working - still no limit. I get 1-2Mbit rate over it.
This is on a rooted tablet, of course.
When I plug it into my tablet I get a single /dev/ttyACM0. If your phone is similar, you maybe able to use this info.
I went to At+t website and found this:
Then I read the man pages for pppd "man pppd". From this information, I understood how to modify the sample scripts "gprs", "gprs-connect-chat" and "gprs-disconnect-chat".
I then came up with a suitable "ip-up" script, based on ones found in the Huawei 3G modem example code. This is called when a ppp0 connection is made. Some of the lines in there I am not sure of, but it works, regardless.
I was surprised to find the standard "chat" program was not present in any of the roms I'd tried. Currently I am using virtuous Xoom. Somewhere, I found "chat-ril" which did the trick.
I've attached "modem.zip" which contains all the mentioned files.
From a root shell, you type:
pppd call gprs &
(This is kind of a pain but I'd like to find a way to automatically do that when the phone is plugged in)
If you do ifconfig ppp0, you should have an address, then try to browse.
Now I'm watching Netflix on my A500 as I drive! Also google navigation is absolutely great on a tablet, once you have the data connection.
willyampz said:
I've attached "modem.zip" which contains all the mentioned files.
From a root shell, you type:
pppd call gprs &
(This is kind of a pain but I'd like to find a way to automatically do that when the phone is plugged in)
If you do ifconfig ppp0, you should have an address, then try to browse.
Now I'm watching Netflix on my A500 as I drive!
Click to expand...
Click to collapse
Thanks for the work, but what are we to do with the modem.zip file you provided?
Modem zip contains the scripts and the chat-ril utility that need to be copied to your tablet. There's two ways to copy the files to your tablet:
1)
first unzip the files on your PC
use adb and push the files over to your tablet in the corresponding locations under /system.
2)
unzip the files to a micro SD or USB stick
remount the /system partition as read/write
copy them to the corresponding locations in the tablet filesystem from the SD or USB stick.
Copying files to your /system partition is described elsewhere in the forum but I can give more detail if needed.
I'm admittedly a noob on many levels. I think I followed your instructions but I get:
# pppd call gprs &
# /system/bin/chat-ril: permission denied
Any suggestions?
make sure you do it as root by typing 'su' first. Also check the permissions of chat-ril binary to be executable.
Thanks, it was the chat-ril with incorrect permissions.
So going with what you provided and much help from Google, I was able to make my own set of scripts for my phone and carrier (a Nokia 5230 and T-mobile). It looks like it's connecting both in my shell on the tablet (all "got it"s and OKs) and on the phone side which shows it with the 3G connection in use. Executing that ifconfig ppp0 gives me an ip address with a [up point-to-point running multicast].
My problem is I can't seem to access anything on the tablet. I can ping google from within the shell but the default browser, Dolphin, and the rest of my internet accessing apps don't work. I did change a line in the ip-up file from /system/bin/setprop "net.interfaces.defaultroute" "gprs" to "3g", which is what I named my connection script. Is there something else I'm missing?
Thank you for all the help.
Well, the good news is you can ping which probably means it can work and you are just about there.
The stuff in ip-up I don't completely understand myself, but that's probably where the issue is. By that point I was so close and anxious, that I just manually did some 'setprop's and experiment until it worked. I had exactly the same issue where I could ping but not browse at one point. Also, make sure the dns setprop's are set. Are you sure the "3g" should not be "gprs". I'm not sure that has to do with the script name. But maybe just the fact that you can ping means that's ok. I'm just not sure. Good luck.

[DEV][WIP]Permanently change wireless MAC address

Heya guys;
Alpha Terminal script attached (randomizes mac) Reboot after you run it as root
I've been working on changing the mac address for a bit, and as of 30 minutes ago, I seemed to have successfully accomplished it.
Survives reboot
Accepts any OUI
Completes 4-way WPA handshake
However, while I have been successful on my phone, I don't have another device to confirm repeatability.
For the brave souls who wish to try, please note that this is a -permanent- change. Your original MAC is not copied somewhere automatically, so don't blame me for not remembering your original MAC, or if you get eaten by the dragons that may lie ahead.
For this test, I'm going to start with the basics of what I did. As I get feedback, I'll respond with questions and hopefully narrow down potential system variability. I was running these commands as root, though.
Open your terminal emulator of choice and follow along (replace the ×''s with the mac of your choosing
Code:
netcfg wlan0 hwaddr ××:××:××:××:××:××
Enjoy your new permanent mac. (Could it be this simple?)
confirm the change
Code:
ip link show wlan0
Make the change permanent
Code:
echo "××:××:××:××:××:××" > /efs/wifi/.mac.info
Reboot, then check to see if the MAC took
Code:
ip link show wlan0
Try connecting to an AP with WPA on, and report back.
Very interesting, could you put this all into an app? So perhaps Mac addresses could be spoofed? A GUI would make things a lot easier. I'll try this out later on my oneplus one. [emoji3]
-Sent from my BR0K3N ON3.
[DEV][WIP]Permanently change wireless MAC address (WORKS!)
evilpotatoman said:
Heya guys;
Alpha Terminal script attached (randomizes mac) Reboot after you run it as root
<< snip >>
Try connecting to an AP with WPA on, and report back.
Click to expand...
Click to collapse
Works on Samsung Centura SCH-S738C running Ice Cream Sandwich ( 4.0.4 ), and rooted with stock
ROM. Verified after reboot! The phone reconnected immediately to wifi network.
Also works on Samsung Tab 3 SM-T217S running KitKat ( 4.4.2 ), and rooted with stock ROM. Verified after reboot! The phone reconnected immediately to wifi network.
I skipped the commands, and simply edited both the ' .mac.info ' and ' .mac.cob ' (backup?) files (after backing up both!).
So simple. Works where MacChanger failed. May I tell you that I love you?
forid200 said:
Very interesting, could you put this all into an app? So perhaps Mac addresses could be spoofed? A GUI would make things a lot easier. I'll try this out later on my oneplus one. [emoji3]
-Sent from my BR0K3N ON3.
Click to expand...
Click to collapse
Yepper, spoofing works, but since that may an indication of nefariousness , the script doesn't spoof the oui, just mods the last 3 octets. Interested modders may mod my script as they see fit
evilpotatoman said:
Yepper, spoofing works, but since that may an indication of nefariousness , the script doesn't spoof the oui, just mods the last 3 octets. Interested modders may mod my script as they see fit
Click to expand...
Click to collapse
Privacy is hardly nefarious.
"This Android app turns off Wi-Fi tracking without turning off Wi-Fi"
"'Retailers, crooks, the government, and others shady individuals are tracking your movements. Even when your Wi-Fi is turned off, your phone may be broadcasting information to whomever is in range which can be used both to track repeated visits to as well as your exact movements in an area under surveillance,' Chainfire wrote on Google+."
100% agree with CFs implementation, which is why my script (rudely) emulates it. The nefarious acts I hinted at consist of things like manually setting your MAC to aide in the hacking of APs with MAC authentication. I'm sure you can agree with that being an invasion of privacy.
evilpotatoman said:
100% agree with CFs implementation, which is why my script (rudely) emulates it. The nefarious acts I hinted at consist of things like manually setting your MAC to aide in the hacking of APs with MAC authentication. I'm sure you can agree with that being an invasion of privacy.
Click to expand...
Click to collapse
Agreed. Though, I believe the good of personal privacy outweighs the potential evils.
evilpotatoman said:
Yepper, spoofing works, but since that may an indication of nefariousness , the script doesn't spoof the oui, just mods the last 3 octets. Interested modders may mod my script as they see fit
Click to expand...
Click to collapse
It's handy in a lot of cases, but the tools to do something shouldn't be restricted in my opinion. About the spoofing a particular MAC, there's many legitimate reasons why you may wanna do this too. So flagging it off as just for malicious usage is sort of invalid. For example, if you go to a mall, and they have free Wi-Fi, however they require you to create an account and login, via this they will log your usage and collect data. For privacy reasons, you may wanna spoof MACs. Or if you go to a hotel and want to setup your chromecast but it has a login landing page, you're stuck. Unless you can spoof the MAC with your phone.
-Sent from my BR0K3N ON3.
HoytK said:
I skipped the commands, and simply edited both the ' .mac.info ' and ' .mac.cob ' (backup?) files (after backing up both!).
Click to expand...
Click to collapse
It may be that the time stamp on the '.mac.info' file must be earlier than the time stamp on the '.mac.cob' file. Can anyone confirm this?
Can anyone make a script to reverse what Pry-Fi did to my device, so that it stops rebooting randomly.
I will happily pay for your time. I just cannot believe this and Pry-Fi are there only viable options? Surely someone can build a script to run via terminal to fix issues?
Let me know if you are action donations?
I would be forever in your debt!

Device Name

I looked around couldn't find anything. Is there any way to change the device name from the default? Is it possible without root?
ericstephani said:
I looked around couldn't find anything. Is there any way to change the device name from the default? Is it possible without root?
Click to expand...
Click to collapse
Not sure what you mean because your post is pretty vague. You cant edit build prop without root though if that's what you are asking...
XxMORPHEOUSxX said:
Not sure what you mean because your post is pretty vague. You cant edit build prop without root though if that's what you are asking...
Click to expand...
Click to collapse
I am referring to it's network name. For example, my phone identifies itself as android-cb9aec3 on my network. On previous phones I have been able to change the device name in the settings. I can't find anything in the settings on the 6P. I'll look into editing build.prop. I imagine the value is part of the "net" class. Thanks for the tip.
ericstephani said:
I am referring to it's network name. For example, my phone identifies itself as android-cb9aec3 on my network. On previous phones I have been able to change the device name in the settings. I can't find anything in the settings on the 6P. I'll look into editing build.prop. I imagine the value is part of the "net" class. Thanks for the tip.
Click to expand...
Click to collapse
Might check in developer options. I know I've seen the option there before.
Settings/Wi-Fi/(menu top right 3 dots) Advanced/Wi-Fi Direct
Looks like there is an option the Rename Device (top right).
Not sure is this is want your looking for?
I'm used to rename my devices in my router settings and that's what I need to have.
Maybe you should describe the purpose a bit more.
BackInA88 said:
Settings/Wi-Fi/(menu top right 3 dots) Advanced/Wi-Fi Direct
Looks like there is an option the Rename Device (top right).
Not sure is this is want your looking for?
Click to expand...
Click to collapse
Thanks for the suggestion. I believe the Wifi Direct name isn't the device's network name. The network name I am referring to is the name that is included with the phone's DHCP request for an IP address.
In previous versions you used to be able to change this in the developer options. I can't find it anymore on Marshmallow.
I set a static IP address on my device and entered the name I wanted to use (nexus6p) and the IP address in my local DNS server. Did the same for my Chromecast device . I only see these names on the network. I've done this with all my wireless devices.
ericstephani said:
Thanks for the suggestion. I believe the Wifi Direct name isn't the device's network name. The network name I am referring to is the name that is included with the phone's DHCP request for an IP address.
In previous versions you used to be able to change this in the developer options. I can't find it anymore on Marshmallow.
Click to expand...
Click to collapse
It still exists on cm13. I have a clean compiled copy if you want. Just pure cm source plus blobs. Nothing added.

Categories

Resources