StartAsRoot for File-browser

Rating: 
4.533335
Your rating: None Average: 4.5 (15 votes)

It will create icon to start file-browser app as root. File Browser app should be installed on your device...

v0.2-5
- Changes in SPEC file. Obsoletes changed to Conflicts.

v0.2-4
- Should fix problem with root access.

v0.2-3
* Tablet version

v0.2-3
* Adaptation for 1.1.1.27

v0.2-2
* fix for uninstallation

v0.2
* Inserting root pass not needed anymore ! :)

Beware, use it on your own risk !!!

Donation are welcome :)

Screenshots: 
Application versions: 
AttachmentSizeDate
File filebrowserroot-0.1-1.armv7hl.rpm7.19 KB05/02/2014 - 13:03
File filebrowserroot-0.2-1.armv7hl.rpm6.76 KB07/02/2014 - 02:53
File filebrowserroot-0.2-2.armv7hl.rpm6.99 KB20/02/2014 - 03:29
File filebrowserroot-0.2-3.armv7hl.rpm7 KB30/12/2014 - 03:29
File filebrowserroot-0.2-3.i486.rpm6.95 KB01/10/2016 - 03:31
File filebrowserroot-0.2-4.i486.rpm7.28 KB26/07/2017 - 03:12
File filebrowserroot-0.2-4.armv7hl.rpm7.32 KB26/07/2017 - 03:12
File filebrowserroot-0.2-5.i486.rpm11.86 KB06/02/2019 - 10:07
File filebrowserroot-0.2-5.armv7hl.rpm11.66 KB06/02/2019 - 10:07
Changelog: 

- Changes in SPEC file. Obsoletes changed to Conflicts.

Comments

mz_i_norge's picture

This would also be interesting for me. Thanks a lot in advance. :-)

rdomschk's picture

Could you make a version for 64bit systems and SFOS 4.3.0.12  please?

PizzaProgram's picture

Thank you VERY much for writing this app for SailFishOS!
It helped me to alter a file to be able to start OTA update on a Redmi (mido) device. :)

Schturman's picture

You are welcome ;)

Marold's picture

Hi thank You for Your work but I have returning problem, I dont use root privileges on file.browser very often but when I need to do it there is no icon and I have to first uninstall patch of yours (witch didnt work on sfos3) and install this again. This is getting very frustrating as it happened to me 3rd time today and now Im sure that I didn't gone mad and I had installed this on current device. Please fix this, how this is even possible? Thank You for Your hard work and time, best regards.

pichlo's picture

I have the same problem.

Schturman's picture

Hi.
What device you use ?
I don't have any problem with patch version or this app. Just now checked it on Tablet (SFOS3 + PM2) and Jolla1 (SFOS3 + PM3). On the both devices it instaled 3-4 weeks ago and icons still there and it work like it should.
Icon disappear only if patch unapplied.

broncheoli's picture

I also have this strange behaviour. I would not have a problem using the patch version but when I want to change a system file (i.e. andriod notification) I save it and when I reenter the file the changes are gone. So I always use the seperate icon (not the patch version) and it always works. And now the strange behaviour: after some minutes or hours, I can't really tell, the icon is gone and the patch shows up in patchmanager and I again cannot save a changes to system files. I then remove the patch, reinstall the icon version (it works again) and after some time the icon disappeares and the patch is on, without any doing of mine.

I found this on my JP1 on several Sailfish versions till now and on the XA2, with different file browsers.

Greetings, broncheolus.

PS: this "starting as root" is a really great and handy idea of yours, thanks!!

Edit (2020-03-09):

I now can reproduce the issue 100%. When installing root for filetug (or anything like that) it works as expected. When I emediately restart storeman the repos are not updated. Starting storeman after some time the app refreshes the repos and with the refreshing start as root gets converted to the patch version without any changes imade by me and does not work any more. It really sounds weired for me and maybe for you, coderus, but I can reproduce this 100%. This is on my old JP1 and my new XA2.

I hope this helps! Greetings, broncheolus.

Marold's picture

I want to use separate icon but it keeps getting uninstalled automatically. Im using XperiaX with SFOS3 . Thanks for helping me out :) Edit: Im using PM2

Schturman's picture

If you install patch of this app, it automatically uninstall this app. Before installing it, unapply and uninstall patch of this app. Try it and report. 

Marold's picture

i didnt installed by my will Your Patch even once but over the time it gets automatically switched and then I unapply Your patch and uninstall it (I cant install this without uninstalling patch version) then Im installing this once more and use it for some kind of Stuff. Next time I want to use it, lets say next day or two and puff its gone. I didn't even know that patch installed itself automatically and I was surprised that I had problem reinstalling this. Wandering through Patchmanager I spot that patch is installed. To be honest I've tried patch if its working (I still prefer this version tho) and it wasn't. Patch was applied but no root privileges were present. Hope I described it well. Thanks again for investigating this problem.

objectifnul's picture

"as root" patches don't work with Sfos v3. Non-patch "as root" apps may be installed, but only one of them. If you try to install a new one, it will destroy the existing one (or you just can't install it, depending on unclear circumstances)

pvcn's picture

Thanks for your instant answer, now i see that the app i had installed was outdated, but how can it be that it converts to a patch and installs patchmanager by itself?

Schturman's picture

My app shouldn't do this. The second one (patch) have dependency to patchmanager and you don't have it, you can't install it.

pvcn's picture

Strange Behaviour after update to SFOS3: I had the StartASRoot for Filebrowser APP installed, after the Update, it says, i had the PATCH installed. I didn't even have Patchmanager installed before the Update, seems like the APP converted to the PATCH and installed Patchmanager somehow.

Schturman's picture

This app is old one and it not patch.

objectifnul's picture

The red Nemo/Root indicator in cover no longer shows up with latest release of Filebrowser.

Schturman's picture

It never was in Filebrowser... It was and still exist on CargoDock root...

objectifnul's picture

This is how the Filebrowser cover (with startasroot) looks like on my Jolla phone (filebrowser not upgraded):

See HERE

On my Xperia (filebrowser just upgraded from Harbour), the "ROOT mode" warning is not displayed.

Schturman's picture

Ohhh, now I understand what you mean... From you screenshot you use patch: https://openrepos.net/content/schturman/patch-startasroot-file-browser and not this standalone app.

objectifnul's picture

Oops, you are right, it's your patch. It doesn't show the 'ROOT mode' warning anymore after recent Filebrowser upgrade.

ferlanero's picture

An absolute  must to in Sailfish OS. But unfortunately it doesn't seem to work Sailfish X. I can't access root privileges to modify "non home" places :(

Schturman's picture

I know, but don't know how to help... Read below....

objectifnul's picture

On Xperia X with SailfishX, I had to install sudo (pkcon install sudo) and to set root password (sudo passwd) to gain true root privileges with all "startasroot" file managers (filebrowser, cargodock, filetug, filecase)

Schturman's picture

Hmmm.. ok... but why you need install sudo for setting pass for root ? You can't do it with devel-su and sett pass for root ?

objectifnul's picture

I agree in principle, but that wasn't enough. Don't ask me why...

Schturman's picture

Weird , but ok, I will add it to description for Xperia users.

DarkTuring's picture

Great APP, please include ability to change permission in folder (directory) and run script recursively within the folder on subfolders amd files to change those permissions too, instead of having to edit each file, or going into the terminal

Schturman's picture

Hmmm... You need ask it the creator of File browser app (Jolla)... I just gave a possibility to start this app as root.

eson's picture

This don't work on SFOS 2.1.1.23. No root access.

Pages