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://xdaforums.com/showthread.php?t=1077168
CM7
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
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.
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://xdaforums.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.
Last edited: