Manually edit the bluetooth pairing list, phone keeps overwriting it with old list. How to stop that? I have an Samsung Galaxy Note 2 and I wanted to connect my phone to an old HTC Rhyme docking station via bluetooth so I can use the speakers in it. I have all the data needed for the connection (ID, LinkKey, etc.) and I've edited the pairing list (path of it is in my case /data/misc/bluedroid/bt_config.xml). In that folder also was an bt_config.old file which was the same as the bt_config.xml file, I assume this is a backup file so I overwrote it as well after editing the list. This is how the part I added to the list looks like:

&lt;N19 Tag="DC:DE:CA:0B:EF:C4"&gt;
        &lt;N1 Tag="Timestamp" Type="int"&gt;1398527119&lt;/N1&gt;
        &lt;N2 Tag="Name" Type="string"&gt;HTC CR M540&lt;/N2&gt;
        &lt;N3 Tag="DevClass" Type="int"&gt;2360340&lt;/N3&gt;
        &lt;N4 Tag="DevType" Type="int"&gt;1&lt;/N4&gt;
        &lt;N5 Tag="AddrType" Type="int"&gt;0&lt;/N5&gt;
        &lt;N6 Tag="Manufacturer" Type="int"&gt;10&lt;/N6&gt;
        &lt;N7 Tag="LmpVer" Type="int"&gt;5&lt;/N7&gt;
        &lt;N8 Tag="LmpSubVer" Type="int"&gt;8953&lt;/N8&gt;
        &lt;N9 Tag="LinkKeyType" Type="int"&gt;4&lt;/N9&gt;
        &lt;N10 Tag="PinLength" Type="int"&gt;0&lt;/N10&gt;
        &lt;N11 Tag="LinkKey" Type="binary"&gt;a5c095e620e190f248f4b8a8b3291ed3&lt;/N11&gt;
        &lt;N12 Tag="Service" Type="string"&gt;0000110b-0000-1000-8000-00805f9b34fb 0000111e-0000-1000-8000-00805f9b34fb&lt;/N12&gt;
        &lt;N13 Tag="Aliase" type="string"&gt;htc dock test&lt;/N13&gt;
    &lt;/N19&gt;


When I overwrite the edited list with the original one everything looks fine until I restart my phone. After that somehow the old list gets loaded and I have no idea how that is possible. Either when I shut my phone down it saves the list that is already loaded or it has another directory for the pairing list which I need to edit as well.

Anyone have any idea how I could fix this overwriting problem? Obviously both the Note 2 and my old HTC Rhyme are rooted or else I could never get the bluetooth data. If more information is needed I can provide it.
I did exactly the same thing successfuly by editing the bt_config.xml file in A HEX VIEWER in my PC and copying/replacing it using the Aoma Manager. My phone now connects automatically to the new device.