[MODEM][ODIN] Samsung Galaxy S4-mini GT-I9195 (Upd. Oct. 16. - 2017)

o0chtm0o

Senior Member
Feb 23, 2011
809
221
0
Nobody says anything about new CPE1 modem?
Or better said, anyone else can say something about it?? (MaChiMiB said it works good and has some better reception in Germany but that's all?? Any good comparison? :( )
 
Last edited:
  • Like
Reactions: crxvti

german_girl

New member
Jul 25, 2016
3
0
0
hi there,

i'm trying to fix my gt-i9195. i updated my encrypted cm 12 to cm 13.0-20160418 this weekend and since today it cant detect my sim anymore. my baseband-version is I9195XXUCNJ4.

I have twrp 2.8.7.0
how can i update the baseband on my encrypted s4 mini and make the phone work again?

Thanks :)
 

german_girl

New member
Jul 25, 2016
3
0
0
hey redjamesg,

thanks for your reply!
i dont know if my imei is still intact. if i press *#06# it shows an imei, but i dont know if its the right one.

here is what i have done:
1) i formated data and removed encryption, wiped everything
2) i updated to TWRP v3.0.2-1, downloaded from here
3) i updated my baseband with heimdall on linux to I9195XXUCOI4
4) i installed cm-13.0-20160418-SNAPSHOT-ZNH0EAO2NJ-serranoltexx.zip downloaded from here
5) i booted the fresh installed CM and checked my baseband: :confused: still the old baseband-version I9195XXUCNJ4
6) i went back to download-mode again and updated baseband a again, followed the instruction exactly - this time i tried to update to I9195XXUCPE1
7) i booted CM again and still.. old baseband :(

what shell i do now?
 

german_girl

New member
Jul 25, 2016
3
0
0
How do you update baseband?
Is it done twice?
-meaning boot to download mode, flash baseband, reboot directly to download mode and flash bseband once again.
exactly!
download mode, then sudo heimdall flash --MDM NON-HLOS.bin --verbose --no-reboot
and again (directly)
download mode, then sudo heimdall flash --MDM NON-HLOS.bin --verbose --no-reboot

here is how it looks like in terminal (one of the two times)
Code:
sudo heimdall flash --MDM NON-HLOS.bin --verbose --no-reboot
Heimdall v1.4.0

Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna


This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:


Initialising connection...
Detecting device...
      Manufacturer: "Sasmsung"
           Product: "MSM8960"

            length: 18
      device class: 2
               S/N: 0
           VID:PID: 04E8:685D
         bcdDevice: 0100
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 02.02.01
       endpoint[0].address: 82
           max packet size: 0010
          polling interval: 09

interface[1].altsetting[0]: num endpoints = 2
   Class.SubClass.Protocol: 0A.00.00
       endpoint[0].address: 81
           max packet size: 0200
          polling interval: 00
       endpoint[1].address: 01
           max packet size: 0200
          polling interval: 00
Claiming interface...
Setting up interface...

Initialising protocol...
WARNING: Control transfer #1 failed. Result: -9
WARNING: Control transfer #2 failed. Result: -9
WARNING: Control transfer #3 failed. Result: -9
WARNING: Control transfer #4 failed. Result: -9
WARNING: Control transfer #5 failed. Result: -9
WARNING: Control transfer #6 failed. Result: -9
Protocol initialisation successful.

Beginning session...

Some devices may take up to 2 minutes to respond.
Please be patient!

Session begun.

Downloading device's PIT file...
PIT file download successful.

ERROR: Partition "MDM" does not exist in the specified PIT.
Ending session...
Releasing device interface...
 

redjamesg

Senior Member
May 29, 2012
453
490
0
Copenhagen
Hmm... This seems like your problem:
Downloading device's PIT file...
PIT file download successful.

ERROR: Partition "MDM" does not exist in the specified PIT.
Ending session...
What is the output of the command:

# sudo heimdall print-pit --verbose –no-reboot

What if you were to try and flash with every part that is in the modem package ie:

# sudo heimdall flash --modem NON-HLOS.bin --RPM rpm.mbn --TZ tz.mbn --verbose --no-reboot
 
Last edited:

Cryzalic

New member
Jul 30, 2016
1
0
0
Hiya there, Noob here.
I want a fresh ROM now, since I cannot update via normal shortcuts on my phone. I rooted it to get access to SD-card and maybe I messed up, i get "...OS...has been modified..." error (I will probably root it again 'cus of this SD-bullcrap).
You in-directly mention the kernel and base is not a part of your modem-files (answer to iordache_srn), and if kernel is removed, what's the use of a modem file?
(I'm more than happy to get rid of some bs apps that are bundled in stock firm/software. I'm not the noobiest noob :))
 

IronRoo

Senior Member
Aug 4, 2014
1,342
434
0
Hiya there, Noob here.
I want a fresh ROM now, since I cannot update via normal shortcuts on my phone. I rooted it to get access to SD-card and maybe I messed up, i get "...OS...has been modified..." error (I will probably root it again 'cus of this SD-bullcrap).
You in-directly mention the kernel and base is not a part of your modem-files (answer to iordache_srn), and if kernel is removed, what's the use of a modem file?
(I'm more than happy to get rid of some bs apps that are bundled in stock firm/software. I'm not the noobiest noob :))
the modem (baseband) file is extracted from an update from some country when released, we are then able to run a modem of our choice even if there is no update released for our country. Though you have to be a little cautious as it may loose some of the "extra" functionality as mentioned in previous posts, but the core functions should always work on our phone as they come with the XX (Euro) modem. Also custom ROM's do not come with modems, only Android (on some older phones the custom ROM's will come with a custom recovery included, ours doesn't so you need to install that first to flash custom ROM, TWRP is probably best for our phone)

You are therefore free to choose whatever custom ROM you want, you just select the modem that works best with your ROM on your phone, normally the most recent.

I don't think you have messed up root, it's just the stock warning that something has been modified, it will go when you flash a custom ROM.
 
Last edited:

JimmyRay

Senior Member
Jul 4, 2014
228
67
0
Hamamatsu
What if you were to try and flash with every part that is in the modem package ie:

# sudo heimdall flash --modem NON-HLOS.bin --RPM rpm.mbn --TZ tz.mbn --verbose --no-reboot
I had a chance to update to the latest CPE1 baseband this evening. I've only ever used Heimdall (on Windows 7), and previously copied and pasted a command provided by another user in the old thread. This evening I used the command in your original post (minus the sudo, of course), and was unable to update to the latest version. Then I remembered using the longer command (above), which flashes all of the parts, so gave it a try. The process took a little while longer and the flash command line output (below) was more verbose:

Code:
>heimdall flash --no-reboot --MODEM NON-HLOS.bin --TZ tz.mbn --RPM rpm.mbn --verbose

Heimdall v1.4.0

Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
      Manufacturer: "Sasmsung"
           Product: "MSM8960"

            length: 18
      device class: 2
               S/N: 0
           VID:PID: 04E8:685D
         bcdDevice: 0100
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 02.02.01
       endpoint[0].address: 82
           max packet size: 0010
          polling interval: 09

interface[1].altsetting[0]: num endpoints = 2
   Class.SubClass.Protocol: 0A.00.00
       endpoint[0].address: 81
           max packet size: 0200
          polling interval: 00
       endpoint[1].address: 01
           max packet size: 0200
          polling interval: 00
Claiming interface...
Setting up interface...

Initialising protocol...
WARNING: Control transfer #1 failed. Result: -9
WARNING: Control transfer #2 failed. Result: -9
WARNING: Control transfer #3 failed. Result: -9
WARNING: Control transfer #4 failed. Result: -9
WARNING: Control transfer #5 failed. Result: -9
WARNING: Control transfer #6 failed. Result: -9
Protocol initialisation successful.

Beginning session...

Some devices may take up to 2 minutes to respond.
Please be patient!

Session begun.

Downloading device's PIT file...
PIT file download successful.

Uploading MODEM
0%
2%

4%

6%

8%

10%

12%

14%

16%

18%

20%

22%

24%

26%

28%

30%

32%

34%

36%

38%

40%

42%

44%

46%

48%

50%

52%

54%

56%

58%

60%

62%

64%

66%

68%

70%

72%

74%

76%

78%

80%

82%

84%

86%

88%

90%

92%

94%

96%

98%

100%
MODEM upload successful

Uploading TZ
0%
100%
TZ upload successful

Uploading RPM
0%
100%
RPM upload successful

Ending session...
Releasing device interface...
After flashing for a second time and rebooting, I confirmed that the update to the CPE1 baseband had been successful.

Perhaps it's worth revising the original post to reflect this, while also noting that Heimdall works well on Windows, not just Linux?

As always, thank you for making the latest baseband files available on your Google Drive, and for your assistance across the forum.

Cheers!
 
Last edited:
  • Like
Reactions: redjamesg

redjamesg

Senior Member
May 29, 2012
453
490
0
Copenhagen
Perhaps it's worth revising the original post to reflect this, while also noting that Heimdall works well on Windows, not just Linux?
It has been done, thanks for pointing it out.

As always, thank you for making the latest baseband files available on your Google Drive, and for your assistance across the forum.

Cheers!
appreciate hearing these kind words



Sent from my SM-G930F using XDA-Developers mobile app
 
  • Like
Reactions: JimmyRay

Fritzzie

Member
Jun 25, 2013
10
0
21
I can't get it working. I flashed 4 times using Odin, 2 times using Heimdall. All show sucess as result but my basebandversion still shows the old version.

Does anybody recognize this? Do you have advice?



Sent from my GT-I9195 using XDA Free mobile app
 

IronRoo

Senior Member
Aug 4, 2014
1,342
434
0
I can't get it working. I flashed 4 times using Odin, 2 times using Heimdall. All show sucess as result but my basebandversion still shows the old version.

Does anybody recognize this? Do you have advice?
you MUST flash it 2 times in a row, flash it once & boot straight back into download mode and flash again, then boot normally. Are you doing that?

If you miss going into download mode the 2nd time you must start all over again and flash another 2x consecutively
 
  • Like
Reactions: Fritzzie

Fritzzie

Member
Jun 25, 2013
10
0
21
you MUST flash it 2 times in a row, flash it once & boot straight back into download mode and flash again, then boot normally. Are you doing that?

If you miss going into download mode the 2nd time you must start all over again and flash another 2x consecutively
Yes, that's it. Thanks!

I had some problems entering download mode. I tried volume-down + home + power (in that order) and that didn't work for me. So I entered the download-mode using the phones restart menu (CM 13), which made me do a normal boot between the two flashes.

But after your post I tried home + volume-down + power, that worked and now everything is ok.
 

IronRoo

Senior Member
Aug 4, 2014
1,342
434
0
FYI: Should anyone be experiencing wifi issues.

My wifi connection had been playing up for about the last month, the connection to my wifi modem (Netgear DGND3700v2) had been dropping out randomly, but normally managing to reconnect itself, though more recently I had to turn on aeroplane mode and turn off to get it connected again. Also I think the connection strength was a bar lower, in general.

But since I flashed nightly of 0816 it has been unusable. I had been on CPD1 baseband.

I therefore flashed the newer CPE1 modem (though I was not sure if this would fix wifi) and it has been rock steady with a higher signal level for over an hour, so appears to be fixed!

Thanks again @Redyamesg

edit: after going out it has dropped the connection and struggled to connect, one time, so not entirely fixed but is much much better. PS channels are not to crowded, will have to investigate further
edit 2: seems there was maybe some interference on the channel I was on as since changing channel there has been no loss of signal :) Oh well at least it made me update to latest modem!
Edit 3: nope it's still not connecting automatically as well as it used to, have to do it manually, with a bit of luck there will be a new modem in Italian firmware below that will work better with latest CM13 nightlies!
 
Last edited:

KevinX8

Senior Member
Mar 12, 2013
1,101
1,830
153

FedeX333X

New member
Jul 30, 2016
2
1
0
What happens if I leave the Repartition box unchecked? Because when it is checked, Odin gives me an error message: can't open the specified file (line 1831).