maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   FM Transmitter status menu applet that doesn't hide when FMTX is disabled (https://talk.maemo.org/showthread.php?t=43395)

qwerty12 2010-02-04 18:01

FM Transmitter status menu applet that doesn't hide when FMTX is disabled
 
Long story short, I didn't want the FM Transmitter status menu applet to hide after I disabled it. Unfortunately, it's closed source and I didn't want to have to add another applet just to enable it. Looking at it, it wasn't complicated so even I could write a clone. It's pretty much a 1:1 clone (with the showing of error messages broadcast by fmtxd over D-BUS, usage of Nokia strings for localisation, and everything). IDA Pro FTW.
Only things I did differently was to ensure that the button is always there in the status area and I made sure that all memory was freed...

With the FM Transmitter off:
http://qwerty12.qole.org/maemo-statu...204-175150.png

With it on:
http://qwerty12.qole.org/maemo-statu...204-175214.png

Download: http://talk.maemo.org/showpost.php?p...7&postcount=13
Place the .so in /usr/lib/hildon-desktop, being sure to backup the previous one.

Mike Fr 2010-06-03 11:10

Re: FM Transmitter status menu applet that doesn't hide when FMTX is disabled
 
This is exactly what I need, but I ran into a problem. Could someone help me out with the following problem:
Attempt 1: I tried to rename the orginal file, but I got "Access denied"
Attempt 2: I copied/pasted the original file and wanted to replace the original for the new file, bit also "Access denied".
I used GPE File manage.
Thanks in advance.

Pigro 2010-06-03 11:30

Re: FM Transmitter status menu applet that doesn't hide when FMTX is disabled
 
As a wild guess, you probably need root perms? Try sudo gainroot first (assuming you have rootsh installed, if not get it form the repos).

Mike Fr 2010-06-03 12:25

Re: FM Transmitter status menu applet that doesn't hide when FMTX is disabled
 
Thanks for your reply Pigro. I will do some research on gainroot and rootsh (this is all new to me).

YoDude 2010-06-03 12:57

Re: FM Transmitter status menu applet that doesn't hide when FMTX is disabled
 
Quote:

Originally Posted by qwerty12 (Post 510749)
Long story short, I didn't want the FM Transmitter status menu applet to hide after I disabled it. Unfortunately, it's closed source and I didn't want to have to add another applet just to enable it. Looking at it, it wasn't complicated so even I could write a clone. It's pretty much a 1:1 clone (with the showing of error messages broadcast by fmtxd over D-BUS, usage of Nokia strings for localisation, and everything). IDA Pro FTW.
Only things I did differently was to ensure that the button is always there in the status area and I made sure that all memory was freed...

With the FM Transmitter off:
http://qwerty12.qole.org/maemo-statu...204-175150.png

With it on:
http://qwerty12.qole.org/maemo-statu...204-175214.png

Replacement .so here; source here. Place the .so in /usr/lib/hildon-desktop, being sure to backup the previous one.

WOW! Thanks for opening this up... you're still the best mang.

This approach if generalized across the board, opens many things up to the imagination. :)

Mike Fr 2010-06-03 21:29

Re: FM Transmitter status menu applet that doesn't hide when FMTX is disabled
 
May I ask for some help of the pro's in this forum?
I have RootSh installed, but I assume that I have to back-up and replace a .so file via X terminal/sudo gainroot . Could someone give me a clue on which commands I need to use in order to back-up and swap a file via XTerminal?
Thanks in advance.

[OM] 2010-06-03 21:34

Re: FM Transmitter status menu applet that doesn't hide when FMTX is disabled
 
How about a new applet that will always be there but with
the difference that you can start/stop the tm transmitter directly without
to wait that the settings app pop up from the bottom screen

something like this

[FM Transmitter __| \ / ]
[Frequency _____ | / \ ]

so i can just click on the right side of the applet to quickly turn
the transmitter on / off

MohammadAG 2010-06-03 21:37

Re: FM Transmitter status menu applet that doesn't hide when FMTX is disabled
 
To backup:
Code:

cp /usr/lib/hildon-desktop/fmtx_status_menu_item.so /home/user/MyDocs/fmtx_status_menu_item.so.orig
That should store it in MyDocs/"Nokia N900"
To replace it (assuming the file was downloaded to MyDocs/"Nokia N900"
Code:

cp /home/user/MyDocs/fmtx_status_menu_item.so /usr/lib/hildon-desktop/
You can use the onscreen tab button to complete file and directory names (or CTRL+I)

Of course you need to do all that (except the backup part) ^ as root

festivalnut 2010-06-03 21:40

Re: FM Transmitter status menu applet that doesn't hide when FMTX is disabled
 
Quote:

Originally Posted by Mike Fr (Post 698425)
May I ask for some help of the pro's in this forum?
I have RootSh installed, but I assume that I have to back-up and replace a .so file via X terminal/sudo gainroot . Could someone give me a clue on which commands I need to use in order to back-up and swap a file via XTerminal?
Thanks in advance.

copy the original file to somewhere safe (create a backup folder perhaps?) you can copy system files and paste them elsewhere without root permission so some file managers will work for that, you just need root permissions to write to system folders.

YoDude 2010-06-04 03:05

Re: FM Transmitter status menu applet that doesn't hide when FMTX is disabled
 
(heavy sigh) If only I had this...



Instead of this...


...my life would be as it should be.

:D

...Keep on hexin' mang!


All times are GMT. The time now is 13:05.

vBulletin® Version 3.8.8