FORUMS
Remove All Ads from XDA

 View Poll Results: Which Radio do you usually use with you Rom?

32.54.00.32U_5.14.05.17
 
1,528 Vote(s)
55.08%
32.49.00.32U_5.11.05.27
 
604 Vote(s)
21.77%
32.48.00.32U_5.11.05.14
 
103 Vote(s)
3.71%
32.47.00.32U_5.10.05.23
 
153 Vote(s)
5.52%
32.44.00.32U_5.09.05.30_2
 
386 Vote(s)
13.91%

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

165 posts
Thanks Meter: 65
 
By zikyHD, Senior Member on 6th January 2011, 08:16 PM
Post Reply Email Thread
Quote:

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.



Unsolicited
The following snippet illustrates the interface for unsolicited commands:


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)
or dmesg>kernel_date.log (kernel log)
or logcat -b radio>/sdcard/radio_date.log (radio log)

These 3 log will be very useful
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:
    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

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

Quote:

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

Attached Files
File Type: apk RILInfos_1.1.apk - [Click for QR Code] (8.5 KB, 10164 views)
The Following 34 Users Say Thank You to zikyHD For This Useful Post: [ View ] Gift zikyHD Ad-Free
 
 
6th January 2011, 08:23 PM |#2  
Senior Member
Thanks Meter: 170
 
More
Do you have the radio interface layer for 32.54.00.32U_5.14.05.17 ?
Thanks.
6th January 2011, 08:31 PM |#3  
zikyHD's Avatar
OP Senior Member
Flag Paris
Thanks Meter: 65
 
More
Quote:
Originally Posted by 9600pro87

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
The Following 2 Users Say Thank You to zikyHD For This Useful Post: [ View ] Gift zikyHD Ad-Free
6th January 2011, 08:36 PM |#4  
Senior Member
Thanks Meter: 1
 
More
wow! seems so nice~try to flash now!
6th January 2011, 08:42 PM |#5  
Sylde's Avatar
Member
Thanks Meter: 14
 
More
So what is the gain between 32.49.00.32U_5.11.05.27_RIL & 32.54.00.32U_5.14.05.17 ?

What is the point of this "new" (I'm not familiar with it though) type of radio ?
6th January 2011, 08:51 PM |#6  
zikyHD's Avatar
OP Senior Member
Flag Paris
Thanks Meter: 65
 
More
Quote:
Originally Posted by Sylde

So what is the gain between 32.49.00.32U_5.11.05.27_RIL & 32.54.00.32U_5.14.05.17 ?

What is the point of this "new" (I'm not familiar with it though) type of radio ?

I don't know the updates between radio 32.49.00.32U_5.11.05.27 & 32.54.00.32U_5.14.05.17 but the RIL (Radio Interface Layer) is "just" like drivers for the ROM so differents radio could have the same RIL.

You could read some informations about RIL here

To be sure i made MD5 sum between extracted RIL of this 2 radio, all files are exactly identicals.
6th January 2011, 08:53 PM |#7  
Senior Member
Thanks Meter: 170
 
More
Quote:
Originally Posted by zikyHD

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

Ok, thanks.
6th January 2011, 09:02 PM |#8  
Sylde's Avatar
Member
Thanks Meter: 14
 
More
Ok I understand better what it is. I'll give a try on that.
6th January 2011, 09:14 PM |#9  
rikmer's Avatar
Senior Member
Thanks Meter: 20
 
More
Quote:
Originally Posted by zikyHD

A collection of extracted RIL for HTC Desire.

I have tested all these and confirm they all work.

Installation:

-flash the radio according to the instructions here

-just flash the correct *_RIL.zip from RECOVERY (all packages are signed)

Note:

-some radio update don't need to change the RIL!

*** Please report any problem! ***

32.49.00.32U_5.11.05.27_RIL.zip (works with 32.49.00.32U_5.11.05.27, 32.54.00.32U_5.14.05.17)

32.48.00.32U_5.11.05.14_RIL.zip (works with 32.48.00.32U_5.11.05.14)

32.47.00.32U_5.10.05.23_RIL.zip (works with 32.47.00.32U_5.10.05.23)

I think that I once read that RILs are only for stock ROMs. But as I can see you are using Oxygen and did try the RILs. So it is save to flash the RILs even if using Oxygen?
6th January 2011, 09:14 PM |#10  
squrl's Avatar
Senior Member
Flag Prague
Thanks Meter: 13
 
More
Is this usable with AOSP ROMs?
The Following User Says Thank You to squrl For This Useful Post: [ View ] Gift squrl Ad-Free
6th January 2011, 09:32 PM |#11  
zikyHD's Avatar
OP Senior Member
Flag Paris
Thanks Meter: 65
 
More
Quote:
Originally Posted by rikmer

I think that I once read that RILs are only for stock ROMs. But as I can see you are using Oxygen and did try the RILs. So it is save to flash the RILs even if using Oxygen?

the only difference i know between stock rom and custom rom about RIL:

on stock rom: you will find the RIL linked to the included radio.img
on custom rom: most of the time you will find the RIL of the radio.img recommended by the cooker

To answer your question, i flashed all these RIL on Oxygen and my phone is still alive
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes