Related
We all know that running "adb shell" from the command line is pretty crap, and when using a latter busybox version which has coloring support it's ultimately crap. One workaround was usually to start a telnet server on the phone, and use putty to connect to that telnet server. Actually there is a more easier way to do that which also works for non rooted phones.
Actually the Android Debug Bridge has a terminal connection feature (roughly speaking), which will be enabled after you connect to the adb server in "0006shell:" mode. You can actually use the putty to connect to this interface always, by setting the following things:
- Turn off line discipline in settings
- Use RAW mode to connect to localhost:5037
- Enter "0012host:transport-usb" (without quotes)
- Enter "0006shell:" (without quotes)
Now you've got a full fledged connection to your device. The main drawback is that it's tedious to repeat the above all the time, so I've made some modifications to the putty binary that adds a new type of connection, called "Adb"
To use the enhanced putty (via USB):
- Select Adb from the connection type list
- Enter "transport-usb" in the host (or any other connection string, check the adb socket interface documentation if you need something else than connecting via usb)
- Enter 5037 as port, if it's not already set there.
- Connect and enjoy (you might also save this connection, so next time you only have to double-click on the settings)
To use this via wireless adb:
- Connect to wireless adb using a command shell: "adb connect IPORT" (substitute ip and port for the real values)
- Enter "transport-any" in the host
- Enter 5037 as port if it's not already set there
- Connect and enjoy
To use this via the android emulator:
- Enter "transport-local" in the host. Everything else is the same
If you have multiple devices (for example multiple devices connected to usb and/or wileressly)
- Enter "transport:serial-number" in the host, where you substitute "serial-number" with the serial of the device you get by using "adb devices". Everything else is the same.
DL and source: http://github.com/sztupy/adbputty/downloads
Thanks
Great job
Love to use putty.
If this do what your say it's good buy adb shell!!
i am using putty for a long time, and i just tried urs, it looks great but i failed to connect coz i'm connecting to 2 devices....
so how can i add the -s param to specify which phone i'm gonna connect?
thx
EDIT: wow!!! i removed one of my devices and connected to it now!! ctrl-U now works!!!! THANK YOU!!!
EDIT2: quick question. if i use a normal putty, where to type in 0012transport-usb and 0006shell: ? i typed them in the term but it closed after 0006shell
Thanks. It works, but any idea how to get the up and down arrow keys to work on Putty? They work on the windows adb shell.
ykk_five said:
i am using putty for a long time, and i just tried urs, it looks great but i failed to connect coz i'm connecting to 2 devices....
so how can i add the -s param to specify which phone i'm gonna connect?
thx
EDIT: wow!!! i removed one of my devices and connected to it now!! ctrl-U now works!!!! THANK YOU!!!
EDIT2: quick question. if i use a normal putty, where to type in 0012transport-usb and 0006shell: ? i typed them in the term but it closed after 0006shell
Click to expand...
Click to collapse
The complete specification is here: http://android.git.kernel.org/?p=pl...T;hb=f41986bbc79055a4feed7266cac5c1b540296daf
This is what you can use:
- transport-any (either usb or local emulator)
- transport-usb (the only usb device)
- transport-local (the only emulator)
- transport:SERIALNUMBER (the concrete device with the appropriate serial number)
so in your case you have to use the latter.
For the second question, you need to ensure that all of the things are present:
- You are using RAW mode (connecting to localhost:5037)
- Line discipline is on "Force OFF" (in the terminal settings dialog)
- You make some pause between writing the two commands
- You don't press enter/backspace or any other key while entering the commands (the easiest way is to write the commands in eg. notepad, copy them, and paste them into putty by pressing ****+RIGHT MOUSE BUTTON)
hardcore said:
Thanks. It works, but any idea how to get the up and down arrow keys to work on Putty? They work on the windows adb shell.
Click to expand...
Click to collapse
The up and down arrow keys were actually handled by cmd.exe, which is non existent in putty. Instead it's now the responsibility of the shell to do the hard work. The included sh in the phone's sotfware (toolbox sh) is mostly useless here, but if you have busybox installed, you might want to run "busybox sh" after connecting (some rooted phones have busybox's sh as default, on them it should work out of the box).
Busybox's sh can not only handle the up and down arrows, but other things like tab completion works too.
sztupy said:
The up and down arrow keys were actually handled by cmd.exe, which is non existent in putty. Instead it's now the responsibility of the shell to do the hard work. The included sh in the phone's sotfware (toolbox sh) is mostly useless here, but if you have busybox installed, you might want to run "busybox sh" after connecting (some rooted phones have busybox's sh as default, on them it should work out of the box).
Busybox's sh can not only handle the up and down arrows, but other things like tab completion works too.
Click to expand...
Click to collapse
Use the ash.
edit:
Btw, thank you for this adb-putty.
sztupy said:
The complete specification is here: http://android.git.kernel.org/?p=pl...T;hb=f41986bbc79055a4feed7266cac5c1b540296daf
This is what you can use:
- transport-any (either usb or local emulator)
- transport-usb (the only usb device)
- transport-local (the only emulator)
- transport:SERIALNUMBER (the concrete device with the appropriate serial number)
so in your case you have to use the latter.
For the second question, you need to ensure that all of the things are present:
- You are using RAW mode (connecting to localhost:5037)
- Line discipline is on "Force OFF" (in the terminal settings dialog)
- You make some pause between writing the two commands
- You don't press enter/backspace or any other key while entering the commands (the easiest way is to write the commands in eg. notepad, copy them, and paste them into putty by pressing ****+RIGHT MOUSE BUTTON)
Click to expand...
Click to collapse
thx for u reply, but all i got in the log:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.10.09 13:10:54 =~=~=~=~=~=~=~=~=~=~=~=
0012transport-usb
0006shell:
FAIL0012device offline (x)
with adb turned on and working
sztupy said:
The up and down arrow keys were actually handled by cmd.exe, which is non existent in putty. Instead it's now the responsibility of the shell to do the hard work. The included sh in the phone's sotfware (toolbox sh) is mostly useless here, but if you have busybox installed, you might want to run "busybox sh" after connecting (some rooted phones have busybox's sh as default, on them it should work out of the box).
Busybox's sh can not only handle the up and down arrows, but other things like tab completion works too.
Click to expand...
Click to collapse
Yes and it will be great if busybox can handle history like linux
ADB over wireless ?
Hi, thanks for your great work
I'm using ADB Wireless
The first step is to connect first with
Code:
adb.exe connect 192.168.6.14:5555
And then the standard procedure
Is it possible for you to include these two phases directly inside Putty ?
So we just have to enter the IP address of the phone and here we go
PS : to disconnect, we have to do
Code:
adb.exe disconnect 192.168.6.14:5555
but that's not an obligation
seems to be a windows/putty problem because adb shell works wonderful on ubuntu with the default shell ...
btw. you can also easily get a sshd (dropbear) running. then you can ssh onto the device over wifi ... i can provide the binary+explanation if anybody is interested.
I'm very interested in that !
Sent from my GT-I9000 using XDA App
virus found
mathieumeuh said:
I'm very interested in that !
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
here is the explanation how to set it up (cyanogenmod wiki):
http://wiki.cyanogenmod.com/index.php?title=Howto:_Connect_to_Device_with_SSH
basically you have to create the keys on your pc and copy them onto the device. then you can connect via key-auth. if you want dropbear to autostart @boot you could add it to playlogos1 ...
and here are the binary's you need (including the missing dropbear-keygen) and a bash binary:
http://www.multiupload.com/B0L9FDQHPB
bash is optional of course but it's very nice to have tab-completion and the other improvements bash offers over sh. to replace sh with bash do the following:
Code:
cp bash /system/bin/
chmod 0755 /system/bin/bash
mv /system/bin/sh /system/bin/sh_OLD
ln -s /system/bin/bash /system/bin/sh
the chmod is really important. i forgot it once and then was unable to get shell access even over adb. was a pain in the ass to fix it again
jodue said:
seems to be a windows/putty problem because adb shell works wonderful on ubuntu with the default shell ...
btw. you can also easily get a sshd (dropbear) running. then you can ssh onto the device over wifi ... i can provide the binary+explanation if anybody is interested.
Click to expand...
Click to collapse
You seem to miss the point of this development. First, your method is mentioned as one of the possible workarounds in the first post. Second you need to have some kind of telnet/ssh server running on the phone, which you don't need, if using adb.
Meanwhile you don't even need a rooted phone or busybox or anything to get this thing working.
The main problem with adb shell under windows, that it uses the standard cmd.exe to run, and uses the standard cmd.exe's "readline" support, which only supports the up and down keys for history (and even that it only supports that within one session).
Putty is mainly the only good (xterm compatible) terminal emulator for windows (msys's or cygwin's rxvt is good too, but "adb shell" was programmed in a way that makes it kinda useless under rxvt too). There are two ways to fix this. One is to make adb.exe more comptible with rxvt, the other is to skip adb.exe entirelly and communicate with the adb server without it. This project utilises the latter.
But what is the advantage compared to "normal" ABD
But what is the advantage compared to "normal" ADB ?
Thank you!
DirkStorck said:
But what is the advantage compared to "normal" ABD
Click to expand...
Click to collapse
It has a real xterm compatible terminal emulator. Is you use busybox >= 1.17.1 you've got coloring, tab completion, resize events, keyboard events (applicatios like vi is working), etc.
This is the reason I recommend a faulty device: without the problems with the SGS the developments would go much slower Thank you for this putty, i have it connecting to the bash. Color coding and keys work perfectly.
Thanks for this Sztupy!
I hated using windows cmd.exe to access a linux shell
What's the fastest way to install KODI & Firestarter? I'm using abdfire for everything, however, the whole process takes too long.
Any ideas? Also, is there a way to bypass the Amazon login portion.
If you take the time to figure out how to connect to the device via ADB, and put the files you want to install (eg kodi.apk, starter.apk) in the same directory as adb.exe, installing both can be done in about a minute. First on the FireTV > Settings > System > Developer Options, enable ADB Debugging and Apps from Unknown Sources.
Next start a command prompt in the adb.exe directory (Shift+right-click in the directory and select "Open command window here"). Execute commands:
Code:
adb connect 192.168.1.2
adb install -r kodi.apk
adb install -r starter.apk
Skip the -r if this is a fresh install rather than a re-install or update. To get your device's local IP address, go to Settings > System > About > Network and look at the first line
I don't know whether you can bypass logging into Amazon. What happens if you boot the device without internet access?
Patrick_445 said:
If you take the time to figure out how to connect to the device via ADB, and put the files you want to install (eg kodi.apk, starter.apk) in the same directory as adb.exe, installing both can be done in about a minute. First on the FireTV > Settings > System > Developer Options, enable ADB Debugging and Apps from Unknown Sources.
Next start a command prompt in the adb.exe directory (Shift+right-click in the directory and select "Open command window here"). Execute commands:
Code:
adb connect 192.168.1.2
adb install -r kodi.apk
adb install -r starter.apk
Skip the -r if this is a fresh install rather than a re-install or update. To get your device's local IP address, go to Settings > System > About > Network and look at the first line
I don't know whether you can bypass logging into Amazon. What happens if you boot the device without internet access?
Click to expand...
Click to collapse
Awesome, thanks! If I were to drop my backup folder into the same directory as adb.exe and run
adb install backup.folder
Do you think that would work? I'm at work & cant test it myself just yet.
Also, about the logging into Amazon part, I don't think you can bypass it because you need to enable ADB Debugging and Apps from Unknown Sources.
UNLESS, you can enable it somehow without logging in or correcting to the interest...
The backup folder would have to be pushed to the correct directory
Android\data\org.xbmc.kodi\files\
Sent from my iPhone using Tapatalk
Agk fire is another good tool that you can use...
Sent from my LGLS991 using Tapatalk
The adbfire GUI does this perfectly. I've got it down to a 15 min process from stock to modified inc add-ons etc. I'd recommend hardwiring the computer you run adbfire on, and have the firestick as close to the router as possible (or hardwire if it's a FTV.) If the add-ons arnt a big deal, you can have Kodi and Firestarter done within 10mins using the GUI. Anyway, restore process that works best for me is:
-Connect Firestick to WiFi, log in, enable adb debugging and unknown apps.
-Get IP from Settings>About>Network
(The rest can be done from a PC now.)
-Load adbfire GUI, connect using IP found above.
-Install APK (select the Kodi apk.)
-Install Firestarter using the button provided.
-Click 'Restore' and select backup taken using 'Backup' from a previously modded Firestick (with all the add-ons/build you prefer.)
-This can take between 15min and 1 hour depending on your connections to router (what I mentioned above about hard wire etc) and also the size of the backup. My build is over 1GB, hardwired PC with Firestick 3 feet from the router, it takes me 13min to restore.
Personally this took my install time down from ~2 hours to 15minutes, mainly because the build I prefer is so large and takes a lot of tweaking to get going (however once I had it sorted, taking a backup means newly-restored devices are 100% ready when the backup process is done.)
I've spent more time on this than I'd like to admit but I got sick of spending 2hours and headaches each and every time!
Lol. said:
Personally this took my install time down from ~2 hours to 15minutes, mainly because the build I prefer is so large and takes a lot of tweaking to get going (however once I had it sorted, taking a backup means newly-restored devices are 100% ready when the backup process is done.)
Click to expand...
Click to collapse
Why is your build so large? do you install other apps besides Kodi? Which addons do you use?
For those with a slow connection who are trying to build a FireTV (not the Stick), it might be faster to place the kodi backup on a microSD plugged into the device and move the directory from there to the Kodi userdata directory instead of trying to move it from a computer over Wifi.
The way i did it was...
1) Installed ES File Explorer
2) Installed Firestarter using ES File Explorer
3) Installed latest stable version of Kodi from FireStarter
4) Used Fusion/Wizard to install popular Add-ons (TVMC)
extremely easy
Patrick_445 said:
Why is your build so large? do you install other apps besides Kodi? Which addons do you use?
For those with a slow connection who are trying to build a FireTV (not the Stick), it might be faster to place the kodi backup on a microSD plugged into the device and move the directory from there to the Kodi userdata directory instead of trying to move it from a computer over Wifi.
Click to expand...
Click to collapse
Andy's build v7 - it's impressive - but a pain in the ass to get working (i4atv updated last week causing major headaches.) The latter is what led me down the backup/restore route.
Lol. said:
The adbfire GUI does this perfectly. I've got it down to a 15 min process from stock to modified inc add-ons etc. I'd recommend hardwiring the computer you run adbfire on, and have the firestick as close to the router as possible (or hardwire if it's a FTV.) If the add-ons arnt a big deal, you can have Kodi and Firestarter done within 10mins using the GUI. Anyway, restore process that works best for me is:
-Connect Firestick to WiFi, log in, enable adb debugging and unknown apps.
-Get IP from Settings>About>Network
(The rest can be done from a PC now.)
-Load adbfire GUI, connect using IP found above.
-Install APK (select the Kodi apk.)
-Install Firestarter using the button provided.
-Click 'Restore' and select backup taken using 'Backup' from a previously modded Firestick (with all the add-ons/build you prefer.)
-This can take between 15min and 1 hour depending on your connections to router (what I mentioned above about hard wire etc) and also the size of the backup. My build is over 1GB, hardwired PC with Firestick 3 feet from the router, it takes me 13min to restore.
Personally this took my install time down from ~2 hours to 15minutes, mainly because the build I prefer is so large and takes a lot of tweaking to get going (however once I had it sorted, taking a backup means newly-restored devices are 100% ready when the backup process is done.)
I've spent more time on this than I'd like to admit but I got sick of spending 2hours and headaches each and every time!
Click to expand...
Click to collapse
If I start jailbreaking these and selling them on Craigslist, should I be worried about Amazon suspending my email / account for using the same IP or email too many times?
vurze said:
If I start jailbreaking these and selling them on Craigslist, should I be worried about Amazon suspending my email / account for using the same IP or email too many times?
Click to expand...
Click to collapse
Well for a start, jailbreaking is not the right term here, lets leave that to iOS
Secondly, I'm not in the best position to advise, I don't sell these, I simply have a few and didn't want to spend hours sorting them all out once an update or a different build is released. I would suggest you do NOT use your personal Amazon account if you plan to do this though, it's not worth the risk. Perhaps look into creating a different one...
vurze said:
If I start jailbreaking these and selling them on Craigslist, should I be worried about Amazon suspending my email / account for using the same IP or email too many times?
Click to expand...
Click to collapse
gee.. how did I know the OP question was for this reason....
As stated in a previous post, I avoid adb all together and use ES Explorer to download Kodi apk and FireStarter Apk and then use Fusion Config Wizard for most popular add-ons.. I can get this all done under 10 minutes a stick.. On Black Friday and Cyber Monday I purchased 100 Firesticks for $2500 ($25/piece sale) (purchased in Delaware to avoid sale tax) and have been selling them side loaded with Kodi for $80-$100. Let's just say it's going to be a good Christmas. The market is saturated with these (Craigslist, eBay) I usually sell by word of mouth and I even have a few store owners who bought 5 at a discount.
There is a special secret dial code for invoking an extended Engineering Mode on the Oneplus 3:
*#36446337#
This opens up the menue of this extended EM.
It worked. But I screwed it up, so I cannot invoke it any more
I know, shame on me and all that stuff, this was totally my fault, as I played around with the apk, copied (not moved) it to the Download folder and tried to install it like a normal app.
Did not work.
But now also invoking the original extended EM no longer works ([email protected]).
I'd like to kindly ask the real experts among you:
1. What is it I screwed up with my stupid attempts to install this apk?
2. Is there any way to restore the information the dialer needs for parsing this secret code - other than performing a factory reset?
Or which is the information that got lost or overwritten?
3. All files in
/system/app/EngineeringMode
/system/app/EngSpecialTest
appear to have been unaffected.
(But could anyone please share the proper contents of these two folders, in case the extended EM works properly for him?)
4. Is there any way of invoking the extended EM directly working around doing it with the secret dialer code given above? e.g. by modifying the apk - admittedly in a more sophisticated way I attempted ?
I hope my question comes in the proper forum, don't want to cross-post it.
Thanks in advance!
Please Post Files as attachment or Link...
Would you be kind enough to post these files or a link to them? Unsure, but suspect a permissions issue or incorrect location of said files. I think you can connect to computer (with debugging enabled, & allowing access & allowing the rsa prompt also). You will need a command line/terminal depending on your desktop /laptop os. . I would say that you can use adb devices, then adb shell and finally am then the package name. Not sure how to format the activity manager command. Mayb am start - n xxx or am start xxx. Perhaps forum or Google can help. I kno that typing just am from the adb shell will list all possible options.
I have discovered a way to disable and replace Alexa with the Google Assistant through what you could call a 'privilege escalation.' I don't know anything about the Fire Phone so I don't know if you can hook it up to a PC and run ADB commands to it. Can you even download Google apps (sorry if this sounds stupid)?
Anyways, I need some testers to see how widespread this is. In android there is a permission set called WRITE_SECURE_SETTINGS. Basically you can create an app with that said permission in it's manifest. Doing so allows the app to be escalated to a 'root user' in order to edit, remove and or manipulate a set of settings Android called Settings.Secure. In this set of settings are three tiers: System, Secure and Global. The app, or anyone with access to ADB, can run a command to add, remove or change the values of some of these settings.
An app currently exists and is available on the Play Store, that edits these settings; Settings Database Editor. I need you to do the following steps for me please and thank you:
1. Download, install the app, but don't edit anything yet.
2. Hook the device up to your PC and open an ADB window.
3. Type and hit enter when done:
Code:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
4. Go back to the Settings Database Editor app and tap on the Secure tab.
4. Locate the following three lines, if they exist:
Code:
"alexa_enabled"
"assistant"
"voice_interaction_service"
"voice_recognition_service"
5. Go back to the ADB window. Type each of the commands below, hitting enter after each one. You won't see any reply or messages if the commands are successful:
Code:
adb shell settings put secure assistant com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService
adb shell settings put secure voice_interaction_service com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService
adb shell settings put secure voice_recognition_service com.google.android.googlequicksearchbox/com.google.android.voicesearch.serviceapi.GoogleRecognitionService
adb shell settings put secure alexa_enabled 0
If the last command doesn't work, go to the Settings Database Editor app and tap on secure tab. Locate the alexa_enabled setting and tap it. change the 1 to a 0 and save the setting.
6. Open the Google App and go to settings > voice > Configure 'Ok Google" or your Assistant.
The more who confirm this, the better
How can I disable double tap of home button who activates the "voice input", who is no longer avaible as Amazon decided... THANKS THEM
DragonFire1024 said:
I have discovered a way to disable and replace Alexa with the Google Assistant through what you could call a 'privilege escalation.' I don't know anything about the Fire Phone so I don't know if you can hook it up to a PC and run ADB commands to it. Can you even download Google apps (sorry if this sounds stupid)?
The more who confirm this, the better
Click to expand...
Click to collapse
Hi DragonFire1024,
Thanks for this very interesting post I was just wondering by to see if anyone had unlocked the bootloader :laugh:
Problem with the fire phone is probably 98% of users here use one of @ggow custom ROM's LineageOS 11 or the AOSP based SlimKat and Nexus Rom. Those running the Stock ROM are likely not interested in development hence why no reply's.
To be honest I never even gave the Fire OS a chance before rooting and switching to the Nexus ROM. I am not sure our fire OS has Alexa :silly: or at least as we know it today yes you heard correct a Premium Amazon Device and they see fit not push it out to Amazon device owners. In fact they just went one better and removed the voice service altogether. https://forum.xda-developers.com/fire-phone/general/amazon-voice-services-fire-phone-t3681235 Pretty amazoning :laugh
I was kinda hoping it was to make way for Alexa and a Massive OS Update but I guess thats just wishful thinking. :laugh:
OK guys your watch will still work with many Wear OS apps but apps won't sync up with your phone any more. The problem is that the version of Google Play Services on your watch is way out of date.
The solution is you need to sideload a newer version of google play services and then like magic all your apps that can still work with Wear OS 1.5 will work again.
You need to download and install adb fastboot on your PC, and the USB drivers for your particular model of phone. Then go to apkmirror and download the latest version of "Google Play Services (Wear OS)" as an APK.
Now put your Smartwatch into developer mode by going to settings --> about --> build number (click it 7 times, congrats you are now a developer)
Now go to Settings --> Developer Options --> ADB Debugging (enable) and Bluetooth debugging (enable)
Back on your phone, Wear OS App --> Advanced Settings --> Debugging over bluetooth (enable)
Enable Developer options on your phone as well through settings --> About --> Software info --> Build number seven times. Enable USB debugging.
Plug phone into PC with usb and open a command prompt in the directory where you've installed the adb files
Code:
ADB devices
should show your phone unauthorized. Authorize it on the phone popup prompt. Now the command should show your phone as "device"
Code:
adb forward tcp:6666 localabstract:/adb-hub
adb connect localhost:6666
On your watch, authorize the connection
On your phone, Wear OS app, Advanced settings, you should see Host: connected and Target:connected
If you get into trouble, run
Code:
adb kill-server
and try again.
Now you can install the apk
Code:
adb -e install -r (path to apk)
it will take a long while and may appear to hang. Give it time, at least 15 minutes. Go do something else. Wait for the command prompt to come back.
Now reboot your watch and revel in the magic as your apps suddenly reappear.
You also try sideloading other apps your mileage may vary. On APK mirror you can sometimes find older verions of Wear OS apps, look for ones that require Android 6.0+ Instead of 7.1.+
FYI I've tried sideloading several apps, and while many don't work properly, I was able to get Maps working by sideloading
com.google.android.apps.maps_10.35.2-1035250000_minAPI23(nodpi)_apkmirror.com.apk
Hi,
Thanks for this =)
Is there a reason to push the app through the phone instead of directly to watch?
EDIT: just do the same but directly connect the watch through USB worked well for me, including installing more apps like GMaps and Messages.
EDIT2: Just did this, so people could find this workaround faster =) https://support.google.com/wearos/thread/55427445
stormPremier said:
EDIT2: Just did this, so people could find this workaround faster =) https://support.google.com/wearos/thread/55427445
Click to expand...
Click to collapse
Sorry, this page can't be found. Do you have another link?
i5510 said:
Sorry, this page can't be found. Do you have another link?
Click to expand...
Click to collapse
Weird, I can't access this page using Private Navigation, you may need to be connected to your google account to access it ?
Also, it may not be published yet.
stormPremier said:
Weird, I can't access this page using Private Navigation, you may need to be connected to your google account to access it ?
Also, it may not be published yet.
Click to expand...
Click to collapse
Unfortunately, I don't use an account by Google. Would you mind quoting your solution here?
Hey first of all, thank you to bring me a light to follow,
I can confirm that if you use usb is more quickly, just I have:
1: installed "15 seconnds adb installer v1.4.3" found on this forum
2: Plug my smartwatch 3 on my pc (windows 10)
3: downloaded the most recent google play services (wear os) from apk mirror
4: rename the downloaded apk with a shorter name
5: placed the apk on C: and then open a power shell window in that location (****f+right click)
6: put this command adb install -r -g aplicationname.apk
7: wait 5 minutes
8: enjoy
by: Alexai Medina
i5510 said:
Would you mind quoting your solution here?
Click to expand...
Click to collapse
Hi people,
I own a sony smartwatch 3, got some problems about sync multiple times. I always found simples workarounds but some days ago, Google dropped support for wear 1.5 devices.
I consider this as an official announcement:
https://support.google.com/wearos/thread/5538033?hl=en
Therefore, we have a "workaround" for those that need more time to buy another smartwatch or else.
Inspired from this: https://forum.xda-developers.com/smartwatch/smartwatch-3/fix-app-sync-smartwatch-3-dead-t4121409
# Download the latest GService for Wear OS
Using apkmirror website you can find the latest apk for "Google Play Services (Wear OS)",
This link will give you the page of GService v20.21.17 which is the latest available on 2020-06-25.
You must ensure 2 things:
- Is it the latest version
- Is it compatible with Android 6.0+ (as it's the wear android version, 7.0+ and above will not work)
You can also download other apks to install, see the "More" section at the bottom of this post.
Soon or later, Google will definitely drop android 6.0. When this will happen, the latest version will not be available anymore for android 6.0+, therefore it will be the end.
# Download/Install adb debugging tools on your computer
There are multiple ways to install the adb debugging tool, I recommend following the steps you'll find on XDA website: https://www.xda-developers.com/install-adb-windows-macos-linux/
Available for Windows, Linux, and macOS.
# Enable ADB Debugging options on your watch
Enable developer mode by going to
Settings --> about --> build number (click it 7 times, congrats you are now a developer)
Now go to Settings --> Developer Options --> ADB Debugging (enable)
Then open and keep the command line window (aka "terminal")
# Connect your watch to your computer
Then using the terminal, type "adb devices", after a moment, you should get a prompt asking for debugging permission on your watch: accept.
In the terminal, you should now see something like "14452D11F536B52 device" when typing "adb devices" again.
If you see "unauthorized" or else, you're not ready for the next step, go back and try again.
If you struggle at this step, you may need specific drivers or else for your watch, google will be your best friend at this point.
# Send the app to your watch
In the terminal, type "adb install -r path_to_the_apk_file", replace path_to_the_apk_file by the path to the file you download from apkmirror earlier.
Then wait, the installation can take several minutes. Once it's done, restart your watch and you should see the apps beginning to synchronize themself =)
----
If you're new to the command-line tool (aka "terminal"), I'll assume you're a window user.
So you may need to type something like "adb install -r C:/Users/Robert/Downloads/file_downloaded.apk", again, you'll have to replace Robert by your windows username and file_downloaded.apk by the name of the file you downloaded earlier.
The best way to get this line right: open the file explorer, click "This computer" in the sidebar, then click on your main hard drive, then the folder "Users". Here you should see a folder with your username, click on it, then go through folders & files until you see the downloaded file. Once it's done, you should be able to get the full pathname by click in the explorer address bar (didn't understand ? See https://winaero.com/blog/show-full-path-address-bar-windows-10-file-explorer/ ) then at this point you should know how to execute the last command by reading again the last step "Send the app to your watch"
----
# More
You can follow this step and install any apk you want, but I don't recommend installing apk not made for Wear OS even if it works
More apps installable this way on your watch if you don't want to wait for app sync:
- Google Messages (SMS), latest is v6.1.095 on 2020-06-25
- Google Maps, latest is v10.35.2 (android 6.0+) on 2020-06-25
The GMaps is a good example about obsolete versions: on 2020-06-25, the real latest available is v10.43.2, but it's android 7.0+ only, so don't expect GMaps to work indefinitely for your watch, it will stop working soon or later.
# Say thanks
Please, if you can click upvote or post an answer: it will help people with the same problem find this
Thanks for posting a simplified process.
I only used Bluetooth because I have other Wear OS watches that don't work over cable connect, so it's the way I am familiar with. I like to use different watches depending upon activity and mood. The Smartwatch 3 is a great watch for outdoor activities because it is sleek, waterproof, and very sunlight visible.
stormPremier said:
Hi people,
I own a sony smartwatch 3, got some problems about sync multiple times. I always found simples workarounds but some days ago, Google dropped support for wear 1.5 devices.
I consider this as an official announcement:
https://support.google.com/wearos/thread/5538033?hl=en
Therefore, we have a "workaround" for those that need more time to buy another smartwatch or else.
Inspired from this: https://forum.xda-developers.com/smartwatch/smartwatch-3/fix-app-sync-smartwatch-3-dead-t4121409
# Download the latest GService for Wear OS
Using apkmirror website you can find the latest apk for "Google Play Services (Wear OS)",
This link will give you the page of GService v20.21.17 which is the latest available on 2020-06-25.
You must ensure 2 things:
- Is it the latest version
- Is it compatible with Android 6.0+ (as it's the wear android version, 7.0+ and above will not work)
You can also download other apks to install, see the "More" section at the bottom of this post.
Soon or later, Google will definitely drop android 6.0. When this will happen, the latest version will not be available anymore for android 6.0+, therefore it will be the end.
# Download/Install adb debugging tools on your computer
There are multiple ways to install the adb debugging tool, I recommend following the steps you'll find on XDA website: https://www.xda-developers.com/install-adb-windows-macos-linux/
Available for Windows, Linux, and macOS.
# Enable ADB Debugging options on your watch
Enable developer mode by going to
Settings --> about --> build number (click it 7 times, congrats you are now a developer)
Now go to Settings --> Developer Options --> ADB Debugging (enable)
Then open and keep the command line window (aka "terminal")
# Connect your watch to your computer
Then using the terminal, type "adb devices", after a moment, you should get a prompt asking for debugging permission on your watch: accept.
In the terminal, you should now see something like "14452D11F536B52 device" when typing "adb devices" again.
If you see "unauthorized" or else, you're not ready for the next step, go back and try again.
If you struggle at this step, you may need specific drivers or else for your watch, google will be your best friend at this point.
# Send the app to your watch
In the terminal, type "adb install -r path_to_the_apk_file", replace path_to_the_apk_file by the path to the file you download from apkmirror earlier.
Then wait, the installation can take several minutes. Once it's done, restart your watch and you should see the apps beginning to synchronize themself =)
----
If you're new to the command-line tool (aka "terminal"), I'll assume you're a window user.
So you may need to type something like "adb install -r C:/Users/Robert/Downloads/file_downloaded.apk", again, you'll have to replace Robert by your windows username and file_downloaded.apk by the name of the file you downloaded earlier.
The best way to get this line right: open the file explorer, click "This computer" in the sidebar, then click on your main hard drive, then the folder "Users". Here you should see a folder with your username, click on it, then go through folders & files until you see the downloaded file. Once it's done, you should be able to get the full pathname by click in the explorer address bar (didn't understand ? See https://winaero.com/blog/show-full-path-address-bar-windows-10-file-explorer/ ) then at this point you should know how to execute the last command by reading again the last step "Send the app to your watch"
----
# More
You can follow this step and install any apk you want, but I don't recommend installing apk not made for Wear OS even if it works
More apps installable this way on your watch if you don't want to wait for app sync:
- Google Messages (SMS), latest is v6.1.095 on 2020-06-25
- Google Maps, latest is v10.35.2 (android 6.0+) on 2020-06-25
The GMaps is a good example about obsolete versions: on 2020-06-25, the real latest available is v10.43.2, but it's android 7.0+ only, so don't expect GMaps to work indefinitely for your watch, it will stop working soon or later.
# Say thanks
Please, if you can click upvote or post an answer: it will help people with the same problem find this
Click to expand...
Click to collapse
Thank you very much!!!!
You saved my watch!
Hi. In the link to install the adb debugging tool, I can only get as far step 6 connecting my phone. When i type 'adb devices' in the command prompt it says -
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
Nothing appear on my phone as per the step 7 "On your phone’s screen, you should see a prompt to allow or deny USB Debugging access"
Can anyone help?
@MrFleas
1) go again on EVERY.SINGLE.STEP this may feel dumb to do but it could help
2) if it does not work, try googling for swr50 USB drivers, you may need to download Android SDK and drivers - then reboot - then start again at step one
3) come back here to thanks or asking for more help
Envoyé de mon ONEPLUS A6003 en utilisant Tapatalk
Hi people, just realized we can also download the sony app to our phones (directly from phone or by using adb like on watch) so we can edit stock watch faces again =)
Here's the app to download to the phone: https://www.apkmirror.com/apk/sony-...ditor-2-0-0-20-android-apk-download/download/
Once installed, to edit watch faces, go to wear app, the edit watch faces =)
Seems like the same issue...
My hardly used smart watch is ALIVE again!
Thanks a lot guys!
I have latest but sync not working :/ i have a question is possibile install app with higher api or change apk API level ?
check the play service on your phone and install exactly the same version of the wear app
then it works
Cheers for doing this! Got my old smartwatch working cause of that. If anyone else reading this has issues at the' ADB device' point, and is using a linux based system, remember to use sudo on the commands -as otherwise i found that it would not enable the prompt to let me 'authorise' the device in order to send the apk to the watch.
Question- given that google have disabled the onboard step counter function on wear 1.5 devices (like this one), can we sideload a fitness apk via adb with this method that will then sync to our phones?
skwal83 said:
check the play service on your phone and install exactly the same version of the wear app
then it works
Click to expand...
Click to collapse
Hi, I've got the same issue. I had to change my phone. I've installed the same version of google play services on the watch with the description in this threat. But the phone is still not syncing the apps to the watch. Is there anything more I can do to trigger the sync (already triggered 'resync all app in Wear OS' without effect).
You might try to go Settings-Permissions on the watch and set the Permissions for your app. Sometimes I have got this to make the app work, when it is already installed on the watch but not working.
It works! I first downloaded this version of Wear OS for my phone:
Wear 2.43, the newest one somehow broke the sync for me.
By using ADB with " ADB install -r "I installed the last working Google Play Services for my Watch and also the last available version of Google Fit for Android 6.
Play Services : Play Services Wear OS - 20.45.16
Google fit : Google Fit - 2.10.36