5,595,268 Members 47,146 Now Online
XDA Developers Android and Mobile Development Forum

[FW][RADIO][RIL] Network Scanning Error & MMS Fix for AOSP JB & KitKat ROMs

Tip us?
 
Noobel
Old
(Last edited by Noobel; 13th November 2013 at 08:00 PM.) Reason: updates
#1  
Noobel's Avatar
Senior Member - OP
Thanks Meter 327
Posts: 441
Join Date: Mar 2013
Location: Moscow
Lightbulb [FW][RADIO][RIL] Network Scanning Error & MMS Fix for AOSP JB & KitKat ROMs

I've found a simple solution to infamous Error while scanning for networks message with Android 4.1.x, 4.2.x, 4.3.x and 4.4.x AOSP based ROMs and decided to share it with all of you. It should be safe to install this fix on any custom AOSP based ROM. Not compatible with Sense ROMs!

To install the fix just flash an attached zip file from recovery.

And re-flash it again if you did a ROM update!

Caution! Prior to flashing on 4.1.x based ROMs, open zip with winrar and delete rild file from /system/bin/.


There are 3 versions to choose from

HTC-RIL_4.0.0024HMQ_AOSP.zip - original files extracted from cile381's AOSP 4.2.2 build 4! 100% credit goes to him. Thanx dude!
You may want to install a matching radio 11.72.3504.00U_11.23.3504.08_M2 with this rather old but widely spread RIL not a mandatory though.
For some reason all AOSP ROMs (official CM, albinoman887, LaidbackNikez, cile381, DragunKorr, etc...) use the same identical libhtc_ril.so v4.0.0024 and different modifications of libril.so and rild with their ROMs...


HTC-RIL_4.0.0037HMQ_AOSP.zip - same as above with an updated libhtc_ril.so to v4.0.0037 so you can safely use it with the latest radio.
This is the latest official RIL for Sensation and is now included in legendary CM ROM by bruce2728 (recommended).

HTC-RIL_4.0.0056HMQ_AOSP.zip - same as above with an updated libhtc_ril.so to v4.0.0056 from Inspiration ROM (One S ICS).
Please note this RIL wasn't originally intended for Sensation but still works great and has become a part of fantastic CM ROM by Sultan (bleeding edge).

All tested and working!


HTC-RIL_4.0.0036HMQ_AOSP.zip - same as above with an updated libhtc_ril.so to v4.0.0036 by request.

INFO: RIL 4.0.0063 from Relevation/ViperS 3.1.x JB ROM (One S JB) will not work with current breed of AOPS-based ROMs (requires ion/hboot/firmware), probably will work with future ION AOSP ROMs


To check RIL version run getprop "gsm.version.ril-impl" (with the quotes) in Terminal Emulator or use CID Getter and search for gsm.version.ril-impl.

Funny enough, when GetRil is used to install latest Sensation RIL .37 it won't recognize it after device reboot. In fact GetRil doesn't analyze anything it just checks what's installed and compares with it's database which is not up to date and definitely doesn't have any info about matching/not matching radio/ril from different ported ROMs.


MMS fix (may cause problems with data connection on some networks)

If you're unable to send/receive MMS while mobile internet is active and Wi-Fi is off do a simple trick to fix it:

open build.prop and add skipbrokendatacall to this line:

Code:
ro.telephony.ril.v3=datacallapn,signalstrength,skipbrokendatacall
Save and restart your phone. (You may need to set permissions to file before restarting, depending on text editor used.)


Latest FW & Radio (optional but highly recommended)

To install the latest firmware and the latest radio just flash* this file!
MD5: de9987bae2d70a20e11ecb4a32363a0d
SHA: 0d08cd59385d1d26018538616f0a39ea5e7d2811


Note: your device must be S-OFF !!!

File contains latest firmware 3.33, hboot 1.29.0000 and radio 11.76C.3504.00P_11.29A.3504.18_M.

To check firmware version connect to PC, fastboot load into the bootloader and type: fastboot getvar version-main

Firmware is identical to the original firmware by mike1986. with an updated radio (thank you stempox).
Nevermind a locked status of 1.29.0000, I don't think you'll really need an unlocked one, you're S-OFF anyways...
You can always use HBoot 1.27.1100 Patch to go from locked hboot 1.29.0000 to unlocked hboot 1.27.1100 (thank you Kohr-Ah)


Enjoy!



PS Don't forget to make a nandroid backup, just in case...

*How to flash firmware (credits to mike1986.):

if you're superCID just follow from step 3

1. Check your CID using fastboot getvar cid and MID using fastboot getvar mid
2a. If your CID and MID are supported by default, navigate to point 3.
2b. If your CID or MID is not supported by default, do this: (you do it at your own risk)
2c. Open PG58IMG.zip (don't extract it)
2d. Open android-info.txt in text editor
2e. Add your cidnum: <your CID> or modelid: <your MID> to the list, save file and close archive
3. Place PG58IMG.zip on your SD card
4. Boot your device holding power button + vol down button
5. Follow instructions on the screen
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2013-07-03-02-42-57.jpg
Views:	3243
Size:	16.8 KB
ID:	2088064   Click image for larger version

Name:	Screenshot_2013-07-03-12-15-17.jpg
Views:	3221
Size:	17.8 KB
ID:	2088065  
Attached Files
File Type: zip HTC-RIL_4.0.0024HMQ_AOSP.zip - [Click for QR Code] (474.4 KB, 1884 views)
File Type: zip HTC-RIL_4.0.0037HMQ_AOSP.zip - [Click for QR Code] (478.1 KB, 979 views)
File Type: zip HTC-RIL_4.0.0036HMQ_AOSP.zip - [Click for QR Code] (478.1 KB, 1503 views)
File Type: zip HTC-RIL_4.0.0056HMQ_AOSP.zip - [Click for QR Code] (481.2 KB, 1036 views)
Samsung Galaxy Note 3 | Stock ROM
HTC Sensation XE | S-OFF | SuperCID | 4EXT
SebastianFM's Revelation Sense 4+ ROM or
CM10.2 ROM + Sultan AOSP kernel + ViPER4Android Audio Effects
AOSP Network Scanning Error Fix & latest Firmware, Radio, Ril


You believe I deserve a bit more than a simple thanks?
Grant me with 500mb DropBox space!
Just follow the link and create an account for yourself!
The Following 66 Users Say Thank You to Noobel For This Useful Post: [ Click to Expand ]
 
LordNerevar
Old
#2  
Member
Thanks Meter 24
Posts: 86
Join Date: Feb 2012
Quote:
Originally Posted by Noobel View Post
PS These RIL files were extracted from cile381's AOSP 4.2.2 build 4! So credit goes to him. Thanx dude!
Quite possibly the best ROM ever made for our device at the time. If only it had the PMEM video fix.
[ROM] ViperS 5.0.0 [Firmware] 3.32.531.14
[Radio] 11.69A.3504.00P_11.23.3504.07_M2 [Recovery] 4EXT Recovery Touch
[HBOOT] 1.27.1100 [Kernel] SebastianFM 1.0.3
 
Sorin90
Old
(Last edited by Sorin90; 3rd July 2013 at 02:26 PM.)
#3  
Sorin90's Avatar
Senior Member
Thanks Meter 72
Posts: 337
Join Date: Apr 2012
Thanks a lot working fine

Sent from my HTC Sensation using xda premium
Device: LG OPTIMUS G E975 Stock Rom.


Previous Devices:
-Sensation XE
-Sony Ericsson Xperia Arc S
-Lg Optimus One
-Nokia 5800
-Nokia n97 8gb

For italian users: If some of you need Jtag riff contact me
 
Noobel
Old
#4  
Noobel's Avatar
Senior Member - OP
Thanks Meter 327
Posts: 441
Join Date: Mar 2013
Location: Moscow
Quote:
Originally Posted by LordNerevar View Post
Quite possibly the best ROM ever made for our device at the time. If only it had the PMEM video fix.
Quote:
Originally Posted by Sorin90 View Post
Do you mean video playback?it si already working without glitch !!

Sent from my HTC Sensation using xda premium
Install the latest build from cile and use my updated fix!

Enjoy Sensation Google Play Edition
Samsung Galaxy Note 3 | Stock ROM
HTC Sensation XE | S-OFF | SuperCID | 4EXT
SebastianFM's Revelation Sense 4+ ROM or
CM10.2 ROM + Sultan AOSP kernel + ViPER4Android Audio Effects
AOSP Network Scanning Error Fix & latest Firmware, Radio, Ril


You believe I deserve a bit more than a simple thanks?
Grant me with 500mb DropBox space!
Just follow the link and create an account for yourself!
 
chamchoui
Old
#5  
Member
Thanks Meter 1
Posts: 30
Join Date: Apr 2012
Default for 11.76A ?

Is it available for radio 11.76A
 
LordNerevar
Old
#6  
Member
Thanks Meter 24
Posts: 86
Join Date: Feb 2012
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.
[ROM] ViperS 5.0.0 [Firmware] 3.32.531.14
[Radio] 11.69A.3504.00P_11.23.3504.07_M2 [Recovery] 4EXT Recovery Touch
[HBOOT] 1.27.1100 [Kernel] SebastianFM 1.0.3
 
Noobel
Old
#7  
Noobel's Avatar
Senior Member - OP
Thanks Meter 327
Posts: 441
Join Date: Mar 2013
Location: Moscow
Quote:
Originally Posted by chamchoui View Post
Is it available for radio 11.76A
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
Samsung Galaxy Note 3 | Stock ROM
HTC Sensation XE | S-OFF | SuperCID | 4EXT
SebastianFM's Revelation Sense 4+ ROM or
CM10.2 ROM + Sultan AOSP kernel + ViPER4Android Audio Effects
AOSP Network Scanning Error Fix & latest Firmware, Radio, Ril


You believe I deserve a bit more than a simple thanks?
Grant me with 500mb DropBox space!
Just follow the link and create an account for yourself!
The Following User Says Thank You to Noobel For This Useful Post: [ Click to Expand ]
 
chamchoui
Old
#8  
Member
Thanks Meter 1
Posts: 30
Join Date: Apr 2012
its work flawlessly..foot's thumbs up ///good work then
The Following User Says Thank You to chamchoui For This Useful Post: [ Click to Expand ]
 
volarchico
Old
#9  
Member
Thanks Meter 17
Posts: 77
Join Date: Oct 2012
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?
 
albinoman887
Old
#10  
Recognized Contributor
Thanks Meter 11103
Posts: 2,817
Join Date: Dec 2010
Location: Snohomish, WA

 
DONATE TO ME
wheres the download for the latest zip. it brought me to some page with links to gapps etc for sensation/sensation xe

The Following User Says Thank You to albinoman887 For This Useful Post: [ Click to Expand ]
Tags
error while scanning for networks, network operators, network scan error
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes