yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] didhiy:
I assume you wanna use crespo4g modem on your kang cm10 0808 build

maybe this will simplified

flash this file on cwm

http://dl.dropbox.com/u/820341/nexusmodempatch-CM10-0808.zip

reboot to recovery

or turn off then go to recovery mode

flash the modem from here

http://xdaforums.com/attachment.php?attachmentid=881661&d=1328047073

reboot to system

done
[Epic 4G Android Development] Dropple:
Didhiy, any patch of the notification LED and charging LED? On sgtwol stock kernel, I don't see the LED

---------- Post added at 07:27 AM ---------- Previous post was at 07:20 AM ----------

On OP there isn't the patch, just the kernel?

If yes just the kernel, xboxfranj's must add the patch that didhiy's made
[Epic 4G Android Development] didhiy:
led notification tested works for me with all cm10 kernel + pa199 on go sms & gmail, I assume the rest will the same

the patch on OP made it all in one install zip with modem included, easier step but a little confusing to switch beetwen roms
[Epic 4G Android Development] Dropple:
how about charging LED, it will be turn on if i charge it when it off

thanks before
[Epic 4G Android Development] didhiy:
So it was normal, isn't it?
[Epic 4G Android Development] AOD_Corwin:
Don't mind me if I'm a little slow but I want to get this right since my work revolves around this phone.

On cm9 nightly 19 stock rom stock kernel

Flash patch

Flash radio. That's it. No need for a different kernel correct?
[Epic 4G Android Development] xboxfanj:
You need to flash one of the cm9 kernels in the OP too. The modem zip overwrites the kernel so the modem flash works.
[Epic 4G Android Development] Breezy357:
I'm on the kl2 modem and I wanted to try the other nexus modems. What happen to the page with individual nexus modems zips?

For CM7 Rom using nexus modems, that is.
[Epic 4G Android Development] joemossjr:
Just look up sprkl2 radio and there's a thread on xda for radios
[Epic 4G Android Development] Breezy357:
Thanks! My eyes were starting to hurt going through all these threads trying to find it.
[Epic 4G Android Development] AOD_Corwin:
Any particular order. I expect

Kernel

Patch

Then modem

---------- Post added at 05:07 AM ---------- Previous post was at 05:00 AM ----------

Downloaded cm9 stock from op. Hope that's right
[Epic 4G Android Development] AOD_Corwin:
916 down 635 up from san diego to witchita kansas. Not sure its faster or not. Ill try it a few days and see how it goes. What's the easiest way back. I made a cwm back up but that doesn't do the modem.
[Epic 4G Android Development] Robbie Doo:
check post #314. didhiy posted the files and the steps. that should do it.
[Epic 4G Android Development] Nashdogg:
CM9 A.I.O (All in one) Flashing back to fc09

DL:https://dl.dropbox.com/u/60122779/EPICmodempatchcm9AIO.zip

After you flash this flash any cm9 kernel(not an nexus

This is joemossjr's AIO zip. Give thanks to him.

Flash the AIO zip in cwm and then flash an unmodified cm9 kernel and reboot.
[Epic 4G Android Development] xboxfanj:
No, patch then kernel. No need for modem since the patch includes it, but you need to flash the kernel after since the patch includes a cm7 kernel.
[Epic 4G Android Development] Grompy:
I tired this several times now and am having no luck getting it to work. Every time it boots up with no radio. ( I get no service, no 3g, no 1x, I can get wifi though)

I've also tried installing nexuspatchcm7AIO from OP, then installing sgtkwol_CM10-CrpMdm.zip then KL2 modem. (Same thing as above.. no service, no 3g, no 1x, do have wifi)..

What am I doing wrong here? I don't understand.

During the radio flash my cell phone reboots is that normal?
[Epic 4G Android Development] joemossjr:
ok so flash sgtkwol_CM10-CrpMdm.zip first,reboot recovery flash the modem you desire the after that format everything install cm10 install gapps then install the patch and you should be fine
[Epic 4G Android Development] Ragnar:
The nexuspatchcm7AIO contains the radio already. No need to flash or Odin radio. After flashing this nexuspatchcm7AIO all you have to do is flash the appropriate kernel for your rom as this zip flashes a cm7 kernel. All depending on if you want to run a shadow kernel or Nyan kernel would be the next step. Then just reboot and enjoy it took but 2 minutes to do this on my wife's phone.

Sent from my Galaxy Nexus using Xparent Red Tapatalk 2
[Epic 4G Android Development] socos25:
If you're installing CM10 I am pretty sure you don't want to install the nexuspatchCM7Aio. You need the CM10 AIO.
[Epic 4G Android Development] omair2005:
it also contains a build.prop too, a gingerbread build.prop. This confuses me on why we would flash this on cm9 or cm10..
[Epic 4G Android Development] swiftstrike763:
The light doesn't come on when its charging. Is this normal?
[Epic 4G Android Development] Ragnar:
All I can say it worked perfectly on wife's phone. On cm9 and on the Crespo modem now.

Sent from my Galaxy Nexus using Xparent Red Tapatalk 2
[Epic 4G Android Development] omair2005:
check your build.prop. i'm sure it's optimized for gingerbread (ex: vm values)
[Epic 4G Android Development] Ragnar:
Will do as soon as she gets back, will report back.

Sent from my Galaxy Nexus using Xparent Red Tapatalk 2
[Epic 4G Android Development] Grompy:
Thanks for all the replies. I finally got it working by reflashing cm10-0808, gapps, booting into android, going back to recovery, flashing cm10AIO, booting into android (at this point my date/time was dec 2004 for whatever reason so I fixed it, but dunno if that had any effect), afterwards I went back to recovery flashed the KL2 radio and rebooted to android and everything was working. I'm not a fan of voodoo so I then went back to recovery flashed the STOCK kernel sgtkwol_CM10-CrpMdm.zip and reflashed the radio then rebooted to android. Viola cm10 non voodoo with nexus modem :)
[Epic 4G Android Development] Ragnar:
Sent from my Galaxy Nexus using Xparent Red Tapatalk 2

---------- Post added at 02:13 PM ---------- Previous post was at 01:23 PM ----------

Sent from my Galaxy Nexus using Xparent Red Tapatalk 2
[Epic 4G Android Development] xboxfanj:
Yeah thats gb. I thought didhiy was just gonna use my patch and throw a new kernel and build.prop in. If you guys want though, just use a CM10 build.prop, but delete the 40 where it says rild.libpath=system/lib/libsec-ril40.so, so it says libsec-ril and uses the nexus file. And also add a # everywhere I did in the CM7 build.prop.
[Epic 4G Android Development] AOD_Corwin:
Had to reflash the modem this morning
[Epic 4G Android Development] zman519:
Ok i have been reading this tread a lot. But i'm still a little confused:confused:

I'm on cm9 stable

So i flash

this http://dl.dropbox.com/u/820341/nexusmodempatch-CM9.zip

then this http://xdaforums.com/attachment.php?attachmentid=881661&d=1328047073

From the OP?

I dont need to ODIN any thing?

Do i have to be on a certain Epic modem before i start?

also what kernel is the cm9 patch in the OP?

I kinda would like to have voodoo back ass long as i'm flashing a new kernel.
[Epic 4G Android Development] TracerBullitt:
Hi, I'm noob to this (heh) and wanted to make sure I got all this right before flashing.

It sounds like I go into recovery and:

Then I reboot into recovery and:

Is that correct, I flash both? Or is the one not necessary if I use the other or something. Also, after flashing, I assume its important to keep these files on my sdcard? (I try to remove random zips and other downloads if i no longer need them)

Lastly, I'm currently on the latest stable CM9 and wondered, what happens if I decide to flash a new nightly? Do I lose the modem or will something ...break?

Thanks

EDIT: Lol, I already started writing my post before ZMANS very similar one. But I guess we have the the same questions (tho, mine are a bit more noobish)
[Epic 4G Android Development] xboxfanj:
No need to flash modem. Flash patch and then kernel if you're on cm9/10. And if you flash a new nightly, you won't lose the modem, but you will lose the ril, which will mean you need to odin an epic modem or flash the patch and kernel again to get service back.
[Epic 4G Android Development] nikon120:
Yea this thread has turned into a big: "So what exactly do I need to do?"

Xboxfanj, could you clarify the OP with all the latest info that this thread consists of? I've read about an all-in-one zip, and other stuff. Many people are just outright confused on what the best (hopefully the easiest) method for getting a Nexus modem successfully flashed and our chosen rom working again.

:good:
[Epic 4G Android Development] TracerBullitt:
Thanks. Unsure about the "kernel" part. Are you saying to reflash the current kernel I have or is there a new kernel inside this zip. (Sorry, i feel stupid even asking this...)

And, just to be certain, your second answer was; if I flash a new nightly, I could just reflash the patch and kernel again (if I don't want to odin)?
[Epic 4G Android Development] JonMayer:
Edit: After playing for about an hour I think its working. I'm on CM9

Flash the modem patch

Reboot recovery

Flash the modem

Flash the stock kernel crpmdm

That was the only kernel that would work for me. I was hoping for some of the voodoo ones but they didn't work for me.

Samsung really sucks at modems. I can't believe the speed test results I'm getting now. (Previous results were around 100-200kbps)

[I can't get any of this to work for the life of me. If been flashing back and forth in every config I can think of. I'm also curious to know the proper way to do this after all the changes. ]
[Epic 4G Android Development] xboxfanj:
Sure.
[Epic 4G Android Development] xboxfanj:
Fixed, hopefully that's better. The way me and didhiy had it was confusing. Let me know if you need anything else clarified.
[Epic 4G Android Development] zman519:
Are there any bugs in the shadow kernel for cm9?

Rocking cm9
[Epic 4G Android Development] n2mschf:
I tried and tried for the last 3days by flashing the patch then the kernel and vice versa. (All the kernels for cm10) Always had the kernel stick but I had no data. I've restored so many nandroids I was beginning to give up on the whole thing. I felt dumb so I never spoke up...then a light went off, what if the patch didn't have they modem in it? So I went and found the nexus modem downloads and downloaded them all and flashed kl2 and BAM!...profit!

Outcome seems to be better signal and my internet seems to be getting snappier as time goes on.... Thx for all your tireless efforts guys for keeping this old phone cutting edge! Hopefully now my phone will work in my basement office and I won't have to go outside to make a call!
[Epic 4G Android Development] xboxfanj:
Yeah sorry the cm9 patch doesn't have the modem, I didn't know that since I didn't make it.
[Epic 4G Android Development] zman519:
Ok so

1) flash patch

2) reboot recovery

3) flash kernel

4) flash modem

???

Rocking cm9
[Epic 4G Android Development] n2mschf:
No problem Xbox... I'll forgive you this time, just try to keep things in better order next time! Lol... seriously tho, you guys are above and beyond for keeping this thing running better than new phones coming with ics and waiting for ota' s of jb. I mean seriously...flashing modems from cwm? Who would have thought...
[Epic 4G Android Development] xboxfanj:
flash patch, then reboot recovery, then flash modem. patch includes kernel on cm9.
[Epic 4G Android Development] zman519:
Sprint is messing with a tower in my AO & its really crapy right now. But I'm still guna flash & see if its better

Thank you xbox

Rocking cm9
[Epic 4G Android Development] didhiy:
Sorry about the messed up around :D you know because to support a lot different roms, xboxfanj & I had discussed the easy way to do that

but sometimes I didn't read the the op update to answer, so looks like the way of flash so different & add more people to get headache

I try to explain the basic function of the patch as a guide before flash

1. The ns4g modem (radio.pr.img), on earlier time we need rename it to modem.bin & need odin to flash, not anymore after some people came with best solution that it can be flashed from cwm. Now it included in aio cm7 patch zip.

>> Radio/modem as you know, will works on every patched rom (cm7/9/10)

2. The ns4g blobs, if we extract the zip we will see "system" folder, everything on there taken from ns4g rom except the build.prop.

>>This blobs will work on every patched rom too

3. The build.prop, it's taken from our rom with some changes by delete/uncommented lines related to RIL/telephony function.

>>This file better if taken from the rom before patch, but since the based cm will so it can be classified as cm7 (e.g miui gb), cm9 (aokp, stable/nightly, remics etc) & cm10 (kang 0730, 0808, pa 1.99) based rom.

4. The kernel (boot.img), actually it consist of zImage & ramdisk, both compiled & modified with patch from github on op with different config on cm7, cm9 & cm10.

>>Must flash cm7 patched kernel to cm7 based rom and so on...

Hope this will clarified that the op has done amazing job to bring bbelos & his patch to cover almost all roms :)

So this is a true P.O.C (he said that earlier on cm10 kang thread) lol
[Epic 4G Android Development] zman519:
Thanks. I have Nexus radio working. Well I need to call teat & sms test yet. But data & roaming are working

Rocking cm9
[Epic 4G Android Development] iamterence:
Did anybody try this out on MIUI other than me? If so, did your wifi get broken as well? I know there are some people on CM7 who's wifi didn't break after the modem upgrade... I just think my phone hates the update, hahaha. Or at least, my MIUI does. :(
[Epic 4G Android Development] xboxfanj:
Wifi is unrelated to modems, so it must be the kernel, perhaps you need the updated wifi drivers and modules. Open up my cm7 rom zip and miui, and go to system in both and then copy bin/wpacli, bin/wpasupplicant, etc/wifi, firmware, vendor, and lib/modules from cm to miui by just dragging and dropping. That should be all of the wifi files, so hopefully that'll fix wifi.
[Epic 4G Android Development] Grompy:
So when we flash the cm7AIO On cm10 and get a cm7 build.prop does flashing the kernel afterwards replace the cm7 build.prop with a cm10 build.prop? If not i really think op should include the cm10AIO that didhiy posted a couple pages back.

Just saying! :)
[Epic 4G Android Development] xboxfanj:
didhiy,

Could you add the CM9 kernel and CM10 kernel and build.prop to my CM7 patch so that its the same process for each? Just one zip to rule them all.
[Epic 4G Android Development] zman519:
Well every things work well for me. But sprint is all FUBAR my AO so I'll report back on data speeds & stuff when even I got out of the AERA & run some tests

Rocking cm9
[Epic 4G Android Development] n2mschf:
Anybody else experiencing a green hue on the screen, especially at wakeup? When I wake up the phone the screen is totally a bright green with my lock screen behind it then the colors come back to sorta normal. It's on sgtkwol w/vudu and shadow kernel...

I've messed with voodoo settings but it didn't change anything.
[Epic 4G Android Development] zman519:
Changer the voodoo color settings. This has been answerd over & over & over. Use search (not being rude just saying if you had searched you will find what you seek ;) )

Rocking cm9
[Epic 4G Android Development] Ragnar:
You flashed kernel with voodoo color support and your gamma settings or brightness are to low.

Sent from my Galaxy Nexus using Xparent Red Tapatalk 2
[Epic 4G Android Development] didhiy:
Ok :) here is the link

http://dl.dropbox.com/u/820341/nexusmodempatchcm9AIO.zip

http://dl.dropbox.com/u/820341/nexusmodempatchcm10AIO.zip

the kernel is the stock one
[Epic 4G Android Development] MДЯCЦSДИT:
Can't you just do a combo of setprop for changing the ril locations and getprop from installing either the cm7/9/10 kernel and make it all one zip?

Edit: was reading old posts... damn tapatalk
[Epic 4G Android Development] Dropple:
Thank you, I want to share this to my friends :)

..........

Marcusant was right about CM7,9,10 AIO:)
[Epic 4G Android Development] iamterence:
No go sir :(. Lol, it's all good though man, mad ups to you and everybody else that's in on this. Its so awesome that the Epic is still going on strong!
[Epic 4G Android Development] TracerBullitt:
Searched the forum and this is the only thing that looked like an answer. Earlier today (yesterday?) I flashed to an unofficial CM10 mod from CM9 stable. Things were working fine until I went to flash the patch in the OP.

...Things got weird.

I got the "Status 7" error each of the three times I flashed it. Reading that this caused bootup errors, I tried to evade it. ...Yeah, I dunno how I thought I could either. So, I had to take the battery out, boot to recovery, but I somehow had an older CMW rom? It wouldn't even show any of the new zips I had. Again, I dunno. Again, weird. So I managed to restore a CM9 backup and got everything back.

I'm ready to start over, CM10 and everything, but wonder, what can I do differently to avoid the Status 7 error. I'm thinking of wiping (cache/dalvic), but dirty flashing the CM10zip, then the NS4G patch, the accompanying modem, gapps, and rebooting.

(BTW, the explanation in the quote above kinda confused me. What and where is this BML CWM?)

---------- Post added at 05:23 AM ---------- Previous post was at 05:15 AM ----------

...Or could I just use this? Didn't see it in the OP.

At the risk of angering everyone who's apparently tired of green screen questions, how do I access these gamma settings (my brightness was pretty high)...
[Epic 4G Android Development] Dropple:
Voodoo sound on play store
[Epic 4G Android Development] styles420:
The correct answer is, "Google voodoo color to find out" - don't give him the fish, teach him how to fish ;)
[Epic 4G Android Development] UnicronAlpha99:
Dunno if flashing this made a speed difference... I live in a small town where Sprint's 3g speeds are roughly 56.6 kilobod lol. I don't think it's worse than the Epic Modem, but I don't know if it's gonna make much difference considering the 3g coverage where I am. Thank you for posting this mod... there hasn't been a lot of excitement for me as one of the few remaining cm7 users.
[Epic 4G Android Development] Dropple:
OK bro, just him to find out on Google about voodoo, but I have been answer the question.LOL:D
[Epic 4G Android Development] styles420:
Huh?
[Epic 4G Android Development] JonMayer:
I really want to use a different kernel than stock but every other one I've tried, the radio doesn't work.

Anyone get an alternative kernel with CM9 and this modem working? Please let me know the steps, the CM10 patches don't seem to work for me (or the kernel(s) I'm trying)
[Epic 4G Android Development] Dropple:
I never been tried the custom kernel on cm10, because I like stock kernel

Have you tried the cm10AIO zip?
[Epic 4G Android Development] omair2005:
thanks. i could replace the build.prop in cm9aio with the aokp one and just that over right?
[Epic 4G Android Development] AOD_Corwin:
Performance is great, but every morning since I have don this I have to reflash the radio. Going to do a clean install of the new nightly in about an hour to see what happens, but I'm open to suggestions
[Epic 4G Android Development] saramon:
K so I put the PA 1.99 build prop in the .zip, odined the new modem, put the updated .zip on there, and flashed... I get a black screen...
[Epic 4G Android Development] sgtkwol:
Shouldn't put stock build.prop into it. Check a few posts back, I asked what edits were needed. And I'm too lazy to open a new window and get exactly what needs changed.
[Epic 4G Android Development] saramon:
I used the version that was posted... it appears to have the changes already... build.prop-PA199.txt is what I used... was that wrong?
[Epic 4G Android Development] didhiy:
didn't need rename the zip file (but should ok)

make sure you drag the renamed build.prop on system folder, then flash the zip file on cwm or twrp

are you still could reboot to recovery?

try to flash pa 1.99, jb gapps again (no need to wipe) then flash the unmodified zip file, it should works except the lcd density set to 160
[Epic 4G Android Development] saramon:
Yup I can still reboot to recovery... I put the renamed build.prop on system, it over wrote the existing... I flashed the .zip with the new build.prop, and I get to a black screen...
[Epic 4G Android Development] didhiy:
ok, can you try to install the pa 1.99 & gapps again? if everything is fine (just no network) & you wanna try once again, just flash the unmodified zip file.. if it works, it's easy to edit the build.prop from the phone
[Epic 4G Android Development] saramon:
Reflashed pa, and gapps, and the unmodified .zip, it boots... and I get 3g... should I change the build.prop manually then...

Sorry, I think it was because I had a custom kernel installed (shadow) maybe, maybe not...

Edit... it is definitely the build.prop that is causing problem, manually changed it and back to black
[Epic 4G Android Development] didhiy:
so the problem maybe just because the zip file was not modified correctly (depends on 7zip or something, I did it on linux)

1.need to change this (uncomment)

ro.telephony.ril_class=EpicRIL

to

#ro.telephony.ril_class=EpicRIL

by add the # as the first character on that line

2. then change the

ro.sf.lcd_density=160 to 240

to match the stock value
[Epic 4G Android Development] n3m35155:
So if I am reading this right, if we want to test this on CM10 0808 version, we need to do the following:

1) Odin Crespo Modem

2) Replace the build.prop file in SYSTEM folder inside the nexusmodempatch-PA199.zip file with the one for CM10-0808.

3) Flash the now modified nexusmodempatch-PA199.zip file in CWM

4) Profit!!

BTW... The link in the OP for the modem.bin file is wrong.. take out the 's' in https:// etc.

I can't download it from this one but the other thread lists the link as http:// etc..

and I can download it on that one. I'm assuming its the same file since the path to it is the same.

GREAT WORK BRO!!!

Now I just wish I didn't have only POS samsung usb cables at home.. Have to wait till I get to work tomorrow.. :(

N3M3515

p.s. Any way to make the modem file CWM flashable like the modem delta files on epiccm blogspot?

i.e. Modem Delta flash file to go from EL30 to FC09?
[Epic 4G Android Development] saramon:
I manually copied over the build.prop... black screen again... will manually edit it like you said... should I also delete the other stuff that was mentioned on page 2?
[Epic 4G Android Development] xboxfanj:
Delta isn't possible since only samsung can make those.
[Epic 4G Android Development] didhiy:
are you edited it on windows with notepad?

I guess I must upload it with proper build.prop to avoid this case..

Thanks for testing :)
[Epic 4G Android Development] saramon:
I made the two changes using text editor built into root explorer, seems to be working now

Edit... getting MUCH faster 3g, thank you so much
[Epic 4G Android Development] n3m35155:
I was just thinking and looking at the updater script for the Delta modem file and saw these lines:

assert(package_extract_file("modem/modem_delta.bin", "/tmp/modem_delta.bin"),
write_firmware_image("/tmp/modem_delta.bin", "modem_delta.bin"),
delete("/tmp/modem_delta.bin"));

and it looked like there was a way to write firmware from within the updater script.

Thought maybe instead of specifying the modem_delta.bin file we could tell it to write the modem.bin file.

N3M35155
[Epic 4G Android Development] xboxfanj:
Perhaps. You can definitely flash nexus s 4g radios in cwm on their device, so perhaps you could on our device. I'm not sure.
[Epic 4G Android Development] saramon:
How do I go about updating my PRL and profile now... I don't see the option anywhere in PA... not sure about CM10...
[Epic 4G Android Development] didhiy:
need some overlay change on setting that build from source

hope that xboxfanj & sgktwol will work on it
[Epic 4G Android Development] xboxfanj:
I'll have to see how I did that. Its somewhere in the device source under overlays. Just look in the crespo4g device source and copy their overlay lines that seem relevant to that to our same files.