maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   miroroot.sh a script to clear rootfs has ruined my phone !! :( (https://talk.maemo.org/showthread.php?t=87383)

Ammar Hamdan 2012-10-18 15:02

Re: miroroot.sh a script to clear rootfs has ruined my phone !! :(
 
@pichlo
thx 4 ur advice :) .. but I already flashed my phone :(

anyway everything is O.K .. but after installing some apps .... media player app & media player widget were disappeared !!

PLZ HEEEEEEEEELP !!!

:( :confused: :( :confused: :(

anthonie 2012-10-18 18:16

Re: miroroot.sh a script to clear rootfs has ruined my phone !! :(
 
Start with a list of apps you installed after flashing your phone, as without it, there is no way of knowing what could possibly have gone wrong.

J4ZZ 2012-10-19 09:12

Re: miroroot.sh a script to clear rootfs has ruined my phone !! :(
 
Quote:

Originally Posted by Ammar Hamdan (Post 1282156)
@pichlo
thx 4 ur advice :) .. but I already flashed my phone :(

anyway everything is O.K .. but after installing some apps .... media player app & media player widget were disappeared !!

PLZ HEEEEEEEEELP !!!

:( :confused: :( :confused: :(

Have you tried (in terminal)

Code:

sudo gainroot
apt-get install --reinstall mediaplayer mediaplayerhomeapplet

Regards,

J4ZZ

amr.fayz 2013-04-22 14:41

Miroroot script to safely free space on rootfs
 
1 Attachment(s)
Hi,

Miroroot is script to safely free space on rootfs To solve the problem of Low space

SHARP66 2013-04-22 15:11

Re: Miroroot script to safely free space on rootfs
 
why do not write more explicationes for noobs like me, or should I download and find out myself what will happen after running this script.
anyway thanks.

amr.fayz 2013-04-22 15:26

Re: Miroroot script to safely free space on rootfs
 
Quote:

Originally Posted by SHARP66 (Post 1337947)
why do not write more explicationes for noobs like me, or should I download and find out myself what will happen after running this script.
anyway thanks.


ok

Download script and put it on MyDocs

and run


HTML Code:

sh /home/user/MyDocs/miroroot.sh


the script will be given the space of rootfs before and In the end will be given the new space of rootfs Compare them :)

pichlo 2013-04-22 16:27

Re: Miroroot script to safely free space on rootfs
 
I've never used Miroroot but in view of this thread, I'd be very careful with it.

amr.fayz 2013-04-22 16:44

Re: Miroroot script to safely free space on rootfs
 
Quote:

Originally Posted by pichlo (Post 1337979)
I've never used Miroroot but in view of this thread, I'd be very careful with it.



thanks it is the first time I see this topic but Anyway It's a new version without any problems


The idea simply Transfer some files from root to opt In a file named miroroot SO If there is a problem Only Transfer files to its previous ther is No damage at all

reinob 2013-04-22 18:43

Re: Miroroot script to safely free space on rootfs
 
Quote:

Originally Posted by amr.fayz (Post 1337942)
Hi,

Miroroot is script to safely free space on rootfs To solve the problem of Low space

This script, in many variants (including from you) has already been discussed at length.

The only change I see in this "new" one is that you've selected a different set of folders, which probably most users don't even have (/usr/lib/debug, /usr/lib/gcc, etc.)

Plus you've shamelessly ripped this script from Thomas Tanner's original without even bothering to acknowledge that your work, if not a verbatim copy, is *heavily* based on Tanner's work.

Kerio 2013-04-22 19:38

Re: Miroroot script to safely free space on rootfs
 
The word "safely" is been thrown around way too much - plenty of things can fail, with this: return codes aren't checked, especially before and after the "rm" part; what happens if /home is full, and the copy fails? The original files are deleted, and there's no way to recover them. It doesn't handle the case of those directories already being optified, and it's susceptible to ^C.

Please avoid, this script will probably damage your system.


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

vBulletin® Version 3.8.8