Hi all,
I have also tried to enable Telephony features and sms capability
over android ICS 4.0.3 and following are the files need to be updated
1) To remove WIFI-only option and to enable mobile services we need to
override config.xml... so add following lines
<string-array translatable="false" name="networkAttributes">
<item>"wifi,1,1,1,-1,true"</item>
<item>"bluetooth,7,7,0,-1,true"</item>
<item>"ethernet,9,9,2,-1,true"</item>
<item>"mobile,0,0,0,-1,true"</item>
<item>"mobile_mms,2,0,2,60000,true"</item>
<item>"mobile_supl,3,0,2,60000,true"</item>
<item>"mobile_hipri,5,0,3,60000,true"</item>
<item>"ethernet,9,9,1,-1,ture"</item>
<item>"mobile_fota,10,0,2,60000,true"</item>
<item>"mobile_ims,11,0,2,60000,true"</item>
<item>"mobile_cbs,12,0,2,60000,true"</item>
</string-array>
<string-array translatable="false" name="radioAttributes">
<item>"1,1"</item>
<item>"7,1"</item>
<item>"0,1"</item>
<item>"9,1"</item>
</string-array>
2) In file $my_Android/device/ti/beagleboard/beagleboard.mk file add
following lines if those are missing...
# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
$(call inherit-product, device/ti/beagleboard/device.mk)
3) In file $my_Android/device/ti/beagleboard/device.mk dont make any
changes as it was posted to build system as
nosdcard option and commenting overlays.. dont do any thing as it
is will work.. build it as tablet only..
PRODUCT_CHARACTERISTICS := tablet
DEVICE_PACKAGE_OVERLAYS := \
device/ti/beagleboard/overlay
4) In file $my_Android/build/target/product/full_base.mk add following
lines if they are missing
# Get everything else from the parent package
$(call inherit-product,
$(SRC_TARGET_DIR)/product/generic_no_telephony.mk)
5) In files $my_Android/build/target/product/generic_no_telephony.mk
add following lines to build phone related apks
PRODUCT_PACKAGES := \
Contacts \
ContactsProvider \
Phone \
TelephonyProvider \
UserDictionaryProvider \
Mms
PRODUCT_COPY_FILES := \
development/data/etc/apns-conf.xml:system/etc/apns-conf.xml
PRODUCT_PROPERTY_OVERRIDES := \
keyguard.no_require_sim=true \
ro.com.android.dataroaming=true
Thats all if your vendor specific RIL-D is ready means you can
connect to mobile networks and you can able to make/receive a voice call
sending/receiving a SMS through Android ICS 4.0.3 UI.
Thanks & Regards
Prasanna Kulkarni
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting