How to reinstall documentsUI? [SOLVED] - General Questions and Answers

Im running e/OS (based on LineageOS). The default file manager documentsUI (from the android open source project) was ok but was missing some features I would want such as root access. I found another file manager which had everything I wanted and then uninstalled documentsui using de-bloater: https://f-droid.org/packages/com.sunilpaulmathew.debloater/
Now debloater has a handy function to remember what you removed and then you can restore it whenever you want. But stupid me uninstalled it after i was done with it and now it no longer remembers documentsUI and it can't restore it.
Now im having issues where some apps try to open documentsUI for me to choose a file but the app no longer exists. Is there any way for me to reinstall it as a system app without having to wipe my phone?
I have root (obviously), magisk and twrp recovery if it helps. I also have access to android platform tools on my pc.
I turned off the phone (completely) and left it over night because it was low on battery. After turning it on all system apps I have removed just magically came back. I have tried restarting before but nothing happened so I really don't know why or how it got fixed but im grateful

Related

[Q] Installing .apk in CM7 on SGS2

Ok, so I have spent the last week searching for an answer to this problem, and I'm hoping someone will be able to help me out and others who may have similar problems.
With a rooted SGS2 and stable CM7 rom, I wanted to install the stock messaging app as I liked the "bubble" GUI better. Further, I found a copy of a camera app with higher bitrates/other improvements that I wanted to install as well. but every time I install them, I get "application not installed" with a check mark.
My method was:
Checked to install apps from unknown sources
Uninstalling old app (after backup)
Copying new apps to system/app to replace
Using root explorer in r/w to install them (didnt work)
So then tried:
Signing the apps using Signaptik/Zipsigner
Changing permissions to same as stock apps
It seems nothing that I try to install in system/app will install. Actually, any of these apps, no matter their location, will not install. Why is this? I'd really like the better camera app and my old mms.apk back!
Cheers!
------EDIT------
The camera.apk I want to install was built for SGS2, the mms.apk I wanted to install is stock from sgs2
Enable non-market apk installation.
Go to Settings – Applications – tick the “Unknown Sources” checkbox at the very top. Accept the warning which pops up by tapping on OK.
If you downloaded the file on PC, transfer it to phone.(sd card)
Open the file explorer (if you don’t have one, download any file manager from the android market) and browse to the location where you’d transferred the file.
Tap on the file to install it.
They won't install because they have dependency on a framework or application that does not exist in CM7.
Try installing them with ADB
adb install <apkname>
It will give you the full error message.

Issue with TWRP and Root

since upgrading firmware from b3++ to b571 i am facing this issues
1. google translate cannot instal the downloaded language.
2. root and unroot still left leftovers which hindering some of the apk wont run even with rootcloak
3. full twrp still leave missing symlink
so i have been experimenting what are the cause, twrp or rooting
1. google translate the issue is twrp ( not sure why) even if i restore to stock bootloader, translate will not be able to install the language file.
2. rooting and unrooting will still left traces which the apk still able to trace some of the su file. rootcloack wont work with some of the apk
so the only solution is to restore the whole firmware from scratch.
my question, is anyone manage to reslove this? . i want to root and restore few things like the data/network at status bar and hide/unhide the navigation bar. the unroot back cause i need some apk that don like root like banking apk
For what it is worth; I flashed the recovery backup over 51 and did a factory reset and flashed supersu for root.
- I used translate a week ago and was able to download language package
- I am able to watch TV with an app which is denied on rooted devices, maybe you could try adjusting some supersu boot settings as it works fine for me
- Data/network settings are stored in the Google cloud and auto restored?
- I use Nova launcher which allows navigationbar hiding. I bet it should be easy to enable.
Since restoring apps is not much a deal as you can choose all apps you want to restore in Appstore by using longpressing an owned app in your person overview.
The only downside may be needing to reconfigure some apps but I suppose you could restore those be need.
Which TWRP have you installed?
Mother_Teresa said:
For what it is worth; I flashed the recovery backup over 51 and did a factory reset and flashed supersu for root.
- I used translate a week ago and was able to download language package
- I am able to watch TV with an app which is denied on rooted devices, maybe you could try adjusting some supersu boot settings as it works fine for me
- Data/network settings are stored in the Google cloud and auto restored?
- I use Nova launcher which allows navigationbar hiding. I bet it should be easy to enable.
Since restoring apps is not much a deal as you can choose all apps you want to restore in Appstore by using longpressing an owned app in your person overview.
The only downside may be needing to reconfigure some apps but I suppose you could restore those be need.
Which TWRP have you installed?
Click to expand...
Click to collapse
translate was able to download the languages files, but it cannot instal. that instalation circle , circling non stop, for days
3.0.2.0
what and where the supersu boot setting
i am using sense 8 launcher cause i like the new page

Can't complete google backup restore / Phone stuck completing setup

In set-up wizard I login with google account and choose restore from cloud
When it's completing setup (my apps and data) it hangs on 47 ou of 87
Waited for a whole day for it to finish...nothing
Reset device 2nd time
Did another google backup on my old phone
Same thing this time at 60 out of 87
Edit:
Factory reset
No google account this time
Managed to update apps already installed on device, can't install new apps without signing-in
Disable all automatic updates etc.... sign in with google account, can't install apps "waiting for download"
also had this error during restore but doesn't seem to matter
Updating apps on playstore doesn't work, installing new apps also doesn't work...everything gets queued up and no progress
Really disapointed with this, maybe it's faulty?
Edit:
Did yet another system/factory reset. And this time I chose restore backup from another phone, hope it works.... update: it didn't, same thing 36 out of 87
UPDATE: MAIN POST EDITED
So I added my google account after setting up the device, I managed to restore a lot of apps BUT some of them failed and/or can't install them from playstore.
Tried deleting cache and storage from PlayStore. Also tried disabling MIUI optimizations and even letting the screen on ∞ time and let it install overnight......nothing
The list of apps appear to be random, so I'll just keep updating it
The list​
Android system webview - can't update
PokemonGo - can't install
Flud - can't install
For apps download/update change the connected WiFi settings to "static"
For crashes I would suggest to "clear cache" and "clear data" of these apps: Phone, SIM Toolkit, and Contacts
If it didn't work, then factory reset and start fresh (don't restore from cloud) it could be something from backup that conflict with MIUI
Zeez Saud said:
For apps download/update change the connected WiFi settings to "static"
For crashes I would suggest to "clear cache" and "clear data" of these apps: Phone, SIM Toolkit, and Contacts
If it didn't work, then factory reset and start fresh (don't restore from cloud) it could be something from backup that conflict with MIUI
Click to expand...
Click to collapse
Thx for the tips I'll try them Edit: only had crashes on device setup
I did factory reset(4th time) and haven't restored from cloud yet, I̶'̶m̶ ̶a̶b̶l̶e̶ ̶t̶o̶ ̶p̶r̶o̶p̶e̶r̶l̶y̶ ̶u̶p̶d̶a̶t̶e̶ ̶a̶n̶d̶ ̶i̶n̶s̶t̶a̶l̶l̶ ̶a̶p̶p̶s̶ ̶n̶o̶w̶. can only update some apps already installed on the device and phone hangs when installing google apps that are part of the device setup.
I think this problem has to do with miui aggressive apps freeze/lock battery saver policies
Anyone knows how to disable that? I did disable miui optimizations and wifi throttling in developer settings (And no I don't have battery saver on)
bacitoto said:
Thx for the tips I'll try them
I did factory reset(4th time) and haven't restored from cloud yet, I'm able to properly update and install apps now. But if I can't restore all my data from my account this phone is pretty useless to me.
I think this problem has to do with miui aggressive apps freeze/lock battery saver policies
Anyone knows how to disable that? I did disable miui optimizations and wifi throttling in developer settings (And no I don't have battery saver on)
Click to expand...
Click to collapse
I'm no expert on miui yet by try to lock google play store in the memory. You can do that in the recents list. Also make sure that all the needed apps have the right permissions (storage etc.).
andreas951207 said:
I'm no expert on miui yet by try to lock google play store in the memory. You can do that in the recents list.
Click to expand...
Click to collapse
Rhx, I'll try that to. Edit: didn't work
Well apparently android system webview can't update
Screenshots, look at clock
whats the best back up app for everything ? i have only used oneplus switch , phone clone huawei and smart switch to transfer to other phones , mi mover is not compatible on my phone
UPDATE: MAIN POST EDITED
So I added my google account after setting up the device, I managed to restore a lot of apps BUT some of them failed and/or can't install them from playstore.
Tried deleting cache and storage from PlayStore. Also tried disabling MIUI optimizations and even letting the screen on ∞ time and let it install overnight......nothing
The list of apps appear to be random, so I'll just keep updating it
Android system webview - can't update
PokemonGo - c̶a̶n̶'̶t̶ ̶i̶n̶s̶t̶a̶l̶l̶ was installed after update MIUI V12.0.2.0 (QJGEUXM)
Flud - can't install always stuck at 66% (25-09-2020 managed to install it today...dunno why)
Anyways I unlocked bootloader etc. Still can't update some apps like, messages, chrome and system webview
But what is important :
PlayStore settings -> scroll to the bottom and under Play Protect certification -> Device not certified
Is this normal?
bacitoto said:
In set-up wizard I login with google account and choose restore from cloud
When it's completing setup (my apps and data) it hangs on 47 ou of 87
Waited for a whole day for it to finish...nothing
Reset device 2nd time
Did another google backup on my old phone
Same thing this time at 60 out of 87
Edit:
Factory reset
No google account this time
Managed to update apps already installed on device, can't install new apps without signing-in
Disable all automatic updates etc.... sign in with google account, can't install apps "waiting for download"
also had this error during restore but doesn't seem to matter
Updating apps on playstore doesn't work, installing new apps also doesn't work...everything gets queued up and no progress
Really disapointed with this, maybe it's faulty?
Edit:
Did yet another system/factory reset. And this time I chose restore backup from another phone, hope it works.... update: it didn't, same thing 36 out of 87
UPDATE: MAIN POST EDITED
So I added my google account after setting up the device, I managed to restore a lot of apps BUT some of them failed and/or can't install them from playstore.
Tried deleting cache and storage from PlayStore. Also tried disabling MIUI optimizations and even letting the screen on ∞ time and let it install overnight......nothing
The list of apps appear to be random, so I'll just keep updating it
The list
Android system webview - can't update
PokemonGo - can't install
Flud - can't install
Click to expand...
Click to collapse
Same thing happened to my device when I bought it, but I managed to install everything. All it took was just a restart.
Also, keeping your bootloader unlock will remove the Play Store certification, the only way to be certified again is to restore the stock rom again and lock the bootloader, otherwise you may encounter further problems with Google services in the future.
Yepi69 said:
Same thing happened to my device when I bought it, but I managed to install everything. All it took was just a restart.
Also, keeping your bootloader unlock will remove the Play Store certification, the only way to be certified again is to restore the stock rom again and lock the bootloader, otherwise you may encounter further problems with Google services in the future.
Click to expand...
Click to collapse
The apps eventually install/update, for some reason. Just wanted to find out why

HELP After updating Android System Webview My Phone is Unresponsive

Hello Guys,
I come in need of a help,
I'm writing from my computer now,
Yesterday my phone was working fine,
Today morning, I updated the apps on my phone; amongst the updates was android system webview.
After a reboot, my phone is unresponsive, it won't open any of the apps from that point.
I reboot again, since keyboard doesn't work, I used the OTG cable to use the physical keyboard to enter the password and get in. Tried entering setting to uninstall that crap app, settings is unresponsive.
No SIM services, no keyboard, no fingerprint, no settings etc.. basically nothing works and everything says "unresponsive and asks to either wait or close".
The only thing I have now is TWRP Recovery, and I'm inside it now.
I've wiped Cache + Dalvik / ART Cache : Result still same, nothing works.
I mailed [email protected] (which is provided in the app's "Developer" section) about this and got a reply that the mail is no longer being monitored.
Can someone please let me know how I can remove android system webview by using TWRP ? So that I can enter the phone back again as normal..
Device Details:
Lenovo K8 Note
Android 7.1.1 Nougat, (Never updated the OS)
Device has been rooted and has recovery options.
I think you can find WebView module in Magisk respiratory so I suggest you give that a try. Flash it and I think it will be fine as long as you have Magisk installed, of course.
dedq said:
I think you can find WebView module in Magisk respiratory so I suggest you give that a try. Flash it and I think it will be fine as long as you have Magisk installed, of course.
Click to expand...
Click to collapse
Thanks, I couldn't quite understand that..
I've never read/seen a need for Magisk so far.. so may I know what is the procedure to be done here...?
I do read Magisk is a systemless Root, (I already have SuperSu, is that the same functionality? (though I can't open anything that is))
Find the Magisk zip on Google and flash it over TWRP.
Head over to the Magisk module site and you will be able to find an alternate WebView module you can flash. It will be in zip format so I guess you will need USB to transfer those files to your phone since you cannot use it to download modules.
dedq said:
Find the Magisk zip on Google and flash it over TWRP.
Head over to the Magisk module site and you will be able to find an alternate WebView module you can flash. It will be in zip format so I guess you will need USB to transfer those files to your phone since you cannot use it to download modules.
Click to expand...
Click to collapse
Understood, thanks..
Will try this out.
KillerBeeSama said:
Understood, thanks..
Will try this out.
Click to expand...
Click to collapse
Give it a try and come to tell if you have sorted it out.
If not, you will probably need to flash your ROM again hoping the application won't stay updated but to back to stock version.
dedq said:
Find the Magisk zip on Google and flash it over TWRP.
Head over to the Magisk module site and you will be able to find an alternate WebView module you can flash. It will be in zip format so I guess you will need USB to transfer those files to your phone since you cannot use it to download modules.
Click to expand...
Click to collapse
Oh, one more thing,
Does this procedure mean, I'll lose TWRP and SuperSu?
Can I not just downgrade the android system webview manually itself?
KillerBeeSama said:
Oh, one more thing,
Does this procedure mean, I'll lose TWRP and SuperSu?
Can I not just downgrade the android system webview manually itself?
Click to expand...
Click to collapse
You won't lose TWRP but I am not sure about SuperSu since it's very old and people don't use it from the time Magisk appeared. I don't think you will be able to have both TWRP and SuperSu.
It would be good for you to just uninstall the updates of WebView if you can use your phone at all. That would solve the problem.
TWRP basically is a menu what allows you to select and apply ADB and/or Fastboot commands.
SuperSU is a Superuser access management tool: it requires SU binary got installed on Android.
Both mentioned sofwares are completely different things, don't depend on each other.
BTW:
I always root Android without the need to make use of Magisk or SuperSU.
So, I went through these
[MAGISK] [MODULE] Webview Manager
Welcome to the XDA home of Webview Manager by Androidacy Read about it on our blog: https://www.androidacy.com/tag/webview-manager/ What is this? This magisk module allows to install several webviews and browsers, replacing the stock one with...
forum.xda-developers.com
Android system Webview installed but not used by apps
I downloaded and installed the latest version of android system WebView from the app store on my android tablet (running 5.0.2). But apps still go on using the old webview version (39.0.0.0). Ho...
android.stackexchange.com
SystemWebView releases
SystemWebView releases
www.bromite.org
Installing SystemWebView
Bromite is a Chromium fork with ad blocking and privacy enhancements; take back your browser! - bromite/bromite
github.com
I got is, .. the adb and appt command says "not found". so.. confusion. and I also see that Bromite System Webview might or might not work on some apps..
So,
Is there a way to downgrade an app through recovery mode
or delete that app's data and start from scratch for that alone?
or is there a way to flash an old Android System Web View through TWRP?
Please help, I have spent the whole day trying to fix this.
I already have SuperSu and it seems if I need to goto Magisk (which is just for that other webview application, I have to do a lot of rolling back and applications going away, ) I don't want that..
Let's keep the Magisk idea as last resort and please let me know if there is any other way to delete the entire Android Webview related stuff and start from beginning.
<bump>
Attached the attack of errors. (these are just few of the ANR popups, there are lots more.. at the last screen you can see even settings won't respond)
My recommendation: Reflash phone's Stock ROM to get rid off of all modifications you applied so far, then restart modding from the scratch.
jwoegerbauer said:
My recommendation: Reflash phone's Stock ROM to get rid off of all modifications you applied so far, then restart modding from the scratch.
Click to expand...
Click to collapse
Just because of one application?
I just want that android webview gone/replaced with a stable one, is that not possible without destroying everything?
Thanks everyone.
we have a solution,
In my case, uninstalling the Xposed framework fixed it for me..
So, while working on this issue I had made a flow map and a log of what is done and its results, may be someone else can benefit from it in the future..
Spoiler: Tries and results
Even starting the entering phone itself is a big issue, because the keyboard applications don't come up; fingerprint doesn't work on first boot as a security measure as well; connected physical keyboard to OTG to phone to enter password... then greeted with lots of errors of all the applications.
Asking people blowed over 'to buy a new phone'
Posted to Reddit, no replies
Posted to Google support, got crappy bot_ish answers; who even hires these people!
Posted to XDA, have some ideas worth trying
Unpacking the system web view.apk on computer gives crap details as it is almost completely encrypted.
Going rabbit hunting through the rabbit hole, checking each folders on "/"
found something similar /system/app/WebViewGoogle/WebViewGoogle.apk
Quick google search confirms that I’m on the right path to finding it...
May be data or XML is somewhere too?
Deleted(copied and deleted) /system/app/WebViewGoogle/WebViewGoogle.apk
Result, Same
Then Reverted
PS: Original Copy at ext_sdcard
Replaced the existing one (92.0.4515.115 with 90.0.4430.210)
Result, no changes.
Then reverted with the crappy original
May be adb will install properly?
Tried adb commands on phone on TWRP, doesn't work
Tried adb from computer to phone, unable to connect to phone.
Was doing it wrong, while in TWRP, I need to initiate "ADB Sideload" and then connect from PC (with Firewall allowed)
then "adb devices", shows connected device with serial number
after the above, the adb push keeps saying "error: connect failed: closed"
turning phone ON and connecting for additional settings (USB debugging) pops "mtp host failed" as soon as I wire..
Started the phone, switched over to Guest account, (oddly seems stuff there are kind of better with lesser error messages), tried launching playstore and wifi, both need password which I don't have, entering settings, hangs for a while, quickly go to apps and uninstall updates for android system web view.. web view becomes 0.0.1
results, fail
Created a temporary user account on phone whilst booting, (because of the observable lesser apps running if I switch over from main..)
added my gaccount on it,
launched playstore to update the android system web view..
the update is stuck at 60%~70 %each time and is unable to complete..
took the v90 application that is on pendrive, connected otg.. and started to install application manually from there..
it said, no space.. even though there is around 4 GB free... continued to disable other applications, such as chrome, youtube, drive etc..
still unable to install the v90 application
even installing other apps (sudoku example) have the same issue,
and then I see a popup that package manager has stopped working (aha! so that itself doesn't work, then can't install),
Went to see if I can change something on developer options, developer option wont come up even after 7+ taps.. hmm strange, may be only main account can have dev options.
While at it, swapped out the Gboard with older AOSP keyboard (retaining Fleksy though).
Rebooted and tried again.. no fix yet..
Atleast I don't have to switch to physical keyboard now for every reboot, since the inner older keyboard comes for first boot.
By TWRP, removed existing app and replaced with v87; doesn't seem to be any different, same errors...
Was about to install the Magisk but it seems to have lots and lots of catches to it, and things to-do before I can go to that...
Continuing investigation on how to downgrade and get back to older state
Through TWRP, deleted the app folder from /system/app/WebViewGoogle/WebViewGoogle.apk
researched to see if there is something else to delete, couldn't find much... proceeding from what we know...
Removed ATSystem.apk (3C's helper) from /system/priv-app just in cast (copy placed at ext_sdcard)
result no change..
Started at around 31-Jul-21 13:00 and went on till 01-Aug-21 01-26 pausing to for the day to rest...
Restored App Folder back to /system/app/WebViewGoogle/WebViewGoogle.apk
WebViewGoogle.apk is v90 again.. (the original seems to be missing, meh, not like it's going to fix)
reboot, result, no changes.
Starting step to install magisk
Removing xposed now..
wiped dalvik cache
rebooting
Kind of stable!!!
Everything seems to work?!?!
Firewalled all app except playstore and mail,
mail seems to work, but can't open the mails (just the headers are received), clicking on the mail says "unable to inflate webview"
aha, I forgot that I have v87 still, if I update that again, will it work (if it doesn't we know how to revert now)
proceeds to update v87 to latest
reboots,
I guess issue resolved by uninstalling xposed, next step to enter phone and move data to safe zone and think about next step.
Are you using xprivacylua?
VD171 said:
Are you using xprivacylua?
Click to expand...
Click to collapse
No, I do remember hearing about it.
GUys, i have installes a system webview on my Samsung J2 core, after restarting my phone stuck on int boot animation, then i do the hard reset combination keys and keeps from restarting. what should i do.
TUPANGPUTi23 said:
GUys, i have installes a system webview on my Samsung J2 core, after restarting my phone stuck on int boot animation, then i do the hard reset combination keys and keeps from restarting. what should i do.
Click to expand...
Click to collapse
Oh... sorry to hear that.
I don't know the solution to that, because mine is rooted I was able to get into the custom recovery and fix things.. not sure what can be done here for your case, (I do know that the old samsung's default recovery is kinda unreadable for English speakers)
So, I think it's best for you to start a new thread in the forum, because if you make a new thread there's a higher chance of reply than this thread which is already marked solved.
(plus. please do attach any photos even crude it may be, still will help people see and suggest actions)

Rooting Samsung Galaxy Express GT18730T - Android is v4.1.2

I have followed many suggestions, but have failed so far. ONE of many difficulties is that I can not get the phone to download iRoot APKs, so did it on my PC instead, and succeeded in copying them into the Phone's DOWNLOADS (quite visible on my PC) but the phone does NOT show them when I open Downloads - so I can not try to install them to see if they will root the phone. A solution to rooting would be welcome; as also how to make those APKs visible in the phone.
I downloaded and installed File Manager App and that revealed the files copied in. One problem solved. They would not install until I had changed Settings to allow APK's from unknown sources to be installed. Second problem solved. Rooting was solved by installing iRoot. Third problem solved. But even then I could not dispose of unwanted system Apps, till I downloaded and installed NoBloat Free; Fourth problem solved. Then Application Manager offered to uninstall updates, with the warning that the app would be replaced by the factory version, but went ahead and uninstalled the app anyway. Fifth Problem solved. HOWEVER, even though Application Manager now only shows a handful of apps, the screens are still cluttered with many icons I was hoping to be rid off. Can someone tell me how to remove the already uninstalled apps from the screens ?

Categories

Resources