[MOD] Skip music tracks with Volume buttons (KRT16M/Stock ROM deodexed) - Nexus 5 Themes and Apps

Hi guys,
new phone, new mods, here we go:
In the attachment you'll find the modded android.policy.jar for flashing to skip music tracks with long press Volume buttons while screen is off/in your pocket.
IMPORTANT: Your system has to be deodexed, otherwise you'll end in a bootloop!
Flash the zip in your recovery and enjoy!

Updated the OP with a flashable zip for your recovery (CWM/TWRP).

Why has no one tried this yet so I can know if it's legit or not? Lol how about a volume boost mod??
Sent from my Nexus 5 using Tapatalk

MikeLibbey said:
Why has no one tried this yet so I can know if it's legit or not? Lol how about a volume boost mod??
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Because it's for deodex rom haha. I tried doing the deodex/odex converted but it keeps failing. I really want this mod as well. I miss it.

Is stock odexed?
Sent from my Nexus 5 using xda app-developers app

Straightflush said:
Is stock odexed?
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Yes you need to flash a deodexed ROM.
Sent from my Nexus 5 using Tapatalk

MikeLibbey said:
Why has no one tried this yet so I can know if it's legit or not?
Click to expand...
Click to collapse
I tried, because I made the mod
It's working like a charm.
Either you flash the stock deodexed ROMs here in the forum, or you deodex yourself with xUltimate, it is just simple.
You don't even need to do a factory reset after deodexing, so no worry.
To clarify: deodexed apk's work on all ROMs, deodexed or odexed. Look into your system apps, some are odexed, some deodexed, no problem.
If you change anything in the jar-files of the framework, you can't mix up odex and deodex, so you have to decide.
Most theming and modding is done in the framework and it is by far easier to do this in deodexed files.

Quick question..
When you enable ART, the phone reboots and you see the apps are being "optimized". Takes a pretty long time. Any relation to deodexed Roms? I mean, would this app work or would a separate deodexed ROM still have to be installed? Thanks.

Is this mod work only with Google music? Because every time I'm using Pandora with mod its automatically played Google music.
Sent from my Nexus 5 using xda app-developers app

motoxxxx said:
Is this mod work only with Google music? Because every time I'm using Pandora with mod its automatically played Google music.
Click to expand...
Click to collapse
The mod sends a media broadcast. Every app that supports this will respond. It seems that Pandora doesn't support such broadcasts - or, it supports it but Google Music is the first app to respond, you can check this with freezing Google Music. What happens then?

shaftenberg said:
The mod sends a media broadcast. Every app that supports this will respond. It seems that Pandora doesn't support such broadcasts - or, it supports it but Google Music is the first app to respond, you can check this with freezing Google Music. What happens then?
Click to expand...
Click to collapse
I think it only happens that way if google music is still active in memory. It used to happen to me occasionally, and if I went in and force stopped gmusic, it started working correctly.

Well, ok.
Unfortunately that's nothing I can influence by myself as it depends on all apps which are able to receive a media broadcast. Your behaviour will most likely happen too if you use a cable or bluetooth headset for changing music tracks, have you tried that?

thx for the mod but it disables my extended reboot menu. any idea why?

Yes, because the Power Reboot Menu is done in android.policy.jar too
Two options: Decide which mod you like most, or wait for someone who puts those two mods together.

Will there be odex version?

Not from me, sorry. Don't own the N5 anymore

Sad... This music skip option is only reason I would use CM...
Maybe need to flash deodexed rom?

Deodexed Volume Skip + Extended Reboot Menu
suchevent said:
thx for the mod but it disables my extended reboot menu. any idea why?
Click to expand...
Click to collapse
Here's a flashable deodexed version of the volume skip + extended reboot menu.

Odex version
Using a guide I found elsewhere on the forum, I have re-odexed this mod. Just place these files in your /system/framework/ (you might need to remount the partition to do this) and reboot. I have tested this on my Nexus 5 and my friend's Nexus 5 both rooted but still using stock rom. Please let me know if this worked for you!

kapace said:
Using a guide I found elsewhere on the forum, I have re-odexed this mod. Just place these files in your /system/framework/ (you might need to remount the partition to do this) and reboot. I have tested this on my Nexus 5 and my friend's Nexus 5 both rooted but still using stock rom. Please let me know if this worked for you!
Click to expand...
Click to collapse
Warning!! DON'T USE IT WITH ART ENABLED!! I have to re-install everything because of this mod

Related

[MOD] UCKH3 AOSP lock screen (Fixed)

Here is a version of AOSP lock for stock UCKH3. Just follow instructions below.
Ok, I fixed the problem with the power menu not displaying. Here is the working version of AOSP lockscreen for stock KH3. The puzzle lock will have to wait for a bit. For some reason I can't get the default non-notification puzzle piece to display so I'll have to look at it some more when I have time.
Second Update; Ok guys, that was totally my stupid mistake. Two mods at one time probably wasn't the best idea. I forgot to edit the cwm script for the lock screen. I completely apologize for that screw up. The files that are attached are the corrected ones and I've tested them several times over just to make sure.
This is a deodex mod and will only work on fully deodexed KH3 roms! I've tested this several times without issue.
Use at own risk, and backup all necessary files. I'm not responsible for anything that happens to your phone.
Instructions
1. Download kh3aosplock_cwm_fix.zip
2. a. Install from CWM or
b. if you don't yet have the CWM kernel then manually extract the jar file and replace it at /system/framework
3. Restart
Revert back to the default glass lock with the same instructions using kh3glasslock_cwm_fix.zip
Ok, I will looking forward to it
Thank you for this MOD
couldn't get it to work with CWM or manually.
Aosp installed and rebooted and I still have the glass unlock???
steveo314 said:
Aosp installed and rebooted and I still have the glass unlock???
Click to expand...
Click to collapse
+1
10 char
AOSP lock screen via CWM is fixed and repeatedly tested.
steveo314 said:
Aosp installed and rebooted and I still have the glass unlock???
Click to expand...
Click to collapse
baoli said:
couldn't get it to work with CWM or manually.
Click to expand...
Click to collapse
CB650 Wolf said:
+1
10 char
Click to expand...
Click to collapse
Ok guys I forgot to update the cwm script before posting the files. Completely my bad and I apologize for that. The two files attached in the first post have been corrected and tested several times. Hopefully no more issues.
Still glass lock on the Aosp file.....
steveo314 said:
Still glass lock on the Aosp file.....
Click to expand...
Click to collapse
+1
10 char
steveo314 said:
Still glass lock on the Aosp file.....
Click to expand...
Click to collapse
CB650 Wolf said:
+1
10 char
Click to expand...
Click to collapse
Ok... Lets have another go cause I know this works. I re-uploaded the files with different names so there is no confusion. I grabbed these files directly from my phone when I've reloaded with cwm three or four times each just to make sure. Please give it a try and let me know. Sorry for the problems guys, I'm kind of novice but I'm learning.
Ill check back in in a few hours.
Tried it. Same result. I still get the stock glass lock.
Sent from my SAMSUNG-SGH-I897 using XDA App
The new upload worked on Fusion II but not on Victory 1.3.
xpakage said:
The new upload worked on Fusion II but not on Victory 1.3.
Click to expand...
Click to collapse
Haven't checked with Fusion II but +1 for Victory Rom.
Sent from my SAMSUNG-SGH-I897 using Tapatalk
Will not work on non Deodexed Roms
xpakage said:
The new upload worked on Fusion II but not on Victory 1.3.
Click to expand...
Click to collapse
CB650 Wolf said:
Haven't checked with Fusion II but +1 for Victory Rom.
Sent from my SAMSUNG-SGH-I897 using Tapatalk
Click to expand...
Click to collapse
Hey guys, I downloaded Victory1.3 cause I was going to test this out and see why its not working. I happened to look in the framework directory before flashing (thank goodness). The framework jars have not been deodexed. My modded android.policy.jar is a deodexed jar and will not work on non-deodexed roms. I sent Googler a PM to let him know as well. This mod, as well as the quickpanel sound toggle mod, will work without issue on fully deodexed roms KH3 roms. I'll see about making one in the next day or two.
So your two mods will only work on fully deodexed roms???
Deodexing usually always involved framework as well as apps.
steveo314 said:
So your two mods will only work on fully deodexed roms???
Click to expand...
Click to collapse
Well, the sound toggle mod may work if only apps is deodexed and not framework but I can't say for certain since it is a system apk. Deodexing usually always involves framework as well as apps.
blitz76 said:
Well, the sound toggle mod may work if only apps is deodexed and not framework but I can't say for certain since it is a system apk. Deodexing usually always involves framework as well as apps.
Click to expand...
Click to collapse
Yea I haven't got that far with gingerbread yet. I might have to try one of the custom roms on here. I'm still stock but root and cwm.
steveo314 said:
Yea I haven't got that far with gingerbread yet. I might have to try one of the custom roms on here. I'm still stock but root and cwm.
Click to expand...
Click to collapse
I'll see about putting together a rom tomorrow from stock that has the framework and apps deodexed and incorporate the sound toggle and aosp lockscreen by default.
blitz76 said:
I'll see about putting together a rom tomorrow from stock that has the framework and apps deodexed and incorporate the sound toggle and aosp lockscreen by default.
Click to expand...
Click to collapse
And use your profile picture off here as an sanim.zip???
Tried the AOSP lockscreen and...
I have no extended power options. Tried flashing the glass back and still no extended options.

Galaxy S4 - Control Music Tracks w/ Volume or Home Button?

I'm always used to using the volume buttons on my phone to change tracks but I can't do it on my S4 unless I flash a custom non touchwiz rom. Which I dont want tondo because it'll delete all the touchwiz features on my S4. Is there any way to change my music tracks using the volume or home button?
Sent from my SGH-M919V using xda app-developers app
kevin95 said:
I'm always used to using the volume buttons on my phone to change tracks but I can't do it on my S4 unless I flash a custom non touchwiz rom. Which I dont want tondo because it'll delete all the touchwiz features on my S4. Is there any way to change my music tracks using the volume or home button?
Sent from my SGH-M919V using xda app-developers app
Click to expand...
Click to collapse
Sorry there's no way to do this on stock, that is why I'm running CM10.1 which can do all that you are talking about and more.
Will the features from roms such as CM 10.1, AOKP & PA be available on a custom Touchwiz rom?
Sent from my Samsung Galaxy S4 (SGH-M919V) using xda-developers app
thunderserpent said:
Sorry there's no way to do this on stock, that is why I'm running CM10.1 which can do all that you are talking about and more.
Click to expand...
Click to collapse
you CAN in fact do it on a stock rooted rom.. if u don't know how to do it simply say so. but please don't mislead someone. to do it, just install xposedInstaller 2.1.4, and xposedtweakbox 1.4.0 then go to the misc section of tweakbox, enable it and then reboot.
Thanks!! Just what I was looking for.
Sent from my Samsung Galaxy S4 (SGH-M919V) using xda-developers app
Sorry guys I honestly thought there was no way, while I was on stock I was looking for an iron but I couldn't find it...
I installed all the software and followed the steps above, however PowerAmp still would not change track with the volume keys held down when the screen is off.
I'm using WanamLite Rom.
Hello,
me neither. I also tried the two apps, mentioned above, but won't work at all
hope someone will find a solution in the future
Still no solution to this?
3minit framework...here http://forum.xda-developers.com/showthread.php?t=2276611
Sent from my GT-I9505 using XDA Premium App
thunderserpent said:
Sorry there's no way to do this on stock, that is why I'm running CM10.1 which can do all that you are talking about and more.
Click to expand...
Click to collapse
i am running a custom rom, but i can't use my volume keys to switch track, only for volume up/down how can i change this - have tried different headset apps
century_ali said:
3minit framework...here http://forum.xda-developers.com/showthread.php?t=2276611
Sent from my GT-I9505 using XDA Premium App
Click to expand...
Click to collapse
Will that replace the Adam Kernel in my WanamLite firmware? Will it cause conflicts or issues?
Thanks in advance.
fischerben said:
i am running a custom rom, but i can't use my volume keys to switch track, only for volume up/down how can i change this - have tried different headset apps
Click to expand...
Click to collapse
Can you tell me which rom you're on?
Rodpad said:
Will that replace the Adam Kernel in my WanamLite firmware? Will it cause conflicts or issues?
Thanks in advance.
Click to expand...
Click to collapse
No, it's framework, not a kernel. Also you shouldn't have problems if your rom is aosp and deodexed.
Rodpad said:
Will that replace the Adam Kernel in my WanamLite firmware? Will it cause conflicts or issues?
Thanks in advance.
Click to expand...
Click to collapse
Nope. Doesn't change kernel.
Sent from my GT-I9500 using Tapatalk 2
I think WanamLite is based off the stock Samsung firmware and framework. I don't think it's AOSP and I don't know what de-odexing is, apologies.
Just install Headset Button Controller from the market.
Its soooo good I bought it!
https://play.google.com/store/apps/details?id=com.kober.headsetbutton&hl=en
Rodpad said:
Will that replace the Adam Kernel in my WanamLite firmware? Will it cause conflicts or issues?
Thanks in advance.
Click to expand...
Click to collapse
No.
Sent from my GT-I9505 using XDA Premium App
3minit framework worked great. Thanks!
Xposed
Xposed framework works just as well. Just remember to enable the tweakbox under Modules tab in xposed installer.
sanziosan said:
Xposed framework works just as well. Just remember to enable the tweakbox under Modules tab in xposed installer.
Click to expand...
Click to collapse
Ya I tried the 2 apps u posted didnt work after rebooting twice but unchecked/unmodified everything that "I" checked/modified in the module except the volume then did a soft boot and that worked. idk if it was just all the thing i checked/modified or the soft boot or it just needed a 3rd reboot

[MOD][2in1] Advance 4-Way Reboot + Volume Keys Skip Tracks

hey guys, just sharing a little mod that I implemented. I took the 4-Way Reboot from HERE and implemented with Volume Skip Tracks HERE!
This is for DEODEX KRT16M ONLY!
You are free to use in your ROMS or just flash it. Please provide proper credits.
Thanks @shaftenberg, @cargobr151 & @kahvitahra
any way to get it on odexed roms??
v1c70r said:
any way to get it on odexed roms??
Click to expand...
Click to collapse
shaftenberg said:
IMPORTANT: Your system has to be deodexed, otherwise you'll end in a bootloop!
Click to expand...
Click to collapse
You must be in a deodexed ROM, or you'll get bootloop.
double post.
Any chance of making the phone wake up with the volume keys?
Sent from my Nexus 5
peachpuff said:
Any chance of making the phone wake up with the volume keys?
Sent from my Nexus 5
Click to expand...
Click to collapse
Will look into it.
Please give some feedback people!
Wish this was available to odexed roms... Thanks anyway
I cant find a stable deodexed ROM - what is everyone using ?!
gingerneil said:
I cant find a stable deodexed ROM - what is everyone using ?!
Click to expand...
Click to collapse
You can try Nitrous ROM, it's stable with dalvik, don't change it to ART. BTW, Nitrous already have this mod built in.
Can a ODEX version be done? Some of us still prefer Stok Rom for now. Thanks for your contribution.
So, I assume this is not possible on rooted stock, is it?
iNSPiRE.DS said:
So, I assume this is not possible on rooted stock, is it?
Click to expand...
Click to collapse
Nope, ya need to be deodexed.
milkytron said:
Nope, ya need to be deodexed.
Click to expand...
Click to collapse
hello. it is possible to mod stock ODEX? thanks
Volume skip doesn't work for me. 4 way reboot works fine. What can I do?
v1c70r said:
Volume skip doesn't work for me. 4 way reboot works fine. What can I do?
Click to expand...
Click to collapse
Are you trying to skip tracks with the screen on? It's only meant to work when the screen is off.
pialletti said:
hello. it is possible to mod stock ODEX? thanks
Click to expand...
Click to collapse
+1 pretty please?
Sent from my Nexus 5 using Tapatalk
d_phekt said:
+1 pretty please?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Both combine will not be available for Odex ROMs, not now at least.
I know how to use it. I used it before on my retired Galaxy S II. I'm on stock deodexed rooted rom and I reflash it everything again and doesn't work
Odex mod
I reodexed a similar mod.

Redraw Home every time!!! HELP

Hi, i have a XSP of course...and now im on 4.3 (.201), but even in 4.1.2. (.254, .257) i have redraw of icons and in launcher everytime i touch the home button...its boring to see that because duration is about 2 seconds to put all fine in screen.
Its still always happening to me and i want to know how solution i have to stop this crap to do that??
My rom is deodexed and have root and cwm installed!
Thanks........
copy2050 said:
Hi, i have a XSP of course...and now im on 4.3 (.201), but even in 4.1.2. (.254, .257) i have redraw of icons and in launcher everytime i touch the home button...its boring to see that because duration is about 2 seconds to put all fine in screen.
Its still always happening to me and i want to know how solution i have to stop this crap to do that??
My rom is deodexed and have root and cwm installed!
Thanks........
Click to expand...
Click to collapse
Install Xposed module named APP SETTINGS, select the Home launcher..enable options and tick "resident" then save your settings. Now press home button if there are changes[emoji6]
Sent from my C5303 using Tapatalk
Test to supercharger service.jar. Google it, it's here around xda.
Gesendet von meinem Xperia SP
I just flashed thunderbolt Cwm flashable zip and my phone is flying in every sense. I recommend you to check it out in android development and hacking section of xda.
headbon3 said:
Install Xposed module named APP SETTINGS, select the Home launcher..enable options and tick "resident" then save your settings. Now press home button if there are changes[emoji6]
Sent from my C5303 using Tapatalk
Click to expand...
Click to collapse
I have tested the xposed app "moded" to work on 4.3 but i have FC when go to download part. I dont know why, the guy who post the xposed app "moded" says it works fine in 4.3 but for me doesnt work, i have pasted in system directory with rw-r-r permissions and nothing anyway.
i realy want to have xposed not only because the moldure you say but becuse others like fm without antenna and the hack connectivity...i already have it when i have on 4.1.2. but in 4.3. dosnt work.
zakkkkk said:
I just flashed thunderbolt Cwm flashable zip and my phone is flying in every sense. I recommend you to check it out in android development and hacking section of xda.
Click to expand...
Click to collapse
im not sure if the thunderbolt will work on my device because is locked bootloader, and i read in the thunderbolt post it modifies "something else" around the kernel...
joke19 said:
Test to supercharger service.jar. Google it, it's here around xda.
Gesendet von meinem Xperia SP
Click to expand...
Click to collapse
Yup. I just did that. No redraws even after asphalt8! Many multitasking mods+ also.
http://forum.xda-developers.com/showthread.php?t=1914159
Have to read a little bit though.. might not get it right the first time. Always keep cwm backups if gonna try.
If you r rooted then download xpose installer and a module in it named app setting in that app setting select xperia home and tick on the option resident.
Sent from my C5303 using XDA Premium 4 mobile app
copy2050 said:
I have tested the xposed app "moded" to work on 4.3 but i have FC when go to download part. I dont know why, the guy who post the xposed app "moded" says it works fine in 4.3 but for me doesnt work, i have pasted in system directory with rw-r-r permissions and nothing anyway.
i realy want to have xposed not only because the moldure you say but becuse others like fm without antenna and the hack connectivity...i already have it when i have on 4.1.2. but in 4.3. dosnt work.
Click to expand...
Click to collapse
Install Xposed from this thread: http://forum.xda-developers.com/sho...mctr=(not provided)&__utmv=-&__utmk=189973672
headbon3 said:
Install Xposed from this thread: http://forum.xda-developers.com/sho...mctr=(not provided)&__utmv=-&__utmk=189973672
Click to expand...
Click to collapse
Xposed doesnt work for me..always have FC when go to download section...it installed the framework but moldures doesnt install because get FC everytime!
Any section of the forum who have the app setting to download directly and put them in my smartphone to install?
Thanks

Viper4Audio not working in ROM

I installed a ROM which came with Viper. I installed the driver as battery saver and high performance. I installed it as a user app and a system app. It still does not function at all. I tried compatibility mode and normal as well.
How do I get it to work?
I have same issue mine will work for a minute or two but then stop working I've tried different roms different versions of viper4android no luck
Yeah I'm running a ROM with it and having issues. Mine is that when the screen is off my music will skip or pause for just a second. Its real annoying I've tried it on headphones and the phone speaker with the same result.
Sent from my SM-G900V using XDA Premium 4 mobile app
They should stop including it in ROMs if it doesn't function.
I've frozen Sound Alive and it fixed everything for me. Give that a try if your rom still has it enabled.
How do you freeze SoundAlive?
ModtoDeath said:
How do you freeze SoundAlive?
Click to expand...
Click to collapse
You can either freeze it with Titanium Backup Pro or use a root explorer and rename the app soundalive.apk to soundalive.bak. It's located in the system/priv-app folder. On a side note have you all set ViperFX as the default music effects in settings/sound/music effects? Viper runs great for me. As for including it in the ROMs it needs to be made a data app and not a system app so it can be uninstalled if desired. I started to do this and hope other devs who include it in the ROM will follow suit.
Misterxtc said:
You can either freeze it with Titanium Backup Pro or use a root explorer and rename the app soundalive.apk to soundalive.bak. It's located in the system/priv-app folder. On a side note have you all set ViperFX as the default music effects in settings/sound/music effects? Viper runs great for me. As for including it in the ROMs it needs to be made a data app and not a system app so it can be uninstalled if desired. I started to do this and hope other devs who include it in the ROM will follow suit.
Click to expand...
Click to collapse
When I go to settings/sound/ there is no music effects option listed.
ModtoDeath said:
When I go to settings/sound/ there is no music effects option listed.
Click to expand...
Click to collapse
Not even at the bottom of the list? What ROM are you on? Maybe it's removed...
View attachment 2859088 View attachment 2859090
I'm running the debloated ROM for my Verizon galaxy S 5 andi don't see sound alive in system / priv-app and I don't have a music effects option.
SparklesElite said:
I'm running the debloated ROM for my Verizon galaxy S 5 andi don't see sound alive in system / priv-app and I don't have a music effects option.
Click to expand...
Click to collapse
Same
Anyone have a fix or at least know what's wrong
pulleegar said:
Anyone have a fix or at least know what's wrong
Click to expand...
Click to collapse
Doesn't look like it at the moment.
SparklesElite said:
Doesn't look like it at the moment.
Click to expand...
Click to collapse
You need to add MusicFX.apk back to the system/priv-app folder to get the Music Effects menu back and SoundAlive.apk if you want Sound Alive back in the Music Effects menu. Then reboot. Otherwise ViperFX will show up in the Music Effects menu once MusicFX is added back. You should also be more specific to witch ROM you are referring to, it might have been added back in a newer version.
View attachment 2866930
View attachment 2866938
Has anyone tried any of the trouble shooting steps from the official viper thread? (I'm not on a custom ROM yet)
Sent from my Nexus 7 using XDA Premium 4 mobile app
http://forum.xda-developers.com/attachment.php?attachmentid=2682328&d=1397328463
Download this file and flash it using safestrap. Then open app and download drivers. Then restart go to settings/sounds/music effects and choose viper4android. Then hit enable in viper app this should work. This worked for me and I tried everything else everyone said with no luck

Categories

Resources