[Mod][Request] Wake on trackpad


Feb 10, 2011
19
0
11
#1
Hi guys and Gals,
It seems the option to wake the phone from the trackpad has been removed from the release 1.4.29, Any way to have a patch to add it?

Thanks in advance

PS: I use the Desire Z/G2
 
Dec 13, 2010
16
0
11
#8
What is wrong with Settings > System > Button settings > Trackball wake?
I guess you don't have a Desire Z/G2. I'm pretty sure you have a Nexus One or a Desire ;)
In the latest releases the miui developers added a check for the trackball wake option.
Only on bravo and passion the option is displayed. I found a solution to patch the Settings.apk to show the option on vision too.
The followin lines have to be added to Settings/smali/com/android/settings/KeySettings.smali after line 280:
Code:
    const-string v1, "vision"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0
Or you could use my ROM: http://forum.xda-developers.com/showthread.php?t=871344