[PORT] YouTube Music (Vanced) on WearOS 2 - Wear OS Software and Hacking General

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

Related

Amazfit Custom Calculator App

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

[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

=Learn How to Install Android Apps on Windows 11 for free =

Updated: 16/04/2022
Tutorial​
Hi!
There are a a lot of tutorials about installing Andoid Apps stores, etc, etc.
I gonna let you here a way that i found to install Android Apps even if you are not logon in to App Store!
To be able to do this, your computer must meet the following requirements:
Windows 11
At least 8 GB of RAM ( less and you will get some lags)
At least a DUO CORE 3.20GHz CPU
Enabled Virtualization feature
Change Country & Region: U.S. ( You can return to your location after)
You will need Android SubSystem installed on WIndows 11 and for that you need Amazon App Store, even if it will be impossibel to use, you need to activate some Windows Optional Features and finally activate virtualization on your Bios ( serach Google how to do it for your motherboard!)
Lets get Start!!!
To Enable Windows Optional Features, go to Start menu, in search box type OptionalFeatures.exe then open it, select Virtual Machine Platform and OK.
{
"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"
}
!Restart your PC!
After Restart, lets get Amazon App Store for that you need to change Windows System language, go to Start, search box and type location and select "Change country or region", in that window that oppened select "country or region" tab and change it to United States!
After that go to this link to get Amazon App Store!
Install it and close it ( don´t need it any more). ( You can return location to your location now)
Now go to Start, type in serach box Android and you will see Android Subsystem app, open it, enable developer mode. You will get a IP and door in developer mode tab like this 127.0.0.1:48406.
Now download this SWA_Setup.zip that i create to get easier to install APK by Pick and drop over batch to install, just pick Apk and drop over DropToInstallApk.bat.
Open zip and extract my tool to Desktop.
( NOTE: Not all Android app will work some of theme need google system or phone Android system!!!!)
Open SWA_Setup folder, open the batch files (.bat) like text file and change the IP and door to your IP and door that you get form developer mode option. ( check image above to see where IP and door is) Save batch. ( Check Image bellow to see where you must change in both batch files)
In Android SubSystem window you need open files first to start Android system ( image bellow) before execute Setup batch (SettingUp.bat) or install any apk through pick and drop. When you already had any app installed only need to start app to start Windows Android System.
Ok! Lets Setup and add apk!!!
I create SettingUp.bat that will Install a Manager app and Aurora App Store ( Google Play Store Clone).
You can download and install trough Aurora App Store but if you want to try another way go to Apkmirror site, search your apk, download, change name to short name ( Apkmirror give a hudge name to Apks and some times get error when installing...), paste inside SWA_Setup folder, pick the apk and drop overDropToInstallApk.bat! Done!
Your apk is on Start menu! Example i add Heroes Evolved from Apkmirror!
To unistall just do right click over apk/app and unistall it or use Manager app!
Note: Game need gamepad to play and mouse
After all Setup is very easy to work with Windows Android Sytem or any installed Apk because its part of system like any other aplication from Windows.
Enjoy it!
Hi!
Just one note, don't install your wife android games on pc... Bad choice... you loose the rights to him
{Mod edit: Quoted post has been deleted}
Because BlueStacks consumes more resources then windows Android System!
I used BlueStacks, i know it.
Hi!
Happy Easter to All!
I Update main post!
Is it possible to get apps that control things on your local network to work? Like the roku or Sonos app? These apps think they are offline. So it can’t see my devices. It says to check WiFi.
sweethip said:
Is it possible to get apps that control things on your local network to work? Like the roku or Sonos app? These apps think they are offline. So it can’t see my devices. It says to check WiFi.
Click to expand...
Click to collapse
By default they are built for smartphones, i don't know if they detect wifi or cable connection from PC.
Thanks. Wonder if there is a work around For this. WSA does think it’s a pixel 5. I guess we would need to get a local IP first. So it can see your local network. It seems like these apps need WiFi. Or to make them think WiFi is active.
sweethip said:
Thanks. Wonder if there is a work around For this. WSA does think it’s a pixel 5. I guess we would need to get a local IP first. So it can see your local network. It seems like these apps need WiFi. Or to make them think WiFi is active.
Click to expand...
Click to collapse
Yes, must be build some bridges between Android apps and Windows, especially in detecting and reading hardware configuration from pc. Don't forgot that is a Android emulator.
I don't have the knowledge for that but maybe picking some features and tools from already known vm machines and complete the Windows vm machine for will help. Its basic.
This is all new for now, probably in future some will find a way to root, etc, etc.
Hi!
Checking Windows Android System i noticed that build for Windows 10... Does any one had try this tutorial on Windows 10?
Thanks for this tutorial.
I have a question, which is not totally related to this tutorial, but maybe you can help me.
I installed the Amazon AppStore on windows 11 from the Microsoft store, but I can't access it. The Amazon AppStore app starts, I enter my Amazon credentials and then there is a "continue" button but if I press the continue button, nothing happens. It remains blocked, although I am logged in with my Amazon account.
I'm going to use Aurora Store next, but I wish I could access the Amazon AppStore too, at least to try it out.
Any idea what could be stuck?
Thanks in advance.
jkbee26 said:
Thanks for this tutorial.
I have a question, which is not totally related to this tutorial, but maybe you can help me.
I installed the Amazon AppStore on windows 11 from the Microsoft store, but I can't access it. The Amazon AppStore app starts, I enter my Amazon credentials and then there is a "continue" button but if I press the continue button, nothing happens. It remains blocked, although I am logged in with my Amazon account.
I'm going to use Aurora Store next, but I wish I could access the Amazon AppStore too, at least to try it out.
Any idea what could be stuck?
Thanks in advance.
Click to expand...
Click to collapse
Hi!
You from USA? Amazon only works in USA country for5 now that is way i create this tut!
persona78 said:
Hi!
You from USA? Amazon only works in USA country for5 now that is way i create this tut!
Click to expand...
Click to collapse
Thank you for your answer.
The problem is solved.
I first used the aurora store and then strangely the amazon appstore started working, I don't know why.
Is it possible to add Google Services afterwards?
jkbee26 said:
Is it possible to add Google Services afterwards?
Click to expand...
Click to collapse
There is no safe way yet.
I'm new to Android apps on Windows 11. I've installed the Textra SMS app successfully and it starts. However, it wants me to specify the app as the default SMS app for Android. I've set the Windows default app for SMS to Textra, but that doesn't help.
How do I get to Android settings as they would appear on an Android phone where default apps can be set?
Thanks.
windows 11 letting me change region but will not let me install amazon?
Changed region and keyboard etc just in case! but Amazon not available in my region?

How To Guide auto call recording no root

Hello, I have a realme gt2 pro global version with google dialer.
Today, I found the oppo dialer mod, which can use call recording (no root) for oneplus and realme device.
How to use:
1. Install app
2. Set app to call system app.
3. force stop google dialer and turn off it (or can use adb to uninstall it easily).
4. While call or recive a call, choose call recording fuction.
To active auto call recording, I cant find the opition, but I can find the way (may be right or wrong) but u can try. It is use call recording fuction for 15 calls recently and app will be ask you want to use auto recording and u can select auto call recording.
Hope it’s work to you. Sorry for my bad english.
App is working but unfortunately I don't have the option to record calls.
Here
https://forum.xda-developers.com/t/oppo-dialer-oppo-message-app-100-working.4429737/post-86895379
Message app is included additionally
This worked for me:
Enable Native Call Recording + OP Stock Dialer on OnePlus 10 Pro
Hi guys, Just upgraded from OP7T to OP10 Pro as a European user. Call recording functionality does not come with the device here. Had native call recording enabled on my OP7T through jOnePlus Tools and the likes. Jtools Oneplus does not install...
forum.xda-developers.com
Instead of using JOneplus Tool and give it the secure settings permission I directly executed the adb command
Code:
adb shell settings put global op_voice_recording_supported_by_mcc 1
To document my current setup I attach the apps I'm currently using for call recording.
After 15(?) calls the setting to activate auto call recording can be opened. Unfortunately I'm not able to open the setting once again.
Sometimes the call UI of the contacts app is on top and a manual switch to the separately installed UI (com.android.incallui_13.6.6-13006006_minAPI30(nodpi)_apkmirror.com.apk) is required.
Oneplus-call-recorder.apk only changes the setting
Code:
op_voice_recording_supported_by_mcc
so recording can be enabled/disabled.
{
"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"
}
You need to execute adb command to enable Oneplus-call-recorder.apk by granting permission whereby an instruction appears on first start.
Don't forget to set contacts as default dialing app in Android settings.
TorstenH said:
To document my current setup I attach the apps I'm currently using for call recording.
After 15(?) calls the setting to activate auto call recording can be opened. Unfortunately I'm not able to open the setting once again.
Sometimes the call UI of the contacts app is on top and a manual switch to the separately installed UI (com.android.incallui_13.6.6-13006006_minAPI30(nodpi)_apkmirror.com.apk) is required.
Oneplus-call-recorder.apk only changes the setting
Code:
op_voice_recording_supported_by_mcc
so recording can be enabled/disabled.
View attachment 5779573
You need to execute adb command to enable Oneplus-call-recorder.apk by granting permission whereby an instruction appears on first start.
Don't forget to set contacts as default dialing app in Android settings.
Click to expand...
Click to collapse
Hello,
After the last update IN2023_11_F.62, Call Recording no longer works. Do you have an update to your solution?
It worked until yesterday when I made the mistake of doing the update.
What phone?
criszz said:
What phone?
Click to expand...
Click to collapse
OnePlus 8 Pro​
TorstenH said:
To document my current setup I attach the apps I'm currently using for call recording.
After 15(?) calls the setting to activate auto call recording can be opened. Unfortunately I'm not able to open the setting once again.
Sometimes the call UI of the contacts app is on top and a manual switch to the separately installed UI (com.android.incallui_13.6.6-13006006_minAPI30(nodpi)_apkmirror.com.apk) is required.
Oneplus-call-recorder.apk only changes the setting
Code:
op_voice_recording_supported_by_mcc
so recording can be enabled/disabled.
View attachment 5779573
You need to execute adb command to enable Oneplus-call-recorder.apk by granting permission whereby an instruction appears on first start.
Don't forget to set contacts as default dialing app in Android settings.
Click to expand...
Click to collapse
Does this still work on your OnePlus 10 Pro, after all the updates that has found place since you wrote this post?
If yes, then I am also wondering if this is the correct order, install all the .apk files, then executing this command:
adb shell settings put global op_voice_recording_supported_by_mcc 1
Thanks a lot.
I have the same problem with ONE PLUS 8 PRO, I cant record,
I dont know because the mobile update without permission.
This morning the mobile was reboot and updated
violgore01 said:
I have the same problem with ONE PLUS 8 PRO, I cant record,
I dont know because the mobile update without permission.
This morning the mobile was reboot and updated
Click to expand...
Click to collapse
It's because of the update and the country restrictions, but in the previous versions I managed to activate the call recording function with the help of the above utility and the installation of com.android.incalli provided by @TorstenH which is also above in the thread.
I hope that someone here who knows better will find an updated solution.
I caaaannnnnn
from adb shell install
adb install -d "c:\APK\Phone_InCallUI.apk"
And now I can record
Off course I have installa jOne plus tools
update: If reboot, then lost the record option
update2
C:\Users\vssx>adb install -d Z:\APK\Phone_InCallUI.apk
Performing Streamed Install
Success
What is performing streamed install?
violgore01 said:
I caaaannnnnn
from adb shell install
adb install -d "c:\APK\Phone_InCallUI.apk"
And now I can record
Off course I have installa jOne plus tools
update: If reboot, then lost the record option
update2
C:\Users\vssx>adb install -d Z:\APK\Phone_InCallUI.apk
Performing Streamed Install
Success
What is performing streamed install?
Click to expand...
Click to collapse
If you explain in more detail which Phone_InCallUI.apk (Z:\APK\Phone_InCallUI.apk)
Performing Streamed Install????
Maybe we, the most uninitiated, will understand
This is the file, it is in other topics of this forum.
I have used it before
But when I reboot the phone.. I lost the option of record
violgore01 said:
This is the file, it is in other topics of this forum.
I have used it before
But when I reboot the phone.. I lost the option of record
Click to expand...
Click to collapse
Anyway, in Oxygen 13, jOne plus tools can no longer be installed. So your option is not applicable at least to me.
Thank you!
iulianteodor said:
Anyway, in Oxygen 13, jOne plus tools can no longer be installed. So your option is not applicable at least to me.
Thank you!
Click to expand...
Click to collapse
I have Oxygen 13 too , but I have and older version of jOneplus tools, I think previous version, not the last
The last version have a problems and incompatibilities
iulianteodor said:
It's because of the update and the country restrictions, but in the previous versions I managed to activate the call recording function with the help of the above utility and the installation of com.android.incalli provided by @TorstenH which is also above in the thread.
I hope that someone here who knows better will find an updated solution.
iulianteodor said:
Hello,
After the last update IN2023_11_F.62, Call Recording no longer works. Do you have an update to your solution?
It worked until yesterday when I made the mistake of doing the update.
Click to expand...
Click to collapse
I have the very same issue. Please kindly inform me if you find a solution.
Click to expand...
Click to collapse
violgore01 said:
This is the file, it is in other topics of this forum.
I have used it before
But when I reboot the phone.. I lost the option of record
Click to expand...
Click to collapse
In my phone (oneplus 8 pro) with the last update (F.62) I can't install this apk because my version is newer :\
I have installed joneplustools and Oneplus call recorder, but I don't have any compatibile dialer.
Anyone can help me? :|
Call recording worked in the previus update (F.13).
violgore01 said:
I caaaannnnnn
from adb shell install
adb install -d "c:\APK\Phone_InCallUI.apk"
And now I can record
Off course I have installa jOne plus tools
update: If reboot, then lost the record option
update2
C:\Users\vssx>adb install -d Z:\APK\Phone_InCallUI.apk
Performing Streamed Install
Success
What is performing streamed install?
Click to expand...
Click to collapse
Thank you so MUCH!!!! you are a Jenious works on my oneplus 8 pro f62 build
yaniv.s said:
Thank you so MUCH!!!! you are a Jenious works on my oneplus 8 pro f62 build
Click to expand...
Click to collapse
Can you please give me a link for Phone_InCallUI.apk

Categories

Resources