maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Faster Booting Nokia N900 (https://talk.maemo.org/showthread.php?t=85390)

vi_ 2012-11-19 09:01

Re: Faster Booting Nokia N900
 
Quote:

Originally Posted by mr_pingu (Post 1295695)
Started to make a scrap-paper/semi-script of non-critical packages
I don't have the balls to test everything as I only have 1 N900, can't afford to nuke it...

Code:

# Remove MyNokia
apt-get purge cherry
rm /etc/X11/Xsession.d/34cherry
# Remove Nokiahands bootvideo
apt-get purge hildon-welcome
rm /etc/X11/Xsession.d/10hildon_welcome
rm /etc/X11/Xsession.post/04hildon-welcome-wait
apt-get purge hildon-welcome-default-logo
rm -r /etc/hildon-welcome.d
#Remove splashscreen (UNSURE)
#apt-get purge osso-systemui-splashscreen
#Remove the datescreenie after hwclockreset / battery pulled out
apt-get purge osso-startup-wizard
rm /etc/X11/Xsession.d/30osso_startup_wizard
rm -rf /var/lib/osso-startup-wizard/
#Remove the 5 dots
apt-get purge hildon-startup-progress
rm /etc/event.d/hildon-startup-progress
rm /etc/X11/Xsession.d/01xprogress
rm /etc/X11/Xsession.post/22xprogress-stop
#Remove the tutorial/user-guide
apt-get purge osso-tutorial-l10n-engb osso-tutorial-l10n-ptpt osso-tutorial-l10n-frca osso-tutorial-l10n-nlnl osso-tutorial-l10n-cscz osso-tutorial-l10n-itit osso-tutorial-l10n-eses osso-tutorial-l10n-svse osso-tutorial-l10n-frfr osso-tutorial-l10n-dede osso-tutorial-l10n-fifi osso-tutorial-l10n-nono osso-tutorial-l10n-esmx osso-tutorial-l10n-enus osso-tutorial-l10n-ruru osso-tutorial-l10n-mr0 osso-tutorial-l10n-plpl
rm /usr/share/applications/hildon/user-guide.desktop
#Remove the Ovi-store-icon
#Can be found in bookmarks in MicroB
rm /usr/share/applications/hildon/ovi.desktop
# Remove the default Nokia games
# Remove chess
apt-get purge osso-chess-ui gnuchess osso-graphics-game-chess sounds-game-chess
#Remove mahjong
apt-get purge osso-mahjong osso-sounds-game-mahjong osso-graphics-game-mahjong
osso-graphics-game-mahjong
#Remove marbles
osso-lmarbles osso-graphics-game-lmarbles
# remove blocks
apt-get purge maemoblocks 
# Remove leftovers
# apt-get purge hildon-games-wrapper0 - (needs investigation) 
apt-get purge osso-games-startup
# Remove language files osso-games
apt-get purge osso-games-l10n-cscz osso-games-l10n-dadk osso-games-l10n-dede osso-games-l10n-engb osso-games-l10n-enus osso-games-l10n-eses osso-games-l10n-esmx osso-games-l10n-fifi osso-games-l10n-frca osso-games-l10n-frfr osso-games-l10n-itit osso-games-l10n-mr0 osso-games-l10n-nlnl osso-games-l10n-nono osso-games-l10n-plpl osso-games-l10n-ptpt osso-games-l10n-ruru osso-games-l10n-svse
# Remove the default Installer-**** after reflash
Apt-get purge ap-installer amazon-installer foreca-installer facebook-installer skype-installer dtg-installer
# Remove the useless googlewidget which is basically a bookmark-widget
apt-get purge google-search-widget
# Remove the ovistorewidget
apt-get purge ovi-promotion-widget
# Remove the Default Themes
# Only do if custom theme is installed
# Orange theme
# Apt-get purge hildon-theme-beta
# Blue theme
# Apt-get purge hildon-theme-alpha


Interesting...however if you remove theme alpha AND beta...You will have no themes. You need at east one theme surely?

reinob 2012-11-19 09:13

Re: Faster Booting Nokia N900
 
Quote:

Originally Posted by vi_ (Post 1295793)
Interesting...however if you remove theme alpha AND beta...You will have no themes. You need at east one theme surely?

That's why he wrote:
Quote:

# Only do if custom theme is installed
But yeah, generally it is not wise to delete the default themes (I think they are optified anyway).

peterleinchen 2012-11-19 09:20

Re: Faster Booting Nokia N900
 
Quote:

Originally Posted by vi_ (Post 1295793)
... You need at east one theme surely

I think so. But also at west;)

As mr_pingu wrote:
Quote:

# Remove the Default Themes
# Only do if custom theme is installed
--edit
Oops, way too slow. Did not see reinob's comment.

thedead1440 2012-11-19 09:20

Re: Faster Booting Nokia N900
 
Thanks to mr_pingu for the script; I followed vi_'s advice and didn't remove the themes...

Output of the script: http://pastebin.com/B2hd1abC

The script itself:

Code:

#!/bin/sh

# Cleaner n900 Script
# Author mr_pingu @ TMO

# Remove MyNokia
apt-get purge cherry
rm /etc/X11/Xsession.d/34cherry
# Remove Nokiahands bootvideo
apt-get purge hildon-welcome
rm /etc/X11/Xsession.d/10hildon_welcome
rm /etc/X11/Xsession.post/04hildon-welcome-wait
apt-get purge hildon-welcome-default-logo
rm -r /etc/hildon-welcome.d
#Remove splashscreen (UNSURE)
#apt-get purge osso-systemui-splashscreen
#Remove the datescreenie after hwclockreset / battery pulled out
apt-get purge osso-startup-wizard
rm /etc/X11/Xsession.d/30osso_startup_wizard
rm -rf /var/lib/osso-startup-wizard/
#Remove the 5 dots
apt-get purge hildon-startup-progress
rm /etc/event.d/hildon-startup-progress
rm /etc/X11/Xsession.d/01xprogress
rm /etc/X11/Xsession.post/22xprogress-stop
#Remove the tutorial/user-guide
apt-get purge osso-tutorial-l10n-engb osso-tutorial-l10n-ptpt osso-tutorial-l10n-frca osso-tutorial-l10n-nlnl osso-tutorial-l10n-cscz osso-tutorial-l10n-itit osso-tutorial-l10n-eses osso-tutorial-l10n-svse osso-tutorial-l10n-frfr osso-tutorial-l10n-dede osso-tutorial-l10n-fifi osso-tutorial-l10n-nono osso-tutorial-l10n-esmx osso-tutorial-l10n-enus osso-tutorial-l10n-ruru osso-tutorial-l10n-mr0 osso-tutorial-l10n-plpl
rm /usr/share/applications/hildon/user-guide.desktop
#Remove the Ovi-store-icon
#Can be found in bookmarks in MicroB
rm /usr/share/applications/hildon/ovi.desktop
# Remove the default Nokia games
# Remove chess
apt-get purge osso-chess-ui gnuchess osso-graphics-game-chess sounds-game-chess
#Remove mahjong
apt-get purge osso-mahjong osso-sounds-game-mahjong osso-graphics-game-mahjong
osso-graphics-game-mahjong
#Remove marbles
osso-lmarbles osso-graphics-game-lmarbles
# remove blocks
apt-get purge maemoblocks 
# Remove leftovers
# apt-get purge hildon-games-wrapper0 - (needs investigation) 
apt-get purge osso-games-startup
# Remove language files osso-games
apt-get purge osso-games-l10n-cscz osso-games-l10n-dadk osso-games-l10n-dede osso-games-l10n-engb osso-games-l10n-enus osso-games-l10n-eses osso-games-l10n-esmx osso-games-l10n-fifi osso-games-l10n-frca osso-games-l10n-frfr osso-games-l10n-itit osso-games-l10n-mr0 osso-games-l10n-nlnl osso-games-l10n-nono osso-games-l10n-plpl osso-games-l10n-ptpt osso-games-l10n-ruru osso-games-l10n-svse
# Remove the default Installer-**** after reflash
apt-get purge ap-installer amazon-installer foreca-installer facebook-installer skype-installer dtg-installer
# Remove the useless googlewidget which is basically a bookmark-widget
apt-get purge google-search-widget
# Remove the ovistorewidget
apt-get purge ovi-promotion-widget

Just did a boot-up and no adverse effects so far :D After the NOKIA logo the screen goes blank and boots IMO faster to desktop than before (could be a placebo effect)...


IMO it would be easier if -y is added to every line of apt-get purge but then its safer to not put it in so that a user can see for himself what is being removed and object to it...


Edit: For the record, I'm running on latest CSSU-thumb with kernel-powerr51

mr_pingu 2012-11-19 09:29

Re: Faster Booting Nokia N900
 
Quote:

Originally Posted by vi_ (Post 1295793)
Interesting...however if you remove theme alpha AND beta...You will have no themes. You need at east one theme surely?

That's why I initially commented out these purge commands, same goes for hildon-games-wrapper0, I am not sure what it does, but my guess is that it can be deleted if you delete the games too...


Also it was more of a scrap/script/note than a real script meant to be run. However I made it runable, for the ease of it...

Edit: Anybody an idea what this package might be, osso-systemui-splashscreen ?
Code:

# Remove splashscreen (UNSURE)
# apt-get purge osso-systemui-splashscreen

Shutdown splash?
Boot up splash is in NOLO, AFAIK...

vi_ 2012-11-19 10:18

Re: Faster Booting Nokia N900
 
You could probably get rid of 'test server'. It has a bunch of start up scripts as well. I have removed the 'beta' theme on my device ages ago, leaving the alpha theme.

You can also ditch 'osso-startup-wizard' and all of it's startup scripts, however it means if you remove the battery for too long, the system clock will need to be set by hand. It also does something with locales as well, never figured it out.

If you do not have a sim-lock code or device lock code you could probably get rid of the instance of matchbox window manager that is started up prior to hildon to contain the 'enter lock codes' screens.

Siren 2012-11-19 11:10

Re: Faster Booting Nokia N900
 
Quote:

Originally Posted by mr_pingu (Post 1295813)
Edit: Anybody an idea what this package might be, osso-systemui-splashscreen ?

Maybe it's famous screenshot of "settings", that is show while settings are loaded, to give fake impression of settings getting loader quickly, than they are in reality?

AFAIK, CSSU does same thing with settings, but using their own method. Either way, both things seem useless, if it's really this.

pichlo 2012-11-19 11:27

Re: Faster Booting Nokia N900
 
Quote:

Originally Posted by mr_pingu (Post 1295813)
That's why I initially commented out these purge commands, same goes for hildon-games-wrapper0, I am not sure what it does, but my guess is that it can be deleted if you delete the games too...

My understanding is that it is the initial screen of all default games. The only thing that changes is the bitmap covering the top half of the screen. If you remove games, you can safely remove this package too. I have done it without a problem, but then put it back because I decided I wanted mahjong after all.

Quote:

Edit: Anybody an idea what this package might be, osso-systemui-splashscreen ?
Code:

# Remove splashscreen (UNSURE)
# apt-get purge osso-systemui-splashscreen

Shutdown splash?
Boot up splash is in NOLO, AFAIK...
No idea. I have removed it and hildon-welcome, as well as grepped for and deleted everything with splash in the name, but I am still getting the Nokia logo on startup, albeit not on shutdown. So your theory might be right.

vi_ 2012-11-19 11:29

Re: Faster Booting Nokia N900
 
Quote:

Originally Posted by pichlo (Post 1295849)
My understanding is that it is the initial screen of all default games. The only thing that changes is the bitmap covering the top half of the screen. If you remove games, you can safely remove this package too. I have done it without a problem, but then put it back because I decided I wanted mahjong after all.



No idea. I have removed it and hildon-welcome, as well as grepped for and deleted everything with splash in the name, but I am still getting the Nokia logo on startup, albeit not on shutdown. So your theory might be right.

The nokia logo on startup is built onto NOLO.

It is possible to change/remove it but that will not make your n900 boot any faster at all.

reinob 2012-11-19 11:42

Re: Faster Booting Nokia N900
 
Quote:

Originally Posted by Siren (Post 1295841)
Maybe it's famous screenshot of "settings", that is show while settings are loaded, to give fake impression of settings getting loader quickly, than they are in reality?

No! that's not it. It is the splash screen (with sound) you see when shutting down the N900. I would NOT remove it until it's understood what exactly it does (as side effects).

Quote:

AFAIK, CSSU does same thing with settings, but using their own method. Either way, both things seem useless, if it's really this.
For disabling the screenshots (which I also dislike), just chmod a-w /home/user/.cache/launch and delete all files in that folder. From that point on, no new screenshots will be saved there.


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

vBulletin® Version 3.8.8