Enable NFC via shell command? - General Questions and Answers

Before you act like I'm an idiot, I've searched for days and was unable to find the answer.
What should I put into the command line in order to enable NFC via shell?
Any help appreciated.

Related

[Q] ADB CLIENT for android

Hello everyone,
i want to connect 2 android devices with adb.
One of the devices only have wireless adb access, the other one is a standard rooted android phone.
Sometimes there is no pc/mac where i can use adb, but my phone is always with me.
I've searched in the filesystem for an adb binary or something and tried the adb commands with terminal emulator, no success...
Can't find any answers on google or xdadev :/
Maybe its an integrated feature or anyone knows an app/tool, i cant find it..
Thanks for your help (and sorry for this noobish question)

[Q] Using touch from ADB

I'm a noob with adb, I was wondering if and how can I use adb to simulate a tap or touch. I figured how to find the touch are via getevent, but just not sure how to send it.
Thanks in advance.

[Q] How to enable usb tethering through adb and still have adb

I've been searching through the posts but I can't seem to find an answer.
I've found a post suggesting that the following should work: adb shell "echo 1 > /sys/class/usb_composite/rndis/enable"
When I try it, it says that the file/directory doesn't exist.
The post is also about a year old, so I didn't want to reopen an old thread.
Besides how to enable usb tethering through adb, I was wondering if it is possible to still use adb to connect to the phone while usb tethering is enabled. currently when I enable usb tethering through the phone, adb does not detect the phone anymore.
I saw a few posts saying that it is possible but their methods usually involve an app or buying an app. Is there a way to accomplish this without using an app?
Thanks for help
TKH1218 said:
I've been searching through the posts but I can't seem to find an answer.
I've found a post suggesting that the following should work: adb shell "echo 1 > /sys/class/usb_composite/rndis/enable"
When I try it, it says that the file/directory doesn't exist.
The post is also about a year old, so I didn't want to reopen an old thread.
Besides how to enable usb tethering through adb, I was wondering if it is possible to still use adb to connect to the phone while usb tethering is enabled. currently when I enable usb tethering through the phone, adb does not detect the phone anymore.
I saw a few posts saying that it is possible but their methods usually involve an app or buying an app. Is there a way to accomplish this without using an app?
Thanks for help
Click to expand...
Click to collapse
http://stackoverflow.com/questions/16631185/how-to-turn-wifi-on-using-adb-or-any-other-way-when-usb-debugging-is-disabled
do it through changing settings from adb

Is there a way to turn this pop up notification crap?

everytime I get a message or notification wether its whatsapp or whatever, it pops up from above and im sick of this!
is there a way to simply disable this feature? please any one
I know exactly what your talking about - i hate it too. Lucky I found the solution. Do you know how to use ADB? install the easy ABD thing, got into developer mode, connect ur phone etc. Then just run this ADB command:
adb shell
settings put global heads_up_notifications_enabled 0
exit
Done! Fixed! Sorted!
Dean F said:
I know exactly what your talking about - i hate it too. Lucky I found the solution. Do you know how to use ADB? install the easy ABD thing, got into developer mode, connect ur phone etc. Then just run this ADB command:
adb shell
settings put global heads_up_notifications_enabled 0
exit
Done! Fixed! Sorted!
Click to expand...
Click to collapse
MY MAN! I owe you!

adb command to switch to 3dof

Hi everyone,
I've been trying to find the right adb command to switch to 3dof mode for a few days and cannot find anything working.
Wonder if anyone found something?
I identified with logcat that GuardianInput changes, with GuardianSetConfigParam CONFIG_PARM_3DOF_MODE, but I'm not sure this is the setting that needs to be changed.
In the dumpsys I also found:
_id:863 name:CONFIG_PARM_3DOF_MODE pkg:com.android.shell value:ON
Can someone tell me how can I turn this setting off?
Thank you!

Categories

Resources