13th July 2012, 05:04 PM
(Last edited by jakubklos; 21st November 2012 at 10:03 AM .)
Member -
OP
Thanks Meter
159
Posts: 73
Join Date: Jan 2008
Location: Prague
[MOD] Long Press Volume Buttons to skip songs
Yes, finally it is here!
After couple of hours of coding in smali and debugging endless boot loops
it works.
Change your music tracks when your screen is off and music is playing by long pressing the volume buttons.
Update:
- New JB and ICS support
- New 500ms timeout used instead of 1sec.
- New CWM flashable zip
- New Diff available for ROM cooks
ICS: Wanam-Lite ROM 1.7
JB: Wanam-Lite ROM 4.3 (4.1.1)
Enjoy!
The Following 81 Users Say Thank You to jakubklos For This Useful Post: [ Click to Expand ]
Al3xI98O (6th August 2012),
Alex Charles (15th July 2012),
ausdim (13th July 2012),
aydc (13th July 2012),
Bennni. (21st December 2012),
BioVolt (7th August 2012),
brownstein (15th July 2012),
chatnoir1 (17th July 2012),
ChesterZZ (14th July 2012),
Chris_84 (15th July 2012),
ClintBeastwood (12th December 2012),
Cristiano Matos (23rd November 2012),
dalton8 (14th July 2012),
danielholm (18th November 2012),
darksiren (12th October 2012),
dboechat (29th July 2012),
dikime (10th January 2013),
drilym (28th September 2012),
enami_I9000 (16th December 2012),
epsongun (26th July 2012),
Erahgon (22nd November 2012),
fabledude (13th July 2012),
factor27 (5th September 2012),
Fredo13127 (27th October 2012),
geekynoob (26th March 2013),
HISOON (29th September 2012),
Homam Ageel (19th September 2012),
ivarson_swe (12th October 2012),
jackmu95 (18th July 2012),
jhericurls (13th July 2012),
Joravis (28th July 2012),
Kage01 (24th October 2012),
Kaibosh (26th July 2012),
kristofpetho (16th August 2012),
Kryten2k35 (16th October 2012),
ktxed (17th July 2012),
lemonade747 (9th March 2013),
LouRock (17th August 2012),
mareis1973 (14th July 2012),
mehms (14th July 2012),
milanored (26th October 2012),
mk256 (17th October 2012),
mkh@xda (13th July 2012),
Mlopik (31st December 2012),
MohammedAzi (23rd November 2012),
mutaz102 (12th September 2012),
ninthsense (9th September 2012),
Nottach (28th August 2012),
oso jhonson (28th September 2012),
Perka (22nd September 2012),
PhantomHacker (27th July 2012),
Quetzalcoalt_Lp (30th July 2012),
r-jansen (15th July 2012),
radeonxt (15th July 2012),
ricsonham (29th November 2012),
romess (30th September 2012),
Ryoupe (3rd August 2012),
samaxen (13th July 2012),
sergmarin (17th July 2012),
Silhaut1 (20th August 2012),
Siyamand (26th July 2012),
slonn (14th July 2012),
SONE9 (15th July 2012),
sparky_boi (14th July 2012),
StressFull (13th July 2012),
suleiman.aql (24th October 2012),
SuperNhim (15th November 2012),
thisiskindacrap (28th October 2012),
time_shock (14th July 2012),
titkenan (13th July 2012),
tom_e (17th July 2012),
TTGWarheart (16th August 2012),
tunizizou (24th December 2012),
w1nter456 (13th July 2012),
wanam (13th July 2012),
XDA mark (14th July 2012),
xStagGx (20th November 2012),
Zaatour36 (15th July 2012),
ZacAttack (19th July 2012),
zkieal (20th July 2012),
_polimorph_ (25th November 2012)
13th July 2012, 05:44 PM
Member
Thanks Meter
5
Posts: 46
Join Date: Jun 2010
Quote:
Originally Posted by
jakubklos
Yes, finally it is here!
After couple of hours of coding in smali and debugging endless boot loops
it works.
Change your music tracks when your screen is off and music is playing by long pressing the volume buttons.
You need to replace your /system/framework/android.policy.jar with the one below.
I am sure the ROM chefs will be soon putting this in their new ROMs.
I used the Wanam-Lite ROM 1.6 to decompile the original android.policy.jar so if you are on some latest ROM it should work fine.
Enjoy!
Doesn't work in Paranoid 1.5a (CM9).
It doesn't boot any more.
13th July 2012, 05:49 PM
Senior Member
Thanks Meter
5
Posts: 150
Join Date: Jan 2012
Location: Brisbane
Would this work with Poweramp ?
13th July 2012, 06:47 PM
Junior Member
Thanks Meter
4
Posts: 16
Join Date: Oct 2010
Quote:
Originally Posted by
Mikee.H
Would this work with Poweramp ?
This doesn't work on Omega 9 /Franco 10. Tried Poweramp and Sammy Music Player.
Changed permissions before rebooting so no problems there but long press on volume only makes the volume go up/down really quick as per stock.
13th July 2012, 06:54 PM
Member
Thanks Meter
5
Posts: 53
Join Date: Apr 2012
Location: BangLamung, Chonburi
Quote:
Originally Posted by
Mikee.H
Would this work with Poweramp ?
Works with PowerAmp - but u must aktivate ICS-Lockscreen in PA settings.
WanamLite (S3) + Paranoid Android
Hybrid (S2)
13th July 2012, 07:05 PM
Junior Member
Thanks Meter
4
Posts: 16
Join Date: Oct 2010
Quote:
Originally Posted by
mkh@xda
Works with PowerAmp - but u must aktivate ICS-Lockscreen in PA settings.
ladies and gentlemen, i am an idiot.
i did not read the op properly.
this works when the screen is off.
The Following 2 Users Say Thank You to jaykay1967 For This Useful Post: [ Click to Expand ]
13th July 2012, 07:09 PM
Retired Forum Moderator
Thanks Meter
159
Posts: 1,517
Join Date: Dec 2008
Location: Melbourne
DONATE TO ME
I'm assuming this is just for Sammy roms as AOSP and AOKP already have these features built in.
| TOUCHPRO | NEXUS ONE | DESIRE HD | GALAXY S III | GALAXY NEXUS | GALAXY S III 4G
13th July 2012, 07:28 PM
Senior Member
Thanks Meter
319
Posts: 916
Join Date: Jul 2006
I confirm that it works with Wanam 1.6.
13th July 2012, 07:50 PM
Member -
OP
Thanks Meter
159
Posts: 73
Join Date: Jan 2008
Location: Prague
Quote:
Originally Posted by
ariedam
Doesn't work in Paranoid 1.5a (CM9).
It doesn't boot any more.
True, only stock based ROMs shoudl be supported. CM9 and AOKP already have this feature.
I have tested it on Wanam 1.5 and Wanam 1.6 but others should be working too.
The Following User Says Thank You to jakubklos For This Useful Post: [ Click to Expand ]
13th July 2012, 09:01 PM
Member
Thanks Meter
11
Posts: 80
Join Date: Jul 2006
Replaced the file and changed permission. Reboot the phone and it behaves the same in Sammy player and PA. ICS lock screen is always on for PA. Long pressing up and down will only change volume for me. I am on stock ROM and kernel.
Thread Tools
Search this Thread
Display Modes
Linear Mode
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Go to top of page...
Most Thanked In This Thread
5 (quote)
Try this. Long
press time is … 4 I made a flashable zip of
wanams v5.1 … 4 Do not flash this anymore.
Android 4.1.2 … 4 (quote)
Download and
install Xposed … 3 Diff available (quote)
I have posted …