OSDN Git Service

modify some settings for 3G modem card
authorKyle Yu <kaismiin@gmail.com>
Tue, 9 Feb 2010 08:28:07 +0000 (16:28 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 15 Mar 2010 07:58:05 +0000 (15:58 +0800)
init.q1u.rc
init.rc
system.prop

index 945fac2..3e06d6a 100644 (file)
@@ -1,6 +1,6 @@
 on boot
-    setprop ro.radio.use-ppp no
-    setprop ro.radio.noril yes
+    setprop ro.radio.use-ppp yes
+    setprop ro.radio.noril no
     setprop status.battery.state Slow
     setprop status.battery.level 5
     setprop status.battery.level_raw  50
diff --git a/init.rc b/init.rc
index 5a9833d..630585f 100644 (file)
--- a/init.rc
+++ b/init.rc
@@ -254,6 +254,18 @@ service hsag /system/bin/sdptool add --channel=11 HSAG
     disabled
     oneshot
 
+service ril-daemon /system/bin/rild -l /system/lib/libreference-ril.so -- -d /dev/ttyUSB1
+    socket rild stream 660 root radio
+    socket rild-debug stream 660 radio system
+    user root
+    group radio cache inet misc
+
+service ppp /system/bin/pppd call gprs
+    user root
+    group system radio
+    disabled
+    oneshot
+
 #Please do not change anything below this line. If you want to add new service, add it above this line
 #REMOVE FROM HERE
 service dhcpcd /system/bin/dhcpcd wlan0
index 68d89c1..be425df 100644 (file)
@@ -3,5 +3,5 @@ ro.config.sync = yes
 app.setupwizard.disable=1
 #keyguard.no_require_sim=1
 ro.alarm.volume.adjustable=true
-#ro.simulated.phone=true
+ro.simulated.phone=false
 # end system.prop for q1u