[MOD] Skip music tracks with Volume buttons (JB 4.1.2)

Search This thread

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    Finally!! After thousands of boot loops I got it working. There are several .diff's for implementing this mod in android.policy.jar, but what I forgot: this works only on a completely deodexed ROM and mine was only half deodexed. It is possible to run deodexed and odexed system apk's side by side, but you must not(!) run a deodexed framework with odexed apk's - this was my learning curve :D

    Summary: If you are on a fully deodexed 4.1.2 JB ROM (I am on 91.2.26001 Retail.en.EU), simply copy the android.policy.jar to /system/framework, set the permissions to rw-r--r-- and reboot.

    MAKE A NANDROID BACKUP BEFORE, just in case!!

    If you want to incorporate this into your ROM (Omar?), I attached the needed smali's too.
    If you are on an odexed ROM, here is a short help to deodex yourself:
    http://xdaforums.com/showthread.php?t=2179009

    Enjoy skipping music tracks in your pocket by long pressing volume without turning your screen on!

    UPDATE: added CWM package for easy flashing.
    1
    Awesome. This was the only thing I missed. Works Like a charm. Thank You!

    Sent from my XT890 using xda premium
    1
    Added a CWM package for easy flashing, see OP.
    Remember: Only deodexed ROMs! :)
    1
    Is your system deodexed? Then you may try it, but do a Nandroid backup before, so that you can roll back easily.
    If it works, tell us, if not, tell us :)

    But deodexed system is mandatory!
    1
    does not work for me... Using OMAR AVELAR Rom... Flashed by CWM. Using Power AMP Full.

    the latest omar roms have this by default..