yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G4] ejj28:
A while ago I flashed the Official G4 AOSCP Rom to my LG G4 H811, which already had an unlocked bootloader and TWRP. All was well for a couple of days, the rom worked fine, until I rebooted it, for what I think was the first time. It then got stuck in a bootloop. I had to restore to a stock backup via either LGUP or some other LG uploader, after which I was back to stock marshmallow. What struck me as odd was how the rom worked fine and then bootlooped, instead of just bootlooping immediately after the install. I have since learned that OTA and TWRP do not mix, and I do remember that there was an update available at the time, but I didn't install it. Now I am considering trying AOSCP again, or at least changing to a stock no-carrier rom, because I have the TMO version and it has tons of bloatware. However, I am worried that the same thing could happen again, and was wondering how I can prevent it. Is it possible that the OTA update had been downloaded and scheduled for install before I installed AOSCP and then auto installed after I installed AOSCP, causing the bootloop?
[Shield Android TV Q&A, Help & Troubleshooting] over_clocked:
Hi everyone,

I'm new to the forums, but I read the rules and I think I'm in the right place.

I own the original Nvidia Shield TV. I've long wanted touch emulation and to sideload games that I can play on my phone but on my TV. A couple years ago I rooted my shield, had a dual boot setup (Android TV + Full Android Marshmallow), and purchased Videomapit's Droid Mote server and client as well as his profile app. This worked for all intensive purposes, but it was clunky. My girl friend couldn't get the hang of using flashify to switch back to stock Android TV to watch Netflix, and I felt I had to use multiple game controllers, a keyboard, mouse, etc to navigate fluidly. I have since returned the shield to stock and given up on touch emulation...until....

The other day I came across this app in Google Play: USB Gamepad TouchMapper by makithappendigital. Apparently if I buy an Arduino Board: Micro, ProMicro, Leonardo or Beetle USB Stick and plug my gamepad into that using this app, touch screen on stock Android TV is now viable.

I have a couple questions...

1.) Has anyone actually tried this or something similar and did it work well?

2.) What is the difference between Micro, ProMicro, Leonardo or Beetle Arduino boards? Is one more effective for what I'm trying to accomplish, cheaper, or can be used for more than what I'd be purchasing one for (swiss army knife)?

Thank you in advance for your help and advice.

-OverClocked-
[Shield Android TV Q&A, Help & Troubleshooting] Slayerkodi:
Use octopus! Thank me later
[Shield Android TV Q&A, Help & Troubleshooting] Slayerkodi:
That list is ridiculous, I will be deleting the app. Thanks for the heads up
[Shield Android TV Q&A, Help & Troubleshooting] over_clocked:
Your welcome slayerkodi!

I am still looking for the answer to my 2 questions in my first post. Has anyone had experience with Arduino boards and touch emulation?
[Shield Android TV Q&A, Help & Troubleshooting] over_clocked:
Bump...

Anyone?
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
Hi,

1) Google told me, that the App Gamepad TouchMapper will crash from the start on Android TV's (maybe google do not allow the "Overlays" on TV Devices). Maybe someone can install the Demo and send some crash reports. Then I can see what I can do.

2) The only difference is the USB port. For the Beetle (Amazon: CJMCU-Beetle-Leonardo-ATMEGA32U4-Development-Arduino) you don't need an USB cable, for all the others you need an USB cable to plug it in the USB Hub.

3) I'm using this: CJMCU-Beetle-Leonardo-ATMEGA32U4-Development-Arduino

But you can also use this (incl. USB Cable): KEYESTUDIO-Arduino-Compatible-Micro-Atmega32U4

4) PS3 and PS4 are working fine. The PS4 Touchpad is a Button only with Gamepad Touchmapper

5) No. But you can use the old XBox 360 USB "wired" gamepad

6) Yes.

7) You need the USB OTG cable for other Android Devices (Tablets, Smartphones) only, because they have no full USB 2.0 Port. UGREEN-Adapter-Samsung-Controller-Smartphone

Hint: With my NVidia Shield Tablet (with HDMI Output Port) the Gamepad Touchmapper is working fine. It has the same Processor like the NVidia Shield TV. And with an USB OTG Y Cable you can use USB OTG (USB Devices like: Gamepad, Ethernet, Arduino, ...) and charge the Tablet at the same time. So you don't need the NVidia Shield TV anymore. You can also install an Android TV Launcher on your tablet. Then you have the same usability like you know it from a real AndroidTV Device.

The best thing with the Gamepad Touchmapper is: it is made for Gamepad handling including the settings. You do not need fingers or a mouse to set up the settings/games. And you don't need a rooted device.
[Shield Android TV Q&A, Help & Troubleshooting] over_clocked:
Thank you very much! I am going to place an order on Amazon for the Arduino board and give it a try. I will report my results here in the next week or two.
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
I think I've found a way to use Overlays with the NVidia Shield TV (there is a different API for TV). I've ordered one, and then I will make an App especially for the Shield TV and Android TVs next week. I've published also a 2nd App to play Games with Mouse and Keyboard (https://play.google.com/store/apps/details?id=com.makeithappend.keymousetouchmapperdemo). I'm so happy to have the possibility to do it without root and without hacks. Now it's perfect for me. There are so nice games in the App Store with fantastic 3D Graphics, but it annoyed me to play these games with fingers. With Mouse und Keyboard and also Gamepad it's easier and it makes more fun :)
[Shield Android TV Q&A, Help & Troubleshooting] over_clocked:
Ok so my arduino board arrived! I ended up purchasing this one:

https://www.amazon.com/gp/product/B0786LJQ8K/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

And I bought this case to protect it:

https://www.amazon.com/gp/product/B07984HVT7/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

So I tried your "original" demo on Nvidia Shield TV and it allows me to assign the analog stick and a button to the screen, but never allows me to actually test the stick and the button. Your app was on sale a week or two ago so I purchased it. With the full application it never detects the ps3 dualshock controller is plugged in. Then I realized that a long time ago when I rooted my Shield TV I had used the sixaxis pairing utility to change the master address to pair via Bluetooth (please note my Shield TV is no longer rooted, I returned it to stock firmware). I assumed Bluetooth connectivity was the problem. So I plugged my ps3 controller into my computer, ran the sixaxis pairing utility and created a fake address so it would no longer pair with my Shield TV. I then verified that my Shield TV was no longer pairing with my ps3 controller via Bluetooth.

I opened your paid app on the shield. When it asks me to plug in the ps3 controller it still does not detect the controller. However the USB hub, usb cable, and ps3 controller is working as I am able to navigate through menus on my Shield TV with the PS3 controller, so I do not know what is wrong here. I can't test on my phone because I have a Google Pixel and it uses USB C, so I do not have USB C to 5 pin mini B cable at the moment, but I'm sure it would work.

I will wait for your new app to test on the Shield TV once you incorporate the new API.
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
Thanks for the reply. Interesting. I have to think about.

I will receive my NVidia Shield TV Device in a few days, then I can more to say.

Btw. did you connected the Arduino Board and then ack the permissions a few times? After two ack permissions you have to see a PopUp Window with "Modify Data" and then "Success! Reboot... please wait 10 Seconds!"

If not, then the Arduino Board is not activated.

---------- Post added at 08:55 PM ---------- Previous post was at 08:37 PM ----------

I've tested my PS3 Controller with the Paid App and my NVidia Shield Tablet ... it found the controller (ask permission) the menu was coming up, but no control. Then I pressed the PS button once, then I could navigate the menu.

The PS3 controller is working also with the paid app.
[Shield Android TV Q&A, Help & Troubleshooting] over_clocked:
Thank you for your reply! When I was using the demo, I remember it was asking for permission. I thought I granted it, but it kept nagging for permission relentlessly. It's not asking anymore?!? I do not remember if it ever said "modify data" or not. How can I get Android to ask again? Also my arduino board has a green power light on that is solid. Additionally it has a yellow light that is blinking. The letter "L" is next to the yellow flashing light. I'm not sure that is a problem or not... I have gone into settings, developer options, revoked usb debugging, disabled and re-enabled usb debugging (this was probably not necessary, but just troubleshooting). I still can not get the Shield TV to ask for permission.
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
For this app you don't need Developer options or other options/settings.

If you have more than one TouchMapper Apps installed, then you have to quit all running TouchMapper Services! Reason: The other Services are stealing the device and you will never see a reaction with the app you are currently using.

If the Arduino Board "L" LED is blinking every second, then the Board is not modified by the App. The Arduino Board is correct modified if both LEDs TX/RX are blinking every 3 seconds. Unplug and replug the board. Then you will be asked about permissions (on some devices you have to press "OK" very quickly, otherwise the Arduino board will not work) and then you will see "modify data". This is only necessary for the first time. If the board is modified, then it will be instantly activated when you connect the board (no wait time).

YouTube Video: https://youtu.be/It_T2Dl6c70

I will receive my NVidia Shield TV wednesday, then I can say more about the Shield.
[Shield Android TV Q&A, Help & Troubleshooting] over_clocked:
Your video was helpful, thank you. I think I may have checked the box a few times (Use by default for this USB device) when I was asked for permissions, and therefore the board was never modified by your app. I am not sure how to reset that option in android as unplugging the board and plugging it back in no longer asks for permission. Under settings>apps>permissions there are no defaults set. I also hit the reset button on the arduino board, but that didn't help either. I hope you enjoy your Shield TV, it is truly a great device. The video processor is an upgrade over the shield tablet Tegra K1 processor. The Shield TV uses the Tegra X1 processor if I remember correctly.
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
You can try to install the App on an other Andorid device and modify the Arduino Board there.
[Shield Android TV Q&A, Help & Troubleshooting] bradleyw801:
This looks really cool! Years ago, I was able to use a Wii remote as a mouse on android. It was incredible, and I would gladly pay you handsomely if you could use this method and make it happen again. To illustrate what I am looking for, it was this. https://youtu.be/r1d1tU6o-Uo

If you can make that happen on my Shield TV, I would give you $, and shout your name from the rooftops for people to buy your app! Do you think that is possible using your method here?
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
This were easy, and I have the code, but is not working, how so many other function I would use. Google changed the Bluetooth Stack since Android 5 or so, till then Wii Bluetooth is not possible anymore.

But you can use another Phone to simulate the Wii Controller without IR Lights :) This is in the making.
[Shield Android TV Q&A, Help & Troubleshooting] bradleyw801:
Yes, I remember. I used to use my Wii remote as a light gun for emulators and games like Major Mayhem. Unfortunately all airmouse or gyroscopic methods don't work well when trying to use it as a gun. Wii IR is the best for that purpose. Please let me know if you find a way to make this work with an arduino. Thank you!
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
With an Arduino Leonardo + USB Host Shield + USB BT CSR Dongle it were possible.

But I don't know it for the NVidia Shield TV (different than normal Android Devices), I will test it in a few days.

Hmmm... I could make wireless Gamepad (Wii, PS3, PS4, XBox) also possible with Arduino Leonardo.
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
Update: Wii Remote (incl. Pointer) + Arduino Leonardo + Touch is working fine with Android Devices (without TV), but it was not easy, because of the low memory of the Arduino Leonardo, and some USB trouble with Android.

Waiting for my NVidia Shield TV Device.
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
Canceled the order at the 1st retailer now and ordered at Amazon. The device is coming tomorrow.

Wii Remote with IR Pointer is working perfect on my NVidia Shield Tablet + Arduino Leonardo. The Overlay problem is not as hard as I thought for the NVidia Shield TV.
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
Got the NVidia Shield TV.

Is working fine. I will publish the apps in the next days.
[Shield Android TV Q&A, Help & Troubleshooting] over_clocked:
That's exciting news! I haven't had a chance to try to program the arduino board on another device, but hopefully I can in the next couple days. I wish I could simply clear the checkbox on the shield TV though.
[Shield Android TV Q&A, Help & Troubleshooting] over_clocked:
I was finally able to successfully modify the data. I had to use my girl friends tablet and setup the Google Family Library. My Google Pixel XL does not recognize the PS3 controller, it will work with the PS4 controller supposedly, but I do not own one. I researched it on the web and it's a problem with the Pixel XL.
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
The old XBox 360 wired USB Controller is also working (but not the wireless version and where you can plug in an usb cable)

I've tested the normal TouchMapper Apps (not for the Android TV Devices) on the NVidia Shield TV, and they are not working. Only my new Apps especially for AndroidTV (not yet published) are working.
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
Done.

I've published the AndroidTV App "TV WRemote TouchMapper" in the GooglePlay Store:

https://play.google.com/store/apps/details?id=com.makeithappend.wiitouchmappertvpaid

Here is a small Video how it works (this is not the AndroidTV App but it has the same GUI):

https://www.youtube.com/watch?v=otnKbeQ1lU8
[Shield Android TV Q&A, Help & Troubleshooting] over_clocked:
I only have the wireless pc version of the XBOX 360 controller with a dongle for the PC.

However I am wanting to use my PS3 controller with the Shield TV so I will wait for your Shield TV app to be published. This is very exciting news!
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
It's on the way and is just being tested by google: "TV Gamepad TouchMapper" (exclusive for AndroidTV).

I think its available in 1-2 days on AndroidTV.

Link: https://play.google.com/store/apps/details?id=com.makeithappend.tvgamepadtouchmapperpaid

Its working with:

USB PS4/PS3 Controllers

USB XBox One Controller

USB XBox 360 Controller (wired version only)

For the Wii Remote there is another AndoridTV App: "TV WRemote TouchMapper" (also just being tested by google)

Link: https://play.google.com/store/apps/details?id=com.makeithappend.wiitouchmappertvpaid

.
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
Wow, Google was fast: "This app has been approved."

So, both Apps are available in the AndroidTV Store :)

Have fun.
[Shield Android TV Q&A, Help & Troubleshooting] over_clocked:
Ok sorry everyone I've been busy. So I purchased the TV Gamepad Touch Mapper and I can now emulate touch without root. I've only tested it on one game but plan on trying several games out shortly. Will post back after further testing, but this is very exciting :)
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
I've changed the Names and the Icons. Also I've added TV App-Versions.
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
Here is a Video with the Game "Darkness Rises" (no Gamepad Support) playing on AndroidTV

with the "AndroidTV Touch4Gamepad" App without root:

https://www.youtube.com/watch?v=gtqL20u64kY
[Shield Android TV Q&A, Help & Troubleshooting] over_clocked:
OK so I have been extremely busy working very long hours with a lot going on outside of work as well. I purchased the Android TV Touch4Gamepad app and it works great! So far I have tested it with Moba Legends and Darkness Rising on my Nvidia Shield TV. It has been a blast to play these Android games on my television from the comfort of my bed. You will have to purchase a long USB extension cable if you plan on doing the same thing but it's totally worth it. It is very easy to assign buttons where you would normally touch and use left or right analog sticks on the screen, and save the profile per game so you don't have to set them back up all over again. It's fairly easy to load a profile and switch to another after launching a different game for back to back gaming sessions. You can do all of this without the hassle of rooting your Shield TV. I have been waiting for over 2 years for true touch emulation on the Shield TV without root, and with this developer's app, an arduino board, a cheap USB hub, and long USB extension cable.... BAM, touch emulation on the Shield TV without root is now possible. I'm using a playstation 3 controller so I also have a mini USB to USB cable to plug the controller into the hub. If you're on the fence on this, trust me it's totally worth it. Also the developer has been very responsive to my inquiries and has assisted me via email on many occasions! I then shared my post on this forum with him and as you can see he has been very active here as well. Kudos to the DEV for all of his help, and hopefully by me sharing my experiences with you all...this will help you decide if you'd like touch emulation without root on your Shield TV. I feel like the Shield can finally be utilized how I envisioned it working before I purchased it to begin with!
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
Thanks for the review. I've placed a Touch Emulation Test App ("Touch Visualizer") in the AndroidTV Market store. It seems that's the only one for Android TV: https://play.google.com/store/apps/details?id=com.makeithappend.touchvisualizer With this app it's easier to check whether the touch emulation is working or not.
[Shield Android TV Q&A, Help & Troubleshooting] bradleyw801:
I am super close to getting this to work on my nvidia shield TV, but I am having a hard time with the final bit. I promised you a donation, and I will come through on that as soon as I can get this working. I am struggling with making the touch mouse active. I think my board has been written with the software properly, because I can connect the Wii Remote. However, the app won't always respond even if the Wiimote has solid lights indicating it is connected. It seems as if I am connected, but when I press left or right on the d-pad it won't move.

The second problem is that when I can get it to move, I map the function buttons, but I have no idea how to get it to work as a mouse pointer. I have tried mapping the function keys and using those short keys, but they do not work.

Please help! I have sent you a few emails. If you can even try to respond, I will make the donation as soon as I hear from you.
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
Hello bradley,

Thanks for this post. I have written you some emails, but it seems that you never received them.

Ok, no problem. Make a short video of your problems, maybe you can uninstall and reinstall the app, so then I can see how you are configuring and using the app and the hardware. I think then it will be clear fast whats going wrong.
[Shield Android TV Q&A, Help & Troubleshooting] bradleyw801:
You do exist! Haha, thanks so much. I see your email now. It was in my spam folder. I will try to make a video and send it to you now.

---------- Post added at 10:37 PM ---------- Previous post was at 10:24 PM ----------

I just made a video and sent it to you. Thanks in advance!
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
Thanks. I've seen the video. It looks ok.

Is the "TX" Led blinking while you are pressing a Wii button?

Is the Wii Remote an Original or Wii Fake Remote?

Is the Wii Remote an old version or new (Plus)?
[Shield Android TV Q&A, Help & Troubleshooting] bradleyw801:
No, it does not blink. When the Wii Remote shows me connected as 2, it does not make the TX light blink. I did get it to work once and connect me as 1 by repeatedly unplugging it and plugging it back in. When I did have it working, and had the mouse mode enabled, it's like that's the foreground app, and other apps won't work. They act like they are in a suspended state. I managed to make a video.

https://drive.google.com/file/d/1V68vM9p8rhYwKaCRAfHunNtbs3EGGRMX/view?usp=sharing

This was the same on native android games, or any emulators I tried.
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
Instead of unplugging and plugging the usb cable, you can try to press the reset button on the Arduino Leonardo.

Yes, the suspended state is a problem. I wasn't even aware of it :) It worked fine with my Touch Test app.

The reason behind this problem: Google has disabled all Overlays for the Android TV API. If you try to use these commands ... the whole app will crash.

It's not a problem if you are using a gamepad, because here you have to press GUI Buttons in the game only... but with the Wii Remote you are in the action :)

Hmmm... crap ;) At this time for the Wii Remote, you need a NVidia Shield Tablet with HDMI cable. Here you have Overlays and the Wi Remote is working fine. Maybe I can find a solution in the future, but I think not today ;)

Maybe I can solve it with a small Element (whatever what it is) that will not switch the app into the suspended state.

Maybe with a Toast message Window with clear Background ... so big as the whole screen and a graphics element at a specific position :)

---------- Post added at 01:02 AM ---------- Previous post was at 12:31 AM ----------

Holy cow... it seems to work ;)

Unbelievable.
[Shield Android TV Q&A, Help & Troubleshooting] bradleyw801:
Wait? What? You fixed it? Amazing!
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
Yes, it's a little bit complicated, but it seems to work.
[Shield Android TV Q&A, Help & Troubleshooting] bradleyw801:
Let me know when you push out the update, and I will give it a try. Is there anything I can do to get it to connect properly the first time without resetting?
[Shield Android TV Q&A, Help & Troubleshooting] MakeItHappenDigital:
The connection problem between the Wii Remote and the Arduino Board (not blinking TX Led) ... at this time not. The problem is, you are using a different Wii Remote (black, and maybe PLUS Version). This and maybe the USB BT CSR Dongle are the reasons why the connection is not correct at the first time. Maybe I can tune the Arduino Firmware a little bit.

Or you can try out a different USB cable, maybe from Samsung, or try to use an USB hub. Maybe other Bluetooth devices around you are the problem. I don't know it. Sometimes the sources of bugs are strange.

Added:

Ok, I've read a little bit about the WiMote with Motion Plus inside... maybe that's the problem, because the Plus Version is using another channel. I have to buy a Wii Remote Plus to check this out.

Added:

Ok, I can reproduce it... because I had a plugable PLUS Dongle for the Wii Remote in my Gamepads Box :)

It's the Arduino Firmware.