So, is there any differences?
There are recovery zipable modem files which have a 12 MB modem.bin inside.
But if i save the modem partition with any specific app from market (Partitions backup, eg.) , it creates a 32 MB modem.img.
The real question is: can i flash this bigger img with recovery? (rename the extension to .bin of course, then replace in the zip) These are in the same format? (the file headers are the same, checked with file editor)
(the reason is that i want a recovery zip file from my modem as an emergency backup, because i think it's patched)
Related
Does anyone know what file system or method to unpack (and repack) the stock rom .img files? It is not yaffs (no surprises there) or ext4 img.
i need to extract the amms inside the ROM (which is a tar.md5 file), I tried to extract it with 7zip, but creating a new .tar with the file and using it to flash the baseband, Odin gets stuck on "download AMSS".
i need the amss from a 5830L, i tried to flash the amss from 2.3.4 stock rom in the russian 2.3.6, but for some reason after that the phone starts to lag, so i think i need the amss from the same version.
anyone know how to extract the amss and create a valid file to flash with?
You need to use Linux/Ubuntu to change the permissions from rwxrwxrwx back to rw-r--r--
Herpderp Adreno + Tegra.
You can only extract the file in 7Zip and repack it to Tar. However, you cannot repack it to a Odin Flashable tar. The way to do it is using either Linux or if on a Windows Machine, then Install Cygwin and run the commands from there. The commands is as follows:
tar -H ustar -c filename1.ext filename2.ext filename3.ext filename4.ext > OdinFlash.tar
Include all files to be packed including their extentions by replacing filename#.ext with the relevant filenames to be packed. The resultant tar will be flashable in Odin.
thanks, work perfectly
There are currently 2 ways to grab a modem for flashing.
One of the ways is creating a dumpfile with the following command:
Code:
dd if=/dev/block/mmcblk0p7 of=/mnt/extSdCard/ODIN/modem.bin bs=4096
Now this is fine when you want to flash the modem with CWM, but when you want it to flash with ODIN it fails.
Now i know that the current dumpfile is about 30MB (probably the entire contents of the partition), but when i look into the MD5 files we flash in ODIN, the modem file is only 12 MB. Does anyone know how to get a 12 MB file from an installed ROM ?
Easiest way? Just copy modem.bin from its partition if phone is rooted. You could flash modem.bin with mobile odin or you can prepare cwm .zip package or .tar for Odin.
i9.0.1.3k galaxy imperator
I downloaded the stock rom for a Motorola device (E4 Plus) and know how to flash it with SP Flash Tool it but I'm curious as to how I could mount/extract the .img files to see what's inside and try modifications.
Trying to mount the .img files as ext4 on Linux fails and running simg2img also fails. Any ideas?
Another thing I'm wondering is if there's a way to convert the scatter files to a flashable rom (zip file)? and why are the scatter files so large compared to "normal" flashable roms?
I mean: if I flash just a system.img file, previously compressed in .tar format, what changes would it make on my device? Would it reset the settings to default or would it be like doing a factory reset (including apps and userdata)?
it would just reflash the system.img and format the device