[GUIDE] Install fleksy keyboard on any android wear with ADB - Wear OS Software and Hacking General

hi guys, i try to install some querty keyboard like fleksy on android wear with adb comands.
after many attemps i found the way.
You should be having android platflorm Tools to use ADB.
1. Enable Android Debugging in your android wear (tap many times on build version)
2. Connect your android wear watch.
3. connect your smartwatch to phone via bluetooth
4.write: adb devices
5. see if your device is listed (if you see "unhautorized" see your smartphone to allow the permission)
6.Install App to your watch using this Command: adb install yourApkName.apk
7.Type: adb shell ime enable com.syntellia.fleksy.kb/.Fleksy (if this give you an error try com.syntellia.fleksy.keyboard/.Fleksy)
8.Type: adb shell ime set com.syntellia.fleksy.kb/.Fleksy (if this give you an error try com.syntellia.fleksy.keyboard/.Fleksy)
Done.
If i help you press thanks

fer2503 said:
hi guys, i try to install some querty keyboard like fleksy on android wear with adb comands.
after many attemps i found the way.
You should be having android platflorm Tools to use ADB.
1. Enable Android Debugging in your android wear (tap many times on build version)
2. Connect your android wear watch.
3. connect your smartwatch to phone via bluetooth
4.write: adb devices
5. see if your device is listed (if you see "unhautorized" see your smartphone to allow the permission)
6.Install App to your watch using this Command: adb install yourApkName.apk
7.Type: adb shell ime enable com.syntellia.fleksy.kb/.Fleksy (if this give you an error try com.syntellia.fleksy.keyboard/.Fleksy)
8.Type: adb shell ime set com.syntellia.fleksy.kb/.Fleksy (if this give you an error try com.syntellia.fleksy.keyboard/.Fleksy)
Done.
If i help you press thanks
Click to expand...
Click to collapse
I think its great idea, but whenever i try enabling it i get error. I tried changing lines a little bit in sooo many ways but never got "Succes". Most often i got id:null ;/

Lasiu said:
I think its great idea, but whenever i try enabling it i get error. I tried changing lines a little bit in sooo many ways but never got "Succes". Most often i got id:null ;/
Click to expand...
Click to collapse
ok no problem. the problem is that the file package (com.example....) depends on your apk file. So you can do this:
-download this application for windows: apk tool for wear from xda
-connect to your phone
-find in the list the name of your fleksy package (com.syntellia....)
-write it in the adb command. (example: adb shell ime enable "yourpackage"/.Fleksy )

fer2503 said:
ok no problem. the problem is that the file package (com.example....) depends on your apk file. So you can do this:
-download this application for windows: apk tool for wear from xda
-connect to your phone
-find in the list the name of your fleksy package (com.syntellia....)
-write it in the adb command. (example: adb shell ime enable "yourpackage"/.Fleksy )
Click to expand...
Click to collapse
My package's name was same as yours (i checked it ) Any other recommendations? Or do you mean, that i should try enabling keyboard through this tool? Though i didnt see this option when i downloaded it week ago or something

Lasiu said:
My package's name was same as yours (i checked it ) Any other recommendations? Or do you mean, that i should try enabling keyboard through this tool? Though i didnt see this option when i downloaded it week ago or something
Click to expand...
Click to collapse
The tool is only to see the exatly package name. Czn you make a screenshot of your adb command with error and the package name showed in apk tool?

fer2503 said:
The tool is only to see the exatly package name. Czn you make a screenshot of your adb command with error and the package name showed in apk tool?
Click to expand...
Click to collapse
See My apk name is: com.syntellia.fleksy.kb.apk Any ideas? ;/

Lasiu said:
See My apk name is: com.syntellia.fleksy.kb.apk Any ideas? ;/
Click to expand...
Click to collapse
The package name, not the apk name. Post the screenshot of the apktool package list.

fer2503 said:
The package name, not the apk name. Post the screenshot of the apktool package list.
Click to expand...
Click to collapse
Is that what you mean?

Lasiu said:
Is that what you mean?
Click to expand...
Click to collapse
I think that the problem is the /.Fleksy...maybe you can try /.Fleksy.kb or /.Fleksykb

fer2503 said:
I think that the problem is the /.Fleksy...maybe you can try /.Fleksy.kb or /.Fleksykb
Click to expand...
Click to collapse
No luck Maybe something like FleksyKeyboardService? Other keyboards have that in their line, though i tried it and it didnt work. I will try again. Any more ideas?

fer2503 said:
I think that the problem is the /.Fleksy...maybe you can try /.Fleksy.kb or /.Fleksykb
Click to expand...
Click to collapse
Yep it doesnt work. Btw can you post photos of your Smartwatch with this keyboard?

Lasiu said:
Yep it doesnt work. Btw can you post photos of your Smartwatch with this keyboard?
Click to expand...
Click to collapse
+1 I would like to see as well

Lasiu said:
Yep it doesnt work. Btw can you post photos of your Smartwatch with this keyboard?
Click to expand...
Click to collapse
Yes i can make a photo and post it to you. It is too small but it works

yyeah a picture would be cool

Related

Removing App Registry?

Hi,
A few months ago I uninstalled an older version of the free mybackup Pro app which I had as at the time as I wasn't going to use it, but have decided that with the upcoming (hopefully) 2.1 update I would back up my phone however when I tried to install and run it, it would not let me use and told me to update to the full version.
How can I remove the older registry files to enable me to back up on the free version for the time being if at all?
Cheers
there is no such thing as a registry. uninstalling apps also removes the settings for the app, everything is gone then.
kendong2 said:
there is no such thing as a registry. uninstalling apps also removes the settings for the app, everything is gone then.
Click to expand...
Click to collapse
Thats what I thought but it still wont work?
choccy31 said:
Thats what I thought but it still wont work?
Click to expand...
Click to collapse
execute this in adb shell, does it give any output?
Code:
ls -1 /data/data/ | grep -i backup
if so try to delete the file.
kendong2 said:
execute this in adb shell, does it give any output?
Code:
ls -1 /data/data/ | grep -i backup
if so try to delete the file.
Click to expand...
Click to collapse
How do I access adb shell?
you need to have downloaded the sdk software, once you have setup file associations its a matter of opening up a command prompt, changing to your tools directory
c:\>cd \sdk\tools
C:\sdk\tools>
Then type the code above,
akhtar1817 said:
you need to have downloaded the sdk software, once you have setup file associations its a matter of opening up a command prompt, changing to your tools directory
c:\>cd \sdk\tools
C:\sdk\tools>
Then type the code above,
Click to expand...
Click to collapse
thanks for that, will take a look.

error incompatible with other applications using the same shared user id

Hello, I have a Samsung Galaxy Ace... With jelly BLast Rom. I recently factory recent it and now I cannot install Google play services... It gives me an error which says ' error incompatible with other applications using the same shared user id ' what can I do?? Please help me!
Aliakber Khan (AK) said:
Hello, I have a Samsung Galaxy Ace... With jelly BLast Rom. I recently factory recent it and now I cannot install Google play services... It gives me an error which says ' error incompatible with other applications using the same shared user id ' what can I do?? Please help me!
Click to expand...
Click to collapse
The same thing happened with me, unfortunately I don't have a solution, if you want to use apps such as 'Youtube', you cannot update it, you have to keep it in the same version it came with or you cannot use your account...
Sent From My Ace-i running SGS3 Rom v6
install this guy's and use youtube version 4.1.23
Here is a working solution
Aliakber Khan (AK) said:
Hello, I have a Samsung Galaxy Ace... With jelly BLast Rom. I recently factory recent it and now I cannot install Google play services... It gives me an error which says ' error incompatible with other applications using the same shared user id ' what can I do?? Please help me!
Click to expand...
Click to collapse
Here I have found a working solution. I have manually sideloaded googleplayservices to system/app folder.
tech2life said:
Here I have found a working solution. I have manually sideloaded googleplayservices to system/app folder.
Click to expand...
Click to collapse
Dude, Look at the date of this thread. Problem has already been solved. Please don't revive old threads.
Sent from my GT-I8190N using Tapatalk
pls help
tech2life said:
Here I have found a working solution. I have manually sideloaded googleplayservices to system/app folder.
Click to expand...
Click to collapse
Pls tell me how to do that
need google play services for DII Pad
same on my DII Pad
tech2life said:
Here I have found a working solution. I have manually sideloaded googleplayservices to system/app folder.
Click to expand...
Click to collapse
how to sideloaded google play services to system/app folder
@SpookyError, It never ceases to amaze me how naive sometimes we would act,, Dear fellow this Rom was [email protected] XDA due to warez contents inside it ages ago,,
Just this time I would provide support,which might violate forums rules and regulations.
Sideload is our new ADB mode which, implanted inside new CWM+6 recoveries, allowing you to install zip files ( in your case your gapps/play services files) from your computer using the ADB sideload command.
akosicarlo said:
install this guy's and use youtube version 4.1.23
Click to expand...
Click to collapse
Nope, it's a no go! failing to install!!! solutions?
tech2life said:
Here I have found a working solution. I have manually sideloaded googleplayservices to system/app folder.
Click to expand...
Click to collapse
How to sideload it?
ppprathvi said:
How to sideload it?
Click to expand...
Click to collapse
Have you read my comment @ post#9 of this current topic ? process is a bit varied between TWRP and CWM . For CWM +6 which is ported for your device you can find it in the Install → Install Zip from Sideload of your clock work mod console .
However you must not be stocked on boot logo , because ADB command prompt would not work and your device will not being recognized by your PC :
Requirements :
- Enable USB Debugging on your phone from Settings> Developer options
- ADB tools platform and proper drivers installed < in this topic you can find them >
- Copy the file you desire to install , in the platform- tools folder inside your PC directory . ( if you got one of linux distro , then you can follow this method for adb installation >
- Open Command prompt inside your OS :
1. change your directory and go to the place your ADB is located i,e : cd /<address of the platform tools directory , which you put your .zip file there for sideload > < "adb.exe" file that was installed with "Android SDK Platform-tools", It's usually in "C:\Program Files (x86)\Android\android-sdk\platform-tools" on windows platform .
2. Type: "adb kill-server"
3. Type: "adb usb" < starting it now on port 5037 *
* daemon started successfully *
restarting in USB mode>
4. Select Install → Install Zip from Sideload
5. Type: "adb devices" < you must see something like : "List of devices attached
sh3d7h3dj631f6a7 recovery" which is stated your device is being recognized >
6. Type: "adb sideload xxx.zip" which is your zip file name inside command prompt and watch progress bar in the command prompt indicating that the Zip file is being copied to the device. Once the file is transferred, the Zip is automatically installed on your device.
Reboot .
Hope my post was informative mate
niltonomnunes said:
Nope, it's a no go! failing to install!!! solutions?
Click to expand...
Click to collapse
I don't know if this is already solved. I just got mine figured out. I'm runniong on O+ 8.9 MTK 6577 same error when installing the google play services. What I did was
1. Cleared the data on the Google Play Store
2. Cleared the date on the Google Services Framework.
3. Search for the Google Play Services using the browser on your phone.
If you happen to open Play store. That would trigger both of them to store data again.
just use the browser to download the .apk file for your android version (i.e. ICS JB, Lillipop, Kitkat)
Clear the data first before installing the apk for Google play services.
if you done it right you wont have problem isntalling it. you can update and works fine.
moltenbart said:
I don't know if this is already solved. I just got mine figured out. I'm runniong on O+ 8.9 MTK 6577 same error when installing the google play services. What I did was
1. Cleared the data on the Google Play Store
2. Cleared the date on the Google Services Framework.
3. Search for the Google Play Services using the browser on your phone.
If you happen to open Play store. That would trigger both of them to store data again.
just use the browser to download the .apk file for your android version (i.e. ICS JB, Lillipop, Kitkat)
Clear the data first before installing the apk for Google play services.
if you done it right you wont have problem isntalling it. you can update and works fine.
Click to expand...
Click to collapse
It doesn't work:crying:
I actually managed to get it work without a flaw from then onwards by flashing a particular version of Gapps.:victory:
hi please help on this.
Thanks

Root for Android Wear Emulator

Hello guys! I know it's useless, but anyway, we(@MrBIMC and @r3pwn) crafted root-script for Android Wear!
Download and unzip archive, go to the folder with unpacked data and execute the script:
Code:
sh wear-root.sh
*Note that you'll have to re-run this script everytime you reboot emulator*
Enjoy!
MrBIMC said:
Hello guys! I know it's useless, but anyway, we(@MrBIMC and @r3pwn) crafted root-script for Android Wear!
Download and unzip archive, go to the folder with unpacked data and execute the script:
Code:
sh wear-root.sh
*Note that you'll have to re-run this script everytime you reboot emulator*
Enjoy!
Click to expand...
Click to collapse
Can't run that command in CMD, it says : "sh is not recognized as internal command" on windows
Ashutos1997 said:
Can't run that command in CMD, it says : "sh is not recognized as internal command" on windows
Click to expand...
Click to collapse
For Windows, you'll need to double-click on the .bat file.
Sent from my Nexus 7 using Tapatalk
r3pwn said:
For Windows, you'll need to double-click on the .bat file.
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Can u give me proper steps to root ?
Update : ROOTED
Q
@MrBIMC
why should i root it?
is there any app for it to need root access?
or any feature we can access after root?
:good:
I can only imagine what kind of apps Developers will make for rooted smartwatches. We will have to wait and see what wear offers without them first...
x102x96x said:
@MrBIMC
why should i root it?
is there any app for it to need root access?
or any feature we can access after root?
:good:
Click to expand...
Click to collapse
Actually, we don't need to root smartwatch, at least yet. I made a script just because I can, lol
MrBIMC said:
Actually, we don't need to root smartwatch, at least yet. I made a script just because I can, lol
Click to expand...
Click to collapse
absolutely good reason
No need YET.
x102x96x said:
absolutely good reason
Click to expand...
Click to collapse
I'm with you. Although there may not be much of a need at the time I can see this come in handy when I go and pick up a Wear device and start tinkering. I can already think of a few uses for it. And you know what? Even if I fail, it's future proofing. Who knows what the future may bring with Wear devices and their restrictions/Wear skins?
Can i use it on my galaxy young bro?
i
Slick101 said:
Can i use it on my galaxy young bro?
Click to expand...
Click to collapse
use what on Galaxy young?
it s not root method for mobile device. it s for AndroidWear emulator
u should use eclipse to install androidWear SDK and then create AVD of it
see this thread to understand more;
http://forum.xda-developers.com/android-wear/development/app-androidwear-t2690062
:good:
thanks, but this release will run successful on windows+x86 avd
busybox.net/downloads/binaries/latest/busybox-i686

[query] amazfit Stratos Apk installation?

Hi i have stratos with English firmware.
Is there a way to install APK directly from watch? Without usb connected to PC.
I transferred apk but i am unable to install, the installer crashes everytime.
Is there an easier way to install apk from Android mobile?
Or is there an android adb?
Thanks in advance.
Also my battery is 1 day with GPS always OFF and heartrate always ON. Is this normal?
I have the Pace not the Stratos but I don't think that you can install apps from the watch. It is possible on the Pace to use ADB to enable "unknown sources" and then attempt to install apks from the internal memory, but due to the screen size the installer does not show correctly and it is impossible to finish installing the app.
I would think that results on the Stratos would be very similar even if you found an apk that is compatible it.
I dont have screen size issues, it says installation protected and asks to press ok to install and continue (something similar) then intaller crashes.
Sounds like you got a permission issue.
Have you tried one of these?
adb shell settings put global install_non_market_apps 1
or
adb shell settings put secure install_non_market_apps 1
If you still get a similar error, then you may need root.
anox said:
Sounds like you got a permission issue.
Have you tried one of these?
adb shell settings put global install_non_market_apps 1
or
adb shell settings put secure install_non_market_apps 1
If you still get a similar error, then you may need root.
Click to expand...
Click to collapse
Ok, so after setting both settings menrioned by you i can see the install screen. And unfortunately as you mentioned i cannot see the install button
My watch has 3 buttons and none of them do the CLICK action.
Thank you for the adb commands
Is ther a shell command see all the supported settings?
firoz3321 said:
Ok, so after setting both settings menrioned by you i can see the install screen. And unfortunately as you mentioned i cannot see the install button
My watch has 3 buttons and none of them do the CLICK action.
Thank you for the adb commands
Click to expand...
Click to collapse
I know this is so late but I came across this in my journey to update watch droid assistant.
type the commands they gave you to enable unknown sources, then type adb shell wm density 150, this makes the screen show enough to hit install.
then type adb shell wm density 238 to return to the normal resolution. I know this still requires a computer to keep normal density but there is technically a way.
sonicscrewup said:
I know this is so late but I came across this in my journey to update watch droid assistant.
type the commands they gave you to enable unknown sources, then type adb shell wm density 150, this makes the screen show enough to hit install.
then type adb shell wm density 238 to return to the normal resolution. I know this still requires a computer to keep normal density but there is technically a way.
Click to expand...
Click to collapse
If we have access to PC then there are easier methods to install apk isn't it?
firoz3321 said:
If we have access to PC then there are easier methods to install apk isn't it?
Click to expand...
Click to collapse
In most cases yes, in my case no. I had updated the companion app on my phone, so my watch version was incompatible, instead of revert the phone app, I decided to force the watch to allow me to install. Changing the resolution worked like a charm.
APK installer is easier if you can get the latest apk to your computer, but i could only get it via the app pushing it to the watch.
sonicscrewup said:
In most cases yes, in my case no. I had updated the companion app on my phone, so my watch version was incompatible, instead of revert the phone app, I decided to force the watch to allow me to install. Changing the resolution worked like a charm.
APK installer is easier if you can get the latest apk to your computer, but i could only get it via the app pushing it to the watch.
Click to expand...
Click to collapse
Here is an easy way to install an app on the watch without any screen size issue:
- install the wear part of this-> https://play.google.com/store/apps/details?id=com.sssemil.advancedsettings&hl=en
When installing an apk on the watch using any file manager, just select Advanced Settings instead of the default Package Installer.
anox said:
Here is an easy way to install an app on the watch without any screen size issue:
- install the wear part of this-> https://play.google.com/store/apps/details?id=com.sssemil.advancedsettings&hl=en
When installing an apk on the watch using any file manager, just select Advanced Settings instead of the default Package Installer.
Click to expand...
Click to collapse
Works, but root on watch is required. So it's clear that people with stock firmware (or even common custom ROM with just adb root) cannot use this.
By the way, it seems that if you get adb root and add the permission to install 3rd party apps on watch then it works... I haven't tested this yet tho.
lfom said:
Works, but root on watch is required. So it's clear that people with stock firmware (or even common custom ROM with just adb root) cannot use this.
By the way, it seems that if you get adb root and add the permission to install 3rd party apps on watch then it works... I haven't tested this yet tho.
Click to expand...
Click to collapse
Apparently, sonicscrewup already has all what is required
hi,
anox suggested to install the wear part of this https://play.google.com/store/apps/d...settings&hl=en (
Advanced Settings for Watch) in order to install apk in the watch without pc
but where to find the apk intended to install on the watch (because the
"Advanced Settings for Watch" usually installs on the phone, and then transfers the wear part to the watch)?
I figured it out, probably is not the easier way to do it.
you decompile the phone apk (using apk easy tool), then you will find the wear apk inside the res/raw folder.
you can install it on the watch directly, or probably better, convert it first using this tutorial (https://forum.xda-developers.com/smartwatch/amazfit/android-wear-apps-to-android-read-apk-t3726835)
the "Advanced Settings for Watch" works well in the amazfit to install apks, and to do other things, but of course, there are many features making the app to crash.
cheers
carloscolhao said:
hi,
anox suggested to install the wear part of this https://play.google.com/store/apps/d...settings&hl=en (
Advanced Settings for Watch) in order to install apk in the watch without pc
but where to find the apk intended to install on the watch (because the
"Advanced Settings for Watch" usually installs on the phone, and then transfers the wear part to the watch)?
I figured it out, probably is not the easier way to do it.
you decompile the phone apk (using apk easy tool), then you will find the wear apk inside the res/raw folder.
you can install it on the watch directly, or probably better, convert it first using this tutorial (https://forum.xda-developers.com/smartwatch/amazfit/android-wear-apps-to-android-read-apk-t3726835)
the "Advanced Settings for Watch" works well in the amazfit to install apks, and to do other things, but of course, there are many features making the app to crash.
cheers
Click to expand...
Click to collapse
Yah, I sometimes leave something out. There are already several threads talking about how to install Android Wear app on this watch.
Anyway, an APK file is just a normal compressed ZIP file. So, the quick & easy way to install the wear part of Android Wear app is to:
- Change the file extension from "apk" to "zip"
- Extract the zip file and get the wear APK file inside the res/raw folder to install on the watch
Personally, I don't use any tool or recompile any Android Wear app in order to just install on the watch. I don't see any real world result difference.
Thanks.
I did not realise an apk could be decompressed as a simple zip. Good to know
anox said:
Sounds like you got a permission issue.
Have you tried one of these?
adb shell settings put global install_non_market_apps 1
or
adb shell settings put secure install_non_market_apps 1
If you still get a similar error, then you may need root.
Click to expand...
Click to collapse
Wanted to understand if this setting is maintained across firmware updates. I have a very poor data connection with my charger and this setting is a savior, along with File Manager+. So was wondering if I'm going to lose this at every update.
adityavaidya said:
Wanted to understand if this setting is maintained across firmware updates. I have a very poor data connection with my charger and this setting is a savior, along with File Manager+. So was wondering if I'm going to lose this at every update.
Click to expand...
Click to collapse
Just found this thread tucked away and it works perfectly. No fiddling with any poor USB connections anymore. It's by XDA user zmad2000
https://forum.xda-developers.com/smartwatch/amazfit/amazfit-pace-enable-app-list-install-t3639617
Here's the solution just to ensure that it's archived.
Background
I was have trouble getting my Amazfit Pace to be recognized by the adb program or the ADK installer. When it was in the dock it i could look at the files but not have it recognized by the other apps. I have the Amazfit Pace US version with ROM 1.3.3a
Here are the steps i took.
Enable the "developers mode" by tapping on the legal notice.
Plug in the Amazfit to the computer and put a blank file called "launcher_config.ini" in the main directory
Restart the watch. Once it has booted up connect it via the wifi to the same network your computer is on.
Open and cmd prompt and got to "C:\Users\Rich\AppData\Local\Android\sdk\platf orm-tools" directory (this will differ based on you user name)
Type adb connect (ip address of watch)
Then type adb install (whatever app you want)
Not sure if this is the 100% but it worked for me and my watch was right out of the box. Hope this helps some people.
Click to expand...
Click to collapse
Edit: What I've found is that once you enable developer mode, adb over WiFi is automatically enabled. You don't seem to need that file to be present. Only problem is that adb is now enabled over WiFi at all times when the watch is connected. So there is a security risk, albeit a small one because I'd only connect my watch to my home WiFi.
So all that's required is:
Go to Settings->About
Tap on the Serial number 7 times
Ensure the watch is connected to the same WiFi as your computer
Type adb connect (ip address of watch)
but are you able to install applications directly from the watch?
I did everything but when I try to install using "advanced settings" I always see the word "working" but the installation process never ends
apgeo said:
but are you able to install applications directly from the watch?
I did everything but when I try to install using "advanced settings" I always see the word "working" but the installation process never ends
Click to expand...
Click to collapse
It only works with root, or if you use a modded PackageManager, used in some custom ROMs, after allowing 3rd party APKs installations (non-Market security check).
sonicscrewup said:
I know this is so late but I came across this in my journey to update watch droid assistant.
type the commands they gave you to enable unknown sources, then type adb shell wm density 150, this makes the screen show enough to hit install.
then type adb shell wm density 238 to return to the normal resolution. I know this still requires a computer to keep normal density but there is technically a way.
Click to expand...
Click to collapse
Thanks a lot! That actually worked for me! :highfive:

[DEV][PACE/STRATOS] Android Wear Framework

...and not WearOS because this is from an Android 5.1.1 build from 2015
I talked about the Wear framework in this thread, and how it can be partially installed onto the Pace and Stratos
THIS DOES NOT MEAN A FULLY WORKING ANDROID WEAR BUILD!
It doesn't connect to the Wear app, even after installing all the APKs required and following the correct setup procedure (some bluetooth error, even after patching it with the supposed workaround for normal apps, it doesn't work - maybe the Bluetooth stack on these watches doesn't work for Wear)
What it does allow is for standalone wear apps with really simple functions to work. Good examples of this are Wear Bottle Spinner (eliseo.wearbottlespinner.wear) and Interval timer for Android Wear (wearablesoftware.wearintervaltimer), which on this list are "not working" due to lack of wear framework, but work after these files have been copied.
Please do not attempt this if you want a fully stable device, or don't feel comfortable debugging. It may not work for you, and you may end up having to post crash logs or have a not-working device. This is a development thread, it's not fully ready for use yet
Installation
- Download this zip
- Extract it and run the following commands from the folder
Code:
adb root
adb remount
adb push com.google.android.wearable.jar /system/framework
adb push clockwork-system.jar /system/framework
adb push com.google.android.wearable.xml /system/etc/permissions
adb push clockwork-system.xml /system/etc/permissions
adb push ClockworkAmbient.apk /system/priv-app/ClockworkAmbient/ClockworkAmbient.apk
adb reboot
I think this is all that's needed for it to work. My test device has more Wear framework APKs on it than are needed, so I'm not totally sure. If it crashes after doing this, please post a logcat and I'll see if anything else is needed - that's why this is a DEV thread!
These files were taken from the last Android 5.1.1 Wear build for the Gear 2 (itself a port): https://forum.xda-developers.com/gear-2/development/please-help-kernel-compiling-android-t2992953
From having followed the AW porting thread for the Samsung Gear S back in the days I can say the following things:
The Bluetooth stack is indeed different between normal Android and Android Wear but IIRC it should be at least theoretically possible to make it work unless Xiaomi/Huami modified it.
To connect to the AW app it will also require to have all the AW GAPPS properly setup AND the fingerprint of a watch it will recognize with said AW version, even an AW port just won't connect with the app unless there is a proper fingerprint setup in build.prop
On another note great job on doing this and I will be testing it out later today when I will have some free time and an easy way of getting said AW apps.
Hello Quinny, I think you're doing a great job, and it's appreciated. What is the scope of this? I am clear that we will not see Android Wear on our devices, but can Google services and applications be installed? Or would it only be used to install certain applications?
Thanks for your contributions.
zodrac said:
Hello Quinny, I think you're doing a great job, and it's appreciated. What is the scope of this? I am clear that we will not see Android Wear on our devices, but can Google services and applications be installed? Or would it only be used to install certain applications?
Thanks for your contributions.
Click to expand...
Click to collapse
It's to make apps that rely on the Wear framework classes work, but only those that are standalone
Ranomez said:
From having followed the AW porting thread for the Samsung Gear S back in the days I can say the following things:
The Bluetooth stack is indeed different between normal Android and Android Wear but IIRC it should be at least theoretically possible to make it work unless Xiaomi/Huami modified it.
To connect to the AW app it will also require to have all the AW GAPPS properly setup AND the fingerprint of a watch it will recognize with said AW version, even an AW port just won't connect with the app unless there is a proper fingerprint setup in build.prop
On another note great job on doing this and I will be testing it out later today when I will have some free time and an easy way of getting said AW apps.
Click to expand...
Click to collapse
@Quinny899 what do you think, would it be possible?
Hi, will this work with this?
https://play.google.com/store/apps/details?id=prox.lab.calclock&hl=cs
urbami said:
Hi, will this work with this?
https://play.google.com/store/apps/details?id=prox.lab.calclock&hl=cs
Click to expand...
Click to collapse
No
Hello there! I think you are doing a fanstastic job! But I have a problem, I can't do adb remount... It says permission denied. Any help is appreciated
Qufy said:
Hello there! I think you are doing a fanstastic job! But I have a problem, I can't do adb remount... It says permission denied. Any help is appreciated
Click to expand...
Click to collapse
You need to be running a rooted boot image and have successfully run "adb root" before remount.
Quinny899 said:
You need to be running a rooted boot image and have successfully run "adb root" before remount.
Click to expand...
Click to collapse
adb root runs successfully. As for the rooted boot image... Does it mean I need a custom recovery image? (Like TWRP?)
Qufy said:
adb root runs successfully. As for the rooted boot image... Does it mean I need a custom recovery image? (Like TWRP?)
Click to expand...
Click to collapse
What does adb root return? Can you send a screenshot?
Quinny899 said:
What does adb root return? Can you send a screenshot?
Click to expand...
Click to collapse
It returns nothing so I am not sure :/
https://imgur.com/TUeo3ky
Qufy said:
adb root runs successfully. As for the rooted boot image... Does it mean I need a custom recovery image? (Like TWRP?)
Click to expand...
Click to collapse
You have to boot (not flash) an boot image with root support and run the commands directly then.
Do a search for root Amazfit, there are some guides.
GreatApo said:
You have to boot (not flash) an boot image with root support and run the commands directly then.
Do a search for root Amazfit, there are some guides.
Click to expand...
Click to collapse
I will try that thanks
Qufy said:
It returns nothing so I am not sure :/
https://imgur.com/TUeo3ky
Click to expand...
Click to collapse
Nothing = it didn't work.
If it works it says "adbd restarting as root"
Quinny899 said:
Nothing = it didn't work.
If it works it says "adbd restarting as root"
Click to expand...
Click to collapse
Oh ok thanks
Quinny899 said:
...and not WearOS because this is from an Android 5.1.1 build from 2015
I talked about the Wear framework in this thread, and how it can be partially installed onto the Pace and Stratos
THIS DOES NOT MEAN A FULLY WORKING ANDROID WEAR BUILD!
It doesn't connect to the Wear app, even after installing all the APKs required and following the correct setup procedure (some bluetooth error, even after patching it with the supposed workaround for normal apps, it doesn't work - maybe the Bluetooth stack on these watches doesn't work for Wear)
What it does allow is for standalone wear apps with really simple functions to work. Good examples of this are Wear Bottle Spinner (eliseo.wearbottlespinner.wear) and Interval timer for Android Wear (wearablesoftware.wearintervaltimer), which on this list are "not working" due to lack of wear framework, but work after these files have been copied.
Please do not attempt this if you want a fully stable device, or don't feel comfortable debugging. It may not work for you, and you may end up having to post crash logs or have a not-working device. This is a development thread, it's not fully ready for use yet
Installation
- Download this zip
- Extract it and run the following commands from the folder
Code:
adb root
adb remount
adb push com.google.android.wearable.jar /system/framework
adb push clockwork-system.jar /system/framework
adb push com.google.android.wearable.xml /system/etc/permissions
adb push clockwork-system.xml /system/etc/permissions
adb push ClockworkAmbient.apk /system/priv-app/ClockworkAmbient/ClockworkAmbient.apk
adb reboot
I think this is all that's needed for it to work. My test device has more Wear framework APKs on it than are needed, so I'm not totally sure. If it crashes after doing this, please post a logcat and I'll see if anything else is needed - that's why this is a DEV thread!
These files were taken from the last Android 5.1.1 Wear build for the Gear 2 (itself a port): https://forum.xda-developers.com/gear-2/development/please-help-kernel-compiling-android-t2992953
Click to expand...
Click to collapse
Can it delete my ROM(PACEfied)?
Hi is it possible to run google fit directly from watch?
With framewotk or any custom build google fit apk? Anyone test it?
Will the application like a "com.huami.watch.deskclock" and another stock application still works ?
A M A Z F I T S T R A T O S
lensSGzaza said:
Will the application like a "com.huami.watch.deskclock" and another stock application still works ?
A M A Z F I T S T R A T O S
Click to expand...
Click to collapse
Yes.

Categories

Resources