Amazfit Custom Calculator App - Amazfit

All Amazfit Users,
You may be aware that you can load custom Android application to the great Amazfit watch using ADB and launch them using the Launcher UI. So I decided to try a simple calculator for the Watch.
After a couple of days of tweaking around the layout / logic / functionalities to include, I settled down on some basic functions and layout and was able to install and test on the Amazfit.
Give it a try and share your thoughts. Reminds me of the old Casio calculator watches
Instructions:
Download the APK from here: https://mega.nz/#!yIIWVYDT!aIzbrGPJ8sl8bDpn6Ro3aqQoxBEYd6Z-Jf5Db5LoVw8
Connect the watch to your computer via USB and access via ADB (install ADB Drivers as needed)
Open command prompt or shell
Type "adb devices" to check if your devices is listed
Type "adb install calculator.apk" to install the app to the watch (make sure to use the correct path to the APK, if not copied to ADB folder)
You should see the Success message after sometime
To uninstall type "adb uninstall com.madtechcorp.amazfitcalculator" from your command prompt or shell
In the watch, if you have not already enabled "Launcher App List", go to "More Settings" -> "About" -> Keep clicking legal information till you see countdown to zero. Once that is done, you will have the Lab link below. Click on Lab and select "Launcher AppList". This will restart your Launcher. Now go to the Right most app from your watch face, you will see the Launcher.
Scroll through and Click the Calc icon to launch the Calculator.
Notes:
Try to your own risk (though I don't see any risk here
Launcher AppList may only be available in Chinese ROM. Not sure if it is available for US ROM Version. (If you are interested, there is thread by Neuer_User here https://forum.xda-developers.com/showthread.php?t=3539431 that will allow you to install latest English Translated Chinese ROM on your watch.
The watch will vibrate shortly when you press any operator (like +, -.) and vibrate little longer if there is overflow error. Little indicators l added
Credits: Langdon Himebaugh (https://github.com/langhimebaugh/Calculator) for logic and layout ideas.

Thank you.
Just to mention, there is already calculator app working for Amazfit smartwatch.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
link to the apk: https://drive.google.com/file/d/0B8UqPUOXs5AFdTJZZS1ZRnBpTGM/view?usp=sharing

Is it much work to add a countdown timer?
Thx

madtech360 said:
All Amazfit Users,
So I decided to try a simple calculator for the Watch.
Click to expand...
Click to collapse
calzone123 said:
Thank you.
Just to mention, there is already calculator app working for Amazfit smartwatch.
Click to expand...
Click to collapse
Both work and now i can not decide which one i prefer. Thanks for sharing!

calzone123 said:
Thank you.
Just to mention, there is already calculator app working for Amazfit smartwatch.
link to the apk: https://drive.google.com/file/d/0B8UqPUOXs5AFdTJZZS1ZRnBpTGM/view?usp=sharing
Click to expand...
Click to collapse
to uninstall this one, use:
Code:
adb uninstall rocketstartups.wearcalculator
just in case, someone needs that information.

hello you do not plan to do to watch app notes ?

martinh22 said:
hello you do not plan to do to watch app notes ?
Click to expand...
Click to collapse
App notes for a calculator app?
I do not understand what you mean or what's the purpose of that.

he asked for a note app, not related to the calculator

1immortal said:
he asked for a note app, not related to the calculator
Click to expand...
Click to collapse
Ah, okay. Misunderstood it as i thougt this thread was abbout calc app.

nice work, thanks! So... would you mind sharing the code?

calzone123 said:
Thank you.
Just to mention, there is already calculator app working for Amazfit smartwatch.
link to the apk: https://drive.google.com/file/d/0B8UqPUOXs5AFdTJZZS1ZRnBpTGM/view?usp=sharing
Click to expand...
Click to collapse
Hi, the link is down, can you upload again?
Thanks

Hello,
madtech360 said:
You may be aware that you can load custom Android application to the great Amazfit watch using ADB and launch them using the Launcher UI. So I decided to try a simple calculator for the Watch.
After a couple of days of tweaking around the layout / logic / functionalities to include, I settled down on some basic functions and layout and was able to install and test on the Amazfit.
Click to expand...
Click to collapse
How do you compile your project ?
I have tried a empty project with just one empty activity, compiled it with Google Studio using SDK 21.
Application installed correctly but cannot start !
Could you share your sources and project, please ?
Thank you,
Vicnet

HI i have just bought the US Version and am just 1 day old on the same... i got till the LAB level but in that there is no launch app option, how can i get this, as would love to have the apps that you are describing here in this forum.
please let me know how to get it.. without having to add Chinese ROM

utu72 said:
HI i have just bought the US Version and am just 1 day old on the same... i got till the LAB level but in that there is no launch app option, how can i get this, as would love to have the apps that you are describing here in this forum.
please let me know how to get it.. without having to add Chinese ROM
Click to expand...
Click to collapse
I am assuming you have installed the apk.
What do you see when you go into Lab option? Do you see list of items? if so, one of them should be "Launcher Applist".
Clicking on this enables/disables a launcher application. Once enabled, the launcher can be accessed by swiping all the way to the right from the watchface. Here you will see many Huami apps and other apps that you have installed through adb.

utu72 said:
HI i have just bought the US Version and am just 1 day old on the same... i got till the LAB level but in that there is no launch app option, how can i get this, as would love to have the apps that you are describing here in this forum.
please let me know how to get it.. without having to add Chinese ROM
Click to expand...
Click to collapse
https://forum.xda-developers.com/sm...tches/amazfit-enable-app-list-cn-adb-t3574454

Custom app installation
I have not yet installed any apk, as i am not able to find Launcher Applist...
In common Setting after clicking 7 times on Legal Statement, i am getting the Lab and Under Lab i am getting only 2 options BT HCl Snoop Log and Singal Strenght.
In the setting menu i am getting this Huami Lab as an option in which i am having one app PPG Capturing.. but no other option... pls guide me further.
madtech360 said:
I am assuming you have installed the apk.
What do you see when you go into Lab option? Do you see list of items? if so, one of them should be "Launcher Applist".
Clicking on this enables/disables a launcher application. Once enabled, the launcher can be accessed by swiping all the way to the right from the watchface. Here you will see many Huami apps and other apps that you have installed through adb.
Click to expand...
Click to collapse

utu72 said:
I have not yet installed any apk, as i am not able to find Launcher Applist...
In common Setting after clicking 7 times on Legal Statement, i am getting the Lab and Under Lab i am getting only 2 options BT HCl Snoop Log and Singal Strenght.
In the setting menu i am getting this Huami Lab as an option in which i am having one app PPG Capturing.. but no other option... pls guide me further.
Click to expand...
Click to collapse
Read the first post in the thread posted above.
It provides a way to enable launcher for US watches thru adb.

ADB
madtech360 said:
Read the first post in the thread posted above.
It provides a way to enable launcher for US watches thru adb.
Click to expand...
Click to collapse
Yes, i have done that, but going to cmd... then when i type adb shell, it is saying wrong path.... pls can you guide me on this ... much appreciate it..
I have downloaded the adb installer also and the watch is recognised, but then too the cmd path is not working... need your help, as i love the watch and want to make the most of it. Thanks in Advance.

utu72 said:
Yes, i have done that, but going to cmd... then when i type adb shell, it is saying wrong path.... pls can you guide me on this ... much appreciate it..
I have downloaded the adb installer also and the watch is recognised, but then too the cmd path is not working... need your help, as i love the watch and want to make the most of it. Thanks in Advance.
Click to expand...
Click to collapse
U need to type adb shell in the folder where adb is installed...

madtech360 said:
U need to type adb shell in the folder where adb is installed...
Click to expand...
Click to collapse
Btw looks like the Humai is introducing it's own calculator app...but maybe months before it is rolled out to US watches

Related

Design your own Samsung Theme. (Works with S6,S7 & Note 5,7 ROMs).

Download the Theme Editor from here: https://drive.google.com/open?id=0B3gwmSck4630UF9NdW9ULTBZaTA
Minimum System Requirements:
Processor: 1.2GHz Intel Pentium 4 or later.
OS: Windows 7/8/10 (32 or 64 bits)
RAM: 1 GB
HDD space: 100 MB
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Don't Forget to hit Thanks if I helped you.
Note 4 forum
works for note 4 sm-n910c? exynos version
guirein said:
works for note 4 sm-n910c? exynos version
Click to expand...
Click to collapse
It works as long as u have installed on your phone any one of the samsung flagship port rom (S6,S7, note 5,7) that has theme option in it.
Galaxy Note 4 - #chevyrhoads Grace port (S7 and Note 7 apps)
I installed this morning and ran the app, created a simple test theme and installed it.
When I go to themes the theme is there named [Dev_Only]Gadget Dark Theme. There are no preview images just broken image placeholders.
I have 3 options: Delete, Purchase, and Trial. Purchase says "This theme is not yet available, please try again later."
If I click on Trial the theme seems to load fine with the options and colors I set up.
Now the real problem...
I decided to load it up and try again thinking maybe it didn't install correctly.The theme installs via adb connection.
I load the program and get a message saying there is a newer version available, with 2 options: Exit and OK.
Exit closes the app and If I click OK it asks me to log in to my Samsung account, I log in and it takes me to a page that says:, "We’re sorry, the requested URL is no longer available: /common/getShortUrlMapping.do"
When I close that page it exits the program.
So frustrated with Samsung!
When this program first came out you had to send a request to Samsung for Dev status. I filled out all of the information and submitted. They emailed me saying that they were sorry but I didn't qualify for their program.
I am not a dev but I have been themeing Android since the Thunderbolt days, at one time I was very active in the Thunderbolt, Incredible, Rezound and S4 boards.
I give up.
Same thing here....
Hello
cool there is a moment that I seek
Thank you
thank you so much !!
good evening an update has arrived a request id is the design samsung suddenly is no longer operational.
Help!!
Hi guys !
YouThat just for you I find the solution.
For those who do not install it install Theme Editor but did not craft before cutting your internet connection.
For others who are already installed then asked that the update uninstall it and remade the installation then utillisation offline.:angel:
Im having issues with dialer, contacts theme to work. Any suggestions?
Is this the latest version
Sent from my SM-G930F using XDA-Developers mobile app
Macamoca said:
Is this the latest version
Click to expand...
Click to collapse
No its not. I installed it and later on it asked to update
gadget! said:
Galaxy Note 4 - #chevyrhoads Grace port (S7 and Note 7 apps)
I installed this morning and ran the app, created a simple test theme and installed it.
When I go to themes the theme is there named [Dev_Only]Gadget Dark Theme. There are no preview images just broken image placeholders.
I have 3 options: Delete, Purchase, and Trial. Purchase says "This theme is not yet available, please try again later."
If I click on Trial the theme seems to load fine with the options and colors I set up.
Now the real problem...
I decided to load it up and try again thinking maybe it didn't install correctly.The theme installs via adb connection.
I load the program and get a message saying there is a newer version available, with 2 options: Exit and OK.
Exit closes the app and If I click OK it asks me to log in to my Samsung account, I log in and it takes me to a page that says:, "We’re sorry, the requested URL is no longer available: /common/getShortUrlMapping.do"
When I close that page it exits the program.
So frustrated with Samsung!
When this program first came out you had to send a request to Samsung for Dev status. I filled out all of the information and submitted. They emailed me saying that they were sorry but I didn't qualify for their program.
I am not a dev but I have been themeing Android since the Thunderbolt days, at one time I was very active in the Thunderbolt, Incredible, Rezound and S4 boards.
I give up.
Click to expand...
Click to collapse
You have to theme certain parts in order for the previews to show like phone, contact, etc. I know in the different sections like message it shows preview image. It says DEV_ONLY because you applied theme from your computer. I go to menu and export apk and it creates your theme file and just install apk on phone.
Make sure your theme isn't applied and go to root/data/overlays/jsonfiles/trialjson. You'll see your theme and cut, paste into userjson folder. Then delete preferences folder in root/data/overlays and reboot. Then when you go to apply your theme, you only have the options to apply or delete your theme.
If you turn off wifi when using Samsung mobile theme editor you wont see that update pop up and it wont close on you.
Could someone tell me where to get the wallpaper files and sound files for my themes? Thank you.
JamelaTamaya1 said:
You have to theme certain parts in order for the previews to show like phone, contact, etc. I know in the different sections like message it shows preview image. It says DEV_ONLY because you applied theme from your computer. I go to menu and export apk and it creates your theme file and just install apk on phone.
Make sure your theme isn't applied and go to root/data/overlays/jsonfiles/trialjson. You'll see your theme and cut, paste into userjson folder. Then delete preferences folder in root/data/overlays and reboot. Then when you go to apply your theme, you only have the options to apply or delete your theme.
If you turn off wifi when using Samsung mobile theme editor you wont see that update pop up and it wont close on you.
Click to expand...
Click to collapse
Hi. I've tried it with internet off and it lets me name my theme and all that but after I click ok it just closes on me. I'm on windows 10 64 bit. Any ideas? Thanks
dhplap said:
Hi. I've tried it with internet off and it lets me name my theme and all that but after I click ok it just closes on me. I'm on windows 10 64 bit. Any ideas? Thanks
Click to expand...
Click to collapse
Well if it already said update and then you turned off wifi then that's probably why. Before you open Samsung theme editor make sure WiFi is off so it won't run in the background and detect update. Cause as soon as you open it it will say update needed if WiFi wasn't off. Hope this helps!
---------- Post added at 12:52 AM ---------- Previous post was at 12:49 AM ----------
dhplap said:
Could someone tell me where to get the wallpaper files and sound files for my themes? Thank you.
Click to expand...
Click to collapse
You upload your own wallpapers in wallpaper section of theme editor. As far as sound files go, I'm not sure. But I'm guessing you have to upload sound files as well. I don't edit that section.
JamelaTamaya1 said:
Well if it already said update and then you turned off wifi then that's probably why. Before you open Samsung theme editor make sure WiFi is off so it won't run in the background and detect update. Cause as soon as you open it it will say update needed if WiFi wasn't off. Hope this helps!
Click to expand...
Click to collapse
OK. Thank you. I'll uninstall and then install again and try it with wifi off before I open it up. Hope it works.
dhplap said:
OK. Thank you. I'll uninstall and then install again and try it with wifi off before I open it up. Hope it works.
Click to expand...
Click to collapse
You don't have to uninstall it, just restart computer or better yet stop the application and restart it when WiFi is off.
Also there should be another thread with updated Samsung theme editor.
JamelaTamaya1 said:
You don't have to uninstall it, just restart computer or better yet stop the application and restart it when WiFi is off.
Also there should be another thread with updated Samsung theme editor.
Click to expand...
Click to collapse
Well I appreciate your help but it still isn't working for me. I even uninstalled and installed it again with wifi off. Don't know what else to try. Are you running it on windows 10 also? Thanks.
dhplap said:
Well I appreciate your help but it still isn't working for me. I even uninstalled and installed it again with wifi off. Don't know what else to try. Are you running it on windows 10 also? Thanks.
Click to expand...
Click to collapse
No problem, maybe someone else will respond with another method. No I haven't updated to windows 10 because I will be getting a new laptop and hardly use it. I was hoping it would work but guess not, it worked for me.
Look around for the newest version. I have the next update from this one but its not the latest. Maybe there's a way to disable updates for it, I would look into that as well.

appx/appxbundle installer for phones (but works everywhere anyway)

I finally did it!
UPDATE: The App is now fully released with the abiltiy to install packages with their dependencies and progress bar notifications on PC and Mobile! This app can now fully replace the built in App Installer and Windows Device Portal for sideloading apps
Source Code: https://github.com/colinkiama/UWP-Package-Installer
NOTE: I don't know if it's a bug or not but on mobile, when I open an .appx or .appxbundle, it asks me what app I want to use to install the package but it doesn't list mine. Maybe it's because I'm on the insider builds so please message me if opening the files works for you on mobile.
For mobile there's a workaround for this shown below. On PCs, the app works exactly like the built in app installer.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How To Install: Unzip the file, install the dependencies first then install the appxbundle.
Download it here: https://github.com/colinkiama/UWP-Package-Installer/releases
Oh wow running awesome in mobile... But some bugs showed up...
1. Sometimes install completes, but still showing installing 98-99% in app..
2. Scaling is not quite perfect.. Please fix scaling for portrait devices...
Suggestion:
Please try to show app name and it's icon, like the App installer of pc
maruf8 said:
Oh wow running awesome in mobile... But some bugs showed up...
1. Sometimes install completes, but still showing installing 98-99% in app..
2. Scaling is not quite perfect.. Please fix scaling for portrait devices...
Suggestion:
Please try to show app name and it's icon, like the App installer of pc
Click to expand...
Click to collapse
I can fix 1. and 2.
But I need help with the suggestion. I need a way to get the metadata out of the package. My app handles a StorageFile object so it's pretty difficult. I would only be able to show the app name and logo AFTER the package has installed.
Package installer is now feature complete!
You can now install packages with their dependencies and install progress will show in a notification (on all devices including mobile running on the creators update or above). Devices running earlier versions of Windows 10 will have the install progress inside the app like before but there are some notifications that pop up too.
Download it here: https://github.com/colinkiama/UWP-Package-Installer/releases
Source Code: https://github.com/colinkiama/UWP-Package-Installer
Wow!!! This is freaking Awesome ?
Seriously loved it so much... But maybe a progress bar in app should be appreciated ?
EP1CNESSHD said:
I can fix 1. and 2.
But I need help with the suggestion. I need a way to get the metadata out of the package. My app handles a StorageFile object so it's pretty difficult. I would only be able to show the app name and logo AFTER the package has installed.
Click to expand...
Click to collapse
There's gotta be a way... Built in App installer in PC can read those metadata... Can you investigate it?
maruf8 said:
Wow!!! This is freaking Awesome
Seriously loved it so much... But maybe a progress bar in app should be appreciated
Click to expand...
Click to collapse
It might be possible using the extended execution and the "extendedExecutionUnconstrained" restricted capability. I've released the source code so anyone could add it in. I'm done with the project right now. I'll just open it up as an issue.
EP1CNESSHD said:
It might be possible using the extended execution and the "extendedExecutionUnconstrained" restricted capability. I've released the source code so anyone could add it in. I'm done with the project right now. I'll just open it up as an issue.
Click to expand...
Click to collapse
Alright... Thanks for your hard work ☺
maruf8 said:
There's gotta be a way... Built in App installer in PC can read those metadata... Can you investigate it?
Click to expand...
Click to collapse
There are some things that Microsoft know that they don't document. I'll open this up as an issue too. I've done research of my own but haven't found anything.
I can't seem to get this working in my Lumia 625, whichever app I try to install it just gives me a "The parameter is incorrect" I already installed the dependencies and have interop and cap unlock from Interop Tools, meanwhile Interop Tools can install apps normally (not entirely sure you were aware or not but that has also had the install appx/appxbundle option since a while).
On another note would there be any hope of you adding the option to also install xap?
Ranomez said:
I can't seem to get this working in my Lumia 625, whichever app I try to install it just gives me a "The parameter is incorrect" I already installed the dependencies and have interop and cap unlock from Interop Tools, meanwhile Interop Tools can install apps normally (not entirely sure you were aware or not but that has also had the install appx/appxbundle option since a while).
On another note would there be any hope of you adding the option to also install xap?
Click to expand...
Click to collapse
pm me more details about your phone and what you did to get that error.
I'm also aware that interop tools has had this install feature. I don't know if it can show progress on the notifications like my app can though ?.
Lastly, no I can't add xap support. The API I'm using doesn't support them.
@EP1CNESSHD well this app did start on builds before CU, even on builds before AU, it allowed me to select an app and a dependency but when pressing Install both on a build before AU (10586.36) and after AU but before CU (14393.1066 and 14393.1715) it would give me the "The parameter is incorrect" error as I described, however once I managed to get CU (15063.297 and then 15063.608) it just started working normally, no error anymore, I didn't even update to the new build from after I reported the error (will test that one on 10586.36 and probably AU afterwards since you confirmed the Notification Extension requires AU soon) so my only guess is that something used actually requires CU, I'll have a look and try to find out what that is when I have some free time.
If anyone has devices on the anniversary update, can you try debugging the app on visual studio. You can clone the source code and even open the project directly in visual studio from github. The link is here: https://github.com/colinkiama/UWP-Package-Installer
Please report any errors you find while debugging to this thread.
EP1CNESSHD said:
I finally did it!
Click to expand...
Click to collapse
Yeah! This app is very useful! Thanks a lot!
After lots of testing and feedback, this app is now absolutely amazing for Mobile! Now on the Creators Update, you can check your install progress in the app and/or in your notifications. If you still have a Windows Phone with Windows 10 lying around then you should get this app ASAP!
[PC Users only]
On the other hand, Windows 10 for PC is still really annoying. PCs won't install any appx/appxbundle packages without their certificates existing in the "Trusted People" certificate store.
However, one person has created a working win32 installer that works around this. Unfortunately, they haven't finished it. Microsoft has made this unnecessarily difficult to sideload apps on PC without paying a lot of money for a certificate. I would love to see someone come up with a workaround for this that makes it easy for every developer to distribute their apps to everyone.
Lol, I've just realised that I never actually released the new version with multiple progress indicators so here it is!: https://github.com/colinkiama/UWP-Package-Installer/releases
Please Add support To Install XAP Apps On Pc Or Add Support To Install ARM Apps On X86/X64 Pc
ahmed605 said:
Please Add support To Install XAP Apps On Pc Or Add Support To Install ARM Apps On X86/X64 Pc
Click to expand...
Click to collapse
is not possible
EP1CNESSHD said:
I can fix 1. and 2.
But I need help with the suggestion. I need a way to get the metadata out of the package. My app handles a StorageFile object so it's pretty difficult. I would only be able to show the app name and logo AFTER the package has installed.
Click to expand...
Click to collapse
What's the metadata file (name) do you want to get from Appx file maybe I can help you, do you mean "AppxManifest.xml"?
I want a Msixbundle installed. Can this do it if I rename it to an Appxbundle?

[APP][NO ROOT][ANDROID TV] Leanback Launcher for Fire TV

Leanback on Fire
Android TV Launcher Ported to Fire TV
Source Code: https://github.com/leanback-on-fire/LeanbackLauncher
Project is continued at https://github.com/tsynik/LeanbackLauncher, not supported by rockon999
Releases: https://github.com/tsynik/LeanbackLauncher/releases (no longer offered by rockon999, forked releases)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(More screenshots are attached)
Tested on:
- Fire TV Stick 2
Features:
- Can open Bluetooth and WiFi settings without the stock launcher installed.
- Opens notification center, notification settings, and displays the current amount of unread notifications.
- Can display Amazon-downloaded apps in the store for easy updating and management.
- Can open individual app's settings.
- Can sort applications by categories (video, music, favorites, etc)
- Stripped of all Google services (to prevent crashes!)
Limitations:
- Recommendations were removed (unfortunately they are too unstable and unworkable without root, though I am exploring a method of adding them back into the launcher in Alpha 3)
- As this is based on decompiled sources there are bugs that must be squashed
- The uninstall button in edit mode is broken via the traditional Android TV method. Instead use the Fire TV app menu.
- Also, the done button in edit mode is broken too. Simply use the back button on your remote
Basics:
- The menu button will open up an app menu.
- The edit favorites launcher in the settings row can be used to add apps you want easy access to. Press back to exit the selection screen.
Installation:
- Install like any other APK over ADB. (adb install [path])
- If you want the notification counter you need to execute the following command: "adb shell pm grant com.rockon999.android.leanbacklauncher android.permission.WRITE_SECURE_SETTINGS"
- If you are on firmware 5.2.6 or lower you can disable the stock launcher. See this thread for more information. I don't recommend disabling all amazon features. Only OTA and com.amazon.tv.launcher.
- You should install LauncherHijack v3 for a fully functioning home button.
- If you want Google Search you'll need to install a specific version. 've found a working 2.x series version that is better looking, more stable, and much faster than the previous 1.x version. You can get the APK here. Note: The current version of Leanback on Fire may crash if you try to use the "microphone" orb to interact with the 2.x version. Always use the keyboard orb.
A future version will remove the microphone orb. Unfortunately the latest version is incompatible but an older version works surprisingly well. I've found version 1.0.6.2108324 to be the most stable. You can download the APK here.
Notes:
-The notification counter is still in its infancy and may not always function exactly.
- The app must be restarted for WRITE_SECURE_SETTINGS permission to take effect.
- I'll be posted a full guide to the various Android TV APKs that function on Fire TV soon - The guide is posed in General
rockon999 said:
Leanback on Fire
Android TV Launcher Ported to Fire TV
Source Code: https://github.com/rockon999/LeanbackLauncher/
Releases: https://github.com/rockon999/LeanbackLauncher/releases
(More screenshots are attached)
Tested on:
- Fire TV Stick 2
Features:
- Can open Bluetooth and WiFi settings without the stock launcher installed.
- Opens notification center, notification settings, and displays the current amount of unread notifications.
- Can display Amazon-downloaded apps in the store for easy updating and management.
- Can open individual app's settings.
- Favorites row
- Stripped of all Google services (to prevent crashes!)
Limitations:
- Recommendations were removed (unfortunately they are too unstable and unworkable without root, though I am exploring a method of adding them back into the launcher)
- As this is based on decompiled sources there are bugs that must be squashed
- Uninstall is broken via the traditional Android TV method. Instead use the Fire TV app menu.
Basics:
- The menu button will open up an app menu.
- The [+] tile in the favorites row can be used to add apps you want easy access to. Press back to exit the selection screen.
Installation:
- Install like any other APK over ADB. (adb install [path])
- If you want the notification counter you need to execute the following command: "adb shell pm grant com.rockon999.android.leanbacklauncher android.permission.WRITE_SECURE_SETTINGS"
- If you are on firmware 5.4.0 or lower you can disable the stock launcher. See this thread for more information. I don't recommend disabling all amazon features. Only OTA and com.amazon.tv.launcher.
- You should install LauncherHijack v3 for a fully functioning home button.
- If you want Google Search you'll need to install a specific version. Unfortunately the latest version is incompatible but an older version works surprisingly well. I've found version 1.0.6.2108324 to be the most stable. You can download the APK here.
Notes:
-The notification counter is still in its infancy and may not always function exactly.
- The app must be restarted for WRITE_SECURE_SETTINGS permission to take effect.
- I'll be posted a full guide to the various Android TV APKs that function on Fire TV soon
Click to expand...
Click to collapse
Wow thanks for this. This is pretty kool. Haven't tried it on m Fire TV 1 yet, but FYI it installed and works great on my M8S Android TV box. I installed it just to see if it would work and it seems to work as intended even on a non amazon device. Will let you know how it works on the Fire TV.
I tried it on my fire tv 3 with no luck. I can see the apps but when I try to open them they just flash for a second and don't open. Thanks for all you do.
BRICK0044 said:
I tried it on my fire tv 3 with no luck. I can see the apps but when I try to open them they just flash for a second and don't open. Thanks for all you do.
Click to expand...
Click to collapse
If you can send me the relevant logs (adb logcat | grep leanbacklauncher) I can try to add Fire TV 3 support
I have never used logcat but I tried to use it from adblink. Should I be tring to open the apps while it is logging and then find "grep leanbacklauncher"?
BRICK0044 said:
I have never used logcat but I tried to use it from adblink. Should I be tring to open the apps while it is logging and then find "grep leanbacklauncher"?
Click to expand...
Click to collapse
I was listing the command to get any log results from the launcher. If you're on a Mac/Linux run "adb logcat | grep leanbacklauncher" in your terminal. If you're on Windows you should be able to use the command "adb shell logcat | grep leanbacklauncher" instead. Once you've run the command attempt to open an app, hopefully an error will appear in your terminal.
Tried the command you listed and get 'grep' is not recognized as an internal or external command, operable program or batch file.
BRICK0044 said:
Tried the command you listed and get 'grep' is not recognized as an internal or external command, operable program or batch file.
Click to expand...
Click to collapse
Try executing "adb shell" and then running "logcat | grep leanback" in the adb shell that opens.
rockon999 said:
Try executing "adb shell" and then running "logcat | grep leanback" in the adb shell that opens.
Click to expand...
Click to collapse
that worked. here is the logcat Thank you.
Awesome work! Let me know if there's any way I can help.
Thanks so far this is great hopefully we can get some improvments like the ability to line up apps the way we want and maybe even change the titles. Is there anyway I can send a small thank you
warr1979 said:
Is there anyway I can send a small thank you
Click to expand...
Click to collapse
I second that. @rockon999, please post a donation link and/or enable the XDA built-in donation button.
How did you get amazon video to work?
rockon999 said:
Leanback on Fire
Android TV Launcher Ported to Fire TV
Click to expand...
Click to collapse
Great work. Please add this to your OP as the best option of making your Android TV Launcher for FireTV launch @ boot. Especially if not rooted.
https://forum.xda-developers.com/fire-tv/general/noroot-boot-appstarter-t3616824
Y314K said:
Great work. Please add this to your OP as the best option of making your Android TV Launcher for FireTV launch @ boot. Especially if not rooted.
https://forum.xda-developers.com/fire-tv/general/noroot-boot-appstarter-t3616824
Click to expand...
Click to collapse
Thanks for reminding me! I actually used this up until I "uninstalled" the stock launcher (after you uninstall it for your user, it asks you which launcher to run on boot)
velayo said:
How did you get amazon video to work?
Click to expand...
Click to collapse
I have a FTV Stick 2 on 5.2.6.0 w/ OTA blocked and somehow I have an APK called "com.amazon.amazonvideo.livingroom.firetv". It has always been on my device and works perfectly when launched. Since it ends in ".firetv" I'm fairly certain nothing I've done to my stick brought it about and Amazon merely included it for some unknown reason (I'm guessing as an interface for the prime channel).
rockon999 said:
Thanks for reminding me! I actually used this up until I "uninstalled" the stock launcher (after you uninstall it for your user, it asks you which launcher to run on boot)
Click to expand...
Click to collapse
np, I am still very partial to AppStarter v4. Wish someone would update it. But I see myself using your version of Android TV too. So I prefer to just use a 3rd party app to control which launcher starts up at boot. Just like which app controls the Home button.
velayo said:
How did you get amazon video to work?
Click to expand...
Click to collapse
com.amazon.amazonvideo.livingroom.nvidia works fine on Fire TV with latest Firmware
Thank you! Will google for it
AFTVnews.com said:
I second that. @rockon999, please post a donation link and/or enable the XDA built-in donation button.
Click to expand...
Click to collapse
Thank you! I added donations to my profile

Enable the next generation Google Assistant on AOSP Rom [Updated: now with a full ui]

Hello everyone! Today I make this step by step guide to explain you how to enable the next generation Google assistant on your Xiaomi Mi 9 (it may also works on another phone). This is for AOSP roms like Evolution X, Pixel Experience, Lineage OS, ... Please don't try to install it on a miui rom!
This is what you will get after this guide:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So this is how to get it:
1) Download and install Magisk Manager if you don't have already it (If you have it, go to the step 5).
2) open the Magisk Manager app, then click on the install button to download the installer zip file.
3) reboot into recovery mode, then flash the Magisk zip file. After that, reboot into system mode.
4) Open Magisk, and verify that the two checks are green.
5) Go to the Download tab, then search and install the busybox and MagiskHide props config modules. After that, reboot your phone.
6) Install a terminal emulator app like Termux.
7) Open it, type "su" then the enter key. Give it the root privileges.
For the next steps in the terminal, press the enter key after each command.
8) Type "props"
9) Type "4"
Repeat these following commands with these 5 properties associated with their value
ro.product.brand => Google
ro.product.manufacturer => Google
ro.product.model => Pixel 4 XL
ro.product.odm.model => Pixel 4 XL
ro.product.vendor.model => Pixel 4 XL
10) Type "n"
11) Type the propertie (ex: ro.product.brand)
12) Type the value associated with it (ex: Google)
13) Type "y"
14) Type "n"
After these steps, you should have these properties:
15) Reboot your phone.
16) Go to the applications settings of your phone, then search for the Google app. Force stop and clear storage.
17) Open the Google, and try to launch the Google Assistant.
18) If you still have the old one, go to the more tab => Settings => Google Assistant => the assistant tab => Languages. Please make sure that you have only English (US, UK, CA, Ireland, Australia, or Singapour).
19) Download this file: https://drive.google.com/file/d/1NcWZY11AgbiQ9T8SBMqsXvlMDO40nylS/view
20) Download root explorer from the playstore
21) In this app vive the root access then copy the downloaded file to /data/data/com.google.android.googlequicksearchbox/shared_prefs
22) Select the shared_prefs folder then in the properties menu set the permissions to 551 (remove the w permissions) ans apply
23) Reboot your phone
24) Enjoy
If it doesn't work, please tell me.​
I know that the images are oversized. I'll try to reduce their size.
So I followed each step and I thought it was going to work but at the last step when I open the assistant and click on start download to update it the following message appears:
"An error has occurred make sure that you are online and try again"
Do you think there is anything else I could do to make it work?
haguilarhern said:
So I followed each step and I thought it was going to work but at the last step when I open the assistant and click on start download to update it the following message appears:
"An error has occurred make sure that you are online and try again"
Do you think there is anything else I could do to make it work?
Click to expand...
Click to collapse
Try to install this apk https://drive.google.com/file/d/1fTymlp9KaeTinK2D_UqAJUmaGwexeEz-/view, then retry to launch the assistant to force the downloading of the necessary ressources. (You may have to clear one more time the google app data).
boubougaming said:
Try to install this apk https://drive.google.com/file/d/1fTymlp9KaeTinK2D_UqAJUmaGwexeEz-/view, then retry to launch the assistant to force the downloading of the necessary ressources. (You may have to clear one more time the google app data).
Click to expand...
Click to collapse
It works bro. After installing the file it allowed me to update the assistant. I read and it seems like the UI doesn't work. In my phone UI doesn't show up but it works. I am in a Redmi note k20 pro. Thanks a lot bro!!
haguilarhern said:
It works bro. After installing the file it allowed me to update the assistant. I read and it seems like the UI doesn't work. In my phone UI doesn't show up but it works. I am in a Redmi note k20 pro. Thanks a lot bro!!
Click to expand...
Click to collapse
Your welcome, but yeah i doesn't found a way to enable the new ui. But If i find it, i will update this guide.
i think the ui will work if anyone can modified the systemui with this entry, i am extracted from pixel 4 systemui...
rudirahmana said:
i think the ui will work if anyone can modified the systemui with this entry, i am extracted from pixel 4 systemui...
View attachment 4981305
Click to expand...
Click to collapse
I've tried it, but it doesn't work:crying:
Can't figure out how to create new custum prop with those 5 lines
boubougaming said:
I've tried it, but it doesn't work:crying:
Click to expand...
Click to collapse
maybe rom developer can update system ui with that flag in upcoming update
boubougaming said:
I've tried it, but it doesn't work:crying:
Click to expand...
Click to collapse
I tried everything you said, but it doesn't work. Now it says voice recognition is not available on your device. OP help!
Pixy OS AOSP (Q)
geminiboy001 said:
I tried everything you said, but it doesn't work. Now it says voice recognition is not available on your device. OP help!
Pixy OS AOSP (Q)
Click to expand...
Click to collapse
It's strange, do you have this issue only with the next gen assistant, or also with the old one? (Add a language that doesn't support the New assistant in the languages settings)
Hey, this is bit of an old thread but I'm having issues and i dont know where to turn. I've flashed PixelExperience 11and google assistant is NOT responding to (ok|hey) google commands. I've tried different version and then eventually flashed EvolutionX (Android 11). There again, google assistant doesn't work..
Given that i use google assistant on a daily bases, i kind of need it. So i found this nice thread, tried these steps but i still don't get google assistant to respond to keyword and i haven't even achieved GA2.0 using this tutorial.
Any ideas how i can make it work?
boubougaming said:
Try to install this apk https://drive.google.com/file/d/1fTymlp9KaeTinK2D_UqAJUmaGwexeEz-/view, then retry to launch the assistant to force the downloading of the necessary ressources. (You may have to clear one more time the google app data).
Click to expand...
Click to collapse
this link is not working , pls help
maretodoric said:
Hey, this is bit of an old thread but I'm having issues and i dont know where to turn. I've flashed PixelExperience 11and google assistant is NOT responding to (ok|hey) google commands. I've tried different version and then eventually flashed EvolutionX (Android 11). There again, google assistant doesn't work..
Given that i use google assistant on a daily bases, i kind of need it. So i found this nice thread, tried these steps but i still don't get google assistant to respond to keyword and i haven't even achieved GA2.0 using this tutorial.
Any ideas how i can make it work?
Click to expand...
Click to collapse
Yeah, it doesn't work anymore sadly, it seems that Google found a way to block this feature on non pixel phones

[PORT] YouTube Music (Vanced) on WearOS 2

This is a mod of YT Music Vanced & microG Vanced. Offline mode works as long as you have a YT Music subscription.
Requirements
• A phone
• ADB
• Basic knowledge about sideloading
• Internet connection
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
YOUTUBE DOWNLOAD
https://dl.down.monster/ytmusic.apk
THE LOGIN PROCESS IS A BIT MESSY SINCE I'VE NEVER DONE SOMETHING LIKE THAT BEFORE AND I HAVE NO INTEREST LEARNING GOOGLE'S API & JAVA
The UI may not be perfect, I've done my best, maybe I'll update it when I'll have time.
Steps
1. Sideload 'ytlogin-mobile.apk' & 'gms-mobile.apk' on your phone(if you already have non-root microg, you'll have to uninstall it atleast temporary, you can keep using it but you won't be able to update it)
2. Sideload 'ytlogin-wear.apk' & 'gms-wear.apk' & 'ytmusic.apk' on your watch.
3. Give WRITE_SECURE_SETTINGS permission to YT Login on your watch using
adb shell pm grant com.down.musicresponse android.permission.WRITE_SECURE_SETTINGS
4. Open Vanced microG Settings on your phone -> Add Google Account and login (after login it'll tell you that it couldn't establish connection to google server, hit ok)
5. Open YT Login on both your phone and watch and hit 'SEND RESPONSE' on your phone(the wear app should close at this point)
5.1 At this point you can uninstall microg(phone) if you want to
6. Open YT Music -> Sign In -> Add account and wait until the login is done(5-30 seconds)
7. That's it, select the account and enjoy YouTube Music on your unsupported Wear device (now you can uninstall YT Login on both your phone and watch if you want to)
TO BE ABLE TO DOWNLOAD MUSIC
Go to Library -> Downloads -> Settings -> Disable 'Download over Wi-Fi only'
BATTERY OPTIMISATION
Open Vanced microG Settings -> Cloud Messaging and disable it
If for some reason the 'official' method doesn't work, you can do it manually
After you login on your google account on the phone(step 4), the login response will be saved in your clipboard, save it in a text file and pull it on your PC
Open CMD and 'adb shell' into your watch and copy & paste the following commands
settings put global email <YOUR_EMAIL_FROM_RESPONSE>
settings put global accountType <YOUR_ACCOUNT_TYPE_FROM_RESPONSE>
settings put global token <YOUR_TOKEN_FROM_RESPONSE>
settings put global sid <YOUR_SID_FROM_RESPONSE>
settings put global lsid <YOUR_LSID_FROM_RESPONSE>
settings put global services<YOUR_SERVICES_FROM_RESPONSE>
settings put global firstname <YOUR_FIRST_NAME_FROM_RESPONSE>
settings put global lastname <YOUR_LAST_NAME_FROM_RESPONSE>
Now simply close CMD, open YT Music and sign in
Example response
THANKS TO
JimSeker for DataLayer example
GitHub - JimSeker/wearable: Android Wear/ Wear OS Examples
Android Wear/ Wear OS Examples. Contribute to JimSeker/wearable development by creating an account on GitHub.
github.com
Hi, it looks like the ytmusic.apk file is missing from the attachments.
MishaalRahman said:
Hi, it looks like the ytmusic.apk file is missing from the attachments.
Click to expand...
Click to collapse
I guess the file is too big, I added 3rd party download link for yt
Can confirm it works. Great job!
Can't wait to try it on the Fossil gen 6
Works great on my Gen 5 Fossil!! Thank you!
Can confirm, it works. I got it running on the ticwatch pro 2020 and I can even switch accounts. It really is just the phone app scaled for the watch.
holy **** this is amazing.. thank you!!!!!!! by the way anyone on chromeos using wifi adb the command is
adb -s *ipAddressHere*:5555 shell pm grant com.down.musicresponse android.permission.WRITE_SECURE_SETTINGS
same for sideloading the apps its:
adb -s *ipAddressHere*:5555 install "gms-wear.apk"
This is incredible! Run of wonder in my ASUS ZENWATCH 2
YT Login on my Phone only get me a Black screen with boarder.
Literally getting my first watch delievery tomorrow. Thanks for the solution. Will update how it works on a square display (oppo watch). Any TG support group?
Edit - Got my watch delievered. Couldn't install ytmusic.apk through wear installer as it said the app is not made for wearOS. Used bugjaeger to install. Would work from a pc too but was feeling lazy
Followed the guide exactly. Great work dev. 10/10 recommended. Works decently IMO on squares.
I'm unable to install gms-mobile.apk on my Pixel 5 (Android 12 Beta) I get "App not installed as package conflicts with an existing package"
Any ideas?
mike freegan said:
I'm unable to install gms-mobile.apk on my Pixel 5 (Android 12 Beta) I get "App not installed as package conflicts with an existing package"
Any ideas?
Click to expand...
Click to collapse
Uninstall Vanced Microg that was installed from Vanced Manager, temporarily.
alt68 said:
YT Login on my Phone only get me a Black screen with boarder. View attachment 5406189
Click to expand...
Click to collapse
Can you share a logcat?
mike freegan said:
I'm unable to install gms-mobile.apk on my Pixel 5 (Android 12 Beta) I get "App not installed as package conflicts with an existing package"
Any ideas?
Click to expand...
Click to collapse
do as mayankshekharison said
DownAP said:
Can you share a logcat?
do as mayankshekharison said
Click to expand...
Click to collapse
Where and how can i find logcat?
Nice
Hi,
On Poco F3 and Fossil Gen5 Carlyle, got until the send response part and then my watch just showed a wall of text with my email at the top with most of the text being off the screen. What should I do?
Minaism said:
Hi,
On Poco F3 and Fossil Gen5 Carlyle, got until the send response part and then my watch just showed a wall of text with my email at the top with most of the text being off the screen. What should I do?
Click to expand...
Click to collapse
Nevermind, just exited the yt login app, entered yt music app, hit sign in, clicked lower right corner, selected account and I was in.
alt68 said:
Where and how can i find logcat?
Click to expand...
Click to collapse
Same for me. Do you have a solution for this?
denzel09 said:
Same for me. Do you have a solution for this?
Click to expand...
Click to collapse
alt68 said:
Where and how can i find logcat?
Click to expand...
Click to collapse
Alternatively you can manually set the account without YT Login app.
After you login on your google account on the phone(step 4), the login response will be saved in your clipboard, save it in a text file and pull it on your PC
Open CMD and 'adb shell' into your watch and copy & paste the following commands
settings put global email <YOUR_EMAIL_FROM_RESPONSE>
settings put global accountType <YOUR_ACCOUNT_TYPE_FROM_RESPONSE>
settings put global token <YOUR_TOKEN_FROM_RESPONSE>
settings put global sid <YOUR_SID_FROM_RESPONSE>
settings put global lsid <YOUR_LSID_FROM_RESPONSE>
settings put global services<YOUR_SERVICES_FROM_RESPONSE>
settings put global firstname <YOUR_FIRST_NAME_FROM_RESPONSE>
settings put global lastname <YOUR_LAST_NAME_FROM_RESPONSE>
Now simply close CMD, open YT Music and sign in
Example response

Categories

Resources