maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   n900 file manager root access (https://talk.maemo.org/showthread.php?t=47121)

petrelli 2010-03-11 14:45

n900 file manager root access
 
After a sucessfull sudo gainroot, I'd like to be able to see the entire filesystem not only through the terminal but through any graphical system, this is the file manager.

So the question is, how can I enable the root privilegies with the file manager?? Should I execute it from the terminal after the sudo gainroot? (and in this case, what'd be the command??)

Thxs :)

Rob1n 2010-03-11 15:26

Re: n900 file manager root access
 
Quote:

Originally Posted by petrelli (Post 563801)
After a sucessfull sudo gainroot, I'd like to be able to see the entire filesystem not only through the terminal but through any graphical system, this is the file manager.

So the question is, how can I enable the root privilegies with the file manager?? Should I execute it from the terminal after the sudo gainroot? (and in this case, what'd be the command??)

Thxs :)

The built-in file manager won't show anything different if run as root. You can use emelfm2 or mc to get full filesystem access though.

petrelli 2010-03-11 16:24

Re: n900 file manager root access
 
I've installed mc and gpe file manager (emelfm2 I can't find), but both need root access. How can I start these programs with root privilegies??

kolos 2010-03-11 16:38

Re: n900 file manager root access
 
For GPE File Manager open terminal and type:

Code:

root
gpe-filemanager


davide 2010-03-11 16:43

Re: n900 file manager root access
 
sorry... I've tried to install mc on my n900. After downloading the file mc_4.6.2-prel1-maemo5_armel.deb I typed:
apt-get install mc_4.6.2-prel1-maemo5_armel.deb
but terminal say couldn't find pachage mc_4.6.2-prel1-maemo5_armel.deb ??? You know where is the mistake?

kolos 2010-03-11 16:49

Re: n900 file manager root access
 
davide, why do you use terminal? Open default File manager, go to downloaded file and just click on it.

petrelli 2010-03-11 16:50

Re: n900 file manager root access
 
Quote:

Originally Posted by kolos (Post 563977)
For GPE File Manager open terminal and type:

Code:

root
gpe-filemanager


Done :) the first thing I've done is to write sudo gainroot, then neither sudo gpe-filemanager nor root gpe-filemanager worked. Then I've typed exit, and then root, and I've entered to busybox (how is that??), then gpe-filemanager and done :)

Thx!

ToJa92 2010-03-11 16:54

Re: n900 file manager root access
 
Quote:

Originally Posted by petrelli (Post 564004)
Done :) the first thing I've done is to write sudo gainroot, then neither sudo gpe-filemanager nor root gpe-filemanager worked. Then I've typed exit, and then root, and I've entered to busybox (how is that??), then gpe-filemanager and done :)

Thx!

Umm, Busybox is the terminal in Maemo. That's why you "entered to busybox".

davide 2010-03-11 17:18

Re: n900 file manager root access
 
kolos: done it. but the "...installation file corrupted"
May be downloaded in a bad place.... I often have to choose the OS. Is it "armel" fon n900? one more thing: are mc and gpe equivalent to browse efficiently the system?

kolos 2010-03-11 17:28

Re: n900 file manager root access
 
Quote:

Originally Posted by davide (Post 564043)
kolos: done it. but the "...installation file corrupted"
May be downloaded in a bad place.... I often have to choose the OS. Is it "armel" fon n900? one more thing: are mc and gpe equivalent to browse efficiently the system?

Why don't you install it from Application Manager. Just enable extras-devel catalog.

Flandry 2010-03-11 17:32

Re: n900 file manager root access
 
...And then disable it after you install the app.

davide 2010-03-11 17:40

Re: n900 file manager root access
 
I cant find them in extas-devel catalog!!! I don't know why.

davide 2010-03-11 17:49

Re: n900 file manager root access
 
... I can't anable "red-pill" mode bacause the new version of maemo(5).
Is this the reason?

kolos 2010-03-11 17:50

Re: n900 file manager root access
 
If catalog works fine (no error report), use search option where just type mc.

davide 2010-03-11 17:51

Re: n900 file manager root access
 
done...............

davide 2010-03-11 17:54

Re: n900 file manager root access
 
thanks, I need leave office now. If someone have the same trouble post here!
:(

Flandry 2010-03-11 17:58

Re: n900 file manager root access
 
I just enabled Extras-devel repo and used search for "mc" and midnight commander was the first (of three) app on the list.

You may have missed a step somewhere.

davide 2010-03-11 18:05

Re: n900 file manager root access
 
i'm a dork....
everything work now.;)

kolos 2010-03-11 18:12

Re: n900 file manager root access
 
Quote:

Originally Posted by davide (Post 564103)
i'm a dork....
everything work now.;)

Now you are very satisfied one! :D:D

Modell900 2010-03-11 18:38

Re: n900 file manager root access
 
Don't forget to backup your device before exploring to much.
Things might go crazy if you alter the wrong stuff in root mode ;)

Good luck!

Also readup on how to reflash the phone if something goes horribly wrong.
May save your day!

7thd 2010-03-17 11:57

Re: n900 file manager root access
 
PROBLEM:
non-installable applications, a.o. Midnight Commander
(mc 4.6.2-pre1-1maemo5)

-I add Maemo-Extras-Devel repo (temporarily...) - OK
-I find mc in the Application Manager list - OK
-I try to install that - FAIL. AppMan sees it as not-installable. Message (translated:) "Missing application packages: file".

I own the N900 for just 1 week and I'm quite a noob at Linux (or root access as such). I may have installed 1 or 2 things too eagerly (tho I tried not to; btw I have not given any X Terminal commands other than pwd, ls and cd. Had apps only installed by Application Manager). I try to get wiser on this Linux site

Other missing packages:
-gstreamer0.10-plugins-bad-extra (for Extra Decoders Support 0.3.4-1)
-xsltproc (for KMPlayer 0.10.3.903-1)

WHAT DUN (perhaps relevant?)
-aMSN - tried to update it to 0.98.3, did NOT go well
-tried uninstall aMSN and to reinstall - FAIL, tcl and tk (I think tcl8 and tk8) went missing
-reflash with maemo_flasher-3.5_2.5.2.2 - OK (phew...)
-install aMSN (version 0.98.1-1 again as that had worked) - OK

QUESTION:
Is it possible to check whether essential files are still there? For instance, using Storage Usage 1.1.0 and checking on some list (which I can nowhere find.

Any help appreciated.

geneven 2010-03-17 12:10

Re: n900 file manager root access
 
It sounds like you are deliberately trying to make things difficult for yourself. For the time being, you should forget about mc or wanting to see the whole file system. What you should learn first is the normal operation of your N900. You need to install things using the app manager.

Rob1n 2010-03-17 12:37

Re: n900 file manager root access
 
Quote:

Originally Posted by 7thd (Post 570288)
PROBLEM:
non-installable applications, a.o. Midnight Commander
(mc 4.6.2-pre1-1maemo5)

-I add Maemo-Extras-Devel repo (temporarily...) - OK
-I find mc in the Application Manager list - OK
-I try to install that - FAIL. AppMan sees it as not-installable. Message (translated:) "Missing application packages: file".

Do you have extras-testing set up as well? It may be that the required dependencies are in there. According to http://maemo.org/packages/view/file/ file is in Nokia Applications though, so make sure that's still configured and enabled.

7thd 2010-03-17 15:05

Re: n900 file manager root access
 
Quote:

Originally Posted by Rob1n (Post 570357)
...It may be (...) required dependencies...

worked for
-install Extra Decoders Support 0.3.4-1
-install KMPlayer 0.10.3.903-1

Thanks a lot!

Quote:

... http://maemo.org/packages/view/file/ (...) make sure that's still configured and enabled.
I'm pretty sure I opened the right catalogues this time, but "file" remains missing as it seems. Thanks for the link, package name "file" would be a long search for me otherwise.

Could I continue pressing the link "file 4.12 -tosso" (with the right credentials) to guarantee proper working of file? If so, what would I be altering? If not, what would I be altering?

Rob1n 2010-03-17 15:30

Re: n900 file manager root access
 
Quote:

Originally Posted by 7thd (Post 570568)
I'm pretty sure I opened the right catalogues this time, but "file" remains missing as it seems. Thanks for the link, package name "file" would be a long search for me otherwise.

Could I continue pressing the link "file 4.12 -tosso" (with the right credentials) to guarantee proper working of file? If so, what would I be altering? If not, what would I be altering?

Unfortunately there's no way to get the actual .deb file through that page (as it's not held on any of the maemo.org servers). The catalogue it should be in is the "Nokia Applications" catalogue (details below, in case you need to add it).

Code:

Catalogue Name: Nokia Applications
Web address: https://downloads.maemo.nokia.com/fremantle/ssu/apps/
Distribution: ./
Components:

You could also try using "apt-cache show file" to check whether it can be found or not, and (as root) "apt-get install file" to install it manually.

7thd 2010-03-17 15:42

Re: n900 file manager root access
 
I did already have that catalogue present. Will check whether double or sth.


apt-cache show file
-----------------------------------------------------------------------------
Package: file
Priority: standard
Section: utils
Installed-Size: 100
Maintainer: Michael Piefel <piefel@debian.org>
Architecture: armel
Version: 4.12-1osso
Depends: libmagic1 (= 4.12-1osso), libc6 (>= 2.3.5-1), libmagic1, zlib1g (>= 1:1.2.1)
Filename: ./file_4.12-1osso_armel.deb
Size: 28652
MD5sum: fa3e48a777ae9d7066bf0b0454b446ca
SHA1: 69e98c272416e15e5328347af76fd4707589e26c
Description: Determines file type using "magic" numbers
File tests each argument in an attempt to classify it. There are three
sets of tests, performed in this order: filesystem tests, magic number
tests, and language tests. The first test that succeeds causes the
file type to be printed.
.
Starting with version 4, the file command is not much more than a wrapper
around the "magic" library.

~ $
-----------------------------------------------------------------------------

So the N900 does have a description present at least. Peculiar that it would be missed then.

7thd 2010-03-17 16:13

Re: n900 file manager root access
 
I actually found a double "Extras" catalogue. Don't know how that got there, I guess it's possible that I have been ignorant of an incomplete catalogue being loaded and as a result a messed up Application Manager.

-Midnight Commander install - OK.

Much thanks, I do not have to give any commands as root as yet! But I want to eventually sync with Thunderbird. Before I do that I want to have a reasonable amount of control, so a file manager is wished for. First I go reading on, ofcourse - thumbs up! -


All times are GMT. The time now is 09:26.

vBulletin® Version 3.8.8