[Q] modem flashing - Galaxy S II Q&A, Help & Troubleshooting

hello
i have a question please
i have some modems in .zip that can be flashed by CWM
now , i managed to get a file called modem.bin in a firmware made specifically for my carrier ( carrier branded ) . i wanted to try that modem but i cannot flash using odin right now because of usb issues so i wanted to flash it by CWM
my question is ... if i replace de modem.bin file from a .zip modem i already have ... will it be ok ?
cos i noticed there are some other files in the zip as well , not just the modem.bin.
so is it ok if i replace the modem.bin in a .zip i know it works and then flash it via CWM ?
thanks

anyone ?
someone must know if it's ok to replace the modem.bin file from a cwm flash-able zip

Try it it will work or it will fail .
But make a note of your existing German modem first .
jje

have you tried to flash via ODIN? afaik CWM can only flash .zip files

Man try this link:http://forum.xda-developers.com/showthread.php?t=1277593

Related

[Q] Create Baseband from a ROM

Hi everyone, i'v a custom ROM on my SGS2 i would change my baseband 'cause i'm having some issue. I would install H3G bb (that's my operator) and i'v the official H3G ROM with NEKD5 baseband, i'v extracted the "modem.bin" but i'f a create a .tar from this file odin can't flash it... How can i create a flashable .tar from this modem.bin? Thanks everyone!
In Odin, you select your modem.bin into phone select area file and you start the flay processing... No need to create a tar file.
bgn9000 said:
In Odin, you select your modem.bin into phone select area file and you start the flay processing... No need to create a tar file.
Click to expand...
Click to collapse
Lol... at least i'v created the .tar and flashed it as PDA.. thanks anyway ^^

[Q] Repack zip to tar????...And use it through ODIN for Flashing????

People please tell me how to repack zip to tar....for purpose of flashing....
I tried 7zip but it did'nt worked it just puts file in tar format....
i want full details?????
Hi
download- 7Zip.
http://www.7-zip.org/
Enjoy !
avetny said:
download- 7Zip.
http://www.7-zip.org/
Enjoy !
Click to expand...
Click to collapse
Buddy i already told that 7zip just puts in tar format but do not convert the files in the tar components(Mdem,etc)
You might explain what you are trying to achieve by putting a zip into a tar .
Are you trying to make a CWM zip file flash-able via Odin .
jje
Can it be done ?
Lol, that sounds cool. Anyway, I think I'll keep flashing tars with odin and zips with CWM because what you sugest scares the **** out of me. Anyway I'll keep reading this thread out of curiosity.
so your trying to make an update.zip file into an odin.tar file to flash in pda?
I think he ment if you download (for example) new clockwork recovery version in zip format (ment for flashing thru phone recovery) can it be transformed into .tar (ment for flashing thru odin) !
I would also like to know this.
Sent from my GT-I9100 using Tapatalk
Tar To Zip
I dont know why you are trying to flash a zip via odin by converting it CWM works just fine if u have the latest kernel. I did find some old cwm kernels were not seeing zip files on my sd card make sure you have the latest. From here K13 or k14 at http://forum.xda-developers.com/showthread.php?t=1103399 bottom of the page worked for me.
im curious about this, ever since i rooted and flashed my kernel, i cant properly install ANY CWM roms. on aborts drring verification. I was consierding repacking the ZIP and flashing with ODIN.... just annoying i cant flash any of my roms
Thats usual if CWM is 3e not 4e .
jje
I would also like to know if its possible to repack cwm .zip file into ODIN .tar?? Why? I dont want to have root. I tried with yaffey-v0.2 but for now, no luck.
Only problem is to make a working system.img. Tar package can be done with commands in cygwin or in Samsung tool kit...
Help anybody??
hey gus
can some one help me with help me with installing firmware in samsung S3 1747 plizz, i have downloaded different firmware but it fails during installing.
mutayoba said:
can some one help me with help me with installing firmware in samsung S3 1747 plizz, i have downloaded different firmware but it fails during installing.
Click to expand...
Click to collapse
You are in the S2 Forum here. Which version of odin and which FW are you trying to flash? Whats the error message you get?
Yes it can be done and it's pretty easy to do. Google is you're friend. I've converted devil recovery and also modems and all work fine with odin.

urgent help needed

hi guys i am in a very bad situation my friend asked me to put hebrew on his galaxy s 2 , so as a good friend i tried to help him idownloaded the orange zip file and use odin to flash it and now it got stuck on the boot screen i can go into download mode but i dont know how to bring it back to life
please help
thanks
Zip files are not meant for ODIN.
ODIN normally flashes tar files which has only the necessary files and no scripts inside.
Clockworkmod is used to flash zip files.
I think you used PDA button on ODIN to flash *.zip file.
Find a kernel with cwm , codeworkx's kernel or siyah kernel.
Flash using PDA of odin.
If it doesn't work, flash an entire stock rom using odin, download from http://forum.xda-developers.com/showthread.php?t=1075278
Then flash a kernel with cwm, and flash hebrew zip in recovery
thanks for the reply I have one more question do I need a USB jig and also what custom binary count for mine says 2
is that a problem
If you can get into download mode, you don't need a jig. The binary count shows the number of times you flashed from download mode. It's not a problem, but it's a proof that you did, and it probably means your phone lost its warranty.
You dont need a jig if you can get into download mode but it will reset the binary counter for warranty purposes
Sent from my GT-I9100 using XDA App
droidphile said:
Zip files are not meant for ODIN.
ODIN normally flashes tar files which has only the necessary files and no scripts inside.
Clockworkmod is used to flash zip files.
I think you used PDA button on ODIN to flash *.zip file.
Find a kernel with cwm , codeworkx's kernel or siyah kernel.
Flash using PDA of odin.
If it doesn't work, flash an entire stock rom using odin, download from http://forum.xda-developers.com/showthread.php?t=1075278
Then flash a kernel with cwm, and flash hebrew zip in recovery
Click to expand...
Click to collapse
Well, some people put the .tar's inside a zip to compress it, so it might be a Odin file after all.
Open the zip file, and if there is just ONE file there, extract it and flash it with Odin. If there are alot of files/folders, it's for CWM

[Q] Flashing stock zip via cwm from CM9

nop
mick1mouse said:
Hi all, thanks for viewing this thread
- I flashed my friend's Bell SGS2 i9100M to CM9 a while back, but now he wants to go back to stock and needs to make use of his warranty because of the battery charging problem even when it's is not plugged in
- I need to flash his phone back to Bell stock firmware UGKG2, but I do not have the necessary firmware (PDA) .tar file to flash back to stock via Odin. I've checked Intratech's thread but multiupload is down so I cannot download the .tar files
- However, I have the stock ROM in .zip file, the kernel, modem and CSC in .tar file
- Unfortunately, I did not make the nandroid backup before flashing CM9 on his phone
- I currently do not have his phone with me, but he will be coming over in a few hours
So my questions are:
1) Is it okay to just flash the stock ROM .zip file via recovery from CM9? (After the standard procedures of wiping system, data, cache, etc.)
2) Will the CM9 kernel recovery flash the stock ROM .zip file? I think it might give some e: (some sdcard) error, I'm guessing... If so, will flashing a custom Gingerbread kernel then flashing the stock ROM .zip file via CWM work?
3) If 1 & 2 don't work, does this mean I absolutely have to flash back to stock via Odin?
I've also got an usb jig prepared
Thanks in advance
Click to expand...
Click to collapse
Hey,
like u said, the .zip includes .tar files.
.tar files always must flashed via odin!
Only way to to it via phone is using odin on phone, but I'm not up to date how is the status and if it's really working.
So to be sure:
1) make a full wipe (like u said above with formatting system, cache etc.)
2) Put files in Odin and flash
3) Flash cf-root or kernel to get CWM back (if u want)
CHEERS
nop
mick1mouse said:
the .zip file does not have the .tar files, it is CWM flashable; it has the META-INF folder, system folder, zimage, etc.
Click to expand...
Click to collapse
Oh ok. Didn't read carefully, sorry.
So dunno where u got it from, but if it is a source u trust, it should work.
... should be like flashin CM or any custom Rom
Much success!
CHEERS
nop

Lollipop Pre-Rooted TWRP Flash

What we have hare is a TWRP flashable of Lollipop that is pre-rooted, and will only overwrite the "System," "Boot," and "Modem" partitions. I performed a factory reset before performing the backup anyways. It will not overwrite the EFS, data, or cache partitions, so previously installed apps might stay, but no promises, so be prepared to lose all your apps. If your phone doesn't act right, perform a factory restore and wipe your Cache/Dalvik. It is recommended to do a full backup before flashing this image.
To install, install TWRP (if not already), and un7zip (7-zip on PC or ES File Explorer on Android) the folder from the TWRP file link into:
"/TWRP/backups/<device serial number>/" (The serial numbered folder will be present if a backup of something has been made from TWRP.)
Then boot into TWRP and 'Restore' "Sprint Note 3 Lollipop Prerooted."
You can Odin the TWRP file from here:
http://dl.twrp.me/hltespr/twrp-2.8.6.1-hltespr-4.4.img.tar
And here is the TWRP file:
Sprint Note 3 Lollipop prerooted.7z
https://drive.google.com/open?id=0B2iEgzRTFjrQWVVzSkdUMlVMUkk&authuser=0
I forgot to do this before making the image, but this app fixes SD write permissions no problem:
https://play.google.com/store/apps/...sdfix&pcampaignid=APPU_1_yNg1VcDzJLTasAS274Fo
I don't know how much bandwidth Google will allow before flipping people the bird. If this happens, let me know and I'll get another method of sharing worked out.
This looks like it will get me to the latest firmware/modem easily, but don't want to be the Guinea Pig. Anyone else have success with this?
mhoepfin said:
This looks like it will get me to the latest firmware/modem easily, but don't want to be the Guinea Pig. Anyone else have success with this?
Click to expand...
Click to collapse
I'll try this today, thank you!
I flashed the boot and the modem, but baseband still shows as NK4 for some reason
leond said:
I flashed the boot and the modem, but baseband still shows as NK4 for some reason
Click to expand...
Click to collapse
Did you try flashing the System as well? I know mine is OC5
Greaper88 said:
Did you try flashing the System as well? I know mine is OC5
Click to expand...
Click to collapse
As far as my knowledge goes , you cant flash a modem via recovery , no matter what
It has to be done via odin .
so its better to restore the image and then straight away boot in download mode and flash the modem via odin ( if there is available an ODIN image for the OC5 modem ) and then do a reboot
But the rom will work fine with NK4 provided the firmware version is the same that is NK4 as any lower bootloader wont let it boot after the first Reboot.
lord dredd said:
As far as my knowledge goes , you cant flash a modem via recovery , no matter what
It has to be done via odin .
so its better to restore the image and then straight away boot in download mode and flash the modem via odin ( if there is available an ODIN image for the OC5 modem ) and then do a reboot
But the rom will work fine with NK4 provided the firmware version is the same that is NK4 as any lower bootloader wont let it boot after the first Reboot.
Click to expand...
Click to collapse
OK, so how does the ota update flash the modem?
And basically, as long as the bootloader is compatible, it doesn't matter too much?
Greaper88 said:
OK, so how does the ota update flash the modem?
And basically, as long as the bootloader is compatible, it doesn't matter too much?
Click to expand...
Click to collapse
I was referring to the custom recovery. I dont know how ota does that. Butvi am more than 100 % sure that you can't flash the modem with a custom recovery . its a well known fact now .
Sent from THE NOTE 3 .. size matters and so does the battery backup .....
lord dredd said:
I was referring to the custom recovery. I dont know how ota does that. Butvi am more than 100 % sure that you can't flash the modem with a custom recovery . its a well known fact now .
Sent from THE NOTE 3 .. size matters and so does the battery backup .....
Click to expand...
Click to collapse
Actually that is not true. You can flash the modem.bin in recovery. You need the devblock/partition and then add the script to the updater in the zip. You'll need the correct binary as well in order to flash it but you have that already.
I was just looking for some stock note 3 lollipop framework & apk's for some work i'm doing and come upon this thread. I thought i'd give my input on the modem flashable thing while i was here.
tx_dbs_tx said:
Actually that is not true. You can flash the modem.bin in recovery. You need the devblock/partition and then add the script to the updater in the zip. You'll need the correct binary as well in order to flash it but you have that already.
.
Click to expand...
Click to collapse
Can you please elaborate on this? I was looking for TWRP flashable modem for note 3 and did not find one neither for Sprint nor for any other carrier.
I tried to create an ODIN flashable modem. It looks like modem.emmc.win has the same format as modem.bin (at least the same header and similar size) so i just renamed modem.emmc.win to modem.bin then used:
c:\cygwin420\bin\tar -H ustar -c modem.bin > modem.tar
c:\cygwin420\bin\md5sum -t modem.tar >> modem.tar
copy modem.tar modem.tar.md5
info came from this guide: [TUTORIAL] How to repackage ODIN files and then tried to flash resulting file via ODIN , but that failes with : "secure check fail modem"
leond said:
Can you please elaborate on this? I was looking for TWRP flashable modem for note 3 and did not find one neither for Sprint nor for any other carrier.
I tried to create an ODIN flashable modem. It looks like modem.emmc.win has the same format as modem.bin (at least the same header and similar size) so i just renamed modem.emmc.win to modem.bin then used:
c:\cygwin420\bin\tar -H ustar -c modem.bin > modem.tar
c:\cygwin420\bin\md5sum -t modem.tar >> modem.tar
copy modem.tar modem.tar.md5
info came from this guide: [TUTORIAL] How to repackage ODIN files and then tried to flash resulting file via ODIN , but that failes with : "secure check fail modem"
Click to expand...
Click to collapse
I don't know the devblock for the modem on the Note 3 but once you get that you can add a line to your updater-script inside the zip and it will flash the modem in recovery.
The line will be similar to this...
package_extract_file("modem.bin", "/dev/block/platform/msm_sdcc.1/by-name/modem"); Do some searching and maybe somebody has already pulled the devblocks for dev/chef's to use as references. You can make an odin flashable mode but that's a totally different beast. The point of my post was that you CAN do it in recovery easily.
Edit: Here is the mount point for the Sprint note 3 modem...
/dev/block/mmcblk0p2
also you can do it this way... /dev/block/platform/msm_sdcc.1/by-name/modem like i suggested above. If you know how to create flashable zips then all you need to do is put it together and bam... you have a recovery flashable modem. No need to go through all the trouble with creating an odin flashable... that's a lot more unecessary work.
leond said:
Can you please elaborate on this? I was looking for TWRP flashable modem for note 3 and did not find one neither for Sprint nor for any other carrier.
I tried to create an ODIN flashable modem. It looks like modem.emmc.win has the same format as modem.bin (at least the same header and similar size) so i just renamed modem.emmc.win to modem.bin then used:
c:\cygwin420\bin\tar -H ustar -c modem.bin > modem.tar
c:\cygwin420\bin\md5sum -t modem.tar >> modem.tar
copy modem.tar modem.tar.md5
info came from this guide: [TUTORIAL] How to repackage ODIN files and then tried to flash resulting file via ODIN , but that failes with : "secure check fail modem"
Click to expand...
Click to collapse
Here is Just My Lollipop Modem.
TWRP recovery.
https://app.box.com/s/w9cs93h3ftmw2g8tgblmvv81ci0g5ulq
rbeavers said:
Here is Just My Lollipop Modem.
TWRP recovery.
https://app.box.com/s/w9cs93h3ftmw2g8tgblmvv81ci0g5ulq
Click to expand...
Click to collapse
it's a recovery backup not a recovery flashable file. It has already been posted and as before it cannot be flashed
leond said:
it's a recovery backup not a recovery flashable file. It has already been posted and as before it cannot be flashed
Click to expand...
Click to collapse
Unzip put in twrp folder and RESTORE!
I've restored the lollipop backup for the note 3 and a note 4 backup on my note 3 and it ALL worked.
rbeavers said:
Unzip put in twrp folder and RESTORE!
I've restored the lollipop backup for the note 3 and a note 4 backup on my note 3 and it ALL worked.
Click to expand...
Click to collapse
As with previous versions posted n this thread it shows as working but if I check baseband version it's still NK4.
leond said:
As with previous versions posted n this thread it shows as working but if I check baseband version it's still NK4.
Click to expand...
Click to collapse
Your right, tried to duplicate, no go.
Guess We have to wait for the Devs.
rbeavers said:
Your right, tried to duplicate, no go.
Guess We have to wait for the Devs.
Click to expand...
Click to collapse
Something is really wired:
Someone has posted a complete stock odin tar file here (ROM)(ODIN)OC5 stcock firmware tar
most (but not all) people report that after flashing baseband gets updated to OC5. I took the tar and repackaged first to only include modem.bin & NON-HLOS.bin like the rest of the odin modem tars. Now it successfully FLASHes with odin but after reboot it still says NK4 in baseband.
I went even further and created a tar that has everything besides system, cache and recovery - again it flashes successfully but but after reboot it still says NK4 in baseband. It almost loks like the update is done but the version number is not updated somewhere.
i can post links to files if anyone wants to try as well
Ok, I was finally able to update basdeband to OC5. to do so I had to go back to NH7 modem first. For some reason it would not upgrate modem from NK4 to OC5 doesn't matter what i did, but went from NH7 to OC5 in the first try. so here is what i did:
1) Downgrade modem to NK4 using this:
http://www.mediafire.com/download/jk7qevy1swwfw2e/N900PVPUDNK4+MODEM+BOOTLOADER.zip
The link and instructions are provided by this thread: [ROM] kk 4.4.4 [N900PVPUDNK4] NO KNOX [DEODEX]
Download zip above ( NK4 modem and bootloader )
Extract the zip files
Boot into download mode
Use odin 3.07 from zip click PDA box flash modem first (you should be able to use any other version of Odin as well)
I did not FLASH the bootloader. The NK4 odin tar file contains 2 files : modem.bin and NON-HLOS.bin So I prepared the OC5 modem tar with the same files from OC5 stock tar.
Reboot and make sure your baseband now ends with NK4. After a minute or so the popup came up saying system is being updating. Wait until it's done and reboot to download mode again.
2) Download OC5 modem and bootloader zip file from the link below and extract:
https://www.mediafire.com/?6qeh035h9xh60ng
Now you can flash OC5 modem,. reboot in to Download mode again and follow the same steps as above, but select modem-OC5.tar.md5, flash, reboot in to Download mode for the 3rd time and upgrade bootloader using bootloader-OC5.tar.md5 file (in Odin click the bootloader box flash bootloader).
reboot, verify that your baseband is now OC5
reply please
is this a rom that I can flash?
Only if you have a custom recovery. If you don't, or don't know what that is, then you need the "Odin" ROM

Categories

Resources