Thursday, 15 December 2011

How to solve 3G modem issue in I9100XXKP1 Android 4.0 ICS firmware for Galaxy S2

One of the major issue/bug with I9100XXKP1 firmware is that the 3G data doesn`t work. Well you don`t need to worry about this. There is a solution to it using ADB i.e. Android Debug Bridge. I have compiled step by step procedure to solve 3G modem issue in I9100XXKP1.
(100% tested and working by me and readers)

Please note that you need to root your phone first to make this work on I9100XXKP1. (I9100XXKP1 rooting guide)

Prerequisites
  • Rooted phone with I9100XXKP1 firmware
  • Android SDK installed, You can download it from Android Developers website by choosing correct operating system, Then install it.After this open SDK manager and download updates
Procedure to enable 3G data modem in I9100XXKP1 Android 4.0.1 ICS for Galaxy S2
  • Check the path where you have installed the Android SDK in your PC. It should be in Program files and Android folder.
  • Generally the path should be C:\Program Files\Android\android-sdk\platform-tools
  • For Windows goto Run and type CMD and press enter
  • Now got to the path where adb.exe is located for example - cd\Program Files\Android\android-sdk\platform-tools
  • check whether you have connected mobile properly by typing this command adb devices (this will show the connected device)
  • Type adb remount  (Suggested by a reader ... thanks to him)
  • Now type adb shell chmod 777 /system/bin/rild
  • and then adb reboot
Thats it... now you will be able to use 3G data. Refer the screen shots below.

================================================================
If this Doesn`t work then you need to try method 2.. This is because KP1 modem files doesnt support few operators. You might notice that your automatics date and time settings doesn`t work.

So here is the method 2. (A big thanks to Our reader Netanel)

  • Root with I9100XXKP1 rooting guide
  • Downloaded ES explorer from market.
  • In ES explorer went to settings and checked root explorer and mount file system.
  • In ES explorer - settings - made home directory "/" instead of "/sdcard/".
  • Download KP2 RIL files bin & lib) from XDA Forum
  • Copy paste KP2 ril files (bin & lib) in to your phone \system Bin & lib directory respectively.
  • Goto settings - Developer options - enable USB debugging.
  • On pc: start - run -cmd
  • Connected phone (phone is on).
  • In cmd: (before you do this make sure ES explorer is open on your phone)
  • "cd\Program Files\Android\android-sdk\platform-tools " then
  • "adb remount" then
  • "adb shell chmod 777 /system/bin/rild" then
  • "adb reboot"
  • after +- 30 sec phone will reboot with 3G!

For This is give Credit to Netanel & codeworkx.

Thanks guys.

37 comments :

  1. You might want to add that you need to open SDK manager and download updates...

    ReplyDelete
  2. after i type adb shell chmod 777 /system/bin/rild
    it tells me that its read-only something i dont know...

    ReplyDelete
  3. After I do adb shell chmod 777 /system/bin/rild it says:

    unable to chmod /system/bin/rild: Read-Only file system

    What should I do??

    ReplyDelete
  4. @Anonymous

    To solve read only issue. do this

    Download ES file explorer from market and then got to settings and first click on root explorer and then Mount file system. allow super user permissions.

    now keep this ES explorer running and connect to pc to use adb command... it will work 100%

    ReplyDelete
  5. issue an adb remount first, then the chmod command

    so:
    > adb remount
    > adb shell chmod 777 /system/bin/rild

    ReplyDelete
  6. I did it and i dont have 3G!

    Help?

    ReplyDelete
  7. I did all the steps and i dont have 3G!

    what should I do???

    ReplyDelete
  8. @Anonymous

    share the screen shot of CMD.. on email id given at bottom

    ReplyDelete
  9. the email is this?

    contact+at+dialandroid.com

    ReplyDelete
  10. I sent the pick to contact@dialandroid.com

    did you get it?

    ReplyDelete
  11. Hasn't made any difference to my 3g either

    Robert

    ReplyDelete
  12. @Robert

    try rebooting phone. also check mobile APN settings..

    it should work... i got it fixed in this way.

    ReplyDelete
  13. I did what u said
    Still no 3G,
    any other suggestions?

    ReplyDelete
  14. @Netanel

    Try this

    XXKP2-RIL
    Download: http://www.multiupload.com/M3AAZ3F8HC
    and copy these files to /system/lib & /system/bin

    Code:

    adb remount
    adb push libril.so /system/lib
    adb push libsecril-client.so /system/lib
    adb push libsec-ril.so /system/lib
    adb push rild /system/bin
    adb reboot

    Although this didn`t worked for me but for few people it worked ... Via XDA

    ReplyDelete
  15. the code part is what to enter in cmd?

    to copy all the files to both /system/lib & /system/bin?

    where are /system/lib & /system/bin located, on the device or on the pc???

    Thanks for your continuing help!

    ReplyDelete
  16. @Netanel

    yes code part need to be entered in cmd..

    when you extract the ZIP you will get two folder. one Bin and other lib

    use ES explorer to copy these to respective folders in \system of phone

    ReplyDelete
  17. I cant find a "/system" in the phone

    ReplyDelete
  18. @netanel

    Give root permissions to es explorer.. Then select \ from top drop down

    ReplyDelete
  19. to replace the bin and lib folders with the new ones or what?

    ReplyDelete
  20. The entire folder or just the files inside?

    If just the files inside-

    to delete all the files in BIN and LIB on the phone and only put the ones that are in the downloaded BIN and LIB?

    Or just replace the single files in bin and lib with the similiar files in phone bin and lib?

    I'm sorry about all the detailed questions I just dont want to screw up...

    ReplyDelete
  21. cd\Program Files\Android\android-sdk\platform-tools
    adb remount
    adb push libril.so /system/lib
    adb push libsecril-client.so /system/lib
    adb push libsec-ril.so /system/lib
    adb push rild /system/bin
    adb reboot

    worked for me on T-Mobile UK.
    Put the lib/bin files in platform-tools folder on your pc then the commands above will push it to your phone. :)
    Well at least thats what I think it did :o

    3g signal now, one funny thing is my data arrows are kind of bugged and are behind the 4 signal bars on my phone 0_o

    ReplyDelete
  22. @dialandroid

    When doing: adb push libril.so /system/lib

    cmd tells me cannot stat 'libril.so': No such file or directory

    this is after replacing the folders bin and lib in system of phone

    ReplyDelete
  23. Sounds like a lot of unnecessary work..... i would wait a couple of days and a new version will be out that has all this done already
    Saying that you are clever guys to work this out
    Respect!

    ReplyDelete
  24. So this is how I got 3G working:

    - Root - http://www.dialandroid.com/2011/12/h...d-401-ics.html.

    - Downloaded ES explorer from market.

    - In ES explorer went to settings and checked root explorer and mount file system.

    - In ES explorer - settings - made home directory "/" instead of "/sdcard/".

    - Copy pasted KP2 ril files (bin & lib) http://www.multiupload.com/M3AAZ3F8HC into "/system" in phone using ES explorer.

    - Went to: settings - Developer options - enable USB debugging.

    - Installed android sdk http://developer.android.com/sdk/index.html

    - Updated using sdk manager that is in "program files/android/android-sdk".

    - On pc: start - run -cmd

    - Connected phone (phone is on).

    - In cmd: (before you do this make sure ES explorer is open on your phone)

    "cd\Program Files\Android\android-sdk\platform-tools " then

    "adb remount" then

    "adb shell chmod 777 /system/bin/rild" then

    "adb reboot"

    -after +- 30 sec phone will reboot with 3G!

    Credit goes to Dialandroid & codeworkx.

    ReplyDelete
  25. Hmm after using wi-fi my 3g has died again

    ReplyDelete
  26. Thx Netanel,

    it works!! :)

    now i can finally use it for daily use..
    ok its unstable.

    i don't give a damn

    ReplyDelete
  27. @Netanel

    I have updated the blog... Thanks for the help

    ReplyDelete
  28. If you want to help me, I have trebuchet launcher installed AKA "Launcher2" and when I try to put widgets on it crashes...

    If you have an Idea send me an e-mail.

    Thanks in advance
    Netanel

    ReplyDelete
  29. @Netanel
    i used ADW launcher and it is working perfectly
    also used Beautifulwidgets and HD widgets

    ReplyDelete
  30. Problem Solved!
    moved "Lancher2.apk" to "/system/app" and it worked! :)

    BTW I think The trebuchet launcher is more like ICS, If you want go to the link i give you and look at my screenshots.

    http://forum.xda-developers.com/showthread.php?t=1391209&page=37

    look at post number 367#

    ReplyDelete
  31. Guys, i tried both methods to enable 3G data, but none worked for me. I'm from Chile.

    After install Android 4.0.1, there are 4 signal bars with a little "3G" over it, but no modem data.

    Tried first method, none changed. So i installed Android 4.0.1 from scratch and tried method n°2 but after reboot, signal bars were empty, every 10 seconds got full 4 bars for only 1 second, then 10 more seconds of empty bars. It's even impossible to call or receive an incoming call.

    I've had to reinstall from scratch once again so i can at least use my phone as a "phone", LOL.

    Any comments? Thank you.

    ReplyDelete
  32. @David P.
    I think it depends on your carrier...

    ReplyDelete
  33. Hi, I;m fro Osrael, Orange. anyone had success enabling the 3g ??

    ReplyDelete
  34. I couldnt get a 3G connection either after installing ICS, but it was solved by contacting my supplier (M1 Denmark) and get them to send me a setup to internet/WAP/GPRS..

    ReplyDelete