Panel Buttons remap - Android Head-Units

Hi,
Can you point me the way to remap the panel buttons on my new radio?
The only thing I can find is „touch study“, but there seems to be no key assigned, and it doesn’t react on any keypress, they must be assigned somewhere else …
Thanks
Piccer

piccer said:
Hi,
Can you point me the way to remap the panel buttons on my new radio?
The only thing I can find is „touch study“, but there seems to be no key assigned, and it doesn’t react on any keypress, they must be assigned somewhere else …
Thanks
Piccer
Click to expand...
Click to collapse
Touch study should be the right menu. I think you have to clear first

TorstenH said:
Touch study should be the right menu. I think you have to clear first
Click to expand...
Click to collapse
Thanks, but nothing happens when I press clear. The button only shortly changes the color to dark blue and back. All other buttons start flashing after prressing, but nothing else happens then.

piccer said:
Thanks, but nothing happens when I press clear. The button only shortly changes the color to dark blue and back. All other buttons start flashing after prressing, but nothing else happens then.
Click to expand...
Click to collapse

TorstenH said:
Click to expand...
Click to collapse
Thanks in advance, but this seems really only to work for touch-buttons. In my case with hardware-buttons absolutely nothing happens while pressing clear. And when I try to assign the key to new functions, it doesn´t realize that and switches to the old (so not cleared) functions of these buttons.

Understood. Are the hardware buttons out of function or do you just want to assign different actions?
If 2nd case: which action do you want to execute?

TorstenH said:
Understood. Are the hardware buttons out of function or do you just want to assign different actions?
If 2nd case: which action do you want to execute?
Click to expand...
Click to collapse
they work, but only with the default actions. I really want to have one for carplay and one for torque (OBD), but I tried other functions too. Could they be hardcoded? I cannot believe this, and if so, to which app?

piccer said:
they work, but only with the default actions. I really want to have one for carplay and one for torque (OBD), but I tried other functions too. Could they be hardcoded? I cannot believe this, and if so, to which app?
Click to expand...
Click to collapse
Yes, I think they are hard coded. E.g. SWC control are hard coded, too (at least if SWC is connected via CAN BUS).

TorstenH said:
Yes, I think they are hard coded. E.g. SWC control are hard coded, too (at least if SWC is connected via CAN BUS).
Click to expand...
Click to collapse
I‘ve got a 2006 Toyota, swc isn‘t realized via CAN an I can remap swc via app. Do you think it‘s worth a try with another firmware? But which one? Is it possible to make a full backup to recover it before trying?

piccer said:
I‘ve got a 2006 Toyota, swc isn‘t realized via CAN an I can remap swc via app.
Click to expand...
Click to collapse
That's why I added "at least if SWC is connected via CAN Bus". If SWC is a resistance matrix and directly connected to the head unit the learn functionality can be used. In some cases the resistance matrix is connected to the can box which allows to change the wiring to get the learning function.
piccer said:
Do you think it‘s worth a try with another firmware? But which one? Is it possible to make a full backup to recover it before trying?
Click to expand...
Click to collapse
No. There are only slight differences between the firmwares. Most of the functions are bundled in one central system app "MainUI" which is very restricted and not open source.
If you have a dedicated button to start the navigation app and you can set the navigation software, you should have an eye on AppSwitcher.

TorstenH said:
That's why I added "at least if SWC is connected via CAN Bus". If SWC is a resistance matrix and directly connected to the head unit the learn functionality can be used. In some cases the resistance matrix is connected to the can box which allows to change the wiring to get the learning function.
No. There are only slight differences between the firmwares. Most of the functions are bundled in one central system app "MainUI" which is very restricted and not open source.
If you have a dedicated button to start the navigation app and you can set the navigation software, you should have an eye on AppSwitcher.
Click to expand...
Click to collapse
Understood. But isn't MainUI a part of the firmware?
I installed AppSwitcher and it is really a good workaround. Thanx for this great work. Is there any chance to let Appswitcher autostart other apps (maybe even in background)? I'd like to have torque to run in background all the time (so it can collect obd data), but it's killed every time I start the car and must be startet first. I already have added it to the whitelist via your JunsunSleepConfigurator, but it's gone everytime I start the car...

piccer said:
Understood. But isn't MainUI a part of the firmware?
I installed AppSwitcher and it is really a good workaround. Thanx for this great work. Is there any chance to let Appswitcher autostart other apps (maybe even in background)? I'd like to have torque to run in background all the time (so it can collect obd data), but it's killed every time I start the car and must be startet first. I already have added it to the whitelist via your JunsunSleepConfigurator, but it's gone everytime I start the car...
Click to expand...
Click to collapse
AppSwitcher can start the last used media app or an Automate flow. Have a look in the AppSwitcher thread - I crated a post for this. Let's continue AppSwitcher related questions in the AppSwitcher thread to keep topics together.
Please note: It's not possible to start an app in background. This is not supported by Android. Usually the app gets started and then the home screen or another app.

Related

Turn of optical joystick in the registry

Hi my optical joystick is messed up.
I got a little coffe in the phone and since then If I just touch the optical joystick it brings up phone book and calendar at the same time.
So my question to you dear xda members is how can I turn of the optical joystick in the registry? I have turned it of and set it at the lowest in the settings but it doesn't turn of and is still very sensitive I have hard rested 2 times, still same thing.
Please help me turn it of in the registry
anybody please, its a big problem for me
start -> settings -> choose system tab -> optical joystick. here U can
mayyhem84 said:
start -> settings -> choose system tab -> optical joystick. here U can
Click to expand...
Click to collapse
Learn 2 read. He said he's already done so.
@Kevin_seymer: I don't think this is a software problem. Usually it works when you turn it off through the Settings, I mean some spilt coffee can't do anything to SOFTware. I think your problem is Hardware-related. Perhaps there is a short-circuit or something of the kind that triggers phonebook and calendar. I suppose those are your softkey mappings, since they are by default. A possible solution that will make your problem less annoying (But no solve it) would be to map the softkeys to nothing. This would free you from the apps opening all the time - but that's it.
Firefall! said:
Learn 2 read. He said he's already done so.
@Kevin_seymer: I don't think this is a software problem. Usually it works when you turn it off through the Settings, I mean some spilt coffee can't do anything to SOFTware. I think your problem is Hardware-related. Perhaps there is a short-circuit or something of the kind that triggers phonebook and calendar. I suppose those are your softkey mappings, since they are by default. A possible solution that will make your problem less annoying (But no solve it) would be to map the softkeys to nothing. This would free you from the apps opening all the time - but that's it.
Click to expand...
Click to collapse
Thanks mate, will try that and then report back
for me - whenever i use the media panel - the optical joystick re-enables its self and other times with out me realising it - any 1 else noticed this?
comeradealexi said:
for me - whenever i use the media panel - the optical joystick re-enables its self and other times with out me realising it - any 1 else noticed this?
Click to expand...
Click to collapse
Yes. But it hasn't happened to me for a long time now. Perhaps cuz I don't really use panels anymore. But I can confirm it happened to me multiple times.
And @Kevin_seymer: If you need help with remapping the softkeys, ask. I can tell you how if you can't figure it out.
I have mapped the left and and right soft keys to nothing, and things got a little better. Thanks =)
Kevin_seymer said:
I have mapped the left and and right soft keys to nothing, and things got a little better. Thanks =)
Click to expand...
Click to collapse
You're welcome

CLIQ gets added button functionality 01/28 through OTA

http://forums.t-mobile.com/t5/MOTOR...available-STILL-1-5-though/td-p/304863/page/2
There was an OTA update to the CLIQ today, which was taken down after 15 minutes. Reports say this added functionality to their home button as such:
There is also a new option to double-click home button to launch, contact, voice search, etc... it's under Application Settings
Click to expand...
Click to collapse
As for the double tap on the home screen, you can now set that as a shortcut. So if you press the home key twice, it will open up a certain function of the phone. Like take you to your contacts or open something else. By default it opens up google voice search.
Click to expand...
Click to collapse
No you can't customize the Double Tap. It is located under Settings - Application Settings and gives you the choices of Voice Search, Messaging, Dialer, Map, Contact and Camera
Click to expand...
Click to collapse
Is there any chance that something like this can be either a) ported over, or if it's not possible, b) developed for the Nexus One? (Basically if it is possible to add button functionality using the standard SDK tools?)
And even better, edited/hacked so as to allow home button double-tap to launch ANY app? (And even add double tap functionality for the other buttons?)
I don't see this working too well with capacitive buttons, tbh.
double tap on track ball
I wish there is a way to have double tab on he track ball to launch the dialer or to my favorite contacts. It would make it easy for making phone calls.
nuc70st said:
I wish there is a way to have double tab on he track ball to launch the dialer or to my favorite contacts. It would make it easy for making phone calls.
Click to expand...
Click to collapse
i can dig that!
but with the option to change it like camera, txt, etc...
nuc70st said:
I wish there is a way to have double tab on he track ball to launch the dialer or to my favorite contacts. It would make it easy for making phone calls.
Click to expand...
Click to collapse
That too!
The reason I ask if this is even possible to develop using the standard SDK tools is because I've been searching and searching and searching and searching over the past year with my G1 for some app on the Market that adds or alters button functionality. To date, there is not a *SINGLE* app that does this for *ANY* Android phone.
Until yesterday's update of course. Finally!!!
Is this something that ONLY Motorola (and other carriers) can do?
Personally, I would love to see a mod in spare parts or something that would make it so that all of the capacitive buttons at the bottom of the screen on the Nexus would require a double-tap to be activated. This would help us avoid brushing up against them accidentally when not meaning to. Granted, it would take a little bit of getting used to double-tapping them to make them work, but I'm sure some people would appreciate and use such a mod. I'm talking about a purely optional mod that you would not have to have turned on (but could via Spare Parts) and would be off to keep the button behavior stock by default.
kylez64 said:
i can dig that!
but with the option to change it like camera, txt, etc...
Click to expand...
Click to collapse
i guess the longevity of the trackball is low, at least it is on my blackberry. if you are onto this, mate, then, maybe, it could be either dblpress or longpress - to chose from?
tutech said:
Personally, I would love to see a mod in spare parts or something that would make it so that all of the capacitive buttons at the bottom of the screen on the Nexus would require a double-tap to be activated. This would help us avoid brushing up against them accidentally when not meaning to. Granted, it would take a little bit of getting used to double-tapping them to make them work, but I'm sure some people would appreciate and use such a mod. I'm talking about a purely optional mod that you would not have to have turned on (but could via Spare Parts) and would be off to keep the button behavior stock by default.
Click to expand...
Click to collapse
Hah, different strokes for different folks. I wouldn't use that, but that's exactly why it should be customizable.
Can any Android developers comment on this?
I found one! It's called Button Shortcut in the market. Great App!
Paul22000 said:
I found one! It's called Button Shortcut in the market. Great App!
Click to expand...
Click to collapse
Using it now. Works great. Replaced search-button long press with Dialer.
Perfect!
karthikjr said:
Using it now. Works great. Replaced search-button long press with Dialer.
Perfect!
Click to expand...
Click to collapse
Hell yeah! Now I wonder what it would take to get a back button long press?
I emailed the developer to see if a Back button long press was possible. His answer:
It is not possible to override function of back button.
-social mobile <[email protected]>
Click to expand...
Click to collapse
Well that's a bummer! I do like this lite app Button Shortcut at least for a Dialer launch button!

change Button LEDs

Hi there,
can anyone explain me how to get access to the control of the "Button LEDs"?
I know there must be a way because in Android those LEDs are glowing for example when you touch a button. At WM they only glow if you PRESS a button or touch the scroll wheel.
Thank you in advance
+1 here, that would be a nice option too
OK, what exactly do you all want? Buttons that light up on touch? is that all?
I'm brainstorming on ideas for my next version of X-Sense, so.... be creative!
Cheers
shirreer said:
OK, what exactly do you all want? Buttons that light up on touch? is that all?
I'm brainstorming on ideas for my next version of X-Sense, so.... be creative!
Cheers
Click to expand...
Click to collapse
That would be a first step. The default settings (light up all LEDs on button press or on scroll wheel touch) is just stupid.
The next step could be something like use the sensors on the buttons as extra buttons or use the LEDs as indicatiors for diffrent stuff. The scroll wheel for example seems to have 3 or more diffrent LEDs as Backlight. This could be used to indicate the battery status.
shirreer said:
OK, what exactly do you all want? Buttons that light up on touch? is that all?
I'm brainstorming on ideas for my next version of X-Sense, so.... be creative!
Cheers
Click to expand...
Click to collapse
Customizable options for the so the lights can follow your touch when scrolling ?
Not practical but it would look good
But how could we interact with the sensors?
I dont think they land somewhere in the message queue of windows mobil. I think we have to rewrite the driver which is responsible for them. But maybe I'm wrong, because I don't have a lot of experience with the windows Mobil API. I prefer managed code like C#.
As far as I understand, the center of the dpad is the only part of the hardware that has the capability of sensing when you touch it. The only way you are gonna get the other buttons to respond is with a button press unless you modify the hardware.
try the latest version of xdandroid. if u thouch for example the back key, it glows.
so, no. every button has a sensor on it
Just so we're all on the same page, the entire area below the screen is a touchpad, it is sensitive to touch & motion - there is an app that implements this very nicely as both a touchpad and touch launcher/Task Mgr. My xsense app already interacts with button lights to show several events (i.e. stylus out, volume profiles).
freaksey said:
try the latest version of xdandroid. if u thouch for example the back key, it glows.
so, no. every button has a sensor on it
Click to expand...
Click to collapse
shirreer said:
Just so we're all on the same page, the entire area below the screen is a touchpad, it is sensitive to touch & motion - there is an app that implements this very nicely as both a touchpad and touch launcher/Task Mgr. My xsense app already interacts with button lights to show several events (i.e. stylus out, volume profiles).
Click to expand...
Click to collapse
OK Sorry! I have the cdma diamond on sprint so I didn't know the other versions(gsm) had touch sensative buttons! My d-pad is that way but the others are not. Forgive my ignorance.
Y'all should check this app out; I'm not in league with the developer, but I recognize his talent on this one. Its an amazing app that does all of the above and more - and there's a trial version:
http://mobilesrc.com/gscroll2.aspx
this app looks nice.
Is anyone out their who can explain me how to catch the events of button-touch area?
freaksey said:
this app looks nice.
Is anyone out their who can explain me how to catch the events of button-touch area?
Click to expand...
Click to collapse
Google for Koushik's sensors.dll library; it comes with sample apps etc...
in his libary is only a event for the rotation of the scroll wheel...
touch lock pro
As I know, app called "Touch lock pro" can do some settings with the ring LED's, so this can be the way

Mouse Right Click Behavior

Hi,
I bought this remote:
http://g03.s.alicdn.com/kf/HTB1clsdIXXXXXXlXVXXq6xXFXXXn/2-4GHz-Fly-Air-Mouse-Wireless-Keyboard.jpg
but I'm having trouble with the "back" key. It's not really acts as back. Instead it acts as right click.
Has anyone been able to fix this problem?
I xposed module would be nice
I did some research and found this:
https://github.com/timduru/platform-frameworks-base/commit/bae953c0063dc1afb9e8c43381f3894329abe115
Think this is exactly what we need to fix this.
Is it possible via xposed module? Maybe any Devs are interested in that one?
Use esc button for back key
ilkerates said:
Use esc button for back key
Click to expand...
Click to collapse
Yes, I'm sure he's already aware of that.
Speaking personally, it would be nice if my back button on my air mouse (the same one as the OP has which, despite being marked as a back button, is effectively seen by Android as a right mouse click) actually worked as a back button. To stop having to turn my air mouse over to access the esc key every time I wanted to go back, given that the QWERTY doesn't work when pointing downwards. I had to remap my Menu button as the back button isn't seen by any key mapping apps.
So yes, a big thumbs up from me too if this can happen in Xposed. I'm rooted and running it already.
Beefheart said:
Yes, I'm sure he's already aware of that.
Speaking personally, it would be nice if my back button on my air mouse (the same one as the OP has which, despite being marked as a back button, is effectively seen by Android as a right mouse click) actually worked as a back button. To stop having to turn my air mouse over to access the esc key every time I wanted to go back, given that the QWERTY doesn't work when pointing downwards. I had to remap my Menu button as the back button isn't seen by any key mapping apps.
So yes, a big thumbs up from me too if this can happen in Xposed. I'm rooted and running it already.
Click to expand...
Click to collapse
Yes this is what I am also trying to do, so if anyone has figured out how to make the right mouse button into the back button that would be amazing!!
Xposed Additions may work for you.
ErAzOr2k said:
I did some research and found this:
https://github.com/timduru/platform-frameworks-base/commit/bae953c0063dc1afb9e8c43381f3894329abe115
Think this is exactly what we need to fix this.
Is it possible via xposed module? Maybe any Devs are interested in that one?
Click to expand...
Click to collapse
what exactly is this? thanks
[email protected] said:
Yes this is what I am also trying to do, so if anyone has figured out how to make the right mouse button into the back button that would be amazing!!
Click to expand...
Click to collapse
It's impossible as far as I'm aware to map the back button on my air mouse to a specific activity. Like I said, I ended up mapping the menu button instead. I've gotten used to it now.
Mogster2K said:
Xposed Additions may work for you.
Click to expand...
Click to collapse
Unfortunately not. In fact, not only did it not work, it caused delay issues in button presses on my NVidia controller. This only stopped when it was deactivated within Xposed.
Only other thing I can think of would be to create a custom profile in /system/usr/keylayout/, however I don't know the details of how to do it.
Sent from my LG-H811 using Tapatalk
nice !
nice !
Any updates with this issue? I was actually coming here to post about a similar problem.
Just picked up my Shield TV and tried using this same remote. The center button (select button; left click button) doesn't function at all. I can scroll up and down, left and right, air mouse cursor works fine. But I can't actually make a selection.
I also find that with either the controller or nvidia remote, I can't navigate in app file structures. So when I side load ES Explorer for instance, I can't get into the center of the screen and navigate the file list, only the top and bottom border menus. Or when I sideloaded ShowBox and other similar apps, I can't navigate the movie lists, only the top or bottom menus.
At this point I'm starting to think I'm either better off taking this thing back and using my old droid tv box. OR flashing this thing to make it act like a droid tablet and lose all the added functionality that the shield uses to set itself apart.
So, I bought this remote from amazon:
https://www.amazon.com/dp/B00UYCLV8Y/ref=cm_sw_r_other_awd_CTeTwbRCVNCP1
Which is pretty awesome so far. Everything works except the back button of course. I've been digging and digging and unfortunately I don't think we can change the behavior as it just doesn't seem to be recognized as a typical key scancode. I'm confident of this because I made a custom key layout file for this device, and literally edited 999 key entries, ranging from "key 0" all the way up to "key 999". I gave every keycode the back button tag. What this essentially did was turn every single button on the remote into a back button (lol), and as you may expect, even STILL the back button on the remote only registered as a mouse click.
After searching, it seems the only way to bypass this would to be to change the behavior of the mouse button itself, which according to resources online, is hard coded into the kernel itself. You would have to actually know how to code and compile a new kernel for your media device.
http://stackoverflow.com/questions/...ped-to-work-for-traversing-back-in-jelly-bean
I have created a simple keylayout that anyone can use if interested. It's pretty much just a rip of the generic.kl file, with the zoom in and out buttons on the remote configured as back buttons. If you use a proper keycode scanner, you can study this keylayout file and eventually customize any button (except the back button of course) to do almost anything you want.
It's a temporary workaround until someone figures it out. If it doesn't work for you, you may need to change the filename to reflect the proper vid and pid of your device. I did this by plugging my device into windows and checking the hardware id for the new mouse and keyboard input that popped up.
I'm not sure which directory the file needs to be in, so I just copied it to both known directories:
Root: data>system>devices>keylayout
Root: system>usr>keylayout
I hope this helps.
Edit: Also, a couple of things to note, in case anyone was curious. If your having any issues trying to program the infrared side for a remote, consider that the source remote may be blasting too much for this remote to learn. I discovered this issue because my Samsung tv would send tons of ir data and causing my remote to have troubles learning. If you have a similar issue, try quickly/lightly tapping the button on the source remote when teaching this remote to learn it. Had no issues teaching my remote once I figured this out.
Finally, an oddity I noticed is that the issue seems specific to Android TV boxes. Connecting the USB to my galaxy note 5 via USB otg cable, the back button works fine on its own on this remote. Oddly though, while it registers as a key using the key test app (Google it), it reports back as having a scancode of 0.
Tried adding key 0 as a button in the keylayout config. Still no go. :/
I've made a custom kernel based on stock kernel to (hopefully) change the rightclick event to back event.
Is anyone brave enough to check this out as I don't give a guarantee to anything?!
ErAzOr2k said:
I've made a custom kernel based on stock kernel to (hopefully) change the rightclick event to back event.
Is anyone brave enough to check this out as I don't give a guarantee to anything?!
Click to expand...
Click to collapse
tried your boot.img, and as far as i can tell, nothing.
my shield tv is already unlocked and rooted, so i just used "fastboot flash boot boot.img" in adb to flash the boot image to my device. booted up fine, just i dont see any changes regarding right mouse click.... :/
has anyone figure this out yet. I really need to change the right click to function as "back"
Has anyone been able to fix this meanwhile? With Xposed Module maybe?
I'd love a Magisk (or Xposed) module that fixes that, but I don't think any module like that exists right now...
There are work-arounds to use apps that create fullscreen overlay which intercepts right clicks and emulates a Back button, but those don't work on Shield (or Android TV in general) because creating Overlay / requesting "draw over other apps" permission causes a crash
For now, the most convenient (more than editing *.kl files) work-around I've found is to use an app called Button Mapper (packagename: flar2.homebutton, can't post a link cause I'm a newbie) and emulate Back button on some other button...

launcher and climate controls for car

I just got a new head unit for my car. The launcher seems to be VERY limited. I am unable to change the home screen or determine what launcher is being used (perhaps it is custom built). The unit appears to be XYauto 9212A running Android 12.0. Under apps it just shows "launcher" and the version is "null", so not very helpful.
I would like to try other launchers, but am hesitant because I don't want to lose the climate controls that appear at the bottom of the screen.
Does anyone know if the climate controls are a widget, or are they built into the launcher?
Would I need to do anything to backup the current system before trying a new launcher so I can get back to the current launcher if needed?
Many thanks in advance.
Post Android system information including mcu version.
Then search forums based on mcu prefix for information
Here is the info on my system.
I didn't see anything relevant on the forums.
You can use any launcher you want.
The upper buttons are always visible exactly as the climate control.
These are provided by the system.apk (named different on some devices)
The launcher will just take place between both parts. Not a good solution but it is like it is.
If somethings not working, you can just set the launcher back to the original one. Nothing will get destroyed.
At least you should know that this is no real Android 12. That shows also the current used ROM of 2GB, that is never sufficient for Android 12.
Thank you for the info.
This is EXACTLY what I wanted to know.
I can try other launchers without disturbing the climate controls.
You are correct about it not being Android 12. I ran "Fake Device Test" and it shows android 8.x and only 1GB memory :-( I'll have to remove it from the car and send it back.
rigattoni said:
You can use any launcher you want.
The upper buttons are always visible exactly as the climate control.
These are provided by the system.apk (named different on some devices)
The launcher will just take place between both parts. Not a good solution but it is like it is.
If somethings not working, you can just set the launcher back to the original one. Nothing will get destroyed.
At least you should know that this is no real Android 12. That shows also the current used ROM of 2GB, that is never sufficient for Android 12.
Click to expand...
Click to collapse
I like my climate control to be physical, is there any way to disable the climate control from my alps 9211B Android Head Unit? I found nothing in regular settings under 8888 and 8878 doesn't do anything. Any ideas?
Sorry for necromancy
mcmasterstb said:
I like my climate control to be physical, is there any way to disable the climate control from my alps 9211B Android Head Unit? I found nothing in regular settings under 8888 and 8878 doesn't do anything. Any ideas?
Sorry for necromancy
Click to expand...
Click to collapse
Sorry to say... At least I found no real way to get rid of that.
I use mine in horizontal mode (can be turned 90°) and I use Fcc Car launcher on it. I still have the top bar with these annoying buttons and so fare no way to get rid of them.... but I stopped working on that unit, it´s just now a nice music box in my office, built into a shelf for now.

Categories

Resources