Install apk from Chromebook. - Amazfit

Hi!
I wonder if it's possible to install apk files on my Stratos from a Chromebook since I don't have a Windows PC/laptop.

1. Use adb from the terminal/command prompt (most ChromeOS devices now allow installing a Linux subsystem and then you should be able to install/run adb if it not natively available).
2. Install FileManager+ and PaceOn on watch some how, use PaceOn to keep WiFi connected, start remove access (it's actually a FTP server) in File Manager+ then use any FTP client on your ChromeBook to copy the files, then use BugJaeger app to connect to watch via WiFi and run the adb commands to install the app;
3. Install AmazMod on both phone and watch (If you can install Amazfit on Chromebook the probably you can also install AmazMod from it too).

If you have an android phone, use BugJaeger over wireless adb
https://play.google.com/store/apps/details?id=eu.sisik.hackendebug

Related

Recompiling Platform For Logitech Revue

Alright so I am playing around with my Logitech Revue, and I can connect via ADB is there a way I can use this to DL the files I need to compile the platform?
Also more generally without the use of applications like diff and grep what is the best way to analyze what files are necessary to pull down for a port.
So basically here are my skills...
I can build a platform using the source found at s.android.com
I can adb into my Logitech Revue
so how do I create a system image and flash my existing revue adding an additional system application (call it SampleApplication)
Thanks guys
P.S. If you want to connect...
1.) go into you Google TV and set your remote debugger to be the IP of the computer running adb.
2.) adb connect <IP of GOOGLE TV>
3.) adb shell
4.) profit???????

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

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?

How to recieve files from a computer over Wi Fi ?

I am trying to transfer a file from a computer to my mobile.
The main problem is that
(1) the computer does not have bluetooth
(2) the usb ports are set to read-only mode
(3) I do not have administrator access to the windows 10 OS of my computer.
That means, I cannot install any software on windows that requires administrator access, as most softwares require. However, the computer has fully working Wi-Fi.
Is there any method of sending a file from computer to my android phone, over Wi-Fi, with minimal softwares to be installed on windows ?
I can, however, run any standalone .exe file or install a software that does not require admin access.
I am using Windows 10 64-bit and I can use any android of the following versions: 4.3, 4.4.2, 4.4.4, 5.1, 6.0.
[Another option would be to connect the phone and use the MTP or PTP protocol or to use usb debugging with adb push but I am trying to avoid those]
http://superbe.am/for-pc/
DOWNLOAD PORTABLE .EXE FILE
Edit:
And follow the link below after choosing files. Don't get the app on the phone (Minimal )
(And hit thanks?)

Amazfit Pace Enable App list and Install Apps - Altentative way

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\platform-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.

[Guide] Wireless file transfer Pace/Stratos (workaround for no USB connection)

Requirements:
- Amazfit watch, any model, any ROM (don't need to unlock anything and it will NOT void your watch's warranty, these are simple APKs);
- PaceOne and FileManager+ by AlphaInventor on watch, any FTP client on phone or computer.
Click to expand...
Click to collapse
This works with both phone and computer, you don't need USB cable and it works both ways: you can send files to watch and retrieve files too. Don't forget to disable WiFi on watch after you are done to prevent extreme battery drain if it remains on!
----- Procedure
1. Install PaceOn and Filemanager+ by AlphaInventor on watch;
2. Configure PaceOn to turn on WiFi and start its service so screen won't go off (you can use the dim option to use less battery) and the WiFi remains on;
3. Go to FileManager and start Access from Computer (lower right option), WiFi should be on already, tap on Start Service and note the number above (IP_numberort_number);
4. On your phone or computer, use a FTP client (the same app works for Android phones, pick your favorite on iOS) to create a new Remote Access using FTP, and connect using the previous info: IP_numberort_bumber, you can set *any* name as login and password.
Now you can send and receive files wirelessly to the watch using your phone or computer. As a bonus, you can use FileManager+ also to uninstall apps directly on watch and other stuff.
----- Extra Tip: How to Setup Without USB (using WiFi only)
How to use this when USB connection doesn't work? It's not hard, but you must keep your watch screen on until you can install PaceOn. First, go to watch Settings -> Connection and connect to a 2.4GHz network, then use any scanner tool to find out what is the IP used by the watch. You must keep the screen on or the connection will drop. Once you find the IP, use adb to connect to watch:
Code:
adb connect watch_IP
where watch_IP is the actual IP used by watch (in the pics below, it's 192.168.0.26, for instance). tThen you can install PaceOn and FileManager+ normally:
Code:
adb install app_name.apk
Install PaceOn first, then use it to activate WiFi and keep screen on so the watch won't disconnect.
----- Downloads & Apps
PaceOn can be found here (please *read* the post to learn how to use it, it has pictures and it's not hard):
https://forum.xda-developers.com/sm...paceon-amazfit-pace-screen-long-want-t3700247
I am using FileManager + v1.7.1, that can be found here (newer versions may work too):
https://apkpure.com/file-manager/com.alphainventor.filemanager
You can use the same file to access the FTP server on your Android phone. For iOS, you can use FileExplorer or any other app with builtin FTP client:
https://itunes.apple.com/app/fileexplorer-file-manager/id510282524?mt=8
For computer (all platforms), I recommend FileZilla:
https://filezilla-project.org
Thanks! Lifesaving, after my USB-Connection dont Work anymore... with Installation of the Filemanager i was able to delete old MP3, to Upload new songs i can use the integrated function in the Amazifit-App, but you cant delete songs their...
Many Thanks!
My usb connection is not working on watch (Pace). So it dont connect to pc any more I have stock rom on watch. Is it possible to transfer/ install the watch faces wirelessly to watch? If yes then how? Or is there any way through which i can access the folders on watch wirelessly Please help me.
Thank you
with best regards.
Thank you very much! This worked for me in Amazfit Stratos 2 using FileManager 2.0, as 1.7.1 is no lnger available.

Categories

Resources