Make a CWM radio zip - Atrix 4G Q&A, Help & Troubleshooting

I was curious on how to convert a SBF to a usable zip file. I have the attlatestradio.zip which can get me from whatever radio I'm on to 1.77.30 but would like to sub the radio img to 1.97.00 so RAD wouldn't be needed in testing roms out while away from home. Anyone have a link or website to point me to?

Related

[Q] Extract bp.img from sbf?

Just wondering if anyone has extracted a radio img from a sbf?
I'm trying to get all the radios i can find and make CWM installers for them. so far i can only get them from OTA updates. Is this the only way?
Ive tried moto-depacker but cannot figure out how to combine the mbn headers into an image....
I would like to get away from using the computer for flashing anything
Search for a thread called "fruit cakes" in android development. It has flashable CWM files for radios.
Sent from my MB860 using XDA App
If you are in linux you need to get sbf_flash from mdm, than get the sbf files you want to extract the radios from and do "sbf_flash -x yourfile.sbf" all the images will be extracted as *. img than just get the img number where radio is stored and thats it. Taking them from fruitcakes as already suggested would be quicker though.
neer2005 said:
Search for a thread called "fruit cakes" in android development. It has flashable CWM files for radios.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Sigh..... So where is the 1.97R fruitcake??? I only see 2 radios in that thread.
I want to extract all radios I can find and make CWM installers so I can test out different radios in different areas without having to use a computer to flash.
Sent from my MB860 using XDA Premium App
SolidHelix said:
Just wondering if anyone has extracted a radio img from a sbf?
[...]
I would like to get away from using the computer for flashing anything
Click to expand...
Click to collapse
Ditto on dumping the PC... though you will need to use this on a PC to extract the radio.img files:
http://www.e2mod.com/content/view/93/27/
http://www.motorolafans.com/forums/e6-firmware/22882-how-to-create-your-own-monsterpack.html
Props to NFHimself for mentioning this method in his Telstra radio thread here (post #4):
http://forum.xda-developers.com/showthread.php?t=1049434
There are a few posts here of .zip format radio images... not sure if they include only CG5 or also RDL1 and RDL3. Don't know how inspect a radio.img to determine this. Any ideas?
More info here on CG5, RDL1 and RDL3:
http://forum.xda-developers.com/showthread.php?t=1059643
http://forum.xda-developers.com/showthread.php?t=1059643
NFHimself said:
Single Binary Format
[...]
Desbf, I don't know the history behind this or what it has been used for in the past, it was on a list of google hits for the obscure motorola sbf format. You run it, select a sbf file, and it automatically creates a folder with all the files contained in the sbf extracted. You can delete files and then save an sbf that can be flashed. It has a parse CG button, don't know what it's for. It has been used to flash the Telstra radio onto Att and Bell. I have yet to use it to flash something using RDL3, just the radio using RDL1.
[...]
Speaking of files, here is what I understand about them:
The utilities spit out SMG files, it's a motorola format, not sure of the acronym.
RDL1:
RDL3:
Ram downloader 1 is used for the radio, it is flashed after everything else, changing mode to do so, everything else is flashed using Ram downloader 3. I don't know what happened to RDL2.
[...]
CG5 is the radio, plus other things apparently. In [De]Packer it's a virtual collection of mbn files, partition.mbn, amas_sec.mbn (the radio), osb1_sec.mbn, cefs.mbn, db1_sec.mbn. I have no idea what they are about. I know they are from CG5 because an sbf with just RDL1, RDL3, and CG5 spits out RDL1, RDL3, and the above without a CG5.
Click to expand...
Click to collapse
Well now I feel stupid...
Upon much closer inspection it seems that desbf.exe can't actually be used to create .img files. It appears that I mis-read NFHimself's thread...
I too have banged my head against this for a couple of nights and come to the same conclusion. The few radio.img/bp.img files out there apparently came from either AT&T or Orange FR OTA updates.
So we know Motorola knows how to do this... but HOW???
http://forum.xda-developers.com/showthread.php?t=1049434&page=14
acer73 said:
it's possible to have a CW file of this radio?
Click to expand...
Click to collapse
NFHimself said:
Only if it is available as an OTA file, the sbf radio format contents would have to be translated into a different format for a CWM zip.
Cheers!
Click to expand...
Click to collapse
Another possible line of attack:
http://and-developers.com/partitions:cdt
Extracting partitions
Method, which use right ecc correction
You need kernel module and mtd-utils. Here you can download precompiled mtd-utils and kernel module, with sources. mtd-utils.tar.bz2
Code:
insmod mtd_dumpall.ko
echo "0 64" > /proc/mtd_dumpall
cat /proc/mtd_dumpall > /tmp/mtd0.bin
The result is in ASCII format where ^d[^:]+ denotes data lines and ^o[^:]+ denotes OOB data. Each data line have 0x20 ASCII hex.
To transform them to binary:
Code:
grep ^d | xxd -r -c 0x20 > out.bin
or just try use nanddump directly
janneg_'s kernel module
After booting into Linux, some of these partitions are available through MTD devices (/dev/mtd*). But other partitions are not available because the Linux kernel provided by Motorola does not map them into MTD devices. janneg_ has created a kernel module that maps them all, thus enabling us to extract anything from the Milestone's Flash. You can try a precompiled binary here if you don't want to compile it yourself.
Click to expand...
Click to collapse
Some of the download links on this page are stale, notably the precompiled binary for janneg_'s kernel module...
NFHimself provides a partial Code Group to partition name map here:
http://forum.xda-developers.com/showpost.php?p=13386993&postcount=1
zambezy does the same here:
http://forum.xda-developers.com/showpost.php?p=12687720&postcount=502
But what is the partition name for CG5?
*bump*..anyone still working on creating the CWM zip for 1.97 radio? If someone can tell the process I am willing to create it.
Any Update on that? I would like to get the baseband from the German 2.3.4 sbf.

[Q] Help!

Hello everyone, As I can get the original recovery.img from evo 3d gsm???
Thanks,
Njoa said:
Hello everyone, As I can get the original recovery.img from evo 3d gsm???
Thanks,
Click to expand...
Click to collapse
In my opinion, the best source for stock recovery image files are the original RUU leaks we're provided.
Generally, the user named Football posts them in the development threads. Sometimes they are made sticky. I would suggest searching for the RUU thread by Football for the specific software version you're wanting the stock recovery image from.
An alternate mirror source is http://goo-inside.me . As they mirror many RUU files which contain the stock recovery image.
Goo-inside.me usually posts the rom.zip file located inside the RUU.exe which saves the end user a few steps of extracting the rom.zip themselves from the RUU.exe.
Inside the rom.zip file, there will be another file called firmware.zip, this should contain a file named recovery.img, which is the original stock recovery image for that specific software version.
If the process seems convoluted, you can thank HTC! Hope those steps help make sense of the issue!

Help?

Does anyone have the orginal like files for the evo 3d, i tried installing the new cyanogemod and it messed it up, so i was seeing if anyone had to orginal ruu files
Newby_Leader said:
Does anyone have the orginal like files for the evo 3d, i tried installing the new cyanogemod and it messed it up, so i was seeing if anyone had to orginal ruu files
Click to expand...
Click to collapse
Generally, the user named Football posts RUU files in the development threads. Sometimes they are made sticky. I would suggest searching for the RUU thread by Football for the specific software version you're wanting the stock recovery image from.
An alternate mirror source is http://goo-inside.me . As they mirror many RUU files which contain the stock recovery image.
For the CDMA version, http://goo-inside.me/shooter/ruu
For the GSM version: http://goo-inside.me/shooteru/ruu
Goo-inside.me usually posts the rom.zip file located inside the RUU.exe which saves the end user a few steps of extracting the rom.zip themselves from the RUU.exe.
If the process seems convoluted, you can thank HTC!
Hope those steps help make sense of the issue!
Don't rename it afterwards?

[Q] Where can I find a flashable DXLJ2 baseband/modem?

goo.im/devs/h0tw1r3/GT-N7005/GT-N7005-IMM76D-DXLJ2-Baseband
This is probably the closest I've found, but as far as I know, flashable modem zipz are supposed to have 2 more files, mainly:
1. META-INF/com/google/android/update-binary
2. META-INF/com/google/android/update-script
I know next to nothing about these files and their uses. I've also taken a look at the update-script file, my guess is that it's whatever's shown in recovery display when you flash it.
Where can I find a flashable DXLJ2 modem for the Note N7005/SGH-i717?
I've tried other modems such as UCMD3, UCLF6, etc., they drop connections often in where I live, the only one which worked out okay for me was DXLJ1, so I decided to try and get the DXLJ2 modem to test it out, but can't find it.
I'm planning on using this in the Padawan JB rom as the default modem that came with that custom ROM did not work for me.
I've also noticed that there are some ROMs which make use of the DXLJ2 modem, but I know nothing about development or how modems are incorporated into ROMs.
tl;dr - I'd like a flashable DXLJ2 modem zip if possible, thanks!
Did you try Google? Probably not because I found a few links to other sites in seconds.
440bro said:
Did you try Google? Probably not because I found a few links to other sites in seconds.
Click to expand...
Click to collapse
I have, I'm guessing I must be using wrong keywords since I tried "DXLJ2 Modem Baseband download xda android" numerous times on Google and have only managed to find ROMs which use that baseband, but not as a flashable ZIP by itself.
I always Google before asking questions, and only ask when I have trouble finding something.
Probably seems dumb since some people can find it easier than me, but like I said, I've tried and failed, which is why I'm asking here.
why not just download the stock n7005 .tar and extract the modem.bin and flash with odin. sometimes less is more(keywords). n7005 dxlj2 and extract modem.bin. you will find what you need on first page of each of these searches.
s89281b said:
why not just download the stock n7005 .tar and extract the modem.bin and flash with odin. sometimes less is more(keywords). n7005 dxlj2 and extract modem.bin. you will find what you need on first page of each of these searches.
Click to expand...
Click to collapse
Hey thanks for the reply, much appreciated!
Just to confirm though, is modem.bin supposed to be in the root directory of the tar? I don't see such a file, only:
-amss.bin
-mdm.bin
(These 2 files also appeared in the link in the first post.)
along with the boot image (boot.img), recovery image (recovery.img) and 2 EXT4 filesystem partitions/files (cache.img.ext4 & system.img.ext4)
here is link to a flashable zip of ucmd3 modem. http://storagecow.eu/index.php?dir=Xda/AT&T+Note+1/Stock+Jelly+Bean/ replace the files in tmp folder with both files you got from tar and you should have a recovery flashable dxlj2 zip.
s89281b said:
here is link to a flashable zip of ucmd3 modem. storagecow.eu/index.php?dir=Xda%2FAT%26T+Note+1%2FStock+Jelly+Bean%2F replace the files in tmp folder with both files you got from tar and you should have a recovery flashable dxlj2 zip.
Click to expand...
Click to collapse
Thanks, I'll do that when I can! (My phone isn't with me right now)
I'd just like to know if the same META-INF folder can be used for other other modems as well, for the same device (N7005/I717) and for totally different devices as well (N7000, GS3, etc.)
What does the update-binary (in META-INF) actually do?
Also why is there no modem.bin, just mdm.bin?
I apologise for the questions, I'd just like to learn more if possible. I can probably get it to work already but I'd like to know a bit more and save myself some trouble in the future.

[Q] create flashable zip from rom dump?

DEVICE: LG REVOLUTION (VS910V6)
MY RECOVERY PARTITION IS GONE, BUT I DID FIND A ROM DUMP OF THE SHIPPING ROM FOR MY DEVICE. ITS A ZIP FILE. IS THERE SOME WAY THAT I CAN SOMEHOW CREATE A FLASHABLE ZIP FROM THE DUMP FILE TO BE ABLE TO FIX MY PHONE? MY PHONE IS PRETTY OLD. I HAVE TRACKED DOWN A HANDFUL OF DIFFERENT FILES FOR MY PHONE AND I WOULD HAVE FLASHED ANY OF THE OTHER POSSIBILITIES OF COMPATIBLE ROMS, FACTORY FIRMWARE, ETC. THE PROBLEM WITH THAT IS FOR EVERY FILE I FOUND THE DOWNLOAD LINK FOR, IT'S OUTDATED AND DOENS'T WORK ANYMORE. SO I'M HOPING THERE MIGHT BE A POSSIBILITY GOING THIS ROUTE.....? ANY SUGGESTIONS WOULD SURELY BE APPRECIATED!! :fingers-crossed:

Categories

Resources