Results 1 to 13 of 13
  1. #1
    offline Itty Bitty Modder
    Join Date
    May 2007
    Posts
    14
    Thanks
    5
    Thanked 1 Time in 1 Post
    Downloads
    222
    Uploads
    0

    Solution Notification led custom blinking rate

    I have shared link to the kernel.

    http://download452.mediafire.com/1g1...nel_signed.zip

    It is a signed .zip and can be installed through recovery. Try it when u get time. It is motorola Base 2.1 kernel so no additional features other than this. No need for wipe since it updates only kernel. But make sure u nandroid backup everything before u do this. Try it with your own risk I'm not responsible if any harm happens to your phone.

    Driver accepts two patterns. Each pattern has an On time and Off time. Both the values are in milliseconds. I have created a script for setting these values easily (see attached).
    Format is
    #/sdcard/set_led.sh 'ONtime1 OFFtime1 ONtime2 OFFtime2'

    for example if u type
    #/sdcard/set_led.sh '100 1500 100 100'
    you will get a heartbeat pattern.
    and if you type
    #/sdcard/set_led.sh '1000 1000'
    led will blink as 1sec on and 1sec off. it accepts either two values or four values all other are invalid. for example
    #/sdcard/set_led.sh '100 100 1000' is invalid
    Once set it will override phone's settings.
    type
    #/sdcard/set_led.sh '0 0'
    to disable this feature.
    Attached Files Attached Files
    Last edited by jakjoseph; 05-22-2011 at 12:31 AM.

  2. The Following User Says Thank You to jakjoseph For This Useful Post:

    sublime1184 (05-31-2011)

  3. #2
    Double0EK's Avatar
    offline Call Me THE Mobile Modder
    Join Date
    Apr 2010
    Location
    Las Vegas, NV
    Posts
    2,069
    Thanks
    339
    Thanked 466 Times in 367 Posts
    Downloads
    22
    Uploads
    0
    have a talk with [MENTION=3108341]ngiordano[/MENTION] and [MENTION=16979]jass[/MENTION]yCliq. They might be really interested in your findings..It mite get incorporated into CM7...

    Sent from my CM7'd Cliq using Tapatalk
    Last edited by adlx; 05-22-2011 at 02:45 AM.

  4. #3
    j@$$yCliq's Avatar
    offline Developer
    Join Date
    Jan 2011
    Posts
    448
    Thanks
    26
    Thanked 188 Times in 88 Posts
    Downloads
    2
    Uploads
    0
    Quote Originally Posted by jakjoseph View Post
    Hi,

    I am working on notification led driver, to set custom blinking rates. I changed the blinking rate by editing source. Now trying to find a 'user friendly' way to set the rates externally..

    are u people interested??
    I think it sounds awesome
    I'm thinking of it being like a app but I can be set through the settings only so its an app that doesn't appear in the launcher
    Talk to [MENTION=3108341]ngiordano[/MENTION] though unless you require some kernel tweak then ill implement

    Sent from my CLIQ using Tapatalk

  5. #4
    offline Itty Bitty Modder
    Join Date
    May 2007
    Posts
    14
    Thanks
    5
    Thanked 1 Time in 1 Post
    Downloads
    222
    Uploads
    0
    Quote Originally Posted by j@$ View Post
    I think it sounds awesome
    I'm thinking of it being like a app but I can be set through the settings only so its an app that doesn't appear in the launcher
    Talk to [MENTION=3108341]ngiordano[/MENTION] though unless you require some kernel tweak then ill implement

    Sent from my CLIQ using Tapatalk
    I am glad to know that you are interested. I will post the kernel soon. I did the modding on the Motorola 2.1 kernel. at present state blinking rates should be set from terminal with root access. I am thinking of building an app for that but I am not very familiar with apk building. I will need some help :-)

  6. #5
    j@$$yCliq's Avatar
    offline Developer
    Join Date
    Jan 2011
    Posts
    448
    Thanks
    26
    Thanked 188 Times in 88 Posts
    Downloads
    2
    Uploads
    0
    Quote Originally Posted by jakjoseph View Post
    I am glad to know that you are interested. I will post the kernel soon. I did the modding on the Motorola 2.1 kernel. at present state blinking rates should be set from terminal with root access. I am thinking of building an app for that but I am not very familiar with apk building. I will need some help :-)
    Wanna try it with CM7 kernel?
    Then well see if we can get it into the settings.apk

    Sent from my CLIQ using Tapatalk

  7. #6
    Double0EK's Avatar
    offline Call Me THE Mobile Modder
    Join Date
    Apr 2010
    Location
    Las Vegas, NV
    Posts
    2,069
    Thanks
    339
    Thanked 466 Times in 367 Posts
    Downloads
    22
    Uploads
    0
    That would be a great feature! I like the Desk Clock Feature on CM7 but I hate when the LED Light stays on.. Maybe an option to turn it off while charging?

    Sent from my CM7'd Cliq using Tapatalk

  8. #7
    j@$$yCliq's Avatar
    offline Developer
    Join Date
    Jan 2011
    Posts
    448
    Thanks
    26
    Thanked 188 Times in 88 Posts
    Downloads
    2
    Uploads
    0
    Quote Originally Posted by Double0EK View Post
    That would be a great feature! I like the Desk Clock Feature on CM7 but I hate when the LED Light stays on.. Maybe an option to turn it off while charging?

    Sent from my CM7'd Cliq using Tapatalk
    Oh yeah that's what I was gonna ask
    Ok so while we charge our phones, the led stays on :/ its a pain in the butt >:/ it stays solid even after a notification... wanted to know if u could help

    Sent from my CLIQ using Tapatalk

  9. #8
    offline Itty Bitty Modder
    Join Date
    May 2007
    Posts
    14
    Thanks
    5
    Thanked 1 Time in 1 Post
    Downloads
    222
    Uploads
    0
    Since I cannot attach the kernel here due to size limit I'm attaching only the driver module. Please try it when u get time. It is compiled with gcc4.2.1.

    For using this driver u should rebuild your kernel with led driver as loadable module.
    run $make menuconfig in your kernel directory. Goto Device drivers->LED support and set M for the Fairchild FAN5646 LED Driver. Save the configuration and rebuild the kernel. Flash the new kernel in any method you prefer. Then extract the attached zip file to /sdcard of your phone. In Terminal Emulator type
    #insmod /sdcard/leds-fan5646.ko to insert the module into the kernel.

    Driver accepts two patterns. Each pattern has an On time and Off time. Both the values are in milliseconds. I have created a script for setting these values easily(inside the zip).
    Format is
    #/sdcard/set_led.sh 'ONtime1 OFFtime1 ONtime2 OFFtime2'

    for example if u type
    #/sdcard/set_led.sh '100 1500 100 100'
    you will get a heartbeat patter.
    and if you type
    #/sdcard/set_led.sh '1000 1000'
    led will blink as 1sec on and 1sec off. it accepts either two values or four values all other are invalid. for example
    #/sdcard/set_led.sh '100 100 1000' is invalid
    Once set it will override phone's settings.
    type
    #/sdcard/set_led.sh '0 0'
    to disable this feature.

    If u can tell me how to attach larger files I can share the kernel so that rebuild mess can be avoided...
    Attached Files Attached Files

  10. #9
    offline Itty Bitty Modder
    Join Date
    May 2007
    Posts
    14
    Thanks
    5
    Thanked 1 Time in 1 Post
    Downloads
    222
    Uploads
    0
    I can help you to disable all 'LED HARD ON' states and allowing only blinks. Is that enough?

    Quote Originally Posted by j@$ View Post
    Wanna try it with CM7 kernel?
    Then well see if we can get it into the settings.apk

    Sent from my CLIQ using Tapatalk
    I am happy to try it with CM7 kernel. What should I give You?? Is driver module file (leds-fan5646.ko) enough?
    Last edited by jakjoseph; 05-21-2011 at 11:31 PM. Reason: Automerged Doublepost

  11. #10
    Double0EK's Avatar
    offline Call Me THE Mobile Modder
    Join Date
    Apr 2010
    Location
    Las Vegas, NV
    Posts
    2,069
    Thanks
    339
    Thanked 466 Times in 367 Posts
    Downloads
    22
    Uploads
    0
    To host a larger file upload it to another host site then just give the link through pm...

    Sent from my CM7'd Cliq using Tapatalk

  12. The Following User Says Thank You to Double0EK For This Useful Post:

    jakjoseph (05-21-2011)

  13. #11
    offline Itty Bitty Modder
    Join Date
    May 2007
    Posts
    14
    Thanks
    5
    Thanked 1 Time in 1 Post
    Downloads
    222
    Uploads
    0
    which host site u can advice me?
    is it paid?

  14. #12
    j@$$yCliq's Avatar
    offline Developer
    Join Date
    Jan 2011
    Posts
    448
    Thanks
    26
    Thanked 188 Times in 88 Posts
    Downloads
    2
    Uploads
    0
    Quote Originally Posted by jakjoseph View Post
    which host site u can advice me?
    is it paid?
    Mediafire is pretty good
    Or multi upload

    Sent from my CLIQ using Tapatalk

  15. The Following User Says Thank You to j@$$yCliq For This Useful Post:

    jakjoseph (05-22-2011)

  16. #13
    adlx's Avatar
    offline Maker of adlxmod
    Join Date
    Jan 2010
    Location
    Madrid, Spain
    Posts
    1,034
    Thanks
    610
    Thanked 1,485 Times in 366 Posts
    Downloads
    30
    Uploads
    0
    Interesting stuff!

    Sent from my Defy running adlxmod using Tapatalk
    Download my 1-click Recovery Flasher to flash a custom or stock recovery to your phone: Cliq, CliqXT, Backflip, ...

    Like my work? Support me: & visit my adlxmod site and follow me on Twitter
    Tambien me puedes encontrar en Movilzona (Esp)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •