GSM working on Galaxy Tab 7 Plus CM9 alpha

After much discussion with locerra and poisike on XDA and github, I’ve got GSM telephony and data working on the Galaxy Tab 7 Plus on my super-alpha CyanogenMod 9 port. Check out the thread on XDA forums for more info (and downloads!).

Calls, SMS, and USSD requests all seem to be working reasonably well. Here’s a picture of me demonstrating how it works to my girlfriend:

Data seems to work too. Here are a few screenshots from the web browser:

If you’re curious how I got it up and running (like maybe you’re starting a new CyanogenMod port for your device), check out these commits to my p6200 repo on github:

Going further…

Basically, you need to make sure your device is inheriting AOSP and CyanogenMod components required for telephony, excerpt from p6200.mk:

$(call inherit-product, vendor/cm/config/gsm.mk)

$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)

Also, you’ll need to make sure you’ve extracted/copied proprietary RIL bits from your phone’s stock ROM, excerpt from extract-files.sh:

# RIL
adb pull /system/bin/rild ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/rild
adb pull /system/lib/libril.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libril.so
adb pull /system/lib/libsec-ril.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libsec-ril.so
adb pull /system/lib/libsecril-client.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/libsecril-client.so
...
# Prebuilt libraries that are needed to build open-source libraries
PRODUCT_COPY_FILES += \\
    vendor/__MANUFACTURER__/__DEVICE__/proprietary/libril.so:obj/lib/libril.so \\
    vendor/__MANUFACTURER__/__DEVICE__/proprietary/libsecril-client.so:obj/lib/libsecril-client.so

# RIL
PRODUCT_COPY_FILES += \\
    vendor/__MANUFACTURER__/__DEVICE__/proprietary/rild:system/bin/rild \\
    vendor/__MANUFACTURER__/__DEVICE__/proprietary/libril.so:system/lib/libril.so \\
    vendor/__MANUFACTURER__/__DEVICE__/proprietary/libsecril-client.so:system/lib/libsecril-client.so

EOF

Lastly, make sure you’re specifying the correct RIL-related properties (hint: check your stock ROM), excerpt from rild.libpath=/system/lib/libsec-ril.so:

rild.libargs=-d /dev/ttyS0
ro.telephony.ril_class=SamsungHCRIL
ro.telephony.sends_barcount=1
ro.telephony.ril.v3=signalstrength,usehcradio

Hope that helps some future space time traveler looking to port AOSP/CM to his/her device. 🙂

2 thoughts on “GSM working on Galaxy Tab 7 Plus CM9 alpha

  1. thanks again!
    looks fantastic!
    Love the photo, br0!
    I hope you will continue the great job.

    congrats on the GNEX!

    cheers!

Comments are closed.