How to prevent apps to detecting from permission has refused? - Nexus 5X Q&A, Help & Troubleshooting

if app requesting permissions at runtime, it's may be through API:shouldShowRequestPermissionRationale to detect that whether permission has refused, same app e.g. Alipay need dangerous permissions to read and write sdcard but i thought that permission isn't necessary, if refuse it has will not to use, but i just use it to pay, can i hack into the android permission mechanism to change API:shouldShowRequestPermissionRational alway return has granted?

ideaman924 said:
I guess you could, but transactions won't work since Alipay couldn't save 'temporary' data to the SDCard.
Click to expand...
Click to collapse
My another phone is Android 5.1, XPrivacy has restricted access sdcard, at the same this time the Private Guard has restricted all dangerous permissions on Alipay but that no complaints and it's work fine. since Android 6.0(RR ROM, Xposed Version 85) Xprivacy can not restrict storage permissions even though i selected restrict all storage subitems.

Related

Any idea for apps permission control ?

It seems the App Ops cannot work properly on Firephone without root, so any idea for apps permission control?
This is an Android 4.4.4. based device, so root it, install app-ops or Xposed and similar modules.
An app like "Advanced Permission Manager" is no feasible option either, free version is limited and with the concept of this app, you would have to make more than one compromise.
"APK Permission Remover" is just as bad, because you would be forced to change the permissions each time before installing an app (same general idea, since it's from the same developer).

Device is Rooted,Still Cannot Remove Bloatware

My device is rooted.
I've read a few other topics regarding this issue, but I'm still confused. As I understand it, using typical uninstall apps such as Titanium or Root Uninstaller do not remove the manufacturer apps from the phone still because of an S feature? I'm new to this process, so please forgive my naive rhetoric. I tried those programs, and as previously stated in other posts, the bloatware comes back.
I installed AROMA file manager to try and manually find the bloatware and delete the physical files, but I can't find the files that I'm looking to delete. I don't mind taking the time and manually deleting these unnecessary files, but, I need some guidance on where to look (or any other viable solutions.)
Thanks for your time!
Download this patch and edit update-binary file what application need remove then flash via recovery mode .
espmma said:
My device is rooted.
I've read a few other topics regarding this issue, but I'm still confused. As I understand it, using typical uninstall apps such as Titanium or Root Uninstaller do not remove the manufacturer apps from the phone still because of an S feature? I'm new to this process, so please forgive my naive rhetoric. I tried those programs, and as previously stated in other posts, the bloatware comes back.
I installed AROMA file manager to try and manually find the bloatware and delete the physical files, but I can't find the files that I'm looking to delete. I don't mind taking the time and manually deleting these unnecessary files, but, I need some guidance on where to look (or any other viable solutions.)
HTC devices are set "S on" from the manufacture. That means there are certain partitions in the nand storage that you can't access without S off ( boot partition, radio partition). The write permissions to the system partition are also not accessible unless you either obtain S off through the Sunshine app which costs $25 or a another option that is not true S off is a write permission mod called WP.MOD_ko that you flash to your phone and it installs a script and changes your phone's SElinux permissions and enables the system partition write permissions to be able to uninstall system apps or fully use certain root apps like Link2SD that also need the system write permissions at bootup.
1st option " fully" unlocks your phone and all partitions. 2nd option just installs scripts to kind of trick your system partition to allow apps to write to it and you to be able to uninstall system apps. It also changes your SElinux permissions from enforcing to permissive so be aware that's disabling the phone's security system. Not a problem unless you get malware but you should be aware of what any mod does to your phone. They have to do that because the mod can't get the phone to be true S off so this is a workaround for that one partition.
Click to expand...
Click to collapse
Okay cool, thank you for breaking that down for me. So, if I use what pham posted, then that would be a script change? But, even if it were a script change I could still fully uninstall the bloatware, with the risk of a potential virus. Is that correct?
espmma said:
Okay cool, thank you for breaking that down for me. So, if I use what pham posted, then that would be a script change? But, even if it were a script change I could still fully uninstall the bloatware, with the risk of a potential virus. Is that correct?
Click to expand...
Click to collapse
You're welcome. I'm not familiar with what Pham linked you but I'm sure it's similar to the 2nd option I mentioned. The one I was referring to was written for lollipop versions by CaptainTitti I believe is his handle but if you search XDA for our phone WP_MOD.ko that forum should be for kit Kat and a few pages forward is the link to the lollipop version with instructions from CaptainTitti on how to install it. The malware risk is minimal i just wanted to mention it. You have that as well with just rooting and also full S off it's just those 2 leave your SElinux permissions set to enforcing not permissive. Just giving you the info so your informed because no one but us pays for our devices so we should have as much info as possible I believe but good info .
The only one of these I've actually tried is the full S off one with Sunshine so understand and read the whole forum for the other before flashing so you know all the feedback but it does work. Also be aware that the WP_MOD.ko would have to be fully removed and SElinux reenabled to be able to do stock updates and there's not just an " uninstall" box with them. You have to use a root file explorer and remove what was changed and replace with the stock files I believe. Good idea to do a stock Android backup using your custom recovery before flashing any of these, S off excepted as it doesn't mess with doing stock updates. Not knocking the others but these are the things you don't find out about till after you flash them. Now you know before.
Below is the link to the forum page for the kitkat mod and if you scroll down a bit CaptainTiiti had a link to the one for lollipop.
http://forum.xda-developers.com/showthread.php?t=2707378&page=7
Can't you just use Root Browser, then go to system/app & system/priv-app to remove the bloat? That's what I do on my phone everytime I install a new ROM [emoji1]
Stachura5 said:
Can't you just use Root Browser, then go to system/app & system/priv-app to remove the bloat? That's what I do on my phone everytime I install a new ROM [emoji1]
Click to expand...
Click to collapse
I don't know my friend I've never tried that. Maybe he can try it first and see if it works. To be honest I never tried to just remove system apps before i was S off I just read of all the people here on XDA saying they couldn't without S off so I did it. Turns out I switched to debloated CM roms soon after and never even debloated my stock rom, which definitely needed it ! I used Titanium backup to debloat my Samsung tablet after root to get rid of Knox and Samsung junk but it wasn't nand locked like the HTC's are. Can't hurt for him to try it because S off costs and the other mods have their down sides also.
i have completely deleted their bloatware folder, but bloatware will appear if the device boots without root and there is no app folder in user app or system folder but they can run and update normally, maybe it specially designed. Will the above patch zip help me clear the problem completely? i want to clean up the crap, and my device uses system as root so i need to flash modified binary in boot.img separately after signing.

Xposed for A7 2016

Hello Sirs
I want to install xposed on my (SM-A710FD) phone which is 5.1.1 android
This is a 2017 series.
For what do you need Xposed? I have tried it on my tablet and there is little to no use for Xposed. Maybe I change my mind if you tell me some good modules.
W00fer said:
For what do you need Xposed? I have tried it on my tablet and there is little to no use for Xposed. Maybe I change my mind if you tell me some good modules.
Click to expand...
Click to collapse
Xprivacy
https://forum.xda-developers.com/xposed/modules/xprivacy-ultimate-android-privacy-app-t2320783
bluegrass55 said:
Xprivacy
https://forum.xda-developers.com/xposed/modules/xprivacy-ultimate-android-privacy-app-t2320783
Click to expand...
Click to collapse
The problem with Xprivacy is that it is quite hard to understand. There are no community driven settings like in uBlock Origin (adblocker for pc). Nor there are options for temporary allowance. Besides, Android 6 already has permissions per app.
W00fer said:
The problem with Xprivacy is that it is quite hard to understand. There are no community driven settings like in uBlock Origin (adblocker for pc). Nor there are options for temporary allowance. Besides, Android 6 already has permissions per app.
Click to expand...
Click to collapse
What is there to understand? My 13 year old nephew managed to set it up.
Android 6 does not offer this many options. Can you stop an app getting your IMEI or Phone serial details? Why does an app need your IMEI?
It comes with default settings such as location (Christmas island) IMEI 00000000 etc.
1-Install the correct version of Xposed for your device.
2-Install Xprivacy app.
3-Launch, allow Root, click on Template and set each permission request to block.
4-Reboot phone, launch Xprivacy, see if template has been applied.
5-Install an app or game. You'll get notification from Xprivacy with template applied.
6-Allow the permissions that the app needs. Eg Firefox browser needs Internet,Network,IPC,System allowed to work.
For games I don't allow any permissions and it still works.
If you need to allow temporary permissions just launch Xprivacy and turn it off for that app.
bluegrass55 said:
What is there to understand? My 13 year old nephew managed to set it up.
Android 6 does not offer this many options. Can you stop an app getting your IMEI or Phone serial details? Why does an app need your IMEI?
It comes with default settings such as location (Christmas island) IMEI 00000000 etc.
1-Install the correct version of Xposed for your device.
2-Install Xprivacy app.
3-Launch, allow Root, click on Template and set each permission request to block.
4-Reboot phone, launch Xprivacy, see if template has been applied.
5-Install an app or game. You'll get notification from Xprivacy with template applied.
6-Allow the permissions that the app needs. Eg Firefox browser needs Internet,Network,IPC,System allowed to work.
For games I don't allow any permissions and it still works.
If you need to allow temporary permissions just launch Xprivacy and turn it off for that app.
Click to expand...
Click to collapse
Blocking everything isn't a solution as apps need for example the shell and filesystem to store setting files at first startup.
There are sub permissions which are quite unclear if you can disable them. Plus, after every app update the new nag screens come up and apps might not work anymore. You say Firefox needs ABC. But how to know what each app needs at bare minimum?
W00fer said:
Blocking everything isn't a solution as apps need for example the shell and filesystem to store setting files at first startup.
There are sub permissions which are quite unclear if you can disable them. Plus, after every app update the new nag screens come up and apps might not work anymore. You say Firefox needs ABC. But how to know what each app needs at bare minimum?
Click to expand...
Click to collapse
You are not blocking everything for ever.
The template is set to block all at first app install so that the app doesn't get access to sensitive information that it doesn't need. You can deny the sub permissions if you want but this can effect how the app behaves. You don't need to mess with the sub permissions.
At every app update Xprivacy will re apply the permissions that you've already set for that app. You don't need to re do it.
As to allowing Shell and system at first start up go back into Xprivacy and allow these permissions/ re launch app.
The ABC for Firefox was an example. Firefox is a web browser so obviously it needs data access. Root Explorer obviously needs Shell, and System and so on.It is easier then you think.
Once you have setup all the permissions for your apps and they are working Xprivacy has a function to save or export your setup. So that if you change ROM all you need to do is import it and it will do the rest.
If you read the link I included all the answers to your questions are there. Google is useful too.

[Privacy] Modifying Permissions for System Apps

Hi there,
For the benefit of increased privacy, how can I modify the permissions (such as microphone, camera, body sensor access) for system apps, like System UI or Accessibility etc?
I wish to have access to such permissions to choose what I feel is required/necessary.
My phone (G985F) is rooted with Magisk and I have already removed/frozen a bunch of bloatware but like I mentioned would like to revoke some permissions for 'system apps'.
Please can someone assist me or point me in the right direction, thanks heaps.
Andy.
Andy1122 said:
Hi there,
For the benefit of increased privacy, how can I modify the permissions (such as microphone, camera, body sensor access) for system apps, like Google Play services etc?
I wish to disable microphone access for such apps as I feel it's unnecessary.
My phone (G985F) is rooted with Magisk and I have already removed/frozen a bunch of bloatware but like I mentioned would like to revoke some permissions for system apps.
Please can someone assist me or point me in the right direction, thanks heaps.
Andy.
Click to expand...
Click to collapse
Settings / Privacy / Permission Manager
Darkat70 said:
Settings / Privacy / Permission Manager
Click to expand...
Click to collapse
Thanks for your reply. I think you may have misunderstood what I'm asking here, while what you've shared is relating to modifying app permissions installed on the phone, it does not allow modification of 'system app' permissions as I stated I'm trying to do in my post. Currently, upon attempting to do this for say System UI (a system app/service) for example - I am unable to revoke microphone permissions due to it being greyed out and saying "Device needs this permission to operate".
Andy1122 said:
Thanks for your reply. I think you may have misunderstood what I'm asking here, while what you've shared is relating to modifying app permissions installed on the phone, it does not allow modification of 'system app' permissions as I stated I'm trying to do in my post. Currently, upon attempting to do this for say System UI (a system app/service) for example - I am unable to revoke microphone permissions due to it being greyed out and saying "Device needs this permission to operate".
Click to expand...
Click to collapse
Its probably because those permissions are a must for the phone to operate. Somethings are just needed to make a device work.
Andy1122 said:
Thanks for your reply. I think you may have misunderstood what I'm asking here, while what you've shared is relating to modifying app permissions installed on the phone, it does not allow modification of 'system app' permissions as I stated I'm trying to do in my post. Currently, upon attempting to do this for say System UI (a system app/service) for example - I am unable to revoke microphone permissions due to it being greyed out and saying "Device needs this permission to operate".
Click to expand...
Click to collapse
Not exactly what you want but Package Disabler Pro can disable system apps completely without root, I tried disabling certain permissions but couldn't find a way, just to disable it completely
*Detection* said:
Not exactly what you want but Package Disabler Pro can disable system apps completely without root, I tried disabling certain permissions but couldn't find a way, just to disable it completely
Click to expand...
Click to collapse
Theres also CCSWE app manager which also has the ability to disable system apps and i think individual processes within the app, if you know exactly what your looking for.

Question My banking application will not allow me to enter that I am using Whatsapp PLUS

Hi.
Today I needed to pay something through my banking application, but the application did not allow me access because it detected malicious software on my phone and it is Whatsapp PLUS, which I have to uninstall in order to enter the banking application.
What should I do now if I use Whatsapp PLUS all the time, but at the same time I need access to my banking application?
How does a banking application detect that I am using an illegal Whatsapp Plus application?
Is there a way around it?
Thanks a lot.
And for info root I have over Magisk.
This might seem trivial, but have you tried revoking the "Get info about installed apps" permission?
Most apps use this to index all your apps and check for so-called "malicious" package names.
TechieTwinToes said:
This might seem trivial, but have you tried revoking the "Get info about installed apps" permission?
Most apps use this to index all your apps and check for so-called "malicious" package names.
Click to expand...
Click to collapse
What should I do?
Even if I freeze WhatsApp via titanium backup, the bank's application still notifies me that there is malicious software on my device - WhatsApp.
That I should just uninstall it.
jkmaxfli said:
What should I do?
Click to expand...
Click to collapse
go to your banking app's "App Info" page, under permissions, look for "Get info about installed apps" and if it is "Allowed", change it to "Deny"
this is assuming you are on MIUI. I'm sure other ROMs also have a similar permission.
jkmaxfli said:
Even if I freeze WhatsApp via titanium backup, the bank's application still notifies me that there is malicious software on my device - WhatsApp.
That I should just uninstall it.
Click to expand...
Click to collapse
What is the package name of your whatsappPlus app? You should find it in the "App Info" page for the app. Should be something like "com.whatsapp"
TechieTwinToes said:
go to your banking app's settings, under permissions, look for "Get info about installed apps" and if it is "Allowed", change it to "Deny"
this is assuming you are on MIUI. I'm sure other ROMs also have a similar permission.
Click to expand...
Click to collapse
There is no such setting about allowing the installation of applications under permissions - allowed / deny
jkmaxfli said:
There is no such setting about allowing the installation of applications under permissions - allowed / deny
Click to expand...
Click to collapse
In that case you either modify the app itself - use apk editor to decompile app , edit manifest.xml and remove permissions like "query all packages" from it . Compile the app and run it again. This might work but if app is protected in some way that it detects modification you might get banned from it or worse :/
Other way is to isolate WhatsApp Plus by using tools like virtual xposed - basically a virtual container. You can install WhatsApp in there and it shouldn't cause any issues but I'm not sure you'll be able to receive notifications... ( You can try installing bank app in there instead but I'm not sure how that'll work... Either it will detect root/xposed or the container itself will allow querry all packages to seep through into main os - this depends on whether virtualxposed has declared permission for querying packages or not )
Third option is probably the best one - Uninstall and use web browser to access banking.
maybe whatsapp plus is indeed malicious
use malwarebytes for android to check whether whatsapp plus is malicious or not

Categories

Resources