From df286aae1455c38cc4f1ce33c543fa29823c1910 Mon Sep 17 00:00:00 2001 From: Arif Ali <mail@arif-ali.co.uk> Date: Sun, 27 Nov 2011 02:51:25 +0000 Subject: [PATCH] leo: fixed a few rild, and ppp stuff --- prebuilt/ppp/ip-up | 6 +++--- system.prop | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/prebuilt/ppp/ip-up b/prebuilt/ppp/ip-up index 8fe07d1..dab7fe3 100755 --- a/prebuilt/ppp/ip-up +++ b/prebuilt/ppp/ip-up @@ -39,9 +39,9 @@ modem_log() /bin/echo -e "${@}" >> /tmp/ppp.log } modem_log "Connection attempt SUCCESSFUL!" -modem_log "Phone IP: `/bin/ifconfig ppp0 | /bin/grep 'inet addr:' | /bin/cut -d':' -f2 | /bin/cut -d' ' -f1`" -modem_log "Subnet : `/bin/ifconfig ppp0 | /bin/grep 'inet addr:' | /bin/cut -d':' -f4 | /bin/cut -d' ' -f1`" -modem_log "P-t-P : `/bin/ifconfig ppp0 | /bin/grep 'inet addr:' | /bin/cut -d':' -f3 | /bin/cut -d' ' -f1`" +modem_log "Phone IP: `/system/xbin/ifconfig ppp0 | /system/xbin/grep 'inet addr:' | /system/xbin/cut -d':' -f2 | /system/xbin/cut -d' ' -f1`" +modem_log "Subnet : `/system/xbin/ifconfig ppp0 | /system/xbin/grep 'inet addr:' | /system/xbin/cut -d':' -f4 | /system/xbin/cut -d' ' -f1`" +modem_log "P-t-P : `/system/xbin/ifconfig ppp0 | /system/xbin/grep 'inet addr:' | /system/xbin/cut -d':' -f3 | /system/xbin/cut -d' ' -f1`" modem_log "Done!" sleep 1 /system/bin/setprop "net.dns1" "$DNS1" diff --git a/system.prop b/system.prop index 3666c08..04e8456 100755 --- a/system.prop +++ b/system.prop @@ -3,8 +3,7 @@ # # RIL specific configuration -rild.libpath=/system/lib/libhtc_ril_wrapper.so -rild.libargs=-d /dev/smd0 nand_init +rild.libpath=/system/lib/libhtc_ril.so ro.ril.ecc.HTC-ELL=92,93,94 ro.ril.ecc.HTC-WWE=999 ro.ril.enable.a52.HTC-ITA=1 @@ -61,3 +60,6 @@ ro.media.dec.jpeg.memcap=20000000 # AGPS options ro.ril.def.agps.mode=2 + +# Show the correct dBm value +ro.telephony.ril.v3=1