[Nexus 5 Q&A, Help & Troubleshooting] bitdomo:
[MENTION=4714593]FettleifIsMyUserName[/MENTION] and [MENTION=2296507]saddler2kx[/MENTION] can you try the following steps for fix wifi and bluetooth?

Root your phone.

Install ES File Explorer.

Install Hex Editor.

Download .bdaddr and .macaddr from the attachments then copy them to your phone.

Open ES File Explorer then enable root explorer and hidden files:

Open .bdaddr with Hex Editor.

Change the last 3 HEX values to some random thing, be random do not leave they on 00 00 00.

Open .macaddr with Hex Editor and do the same thing just like with .bdaddr.

Open ES File Explorer then go to /presist ( Click on the "/" sign at the top then select the persist folder)

Create two new folder: bluetooth and wifi.

Long tap on bluetooth folder -> select More at the bottom -> Properties.

Change permissions, owner and group for the wifi folder too:

Copy .bdaddr to bluetooth folder.

Change permissions, owner and group for .bdaddr:

Copy .macaddr to wifi folder.

Change permissions, owner and group for .macaddr:

Do restarts check the mac address for wifi and bluetooth to make it sure it will not change anymore, and test is bluetooth working or not.

Report back to me.

I havent thought that you are blaming me :D. I sound a bit harsh in english :angel:

I found out there are some DRM stuff (playready, widewine), and MAC address for wifi and bluetooth stored there. I will definitely suggest format /persist partition if someone is going to face with this kind of error and he tried everything and if wiping /persist does not cause bigger problems, but first let's test our two guinea pig [MENTION=4714593]FettleifIsMyUserName[/MENTION] and [MENTION=2296507]saddler2kx[/MENTION] :D

To ALL:

Can you check your /persist folder? What files do you see?

A complete list with the files I have on /persist

.:
drwxrwx--- bluetooth system 1970-01-02 01:02 bluetooth
drwx------ root root 1970-01-01 01:00 lost+found
drwxrwx--- system system 1970-01-02 01:03 playready
drwxrwxr-x root root 1970-01-01 01:00 sensors
drwxrwx--- system system 1970-01-02 01:03 widevine
drwxrwx--- wifi system 1970-01-02 01:02 wifi

./bluetooth:
-rw-rw---- bluetooth system 6 1970-01-02 01:02 .bdaddr

./lost+found:

./playready:
drwx------ system system 1970-01-02 01:03 dxhdcp2

./playready/dxhdcp2:
drwx------ system system 1970-01-02 01:00 acGSIRU1TX-2o-nJ69e1aFGgUxE_

./playready/dxhdcp2/acGSIRU1TX-2o-nJ69e1aFGgUxE_:
-rwx------ system system 1072 1970-01-02 01:03 etK7oituoft7bxrO5H7GIVuhEQM_
-rwx------ system system 1072 1970-01-02 01:03 mUiE28tHgFkv4U6m-ynqfIBPCn8_
-rwx------ system system 1072 1970-01-02 01:00 zttE+GVYd9YzREzMHiKY-IlERZM_

./sensors:
-rwx------ root root 12288 2014-05-05 11:30 sns.reg

./widevine:
drwxr-x--- system system 1970-01-02 01:02 5dsokxEEDXgQhkN50bp-Z2K5InM_
-rw------- system system 4 1970-01-02 01:03 index.txt

./widevine/5dsokxEEDXgQhkN50bp-Z2K5InM_:
-rw-r----- system system 1072 1970-01-02 01:02 D3qpp0bxmJhbiZwIsCbXJ1434rc_
-rw-r----- system system 1072 1970-01-02 01:02 RXFABDUxyT6Q+Zwx9ZhPGOq2Bq8_

./wifi:
-rw-rw---- wifi system 6 1970-01-02 01:02 .macaddr

MD5 for the files

fe0fde89ea3ef11d3b6edb0dbbb2c12d *persist\playready\dxhdcp2\acGSIRU1TX-2o-nJ69e1aFGgUxE_\etK7oituoft7bxrO5H7GIVuhEQM_
66c3157aa20a19acee046b476432e160 *persist\playready\dxhdcp2\acGSIRU1TX-2o-nJ69e1aFGgUxE_\mUiE28tHgFkv4U6m-ynqfIBPCn8_
4fede9b63a7092418bd802b648590396 *persist\playready\dxhdcp2\acGSIRU1TX-2o-nJ69e1aFGgUxE_\zttE+GVYd9YzREzMHiKY-IlERZM_
136dcf807a1ddd233a642b4f449ff007 *persist\sensors\sns.reg
88254b8586ae2f885365bcdd3eab0ac6 *persist\widevine\5dsokxEEDXgQhkN50bp-Z2K5InM_\D3qpp0bxmJhbiZwIsCbXJ1434rc_
b497cbe70350788434984967be4dc740 *persist\widevine\5dsokxEEDXgQhkN50bp-Z2K5InM_\RXFABDUxyT6Q+Zwx9ZhPGOq2Bq8_
7c6658fbc6d0d7d4030b482405afe35a *persist\widevine\index.txt

Do we have the same files or they are unique for each device?