Cant grant usb debugging permissions...!! - Moto G4 Plus Questions & Answers

I cant grant permission for pc in moto g4 plus.. Everytime it says :::: Because an app is obscuring a permission request...

abhishekab.z10 said:
I cant grant permission for pc in moto g4 plus.. Everytime it says :::: Because an app is obscuring a permission request...
Click to expand...
Click to collapse
Reboot to safe mode and try.

Related

Rooting and su permissions

Assuming I root my Nexus S and install su.
Does any application that wish to use it can just use it or there's some kind of popup that asks me for password or at least confirmation ?
If not sound like a too big of a risk to root
aviramsegal said:
Assuming I root my Nexus S and install su.
Does any application that wish to use it can just use it or there's some kind of popup that asks me for password or at least confirmation ?
If not sound like a too big of a risk to root
Click to expand...
Click to collapse
The superuser app will give you a pop-up and ask for permission. You can set some apps to always have permission, and you can revoke whenever you want through the superuser app. The app is in addition to the binary that actually gives su rights.
Superuser asks permission even for adb from the terminal, so I think it's pretty good protection.
You also get a notification bar or toast message every time an app gets granted su rights.
I don't feel unsafe on my rooted phone.
distortedloop said:
The superuser app will give you a pop-up and ask for permission. You can set some apps to always have permission, and you can revoke whenever you want through the superuser app. The app is in addition to the binary that actually gives su rights.
Superuser asks permission even for adb from the terminal, so I think it's pretty good protection.
You also get a notification bar or toast message every time an app gets granted su rights.
I don't feel unsafe on my rooted phone.
Click to expand...
Click to collapse
All right, sounds decent.
Thank you.
As I observe in my unrooted Nexus S, su comes pre-installed in Nexus S. Unlike Samsung captivate (unrooted) where, if you run su on adb shell, you get 'command not found', in the Nexus S, I received the message 'Permission denied'
Su is not pre installed in the nexus s. If it where then it would be no need to install it as part of the root process.
blahsphemer said:
As I observe in my unrooted Nexus S, su comes pre-installed in Nexus S. Unlike Samsung captivate (unrooted) where, if you run su on adb shell, you get 'command not found', in the Nexus S, I received the message 'Permission denied'
Click to expand...
Click to collapse
jerrycycle said:
Su is not pre installed in the nexus s. If it where then it would be no need to install it as part of the root process.
Click to expand...
Click to collapse
[email protected] is your phone an out of the box new purchase? If you really do have su installed already, you might have gotten someone's returned unit.

Can not access to su with adb

Hy everybody,
I was trying to acces to su (root) using adb but it does not work:
Code:
su -
Permission Denied.
I think I have correctly root my phone using SuperOneClick, and I have the apps SuperUser installed.
Do you know
benpaka said:
Hy everybody,
I was trying to acces to su (root) using adb but it does not work:
Code:
su -
Permission Denied.
I think I have correctly root my phone using SuperOneClick, and I have the apps SuperUser installed.
Do you know
Click to expand...
Click to collapse
check the phone after typing su. Also make sure the phone is unlocked.
Okay it was a really stupid things to do, but unlocking the phone help me

[Q] rooted or not?

Hello,
I followed the Dummies guide that Shmarim posted here on XDA and also over on Android forums. I've posted on that forums thread, and had come to the conclusion that the rooting process was not successful, based upon permission denied when I type su in a connectbot local session, as well as getting permission denied when typing su in an adb shell session. Then, this morning I installed Juice Defender on my EVO Shift, and noticed in the logging of that app: 10:32 AM The device is rooted.
How do I know definitively if the device is rooted? Why does Juice Defender report it as rooted if I am unable to get SU permissions with connectbot and ADB?
Do you have the su icon in the app drawer?
Otherwise dl root checker on the market....
tdischino said:
How do I know definitively if the device is rooted? Why does Juice Defender report it as rooted if I am unable to get SU permissions with connectbot and ADB?
Click to expand...
Click to collapse
Turn off your phone.. turn back on by holding the power and volume down at the same time. Once you enter bootloader, if you see s-off at the top your rooted.
minlo said:
Do you have the su icon in the app drawer?
Otherwise dl root checker on the market....
Click to expand...
Click to collapse
I uninstalled the SU app per the instructions in the linked guide, so no, it's not there.
I just ran root checker, And it says
Code:
Root access is not properly configured or was not granted.
Standard su binary location:
/syste/bin/su: No such file or directory
Alternat su binary location:
/sbin/su: Permission Denied
SU binary not found in the system declared path.
Turn off your phone.. turn back on by holding the power and volume down at the same time. Once you enter bootloader, if you see s-off at the top your rooted.
Click to expand...
Click to collapse
Yes, it says S-Off... With the results above from root checker, and the S-off, what does this mean?
tdischino said:
Yes, it says S-Off... With the results above from root checker, and the S-off, what does this mean?
Click to expand...
Click to collapse
Download Super User from the market and you should be good... Next thing is to flash recovery

[Q] Detect when superuser permission denied in app

Hi,
I am developing an app that requires root permissions to run some shell commands to capture ouput. I am executing the "su" command to get root permission and it works fine when the su permission is granted. However I would like to know how to detect if the permission was denied? as there does not seem to be any exception or other indication when this is denied.
Any help would be much appreciated.
source.rar said:
Hi,
I am developing an app that requires root permissions to run some shell commands to capture ouput. I am executing the "su" command to get root permission and it works fine when the su permission is granted. However I would like to know how to detect if the permission was denied? as there does not seem to be any exception or other indication when this is denied.
Any help would be much appreciated.
Click to expand...
Click to collapse
Ok I started using the libsuperuser library as that seems to be what I need.

Enter hidden Settings for Draw over other Apps

Hi All,
i want to install Double Tap to Wake. For this i have to enable the Draw over other Apps permissions for this App. Amazon removed this menu. A long time ago i found a app which i can enter this menu. But i cant find it anymore. Can somebody help me?
best regards
xeenon said:
Hi All,
i want to install Double Tap to Wake. For this i have to enable the Draw over other Apps permissions for this App. Amazon removed this menu. A long time ago i found a app which i can enter this menu. But i cant find it anymore. Can somebody help me?
best regards
Click to expand...
Click to collapse
What your device model you referring?
To grant draw over other apps via ADB:
Code:
//Enter ADB shell
adb shell
//Want to grant draw over other apps permission for these apps
pm grant <package-name-here> android.permission.SYSTEM_ALERT_WINDOW
//Example
pm grant com.facebook.orca android.permission.SYSTEM_ALERT_WINDOW
If success, give me a thanks and enjoy.
AmznUser444 Dev said:
What your device model you referring?
To grant draw over other apps via ADB:
Code:
//Enter ADB shell
adb shell
//Want to grant draw over other apps permission for these apps
pm grant <package-name-here> android.permission.SYSTEM_ALERT_WINDOW
//Example
pm grant com.facebook.orca android.permission.SYSTEM_ALERT_WINDOW
If success, give me a thanks and enjoy.
Click to expand...
Click to collapse
Could this work for Youtube on a unrooted Galaxy A03 Core?

Categories

Resources