[Q] How to SSH LG G Watch R - LG G Watch R

Does any one know a method or a way to connect to watch over terminal like SSH or SCP? What i wanna do is to send or receive files maybe by connecting over Bluetooth or USB.

Do some research on "Android ADB" - a Google search will bring back tons of info. This is Android's "Debug" command line, and it allows you to push/pull files among other things.

I just enabled the developer mode and searched through developer options. There is one section called bluetooth debugging. Can't enable it because it looks like it is disabled and can't be modified. Do you know why?

Palyancodr said:
I just enabled the developer mode and searched through developer options. There is one section called bluetooth debugging. Can't enable it because it looks like it is disabled and can't be modified. Do you know why?
Click to expand...
Click to collapse
Enable ADB Debugging first. :good:

Related

[Q] removed options.....

First of all, while this is my first post, I have been a silent browser of xda for some time. This is such a wonderfull site.
My question is, is it possible to somehow get the settings for sideloading and usb/wifi teathering to show up in the settings menus? I assume that these have been removed or hidden somewhere in the source by commenting out or just been deleted. It seems to me that since these functions were built in to other android devices and I assume the I9000, that it sould be possable to reverse there removal. The settings.db has so many referances to other settings that are easily changed that it sould not require root access correct?
Now I must say that I am in no way a developer, and am not very good with linux. These are just some thoughts and conclutions that I have come up with while reading and pondering over countless articals on xda
Finaly , I want to say that I strongly disagree with Att's position on removing these items to increase there bottem line, and I would be with T-Mobile if they had good coverage in my house.
Usb tether is listed - called Pc internet. Sidwloading can be achieved by rooting and changing a settings.db file but no one has a fix for making it show up.
Sent from my SAMSUNG-SGH-I897 using XDA App
I am aware of the option to enable sideloading in the settings.db, all im saying is that there must be a way to but the option back in the settings menus. As for the USB teathering, isnt there an option on other devices to enable disable?
perhaps this thread would be better if it was moved to development?
djpittsford said:
I am aware of the option to enable sideloading in the settings.db, all im saying is that there must be a way to but the option back in the settings menus. As for the USB teathering, isnt there an option on other devices to enable disable?
perhaps this thread would be better if it was moved to development?
Click to expand...
Click to collapse
a) the sideloading thing is ATT and that will never show up in one of their phones (unless they somehow miss it) if you really want it THAT badly, you can flash eugene's vibrant hybrid and it's there
b) USB tether is directly available through the settings menu on stock firmware (looks like ATT missed it, because they had it removed in JH2 and JH3)
c) if you mean the WIRELESS (mobile access point) tethering, that was removed by ATT and we've already found workarounds to have it back.
d) this certainly does not belong in development, thanks for keeping it out of that forum
e) look at SRE, it contains basically all the things you're asking for

AutoTools - Supercharge Tasker!

Awesome developer Joao have (yesterday) released a brand new app called AutoTools to his big AutoApps-library. It´s supposed to be a ``supercharged Tasker´´. For example it has it´s own ``secure settings´´ very similar to the old original Secure Settings-app it self that stopped development a couple of years ago. And wait for it... it does NOT require root!
There are though warnings that claims the functions will not work on all phones and also to enable ``secure settings´´ you need to connect the phone to a PC and install a specific software etc. (all info is in the app).
I have not yet dived into all the functions myself but only checked it briefly. But this is exactly what Tasker needs And who else to bring it than Joao, he is really brilliant :good:
Read more HERE and take a look at the really informative Youtube video.
About the ``Secure settings´´ function.
AutoTools Secure Settings
This allows you to change settings on your device that you normally wouldn't be able to with Tasker
NO ROOT is needed for this action
Examples
Turn GPS on when in Google Maps, turn it off otherwise (No Root!)
Change Animation Speed with a Quick Tile on Android 7 and Above
Change input keyboard depending on situation
Set Screen Orientation
To use this, AutoTools needs to be granted permission to change secure settings on your device
How to grant AutoTools the Secure Settings permission
Enable Developer Mode: Go to Android Settings -> About Phone and look for the Build Number option. Touch it multiple times until developer mode is enabled.
Enable USB Debugging: Go to Android Settings -> and look for the Developer Options option. In there, enable the USB debugging option.
Install ADB on your PC: Check here for a quick way to do it.
Connect device to PC: Connect your device to a PC and look on your phone. A prompt should show up asking you to allow your phone to be debugged by your PC. Accept this.
Grant permission: Open a command line on your PC and write
adb shell pm grant com.joaomgcd.autotools android.permission.WRITE_SECURE_SETTINGS
Congratulations, AutoTools should now be able to use the "Secure Settings" action!
Click to expand...
Click to collapse
https://joaoapps.com/AutoApps/Help/...utotools.activity.ActivityConfigsettings.html
Warning info inside the app claims that ``mobile data´´ only will work on 25% of all devices, but I can confirm that it works on my S7 edge. Also power saver mode and GPS ''battery saver/high accuracy/off'' works as a charm.
Auto Tools been out for a hot minute…
snej81 said:
but I can confirm that it works on my S7 edge. Also power saver mode and GPS ''battery saver/high accuracy/off'' works as a charm.
Click to expand...
Click to collapse
And airplane mode?
You can toggle the Air Plane Mode by shell code, if you can't with that...
cottino said:
And airplane mode?
Click to expand...
Click to collapse
Just tried it and got some strange results lol. Airplane mode enables (icon lights up) and mobile data turns off BUT cell connection is still up and I can make calls and send texts. So you could say that I get ``almost airplane mode...´´.
I read about some Marshmallow bug though for third party apps writing system settings even with permissions, could be what causing this.. https://code.google.com/p/android/issues/detail?id=194376
loogielv said:
Auto Tools been out for a hot minute…
Click to expand...
Click to collapse
It has been out as a Beta app for a long time. It was released to the public a few days ago :-}
For Airplane Mode ( I don't have root), I use AutoInput to open up the notifications shade, then simulate a press of the airplane mode button. Works perfect
This is a lifesaver coming from Tasker + Secure Settings and System Module+ enabled which is not functioning with Marshmallow for GPS until I found someone talking about this app. Confirmed working with Marshmallow on LG G5 I'm very happy as soon as I saw it worked, I just bought the full version. This was the only issue I had as I like to use Waze often in my car and one or two less clicks is just another annoyance I didn't need :laugh:
can someone help me, I don't know how to install ADB, I'm running windows 10 home on my laptop,
Do i still need to do the adb command part if i'm rooted?
PAULRYAN52 said:
can someone help me, I don't know how to install ADB, I'm running windows 10 home on my laptop,
Click to expand...
Click to collapse
Not sure if you found the answer, but Google recently released an installer for just the tools like adb and fastboot: https://developer.android.com/studio/releases/platform-tools.html
I found out in the end

Qualcomm EngineerMode

so according to this article: https://arstechnica.com/gadgets/2017/11/oneplus-engineering-apk-exposes-backdoor-to-root-access/
"...The important part, though, is a "DiagEnabled" activity with a method called "escalatedUp." If this is set to "true," the app will allow root access over Android Debug Bridge, Android's command-line developer tools."
the article says the APK was also found in Asus and Xiaomi devices... I wonder if maybe it is also on the Moto Z?
I looked, it isn't there.
I was just wondering whether any bright mind who had his hands on those devices managed to save this as apk
I searched around a bit without too much of a success, but I do believe we can try running it on our Motorolas if we happen finding it.
On a separate note: invoking Rlz Debug UI aka 'Google Partner Setup' by entering *#*#759#*#* into dialer (see screenshot) lists one option called "OEM mode" with possibility to set it to true or false - does anyone know what this is meant for? What is OEM mode after all?

turn on System sound

Can system settings be changed without root
I have gone into settings then sound settings
I then get an if statement
I just want to turn my system sound back on at a certain time
Im not sure what to do
Thanks
trickyrick said:
...
I just want to turn my system sound back on at a certain time
Im not sure what to do
Thanks
Click to expand...
Click to collapse
This sounds like you want to disable DND (do not disturb). The action for that doesn't require root. It's in audio category. The "all" setting will allow all sound, effectively disabling DND. I believe you must enable Tasker's notification setting in the system settings (main OS, not Tasker). If you are using any relatively recent Tasker version, you should be prompted for any missing permissions the first time you setup the (any) action.
Can system settings be changed without root
I have gone into settings then sound settings
I then get an if statement ....
Click to expand...
Click to collapse
Yes, Tasker is designed to run most of its actions without needing root. You do need to give permissions through ADB for some restricted actions, such as using the AutoTools plugin -> secure settings action. I think this is the action you are asking about. See Tasker User Guide - Grant Secure Settings
I have no idea what you mean by "I then get an if statement".
If you have a task (or profile) that doesn't work the way you expect, it helps others help you if you post the entire task (profile).
Before exporting, if you have sensitive information such as logins, api keys or anything else, you might consider setting those values to a variable and use the variable in your tasks so the values won't export with the task.
To export a task (profile) description for posting, press on the name to highlight the task (profile). Go to the 3-dot menu and select export -> Description to Clipboard.
Now you'll be able to paste it. Be aware, it easier to use something like pastebin.com / hastebin.com and link to a post here. If you paste directly into a post here, the forum software will convert semicolons with characters directly after, into emoticons making it very hard to read.
Thanks for the replys
It's my wife's phone she goes to work and turns the sound off (not the DND) She drops the menu down and clicks on the sound icon then there is a line through the speaker icon at top of screen. She forgets to turn on the sound when she leaves work and I can't get ahold of her cause she can't hear the phone ringing. Was hoping to use tasker to turn sound back on at 5pm
I use ADB to connect tom my AmazonFire TV
Ive tried to connect to my cell but cant
ADB connect (ip of cell on my network)
It says it cant connect
Ive opened a command prompt within the install of the ADB
USB debugging is already on
When I attach phone I get no promt to alow debugging
trickyrick said:
I use ADB to connect tom my AmazonFire TV
Ive tried to connect to my cell but cant
ADB connect (ip of cell on my network)
It says it cant connect
Ive opened a command prompt within the install of the ADB
USB debugging is already on
When I attach phone I get no promt to alow debugging
Click to expand...
Click to collapse
ADB requires the proper drivers for the device installed on the computer your using. Using a data cable would be more reliable than over Wi-Fi, particularly to set-up. At the top of the forum, in the search manufacture and model of the device then it's forum should show up in the results. Every device forum has an "ask any question help thread". If you can't find how to ADB to the device in the forum, that's a good thread to get help in.
However, to turn the ringer volume up doesn't require anything special. Audio -> ringer volume. Explore all of the volume settings actions in the audio category.
Ok ill explore how to install ADB for my phone. In regards to the sound. You said it easy to turn volume up but my system volume is off not turned down Any option I try to turn volume up does not work. I dont see an option to first turn it back on
OK well Ill be dam. Figured out the ADB
Now its working turns the sound on at the specified time
Thanks for all your help have a good day

Question Bluetooth Audika ear-aid compatible only with iphone can be bring to android?

Hi all, i am a deaf person that is a owner of a Redmi Note 11 (rooted and using magisk - actually using EvolutionX a12, tried also a13 it don't recognize these) actually use audika earaid that are both compatible with blueetoth with iphone and android, but only stream audio direct, only with iphone.
On their site is write only this:
With an iPhone or iPad, you can now use your Oticon More, Zircon or Play PX * hearing aids to make or receive hands-free phone or video calls.
Hands-free communication is available with iPhone 11 or later, 12.9-inch iPad Pro (5th and 4th generation), 11-inch iPad Pro (3rd and 2nd generation), iPad Air (4th generation), and iPad mini (6th generation) ) generation), with iOS 15.2 and iPadOS 15.2 or later software updates.
Now enjoy the simple convenience of hands-free calling when you prefer. With your hands free, you can talk to your family, friends and colleagues when on the go.
* Other Oticon hearing aids require firmware 1.3.0 to enable hands-free communication functionality.
Click to expand...
Click to collapse
On android i can connect my ear aid but only use it as volume controller via app, and these are not recognized as audio devices, my hearing care professional say that android and audika have a licensing issue and it don't have make it work with these
My question if is possible via some hacking or stuff make these work via dark magic, without forcing me buying a iphone....
Would be glad if somesone will help me with this.
malachiel said:
Hi all, i am a deaf person that is a owner of a Redmi Note 11 (rooted and using magisk - actually using EvolutionX a12, tried also a13 it don't recognize these) actually use audika earaid that are both compatible with blueetoth with iphone and android, but only stream audio direct, only with iphone.
On their site is write only this:
On android i can connect my ear aid but only use it as volume controller via app, and these are not recognized as audio devices, my hearing care professional say that android and audika have a licensing issue and it don't have make it work with these
My question if is possible via some hacking or stuff make these work via dark magic, without forcing me buying a iphone....
Would be glad if somesone will help me with this.
Click to expand...
Click to collapse
Hi malachiel, I am a partial deaf person and a hearing aid user. I had the similar problem with my mobile until recently managed to make it work with my RealMeX device.
With your explanation I suspect your device tree (audio_policy_configuration.xml) doesnt have the hearing aid configurations hence you are not able to stream audio to your ear aid. as of my knowledge there is nothing called license issue as Android is an open-source.
I can help you but need few thing from your device to analysis the issue if you are comfortable sharing.
before that try this first
turn on the bluetooth option
Goto Accessibility and see if your hearing aid option appears (usually that option appears only bluetooth is turned on else it will get hidden - refer attached screenshot)
if option is their then try to pair your hearingaids.
if successfully paired then try to play a song from local music file and see if audio streaming works (calling may not work due to some other bug which i will explain later)
if above doesnt work or hearing aid option doesn't appear then try below command from adb ( your device need to be rooted )
get platform tools for adb from link
enable developer option and usb debugging in your device
connect your phone and allow adb permission
open cmd prompt and run below command
adb.exe devices (you should see your device connected, if you dont see then you havent connected properly)
make sure bluetooth is turn on and run below command
adb.exe shell settings put global settings_bluetooth_hearing_aid true
Goto Accessibility and see if your hearing aid option appears; if doesnt come up try restarting
even this doesnt work then you need to pull system/vendor/etc folder and have to share with me, below is the adb cmd to pull the folder
adb.exe pull /vendor/etc/
Please give a try and feel free to reach me incase need any help
AmarnathNR said:
get platform tools for adb from link
enable developer option and usb debugging in your device
connect your phone and allow adb permission
open cmd prompt and run below command
adb.exe devices (you should see your device connected, if you dont see then you havent connected properly)
make sure bluetooth is turn on and run below command
adb.exe shell settings put global settings_bluetooth_hearing_aid true
Goto Accessibility and see if your hearing aid option appears; if doesnt come up try restarting
Click to expand...
Click to collapse
Hey mate, thank you for the reply, i was able to enable the ear-aid menu on A12, but it still threat these as normal blueetoth devices and not earaid devices as you can see here, any idea what can i do? I have pmed you the link of this folder too in case if it help with investigation
malachiel said:
Hey mate, thank you for the reply, i was able to enable the ear-aid menu on A12, but it still threat these as normal blueetoth devices and not earaid devices as you can see here, any idea what can i do? I have pmed you the link of this folder too in case if it help with investigation
Click to expand...
Click to collapse
Sure, I will check the vendor/etc and revert. Firstly Did u get the hearingaid option enabled by above given command? Or was it there before itself?
The option was not here but your command enabled it (I have to restart for show it)
malachiel said:
option was not here but your command enabled it (I have to restart for show it)
Click to expand...
Click to collapse
Gotcha!! that means andriod source flag is set to false. we are forcefully enabling it but may not have the right configs so its not merging two hearing-aid into one rather considering it as regular bluetooth device.
AmarnathNR said:
Gotcha!! thats expect. we are forcefully enabling it but may not have the right configs so its not merging two hearing-aid into one rather considering it as regular bluetooth device.
Click to expand...
Click to collapse
It might be that so, any solution for make it working?
malachiel said:
The option was not here but your command enabled it (I have to restart for show it)
Click to expand...
Click to collapse
your device etc folder has HA configs to stream audio. BTW did you try to connect your HA devices via hearing aid option in accessibility? once you tap it will show HA as normal BT device only upon pairing it will identify and resolve as HA device.
malachiel said:
It might be that so, any solution for make it working?
Click to expand...
Click to collapse
Well I am not an expert but I can help with my limited knowledge.
I uses Cherish Custom ROM and their device source has this flag enabled. one option if you can find CherishOS ROM for you device https://github.com/CherishOS
AmarnathNR said:
your device etc folder has HA configs to stream audio. BTW did you try to connect your HA devices via hearing aid option in accessibility? once you tap it will show HA as normal BT device only upon pairing it will identify and resolve as HA device.
Click to expand...
Click to collapse
Yeah I tried, It keep to treat as Bluetooth devices
AmarnathNR said:
Well I am not an expert but I can help with my limited knowledge.
I uses Cherish Custom ROM and their device source has this flag enabled. one option if you can find CherishOS ROM for you device https://github.com/CherishOS
Click to expand...
Click to collapse
I don't think it will make it work,I also tried evolutionx a13 that have earaid support enabled but it still threat my earaid as Bluetooth devices (android 13)
malachiel said:
Yeah I tried, It keep to treat as Bluetooth devices
I don't think it will make it work,I also tried evolutionx a13 that have earaid support enabled but it still threat my earaid as Bluetooth devices (android 13)
Click to expand...
Click to collapse
An Android AOSP Source, Device Tree, Vendor Tree, Kernel Tree.
in Android10 Google has introduced ASHA protocol so code is there but how it works is by injecting the configs from Device tree and Device tree's are specific to each device(s) vendor specific so bottomline custom rom dev should enable these config in Device tree so it picks up OS. Even for me i tried many custom ROM and had the same issue what you are facing and then fianally when I installed chreishOS then recognized as HA but call audio were streming then wrote a magisk module to have right config and finally worked
can you try this magisk module, I have all the BT HA configs in it. it will replace your existing vendor/etc configs; try on A13 OS
AmarnathNR said:
Well I am not an expert but I can help with my limited knowledge.
I uses Cherish Custom ROM and their device source has this flag enabled. one option if you can find CherishOS ROM for you device https://github.com/CherishOS
Click to expand...
Click to collapse
i will give a shoot with this, which version are you using? i see there are multiple version
malachiel said:
i will give a shoot with this, which version are you using? i see there are multiple version
View attachment 5735217
Click to expand...
Click to collapse
Currently I am using A13 4.0 but I have tried Cherish 3.8 and HA was working in it. going for the latest release build.
if you are reflashing then first try without my magisk module.. check if it works
Also dont run any of those earlier given commands. just turn on the BT and check if hearing aid option comes up in Accessibility
So Cherish-OS-v3.8-20220621-1319-spes-OFFICIAL-GApps.zip ?
malachiel said:
So Cherish-OS-v3.8-20220621-1319-spes-OFFICIAL-GApps.zip ?
Click to expand...
Click to collapse
yes go for it.
Also dont run any of those earlier given commands. just turn on the BT and check if hearing aid option comes up in Accessibility
but that version which android is?
malachiel said:
but that version which android is?
Click to expand...
Click to collapse
mostly A12. HA will work in it too. I have used it.
I hope you have verified that the package is built specially for your device
it fail to download around at 50% around, saying denied or network error
malachiel said:
it fail to download around at 50% around, saying denied or network error
Click to expand...
Click to collapse
Server is up.. it downloaded within 2mins for me. try download manager

Categories

Resources