Skip to content

Commit

Permalink
Before this change, kickstart will possiblely be launched at two point:
Browse files Browse the repository at this point in the history
    1. Boot complete, and property service load persist properties from
       file, then start service "kickstart" when set property
       "persist.radio.kickstart" to "on".

    2. Later, the same in group "core", ks_checker first disables
       kickstart, checking the ralated files, and restart kickstart.

With above procedure, kicstart might be terminated during firmware
downloaded stage, and it will cause modem booting failed. In this
change, we don't launch kickstart just after booted and leave it to be
performed by ks_checker.

Change-Id: If4d0473da69c0d1cdd05f1b24a66c7caafb25c6e
Signed-off-by: Raphanus Lo <[email protected]>
  • Loading branch information
Raphanus Lo authored and Ed Tam committed Apr 1, 2013
1 parent ee443ee commit 39be7dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions init.flo.rc
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,10 @@ service asus-dbug-d /data/data/com.asus.debugger/files/asus-debugger-d
class late_start
disabled

on property:persist.radio.kickstart=on
on property:gsm.radio.kickstart=on
start kickstart

on property:persist.radio.kickstart=off
on property:gsm.radio.kickstart=off
stop kickstart

on property:ril.asus_debugger_running=1
Expand Down
4 changes: 2 additions & 2 deletions kickstart_checker.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/system/bin/sh
setprop persist.radio.kickstart off
setprop gsm.radio.kickstart off

if [ $(getprop ro.boot.baseband) == "mdm" ]; then

Expand All @@ -18,5 +18,5 @@ if [ $(getprop ro.boot.baseband) == "mdm" ]; then

echo 1 > /sys/module/rmnet_usb/parameters/rmnet_data_init

setprop persist.radio.kickstart on
setprop gsm.radio.kickstart on
fi

0 comments on commit 39be7dd

Please sign in to comment.