jeudi 30 avril 2015

Alternate way to fix capacitive button behavior (root) topic


I own a W8 and I was playing around with CSC codes this afternoon trying to figure out how to call different data icons to the signal status bar. I was changing things around left and right. Imagine my surprise when on one of my reboots my capacitive buttons started displaying the same behavior as the US variants. Apparently the capacitive button behavior is in the CSC codes.

Now, as a disclaimer, I don't know what this will do beyond the immediately noticeable effect it has on the buttons. However, if you like the behavior of the buttons, whereby they only turn on when you touch the buttons themselves and don't turn on every time you touch the screen, this may be a neat little trick for you to try. You can always undo it if you notice undesirable effects. There is probably no chance of bricking your device after just editing things in the csc folder so you don't have much to lose.

So, that said, it seems the behavior of the buttons is coded into the sales code. All you have to do is change your sales code to a device that was not manufactured in America.

In the folder /system/csc/ open the file sales_code.dat. This file most likely says TMB.

All you have to do is change it to something else outside of America. We have several carriers in Canada:
KDO - the code working on my device
TLS - Telus
RWC - Rogers
BMC - Bell

If you have disabled the capacitive buttons in the Galaxy Buttons app or in adb you'll have to re-enable them to see these changes

Everything still functions normally on my phone even after changing the sales code to TMB, and the only thing I've even noticed this change so far is the button behavior. This makes me think there is a hidden csc string somewhere and T-Mobile/VZW in their brilliance decided to enable it.

Curious to know if this works for anyone else.

xda-developers