[MOD][MIUI GB] Skip track via volume press


Status
Not open for further replies.

Andy Thomson

Staff Developer
May 10, 2011
1,316
230
You are the man. Expect a donation soon! :)

EDIT: OOO seems to not work, flashed and every time i long press power button for even 1 second, phone just hot reboots (goes to bootanimation for 4 seconds then boots up) . I dont get the menu. :(
Galaxy s2
Can you try re downloading the combo version above?
Let me know if you still have issues.
 

NXUS

Members
May 3, 2011
99
16
same problem still, hot reboot. with the normal one i don't even get the menu anyways :/. I wonder what the problem could be
 

Andy Thomson

Staff Developer
May 10, 2011
1,316
230
same problem still, hot reboot. with the normal one i don't even get the menu anyways :/. I wonder what the problem could be
I don't get it.. It works fine on my Galaxy S? I'm not at PC at the moment but when I get home I'll look into it..Does the volume control part still work?
 

TreyM

Member
Nov 24, 2010
378
40
Andy, check PMs. Get on gtalk so we can talk in real time. :) Ready to set you up.
 

roenano

Members
Nov 7, 2010
722
65
I don't get it.. It works fine on my Galaxy S? I'm not at PC at the moment but when I get home I'll look into it..Does the volume control part still work?
Code:
23:25:20.087 Debug dalvikvm 984  DexOpt: couldn't find static field
23:25:20.200 Warning dalvikvm 984  VFY: unable to resolve static field 27 (IS_I9003) in Landroid/os/Build;
23:25:20.200 Debug dalvikvm 984  VFY: replacing opcode 0x63 at 0x0012
23:25:20.200 Debug dalvikvm 984  VFY: dead code 0x0014-0018 in Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;.<clinit> ()V
23:25:20.200 Warning dalvikvm 984  Exception Ljava/lang/NoSuchFieldError; thrown while initializing Lcom/android/internal/policy/impl/GlobalActions$SinglePressAction;
23:25:20.201 Warning dalvikvm 984  threadid=22: thread exiting with uncaught exception (group=0x401cb568)
23:25:20.201 Error AndroidRuntime 984  *** FATAL EXCEPTION IN SYSTEM PROCESS: WindowManagerPolicy
23:25:20.201 Error AndroidRuntime 984  java.lang.ExceptionInInitializerError
23:25:20.201 Error AndroidRuntime 984  	at com.android.internal.policy.impl.GlobalActions.createDialog(GlobalActions.java:263)
23:25:20.201 Error AndroidRuntime 984  	at com.android.internal.policy.impl.GlobalActions.showDialog(GlobalActions.java:114)
23:25:20.201 Error AndroidRuntime 984  	at com.android.internal.policy.impl.PhoneWindowManager.showGlobalActionsDialog(PhoneWindowManager.java:552)
23:25:20.201 Error AndroidRuntime 984  	at com.android.internal.policy.impl.PhoneWindowManager$2.run(PhoneWindowManager.java:519)
23:25:20.202 Error AndroidRuntime 984  	at android.os.Handler.handleCallback(Handler.java:587)
23:25:20.202 Error AndroidRuntime 984  	at android.os.Handler.dispatchMessage(Handler.java:92)
23:25:20.202 Error AndroidRuntime 984  	at android.os.Looper.loop(Looper.java:130)
23:25:20.202 Error AndroidRuntime 984  	at com.android.server.WindowManagerService$PolicyThread.run(WindowManagerService.java:596)
23:25:20.202 Error AndroidRuntime 984  Caused by: java.lang.NoSuchFieldError: android.os.Build.IS_I9003
23:25:20.202 Error AndroidRuntime 984  	at com.android.internal.policy.impl.GlobalActions$SinglePressAction.<clinit>(GlobalActions.java:583)
23:25:20.202 Error AndroidRuntime 984  	... 8 more
 

NXUS

Members
May 3, 2011
99
16
It Works! doesnt give me download mode, says bootloader. But it gives me options now and skip track works as intended :)
 

TreyM

Member
Nov 24, 2010
378
40
Hey andy, I need to know how to remove the bootloader option completely. On Droid, we don't really even need the option.
 

Andy Thomson

Staff Developer
May 10, 2011
1,316
230
Hey andy, I need to know how to remove the bootloader option completely. On Droid, we don't really even need the option.
Try this.. I've modified the GlobalActions$SinglePressAction.smali. For Droid you should only get three options, for SGS you only get three options, for SGSII your get four options with download mode and everyone else gets four options with Bootloader mode.

I've only tested this on my SGS so can't guarantee it'll work but the code isn't too complicated so it should..Let me know..

Modified Combo 1.8.12
 

ninjinsamax3

Members
Aug 19, 2011
7
11
Volume Control+4way 1.8.12 and Volume Control 1.8.12 works with MIUI 1.8.19. I've successfully tested and used on HTC Droid Incredible.

The 4 way boot works correctly too, it's been so useful too. When reinstalling these mods~ :D
 

roenano

Members
Nov 7, 2010
722
65
Hi Andy, I used you modifications in the 4-way reboot MOD post (credit given) but on my Desire I have only 3 options (no Bootloader). I posted it anyway to check if it happens to other devices too.
 

Andy Thomson

Staff Developer
May 10, 2011
1,316
230
Hi Andy, I used you modifications in the 4-way reboot MOD post (credit given) but on my Desire I have only 3 options (no Bootloader). I posted it anyway to check if it happens to other devices too.
Hi.. Have you used the latest version that I posted this morning? I made a change to the code, it's been tested as working on a Galaxy S and Galaxy SII.
 

mastermike1485

Members
Feb 5, 2011
136
26
I stopped using this site mainly but I need to login just to tell you thank you Andy you are above and beyond awesome
 

Xtrordinaire1

Members
Nov 18, 2010
269
38
It's crazy how big a part this mod is in my miui experience.

Thank u greatly andy!

Sent from my PC36100 using Tapatalk
 

miamo

Members
Aug 9, 2011
2
11
Hi Andy are you planing to do a version for the stable 2.3.5a release too?


P.s.:Its working also for the stable release.
 
Status
Not open for further replies.