Reply
Thread Tools
Posts: 35 | Thanked: 5 times | Joined on Jan 2010
#1
I installed a lot of apps from extras-devel and manually installed some .debs. I was messing around trying to manually install an app and my phone got messed up so i re-flashed rootfs.

The problem that i have is almost every app i previously installed is still on my phone in /home/opt.

The OS does not recognise that any of these apps/packages are installed.

When i try to use GPE File Manager to CuteExplorer to delete these old apps, i get messages telling me that i dont have the permissions/rights to delete these files/folders.

How can i delete the folders/files of previously installed apps in /home/opt?
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#2
Fixed in PR1.2.
For now, install rootsh, type root, then rm -rf /opt/*
 

The Following 3 Users Say Thank You to MohammadAG For This Useful Post:
Posts: 35 | Thanked: 5 times | Joined on Jan 2010
#3
Originally Posted by MohammadAG View Post
Fixed in PR1.2.
For now, install rootsh, type root, then rm -rf /opt/*
Thanks, fixed my problem, although this is only useful if you had just re-flashed your device, glad to know it will be fixed in PR1.2.
 
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#4
I don't see how PR1.2 will fix the OPs problem. If you reflash the rootfs there will always be things left on /home/opt (on the internal MMC), won't there, no matter what version of Maemo you are running?
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#5
Originally Posted by pelago View Post
I don't see how PR1.2 will fix the OPs problem. If you reflash the rootfs there will always be things left on /home/opt (on the internal MMC), won't there, no matter what version of Maemo you are running?
PR1.2 looks to include a script that runs at first boot to clear out the /opt directorory (as well as optifying some of the default applications/libraries).
 

The Following 2 Users Say Thank You to Rob1n For This Useful Post:
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#6
Originally Posted by Rob1n View Post
PR1.2 looks to include a script that runs at first boot to clear out the /opt directorory (as well as optifying some of the default applications/libraries).
Ah OK, I didn't realise. Thanks for the info.
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#7
Bug 7432 - /opt and /home/user not cleared after firmware reflash
Status: RESOLVED - FIXED

Originally Posted by Andre Klapper
Thanks to Neil's input, this is fixed in
maemo-optify-runonce 0.10-12+0m5
which is part of the internal build version
10.2010.12-4
 

The Following 2 Users Say Thank You to MohammadAG For This Useful Post:
biggzy's Avatar
Posts: 547 | Thanked: 461 times | Joined on Aug 2009 @ UK
#8
so as of now what is the best wy to clear user data? i cant flash eMMC, flasher hangs on my windows xp machine even tho it has no problems flashing the firmware, thanx for any help
__________________
Nokia N900 - It's what computers have become.
My Web Site
Twitter
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#9
Originally Posted by biggzy View Post
so as of now what is the best wy to clear user data? i cant flash eMMC, flasher hangs on my windows xp machine even tho it has no problems flashing the firmware, thanx for any help
I'd suggest booting a Linux CD and flashing from there. Otherwise you can try and guess which of the dot files in /home/user were there originally, and which are user-specific configuration. Ditto for gconf settings, etc.
 

The Following User Says Thank You to Rob1n For This Useful Post:
Posts: 1 | Thanked: 0 times | Joined on May 2010
#10
Originally Posted by Ashley View Post
Thanks, fixed my problem, although this is only useful if you had just re-flashed your device, glad to know it will be fixed in PR1.2.
I think this action can be dangerous on some situations, as in my case. I did that and my N900 is now broken. When It finishes booting, reboots again. The only way to interrupt this endless cycle is removing the battery. Does some one knows how to force a hard reset?
 
Reply

Thread Tools

 
Forum Jump


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