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.

closed as off-topic by beeshyams, Andy Yan, Dan Hulme Feb 11 '18 at 10:25

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about writing and publishing Android apps, writing custom ROMs, and other topics that are primarily of concern to developers are off-topic. Consider taking advantage of other resources that may be appropriate for your question." – beeshyams, Andy Yan, Dan Hulme
If this question can be reworded to fit the rules in the help center, please edit the question.