View Single Post
Posts: 3,664 | Thanked: 1,530 times | Joined on Sep 2009 @ Hamilton, New Zealand
#224
Originally Posted by freemangordon View Post
FM transmitter power level is locked in kernel, what one need is modified kernel module. What PR 1.3 fmtx kernel module does is to expose new sysfs property 'lock'. fmtxd sets power level of 112 (at least for my region) and afterwards writes '1' to lock, which disables any further writes to power_level sysfs property until reboot. I've modified fmtx kernel module and right now using it. Good news is that tx power level no more changes when charger is connected to phone, thus making possible to set tx power only once during boot. later will post modified module plus startup script for setting power level.
Umm... Just out of curiousity why would you need to modifying it again?
The fmtxd posted here is 100% compatible with PR1.3 and PR1.3 doesn't changed the FMTXD kernel module. I'm using the one I uploaded here and my FMTX is working like it used to on pR1.2. My power level is 120 constantly when FMTX is enabled. Charging does not interfaring with the power level at all. Also my scripts uploaded here are completely working like a charm also. It is the region change start up scripts. One using python and one is using shell script.
You can also add:
echo 120> path/to/power
in the custom_swappiness as well if you want. I don't see a necessary thing of recompile of repeatitive things over and over again. If you could then why not help me packaging the hack into one deb file. I failed to do that part.
Attached Images