yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] Arunabh:
I bought a sgs2 about an year ago and since the very first day I had problems with receiving calls and even making them.

If I'm sitting at one place everything's good but as soon as I move something goes very wrong and the call drops.well if I'm moving I'll be glad to even get or make a call although the signal in the notification shows full.

Now on the stock ROM,the signal strength is about -61dbm 19-20asu but on any other ROMs that I've tried it never goes beyond -89dbm 11-12 asu.

Next I read a lot about flashing different modems that might solve the problem but no.its like nothing seems to work.(BTW I tried a lot of modems for my country and others as well and used getril also to match the ril's as I read about that in forums.)

I'd be really very greatful if someone could help.Please.
[Galaxy S II General] thebogy:
i have similar issues :(

Now i'm using XXLQ6, and already tried all modem that recommended to use.

i'm afraid if hardware caused it
[Galaxy S II General] citytrader:
In what country are you!?

Get the modem-ril combo of your working Rom and use it with other roms!
[Galaxy S II General] Arunabh:
Thanks for the reply.

But is there any other solution.

BTW I'm from India and I've already tried this.

I even flashed the official stock release for India from samfirmwares but doesn't help.

Anything else?
[Galaxy S II General] CamoGeko:
Send it to Samsung?

Spun out from my RENOVATED One X!
[Galaxy S II General] Arunabh:
I DID..THATS THE POINT.

those people kept my phone for like three weeks and said that the problem wasnt there anymore and idk what they did but NOTHING changed.

You really think its hardware related and not something to do withsoftware? the
[Galaxy S II General] CamoGeko:
Try the recommended modems from sticky modem thread.

Also, could it not be your carrier?

Spun out from my RENOVATED One X!
[Galaxy S II General] Arunabh:
Sir I did.

And I was using the iPhone for about 7 months along with this phone with my current sim in the iPhone with no problems.so its probably not my carrier.

And I've tried a lot of modems and posting this after about 4 months of flashing different modems.

I'll try the modems by sticky but I doubt that'll help.

Maybe something wrong with the main software?

Any other suggestions are also welcome.

BTW I love trance.will listen to your mixes right away.:)
[Galaxy S II General] Arunabh:
Hey I noticed something.

In the phone info settings that we get by dialing *#*#4636#*#*, the preferred network type is weird.

When I choose gsm it doesn't get saved.ASA I click back the setting changes to anything it likes.( wcdma or unknown etc)

Could this be a problem?

And in my phone settings what should I choose for gem settings(umts HSDPA or HSDPA/hsupa)
[Galaxy S II General] bobdoblo:
Is there a NELP3 + RIL?

Powered by NeatROM
[Galaxy S II General] ApriliaM3:
So far only NELP2 and NELP4 have been uploaded.
[Galaxy S II General] bobdoblo:
NELP2 actually installs BVLP7! and runs very hot.

NELP4 not very good signal.

NELP3 is great for me and many others, would be great to have the proper RIL for it.

Powered by NeatROM
[Galaxy S II General] Ibsonic:
does some1 known which modem i need in the netherlands Tmobile..

Verstuurd van mijn GT-I9100 met Tapatalk
[Galaxy S II General] ApriliaM3:
The instructions are on page 1 of the OP...

Rip it from the original firmware and upload it here for everyone :)
[Galaxy S II General] CamoGeko:
If it runs so great why do you want to mess about with the RIL?

It's only a solution for those that are having connection problems.

Spun out from my RENOVATED One X!
[Galaxy S II General] bobdoblo:
I am a technical retard mate:p

Powered by NeatROM

---------- Post added at 03:16 PM ---------- Previous post was at 03:14 PM ----------

I am having trouble, I mean great as in NELP3 is the best of the lot for me! but still only 2 bars and 1-2mb speed. And with correct files its supposed to be better isn't it, thats why the thread was made and the point you and me are here! :rolleyes:

Powered by NeatROM
[Galaxy S II General] codebeard:
Some fixes...

Thanks so much for starting this collection.

I've added a few more modems (with their RIL files), all for T models (I9100T): HZLP2, JJLP8, DCLP4, DCLP3 and DOLP4

Speaking of which, because T models can have considerably worse performance with non-T modems, I suggest separating your collection into T modems and non-T modems, or otherwise clearly marking them (for example, I have put a _T_ in my file names).

I noticed that a lot of the files provided were a little inconsistent, sometimes having typos in the updater-scripts or missing drexe binaries etc. I fixed a few of them though (not all) and uploaded those too.

I also rewrote the backup and restore shell scripts to be a lot more robust. Notably, the restore script had fatal syntax errors and could not have fully restored things properly. Furthermore, now _all_ previous copies of files are backed up (they aren't very big, so it's okay). This is a lot safer than the current behaviour.

As such, I also regenerated the ModemRIL_Restore.zip.

All files may be found at:

http://goo.gl/huA4y
[Galaxy S II General] CamoGeko:
I wouldn't call that trouble. I'd call it a slow network.

Trouble would be extremely bad signal, like 0-1 bars, or cutoffs during calls.

Spun out from my RENOVATED One X!
[Galaxy S II General] ApriliaM3:
Thanks for your efforts and contribution to this thread... I have uploaded all your "T" modems to the Dev-Host mirror.

I will wait for hawkerpaul (OP) to return and check the restore script and fixes before updating them also.

Can you give any more details regarding the T modems you have uploaded? Country where it's originally used? Recommendations?
[Galaxy S II General] bobdoblo:
Yeah it does, 1-2 bars is good, when its at its best! I have to move to the back of the house to be certain it won't cut off!

If i go into city centre its full but all modems are full when i go there.

Its at my house i have trouble and its so frustrating because i don't have a landline.

I would gladly make a small donation and Thank all their posts for a week ;)to anyone that could make it up for me

Powered by NeatROM
[Galaxy S II General] Ibsonic:
BOLP7 Netherlands T-mobile..

RIL + Modem

here u go :)

includes drexe with ur latest script.

https://www.dropbox.com/s/09l3ux21qkzdmk8/ModemRIL_BOLP7.zip
[Galaxy S II General] codebeard:
Sure, let me see...

I9100T ICS modems, stock build, and origin:

DCLP3 - I9100TDCLP3 [4.0.3] - Thailand

DCLP4 - I9100TDCLP5 [4.0.3] - Thailand

DOLP4 - I9100TDOLP5 [4.0.3] - New Zealand, Telecom

DULP4 - I9100TDULPB [4.0.3] - Australia, Vodafone and Three/Vodaphone (also used in I9100TDULP9)

DVLP3 - I9100TDVLP4 [4.0.3] - Australia, Telstra

HZLP2 - I9100THZLP2 [4.0.3] - Israel, Mirs

JJLP8 - I9100TJJLP8 [4.0.3] - Israel, Pelephone

No recommendations yet, but I'm just about to start testing the AU/NZ ones.

For those who aren't aware of the issues with the T phones, see this quick summary: http://goo.gl/XmczW
[Galaxy S II General] ApriliaM3:
Uploaded to Dev-Host mirror, thanks.

---------- Post added at 03:23 PM ---------- Previous post was at 03:22 PM ----------

I'd be interested in the results of your testing... Is there a version available for Optus AU?
[Galaxy S II General] codebeard:
The latest Optus modem is XXLQ6 and is already in the collection. At least, I don't believe the modem would be different from the other XXLQ6 modems around the world -- they appear to just be using the "default" modem.

If you're using a T model phone (i.e. bought from Telstra or Vodafone) but using it on Optus, then you'll want to change to one of the T modems. Otherwise you probably won't see any improvement from the T modems (though it won't do any harm to try.)
[Galaxy S II General] ApriliaM3:
I'm using a T model (although after many ROM flashings it no longer shows as a T on screen) originally purchased in Thailand.

I tried your DULP4 modem and while it's hard to say categorically, I think I can see an immediate improvement in signal strength.

Optus signals are notoriously sh!te here in Melbourne so I need all the help I can get.

In Thailand, it doesn't seem to matter what modem I use as the signal always seems to be good.
[Galaxy S II General] codebeard:
Just a quick note: I somehow forgot to put the BackupRIL.sh files into my zip files, so I've had to regenerate them (not too hard, I have a script).

Yes, I am in a similar boat (I got my T version second hand from a Telstra user) and now using with TPG (Optus). Interesting that you should say DULP4 is working well for you -- my very limited testing so far has pointed to that being a good one too.

Here are my results so far (smaller numbers are better):

XXLQ6 103 ~ 107 dBm GPRS

DVLP3 99 ~ 101 dBm GPRS

DULP4 97 ~ 101 dBm GPRS

DOLP4 99 ~ 103 dBm GPRS

DCLP4 97 ~ 103 dBm GPRS

DCLP3 99 ~ 101 dBm GPRS

HZLP2 101 ~ 109 dBm GPRS

JJLP8 99 ~ 105 dBm GPRS

I think I can safely conclude that... the reception at my office is totally rubbish. For this test (limits of connectivity) the important thing is consistency, so DULP4 is looking good.

When I can get some better signal, I'll try testing 3G speeds. The hardest thing to test will be the HSDPA / 3G switching reliability.
[Galaxy S II General] ApriliaM3:
So I should replace the files on the mirror with your new ones?
[Galaxy S II General] codebeard:
Yes, if you could. Sorry about that. I know my connection's not the fastest thing ever.
[Galaxy S II General] ApriliaM3:
All done.
[Galaxy S II General] hawkerpaul:
Sorry i've not been able to discuss much on the thread lately as i've had a close family bereavement which I'm finding difficult to deal with at the moment so I still wont be doing much on here for a little while longer.

Thanks very much for your contribution to the thread mate. I noticed that the .sh scripts were not included in your zip files but I see you have since spotted that. :good:

I've been thinking of the merits of having multiple backups of the files. I think backup by date is a good idea.

However, my gut feeling now is to create a new backup-ril.zip that is intended to be run directly after a new ROM is flashed, so that the original ril files of the ROM are backed up. This would of course need to be remembered to be flashed separately when going over to a new ROM. The backup script in all the modem-ril scripts would then only copy files to the backup folder if the backup files do not exist. (ie the user forgot to run the manual backup). As all the ril files are contained in the modem-ril scripts there is little point backing them up all the time. I feel all that is really required to be backed up are your original ril files of the ROM.

ie.

flash rom

flash backup-ril.zip

flash whichever modem-ril scripts you want

.

.

if there is a problem, then either:

1. run modem-ril script of the rom's original modem or

2. if no modem-ril for original modem, then run restore-ril zip (to restore original ril) and flash original modem-only zip

What are everyone's thoughts on this method of backup/restore instead?

By the way, what does name="${f##*/}" do in the script? didnt quite understand this.
[Galaxy S II General] ronald dip:
Hello ini would like to ask any sugestion modem for Indonesian region?

I tried so many modem but seem no macth one

I tried kh14, xxlpx, xxlps, dxlp9,bplv7,nelp3,nelp4 and i tried with getRIL app too but its problem with lost conection maybe anyone can help my sgs2

Thanks

Ps: im using root box 2.9 with dorimanx 7.2
[Galaxy S II General] hawkerpaul:
I have updated the logic to my ModemRIL installers

Post #1 has been updated, but in summary:

I see little point in backing up the RIL files each time, as all files are contained within the various ModemRIL installers.

Now, the desired method of backing up your RIL files is to keep a copy of your firmware's original RIL files. To achieve this, it is best to get into the habit of flashing RIL-Backup once you have flashed new firmware before you start playing about with different modems. RIL-Backup will remove any existing backup found and create a copy in /sdcard/MyBackups/BackupRIL. This way, you can always revert back to the intended RIL of your firmware if need be. As a safeguard, my ModemRIL scripts will also backup the current RIL files only if no previous backup was found. If a backup is detected, then it will be skipped. Just remember if you rely on the backup created by ModemRIL scripts and do not use RIL-Backup then after flashing a new ROM, the restore will not be of the files that came with your new firmware.

RIL-Backup will force a backup of your current RIL files. Remember, best practice is to run this once directly after flashing new firmware/ROM, before installing different modems.

Restore RIL Files

If you need to restore back to your original/previous modem/RIL then simply run the ModemRIL script from this thread for that modem.

If a ModemRIL installer has not been created for the modem you need to revert back to, then you can run the RIL-Restore script. You will then need to flash the previous modem using a modem-only CWM flashable file.

As most of you will be in the throws of whichever firmware you are on and probably have tried several modem combinations, then I wouldn't worry too much about the backup if there is a ModemRIL installer for your firmware's original modem. Running a ModemRIL script is always the best method of reverting back. Just remember when you do come to flashing new firmware to also flash RIL-Backup, especially if there is not a ModemRIL installer for the original modem.

Full details in Post#1
[Galaxy S II General] luisfer21069:
any recommend modem for central america?, more specifically if you want Honduras, service provider TIGO

i tried UHLPH and XXLQ6 but still some signal drops
[Galaxy S II General] ApriliaM3:
All updated on Dev-Host mirror...
[Galaxy S II General] codebeard:
Sorry to hear that mate. Take all the time you need.

Yeah, sounds reasonable. Maybe the backup-ril.zip could actually have a small zip binary inside it so that it could create a new update zip with the current RIL files as well as the current modem. I could probably write a script to do that.

${variable##trim} means remove 'trim' from the start of variable (trim can be a wildcard). So in this case it's going to remove everything up until the last forward slash. It's a quick way of replicating `basename $variable` on systems like Android where there's technically no basename binary included (though it's usually installed upon rooting a phone).
[Galaxy S II General] hawkerpaul:
Thanks mate.

Be interested to hear your thoughts on how to also backup/restore modem.bin

That's good to know.

I'll probably stick with using basename for the time being, since you need to be rooted to install a modem.

Cheers

:)
[Galaxy S II General] FeuchtVonLipwig:
I have a small question.

I'd like to have the BOLP7 modem which is included in this samsung t-mobile stock rom . Can i just for example download ModemRIL_XXLQ6.zip and put in the modem.bin from the roms modem and flash it afterwards?
[Galaxy S II General] mattisfaction:
Nelp2 modem and ril actually installs the correct modem mate, check in settings, just at the time I did not know how to update the script to say so when installing

---------- Post added at 10:56 PM ---------- Previous post was at 10:54 PM ----------

Look at the guide in the op and you'll see you have to rip the ril files from the firmware too
[Galaxy S II General] luisfer21069:
PA 2.22 + Dormiax 7.3

I had some RILJ wakelock so I decided to match modem+ril, before you updated the modems, I usually solve my wakelock like that. But now it doesn't work and I also doble check with the app you mention on the OP. I have already tried XXLQ6, UHLPH, XXLPS
[Galaxy S II General] ApriliaM3:
Experimental Modem RIL Combo

XDA User Zaldi00 has created 2 experimental files if anyone wants to try them.

I've "helped" him with his English and posted his message here:

You can find these files on my Dev-Host mirror under the Experimental Modem RIL Combo directory.

These are certainly not the normal combos that we post here because the Modem / RIL doesn't match so try these at your own risk.

I'm only posting them because they might work for someone else as good as they work for Zaldi00
[Galaxy S II General] tariq2kn:
DDLPB modem with ril?
[Galaxy S II General] ApriliaM3:
Yes please.

Download the full firmware, rip the modem and RIL files based on instructions in the OP and then post a link to the completed file here.

Thanks :p
[Galaxy S II General] rzat:
I remember using one of Korean modems back in gingerbread times and difference was huge. Will definitely test it out.thanks
[Galaxy S II General] FeuchtVonLipwig:
Okay here is a pack with the ril and modem BOLP7 from the german T-Mobile 4.0.4 rom.

I didnt check if they differ from the already uploaded BOLP7 modem files for 4.0.3.
[Galaxy S II General] codebeard:
This sounded like a fun project so I spent a bit of my weekend on it. The finished and tested result can be found at my site: http://goo.gl/huA4y

Basically, all you need is ModemRIL_Manual_Backup.zip

It will make a CWM-flashable backup zip containing the phone's current modem as well as any RIL files, which is itself capable of making its own CWM-flashable backups when necessary (and so on).

After running the backup, you can grab the zip file it creates in /sdcard/MyBackups/BackupRIL and copy it somewhere. If it's a new ROM you can even share the zip file here for other people to download.

The thing with shell is that once you learn a new thing you can do with it, you can use it in so many places. I'm always learning new ways to do things in shell.

I've spent quite a bit of time rewriting the shell script and I hope you can see some value in using my version and learn from it. I've put quite a lot of detail into making sure that the code is safe (it will exit if anything crucial fails) and that white space which might occur in filenames is properly handled (hence putting "" around many variable references).
[Galaxy S II General] siggey:
downloading and trying on Vodafone italy. what is the difference between the two modems?

Galaxy S2 I9100

kernel dorimanx 7.4

rom jellybam 20121019

baseband XXLQ6
[Galaxy S II General] Zaldi00:
Only the modem, RIL-LPO +modem 250k or RIL-LPO+modem 250S

------VAMOSSSS, HAY QUE METER PRESIÓN!!!!!! http://www.htcmania.com/showthread.php?p=6014209------
[Galaxy S II General] siggey:
ok, I understand, and what are the differences between 250k and 250s?

Galaxy S2 I9100

kernel dorimanx 7.4

rom jellybam 20121019

baseband 250K-LPO
[Galaxy S II General] Zaldi00:
What are the difference between LpB and LPX? I don't know, ask to Samsung

------VAMOSSSS, HAY QUE METER PRESIÓN!!!!!! http://www.htcmania.com/showthread.php?p=6014209------
[Galaxy S II General] siggey:
thanks for the useful explanation..

from wikipedia:

The SK Telecom SHW-M250S variant uses SK-MMS system instead of OMA-MMS system for MMS. Additional features for SK Telecom users are installed by default.

This SHW-M250K variant uses KT's Wi-Fi CM[clarification needed] instead of Android's Wi-Fi CM to connect Wi-Fi. Additional features for KT users are installed by default.

So probably there are no differences between the two modems.

Galaxy S2 I9100

kernel dorimanx 7.4

rom jellybam 20121019

baseband 250K-LPO
[Galaxy S II General] bobdoblo:
I wish some one could do NELP3:(

I am not good at anything like this so i can't do it myself!

*NEW* NeatROM® 3.5 Smoother than a babys bum!
[Galaxy S II General] ApriliaM3:
From what firmware release do you want it?

NELP3 was released on several different firmwares... and some versions are claimed to have an unacceptable battery drain.
[Galaxy S II General] bobdoblo:
Oh, see thats how clueless i am, i have no idea, i am running NeatROM XWLPY 4.0.4, i'm on 3 uk network.

Any will do, you pick, and thankyou very much:)

Btw, i have gone nearly 9 hours overnight with only 1% drop in battery on NELP3 so its news to me about bad battery:confused:

Don't know if this helps? http://www.sendspace.com/file/gv30zi

NeatROM© 3.5 - Smoother than a babys bum!
[Galaxy S II General] krezee:
DDLPB rather than the expected DDLPC

got DDLPB instead of DDLPC mentioned in official firmware name. :confused:

I got the latest Indian firmware release date sep 2012 from sammobile.com named I9100XWLPW_I9100ODDLPC_INU.zip

and created a modem package as per the instruction in OP but after flashing the modem is shown as DDLPB and not DDLPC as i was expecting.

Opened modem.bin in beyond compare and searched for string DDLP and found DDLPB.

Did I do something wrong or Samsung made some mistake

----- updated

Thanks It_ler for the info. I didnt get the modem name in sammobile site so got confused.

Ive corrected the Modem+RIL package with correct name i.e. DDLPB in filename and script text now.

I am getting H+ in data status and the Percent and dBm are 50% and -89 respectively. Thats the highest I've seen on my phone with other modems so that seems alright. . GetRIL is reporting RIL mismatch even though the files are all from the same Samsung package.
[Galaxy S II General] It_ler:
You are speaking about stock firmware "I9100XWLPW/I9100ODDLPC/I9100DDLPB/I9100XWLPW".

First part is the Build/ROM/PDA version => "XWLPW".

Second part is CSC version => "DDLPC".

Thrid part is the Modem/Phone/Radio version => "DDLPB".

And the fourth part is the kernel version (usually the same as the first part/PDA version) => "XWLPW".

So, everything is fine with your firmware and Samsung.

You only mixed up the parts for CSC and Modem.
[Galaxy S II General] ApriliaM3:
No that's just the modem... You need the complete firmware to extract the RIL files.

I can only find 1 link to the complete firmware containing NELP3 modem and it's on Hotfile.

Unfortunately Hotfile really sux for me. I tried downloading it and the download broke and now Hotfile won't let me start downloading again.
[Galaxy S II General] bobdoblo:
Maybe i could download for you?

Have you got link?

Is this what you need? http://charlie.d-h.st/F7w/00011/ril-LP7-NELP3-i9100-signed.zip?key=1350834779

NeatROM© 3.5 - Smoother than a babys bum!
[Galaxy S II General] krezee:
Above RIL package only has two files in /lib libsec-ril.so and libril.so

The RIL zip might need the following files for complete package and three files are missing. perhaps its not in the samsung firmware. we'll only know if the samsung file is checked.

Ive made the CWM .zip as per OP but not sure if its complete. Dont wanna flash it as am playing with DDLPB for now and see how that goes for me.
[Galaxy S II General] hawkerpaul:
Thanks so much for this script mate.

I've had a quick look through and it seems excellent. A very handy zip file to have!

Do you think it It may be a good idea to use the modem version held in $version as part of the $ZIPFILE name?

eg. $ZIPFILE="$BACKUP/ModemRIL_$version.zip"
[Galaxy S II General] Jordan2012:
I'm also waiting on a NELP3 with RIL, it was with my stock and the battery seemed fine before I did the deed and Rooted and Modded, sadly now am rather addicted :') but yeah dunno if this helps but this was a stock Screenshot before I flashed it with the NELP3 in it
[Galaxy S II General] ApriliaM3:
No I found that also but it's incomplete for some reason... anyway Hotfile is letting me download at the moment so hopefully it will complete successfully.
[Galaxy S II General] codebeard:
Yes, it's a good idea. The only issue is testing for previous backups. Maybe something like this would be enough:

echo "version=$version" > "$BACKUP/ModemRIL_Backup.txt
[Galaxy S II General] ApriliaM3:
NELP3 Modem / RIL Combo

I've created and uploaded this to the Dev-Host mirror... You can download it

HERE
[Galaxy S II General] bobdoblo:
Thankyou so much:)

NeatROM© 3.5 - Smoother than a babys bum!

---------- Post added at 07:16 AM ---------- Previous post was at 07:15 AM ----------

Are you on 3 uk or T mobile?

NeatROM© 3.5 - Smoother than a babys bum!
[Galaxy S II General] hawkerpaul:
I've now uploaded latest NELP4 (Three UK) taken from 4.0.4 firmware, XWLPY