Reply
Thread Tools
Guest | Posts: n/a | Thanked: 0 times | Joined on
#1
Hello, Maemo 5 community.

This will be the thread for updates to removebloat.sh.
Current version: 0.01a

For now this is designed as a "proof-of-concept" script that I am working on that plans to remove as much bloatware or unnecessary software, especially proprietary software, from the Maemo 5 OS as much as possible without causing the N900 to "brick".

The CSSU does no justice in removing this software. So I plan to help with this. And others can join. Read more.

Backup your Maemo 5 device before using this! There is no guarantee that your device will function properly afterwards!

If you think you may have "bricked" your device, try accessing backupmenu. If you can't, then re-flash. Instructions for such things are out of the relevance of this topic.

You need to have already done the following before using this script:
  • Upgrade to at least PR 1.3 and install the Community CSSU.
  • Have NOT ALREADY removed some osso software. You'll need to Have a fresh device, or may have to comment out packages that Have already been removed in the script.
  • Backed up with backupmenu (not required, but HIGHLY recommended!)
  • Have decided that you actually want to do this. You may want to install some more software after this.

Some software that can be replaced:

hildon-application-manager can be replaced with aptitude.
osso-camera can be replaced with FCamera.
osso-browser can be replaced with Fennec, Dillo, Midori, etc...
osso-filemanager can be replaced with mc, GPE File Manager...
osso-pdfviewer can be replaced with epdfviewer.

If you attempt your best to use and bathe in free software like I am doing. You get the idea.

Problems:
hildon-application-manager cannot be removed because CSSU depends on it.
osso-browser cannot be removed because hildon-home and others depend on it.
osso-settings cannot be removed because there is no replacement.
osso-xterm cannot be removed, just because...
Cannot force apt-get to continue removing packages, even if some are missing.

What you can do to help:
Most importantly, report ANY problems you have with this script!
Suggest unnecessary software to be removed. I'm only a little bit familiar with Maemo 5. There's so many packages I don't know about, and some of which are proprietary software. Please let me know what CAN be removed.
List other files (not software) that can be removed. Or follow up on Freeing RootFS Space, because that can help too.
Finally, please list any replacement or alternative software for the osso packages people may have missed.

I also plan to put this script on my Maemo user page and on Pastebin. You can find copies there if you cannot download the attachment.

http://wiki.maemo.org/User:mrrhq
Pastebin link will come soon after a stable release.

This script is released with Zero Copyright, and without any warranty or disclaimer of any kind. I only ask that you keep authorship of my script, but it is not required. I think I may need to give credit to someone else for another small part of the script that influenced this one, but I forgot your name (sorry). Use at your own risk.

Thanks are absolutely not necessary, but always appreciated.
Attached Files
File Type: gz removebloat.sh.gz (359 Bytes, 156 views)

Last edited by mrrhq; 2012-05-21 at 19:50.
 

The Following 4 Users Say Thank You to For This Useful Post:
sifo's Avatar
Posts: 1,359 | Thanked: 1,292 times | Joined on Oct 2011 @ Tartus.Syria
#2
@mrrhq
hi. i really appreciate your little work but do you own Nokia N900 ? and tried this script by yourself ?.

im not an expert but should not the script start with #! /bin/sh or #! /bin/bash

and i guess this is a little similar to Tanner's script (moveroot.sh)

i dont recommend someone to use this script it is totally wrong and not as he said !?!
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7

Last edited by sifo; 2012-05-21 at 20:18.
 
shanttu's Avatar
Posts: 234 | Thanked: 281 times | Joined on Nov 2010 @ Helsinki
#3
Seems legit.
 
sifo's Avatar
Posts: 1,359 | Thanked: 1,292 times | Joined on Oct 2011 @ Tartus.Syria
#4
Seems legit.
then try it
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 
shanttu's Avatar
Posts: 234 | Thanked: 281 times | Joined on Nov 2010 @ Helsinki
#5
I'm only a little bit familiar with Maemo 5. There's so many packages I don't know about,
Mmkay.

10 chars.
 

The Following User Says Thank You to shanttu For This Useful Post:
Guest | Posts: n/a | Thanked: 0 times | Joined on
#6
Originally Posted by sifo View Post
@mrrhq
hi. i really appreciate your little work but do you own Nokia N900 ? and tried this script by yourself ?.

im not an expert but should not the script start with #! /bin/sh or #! /bin/bash

and i guess this is a little similar to Tanner's script (moveroot.sh)

i dont recommend someone to use this script it is totally wrong and not as he said !?!
Oh, interesting. I was able to execute it without that line, but I'll add the shebang.

It works out for me, but I would take a look at what packages are being removed, firstly. For example, most of the hildon-status* packages are safe to remove, but some others are not.

I'll have a look at Tanner's script and add any credits.
 

The Following 3 Users Say Thank You to For This Useful Post:
Posts: 346 | Thanked: 271 times | Joined on Jan 2010
#7
As much as removing thing like amazon-installer, ap-installer etc... will may be speed up a bit the process of removing unwanted parts after reflashing, removing things like the browser engine will for sure breaks things (conversation relies on it for the rendering), removing hildon-games-wrapper0 will not save a lot place, and will break some emulators that relies on it for their GUI.

But I like the idea of making a list of package which 99.99% of users will for sure remove, may be for a more finished version, make the script autoremove this useless stuff, then ask the user if he wants to remove the other packages, by prompting him for each package with a short description of what the removing of theses packages implies exactly.
 

The Following 4 Users Say Thank You to Megaltariak For This Useful Post:
sifo's Avatar
Posts: 1,359 | Thanked: 1,292 times | Joined on Oct 2011 @ Tartus.Syria
#8
this is our friend script, strange ?


Code:
#Remove packages
apt-get --purge --auto-remove remove \
  amazon-installer \
  ap-installer \
  calendar* \
  dtg-installer \
  facebook-installer* \
  foreca-installer \
  gnuchess \
  hildon-games-wrapper0 \
  maemoblocks \
  nokia-maps-core \
  osso-backup* \
  osso-camera* \
  osso-calculator* \
  osso-clock* \
  osso-games* \
  osso-graphics-game-chess \
  osso-graphics-game-lmarbles \
  osso-graphics-game-mahjong \
  osso-imageviewer* \
  osso-sounds-game-chess \
  osso-lmarbles \
  osso-mahjong \
  osso-notes* \
  osso-pdf-viewer* \
  osso-rss-feed-reader* \
  osso-sketch* \
  osso-sounds-game-mahjong \
  osso-tutorial* \
  ovi-promotion-widget \
  tutorial-home-applet \

#Remove files
rm -rf \
 /usr/share/tutorial-applet \
 /usr/share/applications/hildon/user-guide.desktop \
 /usr/share/applications/hildon/ovi.desktop \
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 

The Following 4 Users Say Thank You to sifo For This Useful Post:
sifo's Avatar
Posts: 1,359 | Thanked: 1,292 times | Joined on Oct 2011 @ Tartus.Syria
#9
Originally Posted by Megaltariak View Post
As much as removing thing like amazon-installer, ap-installer etc... will may be speed up a bit the process of removing unwanted parts after reflashing, removing things like the browser engine will for sure breaks things (conversation relies on it for the rendering), removing hildon-games-wrapper0 will not save a lot place, and will break some emulators that relies on it for their GUI.

But I like the idea of making a list of package which 99.99% of users will for sure remove, may be for a more finished version, make the script autoremove this useless stuff, then ask the user if he wants to remove the other packages, by prompting him for each package with a short description of what the removing of theses packages implies exactly.
exactly this is what im trying to reach there is some files should not be removed
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#10
At least as much proprietary software as possible should be removed (sorry if I sound too much like RMS).

I'm just trying to find out if the osso- stuff is really closed source, unnecessary, and if it can be replaced.

This whole script is an experiment, and I'm sorry if it came off negatively that way.

Also, just because it shouldn't be removed doesn't mean it can't. And software always can be replaced by something generally better. I usually don't enjoy having the notification area spammed up and having messages pop-up saying if I want to use mass-storage or PC Suite, which I will never use anyway.

And I will get more familiar with Maemo as I start using it.
 

The Following 4 Users Say Thank You to For This Useful Post:
Reply

Tags
bad idea, script-a-brick


 
Forum Jump


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