Root for Android Wear Emulator - Wear OS Software and Hacking General

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

Related

Just wanna make sure before attempting

Sony Tablet S 3.2.1 (release2) Kernal Version: 2.6.3.6 [email protected] #1 Build number THMASOO124OOO can i root this? if so can you point me to the right direction? not tell me how to do it but where i can find a tutorial because i don't wanna mess it up you know thanks much appreciated
hey
as far as I know, only build #10 devices are not root able
if you want to root your tablet, enable USB-Debugging in your options,
after you have done that, go to this post, install the usb drivers, if you want to test if adb is working, start the batch file, which is located in the folder of the drivers, than type in the batch file, "adb devices", without" ", if it found devices, proceed to the next step
got to this post, download the AoI tool by condi, extract the tool, start the tool
type in "1" than press enter, wait till it's finished, exit.
congrats your tablet is rooted
I would recommend you, to also install the rescue-backdoor.
I hope that I could help you with my confusing tutorial
cheers
Lyxath said:
hey
as far as I know, only build #10 devices are not root able
if you want to root your tablet, enable USB-Debugging in your options,
after you have done that, go to this post, install the usb drivers, if you want to test if adb is working, start the batch file, which is located in the folder of the drivers, than type in the batch file, "adb devices", without" ", if it found devices, proceed to the next step
got to this post, download the AoI tool by condi, extract the tool, start the tool
type in "1" than press enter, wait till it's finished, exit.
congrats your tablet is rooted
I would recommend you, to also install the rescue-backdoor.
I hope that I could help you with my confusing tutorial
cheers
Click to expand...
Click to collapse
k i understand all this but that last part when you said install resuce backdoor, do you mean after i rooted? correct? awesome deal mane i appreciate your time and effort
Update: also i googled this but i dont' quite understand the concept of rooting, i know its admin previlages but does that mean i could run apps that aren't for the tablet S in market like say ORDER AND CHOAS MMO ? ? ?
biggyhead said:
k i understand all this but that last part when you said install resuce backdoor, do you mean after i rooted? correct? awesome deal mane i appreciate your time and effort
Update: also i googled this but i dont' quite understand the concept of rooting, i know its admin previlages but does that mean i could run apps that aren't for the tablet S in market like say ORDER AND CHOAS MMO ? ? ?
Click to expand...
Click to collapse
yes u can only do install rescue backdoor after the tab is rooted.
rooting in android means gaining root access. Market aka PlayShop is a place where all androids apps/games are hosted. Weather u can play on Sony Tab or other android devices are purely base on the Android version (eg: 2.3.5(GB), 3.2.1(HC), 4.0(ICS) ).
if u ever come across apps like Titanium Backup, CPU Tuner... u will need root previlages to run it because it is meddling with the Android system settings which default the tab is mainly run as a normal user. Also, with rooted android devices, u can change the wifi binary to support adhoc wifi which again, by default it is not enabled. It seems that ICS does support it thou base on the adhoc wifi functions i see.
hope this info gives u a better picture about android rooting. for apple devices u jailbreak to install free apps or freely distributed IPA files.
zerod78 said:
yes u can only do install rescue backdoor after the tab is rooted.
rooting in android means gaining root access. Market aka PlayShop is a place where all androids apps/games are hosted. Weather u can play on Sony Tab or other android devices are purely base on the Android version (eg: 2.3.5(GB), 3.2.1(HC), 4.0(ICS) ).
if u ever come across apps like Titanium Backup, CPU Tuner... u will need root previlages to run it because it is meddling with the Android system settings which default the tab is mainly run as a normal user. Also, with rooted android devices, u can change the wifi binary to support adhoc wifi which again, by default it is not enabled. It seems that ICS does support it thou base on the adhoc wifi functions i see.
hope this info gives u a better picture about android rooting. for apple devices u jailbreak to install free apps or freely distributed IPA files.
Click to expand...
Click to collapse
oh so same general idea DUDE AWESOME THANKS SO MUCH i really appreciate your time mane i have decided to take the risk after more reading on rooting thanks so much i really appreciate this i can't wait!
biggyhead said:
oh so same general idea DUDE AWESOME THANKS SO MUCH i really appreciate your time mane i have decided to take the risk after more reading on rooting thanks so much i really appreciate this i can't wait!
Click to expand...
Click to collapse
np.. we should all thank Condi and bunch for their efforts to make root possible on sony tab...
have fun!
zerod78 said:
np.. we should all thank Condi and bunch for their efforts to make root possible on sony tab...
have fun!
Click to expand...
Click to collapse
ran into a problem i did everything but it says error can't find path, says like mtp something i don't have it?
UPDATE: that one doesn't work with the other adb you gota use the one given by him http://forum.xda-developers.com/showthread.php?t=1488822 or you get an error so second part doesn't work , which in term scared the **** OUT OF ME when the program turned red but it works now with dj's style ROOTED WHOOO i think iono how to tell xD
biggyhead said:
does that mean i could run apps that aren't for the tablet S in market like say ORDER AND CHOAS MMO ? ? ?
Click to expand...
Click to collapse
Absolutely my good man!
go to this thread to change you build.prop (makes it/the market think it's a different device)
I've been known to pull out my sony tab at work on lunch, crank the wifi hot spot on my phone and smash out a few minutes of questing lol It's truly the best
biggyhead said:
Sony Tablet S 3.2.1 (release2) Kernal Version: 2.6.3.6 [email protected] #1 Build number THMASOO124OOO can i root this? if so can you point me to the right direction? not tell me how to do it but where i can find a tutorial because i don't wanna mess it up you know thanks much appreciated
Click to expand...
Click to collapse
I rooted my Sony s and the only # that change from urs r the THMAS#
DreadPirateDan said:
Absolutely my good man!
go to this thread to change you build.prop (makes it/the market think it's a different device)
I've been known to pull out my sony tab at work on lunch, crank the wifi hot spot on my phone and smash out a few minutes of questing lol It's truly the best
Click to expand...
Click to collapse
im so glad i read this sick wit it!!!

[Q] how to install an app using terminal emulator/android sdk/adb??

title says it all.
okay im a big strategy games fan, and my favorite on android market are drisk and landrule. i used to play the best strategy games back when i was using my sony ericsson g900 running symbian uiq. the game is called warring nations.
so last night, i seach on google, it says there are warring nations for android! but to install is a bit different. can someone teach me how to install by following the guide it says?
i really want this game and i miss to play it. it is much better than drisk and landrule with better graphics but almost same gameplay.
http://www.3androidapps.com/app/Warring+Nations+1.3-13191.html
http://www.3androidapps.com/app/Warring+Nations+1.3-install_guide.html
click on the second link for guide how to install it on android phone, i dont get "This last step is easy. Open Command Prompt and type the following: adb install <apk file>" part. help?
I will answer your title question.
To install it the easiest way is as follows:
Download and install flashtool.
Root your phone.
Place the apk you want to install at .../flashtool/custom/apps.
Connect your phone to the PC over USB
Then open flashtool.
Select the icon which looks like an arrow (the 5th one from right).
And then click on OK, and the app will be installed. You will get the log in the main screen of flashtool.
Thanks,
Rick
Sent from my SK17i using XDA
Or
Code:
adb install (path with the filename)
So for example
Code:
adb install C:\Users\Username\Desktop\Titanium_Backup.apk
Thx 4 useful info bro... was searching 4 this 4 so long
THX MAN...
Just a little FYI,
If your thread begins with a Question(Q) it belongs in the Q&A thread
Moved to Q&A
You can use Android Injector (freeware).
It's fast and easy. Install Android Injector, connect your device to PC via USB, choose the file you want to install and that's all.
Someguyfromhell said:
Or
Code:
adb install (path with the filename)
So for example
Code:
adb install C:\Users\Username\Desktop\Titanium_Backup.apk
Click to expand...
Click to collapse
Tôi phải làm sao để cài đặt ứng dụng bằng Terminal Emulator
xuandatandroid said:
Tôi phải làm sao để cài đặt ứng dụng bằng Terminal Emulator
Click to expand...
Click to collapse
Please speak English on this forum.

Ubuntu Touch (Latest)

Hello everyone,
I've managed to make a build that boots with the latest versions of ubuntu touch and I wanted to share it with you because I've also been following this thread eager to install ubuntu touch on my phone, although the method to install still might be complicated for some at the moment.
So first off you need to be using Linux, as I don't think project rootstock works on Windows
To install it you must follow the instructions I found here which are, in a terminal:
sudo apt-get install android-tools-fsutils qemu-user-static bzr
android-tools-adb
bzr branch lproject-rootstock-ng
cd project-rootstock-ng
Click to expand...
Click to collapse
then to get the rootfs with the mir fixes
./rootstock-touch -p pps:rsalveti/ppa
Click to expand...
Click to collapse
which takes a little while or you can download the tar.gz from here
but once the screen turns off it takes a while or a reboot to get it back on
Once that part is finished download all the files at the end of the post and put them in the project-roostock-ng directory to make things easier
then in the same terminal with your device connected to bootloader:
sudo fastboot flash boot ./boot.img
sudo fastboot flash recovery ./recovery.img
Click to expand...
Click to collapse
Reboot your device to recovery and do a full wipe, once that's done, with your device still connected to usb, in the same terminal type:
./rootsotck-touch-installer ./out-XXXXXXXX/ubuntu-touch.rootfs-armhf.tar.gz ./system.img
Click to expand...
Click to collapse
your device should reboot on its own, once you get to the black screen type:
adb shell
mount /dev/loop0 -o remount,rw
exit
adb push 70-m7ul.rules /usr/lib/lxc-android-config
adb push m7ul.conf /etc/ubuntu-touch-session.d
adb reboot
Click to expand...
Click to collapse
and your device should load the ubuntu lockscreen
Here are the files for m7ul:
system.img
boot.img
recovery.img
70-m7ul.rules
m7ul.conf
for m7spr (not tested):
boot.img
recovery.img
system.img
and download the 70-m7ul.rules and m7ul.conf but replace m7ul with m7spr
What works:
UI
camera
auto-rotation
Wifi (tested only on at&t version)
Audio (I've managed to get audio to work if the headphones are plugged in but not all the way, you really gotta find the sweet spot so it's not really useable yet but it's still progress.)
What doesn't work:
GSM
etc
it should run more smooth and the phone should get less hot
Backup file - http://www.mediafire.com/download/2xnfez828442k3l/2014-06-17--17-26-37.zip
I also found a way to have the same kind of dual boot setup canonical made for the nexus 4 by flashing the boot.img (the newer one can be found here http://www.mediafire.com/download/i9kmmwvc3gmb0kb/boot.img) on the recovery partition and keeping the internal rom's boot on the boot partition, so in theory if you flash a rom without wiping after flashing the backup and you flash the boot.img I provided on the recovery partition it should also work and then to get ubuntu you reboot in recovery and to get android you just boot normally, the problem is you lose your recovery temporarily and you have to reflash it if you want to use it until canonical finds a different way or I manage to get it to work with multirom.
delete
Sent from my HTC One_M8 using Tapatalk
ModestMouse1312 said:
He told me to post this here?
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
could you please upload the backup of your rom so that we can install. I don't have linux installed on my laptop.
Great JOB! Thank You very much lots of people are waiting for working ubuntu touch rom and this is another big step forward!
https://www.dropbox.com/s/zz6xlm30ffskcol/2014-06-12--03-27-15.zip here is the twrp backup. just unzip it
ModestMouse1312 said:
https://www.dropbox.com/s/zz6xlm30ffskcol/2014-06-12--03-27-15.zip here is the twrp backup. just unzip it
Click to expand...
Click to collapse
may be you should update OP but wifi actually works
saketh91 said:
may be you should update OP but wifi actually works
Click to expand...
Click to collapse
wifi works? not for me? i have at&t
ModestMouse1312 said:
wifi works? not for me? i have at&t
Click to expand...
Click to collapse
i have at&t too and it works pretty well for me. I was playing with some settings and suddenly wifi networks popped up and got connected. I then tested if the internet is working by using both facebook and browser. It is working pretty fine for me. Will post screenshots if needed
saketh91 said:
i have at&t too and it works pretty well for me. I was playing with some settings and suddenly wifi networks popped up and got connected. I then tested if the internet is working by using both facebook and browser. It is working pretty fine for me. Will post screenshots if needed
Click to expand...
Click to collapse
my backup wont show up in twrp? any help? lol (nevermind didnt copy to the right place xD)
ModestMouse1312 said:
my backup wont show up in twrp? any help? lol
Click to expand...
Click to collapse
backup should be something like this.
/TWRP/BACKUPS/HT34CW900897/2014-06-12--03-27-15.
what I mean by this is that the backup folder should be in sub folder of backups not in backups itself. I already had a backup of my android rom and now I pasted your backup folder in HT34CW900897 folder not in BACKUPS
saketh91 said:
backup should be something like this.
/TWRP/BACKUPS/HT34CW900897/2014-06-12--03-27-15.
what I mean by this is that the backup folder should be in sub folder of backups not in backups itself. I already had a backup of my android rom and now I pasted your backup folder in HT34CW900897 folder not in BACKUPS
Click to expand...
Click to collapse
what did you do to get wifi working?
ModestMouse1312 said:
what did you do to get wifi working?
Click to expand...
Click to collapse
Is it still not working for you? Trust me I did not touch anything. I just restored ur backup file and it worked. If you still dont believe i can post screenshots for you. Btw i am using the oldest firmware. Hboot 1.43. Just for your info(if that really matters)
saketh91 said:
Is it still not working for you? Trust me I did not touch anything. I just restored ur backup file and it worked. If you still dont believe i can post screenshots for you. Btw i am using the oldest firmware. Hboot 1.43. Just for your info(if that really matters)
Click to expand...
Click to collapse
ah, it finally started working after about 30 minutes.
ModestMouse1312 said:
ah, it finally started working after about 30 minutes.
Click to expand...
Click to collapse
finally it worked. now getting gsm and audio working would be a great achievement. I am learning things now and if I am of anyway useful to this project I would gladly contribute.
saketh91 said:
finally it worked. now getting gsm and audio working would be a great achievement. I am learning things now and if I am of anyway useful to this project I would gladly contribute.
Click to expand...
Click to collapse
go for it man, if you can develop it first just take over
ModestMouse1312 said:
go for it man, if you can develop it first just take over
Click to expand...
Click to collapse
when I try to execute this command "./rootstock-touch -p pps:rsalveti/ppa" I get this error. please help me with this
saketh91 said:
when I try to execute this command "./rootstock-touch -p pps:rsalveti/ppa" I get this error. please help me with this
Click to expand...
Click to collapse
you need to install the debootstrap utility , I guess a sudo apt-get install debootstrap will do it
cuyo11 said:
you need to install the debootstrap utility , I guess a sudo apt-get install debootstrap will do it
Click to expand...
Click to collapse
thank you that worked like a charm. I should have double checked the dependencies installed
Error 509 on link, can someone please mirror it?

[GUIDE] Install fleksy keyboard on any android wear with ADB

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

[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