Flash Modem from Stock FW - Galaxy S 4 Mini Q&A, Help & Troubleshooting

Hi Guys,
i got some signal problems with my S4 mini (gt-i9195 android 4.4.2 (CM11))
So i decided to flash the newest modem.
I downloaded the newest firmware from samdownloads.com and extracted the tar file.
But i can´t find any modem.bin, theres only the NON-HLOS.bin
The tar file contains the following files:
- cache.img.ext4
- hidden.img.ext4
- system.img.ext4
- boot.img
- recovery.img
- aboot.mbn
- rpm.mbn
- sbl2.mbn
- sbl3.mbn
- tz.mbn
- NIN-HLOS.bin
Is the modem.bin packed in one of these files? Can i extract it?

Backup the entire your CM11. Flash newest stock firmware via Odin. Install CWM. Restore your CM11 via CWM. You'll have latest modem.

ladislav.heller said:
Backup the entire your CM11. Flash newest stock firmware via Odin. Install CWM. Restore your CM11 via CWM. You'll have latest modem.
Click to expand...
Click to collapse
Okay thanks fort your reply, i thought there would be a way to extract the modem file via cygwin.
But that workaround should also work for me.

hannes22 said:
Okay thanks fort your reply, i thought there would be a way to extract the modem file via cygwin.
But that workaround should also work for me.
Click to expand...
Click to collapse
You can extract NON-HLOS.bin via Total Commander. Bigger question is, how to repack it to Odin format
But yes, the answer is Cygwin.
Here are the commands:
Code:
tar -H ustar -c NON-HLOS.bin > modem.tar
md5sum -t modem.tar >> modem.tar
mv modem.tar modem.tar.md5

ladislav.heller said:
You can extract NON-HLOS.bin via Total Commander. Bigger question is, how to repack it to Odin format
But yes, the answer is Cygwin.
Here are the commands:
Code:
tar -H ustar -c NON-HLOS.bin > modem.tar
md5sum -t modem.tar >> modem.tar
mv modem.tar modem.tar.md5
Click to expand...
Click to collapse
i hope i dont get this totally wrong, but is the modem.bin inside the "NON-HLOS.bin" ?
Cause i already flashed the "NON-HLOS.bin" via odin (phone) but that didnt change the baseband version..
Anyway i think i will flash the whole firmware tomorrow to make sure theres nothing missing..

hannes22 said:
i hope i dont get this totally wrong, but is the modem.bin inside the "NON-HLOS.bin" ?
Cause i already flashed the "NON-HLOS.bin" via odin (phone) but that didnt change the baseband version..
Anyway i think i will flash the whole firmware tomorrow to make sure theres nothing missing..
Click to expand...
Click to collapse
Yep NON-HLOS is the modem file
Flash it more times, like 2 3 times and it will work Baseband will change
Phone in Odin 3.07 CP in 3.09

Sorry to inrupt but if i have an odin tar and i delete all its contents except the 3 files including non-hlos im gonna get the baseband right?? .. note that the the 2 other files came where i saw on s4mini archive an bna1 flashable odin tar modem only so check its contents there is non hlos img and 2 other files ... hope u understood and i helped
Sent from my GT-I9192 using XDA Premium 4 mobile app

SilviuMik said:
Yep NON-HLOS is the modem file
Flash it more times, like 2 3 times and it will work Baseband will change
Phone in Odin 3.07 CP in 3.09
Click to expand...
Click to collapse
I unchecked the auto reboot and flashed it 3 times and the baseband version changed!
THANK YOU VERY MUCH!

rrgrrg said:
Sorry to inrupt but if i have an odin tar and i delete all its contents except the 3 files including non-hlos im gonna get the baseband right?? .. note that the the 2 other files came where i saw on s4mini archive an bna1 flashable odin tar modem only so check its contents there is non hlos img and 2 other files ... hope u understood and i helped
Sent from my GT-I9192 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
sorry mate but i dont really understand you
but my problem is solved now!

rrgrrg said:
Sorry to inrupt but if i have an odin tar and i delete all its contents except the 3 files including non-hlos im gonna get the baseband right?? .. note that the the 2 other files came where i saw on s4mini archive an bna1 flashable odin tar modem only so check its contents there is non hlos img and 2 other files ... hope u understood and i helped
Sent from my GT-I9192 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
This will not work because the TAR also has a checksum included and Odin will check it first. You need to repack NON-HLOS.bin file.

ladislav.heller said:
This will not work because the TAR also has a checksum included and Odin will check it first. You need to repack NON-HLOS.bin file.
Click to expand...
Click to collapse
Oh i see :/

Related

i9190 no network problem

Hi
i9190 Not Registered On Network after flash
Emergency Calls Only
how to fix this problem?
tanks
Univercell said:
Hi
i9190 Not Registered On Network after flash
Emergency Calls Only
how to fix this problem?
tanks
Click to expand...
Click to collapse
Need more info than provided. What did you flash? How did you flash it? What ROM did you have before and now? Does your IMEI number shows correctly?
TNCS said:
Need more info than provided. What did you flash? How did you flash it? What ROM did you have before and now? Does your IMEI number shows correctly?
Click to expand...
Click to collapse
i flashed with this firmware (XXUBNA1)
flash with odin 3.9
before firmware I9190XXUAMF7
after update I9190XXUBNA1
yes imei shows correctly
tanks
Univercell said:
i flashed with this firmware (XXUBNA1)
flash with odin 3.9
before firmware I9190XXUAMF7
after update I9190XXUBNA1
yes imei shows correctly
tanks
Click to expand...
Click to collapse
Any particular reason you did that?
Looks like the modem is incompatible for your area. Extract the modem file from your origianl MF7 and flash it again using ODIN. That should solve the problem.
TNCS said:
Any particular reason you did that?
Looks like the modem is incompatible for your area. Extract the modem file from your origianl MF7 and flash it again using ODIN. That should solve the problem.
Click to expand...
Click to collapse
how to Extract modem file from orignal firmware
Univercell said:
how to Extract modem file from orignal firmware
Click to expand...
Click to collapse
On a linux machine
Code:
unzip *.zip
tar -xvf *.tar.md5 NON-HLOS.bin
tar -H ustar -c NON-HLOS.bin > modem.tar
md5sum -t modem.tar >> modem.tar
mv modem.tar modem.tar.md5
Flash with Odin on "CP" button
On Windows search for TAR_MD5_PACKAGER on google
Other solutions pleaz

[Q] Change Baseband/Modem of S6810

Hello, somehere can help me to change the baseband of s6810E (by a s6810L) to make to capture 3g signal in my country.
List of things I've tried
Install via ODIN a s6810L ...
nand write start fail
Click to expand...
Click to collapse
Extract BcmCP.img and create Modem.tar ...
receive response from bootloader fail
Click to expand...
Click to collapse
Combine s6810L and s6810E firmware and create tar.md5 ...
md5 cheksum fail
Click to expand...
Click to collapse
The phone only accept a s6810E firmwares via odin
The phone already has a cwm install
Thanks
GinoXLL said:
Hello, somehere can help me to change the baseband of s6810E (by a s6810L) to make to capture 3g signal in my country.
List of things I've tried
Install via ODIN a s6810L ...
Extract BcmCP.img and create Modem.tar ...
Combine s6810L and s6810E firmware and create tar.md5 ...
The phone only accept a s6810E firmwares via odin
The phone already has a cwm install
Thanks
Click to expand...
Click to collapse
maybe you can try make tar and md5 extension with pea zip
faizauthar12 said:
maybe you can try make tar and md5 extension with pea zip
Click to expand...
Click to collapse
Thanks for your help, but I still can flash via odin a different original system.
I think another option would be to copy a model L efs partition and put it on my phone, since the only difference between these 2 models are the 3G bands.
But the efs partition is one that contains the information of the modem?
or file or folder I need to copy it from another phone settings for bands?
Did you manage it ?
I tried to do exactly like you.
Tried to repackage Latin modem for my S6810...
But could never flash a Latin Modem on this phone.
Did you manage to do it ?

[UPATED]S/N: 0000, Baseband version unknown in Lollipop ROM

I've tried flash the modem via recovery, still unknown.
What can I do?
Tried to delete the efs folder and flashed the modem
the baseband is shown
but the IMEI go to 0049....
If i restore the efs, the baseband will become unknown again.
ryo2456 said:
I've tried flash the modem via recovery, still unknown.
What can I do?
Click to expand...
Click to collapse
I had the same problem when I flashed the ROM. But then I found a method to get it going. Here is what you need to do:
Step 1: Extract Modem.bin from official firmware. (I got it from Sammobile)
Step 2: Use Winrar or any other compressing software and extract Modem.bin
Step 3: Use Odin and Flash the same. (Note : You should flash the bin File in Phone not in PDA) :highfive:
Hope it works.
Special thanks to Dhiru1602 for teaching me basics
Best Regards
MàЙoЦ said:
I had the same problem when I flashed the ROM. But then I found a method to get it going. Here is what you need to do:
Step 1: Extract Modem.bin from official firmware. (I got it from Sammobile)
Step 2: Use Winrar or any other compressing software and extract Modem.bin
Step 3: Use Odin and Flash the same. (Note : You should flash the bin File in Phone not in PDA) :highfive:
Hope it works.
Special thanks to Dhiru1602 for teaching me basics
Best Regards
Click to expand...
Click to collapse
that mean I have to extract the modem.bin from the stock firmware and flash it via odin?
Extract the modem.bin?
MàЙoЦ said:
I had the same problem when I flashed the ROM. But then I found a method to get it going. Here is what you need to do:
Step 1: Extract Modem.bin from official firmware. (I got it from Sammobile)
Step 2: Use Winrar or any other compressing software and extract Modem.bin
Step 3: Use Odin and Flash the same. (Note : You should flash the bin File in Phone not in PDA) :highfive:
Hope it works.
Special thanks to Dhiru1602 for teaching me basics
Best Regards
Click to expand...
Click to collapse
Tried. Still unknown.....
ryo2456 said:
Tried. Still unknown.....
Click to expand...
Click to collapse
Flashed it in Phone or PDA?
Flash modem again in phone section.
Boot into recovery and reflash rom again.
Good Luck !!
MàЙoЦ said:
Flashed it in Phone or PDA?
Flash modem again in phone section.
Boot into recovery and reflash rom again.
Good Luck !!
Click to expand...
Click to collapse
Same. Still unknown
ryo2456 said:
Same. Still unknown
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=3076993
Sent from My LG G Flex LG-F340K Stock KitKat V20D on LTE Network using XDA Free Mobile app
Murshad007 said:
http://forum.xda-developers.com/showthread.php?t=3076993
Sent from My LG G Flex LG-F340K Stock KitKat V20D on LTE Network using XDA Free Mobile app
Click to expand...
Click to collapse
Thanks. but it happen on lollipop rom only. I can get the IMEI and baseband on Kitkat and Jellybean.
Did u find the solution. plz post coz i have same problem.
have u tried flashing patched modem? google modem patcher v2 and patch ur modem.bin file then copy it to phone and flash it with mobile odin.

Flashing DOl1 Issues

Ok i know there are some threads or posts that are trying to solve this problem, or they already solved this problem but i cannot find a real solution for my phone. When i flash the latest built DOl1 with odin i get stuck on Samsung Logo. I can pass that when i flash a custom kernel, but i just want my phone to be fully stock.
So i have extracted .tar.md5 and than i have compressed .tar on Linux all the files excluding cache.img. Because it seems that cache.img is causing the firmware from booting after flashing with odin. But without cache.img i missed some features like: keyboard word suggestion and some other things and i feel that the phone is not working as it should, it always have problems.
i have done tons of test yesterday by spliting the tarball into two packages bl.tar and ap.tar but still nothing. Even when i flash separatly cache.img or boot.img i get stuck.
Is there any solution for these ? Does anybody know anything ?
What version of Odin are you using? And where did you down the tar?
Sent from my SM-G925T using Tapatalk
Was your phone rooted? Flash the unikernel and it will boot.
nappent said:
What version of Odin are you using? And where did you down the tar?
Sent from my SM-G925T using Tapatalk
Click to expand...
Click to collapse
Iv used odin 3.10.6 and 3.10.7 both of em. The tar is downloaded from sammobile and samsung-firmwares just tried out two different sites
atinder said:
Was your phone rooted? Flash the unikernel and it will boot.
Click to expand...
Click to collapse
I know it will boot with a costum kernel. I just want it all the way stock. Thank you anyway
I just recently flashed back to stock DOI1 in preperation for JUMPing to the note 5 and I've had no problems. I used ODIN 3.10.7 and the tar that @Alex9090 posted in another thread. Maybe try that one and see if it works.
It's weird that it'll only boot with a custom kernel though. I was on UniKernel v9 and flashed stock without issue.
caspernetherlands said:
I know it will boot with a costum kernel. I just want it all the way stock. Thank you anyway
Click to expand...
Click to collapse
Please make sure you have oem unlocking on before flashing anything. I have paper weight with me because of that
atinder said:
Please make sure you have oem unlocking on before flashing anything. I have paper weight with me because of that
Click to expand...
Click to collapse
Yes sir OEM Unlocking is on
caspernetherlands said:
Yes sir OEM Unlocking is on
Click to expand...
Click to collapse
are you stuck on samsung boot logo? i am unploading custom ap and bl. if you know how to compile its easier as uploading will take time.
C:\windows\system32>cd c:\users\atinder\desktop\tartool
c:\Users\Atinder\Desktop\tartool>cd bin
//copy files to folder for eg - cm.bin and sboot.bin to pack as Bl.tar
//order entered would be the order they are being flashed
c:\Users\Atinder\Desktop\tartool\bin>tar -H ustar -c cm.bin sboot.bin > BL.tar
//copy files to folder eg - boot.img system.img to AP.tar
//order entered would be order they are being flashed
c:\Users\Atinder\Desktop\tartool\bin>tar -H ustar -c boot.img system.img > AP.tar
c:\Users\Atinder\Desktop\tartool\bin>
atinder said:
Please make sure you have oem unlocking on before flashing anything. I have paper weight with me because of that
Click to expand...
Click to collapse
can you unlock the bootloader/ oem unlocking in any other ways without booting up system such as adb, odin, download mode?
Install recovery and wipe all and then installs DOI1

M919UVUSFQA1 OTA Update Available 2/7/2017

M919UVUSFQA1 OTA Update (Official OTA) links here
https://alfafile.net/file/vbGh
http://rapidgator.net/file/cc090b9fd3b077b9041ff1b6df3bf889
I saw a "Stock Firmware" collection thread, but I wasn't sure if I was supposed to add to that person's collection or not. If this isn't supposed to be here, please let me know.
Thanks
Great, I been trying to download it right away. I hope that this will be the best baseband
filter4ever said:
M919UVUSFQA1 OTA Update (Official OTA) links here
https://alfafile.net/file/vbGh
http://rapidgator.net/file/cc090b9fd3b077b9041ff1b6df3bf889
I saw a "Stock Firmware" collection thread, but I wasn't sure if I was supposed to add to that person's collection or not. If this isn't supposed to be here, please let me know.
Thanks
Click to expand...
Click to collapse
What Android version
It's 4.4.4
Sent from my SGH-M919 using XDA Premium HD app
other link for download please
luisblessing said:
other link for download please
Click to expand...
Click to collapse
You will find it here https://forum.xda-developers.com/showthread.php?t=2267895&page=20
All thanks and credits go to @KaosMaster
does someone install this?
Can someone get from it the modem pls?
Thanks
Grievous74 said:
does someone install this?
Can someone get from it the modem pls?
Thanks
Click to expand...
Click to collapse
I have the 4 files extracted but I'm not so sure which one is the modem or if its safe to flash
hearkenoath said:
I have the 4 files extracted but I'm not so sure which one is the modem or if its safe to flash
Click to expand...
Click to collapse
Thanks.
I end up installing the full version, then re-root my phone again, install TWRP, the restore back my daily driver (Albe95 Lollirom)
...andnow my Baseband is : M919UVSFQA1
I believe the modem is in "CP_M919UVSFQA1_CL6281449_QB12131755_REV06_user_low_ship_MULTI_CERT.tar.md5"
Thanks anyway
Grievous74 said:
Thanks.
I end up installing the full version, then re-root my phone again, install TWRP, the restore back my daily driver (Albe95 Lollirom)
...andnow my Baseband is : M919UVSFQA1
I believe the modem is in "CP_MO19UVSFQA1_CL6281449_QB12131755_REV06_user_low_ship_MULTI_CERT.tar.md5"
Thanks anyway
Click to expand...
Click to collapse
Thanks, you think that I could flash it with Odin over CM 11?
hearkenoath said:
Thanks, you think that I could flash it with Odin over CM 11?
Click to expand...
Click to collapse
I don't know man.
I know that flushing the full one worked.
You can try
can anyone please tell me how to root M919UVSFQA1 , I have looked on xda and cant seem to find anything useful please help me My phone is galaxy s4 android 4.4.4 Baseband version M919UVSFQ1 Model No.sgh-m919
ashhad101 said:
can anyone please tell me how to root M919UVSFQA1 , I have looked on xda and cant seem to find anything useful please help me My phone is galaxy s4 android 4.4.4 Baseband version M919UVSFQ1 Model No.sgh-m919
Click to expand...
Click to collapse
CF-Autoroot. Altough I suspect something isn't right with that method. Also you can try K I N G O
hearkenoath said:
CF-Autoroot. Altough I suspect something isn't right with that method. Also you can try K I N G O
Click to expand...
Click to collapse
I successfully rooted my device using skipnet toolkit, you can found it on xda if anybody wants it anyways thank you
ashhad101 said:
I successfully rooted my device using skipnet toolkit, you can found it on xda if anybody wants it anyways thank you
Click to expand...
Click to collapse
Skipnet or Skiproot?
hearkenoath said:
Skipnet or Skiproot?
Click to expand...
Click to collapse
ohh! sorry actually its skipsoft toolkit you can check it here
https://forum.xda-developers.com/showthread.php?t=2678634
ashhad101 said:
ohh! sorry actually its skipsoft toolkit you can check it here
https://forum.xda-developers.com/showthread.php?t=2678634
Click to expand...
Click to collapse
Thanks, I'm gonna try that
hearkenoath said:
I have the 4 files extracted but I'm not so sure which one is the modem or if its safe to flash
Click to expand...
Click to collapse
The file TMB-M919UVSFQA1-20170208161412.zip contains M919UVSFQA1_M919TMBFQA1_M919UVSFQA1_HOME.tar.md5
On Linux, the process is ...
# extract the modems from the tar
$ tar xvf M919UVSFQA1_M919TMBFQA1_M919UVSFQA1_HOME.tar.md5 NON-HLOS.bin modem.bin
# Put the phone into 'download mode' (power on with the volume down button pressed)
# use heimdall to flash the modems
$ heimdall detect
Device detected
$ heimdall flash --APNHLOS NON-HLOS.bin --MDM modem.bin
If you are upgrading from a **very early** modem you may also have to upgrade the boot loader (if you loose audio after updating the modem, then go back and do this step too)
$ tar xvf M919UVSFQA1_M919TMBFQA1_M919UVSFQA1_HOME.tar.md5 NON-HLOS.bin modem.bin aboot.mbn rpm.mbn sbl2.mbn sbl3.mbn tz.mbn
$ heimdall flash --SBL2 sbl2.mbn --SBL3 sbl3.mbn --RPM rpm.mbn --TZ tz.mbn --MDM modem.bin --APNHLOS NON-HLOS.bin --ABOOT aboot.mbn
(n.b. I upgraded the boot loader some time ago, so I did not do this again for this update ... use at your own risk)
---------- Post added at 09:35 AM ---------- Previous post was at 09:34 AM ----------
vk2bea said:
The file TMB-M919UVSFQA1-20170208161412.zip contains M919UVSFQA1_M919TMBFQA1_M919UVSFQA1_HOME.tar.md5
On Linux, the process is ...
# extract the modems from the tar
$ tar xvf M919UVSFQA1_M919TMBFQA1_M919UVSFQA1_HOME.tar.md5 NON-HLOS.bin modem.bin
# Put the phone into 'download mode' (power on with the volume down button pressed)
# use heimdall to flash the modems
$ heimdall detect
Device detected
$ heimdall flash --APNHLOS NON-HLOS.bin --MDM modem.bin
If you are upgrading from a **very early** modem you may also have to upgrade the boot loader (if you loose audio after updating the modem, then go back and do this step too)
$ tar xvf M919UVSFQA1_M919TMBFQA1_M919UVSFQA1_HOME.tar.md5 NON-HLOS.bin modem.bin aboot.mbn rpm.mbn sbl2.mbn sbl3.mbn tz.mbn
$ heimdall flash --SBL2 sbl2.mbn --SBL3 sbl3.mbn --RPM rpm.mbn --TZ tz.mbn --MDM modem.bin --APNHLOS NON-HLOS.bin --ABOOT aboot.mbn
(n.b. I upgraded the boot loader some time ago, so I did not do this again for this update ... use at your own risk)
Click to expand...
Click to collapse
Thanks
I can't get the damn thing to download. I'm on a 5 mbps download speed and I keep losing it. If someone could upload it to MEGA or make a torrent file, that'd be really awesome.

Categories

Resources