yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] LordNerevar:
Sorry, I meant build 4 was my favorite build of SuperXE. It was perfect except for the PMEM video glitching. Build 5 and on have battery drain issues for me. I'm assuming it's due to the new base where google services takes over the phone or possibly the newer kernel used on those builds. Anyways, I'm still in search of the perfect ROM. :)
[HTC Sensation] Noobel:
Of course, flash HTC-RIL_4.0.0037HMQ_AOSP

Generally both 4.0.0024HMQ and 4.0.0037HMQ will work with any radio provided in 3.32-3.33 firmwares. But radio/ril matching is generally advised.

For more info check pretty detailed stempox's thread
[HTC Sensation] chamchoui:
its work flawlessly..foot's thumbs up ///good work then
[HTC Sensation] volarchico:
Sorry for the "dumb question", but hopefully someone can explain: I'm using the 76A radio and Albinoman's ROM without any modifications and don't have any issues currently. What is this "fix" supposed to do?
[HTC Sensation] albinoman887:
wheres the download for the latest zip. it brought me to some page with links to gapps etc for sensation/sensation xe
[HTC Sensation] lovendsuicide:
Both zips are attached, just downloaded the .37 ril and it's working fine.

---------- Post added at 05:00 PM ---------- Previous post was at 04:57 PM ----------

It only fixes the search for networks error that happened with aosp/cm roms. If you don't need that fix you can just flash the ril you want to match the latest radio.
[HTC Sensation] XxXPachaXxX:
I replied you in the cm10.1 thread. As i said users can directly flash rils pack from radio/ril thread (tnx stempox)
[HTC Sensation] Greight:
Does this fix this problem?
[HTC Sensation] Noobel:
That's not exactly true. If users will flash directly from stempox thread they'll end up with dead network connection!

They have to update libhtc_ril.so only to update RIL and libril.so from cile's 4.2.2b4 rom to fix network scanning.

For instance GetRIL updates only libhtc_ril.so

stempox's libril.so seemed to be designed for Sense and do not work on AOSP...

just click the file in the Attached Files Box in he very first post :cool:

Never had this problem, I cannot comment, please try yourself and let us know

:cowboy:
[HTC Sensation] BeriBGood:
Worked like a charm!

Should be in the op of every "broken" Rom (or included in every Rom).

Thanks a bunch.
[HTC Sensation] XxXPachaXxX:
I've no problem flashing the stock ril packs from stempox thread. i've Always flashed it on every rom, never problems. Only the ril .37 give me problems sending mms (the baseband restarts when sending mms). I've Always used .36, on all roms.
[HTC Sensation] wuerzet:
Noob Q. How to check if i got latest fw, radio, ril without ADB ?
[HTC Sensation] Noobel:
That's impossible!

Just flashed HTC-RIL_4.0.0037HMQ.zip from stempox thread on Albinoman's CM10.1 - no network! libril.so is obviously incompatible. Exact same story with HTC-RIL_4.0.0036HMQ.zip

:cool:
[HTC Sensation] XxXPachaXxX:
So are you saying i'm a liar? LOL :) really, i don't know about .37 ril, but when i flash .36 on an aosp rom, it works for me.

If you provide me an "AOSP .36 ril pack" i will look at it and compare with mine. If there are a problem i will edit the lib.
[HTC Sensation] Noobel:
Surely not a liar a "confuser" probably :laugh:.

Download HTC-RIL_4.0.0037HMQ_AOSP.zip from 1st post and extract libril.so - that's the file to examine, cause it varies from ROM to ROM and contains crucial info about how ROM communicates with RIL (I guess).

libhtc_ril.so (actual RIL) is the same for Sense and AOSP, in fact there is no such a thing as Sense RIL or AOSP RIL, it's all about libril.so file.

:cowboy:
[HTC Sensation] XxXPachaXxX:
i know :) but as i know libril.so can interface good with other libs in sense roms and aosp also.

I'm not a confuser ;) i know what i say. Do you doubt?

---------- Post added at 12:26 PM ---------- Previous post was at 12:21 PM ----------

The libril.so in your zip isn't from htc. It's compiled by someone with gcc 4.6 (compiled with an aosp rom (?))
[HTC Sensation] Noobel:
No doubt in your qualification for sure, mate! :good:

Just confused how do you manage to flash stempox's RILs on AOSP without losing network. I particular on Albinoman's CM10.1

It just doesn't work without prior modifications.

Nevermind. I just hope you'll be interested in making ION kernel for AOSP ROMs once Sebastian releases the code. ;)

It's from cile's AOSP 4.2.2 build 4 and yes it's definitely a modified one. So are the rest of libril.so in all AOSP based ROMs they differ in each ROM even with each build (didn't check Sense ROMs yet).
[HTC Sensation] ximmox:
Dear Pacha, as Noobel said, nobody doubts your statements. ;)

But I can confirm that flashing the RILs from stempox's thread lead to disconnected data on AOSP Roms, so Noobel is far from the only one experiencing this issue.

Thanks to both of you this seems fixed now, I'll monitor closely over the following days if the "new" ...37 RIL works better on my phone than the old ...24. :good:
[HTC Sensation] Greight:
Tested. Obviously does not fix this problem.
[HTC Sensation] XxXPachaXxX:
The strange thing it that i can flash rils package without losing baseband functionality. And .37 doesn't work good for me :laugh:

"not all chips are made equally" (cit. Faux) LOL

For kernel, i'm also porting 3.4 kernel, and it will be not a problem to make an AOSP version :)
[HTC Sensation] Turwaithion:
Noobel

Great work !

Could you possibly make a a .36 RIL for Albinomans CM10.1 also ?

I am also experiencing MMS issues when using .37 RIL(can send but not recieve since it seems the baseband is stock in bootloop) and also loose network when flashing .36 from stempox thread.

In the "original" RIL .24 in Albinomans I was not able to send/recieve MMS at all (unless wifi was enabled)
[HTC Sensation] Noobel:
Sure, check the OP ;)
[HTC Sensation] gauravmajithia:
Just updated my RIL and saw network did not appear... After i flashed this FIX...zooooppppp... magic... superb job. Great fix...

Cheers!!!
[HTC Sensation] Turwaithion:
Sadly for me .36 had same effect as .24 Only .37 made me able to send but not recieve mms.

This is a hard nut to crack - since back when using Bruces CM10 with .24 RIL there was no issue with MMS in Denmark

I stand corrected - neither .36 or .37 lets me either send or recieve mms unless I'm on wifi.

But thanks for the .30 anyway :)
[HTC Sensation] Noobel:
It just needs someone with sufficient skills, free time and will to fix this thing in the ROM.

Did you try other AOSP 4.2.2 based ROMs? Do they have the same MMS issue?

Try cile's pure AOSP or Dragünkorr version of CM10.1 if you'd like too and report your experience.
[HTC Sensation] Turwaithion:
No I haven't tried them - but i will this weekend :) How are the compared to Albinomans 4.2.2 in other aspects ? Do they also have static in the beginning of audio in video recordings ?
[HTC Sensation] Noobel:
Well, you tell us... ;)
[HTC Sensation] HTCZ715E:
hello!

what about .56 RIL ? is it better?
[HTC Sensation] Noobel:
Where did you get that version? ViperS 3.0.2 I assume...

Sebastian's Revelation is .63 and it's not working with current AOSP ROMs.

Probably .56 won't too.
[HTC Sensation] HTCZ715E:
ARHD maybe..

btw, ARHD 7 is only ROM which does not have WiFi country & other problem!! (and no WiFix require)

can ARHD authors open they secrets?! maybe if meny of us ask ?!
[HTC Sensation] XxXPachaXxX:
You are right :) libril.so is rom related, libhtc_ril.so is the only lib to change. However if an updated libril.so + rild daemon are working, it's better :)

There are Ril version 4.0.0063, try it on aosp:

http://d-h.st/RwG
[HTC Sensation] topgeardave:
Anyone managed to get this working on Bruces CM10? I'm currently on 3.32 fw and I don't want to go on 3.33 as it's not very friendly with 3UK in terms of coverage :/

I've tried all 3 files and I lose baseband :/

Kind Regards

Dave
[HTC Sensation] Noobel:
I've already tried it (from Sebastian's Revelation ROM) and it's not working with AOSP.

Strange, it supposed to work... Anyways before I test it myself you can revert to the original Bruce's RIL by flashing HTC-RIL_4.0.0024HMQ_CM10_Bruce.zip or try this HTC-RIL_4.0.0037HMQ_CM10_Bruce.zip it will only update the RIL without Network scan fix. It should work.

Updating firmware is optional and not an absolute necessity.

I suggest you also check the matching firmware for your radio version and let me know, I'll do a flashable zip for ya.

:cowboy:
[HTC Sensation] Noobel:
Well obviously ViperS 3.0.2 uses the same RIL .63 as the Revelation.

ARHD 7.3 just like stock and many other Sense ROMs uses .37. Only T-Mobile ARHD is using .24 for a reason.

So .56 is mystery to me. Could you extract and attach it to you post here? It's located ROM.zip\system\lib\libhtc_ril.so
[HTC Sensation] HTCZ715E:
yep, I wrote "maybe"..

now, this .56 is in Inspiration 1.0.1 ROM.

(unfortunately, Inspiration also requires WiFi-Fix)
[HTC Sensation] topgeardave:
I made my own update.zip by extracting the three files from the original ROM. But thanks anyway. I managed to get it to work by just replacing the libril.so file through aroma file manager! Kudos to you for the find :D

Kind Regards

Dave
[HTC Sensation] Noobel:
Oh, I forgot about this one. You're right it's Inspiration and it's .56 and the nice part - it works with AOSP. Feel free to test it. (in op) :good:

Great!

Btw give a try to new RIL .56 (in op)
[HTC Sensation] XxXPachaXxX:
I'm trying it on sense ics. I've used rild bin, libril.so, libhtc_ril.so and libhtc_rilhook.so

Until now it works perfectly :)
[HTC Sensation] Noobel:
No wonder, Inspiration is still an ICS ROM so it should be ok ;)

What about troubles you had with .37 are they solved with .56?
[HTC Sensation] XxXPachaXxX:
Yes! the only problem with .37 was on sending mms, the baseband crash and the rils restarts. Now solved, this ril is going very well. Good signal strength, i will report results of battery life after a day or 2 of usage.

Thanks for the share :)
[HTC Sensation] ems328i:
.37 working fine with Frankinstine's 4.2.2 AOKP rom, thanks very much!
[HTC Sensation] citizeninsane89:
Where can I get the. 56 RIL?
[HTC Sensation] Noobel:
from 1st post ;)
[HTC Sensation] citizeninsane89:
Thank You.

Derp moment
[HTC Sensation] johnnyham89:
Just looking to see if anyone has any recommendations. I'm using Bruce's latest AOSP ROM with the

11.76C.3504.00P_11.29A.3504.18_M

radio and I'm on the US T-Mobile network. What RIL would you all recommend?
[HTC Sensation] Noobel:
I didn't test my RILs with Bruce's ROM so I can't ensure anything + topgeardave reported incompatibility of my RILs with his installation of Bruce's ROM already. You can try to confirm or refute incompatibility by installing RIL .56 from 1st post. It may not work just like all files in 1st post. If so just flash .37 from this post.

To revert to original Bruce RIL flash .24 from the same post.

Since you're T-Mob I cannot insure that you won't have any issues with T-Mobs network. All I know is that ARHD for T-Mob comes with RIL .24 on purpose. And that's the RIL built in Bruce's ROM.
[HTC Sensation] widiril:
I've tried flashing a couple of these RILs, and whilst they give me signal, it still says no service and I cannot use data. Anyone got any ideas? This is for o2 UK on albinoman887's CM10.1. I'm S-On or I'd try flashing some radios, does anyone think that that would help?
[HTC Sensation] Noobel:
Make yourself a favor - gain S-OFF! :cool:

Afterwards get back to 1st post: install firmware with radio then flash ril .56 from recovery and you should be fine.
[HTC Sensation] jyo1:
Updated firmware and flashed .56 on albinoman's cm10.1 and it works perfect. Now i can see all the available networks in my area. Thanks :)
[HTC Sensation] widiril:
I've got S-Off, installed the firmware, and flashed the RIL, it's still not working properly. When I boot the phone, it shows no signal, then I go into settings and manually search, it shows networks (it doesn't without the RIL flash), and either press choose automatically or my network (O2-UK). It registers on the network, and the phone shows full signal, but it still says no service, and I cannot access data (either 2G or 3G). There are no saves APNs in the phone, and it won't save an APN. When I try and restore it from the sim, it doesn't save, and when I enter the details manually it doesn't save. Any advice?
[HTC Sensation] Noobel:
Oh, that looks very much like a ROM trouble. Try going to settings where all apns are and click reset to defaults. Probably you'll have to reboot afterwards. If that helps - great if not I guess you should do a clean flash.

Just do a nandroid of current ROM and do a test-flash of CM10.1 ROM. If it's still not working check if you have a good antenna connection (contacts on a back plate) and check sim card contacts too.
[HTC Sensation] widiril:
This is completely clean, and I've reflashed it (and redownloaded it) several times. I had full signal on Stock ICS (only got the phone yesterday). I had a search through this thread and it seems some other people had issues on o2 as well, and their problems were solved with a new sim, but my sim is new.

edit: I've done the APN thing several times too.
[HTC Sensation] TheWall-[ITA]:
Maybe a stupid thought, but creating APNs caused 2 days of headhaches to me in the past.

When you create an APN and you're done with your settings, you must press the MENU button and tap on "Save". If you press the BACK button, it will simply ignore your new APN!

Maybe you're smarter than me and you already tried that, but I hope to be helpful ;)
[HTC Sensation] widiril:
Haha no, I did do that a couple of times then realised my mistake, so that's not the issue, cheers though!
[HTC Sensation] Noobel:
Donno really what's the matter here. Why don't you try some other sim from different operator just to see how it works?

Maybe it's indeed a sim problem.
[HTC Sensation] widiril:
Okay, I've just tried a Vodafone sim and it worked. But I've also tried flashing CM10 and my o2 sim worked in that, so maybe it's a configuration error?
[HTC Sensation] Noobel:
Yes, it's something messy with CM10.1 ROM config. It's not a rock solid ROM in many aspects. Btw you can try Dragünkorr's CM10.1 maybe it will work with your sim.

Oh, did you try flashing .56 RIL with your CM10? Did it work?
[HTC Sensation] widiril:
Downloading that now, cheers. I didn't try any different RILs with CM10, it worked straight away when I flashed it. I tried extracting the CM10 RILs and flashing them on CM10.1 though, that worked with the Vodafone sim but not the o2.

Edit: Dragünkorr's CM10.1 did not work either, just gonna wait until CM10.1 has stable RIL, cheers for the help anyway guys.
[HTC Sensation] MisterPlus:
Hey hoo..

I got a question!

Can I flash HTC-RIL_4.0.0024HMQ_AOSP.zip without any problems??

I am S-On but htc dev unlocked... maybe I can flash this with smartflash option on 4ext? and then cm10.1 by albinoman?
[HTC Sensation] LordNerevar:
That should be fine but you'll want to flash it after the ROM (not before).
[HTC Sensation] jdb78:
Thank you so much for this fix! 056 didn't work here but 37 does. I use German Telekom and the latest build of Alnino's ROM on a Sensation.

So happy :)

Edit: don't know if it's my imagination only but reception seems to be better, too.
[HTC Sensation] gjunky:
I am on Albinoman's July 4th ROM and just downloaded the zip and installed it from recovery but I still get the network scan error. I am on T-Mo US

Anything I might have done wrong / is there some way to check if this installed?

S-Off

HBoot: 1.27.1100

Radio: 11.22.3504.07_m
[HTC Sensation] ximmox:
Funny thing is, 056 seems to work as good as 037 for me on the same (?) setup: Latest albinoman's ROM and Deutsche Telekom as carrier (congstar, but the network is identical).
[HTC Sensation] Noobel:
That's strange 56 should work just like 37. Try to flash firmware+radio and then install 56 once again. (gjunky, your phone must be s-off)

Note: you should install ril after each rom update!
[HTC Sensation] r#ch:
.37 working great :)

.56 works too, testing it now ;)

t-mobile Germany (Deutsche Telekom). (using congstar, too :p)

thanks for the .zips Noobel:)

//look at my signature for further details of my setup
[HTC Sensation] gjunky:
I installed the RIL after the 4th ROM update and I am S-Off. This seems to work for other people on Albinoman's ROM. Is there a way I can check that this installed correctly.

I am:

S-Off

HBoot: 1.27.1100

Radio: 11.22.3504.07_m

Thanks!
[HTC Sensation] Far_SighT:
Hi I am on vipers 3.1.0 latest ril. But after I gained soff my radio is 11.24.smthn and hboot 1.27.

So if I flash the latest firmware and radio files does it affect my Rom or anything that I shold know about? This will be my first firmware flash.
[HTC Sensation] kamilmirza:
what if i only want to flash the latest radio (i.e 11.76C.3504.00P_11.29A.3504.18_M)?

any guidance?

S-OFF

HBOOT 1.27

EDIT: please ignore

flashed the latest radio thanks :)
[HTC Sensation] Noobel:
Why don't you read the OP thoroughly? ;)

Well, nothing should happen to your ROM, just in case if it's stuck on logo, boot in recovery wipe dalvik+cache and fix permissions. That's it. No need to reflash anything.
[HTC Sensation] Far_SighT:
Hi, so I just flashed the new firmware+radio.

It updated my firmware from 1.24 to 3.33

But my radio went from 11.24 to only 11.29A.3504.18_M (=version-baseband), not 11.76. Is something wrong?

EDIT

: Read the OP again. This updates radio to 11.76C.3504.00P_11.29A.3504.18_M. My bad.

So it flashed without a hitch. Yeayyy flashed my first firmware annd radio!!!

Is there a hboot patch with 1.29 and unlocked?
[HTC Sensation] Noobel:
Why do you need an unlocked one, honestly? ;)

There's no patched unlocked 1.29 only original from HTC is available. You may try to unlock it through htcdev.com (report on results if you will)
[HTC Sensation] Far_SighT:
Nah. I'll just keep it this way.

And if some noob steals my device, I can hope that he misses s-off on seeing locked and returns the device to me in *good faith*. :cool:
[HTC Sensation] PantsFullOfGuns:
I am running albinomans latest July 10th build and updated to the newest firmware and ril files and have found to get a pretty big boost in my network signal. As for my wifi I sould say its the same mabye slightly better but I am only human and am prone to the placebo effect. Thanks for the files. And if it helps im located on the central Florida region.
[HTC Sensation] gotpriest:
56 ril did not help for me personally. Still getting insanely frequent signal drops on Albinoman's CM10.1 and Cyanogen's CM10 ever since updating from February 10 release of CM10. Using 11.29 radio, 1.27.1100 HBOOT, 3.33 Firmware.
[HTC Sensation] PantsFullOfGuns:
Have you also tried installing the new firmware and radio package? Also I would highly suggest updating to a newer build of his rom a lot of improvements since then.
[HTC Sensation] S.N.@.K.3:
Not for the rookies.... -)

Anyways finally solved my network problem....

Thankz for the guide Nooble u r really Noble -p
[HTC Sensation] gauravmajithia:
Hello....

I was one of the first few to try new ril with this patch. But eventually i realised that new ril eats a lot of battery... Is it so?

Or may be i am wrong...:confused:
[HTC Sensation] Noobel:
No, new RIL doesn't eat more battery at least in my case. I have the same bad battery life just like with the old .24 RIL :D

Try .37 if you believe it's a RIL issue. .37 is an "official" matching RIL to radios that come with 3.33.x firmware.

Report if you notice any improvement which I highly doubt can be RIL related. ;)
[HTC Sensation] gadmanz:
Thanks Man that really fixed my problem with the dropped dialing.
[HTC Sensation] HTCZ715E:
this is my finding until now:

Wifi fails if it meets unknown country code.

1. we must always TURN OFF WiFi before shutdown or reboot

2. after AOSP boots, we are going to

SYSTEM SETTINGS > Wi-Fi > Advanced > WiFi region code >>

and if here nothing selected, press Europe or United States,

then get back from this Advanced menu and only now TURN ON WiFi.

Wifi scan now should work.

edit:

our real country code is written, when SIM card initializes:

D/MccTable( 636): updateMccMncConfiguration: mcc=..., mnc=..

D/MccTable( 636): locale set to null_XX

D/MccTable( 636): WIFI_COUNTRY_CODE set to XX

I/WifiService( 445): WifiService trying to set country code to XX with persist set to true

EDIT2:!! now we are near!

https://android.googlesource.com/pl.../com/android/internal/telephony/MccTable.java

Line191 setLocaleFromMccIfNeeded(context, mcc);

Line192 setWifiCountryCodeFromMcc(context, mcc);
[HTC Sensation] HTCZ715E:
Yeah! Wifi is free!

CONGRATZ every0nE!!

I patched telephony-commonn.jar and annoYANGEST WiFi_COUNTRY problem should gone forever!

I created new thread in forum

http://xdaforums.com/showthread.php?t=2368501
[HTC Sensation] MisterPlus:
I am not on the latest official radio 3.33, I am on 3.32... and I am S-On HTC-Dev unlocked.

Could I use HTC-RIL_4.0.0037HMQ_AOSP.zip with 3.32?

Or can I use HTC-RIL_4.0.0056HMQ_AOSP.zip with 3.32?

I use T-Mobile Germany (Congstar)..

Just don't know how nesecary the latest firmware 3.33 is....??!?!
[HTC Sensation] Far_SighT:
Get GetRil from play store. It will give you the best ril for your radio.

Happy to help.
[HTC Sensation] XxM4tzexX:
Is this problem only related to aosp or sense too? Or, to say it the other way, Do I get improvements on sense Roms too?

____________________________________________
[HTC Sensation] Noobel:
No, this is only for AOSP with network scan error.

Flash latest radio from stempox thread, or a firmware with latest radio from OP that does improve calling experience. Don't flash any RILs, all recent Sence ROMs come with the latest RIL already.

:)
[HTC Sensation] rryanosman:
Trying every combination of files I can imagine, but can't get this phone to work. I'm trying to get it onto the tmous network... (I'm normally in Canada where it has been working fine on Telus. When I visit the US I switch sim and put it on tmous, but this year I am having a problem) First I was getting 'error while scanning networks', so I applied one of these (don't remember which one first), then network scanned, but then it says "cant connect to this network right now. Try again later." I've tried .24, and .76c

What all do I need to apply to this phone to get it to work? I'm not fussy about this or that, I just need a working phone. It's a Sensation PG58110, and right now I have in there: albinoman877 CM10.1-2013-07-20, baseband 11.76C.3504.00P_11.29A.3504.18_M (tried with and without this AOSP patch). I'm about to try .59 No, I have not done a full wipe... If someone is certain that is likely to fix it, I will, but I don't want to have to rebuild my phone if its a waste of time.

Thanks for any help you can offer.
[HTC Sensation] rryanosman:
Turned out I needed a new sim.
[HTC Sensation] gauravmajithia:
Any idea which ril i should install to ensure it matches with baseband?

Sent from my HTC Sensation
[HTC Sensation] Noobel:
You already have a perfect match! Don't blindly trust GetRil with that stuff! I've already written my point about that in OP.

:cool:
[HTC Sensation] Sherlocks:
Can i use in GB CM7 OR MIUI?
[HTC Sensation] wuerzet:
On MIUI yes :)
[HTC Sensation] TiN-MAN:
Anyone got this working with MIUI? Tried all ASOP RIL's with same result; No PIN prompt, no signal and no service message. Had to restore backup to get it working.

Free Image Hosting by imgbox.com
[HTC Sensation] Duv'orynn:
On Sensation with RootBox v.a3 from Dragunkorr HTC-RIL_4.0.0056HMQ_AOSP.zip works like a charm.

Finally I can choose networks...thanks again.
[HTC Sensation] Noobel:
Fixed libril.so library included in all those RILs doesn't seem to be compatible with Android versions prior to 4.2.x not even sure about 4.2.1 (never tested).

So far it's been tested and confirmed to work only with AOSP 4.2.2 and 4.3 based ROMs.
[HTC Sensation] TiN-MAN:
Ah thats why.. Ok :)