maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   * The Truly Epic Maemo 5 MODs Thread * (https://talk.maemo.org/showthread.php?t=39565)

R-R 2010-01-10 17:48

Re: N900 MODs - share your MODs!!
 
What would be perfect is adding things to the bar but having the bar ON only when it's not maximised! :-)

Or is this what the following is doing? :-)

EDIT: uhm actually, you can't minimise after maximising without the bar...

Quote:

Originally Posted by f2thak (Post 458655)
Xterminal in FULLSCREEN:
-----------------------------------------------------------------------------------------------


type the following when in xterm to enable FULL fullscreen viewing!


gconftool-2 -s /apps/osso/xterm/toolbar -t bool "false"


Now, when u press the button to hide the top bar, the toolbar is also hidden, giving u a properly fullscreen terminal.


Ctrl-backspace still brings up the Expose view for app-switching.



I don't yet know a key combination to restore the top and bottom bars - so if anyone can help me out, that would be useful - doing it by script seems a bit extreme (although they come up by default on a new terminal, which seems sensible).




text sourced from http://talk.maemo.org/showthread.php?t=34926&page=3


christoph 2010-01-10 18:11

Re: N900 MODs - share your MODs!!
 
I modded my n900 to be ipv6 capable. Does that count ?

casper27 2010-01-10 18:23

Re: N900 MODs - share your MODs!!
 
Not really a Mod but you might find it helpfull. I changed the start up and shutdown splash screens for one that has my contact details on. I know it is very unlikely to be returned but there must be some honest people out there. This gives them the oportunity at least.

R-R 2010-01-10 19:21

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by codeMonkey (Post 462594)
There's a guide to LED Patterns on the n900 here.

The easiest way to get a darker purple is to use a more simple (in terms of not using increments/decrements) pattern like the below:

Code:

PatternCommunicationSMS=30;1;0;rB;9d8070007f007f0040337f007f000000;9d8070007f007f0040ff7f007f000000
Note that this should all be on one line.

That gives a fairly pleasant dark purple.
Given time I can probably get one fading in and out, but I'll leave that until later.

Uhm, the wiki says not to use the same led engine (does that mean there is 2 multi color leds?) at the same time, but then, how is their white made !?

EDIT: here rB gives RED but rb gives PURPLE ... confused :-)

Jnolcox 2010-01-10 23:46

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by qwerty12 (Post 462459)
Since the headphones act as the antenna, and they're needed to hear anything that remotely resembles sound, good luck with that...

the radio can be played through the speaker as well....

born2wonder 2010-01-11 00:09

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by Jnolcox (Post 463061)
the radio can be played through the speaker as well....

:confused: You still need the headphones to listen to (non-internet) radio since the headphones act as an antenna, as qwerty12 pointed out.

Jnolcox 2010-01-11 00:27

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by f2thak (Post 458592)
thanks mate, i think theyve updated the load-applet too

does yours actually record the screen? mine only captures audio at the moment :(

Jnolcox 2010-01-11 00:29

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by born2wonder (Post 463095)
:confused: You still need the headphones to listen to (non-internet) radio since the headphones act as an antenna, as qwerty12 pointed out.

yes they do act as an antenna but you can have the audio for the regular radio sent out via the speakers...so the headphones function SOLELY as the antenna with the speakers activated.
http://img109.imageshack.us/img109/7...enshot01ra.png

codeMonkey 2010-01-11 11:11

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by R-R (Post 462701)
Uhm, the wiki says not to use the same led engine (does that mean there is 2 multi color leds?) at the same time, but then, how is their white made !?

EDIT: here rB gives RED but rb gives PURPLE ... confused :-)

I've just noticed a typo in the pattern I listed. I've updated my first post, but will post the pattern here again for clarity.
Code:

PatternCommunicationSMS=30;1;0;rB;9d8040007f007f0040337f007f000000;9d8040007f007f0040ff7f007f000000
Please note that that pattern is ONE line

What the wiki means is that you shouldn't map the same colour to two engines, e.g. rR.

I've updated the wiki to reflect this.

leetut 2010-01-15 13:25

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by f2thak (Post 457128)

How to enable Reboot button?
plus more..

in power button settings!



* Download and install Midnight Commander, the well known file manager which also contains a convenient text editor.


where do i download midnight commander from ?
i cant find it anywhere on the internet,
and i cant find it in app mgr/downloads either.

Rob1n 2010-01-15 13:29

Re: N900 MODs - share your MODs!!
 
It's in the extras-devel repository (non-optified and uses about 5M of rootfs), but may be unavailable currently due to the maemo.org server move.

NUTNDUN 2010-01-15 13:34

Re: N900 MODs - share your MODs!!
 
Use leafpad or vi. I suggest leafpad all the time because it is easy for newcomers because it is close to what wordpad is in windows and it is available in the extras repo, just enable it in app manager.

les_garten 2010-01-15 16:40

Re: N900 MODs - share your MODs!!
 
Question about the "Reboot" button enabling.

If you open a Root Term and type "reboot" or "init 6" the file system is sync'd gracefully and it takes a few seconds to reboot. If you hit the "Reboot" button it is like you hit your N900 over the head with an Axe handle! Very abrupt and violent reset like the power was pulled.

I don't use that button. IT SCARES ME! And I don't scare easy! makes you wonder why it was disabled?

What do you guys think?

Bingley Joe 2010-01-16 01:15

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by Warpt1 (Post 462456)
Hope this is the right place to request mods or hacks.
Two things I would like to see are:
1. Enable the FM receiver without the headphone plugged in.

Your best bet for this is going to be by building yourself a short antenna stub from scratch, since as qwerty12 points out, the headphones are your antenna... I'm vaguely considering doing just that though, so if I come up with any decent materials, I'll be sure to post here.

bunanson 2010-01-16 03:08

Re: N900 MODs - share your MODs!!
 
1 Attachment(s)
Quote:

Originally Posted by les_garten (Post 474425)
Question about the "Reboot" button enabling....
What do you guys think?

I am using Reboot, Soft poweroff and they are just fine.

bun

les_garten 2010-01-16 03:41

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by bunanson (Post 475571)
I am using Reboot, Soft poweroff and they are just fine.

bun

I'll admit it works, just like a bullet to the head.

rooted 2010-01-16 12:16

Re: N900 MODs - share your MODs!!
 
I can't figure out for sure (read a lot in this forum about it) what are the differences between "Soft poweroff" and "Lock screen and keys". Both go to some form of sleep state afaik. Can someone who knows explain it in a sentence or two?

vartanov 2010-01-16 19:14

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by rooted (Post 476014)
I can't figure out for sure (read a lot in this forum about it) what are the differences between "Soft poweroff" and "Lock screen and keys". Both go to some form of sleep state afaik. Can someone who knows explain it in a sentence or two?

Cant figure out the difference either.Any ideas anyone?

I was thinking to replace the command in systemui file to do a "xterm reboot" instead of an abrupt cycle. Anyone tried this?

vartanov 2010-01-16 19:33

Re: N900 MODs - share your MODs!!
 
Added this entry to the file:

<menuitem priority="5" name="RebootX">
<callback service="com.nokia.xterm" path="/com/nokia/xterm" interface="com.nokia.xterm" method="run_command" bus="session" autostart="true">
<argument type="string">/sbin/reboot</argument>
</callback>
</menuitem>



There is now a button RebootX but all is seems to do is start an xterm window, close it and start another one. I think the command needs root privileges...

les_garten 2010-01-16 20:55

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by vartanov (Post 476675)
Added this entry to the file:

<menuitem priority="5" name="RebootX">
<callback service="com.nokia.xterm" path="/com/nokia/xterm" interface="com.nokia.xterm" method="run_command" bus="session" autostart="true">
<argument type="string">/sbin/reboot</argument>
</callback>
</menuitem>



There is now a button RebootX but all is seems to do is start an xterm window, close it and start another one. I think the command needs root privileges...

Mine did the same thing.

Might be able to cobble something together with low permissions with setuid possibly. But would not want to do that though.

Rob1n 2010-01-16 21:23

Re: N900 MODs - share your MODs!!
 
You could probably do "echo /sbin/reboot | sudo gainroot"

les_garten 2010-01-16 21:37

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by Rob1n (Post 476881)
You could probably do "echo /sbin/reboot | sudo gainroot"

Hey thanx, I'll give that a try. Looks like it will work!

les_garten 2010-01-16 21:55

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by Rob1n (Post 476881)
You could probably do "echo /sbin/reboot | sudo gainroot"

Heh, well that one didn't work. It opens two xterms and one collapses and disappears.

qwerty12 2010-01-16 22:03

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by les_garten (Post 476820)
Mine did the same thing.

Might be able to cobble something together with low permissions with setuid possibly. But would not want to do that though.

sudo could probably be abused for this:

Code:

sudo gainroot
echo "user ALL = NOPASSWD: /sbin/reboot" > /etc/sudoers.d/reboot.sudoers
update-sudoers

After that, change your reboot entry to run "sudo reboot".

qwerty12 2010-01-16 22:25

Re: N900 MODs - share your MODs!!
 
OK, scratch that: that only worked once...

Do this, instead:

Do the sudoers trick outlined above;

/usr/share/dbus-1/services/reboot.service:
Quote:

[D-BUS Service]
Name=com.misc.reboot
Exec=/usr/bin/sudo reboot
/etc/systemui/systemui.xml:
Quote:

<menuitem priority="750" name="Reboot">
<icon>general_refresh</icon>
<callback service="com.misc.reboot" path="/com/misc/reboot" interface="com.misc.reboot" method="reboot" bus="session" autostart="true">
<argument type="boolean">true</argument>
</callback>
</menuitem>

les_garten 2010-01-16 22:27

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by qwerty12 (Post 476970)
sudo could probably be abused for this:

Code:

sudo gainroot
echo "user ALL = NOPASSWD: /sbin/reboot" > /etc/sudoers.d/reboot.sudoers
update-sudoers

After that, change your reboot entry to run "sudo reboot".

Same thing, opens two Xterms and leaves one while the other melts away.

qwerty12 2010-01-16 22:29

Re: N900 MODs - share your MODs!!
 
Yep, I had it work once but then it started to do what you said. See my second method that abuses D-Bus - that worked more than once. :)

les_garten 2010-01-16 22:40

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by qwerty12 (Post 477019)
Yep, I had it work once but then it started to do what you said. See my second method that abuses D-Bus - that worked more than once. :)

That worked, interesting, thanx!

Why is the Reboot using osso-powerup-shutdown so "abrupt". Both these methods work but the osso command juist seems "Violent" in it's nature!

Schturman 2010-01-16 22:44

Re: N900 MODs - share your MODs!!
 
Maybe someone know how I can get the button or shortcut icon for a simple bluetooth ON/OFF action ?
I need this for a quickly on/off bluetooth.
Thanks

les_garten 2010-01-16 22:52

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by qwerty12 (Post 477019)
Yep, I had it work once but then it started to do what you said. See my second method that abuses D-Bus - that worked more than once. :)

How do you hup that menu with out a reboot?

qwerty12 2010-01-16 22:58

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by les_garten (Post 477062)
How do you hup that menu with out a reboot?

Oh, I just do "killall systemui".

Schturman, maybe switchOnBT may help you (Google it).

leetut 2010-01-17 02:53

Re: N900 MODs - share your MODs!!
 
these are a few personalisation mods ive been messing around with:

SHUTDOWN SPLASHSCREEN

http://www.mediafire.com/?dmj24mgmwty

put the png image you want to use in:
/usr/share/icons/hicolor/scalable/hildon
and rename it 'startup_nokia_logo'
then reboot phone

make a backup of the original file from that location first
and keep it safe incase you ever want the original back


http://img16.imageshack.us/img16/3119/88144632.gif

not sure why it still shows the old image when booting up, but this works for shutdown, hopefully someone can help with that

------------------------------------




CHANGE STATUS AREA BATTERY ICON COLOUR

http://img85.imageshack.us/img85/8671/screenshot122.png

http://www.mediafire.com/?mivnrinzhnn
just unzip the download from above and put the 8 png files into:
/usr/share/icons/hicolor/scalable/hildon
and reboot phone.
there already renamed this time
but make a safe backup of the originals for yourself
before overwriting any of these files




----------------------------------------

CHANGE OFFLINE/ONLINE NOTIFICATION SOUNDS

when phone first loads and connects, or when switching to online mode, the phone plays a quiet beep sound,
i changed that to 'welcome - to the real world' (morpheous from the matrix)

and a new offline sound, plays when going offline, 'command functions are offline' (from star trek i think!)

download and unzip from the link below:
http://www.mediafire.com/?v3tnjdnddmk
and put the 2 files into:
/usr/share/sounds
and reboot phone

make backups of your original files before overwriting with these


-------------------------------------------------------


and a couple of startup animations i made:

http://www.mediafire.com/?ntzjkwbjztj

http://www.mediafire.com/?wz05ztnz2ty

just put the avi you want to use into:
/usr/share/hildon-welcome/media
and rename it 'Hands-v32-h264'
no need to mod the config file if you keep the original name

make a back up of your original file first

Schturman 2010-01-17 09:48

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by leetut (Post 477408)
these are a few personalisation mods ive been messing around with:

SHUTDOWN SPLASHSCREEN

http://www.mediafire.com/?dmj24mgmwty

put the png image you want to use in:
/usr/share/icons/hicolor/scalable/hildon
and rename it 'startup_nokia_logo'
then reboot phone

make a backup of the original file from that location first
and keep it safe incase you ever want the original back


http://img16.imageshack.us/img16/3119/88144632.gif

not sure why it still shows the old image when booting up, but this works for shutdown, hopefully someone can help with that

Thanks for sharing. I have this problem too - booting up with old image.

Borreltje 2010-01-17 10:14

Re: N900 MODs - share your MODs!!
 
Thanks for sharing the battery-icons.
I made a set of my own, nothing fancy, just plain red-green.

http://www.borreltje.nl/n900/statusarea_battery.png

it can be downloaded here:

http://www.borreltje.nl/n900/new_battery_icons.zip

follow the instructions above by leetut to get them working.

Thanks again leetut!

Borreltje 2010-01-17 12:50

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by casper27 (Post 462645)
Not really a Mod but you might find it helpfull. I changed the start up and shutdown splash screens for one that has my contact details on. I know it is very unlikely to be returned but there must be some honest people out there. This gives them the oportunity at least.

Where can I change the start-up image, I did replace the startup_nokia_logo.png, but that only shows when shutting down, at boot I still have the nokia logo.
Is there a way to change that one as well????

ossipena 2010-01-17 13:00

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by f2thak (Post 457128)
WARNING: CHANGING THIS FILE OTHER THAN WHAT I ADVISE MAY BRICK YOUR DEVICE, I AM IN NO WAY RESPONSIBLE IF U BRICK UR DEVICE!!



How to enable Reboot button?
plus more..

in power button settings!




When you press the Power button, a menu is shown containing options to e.g. Switch off or lock the device. And what if you just want to reboot it? Sure, you can use the "Switch off" function and then just press the Power button again to turn the N900 back on. But it can be made simpler and quicker as you can add a separate "Reboot" button to the menu, which will automatically reboot the device without you having to do anything.

All you need to do is to edit one config file and "uncomment" its part responsible for showing the button, disabled by default.

In order to do this, you will to:

* Download and install rootsh from the Extras repository, which will give you root access in the X-Terminal
* Download and install Midnight Commander, the well known file manager which also contains a convenient text editor.



Now the actual modification:

Launch X-Terminal
* type sudo gainroot to enable root access
* type mc to launch Midnight Commander
* in the Midnight Commander, using the keyboard arrows, browse to the /ect/systemui/ folder and select the systemui.xml file
* make a copy of that file, just in case that you do something wrong, so that you can simply restore its original version anytime
* tap the 4 Edit button (at the bottom) to open the text editor
* at the bottom of the file you will notice that part of it (consisting of three ... entries) is disabled within the "comment" marks (starting ).
* move the "comment" marks mentioned above "<!--" (e.g. by deleting and re-typing them in other place) so that the two remaining entries ("Soft poweroff" and "Top in XTerm") are still within them but the "Reboot" entry gets outside of them
* tap 10 Quit button at the bottom of the editor and confirm in the requester that you want to save the file (if you don't see the 10 Quit button you may need to change the X-Terminal font size to 10)
* exit Midnight Commander, close X-Terminal and reboot the device
* after the N900 reboots, you should see the new "Reboot" option in the Menu.


When using the X-Terminal with root access enabled, be EXTREMELY CAUTIOUS! Root access enables you to modify (and thus also DAMAGE) all system files, which can even result in BRICKING the device. If you don't know what you are doing, better don't do it.


why are you trying to get credit from other peoples work?

F2thaK 2010-01-17 13:45

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by ossipena (Post 477961)
why are you trying to get credit from other peoples work?

not trying to get credit mate, ive gotten help from a lot of members, just returning the favour :rolleyes:

leetut 2010-01-17 13:48

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by Schturman (Post 477721)
Thanks for sharing. I have this problem too - booting up with old image.

i know the phone is mostly open source, but maybe theres another splashscreen, hidden in the locked part of the firmware, we would probs need a hack to get access to it, hope im wrong but thats what im thinking at the minute bro

CarstenDutch 2010-01-17 13:49

Re: N900 MODs - share your MODs!!
 
Here i made my own custom.

http://www.xs4all.nl/~carsten/Maemo/...erry_icons.jpg

F2thaK 2010-01-17 13:51

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by CarstenDutch (Post 478059)

want!.............
not sure if theyll look quite like they do there though


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

vBulletin® Version 3.8.8