I have ported MIUI 8 for MTK6580 chipsets. Everything is working fine, but I'm facing two bugs that I can't fix:

  • Everytime that I disable Bluetooth connection, the phone "forgets" the devices that I have paired before. I have checked bt_config file from /data/misc/bluedroid/ and realised that this file resets itself when turning bluetooth on/off, deleting paired devices info contained inside.
  • Hotspot is working fine, but I can't set a password so access point is always open. Well, I can set the password on the phone but when I connect the laptop or any other device to my mobile hotspot, it is always open (unsecured).

Hope you guys can help me. Thanks in advance.