NS4G modem patch on CM7/9/10 based roms, nightlies and previews- 2/12/13

Search This thread

iamterence

Senior Member
Feb 10, 2010
2,735
1,166
Baltimore, Maryland
My apologies... I looked through previous pages and the OP before asking the question and I guess I overlooked it...

Thanks for the response..

Even though it's already in the instructions, I just wanna give a bit more insight on the swapper: Flash swap2nexusmodem (Or Epic modem if you're going for that) > flash NS4G or Epic modem of choice > Flash Effsi or didhiy corresponding modem kernel of choice (if swapping to nexus modem, flash nexus kernel (didhiy's nitest-jb42_NR-twrp-0308 or Effsi's NitestXFc-4.2Nm-0308), or if swapping to Epic modem, flash Epic modem and one of their Epic kernels)
 

VAnative21

Senior Member
Jul 11, 2010
274
12
Virginia Beach, VA
Even though it's already in the instructions, I just wanna give a bit more insight on the swapper: Flash swap2nexusmodem (Or Epic modem if you're going for that) > flash NS4G or Epic modem of choice > Flash Effsi or didhiy corresponding modem kernel of choice (if swapping to nexus modem, flash nexus kernel (didhiy's nitest-jb42_NR-twrp-0308 or Effsi's NitestXFc-4.2Nm-0308), or if swapping to Epic modem, flash Epic modem and one of their Epic kernels)

Thanks for the help and detailed instructions... my last question is where is the location of the files Swap2nexusmodem & didhiy's nitest-jb42_NR-twrp-0308?

Appreciate your response..
 
Last edited:

iamterence

Senior Member
Feb 10, 2010
2,735
1,166
Baltimore, Maryland
  • Like
Reactions: preston411

iamterence

Senior Member
Feb 10, 2010
2,735
1,166
Baltimore, Maryland
Thanks... you're a busy man I see... looking on the Epic > Android Development man page up here and your name comes up a lot, LOL! Answering a lot of questions... appreciate it! ^_^

Hahaha, lazy Sunday man. I figured I'd stop lurking and start helping the community anyway I can :) This phone and the community for it are amazing, and I wanna contribute anyway I can, even if it is just answering questions. :)


But hold the phone though, I actually forgot to add something else important. When flashing the kernels, be sure to also flash the big memory patch here: http://goo.im/devs/didhiy/sph-d700_cm-10.1/JB_BigMem_26-aug-12.zip

Helps with sluggishness and such, I believe.
 

VAnative21

Senior Member
Jul 11, 2010
274
12
Virginia Beach, VA
Hahaha, lazy Sunday man. I figured I'd stop lurking and start helping the community anyway I can :) This phone and the community for it are amazing, and I wanna contribute anyway I can, even if it is just answering questions. :)


But hold the phone though, I actually forgot to add something else important. When flashing the kernels, be sure to also flash the big memory patch here: http://goo.im/devs/didhiy/sph-d700_cm-10.1/JB_BigMem_26-aug-12.zip

Helps with sluggishness and such, I believe.

Got it... thanks again!
 

TPMJB

Senior Member
Jun 28, 2010
1,334
359
www.blackcats-games.net
Not sure what it was, but I installed the AOKP March build, then GAPPS, then Samsung apps (don't ask), then modem, then Didhiy's kernel, then the swap zip file and everything is working beautifully! I'd have to say it's easily the best rom on here!

Sorry to say, but the one posted in this thread that had everything included must have had something wrong, as I didn't have functioning vibrate.

Edit: Really the only thing that isn't working is QPST, which doesn't have me too terribly heartbroken...lol

Edit2: iamterence - That seemed to only have to do with 720P video playback. I don't think it would affect anything else in the system.
 
Last edited:

DynamicN

Senior Member
Jan 8, 2013
1,165
519
Reno
Hahaha, lazy Sunday man. I figured I'd stop lurking and start helping the community anyway I can :) This phone and the community for it are amazing, and I wanna contribute anyway I can, even if it is just answering questions. :)


But hold the phone though, I actually forgot to add something else important. When flashing the kernels, be sure to also flash the big memory patch here: http://goo.im/devs/didhiy/sph-d700_cm-10.1/JB_BigMem_26-aug-12.zip

Helps with sluggishness and such, I believe.

Sorry if i'm incorrect on this one but I believe Effsi's kernels come with the big mem patch included.
 
  • Like
Reactions: Effsi

xfilemanx

Senior Member
Jun 2, 2011
211
10
Kansas City
Even though it's already in the instructions, I just wanna give a bit more insight on the swapper: Flash swap2nexusmodem (Or Epic modem if you're going for that) > flash NS4G or Epic modem of choice > Flash Effsi or didhiy corresponding modem kernel of choice (if swapping to nexus modem, flash nexus kernel (didhiy's nitest-jb42_NR-twrp-0308 or Effsi's NitestXFc-4.2Nm-0308), or if swapping to Epic modem, flash Epic modem and one of their Epic kernels)

Kind of like this?
The files and flash order?
 

wakkigy

Senior Member
Feb 10, 2010
74
8
Sorry, but I couldn't figure out what is the new file to flash for CM10.1 with NS4G modem.

I am currently using still NS4Gmodempatch_CM10.1_AIO(nitest0125) which is working ok until the latest CM10.1 nightly which has the SU built in and after flashing the patch, it would remove the option from the menu. I also had some issue with the BT disconnecting.

So, I am trying to update to the latest patch but the last one I see is for AOKP 4.2.2 (AOKP unofficial mar-03-06-ns4g)

I know there is also posts for the latest nitest 0308 update, but flashing that alone does not seem to work either :(
 

xfilemanx

Senior Member
Jun 2, 2011
211
10
Kansas City
Sorry, but I couldn't figure out what is the new file to flash for CM10.1 with NS4G modem.

I am currently using still NS4Gmodempatch_CM10.1_AIO(nitest0125) which is working ok until the latest CM10.1 nightly which has the SU built in and after flashing the patch, it would remove the option from the menu. I also had some issue with the BT disconnecting.

So, I am trying to update to the latest patch but the last one I see is for AOKP 4.2.2 (AOKP unofficial mar-03-06-ns4g)

I know there is also posts for the latest nitest 0308 update, but flashing that alone does not seem to work either :(

I've been using NS4Gmodempatch_CM10.1_AIO(nitest0215) which works great for me.
 

mordant23

Senior Member
Sep 13, 2010
113
28
I've read through this thread and it seems that I sometimes get the modem and kernel patched correctly and sometimes I get unknown baseband. After starting from scratch again on the March 13 nightly, should I flash:

1. Nexus LF2 radio in the nexus modem thread

2. Nexus modem switcher by effsi

3. Effsi's nitest kernel Nxs 0308m kernel.

When I update with Cyan Delta, do I then do the steps 2 & 3 after the update?

Sorry for asking but it seems I didn't understand the files and order to flash when updating. I had to completely redo my phone to get baseband back.

Sent from my SPH-D700 using xda app-developers app
 

iamterence

Senior Member
Feb 10, 2010
2,735
1,166
Baltimore, Maryland
I've read through this thread and it seems that I sometimes get the modem and kernel patched correctly and sometimes I get unknown baseband. After starting from scratch again on the March 13 nightly, should I flash:

1. Nexus LF2 radio in the nexus modem thread

2. Nexus modem switcher by effsi

3. Effsi's nitest kernel Nxs 0308m kernel.

When I update with Cyan Delta, do I then do the steps 2 & 3 after the update?

Sorry for asking but it seems I didn't understand the files and order to flash when updating. I had to completely redo my phone to get baseband back.

Sent from my SPH-D700 using xda app-developers app

Flash rom > Gapps > Modem Swapper (It actually DOES NOT matter which order you do it in, but I always like to flash the swapper first) > LF2 Radio > Nxs kernel > Reboot

The Cyan Delta update shouldn't touch anything, but I would just use TWRP Recovery for all the flashing and at least see if the modem patch took first before messing with anything else.
 
  • Like
Reactions: mordant23

mordant23

Senior Member
Sep 13, 2010
113
28
Flash rom > Gapps > Modem Swapper (It actually DOES NOT matter which order you do it in, but I always like to flash the swapper first) > LF2 Radio > Nxs kernel > Reboot

The Cyan Delta update shouldn't touch anything, but I would just use TWRP Recovery for all the flashing and at least see if the modem patch took first before messing with anything else.

Ah so then after the Delta, I don't need to update the radio and kernel? Thanks a bunch!


Sent from my SPH-D700 using xda app-developers app
 

Shinydude100

Senior Member
Feb 24, 2011
1,588
457
Dallas
I've had this problem in the past... which is why I strayed away from using Nexus Modems.. as I try again, I have Data and Texts working, but no calling. Says: Voice Calling Not Supported.

I flashed Nitest Kernel and that alone gave me unknown baseband, so I figured since my laptop isn't near me, i'd proceed when I realized the nitest was for nexus (least the one I flashed anyway 03/08 NR.)

I then flashed AIO - came back with correct baseband showing but still an issue of voice calling not supported.

Flashed Nexus modem twice, wiped dalvik and cache, then reflashed aio. No dice.

Sent from my SPH-D700 using xda premium
 

Top Liked Posts

  • There are no posts matching your filters.
  • 70
    Hi, I made this thread because people have been asking me what to do to make a ROM compatible with the Nexus S 4G modem and RIL, so I made a flashable zip so you can use the modem and RIL on any CM7 based ROM (like MIUI or JoyOS or whatever you fancy).

    Note: If using a ROM not on this list, use the closest cm patch corresponding to the os and then download the phone and settings apks from the nexus s 4g Roms and either put them in the zip or push them. That way, roaming and update prl and profile will work.

    I included the KL2 modem in each AIO zip. If you do not like it, or would like to try other modem files, try the flashable zips here: http://forum.xda-developers.com/showthread.php?t=1077168

    CM7
    just flash the zip below (made by nashdogg and I)
    http://d-h.st/dGR
    I added the nexus audio drivers in kernel and lib, and I also added voodoo color, voodoo sound, and Battery Life Extender.

    CM9 (Roaming Fixed) Instructions:
    Just flash this in CWM. Custom kernels are available in the 2nd post. http://d-h.st/U1L

    AOKP ICS (by Nashdogg)
    http://d-h.st/vVP

    Jellybean patches thanks to dropple, nashdogg, andy_nu, and didhiy ( newest patch as of 12/5/12 with nitest didhiy 1124 kernel voodoo color)

    PA 2.54 AIO ns4g modem patch- http://d-h.st/CQm

    CM10 AIO ns4g modem patch- http://d-h.st/96W

    AOKP-JB Build-4 AIO ns4g modem patch- http://d-h.st/t4n


    CM10.1 http://d-h.st/i9s

    Universal

    http://goo.im/devs/effsi/misc
    these should allow you to switch back and forth between the epic modem and nexus modem.

    what it does :
    installs blobs related to the modem
    edits build.prop lines to match the modem
    -should- work with all current versions (2.3 through 4.2.2)
    -should- work with all roms that support switching modems (aokp, cm, pa, pac, baked, hellybean, etc...)

    what it doesn't do :
    it does not install or change the actual modem itself.
    it does not install or change the kernel.
    it does not backup anything.
    it does not replace any apks.
    it does not perform any tweaks or extras of that sort.
    it does not fix issues in the system ie if 4g isn't working in the kernel this installer won't magically fix it or inversely break it if it works.

    so that means you will need to install the modem itself (through zip or the MORE RECOMMENDED METHOD OF ODIN)
    and that you will need to make sure you are on a proper kernel that supports your modem of choice.

    Ex... on stock aokp4.2.2 (which is epic modem by default) to switch to the nexus modem you would flash kernel of choice for nexus modem (didhiy/mine), then modem with recovery or odin, then flash swap2nexusmdm.zip
    Ex2... on ck10.1 (which is nexus modem by default) to switch to the epic modem you would flash modem of choice with Odin or recovery, then any kernel that supports epic modem and then flash swap2epicmdm.zip


    Note: These instructions are a bit different than effsi's as the order of flashing does matter when on an epic modem ROM and kernel as the modem flash is dependent on kernel drivers that are not present in epic modem kernels.

    Any Nexus S 4G modem can be used but the one included is supposedly best. Try any other one and let me know if it works better

    My kernel sources are at https://github.com/xboxfanj/android_kernel_samsung_victory in the gingerbread branch so if you want to make a kernel based on that or cherrypick the patches in my kernel into another kernel, you are welcome to.
    Use my commits and bbelos' commits at https://github.com/nexussense4g/android_device_samsung_epicmtd in the crespo-modem branch to get GPS and modem working on any ROM.

    Thank you to didhiy for adapting the patches that bbelos and I made. For support for Update PRL and Profile, you need to copy some of the overlays from the Nexus S 4G device sources.

    Thank you to bbelos, coolya, the CM SGS team, CM Nexus S team, AOSP, Samsung, Google, and me for making this patch.
    15
    Custom CM9 Kernels (note these are not all in one zips, so if you choose to flash these, you must also flash the AIO if you haven't already, and each time you upgrade builds, you'll need to flash the aio and the custom kernel if you still want it):

    Nyan:
    http://marcusant.com/android/epic/nyan_CM9-CrpMdm.zip

    Shadow: http://marcusant.com/android/epic/Shadow_CM9-CrpMdm.zip

    Anyone is welcome to include this patch in their rom, just as long as you give all the contributors credit.

    And also, if someone wants to make this for cm9, that'd be awesome. Use bbelos's crespo-modem branch in his device repo and use his crespo-modem branch in his vendor repo.

    Then use my kernel patches at my github and make a full cm9 build and if it works, release that build and release a patch like mine with kernel, and ril bins, libs, and etc files, and build.prop and everything outside system like the mtd scripts and modify updaterscript so it works, or just use my metain folder

    Sent from my SPH-D700 using Tapatalk 2
    10
    First! Sweet, I always wanted to do that. :- )

    And thank you so much xboxfanj for continuing to make this the phone that might never die! You and all the other great devs are definitely making it easy to
    wait to upgrade to a new phone. Keep up the good work, and thanks again.

    No problem. Glad you enjoy it. If there's ever anything you would like for me to port or do, PM me and I will do whatever I can to make it happen.

    Sent from my SPH-D700 using Tapatalk 2
    10
    I updated a patched stock kernel for cm10 nightly 0918 & after on nitest kernel thread.
    9
    Re: NS4G modem patch on CM7/9/10 based roms, nightlies and previews- 1/12/13

    NS4G Modem Patch for 4.2.2

    http://db.tt/E9i3nrqh

    NS4G Reverter for 4.2.2

    http://db.tt/Y0BVB4MQ

    Thank You all :)

    Nashdogg, hope your daughter get well soon, so you can provide the patch again :)

    Sent from my SPH-D700 using xda premium
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone