[Q] [YPG70][4.4.4][Beanstalk][PACman RC1] No MAC ADDRESS - Samsung Galaxy Player 4.0, 5.0

I'm currently using Beanstalk BUILD "BeanStalk-4.4.285-20140604-venturi.zip". My problem is i can't connect to a wifi hotspot maybe since i don't have a mac address. In WiFi Settings my MAC Address is "00:00:00:00:00:00". Does the MAC Address caused the wifi connection issue? I tried adding a folder "imei" in "/efs" and created a file called ".nvmac.info" and i entered my Default MAC Address from the previous build of Beanstalk which is "BeanStalk-4.4.285-20140523-venturi.zip". After creating the file, i saved and changed the permission the same as the other files in root which is "rw-r-r" and also the folder imei which i changed the permission to what the other folder in root. After creating the folder and the file, i rebooted my device and i checked my efs, It was empty. I already tried several times to save it but the rom deletes it every reboot even though i already changed the permission. I viewed the "boot.txt" in root and found the line "efs failed: Invalid argument". Any idea how to solve the wifi connection issue? i just updated to the latest stable rom as what Meticulus uploaded which is "BUILD 0604".
I also exprienced this issue from "[ROM][OFFICIAL][KitKat 4.4.4][YP-G70/YP-G1] PAC-man 4.4.4.RC-1".
I attached the screenshots of "boot.txt" and MAC Address that displays "00:00:00:00:00:00". :good: Hope someone might able to help. Thanks in advance. :good:

hellfrozer said:
I'm currently using Beanstalk BUILD "BeanStalk-4.4.285-20140604-venturi.zip". My problem is i can't connect to a wifi hotspot maybe since i don't have a mac address. In WiFi Settings my MAC Address is "00:00:00:00:00:00". Does the MAC Address caused the wifi connection issue? I tried adding a folder "imei" in "/efs" and created a file called ".nvmac.info" and i entered my Default MAC Address from the previous build of Beanstalk which is "BeanStalk-4.4.285-20140523-venturi.zip". After creating the file, i saved and changed the permission the same as the other files in root which is "rw-r-r" and also the folder imei which i changed the permission to what the other folder in root. After creating the folder and the file, i rebooted my device and i checked my efs, It was empty. I already tried several times to save it but the rom deletes it every reboot even though i already changed the permission. I viewed the "boot.txt" in root and found the line "efs failed: Invalid argument". Any idea how to solve the wifi connection issue? i just updated to the latest stable rom as what Meticulus uploaded which is "BUILD 0604".
I also exprienced this issue from "[ROM][OFFICIAL][KitKat 4.4.4][YP-G70/YP-G1] PAC-man 4.4.4.RC-1".
I attached the screenshots of "boot.txt" and MAC Address that displays "00:00:00:00:00:00". :good: Hope someone might able to help. Thanks in advance. :good:
Click to expand...
Click to collapse
As you can see from the boot.txt, the only argument passed is "-t vfat". It seems as though your efs folder is not formatted "vfat" and mount is unable to mount it. You should format "/dev/block/mmcblk0p10" to vfat then re-add the files that are supposed to be there.
:good:
Don't ask me how to format vfat, never had to do it before but I'm sure theres plenty of info on the net about how to format a block vfat for android. :laugh:
For future builds, I will see if "mount -t auto" will work.

Meticulus said:
As you can see from the boot.txt, the only argument passed is "-t vfat". It seems as though your efs folder is not formatted "vfat" and mount is unable to mount it. You should format "/dev/block/mmcblk0p10" to vfat then re-add the files that are supposed to be there.
:good:
Don't ask me how to format vfat, never had to do it before but I'm sure theres plenty of info on the net about how to format a block vfat for android. :laugh:
For future builds, I will see if "mount -t auto" will work.
Click to expand...
Click to collapse
I see, so the problem is the "mmcblk0p10". Gonna search on that matter in formatting the vfat. Thanks for the response, Meticulous :good: . I'm sticking with this ROM because of its stability and smoothness .

Related

[Q] 2 Atrix phones with same wifi mac address (sorted)

Managed to fix my wifi mac address problem with some info read in this thread:
forum.xda-developers.com/showthread.php?t=1131649
all performed using linux,
connect phone to pc using in terminal
adb shell
dd if=/dev/block/mmcblk0p3 of=/sdcard/filename.img (stored image of block on sdcard)
exit
exit
disconnect then reconnect phone to pc this time allowing access to sdcard.
in terminal mount the image for editing
mount -o loop /source/filename.img /destination/
using a hex editor modify '/wifi/wlan_mac.bin' with wanted address
save
unmount /destination/
the filename.img has now been modified and needs to be returned to the phone
remove the phone then reconnect and using 'adb shell'
su
chmod 777 /sdcard/filename.img
dd if=/sdcard/filename.img of=/dev/block/mmcblk0p3
reboot
now after the reboot connect your phone to the wifi and it will be using your new address
Original question below:
got 2 of these Atrix phones.
i have rooted both following this guide
wiki.cyanogenmod.com/wiki/Motorola_Atrix_4G:_Full_Update_Guide
now my one has this installed:
cm-7-20121014-NIGHTLY-olympus.zip
the wifes is still stock.
now we both have been experiencing wifi problems, which i have traced to both phones having the same wifi mac code
98:4B:4A:5D:8D:4C. Resulting in the router not being able to distinguish between them, a right mess.
i have tried following this guide to change my mac address
pocketnow.com/tweaks-hacks/motorola-atrix-4g-how-to-change-wi-fi-and-bt-mac
but changing the address in this file has no effect, its as though the mac address above is a spoof. Not the address stored in /pds/wifi/wlan_mac.bin
i have also tried from terminal 'busybox ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx'
this also does not change my address.
others mention to change the contents of nvram.txt here:
/etc/wl/nvram.txt
this also has made no change
the 2 file locations mentioned contain different mac addresses from the one above.
which file contains this code '98:4B:4A:5D:8D:4C' ?
How do i change the mac address?
i think mac address related to hardware so you can't change it. I have flashed several roms but the mac address is constant, the only change is device name.
Sent from my MB860 using xda app-developers app
lambcutlet said:
which file contains this code '98:4B:4A:5D:8D:4C' ?
How do i change the mac address?
Click to expand...
Click to collapse
/pds/wifi/wlan_mac.bin looks like the right place. But be aware that messing up your PDS could mean quite bad consequences for your phone.
I'd probably dump the entire PDS partition into a file and back it up somewhere if I were you.
voncount said:
i think mac address related to hardware so you can't change it. I have flashed several roms but the mac address is constant, the only change is device name.
Click to expand...
Click to collapse
Nope, wrong.
It's true a MAC is a hardware address, but it's not true it cannot be changed.
ravilov said:
/pds/wifi/wlan_mac.bin looks like the right place. But be aware that messing up your PDS could mean quite bad consequences for your phone.
I'd probably dump the entire PDS partition into a file and back it up somewhere if I were you.
Nope, wrong.
It's true a MAC is a hardware address, but it's not true it cannot be changed.
Click to expand...
Click to collapse
pds backup was performed. My address is different in the 'wlan_mac.bin' file, probably the original F8:7B:7A:xx:xx:xx. i did manage to change its contents but still it appears to be over-ridden by '98:4B:4A:5D:8D:4C'
its weird that both phones have the same mac address
also noticed the bluetooth address is different 00:11:22:33:44:55
there is a program somewhere on my phone over riding the original addresses.
does anyone know what it could be?
has anyone else used the same guide as me to root the phone and ended up with the same mac and bt addresses?

[Q][CM10.1] How to change the WiFi mac address

Hi!
How do I change the WiFi mac address of an Amaze phone?
I got two Amaze phones that I put Sport's CM10.1 on them.
Problem is both have the same (well known!) mac address. Seems like either CM10.1 picks a fixes address, or perhaps the process or rooting it cause the mac address to be reset?
I tried searching for ways to change it. Some posts require using busybox, however, that's temporary.
Some posts refer to change it in an nvram.txt data somewhere in /data/misc/ (or similar, don't have it handy), however, I do not have that file in any of the phones. I do not know what format I would have to put it in if I were to venture to do it. I found one example of a different phone and it was a rather complex file with all sorts of settings, which makes me cautious about even trying something and possibly breaking the format of the nvram on the phone.
Thanks!
[/COLOR]
ihama said:
Hi!
How do I change the WiFi mac address of an Amaze phone?
I got two Amaze phones that I put Sport's CM10.1 on them.
Problem is both have the same (well known!) mac address. Seems like either CM10.1 picks a fixes address, or perhaps the process or rooting it cause the mac address to be reset?
I tried searching for ways to change it. Some posts require using busybox, however, that's temporary.
Some posts refer to change it in an nvram.txt data somewhere in /data/misc/ (or similar, don't have it handy), however, I do not have that file in any of the phones. I do not know what format I would have to put it in if I were to venture to do it. I found one example of a different phone and it was a rather complex file with all sorts of settings, which makes me cautious about even trying something and possibly breaking the format of the nvram on the phone.
Thanks!
Click to expand...
Click to collapse
flash any sense 4.x rom on any of your device,i heard that sense 4.x roms change the mac adress of your device,dont knw what is the reason though...read it alnog yor research and readings...
http://forum.xda-developers.com/showthread.php?t=2201216
hatim_rajput said:
[/COLOR]
flash any sense 4.x rom on any of your device,i heard that sense 4.x roms change the mac adress of your device,dont knw what is the reason though...read it alnog yor research and readings...
http://forum.xda-developers.com/showthread.php?t=2201216
Click to expand...
Click to collapse
Thanks for the reply, however, this is not a great solution, as it's rather invasive. I'm also finding that this image I am on is stable and yields good battery and it has the latest 4.2.2, so I am trying to avoid major changes like a rom from a different device might be (I'm new to this too ..).
Here is what I have tried:
brute-force search on the zip file that Sport posted
brute-force search on the phone itself via a root shell
searching various other files and forums
the brute-force search on the phone found the mac address. This is what i did:
find -exec grep -iH '00:d2:8b:43:9f:fd' '{}' \;
which yielded:
/sys/devices/platform/msm_sdcc.4/mmc_host/mmc3/mmc3:0001/mmc3:0001:2/wl12xx/ieee80211/phy1/macaddress:00:d2:8b:43:9f:fd
/sys/devices/platform/msm_sdcc.4/mmc_host/mmc3/mmc3:0001/mmc3:0001:2/wl12xx/ieee80211/phy1/addresses:00:d2:8b:43:9f:fd
/sys/devices/platform/msm_sdcc.4/mmc_host/mmc3/mmc3:0001/mmc3:0001:2/wl12xx/net/wlan0/address:00:d2:8b:43:9f:fd
However these files are in a "/proc/-like" mounted device that is read-only. These files look like status files from the OS, so even if I had been able to change them, it looks like the changes would vanish after reboot, and even if that would not be the case, it would not have changed anything.
Any ideas?
This is the solution for permanently changing the MAC of the WiFi in the Amaze (ruby) phone:
su -
mount -o remount -o rw /system
cd /system/etc/firmware/ti-connectivity
calibrator set nvs_mac wl1271-nvs.bin 00:d2:8b:XX:YY:ZZ
cd /
mount -o remount -o ro /system
change the XX YY ZZ to any other (hex) numbers as you please.
(The assumption is that you are connected with adb shell)

[Q] Change Bluetooth Address

I'm looking for some help verifying a few bits of information before I take a leap and risk bricking my phone. I need to change my bluetooth address. With any luck back to my original hardware address. I do have the original address, as "btnvtool -p" outputs a different address than is reported in 'about phone' -> 'status'. I problem is that both my wife and I have the same phone with the same ROM history, and now we both have the same improper mac address.
By way of links provided by another helpful users I have partial information in Russian. http://4pda.ru/forum/index.php?showtopic=420801&st=6840#entry28414922 post 6853. I think I understand what to do via google translate and my partial understanding of how this works. The post points me to the /misc partition but I can't find any useful information about the partition for this phone that would backup the claims. Also the specific location that the post references, offset 4000, contains a string "ANDROID-BOOT!". While "ANDROI" is hex of 414E44524F49 which matches my incorrect mac address, the fact that it says "BOOT" makes me worry about changing it.
I'm hoping someone can help me any verify that this string isn't part of the boot process, or that the /misc partition isn't required to boot recovery. I feel fairly confident that I could create a flashable zip to restore a backup of this partition if needed. Below is my cleaned translation of the Russian post. If anyone with an e970 and a proper BT address could complete the first half, dd the partition to a file and check out the contents in a hex editor, I would feel much better about doing the rest.
Code:
Hello, using this method you can restore your original Bluetooth addresses. The active mac address is in raw MISC partition at hex offset 4000, it is not spelled out or anything.
perform the following (root is required)
ADB shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/misc of=/sdcard/misc.img
and get at the file on the SD card and in a HEX editor zero the MAC address starting at hex offset 4000, save the file. Save the changed file to your phone:
su
dd if=/sdcard/misc.img of=/dev/block/platform/msm_sdcc.1/by-name/misc
reboot
After rebooting the details in the “About Phone” should show the real MAC BT.
----------
So I found a little corroborating evidence to this post. I found this post about the LS970(Sprint LGOG) stating that "All rooted LGOG Bluetooth MAC addresses are 41:4E:44:52:4F:49". Reading the thread a bit, I found a link to a "BT MAC FIX" script found with this kernel.
Looking at what the file does, it uses btnvtool to get the real mac and writes it to byte 16384 ( hex 4000 ) of the misc partition. Seeing as this file has people confirming it works, I took the leap. It worked. Problem solved.
Sound like to me this is a problem as old as unlocking with freegee. Could be wrong but that seems like the common denominator to me from the posts I was reading. And yes for the record, now the dump of the misc partition now reads "******D-BOOT!" *s to hide my real mac.
***Warning, 2015-01-12, This Fix as is doesn't work and causes problems with CM12 on the E970. Will post in thread with details.
I have the exact same issue with mine and my wife's phone. I tried this, and it seems like it should work, but after I reboot my phone, the contents of misc revert to the original (ANDROID...). Any thoughts?
mindstormsguy said:
I have the exact same issue with mine and my wife's phone. I tried this, and it seems like it should work, but after I reboot my phone, the contents of misc revert to the original (ANDROID...). Any thoughts?
Click to expand...
Click to collapse
I believe everyone that used freegee to root/unlock have the corrupted BTmac address. I also believe that it is only an issue when two of these devices try to use BT in close proximity, but you never know what device the person beside you will have.
I had not done anything about my BT until just now. The .zip just puts a script in the userinit.d folder. The script is run every boot. I do not recall what my BTmac address was, but the script does change it from the default.
I deleted the script and rebooted. My BTmac address reverted back to the default. I restored the script and my BTmac address changed back. This shows that the change is not permanent, and the script needs to be run every boot.
Did you flash the .zip, or just extract and run the script?
I've recently upgraded my E970 to CM12 nightly. Just like previous roms the BT Mac address is corrupted and results in my pairing being invalid. My mac address currently reports in "About Phone" as 00:00:00:00:5A:AD. Clearly this is incorrect.
When I tried to install this fix. The init.d script was placed properly, but did not repair the mac address as it did previously. This might be a one off case, but after the script was installed, my phone started acting funny, over heated, and completely drained the battery. The charger I regularly use, an iPad 2.1 amp failed to charge the phone. All it would do was turn on the red notification light solid. I was still able to use the computer usb ports to enter download mode, and start entering the off-charge mode. This port didn't give enough power to fully enter the off-charging mode. The phone made it to the first icon and then shut off, no progress was made.
I needed to switch to a lower output charger before I could gain charge to 5% and boot. As the OS booted it reported 0% charge. I was able to enter airplane mode and reboot. After the reboot the phone functioned well enough to use Solid Explorer to delete the script file from /data/local/userinit.d . After deleting the file my phone was back to functional with the bad mac address.
As I find info I will post it here.
2015-01-13 Update -----
Running the steps of the script file manually, results in a error "dd: stdout: Illegal seek" . Trying to read (if) instead of write (of), I get the same Illegal seek. Might this be part of a new protection with lollipop? I tried editing a dump of the partition as I suggested originally and writing the whole 16mb back. This completes without error, but when I read the partition again the modification was not saved.
Either way my BT Mac address with CM12 doesn't match the expected 41:4E:44:52:4F:49 to match the ANDROID from the file dump, so where is the OS picking up the new address?
Still works for CM11
I noticed my phone and my wifes also had the same bluetooth address. This was messing up my car link. I ran the script and now it shows that I have a different address. I will keep an eye out and make sure nothing else gets messed up. Thanks. I was looking for a fix for some time....

[SOLVED] [Q] wifi mac address problem in nutella kernel

In nutella kernel my wifi mac address is 00:00:00:00:00:00.
only on nutella kernel , wifi mac address is 00:00:00:00:00:00 nad i can't connect to any wifi network.
How do I fix this?
please help me
It probably happened due to an error while flashing. Wipe data/factory reset, wipe cache partition, wipe Dalvik cache, then flash the ROM you want to use (I would personally recommend Carbon ROM). After flashing that, don't forget to repeat the 3 wipes (data, cache partition, Dalvik cache) before installing PA GApps for 4.4 (Mini Modular).
==================================================================================
• Samsung Galaxy Player 5 US (YP-G70)
> Carbon ROM 4.4.4 with built in Nutella Kernel
- By Meticulus Development team; visit them at http://www.meticulus-development.com/
alireza21 said:
In nutella kernel my wifi mac address is 00:00:00:00:00:00.
only on nutella kernel , wifi mac address is 00:00:00:00:00:00 nad i can't connect to any wifi network.
How do I fix this?
please help me
Click to expand...
Click to collapse
Look, I wrote the logic so I know how it works. You can see it here:
https://github.com/Meticulus/nutell...b/master/usr/venturi_initramfs_files/init#L25
This file "/efs/imei/.nvmac.info" should have your mac address in it! If it does not or it is missing; you must create it and put your mac address in there.
Simple!
I will not respond to further questions on this matter.
EDIT: As you can see here:
https://github.com/Meticulus/nutell...b/master/usr/venturi_initramfs_files/init#L16
/efs is supposed to be formated vfat. If it is not then it won't mount, so it's the same problem!
Meticulus said:
Look, I wrote the logic so I know how it works. You can see it here:
https://github.com/Meticulus/nutell...b/master/usr/venturi_initramfs_files/init#L25
This file "/efs/imei/.nvmac.info" should have your mac address in it! If it does not or it is missing; you must create it and put your mac address in there.
Simple!
I will not respond to further questions on this matter.
EDIT: As you can see here:
https://github.com/Meticulus/nutell...b/master/usr/venturi_initramfs_files/init#L16
/efs is supposed to be formated vfat. If it is not then it won't mount, so it's the same problem!
Click to expand...
Click to collapse
No change
Meticulus said:
Look, I wrote the logic so I know how it works. You can see it here:
https://github.com/Meticulus/nutell...b/master/usr/venturi_initramfs_files/init#L25
This file "/efs/imei/.nvmac.info" should have your mac address in it! If it does not or it is missing; you must create it and put your mac address in there.
Simple!
I will not respond to further questions on this matter.
EDIT: As you can see here:
https://github.com/Meticulus/nutell...b/master/usr/venturi_initramfs_files/init#L16
/efs is supposed to be formated vfat. If it is not then it won't mount, so it's the same problem!
Click to expand...
Click to collapse
I did create ".nvmac.info" file but after a reboot this file was deleted and problem not fixed.
My problem is fixed
in my device , efs files was missed and i could Restore efs files by following method :
what's needed:
1- Blank Efs Image needed for EFS Re-partition (download from here : http://www.mediafire.com/download/60ktxg26qbvb1z2/blank_efs.img.gz )
2-Dummy Efs for those who have lost it (download from here : http://d-h.st/ewi )
3-heimdall suite
what to do:
go to this forum : http://forum.xda-developers.com/showpost.php?p=23290275&postcount=2
thanks to @Meticulus for help me

Wi-Fi does not work and system directories stuck on "read only" in RemixOS 3.0

Wi-Fi does not work and system directories stuck on "read only" in RemixOS 3.0
Hello to all the community Xda RemixOS.
Updating my macbook to RemixOS 3.0 version of the wi-fi does not work properly. In practice, the only way is to connect the LAN cable. On external forums I found the solution: change some strings of code init.sh files located within /system/etc/init.sh. To my great surprise, however, despite the root permissions I can not edit files in this directory because only mode "reading." I tried to mount terminal system even in writing, but the result is: "/ dev / loop1 / system is read-only mode." I have root permissions in theory I could not do what I want in those directories ??
Anyone able to help me places urgently, thank you!
Luke_99 said:
Hello to all the community Xda RemixOS.
Updating my macbook to RemixOS 3.0 version of the wi-fi does not work properly. In practice, the only way is to connect the LAN cable. On external forums I found the solution: change some strings of code init.sh files located within /system/etc/init.sh. To my great surprise, however, despite the root permissions I can not edit files in this directory because only mode "reading." I tried to mount terminal system even in writing, but the result is: "/ dev / loop1 / system is read-only mode." I have root permissions in theory I could not do what I want in those directories ??
Anyone able to help me places urgently, thank you!
Click to expand...
Click to collapse
look in the remix forum for the tutorial on how to enable system rw capability. after that you should be good to go.
look here: http://forum.xda-developers.com/remix/remix-os/guide-modify-remix-3-0-101-t3428553
Yes, read the above guide, it's all you need + the wifi guide you've already found.
Please use search or simply check the top threads.
Every day too much stuff is duplicated, we must avoid it in order too keep the forum clean.
Sent from [email protected] 4
excuse me but I was not able to find anything. I probably had not looked good. Thank you
Wrong topic
Luke_99 said:
Hello to all the community Xda RemixOS.
Updating my macbook to RemixOS 3.0 version of the wi-fi does not work properly. In practice, the only way is to connect the LAN cable. On external forums I found the solution: change some strings of code init.sh files located within /system/etc/init.sh. To my great surprise, however, despite the root permissions I can not edit files in this directory because only mode "reading." I tried to mount terminal system even in writing, but the result is: "/ dev / loop1 / system is read-only mode." I have root permissions in theory I could not do what I want in those directories ??
Anyone able to help me places urgently, thank you!
Click to expand...
Click to collapse
http://forum.xda-developers.com/remix/remix-os/guide-modify-remix-3-0-101-t3428553

Categories

Resources