Root Wakeup via trackpad

Discussion in 'Android Devices' started by jcramer83, Jul 19, 2010.

  1. jcramer83

    jcramer83 Member
    16

    Apr 9, 2010
    22
    9
    16

    Advertisement
    Incredible_Nat, TheCowGod and axsys like this.
  2. iowabowtech

    iowabowtech root@android:/ #
    6,393

    May 2, 2010
    12,135
    8,609
    6,393
    Making the Establishment nervous
    Iowa|USA
    I thought CM6 had it. Can't remember though if it was only turn off w/ trackpad or if it would turn on and off.
     
  3. adrynalyne

    adrynalyne Well-Known Member
    213

    Jul 15, 2010
    1,507
    885
    213
    I take no credit for this, but I packaged it up.
     

    Attached Files:

    vandeec5 and axsys like this.
  4. yojoe600

    yojoe600 Well-Known Member
    143

    Apr 14, 2010
    2,188
    207
    143
    College Student
    NC
    i did it by adb pushing but i think i see how update.zip's work now after looking in yours unless you have to mess with the meta folders when making one since i dont know how to change those files
     
  5. adrynalyne

    adrynalyne Well-Known Member
    213

    Jul 15, 2010
    1,507
    885
    213
    Nah, just the script gets changed.
     
  6. Squintz82

    Squintz82 Well-Known Member
    53

    Apr 26, 2010
    244
    60
    53
    Web / Graphic Designer
    Lindenhurst, NY
    So how do you install this? Does it work?

    *edit*

    Found the update.zip in the XDA thread, and it works great! :D
     
  7. adrynalyne

    adrynalyne Well-Known Member
    213

    Jul 15, 2010
    1,507
    885
    213
    Gotta be rooted, do it via clockworkmod.

    It works well.
     
  8. Lefort1

    Lefort1 Well-Known Member
    43

    Apr 23, 2010
    266
    26
    43
    does the update.zip/clockwork method accomplish the same thing as adb pushing the qwerty file? Or is one method better than the other.
     
  9. adrynalyne

    adrynalyne Well-Known Member
    213

    Jul 15, 2010
    1,507
    885
    213
    One could argue the update.zip method is quicker and easier, but both will accomplish the same goal.
     
  10. BenPWarner

    BenPWarner Member
    15

    Feb 18, 2010
    10
    0
    15
    Cheyenne Wy
    it works but not always responsive, sometimes you have to hold the track pad down for awhile
     
  11. Squintz82

    Squintz82 Well-Known Member
    53

    Apr 26, 2010
    244
    60
    53
    Web / Graphic Designer
    Lindenhurst, NY
    Yeah I'm starting to notice this too. How exactly does this mod work? Is there something staying active while the phone is idle to allow the trackpad to wake the phone? Could it possibly use up battery?
     
  12. adrynalyne

    adrynalyne Well-Known Member
    213

    Jul 15, 2010
    1,507
    885
    213
    No. It just maps the dpad key to wake the phone. The exact mod is:

    key 272 DPAD_CENTER WAKE

    Added to the file.
     
    Squintz82 likes this.
  13. Mezmryz03

    Mezmryz03 Well-Known Member
    43

    May 3, 2010
    114
    33
    43
    Audio/Video Professional
    Southern California
    Is this ok to use after applying the leaked OTA and with root? I have both at the moment.
     
  14. adrynalyne

    adrynalyne Well-Known Member
    213

    Jul 15, 2010
    1,507
    885
    213
    Yeah, works fine.
     
    Mezmryz03 likes this.
  15. TheCowGod

    TheCowGod Well-Known Member
    18

    May 13, 2010
    99
    18
    18
    Wow thanks, this is probably the best thing I have done since rooting. The trackball being about useless was driving me nuts. Now at least it does something.
     
  16. Squintz82

    Squintz82 Well-Known Member
    53

    Apr 26, 2010
    244
    60
    53
    Web / Graphic Designer
    Lindenhurst, NY
    Sorry for all the questions Adryn, but why does it take such a long press to wake the phone sometimes?
     
  17. adrynalyne

    adrynalyne Well-Known Member
    213

    Jul 15, 2010
    1,507
    885
    213
    My theory is that it takes a short press when the phone is still awake, but the screen is off. It takes a longer press and hold at other times because the phone must respond to the wake up and ramp up from 250mhz. Or is it 245? I forget what the bottom idle frequency is for the DI.
     
  18. Jonezilla

    Jonezilla Active Member
    15

    Jul 16, 2010
    28
    0
    15
    I think you are probably right about this. I used to use NoLock and when the phone was plugged in and "awake", I could wake the phone instantly with the trackpad. Otherwise it required a long press.

    Do you have to be rooted to use the "update.zip" file, and if not, would you just install it similarly to how the OTA update is installed? Thanks.
     
  19. adrynalyne

    adrynalyne Well-Known Member
    213

    Jul 15, 2010
    1,507
    885
    213
    Yeah you must be rooted. It modifies a file on the system partition.
     
  20. Jonezilla

    Jonezilla Active Member
    15

    Jul 16, 2010
    28
    0
    15
    Cool. Thanks.
     
  21. azide

    azide Active Member
    26

    May 1, 2010
    43
    4
    26
    This takes microseconds, if that.

    Probably a low level software thing that just needs to get worked out. Its a known "issue" with all the wakeup apps.
     
  22. adrynalyne

    adrynalyne Well-Known Member
    213

    Jul 15, 2010
    1,507
    885
    213
    And how long do you think it takes for a key command to hit the system?

    I bet less.

    Look at folks with the Moto Droid who have kernels set to down clock to 125mhz. There is trouble waking in time to receive a call.

    Don't think that just because the CPU ramps up quick that the rest of the system does too at the same time. Read what I said (see the and in there?), I didn't say that was the only factor, but I've no doubt that its one of them.
     
  23. azide

    azide Active Member
    26

    May 1, 2010
    43
    4
    26
    A hardware interrupt will be instant. Well, sorry, at 125MHz it might take 8 nanoseconds.

    Again, its software.
     
  24. adrynalyne

    adrynalyne Well-Known Member
    213

    Jul 15, 2010
    1,507
    885
    213

    Again, as I said before, its a combination. Its been proven before on the Moto Droid.
     
  25. azide

    azide Active Member
    26

    May 1, 2010
    43
    4
    26

Share This Page

Loading...