Reply
Thread Tools
Posts: 11 | Thanked: 1 time | Joined on Dec 2009
#211
I myself add a ton of dev apps and have hit the wall on space, to aleviate the issue I move things from the root directory to my home directory and symlink them. I typically move the apt cache directory, webkit libs and mozilla plugins.

here are some helpfull commands

find files over 5,000 KB | exclude the home directory | print the files and their size

Code:
 find / -type f -size +5000 | grep -v /home/ | xargs ls -lh
and then you can move and symlink what you found

for noobs to symlink

Code:
 ln -s /full/path/to/destination/ /location/of/link/name
I hope this helps some people if anyone else has suggestions share as well I have reflashed the phone 3 time because of dev app problems and it is bothersome to redo this everytime.
 

The Following User Says Thank You to mmoylan For This Useful Post:
Posts: 147 | Thanked: 44 times | Joined on Feb 2010 @ England
#212
hey

i was a total nub with all this, only had the phone 4 days and i managed to reduce my rootfs mem down to ZERO.

i couldnt uninstall any apps using app manager as there was "no free memory on deivce".

so i hunted around for some simple fixes. Probably made the problem worse in the long run but thats my fault for downloading apps and not really thinking about the consiquences.

anywho... i found this helped reduce my rootfs usage down by 14mb

root
rm /var/lib/apt/lists/*

that moved some "stuff"

app manager still wouldnt work mind, so i googled around again and found this fix for my next problem.

root
mkdir -p/var/lib/apt/lists/partial

now i was on a roll and thought i had became a linux pro. i then set about uninstalling all apps using app manager. which was now running like a dream....

however... my rootfs usage hasnt reduced down after uninstalling all my apps. i am running on just what came with the phone +rootsh

currently got 12.97mb left of free space on the sneaky russian.

was wondering if anyone can help with why?

reading forums i came to my own conclusion that there will still be a lot of file directorys in the /opt from the unoffical apps ive downloaded that may have not been removed correctly using uninstall

i do know how to remove directorys etc as i had problem with removing the custom levels from AngryBirds

root
rm /home/opt/rovio/angrybirds/data/levels/pack2/*

this did the trick. i then went about removing the rovio folder using rmdir

could i use this method to delete some of the folders and files left from apps? or should i just reflash the mofo and start from scatch?


thanks for reading. ive learnt a lot about this phone in the last day. was on it all day at work tring to free up some rootfs and this finally worked with about 4% battery left. im now charging it ready for my next assult.

thanks,
stefan
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#213
Originally Posted by sajman View Post
could i use this method to delete some of the folders and files left from apps? or should i just reflash the mofo and start from scatch?
If you've uninstalled all the apps then you shouldn't have rootfs space problems. I'd suggest running:
Code:
root
apt-get clean
apt-get autoremove
If that doesn't help then you're probably best reflashing the firmware and making a clean start of it.
 

The Following User Says Thank You to Rob1n For This Useful Post:
Posts: 147 | Thanked: 44 times | Joined on Feb 2010 @ England
#214
cheers for uber quick reply. nah no help, the commands function. just no improvement on the 12mb i got left.... will keep using the phone untill it bricks. i can install apps no problem now and i wont be downloading anything which aint a finished product.....

unless i get tempted.... thanks again...


had a problem with flashing anway....

ran it in windows xp sp3

ran command for flasher.exe

just came up with firmware name with a percentage sign and the letter m next to it.... anyway. will pick someones brain about that when it is really needed
 
Posts: 17 | Thanked: 3 times | Joined on Feb 2010
#215
Hi there,

I have a similar problem to others. I was using extras-devel when I shouldn't be, in order to get the functionality out of the N900.
I have the device memory full message and can't uninstall anything as the application manager says no applications installed. I also can't send SMS as it says no memory available.
I moved files onto a memory card but no joy.
I have root access but apt get remove didn't work as I got the 'dpkg was interrupted' and when I run 'dpkg --configure -a' it says no space left on device.
I don't know enough to try symlinking and the links for flashing seem to be down at present.

Any suggestions please?

I love the device but am probably asking too much of it as I'm a noob to Maemo.

Btw, I'm never installing from Extras-devel again
 
Posts: 17 | Thanked: 3 times | Joined on Feb 2010
#216
Solved!

Decided to reinstall using NSU. It kept everything except the applications.

I am not adding any applications!

Bratac.
 
Posts: 7 | Thanked: 0 times | Joined on Feb 2010
#217
Originally Posted by fesar View Post
Hi all,

So far no impact except themes. Because when you reboot your N900 it goes back to the default theme. Which was not a big concern to me. Otherwise its very good.

Fesar
Does anyone know a fix for this? I have close to 100MB free on rootfs but would like to move themes back - not quite sure what to do?

Think i fixed it myself,
1) rm /usr/share/themes
2) cp -r /home/usr/share/themes /usr/share/themes
3) job done.

Last edited by mod1fied; 2010-03-16 at 09:25.
 
Posts: 147 | Thanked: 44 times | Joined on Feb 2010 @ England
#218
just download the themes again??
 
Posts: 7 | Thanked: 0 times | Joined on Feb 2010
#219
Originally Posted by sajman View Post
just download the themes again??
I did that, power off / reboot of the phone causes it to reset back to the default theme.
 
Posts: 10 | Thanked: 1 time | Joined on Dec 2009
#220
Originally Posted by Bratac View Post
Solved!

Decided to reinstall using NSU. It kept everything except the applications..
Bratac, does this mean that you decided to reinstall the phone software instead of fiddling with moving the files around in order to make space on the root partition? My phone is starting to get really slow and useless because of the lack of memory and its starting to drive me crazy. I would rather do a quick fix, even if it means that it whipes out most applications that i installed.

Thanks!
 

The Following User Says Thank You to az9 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 18:35.