[Q] Help with ADB uninstall - Nook HD, HD+ Q&A, Help & Troubleshooting

After returning 4 HDs that developed charging and other problems following the setting of the "allow unknown sources" flag, we decided not to tempt fate with the 5th Nook HD and then I discovered that apks can be installed via ADB, bypassing the Android setting. There is a drawback, of course--the apps cannot self-update.
I did this with a copy of an apk that's no longer available in the PlayStore and which I had already installed on my NT/CM10. What I forgot was that this package came with an Aptoide Store app attached. The desired app installed on the Nook HD and runs fine, but we now get periodic random messages like "this app cannot be installed" blah, blah, blah. I'm assuming this is because the Aptoide store is trying to install itself, but of course is blocked by the Android setting that won't allow unknown sources.
My question: where do you suppose this uninstalled package is hiding? If I try to use the ADB uninstall command as if it were already installed, will that expunge it?

Related

[Q] Superuser Denied

Hello,
My Nook HD+ is currently running on verygreen's cm-10.1-20130710-UNOFFICIAL-ovation-emmc.zip. I did not make any other customization.
I tried installing an app called Quick Boot from Playstore which needs root access. However, I'm getting error "Superuser denied to QuickBoot". However, the root/superuser access is working fine with other apps like Titanium Backup, AdAway, ES Explorer, Terminal Emulator, etc.
Superuser Access - Automatic Response setting is set to "Prompt". Prompt does work for other apps but not for Quickboot. I just get a flash message that "Superuser denied to QuickBoot". I have also changed Automatic Response setting to "Allow" and tried, but even then I get the same error.
I downloaded the Superuser (by ChainsDD) app from Playstore and tried. I am getting the same error "Superuser denied to Superuser" for this app as well. Also, this app does not show me any App list with superuser access, I just get a blank screen.
I'd appreciate any suggestion to fix this issue.
Thanks in advance...
TheLabyrinth said:
Hello,
My Nook HD+ is currently running on verygreen's cm-10.1-20130710-UNOFFICIAL-ovation-emmc.zip. I did not make any other customization.
I tried installing an app called Quick Boot from Playstore which needs root access. However, I'm getting error "Superuser denied to QuickBoot". However, the root/superuser access is working fine with other apps like Titanium Backup, AdAway, ES Explorer, Terminal Emulator, etc.
Superuser Access - Automatic Response setting is set to "Prompt". Prompt does work for other apps but not for Quickboot. I just get a flash message that "Superuser denied to QuickBoot". I have also changed Automatic Response setting to "Allow" and tried, but even then I get the same error.
I downloaded the Superuser (by ChainsDD) app from Playstore and tried. I am getting the same error "Superuser denied to Superuser" for this app as well. Also, this app does not show me any App list with superuser access, I just get a blank screen.
I'd appreciate any suggestion to fix this issue.
Thanks in advance...
Click to expand...
Click to collapse
You are looking in settings at the superuser section? And Quick Boot is not listed in the apps or history?
Sent from my Nook HD+ running CM10.1 on emmc.
Superuser Denied to Quick Boot and Superuser (by ChainsDD) app from Playstore
leapinlar said:
You are looking in settings at the superuser section? And Quick Boot is not listed in the apps or history?
.
Click to expand...
Click to collapse
In Superuser section under Settings, Quickboot is showing as "Deny", Titanium Backup, AdAway is showing as "Allow". Log is showing the same. Also, the Superuser (by ChainsDD) app from Playstore is showing as "Deny" under superuser settings.
When I am trying to run the Quickboot app, every time I am getting a flash message for a second "Superuser denied to QuickBoot".
I'm not understanding why some apps are getting root access, some not. I tried clearing the app data and cache and re-installed the apps as well. But it did not help.
It would be really helpful if you please let me know a way to fix this issue.
TheLabyrinth said:
In Superuser section under Settings, Quickboot is showing as "Deny", Titanium Backup, AdAway is showing as "Allow". Log is showing the same. Also, the Superuser (by ChainsDD) app from Playstore is showing as "Deny" under superuser settings.
When I am trying to run the Quickboot app, every time I am getting a flash message for a second "Superuser denied to QuickBoot".
I'm not understanding why some apps are getting root access, some not. I tried clearing the app data and cache and re-installed the apps as well. But it did not help.
It would be really helpful if you please let me know a way to fix this issue.
Click to expand...
Click to collapse
It got denied because you did not respond quick enough when it asked the first time. Once denied, it stays that way until you somehow clear it. But I don't know how to clear it on this new CM10.1 setup. There is no superuser app, it is part of the operating system.
Sent from my Nook HD+ running CM10.1 on emmc.
leapinlar said:
It got denied because you did not respond quick enough when it asked the first time. Once denied, it stays that way until you somehow clear it. But I don't know how to clear it on this new CM10.1 setup. There is no superuser app, it is part of the operating system.
Click to expand...
Click to collapse
I am very sure that there was no prompt to grant Superuser access when I opened Quickboot for first time because I was waiting for the prompt to come up. But it never came.
Also, do you mean that I should not use any other Superuser App other than the one that came with the Operating System?
I have another question regarding the default Superuser App that came with OS. Why is there no option in settings to change "Deny/Allow" for an App? Is there a way around to enable the "Deny/Allow" option in the Superuser App Settings?
TheLabyrinth said:
I am very sure that there was no prompt to grant Superuser access when I opened Quickboot for first time because I was waiting for the prompt to come up. But it never came.
Also, do you mean that I should not use any other Superuser App other than the one that came with the Operating System?
I have another question regarding the default Superuser App that came with OS. Why is there no option in settings to change "Deny/Allow" for an App? Is there a way around to enable the "Deny/Allow" option in the Superuser App Settings?
Click to expand...
Click to collapse
Well, if it is showing denied, it got denied somehow.
I don't know much about this new superuser setup in CM10.1. You might try going to cyanogenmod's forum on their site. It is a generic issue that applies to all their devices so there may be some discussion on it.
Sent from my Nook HD+ running CM10.1 on emmc.
Can anybody please confirm whether they are getting the same "Superuser denied" issue with Quickboot? We will know if it is a generic issue with everyone or issue with my Nook only. If it is a generic issue, we can bring this to the notice of the developers. Quick Boot is available in Play store.
Also, if anyone can test the Superuser (by ChainsDD) app from Playstore.
TheLabyrinth said:
Can anybody please confirm whether they are getting the same "Superuser denied" issue with Quickboot? We will know if it is a generic issue with everyone or issue with my Nook only. If it is a generic issue, we can bring this to the notice of the developers. Quick Boot is available in Play store.
Also, if anyone can test the Superuser (by ChainsDD) app from Playstore.
Click to expand...
Click to collapse
Well, I can tell you I have no issue with Quick Boot and the verygreen 7/08 emmc ROM.
And I did have a problem with an old version of Root Browser not activating superuser. It was not denied, it just did not recognize the CM superuser. So I installed ChainsDD superuser and it recognized it and got activated. It was listed in the CM superuser as allowed then. Then I could uninstall ChainsDD superuser and Root Browser continued to work fine.
Sent from my Nook HD+ running CM10.1 on emmc.

Cm12.1 certain apps won't install.

Hello, I'm running the cm12.1 nightly which is up to date, while restoring backed up apps via titanium backup a few 3-4 failed. After finishing the rest I tried to download those apps from the playstore and they failed again. It's not giving any error codes or anything just says "app not installed".
Any thoughts?
I had this happen once before...I think it was "Sky Baron: War of Planes" full version from Amazon (even though other Amazon apps loaded fine, since "Other Sources" was enabled). I still have no idea why it doesn't install...
topshot17 said:
Hello, I'm running the cm12.1 nightly which is up to date, while restoring backed up apps via titanium backup a few 3-4 failed. After finishing the rest I tried to download those apps from the playstore and they failed again. It's not giving any error codes or anything just says "app not installed".
Any thoughts?
Click to expand...
Click to collapse
GeodudeFFP said:
I had this happen once before...I think it was "Sky Baron: War of Planes" full version from Amazon (even though other Amazon apps loaded fine, since "Other Sources" was enabled). I still have no idea why it doesn't install...
Click to expand...
Click to collapse
Steps:
1- install terminal emulator from playstore
2- type su and grant su permission
3- su -shell
4- pm set-install-location 1
5- enjoy
This happened to me as well when I first flashed RR and tried to restore all of my apps through Titanium backup. I think it has something to do with your amazon and Google account, it fails to recognize them and thinks your installing them without either account.
I figured out that its best to just start fresh. The apps you've installed before on any device are tied to your Google account, so you should have no trouble remembering them. Then you can restore the data on Titanium backup if you choose to.

debloated fire 7 cannot install Amazon-apps anymore

Hi,
I have a 7th generation Fire 7 that I downgraded to 5.4.0 and debloated following the method in another tread (bascically running "adb uninstall -k" over the packages) and put Google Playstore on it.
In this process I lost (of course) the Amazon Prime Video Player which I thought I could simply reinstall via the Playstore.
But alas, not so.
It seems I cannot install any Amazon-Apps anmore. I cannot install the Prime Video Player, the shopping app, nor the Amazon Appstore itself.
The error I get is "App not installed", I assume this is because debloating via "uninstall -k" leaves the data-directories around that that probably prevents a new install.
Is there anything I can do now to somehow get the Prime Video player back, apart from doing a factory-reset and starting afresh?
Many thanks!
Factory reset is the only way. You cannot reactivate these disabled apps, and you cannot install an app that has the same package name as a deactivated one.

Oneplus 3T oreo and amazon appstore

Hello,
There's a little problem to use amazon appstore because you must allow it to install unknow source app.
But himself was download out of the official google store (there's not choice) then you can't allow an unknow source to install unknow source app.
Before android 8, it was possible and now how do it ?
I don't have any such problem
Unleashed by my rooted OP3T on 8.0
since root ?
rifmouk said:
since root ?
Click to expand...
Click to collapse
Since ever.
I had root since the beginning.
Unleashed by my rooted OP3T on 8.0
Since Android Oreo, "unknown sources" have been separated so now you have to allow it for each app separately. You can find it in Settings > Apps > Special access > Install unknown apps.
exactly, przemcio510,
But because "amazon appstore" was download outside from the "google play store", it doesn't appear in this list. ( but maybe there's something , i don't understand)
With Oreo, it seems the system changed , now you can allow an app to install an unknow source and NOT allow YOU to install unknow source.
rifmouk said:
exactly, przemcio510,
But because "amazon appstore" was download outside from the "google play store", it doesn't appear in this list. ( but maybe there's something , i don't understand)
With Oreo, it seems the system changed , now you can allow an app to install an unknow source and NOT allow YOU to install unknow source.
Click to expand...
Click to collapse
As I wrote earlier, there is no problem with Amazon.
It doesn't matter in which setting you are finding the unknown sources. It works just fine.
Unleashed by my rooted OP3T on 8.0
Same problem here!
RASTAVIPER said:
As I wrote earlier, there is no problem with Amazon.
It doesn't matter in which setting you are finding the unknown sources. It works just fine.
Click to expand...
Click to collapse
Well, that might be true, however for us it does NOT work, because in our case the setting can NOT be found at all
Same as rifmouk, i found the list where I should be able to enable apk installations through the Amazon App Store. However, there is no 'Amazon App Store' in that list, only a few other apps like my browsers.
I already had a lengthy discussion with the Amazon support about this. After letting me wait for a few minutes, the lady came back and asked me "Do you already have Marshmallow?"
In the end she suggested contacting One Plus, they should be able to unlock the 'install from unknown sources' setting (she didn't want to hear about that setting not being there anymore) on my phone from remote :laugh:
Anyways, I contacted them again via twitter. They told me the devs would take a look, and to have just a bit of patience. That was roughly three months ago.
or1on06 said:
Same problem here!
Well, that might be true, however for us it does NOT work, because in our case the setting can NOT be found at all
Same as rifmouk, i found the list where I should be able to enable apk installations through the Amazon App Store. However, there is no 'Amazon App Store' in that list, only a few other apps like my browsers.
I already had a lengthy discussion with the Amazon support about this. After letting me wait for a few minutes, the lady came back and asked me "Do you already have Marshmallow?"
In the end she suggested contacting One Plus, they should be able to unlock the 'install from unknown sources' setting (she didn't want to hear about that setting not being there anymore) on my phone from remote [emoji23]
Anyways, I contacted them again via twitter. They told me the devs would take a look, and to have just a bit of patience. That was roughly three months ago.
Click to expand...
Click to collapse
Can u post some screenshots?
And from a personal experience: the customer support of the Appstore is ****. I had also some long discussion about a problem with another device and they didn't have a clue, although they had people searching over the matter for weeks.
Unleashed by my rooted OP3T on 8.0
I just now installed the Amazon app store APK. Then I opened the application, logged in, and downloaded an app.
I was then prompted to change my settings to allow the downloaded app to be installed.
At this point I checked in Settings>Apps>Special access>Install unknown apps and the Amazon app is listed.
I'm in OOS 5.0.1.
So everything behaves as it should. Nothing wrong with the Amazon app or Oreo.
I suggest you wipe the data for the Amazon app and go through the process again.
Sent from my OnePlus3T using XDA Labs
I tried reinstalling it, still the same issue. Here is the list I have (can't post correct links yet).
http s://pasteboard.co/HeMKbPp.jpg
I have the same issu like u!
I have installed amazon appstore. I have given permission to allow amazon appstore to install from unknown source. But still when I try to install app from amazon appstore it shows that allow to install from unknown source in security settings and open security settings menu. I have allowed all permissions to amazon appstore but still not able to download or install single app.
Any solution please.!!
BillGoss said:
I just now installed the Amazon app store APK. Then I opened the application, logged in, and downloaded an app.
I was then prompted to change my settings to allow the downloaded app to be installed.
At this point I checked in Settings>Apps>Special access>Install unknown apps and the Amazon app is listed.
I'm in OOS 5.0.1.
So everything behaves as it should. Nothing wrong with the Amazon app or Oreo.
I suggest you wipe the data for the Amazon app and go through the process again.
Click to expand...
Click to collapse
I have Oxygen os 5.0.2 and i have even allowed unknown source installation to amazon appstore but still not able to download.
Sam_38 said:
I have Oxygen os 5.0.2 and i have even allowed unknown source installation to amazon appstore but still not able to download.
Click to expand...
Click to collapse
same thing for me since Oxygen Os 5.0.3
I'm running into the same thing rifmouk, running Oxygen OS 5.1.3 with redownloaded and installed Amazon Appstore as of today.
App update
Update: scratch everything below. Even when you enable the Appstore to install outside apps, it still prompts you to enable outside apps with a message inside the Appstore. Looks like Amazon still has work to do.
I was having issues with this too and wanted to give an update. It seems that Amazon has released an updated version of their app. You have to uninstall the Amazon Appstore app and then download the new version from the internet. If you don't uninstall first, it will just open the old store to try to download the new one.
Ironically, you'll have to enable chrome to install non-play store apps. This is done (as suggested earlier) by going to settings>apps>special access>install unknown apps. Once you've installed and signed into the new app, you will need to attempt to install a new app. It will again prompt you to go to the wrong (old) security section in the Android settings. Just navigate to the "special access" section from earlier and the new Amazon Appstore should be listed at the top.
I finally found the cause and also the solution of this issue.
In android Oreo, because of the new security management of "unknown apps", the value of the legacy setting INSTALL_NON_MARKET_APPS is now always 1.
See this page for more details: https://developer.android.com/about/versions/oreo/android-8.0-changes
This means that in Oreo there is an "old" string, only for legacy reasons (and bypassed by new security settings), that ALLOW unknown sources by default.
I found that some "security" apps (like avast, in my case), NOT well optimized for Oreo, detect this legacy string in Oreo as main setting for unknown sources: the result is an automatic procedure inside that "security" app, that disables unknown sources permission in that legacy string (wrong place, avast!).
The result is that, for some "strange" (bad) code inside Amazon Appstore, this app see only that legacy string and blocks any installation (even if you enable installations from this app in Oreo special permissions). Moreover, Appstore - as a result of this bad edited legacy string - point you to a wrong settings window (the "old" window, for nougat android and earlier).
The worst thing is that there is no window, no gui (graphical interface) to edit the above legacy string inside android Oreo settings, so you have to do it yourself using terminal (ADB).
SAID SHORTLY:
connect you device through ADB terminal.
write the following command
adb shell settings put global install_non_market_apps 1
(command to enable "old way" Unknown Sources).
Oreo needs to allow every single app as usual, you restored only one "invisible" (but necessary) Oreo legacy string as it is intended to be.
And don't use messy security apps anymore!
As an alternative of the above string, use:
adb shell settings put secure install_non_market_apps 1
THIS METHOD DOES NOT NEED ROOT, ONLY ADB DEBUG ENABLED!
Please, give thanks if this was useful, and share always with credits.
Thank you.
alessia3 said:
I finally found the cause and also the solution of this issue.
In android Oreo, because of the new security management of "unknown apps", the value of the legacy setting INSTALL_NON_MARKET_APPS is now always 1.
See this page for more details: https://developer.android.com/about/versions/oreo/android-8.0-changes
This means that in Oreo there is an "old" string, only for legacy reasons (and bypassed by new security settings), that ALLOW unknown sources by default.
I found that some "security" apps (like avast, in my case), NOT well optimized for Oreo, detect this legacy string in Oreo as main setting for unknown sources: the result is an automatic procedure inside that "security" app, that disables unknown sources permission in that legacy string (wrong place, avast!).
The result is that, for some "strange" (bad) code inside Amazon Appstore, this app see only that legacy string and blocks any installation (even if you enable installations from this app in Oreo special permissions). Moreover, Appstore - as a result of this bad edited legacy string - point you to a wrong settings window (the "old" window, for nougat android and earlier).
The worst thing is that there is no window, no gui (graphical interface) to edit the above legacy string inside android Oreo settings, so you have to do it yourself using terminal (ADB).
SAID SHORTLY:
connect you device through ADB terminal.
write the following command
adb shell settings put global install_non_market_apps 1
(command to enable "old way" Unknown Sources).
Oreo needs to allow every single app as usual, you restored only one "invisible" (but necessary) Oreo legacy string as it is intended to be.
And don't use messy security apps anymore!
As an alternative of the above string, use:
adb shell settings put secure install_non_market_apps 1
THIS METHOD DOES NOT NEED ROOT, ONLY ADB DEBUG ENABLED!
Please, give thanks if this was useful, and share always with credits.
Thank you.
Click to expand...
Click to collapse
Thank you, @alessia3. I've been trying to find a fix for this issue on my OnePlus 5T for six months. Once again able to download some apps I got on Amazon's app store before my Nexus 6p died.
I'll note that install_non_market_apps is under secure, not global, in my phone.

Fire 7" 9th gen, FireOS 6.3.1.2 , Google playstore chrashing, need advice

Hi there,
got an Fire 7" 9th gen, downgraded os to 6.3.1.2 build 000217050244 according to instructions here in the forum.
Also did this here successfully. https://forum.xda-developers.com/am...ire-7-2019-mustang-unbrick-downgrade-t3944365
So far, the Amazon fire runs fine except when i try to run the google playstore.
Pushed the following files to the fire tablets "download" folder:
- com.google.android.gsf_5.1-1743759-22_minAPI22(nodpi)_apkmirror.com.apk
- com.google.android.gsf.login_5.1-1743759-22_minAPI21(nodpi)_apkmirror.com.apk
- com.android.vending_7.0.25.H-all_0_-80702500_minAPI14(nodpi)_apkmirror.com.apk
- com.google.android.gms_11.5.09_(230-164803921)-1109230_min_API21(armeabi-v7a)(nodpi)_aplmirror.com.apk
on the device, installed them using the filemanager that comes default. All good so far.
i am even able to start the playstore, i starts and i enter my payment credentials , after that i can browse the apps, but after selecting "install" on any app in the playstore, it just crashes. I am not able open playstore again, i opens and instantly closes.
Re-installing the apk files mentioned above helps to get tht playstore opened again but then same as before -> select "install" -> crash -> not able to open playstore again.
Since i am not aware of any system logs on the fire tabled, i have no clue whats going on.
Can anyone point me in some direction where to look for the cause of the issue?
Thanks and best
Phoken
phoken said:
Hi there,
got an Fire 7" 9th gen, downgraded os to 6.3.1.2 build 000217050244 according to instructions here in the forum.
Also did this here successfully. https://forum.xda-developers.com/am...ire-7-2019-mustang-unbrick-downgrade-t3944365
So far, the Amazon fire runs fine except when i try to run the google playstore.
Pushed the following files to the fire tablets "download" folder:
- com.google.android.gsf_5.1-1743759-22_minAPI22(nodpi)_apkmirror.com.apk
- com.google.android.gsf.login_5.1-1743759-22_minAPI21(nodpi)_apkmirror.com.apk
- com.android.vending_7.0.25.H-all_0_-80702500_minAPI14(nodpi)_apkmirror.com.apk
- com.google.android.gms_11.5.09_(230-164803921)-1109230_min_API21(armeabi-v7a)(nodpi)_aplmirror.com.apk
on the device, installed them using the filemanager that comes default. All good so far.
i am even able to start the playstore, i starts and i enter my payment credentials , after that i can browse the apps, but after selecting "install" on any app in the playstore, it just crashes. I am not able open playstore again, i opens and instantly closes.
Re-installing the apk files mentioned above helps to get tht playstore opened again but then same as before -> select "install" -> crash -> not able to open playstore again.
Since i am not aware of any system logs on the fire tabled, i have no clue whats going on.
Can anyone point me in some direction where to look for the cause of the issue?
Thanks and best
Phoken
Click to expand...
Click to collapse
That's the problem, Google API services version is wrong. Make sure the Google API services version is corrected to Android version with 7.1.2 and API 25.
Try it to remove any Amazon apps folder like DeviceSoftwareOTA, DeviceSoftwareOTAContracts in /system/priv-app directory, install Google API services (Google Account Manager - v7.1.2, minimum API 25, Google Services Framework - v7.1.2, minimum API 25) as a system application or user application and reboot.
phoken said:
Hi there,
got an Fire 7" 9th gen, downgraded os to 6.3.1.2 build 000217050244 according to instructions here in the forum.
Also did this here successfully. https://forum.xda-developers.com/am...ire-7-2019-mustang-unbrick-downgrade-t3944365
So far, the Amazon fire runs fine except when i try to run the google playstore.
Pushed the following files to the fire tablets "download" folder:
- com.google.android.gsf_5.1-1743759-22_minAPI22(nodpi)_apkmirror.com.apk
- com.google.android.gsf.login_5.1-1743759-22_minAPI21(nodpi)_apkmirror.com.apk
- com.android.vending_7.0.25.H-all_0_-80702500_minAPI14(nodpi)_apkmirror.com.apk
- com.google.android.gms_11.5.09_(230-164803921)-1109230_min_API21(armeabi-v7a)(nodpi)_aplmirror.com.apk
on the device, installed them using the filemanager that comes default. All good so far.
i am even able to start the playstore, i starts and i enter my payment credentials , after that i can browse the apps, but after selecting "install" on any app in the playstore, it just crashes. I am not able open playstore again, i opens and instantly closes.
Re-installing the apk files mentioned above helps to get tht playstore opened again but then same as before -> select "install" -> crash -> not able to open playstore again.
Since i am not aware of any system logs on the fire tabled, i have no clue whats going on.
Can anyone point me in some direction where to look for the cause of the issue?
Click to expand...
Click to collapse
- reset device
- install Google Play Store via Amazon Toolbox which will deliver the build most appropriate for your device
- resist temptation to 'fix' previous mistakes with further hacks (↑↑) that will likely yield a FrankenFire which will eventually have to be rest/rebuilt.
https://forum.xda-developers.com/hd8-hd10/development/official-amazon-fire-toolbox-v1-0-t3889604
DB126 said:
- reset device
- install Google Play Store via Amazon Toolbox which will deliver the build most appropriate for your device
- resist temptation to 'fix' previous mistakes with further hacks (↑↑) that will likely yield a FrankenFire which will eventually have to be rest/rebuilt.
https://forum.xda-developers.com/hd8-hd10/development/official-amazon-fire-toolbox-v1-0-t3889604
Click to expand...
Click to collapse
Wonderful, this did the trick. Playstore now runs and i am able to install and run apps from the playstore.
Thanks and best
Phoken

Categories

Resources