View Single Post
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#249
Originally Posted by mautz View Post
Code:
devel-su echo 01:02:03:04:05:06 > /data/persist/persist.service.bdroid.bdaddr
Does thus fix your bt problem? Check systemctl status hciattach.
There was no /data/persist directory

created /data/property/persist.service.bdroid.bdaddr with that mac addr in it and restarted BT service now it works It was so simple. Thank you.

Maybe if i create file like that for wifi it will have that mac address even after restart?

Strange thing. When i run these commands
cd /persist
mkdir bluetooth wifi
chown bluetooth:system ./bluetooth
chmod 770 ./bluetooth
cp /sdcard/.bdaddr /persist/bluetooth
chown bluetooth:system ./bluetooth/.bdaddr
chmod 660 ./bluetooth/.bdaddr
chown wifi:system ./wifi
chmod 770 ./wifi
cp /sdcard/.macaddr /persist/wifi
chown wifi:system ./wifi/.macaddr
chmod 660 ./wifi/.macaddr

I see those folders and files, but after reboot those folders and files are gone. Does those files exist on your device?

Last edited by matemana; 2017-11-20 at 08:43.
 

The Following 2 Users Say Thank You to matemana For This Useful Post: