maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   my maemo os is destroyed (https://talk.maemo.org/showthread.php?t=65086)

mosh11 2010-11-04 21:42

my maemo os is destroyed
 
Dear All

i am facing a real problem here,

i discovered that my home directory is full and i cannot save new contacts anymore, and i found that the old apps that were uninstalled are still there and whenever i try to remove it by "case" "permission denied" , so i searched and found this topic on our beloved forum :)
http://talk.maemo.org/showthread.php...693#post682693

i followed the instructions there which were as follows

go to xterminal

root [enter]
rm -rf /opt/* [enter]

i closed xterminal without waiting for the process to finish and then the disaster began.

when i try to open any application, black screen shows with app's name above as if the app is loading and then this screen disappears and back to main screen. this happened with every app i tried to open. i switched the phone off and then back on

this is what happened: all the icons in desktop and status bar disappeared,all menu icons vanished and instead of app names there are strange symbols as you can see from pics below.

http://img109.imageshack.us/img109/1...ot20101104.jpg
the menu icons turned crazy !!!
http://img263.imageshack.us/img263/8...t201011041.jpg
desktop went blank
http://img266.imageshack.us/img266/6...t201011044.jpg
phone mode turned all white with all names disappearing

obviously the system is destroyed and i cant open any app , but the phone receives and make calls normally and the camera is working normally.

sorry for this long post

but how can i restore my os ( all i need is contacts and images)?

Thank you

Ahmed salah

GuitarGuru 2010-11-04 21:45

Re: my maemo os is destroyed
 
looks like you need to reflash...

wmarone 2010-11-04 21:46

Re: my maemo os is destroyed
 
Yeah, just trashing /opt isn't a good idea and hasn't been since PR1.2 when Nokia moved some space-heavy stuff out there.

You'll want to reflash your device so that it can rebuild itself.

Radicalz38 2010-11-04 21:50

Re: my maemo os is destroyed
 
Wow what you just did is comparable to like bombing the whitehouse of your n900 lol! Opt folder is where applications are stored. deleting it is like wiping out your n900 :p

Larswad 2010-11-04 21:59

Re: my maemo os is destroyed
 
mosh11: I'm sorry pal, really am, I'm quite sure you need to reflash your maemo os. Don't be worried, it's a pretty painful process. Just follow the guide on wiki maemo.org.

http://wiki.maemo.org/Updating_the_tablet_firmware

If you have any important docs or anything else (where they shouldn't be), rescue them first. Your MyDocs folder will be ok after a reflash of maemo, you don't have to rescue anything from there.

Oh, and in future, stay out of folder like /opt. never use commands like rm without great care.
Good luck!

mosh11 2010-11-04 22:02

Re: my maemo os is destroyed
 
no i didnt want to delete applications,

for example, i uninstalled forgatto and i still find the folder there and it is taking (120 MB) !!
so i wanted to delete this folder

actually i typed that command in xterminal and i didn't really know what it does

as i understood it gives permission to "opt" folder right ? it doesnt delete any folders , i hope:confused::(

nidO 2010-11-04 22:04

Re: my maemo os is destroyed
 
Quote:

Originally Posted by mosh11 (Post 863726)
as i understood it gives permission to "opt" folder right ? it doesnt delete any folders , i hope:confused::(

Unfortunately you didnt understand.

"rm -rf /opt/*" deletes everything in your /opt/ folder, which includes all applications along with (since pr1.2) several components of the OS itself which are required for it to function properly.
Basically, as you've stated in your thread title, you've fairly succesfully destroyed the install and need to reflash the device.

mosh11 2010-11-04 22:05

Re: my maemo os is destroyed
 
so if i flashed my OS to PR 1.3 , contacts and apps will stay there unchanged ?

nidO 2010-11-04 22:08

Re: my maemo os is destroyed
 
Quote:

Originally Posted by mosh11 (Post 863730)
so if i flashed my OS to PR 1.3 , contacts and apps will stay there unchanged ?

Well your apps are gone, youll need to reinstall them after flashing. You will however retain most of your apps' settings as for the most part their config files get written to the emmc, which reflashing doesnt touch.
Regarding contacts, reflashing will wipe these. I hope for your sake you either have a backup (the device's inbuilt backup software backs up contacts + other stuff) or theyre also saved to your sim card.

mosh11 2010-11-04 22:09

Re: my maemo os is destroyed
 
Quote:

Originally Posted by nidO (Post 863728)
Unfortunately you didnt understand.

"rm -rf /opt/*" deletes everything in your /opt/ folder, which includes all applications along with (since pr1.2) several components of the OS itself which are required for it to function properly.
Basically, as you've stated in your thread title, you've fairly succesfully destroyed the install and need to reflash the device.

ohh this is an important information man :(:(

it seems that the only solution is to reflash


All times are GMT. The time now is 04:19.

vBulletin® Version 3.8.8