[GUIDE] Send, receive and manage files on your watch from the phone using Bluetooth - LG G Watch

Hi everyone, I got my watch 2 days ago and rooted it in the first two hours and since then keept trying different android apps on the watch and since then I managed to find a way to sideload apps without a computer and I am sharing it with you.
Note: This guide assumes you have your watch connected to your phone, your phone connected to the internet, a computer around and adb installed on the computer and some abilities of using adb commands to pull files and installing apk's and some basic linux commands like "cd".
Note 2: Links to the apps are in the 2nd post.
Note 3: List of working apps and tips in 2nd post.
Note 4: Guide to using adb from the phone and connecting the watch to a new device without a format in the 3rd post.
Here are the steps:
Install ASTRO Bluetooth Module on the phone.
Install Bluetooth file transfer on the phone.
Connect the phone to the computer and pull the ASTRO Bluetooth Module apk file from data/app.
Connect the watch to the computer (adb over bluetooth or over USB) and sideload the ASTRO Bluetooth Module you just pulled from your phone.
Open the ASTRO Bluetooth Module app on your watch and tic the OBEX FTP SERVER option.
Open the Bluetooth file transfer app on your phone and switch to the Bloueooth tab (the one with the blue Bluetooth sign).
You will see your G Watch in the Cache list, click on it.
On the list that will open click on "File Transfer Profile (FTP)" and wait for it to connect.
Now the contents of the /sdcard folder of the watch should be shown on the Bluetooth tab.
To send a file switch back to your other tab and long-press on the file you want to send and click upload.
To receive a file from your watch go to the Bluetooth tab and long-press the file you want and click Download.
In the bluetooth tab you can also fully manage your sdcard folder from your watch so you can delete, move and copy any file or folder on your watch,
Enjoy.
Also in case you want to sideload apps to your watch you first need to send them using the method above and then do this:
Install terminal Emulator on your phone and sideload it to your watch the same way you did with ASTRO Bluetooth Module above.
Sideload Minuun keyboard for wear or an other keyboard if you think you can use it.
Optional, usefull only if you have root: Install ES File Explorer on your phone and sideload it to your watch.
To install apps open Terminal Emulator on your watch and go to the folder your apk file is in using the "cd" command and then do: "pm install <appname>.apk" changing <appname> to the name of your apk file.
If you choose to install ES File Explorer you can do that much easyer by enabling root acces in it and the option to automatically install and uninstall apps.
And if you want to uninstall apps directly from your watch do this:
Open Terminal Emulator.
Issue the command: "pm list packages -3" and find the package name of the app you want to uninstall
Issue the command: "pm uninstall <packagenamehere>" replacing <packagenamehere> with the package name of the app you want to uninstall.
NOTE: Uninstalling apps using ES File Explorer does unfortunately not work because it asks if you want to uninstall the app and the buttons are not on the screen so you can't click on the "Yes" option.
Done.
Here you go guys, have fun, hope this helps someone else as much as it does help me, will also try to find a way to connect the watch to the adb daemon on the phone via bluetooth and if I manage to do that I will surely post a guide.

Resources:
Astro Bluetooth Module: https://play.google.com/store/apps/details?id=com.metago.astro.network.bluetooth
Bluetooth File Transfer: https://play.google.com/store/apps/details?id=it.medieval.blueftp
Terminal Emulator: https://play.google.com/store/apps/details?id=jackpal.androidterm
ES File Explorer: https://play.google.com/store/apps/details?id=com.estrongs.android.pop
List of working apps:
-All the ones that the above post tells you to sideload to the watch
-The apps in this thread: http://forum.xda-developers.com/android-wear/general/list-sideloaded-android-wear-apps-t2908106
-MiXplorer-better as a file explorer in my opinion because of the list view, does not have music player and text editor so you still need ES File Explorer for that, also crashes when you exit-link: http://forum.xda-developers.com/showthread.php?t=1523691
Tips:
-If an app you want to sideload uses holo theme it will most probably not work, I think wear has holo removed
Thanks to:
@EpicLPer for creating that thread of sideloaded working apps.

Someone managed to execute adb commands from the phone to the watch, look here:
http://forum.xda-developers.com/android-wear/development/adb-smartphone-to-android-wear-t2987568
Also on this thread someone managed to connect the watch to a different phone without a factory reset on an older android wear version:
http://forum.xda-developers.com/and.../app-reset-wear-client-switch-phones-t3058962
But it's not that easy anymore, that you now need to do is:
First execute the (adb shell "pm clear com.google.android.gms && reboot") command
And then after the reboot execute the (adb shell am start -a android.bluetooth.adapter.action.REQUEST_DISCOVERABLE) command to be able to connect your phone
I have also made shell scripts to do that directly on the watch using terminal emulator and will upload them soon.

Great stuff sir!

crazyeats said:
Great stuff sir!
Click to expand...
Click to collapse
Glad you enjoy it, have now added a list of working apps and tips in the 2nd post, if you test other apps and they work please post them and I will add them.

Solid! Thanks

Great any update then?

johnvuong1999 said:
Great any update then?
Click to expand...
Click to collapse
Sorry I was without a PC for a week and didn't see your message, updates on what are you asking about?
If you are asking about more apps I didn't really get more apps working (android wear is just missing too many things), only some video players but they break the app "Wear Mini Launcher" for some reason, and if you are asking about using adb via bluetooth to debug the watch from the phone that's also something I didn't get working and I did try all the ideas I had.

Root required?

owais113 said:
Root required?
Click to expand...
Click to collapse
If you would have read the whole post you would have seen that it only needs root to install apps using ES File Explorer but unfortunately after the 5.1 update the "pm install" command doesn't seem to work anymore (with or without root) it just gives a "FAILED_INVALID_URI" error.
Other news is that someone on the wear general forum actually managed to run adb over bluetooth so you can now install apps from your phone directly using adb instead (but it does require root on your phone) I will post the link in the 3rd post soon.

Ranomez said:
If you would have read the whole post you would have seen that it only needs root to install apps using ES File Explorer but unfortunately after the 5.1 update the "pm install" command doesn't seem to work anymore (with or without root) it just gives a "FAILED_INVALID_URI" error.
Other news is that someone on the wear general forum actually managed to run adb over bluetooth so you can now install apps from your phone directly using adb instead (but it does require root on your phone) I will post the link in the 3rd post soon.
Click to expand...
Click to collapse
But does the watch need to be rooted or you only need a rooted phone.

owais113 said:
But does the watch need to be rooted or you only need a rooted phone.
Click to expand...
Click to collapse
Do you need root on your watch to execute the "adb install" command command from the PC?

Related

APK installer for Mac OS X??

Is there a SIMPLE gui apk installer on mac??
I used to use "Droid Explorer" and "Android Commander" on windows.
Any help?
well.. besides just draggin an apk to the sdk card and launching it with a file explorer to install, you can use adb to easily push and install an app from your mac to your computer.
download the android sdk.
open the terminal and navigate to where adb is and
Code:
./adb install <path_to_apk>
easy!
http://developer.android.com/guide/developing/tools/adb.html#move
killersnowman said:
well.. besides just draggin an apk to the sdk card and launching it with a file explorer to install, you can use adb to easily push and install an app from your mac to your computer.
download the android sdk.
open the terminal and navigate to where adb is and
Code:
./adb install <path_to_apk>
easy!
http://developer.android.com/guide/developing/tools/adb.html#move
Click to expand...
Click to collapse
Thanks for your reply. It's the method that I know man, but it's not as easy as double clicking any .apk file and clicking "install" (as in Droid Explorer for windows)
yea its seems that most of the good front ends and guis for the android tools are all made for windows.. ive used a mac the entire time ive had an android phone and i havent seen much osx love in terms of guis (with the exception of some rooting app.)
That's because everything can be done via command prompt
Sent from my ThunderBolt using XDA Premium App
chriskader said:
That's because everything can be done via command prompt
Sent from my ThunderBolt using XDA Premium App
Click to expand...
Click to collapse
yep. i was gonna say its because it has a real unix terminal but i thought it would arouse fan boys
killersnowman said:
yep. i was gonna say its because it has a real unix terminal but i thought it would arouse fan boys
Click to expand...
Click to collapse
LOL... true
hi I am on a mac running lion. I need a little help please with how to use adb to reinstall all my apk's back to my tel.
I seem to have been reading and reading but can not figure out the code to write in the terminal line.
I have my apps stored on my Desktop, in a folder called. backupapps
( the apps I am backing up are apps i have bought from the market)
I want to install them all at one time
can some one give me the adb code to install all files in my backup folder to my galaxy s2 tel. please
thanks
Plug your phone into the pc, enable USB Storage mode, copy apps to storage card. Use a program like root explorer or es explorer (my personal fav) and install the apps from there. Es Manager and Titanuim backup has nice application backup features. If you really want to use adb: adb install <path to apk> or try the cross platform QTadb application
This might help you
It will allow you to install your APK if you double click it and your phone is connected (debug mode enabled)
http://www.droidsector.com/blog/2010/06/23/easy-way-to-install-apk-files-using-android-sdk-for-mac/
I created the app successfully
Use airdroid,wireless management for any droid,it-s free apk,and web based.i'm using lion,and working ok.before i find'it i've used droidexplorer from vmware windows..very uncovenient way.
Sent from my X10i using XDA
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Thanks ✟
Moving to Q&A
Application you want found
You can use apkInstaller Application in mac.
It has GUI.
It's here:
macupdate.com/app/mac/55546/apkinstaller

[Q] Install apps to sd by default on Non Rooted Phone

Hi,
I have a Spice Mi-270 dual sim android 2.2 phone.Searching on the internet I came across an article where the procedure for installing the apps by default to sdcard is possible for non rooted phones.I tried it but when I type "adb devices" I get a blank list under list of devices attached.My phone came with the usb drivers, I have installed that.Tried installing Google USB driver package,revision 4.When the phone is plugged in get the message on the phone "USB Debugging started".Windows device manager shows "Android Phone" > Android Composite ADB Interface.Still my device is not detected with the "adb devices" command.I am using winxp pro sp3 32bit.Please Guide!
(If I have posted in the wrong section please inform me where to post)
I probably won't be helping. But on my un-rooted HTC Sensation i just have an app called app2sd. After i installed an app, if it's supported, i copy it to sd card.
Can't you just use that and save the hassle?
try this apps2sd
I have already installed the apps2sd but as said one can move the apps to sd if and only if supported by the app.Besides Android 2.2 by default provides the option to supported apps.How do I change the default install path to sd without rooting?
sounds like u need to root it and add the a2sd+ scripts OR root, install rom with a2sd+ and partition sd card accordingly.
do0b said:
sounds like u need to root it and add the a2sd+ scripts OR root, install rom with a2sd+ and partition sd card accordingly.
Click to expand...
Click to collapse
Sorry doOb but I am not looking at rooting my phone but use the option
adb shell pm setInstallLocation 2.
Why not root your phone? At the end or the day you still can unroot it. It's not like you flash to a different Rom and lost your stock Rom.
As far as I know your running froyo you already have move app to SD at the manage application in setting. There are free market app that can help you to move apps to SD with simple clicks without going to setting with the slow loading.
I'm afraid there are no default to app to SD unless you root your Rom and flash a2sd script like darktermor to make the whole process default. Better still, you also need to partition your card with an ext partition for it to work.
By the way... You should be able to adb shell your phone with a proper setup from your pc. You need to look for adb shell howto.
Sounds like your doing it from the wrong folder at cmd if your using windows. Try start cmd from the folder with adb.exe or set your system path to include the folder with adb.exe. I'm not with a pc now, I can't direct you. You have to look for it on what I mean.
By the way, can you also post the link for the article you found?
I have friends that can't root their phone. E.g HTC wildfire s
Sent from my HTC Legend using XDA App
darryl_co said:
Hi,
I have a Spice Mi-270 dual sim android 2.2 phone.Searching on the internet I came across an article where the procedure for installing the apps by default to sdcard is possible for non rooted phones.I tried it but when I type "adb devices" I get a blank list under list of devices attached.My phone came with the usb drivers, I have installed that.Tried installing Google USB driver package,revision 4.When the phone is plugged in get the message on the phone "USB Debugging started".Windows device manager shows "Android Phone" > Android Composite ADB Interface.Still my device is not detected with the "adb devices" command.I am using winxp pro sp3 32bit.Please Guide!
(If I have posted in the wrong section please inform me where to post)
Click to expand...
Click to collapse
Sounds like the original issue was the pc not seeing the device....I know this may be elementary, but do you have it in "charge only" mode and not in the disk drive mode?
"Sounds like your doing it from the wrong folder at cmd if your using windows. Try start cmd from the folder with adb.exe or set your system path to include the folder with adb.exe." - pysionx
I am starting cmd from the folder with adb.exe that laocated in platform-tools.If I was not doing so I would get the error " 'adb' is not recognized as an internal or external command operable program or batch file." and on typing adb devices in the cmd prompt I would not get the answer "list of devices"
pysionx - "By the way, can you also post the link for the article you found?"
Unfortunately no as this is my first post I am not allowed by the administrator to do so.Please Check out the attachment.Sorry for giving you the trouble to download attachment.
pfroyjr - "Sounds like the original issue was the pc not seeing the device"
If the pc does not see the device how do I get in Windows device manager showing "Android Phone" > Android Composite ADB Interface.
pfroyjr - "I know this may be elementary, but do you have it in "charge only" mode and not in the disk drive mode?"
I do not have it in "charge only" mode but in the disk drive mode, USB debugging started is the message received in the notification area.
But this causes hw to crash!
root_toor said:
But this causes hw to crash!
Click to expand...
Click to collapse
I sorry but I did not understand. what causes hardware to crash?
Google "Spice driver" I'll find a link if you can't. Windows is odd with its drivers sometimes. I remember the first time I ever used SDK I had to remove the default drivers and install the one from HTC but recently just installing the driver was good enough and I've only used adb and not the SDK. just a suggestion.
Sent from my HTC Glacier using xda premium
EDIT: I forgot which posting I was replying to, sorry....
I found THIS which sounds like it's an issue with the phone and maybe not the same Android OS that everyone else has....just what I read. Happy Googling my friend. Sounds like it's a cool device, just not quite up to par with adb.
I do have the drivers of my mobile Spice Mi-270 which was shipped along with the phone. The drivers files are of similar names with that of the google usb drivers for android except for the file versions.
Thanks pfroyjr for the link.It seems it is the problem with the phone itself as I am not the only one facing the problem with adb comand.
darryl_co said:
I do have the drivers of my mobile Spice Mi-270 which was shipped along with the phone. The drivers files are of similar names with that of the google usb drivers for android except for the file versions.
Thanks pfroyjr for the link.It seems it is the problem with the phone itself as I am not the only one facing the problem with adb comand.
Click to expand...
Click to collapse
Best advice is stay active searching for an answer...someone will eventually figure it out
I think it can be done with the help of adb .
Just run command from the folder having adb.exe file after connecting your phone in USB Debugging Mode.
"adb shell pm setInstallLocation 2"
YOu can change it to default by the following command.
"adb shell pm setInstallLocation 0"
Type the commands without quotes....
Hope it helps!!!
darryl_co said:
I have already installed the apps2sd but as said one can move the apps to sd if and only if supported by the app.Besides Android 2.2 by default provides the option to supported apps.How do I change the default install path to sd without rooting?
Click to expand...
Click to collapse
Hey try this adb command from the directory having adb.exe file after connecting your phone to your pc by enabling USB Debugging Mode on it.
adb shell pm setInstallLocation 2
You can change it back to default by this command ..
adb shell pm setInstallLocation 0
Hope it helps you ...
yagya said:
Hey try this adb command from the directory having adb.exe file after connecting your phone to your pc by enabling USB Debugging Mode on it.
adb shell pm setInstallLocation 2
You can change it back to default by this command ..
adb shell pm setInstallLocation 0
Hope it helps you ...
Click to expand...
Click to collapse
when I type "adb devices" I get a blank list under list of devices attached.When my phone is not listed how would the adb shell pm setInstallLocation command work ?
but The pc does see the device and I get in Windows device manager showing "Android Phone" > Android Composite ADB Interface.
Try to install universal root/z4root/any other rooting app and shell commander in your phone then root your device temporarily (temporary root means root will be removed when you reboot)with universal root asn then in shell commander type the commands
su
pm SetInstallLocation 2
and then you can unroot your phone
Also if you want to change back do the same but change 2(externel) to 0(auto)
Hope it helped you!!!
---------- Post added at 09:34 PM ---------- Previous post was at 09:33 PM ----------
Try to install universal root/z4root/any other rooting app and shell commander in your phone then root your device temporarily (temporary root means root will be removed when you reboot)with universal root asn then in shell commander type the commands
su
pm SetInstallLocation 2
and then you can unroot your phone
Also if you want to change back do the same but change 2(externel) to 0(auto)
Hope it helped you!!!
yagya said:
Try to install universal root/z4root/any other rooting app and shell commander in your phone then root your device temporarily (temporary root means root will be removed when you reboot)with universal root asn then in shell commander type the commands
su
pm SetInstallLocation 2
and then you can unroot your phone
Also if you want to change back do the same but change 2(externel) to 0(auto)
Hope it helped you!!!)
Click to expand...
Click to collapse
I installed universal androot and rooted the phone.
Instead of shell commander I installed Move2SD Enabler.The move2sd had three radio buttons Auto, Internal and External.Initially it displayed the radio button on Auto.I selected External and clicked apply.Now it shows External.Then I unrooted the phone.In Apps2SD I found many apps that were listed under phone only under movable apps.Few questions do arise
1.If I restore to factory defaults will the installation to external storage be resetted?
2.Whenever I Install new apps it gets installed in the phones internal storage and the I have to move to sd.Why is that so?
3.Even after moving to the sd some amount remains in the phone internal storage.why?
4.Can I check using shell commander if the install location has changed? what is the command? Do I have to root the phone again to use the command?
darryl_co said:
I installed universal androot and rooted the phone.
Instead of shell commander I installed Move2SD Enabler.The move2sd had three radio buttons Auto, Internal and External.Initially it displayed the radio button on Auto.I selected External and clicked apply.Now it shows External.Then I unrooted the phone.In Apps2SD I found many apps that were listed under phone only under movable apps.Few questions do arise
1.If I restore to factory defaults will the installation to external storage be resetted?
2.Whenever I Install new apps it gets installed in the phones internal storage and the I have to move to sd.Why is that so?
3.Even after moving to the sd some amount remains in the phone internal storage.why?
4.Can I check using shell commander if the install location has changed? what is the command? Do I have to root the phone again to use the command?
Click to expand...
Click to collapse
Restoring factory default settings will reset default install location to auto.
Since you used move to sd enabler it only makes all apps movable to sd but doesn't move them automatically.
System apps and Those apps that don't support app to sd by default can't be completely moved to sd card
Yes, you can check using shell commander but you need to riot you phone to use the command.
pm getInstallLocation
(returns default install location)
pm setInstallLocation 2
(installs app direct to external storage)
Sent from my GT-S5570 using XDA Premium App

How to Sideload Apks onto Android Wear Watch

I have been looking how to do this for a day now with no luck. All the other applications seem to be for early Android wear versions less than 2.0 or Android 5.1.1 or less.
Option 1 (Faster)
1: Install ADB on your computer. https://www.xda-developers.com/install-adb-windows-macos-linux/
2: Enable Developer Options on your wear watch. https://forum.xda-developers.com/android-wear/development/guide-how-to-connect-adb-wifi-t3368602
3: Make sure bluetooth is off, wifi on and connected to same network as laptop.
4: Turn on debug over wifi option in developer options and wait for it to show your IP.
5: On windows, make sure platform tools are on the main drive. Ex (C
6: Copy your APK files into the same folder.
7: Inside the folder, press shift and right click. Then press "open with CMD here or powershell"
8:Type .\adb connect 192.168.0.5:5555 (use your own IP, not the ex)
9: Once connected type .\adb install facebook.apk (type in your own APK name, not the ex)
10: Wait for success, and app should be on watch
FYI some computers do not need the .\adb, just type adb
Option 2 (Slower)
* Prerequisites:
1: Computer
2: Cord to connect your phone.
Tested and works with Lineage OS Android Nougat 7.1 and Android wear 2.7 on Verizon Wear24 watch
All the credit goes to the youtuber that created the video, I'm just passing along the information.
https://www.youtube.com/watch?v=1g77uIGxvcs
http://www.mediafire.com/file/8936ojtv5axl73g/Android+Wear+Sideloader.zip
https://www.apkmirror.com/
Follow the steps listed in the Start.bat, do not run as Admin.
The APK must be loaded into the main folder, not the app folder.
Currently installed Facebook Lite, tested and works.
Opera Mini opens but force closes after a few seconds.
You may need to open the start.bat twice if it doesnt load the localhost (watch) the first time.
Just a heads up the installation transfers APKS at 51 KB/s, slow! Takes about 2 minutes for a 5mb apk.
Can this be done without the need for an Android Phone? I use an odd couple (iPhone 7 Plus with a Ticwatch E). I have access to Android via a tablet only...
agonzalez1010 said:
Can this be done without the need for an Android Phone? I use an odd couple (iPhone 7 Plus with a Ticwatch E). I have access to Android via a tablet only...
Click to expand...
Click to collapse
The first option requires a computer and the watch only!
shawndak said:
I have been looking how to do this for a day now with no luck. All the other applications seem to be for early Android wear versions less than 2.0 or Android 5.1.1 or less.
Option 1 (Faster)
1: Install ADB on your computer. https://www.xda-developers.com/install-adb-windows-macos-linux/
2: Enable Developer Options on your wear watch. https://forum.xda-developers.com/android-wear/development/guide-how-to-connect-adb-wifi-t3368602
3: Make sure bluetooth is off, wifi on and connected to same network as laptop.
4: Turn on debug over wifi option in developer options and wait for it to show your IP.
5: On windows, make sure platform tools are on the main drive. Ex (C
6: Copy your APK files into the same folder.
7: Inside the folder, press shift and right click. Then press "open with CMD here or powershell"
8:Type .\adb connect 192.168.0.5:5555 (use your own IP, not the ex)
9: Once connected type .\adb install facebook.apk (type in your own APK name, not the ex)
10: Wait for success, and app should be on watch
FYI some computers do not need the .\adb, just type adb
Option 2 (Slower)
* Prerequisites:
1: Computer
2: Cord to connect your phone.
Tested and works with Lineage OS Android Nougat 7.1 and Android wear 2.7 on Verizon Wear24 watch
All the credit goes to the youtuber that created the video, I'm just passing along the information.
https://www.youtube.com/watch?v=1g77uIGxvcs
http://www.mediafire.com/file/8936ojtv5axl73g/Android+Wear+Sideloader.zip
https://www.apkmirror.com/
Follow the steps listed in the Start.bat, do not run as Admin.
The APK must be loaded into the main folder, not the app folder.
Currently installed Facebook Lite, tested and works.
Opera Mini opens but force closes after a few seconds.
Click to expand...
Click to collapse
Thx for explanation. Any clue how i can also sideload the setting of an app to wear?
nagelo said:
Thx for explanation. Any clue how i can also sideload the setting of an app to wear?
Click to expand...
Click to collapse
No clue!
shawndak said:
You may need to open the start.bat twice if it doesnt load the localhost (watch) the first time.
Just a heads up the installation transfers APKS at 51 KB/s, slow! Takes about 2 minutes for a 5mb apk.
Click to expand...
Click to collapse
really late, but mine transferred at 555KB/s, (so close to being 6s) but yeah, pretty slow
I came across this error when following the first option. Any advice?
error: more than one device/emulator
adb: error: failed to get feature set: more than one device/emulator
- waiting for device -
error: more than one device/emulator
Another method
Hey first of all I want to say thanks for your tutorial.
I found another method for sideloading your apps to your Wear OS watch.
It's my preferred method because you need no PC.
There is this apps called Apps2Fire it's made for sideloading apps to an Amazon fire TV, but if you enter the IP address of your watch and enable ADB over Wi-Fi you can sideload all apps installed on your phone or any .apk stored at your phone directly to your watch.
For me, this is the easiest way for sideloading, and it would be cool if you can add it to your tutorial.
Tutorial:
1. Install Apps2Fire on your Phone
2. Open the app and go to Setup,
3. Enter the IP of your watch/ or tap on network and let it search for your watch
4. Tap in the upper right corner on the Upload Symbol and chose your .apk and tap on it and then on install.
5. Enjoy
How can I extract an application installed on the watch?
hotplex said:
I came across this error when following the first option. Any advice?
error: more than one device/emulator
adb: error: failed to get feature set: more than one device/emulator
- waiting for device -
error: more than one device/emulator
Click to expand...
Click to collapse
I had the same problem - it was because my AVD was still running from Android Studio. Once I closed that and ran the command again, it worked fine.
would thet be wrong adb. most don't set a path in variables on Windows they will have issues for Windows would this be better fastboot too thanks great work glad people are working on wear
---------- Post added at 02:12 PM ---------- Previous post was at 02:11 PM ----------
would thet be wrong adb. most don't set a path in variables on Windows they will have issues for Windows would this be better fastboot too thanks great work glad people are working on wear https://forum.xda-developers.com/showthread.php?t=2588979
please help! error
i tried sideloading with adb. i got the watch to connect but when i tried to install the apk i got this error:
adb: failed to install gv.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
what am i doing wrong? please help!!! thank you
lindsay
shawndak said:
I have been looking how to do this for a day now with no luck. All the other applications seem to be for early Android wear versions less than 2.0 or Android 5.1.1 or less.
Option 1 (Faster)
1: Install ADB on your computer. https://www.xda-developers.com/install-adb-windows-macos-linux/
2: Enable Developer Options on your wear watch. https://forum.xda-developers.com/android-wear/development/guide-how-to-connect-adb-wifi-t3368602
3: Make sure bluetooth is off, wifi on and connected to same network as laptop.
4: Turn on debug over wifi option in developer options and wait for it to show your IP.
5: On windows, make sure platform tools are on the main drive. Ex (C
6: Copy your APK files into the same folder.
7: Inside the folder, press shift and right click. Then press "open with CMD here or powershell"
8:Type .\adb connect 192.168.0.5:5555 (use your own IP, not the ex)
9: Once connected type .\adb install facebook.apk (type in your own APK name, not the ex)
10: Wait for success, and app should be on watch
FYI some computers do not need the .\adb, just type adb
Option 2 (Slower)
* Prerequisites:
1: Computer
2: Cord to connect your phone.
Tested and works with Lineage OS Android Nougat 7.1 and Android wear 2.7 on Verizon Wear24 watch
All the credit goes to the youtuber that created the video, I'm just passing along the information.
https://www.youtube.com/watch?v=1g77uIGxvcs
http://www.mediafire.com/file/8936ojtv5axl73g/Android+Wear+Sideloader.zip
https://www.apkmirror.com/
Follow the steps listed in the Start.bat, do not run as Admin.
The APK must be loaded into the main folder, not the app folder.
Currently installed Facebook Lite, tested and works.
Opera Mini opens but force closes after a few seconds.
Click to expand...
Click to collapse
lindser112 said:
i tried sideloading with adb. i got the watch to connect but when i tried to install the apk i got this error:
adb: failed to install gv.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
what am i doing wrong? please help!!! thank you
lindsay
Click to expand...
Click to collapse
Looks like you're trying to load an app with the wrong CPU architecture! Try to download a different arch cpu type of that app.
My Fossil Carlyle doesn't showing Wifi debugging in the dev. options. Any way to get sideload without cable working?
schuetzi13 said:
Hey first of all I want to say thanks for your tutorial.
I found another method for sideloading your apps to your Wear OS watch.
It's my preferred method because you need no PC.
There is this apps called Apps2Fire it's made for sideloading apps to an Amazon fire TV, but if you enter the IP address of your watch and enable ADB over Wi-Fi you can sideload all apps installed on your phone or any .apk stored at your phone directly to your watch.
For me, this is the easiest way for sideloading, and it would be cool if you can add it to your tutorial.
Tutorial:
1. Install Apps2Fire on your Phone
2. Open the app and go to Setup,
3. Enter the IP of your watch/ or tap on network and let it search for your watch
4. Tap in the upper right corner on the Upload Symbol and chose your .apk and tap on it and then on install.
5. Enjoy
Click to expand...
Click to collapse
awesome thanks, this seems to work...it says connected on the apps2fire app...i haven't tried to upload apk yet to watch..i have fossil gen4 sport..now to find some good apks to sideload lol
I've followed everything but when i do /adb devices it doesn't show anything and when i do /adb connect with the wifi ip address... it says unable to connect to the ip address i wrote
Thanks heaps. The first method worked for me on TicWatch Pro 3 Woohooo...
Does anyone know a tutorial on how to make an apk compatible to install on a watch please?
Smeeksmiley said:
I've followed everything but when i do /adb devices it doesn't show anything and when i do /adb connect with the wifi ip address... it says unable to connect to the ip address i wrote
Click to expand...
Click to collapse
no one has explained it properly on XDA it kind of sucks for newbies tbh
Step1: go to settings - system - about - tap build # 7 times
Step2: go to settings - developer settings - adb debug -adb wifi debug on
step3: download apk on computer
step4: go to the folder with the APK in it "Shift + right click" open powershell
step5: go to the wifi on your watch click on it - get the ip address (should be 192.168.x.xx)
Step6: powershell type: "adb connect 192.168.x.xx:5555" (your watch ip address + the port 5555)
step7: powershell type: "adb -e install appname.apk" (type in the app name where i wrote the app name)
Example:
C:\Users\Bob\Downloads> adb -e install Spotify.apk
Has anyone been able to get a gcam port working on their WearOS device?

Ugoos X4 reboot loop

Hi all!
I'm testing some device because I need to install a MDM application to remote controlling the device. This Ugoos likes me but I can't find how install de MDM apk with owner permission and not getting a reboot loop.
I'm setting up the owner permission with this adb command:
Code:
adb shell dpm set-device-owner com.hmdm.launcher/.AdminReceiver
After that, if I rebooting device, when it loading the launcher the background image is displayed for a second and restarts again. If I installed MDM apk but not execute adb command, device works fine. I need owner permission for a silent install/update application, remote reboot...
I'm trying debugging with adb, but I've connected just via WiFi and with the reboot loop I can't do that. With male to male USB cable I can't to connect. I've little experience with Android, but I'm good with linux.
Can you give me any recommendations to get owner permission? Or how debugging it?
P.D: I've installed another launcher (Nova) and setup as default I device works fine.
ppalacios said:
Hi all!
I'm testing some device because I need to install a MDM application to remote controlling the device. This Ugoos likes me but I can't find how install de MDM apk with owner permission and not getting a reboot loop.
I'm setting up the owner permission with this adb command:
Code:
adb shell dpm set-device-owner com.hmdm.launcher/.AdminReceiver
After that, if I rebooting device, when it loading the launcher the background image is displayed for a second and restarts again. If I installed MDM apk but not execute adb command, device works fine. I need owner permission for a silent install/update application, remote reboot...
I'm trying debugging with adb, but I've connected just via WiFi and with the reboot loop I can't do that. With male to male USB cable I can't to connect. I've little experience with Android, but I'm good with linux.
Can you give me any recommendations to get owner permission? Or how debugging it?
P.D: I've installed another launcher (Nova) and setup as default I device works fine.
Click to expand...
Click to collapse
to make an app owner you need to add/edit device_policies.xml and device_owner_2.xml, these then need to be started by init in the post-fs-data section in the /data/system partition, to copy the XML files to system/data use init.rc to copy the files to /data/system, not sure if much help
heres some info may be useful https://burningthumb.com/setting-the-device-owner-in-an-aosp-build-for-android-9-pie/
aidanmacgregor said:
heres some info may be useful https://burningthumb.com/setting-the-device-owner-in-an-aosp-build-for-android-9-pie/
Click to expand...
Click to collapse
Thanks Aidan.
I read that days ago but in my case, the app is not developed by me. Is headwind mdm application.
Can I follow the instructions of the link even if is third party app?
Thanks for your help
ppalacios said:
Thanks Aidan.
I read that days ago but in my case, the app is not developed by me. Is headwind mdm application.
Can I follow the instructions of the link even if is third party app?
Thanks for your help
Click to expand...
Click to collapse
yes looks like you will be modifying the firmware rather than the app, the info is there but your not building from source so you will need root to add the files and to edit others
aidanmacgregor said:
yes looks like you will be modifying the firmware rather than the app, the info is there but your not building from source so you will need root to add the files and to edit others
Click to expand...
Click to collapse
Sorry for bother you Aidan, I appreciate your help so much
I've got root access and I've seen that set-device-owner adb command execution create the device_owner_2.xml and device_policies.xml automaticly and they are storage in /data/system. In fact, I'm reading dpm command (adb) is the new way to grant the owner permission without modifing xml files The bad news, I'm still getting reboot loop.
I can't to write into init.rc because the file is in /system and this partition is read only. The same way, can't copy decice_owner_2.xml and device_policies.xml in /system partition (this I read on some forum on internet).
Could I get a logcat from adb to get more info about the crash app? I've only wifi adb connection. I've a male-to-male USB and it connected to OTG port of Ugoos device.

xiaomi stick 4k - unable to sideload Apps Android 11

Hi,
I just bought a mi 4K stick. Android 11
Everything works like a charm except sideloading apps.
Enabled Unknown Sources.
Disabled Google protect.
Granted permission for Downloader and File commander.
Downloader: whenever i click on the file and open the apk to install, it will show the progress bar for 2 seconds and then close. no error.
File Commander: Whenever i try to install the file, progress bar showing staging app and then nothing happens.
I tried the same APK on my TCL Smart TV and it worked like a charm. Android 9
Any hint would be appreciated.
Thanks,
Same problem, any solution?
Same here
Can't install any outside apps
Also mx players doesn't read all files on my external drive
3la2Saber said:
doesn't read all files on my external drive
Click to expand...
Click to collapse
What file systems does the xiaomi stick 4k support via usb? Is it more than just fat32?
Are ntfs and exfat supported?
3la2Saber said:
Can't install any outside apps
Click to expand...
Click to collapse
Others have mentioned the same issue. You could try a third party installer app like "downloader".
Or, using adb install or other system level tools.
Do you find solution?
Hi,
did anyone find a solution for this problem ?
a Quick update.... I managed to install apps using ADB Command.
first, enabled developed mode and usb debugging.
enabled unknown source
run adb command from windows laptop and install the apk ( adb install apkname)
https://sites.google.com/site/tweakradje/devices/xiaomi-mi-tv-stick?authuser=0 was very helpful....
i also got them installed thru adb , but when restart all of these apps will go away, its really annoying
to install the apps , follow these below steps :
from the CMD
adb.exe connect "IP address of your android device"
cd " location for your apk apps "
adb install " appname "
done
please if anyone find a solution to make these apps stands , share it with us
got it done successfully
now it runs as it should be
i only did a couple factory reset , then it works
most important , when download the downloader app, make sure you provide full accesses and grant permission for unknown app before open the downloader app
and the same for any other apps , download any desire app from downloader then install it , provide permissions then use the app
that's it
thansk
zahi_k said:
Disabled Google protect.
Click to expand...
Click to collapse
No need for this.
Dear Assad. Can you please have a step by step in how you did it. It would be appreciated
Hello All. I was able to side load some of the apps using adb. I was not successful to install everything but I did not try to see why. I was able to load the apps that I needed and that is why I did not go further. Also, experts might have an idea why I was not able to do it. nonetheless, here is what I did
1- Download the ADB file and rename it to .CMD __TV_STICK_MODS.CMD__
2- Once downloaded and renamed to say"tv_stick_mods.cmd" (just an example), double click the file to run it.
3- It will prompt you to download the adb.exe and it will take you to the site where you can download it from. You will have to download this file "platform-tools_r34.0.1-windows"
4- Once downloaded, you need to extract the the file in a folder where you know the location and add to the same folder the "tv_stick_mods.cmd" (all have to be in the same folder)
5-Download the apps that you want to side load (no need to put them in the same folder)
6- Go to your Mi box stick and enable developers option and enable USB debugging
7- Also from your Mi box go to the setting of your network connection and obtain the IP address for your Mibox (should be something like 192.167.XX.XX)
8- Run "tv_stick_mods.cmd" again and it will prompt you to enter the IP address for the Mi stick. Enter the IP address that you have obtained in #7 and it will try to connect and it will show you a message on the TV to allow PC to connect (Make sure that you are on the same network as the MI stick)
9- Once permission is granted, then go back to PC/ Laptop and you will see a message that says "this does not seem to be a mi-stick do you want to continue"
10- hit yes and it will take you to another menu where you can explore all the options that you can do with the Mi stick from your laptop.
11- for installing apps, choose option 8 (copy / Install/uninstall)
12- In the next menu chose install and it will prompt you to choose the app that you want to install
13- Go to the location where you downloaded the app and choose the app that you want to install
14- It will prompt you if you want to install that app or not. Hit yes and let it install (should not take more than 10 Secs)
15- once done, it will show success and hit any key. Once this is done, go back and see if your app has been installed.
Hope this procedure helps you guy like it did to me and please if there is any flow in what I did please correct me
sambosat said:
Hello All. I was able to side load some of the apps using adb. I was not successful to install everything but I did not try to see why. I was able to load the apps that I needed and that is why I did not go further. Also, experts might have an idea why I was not able to do it. nonetheless, here is what I did
1- Download the ADB file and rename it to .CMD __TV_STICK_MODS.CMD__
2- Once downloaded and renamed to say"tv_stick_mods.cmd" (just an example), double click the file to run it.
3- It will prompt you to download the adb.exe and it will take you to the site where you can download it from. You will have to download this file "platform-tools_r34.0.1-windows"
4- Once downloaded, you need to extract the the file in a folder where you know the location and add to the same folder the "tv_stick_mods.cmd" (all have to be in the same folder)
5-Download the apps that you want to side load (no need to put them in the same folder)
6- Go to your Mi box stick and enable developers option and enable USB debugging
7- Also from your Mi box go to the setting of your network connection and obtain the IP address for your Mibox (should be something like 192.167.XX.XX)
8- Run "tv_stick_mods.cmd" again and it will prompt you to enter the IP address for the Mi stick. Enter the IP address that you have obtained in #7 and it will try to connect and it will show you a message on the TV to allow PC to connect (Make sure that you are on the same network as the MI stick)
9- Once permission is granted, then go back to PC/ Laptop and you will see a message that says "this does not seem to be a mi-stick do you want to continue"
10- hit yes and it will take you to another menu where you can explore all the options that you can do with the Mi stick from your laptop.
11- for installing apps, choose option 8 (copy / Install/uninstall)
12- In the next menu chose install and it will prompt you to choose the app that you want to install
13- Go to the location where you downloaded the app and choose the app that you want to install
14- It will prompt you if you want to install that app or not. Hit yes and let it install (should not take more than 10 Secs)
15- once done, it will show success and hit any key. Once this is done, go back and see if your app has been installed.
Hope this procedure helps you guy like it did to me and please if there is any flow in what I did please correct me
Click to expand...
Click to collapse
hello dear , I tried it and its working i can install the application i need now thank you. but i am still facing one more issue that after restart different apps removed automatically. i disabled google protect from google play store. even some apps installed from google play got deleted. do you know what is the problem and how to solve it? thanks in advance.
Hello;
Well... for the issue of deleted Appz I'm still looking into a solution for this as I'm also facing this issue and till now I was unable to resolve it. Also I have another issue that not all the Appz can be installed. If anyone has an Idea it would be good to share
sambosat said:
Hello;
Well... for the issue of deleted Appz I'm still looking into a solution for this as I'm also facing this issue and till now I was unable to resolve it. Also I have another issue that not all the Appz can be installed. If anyone has an Idea it would be good to share
Click to expand...
Click to collapse
hello, also for me still searching for solution for auto deleting apps after restart. for some apps not being installed try to search for another app version that match the stick from https://www.apkmirror.com/ . i am choosing the version compatible with armeabi-v7a and its working fine with me for the apps I need.
Good point I will check it out also I totally forgot about compatibility issue. Thank you for the update

Categories

Resources