[Q] Extract CSC from one part stock firmware [SOLVED] - Galaxy S II Q&A, Help & Troubleshooting

So...my problem is that my provider (3AT) has the option to roam in another provider-net when the connection is bad.
In Settings I have the option to choose: Roaming on/Roaming off/Only national Roaming...but this option I have only in the branded provider firmware.
My idea was to extract the csc, flash a new rom, flash the extracted csc over it and voila: New firmware with the option "national roaming only"
Now my question: Does it work how I imagine it? :laugh:
2nd question: Who can do it? :angel:
Few infos: Galaxy SII GT-I9100
PDA: I9100XWLPG
PHONE: I9100NELP4
CSC: I9100DRELP4 (This is the one I want to flash on any other rom)
Thx for your help

Push

mhm...nobody?

Push

I guess you can try and see for yourself =)
Here are the steps for extracting CSC from a firmware file.
1. Download the firmware file from Sammobile website or Intratech's thread.
2. Extract cache.img and hidden.img files from the .tar.md5 firmware file using 7zip.
3. Bundle up cache.img and hidden.img to a .tar file using the following linux command (if you are using windows, you can install Cygwin to run the command).
tar -H ustar -cf csc.tar cache.img hidden.img
4. Flash csc.tar via Odin.
Hope that helps

waaahhh...thanks so much!!!! I'll try it and report back! :victory:

So...tried to bundle it with cygwin.
It writes that : No such file or directory
Where do I have to lay the img. files?
Ah...have it by trying it out =) They have to lay in:
...:\cygwin\home\...

So...report back:
I took the latest official stock firmware, extracted it with winzip, changed the hidden.img and cache.img (took the latest from 3AT)
bundled everything as u told me and voila: IT WORKS!!!! :victory::victory::victory::victory::victory:

Great! One tip for using cygwin: you can change your working directory to something other than the default cygwin/home by entering
cd c:
Or
cd d:

Sounds like the good old MS Dos

I did this method and flashed the csc.tar.
After doing this, it prompts an install in CWM. I installed it and nothing changes afterwards. What's am I doing wrong?

Packing the file
adotkdotjh said:
Great! One tip for using cygwin: you can change your working directory to something other than the default cygwin/home by entering
cd c:
Or
cd d:
Click to expand...
Click to collapse
Hi,
can I pack the files into csc.tar using 7zip?
I see it has such a option...
Cygwin is more difficult for me.
Thank you in advance.
Greetings!

Related

[Q] how to extract baseband (amss) from stock rom?

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

[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??

Creating CSC tar files for mobile odin

Hi I've been tryin to learn how to create the proper CSC tar file for my region(Ecuador-southamerica)for use with mobile odin this is how far I can get so please anyone with spare time willing to help me help others will be appreciated
So this is with what my unlocked international SGS3 I9300 got shipped stock
PDA:I9300UBALE6
CP: I9300UBLE6
CSC : I9300UUBALE6
I found the correct stock firmware for my region Ecuador South America I9300UBALE6_I9300ECOALE4_ECO.zip (about 706 MB) i Download it extracted with winzip and got two files
1.I9300UBALE6_I9300UBLE6_I9300ECOALE4_HOME.tar.md5
2.SS_DL.dll
I then used 7z to extract the files from the .tar.md5 file and got a bunch of .img files and a .bin file
1.boot.img
2.cache.img
3.hidden.img
4.modem.bin
5.recovery.img
6.system.img
so the big question now was how can i create a .tar file for each one of this .img and.bin ..managed to use cygwin to create them ...but my question is...for the CSC.tar file I'm looking to create for mobile odin do I have to use the hidden.img and the cache.img files and make one single .tar.md5 with those two? Please correct me If I'm wrong ..for your info when I use this two for creating the CSC.tar.md5 I come up with a file of 151MB in size .. does that seems right?
The main idea Is to flash any custom Rom and be able to afterwards load the CSC .tar.md5 for my region
Thanx for your replies excuse my bad English
Sent from my GT-I9300 using xda premium
Did you figure this out? I was able to download the csc portion of my rom from androidfirmware.net.
Unfortunately, I did not solve me problem. I'm on 3 Ireland. My stock rom can breakdown the network information into two networks:
3 (3g)
3 (2g)
It then selects the best one based on signal.
Unfortunately, all custom roms just see two networks named as:
3
3
It doesn't switch back to 3g ever. It's a shame, I thought flashing the csc and modem from stock rom would fix this but it doesn't. I might have to always run stock firmware.
diegomtoscano said:
Hi I've been tryin to learn how to create the proper CSC tar file for my region(Ecuador-southamerica)for use with mobile odin this is how far I can get so please anyone with spare time willing to help me help others will be appreciated
So this is with what my unlocked international SGS3 I9300 got shipped stock
PDA:I9300UBALE6
CP: I9300UBLE6
CSC : I9300UUBALE6
I found the correct stock firmware for my region Ecuador South America I9300UBALE6_I9300ECOALE4_ECO.zip (about 706 MB) i Download it extracted with winzip and got two files
1.I9300UBALE6_I9300UBLE6_I9300ECOALE4_HOME.tar.md5
2.SS_DL.dll
I then used 7z to extract the files from the .tar.md5 file and got a bunch of .img files and a .bin file
1.boot.img
2.cache.img
3.hidden.img
4.modem.bin
5.recovery.img
6.system.img
so the big question now was how can i create a .tar file for each one of this .img and.bin ..managed to use cygwin to create them ...but my question is...for the CSC.tar file I'm looking to create for mobile odin do I have to use the hidden.img and the cache.img files and make one single .tar.md5 with those two? Please correct me If I'm wrong ..for your info when I use this two for creating the CSC.tar.md5 I come up with a file of 151MB in size .. does that seems right?
The main idea Is to flash any custom Rom and be able to afterwards load the CSC .tar.md5 for my region
Thanx for your replies excuse my bad English
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
bump also looking for answer

[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

[Q] Flashing Stock Rom with Heimdall 1.3.2 on a Macbook 10.6.8

I'm trying to change the stock firmware on my unlocked unrooted international S3: I9300 to an official Samsung ROM downloaded from sammobile. The file I downloaded is called I9300XXDLJ4_I9300OXADLJ4_BTU. It's the UK unbranded firmware. The current firmware is on the phone is:
AP: I9300XXBLH3
CP: I9300XXLH1
CSC: I9300OPSBLH3
I have unzipped the file downloaded from Sammobile, which then gave me a tar.md5 file. So I change the file to just .tar, then unzipped that file. Inside that file I have:
boot.img
cache.img
hidden.img
modem.img
recovery.img
system.img
I then tried to use this tutorial on youtube called: How to Use Heimdall on Mac OSX to Install Kernels and ROMs!
When I open Heimdall on my MacBook, I plug my phone in (in download mode) and go to utilities, detect device, which it does. Then I save the PIT file on my desktop. I then go to the flash tab and browse for the PIT file, load that. Then when I go to add the files I don't have any files listed above called zimage or factoryfs etc, but also the Heimdell options doesn't have anything called kernal or the other ones anyway. My options in the partition name drop down box are:
Bootloader
Userdata
OTA
Hidden
System
Cache
Radio
Recovery
Boot
Param
EFS
BOTA1
BOTA0
MD5HDR
TZSW
The video says to match the files, but mine seems to have different names for things.
I have searched and read many forum posts on here and other sites. Can anyone tell me what I am doing wrong with either the unzipping or with Heimdall?
Thanks
Samsung hate apple....thats probably your problem
Sent from my GT-I9300 using xda premium
Thanks, but I only have access to a Mac. I did try my work computer, but it won't let me install any programs like Odin and drivers without Admin privileges.

Categories

Resources