How to get rid of the file manager preinstalled app

Hi all,

I have a problem with the preinstalled file manager. As it looks really bad to me I have installed the SimpleTools FileManager.

No problem when I browse the filesystem by myself but when the browser or another app ask me to do so (for instance because I want to attach a file while writing an email) the started app is always the preinstalled file manager, not the new one.

I tried to uninstall the app but it’s obviously impossible, I tried to disable it but the button “disable” is not there (this is the only app I’ve found that doesn’t have neither “Disable” nor “Force Stop” buttons, all other preinstalled app could be disabled).

Do you have any idea about how to get definitely rid of this application without rooting the phone?

Regards,
Massimiliano

1 Like

I don’t use emails on my phone but I have just tried adding a document to a WhatsApp text and it uses SimpleTools File Manager.

The only way to get rid of it I imagine is if you root the phone or use something like ADB to remove the app.

You may like to read this post that describes a method for removing apps etc.

That’s strange… I’ve just tried adding a document in WhatsApp and it uses the stock application, not SimpleTools’.

There must be something wrong with my apps default maybe. I’ll check.

Thanks for the link also, it looks nice. I’ll study it.

Regards,
Massimiliano

1 Like

After checking some more I seem to have misled you somewhat as the app I’m using is File Manger but not the from Simple tools, I disabled and deleted that and am using https://apkpure.com/file-manager-file-explorer/fm.clean

So it maybe a function of that to over-ride the default app not a user setting :blush:

I assume you defined the stock file manager as default app. In the settings under Apps you should find a lisiting with default applications. When you click in the file manager App in this list, you should then see a small list with all file manager installed and change the default one.

I did look at the list and have no such app set as default, so I didn’t mention it. It will be good to find out if that has been set on @mpolito1969 phone.

I tried with the “Default apps” settings also but I can’t find any application having a name that makes me think it’s a file manager.

Currently I only have 6 categories of actions I can link default apps to and they are:

Assist app (now set to Google)
Browser app (now set to Adblock Browser)
Caller ID & spam app (Phone)
Home app (Quickstep)
Phone app (Phone)
SMS app (Messages)

As you can see nothing related to what app to use for file system browsing.

Ciao,
Max

1 Like

Exactly the same as I have ?? (Except :- Firefox as browser)

Rooting the phone is not necessary to use ADB and to uninstall preinstalled Apps via ADB :wink: .

3 Likes

When I open a WA chat and want to attach something, then select document a list with docs I recently used will open. When I then click on browse other files it looks that way for me, i.e. I can choose which application I want use and can select always or just once.


When I want to attach a document to an email (I use K9 Mail), a window opens (I think its the pre-installed file viewer/manager) and when I then open the menu on the left (3 lines) and scroll down I can select the other file manager I have installed.

Of this all does not work, you can always select the document in the file manager and select share and then select application to be used to share, like mail or WA.
all just Workarounds, however you should be able to select what application to use to browse for the file to be attached. Also with Lineage on the FP2 its not possible to deactivate the pre-installed file manager app, so looks as if there would be reason for this. Also reading through the post linked above I understand that running that script would not remove the file manager.

Look who appeared: The author of the debloat script.
You can remove the file manager by executing:

adb shell pm uninstall -k --user 0 com.google.android.documentsui

If that doesnt work try:

adb shell pm uninstall -k --user 0 com.android.documentsui
1 Like

Thanks ADS (Author of the Debloat Script)!

By the way… I had already read your post about that script. I guess I could just copy and paste your lines and solve the problem but I’m interested in better understanding the possibility of “making maintenance” to my phone through adb. Can you point me to a good source of information?

I’ve used once adb (logcat) from my Linux box while trying to understand why my phone kept rebooting and I had the feeling there are a lot of interesting things that could be done through adb. I know there is a lot of good documentation about it I could start from, the problem isv in the “a lot” part :slight_smile:

Ciao,
Max

Hello there,
to be honest, I don’t really use adb except for the basic stuff like rebooting my phone, sideloading stuff and removing/installing apps. I would suggest you rading the official Android Developers page, although it might be a bit hard to understand:

Best regards,
Jan

1 Like

I’ll have a look.

Thanks.

One more question, how do you know the name of the package to be removed?

com.google.android.documentsui doesn’t look like “file manager”.

Just in case I want to remove something else.

Ciao,
Max

In my opinion, the Total Commander file manager is the first choice for file managers on Android. Stable, two file windows side by side and so much more. Once you know it, you don’t want any other.

https://www.ghisler.com/index.htm

1 Like

I think you have the correct package, juts ensure you can re-install it in case it does more that be available for other apps to access files.

https://gossipfunda.com/com-android-documentsui/

Try Package Names Viewer 2.0:
From the Spy Store:

Or if you goin’ degoogled:

1 Like

I don’t use Fairphone OS currently, so I can’t check, but there’s a chance you can see the package name of an App in Settings - Apps & notifications - (select your App) - (scroll to the bottom of the page, or tap “Advanced” and scroll to the bottom of the page).

Else … here’s a post from a while back including a list of some preinstalled packages and what they are … Google Apps keep reinstalling/ reactivating - #34 by AnotherElk

No, you can’t see the package name in Settings but “Package Names Viewer” works perfectly.

Thanks again.

Ciao,
Max

1 Like

Its a LineageOS feature sadly

1 Like