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


Status
Not open for further replies.
Andy, check PMs. Get on gtalk so we can talk in real time. :) Ready to set you up.
 
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
 
It Works! doesnt give me download mode, says bootloader. But it gives me options now and skip track works as intended :)
 
It Works! doesnt give me download mode, says bootloader. But it gives me options now and skip track works as intended :)

That's so annoying!!!! I'll get it working properly in time for this weeks update...
 
Hey andy, I need to know how to remove the bootloader option completely. On Droid, we don't really even need the option.
 
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
 
Unfortunately, I only get 3 reboot options on my sgs2. No download option either.
 
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
 
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 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.
 
I stopped using this site mainly but I need to login just to tell you thank you Andy you are above and beyond awesome
 
It's crazy how big a part this mod is in my miui experience.

Thank u greatly andy!

Sent from my PC36100 using Tapatalk
 
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.
 
Nexus One

Great mod, but it's not working on my nexus one with this weeks update. Anyone else with that problem? or is it just my phone?
 
Me too not working this week maybe bevause the 4 way combo cancels it out?

Sent from my GT-I9000 using the miuiandroid.com forum app
 
Status
Not open for further replies.