[Q] Suggestion to switch on/off an apps - Galaxy S I9000 Q&A, Help & Troubleshooting

In 2.2, what are method(s) to switch an apps to off or on manually? e.g. I'd like have pingchat disabled until I manually switch it on.
In 2.1, I can play trick with the apk. Just rename xxxx.apk to something like xxxx.apk.off, and it will be un-installed temporary until renamed back.

Try autorun killer. or u can freeze app with titanium back up

Try
adb shell
su
pm disable <package name>
exit
exit

"pm disable" works. But the package name is without .apk extension.
Thanks.

Related

Facebook won't uninstall

I installed facebook from the market and now it won't uninstall. I am using Cyanogen 4.2.5 and the Nabzihero 2.8 theme on a MT3G.
So, a little back story. I installed the theme a week ago. I noticed the the sterricson lock screen conflicted with SMS popup, so I decided to change back to the stock theme. I went and reflashed the rom and when I did android said that Facebook wasn't installed, but he market says it is.
I rolled back to my latest nandroid backup and the app works again, but it won't let me uninstall it. Neither through the market or the application screen in settings. I'm at a loss as to how to get the app off my phone. I'm sure there's a way through the terminal, but I don't know how.
ok, so first, sometimes the market and android conflict - now depending on your nandroid, did the rom have facebook app included? if so, this will be why you cant update/remove and why market says its there -
some roms have it included thus it is located in /system/app which will not allow you to delete it through the app manager.
plug your phone into your computer and do the following from terminal/command prompt
adb remount
adb shell
rm /system/app/Facebook.apk
then, reboot and you will be able to install facebook from the market
byt3b0mb said:
ok, so first, sometimes the market and android conflict - now depending on your nandroid, did the rom have facebook app included? if so, this will be why you cant update/remove and why market says its there -
some roms have it included thus it is located in /system/app which will not allow you to delete it through the app manager.
plug your phone into your computer and do the following from terminal/command prompt
adb remount
adb shell
rm /system/app/Facebook.apk
then, reboot and you will be able to install facebook from the market
Click to expand...
Click to collapse
This helps out a lot. It turns out that the theme I had installed did have facebook in it. That's fixed it, though. Thanks a bunch!

How to uninstall an application ? How to add icon of desktop ?

Hi,
I'm french and here in France we don't have Barnes & Nobles.
Last Week, I was in Miami and I bought a Nook Color because I saw on this forum that we can have a "full" android and I wanted a pdf reader and more if possible...
I have root my eReader tody and install some application. I installed some applications to test : how to uninstall them ?
I have an other question : how to add icons of this applications apk on the desktop ?
Think you for your job.
You need a 3rd party launcher such as ADW or LauncherPro to do either of these things. The default nook launcher doesnt support app shortcuts or uninstalling apps.
How do you use launcherpro to uninstall apps?
You need to change your launcher to a 3rd party one. I prefer Zeam. It works the best. Then while in the. App drawer, press and hold the app you want and drag it to either the desktop or the app bar.
To uninstall, you can either use an app such as TitaniumBackup or use RootExplorer to remove the. Apk in /data/app and the dir in /data/data
neozen21 said:
You need to change your launcher to a 3rd party one. I prefer Zeam. It works the best. Then while in the. App drawer, press and hold the app you want and drag it to either the desktop or the app bar.
To uninstall, you can either use an app such as TitaniumBackup or use RootExplorer to remove the. Apk in /data/app and the dir in /data/data
Click to expand...
Click to collapse
I have never seen zeam before but I like it so far. Thanks for the sugestion
To uninstall apps using ADB:
First get a list of packages installed on your NC:
Code:
adb shell pm list packages
Figure out what package you want to uninstall from that list. It might be helpful to pipe the output from the above command through some tool to search for you. For example let's say I want to uninstall Raging Thunder 2, I would do this:
Under Linux:
Code:
adb shell pm list packages | grep -i thunder
Under Windows:
Code:
adb shell pm list packages | find /i "thunder"
The output of which is:
Code:
package:com.polarbit.rthunder2lite
So now I know the name of the package. To uninstall that package I would enter the following:
Code:
adb uninstall com.polarbit.rthunder2lite
And that's it. That's how you uninstall an app using adb.
To add icons you need to install an alternative launcher since the stock NookColor launcher doesn't let you do this. I like Zeam. Each launcher will have its own method for then adding icons to the desktop, but typically you tap and hold down on the background and then a menu pops up with the option to add items.

Can't removed bloatware after rooting

Hi guys,
I rooted my phone yesterday. This all went very well, the icon in my programlist is there but now...
I tried to remove some preinstalled programs with (an older version of) Root Explorer. When I push the button ' remount as R/W' nothing happends. So now I still can't remove any program from my phone?
Who has got the solution?!
Thanks!
PeterFdeVries said:
Hi guys,
I rooted my phone yesterday. This all went very well, the icon in my programlist is there but now...
I tried to remove some preinstalled programs with (an older version of) Root Explorer. When I push the button ' remount as R/W' nothing happends. So now I still can't remove any program from my phone?
Who has got the solution?!
Thanks!
Click to expand...
Click to collapse
If you don't have a current licensed version of root explorer, it may not work.
You could try Titanium. I use that to both delete apps and freeze them. On stock ROM, I generally only freeze them so OTA updates will still come through.
Try this app, works for me
Root Uninstaller
I can remove every app I want with Titanium Backup
Enable USB Debug mode
you can also freeze apps via adb.
just do
adb shell
pm list packages
pm disable com.app.App
where com.app.app is the program you'd like to disable

Need some help removing some stubborn overlays

Galaxy Note 8, Oreo 8.0.0 - Just the other day, my Google Play store went haywire and I can't keep it from crashing. I uninstalled all of my Substratum overlays along with the Substratum app itself, Andromeda and Swift. I've tried all of the other ways found on the internet to get it to stop crashing but none of them work, so I found an ADB command that lists all Swift overlays on the phone except the Swift Installer, here is the command:
adb shell "cmd overlay list | grep -i swift | grep -v swiftinstaller.overlay | cut -d ' ' -f 2"
When I do that, it lists 2 overlays:
com.android.vending.SwiftforSamsung.Version98Fix.Black
com.google.android.apps.magazines.SwiftforSamsung.Black
So, I don't know if these could be causing the problem, but i'd like to get rid of them. But I can't find them anywhere when I look at my system app list, or when i dig through the file system. I literally know nothing about ADB commands, but from google I know there is a "remove" command that should be able to uninstall them. But I think I need to know the path of these files? Which the above doesn't give me. Is there a way to find the file locations via a command, and then what is the command to uninstall them? Or is there an easier way to do this? OR, should these overlays not be affecting anything and I should just do a hard reset.
thanks
easiest way to get rid of pesky overlays is to ---- go to settings, scroll to apps, scroll down to the apps you are looking for and uninstall them. reboot....success!
jdg2002 said:
easiest way to get rid of pesky overlays is to ---- go to settings, scroll to apps, scroll down to the apps you are looking for and uninstall them. reboot....success!
Click to expand...
Click to collapse
Thanks, but i cannot find them, they aren't in the app list in settings, even with System Apps showing. It makes no sense.
Well, Mr.Ash.Man solved my problem! Just had to enable a Samsung theme to override the bad hidden overlays. Thread can be closed.

Add non-messenger apps to Samsung Dual Messenger?

So the creation of parallel workspaces is blocked in the Security Policy of 8.0, preventing multiple copies of the same app. However, Samsung's Dual Messenger still successfully copies apps it sees as messenger apps, and allows them to run just fine. So what exactly determines what Samsung is willing to let appear here as "Messenger app", so that I can manually add the non-messenger apps I need multiple instances of.
Thanks
I don't know how Samsung determines their "dual app" policy. But you can use the "Secure Folder" to create another copy of any app you would like, the only problem is that it is secure and you have to use fingerprint/password every time you access the app. That's the only inconvenience.
Moe100021 said:
I don't know how Samsung determines their "dual app" policy. But you can use the "Secure Folder" to create another copy of any app you would like, the only problem is that it is secure and you have to use fingerprint/password every time you access the app. That's the only inconvenience.
Click to expand...
Click to collapse
thanks for the feedback, unfortunately secure folder is the first thing to go when you unlock your phone =/
I've found a method that requires ADB. NO ROOT NEEDED.
Step 1: Enable Dual Messenger for an existing app (e.g. WhatsApp).
Step 2: Enable USB Debugging and connect your device to your computer.
Step 3: Open command prompt in your adb folder.
Step 4: Type
Code:
adb shell
Step 5: Type
Code:
pm list users
Step 6: In the resulting list, find the user named "DUAL_APP" and get its number. For example, the number is 95 on my device:
Code:
UserInfo{95:DUAL_APP:20000030} running
Step 7: Type
Code:
exit
Step 8: Copy your desired apk file to your adb folder.
Step 9: Type
Code:
adb install --user 95 desired_app.apk
Remember to replace "95" with whatever number you saw in Step 6.
Wait for the process to finish. A SUCCESS message should be displayed.
The app of your choice will now be installed in Dual Messenger.
@100055
I tried and not successful
Mine has 3 users though. So i use 95 and installed as instructed. But app cannot be found
any idea? here is my list of users.
Users:
UserInfo{0:Artee:13} running
UserInfo{95UAL_APP:20000030} running
UserInfo{150:david si:51020030} running
crownlte:/ $ exit
akuakus said:
@100055
I tried and not successful
Mine has 3 users though. So i use 95 and installed as instructed. But app cannot be found
any idea? here is my list of users.
Users:
UserInfo{0:Artee:13} running
UserInfo{95UAL_APP:20000030} running
UserInfo{150:david si:51020030} running
crownlte:/ $ exit
Click to expand...
Click to collapse
I did as I said today, but it didn't work (google translate used)
edit:
I tried again now and the second app appeared in the app drawer. very thanks
this is awesome.. i tried this method to push pokemon go there, it appears in app drawer, but it kept seeking for location permission.
i checked, location permission is granted.. but it still prompts me for it.
checked with wechat, another app i have installed on dual messenger, it is able to use location services without a problem.
any idea how to fix this? if i can fix this, i can launch 2 pokemon go in split view at a push of a button (app pairs).
For now, i am using pokemon go from secure folder and normal installation.. and manually switching it to split view. will be awesome to have it under dual messenger and i can launch both apps at the same time, with split view.
vash_h said:
this is awesome.. i tried this method to push pokemon go there, it appears in app drawer, but it kept seeking for location permission.
i checked, location permission is granted.. but it still prompts me for it.
checked with wechat, another app i have installed on dual messenger, it is able to use location services without a problem.
any idea how to fix this? if i can fix this, i can launch 2 pokemon go in split view at a push of a button (app pairs).
For now, i am using pokemon go from secure folder and normal installation.. and manually switching it to split view. will be awesome to have it under dual messenger and i can launch both apps at the same time, with split view.
Click to expand...
Click to collapse
You can install pokemon go from the Galaxy Store, both apps (gplay and galaxy store) have different package names so you can run both instances at the same time
Thank you very much. I've been using Island to do this but I really prefer the system built in option.
On a second thought, apps installed this way don't have access to any permission :crying:
jimbo77 said:
You can install pokemon go from the Galaxy Store, both apps (gplay and galaxy store) have different package names so you can run both instances at the same time
Click to expand...
Click to collapse
I didn't believe you so I went to try.
Son of a gun it works!! Holy sheet thanks bro..
Sent from my SM-G985F using Tapatalk
same problem
DevanirNF said:
On a second thought, apps installed this way don't have access to any permission :crying:
Click to expand...
Click to collapse
i have the same problem with pokemon, did you fix it?
lordferky said:
i have the same problem with pokemon, did you fix it?
Click to expand...
Click to collapse
I didn't. I gave up and installed Island again
It works!
If you want, after installing the app you want, you could remove the dual messenger from Settings. Your installed app will still be there
I tried this adb procedure for Signal and it works. Permissions do not work initially after doing this procedure, for example, when first starting the secondary Signal it doesn't want to show your contacts. I found a workaround for this.
When going to Apps settings, it shows both Signal instances. Selecting the secondary Signal instance shows that it has no permissions. Clicking through on Permissions directs you to the "App permissions" screen, which shows that the permissions are there. However, the icon shown is for the primary Signal instance. Seems like it mixes up both instances at this point and that it is not possible to access the permissions screen of the secondary Signal instance.
I found that when I go back to the Apps screen and select "Permission Manager" in the menu, then select a specific permission, such as Contacts, it will show a list with all apps that have/do not have this permission. The secondary Signal instance is listed under 'denied'. Selecting it then allows its Contact permission to be set directly. Moreover, selecting "See all Signal permissions" on this screen goes to the correct App permissions screen for the secondary Signal instance, i.e. it shows the icon with the dual app icon badge. Here it is possible to set all desired permissions. Contacts are now visible in the secondary Signal instance and I was also able to access my pictures after allowing access to media.
Hi,
This might help out some of you. I own a Galaxy S21 5G. Wanted to install Signal as a Dual Messenger app, but as of today, Samsung does not officialy supports it.
So I followed VincentThaker steps then forsel's details regarding contacts access.
It worked BUT I needed to do a few things to make it work:
1. Step 9: Getting the Signal app from the website, even if it has same version number as the installed version, does not work as it gives you an '[INSTALL_FAILED_VERSION_DOWNGRADE] error when trying to install.
You have thus to get the same apk file from the already installed Signal app.
To do it, use the following commands:
adb shell pm path org.thoughtcrime.securesms --> To retrieve the path of the .apk file already installed on your phone.
Then with the path retrieved, type:
adb pull <signal_apk_path_source> <your_destination_folder_on_your_pc_path>
For example:
adb pull /data/app/~~K4TFGjn3Sl0Ue-e6zvv8mQ==/org.thoughtcrime.securesms-RaqtFP_b3phb1CaEL3Q5hw==/base.apk C:\Temp\base.apk
Then put this base.apk file into the ADB folder. You can now proceed with step 9
Thanks so much to all that helped me achieve installing Signal as a dual messenger app
DevanirNF said:
On a second thought, apps installed this way don't have access to any permission :crying:
Click to expand...
Click to collapse
you can grant them in adb.... i used
.\adb shell pm grant --user 95 com.discord android.permission.READ_EXTERNAL_STORAGE
to give discord permissions to view my files... you can replace com.discord with the package name for what app you want (.\adb shell pm list packages --user 95 to find it) then look up the name to what permission you want
also im as dumb as you can get and in no way am i knowledgeable about any of this... i slapped together that line from other times i needed to use adb and got it to work soooo :/
ok so i made progress on this... and holly crap i did something...
i checked the packages on dual messenger and there was no play services... no play store without hard work... that means i need to use an alt app store if i dont want to indent my head with random permission grants i dont understand. so i chose to use aurora store because you dont need a google account and it uses the play store servers. now i can download any app on the play store a 2nd time as a 2nd app in dual messenger without adb for each one...
ok so heres how i did it
https://f-droid.org/en/packages/com.aurora.store/ get aurora store with that link (try it on your phone like a normal apk install first to avoid issues)
get that apk into your adb folder and name it something easy to type like aurora (i used aurora.apk so change that to yours)
adb install --user 95 aurora.apk
go through the setup with the default settings until it asks for permissions
.\adb shell pm grant --user 95 com.aurora.store android.permission.READ_EXTERNAL_STORAGE
.\adb shell pm grant --user 95 com.aurora.store android.permission.WRITE_EXTERNAL_STORAGE
.\adb shell appops set --user 95 com.aurora.store MANAGE_EXTERNAL_STORAGE allow
.\adb shell appops set --user 95 com.aurora.store REQUEST_INSTALL_PACKAGES allow
USE GUEST MODE (unless you are in a beta programme)
now you should have the app store installed and it should get perms to install apps (this way was important so its on the dual messenger account and can install inside it)
if you want to install an app it might say that its installed... this is because it is.... on your main account... its just confused to install do this
3 dots on the top right
manual download
type the version number provided
check
confirm the install
this app store uses googles servers so its safe (to my knowledge) and you can even copy a link to the file from google's servers in the apps downloads menu
there is definitely more we can do to make dual messenger work perfectly with any app and any service.... anyone who can contribute please do
EDIT: apps might crash if they aren't on the main account so you should try to install this store with your phone like a normal apk first... also if you are in any beta programmes to apps you will need to log into your google account instead of anonymous so there isn't a version issue.
chicken10dys said:
ok so i made progress on this... and holly crap i did something...
i checked the packages on dual messenger and there was no play services... no play store without hard work... that means i need to use an alt app store if i dont want to indent my head with random permission grants i dont understand. so i chose to use aurora store because you dont need a google account and it uses the play store servers. now i can download any app on the play store a 2nd time as a 2nd app in dual messenger without adb for each one...
ok so heres how i did it
https://f-droid.org/en/packages/com.aurora.store/ get aurora store with that link
get that apk into your adb folder and name it something easy to type like aurora (i used aurora.apk so change that to yours)
adb install --user 95 aurora.apk
go through the setup with the default settings until it asks for permissions
.\adb shell pm grant --user 95 com.aurora.store android.permission.READ_EXTERNAL_STORAGE
.\adb shell pm grant --user 95 com.aurora.store android.permission.WRITE_EXTERNAL_STORAGE
.\adb shell appops set --user 95 com.aurora.store MANAGE_EXTERNAL_STORAGE allow
.\adb shell appops set --user 95 com.aurora.store REQUEST_INSTALL_PACKAGES allow
USE GUEST MODE
now you should have the app store installed and it should get perms to install apps (this way was important so its on the dual messenger account and can install inside it)
if you want to install an app it might say that its installed... this is because it is.... on your main account... its just confused to install do this
3 dots on the top right
manual download
type the version number provided
check
confirm the install
this app store uses googles servers so its safe (to my knowledge) and you can even copy a link to the file from google's servers in the apps downloads menu
there is definitely more we can do to make dual messenger work perfectly with any app and any service.... anyone who can contribute please do
Click to expand...
Click to collapse
In step 3 i do get the success messege but when trying to open the app from my phone it doesnt open as it keep crashing the moment i tap on it.
Everything13 said:
In step 3 i do get the success messege but when trying to open the app from my phone it doesnt open as it keep crashing the moment i tap on it.
Click to expand...
Click to collapse
does the apk work with your phone if you install it from your phone.. like if you normally installed an apk? also try to close all apps then open it again (i had problems where yt vanced did that)

Categories

Resources