[GUIDE] Remapping Android TV remote buttons - Android TV General

Remapping Android TV remote buttons
​In this guide I will explain a way to remap to the shortcut buttons on the remotes of Android TV devices which cannot simply be remapped by e.g. Button Mapper.
I will use the Walmart Onn Box as example for this guide, but it should also work for devices like the Xiaomi Mi Box.
The general idea is to install an Android automation app which analyzes the system logs of you device and starts your desired apps when it sees the button press log messages.
Enabling ADB
To install the automation app and give it permissions it needs, you must enable developper mode on your Android TV device and connect to it from your computer.
Those two turorials should explain you how to do it:
https://www.xda-developers.com/how-to-sideload-apps-android-tv​
https://www.xda-developers.com/install-adb-windows-macos-linux​
Easy way to control your Android TV device
Since it is very cumbersome or impossible to do everything with the remote control I recommend to use ScrCpy.
This allows you to easily control your device from your computer using mouse and keyboard.
After installation you can connect to your device with adb and enter 'scrcpy' in your console. You should instantly see the screen of your TV on your computer.
Installing 'Automate'
The app I recommend for the automation is called 'Automate'. It is free, but sadly can't be directly installed from the app store on Android TV (because of compatibility).
To avoid this limitation you can download the APK from e.g. Apkmirror and install it manually via ADB.
adb install .\path\to\the\downloaded\apk\Automate_v1.32.6.apk
Click to expand...
Click to collapse
While you are at it you can also give the app some privileges which it needs later to read the system logs and to start the apps.
adb shell pm grant com.llamalab.automate android.permission.SYSTEM_ALERT_WINDOW
adb shell pm grant com.llamalab.automate android.permission.READ_LOGS
Click to expand...
Click to collapse
To start Automate you need a launcher that can see sideloaded apps. I recommend the X-plore File Manager since it's also a good file manager and can be easily installed from the app store.
( There are also other alternatives like 'Tasker' instead of 'Automate', but since that is not free and activation doesn't work properly on a sideloaded app I can't recommend that. )
Configuring 'Automate'
After starting Automate you can create a new 'flow'. The goal of that flow is to monitor the system logs, and start your desired apps everytime it sees a button press message.
That can be done mainly with a 'Log await' node that contains following configuration:
Tag: WindowManager
Message: .*interceptKeyTq keycode=(\d+).*
Priority: Debug
Logged message (array): keycode
Click to expand...
Click to collapse
You can then use "Expression true?" nodes to check for the found value in keycode (e.g. for the Live TV button) ...
Formula: =keycode[1] = "172"
Click to expand...
Click to collapse
... and start your desired app with "App start" nodes.
Package: com.google.android.tv
Click to expand...
Click to collapse
An example of a full flow can be found here: Remap Onn. Android TV remote buttons
Conclusion
After setting all this up the apps should start when you press the buttons.
However the original app (or its installation view) also starts before it, so if you press the back button you will return to that app instead of the previously running app. To avoid that just use the home button instead.
The Automate app will not automatically start if you reboot your Android TV device. If you want that you can activate that in the settings: 'Run on system startup'. But make sure that everything works perfectly before you do that!
If you get stuck in a loop where you can't use other apps and also can't open and configure Automate anymore, you can use this command via ADB to disable all flows:
adb shell am broadcast -a com.llamalab.automate.intent.action.STOP_FLOW -n com.llamalab.automate/.StartServiceReceiver
Click to expand...
Click to collapse

Double_A_92 said:
To start Automate you need a launcher that can see sideloaded apps.
Click to expand...
Click to collapse
As a one-off, in case you don't want to install another app, you can always run:
Code:
adb shell am start -n com.llamalab.automate/.FlowListActivity

KenMacD said:
As a one-off, in case you don't want to install another app, you can always run:
Code:
adb shell am start -n com.llamalab.automate/.FlowListActivity
Click to expand...
Click to collapse
I went to Settings > Apps > See all apps and then scrolled down and clicked 'Show system apps'. You can find Automate, and then click open to launch.

Thanks for your guide. Now my Xiaomi Stick 4K remotes Netflix, Prime Video and Patchwall buttons are changed to open other apps.
Can you make Automate flow work like Button Mapper having also double click and long press open different apps.

stapreedi said:
Can you make Automate flow work like Button Mapper having also double click and long press open different apps.
Click to expand...
Click to collapse
That's probably not possible, since this is a very janky way that relies only on the android system text logs. Maybe the double click could be done in some complicated way, but the long press definitely not.

Thank you for your reply.
I asked same thing at Reddit AutomateUser and Automate developer ballzak69 answered but he did not tell how to modify flow:
https://www.reddit.com/r/AutomateUser/comments/uo5c00
Your guide is popular:
https://www.reddit.com/r/MiBox/comments/uo1m4s

Thanks for Idea. I have acer remote with netflix, youtube, primevideo and tiki live button. How to find keycode for these button in my acer remote because given keycode don't works

omdhar said:
Thanks for Idea. I have acer remote with netflix, youtube, primevideo and tiki live button. How to find keycode for these button in my acer remote because given keycode don't works
Click to expand...
Click to collapse
Connect the output of the "Log await" with the "Toast show" node, and the output of that back into the "Log await". That will create a little message popup with the keycode everytime you press a button.

Double_A_92 said:
Connect the output of the "Log await" with the "Toast show" node, and the output of that back into the "Log await". That will create a little message popup with the keycode everytime you press a button.
Click to expand...
Click to collapse
Thanks. It will be great if you could share flow example to generate keycode in message popup. It will also help many other here too.

omdhar said:
Thanks. It will be great if you could share flow example to generate keycode in message popup. It will also help many other here too.
Click to expand...
Click to collapse
Download this file Remap Onn. Android TV remote buttons and do what Double_A_92 told. Use your tablet or phone to modify flow file because its easier. When you modify flow file on your tablet or phone then you have to use example Aida64 for app package names on your tv. Use Send files to TV for what app name says. You can do it from Automate apps share icon.

Hey, thanks for the detailed guide! i did everything (i think )but when i hit start its stuck on the “Log await” i used your shared flow cause i got the same box.
Any ideas?

harel013 said:
Hey, thanks for the detailed guide! i did everything (i think )but when i hit start its stuck on the “Log await” i used your shared flow cause i got the same box.
Any ideas?
Click to expand...
Click to collapse
Hmm weird. Try deleting the flow and download it again so you have a fresh copy.
Also make sure to configure which apps you want to start. In my shared flow they are just random apps that I had installed. Maybe that causes problems if they aren't actually installed on the system.

what is different between this way and others way like "Button Mapper" or tvQuickActions?

oldman20 said:
what is different between this way and others way like "Button Mapper" or tvQuickActions?
Click to expand...
Click to collapse
This is for devices where the vendor buttons are not even registered as button presses by the system. So if you tried to use ButtonMapper or other apps, it wound't let you select the button and instead always open the app written on the button.
But yeah, if ButtonMapper works for your device that's obviously a much better way of doing it.

Double_A_92 said:
This is for devices where the vendor buttons are not even registered as button presses by the system. So if you tried to use ButtonMapper or other apps, it wound't let you select the button and instead always open the app written on the button.
But yeah, if ButtonMapper works for your device that's obviously a much better way of doing it.
Click to expand...
Click to collapse
thank, it got it!
btw, can i ask this?
How to check succeeded in transforming tv box into an Android TV ? or just download app from Google Play without issue?

I have the entire thing written out and plugged in, the only issue im having now is "Syntax error in regexp pattern near index1" i cant figure out through google what im doing wrong.

NarkosNakan said:
I have the entire thing written out and plugged in, the only issue im having now is "Syntax error in regexp pattern near index1" i cant figure out through google what im doing wrong.
Click to expand...
Click to collapse
Make sure you really wrote
.*interceptKeyTq keycode=(\d+).*
With all the dots and asterisks....

Double_A_92 said:
Make sure you really wrote
.*interceptKeyTq keycode=(\d+).*
With all the dots and asterisks....
Click to expand...
Click to collapse
Thank you very much, i couldn't see the first period at all in the main post~

The last problem im having is finding key codes, i don't understand how we find those for the app.

NarkosNakan said:
The last problem im having is finding key codes, i don't understand how we find those for the app.
Click to expand...
Click to collapse
Connect the output of the "Log await" with the "Toast show" node, and the output of that back into the "Log await". That will create a little message popup with the keycode everytime you press a button.

Related

[REQ] very small app to display "toast" msg

I am in need of a very small app (just a few lines of code) to display a "toast" message in the active window.
I have the milestone, and made some mods on it, and using the hw keyboard i made shortcuts to execute functions and i would like to display a status from the scripts, and so far it only works with Beanshell(Android Scripting Environment), but the window popup is simply to annoying. so if somebody can make the toast command in a java app, and add the, i think, intent call function so i can execute this using "am" from shell script.
Yes, i know, i could probably do it myself, but i am no good at the "I-went-to-the boat->on my cycle->using my legs" object oriented programming thingy..
If anybody can help me out, any help is appreciated...
I was interested in looking into this to help my growth of android, so gave it a shot.
This is an app that starts, displays the input message, then exits.
run it through command line using the following:
am start -a android.intent.action.MAIN -e message mytoastmessage -n com.rja.utility/.ShowToast
whatever is passed in for the 'message' is displayed in a long toast.
if nothing is passed a toast saying such is displayed.
Let me know if this works for you.
corruptor64 said:
I was interested in looking into this to help my growth of android, so gave it a shot.
This is an app that starts, displays the input message, then exits.
run it through command line using the following:
am start -a android.intent.action.MAIN -e message mytoastmessage -n com.rja.utility/.ShowToast
whatever is passed in for the 'message' is displayed in a long toast.
if nothing is passed a toast saying such is displayed.
Let me know if this works for you.
Click to expand...
Click to collapse
Hmm cant get it to work can you write a example script and upload plz thanks.
ngagephone said:
Hmm cant get it to work can you write a example script and upload plz thanks.
Click to expand...
Click to collapse
Ok it works now is there any chance you can reupload your app but make the icon from the app drawer gone you can do this by removing <category android:name="android.intent.category.LAUNCHER" /> from the manifest file thanks in advance.
ngagephone said:
Ok it works now is there any chance you can reupload your app but make the icon from the app drawer gone you can do this by removing <category android:name="android.intent.category.LAUNCHER" /> from the manifest file thanks in advance.
Click to expand...
Click to collapse
Good call on removing the icon from the drawer. It really doesn't belong there for this type of application.
corruptor64 said:
Good call on removing the icon from the drawer. It really doesn't belong there for this type of application.
Click to expand...
Click to collapse
Thanks will give it a go cheers.
Ok just tested works good this will be nice for my custom rom for displaying msg from my scripts thanks.
Sent from my Pulse Mini using XDA App
I edited the original reply and added a signed apk for the no drawer icon version.
The original version will expire in a year and will not be able to be installed after that since it was signed using debug certs which are valid for a year after the apk was created.
Download the latest one and use that. Glad i could help.
cool, can you guys make one to play a sound? or is their a script or line of code that will play a sound? I made a few scripts to download/install a boot animation but i cant figure out how to notify once its done, thats what im going for. as of right now it just reboots the phone when its done.
corruptor64 said:
I was interested in looking into this to help my growth of android, so gave it a shot.
This is an app that starts, displays the input message, then exits.
Click to expand...
Click to collapse
thanks alot! it already sounds like it works for others.. this is a very nice idea for giving status backs in customs, so its worth alot for modders somehow, when the java is not a knowledge you have
ill test it tomorrow and see how it works out.
corruptor64 said:
I edited the original reply and added a signed apk for the no drawer icon version.
The original version will expire in a year and will not be able to be installed after that since it was signed using debug certs which are valid for a year after the apk was created.
Click to expand...
Click to collapse
resigning when making new mods is less a problem, than coding it
im sure it'll work out in the end...
Damn i think i spoke to soon it works fine via the adb shell it shows the msg i made on the phone but if i try to run it in terminal emulator on the phone it does not work. Any ideas? if any one has it working via terminal emulator do you mind uploading a sample script?
ngagephone said:
Damn i think i spoke to soon it works fine via the adb shell it shows the msg i made on the phone but if i try to run it in terminal emulator on the phone it does not work. Any ideas? if any one has it working via terminal emulator do you mind uploading a sample script?
Click to expand...
Click to collapse
It works through adb shell for me and using Terminal Emulator app on my phone. I copy and pasted the following in terminal emulator on my phone and it showed a toast as expected.
am start -a android.intent.action.MAIN -e message 'this is the displayed text in a toast' -n com.rja.utility/.ShowToast
I don't do scripting so can't help there, sorry. Hopefully someone else can provide you the script you need. From my perspective i think everything is good. Let me know if you find out otherwise.
Good Luck!
Hmm it does work the problem i had is i was making the scripts in windows using notepad++ and i have noticed if i open the script on android i have blocks at the ends of each line. I have had this problem in linux when doing scripts via windows. Any way its not a problem with your app so thanks.
ngagephone said:
Hmm it does work the problem i had is i was making the scripts in windows using notepad++ and i have noticed if i open the script on android i have blocks at the ends of each line. I have had this problem in linux when doing scripts via windows. Any way its not a problem with your app so thanks.
Click to expand...
Click to collapse
UltraEdit rulez!
foxdog66 said:
cool, can you guys make one to play a sound? or is their a script or line of code that will play a sound? I made a few scripts to download/install a boot animation but i cant figure out how to notify once its done, thats what im going for. as of right now it just reboots the phone when its done.
Click to expand...
Click to collapse
Per this request, I made an app that plays a specified sound stream for the duration requested. It does not force a specific sound, but plays whatever sound is set for the type at the time.
/*
* Example run command:
* am start -a android.intent.action.MAIN -e raisevolume 'true' -e soundduration '8000' -e soundtype 1 -n com.rja.utilities/.PlaySound
*
* Program Options and valid values:
* Not passing in a flag is the same as passing false.
* raisevolume - boolean that forces the sound to be played.
* - sets sound mode to normal and raises volume to max - after sound is played, resets mode and volume to previous values
* soundtype - number to indicate type of sound to play
* - Valid Values:
* - 0 - ringtone
* - 1 - notification
* - 2 - alarm
* soundduration 8000 -- if nothing is passed default is 4000. This is the duration the sound is played.
*/
Please let me know if you have any questions or problems with it.
right on! thanks dude! ill give it a go and let you know how it works
Two years ago I was in need of a simple notification tool that could have been run by a command line in a script.
So far the best I found was this thread and the tiny app made by corruptor64.
That wasn't exactly what I was looking for so I finally decided to try to make the tool by myself.
Starting from scratch (I am not an Android developer) in a few days of studying and developing I ended up with a working small app, that I named Notify4Scripts and I made it public only this past June, here on GitHub
https://github.com/halnovemila/Notify4Scripts
Note that since the app is basically a service that has to be launched by the Android's shell "am" (activity manager) command, the Android system needs to be rooted first in order to be able to use such am command and have notify4scripts executed.
halnovemila said:
Two years ago I was in need of a simple notification tool...
Click to expand...
Click to collapse
Could you please write an intent to open a directory given as a variable when I tap notification. I want to use it with clamav daemon running on my phone so that I can open the directory containing infected file when I get the notification. Please note that directory can be out of $EXTERNAL_STORAGE e.g. /data/data/ which is only accessible with root privileges.
Can the notification be multi lined or expandable with "b_noicon 0" so that complete path and virus name is visible before opening the directory?
Thanks for this great tool.
mirfatif said:
Could you please write an intent to open a directory given as a variable when I tap notification. I want to use it with clamav daemon running on my phone so that I can open the directory containing infected file when I get the notification. Please note that directory can be out of $EXTERNAL_STORAGE e.g. /data/data/ which is only accessible with root privileges.
Can the notification be multi lined or expandable with "b_noicon 0" so that complete path and virus name is visible before opening the directory?
Thanks for this great tool.
Click to expand...
Click to collapse
Hi,
the intent depends on the app you are willing to use to "open" the target folder.
If you are willing to use a terminal emulator app you can look at the many example I've wrote on the wiki available at the GitHub page of my tiny project (here's the direct link to the wiki https://github.com/halnovemila/Notify4Scripts/wiki ).
In such examples I illustrate how to call the terminal emulator app and have commands passed to it for execution.
If you'd like to use other apps, like a file explorer app, then you need to know the proper intent for that app.
The "easy" way is to make a home screen shortcut of the app opening a folder, then locate the Launcher app database, open it and read the intent used for the shortcut (that's how I found out all the intent used in the examples).
When the notification layout is set to "Custom View" (which always is when b_noicon is set to 1) multi lines text content is possible (also with use of \n new line escape code in the text) but it's not "expandable". You can adjust the content text size and remove the title line (with str_title "") to gain more room and be able to fit longer text on the notification box.
Hope this helps

Secret apps list found in Home menus!

After I used terminal emulator with the pm disable function to disable both Gamecircle apps,Amazon Video,Photos (screensaver usage),and the Amazon AppStore,and resetting with ctrl+alt+del,I found a nice little surprise in the apps tab on the Home screen.
When I went to the Apps section,the list of all my installed apps appeared on the right!
When selecting them,they open immediately,but I can't long press to view the details of an app.
However,since they are still in the settings menu as well,I can still view the details from there.
The only issue with it is that it is a little buggy with scrolling through apps.
You can figure out the com-names using 7zipper 2.0 to view the advanced "details" of your apps.
To get the names to disable the same apps I did, change 7zipper's app list to system mode.
Info for people who really hate resource hogs:KFTV Launcher is currently using 80.59MB according to memory booster!
It probably has something to do with each menu selection loading dozens of images and information and sub-apps that seem to have no individual apps for selecting to disable.
So rbox,when you feel the Home Menu MOD is stable enough,please let me know when you release it for xposed.
retroben said:
After I used terminal emulator with the pm disable function to disable both Gamecircle apps,Amazon Video,Photos (screensaver usage),and the Amazon AppStore,and resetting with ctrl+alt+del,I found a nice little surprise in the apps tab on the Home screen.
When I went to the Apps section,the list of all my installed apps appeared on the right!
When selecting them,they open immediately,but I can't long press to view the details of an app.
However,since they are still in the settings menu as well,I can still view the details from there.
The only issue with it is that it is a little buggy with scrolling through apps.
You can figure out the com-names using 7zipper 2.0 to view the advanced "details" of your apps.
To get the names to disable the same apps I did, change 7zipper's app list to system mode.
Info for people who really hate resource hogs:KFTV Launcher is currently using 80.59MB according to memory booster!
It probably has something to do with each menu selection loading dozens of images and information and sub-apps that seem to have no individual apps for selecting to disable.
So rbox,when you feel the Home Menu MOD is stable enough,please let me know when you release it for xposed.
Click to expand...
Click to collapse
This has been known for some time. I think you found the secret that I hadn't been able to figure out; I bet it was disabling the Amazon Appstore. From what I remember, the initial reports were that sideloading the Appstore from Android caused this to happen. The code I haven't been able to find yet, must check for the Appstore and it's not there or the wrong one, it falls back to this grid view. At one point I was working on a mod that exposed (get it... cuz I use Xposed... haha) a similar, but less buggy grid. I may go back to working on that.
As for the menu mod, I just got the UI done for selecting which items should be visible, and I'm just working on the saving/loading of the preferences and getting the menu to reload after it's been changed.
What all did you disable and do you have the disable code you ran?
cybertlc said:
What all did you disable and do you have the disable code you ran?
Click to expand...
Click to collapse
pm disable "com.amazon.venezia"
Note this breaks Netflix completely.
Does disabling Photos and Gamecircle break Netflix as well? What are the package names for those 2?
Download and install "Package Name Viewer" : https://play.google.com/store/apps/details?id=com.gijoon.pkgnameviewer&hl=en
Or if you already have 7Zipper 2.0,you can view the names in the applications section in the details option via longpressing an app.
7Zipper 2.0 is the only well-known app that can extract 7z files on Android.
That's time consuming to do it for every app...Package Viewer does only what it says, shows you the com.xxxx.xxx name for installed packages.
I get a "Failed to connect to dumb state service killed" error when using the pm disable command
Any ideas
Stevie G said:
I get a "Failed to connect to dumb state service killed" error when using the pm disable command
Any ideas
Click to expand...
Click to collapse
How did you get to that point? The easiest is to run 'adb shell', then 'su' and verify you have the # prompt and it should work.
rbox said:
How did you get to that point? The easiest is to run 'adb shell', then 'su' and verify you have the # prompt and it should work.
Click to expand...
Click to collapse
We'll I did not type that.what is the correct way of typing it out adb shell su com.amazon.avod
Stevie G said:
We'll I did not type that.what is the correct way of typing it out adb shell su com.amazon.avod
Click to expand...
Click to collapse
1. adb shell
2. su
3. pm disable com.amazon.avod
lightning413 said:
1. adb shell
2. su
3. pm disable com.amazon.avod
Click to expand...
Click to collapse
Thanks bud
Press enter after every part.
1a. adb shell
1b. Press Enter
2a. su
2b. Press Enter
3a. pm disable name.of.app (some begin with org instead of com)
3b. Obviously press Enter,unless you changed your mind.
Does anyone have a list of what can safely be disabled without interfering with other features/apps/functions? I want to keep my Netflix/Pandora fully functional (but could care less about games).
cybertlc said:
Does anyone have a list of what can safely be disabled without interfering with other features/apps/functions? I want to keep my Netflix/Pandora fully functional (but could care less about games).
Click to expand...
Click to collapse
Why do you feel like you have to disable anything?
rbox said:
Why do you feel like you have to disable anything?
Click to expand...
Click to collapse
I'm assuming there are things that can be disabled to use less resources.
cybertlc said:
I'm assuming there are things that can be disabled to use less resources.
Click to expand...
Click to collapse
Not really. If you run ps from adb shell, there really isn't that much running that you'd be able to disable without completely break everything.
I find that Fire TV is actually not that bad about bloating apps when compared to the GS7 that got replaced by it.
The Sony NSZ-GS7 has some bloat apps like the TTS and most of the other ones I can't remember because none of them are on Fire TV.
Kernel Tuner:
I found out that the best performance governor for CPU is the Interactive governor.
And for I/O Schedular,the deadline mode is the fastest one.
This failed the wife acceptance test as it also causes issues with (but does not totally break) Pandora.

Peloton Spin Bike

I have a peloton Spin Bike, and it can with a screen where your able to stream workouts on through the companies subscription. The screen is operated by Android Jellybean: 4.1.1.
OK, so here's my challenge for anyone that,s willing to accept!
Problem: when you turn on the peloton bike screen your locked into the peloton app, and the you can't get out of the app to do other things... For example, watch YouTube or something else.
Challenge: I'm sure this is an easy hack, but if anyone can figure out how to unlock this. You be compensated for your efforts!
I'd love to be compensated for the effort, but really you can just Google the command sequence as it's pretty popular to install Netflix and watch movies rather than consume the Peloton content.
I successfully extracted the Peloton APK from the bike and installed it on my Galaxy S6. The issue is that it won't go past the login screen. I figure one of two things is happening. Either the app is calling a procedure to validate that hardware on the bike is working before logging in, or two, the Peloton server is validating the login request is coming from a bike instead of another device via a token or validation of operating system version, etc.
pretty simple to do, go to about section of the bike, tap on the lower right corner area of the about screen, which should take you out of the app into a main android area....after that open the browser, download apk installer and then download whatever apps you want to add to the tablet
hey guys, just bought a used peloton and have two really specific questions:
- has anyone reset all the data through settings? If so, what happens?
- I'm not seeing the invisible button that everyone is describing here and in other forums. I also have developer options on so I can see all of the hit areas. Am I missing something?
Thank you!
Hack Peleton
conspawn said:
pretty simple to do, go to about section of the bike, tap on the lower right corner area of the about screen, which should take you out of the app into a main android area....after that open the browser, download apk installer and then download whatever apps you want to add to the tablet
Click to expand...
Click to collapse
But once you are in the about screen, how do you download new software? I dont see an option anywhere to download. I only see the disable ap button.
My Peloton console won't go beyond searching for network if I use Wifi, or download updates if I use ethernet. I don't think it's a hardware failure and had been looking for a ROM to load it. Anyone backup their console? It's a first generation tablet running lollipop.
Any chance someone figured out how to do this with the Peloton Tread? Its running Android 7... I can get to APKmirror.com and click download, just feel like they went to an extra effort to hide / disable downloads... or maybe a way to side load via USB, I can't get a USB device to recognize...
jimmyLS said:
Any chance someone figured out how to do this with the Peloton Tread? Its running Android 7... I can get to APKmirror.com and click download, just feel like they went to an extra effort to hide / disable downloads... or maybe a way to side load via USB, I can't get a USB device to recognize...
Click to expand...
Click to collapse
Did you ever figure this out?
QwertyMC said:
Did you ever figure this out?
Click to expand...
Click to collapse
If you connect via USB you can place the APK on the device. My only issue is that it wont install as its an unknown source and i am unable to allow unknown sources to install.
if youre on a peloton running nougat (android 7.0), from the login screen you can go to:
wifi (icon, top right) --> system settings --> legal (licenses etc.) --> and click any button that says homepage.
it will bring you up in a browser from which point you can download a third party launcher such as Nova and use it to display a stock android UX (homescreen). once you have this you might choose to download an apk for google play, or even just grab apks (app files) via google searches. (for example: google: Netflix android 7.0 apk --> then follow links to download).
This does not work for me. Clicking download does nothing. Any ideas.
New Peloton screen not allowing third party apps
atthedustin said:
if youre on a peloton running nougat (android 7.0), from the login screen you can go to:
wifi (icon, top right) --> system settings --> legal (licenses etc.) --> and click any button that says homepage.
it will bring you up in a browser from which point you can download a third party launcher such as Nova and use it to display a stock android UX (homescreen). once you have this you might choose to download an apk for google play, or even just grab apks (app files) via google searches. (for example: google: Netflix android 7.0 apk --> then follow links to download).
Click to expand...
Click to collapse
I just got the bike the other day and tried through both downloading the app directly onto the peloton tablet (as you recommended) and through ADB, followed the instructions of this :
https://www.reddit.com/r/pelotoncycle/wiki/index/howto/root
but it would just "hang"
I then learnt to add -p when installing through ADB and discovered this error:
Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to parse /data/app/vmdl1690417893.tmp/base.apk: AndroidManifest.xml]
I have tired using ADB to install the app on my android phone and it worked fine - which means it's not the app - I believe!
Please help!!!
Sn4pdragon said:
New Peloton screen not allowing third party apps
I just got the bike the other day and tried through both downloading the app directly onto the peloton tablet (as you recommended) and through ADB, followed the instructions of this :
https://www.reddit.com/r/pelotoncycle/wiki/index/howto/root
but it would just "hang"
I then learnt to add -p when installing through ADB and discovered this error:
Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to parse /data/app/vmdl1690417893.tmp/base.apk: AndroidManifest.xml]
I have tired using ADB to install the app on my android phone and it worked fine - which means it's not the app - I believe!
Please help!!!
Click to expand...
Click to collapse
Did you manage to resolve this? Having the same issue on my console running Android 7. Also tried the adb commands to allow unknown sources as it's not available to be set in UI
DB555555 said:
Did you manage to resolve this? Having the same issue on my console running Android 7. Also tried the adb commands to allow unknown sources as it's not available to be set in UI
Click to expand...
Click to collapse
do you active subscription? if not you need to get it to install apps.
radixsort said:
do you active subscription? if not you need to get it to install apps.
Click to expand...
Click to collapse
Do you need to maintain the subscription to utilize apps? Wondering whether to get a month trial or just pay for a month to get the apps I want on there and then cancel.
coronanlime said:
Do you need to maintain the subscription to utilize apps? Wondering whether to get a month trial or just pay for a month to get the apps I want on there and then cancel.
Click to expand...
Click to collapse
You don't need active subscription to use apps that you have already installed. Sadly, The problem is most of the apps have new versions and old versions are deprecated within few months.
Definitely try Wired XDisplay as DC Rainmaker's post, to doscreen mirror from your laptop.
How to Load Zwift or TrainerRoad on a Peloton Bike: A Geek's Guide
This post started almost 100% for my own reference as a simple notepad file. But enough people asked about my random Instagram stories using it for Zwift and TrainerRoad, that I figured I’d write it up into something semi-cohesive. While
www.dcrainmaker.com

WebKey & Google Play on FTV2

So, I have a PM a while back about Webkey app on FTV. Here it is
@clembo100 said:
Hi there, I have just installed webkey on my Amazon TV Firestick in order to remote access Kodi installation configs etc.
When starting the app on the browser I can connect but get a plain replica of a phone on the screen with a small android icon on it but no actual way of viewing the screen or controlling anything. The mouse pointer changes when over some of the edges of the screen as though to do something but nothing seems to be working correctly. I wondered if you had come across this or can help with a fix? Thanks for reading this
Click to expand...
Click to collapse
I had the same problem on my FTV2 running version 3.2.6. The new version is not as feature rich (no terminal, no file transfers, no file system navigation, no way to input text easily) as the old one. Alas, you cannot run the older version on FTV2, it will refuse to start, either manually or auto-boot.
But, I have playing around with it and found that you can navigate menus using the keyboard arrow keys. Certain menu items can be invoked using mouse clicks as well (eg, if you go to Applications and open an app., you get different choices like "Run App" or "Clear Data". You can click on them and it seems to work). Also, usually once you are within an app, you can point and click using your mouse. So, even though it is crippled, it does work, though not as seamlessly as the older version. You can get the latest one at http://webkey.cc/ and there is a link for direct apk download.
One of the best uses I have for it right now is to interact with Google Play (system app). I have frozen my GPlay app at 5.6.8. As others have indicated, the mouse does not work (using K400) in the app. But, I can point and click in the GPlay app using Webkey and it makes it easy. Tip, if you need to click on the rectangle formed by 3 horizontal lines at the top of the page to get into your settings, click on the top left corner of that rectangle (of just those 3 lines) and the menu should pop down.
An interesting thing I found, if you install GPlay (5.6.8) as a user app, the mouse works, but it stops working when GPlay (same version) is installed as a system app. Of course as a user app, you get the error (976?) that won't allow you to install apps from within GPlay.

[Q] How to set intent on the Nook Simple Touch to open "Reading Now"?

I am not at all a wizard in code, so if anyone could help me set an intent to open "reading now" on the Nook Simple Touch, that would be really helpful. I'm using it to have a "reading now" link on my desktop with an app. It lets me copy and paste any intent I want into it, and I thought this one would be handy. The app is Desktop VisualiseR.
ALinkToTao said:
I am not at all a wizard in code, so if anyone could help me set an intent to open "reading now" on the Nook Simple Touch, that would be really helpful. I'm using it to have a "reading now" link on my desktop with an app. It lets me copy and paste any intent I want into it, and I thought this one would be handy. The app is Desktop VisualiseR.
Click to expand...
Click to collapse
I have it, but not with me. Search the forum for Reading Now. It's there somewhere. Or when I return from vacation...
Edit: https://forum.xda-developers.com/showpost.php?p=20046625&postcount=5
nmyshkin said:
I have it, but not with me. Search the forum for Reading Now. It's there somewhere. Or when I return from vacation...
Edit: https://forum.xda-developers.com/showpost.php?p=20046625&postcount=5
Click to expand...
Click to collapse
Thanks brother. I appreciate it.
No hurry on a response, but I'm still trying to figure this out.
So what I'm trying to do is use Desktop VisualizeR to open the reader via the "Reading Now" Intent. I am making a very simple and intuitive browser like the one you have made, @nmyshkin for my friends and family who are not at all techie.
Here that post you referred me to below:
ros87 said:
No, not directly in Reader, but you can do it like this:
Code:
am broadcast -a com.bn.nook.launch.LAST_BOOK -n com.bn.nook.home/.HomeBroadcastReceiver
Click to expand...
Click to collapse
Here is a desktop I'm playing with. These images won't be the final product, but I would like to make an eye image that directly opens "Reading Now"
In the Desktop VisualizeR Widget, I go to "Select Action"-->"Clipboard" (with this exact text copied in the clipboard without quotes: "am broadcast -a com.bn.nook.launch.LAST_BOOK -n com.bn.nook.home/.HomeBroadcastReceiver" )
All I get are two options which pertain to "MX Player" which is merely a video player I have installed. Choosing either one of these and tapping to widget to run it yields no results. Is there a particular way to format the intent for Desktop VisualizeR to run it?
By the way, this homescreen thing is looking awesome! Here is what I've got now!
So I've been messing with using SMWidgets to create a shortcut with the "Eye" symbol on my desktop using this procedure here:
https://forum.xda-developers.com/showthread.php?t=1509030
Here were my results:
I was disappointed to find that the reader app did not launch, and the Script Manager app stayed with that message. I don't honestly know what it means. Anyone know what would be better to input?
ALinkToTao said:
In the Desktop VisualizeR Widget, I go to "Select Action"-->"Clipboard"/B]
Click to expand...
Click to collapse
Just got into Cairo. You've been busy. To my knowledge the clipboard does not work on the NST, at least not for me, so there's one thing.
I can easily create an app with Tasker that does the Reading Now thing. But not without my NST. Would that work?
nmyshkin said:
Just got into Cairo. You've been busy. To my knowledge the clipboard does not work on the NST, at least not for me, so there's one thing.
I can easily create an app with Tasker that does the Reading Now thing. But not without my NST. Would that work?
Click to expand...
Click to collapse
It would, for sure!
I have gotten the clipboard to work in the attempt to do this! It works with the attached keyboard app "Multiling Keyboard". There is an option to switch to a keyboard that has arrow keys, select all, copy, paste, cut, delete, etc.
nmyshkin said:
Just got into Cairo. You've been busy. To my knowledge the clipboard does not work on the NST, at least not for me, so there's one thing.
I can easily create an app with Tasker that does the Reading Now thing. But not without my NST. Would that work?
Click to expand...
Click to collapse
What might be better is if you're going to use tasker, to send me a backup of the macro that you create for the reading now action. That may suffice instead of writing a whole new app. I will probably install tasker since I already have so many tasker apps running it may save some RAM that way, not sure. I can also use tasker for other options on the desktop like toggling wifi etc. The attached version of tasker is the one I know is the latest and best for the NST.
Whichever is easier for you to do is whatever works for me. I really appreciate your help, and hope you have a wonderful and unforgettable trip in Cairo.
ALinkToTao said:
What might be better is if you're going to use tasker, to send me a backup of the macro that you create for the reading now action. That may suffice instead of writing a whole new app. I will probably install tasker since I already have so many tasker apps running it may save some RAM that way, not sure. I can also use tasker for other options on the desktop like toggling wifi etc. The attached version of tasker is the one I know is the latest and best for the NST.
Whichever is easier for you to do is whatever works for me. I really appreciate your help, and hope you have a wonderful and unforgettable trip in Cairo.
Click to expand...
Click to collapse
Yeah, when I get home. In the meantime you might try just
com.bn.nook.launch.LAST_BOOK
as the intent. Seems like that's what's in the RN Menu app, although that might be in a shell which I'm not seeing. Not sure of the intent format for DesktopVisualizer.
nmyshkin said:
Yeah, when I get home. In the meantime you might try just
com.bn.nook.launch.LAST_BOOK
as the intent. Seems like that's what's in the RN Menu app, although that might be in a shell which I'm not seeing. Not sure of the intent format for DesktopVisualizer.
Click to expand...
Click to collapse
Thank! I'll try that and let you know.
ALinkToTao said:
I was disappointed to find that the reader app did not launch, and the Script Manager app stayed with that message.
Click to expand...
Click to collapse
You don't have to put the component name in, that is no "-n com.bn....."
The broadcast receiver component might have changed in different versions.
The newer Nooks seem to use com.bn.nook.intent.action.OPEN_LAST_READ_BOOK
ALinkToTao said:
What might be better is if you're going to use tasker, to send me a backup of the macro that you create for the reading now action. That may suffice instead of writing a whole new app. I will probably install tasker since I already have so many tasker apps running it may save some RAM that way, not sure. I can also use tasker for other options on the desktop like toggling wifi etc. The attached version of tasker is the one I know is the latest and best for the NST.
Whichever is easier for you to do is whatever works for me. I really appreciate your help, and hope you have a wonderful and unforgettable trip in Cairo.
Click to expand...
Click to collapse
OK, so here is a simple little app and the xml task file that is used to create it. You can, of course, assign a different icon using DesktopVisualiser.
Awesome, man! I will try it!
ALinkToTao said:
I have gotten the clipboard to work in the attempt to do this! It works with the attached keyboard app "Multiling Keyboard". There is an option to switch to a keyboard that has arrow keys, select all, copy, paste, cut, delete, etc.
Click to expand...
Click to collapse
I've installed this but can't figure out what to do with it! The first "step" (1. Enable Multiling) says it cannot do an autosetup so see the FAQ. This I did, but nowhere can I find anything about how to proceed with the app
Any pointers on set-up or somewhere you can point me that actually tells you how to do it?
@nmyshkin Here's a way to easily access the copy paste function when typing: In the multiling app go to "keyboard settings" then go to "gestures" each section you see here refers to a different swipe on the keyboard ims over the keys when its active. I know the second one programs a swipe to the right and the fourth is a swipe left. Program one of these to "toggle mode". Swipe your gesture when ims is active.
You will see what you want here.
Swipe again to switch back to QWERTY keyboard.
Try that.
ALinkToTao said:
@nmyshkin Here's a way to easily access the copy paste function when typing: In the multiling app go to "keyboard settings" then go to "gestures" each section you see here refers to a different swipe on the keyboard ims over the keys when its active. I know the second one programs a swipe to the right and the fourth is a swipe left. Program one of these to "toggle mode". Swipe your gesture when ims is active.
You will see what you want here.
Swipe again to switch back to QWERTY keyboard.
Try that.
Click to expand...
Click to collapse
Yeah, I finally figured all that out. My big hurdle was how to get the NST to use the keyboard instead of stock. It can be done using sqlite but I ended up using Nook Color Tools for the first (and last) time and in the process initiating an erase/deregister which made me very unhappy
Having trouble with the dictionary plugin at the moment. I have the keyboard app in system/app but installed the dictionary plugin as normal. Maybe that was a mistake.
But...it's almost back to where it was before the event, then I'll make a more current backup.
Edit: I finally got the dictionary plugin so that it's not whining about memory issues, but it does not seem to do anything.
More importantly, I can only seem to select ALL when using copy/paste. Is there a way to select only part of something? Also the function does not work in all contexts, for example in Documents to Go.
Edit-Edit: Well, I figured out the selection process for copy/paste. Who knew the "shift" key was needed to bound the area to copy? I'm sure this keyboard can do lots of things but it's profoundly lacking in any material to explain how they can be done. Still can't get the word suggestions to work, which is probably just as well since I immediately turn that off on my other devices.
I tried to get word suggestions to work for that keyboard, as it's my go-to keyboard on my Atrix 4g, but it never worked for me on the NST. If it did, that would be my daily user. I use ICS keyboard which actually has autocorrect. It's the only one I know of that works for it. If multiling had autocorrect, I wouldn't switch between the two on the NST.
ALinkToTao said:
I tried to get word suggestions to work for that keyboard, as it's my go-to keyboard on my Atrix 4g, but it never worked for me on the NST. If it did, that would be my daily user. I use ICS keyboard which actually has autocorrect. It's the only one I know of that works for it. If multiling had autocorrect, I wouldn't switch between the two on the NST.
Click to expand...
Click to collapse
Mmm....OK. Whilst looking for an "ICS keyboard" in the YalpStore I was bemused to find that while I had typed "ics keyboard" what appeared in the search box was "Icarus keyboard". First time I noticed something like that and exactly why I always turn this "feature" off on all my devices. Perhaps removing the plugin will squelch that behavior.
Meanwhile, can you give me a link for the ICS keyboard you mention?
Edit: On further investigation, there is definitely auto"correction" going on as I type. What is missing is the typical display of potential substitutions and therefore any way to specify a choice. It just does what it wants by its own arcane rules.
In addition to having the English plugin installed, in the Settings for the Multiling keyboard under "Word suggestion settings" I originally had the first three selections checked as well as "Quick fixes" and "User dictionary". For me, this produced the behavior described.
I was able to stop auto"correct" by unchecking the first two options. This greyed-out everything else in the category.
nmyshkin said:
Mmm....OK. Whilst looking for an "ICS keyboard" in the YalpStore I was bemused to find that while I had typed "ics keyboard" what appeared in the search box was "Icarus keyboard". First time I noticed something like that and exactly why I always turn this "feature" off on all my devices. Perhaps removing the plugin will squelch that behavior.
Meanwhile, can you give me a link for the ICS keyboard you mention?
Edit: On further investigation, there is definitely auto"correction" going on as I type. What is missing is the typical display of potential substitutions and therefore any way to specify a choice. It just does what it wants by its own arcane rules.
In addition to having the English plugin installed, in the Settings for the Multiling keyboard under "Word suggestion settings" I originally had the first three selections checked as well as "Quick fixes" and "User dictionary". For me, this produced the behavior described.
I was able to stop auto"correct" by unchecking the first two options. This greyed-out everything else in the category.
Click to expand...
Click to collapse
I'm so sorry I haven't responded to your request for this. I've been busy building a house (a tiny house) to live in for my girlfriend and I. It's coming along very well, I have to say.
I've attached the apk file.
ALinkToTao said:
I'm so sorry I haven't responded to your request for this. I've been busy building a house (a tiny house) to live in for my girlfriend and I. It's coming along very well, I have to say.
I've attached the apk file.
Click to expand...
Click to collapse
Thanks. I'll take a look at it. I gave up on the other alternate keyboard. While it was able to copy and paste within an app, it didn't seem to have true clipboard capabilities to carry a line of text or a URL from one app to another. That's what I'd really like.

Categories

Resources