Join Today
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2005
    Posts
    2,341

    Default Led blinking about 4 sec when a Neo/mpkg App starts

    Led are blinking about 4 sec when a Neo/mpkg App starts by tap on the icon.
    i already had this on my old e680(not i/g), now on e680i.

    it needs the lin-loader, NEO or/and mpkg. (perfectly all of them).


    copy the LED(top led) and PMD(e680 bottom Led) files in
    cd /diska/.system/led


    i maded a startapp.lin for every NEO and MPKG app folder that contains this:

    #!/bin/bash

    cd /diska/.system/led

    ./pmd &

    ./led &


    ./led 1
    sleep $delay
    ./led 2
    sleep $delay
    ./led 3
    sleep $delay
    ./led 4
    sleep $delay
    ./led 5
    sleep $delay
    ./led 6
    sleep $delay
    ./led 7
    sleep $delay
    ./led 0
    delay=.5s
    sleep $delay
    ./led 0
    sleep $delay
    ./led 0
    sleep $delay
    ./led 6
    sleep $delay
    ./led 0
    sleep $delay
    ./led 6
    sleep $delay
    ./led 0
    sleep $delay
    ./led 6
    sleep $delay
    ./led 0
    sleep $delay
    ./led 6
    sleep $delay
    ./led 6
    sleep $delay
    ./led 6
    sleep $delay
    ./led 6
    sleep $delay
    ./led 0

    --------------------

    example for mp3Player and camcap

    when you use the mp3player that start without a .lin script then just make one, same for camcap.

    1. rename the mp3player -> mp3player2
    2. make a new .lin file with mp3player (without the .lin ending)
    3 edit the new mp3player file and put in this code and save itit will start the LED and mp3Player at same time.)

    #!/bin/bash

    cd /diska/.system/QTDownLoad/mp3player

    ./startapp.lin &

    ./mp3player2 &

    ------------------------------

    example on jPlayer and other .lin-script file starting apps:

    jplayer.lin file put ./startapp.lin & like this.
    (maybe its not clean programming/scripting style but works for me)

    #!/bin/bash

    export QTDIR=/usr/lib/ezx
    export EZX_RES_FONT_PATH=$QTDIR/lib/fonts
    myfile=`basename $0`
    mypath=`echo $0 | sed -e 's/'$myfile'//g'`
    cd $mypath

    ./startapp.lin &

    export HOME=$mypath
    start-stop-daemon -S -c root -x /tmp/stopfire.lin
    start-stop-daemon -S -c root -x ${mypath}jplayer-phone.lin &
    start-stop-daemon -S -c root -x ./mount.lin
    start-stop-daemon -S -c root -x ./JPlayer
    start-stop-daemon -S -c root -x ./umount.lin
    start-stop-daemon -S -c root -x /tmp/stopplayer.lin
    start-stop-daemon -S -c root -x /bin/kill `pidof phoneshell`

    rm /tmp/stopplayer.lin
    if [ -f /tmp/stopfire.lin ]
    then
    rm /tmp/stopfire.lin
    cd /diska/.system/QTDownLoad/firewall/
    start-stop-daemon -S -c root -x /diska/.system/QTDownLoad/firewall/firewall.lin &
    fi

    ------------------------------

  2. #2
    Join Date
    Jul 2005
    Location
    Seksyen Tujuh (7) Shah Alam
    Posts
    147

    Default Re: Led blinking about 4 sec when a Neo/mpkg App starts

    hehheehe... come to think of it makes me want to laugh... why? at first i think i want to clean up your code and try it but instead it goes to this...

    :P :P
    OS: Windows Vista Ultimate RC1 Build 5600
    CPU: Intel Pentium 4 2.40GHz overclocked to 2.47GHz


    http://www.motorolafans.com/MotoFile.../montage01.gif

  3. #3
    Join Date
    Mar 2005
    Posts
    2,341

    Default Re: Led blinking about 4 sec when a Neo/mpkg App starts

    lol.. you make an auto-startup script instead of blinking LED start app system...

    i still have a startup script in my phone..
    Motorola e680 (flashed to e680i) + 4Gb SD card + HT820 Stereo BT Hedphones,
    Ubuntu 6.10 + 7.04,
    Nokia N95 + 8Gb microSD

  4. #4
    Join Date
    Jul 2005
    Location
    Seksyen Tujuh (7) Shah Alam
    Posts
    147

    Default Re: Led blinking about 4 sec when a Neo/mpkg App starts

    however the led start script still in confirm folder... if you tap the combine.lin file... it would run... it is already preset... you can use it to be included in apps lin script...

    if you want... start sound also can be put into the script...
    OS: Windows Vista Ultimate RC1 Build 5600
    CPU: Intel Pentium 4 2.40GHz overclocked to 2.47GHz


    http://www.motorolafans.com/MotoFile.../montage01.gif


 
+ Reply to Thread

Similar Threads

  1. cring2.6.mpkg - Call LED
    By dvha79_ddt in forum E680i General Chat
    Replies: 59
    Last Post: 11-07-2006, 08:55 AM
  2. blinking led(other than green) when missed call/unread msg
    By thakilla in forum E680i General Chat
    Replies: 50
    Last Post: 06-15-2006, 05:50 AM
  3. Missed call alert with led blinking + sound + vibration!!
    By gaixixon in forum E680i General Chat
    Replies: 12
    Last Post: 06-14-2006, 10:36 AM
  4. Replies: 9
    Last Post: 11-04-2005, 04:59 AM
  5. The Led blinking 2sec when programs starts (same time)
    By ycyas in forum E680 General Chat
    Replies: 0
    Last Post: 09-27-2005, 10:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1