yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] crapula512:
The ril goes to the /system so it wont be affected by a wipe, however if you flash a new rom it will get overwritten by the ril that comes with that rom. you should flash it again if you want to keep it.
[Desire Android Development] bluelavender:
It depends on the ROM.

for example, Leedroid 2.3c already contains RIL for latest radio. So if you install this ROM and already have the latest radio, you won't need to flash the RIL.

However, if you use the other ROM which has different RIL from the radio you are using, you might need to flash the RIL

BL
[Desire Android Development] torwag:
I can only repeat myself over and over again.

Every rom will result in a bunch of happy and unhappy people until the devs realise that

The radio firmeware image

The ril files esp. libhtc_ril

And certain settings in build.prop need to be set correctly for certain carriers.

At the moment nobody knows what's inside the roms and it works great for certain carriers and totally fails for others.

What is needed is the collection of those differences of all carriers and a script which installs the correct files, download the correct radio image, flash it and makes the needed changes in build.prop right after ( or during) the rom is installed.

Otherwise all rom threads will be clogged with people screaming about bad battery life and other which praise the exact same rom, with the same kernel and on the same device, for the best battery life ever.

If you don't belive me check some libhtc_ril with a hex editor and search for differences. You will notice some have method names which others don't have. Check the corresponding build.prop and you will find ril. flags set to exactly this methods.
[Desire Android Development] Alex-V:
Thanks for this :)

with kind regards..:ALex
[Desire Android Development] StuMcBill:
I seem to remember reading that you couldn't update RIL on AOSP roms (or Sense Roms - one of the two :S ).

Is this true? I was thinking about trying to update mine but I am running Oxygen 2.0 RC6 (AOSP - Gingerbread).

Thanks

Stu
[Desire Android Development] MATRIKS:
How can I instal RIL on stock unrooted Desire please anyone
[Desire Android Development] crapula512:
you can't. (and it doesn't makes any sense anyway)
[Desire Android Development] senis1:
How to check RIL version in my Desire?

Does RIL affect only GSM or also Bluetooth communication?
[Desire Android Development] virus2013:
I'm using an hd rom for the moment. Can I also flash those RIL ?

HTC Desire

S-off'ed and rooted

Radio 5.11.05.27

RCMixHD v0.14

Sent from XDA app
[Desire Android Development] Beaverman20:
i might be a complete moron, but what is the diffrence between the normal radios and the RIL?
[Desire Android Development] xavierjohn22:
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
[Desire Android Development] shawe_ewahs:
Sylde, there is no differencies between if Koush are compiling or not the latest version of her recovery, Koush put the full source code on github and if you want you can download it and compile it using here explaination on her website.

I translate CWM 2.5.1.8 completely to Spanish with no problems and compile it, and is the same version used by AlphaRev for do S-OFF.
[Desire Android Development] xavierjohn22:
I think this is meant for the new Clockwork Mod recovery post.
[Desire Android Development] morcus:
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 :)
[Desire Android Development] chenzhibiao:
nice man！good job！
[Desire Android Development] zikyHD:
I think it's not possible or very difficult to implement...if someone could, i think you should offer lots of vodka! :D
[Desire Android Development] zikyHD:
I will add more informations on 1st post today! ;-)
[Desire Android Development] xavierjohn22:
Thank you, that is great.
[Desire Android Development] senis1:
Is it possible to check what RIL version flashed in the phone?
[Desire Android Development] JohnForte:
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!
[Desire Android Development] xavierjohn22:
Go back to your default RIL.
[Desire Android Development] JohnForte:
a bit ashamed, but how can i do this?
[Desire Android Development] rootrider:
Just reflash your rom.
[Desire Android Development] JohnForte:
thanks!!! everything works again!

you are my hero ;)
[Desire Android Development] virus2013:
Nobody knows if those RIL can be used with HD roms like RCMixHD?

HTC Desire

S-off'ed and rooted

Radio 5.11.05.27

RCMixHD v0.14

Sent from XDA app
[Desire Android Development] danielh1018:
Does anyone test 32.48.00.32U_5.10.05.30 ?

I tested and it's better than 32.49.00.32U_5.11.05.27.
[Desire Android Development] hongkongtom:
great job and this post should be stuck at the top of the forum. :)
[Desire Android Development] Alex-V:
Can be used :)

with kind regards..Alex
[Desire Android Development] sc00bs:
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
[Desire Android Development] zikyHD:
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!
[Desire Android Development] Alex-V:
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
[Desire Android Development] Nitin985:
Why do I need a ril can't I just flash the radio like I normally do I have no problems like that
[Desire Android Development] enermaxhtc:
For days that do not work RIL download links can be downloaded from another site?
[Desire Android Development] worstenbrood:
http://www.wuala.com/HTC_Desire/Radio?lang=en
[Desire Android Development] hongkongtom:
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.
[Desire Android Development] enermaxhtc:
What I wanted to download, RIL is the (32.44.00.32U_5.09.05.30_2_RIL) and the link you put, there's only radio
[Desire Android Development] georgemv:
Has anybody seen this error in RIL log after flashing the latest RIL?

Makes manual network selection non usable.

ROM is cyanogenmod 6.1.1

D/RILJ ( 366): [0133]> QUERY_AVAILABLE_NETWORKS
D/HTC_RIL ( 217): ril_func_get_avail_networks():called
D/HTC_RIL ( 217): (t=1294755504)>> AT+COPS=?\r
D/HTC_RIL ( 217): RX::> +COPS: (2,"Vodafone","GR VODA","20205",0),(3,"COSMOTE","COSMOTE","20201",0),(3,"STET HELLAS","GR TELES","20210",0),(3,"COSMOTE",
D/HTC_RIL ( 217): RX::> "COSMOTE","20201",2),,(0,1,2,3,4),(0,1,2)\r\n0\r
D/HTC_RIL ( 217): (t=1294755521)<< +COPS: (2,"Vodafone","GR VODA","20205",0),(3,"COSMOTE","COSMOTE","20201",0),(3,"STET HELLAS","GR TELES","20210",0),(3,"COSMOTE","COSMOTE","20201",2),,(0,1,2,3,4),(0,1,2)\r\n0\r
W/RILJ ( 366): [0133]< QUERY_AVAILABLE_NETWORKS exception, possible invalid RIL response
W/RILJ ( 366): java.lang.RuntimeException: RIL_REQUEST_QUERY_AVAILABLE_NETWORKS: invalid response. Got 15 strings, expected multible of 4
W/RILJ ( 366):	at com.android.internal.telephony.RIL.responseNetworkInfos(RIL.java:2895)
W/RILJ ( 366):	at com.android.internal.telephony.RIL.processSolicited(RIL.java:2141)
W/RILJ ( 366):	at com.android.internal.telephony.RIL.processResponse(RIL.java:2045)
W/RILJ ( 366):	at com.android.internal.telephony.RIL.access$300(RIL.java:207)
W/RILJ ( 366):	at com.android.internal.telephony.RIL$RILReceiver.run(RIL.java:537)
W/RILJ ( 366):	at java.lang.Thread.run(Thread.java:1096)
D/HTC_RIL ( 217): RX::> +CREG: 1,"0029","00005CBE"\r\n
[Desire Android Development] EViollet:
With WiFi Off, screen Off, 3G off, I get 0.5% per hour (very handy at night!) :)

Really excellent radio.
[Desire Android Development] EViollet:
Same problem here on DeFrost 6.1.

Can't manually select the network.
[Desire Android Development] Nitin985:
Any answer please
[Desire Android Development] io53:
Flashed the latest RIL on oxygen rc5 with latest radio and it works like a charm :)
[Desire Android Development] karloe:
<flame mode disabled>

You don't need a corresponding RIL, but it might improve the behaviour of the "radio" .

It will not hurt your br**n if you do some research yourself, you had more than 24 hours for the bump.. :eek:
[Desire Android Development] JoaoVr:
Download links still down, still bugged?
[Desire Android Development] TheGhost1233:
As long as you don't have the ability to read the first post all your downloading privilege have been revoked.
[Desire Android Development] ElberethZ:
Just flashed the latest radio with the latest RIL over Oxygen 2.0-RC6 (with latest Thalamus SVS kernel see signature). Everything is working fine (no problem of connectivity after screen off).

I must say this radio is much better for my reception levels than the recommended ROM of Oxygen. :)
[Desire Android Development] Nitin985:
Sorry but thanks for the quick reply
[Desire Android Development] juicebox666:
Live RIL links

Since the download links for RILs are down, I googled around to find active links.

http://www.miui-au.com/faq/radios-radios-radios/

This link has radios and corresponding RILs.
[Desire Android Development] crapula512:
well done, i see no point in removing the links to things like these in a developer forum.
[Desire Android Development] juicebox666:
Not sure either. I'm sure there was a reason.
[Desire Android Development] bemymonkey:
Hi everyone, I've just read this thread with great interest... however, I've noticed only negative feedback ("Broke my radio, no reception, dog died because of RIL flash!"). The answers to questions like "What are RILs good for? Why should I flash them?" have always been things like "They could improve radio performance/stability/reliability."...

Has anyone who flashed these things actually gotten a confirmed advantage? Dramatic differences anywhere?

BTW, just tried to flash the latest RIL, and it looks like it's incompatible with AmonRA 2.x

E: Wrong digest: system/lib/libhtc_ril.so

E: Verification failed

Installation aborted.
[Desire Android Development] beartiger:
Hi,

I am using the Orange UK Radio 32.48.00.32U_5.10.05.30. Can you tell me if this uses the same RIL as another radio and whether it is any of those in the opening message of this thread (or elsewhere within it)

Many thanks

David P
[Desire Android Development] cv1ekas:
Flashed the latest RIL on rcmixhd 0.15 D2Ext with latest radio and everything works fine,2g-3g data connection,wifi, bluetooth,made some calls, no problems at all
[Desire Android Development] suiller:
please use the "current" way to make the zip installation scripts... or we have to stay with older recovery versions :rolleyes:
[Desire Android Development] randomelements:
I would expect 32.48.00.32U_5.11.05.14 to be the most suitable
[Desire Android Development] beartiger:
Cheers :)

10char
[Desire Android Development] zikyHD:
Promise i will do it as soon as i have time to do it! ;-)

Work in progress...

[EDIT] Done!
[Desire Android Development] zikyHD:
Problem solved!
[Desire Android Development] bakedecake:
I have never flashed a new ril, my desire was orange branded when I got it in March last year. Now it is s-off, rooted with CM7, nothing has ever happened that made me think oh I need to flash the new ril.
[Desire Android Development] zikyHD:
The purpose of these packages is to provide a "better" communication between your rom and the version of radio you could use. I spend time to learn about RIL, to extract & test packages but they should be improved with your reports and observations because i can't sadly test all rom. I will soon made some changes to try to offer a better experience on gingerbread rom.
[Desire Android Development] bemymonkey:
That's the thing though - you say "better" instead of better... are there really noticable differences? Or is it all just voodoo? ;)
[Desire Android Development] crapula512:
well, think of it like upgrading your graphics card drivers. do you get any noticeable difference? maybe 200 points in 3dmark, but you wont feel it while playing games.

this can be more or less the same, do whatever you wont.

i use to update my drivers.
[Desire Android Development] gapone:
I'm using cm7 build7 and I updated the radio to the latest version. All is ok but when I update the ril to the "right" one... After mobile network changing from 2g to 3g, data connection is lost and doesn't come back if switch back to 2g. I think this ril is for china mobile networks and doesn't work in finland.
[Desire Android Development] zikyHD:
I wrote "better" because of problems some people encounter! You should combine ril with settings on your build.prop to really see differences.
[Desire Android Development] zikyHD:
Could you send me radio & main log ?
[Desire Android Development] zikyHD:
:confused: my package is extracted from the HTC WWE! So i think it's not for china mobile networks...but i will check it
[Desire Android Development] nachtschicht:
Thank you for this very useful thread and all your work!
[Desire Android Development] slyn4ice:
Hey,

Dropbox is giving me an error when i try to get 32.44.00.32U_5.09.05.30_2_RIL.zip.
[Desire Android Development] zikyHD:
All links are ok but i've already seen this error so i've added mirror on mediafire for each package on post #1! ;)
[Desire Android Development] Oijkn:
Hi, thanks for your work and for me dropbox don't work too but i found your file in another forum ^^ i'm using 32.44.00.32U_5.09.05.30_2_RIL.zip in my HTC Desire.

For people who want the file ==> http://rapidshare.com/files/430875529/32.49.00.32U_5.11.05.27_RIL.zip
[Desire Android Development] technologylover:
I installed the RIL for the 32.54.00.32U_5.14.05.17 radio at my HTC Desire running cyanogen mod 7 and it worked flawlessly. Thank you very much and keep up the good work :D
[Desire Android Development] JoeSixAtPack:
Installed the same but mobile data connection was lost as soon as the screen switched off:

I/power ( 218): *** set_screen_state 0
I/GPSButton( 293): Update State
I/DEBUG ( 164): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 164): Build fingerprint: 'htc_wwe/htc_bravo/bravo/bravo:2.2/FRF91/226611:user/release-keys'
I/DEBUG ( 164): pid: 165, tid: 194 >>> /system/bin/rild <<<
I/DEBUG ( 164): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000004
I/DEBUG ( 164): r0 100ffb34 r1 00000001 r2 000000ff r3 00000000
I/DEBUG ( 164): r4 000000ff r5 afd41504 r6 00000000 r7 100ffb34
I/DEBUG ( 164): r8 000000ff r9 0000ad58 10 00000001 fp 100ffd7c
I/DEBUG ( 164): ip 8037d96c sp 100ffa88 lr 80358b11 pc afd18b40 cpsr 20000030
I/DEBUG ( 164): d0 656c6c61633a2901 d1 696669746f6e5f00

After re-flashing CM7#12 without the RIL problem is gone :confused:
[Desire Android Development] Carceri:
I have a similar problem. Often when I switch the screen off, /system/bin/rild gives a segmentation fault with the latest radio + RIL. The result is that I need to reboot the phone (or restart rild) in order to get on the network again. This only happens while I'm roaming, and has never happened on my home network. Furthermore it does not happen every time, but quite often.

The radio itself seems to work fine with the original drivers from the RIL that is included in the ROM I'm using (Oxygen RC7).

Anyway, I'm back to 32.44 with the RIL included in Oxygen, although the 32.54 radio seemed to give a better signal.
[Desire Android Development] rikmer:
Same for me. But as my homenetwork is a daughter network of a bigger provider I always have to roam. So i think all people who do have problems with connection loss are using some kind of roamed connection. Even if they, in person, don't know it.

It would be interesting if there are settings in the build.props or somewhere where one could somehow effect the roaming behavior.
[Desire Android Development] Carceri:
I think the problem is clearly a bug in rild. No matter what, it shouldn't be able to crash due to some unexpected configuration between turning off the screen while roaming.

However, there isn't really any bugtracker or other place where we can report problems with rild. At least nok to my knowledge.
[Desire Android Development] andQlimax:
Those RILs, are not fully compatible with Gingerbread..And there is no need to update RIL in AOSP roms

Just flash the new radio and u are ok..If u already flashed the RIL, reflash the rom and u are ok
[Desire Android Development] Carceri:
Thanks! I didn't know that.
[Desire Android Development] trinity1:
Probably I missed something, because after installing the latest radio my connection was lost. So I restored my nandroid backup and the problem was still there. Even after reflashing the rom itself I still miss internet connection.... I'm with leedroid 2.3d.

Any suggestions? I really miss internet on my desire :(
[Desire Android Development] andQlimax:
Did u tried wipe cache and dalvik-cache and reboot?

Are u sure is not a problem of ur operator? If u restored ur backup, and restored the radio..it should work as before..
[Desire Android Development] trinity1:
of course I tried. It was my first attempt.

Anyway, just a few minutes ago I solved the problem, in the a easy way.

I had exctracted the sd to copy alla data and then to format it, when I decided to put it again into the phone.

Once rebooted the phone, everything was okay!!

Avoided a full format-reflash!!

Wow :D
[Desire Android Development] siedkins:
A couple of questions:

- any chance of getting your Drop Box user name so that I can link there from my drop box account and download straight to my handset using the drop box app?

- also should you flash the RIL straight after flashing the radio i.e. before reboot?

EDIT - so you have to reboot to flash the radio - so once rebooted - go back into Recovery and flash RIL?

EDIT 2 - so if you select flash radio then you have to select reboot for it to work but then it reboots back into the Recovery image. Then select to flash the RIL and then reboot the phone fully.

Maybe add these lines to the top page on flashing radio and RIL?

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. Select flash from SD card - select RIL

7. Reboot once that has flashed and cross your fingers !!!
[Desire Android Development] MeX_DK:
is there some way where I can see what RIL I have installed?
[Desire Android Development] erklat:
I would be pretty much interested in finding this out, too.
[Desire Android Development] zikyHD:
I've added the information on post #1! ;)
[Desire Android Development] DomFel:
Had HTC-RIL 1.6 on latest MIUI 1.2.4 rom with 32.49.00.32U_5.11.05.27 radio.

Just flashed the HTC 2.2 RIL.
[Desire Android Development] rikmer:
Could you explain why there is no need to update the RIL in AOSP roms?
[Desire Android Development] zikyHD:
I've just added a tiny app on post #1 to see RIL version. It's officially my first app! :P
[Desire Android Development] mightykenneth:
oops sorry
[Desire Android Development] duuri:
So how is it? Should i update ril on aosp rom ( oxygen 2.0) or it's not necessary? Btw i have ril HTC-RIL 1.6.1062G (Apr 23 2010,17:35:06)
[Desire Android Development] zikyHD:
In my experience, there is no problems to update ril files on aosp rom (i'm using oxygen rc7...) and it seems there is a better management of network connections and battery but it's only my impression... I share packages to have more feedbacks!
[Desire Android Development] duuri:
after update i'm loosing signal.. only restart helps..
[Desire Android Development] zikyHD:
How do you apply update? After the first restart you couldnt connect your phone? Please give me your radio version & the rom you use iot reproduce the problem.
[Desire Android Development] duuri:
I applied it from recovery (2.5.0.7) my rom is oxygen 2.0 latest test build ( http://xdaforums.com/showpost.php?p=11156514&postcount=17781 ) and radio is 32.54.00.32U_5.14.05.17 ..

after update i got signal for few minutes and then it disconnects from network.. i got signal only after restart but it was the same after few minutes..tried it several times.. :(
[Desire Android Development] colonia27:
Possible that it only disconnects when screen goes off? And does not reconnect when you switch on screen? Had the same issue here and could only solve it by reflashing the oxygen-recommended radio or restore my nand.
[Desire Android Development] duuri:
don't know when it's disconnects.. i restored my rom back i can't reproduce
[Desire Android Development] zikyHD:
I've just tried to reproduce "unsuccessfully" your problem:

- full wipe (amon ra recovery 2.0.1)

- flash oxygen test version

- reboot

- reboot on recovery

- flash ril

- reboot

=> connections 2g/3g ok (multiple screen off/on, wait few minutes)

- set wifi connections

=> connections wifi ok (multiple screen off/on, wait few minutes)

=> i couldnt reproduce your disconnection...

Have you install or modify something? Do i miss a step?
[Desire Android Development] duuri:
nothing i'm avare off..
[Desire Android Development] zikyHD:
Could you send me a main logcat and a "logcat -b radio" when the problem occurs?
[Desire Android Development] duuri:
i don't know how to do that:(
[Desire Android Development] Acidmax:
I have the same problems. I get no signal at all especially when screen is off. Try to flash again but no success. There is definitely a problem with these ril don't update just yet!

Radio one before latest. Oxygen RC7. Straight flash and reboot, lose signal after screen off. Reception comes back but doesn't always actually work!
[Desire Android Development] zikyHD:
When you say no signal, it's for data connection or you can't receive call when your screen is off? Sometime, i could see my data connection was on sleep mode when i switch on the screen but it's only when it isnt used and it restarts asap i use it. I think it slows down the battery discharge.

So you could test to call your phone and to download something on the market when screen is off to be sure your signal is definitely lost.

How long do you wait to recover your signal after screen off/on? What tests did you do to observe your disconnection?
[Desire Android Development] zikyHD:
With connectbot:

Su

Logcat -b radio>/sdcard/radio.log
[Desire Android Development] Acidmax:
Logcat before i wipe and reinstall everything :( :( :(

Reflashing the radio didn't work.
[Desire Android Development] rikmer:
I think that all new RILs have problems if you are in a roaming network.