1. Download our Official Android App: Forums for Android!

Root Mod: Fixed (shortened) touchkey backlights

Discussion in 'Android Devices' started by s44, Apr 1, 2011.

  1. s44

    s44 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    313
    Joined:
    Oct 1, 2010

    Oct 1, 2010
    313
    37
    43
    The one thing I've hated about DJ05, DL09, and now our Froyo releases is that the timeouts on the capacitive touchkey backlights have gotten longer and longer. In DI01 it was a couple of seconds, in DJ05 it was the length of your screen timeout, and by EB01 and beyond it's now the length of your screen timeout AND reset every time you touch *anything*.

    Well, I've finally gotten around to figuring out where the change was (setScreenOffTimeoutsLocked() in PowerManagerService.smali in services.jar) and modding it back. Now, as in DI01, the keys will only light up for a few seconds after you press one. I haven't reverted the recent change of regular screen touches resetting this time after the touchkeys have gone on, though: since the baseline is very short, this isn't a big issue.

    Note that the version of services.jar on which this is based is from Super Clean 2.9.2. However, a diff seems to show that the only difference between adrynalyne's services.jar and the stock EB01 is the inclusion, in the former, of the battery notification/data throttling removal mods. So it *should* work with any EB01-based framework, though I've only tested on the self-customized SC292 I'm running.

    The mod does *not* interfere with BLN.

    UPDATE: now also attached are two fixed Edify-script versions for ED01.

    Evil Fascination/stock ED01 folks should use shortlight-evil341, which basically just includes the light fix and the sbrissen mods. Community ROM folks should use shortlight-community12, which has a couple of other options unique to that framework.

    The new files include a permissions fix, so just install the zip and reboot. (Those installing the original fixedlights.zip file -- SC292/EB01 and Amend only -- still need to manually mount /data and /dbdata and run the fix permissions script in CWM 2.5 after installation.) First boot will take a while.
     

    Attached Files:


    Advertisement

    makemehavefun and NOsquid like this.
  2. NOsquid

    NOsquid Android Enthusiast
    Rank:
    None
    Points:
    78
    Posts:
    634
    Joined:
    Sep 11, 2010

    Sep 11, 2010
    634
    65
    78
    AWESOME! Thank you! :)
     
  3. s44

    s44 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    313
    Joined:
    Oct 1, 2010

    Oct 1, 2010
    313
    37
    43
    Updated to add ED01 version files. Install scripts are in Edify.
     
    makemehavefun likes this.

Share This Page

Loading...