[Q] how to extract baseband (amss) from stock rom? - Galaxy Ace S5830 General

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

Related

[Q] how to unpack tar.md5 ?

Hi,
I downloaded a ROM from sammobile.com for my galaxy tab 10.1, and all I want is system.img which is located in a tar.md5 file .
if I extract is with 7zip I get a message "there is no correct record at the end of archive"
and dsixda kitchen don't seem to recognize it .
any ideas please .
thanks.
Well its simple just rename it to .tar and use winrar to extract it. the md5 extension makes odin calculate a hash to check if the firmware you're flashing is not corrupted.
hi,
I did that and I got a message "there is no correct record at the end of archive"
the files are extracted but I think it is corrupted because dsixda kitchen can't read it.
just extract it by 7-Zip and don't care about message
I have this problem too, my 7-zpi say that canĀ“t open file format unknowed or damage.
your download maybe interupted, try download it again and do md5 checksum
Ace Duos Kernel
how to get s6802 custom kernel??
jeckyvanz said:
how to get s6802 custom kernel??
Click to expand...
Click to collapse
You can find a beta release custom kernel for the Samsung Galaxy Ace Duos from here.
kernel
thanks. but the download link doesnt work again.
MD5
I've problem with restoring through CWM.
it said "md5 sums mismatch. how to troble it?
logic5 said:
Hi,
I downloaded a ROM from sammobile.com for my galaxy tab 10.1, and all I want is system.img which is located in a tar.md5 file .
if I extract is with 7zip I get a message "there is no correct record at the end of archive"
and dsixda kitchen don't seem to recognize it .
any ideas please .
thanks.
Click to expand...
Click to collapse
You might be opening the wrong file.
You have to download 2 files:
xxxx.tar
xxxx.tar.md5
the first one is the one you have to open.
the second one is the one that only have the MD5 result of the first.
( http://en.wikipedia.org/wiki/MD5 )
jeckyvanz said:
I've problem with restoring through CWM.
it said "md5 sums mismatch. how to troble it?
Click to expand...
Click to collapse
Redownlaod and try to unzip again. Kitchen should open it, make sure u have kitchen scripts for your phone or edit from flashable zip. Afaik
best idea
dont use 7zip but use unoversal extractor. it will extract everything.
I have the same issue for 5301. I have to get either the recovery or system img for creating a custom rom. Usually samsung firmware files can be extracted using izarc, 7zip or universal extract tool. some can be opened with ultraISO or similar tool. I tried dsixdas kitchen as well. That does not even acknowledge this ROM. These firmwares come as a single tar file with md5 sum attached. There is something different about this ROM file that wont even let let the regular tools see what is inside the file. I tried to open it with a hex editor and it looks similar what a regular tar.md5 file would look. Looking at the log file from universal extractor:
TrID/32 - File Identifier v2.02 - (C) 2003-06 By M.Pontello
Definitions found: 2641
Analyzing...
Collecting data from file: C:\Technical\S5301XXALJ7_S5301OXXALJ8_S5301XXLJ7_HOME.tar.md5
99.3% (.TAR) TAR archive (149/5)
0.6% (.LZMA) LZMA compressed file (1/1)
7-Zip Tar archive extractions cannot be logged.
If Odin can flash these files using the same boot, recovery and system... images then there must be a way to extract these img files. wonder if odin extracts to a temp location?
Here is a link to the file http://hotfile.com/dl/198648982/cfb...5301_EUR_1_20130214151121_61bveu8l1b.zip.html
logic5 said:
Hi,
I downloaded a ROM from sammobile.com for my galaxy tab 10.1, and all I want is system.img which is located in a tar.md5 file .
if I extract is with 7zip I get a message "there is no correct record at the end of archive"
and dsixda kitchen don't seem to recognize it .
any ideas please .
thanks.
Click to expand...
Click to collapse
Use odinatrix to extrat system.img n modem files..
Its the easiest tool do so...
U may also use splitfus2 bt its way trickier to use than odinatrix.
masum73 said:
I have the same issue for 5301. I have to get either the recovery or system img for creating a custom rom. Usually samsung firmware files can be extracted using izarc, 7zip or universal extract tool. some can be opened with ultraISO or similar tool. I tried dsixdas kitchen as well. That does not even acknowledge this ROM. These firmwares come as a single tar file with md5 sum attached. There is something different about this ROM file that wont even let let the regular tools see what is inside the file. I tried to open it with a hex editor and it looks similar what a regular tar.md5 file would look. Looking at the log file from universal extractor:
TrID/32 - File Identifier v2.02 - (C) 2003-06 By M.Pontello
Definitions found: 2641
Analyzing...
Collecting data from file: C:\Technical\S5301XXALJ7_S5301OXXALJ8_S5301XXLJ7_HOME.tar.md5
99.3% (.TAR) TAR archive (149/5)
0.6% (.LZMA) LZMA compressed file (1/1)
7-Zip Tar archive extractions cannot be logged.
If Odin can flash these files using the same boot, recovery and system... images then there must be a way to extract these img files. wonder if odin extracts to a temp location?
Here is a link to the file http://hotfile.com/dl/198648982/cfb...5301_EUR_1_20130214151121_61bveu8l1b.zip.html
Click to expand...
Click to collapse
Don't be lazy.
Lift your hand n press the Thanxxx Button.=)
---------- Post added at 10:02 AM ---------- Previous post was at 10:00 AM ----------
frankito777 said:
You might be opening the wrong file.
You have to download 2 files:
xxxx.tar
xxxx.tar.md5
the first one is the one you have to open.
the second one is the one that only have the MD5 result of the first.
( http://en.wikipedia.org/wiki/MD5 )
Click to expand...
Click to collapse
Now there is only one xxx_home.tar.md5 file..
That was old days.
Be a part of new world.
N now u cnt extract through an archve manager.
U need espicial tools like splitfus2 n odinatrix to extract files.
Don't be lazy.
Lift your hand n press the Thanxxx Button.=)
Thanks SArnab! so finally I am able to split the files using odinatrix. Now for this type of turbo ROMs how do I create odin flashable file???
I created a regular odin tar file with md5 sum but that does not go past 'NAND Write Start'. Please advise.
masum73 said:
Thanks SArnab! so finally I am able to split the files using odinatrix. Now for this type of turbo ROMs how do I create odin flashable file???
I created a regular odin tar file with md5 sum but that does not go past 'NAND Write Start'. Please advise.
Click to expand...
Click to collapse
Your pc shud b superfast so that odintrix can work witout lag.
My HP G6 lapi took around 10 mins to extrqct the one .tar.md5 file..
The tool will automatically extract diffrnt .tar files such as modem_xxx.tar pda_xxx.tar n csc_xxx.tar
Now u can use these to flash through odin witout any prb.
U can use pda.tar in kitchen to get boot.img n system.img.
Kitchen will also help u extract sysmtem foldr from system.img.
U can also flash through odin the single .tar.md5....
Choose that in pda field...
Odin is smart enough to do rest of the part.
Don't be lazy.
Lift your hand n press the Thanxxx Button.=)
Appreciate the quick response. I guess my question was not clear enough. I extracted the recovery and created a clockwork recovery named recovery.img. Now I want to flash this recovery back on the device. I created the tar file using:
tar -H ustar -c recovery.img > CWMrecovery.tar
md5sum -t CWMrecovery.tar >> CWMrecovery.tar
mv CWMrecovery.tar CWMrecovery.tar.md5
When I flash this using odin3_v3.07 md5 is verified but he flash does not go through and stops at NAND write start. Is there a special way to create a odin flashable tar.md5 file foe these turbo firmwares?
masum73 said:
Appreciate the quick response. I guess my question was not clear enough. I extracted the recovery and created a clockwork recovery named recovery.img. Now I want to flash this recovery back on the device. I created the tar file using:
tar -H ustar -c recovery.img > CWMrecovery.tar
md5sum -t CWMrecovery.tar >> CWMrecovery.tar
mv CWMrecovery.tar CWMrecovery.tar.md5
When I flash this using odin3_v3.07 md5 is verified but he flash does not go through and stops at NAND write start. Is there a special way to create a odin flashable tar.md5 file foe these turbo firmwares?
Click to expand...
Click to collapse
Sorry, I have no idea bout wat u r talkin.
I never did this so cant help u in tis part.
Oh ya where did u put the tar file in odin??
In pda fieled or csc or modem??
I think its need to be in pda field.
I cnt help more on this.
But ya I wnt leave it here.
A user named Deadly can help u.
He is great in converting odin to cwm n cwm to odin.
Hope u understan wat I mean.
Don't be lazy.
Lift your hand n press the Thanxxx Button.=)
System App
how to install custom system ui/android status bar on system. my device gt-s6802. what's compatible with mine??

XWLPO/Siyah

I've read that the latest 4.0.4 release (XWLPO) still has MMC_CAP_ERASE enabled in it's kernel.
Am I correct in thinking if I replace the zImage file in XWLPO's tar.md5 file with Siyah 3.4.1's zImage file, then flash the firmware through Odin then:
1. I will eliminate the possible brick bug
2. Device will be automatically rooted
I might replace the new bootloader (Sbl.bin) with the old one while I'm at it.
I know I'll have to install Tungstwenty's 4.0.4 camera/video fix after flashing.
Is there anything else I should consider if tweaking the official SamMobile tar file?
Cheers
...
I've tried updating the .tar.md5 archive but I have the following problems/questions:
1. When I open the XWLPO .zip file, as well as the .tar.md5 file, there is an SS_DL.dll file. What is this?
2. When I open the .tar.md5 archive with 7Zip it says "no correct record at the end of the archive"
3. Probably because of this error, if I try to update the archive 7Zip then says "not implemented"
Does anyone know how I can add/replace files in a SamMobile .zip file please?
Thanks
1-Ignore this file. Not needed for nothing.
2-Remove .md5 from the the end of extension .tar.md5 and 7zip open file without problem.
3-7zip does not update tar file. You have to unpack the whole archive and recreate the tar file

[HELP]how to repack system.img on 4.1.1

Hi guys, I could successfully unpacked and repacked system.img on 4.0.4 for my Galaxy S III by learning from xda, add root files, delete unnecessary system apps, etc, and using "tar -cvf ...." to make an tar pack to flash with ODIN, thx to all xda developpers.
But when I did this again on new GSIII 4.1.1 firmwares like DI2, My phone jammed in the 2nd screen, could someone help me?
Here is what I did on 4.1.1 firmwares in Ubutu, just like what I did on 4.0.4
1. unpack system.img from tar files
2. exchange system.img to system.img.ext4 in Ubutu
3. unpack system.img.ext4 with
Code:
mkdir systest; mount -o rw,loop system.img.ext4 systest
oh just forget the folder name.
4. modify the files in systest folder blablabla
5. repack system.img from systest folder using
Code:
sudo mkuserimg.sh -s systest systest-new.img ext4 temp 1536M
6. then make a new tar file to flash with recovery.img, hidden.img etc.
This tar file could be flashed with ODIN successfully, but like I said above, my phone didn't response in the 2nd screen with Samsung logos, I've wiped userdata in stock recovery but it didn't work.
Then I didn't modify any files, just unpack and repack system.img, flash it with ODIN, my phone remains the same
Could someone kindly to figure it out what I did wrong on new 4.1.1 firmwares? Is it about Samsung file format in 4.1.1?
Oh no replies until now...:crying:
I tested other 4.1.1 firmwares, unpack and repack system.img, then zip into new tar file, flash it, also stuck on the Samsung Logo with vibration
but it worked on all 4.0.4 firmwares

Can't see .tar file after unzip stock ROM (CWM_I9305TDVUENC1-XSA.zip)

I am trying to flash stock ROM (CWM_I9305TDVUENC1-XSA.zip) via ODIN, so I can get reception back on my S3 gt-i9305t. But when I unzip it (using 7zip) I don't see a .tar file all I see is -
META-INF File Folder
system File Folder
tmp File Folder
Even when I do it in ODIN it doesn't see the .tar file
I'm not sure what I'm doing wrong?

can i flash a vendor.img.lz4 with TWRP?

Device : s9e
I downloaded a stock rom from sammobile but it refuses to flash because i have newer binary version (latest)
So i decided to extract the vendor.img.lz4 from it and flash it separately in TWRP.
But when i extract the vendor.img from AP i found that it has .lz4 extension. Can i just remove it and flash in TWRP? Or do i need additional steps? Thanks in
Update: i found 7zip zs and it allowed me to extract the .lz4 compressed file
You need to extract them first
On Windows 7-Zip ZS can do it
https://github.com/mcmilk/7-Zip-zstd/releases
On Linux use lz4, sould be in the repos
# lz4 -d somefile.lz4
Areventon said:
Device : s9e
I downloaded a stock rom from sammobile but it refuses to flash because i have newer binary version (latest)
So i decided to extract the vendor.img.lz4 from it and flash it separately in TWRP.
But when i extract the vendor.img from AP i found that it has .lz4 extension. Can i just remove it and flash in TWRP? Or do i need additional steps? Thanks in
Update: i found 7zip zs and it allowed me to extract the .lz4 compressed file
Click to expand...
Click to collapse
You can flash .img with TWRP, idk what's Iz4 but you may want to search a Iz4 to img converter.
I'm not sure tho if Iz4 is just a nickname you can remove or you have to convert it to .img. you may want to search that too
Have a good day
I found something : https://stackoverflow.com/questions/54330039/how-to-read-spark-log-files-iz4-or-snappy
Start you search here

Categories

Resources