Related
These mods have now be included in CM-5.0.5. So I have taken down the links. Please download CM-5.0.5 and install. If you have issues with it then post them here please.
I would first like to thank those that have helped me along the way. Thanks ChainsDD for helping me realize Android development isn't that hard. Thanks Cyanogen for the awesome roms and for the inspiration to innovate. Love your cool features. And lastly thanks to all the other devs for the great mods (optedOblivion and arctu to name a few)
Alright on to the details.
The mod has options to turn them on or off, but they cannot be used together. This is by design because if you are skipping songs and the screen wakes up then you are wasting battery and taking events away from the lock screen. (May change this later if you guys want)
1st Mod: (TrackballWake)
- Allows the user to wake the screen using the trackball (No extra apps its built-in to OS)
- Option is under the System Settings -> Sound & Display -> Trackball Settings -> Trackball wakes screen
- Option is off by default
2nd Mod: (TrackballSkip)
- Allows the user to skip to the next song if music is playing and the screen is off.
- This is done by double-tapping the trackball while the screen is off.
- A double-tap is two consecutive presses within about half a second.
- Option is under Music App -> Settings -> Use trackball to skip
- Option is off by default
Two different versions now:
1) trackball-SuccessW-WSv01.zip - This includes the Successive Notifications v0.4
2) trackball-NoSuccessW-WSv01.zip - This does not include Successive Notification v0.4
This should fix the force close issues for people as the previous version had a new implementation of Successive Notifications which apparently has some bugs. If you have problems with Successive Notifications then post in that thread please.
If you get a force close or unexpected behavior, please put it on pastebin.com and post the link on this thread. Please include which version you are using and what happened.
Donation:
Please donate if you like my work. It helps keep me motivated and working hard on Android.
Install:
- Nandroid Backup
- Simple install CM-5.0.5
Again, note for now you cannot use these two mods together (and TrackballWake takes precedence)
Source is on Github now.
Saving for potential changelog if need be.
Very impressive man
You are a lifesaver. Since my power button has gone south, I don't have a way to keep a lockscreen (using keyguard disabler) and cut the screen off after it has been cut on, is there any way that you could remap another button to power it off?
Giving it a try!
Will edit with results.
Edit: Seems to be working fine so far, been waiting forever for this mod. It reverted some of the changes I have had from BakedGoods (clock font color, etc)
HAWT! I've been wanting to be able to turn it on with the trackball! WOOT... I'm trying now.
Does this turn the screen on when you move the track ball or on a trackball click?
sounds nice! will definitely use the 1st one!
alextripp said:
Does this turn the screen on when you move the track ball or on a trackball click?
Click to expand...
Click to collapse
Its on trackball click.
Oh, and feel free to donate if you like my work. Link is in my sig.
alextripp said:
Does this turn the screen on when you move the track ball or on a trackball click?
Click to expand...
Click to collapse
Only does it for a trackball click for me. Works very nicely.
andythefan said:
Giving it a try!
Will edit with results.
Edit: Seems to be working fine so far, been waiting forever for this mod. It reverted some of the changes I have had from BakedGoods (clock font color, etc)
Click to expand...
Click to collapse
Here is a services.jar for this that has been modded to clock, date, and roam/network to white. just remove everything after .jar and push to framework then reboot.
EDIT:
http://android-theme-minus.googlecode.com/files/Trackball_mod_v0.1_white_text.zip
There is one that you can flash in recovery. Nandroid first for cmoa reasons.
So many thanks, is what I've expecting sice I bought my nexus.
i can't wait to see this on github
volume rocker
why dont you change the trackballskip to volume rocker? so you can use both at same time
AF9210 said:
why dont you change the trackballskip to volume rocker? so you can use both at same time
Click to expand...
Click to collapse
How would you distinguish between a volume change and a song skip or previous? Seeing as the volume buttons do work while the phone is sleeping.
metalhead8816 said:
How would you distinguish between a volume change and a song skip or previous? Seeing as the volume buttons do work while the phone is sleeping.
Click to expand...
Click to collapse
Tap or long press ?
Tap or double tap ?
loving your work,thanks so much..been waiting for this since i bought my n1
trying it now.... thanks!
Made my day
Double post
Works great. Thanks. Here are some suggestions:
1) Make it so a second click then unlocks the screen. I got used to doing that with the menu button when I had my Magic.
2) Make it so a volume button double-click changes tracks. I had this feature on a Sony Ericsson phone once.
SoftKeys provides on screen keys for menu/home/back/search for devices that don't have those keys in hardware.
SoftKeys is also available in the Android Market
If you want to make themes for SoftKeys you will need the tools to build apks (eclipse/android sdk/etc) and the template from the git repository.
http://git.hoopajoo.net
Changelog:
2011/01/11 - 3.06 - Fix notification keys, boot straight to launcher on system startup
2011/01/11 - 3.05 - Fix notification softkeys <b>broken release</b>
2011/01/10 - 3.04 - Adds dpad and up to 6 custom keys, ability to put device
to sleep, improved performance for key injection, built in documentation, bugfixes
2010/12/23 - 3.00 - Most of the layout code has been rewritten to allow for theming, couple of bug fixes, SoftKeys is now gpl3
-----
Old Changelog (I'm too lazy to reorder this newest to oldest):
2010/12/04 - 1.01 - added launcher selector and remembers last launcher
2010/12/04 - 1.02 - added themes layouts from nemith, looks more like his screenshots but the spinner text is still black so the launcher chooser is hard to read, hopefully I'll have some time to fiddle with that soon
2010/12/04 - 1.03 - My fingers are too fat, I made everything in to image buttons and moved the launcher config to a prefs screen, if anyone has nicer icons let me know these are repurposed from generic android icons
2010/12/05 - 1.04 - Added alternate long-press soft home key for secondary launcher like if you want to use the built-in nook home, added configurable options for what to do if you tap or double tap the nook button while in the softkeys screen, long press on menu/back sends an extra back to the app before sending the requested button for apps that bring up pause screens or something when you move them to the background (angry birds, etc)
2010/12/05 - 1.05 - Integrated the dark theme from nemith, you can choose it in prefs now. Added options to disable the "exit" and "configure" buttons. If you disable "configure" you can still get to the preferences using the "menu" button in the notification bar (e.g. the normal menu button)
2010/12/05 - 1.06 - fix broken key handling, menu and back didn't work, don't use 1.05
2010/12/06 - 1.07 - add recent applications to top of the screen since we don't have a long-press-home recent apps dialog, looking in to re-ordering the buttons next
2010/12/07 - 1.08 - This release adds options to re-order the softkeys, insert soft keys in to the notification area, disable the recent apps list, long press the background to configure if you lost the configure button, and some options for changing the background to dim/blurred/none (note: the notification soft keys show up in the notification area, not in the main status bar like the nook menu/back, I can't put things there as an application you would need to modify system jars to get this effect)
2010/12/07 - v1.09 - Default to non-blurred background and added note about slowness, added option to return to softkeys after pressing back button
2010/12/08 - v1.10 - Selecting "SoftKeys" for your single-press home action will make it so if you launch softkeys, it will go to the launcher unless you hit home again, e.g. single-press home to go to launcher anywhere, double-press home to go to softkeys
2010/12/13 - v2.00 - This adds a new service overlay that is displayed above all apps allowing softkeys to be sent without having to mess with the home button. Default home key behavior has changed to be single click home from anywhere goes to your default launcher, double click home to get to the old softkeys interface. I'm still fiddling with service panel layouts and ideas so things will probably change, I just wanted to get some testing with something simple.
2010/12/17 - v2.01 - The service panel can now be dragged around the screen, you can change it from horizontal to vertial by long pressing it, you can adjust the transparency of the panel and the icon size, and also control if it closes after sending key events. If you don't want the dialog background on the panel you can disable it to just have floating buttons. NOTE: the signing certificate has changed to a release cert, you will need to uninstall the old softkeys before installing this one
2010/12/17 - v2.02 - Now you can move the button that brings up softkeys service, slightly better handling for switching horizontal/vertical layout by long press
veeerrry nice man!
Thanks! I agree with you - I didn't want to permanently re-assign the volume buttons, as I use them in some apps.
One request, if possible ) - Is there any way to make it go to launcher pro (or whatever you want as default) when pressing "Home" in the app? Right now, it asks me to "Pick Home" every time.
ddenson said:
Thanks! I agree with you - I didn't want to permanently re-assign the volume buttons, as I use them in some apps.
One request, if possible ) - Is there any way to make it go to launcher pro (or whatever you want as default) when pressing "Home" in the app? Right now, it asks me to "Pick Home" every time.
Click to expand...
Click to collapse
I never personally use the "home" button, I use the quick drawer thing in the notification bar, so I don't really use a launcher. I could probably quickly add a button just for an alternate home or use last home I guess/choose new home I guess. I'll see what I can do. I've also though about adding arrow soft keys, for using in like connectbot, is there any interest in that?
There are also other minor irritating things, like apps that exit when they are not in focus will not work with this hack. For example, monkey kick (a game my son loves to play) will exit if it's not in focus so it never receives the soft keys. I suppose it doesn't matter though since it doesn't use the screen completely anyway, so he just gets to play on my old g1
bpk said:
I never personally use the "home" button, I use the quick drawer thing in the notification bar, so I don't really use a launcher. I could probably quickly add a button just for an alternate home or use last home I guess/choose new home I guess. I'll see what I can do. I've also though about adding arrow soft keys, for using in like connectbot, is there any interest in that?
There are also other minor irritating things, like apps that exit when they are not in focus will not work with this hack. For example, monkey kick (a game my son loves to play) will exit if it's not in focus so it never receives the soft keys. I suppose it doesn't matter though since it doesn't use the screen completely anyway, so he just gets to play on my old g1
Click to expand...
Click to collapse
Thanks again. Using the last home would be great, if that's possible. I don't personally have any use for additional buttons, but maybe someone else can comment? Rgds.
Awesome.
Code would be cool it would be nice to have them popup at the bottom of the screen like when you press the menu button in an app.
Also to take a screen shot you hold the 'n' button and tap the Vol - button. If you have as much trouble as I did with this method, you can also install drocap2 (root required) which does nice job.
awesome app. its perfect! great replacement until someone does the sidebar buttons like the ones available for the archos
nice work... now if you can make this pop up on the bottom of the screen with a black background like the archos tablets it would be awesome...
thank you, this is a great work around
I put the source up at
http: // git.hoopajoo.net
(take out the spaces I can't post links apparently)
That page has a list of my public git urls available, the last one is SoftKeys
if anyone wants to check it out, I'm currently looking at remembering the last launcher picked and defaulting to that for people that use launchers.
-- the rest of this is just for people looking in to the source, to provide some background to why I did it this way and alternate ideas I had --
If any devs look at it I thought I'd post some of my reasons for doing it this way:
1) I looked at creating a custom init service bound to a keycode at first, this would have made it so you didn't need superuser but would have required modifying your ramdisk. Even just making a daemon and communicating through some kind of pipe would require modifying the ramdisk to get it in init. In the end I abandoned the idea because it seemed easier for most normal people to just install an apk.
2) I looked at binding this to the camera button and remapping it in the keylayout, that would preserve the default home screen selections, but would require modifying a file in your /system/ so people would need to adb their stuff. Again I thought an apk would be easier and adding in shell commands would just complicate things for people and I'm not very good at support
3) I spent a LOT of time looking through git repos from aosp to find out if there was some way to bind to the long-press home and take over the recent apps list, since it doesn't even work. This would preserve your home settings and not even remove an existing function. After several hours grepping through the core.git stuff I decided this was just easier to do. If figured good enough is usually good enough. Though if someone can figure this out it would be sweet.
4) I really was hoping that we could just pull whatever archos is doing since that seems ideal, completely soft buttons. However after downloading the aos firmware I found it was encrypted and apparently currently can only be decrypted by the devices using the public key stored on them somewhere and I'm not aware of anyone having dumped their system images yet.
Also I've been looking through the superuser source to see how they handle the popups, they do a good job of not killing the running app and being all around unobtrusive, doing it their way for the popup buttons would be really sweet since it never seems to break the currently running app.
Great except one thing!
I have LauncherPro so when I click the home button, it always gives me a choice between LauncherPro and the original home. Can you make it so I can set a default? I want to just go straight to launcher pro then I select home.
Pinesal said:
Great except one thing!
I have LauncherPro so when I click the home button, it always gives me a choice between LauncherPro and the original home. Can you make it so I can set a default? I want to just go straight to launcher pro then I select home.
Click to expand...
Click to collapse
The thread is one page long and your question was already discussed.
One page was too much reading?
How about double click home button for menu and hold the button for back? Just my 2 cents.
I have taken the source code and modified it to a be a row across the bottom of the screen, I think this looks a little bit better
Note the bar at the bottom of both. Ignore that ghosting on the second image.
If anyone is good at graphics I can use some images to create a fancier looking bottom bar.
kabi said:
How about double click home button for menu and hold the button for back? Just my 2 cents.
Click to expand...
Click to collapse
I am going to play to play with doing stuff like this. For example. Press Home for the menu. Press Home again to make the meny disappear. Double tap home for menu. Long Press for back.
I think next on my plate is setting a default launcher application to use when you hit the soft Home button.
Here is the github respository for anyone interested: https://github.com/bennetb01/SoftKeys
I can't get this to install. The first one instaled fine but when I kick this off it says it will replace the first version then "application not installed" should I remove the first one manually?
Great work BTW. Thanks
lovelacer said:
I can't get this to install. The first one instaled fine but when I kick this off it says it will replace the first version then "application not installed" should I remove the first one manually?
Great work BTW. Thanks
Click to expand...
Click to collapse
You can uninstall the first one via the following:
Code:
adb uninstall net.hoopajoo.android.SoftKeys
Install the second one normally via:
Code:
adb install SoftKeys.apk
Interestingly enough the adb uninstall command resulted in a failure as well. I just uninstalled via long press at my app screen and was able to install via root explorer on the nook.
Thanks for the help though.
I do like those buttons, I'm not much for making things look nice, typically I just do back end stuff. If you want to rebase against head and post your git repo I'll merge those changes in to main.
I started using launcher pro and realized it does suck way too much to have to select your launcher every time. It's just 1 button press but I'm too lazy.
And for people re-installing, from adb you have to do:
adb install -r <APK>
Also to remove packages I use appremover, or you can use astro file manager with the package manager under the menu.
nemith said:
I have taken the source code and modified it to a be a row across the bottom of the screen, I think this looks a little bit better
Note the bar at the bottom of both. Ignore that ghosting on the second image.
If anyone is good at graphics I can use some images to create a fancier looking bottom bar.
Click to expand...
Click to collapse
Thanks very much for this, sir.
About those images: what size do ya need? i can do them right now.
-K
I didn't want to start a new thread for this piece of information, so this looks like a good place to discuss it. My wife noticed that you can always access the back button by swiping from right to left across the notification toolbar. This worked on her non-root NC as well as my rooted one. Pretty cool!
Hi
I am presenting you here a Xposed module allowing you to take full control over the keys in your device!
When the screen is off/locked/on this module allows you to:
- send media play signals
- send media next/previous signals
- send volume up/down signals
- launch app shortcut actions
- simulate key presses
...with any buttons your phone might have!
And also:
- Disable original button functions
- Send a play signal when devices get plugged in
- Send signals only when selected devices are plugged in
- Set music volume when play signals are sent
- Set a media player to send the signals to
- Launch the selected player before sending signals
Features can be greatly customized to suit all possible needs!
Compatible with all Android versions from 7.1 to 12.
Download: Physical Button Master Control on Xposed Module Repository
If you found this mod useful consider donating me a coffee, this will help me code ^^
If you want to help other people see this app in your language, feel free to contribute on CrowdIn:
PBMC translation project on CrowdIn
How to report problems efficiently?
- Enable the 'Debug log' in PBMC settings
- Use PBMC functions that don't work as intended
- Export the logs from Xposed app and put them on PasteBin
- Post here/send me the link along with more information about your device
Source Code: https://github.com/XspeedPL/PhysicalButtonMod
Frequently Asked Questions
Q: Simply doesn't work?
A: Make sure your device is rooted, Xposed Installer is installed, and PBMC is enabled within the module menu of Xposed. After this, reboot. If it still doesn't work proceed to next steps (such as posting debug logs).
Q: I just installed PBMC and I found out that my home/recents/back/power button cannot be mapped. Fix?
A: You need to reboot first. With the module active, all buttons will work.
Q: Can I use this module to disable original button functions?
A: Yes, you can do this by setting the 'Do nothing' action on a mapping.
In example, to prevent volume up button from increasing the volume, set it's 'Single press' action to 'Do nothing'.
Q: How can I disable vibrations?
A: When you add an action, you can move the "Use vibration" slider to 0ms. It's as simple as that.
Q: I used the option to hide the app from the launcher, how can I open it now?
A: Go to the Xposed Installer -> Modules -> click on the PBMC module to open it.
Q: I have set a single-press action to my home/power button. How can I wake the device up now?
A: It's quite simple, any unmodified action will act as the original button function. Double-press or hold, depending on which ones have you not set.
Q: My media player is starting delayed using PBMC, why is that happening and what can I do?
A: It's because of the OOM killer most of the times, it's a mechanism in Android that kills unactive apps.
You see, when the receiver app is already active, it handles signals instantly.
But, when it has to be started (media players can get killed when it isn't playing anymore), it can take longer, depending on available RAM and amount of tasks running in the background.
So, what can you do? There are ways of protecting apps from getting killed by OOM killer. You could also limit the number of tasks running in the background (to make sure there is some RAM free).
Q: I have a problem that isn't listed here. What do I do?
A: You can use the 'Feature Requests' and 'Bug Reports' sections on top or post your problem on this thread, BUT remember to provide useful information, like: device info, Xposed/LogCat logs, list of other modules, detailed steps to reproduce the problem. Refer to the first post for instructions on getting Xposed logs.
How to report problems efficiently?
- Enable the 'Debug log' in module settings
- Use module functions that don't work as intended
- Export the logs from Xposed app and put them on PasteBin
- Post here/send me the link along with more information about your device
Will this work with Google play music?
awakener777 said:
Will this work with Google play music?
Click to expand...
Click to collapse
I haven't tested, but I'm sure it will.
How about add the option of resume the music when I conncet the headset?
@XspeedPL can you implement Gingerbread support plz?
argo7 said:
How about add the option of resume the music when I conncet the headset?
Click to expand...
Click to collapse
I could, but then would need to make an interface to disable unwanted features.
I guess it should be done in a few days.
killoid said:
can you implement Gingerbread support plz?
Click to expand...
Click to collapse
I think there should be no problem.
XspeedPL said:
Hi
I've been searching for a Xposed mod to control the music player with the physical buttons (volume and camera buttons), but I haven't found any mod for music play/pause. So I've decided to make one.
It's simple, when the screen is off:
- pressing the camera button sends a media play/pause signal
- holding the volume up/down button for 300ms sends a media next/previous signal
Current version: 1.1
Download:
repo.xposed.info/module/xeed.xposed.cbppmod
Click to expand...
Click to collapse
And you think that you would be able to disable the lockscreen controls?
Enviado desde mi XT1032 mediante Tapatalk
argo7 said:
And you think that you would be able to disable the lockscreen controls?
Click to expand...
Click to collapse
Hmm, I don't see a reason for that, but I guess that would be possible, yes.
XspeedPL said:
Hmm, I don't see a reason for that, but I guess that would be possible, yes.
Click to expand...
Click to collapse
Pls do that ) It would be amazing
Enviado desde mi XT1032 mediante Tapatalk
1.2
New version: 1.2
Changes:
Added an ability to send play media signal when headphones get connected
Added a settings activity that allows to control which features to use
Made the module compatible back to SDK level 8 ('Froyo' 2.2)
Click to expand...
Click to collapse
XspeedPL said:
New version: 1.2
Click to expand...
Click to collapse
thank you for GB support! it seems to not work with poweramp,i havn't tested it with other players though. i am using galaxy y duos,stock 2.3.6 rom.
& another req, my phone has no camera button but has a physical home button. can you make an option to use home botton to control play/pause? my home keycode is 3.
Not Working on Nexus 5 4.4.2
Hi thanks for buidling apps for the comunity.
I've tested it on my nexus 5 running AOSP 4.4.2 and it's not working.
Nothing happens when I hold vol up and down buttons while the screen is locked off.
matlink said:
Hi thanks for buidling apps for the comunity.
I've tested it on my nexus 5 running AOSP 4.4.2 and it's not working.
Nothing happens when I hold vol up and down buttons while the screen is locked off.
Click to expand...
Click to collapse
Yeah, I just found out too that the latest version has a bug that prevents the volume buttons from working!
An update is being made as I type.
Thanks. I like this module. However it does not work on my s3 running pacman 4.2.2. I tested with Google play music, Apollo, doubletwist. None works. (just reported).
1.3
New version: 1.3
Changes:
Fixed a bug that prevented next/previous signals from being sent
Added a lot of customization options to the settings activity
Allowed different keys to be used
Click to expand...
Click to collapse
killoid said:
thank you for GB support! it seems to not work with poweramp,i havn't tested it with other players though. i am using galaxy y duos,stock 2.3.6 rom.
& another req, my phone has no camera button but has a physical home button. can you make an option to use home botton to control play/pause? my home keycode is 3.
Click to expand...
Click to collapse
Should be fixed now, also I added the ability to change the keys.
matlink said:
Hi thanks for buidling apps for the comunity.
I've tested it on my nexus 5 running AOSP 4.4.2 and it's not working.
Nothing happens when I hold vol up and down buttons while the screen is locked off.
Click to expand...
Click to collapse
rookiegenius said:
Thanks. I like this module. However it does not work on my s3 running pacman 4.2.2. I tested with Google play music, Apollo, doubletwist. None works. (just reported).
Click to expand...
Click to collapse
Should be working now, update.
Very useful, works flawlessly so far on my s4 on stock 4.3... Thanks Dev
Sent from my GT-I9500 using Tapatalk
XspeedPL said:
Hi
I've been searching for a Xposed mod to control the music player with the physical buttons (volume and camera buttons), but I haven't found any mod for music play/pause. So I've decided to make one.
It's simple, when the screen is off:
- plugging in headphones sends a media play signal
- pressing a set button can send a media play/pause signal
- holding a set button for a set amount of time sends a media next signal
- holding a set button for a set amount of time sends a media previous signal
Features can be customized in settings activity 'PBMC Settings'.
Compatible down to Android 2.2 'Froyo'.
Current version: 1.3.1
Download: Physical Button Music Control on Xposed Module Repository
Click to expand...
Click to collapse
Could you possibly upload or PM me your source code and I will fix the issues pertaining to it not working on certain music apps? I have downloaded and tested and confirm the latest version does NOT work with Pandora. However, i have decompiled the apk and semi-fixed it. I got it to skip tracks but the play pause is happening twice, meaning, it pauses the music, then immediately plays again. If i could get the source code i could easily fix this issue. You can check here with an app i made allowing users to control the music from their notifications and it works across the board. I do know how to make it work
I have written xposed modules, and would hate to start over on ANOTHER volume skip mod. There are like 4 of them lol. So if you would share your source code with me, i will fix it and give it back to you to upload and share. I do not want the "credit" or recognition for this app. Just for making it work on Pandora and other music apps.
Of course, if i do not receive any source code, i will make my own module. Lol.
Thanks man!
Discontinued
Due to a lack of free time and newer hardware (MTCD), I am no longer supporting this module. The code is freely available on my github.
XposedMTC -- mods for Huifei/RM/KLD/GS/JY headunits
Right now, the mod consists of the following features:
Change preferred music app from MTCMusic to something else
Change preferred video app from MTCMovie to something else
Ability to override the default mode switch behavior to include only the sources you want (in addition to Music)
Overridden mode switching can add your selected Nav app (in Settings->Gps) to the rotation
Ability to apply Loudness on boot (newer system images persist this setting)
Time-based dimmer and adjustable brightness level when time is outside dimming period
Ability to automatically set dimming start and end times based on current date, timezone, and GPS location (no data connection required)
Ability to learn your radio presets and re-apply them if/when the presets get lost (usually on hard-reset)
3 replacement launchers for user-selected Music, Videos, and Radio apps for non-SWC vehicles
Preference to allow all BT OBD adapters to pair with headunit
Intents to start and stop the XMTC service
Preference to override the stock volume OSD and place volume level in the statusbar
Launcher to manually start the reverse camera view (BackView) -- disabled for now
Screen Filter integration for ultimate dimming control
Changelog
v1.0 - Initial release
v1.0.1 - Added Playerpro control intents -- forgot to change startService to sendBroadcast for Playerpro -- redownload this if you previously downloaded it
v1.2 - Added dimmer control, debug preference
v1.2.1 - Fixed switchpreference controls that were disabling themselves
v1.2.5 - Added replacement launchers for Music, Video, and Radio for non-SWC users
v1.3.0 - Rolled all beta and experimental changes into a stable build
v1.4.2 - Fixed BT OBD override (tested on latest Malaysk rom with a generic BT ELM327 v1.5 adapter with name CBT.)
Things for the future
Hard button remapping -- mtc-keys works for this
Add user-selected app to the mode switch rotation (e.g. Torque)
Fix system crash when Line-In (AUX) source is added to modeswitch rotation
Figure out a way to turn off the backlight completely, and allow it to be mapped to a button press/long press -- Screen Filter integration allows for complete backlight adjustment
Add preference to enable full backlight brightness when BackView is foreground
Add preference to enable dimmer control via headlight switch/illumination wire
Translations
If anyone would like to submit a translation in their native language (or one other than US English), please visit this link and contribute. Thanks!
Completed translations (thanks!)
Hungarian - @peti007
This module requires that you first install the Xposed Framework and enable the app_process.
Added the module to the Xposed Repo for easy updating from the headunit.
Don't know if this is the right place for this, but I've searched around and can't find an answer.
Am having a problem setting default Music app, i've changed it to poweramp, and it works great, however have noticed that when I start the radio app, then switch to poweramp, the radio app doesn't stop. Is there anything else I have to setup to get the radio app to mute when changing a music app?
Syphe said:
Am having a problem setting default Music app, i've changed it to poweramp, and it works great, however have noticed that when I start the radio app, then switch to poweramp, the radio app doesn't stop. Is there anything else I have to setup to get the radio app to mute when changing a music app?
Click to expand...
Click to collapse
How are you switching between PA and Radio? Mode button or launcher icon?
If you're not using a mode button on steering wheel controls, then you have to use the included launchers called MyMusic, and MyRadio in order to properly switch audio sources.
My unit has hardware buttons which launch the sources, so I use those, I did notice launching MyMusic did mute the radio (think it launched MTCMusic), but the "Media" button on the unit just launched poweramp (after changing default app in xposedmtc) and left the radio going.
Syphe said:
My unit has hardware buttons which launch the sources, so I use those, I did notice launching MyMusic did mute the radio (think it launched MTCMusic), but the "Media" button on the unit just launched poweramp (after changing default app in xposedmtc) and left the radio going.
Click to expand...
Click to collapse
Oh I see. You can use mtc-keys to remap those buttons to launch the MyMusic and MyRadio activities.
agentdr8 said:
Oh I see. You can use mtc-keys to remap those buttons to launch the MyMusic and MyRadio activities.
Click to expand...
Click to collapse
cheers, I'll give that a try next time I get in the car
Syphe said:
cheers, I'll give that a try next time I get in the car
Click to expand...
Click to collapse
I believe the proper mtc-keys.ini syntax would look something like:
activity_##=com.dr8.xposedmtc/.activities.Music
activity_##=com.dr8.xposedmtc/.activities.Radio
Where ## is the keycode of that particular button.
agentdr8 said:
Oh I see. You can use mtc-keys to remap those buttons to launch the MyMusic and MyRadio activities.
Click to expand...
Click to collapse
Syphe said:
cheers, I'll give that a try next time I get in the car
Click to expand...
Click to collapse
Hi,
I have been having similar issue with my Pumpkin head unit which also has hard buttons. I'm running XposedMTC and mtc-keys modules and I'd already used mtc-keys to map my "MEDIA" hard button to music app directly as XposedMTC on its own didn't do it for my chosen music app. When I switch from music app (Mixzing) to Radio the music app is still playing.
I hadn't spotted the "MyMusic" and "MyRadio" activities in the app drawer screen before (only had the unit just over a week) but even using these these instead of the hard buttons the music app still plays over the radio and vice versa (i.e one doesn't stop the other). Shame as when I found your posts above I thought these activities would be the solution to my issue and I could just remap hardware buttons to these with mtc-keys. :crying:
WestlakeSt said:
When I switch from music app (Mixzing) to Radio the music app is still playing.
Click to expand...
Click to collapse
Originally the only supported media player in XMTC was Poweramp, but I've since added PlayerPro, and few others that utilize generic Android intents for control. It's possible Mixzing doesn't listen for these intents, and specific support would need to be added.
agentdr8 said:
Originally the only supported media player in XMTC was Poweramp, but I've since added PlayerPro, and few others that utilize generic Android intents for control. It's possible Mixzing doesn't listen for these intents, and specific support would need to be added.
Click to expand...
Click to collapse
Hi agentdr8,
Thanks for the information. I will try Poweramp and PlayerPro as Mixzing is just one of a few alternative apps I'm trying out so not committed to keeping it at this stage. If Poweramp or Player Pro work well for a car head unit in terms of user interface and hardware abilities (i.e. hard buttons working as I want) then I will purchase one or the other.
Will get the trials for each app and give them a try tomorrow.
Kind regards,
Steve
agentdr8 said:
I believe the proper mtc-keys.ini syntax would look something like:
activity_##=com.dr8.xposedmtc/.activities.Music
activity_##=com.dr8.xposedmtc/.activities.Radio
Where ## is the keycode of that particular button.
Click to expand...
Click to collapse
Hi agentdr8,
I have now tried Poweramp and PlayerPro and both will switch the radio off if I use the MyMusic/MyRadio icons. So I tried using the above syntax in the mtc-keys.ini for the appropriate key codes but this doesn't appear to work. I amended them on the off chance that it may have needed to be "MyMusic" and "MyRadio" at the end of each line (as that is what the icons are called in the app drawer part) but either way nothing is triggered on pushing the buttons.
WestlakeSt said:
Hi agentdr8,
I have now tried Poweramp and PlayerPro and both will switch the radio off if I use the MyMusic/MyRadio icons. So I tried using the above syntax in the mtc-keys.ini for the appropriate key codes but this doesn't appear to work. I amended them on the off chance that it may have needed to be "MyMusic" and "MyRadio" at the end of each line (as that is what the icons are called in the app drawer part) but either way nothing is triggered on pushing the buttons.
Click to expand...
Click to collapse
Hmm. I may have to export those activities in the manifest, based on what I read on the mtc-keys info.
EDIT: Since I have an intent filter on those activities, they should be exported by default. The mtc-keys syntax might need tweaking. Try activity_##=com.dr8.xposedmtc.activities/Radio
@agentdr8, can you please add a dark theme to this app? I mean, black background and white text?
It kills my eyes every time I open it...
Cheers!
robertut said:
@agentdr8, can you please add a dark theme to this app? I mean, black background and white text?
It kills my eyes every time I open it...
Click to expand...
Click to collapse
I'll add it to my list for the next release.
Many thanks in advance.
WestlakeSt said:
Hi agentdr8,
I have now tried Poweramp and PlayerPro and both will switch the radio off if I use the MyMusic/MyRadio icons. So I tried using the above syntax in the mtc-keys.ini for the appropriate key codes but this doesn't appear to work. I amended them on the off chance that it may have needed to be "MyMusic" and "MyRadio" at the end of each line (as that is what the icons are called in the app drawer part) but either way nothing is triggered on pushing the buttons.
Click to expand...
Click to collapse
I'm getting the same thing. When I change mtc-keys, my home screen just receives a home key press (I think).
If I change activity to app and set a package name, it loads the app, so just an issue with activity_xx not resolving.
agentdr8 said:
Hmm. I may have to export those activities in the manifest, based on what I read on the mtc-keys info.
EDIT: Since I have an intent filter on those activities, they should be exported by default. The mtc-keys syntax might need tweaking. Try activity_##=com.dr8.xposedmtc.activities/Radio
Click to expand...
Click to collapse
Syphe said:
I'm getting the same thing. When I change mtc-keys, my home screen just receives a home key press (I think).
If I change activity to app and set a package name, it loads the app, so just an issue with activity_xx not resolving.
Click to expand...
Click to collapse
Hi again,
Just to update. I am still not having much luck with getting the hardware keys to work. I have tried the following combinations in the mtc-keys.ini file (only one pair at a time) and rebooted the unit each time
43 is my "MEDIA" button and 42 is my "BAND" button which I would like to map to Poweramp and Radio respectively.
activity_43=com.dr8.xposedmtc/.activities.Music
activity_42=com.dr8.xposedmtc/.activities.Radio
activity_43=com.dr8.xposedmtc/.activities.MyMusic
activity_42=com.dr8.xposedmtc/.activities.MyRadio
activity_43=com.dr8.xposedmtc.activities/Music
activity_42=com.dr8.xposedmtc.activities/Radio
activity_43=com.dr8.xposedmtc.activities/MyMusic
activity_42=com.dr8.xposedmtc.activities/MyRadio
activity_43=com.dr8.xposedmtc.activities/.Music
activity_42=com.dr8.xposedmtc.activities/.Radio
activity_43=com.dr8.xposedmtc.activities/.MyMusic
activity_42=com.dr8.xposedmtc.activities/.MyRadio
NB: I tried "MyMusic" and "MyRadio" since that is the name of the icon if you go to the apps drawer.
With some of the above, pushing the hardware button would take me back to the home screen, but wouldnt stop anything playing or launch anything else. To be clear, if I'd launched Poweramp with the MyMusic activity in the app drawer and then pushed the BAND hardware button, the unit would return to the home screen, but poweramp would still be playing and the radio would not launch.
Other combinations would do nothing at all.
Are there any other possible combinations I could try i.e. dots and slashes being in different places?
Just for information to anyone who is going to try and suggest help I know next to nothing about android programming or how apps work behind the scenes so please feel free to be very patronizing in how to possibly get this working in the mtc-keys ini file. :fingers-crossed:
WestlakeSt said:
Are there any other possible combinations I could try i.e. dots and slashes being in different places?
Just for information to anyone who is going to try and suggest help I know next to nothing about android programming or how apps work behind the scenes so please feel free to be very patronizing in how to possibly get this working in the mtc-keys ini file. :fingers-crossed:
Click to expand...
Click to collapse
I'll take a look at mtc-keys and figure out what the proper syntax is. It definitely wouldn't be the My* names, as those are just the labels for the launcher icons. The activity classes are named Music and Radio.
WestlakeSt said:
Hi again,
Just to update. I am still not having much luck with getting the hardware keys to work. I have tried the following combinations in the mtc-keys.ini file (only one pair at a time) and rebooted the unit each time
43 is my "MEDIA" button and 42 is my "BAND" button which I would like to map to Poweramp and Radio respectively.
activity_43=com.dr8.xposedmtc/.activities.Music
activity_42=com.dr8.xposedmtc/.activities.Radio
activity_43=com.dr8.xposedmtc/.activities.MyMusic
activity_42=com.dr8.xposedmtc/.activities.MyRadio
activity_43=com.dr8.xposedmtc.activities/Music
activity_42=com.dr8.xposedmtc.activities/Radio
activity_43=com.dr8.xposedmtc.activities/MyMusic
activity_42=com.dr8.xposedmtc.activities/MyRadio
activity_43=com.dr8.xposedmtc.activities/.Music
activity_42=com.dr8.xposedmtc.activities/.Radio
activity_43=com.dr8.xposedmtc.activities/.MyMusic
activity_42=com.dr8.xposedmtc.activities/.MyRadio
NB: I tried "MyMusic" and "MyRadio" since that is the name of the icon if you go to the apps drawer.
With some of the above, pushing the hardware button would take me back to the home screen, but wouldnt stop anything playing or launch anything else. To be clear, if I'd launched Poweramp with the MyMusic activity in the app drawer and then pushed the BAND hardware button, the unit would return to the home screen, but poweramp would still be playing and the radio would not launch.
Other combinations would do nothing at all.
Are there any other possible combinations I could try i.e. dots and slashes being in different places?
Just for information to anyone who is going to try and suggest help I know next to nothing about android programming or how apps work behind the scenes so please feel free to be very patronizing in how to possibly get this working in the mtc-keys ini file. :fingers-crossed:
Click to expand...
Click to collapse
You can try writing app_43=package name instead of activity_43=activity. You can find the package name of the application using an app from play store, search for package name viewer.
p_mike83 said:
You can try writing app_43=package name instead of activity_43=activity. You can find the package name of the application using an app from play store, search for package name viewer.
Click to expand...
Click to collapse
For most packages, that's fine, as there's only a single activity within it. But with XMTC, the default activity is the preferences, and then there's the 3 My* activities.
If you have any suggestions, add in comments and I'll update the OP. Going to try to keep this list as comprehensive as possible.
Ambient Display: Stock ambient display sucks, so I don't miss it here. But would be nice to get something similar to Moto's active notifications to make use of the amoled panel.
Smart power-save: What does it really do? Is it limiting CPU speed? Is it using a more conservative governor? I can't tell any difference (performance or battery) when it's on vs off.
Voiceprint: Completely useless. I bet not a single person uses this.
MyVoice: This would be MUCH more useful if you could trigger it without touching phone while screen was off. In its current form, the time it takes to unlock my phone, hold back, say my command, and wait for it to respond, I'd be better off just doing whatever I wanted it to do. Screen off voice commands are natively supported by Qualcomm, even when the phone is in Doze.
Gesture & Motion:
-Double tap to wake is very slow and doesn't work when phone has gone into Doze.
It also works in your pocket because there is no proximity sensor check. There needs to be.
-Shake flashlight: You really need to shake your phone violently now. So violently in fact that you will throw your phone more often than not trying to turn your flashlight on.
-Give us some kind of camera gesture when phone is off. Double tap power, hold volume button, shake phone, whatever.
Navigation Keys: Capacitive buttons should be optional. I like being able to swap which side the back button is on, but we should be able to customize long-presses.
Battery Percentage: Should be displayed inside the battery icon or replace it. Uses up a ton of space on the status bar.
Workaround: https://play.google.com/store/apps/details?id=de.kroegerama.android4batpercent
Holster Mode: Completely useless. This is a phone, not a fitbit. Keeping the phone screen on all the time to use as a pedometer will destroy your battery life.
Cast Screen: Why is this not a toggle in the notification shade? Why do I need to dig into the display settings to do this? You have a dual sim quick-toggle, but not a cast screen quick-toggle?
Sound: I really like that when I mute ringer, media volume also mutes. But when you unmute, it goes back to whatever it was at before, which can be a lot louder than you think. Android should tie all volumes except alarm volume together, but if nothing else, let us tie ringer and notification volume together.
Mute Schedule: Why did they remove stock 6.0's timed do not disturb functionality?
Charging Sounds: Should be able to turn off.
Apps: To disable stock calendar, clock, gallery, mifavor launcher, my voice, stock music app, and stock video app, you have to open "stock android launcher" and drag icons from the app drawer to top of screen. Why can't we just disable these same apps from settings --> apps?
Storage: Let us use adaptable storage!
Connect to PC: Does the "Install driver" option do anything? Have not found a computer that does not install driver automatically when MTP selected.
Lockscreen: Get rid of the bell!
Notification Shade: Editing toggles is nice, but let us add and remove toggles. Many of us don't use a 2nd sim card, so having 3 related toggles is a waste of space.
System UI Tuner: Holding the gear icon in the notification shade causes it to spin and settings to open, but System UI Tuner never appears in settings. If you're not going to let us use System UI Tuner, get rid of the toggle.
Stock Weather widget: I really like the widget, but does not scale when resizing. Also, does not open Google clock if stock clock is disabled when clicked. Oh well, back to Chronus.
Toolkit: Not all of these are very useful, but definitely interesting. If you want to create a home screen shortcut to any of these, open the toolkit app and long press whatever icon you like.
Recent Apps: clear button shouldn't cover up 50% of the currently open app. This will be solved in nougat, so probably not worth fixing, but if you're going to put a clear all button on this screen, but it near the top left or top right so it's harder to accidentally press.
Status Bar Color: When status bar turns dark, icons stay dark so you can't read anything. These should turn white.
Speaker Phone: If on speaker phone and screen times out, other person can no longer hear you until you toggle speakerphone off then back on, which means constantly touching your phone's screen so it doesn't time out.
Phone call Proximity Sensor: Doesn't work. If you turn the screen off and hold the phone up to your head, if the proximity sensor sees light, which it will because it's not centered, it will turn the screen BACK ON. With this and the bug above together, phone calls are a huge pain in the ass.
Dolby Atmos: This resets EQ settings very often. I can't figure out what causes it to reset to default, but the settings just never seem to stick.
Anyone have any more info on this?
Write Protection on Rooted phones: Rooted and still can't get adaway or titanium backup to work? Turns out there's an extra layer of write protection here that's not found in other phones. Why do we need this? Luckily, there's a simple fix: Plug phone into computer, load up adb, type "adb reboot disemmcwp" (source:http://androidforums.com/threads/zte-write-protection-for-zmax-and-other-zte-phones.1040331/)
Disable stock apps: in B20, you could disable several stock apps that did not allow you to disable them in settings --> apps by opening"stock Android" launcher and dragging app drawer icons to disable. Seems that has been removed in B27, so now we have no way to disable redundant clocks and calendars to name a few.
Any more suggestions? Anyone know any fixes for the above?
xxBrun0xx said:
Battery Percentage: Should be displayed inside the battery icon or replace it. I use this feature, but no reason to have both this and the battery icon together. Uses up a ton of space on the status bar.
Click to expand...
Click to collapse
You can enable this with an app - search for "Battery Percent Enabler" in the Play Store. This was mentioned elsewhere in the forum - credit goes there.
Sent from my SHIELD Tablet using XDA Free mobile app
Good summary. I can't believe someone actually thought the notification bell (and subsequently, the inability to turn it off) was a good idea.
I'm going to try to list workarounds here as well, so if someone can come up with good fixes for any of this stuff without waiting for ZTE, please share!
Updated with some new findings and ideas.
I actually like the bell, let's me check the time without having to worry about somebody seeing embarrassing notifications. ?
CandyFoxJ said:
I actually like the bell, let's me check the time without having to worry about somebody seeing embarrassing notifications. ��
Click to expand...
Click to collapse
But Android already has a perfectly working system to hide notification content before unlocking the device. You can even pick which apps to show and which ones to hide. And, most importantly, it's OPTIONAL. And it's actually much better at protecting your privacy. With the bell, all the content is visible without actually unlocking your phone.. it just makes it more inconvenient to access.
Ability to turn off charging sounds.
Added charging sounds. Thanks for the feedback!
xxBrun0xx said:
Added charging sounds. Thanks for the feedback!
Click to expand...
Click to collapse
What about the charging sound? I got my phone on vibrate all the time (a phone ringing is considered super rude in most part of europe) and it just vibrates a bit when plugging in.
RedWave31 said:
What about the charging sound? I got my phone on vibrate all the time (a phone ringing is considered super rude in most part of europe) and it just vibrates a bit when plugging in.
Click to expand...
Click to collapse
Mine does the same (also on mute all the time). Apparently if you have volume on, it makes noise. Either way, should be able to toggle the "charging notification".
Added speaker phone and proximity bugs.
xxBrun0xx said:
Added speaker phone and proximity bugs.
Click to expand...
Click to collapse
Hope speakerphone gets fixed soon. Use it a lot. We need to get all this great info to ZTE. Thanks for great thread.
Sent from my SM-N910T using Tapatalk
"Wake on Plug" toggle (waking up screen on plug or unplug). I have this option on a Nexus tablet and OnePlus One phone, but it does not exist in MiFavor.
xxBrun0xx said:
Apps: To disable stock calendar, clock, gallery, mifavor launcher, my voice, stock music app, and stock video app, you have to open "stock android launcher" and drag icons from the app drawer to top of screen. Why can't we just disable these same apps from settings --> apps?
Click to expand...
Click to collapse
What do you mean with stock android launcher? Where do i find it? I cant deactive this bloat without root
The phone, at least in US version, comes with a launcher called "Stock Android Launcher", but it is just a differently themed MiFlavor launcher, not a real stock android launcher. Confusing, but that is what is there.
deluxxx said:
What do you mean with stock android launcher? Where do i find it? I cant deactive this bloat without root
Click to expand...
Click to collapse
Settings > Themes and Wallpapers.
On the US model, there's a theme titled "Stock Android". When using that theme, you can open up the app drawer, press and hold on an app, and on the top of the screen there's a "Disable" option. This is different from the standard Settings > Apps > selecting an app > Disable (which is greyed out for most of the stock apps).
xtermmin said:
Settings > Themes and Wallpapers.
On the US model, there's a theme titled "Stock Android". When using that theme, you can open up the app drawer, press and hold on an app, and on the top of the screen there's a "Disable" option. This is different from the standard Settings > Apps > selecting an app > Disable (which is greyed out for most of the stock apps).
Click to expand...
Click to collapse
Sadly, no such option on G Version -.- only 5 slightly different ZTE themes.
Also no Myvoice in g version. WTF?!
@xxBrun0xx: I saw you linked to this list in a ZTE forum, but I think it would be better if it had its own thread as well.
In addition to "wake on plug" toggle I mentioned a few posts above, I would like to see an option to remap capacitative buttons to whatever user wants, right now they can only be "flipped", but ability to have custom functions (on both short and long press) would be helpful. I personally, would like to use one of the button for menu rather than for recent apps.