Change built-in file manager? - LineageOS Questions & Answers

I would like to change default file manager but it seems that some links to it are hardcoded in LOS so for example if i uninstall it and replace it with fx file manager some
apps can't access it because they are calling to that default one which is not there anymore.
Any tips on how can i replace it, or where can i change those links to default app?

The default file manager that you were using has the package name "com.android.documentsui", and you generally see it when you have to choose a file for an app. Only here has it been turned into a full-fledged file manager. That was a system app that you weren't supposed to remove, so your only option is to install another file manager app alongside the default one.

Hi i'm with the same problem, i need a default file manger that can accese root so other app can get accese to root folder. Is there a way to resolve?

Here is how to replace the stock file explore with the root accessable one.
I'm gonna priovide the best filemanager fully featured, called mixplore, which i highly recommend. this file manager can access root directory.
watch Mixplore review from HERE
NB: make sure you have a root access
1. download Mixplore
2. install it on your device then open it
3. on the left then click on "root" then grant root permission when prompted
4. go into system/apps/documentUi OR system/apps/cmfilemanager
OR system/apps/files. If your on other roms apart from cynogenmod, lineageOs or RR-Os.. go into system/apps/filemanger
in case not found in app forlder try priv-app, i.e system/apps/..
NB: not "document" its "documentUi"
5. open the that last folder on the directory i.e file manager, swipe right and go into downloads copy the Mixplore.apk, then swipe left back into root/system/app/___ and paste the mixplore and delete the stock filemager from that folder
6. restart the phone.. now you have replaced the stock file explore from your android.

ppllzz help meee mi a1
i uninstalled the system file manager and now can't reinstall it and com.andeoid.documentsui keeps stopping and after installing app getting the problem files keeps stopping

Adwolf01 said:
i uninstalled the system file manager and now can't reinstall it and com.andeoid.documentsui keeps stopping and after installing app getting the problem files keeps stopping
Click to expand...
Click to collapse
Dirty flash your ROM

yohannacastle said:
I'm gonna priovide the best filemanager fully featured, called mixplore, which i highly recommend. this file manager can access root directory.
watch Mixplore review from HERE
NB: make sure you have a root access
1. download Mixplore
2. install it on your device then open it
3. on the left then click on "root" then grant root permission when prompted
4. go into system/apps/documentUi OR system/apps/cmfilemanager
OR system/apps/files. If your on other roms apart from cynogenmod, lineageOs or RR-Os.. go into system/apps/filemanger
in case not found in app forlder try priv-app, i.e system/apps/..
NB: not "document" its "documentUi"
5. open the that last folder on the directory i.e file manager, swipe right and go into downloads copy the Mixplore.apk, then swipe left back into root/system/app/___ and paste the mixplore and delete the stock filemager from that folder
6. restart the phone.. now you have replaced the stock file explore from your android.
Click to expand...
Click to collapse
will this work if an app ask to write on external storage ???

loopypalm said:
will this work if an app ask to write on external storage ???
Click to expand...
Click to collapse
This method creates problem when trying to access sd card or otg,mixplorer ,though fully featured,will also need permission from documentsui to access externals,it will show error "doesn't exist x

Best way is disable documents ui from showing icon in launcher

HarmitR said:
This method creates problem when trying to access sd card or otg,mixplorer ,though fully featured,will also need permission from documentsui to access externals,it will show error "doesn't exist x
Click to expand...
Click to collapse
yes, i already tried, it didn't work
best thing to do is give access to all apps that require SD write then freez DocumentsUI

Related

[SOLVED]HOW TO remove Adobe Flash from JPC

I want to remove Adobe Flash Player from my device because in my opinion it is just way too slow to work effective. When I load a website with flash content I almost can't scroll and zooming is just even worse. Does anyone know how I can remove it or turn it off?
Thanks in advance.
In the browser, press menu.
Settings > Disable plugins (?)
If that doesn't work, use a file explorer such as root explorer (requires root) to delete the flash apk from your system.
It may even be possible to use the built in application manager to remove it, but I can't remember if it shows it or not.
oswade said:
In the browser, press menu.
Settings > Disable plugins (?)
If that doesn't work, use a file explorer such as root explorer (requires root) to delete the flash apk from your system.
It may even be possible to use the built in application manager to remove it, but I can't remember if it shows it or not.
Click to expand...
Click to collapse
I already disabled the plugins and I tried to remove it with Titanium Backup. When I select Adobe Flash and hit delete I get an error saying the apk-file can not be found.
Where can I find the apk-file in Root Explorer? I'm trying to find it but no succes yet
> Warning
install_flash_player.apk cannot be deleted because the file system is read-only.
How to bypass this error?
I already found out how to bypass it. I had to press some button to change from r/o to r/w.
japperrrr said:
I already disabled the plugins and I tried to remove it with Titanium Backup. When I select Adobe Flash and hit delete I get an error saying the apk-file can not be found.
Where can I find the apk-file in Root Explorer? I'm trying to find it but no succes yet
> Warning
install_flash_player.apk cannot be deleted because the file system is read-only.
How to bypass this error?
I already found out how to bypass it. I had to press some button to change from r/o to r/w.
Click to expand...
Click to collapse
There is one flash player floating around, 10.1.92.8. I removed the install_flash_player.apk (10.1.72) and install this. Didn't see any differences though.
As to your problem, i didn't face any such problems.

Saving or Storing .apk's

I'm about to start buying a few different apps, and want to save them on my PC so I can have them for either future use or if I am gonna be wiping my phone, returning it, getting another phone, etc... Anybody save them straight to their computer from amazon.com, or can I pull them off my phone thru Kies after dowloading from the market? Then I guess I'll also need to know how would I get the apk running once I put it on my SD Card? Sorry in advance if this is a dummy question- it's my first run at this and there are tons of different opinions and people pitching their softwares on google search and youtube that span back to 2009, so I'd like to see what someone who knows how and has a T989, Thanks!
Download astro file manager (free) from the market and u can back up your apk's. Save them to ur sd card and transfer it to ur pc.
Sent from my SGH-T989 using XDA
zero86ea said:
Download astro file manager (free) from the market and u can back up your apk's. Save them to ur sd card and transfer it to ur pc.
Sent from my SGH-T989 using XDA
Click to expand...
Click to collapse
+1
Sent from my SGH-T989 using XDA
You can also use JRUMMY6 apps - Ultimate app manager pro or ROM Toolbox Pro. This will save the apk as well as the settings for that app.
CincoDeDrinko said:
I'm about to start buying a few different apps, and want to save them on my PC so I can have them for either future use or if I am gonna be wiping my phone, returning it, getting another phone, etc... Anybody save them straight to their computer from amazon.com, or can I pull them off my phone thru Kies after dowloading from the market? Then I guess I'll also need to know how would I get the apk running once I put it on my SD Card? Sorry in advance if this is a dummy question- it's my first run at this and there are tons of different opinions and people pitching their softwares on google search and youtube that span back to 2009, so I'd like to see what someone who knows how and has a T989, Thanks!
Click to expand...
Click to collapse
Here's a quick guide:
1) Download and install a file explorer application that can write to the system partition. You can use ROOT explorer or ES file explorer. I'm not sure if astro has system writing capabilities.
2) Go into the application and enable root access and the ability to write to system. For ES, you go into settings then scroll down and check "Up to Root" and "Root Explorer" and "Mount File System"
3) Navigate to the apk files that you want to save. For user apps, it's under /data/apps and for system apps (memo, contacts, etc.) it's under /system/apps. Now you probably default to /sdcard so you'll have to go up one more level to reach the root directory (it'll just be "/") to access system or data. Save those apks.
4) If you want to restore these apks to a future phone/ROM, it's the same idea, except you just have to copy paste the files to the directory that you found them in. But you have to watch out for odexed/deodexed apps because they're not compatible. So if you go into /system/apps or /data/apps and you see a .odex file after each respective .apk file, you won't be able to install those apps to a ROM that is deodexed. If you go into those directories and you only see .apk files, you won't be able to install those apps on a stock ROM (almost all custom ROMs are deodexed).
5) All you have to do is copy the files into the directories and reboot, you don't have to install them or anything. Some will say that you should change the permissions to (rw- r-- r--) but I've tried both ways anecdotally and I don't think it makes a difference whether you do or not.
Although I'm not sure why you want to go about it this way, if you have titanium backup it'll do all your backing up and restoring for you. The only thing that I use this method for is for the memo.apk which I use but isn't included on all ROMs. TB doesn't back this up because it's a system app. So this process is really only necessary for system apps.
yoft1 said:
Here's a quick guide:
1) Download and install a file explorer application that can write to the system partition. You can use ROOT explorer or ES file explorer. I'm not sure if astro has system writing capabilities.
2) Go into the application and enable root access and the ability to write to system. For ES, you go into settings then scroll down and check "Up to Root" and "Root Explorer" and "Mount File System"
3) Navigate to the apk files that you want to save. For user apps, it's under /data/apps and for system apps (memo, contacts, etc.) it's under /system/apps. Now you probably default to /sdcard so you'll have to go up one more level to reach the root directory (it'll just be "/") to access system or data. Save those apks.
4) If you want to restore these apks to a future phone/ROM, it's the same idea, except you just have to copy paste the files to the directory that you found them in. But you have to watch out for odexed/deodexed apps because they're not compatible. So if you go into /system/apps or /data/apps and you see a .odex file after each respective .apk file, you won't be able to install those apps to a ROM that is deodexed. If you go into those directories and you only see .apk files, you won't be able to install those apps on a stock ROM (almost all custom ROMs are deodexed).
5) All you have to do is copy the files into the directories and reboot, you don't have to install them or anything. Some will say that you should change the permissions to (rw- r-- r--) but I've tried both ways anecdotally and I don't think it makes a difference whether you do or not.
Although I'm not sure why you want to go about it this way, if you have titanium backup it'll do all your backing up and restoring for you. The only thing that I use this method for is for the memo.apk which I use but isn't included on all ROMs. TB doesn't back this up because it's a system app. So this process is really only necessary for system apps.
Click to expand...
Click to collapse
TI backup also just requires the pro license key to be stored in the same location as the backup directory. this way you can change roms and get Ti pro back without needing to re purchase.
Sent from my SGH-T989
try using root explorer
then goto the data/app directory copy your apps and move to whatever folder that you like. then if you want you could sign up for minus and upload all your apks (they have a 2gb upload limit so it works great). Or just connect hercules to computer and pull files from folder you copied to to your computer.
rom tool box pro backs up ALL your installed apks on your sd. manual install and market installed.

How to install a file manager from sdcard using internet browser

How to install file manager from sdcard using the internet browser.
Just in case your rom doesn't have a built in file manager, here's how to install a file manager without having to download it from the play store.
1. Put a file manager apk in the main directory your sdcard. You may want to rename it to something very short for easy typing. In this example, I will use "fm.apk".
2. Boot your device. Goto Security Settings and check "Unknown Sources".
3. Open your internet browser. In the address bar type "file:///sdcard/fm.apk". Press "Go".
That's it! Installation started!
Please click thanks if this helped you.
This is amazing, I wish I could thank you but I can't cuz I'm a noob
you're welcome
Thanks so much for sharing this!
I was Googling for a method to install titanium backup on my tablet BEFORE setting up my Google accounts but I did not have a file manager preinstalled on the rom I was using. My search for a method to use the terminal led me to find this thread as I was also searching for a free file manager API I could install.
Problem solved! (And syntax of that command is now committed to Memory)
Great thread - for any android power user...
thank you so so so much.
klacenas said:
How to install file manager from sdcard using the internet browser.
Just in case your rom doesn't have a built in file manager, here's how to install a file manager without having to download it from the play store.
1. Put a file manager apk in the main directory your sdcard. You may want to rename it to something very short for easy typing. In this example, I will use "fm.apk".
2. Boot your device. Goto Security Settings and check "Unknown Sources".
3. Open your internet browser. In the address bar type "file:///sdcard/fm.apk". Press "Go".
That's it! Installation started!
Please click thanks if this helped you.
Click to expand...
Click to collapse
thank a lot.

[APP] Samsung Apps for any Custom Roms

Notice:
Actually, I don't know this application is necessary for you or not
After moved from stock GB to Custom Rom (CM9), sometime we felt some applications are missing
One of them that I felt missing from stock ROM is Samsung Apps
So I will share apk files from this apps
How to install?
The zip file is not flashable, extract it, and install 2 files as normally (tap & install)
And it easy to Uninstall from Apps Manager
Note:
This apps is not latest version, but the apps will updates automatically
I hope you like it
i can't install it as normal app because it say "application not installed "
Laurentyu1995 said:
i can't install it as normal app because it say "application not installed "
Click to expand...
Click to collapse
This can happen if you have your activity declared twice in your AndroidManifest.xml file. And by twice, I mean one: as a normal activity and two: as the launcher.
Make sure every activity in the manifest file is declared only once.
1. try another explorer to install it, eg Astro or Root Explorer.
2. If method 1 doesn't help, delete file .android_secure/smdl2tmpl.asec from SD Card. If the folder .android_secure is empty on your file manager, delete it from PC
I hope it will help you
temenalie said:
This can happen if you have your activity declared twice in your AndroidManifest.xml file. And by twice, I mean one: as a normal activity and two: as the launcher.
Make sure every activity in the manifest file is declared only once.
1. try another explorer to install it, eg Astro or Root Explorer.
2. If method 1 doesn't help, delete file .android_secure/smdl2tmpl.asec from SD Card. If the folder .android_secure is empty on your file manager, delete it from PC
I hope it will help you
Click to expand...
Click to collapse
samsung apps cant install as common apk files. its require touchwiz framework.
try this instead http://forum.xda-developers.com/showthread.php?t=1773983
It worked perfectly for me. Some apps downloaded by the application fail to install, but not all. I managed to install Samsung Apps moving both files to system/app via Root Explorer. After I changed the permissions to RW-R-R.
I would like to add my Samsung account on the phone, but I need the apk files. Do you know where can I find?

[GUIDE] How to install apps as system apps without ForceClose!

You need to be rooted and i recommend use root explorer
1) First guys make sure you have the apk or else pull it from /Root/Data/App
2) Copy that apk to your SD card and install it as a normal user app (Like a usual APK)
3) Go to /Root/Data/Data
4) Find the app then go to it and open the folder (eg. com.android.camera - Camera)
5) Go to file called "lib" in the folder (com.android.camera)
6) You may find one or multiple files in it. (eg. abcd.so ) copy it or them to your SD card
7) Uninstall the app and reboot the device
8) Take the apk from SD card and copy the apk to /Root/System
9) Select the file and change the permissions of the apk under select permissions
10) Tick all the boxes under read and only the first one under write and click ok
11) It should look like rw-r--r--
12) Then cut the Apk and pate it to /Root/System/app
13) Copy the the Lib named like. (Eg - abcd.so) to /Root/System and change the permission like you did with earlier apk but cut (Eg. abcd.so) it and paste it to /Root/System/lib
And reboot and enjoy
Hit Thank If It Helped You
I don't unstand why you can install a system apps on step 2
mine shows App not installed. The package appears to be corrupt. and some time conflict

Categories

Resources