Saw the post before, couldnt relocate it.
How do I make it so when using WMP or HTC Audio Manager, when I press the power button the audio keep playing?
Here's what I'm trying to do.
I have the Jabra BT8010 (which I love btw) and I would like to use my phone at the gym to listen to music. The blue blinking Bluetooth indicator remains flashing when I press the power button to shut off the screen, so I know my headset is still joined, but the music stops playing. When I press the power button to turn the screen back on, the music resumes.
-Randy
dont press the off button
asign a button to toggle screen it will turn off the screen
it's the only thing which can be turned off while the pda
is still on enough to play music
I'm using dcd rom 2.1.0 and audio manager 1.02 build 614.712
My audio continues to play after pressing the power button.
rtownsend said:
I'm using dcd rom 2.1.0 and audio manager 1.02 build 614.712
My audio continues to play after pressing the power button.
Click to expand...
Click to collapse
Can you do me a favor? Use whatever registry editor you like, navigate to [HKLM\System\CurrentControlSet\Control\Power\State\ScreenOff]
There are 4 values in there:
blk1:
Default
Flags
upt1:
Can you tell me what the value is set to for each of the 4 items?
TIA! -Randy
Try putting the audio manager to REPEAT. This works for me...with repeat off the music stops when I power down the screen, but with repeat on the music continues right on through.
Here you go
default = 0
bkl1 = 4
flags = 1048576
upt1 = 1
rtownsend said:
Here you go
default = 0
bkl1 = 4
flags = 1048576
upt1 = 1
Click to expand...
Click to collapse
Okay... next step in the sequence lol.
How about the values in [HKLM\System\CurrentControlSet\Control\Power\State\Unattended]
blk:
Default
Flags
upt:
wav1:
That should be the last thing I need, I promise
default = 0
bkl1 = 4
flags = 4194304
gpd0 = 4
upt1 = 1
wav1 = 4
rtownsend said:
default = 0
bkl1 = 4
flags = 4194304
gpd0 = 4
upt1 = 1
wav1 = 4
Click to expand...
Click to collapse
whelp... mine doesn't have the gpd0 value, and my wav1 is set to 0 like colonel said to do. Sometimes it works, sometimes it doesn't. there doesn't seem to be a pattern to it. it has a mind of it's own. I've decided that I'm just gonna wait for the new ROM to be released by Verizon before I worry about problems that would effect my everyday usage of the phone. Thanks for the help though.
HTC Audio Manager has always worked for me with power button off, and here is the fix for WMP as found on ppcgeeks
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\State\Unattended]
"WAV1:"=dword:00000000
Okay, I need a ppc genius to explain this one to me! This is very weird. I've been doing some troubleshooting here...
If I do a soft reset, music will NOT play after pressing the power button, even with the above mentioned reg fix.
However, if I connect and disconnect the phone from my computer and Activesync starts, and is closed (completely closed on the phone through QMenu) music WILL play after pressing the power button.
It also plays if I manually open ActiveSync on the phone, and then close it. It does NOT work while ActiveSync is running for the first time after a soft reset, but if I open ActiveSync any number of times after it's been opened and closed once, music DOES play after pressing the power button.
Weird... This is killing me, I need an explanation!!!
(PS - I hope this thread is getting considerable attention and views. I cannot be the only one with this problem lol)
Not a problem for me
I am on the 3.16 leak but even with 2.17 I was able to play music with screen off. With or without S2U2 using the power settings. The screen sleeps the music goes on. I can turn it on again change songs and then hit the power button and the screen goes back to sleep music still playing.
This seems to be the general consensus, but not in my case, and I'm sure a few others.
Like I said, after a soft reset I can only get it to work properly with what I described about ActiveSync. Weird, can't figure it out...
I was having this exact same issue. I changed the wav1 value to 0 it worked right away. Didn't even need to soft reset.
shawn_ said:
I was having this exact same issue. I changed the wav1 value to 0 it worked right away. Didn't even need to soft reset.
Click to expand...
Click to collapse
Yep. That was it. Thanks!
Okay guys after hours and hours of searching and messing with my registry I found a SOLUTION for HTC Audio Manager to stay on after pressing the power button to turn off the screen/suspend........
It is sooooo simple I'm just shaking my head, no more using psshutxp or other screen toggles.
It keeps playing...yayyyyy
First open Reg editor and go to HKLM\Software\HTC\AudioManager\Config
Now create a new "DWord value" name it DisableSuspend and give it a value of 1
(You can also change the value of "enter suspend" to 0 but with my new key it should change it on reboot anyways)
This was done on a Sprint Touch
Double post
i changed the wav1 to 0 on my mogul and it worked fine, then i soft reset and its not working anymore. The value is still 0 as thats what regedit shows
primenall said:
Okay guys after hours and hours of searching and messing with my registry I found a SOLUTION for HTC Audio Manager to stay on after pressing the power button to turn off the screen/suspend........
It is sooooo simple I'm just shaking my head, no more using psshutxp or other screen toggles.
It keeps playing...yayyyyy
First open Reg editor and go to HKLM\Software\HTC\AudioManager\Config
Now create a new "DWord value" name it DisableSuspend and give it a value of 1
(You can also change the value of "enter suspend" to 0 but with my new key it should change it on reboot anyways)
This was done on a Sprint Touch
Click to expand...
Click to collapse
Don't working at HTC Polaris.
im just using slide 2 unlock and slide 2 play... LOVE EM...
play music and can shutoff without modifying registry...
FIXED!!
Hi
I found out which settings are required to fix this. Basically, edit input.ini, find the following under [browser widget] and change it as shown below:
Change:
Left = navigate left
Right = navigate right
Up = navigate up
Down = navigate down
to:
Left = Scroll left, 1
Right = Scroll right, 1
Up = Scroll up, 10
Down = Scroll down, 10
This must be what my old Voda X1 had as its default. For me, it makes the optical joystick useful again in Opera cause you can scroll around the whole page, rather than being restricted to navigating between links.
Don't forget the huge array of Opera options available on the config page (enter opera:config into the address bar). Most of these are explained here:
http://www.opera.com/support/usingopera/operaini/
http://files.myopera.com/ResearchWizard/files/Opera-Mobile.html?1227183542#inputini1
Nigel
Hi
Having sent back my vodafone X1, i now have an HTC X1, and am noting the differences between the two.
On the voda X1, the optical joystick could be used to scroll around a page (without highlighting any links).
On the HTC X1, the optical joystick works more like A 4 way tab button, the page moves, but the links keep getting highlighted.
The highlighting od the linka means that smooth scrolling does not happen.
Anyone know how to make opera behave like it did on the voda X1? i want my smooth scrolling back!
Nigel
My no brand italian X1 works like your "htc" x1.
In IE instead works like "vodafone" x1.
Start > settings > System > Optical Joystick > Allow scrolling iirc
nice hint! thx
Would be nice if it brought up a little mouse... it does this in Opera Mini (probably because Mini is made to have a mouse for all phones using the d-pad).
Hi
All the options under 'optical joystick' in settings are turned on. This does not enable me to pan around the page in opera like I used to be able to with my previous X1 - rather, the optical joystick just moves a highlight between the links on the page.
Previously the links on the page were ignored, and the joystick just moved the page about.
Basically it is now working like a cursor key rather than offering the ability to freely pan about the screen like before.
Must be a registry setting somewhere... either that, or the voda X1 that I had had a newer version of opera installed.
Pain in the arse whatever it is - I had gotten used to using the joystick, now I am back to flicking the screen with the stylus.
Nigel
Hi
Here ia my opera.ini can someone with a voda x1 or an x1 on which the joystick works properly in opera post theirs? you'll find it under application data.
Nigel
Opera Preferences version 2.1
; Do not edit this file while Opera is running
; This file is stored in UTF-8 encoding
[Install]
Preference URL=http://xml.opera.com/spoof/
Browser First Time Launch=0
[User Prefs]
Default URL=file://\Windows\Sony%20Ericsson%20start%20page\index.html
Ignore Unrequested Popups=1
Minimum Font Size=12
Help URL=\Application Data\Opera9\help\en\
Warn Insecure Form=0
Maximum Allowed Tabs=3
User JavaScript=1
Always load User JavaScript=1
UAProf URL=http://www.sonyericsson.com/downloads/X1i-1.0.xml
Home URL=about:blank
URL Type=2
Rendering mode=0
[Adv User Prefs]
Conn Mgr Auto Detect Network=1
[Cache]
Document=7000
Figure=3000
[Disk Cache]
Size=4000
[Security Prefs]
Enable SSL v2=1
Enable SSL v3=1
Enable TLS v1.0=1
Enable TLS v1.1=0
[File Types]
application/vnd.ms-powerpoint=4,\Windows\ppt.exe,,,ppt,|
application/sdp=3,\windows\StreamingPlayer.exe,,,sdp,|
application/x-sdp=3,\windows\StreamingPlayer.exe,,,sdp,|
application/x-rtsp=3,\windows\StreamingPlayer.exe,,,sdp,|
application/mheg=3,\windows\wmplayer.exe,,,mheg,|
application/rstl=3,\windows\wmplayer.exe,,,rstl,|
text/vnd.sun.j2me.app-descriptor=9,,,,jad,|
application/java-archive=9,,,,jar,|
audio/x-wav=0,,,,wav,|
audio/midi=0,,,,midi,|
audio/mid=0,,,,mid,|
audio/wav=0,,,,wav,|
audio/x-ms-wma=4,,,,wma,|
video/3gpp=1,,,,3gp,|
[File Types Extension]
application/vnd.ms-powerpoint=,0
application/mheg=,0
application/rstl=,0
application/sdp=,0
text/vnd.sun.j2me.app-descriptor=\windows\appdb\,2
application/java-archive=\windows\appdb\,2
[Adaptive Zoom]
Maximum Zoom=200
Minimum Zoom=150
Virtual Screen Width=960
[Trusted Protocols]
rtsp=1,0,
[Network]
Check Local HostName=1
Conn Mgr Auto Detect Network=1
UA Post Platform=PPC
[Colors]
Highlighted Background=#23dc23
Highlighted Text=#ffffff
From my UK Vodafone X1
Opera Preferences version 2.1
; Do not edit this file while Opera is running
; This file is stored in UTF-8 encoding
[Install]
Preference URL=http://xml.opera.com/spoof/
Browser First Time Launch=0
[User Prefs]
Default URL=http://live.vodafone.com
Ignore Unrequested Popups=1
Minimum Font Size=12
Help URL=\Application Data\Opera9\help\en\
Warn Insecure Form=0
Rendering Mode=0
Maximum Allowed Tabs=3
User JavaScript=1
Always load User JavaScript=1
Custom User-Agent=Vodafone/1.0/SEX1i/R1AA Opera/9.5 (Microsoft Windows; PPC; Opera Mobi/2141; U; UK) UP.Link/6.3.1.20.0 Profile/MIDP-2.0 Configuration/CLDC-1.1
UAProf URL=http://www.sonyericsson.com/downloads/X1i-1.0.xml
Home URL=http://www.bbc.co.uk/mobile/pda/index.shtml?
URL Type=1
[Adv User Prefs]
Conn Mgr Auto Detect Network=1
[Cache]
Document=7000
Figure=3000
[Disk Cache]
Size=10000
[Security Prefs]
Enable SSL v2=1
Enable SSL v3=1
Enable TLS v1.0=1
Enable TLS v1.1=0
[File Types]
application/vnd.ms-powerpoint=4,\Windows\ppt.exe,,,ppt,|
application/sdp=3,\windows\StreamingPlayer.exe,,,sdp,|
application/x-sdp=3,\windows\StreamingPlayer.exe,,,sdp,|
application/x-rtsp=3,\windows\StreamingPlayer.exe,,,sdp,|
application/mheg=3,\windows\wmplayer.exe,,,mheg,|
application/rstl=3,\windows\wmplayer.exe,,,rstl,|
text/vnd.sun.j2me.app-descriptor=9,,,,jad,|
application/java-archive=9,,,,jar,|
audio/x-wav=0,,,,wav,|
audio/midi=0,,,,midi,|
audio/mid=0,,,,mid,|
audio/wav=0,,,,wav,|
audio/x-ms-wma=4,,,,wma,|
video/3gpp=1,,,,3gp,|
[File Types Extension]
application/vnd.ms-powerpoint=,0
application/mheg=,0
application/rstl=,0
application/sdp=,0
text/vnd.sun.j2me.app-descriptor=\windows\appdb\,2
application/java-archive=\windows\appdb\,2
[Adaptive Zoom]
Maximum Zoom=200
Minimum Zoom=150
Virtual Screen Width=960
[Trusted Protocols]
rtsp=1,0,
[Network]
Check Local HostName=1
Conn Mgr Auto Detect Network=1
UA Post Platform=PPC
[Colors]
Highlighted Background=#23dc23
Highlighted Text=#ffffff
Hi
Thanks for that, unfortunately is it not a setting in that file. I have a suspicion that the setting I want is hiding away in input.ini - would you be able to paste the contents of this file (from a voda X1)?
Cheers
Nigel
I have a HTC X1 (unbranded) and the dpad it works both ways in Opera, though I did not really figure out when it scrolls and when it is in "cursor mode".
One thing is for sure: If there is one link framed (pre-selected), than the dpad works in cursor mode, if you tab on an area without any link then the dpad works in scroll mode - sometimes.
It's really a litte bit weired.
Wanted input.ini from Vodafone X1
Hi
Can someone post the contents of their input.ini file from a (UK) Vodafone X1
Application Data\Opera9\input.ini
Pretty Please?!
Nigel
Sorted!
Worked out how to do this, see updated post on first page
Nigel
Hi bro.
With your settings works, but also normal pad works with scroll. So no metod for select links as it is.
Indeed
I cant remember if on my vodafone, the d-pad still moved the cursor around the links or not. To be honest, I tend to tap the links.
Something is still different from my voda - on that, I could pan to the right hand side of the screen, and then scroll down, while keeping to the right hand side. With what I posted, the screen view moved back towards the left as you panned down.
If I could persuade someone with a (UK) vodafone Xperia to post their input.ini file it would save me guessing!
Nigel
veletron said:
Indeed
I cant remember if on my vodafone, the d-pad still moved the cursor around the links or not. To be honest, I tend to tap the links.
Something is still different from my voda - on that, I could pan to the right hand side of the screen, and then scroll down, while keeping to the right hand side. With what I posted, the screen view moved back towards the left as you panned down.
If I could persuade someone with a (UK) vodafone Xperia to post their input.ini file it would save me guessing!
Nigel
Click to expand...
Click to collapse
Has the same problem, which keeps moving to left whenever moving up or down. So weird...
Thanks a lot for the tip on modifying the .ini file to make the optical pad navigate through the entire webpage rather than through the links. Makes the browsing experience a lot more pleasent. Now if only the would implement the formatting of text depending on how far in we zoom into the webpage like the Touch Pro...
From my branded Vodafone
Code:
[Button Widget]
Enter = Click button
Space = Click button
[Radiobutton Widget]
Space = Click button
[Checkbox Widget]
Space = Check item | Uncheck item
[Edit Widget]
Backspace = Backspace
Left = Previous character
Right = Next character
Left shift = Range previous character
Right shift = Range next character
Left ctrl = Previous word
Right ctrl = Next word
Left ctrl shift = Range previous word
Right ctrl shift= Range next word
Up = Previous line
Down = Next line | Show edit dropdown
Up shift = Range previous line
Down shift = Range next line
PageUp = Page up
PageDown = Page down
PageUp shift = Range page up
PageDown shift = Range page down
Home = Go to line start
End = Go to line end
Home shift = Range go to line start
End shift = Range go to line end
Home ctrl = Go to start
End ctrl = Go to end
Home ctrl shift = Range go to start
End ctrl shift = Range go to end
Del ctrl = Delete word
Backspace ctrl = Backspace word
z ctrl = Undo
y ctrl = Redo
z ctrl shift = Redo
a ctrl = Select all
b ctrl = Toggle style bold
i ctrl = Toggle style italic
u ctrl = Toggle style underline
Del = Delete
[Dropdown Widget]
Down alt = Show dropdown
Esc = Close dropdown
Right = Next item
Left = Previous item
Down = Next item
Up = Previous item
PageUp = Page up
PageDown = Page down
Home = Go to start
End = Go to end
[Browser Widget]
Tab = Focus next widget
Tab shift = Focus previous widget
Left Shift = Scroll left
Right Shift = Scroll right
Up Shift = Scroll up
Down Shift = Scroll down
Right = Navigate right
Left = Navigate left
Down = Navigate down
Up = Navigate up
PageUp = Page up
PageDown = Page down
Space = Page down
Home = Go to start
End = Go to end
Home ctrl = Go to start
End ctrl = Go to end
Esc = Stop
Enter = Activate element | Open link | Focus form | Click button
a ctrl = Select all
[Browser Window]
F1 = GOGI Command Menu or Cancel
F2 = GOGI Window Menu
F3 = GOGI Previous Page
F4 = GOGI Next Page
[Application]
Enter ctrl = Wand
GestureLeft = Back
GestureRight = Forward | Fast forward
GestureUp = Stop
GestureDown = New page
GestureDown, GestureRight = Close page
FlipBack = Back
FlipForward = Forward | Wand
n ctrl = New page
t ctrl = New page
w ctrl = Close page
F5 = Reload
Plus = Zoom in, 10
Plus ctrl = Zoom in, 100
Add ctrl = Zoom in, 100
- = Zoom out, 10
- ctrl = Zoom out, 100
Dec ctrl = Zoom out, 100
* = Zoom to, 100
z = Back
x = Forward
. = Find inline
F3 = Find next
F3 shift = Find previous
x ctrl = Cut
c ctrl = Copy
v ctrl = Paste
tab ctrl = Switch to next window
tab shift ctrl = Switch to previous window
Hi artesea
Cheers for posting that - its the same as in mine so it looks like the scrolling about on my old voda was not achieved by mods to input.ini performed by vodafone.
Guess I'll stick with that I have. Are you able to confirm that on your voda, like on my old one, the optical joystick lets you pan freely about the screen (w/o getting caught on links). I.e 'scrolling' rather than 'navigating' in Opera speak?
If so, when you scroll to the right hand side of a zoomed in page and then scroll down, does the view stay on the right, or does it revert back to the left as you scroll down?
Nigel
It's a UK Vodafone branded X1. When in Opera if I use to optical the page moves around in the direction I scroll. There is no panning to the left when moving down the right hand side of the page.
To move between links I can use the 4 way, although sometimes this doesn't work.
How do you open .ini files in X1?
I can't find any Text Editors. How about Word Mobile?
AppSwitcher v3SWC (Steering Wheel Control) app launcher
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Stay focused on the street and don't touch the head units display to switch between apps.
Your browser is not able to display this video.
Support the development of this free app via
ko-fi.com/appswitcher
What is AppSwitcher?
AppSwitcher enhances your steering wheel key to switch between apps.
Hereby you can select which apps should be offered and you can choose stock apps (e.g. the radio app) and 3rd party apps like your favorite mp3 or DAB player. You can switch between media and navigation app by only one key press.
Additionally AppSwitcher offers a lot of options:
- start the last used media app after boot and after sleep automatically.
- long button press to cancel (if dialog is shown) or to jump to home screen.
- reactivate accessibility service of Automate and start initial Automate Flow to realize your own automations
- enable/disable DuraSpeed to prevent the head unit from killing your apps
- change system property to make Android status bar visible (work as on other Android devices)
- automatic screen dimming based on sunset / sunrise information
- allows to start the (Junsun) equalizer app
- supports SWC key "mode" even if CAN box is in place (if modded MainUI gets used)
- ...
How it works
AppSwitcher has two options to register for a SWC key. A basic understandinghow it works will help you to do the initial setup of AppSwitcher.
Option 1 - GPS
The head units main app (MainUI) writes by default a log message on each key press. AppSwitcher can listen to the Android log and react on a log message.
This will not overwrite the standard behavior of the original key function but we can configure a SWC key and assigned it to "open navigation app". With a special app (AppSwitcherStarter) set as navigation app there is no need to modify system files or system apps.
This will only work if
a) a dedicated SWC key to start the navigation app is present. If no CAN box is used every SWC key can be configured
b) a dedicated SWC key to switch between apps (mode button) is present AND the radio app is not used/required
Option 2 - MainUI
Replacing the head units main app (MainUI) with a modded version.
In this version, the SWC mode key is disabled so that its functionality can be overridden (replaced) by AppSwitcher.
Additionally the modded version starts AppSwitcher after boot / sleep and sends a broadcast on each key press. This allows AppSwitcher to register for the broadcasts to receive a trigger. Other apps (e.g. Automate) can also register for these broadcasts.
This will only work if
a) a modded version of MainUI is available
b) you are not afraid of replacing a system app and know how to flash a firmware in case of problems. You're replacing the system app at your own risk.
Installation
Option 1 - GPS
Please read previous post to check if this is the best installation type for you.
Spoiler
- Install AppSwitcher AND AppSwitcherStarter.
- Enable automatic start of navigation app in factory settings
and let your device reboot.
Please be aware that changing factory settings will reset some settings on your device like equalizer and radio station presets. This is not an issue of AppSwitcher(Starter).
- Open AppSwitcher and select your navigation and media apps. Additionally activate the log listener:
- Set 'AppSwitcher Starter' as navigation app:
Don't set AppSwitcher itself as navigation app.
- Configure one button of steering wheel to start navigation app (if not already done)
With this setup the head unit will start AppSwitcherStarter after each reboot/sleep whereby AppSwitcherStarter will start the service of AppSwitcher.
Pressing the SWC navigation key will also start AppSwitcherStarter but this will have no effect if the service is already running. Nevertheless the AppSwitcher service will recognize the log entry and can present the AppSwitcher dialog.
The log entry can vary from head unit to head unit so it may be required to adjust the log listener settings https://forum.xda-developers.com/t/...-devices-incl-autostart.4593865/post-88620913
Option 2 - MainUI
Please read previous post to check if this is the best installation type for you.
You choose this way of installation at your own risk. It may lead to a bootloop and you should be familiar how to flash a firmware to restore your device in case of problems.
Spoiler
- First you need to check if a suitable modded version of MainUI is available for your device.
You can find a list of modded versions here: https://forum.xda-developers.com/t/...-devices-incl-autostart.4593865/post-88620949
- Download the modded MainUI version, place it in the "Download" folder on the device and rename it to MainUI.apk
- Install MainUiUpdater and perform the replacement of MainUI system application. If the device freezes after the update simply use the reset hole to force a reboot.
- Install AppSwitcher
- Open AppSwitcher and select your navigation and media apps.
Ensure the log listener is disabled.
- Reboot your device. E.g. by using the Reboot.apk from here: https://forum.xda-developers.com/t/...r-aux-bt-music-carinfo-from-launcher.4237797/
Installation files
Attached installation files are only for testing purposes.
V3 is still under construction and may be not stable. This version is not supported.
AppSwitcher: Core application
AppSwitcher Starter: Starter of AppSwitcher and dummy navigation app. Only needed for installation option "Option 1 - GPS".
MainUiUpdater: Helper tool to replace MainUI. Only needed for installation option "Option 2 - MainUI".
Reboot: Adds an icon to launcher for an easy reboot of the head unit. Can be found here.
Changelog
AppSwitcher
3.0.3
- Adjusted to new broadcast key
MainUiUpdater
0.7
- Changed backup dir to /sdcard/MainUIbackups
Adjust the log listener
Installation type "Option 1 - GPS" may require to adjust the log listener settings. They are pre-configured for systems without CAN box and a SWC key assigned to the GPS function (see Installation instruction on previous posts).
First you have to identify which log entries get written as soon as you press the SWC key. I suggest to use "Logcat Reader" from Google Playstore to identify usable log messages.
The log listener settings
Log tag: Tag of the log entry. On most systems this is "MainUI".
Short button press log entry: If this log entry occurs AppSwitcher will show the dialog or jump to the next app.
This is the most important entry.
If you get a set of log entries as soon as you push and release a SWC key "Short button press log entry" should be set to the log message which gets written as soon as you release the key after a short amount of time.
Optional:
On button press log entry: This log message gets written as soon as you push down the SWC key. AppSwitcher will stop the countdown as soon as this message gets detected. This allows to set a very short countdown time.
Long button press log entry: If you hold down the button you can cancel the AppSwitcher dialog or jump to the home screen / launcher if the dialog is currently not visible.
The log entries need not to contain the whole message. It's sufficient to enter a substring if this is unique and not part of other log messages.
Modded MainUI
For MTK825X
MainUI_825X_1.3.apkVersion 1.3 from 8259P_军灿UI02v1280x720-国外_v81_20230427
Changelog
23/6/18
- Allow remap of SWC keys even if CAN box is in place
For 8667To bring this version on the same level as 825X I need your testing support!
MainUI_8667_1.1.apkVersion 1.1 from 8667Q军灿UI02-国外-1280x720_v28_20230302.zip
Remap SWC keys
If a CAN box is in place Junsun devices doesn't allow to remap SWC keys and assign other functions to it. But if you install a modded MainUI it is possible to define a config file with a mapping according to your needs.
The mapping file must be called "keyMapping.ini" and must be stored on the top level of the memory next to the "Download" folder.
The file is a simple text file containing key code mappings:
Code:
[from value 1]:[to value 2]
[from value 2]:[to value 1]
[from value 3]:[to value 4]
This is an example to swap the volume keys:
Code:
19:20
20:19
The most used key codes:
Mode = 10
Vol + = 19
Vol - = 20
next track = 44
prev track = 45
All key codes:
Spoiler
0 = 31;
1 = 32;
2 = 33;
3 = 34;
4 = 35;
5 = 36;
6 = 37;
7 = 38;
8 = 39;
9 = 40;
AIR = 105;
AM = 53;
AMS = 58;
ANGLEDN = 74;
ANGLEUP = 73;
APPS = 100;
APP_LONG = 115;
APP_SHORT = 114;
AUDIO = 101;
AUX = 2;
AVIN = 3;
AVM = 107;
BKL = 6;
BT = 23;
BT_A2DP = 111;
CAMERA = 108;
CARINFO = 106;
CAR_DEVICE = 110;
CAR_PLAY = 103;
CLOCK = 5;
DEL = 109;
DELETE = 84;
DIM = 24;
DIMDN = 88;
DIMUP = 87;
DISP = 85;
DN = 67;
DTV = 1;
DVD = 13;
DVR = 27;
ECAR = 89;
EJECT = 71;
EJECT_L = 83;
ENT = 21;
EQ = 17;
FAV = 86;
FCAM = 26;
FEEL_BACKWARD = 198;
FEEL_CCW = 200;
FEEL_CW = 199;
FEEL_DOWN = 196;
FEEL_FORWARD = 197;
FEEL_LEFT = 194;
FEEL_RIGHT = 193;
FEEL_UP = 195;
FEEL_WAVE = 201;
FF = 46;
FM = 52;
FMAM = 51;
FR = 47;
HOME = 99;
INFO = 98;
IPOD = 25;
J = 41;
LEFT = 68;
LOC = 55;
LOUD = 18;
MEDIA = 28;
MEDIA_PP = 60;
MEDIA_RDM = 61;
MEDIA_RPT = 62;
MEDIA_SCAN = 63;
MEDIA_SEARCH = 65;
MEDIA_STOP = 64;
MENU = 8;
MODE = 10;
MODE_DN = 94;
MODE_UP = 93;
MUTE = 16;
NAVI = 11;
NEXT = 44;
OPEN = 72;
PAUSE = 91;
PHONE_SIM = 104;
PLAY = 90;
POWER = 70;
POWER_OFF = 82;
POWER_ON = 81;
PRE = 45;
RADIO = 12;
RADIO_1S = 75;
RADIO_2S = 76;
RADIO_3S = 77;
RADIO_4S = 78;
RADIO_5S = 79;
RADIO_6S = 80;
RADIO_BAND = 43;
RADIO_SCAN = 59;
RDS_AF = 48;
RDS_PTY = 50;
RDS_TA = 49;
RETURN = 22;
RIGHT = 69;
SD = 15;
SET = 7;
SPEAKER = 95;
SPEAKER_SW = 96;
ST = 54;
TELCALLOF = 30;
TELCALLON = 29;
TOGGLE_LEFT = 112;
TOGGLE_RIGHT = 113;
TOUCH = 9;
TPMS = 102;
TUNEDEC = 57;
TUNEINC = 56;
TV = 4;
UP = 66;
USB = 14;
VIEW360 = 92;
VIEW360_UP = 97;
VOLDN = 20;
VOLUP = 19;
X = 42;
reserved
reserved
TorstenH said:
Installation
Option 1 - GPS
Please read previous post to check if this is the best installation type for you.
- Install AppSwitcher AND AppSwitcherStarter.
- Enable automatic start of navigation app in factory settings
View attachment 5927899
and let your device reboot.
Please be aware that changing factory settings will reset some settings on your device like equalizer and radio station presets. This is not an issue of AppSwitcher(Starter).
- Open AppSwitcher and select your navigation and media apps
- Set 'AppSwitcher Starter' as navigation app:
View attachment 5927901
Don't set AppSwitcher itself as navigation app.
- Configure one button of steering wheel to start navigation app (if not already done)
View attachment 5927903
With this setup the head unit will start AppSwitcherStarter after each reboot/sleep whereby AppSwitcherStarter will start the service of AppSwitcher.
Pressing the SWC navigation key will also start AppSwitcherStarter but his will have no effect if the service is already running. Nevertheless the AppSwitcher service will recognize the log entry and can present the AppSwitcher dialog.
The log entry can vary from head unit to head unit so it may be required to adjust the Log listener settings.
Option 2 - MainUI
Please read previous post to check if this is the best installation type for you.
You choose this way of installation at your own risk. It may lead to a bootloop and you should be familiar how to flash a firmware to restore your device in case of problems.
Click to expand...
Click to collapse
Some models of a car - like mine , does not allow changing swc buttons and settings, is there a way to bypass that ?
Anton TNT said:
Some models of a car - like mine , does not allow changing swc buttons and settings, is there a way to bypass that ?
Click to expand...
Click to collapse
Sure. You can help to let the magic happen:
Junsun V1 - Codes
Code description from {Mod edit} Please note: Don't just try a code without to know what happens. E.g. 9191 will lead to the message "device not activated" and you need a file called license.dat. 8888 - restricted settings menu 8878 - full...
forum.xda-developers.com
TorstenH said:
Sure. You can help to let the magic happen:
Junsun V1 - Codes
Code description from {Mod edit} Please note: Don't just try a code without to know what happens. E.g. 9191 will lead to the message "device not activated" and you need a file called license.dat. 8888 - restricted settings menu 8878 - full...
forum.xda-developers.com
Click to expand...
Click to collapse
Thanks good to know
Here is working with mainui option
ramig said:
Here is working with mainui option
Click to expand...
Click to collapse
If you want to test the SWC key remapping via config file, let me know...
I can install MainUI on my unit (8667L), I need to know if the 8667L version is compatible or only for 8667. If it is compatible, is key mapping available for this version?
elalvaro19 said:
I can install MainUI on my unit (8667L), I need to know if the 8667L version is compatible or only for 8667. If it is compatible, is key mapping available for this version?
Click to expand...
Click to collapse
Could you please let me know which firmware you have currently installed by providing a link to the firmware zip file?
Key mapping can be made available but I need you to test because I don't have a 8667(L) unit.
TorstenH said:
Could you please let me know which firmware you have currently installed by providing a link to the firmware zip file?
Key mapping can be made available but I need you to test because I don't have a 8667(L) unit.
Click to expand...
Click to collapse
This is the firmware I currently have installed:
8227L 固件 - Google Drive
drive.google.com
elalvaro19 said:
This is the firmware I currently have installed:
8227L 固件 - Google Drive
drive.google.com
Click to expand...
Click to collapse
Unfortunately I can't extract the firmware with the same tools I use for 8867 and 825X.
Could you please install MainUiUpdater and perform replacement without a MainUI.apk in Download folder? This should create a backup of your MainUI.apk file you can share here.
Hello TorstenH, I have a Junsun 8667Q and I would like to reassign the steering wheel keys, I have a 2019 kia Sportage with CAN, does your MAINUI work for my radio?
The VOICE button opens the google search for me and I would like it to open the google assistant.
Thank you so much