Volume buttons to skip track (while screen off) - Nexus 5 Q&A, Help & Troubleshooting

Hi guys
I thought I would start this thread to discuss any tips to getting the volume keys to skip music tracks, while screen is off (eg, in your pocket).
This seems to be in place in a few custom roms, but wondered whether anyone knew of a way to get this working on stock 4.4?

Stal said:
Hi guys
I thought I would start this thread to discuss any tips to getting the volume keys to skip music tracks, while screen is off (eg, in your pocket).
This seems to be in place in a few custom roms, but wondered whether anyone knew of a way to get this working on stock 4.4?
Click to expand...
Click to collapse
You could achieve root, install Xposed Installer, and then install a module that will contain this feature.

Unfortunately, 4.4 is not supported by Xposed Installer yet.
http://forum.xda-developers.com/showthread.php?p=47069671
Sent from my Nexus 4 using xda app-developers app

Interesting. I've heard about the xposed framework, but not read much about it.
Looks like it might be worth looking into, when 4.4 support is added.

338lm said:
Unfortunately, 4.4 is not supported by Xposed Installer yet.
http://forum.xda-developers.com/showthread.php?p=47069671
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Dang. Hopefully soon though.

jetAudio basic has the option to select long press actions in misc settings. Whether it works on KK yet is another story. Give it a try.

Crossing my fingers for 4.4 version of CM

Related

[REQ] Mod for Longpress Volume Rocker to Skip Tracks

Hi Everyone,
One of the reasons I love CM10 is that you can skip tracks without tunring on the screen with the volume rocker. I love CM10, but I thought it would be great to be able to have this in stock.
So I was searching and trying to do it myself, and found a great tutorial here: http://forum.xda-developers.com/showthread.php?t=1728236
BUT I have a lot of problems deodexing the files. So I wanted to ask if there is any experienced developer that could be kind enough to help us modify the android.policy.jar and just post it here so we could replace our stock one and finally have this great mod on our stock devices.
Saludos,
Gustavo
UPDATE: I managed to deodex the files using apktools. Will try to manage a way to get the hack working
gusbeto37 said:
Hi Everyone,
One of the reasons I love CM10 is that you can skip tracks without tunring on the screen with the volume rocker. I love CM10, but I thought it would be great to be able to have this in stock.
So I was searching and trying to do it myself, and found a great tutorial here: http://forum.xda-developers.com/showthread.php?t=1728236
BUT I have a lot of problems deodexing the files. So I wanted to ask if there is any experienced developer that could be kind enough to help us modify the android.policy.jar and just post it here so we could replace our stock one and finally have this great mod on our stock devices.
Saludos,
Gustavo
UPDATE: I managed to deodex the files using apktools. Will try to manage a way to get the hack working
Click to expand...
Click to collapse
Thanks so much! I was definitely wanting this too. If you need me to test i would be more than happy to help out
Sent from my Transformer TF101 using xda premium
Ok,
I´ve given it a try, sort of understood how to make things. But then when I try to get the /system/framework/android.policy.jar from my stock ROM and then I deodex it, I find out that its empty!! I already tried putting CM10 and extracting it, to see if I did something wrong. But no, when I get the android.policy.jar from CM10, I see it has a lot of stuff.
How can we actually mod the stock ROM? Am I doing it wrong?
If any of the more experienced DEVs would like to help, it would be great. Otherwise, I'll keep looking for info on this and when/if I find out something, I'll tell you guys.
For anyone willing to do this, I found some usefull posts with "examples" here:
http://forum.xda-developers.com/showthread.php?t=1770564
http://forum.xda-developers.com/showthread.php?t=1728236
http://forum.xda-developers.com/showthread.php?t=1955731
Just wanted to bump this I have been looking into this. I really want this feature but I don't think I have the know how to get this working myself.
How about using an app like player pro or alternate music players have this as an option built in...
danial.aw said:
How about using an app like player pro or alternate music players have this as an option built in...
Click to expand...
Click to collapse
Do you use any of those with stock and does it work? I have tried several apps that people say in forums that "work with longpress" but most of them work with a headphone button longpress.
What we would want with this mod is have the volume rocker of the phone sort of work as the headphone button, allowing it to longpress to skip tracks.
Yes that feature works in stock rooms using the alternative music apps... It is built into their setting check either player pro or power amp both support it... But it will only work with those music players
danial.aw said:
Yes that feature works in stock rooms using the alternative music apps... It is built into their setting check either player pro or power amp both support it... But it will only work with those music players
Click to expand...
Click to collapse
I have used poweramp basically since it came out, and ATM such a feature is not available. As I said, they work with headset buttons, not with the phone's volume rocker. I really do wish you could show me I am wrong.
What we would want with this mod is have the PHONE VOLUME ROCKER longpress to skip tracks. In other words, have the volume rocker work as the headset buttons.
Saludos,
Gustavo
Check the control settings for premium version of player pro.. As you see the option is there... I just have it grayed it out cuz I don't use it... It's on the lock screen part of it's settings
I just bought it and after 3 minutes I decided to get a refund.
First of all, what it does is that when you have its lockscreen activated, and the phone's screen is on the player's lockscreen replacement you can switch songs with the volume rocker, which is not really quite what i want. I want to be able to do it while the phone's screen is off (like in CM10). unfortunately CM10 does not have audio over BT which kills it off for me.
Besides I feel like Poweramp (which I have bought a long time ago) is an overall better looking player.
I got an idea, someone could test? See above!
1- Deodex your rom - http://forum.xda-developers.com/showthread.php?t=2179009
2- See this, i found on razr I forum, but i think it will work.. http://forum.xda-developers.com/showthread.php?t=2267643 and http://forum.xda-developers.com/showthread.php?t=2330286&highlight=skip+track
3- Test
EDIT:
HEY, FOUND AN EASY WAY LOOK AT THIS AWESOME APP LOL:
https://play.google.com/store/apps/details?id=com.silentlexx.volbtntrackctrl&hl=pt_BR
THIS WORKS FINE ON MY ROOTED JB 4.1.2 AND STOCK GOOGLE MUSIC PLAYER LOL AMAZING!!!!! NOW I CAN BACK HOME TODAY HAPPY!!!!!
The only con is for memory... 20mb that goes away... but this serves as a workaround... very nice!

[Q] How to clear all background apps?

tried looking around in the settings, this website, and all over google but can't find a way to do this. maybe i'm just using the wrong description, but I'm talking about the list of apps when you hit the 3rd touch button on the bottom. you swipe an app away to remove it from the background...but there doesn't seem to be a way to clear all of them with one button press or motion.
Probably a tweak or app for something like that. I know nothing about android yet, but hoping for this as well. Had a jailbreak tweak for this on iPhone. Kinda odd that devices don't have this feature built in
Custom ROMs have this. I'm on PSX
Sent from my Nexus 5
pepdavies said:
Custom ROMs have this. I'm on PSX
Sent from my Nexus 5
Click to expand...
Click to collapse
ahh damnit.. wanted to stay stock for a couple of months atleast... guess i have to start finding a custom rom that is the closest to stock... thanks alot
Bmmaximus said:
tried looking around in the settings, this website, and all over google but can't find a way to do this. maybe i'm just using the wrong description, but I'm talking about the list of apps when you hit the 3rd touch button on the bottom. you swipe an app away to remove it from the background...but there doesn't seem to be a way to clear all of them with one button press or motion.
Click to expand...
Click to collapse
There is a great option for that in the xposed module but unfortunaly it is not yet updated for 4.4 but when it is try Gravitybox for Xposed.

[Q] Higher prioritize app not to be killed over another?

I noticed when playing my music w/ Viper FX that the sound quality goes from using the drivers of the app to stock flat (audio quality depreciates) since the app was killed while performing another task (such as opening hangouts or other apps while using phone). I noticed that Android doesn't release the RAM from another app that was being used (ex. ESPN, hangouts, etc) since those apps were more recent while Viper was opened and left. I was wondering if there existed anything to set a higher priority of the Viper FX (or other apps) over some so they won't be killed even if newer used? Thanks for any information.
Think this would probably be the easiest way: https://play.google.com/store/apps/details?id=com.smartprojects.MemoryLocker - the developer is very well known for these kinds of mods and RAM management. Adjusting the oom ratio will give the app higher priorities so make it less likely to be killed. I'm sure there are ways to manual doing it via adding a script or something, but time and effort for all that, I dunno if it's worth it unless you really like to tinker and do stuff manually.
Thank you, that will probably be easier way with root. Was checking to see if any way to do manually since don't need just for Viper but may have to do it.
Ah, sorry. I was thinking that you had to have root for Viper, so that you were already rooted. Pretty sure there isn't a way to make these kinds of tweaks without root either manually or via an app like Memory Locker. There really isn't a compelling reason NOT to root, in my opinion. It's not complicated (compared to most other phones) and is fairly easy to reverse. If you'd like some help with it, lemme know.
I am rooted, sorry. Would it be possible to push the app from user app status to system app (via file explorer/permissions) (such as MusicFX)? Installed normally and it works great but maybe, if by making a system app, it'd be less likely to be killed versus user?
Don't want to use titanium backup push to system, had bad experiences and will not use the app again for some time.
Theres discussion about putting viper in /system/priv-app in one of the two viper thread's in themes and apps (n5).
I still have mine in /data/data.
I've made it resident with the xposed module called "app settings" but I can't confirm anything yet
Sent from my Nexus 5 using Tapatalk
Hi,
I have not tested and I don't know if it will be useful but there is an Xposed module to keep apps in memory, maybe you can try... This module is not only for this, there is other features.
Here: http://forum.xda-developers.com/showthread.php?t=2437377.
- Resident in memory: If set, the system will try much harder to keep the app in memory even when you leave it. It might make the app more responsive when reopening but will also consume more RAM, possibly slowing down the overall system.
Click to expand...
Click to collapse
EDIT: maybe the app posted by es0tericcha0s is better, lightest and easiest to use...
viking37 said:
Hi,
I have not tested and I don't know if it will be useful but there is an Xposed module to keep apps in memory, maybe you can try...
Here: http://forum.xda-developers.com/showthread.php?t=2437377.
Click to expand...
Click to collapse
I'm testing it as mentioned above
Sent from my Nexus 5 using Tapatalk
rootSU said:
I'm testing it as mentioned above
Click to expand...
Click to collapse
Hi,
My bad, I missed something here :laugh:
Sorry, misread or read too fast
No worries dude
Sent from my Nexus 5 using Tapatalk
Well I don't know if this is something that we can do or something the people who made the Viper audio mod need to do. Wouldn't a good way to keep it in memory be to keep a persistent notification? It really bumps up an app's priority in Android when it has an on-going notification up on the notification bar.
Johmama said:
Well I don't know if this is something that we can do or something the people who made the Viper audio mod need to do. Wouldn't a good way to keep it in memory be to keep a persistent notification? It really bumps up an app's priority in Android when it has an on-going notification up on the notification bar.
Click to expand...
Click to collapse
Like settings > show notification for example?
I've not tried it but I can hide it with notifyclean
Sent from my Nexus 5 using Tapatalk
rootSU said:
Like settings > show notification for example?
I've not tried it but I can hide it with notifycleank
Click to expand...
Click to collapse
Yeah, exactly that. I just installed it again after a clean wipe of my phone a few days ago and have begun tinkering with it and JUST found that setting. To OP: enable the persistent notification. That'll make sure Viper4Android a high priority app when it sweeps through its open apps looking for one to close.
Johmama said:
Yeah, exactly that. I just installed it again after a clean wipe of my phone a few days ago and have begun tinkering with it and JUST found that setting. To OP: enable the persistent notification. That'll make sure Viper4Android a high priority app when it sweeps through its open apps looking for one to close.
Click to expand...
Click to collapse
Would there be a way to hide it once enabled without using say Xposed? Running ART. Thanks for any info.
RevelationOmega said:
Would there be a way to hide it once enabled without using say Xposed? Running ART. Thanks for any info.
Click to expand...
Click to collapse
I think "hiding" it is actually "preventing" it, thus undoing what you want to achieve.
I think further discussion should join the viper4android thread, to keep it all in one place....
http://forum.xda-developers.com/showthread.php?t=2543796
There are already answers there
Sent from my Nexus 5 using Tapatalk
RevelationOmega said:
Would there be a way to hide it once enabled without using say Xposed? Running ART. Thanks for any info.
Click to expand...
Click to collapse
I am not sure on this one. The first thing that comes to mind is long-pressing the notification, going to App info, then unchecking the box that says "Show notifications". However, I think if you do that, it lowers its importance, circumventing the advantage of showing the notification in the first place, and you're back to square one. So I guess I don't know how to help you with this part.
Yeah, I suppose we should probably move to the thread listed above, too.

[Q] controll which app produces sound

Hi, i have a question/problem thats been bugging me for a while and i couldnt find a solution...
I want to be able to listen to music while playing a game/ using an app, now some apps are ok with this and "shut up" the moment you start playing music, but others, such as kingdom rush for example, shut down the music playback the moment you open the app.
Is there a method to controll wich app produces sound? Much like on the pc?
Thats in advance for your help =]
(Also i read some where that the best way to get an answer is not to ask a question but instead provide the wrong answer, so here goes: ANDROID SUCKS BECAUSE THERES NO WAY TO CONTROL WHICH APP PRODUCES SOUBD!! =] )
Hello @Moldat
Firstly, this can be quite easily achieved if you're running a device with Android 4.4.
I'm not sure if "App Ops" is available on lower android versions. But if you're on KitKat, you can simply go into App Ops, scroll through the apps, find you game. And turn off the "Media Volume".
This stops the game from using inbuilt music and sound fx. This means you can keep your music on in the background.
Hope this helped, if you need to ask anything else, please do so.
Sent from this toast making Nexus 5, you wish your Nexus could make toast don't you? (;
Thanks for the answer kris!
Sadly my device isnt kitkat
Moldat said:
Thanks for the answer kris!
Sadly my device isnt kitkat
Click to expand...
Click to collapse
What android version is it?
Sent from this toast making Nexus 5, you wish your Nexus could make toast don't you? (;
Its 4.3
Moldat said:
Its 4.3
Click to expand...
Click to collapse
Oh you're in luck mate, go to the play store and search for "App Ops" download and install it. There are many choose the one that you feel like having. And its pretty much the same procedure, scroll lthrough apps and disable the media volume.
Sent from this toast making Nexus 5, you wish your Nexus could make toast don't you? (;

[Q&A] [ROM]★[TF300 KitKat 4.4.4][ZOMBi-X OMNI KANG B4[Oct 8]★

Q&A for [ROM]★[TF300 KitKat 4.4.4][ZOMBi-X OMNI KANG B4[Oct 8]★
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
3G and HDMI ?
1. What about 3G on TF300TG version, does it works or did you plan? .. in thread with "xubuntu on TF300TG" works
2. What about HDMI output, especially "crop and zoom functions" which were in 4.1 and disappeared in 4.2
Anyway, thank you, i really appreciate it.
wincore said:
1. What about 3G on TF300TG version, does it works or did you plan? .. in thread with "xubuntu on TF300TG" works
2. What about HDMI output, especially "crop and zoom functions" which were in 4.1 and disappeared in 4.2
Anyway, thank you, i really appreciate it.
Click to expand...
Click to collapse
i dont think 3g works mate but im not 100% sure on that but i know that hdmi is working fine for me but not sure about crop and zoom
Hrm,
You think it would be nice if XDA actually let us know in some way that these Q&A threads were automatically created.
Anyway so no there is no 3g capability in this rom, as we don't have source to make it, and none of us own a tf300tg so there is no way we can test.
HDMI does work but i don't really understand this whole crop thing?....
does anyone else the showbox app on this rom? for some reason it says i have no internet connection but i do lol
It seems to be working now guys
hey guys how do you change to performance mode i cant seem to find the option for it anywhere
robgee789 said:
hey guys how do you change to performance mode i cant seem to find the option for it anywhere
Click to expand...
Click to collapse
Click seven times on the Build option under "About" in settings to enable Dev. Options. Then go to Performance in Settings and you can change anything from there.
i found an app in the grimlock kernel thread the works perfect mate
Just a curious question, not trying to complain as I enjoy this ROM...
I am just having ongoing issues that have persisted across all versions.
Screen delayed up to a minute when pressing power button to turn on/unlock, ect...
Having a lot of persistent lock ups after tablet has set overnight especially and upon opening any given app requiring a long press of power button to force a reboot.
Persistent lag but seems to go away for awhile again, after a reboot.
Any ideas on how/where/what to troubleshoot?
Thanks
hey guys does art work on this rom?
Has anyone had trouble accessing flash websites using Dolphin Browser or Firefox? I chose to install flash through aroma. Is there a bug when using that selection?
Also has anyone used Skype and get audio from the other party but they can't hear you?
Sent from my SM-N900V using Tapatalk
Sent from my TF300T using Tapatalk
mo2002 said:
Has anyone had trouble accessing flash websites using Dolphin Browser or Firefox? I chose to install flash through aroma. Is there a bug when using that selection?
Also has anyone used Skype and get audio from the other party but they can't hear you?
Sent from my SM-N900V using Tapatalk
Sent from my TF300T using Tapatalk
Click to expand...
Click to collapse
The flash issue is known and @hardslog said he had a fix for this ...
We have all just been very busy with L release and what not ....
So you are saying your mic is not working ?
Thx Josh
I only tested once with the mic but I will test again. I was just inquiring if any of these things have arose for you guys.
Sent from my SM-N900V using Tapatalk
Ok, I did something stupid. Trying to figure out why my Titanium Backup Pro purchased license was no longer working and would only load TIBU as "Free" version and since this rom switched from SuperSU to superuser, thus you get that warning that some things might not function correctly, ect... in Titanium Backup and it apparently prefers SuperSU, I flashed the latest beta from recover of SuperSU...
Well everything seemed fine and well as SuperSU now showed in Settings, however noticed the SuperUser app in the drawer was no longer there and apps were still gaining root access through superuser. This didn't fix issue with TIBU either.
So in an attempt to put things back to intended by this ROM, and get my superuser app back in the drawer, I chose the option within SuperSU to remove to previous root app or whatever.
Issue: I still have root being issued via Superuser, however, the Superuser app is gone from the apps drawer and I can no longer load/access it.
Question: Can I somehow unzip superuser.apk or whatever from the ROM's .zip and if so, place it where intended as in (directory) say using "root explorer" ect... and get that app access back
thanks for the rom, it works great very snappy.
is there any way to disable the windo resizing? wwhen i open chrome browser it starts off in window mode and if i try to zoom in on the webpage the whole window starts to change sizes.
is there a way to have full screen only or to lock it at a specific size?
thanks
unit68 said:
thanks for the rom, it works great very snappy.
is there any way to disable the windo resizing? wwhen i open chrome browser it starts off in window mode and if i try to zoom in on the webpage the whole window starts to change sizes.
is there a way to have full screen only or to lock it at a specific size?
thanks
Click to expand...
Click to collapse
That's a problem specific to the latest version of Chrome.
If I get an older version will it be ok?
Sent from my SM-G900W8 using XDA Free mobile app
unit68 said:
If I get an older version will it be ok?
Sent from my SM-G900W8 using XDA Free mobile app
Click to expand...
Click to collapse
Yes, the prior version (38.0.2125.114) works great. It only floats when you want it to.
CLOSING THE THREAD
MORE TO COME WHEN LOLLIPOP IS READY TO GO .....
DOWNLOAD LINKS WILL REMAIN UP FOR AT LEAST THE NEXT MONTH ......
THX Josh

Categories

Resources