maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed) (https://talk.maemo.org/showthread.php?t=60567)

N900@900MHz 2010-09-24 08:12

Re: FM-Transmitter fmtxd file modification 76Mhz->107Mhz
 
Quote:

Originally Posted by maxximuscool (Post 790014)
Here are the screenshots. Of a fully working FMTX unlocked status-menu.

UPDATE:
Two way to get this done. One is the fancy icon display and one is the silent mode.

With Python Package:
Once you see the Icon in the picture then you are all good to go. Reboot will not reset your region back to 2.


If you can't get Python Package to work then use this.

This is shell script. This package came with 2 files. One is to swap the swappiness to 50 to reduce the load time and to make the device more responsive. second one is the Region4swap which will swap the region of your FMTX every start up to 4.

So enjoy!


Hello,

i used this, trying get it work, but no luck, freq. lower than 87.5MHz gives me, can't use fm transmitter. script placed inm /etc/event.d
any ideas?
When i put in xterm the line echo 4 ..... then it works. Gut when i try mamually run the script in xterm using /etc/event.d/Region4Swap i get Permission denied

Any ideas to solve this?

TiagoTiago 2010-09-24 09:32

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
why do we need that icon in the status bar?

N900@900MHz 2010-09-24 13:10

Re: FM-Transmitter fmtxd file modification 76Mhz->107Mhz
 
Quote:

Originally Posted by maxximuscool (Post 790020)
reserved for future use.

This finnaly works!
the steps i made for this going to work:

- install the modified fmtx file (follow the 1st on 1st page post how to)
- install the Customswappiness+FMTX region4swap file (see post 2 on 1st page )
- reboot device

Now freq goes from 76 to 107.9 MHz and output power of 120 (verified with healthcheck)
AND no more region issues

Thanks to Maxximuscool!

maxximuscool 2010-09-24 13:12

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Go to page 1 follow post 1 and 2.
All solutions been tested and confirmed working and perfectly save to proceed. If FMTX-MaxxiLimit python script doesn't work then use the Shell Script Customswappiness+FMTX region4swap.tar

instructions/trouble shooting and full tutorial is on page 1.

Enjoy!
Please keep this alive.

maxximuscool 2010-09-24 13:19

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by TiagoTiago (Post 825055)
why do we need that icon in the status bar?

That just something to tell you that it has been activated with region 4 FMTX. The icon has 4 stars big stars, representing regional and one fading star representing freedom.

But you have an option to choose between shell script without stars and silently worked behind the background at startup or the fancy icons python version. I use the python version though :) because it tells me that my FMTX is unlocked.

page 1 has been updated and now should cut down on confusion. getting it to work is now much more simpler and noob friendly.


Maxxi

TiagoTiago 2010-09-24 15:16

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
How about only having that icon show when the transmitter is being used?

lpdv74 2010-09-30 08:56

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by D4rKlar (Post 824498)
http://i56.tinypic.com/2qlaakj.png

http://i54.tinypic.com/2n14yh4.png

I will say that the car stereo only goes down to 87.5 so for day to day use that's as low as I've tried.

Kind Regards,
D4rKlar

What theme do you use in these screenshots?
Can you tell me where I can find it?

D4rKlar 2010-09-30 09:03

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by lpdv74 (Post 829915)
What theme do you use in these screenshots?
Can you tell me where I can find it?

Completely custom mate, but it's based on Marina with a Tahoma font.

http://maemo.org/downloads/product/M...-theme-marina/

Kind Regards,
D4rKlar

lpdv74 2010-09-30 09:25

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by D4rKlar (Post 829917)
Completely custom mate, but it's based on Marina with a Tahoma font.

http://maemo.org/downloads/product/M...-theme-marina/

Kind Regards,
D4rKlar

Thanks! And I just found the iconset for battery-level.

D4rKlar 2010-09-30 09:46

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by lpdv74 (Post 829923)
Thanks! And I just found the iconset for battery-level.

Everything's posted in the mods thread but saying that I will be posting a list of Mods I've released in the screenshot thread later on today mate, as someone has asked for it so keep an eye out,

Kind Regards,
D4rKlar

Wikiwide 2010-10-12 02:06

Re: Modified (UNLOCKED) FM-Transmitter frequency 76.0Mhz->107.9Mhz
 
Quote:

Originally Posted by maxximuscool (Post 791122)
I think the FM Receiver can only handle 87.5Mhz to 108Mhz, or may be it can go lower but the maximum is 108Mhz.

You can read about it from Google.

FM Receiver can receive between 76 and 108, if region is set to 4:
http://mxr.maemo.org/fremantle/sourc...adio-bcm2048.c

However, the only application which can use the receiver, FM Radio Player
http://maemo.org/packages/package_in...io/2010.03.20/
has range 87.5 - 108 as written in its code in
components/fmradio/FMRadioUI.py
self.__fmscala.set_range(87500, 108000)
It can be easily changed... But then you need to compile .py into a .pyo.
I don't know how to do it. Could somebody make a special package?

EDIT STARTED

My MADDE seems to have no python2.5, and thus cannot compile the python files.
At the same time, dpkg-buildpackage doesn't work well on the device itself. It says that FMRadio needs debhelper in order to be built, and debhelper seems to require bsdutils, and bsdutils conflict with busybox.

I have tried to edit the range of frequencies AND the name of the package and then throw the source deb to the autobuilder. The package fmradio-wide can be found, but currently it contains only the changelog and the copyright, so apparently the discrepancies with the name caused absence of the program itself inside the deb. However, I haven't received email from autobuilder yet, so I cannot know exactly where and what went wrong.

EDIT ENDED

Ideally, the application would also change region to 4 when started.

Crogge 2010-10-20 03:52

Re: Modified (UNLOCKED) FM-Transmitter frequency 76.0Mhz->107.9Mhz
 
Quote:

Originally Posted by Wikiwide (Post 838891)
FM Receiver can receive between 76 and 108, if region is set to 4:
http://mxr.maemo.org/fremantle/sourc...adio-bcm2048.c

However, the only application which can use the receiver, FM Radio Player
http://maemo.org/packages/package_in...io/2010.03.20/
has range 87.5 - 108 as written in its code in
components/fmradio/FMRadioUI.py
self.__fmscala.set_range(87500, 108000)
It can be easily changed... But then you need to compile .py into a .pyo.
I don't know how to do it. Could somebody make a special package?
Ideally, the application would also change region to 4 when started.

That looks awesome, can't wait till someone takes care of that :)

Wikiwide 2010-10-20 11:08

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quick reply...
fmradio-wide has wide range of frequencies. In order to launch it from the icon, create symbolic link:
ln -s /opt/fmradio-wide/FMRadio.py /usr/bin/FMRadio
Use version 2010.03.40, not earlier!

~phoenix~ 2010-10-20 16:20

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
cant find Python 2.5 and Control Panel ProfileX in app mgr... hlp plz^^

edit ... got it working....

any way to leave fw tranmitter in the applets menu even when its off??

Wikiwide 2010-10-20 22:31

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by ~phoenix~ (Post 846227)

any way to leave fw tranmitter in the applets menu even when its off??

Read here:
http://talk.maemo.org/showthread.php?t=43395

mehulrajput 2010-10-26 06:43

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
is it working with pr 1.3??? can any one confirm???

maxximuscool 2010-10-26 06:50

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by mehulrajput (Post 851406)
is it working with pr 1.3??? can any one confirm???

yes my friend it is working with PR1.3. I'm using it right now

mehulrajput 2010-10-26 07:08

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by maxximuscool (Post 851412)
yes my friend it is working with PR1.3. I'm using it right now

thanks did the same and now it running on my phone too.... had to reboot. seems fmtxd is not the process which is running some fx-enabler-daemon is now running instead but it in turn calls fmtxd not sure....

working with pr 1.3, just that reboot is required after replacement.

Jayboy5 2010-10-26 19:23

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Can someone help me please? I can't get my fm transmitter to work any more since pr 1.3... I went back and followed the mod at the beginning of this thread so I can have my frequency boost to 120 again.. because after the update the signal strength was back down at the stock level of 111 and no extra frequencies were available. Now that I have placed the file back in usr/sbin and still have fmtx faker installed from before, it should work right? The fm transmitter comes on but my widget goes up and down only on the odd channels like 107.7 and 107.5 and the status bar only shows even channels like 107.6 or 107.4, and when try to change the channel by the status bar it says "unable to use fm transmitter" even though it is already on... any ideas guys??

Wikiwide 2010-10-26 23:44

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by Jayboy5 (Post 852166)
Can someone help me please? I can't get my fm transmitter to work any more since pr 1.3... I went back and followed the mod at the beginning of this thread so I can have my frequency boost to 120 again.. because after the update the signal strength was back down at the stock level of 111 and no extra frequencies were available. Now that I have placed the file back in usr/sbin and still have fmtx faker installed from before, it should work right? The fm transmitter comes on but my widget goes up and down only on the odd channels like 107.7 and 107.5 and the status bar only shows even channels like 107.6 or 107.4, and when try to change the channel by the status bar it says "unable to use fm transmitter" even though it is already on... any ideas guys??

The file fmtxd, unlocked frequency, for /usr/sbin, has to be recompiled again. It's evident that some changes were made in FM transmitter and PR1.2 file isn't compatible with PR1.3.

Does anybody have a new unlocked fmtxd file for PR1.3?

les_garten 2010-10-27 00:00

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Maxximuscool,
I've got a few questions.

What is the point of the Southern Cross, other than national pride?
Doesn't seem to do anything?

I only have the FM Transmitter "Status area button" after I enable it from settings. When I turn it off it disappears. It did not work this way before the 1.3 update?

D4rKlar 2010-10-27 09:09

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by les_garten (Post 852292)
Maxximuscool,
I've got a few questions.

What is the point of the Southern Cross, other than national pride?
Doesn't seem to do anything?

I only have the FM Transmitter "Status area button" after I enable it from settings. When I turn it off it disappears. It did not work this way before the 1.3 update?

It did unless you used qwerty12s FM transmitter status applet, all files are here:

http://talk.maemo.org/showpost.php?p...postcount=1952

The southern cross indicates the activation of region 4 which allows the use of the lower frequencies,

Kind Regards,
D4rKlar

freemangordon 2010-10-27 09:36

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by Wikiwide (Post 852269)
The file fmtxd, unlocked frequency, for /usr/sbin, has to be recompiled again. It's evident that some changes were made in FM transmitter and PR1.2 file isn't compatible with PR1.3.

Does anybody have a new unlocked fmtxd file for PR1.3?

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.

maxximuscool 2010-10-27 09:57

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
4 Attachment(s)
Quote:

Originally Posted by freemangordon (Post 853013)
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.

maxximuscool 2010-10-27 10:01

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
FYI: the part it says FM Tran state: disabled is because i didn't refresh it. Otherwise it should say Enabled.

freemangordon 2010-10-27 10:02

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
which kernel are you using - titan's power one or stock one?

p.s. maybe it is my fault posting to wrong thread

maxximuscool 2010-10-27 10:12

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by les_garten (Post 852292)
Maxximuscool,
I've got a few questions.

What is the point of the Southern Cross, other than national pride?
Doesn't seem to do anything?

I only have the FM Transmitter "Status area button" after I enable it from settings. When I turn it off it disappears. It did not work this way before the 1.3 update?

That just an icon for regional changed to 4, southern cross stars are made up by 4 bright stars and also a symbol of oceania continent. So i used it to make region 4 as the stars of the south.

The stars represntng that your FMTX region is now 4 instead of 1.

4 is global frequency range.

To make it work properly you need to install ProfileX from Extra-devel.

It will make the python i'm using runs at startup. I couldn't package the file into deb ball so i use ProfileX dependency instead.

Hope this answered your questions. Althernatively you can use the Custome_swappniness shell script. I prefered the icon in my status menu because it tells me that my region is now 4. :)

maxximuscool 2010-10-27 10:19

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by freemangordon (Post 853064)
which kernel are you using - titan's power one or stock one?

p.s. maybe it is my fault posting to wrong thread

I'm using stock kernel. I have had no issues with this at all. I knew some people also using Power Kernel with PR1.2 with this hack and it worked for them tool

PR1.3 power kernel may be still not yet compiled but i'm sure that it will work as well. This hack still allowing you to do a system update OTA as well. it does not conflicting with the OTA update. The only problem is the OTA update will replace the FMTXD back to standard one and you'll need to unlocking it again after the update. Otherwise it's perminant and only needs to do just once as long you don't reflashing your OS or update :)

But you can hack it back again just like Transition.ini

freemangordon 2010-10-27 10:44

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by maxximuscool (Post 853099)
I'm using stock kernel. I have had no issues with this at all. I knew some people also using Power Kernel with PR1.2 with this hack and it worked for them tool

PR1.3 power kernel may be still not yet compiled but i'm sure that it will work as well. This hack still allowing you to do a system update OTA as well. it does not conflicting with the OTA update. The only problem is the OTA update will replace the FMTXD back to standard one and you'll need to unlocking it again after the update. Otherwise it's perminant and only needs to do just once as long you don't reflashing your OS or update :)

But you can hack it back again just like Transition.ini

Sorry, definitely posted to wrong thread.

Wikiwide 2010-10-27 11:09

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by maxximuscool (Post 853050)
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.

Well...
I had a backup of original fmtxd from PR1.2, and I downloaded again unlocked fmtxd from
http://jacekowski.org/Maemo/FMTXD
And there was an fmtxd of PR1.3.
Neither original fmtxd of PR1.2 nor unlocked fmtxd from
http://jacekowski.org/Maemo/FMTXD
can run. When I choose frequency like 90, and click save, it says "Unable to use...".

So your words are a riddle to me.

brad112358 2010-10-28 03:57

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Using echo as root, I can no longer seem to set /sys/class/i2c-adapter/i2c-2/2-0063/power_level. It always reads back as 113. Did Nokia change the way this driver works?

les_garten 2010-10-28 04:50

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by brad112358 (Post 854612)
Using echo as root, I can no longer seem to set /sys/class/i2c-adapter/i2c-2/2-0063/power_level. It always reads back as 113. Did Nokia change the way this driver works?

If you upgraded to 1.3, you have to go thru the reinstall of FMTX again. Works fine after that.

brad112358 2010-10-28 19:17

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
When you think it's working for you, can you please open a shell and execute "cat /sys/class/i2c-adapter/i2c-2/2-0063/power_level" please? Then plug the phone in to a charger and try it again.

Thanks!

--Brad

les_garten 2010-10-28 19:27

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
It's 120 on and off charger

MohammadAG 2010-10-28 19:29

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
The kernel was patched to put a lock on the file, if anything other than 0 is written to it then the file is locked till the module is reloaded.

Reverting it is easy, just get the source of PR1.2's kernel and compile the c files against the PR1.3 headers.

les_garten 2010-10-28 19:39

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by MohammadAG (Post 855742)
The kernel was patched to put a lock on the file, if anything other than 0 is written to it then the file is locked till the module is reloaded.

Reverting it is easy, just get the source of PR1.2's kernel and compile the c files against the PR1.3 headers.

I'm not sure I'm following you here.

Is there a problem that mine is 120??

maxximuscool 2010-10-28 19:40

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by MohammadAG (Post 855742)
The kernel was patched to put a lock on the file, if anything other than 0 is written to it then the file is locked till the module is reloaded.

Reverting it is easy, just get the source of PR1.2's kernel and compile the c files against the PR1.3 headers.

Can you do that for us Mohammad?
You're one of the top elite Ninja around here :D I can't even make a .Deb ball properly. Would be nice if you could help us packaging this.

maxximuscool 2010-10-28 19:46

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Quote:

Originally Posted by Wikiwide (Post 853208)
Well...
I had a backup of original fmtxd from PR1.2, and I downloaded again unlocked fmtxd from
http://jacekowski.org/Maemo/FMTXD
And there was an fmtxd of PR1.3.
Neither original fmtxd of PR1.2 nor unlocked fmtxd from
http://jacekowski.org/Maemo/FMTXD
can run. When I choose frequency like 90, and click save, it says "Unable to use...".

So your words are a riddle to me.

Well you need to follow the steps on the first page :)
If you did not then your FMTX will not work, so you must!
Sometimes it takes a wee bit of trying to make it works once again and unlocked. So you need to follow and repeat the commandline steps.

Sorry this was not made easy for the none geeks to do. We need MohammadAG to help us make it easier :)

Mentalist Traceur 2010-10-28 19:59

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
I'm hoping Titan gets rid of that for his Power Kernel fixes. *Sigh* I get that Nokia probably doesn't want its phones usable illegally, but f'ing a, that's just bs in my opinion. Way to 'fix' stuff. (And this is like my first time being serious in disagreement with Nokia about something they did with Maemo that I can remember in a while).

If possible, it would be great to see a patching utility, that just overrides the parts of the kernel that are responsible for this.

(In the meantime, I don't even use this yet, though I intend on getting around to installing it eventually, but it's rather annoying to see Nokia actually blocking it.)

P.S. Mohammad, I love all the help you provide on this forum and everything you do, so don't take this to be hostile against you in any way, but just so you know, when you say:

Quote:

Reverting it is easy, just get the source of PR1.2's kernel and compile the c files against the PR1.3 headers.
People like me (and I actually try to look things up and figure them out on my own) don't see easy. We see:

"reverting it is easy, just get the [mythical code stored ... somewhere], and compile the [some sort of file type/category of file] [word implying opposition or comparison to, but which may have hidden programmer-only nuances] Pr1.3 [heade - what're those, how do you compile 'against' them?]."

But hey, it's STILL useful information. Just needs a lot of looking up. Nevertheless, it seems like it's only "easy" if you already know what you're doing.

brad112358 2010-10-28 21:17

Re: Unlocked FM-Transmitter frequency 76.0Mhz->107.9Mhz (Limitation Fixed)
 
Mohammad,
OK. It does behave as if it is locked which is why I asked. But if a non-zero write to the power control "file" locks it, how is fmtxd reducing the power level when USB is connected? Does fmtxd open the file just once and keep seeking/rewriting the power? I guess I should strace fmtxd or look in the new kernel source and find out for myself but I figured you might already know and I'm very lazy. :-)

Feel free to point me to another thread if this has been discussed elsewhere.

--Brad


All times are GMT. The time now is 19:53.

vBulletin® Version 3.8.8