yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini General] IronRoo:
Poor you! I've been worried about breaking a pin ever since I've had my Mini as I have to put USB in at a slight angle and it's still feels like it catches a little, did you have this too? I thought it was just my phone.

Thanks for still uploading the new modems. :good:

---------- Post added at 04:29 PM ---------- Previous post was at 03:39 PM ----------

Interesting, mine was also doing this, well I assume, as quite often I would receive some messages as soon as I touched a button on phone, it only happened a few times but too often to be a coincidence. So I thought it must be some power saving "feature" on WIFI, I wasn't bothered as it only seemed to be a max delay of 3-5min (though that's just a hunch as I never tried to test) if the phone had been inactive for a while. I also have WIFI set to "always on" & battery in "balanced" mode.
[Galaxy S 4 Mini General] iordache_srn:
the same for me
[Galaxy S 4 Mini General] redjamesg:
Actualy I have altered the phone, originaly I added wireless charging permanently, but a few month ago my son decided to play a bit rough with it, and the wires came lose on the USB connector.

A week ago I re-soldered the wires, and unfortunately yesterday was the first time I tried a data connection to the phone, I assumed the USB was OK since it was charging as it should, but it seems somehow one of the data pins have been damaged.

If you need to change the USB board in the phone, you have to make sure the part you order is the right revision (in mine it's revision 1.2), if they dont match the antenna chip can be of a different sort that won't work with your phones hardware. (I know it sounds strange, but thats the common conclusion between those who have tried it)
[Galaxy S 4 Mini General] IronRoo:
Thanks very much for the info re the rev number as I fully expect to have to replace the USB at some point (or maybe it's just that my mind is clouded by a product I was responsible for which had problems with metal fatigue on USB connector :o, not my fault I just had to find a solution!).

Your tutorial was interesting, I had assumed the coil was external but I like your internal solution. I might give it a try one day, if I ever get my ESD workstation set up again! Sounds like you give your S4 Mini a real hard life! :D
[Galaxy S 4 Mini General] gfogger:
I don´t know if this website is knowen ...?

`https://samsung-firmware.org/de/model/GT-I9195/
[Galaxy S 4 Mini General] iordache_srn:
i changed my modem version to b1 since i saw that this version is made by (for) vodafone italy----my case here---but the wifi "problem "remains....when lock the ohone after some time the wifi enters in sleep mode i think and the message arrives when i unlock the phone---also i saw that b1 version and all modem versions are made for android 4,4,2 ----maybe here is the problem---android 6 has doze and it acts different than android 4.4.2----my opinion
[Galaxy S 4 Mini General] IronRoo:
Yes, I noticed the CPB2 modem was from Vodafone Spain (well probably as it was the only one I could find on other file hosts sites) but it's working fine for me here in Australia so far (on TPG which now uses Vodafone 4G network).

I am on 5.1.1 (CM12.1) I do seem to suddenly get msg when I press a button after phone has been off a while, but I still get msg (eg WhatsApp) "normally" I think, so there can be a delay .... 10min? (read this can be up to 20min on wifi & 28 mobile). So I think it's normal. Actually I think I only noticed this "delay" since I got switched to Vodafone 4G, but that doesn't seem to make sense based on following link......

See http://www.technorms.com/44486/fix-delayed-notifications-issue-on-android

Doze on Marshmallow Android 6 does seem to be causing people to not get msg etc immediately, but in batches (which is exactly how it's meant to work).

So I don't think it's a modem issue

---------- Post added at 01:43 AM ---------- Previous post was at 01:14 AM ----------

Yes, some people have used it
[Galaxy S 4 Mini General] iordache_srn:
you are right....no difference between b1 and b2---they act the same---i only installed b1 just to b sure that not the modem version is the problem...but on mobile network 4g the message arrives immediately on the wifi arrives when i unlock the phone.
[Galaxy S 4 Mini General] IronRoo:
On newer versions of Android they have implemented power saving poll "PS-Poll" (PSMP,WMM, UPSD etc) This is because WIFI will use a lot of power when connected even if no data is sent, but mobile data will use very little power when no data is being sent, therefore the wifi will "sleep" while mobile data does not have to in order to still use low amount of battery. But polling should happen about every 500ms or so (I think). It will also depend on your router so problem may be there (is it running older protocol?)

What should happen is your phone tells your wifi router it will go to power saving mode, router then buffers data until phone makes contact again at preset interval, then sends all data packets, then repeats.

It sounds like your phone/router has an issue as it's not polling properly (not sure about mine yet, I get messages over wifi fine normally but not sure if sometimes an extended delay as I have definitely had messages only arrive when I press a button, I've even seen the wifi icon start then msg arrive).

Maybe you should start a thread with this issue, so we don't hijack this modem thread (seems like it's not a modem issue).

BTW do you run phone in power save mode? Not sure about Android but with computers running power save mode can mean a laptop never tries to make contact with router, you have to do it manually
[Galaxy S 4 Mini General] iordache_srn:
my phone is on balanced mode----about router i dont know..but the messages arrived normally on stock 4.4.2+ baseband cnj6----after the update to b2 a saw this behaviour.its ok i will not post another thing about this issue....i only posted here because only after update i saw the behaviour and i thought that maybe someone else saw it.no problem
[Galaxy S 4 Mini General] MadDoc09:
Sorry for the beginners question, how do I get the tar file out of the MD5?
[Galaxy S 4 Mini General] redjamesg:
You just rename it.
[Galaxy S 4 Mini General] dan_dv:
I have an GT-i9195 with CM 11 installed (Android ver 4.4.4). I live in Sweden (Europe) and my baseband version is I9195XXUBNB3.

What is the latest/recommended modem file for this version/country?
[Galaxy S 4 Mini General] IronRoo:
latest XX

(currently it's I9195XXUCPB2)

(See this thread for more info http://xdaforums.com/showthread.php?t=1356325 or http://ykkfive.blogspot.com/2011/11/samsung-firmware-code-reference.html)
[Galaxy S 4 Mini General] samruffo90:
problem

Hello everyone, I can not replace my modem via odin, despite on it give me the green written PASS, when you restart the phone modem remains that stock :(

there is another method for flashing the modem?
[Galaxy S 4 Mini General] S3miniFin:
You have to do with ODIN twice in download-mode(need reboot to download mode after first programming), then success. Read first post and try again.
[Galaxy S 4 Mini General] masantula:
Just a random question, i have the 9195, stock rom of 4.4.4, never rooted and the Baseband version i have on my phone is I9195XXUBML4. Can i use the above stuff to flash on my phone? IF yes then which android version would i have? Is there another more update stock ROM for this phone? Thank u
[Galaxy S 4 Mini General] S3miniFin:
If you talking about modem update, do after tested new rom i daily usage. Need choose correct modem update for installed rom version. But you don't have to do any modem update, rom included modem.

But if gonna do modem update in some day, this thread and first post here is for you. Not depend what rom using....
[Galaxy S 4 Mini General] masantula:
Thanks for clarifying this.
[Galaxy S 4 Mini General] o0chtm0o:
Hi people,

Has someone noted any significant difference between CPA and CPB modems??

Has anyone compared them??

Thank you very much for sharing your experiences!
[Galaxy S 4 Mini General] redjamesg:
I havnt noticed any significant difference, but I remember one noting that WIFI seems to connect faster on CPB.
[Galaxy S 4 Mini General] ablabla:
Hi All,

I have flashed CPB2 on my phone (i had CNK1 before), and after flashing, the WIFI couldn't be switched on, but everything else works fine (bluetooth, 3G, 4G, etc).

I flashed CPB2 twice, as per instruction.

Is there any extra step which needs to be done?

Anyone care to comment?

Thank you guys!

.A.
[Galaxy S 4 Mini General] redjamesg:
I am currently running CPB2, and haven't noticed any problems with WIFI, one issue I have seen is om CM13 once in a while you have to toggle on/off before it connects, where the recognition seems to be stuck in a verifying, connecting, discovered loop, but that has been seen on all modems I've tried with CM13.
[Galaxy S 4 Mini General] iordache_srn:
Start Odin. Untick checkboxes Auto Reboot and F. Reset Time. All other settings leave unchanged! Do not enable Re-partition!

i think i made it without untick repartition...

what now.? is this a big problem?
[Galaxy S 4 Mini General] savvy1968:
http://xdaforums.com/showthread.php?t=2545784
[Galaxy S 4 Mini General] mike2nl:
Hey bro, long time no see.

How are you and whats going on on your side with android?
[Galaxy S 4 Mini General] savvy1968:
fine bud and you?
[Galaxy S 4 Mini General] mike2nl:
Very well after my 2nd heart attack, but things go up and i'll be back now ;)

Hope i will see you more often here ...

Android = take a look to my signature, very busy the last three weeks ...

->I know it's a little bit OT but we are oldies here on XDA <-

BTW: your thanks meter is still higher then mine, lol ...
[Galaxy S 4 Mini General] savvy1968:
Ive just added another to your meter lol glad your fine now bud.

im more on G+ now but still come on here to see how the little people live lol
[Galaxy S 4 Mini General] mike2nl:
Thanks ;).

What's your G+ address, or avatar name?
[Galaxy S 4 Mini General] savvy1968:
https://plus.google.com/u/0/communities/107561289774404004127
[Galaxy S 4 Mini General] JimmyRay:
Hello chaps,

Is it possible to flash the modem without using Odin or Heimdall, but from within the phone itself, for example via MobileOdin or FlashFire?

Cheers,

James
[Galaxy S 4 Mini General] redjamesg:
[MENTION=5931546]JimmyRay[/MENTION] In short, no it is not possible.
[Galaxy S 4 Mini General] JimmyRay:
Okay, thanks!
[Galaxy S 4 Mini General] JimmyRay:
Hello again,

My I9195 is currently using baseband COG1 with CM13 stable.

Is there any benefit in updating to baseband CPB1?

Are there any known changelogs that explain the differences between each baseband?

Please note that I am based in Japan - the S4 mini was never officially marketed over here, however the regular S4 was...is there any possibility of using the S4 modem with the S4 mini?

Thanks!
[Galaxy S 4 Mini General] redjamesg:
S4 modems won't work with the S4 mini sadly, there is no changelog available for the different modems, but the changes in the modems from COG1 to CPB1(2) is about 7 month of development on the software (OG - 2015; 7.th month ( 1 - first compile)) (PB - 2016; 2.nd month (1 (2) - first / second compile))
[Galaxy S 4 Mini General] IronRoo:
Ohayo

I saw a big improvement in the quality of voice calls on one modem update, though this may have been more due to previous modem being poor on my phone than the upgrade itself. There must be a benefit to updating to CPB1 ....... 'cos it's newer bro :p Seriously though there should be some benefits even if they are not immediately obvious like better performance over LTE, maybe even security. There are no changelogs that I know of.

No you CANNOT use the modem for the S4 in the S4 Mini. You must match the model number exactly, so I9195XXUCPB2 is only for the I9195. (I use XX baseband here in Australia on CM13, but best you match to your current baseband region to be sure it works, but have read you can use different regions so long as modem supports the same frequencies as your region/carrier transmits on, but do your own research before flashing a different region)
[Galaxy S 4 Mini General] JimmyRay:
Thanks for replying!

Yeah, I expected that the regular S4 modem would be incompatible, but read elsewhere that it could work so wanted to double check in this 'official' thread.

I will try to flash a newer modem and see if I notice any improvements.

Cheers!
[Galaxy S 4 Mini General] JimmyRay:
Well, I successfully updated to the CPB2 firwmare yesterday using Heimdall.

Thanks to [MENTION=4664705]redjamesg[/MENTION] for hosting the files, and to [MENTION=4643283]GNUDroid[/MENTION] for the Heimdall explanation.

I did not notice any improvement or deterioration in call quality, and everything still works as it did. ;)

Cheers,

James
[Galaxy S 4 Mini General] McClane13:
New BaseBand XXUCPD1

I9195 Database

I9195XXUCPD1_I9195ATLCPB2_ATL

If anyone is interested, you can grab it from here:

I9195XXUCPD1.tar.md5

no changelog, as usual...

but I've had no problems whatsoever with wifi or LTE for 4+ hours so far

[MENTION=4664705]redjamesg[/MENTION]

If it's not too much trouble, please verify that I've done everything right (I've used this),

or post your own how-to if you wish, that would be most helpful,

and of course you're welcome to add the file to your collection.

Screenshot
[Galaxy S 4 Mini General] redjamesg:
Thanks for extracting the modem [MENTION=7478875]McClane13[/MENTION]

I haven't used the Tar.Md5 packager, I run Linux and use the normal tar/md5sum on that to create the package, but I wouldn't expect the Tar.Md5 packager to do it any other way.

I just have to remember the commands needed, where as you just select it from the menu, the package itself looks sane so no worries...

Anyway I have added it to my selection aswell.
[Galaxy S 4 Mini General] McClane13:
Ok, thanks, but I've had no luck trying the manual way,

so if you could please clarify the general procedure.

That's what I've tried so far: I extract the contents of tar.md5 stock rom using 7-zip,

I create a tar archive with 7-zip with these files (NON-HLOS.bin, rpm.mbn, tz.mbn),

but how do I generate the tar.md5 file with the correct md5sum?

If I just rename the tar archive to tar.md5, odin throws an error about invalid md5sum (and rightfully so)...

Thanks in advance
[Galaxy S 4 Mini General] redjamesg:
if you have the md5sum program, you would run the command:

# md5sum -t your_tar_archive.tar >> your_tar_archive.tar

Then rename the file to tar.md5

-t creates a BSD style md5sum that is appended to the tar archive, Odin checks if the last line of the tar archive is an md5sum that matches the md5sum of the archive prior to flashing.
[Galaxy S 4 Mini General] iordache_srn:
is this for s4 mini LTE i9195 ? thx here is not stated s4 mini LTE https://samsung-firmware.org/model/GT-I9195/
[Galaxy S 4 Mini General] :
Yes, see the name of this thread.
[Galaxy S 4 Mini General] JimmyRay:
Curiousities about modem/baseband files

As I understand it, the modem/baseband is a piece of firmware that controls the communication radios inside the phone.

However, if this is indeed the case, why is the file so large? What kind of data makes up this ~50mb file?

Also, who is developing/building these newer modem/baseband files - is it Samsung or the phone operators themselves?

Cheers!

James
[Galaxy S 4 Mini General] IronRoo:
Modems need to be able to use multiple protocols to to work in multiple countries and with different carriers so there is a lot that has to go in there, modems even have their own operating system, though it's small

see the following for a quick insight

http://www.androidauthority.com/smartphones-have-a-second-os-317800/

and

http://www.explainthatstuff.com/mobilebroadband.html
[Galaxy S 4 Mini General] JimmyRay:
Thanks for the links IronRoo - interesting stuff indeed!

So, it could actually be the baseband manufacturer (Qualcomm?) updating this firmware?
[Galaxy S 4 Mini General] McClane13:
more info regarding the modem inside nexus 4 (circa around the same time as s4 mini but with beefier hardware)

http://www.anandtech.com/show/6541/the-state-of-qualcomms-modems-wtr1605-and-mdm9x25

I'm guessing qualcomm provides the modem hardware specs and reference generic code to samsung

and afterwards samsung is tweaking the code to their and the big carriers' liking.
[Galaxy S 4 Mini General] JimmyRay:
Thanks for the info.

Just updated to the CPD1 baseband too.

Cheers,

James
[Galaxy S 4 Mini General] ladislav.heller:
And the CWM/TWRP flashable version made by Me here!

Note: Not tested in TWRP.
[Galaxy S 4 Mini General] spitya:
Thenks :good:
[Galaxy S 4 Mini General] ladislav.heller:
Spitya, please add it to first post in this thread. Thanks!
[Galaxy S 4 Mini General] jasio2k:
hi I try cwm flash metod, but not work for me. looks like flash finish without any problem but no changes in baseband number after restart.
[Galaxy S 4 Mini General] spitya:
ready ;)
[Galaxy S 4 Mini General] Darktitor:
Don't work get status 7 with Philz Advanced Recovery

Envoyé de mon GT-I9195 en utilisant Tapatalk
[Galaxy S 4 Mini General] JackyJack:
Are the Modems country related ?

I have XXUBMJ7 and tought it was for XEF (France) only.

Thanks
[Galaxy S 4 Mini General] spitya:
use this: recovery-clockwork-6.0.4.5-serranoltexx.tar.zip this good :good:
[Galaxy S 4 Mini General] radicspeter:
Me too, but if we flash it our phone, the modem will change only the baseband number stay in the "old" status. But it's now the new baseband!

The developer try to find this little "bug" his flashable zip and immediatly repair it if he know. ;)

Let's thanks him his work for us!
[Galaxy S 4 Mini General] junkyde:
maybe try flashing cwm package a couple of times in a row like with odin.
[Galaxy S 4 Mini General] ladislav.heller:
Or wait until I'll finish the new ROM which will inculde also the modem ;)
[Galaxy S 4 Mini General] shayne77:
Isn't there more files needed than just modem.bin?

Ril files etc?

---------- Post added at 04:17 PM ---------- Previous post was at 04:12 PM ----------

https://docs.google.com/uc?authuser=0&id=0Bwt_FvteRPD7cHI1dW5ZSGtLMzQ&export=download
[Galaxy S 4 Mini General] ladislav.heller:
Probably yes. In the build.prop file there is line

rild.libpath=/system/lib/libril-qc-qmi-1.so

So I tried to replace libril-qc-qmi-1.so on my phone to the ML4 version, restarted phone but still no change.

We can try to replace also these files:

libreference-ril.so

libril.so

libril-qcril-hook-oem.so

libsecril-client.so
[Galaxy S 4 Mini General] s.goten:
by my experience I think that flashing the modem under odin it updates the modem data but not the modem info (i suppose this because with old modem i didn't had LTE item in network settings, flashing the new modem LTE item appeared but the info said that I still had the old modem).

anyway, the way to fully update modem (data+info) is to flash modem twice.

under odin untick autoreboot, flash modem, reboot and go immediately in download mode again. reflash the modem in the same way, reboot and let the phone turns on normally. now the modem should be updated fully.

maybe this way could works also flashing under cwm (flash zip twice without turn on the phone after the first flash) but it's only a supposition.

bye :)
[Galaxy S 4 Mini General] ladislav.heller:
Yes, I think the same.

BTW, my version of modem update also works from TWRP!
[Galaxy S 4 Mini General] ZockyMcZock:
Flashing the modem with cwm does not work for me. Flashing it two times does not help either...
[Galaxy S 4 Mini General] ladislav.heller:
Flashing with CWM works for you, trust me! ;)

One thing is the binary file which is flashed and another thing is, what Android reports in the system settings.

BTW you can check the following:

Unpack the modem.bin file from the package and open it in Total Commander by pressing F3 key. Next press Ctrl+F, search for xxubml4 string and voilá: The result speaks for itself! ;)
[Galaxy S 4 Mini General] angelsanges:
hi all! i flashed your latest version modem on my i9195....

my phone i sono rooted! now im unable to activate WIFI because of a knox message.....

ho i can solve this?

thanks
[Galaxy S 4 Mini General] spitya:
Run recowery: I9195-debloat-v4-knox-removed-spitya.zip

No more KNOX message ;)
[Galaxy S 4 Mini General] oviradoi:
I flashed the CPD1 baseband and now my wifi does not start anymore. When I tap the wifi button, it turns green then it immediately turns grey again. How can I fix this?

I am using the stock CNK1 firmware. Only the baseband has been updated to CPD1.

EDIT: I tried flashing the CNK5 modem and I still had the problem. After that, I flashed the CNK1 modem and the wifi got fixed. It looks like my phone does not like the newer modems. If anyone has an idea why this happens, I would love to hear it.
[Galaxy S 4 Mini General] McClane13:
That's exactly the behavior I noticed as well, but only on Stock Roms.

I was using I9195XXUCOL1 Rom for a while and I thought I should try updating the baseband, but I tried two or three newer basebands and couldn't turn the wifi on, so I went back to the included one.

About a month ago, I flashed through Odin the I9195XXUCPA1 Rom with the CPA1 baseband, and noticed that CPB1 and CPB2 basebands had the same problem too, only the CPA1 baseband worked.

So I guess the Stock Roms are a little picky about basebands and Roms.

(I think the downgrade to an older baseband than the Rom does not have the same problem, but what's the point?)

Others have reported that turning Airplane Mode on and off a couple of times and/or rebooting fixes it, but that did not work in my occasion.

But, on CM13 I have successfully updated from CPA1 to CPB1, CPB2 and CPD1 without any problems whatsoever.

Hope it helps.
[Galaxy S 4 Mini General] JimmyRay:
Yes, same here.

I flashed CM13 immediately after receiving the phone last month and have not experienced any problems with the latest modems.
[Galaxy S 4 Mini General] mrtaliman:
Hello everyone,

I think the links in the first post are broken. Could someone reupload the modem files please?
[Galaxy S 4 Mini General] redjamesg:
Since [MENTION=3027165]spitya[/MENTION] seems to have abandoned this thread and hasen't responded to any inquiery from me to change the OP.

Please look at my last mention of my repository.
[Galaxy S 4 Mini General] ladislav.heller:
As far as I know [MENTION=3027165]spitya[/MENTION] sold his device.
[Galaxy S 4 Mini General] :
Maybe it's best if you start your own new thread?
[Galaxy S 4 Mini General] redjamesg:
I belive to have been told that also.

Since you are not the first person to say this, I have decided to create my own thread, for future references this is where my main focus will be.
[Galaxy S 4 Mini General] amar2cool99:
Can i flash it on France version mobile.
[Galaxy S 4 Mini General] redjamesg:
If it's a GT-I9195 and not GT-I9195I then it will work on yours aswell.
[Galaxy S 4 Mini General] amar2cool99:
Its I-9195 but wifi not working now i am on kitkat
[Galaxy S 4 Mini General] Diresh:
Your modem must match your firmware version on the stock rom
[Galaxy S 4 Mini General] bakeLit:
Sorry for my laziness, but I'd rather ask since I don't want to mess things up. I was recommended to flash my modem after complaining about battery drain in CM13 on my S4 mini LTE. What modem should I go for? Thank you very much! I'm based in the Czech Republic.
[Galaxy S 4 Mini General] redjamesg:
What modem have you got?

I would usualy recomend the latest one, I9195XXUCPE1, but since it's battery drain on CM13 I have seen excellent performance with I9195XXUCNK5, how ever the one I have been running lately on my CM13 is I9195XXUCPB2.
[Galaxy S 4 Mini General] bakeLit:
I'm currently on UCNK1. I will try the latest one at first that I found in your wealthy repository, then make any further decisions. Thank you!

---------- Post added at 11:37 AM ---------- Previous post was at 11:15 AM ----------

Well, after flashing the latest modem (twice), my baseband now says "Unknown" and I'm not receiving any signal. Any further suggestions?
[Galaxy S 4 Mini General] redjamesg:
Is the phone info reporting CPE1?

Can you read out your IMEI number from the phone?

You could try flashing one of the COL versions, othervise I'm afraid you might destroyed your IMEI info.