No WIFI turn on after flashing a rom?
That's because Sammy locked flashing radio+modem on our phones.
But there is where android command line comes in handy...
Put the two files from any downloaded stock rom you are currently running on your SDCARD:
NON-HLOS.bin
modem.bin
and execute the following in adb or in the emulator:
Code:
su
cd mnt/sdcard/
dd if=/dev/block/mmcblk0p1 of=backup-NON-HLOS.bin
dd if=/dev/block/mmcblk0p2 of=backup-modem.bin
Now, when the backup is done - just in case, let's flash:
Code:
dd if=NON-HLOS.bin of=/dev/block/mmcblk0p1
dd if=modem.bin of=/dev/block/mmcblk0p2
reboot
Done, your WIFI is restored!
__________________________
Original credits: http://www.alliance-rom.com
Hi,
I'm sorry but how can this issue happen ?
Flashing with ODIN ?
And, if it happen, where can I find
NON-HLOS.bin
modem.bin
files ?
I had this problem today but when I flashed faux kernel the problem was gone
sebarkh said:
Put the two files from the original rom on your SDCARD:
NON-HLOS.bin
modem.bin
and execute the following in adb or in the emulator:
Click to expand...
Click to collapse
Am I supposed to grab the files from the ROM that was on the device before the flash or the files from the ROM I just flashed? If I need to use the files from the old ROM then how can I ever upgrade the modem?
Thanks
ewok666 said:
Am I supposed to grab the files from the ROM that was on the device before the flash or the files from the ROM I just flashed?
Thanks
Click to expand...
Click to collapse
No, from the rom you are flashing, any stock Rom.
On your device you have mismatched files. That's the reason you have no WiFi.
sebarkh said:
No, from the rom you are flashing, any stock Rom.
On your device you have mismatched files. That's the reason you have no WiFi.
Click to expand...
Click to collapse
Thanks but it did not work for me using either the MEA or the ME2 files (my old version). It took a bit of effort but the dd commands completed. What did work in the end is flashing with Odin 3.07 (after two atempts with 3.04)....whatever that means.
ewok666 said:
Thanks but it did not work for me using either the MEA or the ME2 files (my old version). It took a bit of effort but the dd commands completed. What did work in the end is flashing with Odin 3.07 (after two atempts with 3.04)....whatever that means.
Click to expand...
Click to collapse
dd'ing shouldn't be a problem. it takes a few seconds.
this is the output:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You have to flash the same mdem and radio from a firmware you are running. Works perfect. If any assistance needed contact me via pm
uae_1990 said:
I had this problem today but when I flashed faux kernel the problem was gone
Click to expand...
Click to collapse
Thanks, this deffinetly fixed my problem. I would never belive there was a such easy solution. But you my dear friend, just made my day 15% better.
Is their any way i can apply the modem.bin and NON-HLOS.bin via updater script? so far I haven't been successful. S3 allows you to update firmware via flashable zip but it seems samsung blocks s4 from flashing NON-HLOS.bin and modem.bin.
asapmoola310 said:
Is their any way i can apply the modem.bin and NON-HLOS.bin via updater script? so far I haven't been successful. S3 allows you to update firmware via flashable zip but it seems samsung blocks s4 from flashing NON-HLOS.bin and modem.bin.
Click to expand...
Click to collapse
No, that's not possible anymore. You can only use Odin/Heimdall.
Why?
Lennyz1988 said:
No, that's not possible anymore. You can only use Odin/Heimdall.
Click to expand...
Click to collapse
@Lennyz1988 do you know why that is? Would Mobile ODIN work?
Related
So I created an Odin Firmware Package for the I9505G that included only the system.img.ext4, boot, and recovery images for 4.2.2 MFD. The problem is that I cannot create a modem package it fails everytime either when I package it with or without the system build. As far as I know this would be the NON-HLOS and modem.bin files.
Additionally I am having a hard time making a Full Restore Package for 4.3 MH1 which has everything and that fails too. Here is what I have to work with and I have used Cygwin and Powerarchiver both to try to package these but as I have said only system.img.ext4, boot, and recovery flash and pass. The bootloaders fail specifically right when aboot.mbn flashes it fails.
I've reviewed other packages for other S IV varients and tried packaging them similar but still fail.
I think the boot loader assertation has something to do with it
Can someone give me some good direction on what I need to do, am missing ect..ect..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
SOLVED THE MODEM ISSUE with the Help of SamuriHL modding some hash value. Thanks
Sent from my GT-I9505G using Tapatalk 2
Could you explain more detail on how did you resolve the modem issue?
Sent from my GT-I9508 using XDA Premium 4 mobile app
Also the files werent named properly, I don't know if that matters or not. For anyone thats curious, heres how the files should be named. This is from a custom odin tar I made for MDK.
View attachment 2297380
For successful flash in Odin, modem and non-hlos parts should be signed by samsung. Signature is at the end of file. But if you dump these parts from device, they will be padded by zeroes to the partition size.
So, after dumping, you need to cut padded zeroes from the "tail". Just start to look the first non-zero byte from the end of dump. And then cut after that byte.
And then you will have valid modem and non-hlos parts. You can TAR them and then flash through Odin.
I highly don't recommend to flash those sbl, aboot, rpm, tz parts. Although they are signed (and will require procedure i've described above), the risk of brick is very high if somehow you flash non-compatible to each other one of these parts.
So, dump them and keep in the safe place for some emergency case, but don't flash them neither separately nor as whole firmware package.
It's ok to flash these parts if you get them inside new OFFICIAL firmware from Samsung server, but avoid to flash them from any dumped firmware.
Solved Done close thread
Sent from my Nexus 5 using Tapatalk
Hello
Im trying to flash a modem file with odin to the i337m, everything fine until my phone says
security check failed : mdm
any idea why this is happening, how i can get around this?
I did place the phone in mdm+adb+download mode, i tried different cables too.
Im trying to do this so that i can run the tmobile 4.4.4 rom which installs but has no signal, so if we can flash the new modem we can upgrade to 4.4.4
Here is the new modem
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Bump! Any help guys?
Killadude said:
Bump! Any help guys?
Click to expand...
Click to collapse
Try flashing it in flashify on your phone. Rename the download to just *.tar then extract it. There should be a modem.img file in there. Flash that in flashify. Get flashify from the play store.
Sent from my SAMSUNG-SGH-I727 using XDA Free mobile app
jd1639 said:
Try flashing it in flashify on your phone. Rename the download to just *.tar then extract it. There should be a modem.img file in there. Flash that in flashify. Get flashify from the play store.
Sent from my SAMSUNG-SGH-I727 using XDA Free mobile app
Click to expand...
Click to collapse
Flashify is only letting me flash a boot/recovery or zip file. There is no option for img flash. Also when I unzip i get a modem.bin not modem.img
Killadude said:
Flashify is only letting me flash a boot/recovery or zip file. There is no option for img flash. Also when I unzip i get a modem.bin not modem.img
Click to expand...
Click to collapse
Yeah, I unzipped the link you gave and it is a bin file. That's not going to work, sorry
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Try flashing it in flashify on your phone. Rename the download to just *.tar then extract it. There should be a modem.img file in there. Flash that in flashify. Get flashify from the play store.
Sent from my SAMSUNG-SGH-I727 using XDA Free mobile app
Click to expand...
Click to collapse
jd1639 said:
Yeah, I unzipped the link you gave and it is a bin file. That's not going to work, sorry
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks for your help. I even tried using mobile odin pro but that again said write protection enabled and it failed to flash.
the s4 has a locked bootloader... custom packages will not be able to be flashed because write protection is enabled.. (it should say it on your phones download screen). Only official packages can be flashed
I bought my phone in the US, and unlocked it before coming to Europe.
I was able to root my phone and now I'm running Resurrection Remix (6.0.1) on it with almost no problems.
I'm trying to find out if my bootloader is locked since I would like to do some other things as well (the partition structure is terrible and I would like to change it, and also I would like to install jfltexx modem and bootloader).
I've tried to flash using ODIN but it fails, and Heimdall won't recognize the device (even after driver installation).
If the bootloader isn't locked can I simply dd files to mmcblk0p6 from adb or terminal emulator?
Thx in advance.
djuka007 said:
I bought my phone in the US, and unlocked it before coming to Europe.
I was able to root my phone and now I'm running Resurrection Remix (6.0.1) on it with almost no problems.
I'm trying to find out if my bootloader is locked since I would like to do some other things as well (the partition structure is terrible and I would like to change it, and also I would like to install jfltexx modem and bootloader).
I've tried to flash using ODIN but it fails, and Heimdall won't recognize the device (even after driver installation).
If the bootloader isn't locked can I simply dd files to mmcblk0p6 from adb or terminal emulator?
Thx in advance.
Click to expand...
Click to collapse
Bootloader is not locked, none of the Sprint firmware for this device contain a locked bootloader. Tried to flash what using Odin?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
bilgerryan said:
Bootloader is not locked, none of the Sprint firmware for this device contain a locked bootloader. Tried to flash what using Odin?
Click to expand...
Click to collapse
Tried to flash both modem and bootloader for fltexx and failed both times. Reason - secure check fail: mdm and secure check fail: aboot. Write protecton enabled is shown in Download mode, maybe that has something to do with it?
djuka007 said:
Tried to flash both modem and bootloader for fltexx and failed both times. Reason - secure check fail: mdm and secure check fail: aboot. Write protecton enabled is shown in Download mode, maybe that has something to do with it?
Click to expand...
Click to collapse
You sure you don't have the L720T? It has a Write Protection setting in Settings/Security on the stock ROM that needs to be disabled before using Odin. Also if you flash another modem you will lose your carrier unlock.
bilgerryan said:
You sure you don't have the L720T? It has a Write Protection setting in Settings/Security on the stock ROM that needs to be disabled before using Odin.
Click to expand...
Click to collapse
Quite sure (you can also see by firmware version).
bilgerryan said:
Also if you flash another modem you will lose your carrier unlock.
Click to expand...
Click to collapse
Shouldn't the international modems be unlocked by default?
djuka007 said:
Quite sure (you can also see by firmware version).
Shouldn't the international modems be unlocked by default?
Click to expand...
Click to collapse
The international modems aren't for this device, hence your problem. Odin does a device check before flashing anything.
bilgerryan said:
The international modems aren't for this device, hence your problem. Odin does a device check before flashing anything.
Click to expand...
Click to collapse
OK, but does Odin do something special except copying the files? Popular recoveries that we use are cool but you can also do everything manually if you know a bit of Linux over ADB.
Is it the same here?
djuka007 said:
OK, but does Odin do something special except copying the files? Popular recoveries that we use are cool but you can also do everything manually if you know a bit of Linux over ADB.
Is it the same here?
Click to expand...
Click to collapse
It copies tar files. Such as modems, boot, and recovery. It's not like recovery such as TWRP.
bilgerryan said:
It copies tar files. Such as modems, boot, and recovery. It's not like recovery such as TWRP.
Click to expand...
Click to collapse
Right, but .tar are just archives and then you unpack it and copy the files to the right place. For example aboot.mbn to mmcblk0p6 (and other files accordingly as well)
hello,
This N920W8 phone was working but i TRIED TO FLASH STOCK ROM AND THIS HAPPENED
l problem ->
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Odin is failing all time, doesnt matter which FILE I TRY TO FLASH, ODIN FAILs all time.
I have tried these solutions so far :-
1. I have tried flashing COMBINATION FILE / FACTORY FIRMWARE but ODIN FAILED.
2. I have tried flashing STOCK FIRMWARE latest and old ones too but ODIN FAILED.
3. I have tried flashing FIRMWARES WITH pit files too, but ODIN FAILED.
4. I have tried 4 files with PIT FILE and without pit file but ODIN FAILED.
Thank for reading, I appreciate your valuable inputs.
For that partion error , you can go to wipe/advanced wipe/ repair or change file system and select the partitions that you want to repair , or you can simply change the file systems .
First repair the file system and then try to flash stock rom from download mode.
Reporting via N910G
Administr4tor said:
hello,
This N920W8 phone was working but i TRIED TO FLASH STOCK ROM AND THIS HAPPENED
l problem ->
Odin is failing all time, doesnt matter which FILE I TRY TO FLASH, ODIN FAILs all time.
I have tried these solutions so far :-
1. I have tried flashing COMBINATION FILE / FACTORY FIRMWARE but ODIN FAILED.
2. I have tried flashing STOCK FIRMWARE latest and old ones too but ODIN FAILED.
3. I have tried flashing FIRMWARES WITH pit files too, but ODIN FAILED.
4. I have tried 4 files with PIT FILE and without pit file but ODIN FAILED.
Thank for reading, I appreciate your valuable inputs.
Click to expand...
Click to collapse
Looks like your efs is gone.did you fix it or still same condition? cuz yesterday i was in same problem and i did fix it by flashing certificate files.
Trex888 said:
Looks like your efs is gone.did you fix it or still same condition? cuz yesterday i was in same problem and i did fix it by flashing certificate files.
Click to expand...
Click to collapse
I dont think so this error is related to flashing certificates. Which box did you use to flash cert file? whats the keyid of your cert file?
Hi folks,
I am trying to flash this firmware onto my s6 edge+
G928FXXS5CRH1_G928FDBT4CRF1_DBT (newest samsung official binary)
but Odin will FAIL right after modem.bin (see screenshot)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I don't know why this happens Please help to find out.
Before I tried to flash the firmware mentioned above, another samsung official was installed:
G928FXXU4CRF4_G928FOXA4CRE1_BTU
Now any attempt to flash former binary will also fail (because older bootloader??)
I'm stuck here Please help!
m0tt3 said:
Hi folks,
I am trying to flash this firmware onto my s6 edge+
G928FXXS5CRH1_G928FDBT4CRF1_DBT (newest samsung official binary)
but Odin will FAIL right after modem.bin (see screenshot)
I don't know why this happens Please help to find out.
Before I tried to flash the firmware mentioned above, another samsung official was installed:
G928FXXU4CRF4_G928FOXA4CRE1_BTU
Now any attempt to flash former binary will also fail (because older bootloader??)
I'm stuck here Please help!
Click to expand...
Click to collapse
I have the same problem with that file : THL-G928CXXS4CRF5-20180705114510.zip it worked before, but not anymore, my device is softbricked.
chongtak said:
I have the same problem with that file : THL-G928CXXS4CRF5-20180705114510.zip it worked before, but not anymore, my device is softbricked.
Click to expand...
Click to collapse
Which version is currently installed? (you can check it in recovery mode)
Most likely you are not able to install former version because it has an older bootloader.
In my case "S5" ist installed, so I am not able to downgrade to "U4", which was installed before
m0tt3 said:
Hi folks,
I am trying to flash this firmware onto my s6 edge+
G928FXXS5CRH1_G928FDBT4CRF1_DBT (newest samsung official binary)
but Odin will FAIL right after modem.bin (see screenshot)
I don't know why this happens Please help to find out.
Before I tried to flash the firmware mentioned above, another samsung official was installed:
G928FXXU4CRF4_G928FOXA4CRE1_BTU
Now any attempt to flash former binary will also fail (because older bootloader??)
I'm stuck here Please help!
Click to expand...
Click to collapse
Use samfirm for your newest firmware and use the region option for your current region. (it should work properly) if you get hidden.img failure, remove from package and repack .tar
Use updato.com to download latest firmware with full speed download.
I'm having the same issue. I wiped everything with TWRP and was going to reinstall the OS, but I'm getting the same fail as you do. I'm trying to flash the same version as I did before wiping everything.
Any ideas?
WVWVWVW said:
I'm having the same issue. I wiped everything with TWRP and was going to reinstall the OS, but I'm getting the same fail as you do. I'm trying to flash the same version as I did before wiping everything.
Any ideas?
Click to expand...
Click to collapse
Got this fixed by removing hidden.img from the file I was flashing
WVWVWVW said:
Got this fixed by removing hidden.img from the file I was flashing
Click to expand...
Click to collapse
You just saved me! Thanks a lot! I thought I was stuck on CM 14.1. Just removing hidden.img fixed my flashing issues.
same here always stuck or error on modem.img so after unclick hidden.img use z3x it worked mine is G928GUBS5CRH1
Or you can try with this. Fix the phone is bricked, black screen and more by flash a new ROM for Samsung Galaxy phone. Maybe not the newest firmware, but works perfectly.
https://www.youtube.com/watch?v=zXSHe3oorIM
I have better solution download this stock rom this is the latest and its binary 5 the latest one
Stock Rom:*SM-G928F_G928FXXU5CRI1_G928FDDX4CRF1_4Files_7.0.rar
Size: 2.0 GB
Security Patch Level: U5
Android:*7.0 Nougat
Model: SM-G928F
Model Name: Samsung Galaxy S6 EDGE+
Download this rom from site FirmwareX.net
Try will work for u
Purpp said:
Use samfirm for your newest firmware and use the region option for your current region. (it should work properly) if you get hidden.img failure, remove from package and repack .tar
Click to expand...
Click to collapse
hii i got same problem how to remove and repack wicht too did you used