Run File Browser with super user privileges. (For version 2.0.0+.)
A setuid helper binary is used to start the app. The source file is included in the package at `/usr/share/harbour-file-browser-root/start-root-helper.c`.
Warning
USE AT YOUR OWN RISK. This app can be used to corrupt files on the phone and make the phone unusable. The author of File Browser does not take any responsibility if that happens. So, be careful.
Just as File Browser, this is released under the terms of the GNU GPL v3+. See the main repository for more information. Sources can be found on Github (directory 'root').
Attachment | Size | Date |
---|---|---|
harbour-file-browser-root-1.3.0-1.i486.rpm | 24.36 KB | 27/06/2024 - 15:29 |
harbour-file-browser-root-1.3.0-1.aarch64.rpm | 24.44 KB | 27/06/2024 - 15:29 |
harbour-file-browser-root-1.3.0-1.armv7hl.rpm | 24.42 KB | 27/06/2024 - 15:29 |
1.3.0-1 (2024-01-06):
- Fixed root mode for SFOS 4.x
- known possible bug: there might be problems with dconf after running File Browser as root. Please observe and report any issues you encounter!
1.2.1-1 (2022-04-03):
- Added a Sailjail profile so root mode can be used on SFOS 4.x
- Updated the build process
1.2.0-1 (2021-01-07):
- Renamed to harbour-file-browser-root (dropped beta suffix)
- Marked as conflicting with legacy root app/patch
- Switched versioning scheme to use three digits
1.1-1 (2020-05-10):
- Fixed starting from the terminal
1.0-1 (2020-05-02):
- Fixed building
- Added and improved documentation
- Included in harbour-file-browser's main repository
0.4-1 (2019-12-30):
- Made compatible with released version 2.0.0+ (beta) of File Browser
- Renamed and rebuilt package
- Added re-build instructions to RPM description
0.3-1 (2019-06-04): [continued by ichthyosaurus]
- Forked version 0.2-5 of filebrowserroot by Schturman
- Refactored using correct icons and fixed launcher entry
- Renamed to be more similar to File Browser
0.2-5 (2019-02-06): [by Schturman]
- Changes in SPEC file. Obsoletes changed to Conflicts.
Comments
objectifnul
Mon, 2022/04/25 - 18:39
Permalink
Still no root access after 4.4.0.58. Any work in progress on that?
eson
Sat, 2021/02/06 - 12:35
Permalink
No root access for SFOS 4
ichthyosaurus
Sat, 2021/02/06 - 18:53
Permalink
That's probably an issue with the new permissions system... Unfortunately I can't test it because there's no emulator available, and I can't update my phone yet.
eson
Sat, 2021/02/06 - 23:25
Permalink
Yes, the same problem emerges in all the "as root" apps.
ichthyosaurus
Tue, 2021/01/12 - 18:01
Permalink
Version 1.2.0 is the first non-beta release.
You will have to manually remove the old package harbour-file-browser-root-beta (via the launcher or using the package manager) and install the updated package named harbour-file-browser-root.
danfin
Fri, 2020/11/27 - 19:08
Permalink
why does Root Mode for File Browser v2+ not five me access to
says no permission to read. But If ia am root I am supposed to have, or not? Also changing permissions ain't permitted, of course.
ichthyosaurus
Mon, 2020/11/30 - 22:12
Permalink
I don't know. Can you access it in the console when using devel-su? Maybe it is a problem with groups?
peterleinchen
Sun, 2020/05/10 - 17:00
Permalink
Many thanks for this complete and now my favourite file browser on SFOS.
Normally I use console when doing stuff as root but I see the need for some other.
What I do not like is to provide root acccess without authenticating (I know device lock but root is root).
So I modified your helper.c to start a console and ask for devel-su password and only then start file browser as root. I used karin_zhao's MeeGo terminal karinconsole. If you are interested let me know (maybe you could integrate it into startup of your application?).
And please uncomment the 'mkdir -p /run/user/0/dconf'. Without this you cannot start file-browser-as-root as root from terminal (or need to create oneself before).
ichthyosaurus
Sun, 2020/05/10 - 21:00
Permalink
Thanks, glad you like it :).
I fixed the dconf-thing with v1.1.
Your point is absolutely valid, I just didn't find an "aesthetically pleasing" way to prompt for authentication. I'd be happy if you would send me your modified helper.c! I'll see what I can do...
peterleinchen
Sun, 2020/05/10 - 23:16
Permalink
Done.
TIA
Bobsikus
Sun, 2020/05/03 - 10:38
Permalink
hello, thank you for it and for newer file browser too of course :) about this root, how is handled the cover of the "rooted" app?
ichthyosaurus
Sun, 2020/05/03 - 19:24
Permalink
It's part of File Browser, this app works only as a wrapper to start the normal app as root.
In engine.cpp there's a check if the app is currently running as root. It is handled in FileBrowserCover.qml...
bool Engine::runningAsRoot()
{
if (geteuid() == 0) return true;
return false;
}
ferlanero
Sun, 2020/05/03 - 03:12
Permalink
Great adittion for File Browser Beta. Thanks! Could you add i486 support for tablets, please? Really needed on "big" Sailfish devices too.
ichthyosaurus
Sun, 2020/05/03 - 19:20
Permalink
Added :). I don't know why it was built for i586 when I compiled it with the i486 target yesterday...
ferlanero
Mon, 2020/05/04 - 02:19
Permalink
Thank you very much for your quick response!
carmenfdezb
Sat, 2020/05/02 - 18:12
Permalink
Thank you for adding root mode =)
ichthyosaurus
Sun, 2020/05/03 - 19:19
Permalink
You're welcome :)