[RADIO] HTC Desire's Family RIL Packages [15 SEP 2011]

Which Radio do you usually use with you Rom?

  • 32.54.00.32U_5.14.05.17

    Votes: 1,521 55.1%
  • 32.49.00.32U_5.11.05.27

    Votes: 601 21.8%
  • 32.48.00.32U_5.11.05.14

    Votes: 103 3.7%
  • 32.47.00.32U_5.10.05.23

    Votes: 152 5.5%
  • 32.44.00.32U_5.09.05.30_2

    Votes: 385 13.9%

  • Total voters
    2,762
Search This thread

zikyHD

Senior Member
Sep 25, 2008
165
64
Paris
Xiaomi Mi 10T / 10T Pro
Hi.
Does the RIL allow you to encrypt phone calls combined to a program ?
I heard that you can't encrypt phone calls with the HTC Desire, but
perhaps with RIL whe are able to get the rights packets and encrypt/decrypt them ?
If someone have a solution (except voip) for this, I'll pay you one vodka :)

I think it's not possible or very difficult to implement...if someone could, i think you should offer lots of vodka! :D

Sent from my HTC Desire #Root S-OFF# OxygeN 2.0 RC5 using XDA App
 

zikyHD

Senior Member
Sep 25, 2008
165
64
Paris
Xiaomi Mi 10T / 10T Pro
There should be like some information posted in the first page for newbie on what the RIL is all about.
Also what the radio is for and what the ril is for
and what are some effects of using wrong ril vs wrong radio, just some suggestipns. etc.

But nevertheless, the web is so vast a lot of information is there.

http://www.netmite.com/android/mydroid/development/pdk/docs/telephony.html

I will add more informations on 1st post today! ;-)

Sent from my HTC Desire #Root S-OFF# OxygeN 2.0 RC5 using XDA App
 

JohnForte

Senior Member
Nov 24, 2008
50
10
Munich
hey guys,

i have a problem with my desire since flashing the ril.
once booted, it connects to my mobile network, but after about one minute, it shows "no signal available", and doesn't connect anymore...
people can call me, hear it ringing, but i don't get anything on my phone!?

what can i do?

i'm using 32.44.00.32U_5.09.05.30_2 with the 32.44.00.32U_5.09.05.30_2_RIL, on Oxygen RC6!

thanks in advance!
 

xavierjohn22

Inactive Recognized Developer
May 24, 2006
5,105
1,999
www.xavierjohn22.com
hey guys,

i have a problem with my desire since flashing the ril.
once booted, it connects to my mobile network, but after about one minute, it shows "no signal available", and doesn't connect anymore...
people can call me, hear it ringing, but i don't get anything on my phone!?

what can i do?

i'm using 32.44.00.32U_5.09.05.30_2 with the 32.44.00.32U_5.09.05.30_2_RIL, on Oxygen RC6!

thanks in advance!

Go back to your default RIL.
 
  • Like
Reactions: JohnForte

sc00bs

Member
Jan 9, 2011
25
1
I was having issues with the 32.44.00.32U_5.09.05.30_2 radio and RIL file.

Radio did not pick up a GSM signal most of the time and when it did was still not able to make/receive calls. I tried upgrading to 32.49.00.32U_5.11.05.27 but had a similar problem with it, I then switched to 32.48.00.32U_5.11.05.14 and everything is working 100%. I upgraded the RIL files when I upgraded the radio's.

JohnB
 

zikyHD

Senior Member
Sep 25, 2008
165
64
Paris
Xiaomi Mi 10T / 10T Pro
Here are some tasks to do iot continue this topic

1/I need to check the list of files corresponding to a given RIL version.

2/I have to check a thing i have observed between 2.2 & 2.3 some files change of folder

So i accept all infos you could have!

Sent from my HTC Desire #Root S-OFF# OxygeN 2.0 RC5 using XDA App
 

Alex-V

Inactive Recognized Developer
Aug 26, 2008
9,514
5,254
No problems with radio and RIL 32.49.00.32U_5.11.05.27

in 2.2.1 HD build 1.72 :):);)

with kind regards..Alex
 

Nitin985

Senior Member
Jun 30, 2010
1,538
121
Why do I need a ril can't I just flash the radio like I normally do I have no problems like that

Sent from my HTC Desire using XDA App
 

hongkongtom

Senior Member
Nov 25, 2008
273
18
flashed 32.54 last night and tried today, it is impressive.

unplurg at 100% this morning @ 0730, did full sync, updated apps from market, synced exchanged numerous times, few calls last around 1-2min, browsed a few webs, read RSS, HSPA always on (it's my normal work day usage), right now it's 2115 and it still has 61% remaining.

before the same practice would give me something around 35-45% left.

with SetCPU turned to ondemand, off screen 245mhz, sampliing rate @ 80000, up threshold 95%, it causes around 1% per hour when idle screen off.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 34
    Android's Radio Interface Layer (RIL) provides an abstraction layer between Android telephony services (android.telephony) and radio hardware. The RIL is radio agnostic, and includes support for Global System for Mobile communication (GSM)-based radios.

    The RIL consists of two primary components:
    RIL Daemon: The RIL daemon initializes the Vendor RIL, processes all communication from Android telephony services, and dispatches calls to the Vendor RIL as solicited commands.
    Vendor RIL: The radio-specific Vendor RIL of ril.h that processes all communication with radio hardware and dispatches calls to the RIL Daemon (rild) through unsolicited commands.

    There are two forms of communication that the RIL handles:
    Solicited commands: Solicited commands originated by RIL lib, such as DIAL and HANGUP.
    Unsolicited responses: Unsolicited responses that originate from the baseband, such as CALL_STATE_CHANGED and NEW_SMS.

    Solicited
    There are over sixty solicited commands grouped by the following families:
    SIM PIN, IO, and IMSI/IMEI
    Call status and handling (dial, answer, mute & hellip)
    Network status query
    Network setting (barring, forwarding, selection & hellip)
    SMS
    PDP connection
    Power and reset
    Supplementary Services
    Vendor defined and support

    The following diagram illustrates a solicited call in Android.
    telephony_solicted_example.gif


    Unsolicited
    The following snippet illustrates the interface for unsolicited commands:
    telephony_unsolicted_example.gif


    There are over ten unsolicited commands grouped by the following families:
    Network status changed
    New SMS notify
    New USSD notify
    Signal strength or time changed

    Informations collected from Netmite

    The purpose of this topic is to provide a collection of extracted RIL for HTC Desire. I will add new one asap.

    I try to test all these packages (too many Rom & config..it's quite difficult!) However note that flashing RIL files aren't dangerous at all for your phone. Just do Nandroid Backup!

    You could share your own experience. I'll do my best to improve this collection!

    Links:



    Installation: (Tks to siedkins :) )

    1. Reboot into recovery mode
    2. Full nandroid back up
    3. Select flash from SD card - select radio
    4. Should get a notification to reboot to apply the radio flash
    5. Once rebooted it will automatically take you back into recovery mode
    6. Mount "/system"
    7. Select flash from SD card - select RIL
    8. Reboot once that has flashed and cross your fingers !!!
    9. You could check HTC RIL version and compare with informations below with my little app (see attachment) or with ConnectBot:
    Code:
    su
    getprop "gsm.version.ril-impl"

    *** Please report any problem! ***

    Note:

    -Some radio update don't need to change the RIL!
    -If you encounter some trouble, you could revert to your original RIL easily: just flash again your ROM or do a nandroid restore!
    -RIL FILES ARE STORED IN ROM PART SO IF YOU WIPE & INSTALL ANOTHER ROM, PLEASE NOTE THAT NOTHING STAYS ON YOUR PHONE!

    For testers:

    If you want to help, you could send me your log:

    1. Install Irssi ConnectBot (or the terminal application you prefer)
    2. Launch the previous app and connect it (on Irssi, select "local" and give a name to the connection)
    3. Then write these commands:
    Code:
    su
    logcat>main_date.log (main log)
    [I]or[/I] dmesg>kernel_date.log (kernel log)
    [I]or[/I] logcat -b radio>/sdcard/radio_date.log (radio log)
    
    [I]These 3 log will be very useful[/I]
    4. Click on "home" button to keep your terminal launched
    5. Do some tests with wifi, 3g, 2g connections (on/off), put the phone on sleep mode, on airplane mode...
    6. When it's done, go back to your terminal and terminate the command with "ctrl+c" (on Irssi ConnectBot, just keep your finger on screen and a menu will appear with "ctrl+c")
    7. You could exit your terminal
    8. Your log should be on the root of your sdcard. Just make a post with your log attached or send me a pm!

    HTC RIL Known Versions:

    -GSM
    Code:
    HTC-RIL 2.2.0144HMQ (Mar 31 2011,11:44:35) / HTC Pyramid (Sensation)
    HTC-RIL 2.2.0143H (Mar 29 2011,15:29:57) / HTC Desire HD (Ace)
    HTC-RIL 2.2.0131HM (Mar 18 2011,00:40:15) / HTC Desire S (Saga)
    HTC-RIL 2.2.0121HM (Mar 11 2011,13:26:30) / HTC Desire S (Saga)
    HTC-RIL 2.2.0099HM (Jan 27 2011,16:12:49) / HTC Desire HD (Ace)
    HTC-RIL 2.2.0098HM (Jan 27 2011,18:04:49) / HTC Desire Z (Vision)
    HTC-RIL 2.2.0079HM (Jan 14 2011,14:56:03) / HTC Desire HD (Ace)
    HTC-RIL 2.2.0048HM (Nov 17 2010,10:44:47) / HTC Desire HD (Ace)
    HTC-RIL 2.2.0035HM (Oct 12 2010,17:15:20) / HTC Desire Z (Vision)
    HTC-RIL 2.2.0031HM (Sep 28 2010,23:02:55) / HTC Desire HD (Ace)
    HTC-RIL 2.2.0028HM (Sep 20 2010,22:33:44) / HTC Desire (Bravo)
    HTC-RIL 2.2.0025HM (Sep  9 2010,15:56:36) / HTC Desire (Bravo)
    HTC-RIL 2.2.0015HM (Aug  9 2010,11:40:11) / HTC Desire (Bravo)
    HTC-RIL 2.2.1003G (Nov 2 2010,17:17:45)
    HTC-RIL 2.2.1001G (July 16 2010, 21:52:13) / Nexus One (Passion) (Used by AOSP)
    HTC-RIL 2.2.0018G (Mar 24 2011,20:20:09)
    HTC-RIL 2.2.0014G (Sep 24 2010,19:08:27)
    HTC-RIL 1.6.1062G (Apr 23 2010, 17:35:06) / Nexus One (Passion) (Used by AOSP)

    -CDMA
    Code:
    HTC-RIL 2.0.0108H (Sep 20 2010,11:39:54) / HTC Desire CDMA (BravoC)

    RIL Daemon:

    Code:
    To stop it:
    su
    stop ril-daemon
    
    To start it:
    su
    start ril-daemon

    RIL settings on build.prop:
    Code:
    ro.ril.a53.%s (gprs encryption algorithm)
    ro.ril.3g.long.name
    ro.ril.always.laccid
    ro.ril.att.feature
    ro.ril.avoid.pdp.overlap
    ro.ril.def.agps.feature (network assisted gps)
    ro.ril.def.agps.feature.%s (network assisted gps)
    ro.ril.def.agps.mode (network assisted gps)
    ro.ril.def.agps.mode.%s (network assisted gps)
    ro.ril.disable.fastdormancy.is
    ro.ril.disable.fd.plmn.prefix
    ro.ril.disable.mcc.filter
    ro.ril.disable.power.collapse (said to be an ultra-low power state when phone is in idle, saving battery) (so does =1 mean "yes, please disable the power collapse mode", and =0 mean "oh, please leave power collapse mode on")
    ro.ril.ecc.%s
    ro.ril.emc.mode
    ro.ril.enable.3g.prefix (=1 shows "3g" on lock screen next to network name, =0 does not)
    ro.ril.enable.a52
    ro.ril.enable.a53
    ro.ril.enable.amr.wideband
    ro.ril.enable.cnap (Caller Name Presentation)
    ro.ril.enable.dcm.feature
    ro.ril.enable.dtm (Dual Transfer Mode)(ro.ril.enable.dtm : Only set this to 1 if your network allows simultaneous transfer of Circuit switched (CS) voice and Packet switched (PS) data over the same radio channel (ARFCN).
    ro.ril.enable.ehplmn.feature
    ro.ril.enable.enhance.nws
    ro.ril.enable.enhance.search
    ro.ril.enable.gea3 (gsm security algorithm)
    ro.ril.enable.homezone
    ro.ril.enable.hsdpaind
    ro.ril.enable.hsupaind
    ro.ril.enable.korea.stk (Korean Sim Tool Kit)
    ro.ril.enable.kt.feature
    ro.ril.enable.managed.roaming
    ro.ril.enable.ncell.ind (neighboring cell)
    ro.ril.enable.network_identify
    ro.ril.enable.nitz (network informed time zone)
    ro.ril.enable.pre.roam.network
    ro.ril.enable.prl.recognition
    ro.ril.enable.regucid
    ro.ril.enable.sbm.feature
    ro.ril.enable.sdr
    ro.ril.enable.tim.feature
    ro.ril.enable.ucsq
    ro.ril.enable.vf.%s
    ro.ril.enable.vt
    ro.ril.enhance.htcdis
    ro.ril.fast.dormancy.plmn
    ro.ril.fast.dormancy.rule
    ro.ril.fast.dormancy.timeout
    ro.ril.fd.scroff.timeout
    ro.ril.fd.scron.timeout
    ro.ril.gprsclass:
       [I] 2 : 3 slots : 8 - 12 kbps up / 16 - 24 kbps down
        4 : 4 slots : 8 - 12 kbps up/ 24 - 36 kbps down
        6 : 4 slots : 24 - 36 kbps up / 24 - 36 kbps down
        8 : 5 slots : 8 - 12 kbps up / 32 - 40 kbps down
       10 : 5 slots : 16 - 24 kbps up / 32 - 48 kbps down
       12 : 5 slots : 32 - 48 kbps up / 32 - 48 kbps down[/I]
    
    ro.ril.hsdpa.category (between 1 and 28)
    ro.ril.hsupa.category (between 1 and 7)
    ro.ril.hsxpa (0 - UMTS, 1 - HSDPA, 2 - HSDPA/HSUPA)
    ro.ril.htcmaskw1
    ro.ril.htcmaskw1.bitmask
    ro.ril.last.radio.fatal
    ro.ril.oem.ecclist (emergency call codes)
    ro.ril.oem.mosms.mode
    ro.ril.oem.nosim.ecclist (emergency call codes)
    ro.ril.oem.show.act
    ro.ril.pre.roam.id.list
    ro.ril.pre.roam.name.list
    ro.ril.qos.delivery.err.sdu
    ro.ril.qos.delivery.order
    ro.ril.qos.guarantee.dl
    ro.ril.qos.guarantee.ul
    ro.ril.qos.max.dl
    ro.ril.qos.max.sdu
    ro.ril.qos.max.ul
    ro.ril.qos.maxpdps
    ro.ril.qos.traffic.class
    ro.ril.qos.traffic.priority
    ro.ril.qos.transfer.delay
    ro.ril.radio.svn
    ro.ril.search.first.pnn
    ro.ril.set.mtu1472
    ro.ril.show.all.plmn
    ro.ril.tim.feature
    ro.ril.ucsq.mode
    ro.ril.update.acoustic.table
    ro.ril.vmail.%mcc
    ro.ril.wp.feature
    Informations collected from Cyanogenmod.com and extracted from libhtc_ril.so

    2011-09-15 - Add HTC-RIL 2.2.0143H packaged by kszaq
    2011-06-08 - Add HTC-RIL 2.2.0018G packaged by stony2k
    2011-05-10 - Add HTC-RIL 2.2.1003G packaged by System of a pWne!^
    2011-04-15 - Add HTC-RIL 2.2.0098HM from HTC Desire Z - Add info about Stock Rom i've used to extract packages
    2011-04-14 - Add HTC-RIL 2.2.0028HM extracted from HTC Desire GB leak
    2011-04-13 - Add HTC-RIL 2.2.0131HM from HTC Desire S (Tks to DomFel ;)), HTC-RIL 1.6.1062G & HTC-RIL 2.2.0014G
    2011-03-22 - Add HTC-RIL 2.2.0121HM from HTC Desire S & HTC-RIL 2.2.0035HM from HTC Desire Z
    2011-03-19 - Add all packages in Light Edition (all file, libs not directly related to RIL have been deleted)
    2011-02-21 - Add "HTC RIL Known Versions" part
    2011-02-19 - Add more infos about RIL & Update "Simple RIL Infos Displayer" (see attachment)
    2011-02-06 - Update of all packages (error on updater-script!) / Add HTC RIL version for each package and the way to retrieve it
    2011-01-22 - Add mirrors on Mediafire
    2011-01-21 - Add list of RIL settings on "build.prop"
    2011-01-20 - Packages updated with EDIFY scripting
    2011-01-19 - Links actived iot obtain feedback
    2011-01-09 - Add more informations about RIL
    2011-01-07 - Add 32.44.00.32U_5.09.05.30_2_RIL.zip
    2011-01-06 - Create the topic and add 32.47.00.32U_5.10.05.23_RIL.zip, 32.48.00.32U_5.11.05.14_RIL.zip & 32.49.00.32U_5.11.05.27_RIL.zip
    13
    Good results for use in ICS CM9 & AOKP roms from this RIL. Extracted from Desire Z and modded for ICS.
    5
    HTC-RIL_2.2.1003G in an installable form (in the recovery). I have only packaged the files provided by adwinp, I have modified zikyHD installer script (I have added a command to unmount the /system partition after all the operations are finished and more messages about what's happening) but I haven't installed them. I must emphasize what adwinp has said: the RIL should be used with the AOSP ROMs. If someone thinks the package should be withdrawn (copyright, ownership claims, misplaced file etc), just let me know.
    2
    Do you have the radio interface layer for 32.54.00.32U_5.14.05.17 ?
    Thanks.

    There are no change between RIL of 32.49.00.32U_5.11.05.27 & 32.54.00.32U_5.14.05.17 so you can flash 32.49.00.32U_5.11.05.27_RIL.zip
    2
    Yeah I know that part :p thanks for helping!

    Sent from my Desire HD using XDA Premium App

    No problem mate, my pleasure ;)

    Click thanks under my sig if you got time while flashing your rils :p

    Proudly swyped with my HTC DESIRE HD XDA App.