Disabling apps installation - Android Q&A, Help & Troubleshooting

Hi
Is there a way to disable installing apps (that if you try to install an APK it won't work)?
Thanks

Just found this on a other fourm can someone explain this to me
"Yes, remove the permission to install package to the target user by making the account a managed account, or hook system to intercept installation window and ask for a password or outright kill it. (What you are looking to intercept is probably com.android.packageinstaller.PackageInstallerActivity). Going to intercept route means you may need to block app stores the same way as they can bypass this if installed on system partition. It will still be possible to install over ADB or recovery if left unprotected."
Thanks

Related

Another Noob Question about Su Accounts

So, I'm new to the Android family and I'm curious about the Super User Account. I have no desire to root and install custom mods, I just want the ability to remove all the bloat ware associated with the phone.
My understanding is that I will need to unlock the boot loader, and then install "something" to create the Super User account.
Tweakin78 said:
So, I'm new to the Android family and I'm curious about the Super User Account. I have no desire to root and install custom mods, I just want the ability to remove all the bloat ware associated with the phone.
My understanding is that I will need to unlock the boot loader, and then install "something" to create the Super User account.
Click to expand...
Click to collapse
In order to remove bloat, your device will need to be rooted.
Depending on your device, you may need to unlock the bootloader. Otherwise, you'll just need to root. Superuser is a root management app which allows you to grant other apps root access (or deny).
IMO the best application to remove bloatware (after rooting your phone) is Link2SD
I use titanium to remove bloatware, it gives you the option to freeze the apps first in case you remove the wrong apps. Once frozen if everything is still ok then it's safe to remove
Research is what I'm doing when I don't know what I'm doing. ~Wernher Von Braun
Thank you all for your comments and suggestions...I'll look into all of them...busy reading all the threads now...whew!!!

Good for enterprise - unknown error code during application install -24

Hi All
I have the Galaxy Tab 3.GT-5200. I am trying to install Good for enterprise as i use my tablet for work.
The first time it installed i got package invalid. I tried to re-download it again and since then I get unknown error code during application install -24.
I have been reading the post but it’s all for rooted devices and I can’t root my device as good wont then install and won’t be activated.
Action I have taken
1. Factory reset – Please not again
2. Cleared cache from Google play account
3. Deleted Google account, Rebooted and then added.
4. I have deleted the/storage/emulated/0/Android/data folder.
I am out of ideas. I know if the device is rooted you can delete another data/data folder but I cannot get to that.
Please help
You need to search for GFE for Intel on Google Play. Reason being that your Tab has Intel Atom chip and not ARM... DO'H.......

[APP][NO ROOT] Fire TV system apps hacked to get system permissions

ADB disable or uninstall fails for system apps in new builds.
install this apk to block installing new update from amazon. it will still download the ota bin file for you to experiment, but the ota install will fail as the code to install bin is removed.
For anyone interested to try other exploits
https://forum.xda-developers.com/fire-tv/general/fire-os-5-2-6-3-bin-extract-fire-stick-t3780621
I'm a little confused and was hoping you could clarify. Which update does this block? And are you saying the newest update has hidden or disabled developer features / ADB option?
The uninstall / disable parameter doesn't work on newest fireTV devices, which means you cannot prevent newer fireTV devices from automatically updating
This over-writes the existing softwareOTA.apk, instead of uninstalling/disabling.
The modifications present in this modded version disable the firmware update functionality from the original softwareOTA.apk
--
@ranjeet choudhary, can we get an equivalent dummy apk to disable com.amazon.tv.launcher?
I tried to do it myself with the janus exploit, but it doesn't work on my windows device. Looks like I will have to install Linux/Mac for further testing.
I am trying to modify com/amazon/tv/launcher/AppKeyService.smali
redacted
Speeddymon said:
You likely don't want to do that until you have full root. The Amazon Settings app is built into the launcher on FireTV Stick Gen 2 devices. Killing the launcher will will any access to settings unless you want to edit everything via adb .
Click to expand...
Click to collapse
The important settings can be accessed via confireator as they are separate from the launcher.
Really all you need is WiFi, Bluetooth, and Adb.
App uninstall can be triggered from the new launcher.
As you say, adb is a backup plan for anyone that messes up too bad.
freshjr said:
The important settings can be accessed via confireator as they are separate from the launcher.
Really all you need is WiFi, Bluetooth, and Adb.
App uninstall can be triggered from the new launcher.
As you say, adb is a backup plan for anyone that messes up too bad.
Click to expand...
Click to collapse
I'll have to check out confireator.
I've been forced to manually add permissions via adb for Accessibility Service and certain permissions Amazon doesn't want you using (SYSTEM_ALERT_WINDOW for overlays, for example) in order to even use CetusPlay on the device.
If confireator can give me a GUI for that, I'm SOLD.
Speeddymon said:
I'll have to check out confireator.
I've been forced to manually add permissions via adb for Accessibility Service and certain permissions Amazon doesn't want you using (SYSTEM_ALERT_WINDOW for overlays, for example) in order to even use CetusPlay on the device.
If confireator can give me a GUI for that, I'm SOLD.
Click to expand...
Click to collapse
If you have a gutted amazon launcher, mind sharing?
I don’t care if you only got rid of home button or if you prevented it from executing its startup process so it fails to launch entirely, it has to go.
freshjr said:
If you have a gutted amazon launcher, mind sharing?
I don’t care if you only got rid of home button or if you prevented it from executing its startup process so it fails to launch entirely, it has to go.
Click to expand...
Click to collapse
I don't have that. Sorry.
Try Launcher Hijack V3. It will replace your launcher without needing to actually replace it.
https://forum.xda-developers.com/amazon-fire/general/launcher-root-launcher-hijack-v2-t3561026
Speeddymon said:
I don't have that. Sorry.
Try Launcher Hijack V3. It will replace your launcher without needing to actually replace it.
https://forum.xda-developers.com/amazon-fire/general/launcher-root-launcher-hijack-v2-t3561026
Click to expand...
Click to collapse
with the janus exploit we can now actually replace it without needing to get rid of it.
I just got a linux distro up and running so I can try executing the script. Windows is a nightmare.
Speeddymon said:
I'll have to check out confireator.
I've been forced to manually add permissions via adb for Accessibility Service and certain permissions Amazon doesn't want you using (SYSTEM_ALERT_WINDOW for overlays, for example) in order to even use CetusPlay on the device.
If confireator can give me a GUI for that, I'm SOLD.
Click to expand...
Click to collapse
Confireator works!! I can finally replace the FireTV Cube launcher!! Thank you!
Edit: Still no access to the Accessibility service settings tho. Oh well, was worth a try!
freshjr said:
The uninstall / disable parameter doesn't work on newest fireTV devices, which means you cannot prevent newer fireTV devices from automatically updating
This over-writes the existing softwareOTA.apk, instead of uninstalling/disabling.
The modifications present in this modded version disable the firmware update functionality from the original softwareOTA.apk
--
@ranjeet choudhary, can we get an equivalent dummy apk to disable com.amazon.tv.launcher?
I tried to do it myself with the janus exploit, but it doesn't work on my windows device. Looks like I will have to install Linux/Mac for further testing.
I am trying to modify com/amazon/tv/launcher/AppKeyService.smali
Click to expand...
Click to collapse
you can try this https://forum.xda-developers.com/showpost.php?p=77289712&postcount=12

bypass app permission installation screen

Hello, anyone know or can even think of an option on how to bypass this mechanism when i install an app?
also if it only work on older version
also how to install third party apps without the user to manually allow it?
think about it as wild as possible, even running code in root.
Any kind of knowledge on this topic will help.

How to Disable/Freeze Sprint Device Manager (Samsung Galaxy A20 - Boost Mobile)

I got a Samsung Galaxy A20 from Ebay recently and I'm trying to use it as a wifi only phone but Boost Mobile make it impossible to do so.. You'll get an intrusive pop-up asking you to accept their Terms Of Service "Sprint Device Manager" and if you just exit out of it without accepting it will continue to pop-up forever every 3 minutes. If you do accept and don't activate service on the phone (Samsung Galaxy A20 through Boost Mobile) they will disable your access to to your phone that you rightfully paid for making it impossible to use the internet etc as all pages will redirect to the boost mobile web site no matter your proxy, dns, browser etc..
I am not rooted but I have tried to use Shizuki Manager & Ice Box to freeze "Sprint Device Manager" and but I cannot find the process..
Help, how do I freeze this intrusive process ¿¡¿
https://imgur.com/gallery/dOuTAu3
"Sprint Device Manager"
Any help would be greatly appreciated!
just press "accept terms" and that will not show again
It disables my wifi access and makes you activate the phone with service if you press accept..
Download "Analyst" on PlayStore this will list all your installed apps and system apps now find that "Sprint Device Manager" and remember its package name then by using ADB command just uninstall it
here's an example
Code:
adb shell pm uninstall --user 0 com.???.???
Thanks! I couldn't get it to populate in any other app manager, that adb command will only disable it correct?
yes it would only uninstall it on the current user if you decided to do factory reset/default it would be back once again
Greetings, this is my first post, I don't know anything about this stuff, so please excuse my ignorance,
I am somewhat in the same boat as the original poster, bought a boost phone (moto g power 2021). The "carrier device manager" blocks wifi access and to activate I have to purchase a monthly plan. This isn't my video but this is the issue.
I couldn't find the "Analyst" app on the playstore
So far I have tried...
Removing sim card
Using a sim card from a previously activated phone
I then downloaded Minimal ADB and Fastboot Tool version 1.4.3 and the app inspector app as laid out in this thread https://www.xda-developers.com/disable-system-app-bloatware-android/
Think I got the hang of removing apps with ADB by using the app inspector to get the package name, but when trying to remove the "carrier device manager" it says that it is "non disable" and I am stuck now on how to move forward.
I was looking at a thread by pjottrr where he unlocks the bootloader and then in another thread roots the phone, the process seemed a bit confusing for me being a novice.
Also, any thoughts on the kingo root program.
Thanks for your assistance

Categories

Resources