hacking permissions - Android Q&A, Help & Troubleshooting

Hi all , I have a xiaomi mi max 3 with android 9.
I deiscover that when a app want to capture screen I get a popup asking for permission , this popup don't have a "don't ask again" flag.
This work the same for any app but the stock screen recorder that get the permission without any request.
I've check the permission from adb and found permission that I search is android.permission.CAPTURE_VIDEO_OUTPUT , I've try to grand permission from shell but it won't work.
I see that other version of android ( not miui ) have the flag to don't ask again.
Now , is there a way to grant that permission to an app without confirm it any time ?
thank's a lot,
marco.

Related

[PROBLEM] I cant install applications from the sd

hello guys, i buy a Motorola Atrix AT&T 2 days ago, the problem is that I cant install applications from the SD (non-market apps).
Now my device is rooted well but still I can not install them.
The message is: "this application comes from an unknown source, and for your security only applications from trusted sources installed Can Be installed."
Rigth now im intalling apps from promp but i want to do it from the sd
THX for your patieent
i'm amazed you rooted the phone and didnt get side loading working..
the guide you used to root should have info on "sideloading", check again
where is this guide?
How did you root your Atrix?
gingerbreak or Gladiatrix.
If you used Gingerbreak: http://forum.xda-developers.com/showthread.php?t=1052850
i have my device rooted! i must found a guide for news members i found a guide ( http://forum.xda-developers.com/showthread.php?t=969960 ) but i dont know where got sqlite3 y how executed on windows 7
http://forum.xda-developers.com/showthread.php?t=1017373
Do this!
*************************************
ALLOW SUPERUSER REQUEST ON YOUR PHONE
*************************************
Enabling sideloading ...
./data/local/tmp/gladenable.sh: 23: /system/bin/sqlite3: Permission denied
./data/local/tmp/gladenable.sh: 23: /system/bin/sqlite3: Permission denied
Sideloading enabled.
i get this error and y cant install any aplication on the sd
Go to settings/applications and make sure Unknown sources is checked.
i dont have this option on my atrix,
CXout said:
i dont have this option on my atrix,
Click to expand...
Click to collapse
Get Glad.
i also have had this problem
Are you allowing the superuser request that pops up on the phone screen during the process, because from the error message I read a few posts ago, I think that may be your problem.
problem resolved y close the post

Cannot obtain SU

I've used Greenify for a long time on my android 4.4.4 nexus 5 phone. Recently, greenify 2.5.1 has been unable to obtain SU privileged. (see attached screenshot from SuperSU).
Greenify doesn’t ask me to grant privileges. I just get an occasional popup notifying me that :
"Greenify silently denied... "
How do I correct this?
I can't find anything in SuperSU that would allow me to add Greenify. What to do?
Please ignore. Problem solved on reboot.

android.permission.ACCESS_SUPERUSER unkown permission

Hey!
I have a Galaxy S8 running Renovate ICE rom on android 8.0
There is this app called Screen Stream mirroring (https://play.google.com/store/apps/details?id=com.mobzapp.screenstream.trial)
It should ask for root priviliges, i even see the window "waiting for root priviliges" but the toast where i can grant it, just doesnt come up.
I even tried to grant the app the permission from adb / terminal (android.permission.ACCESS_SUPERUSER) but it results as unknown permission.
Would like to sort this problem out, help please!
Hi try to root your device with kingroot and then it should pop up permission when you open Screen Steam.
https://kingroot.en.uptodown.com/android
Good Luck

Cannot grant permissions using adb for samsung goodlock!!!

I have galaxy M31 device and managed to install goodlock. But when running modules, modules are installing but keeps crashing it doesn't even opens. So using warden I noticed that many permissions are not granted which maybe the reason for force stopping. So using adb when I execute the command to grant permission, it's showing: " Permission is a changeable permission type" error. Please how to solve this issue?
An error would be if you get "Permission is not a changeable permission type"

How To Guide Call recording working in GT 2 pro ( no root )

Finally i found a method to record call on realme gt 2 pro global gdpr version, who is persistent at boot. No root, no bootloader unlock.
Step one : install setedit from play store and add op_voice_recording_supported_by_mcc with 1 value to global settings. You have to give Setedit write secure rights with adb
Step two : install phone apk below.
That's it. Start Google dialer and make a call. Still works after reboot.
Not working : automatic call recorder, you have to press record button when you're in call.
Notice: if you don't see record button in Google dialer , is normal, just press back button to see realme dialer.
This should work on all color os 3 device.
Recorded call are in internal memory / music/ recordings/ call recordings folder.
ENJOY !!
No working... No see
Which apk needs to be installed for step two?
NVM I figured it out
Not working, it has changed the dialer but instead of recording button I have a "contacts" button and when I press it nothing happens.
Please uninstall phone from installed apps and install again.
criszz said:
Please uninstall phone from installed apps and install again.
Click to expand...
Click to collapse
Same, tried also to reboot but nothing
No permission to add a new line in Global Table
RazvanelTM said:
No permission to add a new line in Global Table
Click to expand...
Click to collapse
Same here, I've added the option in the system table maybe that's why it is not working
Yes, you must provide write secure rights for setedit with adb to edit in global.
Updated first post with that.
criszz said:
Yes, you must provide write secure rights for setedit with adb to edit in global.
Updated first post with that.
Click to expand...
Click to collapse
How can do? Have any tutorials?
manu81cba said:
How can do? Have any tutorials?
Click to expand...
Click to collapse
By default, for your protection, Android prevents you from modifying the SECURE and GLOBAL tables. If you have Android Jellybean or later, you can remove this protection from an ADB shell using the command "pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS". On earlier versions, you can only remove this protection on a rooted device by installing SetEdit to the system partition.
All working flawless now I can confirm that
Not working when giving the permission in adb
RazvanelTM said:
Not working when giving the permission in adb
Click to expand...
Click to collapse
Try to activate first in the developers options this one: "Disable permission monitoring"
shootemdown371 said:
Try to activate first in the developers options this one: "Disable permission monitoring"
Click to expand...
Click to collapse
It worked, thanks!
Now it's confirmed to work and we must think how to enable automatically record for all calls. People who said not working without knowing, please edit your post.
In setedit ...you know what need change for active the volte ?
Thank you very much it's working for me!
PS for those unfamiliar with SetEdit can also use this in adb after disabling permission monitoring:
adb shell settings put global op_voice_recording_supported_by_mcc 1
Just must be applied after every restart ( that is what i read )
Nice post, thanks for sharing. Any solution for Xiaomi Redmi Note 10S, Global ROM MI?
Also working on the regular gt2

Categories

Resources