yashsingh1/xdaforums huggingface dataset:
[Moto G9 Power Questions & Answers] Oswald Boelcke:
@GaBisS

Welcome to XDA! I hope you'll always get the support you require.

However, as courtesy I've translated your above post. This is just a friendly reminder that English is the mandatory language! With reference to rule no. 4 of the XDA Forum Rules, please post in English or add at least an English translation to your Portuguese posts.

Spoiler content hidden.

Thanks for your cooperation!

Regards

Oswald Boelcke

Senior Moderator
[Moto G9 Power Questions & Answers] GaBisS:
thank you very much, I hadn't read rule number 4, I asked if there was any good custom rom for games pro moto g9 power, could you help me?
[Moto G9 Power Questions & Answers] Oswald Boelcke:
Negative, sorry. I don't own or know that device.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Aronuser:
Please help, after i dailed a number or a contact and start the call, the dailer isn't showing. For example so I cannot switch on loudspeaker or alike.

I had this issue already with two roms.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Tomek0000:
Black screen all time during call?

Time to clean your smartfon, especial where sensors are located.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Aronuser:
Thank you but the screen is not black, i think it's the gapps
[Samsung Galaxy Watch 4] commando_911:
Hello there,

This is my 1st post, and I'd like to contribute by posting this small sheet that I've been making, basically tracking battery life, what was it used that time, when it was charged and etc...

Would like to know if you guys had similar, better or worse experience with it, and your thoughts about it too.

Cheers.

Link to spreadsheet: https://docs.google.com/spreadsheets/d/19z0IfP1fsEgGIFE5ygbfQuWps7HrlbdNd8uXyIZKefg/edit#gid=0
[Samsung Galaxy Watch 4] p51d007:
I use the GW4 classic 46mm. To improve battery life, I have wifi off, bluetooth on all the time, rotate wrist to wake up off, tap to wake off. I wear my watch to bed, and it isn't turned off until I get home from work, typically around 5:30 pm to 6:00pm, then back on around 10-11 pm for bed.

I'm getting 3 1/2 to 4 days of battery life, using it like that.

I was getting around 1-2 days at most until I turned tap to wake and rotate wrist to wake off.

I'm in a repair business, turning a screwdriver all the time, which was hampering battery life. ;)
[Samsung Galaxy Watch 4] commando_911:
So what I'm gathering you aren't using sleep tracking, how about some HB measurement and stress?

and btw, will try to disable rotate wrist and wifi, and will write down the results in same sheet
[Samsung Galaxy Watch 4] mybabysexy:
I use GW4 classic 42mm LTE version. I turn wifi off, bluetooth on, esim auto switch on when phone is not connected, in SS Health I set HR every 10min, stress set to manual. For the watch to wake I turn on every option (wrist, tap and rotate bezel). After work at around 6pm I turn on airplane mode, and I don't wear it while sleeping.

With all of that my GW4 lasted for around 1.5 to 2 days
[Samsung Galaxy Watch 4] p51d007:
I use the heart rate monitor and sleep tracking. I had the gear watch frontier and I started tracking my sleep & heart rate at night. I noticed my heart rate was spiking 2-3 times at night in the 90bpm range. On a yearly check up with my doctor, I mentioned it. Had a sleep study done. Mild to moderate sleep apnea. Been on a CPAP for 3 years. Now, my sleep heart rate stays in the low 50 to upper 50 range, and I sleep through the night if I don't have too much liquid in the evening.
[Samsung Galaxy Watch 4] commando_911:
Really nice to hear that these gadgets actually benefit you
[Android TV General] KenMacD:
As a one-off, in case you don't want to install another app, you can always run:

adb shell am start -n com.llamalab.automate/.FlowListActivity
[Android TV General] Free4ever2:
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.
[Android TV General] stapreedi:
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.
[Android TV General] Double_A_92:
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.
[Android TV General] stapreedi:
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
[Android TV General] omdhar:
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
[Android TV General] Double_A_92:
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.
[Android TV General] omdhar:
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.
[Android TV General] stapreedi:
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.
[Android TV General] harel013:
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?
[Android TV General] Double_A_92:
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.
[Android TV General] oldman20:
what is different between this way and others way like "Button Mapper" or tvQuickActions?
[Android TV General] Double_A_92:
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.
[Android TV General] oldman20:
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?
[Android TV General] NarkosNakan:
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.
[Android TV General] Double_A_92:
Make sure you really wrote

.*interceptKeyTq keycode=(\d+).*

With all the dots and asterisks....
[Android TV General] NarkosNakan:
Thank you very much, i couldn't see the first period at all in the main post~
[Android TV General] NarkosNakan:
The last problem im having is finding key codes, i don't understand how we find those for the app.
[Android TV General] NarkosNakan:
I thought I read that right in a prior post, but what buttons activate the notice? I move around and press enter on the remote but i dont see anything popping up.

Does this mean i am unable to use the flow program?
[Android TV General] GabbyWC:
Thanks for sharing this guide. What if I want to remap a button so that it functions with a play / pause command or the menu command when pressed instead of opening an app? Is that possible and if so, how?
[Android TV General] Double_A_92:
Maybe you could use Key send with the correct key code (see here) or Audio player control instead of the logic block that opens an app.
[Android TV General] Double_A_92:
Stop spamming my thread with unrelated questions. You already asked in the correct thread (here). Just wait or read the old posts, this it not a chat.
[Android TV General] Chicharito Nguyễn:
Sorry bro
[Android TV General] GabbyWC:
Alright. Does this flow look correct to you? I'm unsure as to whether or not the red "NO" circle at the bottom-right needs to be connected somewhere. I plan to use this with my Xiaomi TV Stick 4K to remap the remote's "PatchWall" button to media play/pause.
[Android TV General] Double_A_92:
Looks correct. The "no" output must be connected like that because it needs to restart the button checking even if it was not the correct button that got pressed.

Don't know if the numbers are correct though.
[Android TV General] GabbyWC:
I've updated the flow to make it as you described. If you can confirm that it looks ready to use now, that would be great. As for the PatchWall button key code of 192, I got it from the post at https://redd.it/uo1m4s so it should be correct. The key send 0x55 command is what Automate assigns to the media play/pause function.
[Android TV General] GabbyWC:
After plenty of testing, I'm disappointed to say that Xiaomi's PatchWall button does not function at all for me. The key code of 192 is correct (according to the toast message) but the operating system seems to have disabled the button and its ability to be remapped because I don't live in a country where the PatchWall app is supported. This must have been implemented with the current system software because the button at least did something when I set up the device a couple of weeks ago. I suspect that if any other North American users of the Xiaomi TV Stick 4K give this button a try, they will experience the same results.
[Android TV General] Double_A_92:
If the toast message shows the key, this tutorial should still work. I.e. if you were able to show the toast, you should also be able to start some other action at that point.

It's specifically for those hard-wired keys that can't be remapped by normal means...
[Android TV General] GabbyWC:
Hmmm, I'm not sure what to make of this. I edited the flow file multiple times with key send commands such as media play/pause and menu but none of those worked when I tried them. 🤷🏻 The fact that the PatchWall button literally does not open the app it's intended for (even when the app is enabled) makes me think that Xiaomi has made this rather difficult. I'll do some more testing later today.
[Android TV General] Double_A_92:
Sure, if the App generally just doesn't work, trying to open it in this way also wouldn't fix that...
[Android TV General] GabbyWC:
I decided to purchase tvQuickActions on Google Play today and that turned out to be a great choice. That app is able to remap my remote's buttons with ease and has plenty of versatility and customizability such as different functions for double presses and long presses. It's definitely easier to use than Automate. The video below shows how I was able to remap the PatchWall button.
[Android TV General] albdom:
Hello everyone!

I intend to remap the Netflix and Prime Video buttons on my Android TV Strong LEAP-S1 device. I have followed this tutorial because the Button Mapper App does not detect them for me. However when I run the flow in the Automate app it doesn't detect anything (flow commented above to visualize the code sent by the remote control).

Has anyone been able to test this device?
[Android TV General] XtraWater:
scrcpy permanently crashing. Even when I reduce framerate.

That's an impossible task.
[Android TV General] FlT4ever:
Same boat, anyone?
[Android TV General] RamTheMan:
Followed ALL instructions within the video (plus prior the one not in the video but after installing the app (like overlay etc.)). Works perfect on Strong Leap S1
[Android TV General] byeolgogii:
hey. do you have the keycode for NF and Prime keys of SL1? i can't seem to find the keycode. been trying for many hours
[Android TV General] RamTheMan:
Did you dissable NF / Prime???? First and Foremost: In SL 1 you need to go to Apps and Deactivate those (the apps) prior to using Key Mapper Than press the key as instructed - no need to know any keycode.
[Android TV General] byeolgogii:
yes. i disabled them at first setup. what flow config are you using?
[Android TV General] syneoa:
looks good, beside netflix button can you remap prime video button as well and can I use Mute to a list of available actions?
[Android TV General] Manzing:
Hi,

Have someone been able to detect FireTV remote app button (Netflix, Prime...) using Automat with an android TV device? I try to use these buttons with my Shield but I am unable to detect anything in any ways.

I tried but the app does not show anything, not sure I am doing right though.

All other buttons display a keycode, I think I have no luck :(
[Android TV General] Kiryo24:
I tried this with my Sony Bravia TV. I checked everything many times but i cant get any keycodes registered.

I can generate toast messages and permissions are ok(except battery optimization). Is there some other kind of log exception for Sony TV:s?

Maby i can use other keywords for log await?

I will post here if i get it to work.
[Android TV General] Kittybua:
Go this is 100x better than Button mapper

Tvquick
[Android TV General] JonW434:
TVQuickActions is a fantastic app.

But does anyone know how to emulate keyboard combo shortcuts via ADB like Ctrl + Z or Ctrl + S? I have tried without any luck, and have also tried emailing the developer without a response.
[Android TV General] JonW434:
I've been able to remap Netflix and Prime buttons only if they are disabled. If they are installed/active, no remapping.

Also the Prime button didn't allow for longpress (only single or double press) but the Netflix button allowed all 3.

It might be different depending on which TV box you have.
[Android TV General] Kittybua:
New Update 3.2.1 pro

JonW434 try the Leankey Keyboard and remove the gboard Keyboard
[Android TV General] JonW434:
Thanks, I'll have a try as soon as I get the chance. I'm using Leankey Keyboard at the moment but I haven't disabled or deleted the Gboard.

I can get emulate single keystrokes, but haven't had any luck with Ctrl + another key. I will try this and see if I have any luck.
[Android TV General] Kittybua:
Update 3.2.2 and Here other Apps cool Apps for Smartphone to Android TV

But dolphin best for Android TV

Android TV adb Mouse cant Here Upload sorry - apk+
[Android TV General] Androidfranco:
Hi all. I'm trying to back up my mappings in the key mapper app. It tells me I don't have the proper file manager capable o doing this. I have fx and es. So I guess neither o those will do the trick. What manager should I use?

Thanks!
[Android TV General] LA_:
@Double_A_92 thanks for the manual.

I tried to use your flow with my TCL TV, but it doesn't capture key press events. Looks like you are trying to find the key code with the regex

.*interceptKeyTq keycode=(\d+).*

, but I can not find interceptKeyTq in my log. The events look like below:

08-23 21:34:37.365 25906 25906 W ViewRootImpl[MainActivity]: Cancelling event (no window focus):KeyEvent { action=ACTION_UP, keyCode=4062, scanCode=242, metaState=0, flags=0x28, repeatCount=0, eventTime=473389096, downTime=473389024, deviceId=-1, source=0x301, displayId=-1 }
08-23 21:34:37.366 25906 25906 I chatty : uid=10051(com.tcl.waterfall.overseas) identical 4 lines
08-23 21:34:37.366 25906 25906 W ViewRootImpl[MainActivity]: Cancelling event (no window focus):KeyEvent { action=ACTION_UP, keyCode=4062, scanCode=242, metaState=0, flags=0x28, repeatCount=0, eventTime=473389096, downTime=473389024, deviceId=-1, source=0x301, displayId=-1 }
08-23 21:34:37.664 31481 31481 I ActivityTaskManager: isPreloadSplashApp = com.netflix.ninja
...
08-23 21:31:34.725 24000 24000 W ViewRootImpl[FlowListActivity]: Cancelling event (no window focus):KeyEvent { action=ACTION_UP, keyCode=4020, scanCode=227, metaState=0, flags=0x28, repeatCount=0, eventTime=473206455, downTime=473206395, deviceId=-1, source=0x301, displayId=-1 }
08-23 21:31:34.725 24000 24000 I chatty : uid=10109(com.llamalab.automate) identical 4 lines
08-23 21:31:34.726 24000 24000 W ViewRootImpl[FlowListActivity]: Cancelling event (no window focus):KeyEvent { action=ACTION_UP, keyCode=4020, scanCode=227, metaState=0, flags=0x28, repeatCount=0, eventTime=473206455, downTime=473206395, deviceId=-1, source=0x301, displayId=-1 }
...
08-23 21:49:41.981 17387 17387 D T_IME_LOG: TCL_IME********onKeyUp.eventgetKeyCode =4020
08-23 21:49:41.982 2310 2310 V GoogleTVCustomer: :---->Current app has running process : com.tcl.waterfall.overseas

Should I change the regex to capture `onKeyUp.eventgetKeyCode` or `KeyEvent`?

Another question is about tvQuickActions - somehow it is able to stop launching of default app (when button is remapped). Is there any way to achieve the same with Automator?
[Android TV General] Double_A_92:
Doesn't really matter. It should just be a line that contains a unique value, and only appears when you press the button. Pick whatever is easier to write a regex for. :)
[Android TV General] remizik:
Hi, are you the dev of TVQuickActions ? Because I see you sharing the apk, but the app is a paid app on the playstore.

I'm confused.

Thanks
[Android TV General] chloeleedow:
a very well written and comprehensive guide , i found an app that did all this just called re-mapper it probably works a little different as it doesn't have the elevated privileges of your app and guid but it works flawlessly and can use double tap key features etc you just tap the action section hit a button then tell it what you want it to do when it sees this so a little similar this just does it at a higher level of interception perhaps so maybe less lag although i didnt find the way i found too bad at all. You do however need a mouse in your usb port to be able to hit all the programming buttons in the app the remote doesn't navigate accurately enough lol mightt try this way too :) ill post link to app i used as well if you dont mind it may prove useful to someone who may not be comfortable doing thhis slightly more in depth way but it is very well written and concise !
[Android TV General] Kittybua:
Tvquick 3.2.4 pro
[Android TV General] Kittybua:
3.3.0 Update

+

Zank remote 19.5
[Android TV General] CloseJohn:
How would you go about intercepting the numpad keys on the remote let's say.

*I want to bookmark my favorite channels to the tv remote's numberpad keys.

Intercept 1

Ouput 123

Also, can you set a conditon statement to check if an app is currently in the foreground ?

If MyTvApp in foreground

Intercept 1

Ouput 123

**** EDIT 1

In your tutorial you said that the original app / action would still go through

So you can't block the original system action and perform a new one? Is there a node(block) for that?

I am looking at the documentation

https://llamalab.com/automate/doc/block/key_send.html

It says that it uses its own keyboard for emulating keys.

So I guess it doesn't need a rooted device either.

But if you can't block the original action it probably wouldn't work for my use case.

========================

I have a question for

Kittybua​

Does the TVquickActions have the ability to do this?

Does it require a rooted device? ( my streaming services may or may not work on rooted devices )

listen for a key and output/simulate many keys/text ?

Input "numpad1" output "123"

*edit fixed typo
[Android TV General] Kittybua:
I don't have root! it works without root! I also use the keys 2,5,8,0 for the 4 colors!!

but for numbers you need leanback keyboard from the store
[Android TV General] goodnbad:
I'm trying to use "setting" button (in remote control) to launch an app.

I've tested "log await" method, but I did not see any popup message at all.

Then I tested "key pressed" method. At first I used "key pressed" and "dialog message" to detect the keycode of "setting" button, then I used this keycode and this script works. Only one drawback: the volume up/down button is influenced a lot, long pressing it lost function, I have to press it repeatedly to change volume.

Now I'm learning to let long pressing volume up send volume up. Also planning to test more about "log await" method.

Could anybody please tell me, will "log await" method has the similar drawback as "key pressed" - influence other buttons e.g. volume up?

will other app, like tvquickactions, has the similar drawback?
[Android TV General] Goggles44:
nothing is working for me at all, i used the template and i dont have a bookmark button nor an HBO button on my remote, i have a paramount+ button so idk if that changes anything but it just doesnt do anything at all
[Android TV General] pixelsphotopro:
Thank you very much for the guide. Regarding the fact that I use the TV daily, it feels nice when you can re-map your remote according to your needs. For the past two years, I've been using a TV remote app and re-mapped my remote control buttons as I wanted. If you or any family member also uses the TV daily, you should try re-mapping your TV remote according to your preferences.
[Android Apps and Games] YaanSmet:
View attachment 5591941

2048 is a single-player sliding tile puzzle video game written by Italian web developer Gabriele Cirulli. The objective of the game is to slide numbered tiles on a grid to combine them to create a tile with the number 2048; however, one can continue to play the game after reaching the goal, creating tiles with larger numbers. It was originally written in JavaScript and CSS over a weekend, and released on 9 March 2014 as free and open-source software.

Download link:

Gameplay:

2048 is played on a plain 4×4 grid, with numbered tiles that slide when a player moves them using the four arrow keys. Every turn, a new tile randomly appears in an empty spot on the board with a value of either 2 or 4. Tiles slide as far as possible in the chosen direction until they are stopped by either another tile or the edge of the grid. If two tiles of the same number collide while moving, they will merge into a tile with the total value of the two tiles that collided.

Strategy:

Strategies in 2048 include keeping the highest tiles in a specific corner and to keep that tile in that corner and to fill the specified row with the highest numbers.

Development:​

Nineteen-year-old Gabriele Cirulli created the game in a single weekend as a test to see if he could program a game from scratch. "It was a way to pass the time", he said. He described it as being "conceptually similar" to the recently released iOS game Threes, and a clone of another game, 1024. Developed by Veewo Studio, 1024 is itself a clone of Threes, with its App Store description once reading "no need to pay for Threes"

View attachment 5591943View attachment 5591947View attachment 5591949View attachment 5591951

Download link:
[Android Apps and Games] YaanSmet:
New version published:

Changed design !

More funny GIFs added !
[XPERIA X1 General] antmagpie:
Can someone please explain to me how to get the gold/diamond icons for the touchflo_hd port on my x1. This is all new to me and i don't really know what i'm doin.

I have the touchflo_hd port installed and running pretty stable, with panels working ok. I have the black carbon theme on it at the moment, but really want the gold/diamond(or silver)icons, as posted by Kevin_seymer.

If anyone can help, it would be much appreciated.

Thanks
[XPERIA X1 General] Conky:
Well it depends.....

If you want the FULL gold theme installed in TF3D then copy all the manila files in the Jevelery zip to the X1s windows directory.

If you just want the gold icons at the bottom then just copy the diamod_gold.zip manila files to the X1s windows directory.

Rememeber to close TF3D before copying the files and then restart it afterwards ;)

The attached picture is of the Jeveery zip once installed.

The Gold.zip will just install the icons along the slide bar.

Hope that helps ;)
[XPERIA X1 General] antmagpie:
Thanks alot mate. It looks awesome. cheers