maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Request] modding app for n900.Make n900 absolutely different from any other device! (https://talk.maemo.org/showthread.php?t=69461)

nicholes 2011-02-07 10:30

[Request] modding app for n900.Make n900 absolutely different from any other device!
 
i just installed custom name applate.so i can change the text of the operator which is shown on the desktop.


i have got an idea today from this app if any one of you can make an app by which we can edit as many text editing as possible on n900.for example we can change text for "one application successfully installed" or "Bluetooth set is on" or "backup complete" etc. i wonder if we can change text of our own choice

also if we could add custom sound to our device like "when i click" or "when app is installed" or "when backup is complete" or "when i unlock the device" or any warning sound etc. i wonder if we can change sound of our own choice

what do you think???

update:- i made a video about the sound hacking (not how to) but you can see the sound effact! here

UDPDATE:-here is how to about changing system sound Click here

N900@900MHz 2011-02-07 10:39

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
haha,

a program voor n900 make n900 absolutly different from any other phone???

I say this only ONCE, the n900 IS completly different than any other phone,from it's self.... :):):)

xRobby 2011-02-07 11:13

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Would be kinda cool, but is it really neccessary? i like the sound idea but i wouldn't use the text. + you could probably change the sounds anyway if you just changed the sound files if you can find them?

Boemien 2011-02-07 11:21

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Yeah that's a good idea, I agree with you. It will be a good way to have a "unique" N900!!!

ammyt 2011-02-07 11:41

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Yeah, probably adding the sound of FREEEEEEEDOM when successfully installing an app with the text "Scotland is yours" would be cool.

nicholes 2011-02-07 11:48

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Quote:

Originally Posted by ammyt (Post 938042)
Yeah, probably adding the sound of FREEEEEEEDOM when successfully installing an app with the text "Scotland is yours" would be cool.

imagine if it is your own voice then!!!!!!!

hathoda 2011-02-07 11:55

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Quote:

Originally Posted by ammyt (Post 938042)
Yeah, probably adding the sound of FREEEEEEEDOM when successfully installing an app with the text "Scotland is yours" would be cool.

i want adding sound in my own voice "mission accomplished" with the text "great n900 has got one more app sir"

would be cool to make my n900 unique

sophocha 2011-02-07 12:04

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
call Mel Gibson....he will help you

thp 2011-02-07 12:50

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Quote:

Originally Posted by nicholes (Post 938021)
i have got an idea today from this app if any one of you can make an app by which we can edit as many text editing as possible on n900.for example we can change text for "one application successfully installed" or "Bluetooth set is on" or "backup complete" etc. i wonder if we can change text of our own choice

also if we could add custom sound to our device like "when i click" or "when app is installed" or "when backup is complete" or "when i unlock the device" or any warning sound etc. i wonder if we can change sound of our own choice

what do you think???

You can do this already. You have to do a custom "translation" of the UIs in question. If you want to do it the quick'n'dirty way, grab the .mo files for the app you want to edit from
Code:

/usr/share/locale/en_US/LC_MESSAGES
(where en_US is replaced with the locale you have set up - for me, it's English (United States), it might be different for you). As an example, use the hildon-fm.mo file (the file manager texts). Now, copy that file from the device to your computer, and use
Code:

msgunfmt hildon-fm.mo > hildon-fm.po
to convert it to a plaintext gettext file. You can then open and edit this using e.g. poedit. After you are done editing, save it, and use
Code:

msgfmt hildon-fm.po -o hildon-fm.mo
to compile the message catalog again. Now, copy the updated catalog to your device in the same folder as the old file (/usr/share/locale/en_US/LC_MESSAGES) and make sure the permissions are correct.

You might need root permissions for replacing the files on the device. Be careful!

Sounds are replaced by simply replacing the sound files in
Code:

/usr/share/sounds
or
Code:

/usr/share/sounds/maemo/stereo
Have fun, but if you break something, you got to keep the pieces :)

Update: It seems like the "gettext" package is even available in Extras. With an "apt-get install gettext", you can have msgfmt and msgunfmt directly on your N900, and do everything from the X Terminal.

nicholes 2011-02-07 13:16

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
@thp

thanks man i really wanted something like that!!!!

one question
if i break something (lost some .po or mo files) do i have to flash n900 or just restoring the device can bring it back?(from backup)

thp 2011-02-07 13:19

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Quote:

Originally Posted by nicholes (Post 938101)
if i break something (lost some .po or mo files) do i have to flash n900 or just restoring the device can bring it back?(from backup)

If you know which package the file belongs, you can just "apt-get install --reinstall <packagename>" the package, and it should restore the translation files (I think). It won't hurt to use the following command to create a backup of the files, though:
Code:

tar czvf /home/user/MyDocs/locale-backup.tar.gz /usr/share/locale
Of course, if you accidentally break something else, you might have to reflash, so backing up everything is always a good idea! ;) If .mo files are missing, your applications will still work, they will just have very weird texts in them.

thp 2011-02-07 13:35

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
I've created a small package for the scripts - you can get the package here: stringmodding-scripts_0.0.2_all.deb

stringmodding-search and stringmodding-replace is what you want to use. Call them without parameters to see the usage information. The package "stringmodding-scripts" has been uploaded to Extras-Devel.

You still need to copy the output file (saved in the current directory) into /usr/share/locale - for this you need root rights.

hathoda 2011-02-07 15:43

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
1 Attachment(s)
Quote:

Originally Posted by thp (Post 938117)
I've created a small package for the scripts - you can get the package here: stringmodding-scripts_0.0.2_all.deb

stringmodding-search and stringmodding-replace is what you want to use. Call them without parameters to see the usage information. The package "stringmodding-scripts" has been uploaded to Extras-Devel.

You still need to copy the output file (saved in the current directory) into /usr/share/locale - for this you need root rights.

i am a noob how ever i have chenged my sound file... thanks....

but looks like it is hard to change text for a person like me,there should be some app for this...and ya....

i could not install "stringmodding-scripts" (if it is opreted from xterminal i think it will be be almost imposible for me to use it)

Boemien 2011-02-07 17:20

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Quote:

Originally Posted by hathoda (Post 938193)

i could not install "stringmodding-scripts" (if it is opreted from xterminal i think it will be be almost imposible for me to use it)

Try to copy the file from your computer to the root of the N900.
Then open the terminal and type this:

Code:

sudo gainroot
cd MyDocs
dpkg --force-depends-i stringmodding-scripts_0.0.2_all.deb

I hope it will help!!! :D

nicholes 2011-02-07 17:50

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
is anyone interested in making app for this feature???

Weedalot 2011-02-07 21:21

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
you can use filebox and just browse to the directory and use edit the file yourselves. either mc (midnight commander) or leafpad and do what thp said (dont forget to backup original files first)

kingoddball 2011-02-07 21:43

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Does anyone have a pack of icons for application menu? (the 6 dots/2dots/squares)

I used to have bunnie rabbits (tux in rabbit costume).
I've seen cool one, but would like an entire pack! :D

nicholes 2011-02-08 03:16

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Quote:

Originally Posted by thp (Post 938078)
You can do this already. You have to do a custom "translation" of the UIs in question. If you want to do it the quick'n'dirty way, grab the .mo files for the app you want to edit from
Code:

/usr/share/locale/en_US/LC_MESSAGES
(where en_US is replaced with the locale you have set up - for me, it's English (United States), it might be different for you). As an example, use the hildon-fm.mo file (the file manager texts). Now, copy that file from the device to your computer, and use
Code:

msgunfmt hildon-fm.mo > hildon-fm.po
to convert it to a plaintext gettext file. You can then open and edit this using e.g. poedit. After you are done editing, save it, and use
Code:

msgfmt hildon-fm.po -o hildon-fm.mo
to compile the message catalog again. Now, copy the updated catalog to your device in the same folder as the old file (/usr/share/locale/en_US/LC_MESSAGES) and make sure the permissions are correct.

You might need root permissions for replacing the files on the device. Be careful!

Sounds are replaced by simply replacing the sound files in
Code:

/usr/share/sounds
or
Code:

/usr/share/sounds/maemo/stereo
Have fun, but if you break something, you got to keep the pieces :)

Update: It seems like the "gettext" package is even available in Extras. With an "apt-get install gettext", you can have msgfmt and msgunfmt directly on your N900, and do everything from the X Terminal.


i have successfully changed the sound but could not understand how change text!! i have grab the file named "hildon-fm.mo" now how what to edit in that file??(i have installed poeditor also on my pc)what do you mean by

Code:

msgunfmt hildon-fm.mo > hildon-fm.po
where is hildon-fm.po file plz xplane

somedude 2011-02-08 04:16

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
app similar to winterboard for iphone would be great, to include all the mods from thread "epic maemo mod thread”

nicholes 2011-02-08 15:08

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Quote:

Originally Posted by thp (Post 938078)
You can do this already. You have to do a custom "translation" of the UIs in question. If you want to do it the quick'n'dirty way, grab the .mo files for the app you want to edit from
Code:

/usr/share/locale/en_US/LC_MESSAGES
(where en_US is replaced with the locale you have set up - for me, it's English (United States), it might be different for you). As an example, use the hildon-fm.mo file (the file manager texts). Now, copy that file from the device to your computer, and use
Code:

msgunfmt hildon-fm.mo > hildon-fm.po
to convert it to a plaintext gettext file. You can then open and edit this using e.g. poedit. After you are done editing, save it, and use
Code:

msgfmt hildon-fm.po -o hildon-fm.mo
to compile the message catalog again. Now, copy the updated catalog to your device in the same folder as the old file (/usr/share/locale/en_US/LC_MESSAGES) and make sure the permissions are correct.

You might need root permissions for replacing the files on the device. Be careful!

Sounds are replaced by simply replacing the sound files in
Code:

/usr/share/sounds
or
Code:

/usr/share/sounds/maemo/stereo
Have fun, but if you break something, you got to keep the pieces :)

Update: It seems like the "gettext" package is even available in Extras. With an "apt-get install gettext", you can have msgfmt and msgunfmt directly on your N900, and do everything from the X Terminal.

i have successfully changed the sound but could not understand how change text!! i have grab the file named "hildon-fm.mo" now how and what to edit in that file??(i have installed poeditor also on my pc)what do you mean by


Code:
msgunfmt hildon-fm.mo > hildon-fm.po where is hildon-fm.po file? plz xplane

hathoda 2011-02-08 17:23

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Quote:

Originally Posted by nicholes (Post 939038)
i have successfully changed the sound but could not understand how change text!! i have grab the file named "hildon-fm.mo" now how and what to edit in that file??(i have installed poeditor also on my pc)what do you mean by


Code:
msgunfmt hildon-fm.mo > hildon-fm.po where is hildon-fm.po file? plz xplane

i think thp means by saying ....


Quote:

Originally Posted by thp (Post 938078)
As an example, use the hildon-fm.mo file (the file manager texts). Now, copy that file from the device to your computer, and use
Code:

msgunfmt hildon-fm.mo > hildon-fm.po
to convert it to a plaintext gettext file. You can then open and edit this using e.g. poedit. After you are done editing, save it, and use
Code:

msgfmt hildon-fm.po -o hildon-fm.mo
to compile the message catalog again. Now, copy the updated catalog to your device in the same folder as the old file (/usr/share/locale/en_US/LC_MESSAGES) and make sure the permissions are correct.

(i think)that files may be changed in linux(i do not know i am noob here)

"msgunfmt" is linux command(after google it looks so)

and hildon-fm.mo must be converted in hildon-fm.po

then poeditore will do the job for changing the text and compile a new .mo file to be replaced

(i may be wrong)

nicholes 2011-02-09 12:16

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Quote:

Originally Posted by thp (Post 938078)
You can do this already. You have to do a custom "translation" of the UIs in question. If you want to do it the quick'n'dirty way, grab the .mo files for the app you want to edit from
Code:

/usr/share/locale/en_US/LC_MESSAGES
(where en_US is replaced with the locale you have set up - for me, it's English (United States), it might be different for you). As an example, use the hildon-fm.mo file (the file manager texts). Now, copy that file from the device to your computer, and use
Code:

msgunfmt hildon-fm.mo > hildon-fm.po
to convert it to a plaintext gettext file. You can then open and edit this using e.g. poedit. After you are done editing, save it, and use
Code:

msgfmt hildon-fm.po -o hildon-fm.mo
to compile the message catalog again. Now, copy the updated catalog to your device in the same folder as the old file (/usr/share/locale/en_US/LC_MESSAGES) and make sure the permissions are correct.

You might need root permissions for replacing the files on the device. Be careful!

Sounds are replaced by simply replacing the sound files in
Code:

/usr/share/sounds
or
Code:

/usr/share/sounds/maemo/stereo
Have fun, but if you break something, you got to keep the pieces :)

Update: It seems like the "gettext" package is even available in Extras. With an "apt-get install gettext", you can have msgfmt and msgunfmt directly on your N900, and do everything from the X Terminal.

i have changed file .mo to .po .. so now where to add my text in it using poedit???? there is no text saying "application successfully installed or something( i am opning .po file in poedit)
i have successfully done this by putting hildon-fm.mo file in bin folder of poedit using this code

Code:

msgunfmt hildon-fm.mo > hildon-fm.po
now i have new .po file but could not find where to add my text in it??plz help

michaaa62 2011-02-09 21:53

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Find the msgid, which is the description and the original text. the msgstr is the translated text, which you might substitute with your personal string.

Boemien 2011-06-23 08:13

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Hi All,
No easy-to-do method has been released for this good idea yet???

nicholes 2011-06-23 11:41

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Quote:

Originally Posted by Boemien (Post 1036848)
Hi All,
No easy-to-do method has been released for this good idea yet???


at least i would make a video tutorial for this to make it easy for everyone

keep in touch!

nicholes 2011-09-09 12:42

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
i made a video about the sound hacking (not how to) but you can see the sound effact! here

nicholes 2012-02-09 14:02

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
I have just uploaded a tutorial video about how to change the system sound here

nicholes 2012-02-10 12:33

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Hi guys another video uploaded (a tutorial) how to change the application names in the menu Click here


All times are GMT. The time now is 10:22.

vBulletin® Version 3.8.8