[Q] Some Questions About Flashing and Firmware - Galaxy S II Q&A, Help & Troubleshooting

I am sorry if my thread doesn't belong to this section. I have tried to search but I don't get satisfactory information. My questions are:
1. Which one from all files inside the firmware tar that contains the CSC part? Is it cache.img or hidden.img?
2. Do all CSC files reside in the /system/CSC folder?
3. I have the conclusion that the image/bin file inside the firmware will be used to wipe/format the corresponding partition i.e. factoryfs.img for /system partition, etc. Is that true?
4. Is it possible to just flash the PDA/Phone(Modem)/CSC part individually? If I am not mistaken, we can use Odin just to flash the kernel.
5. Is it possible just to create firmware tar file containing just one image to update specific partition? E.g. file containing just factoryfs.img
6. Beside the img file which must be in the compressed ext4 image, can we just use tar command to create the firmware for Odin?
7. Suppose I only have the PDA part of the firmware and use it to flash my SGS2, since the /system partition will be wipe out, does it mean I will loose/corrupt my CSC part?
Thanks in advance.

ynamojn said:
I am sorry if my thread doesn't belong to this section. I have tried to search but I don't get satisfactory information. My questions are:
2. Do all CSC files reside in the /system/CSC folder?
No some are in the root of the system folder namely . CSC files txt CSC Version txt and SW Configuration xml
4. Is it possible to just flash the PDA/Phone(Modem)/CSC part individually? If I am not mistaken, we can use Odin just to flash the kernel.
Yes Modem CSC and Kernel can be individual Odin flashes .
PDA also if its a three part firmware .
jje
Click to expand...
Click to collapse

JJEgan said:
I am sorry if my thread doesn't belong to this section. I have tried to search but I don't get satisfactory information. My questions are:
2. Do all CSC files reside in the /system/CSC folder?
No some are in the root of the system folder namely . CSC files txt CSC Version txt and SW Configuration xml
4. Is it possible to just flash the PDA/Phone(Modem)/CSC part individually? If I am not mistaken, we can use Odin just to flash the kernel.
Yes Modem CSC and Kernel can be individual Odin flashes .
PDA also if its a three part firmware .
jje
Click to expand...
Click to collapse
Thanks for your answer. I have managed to open the cache.img. My conclusion is that if I flash without the CSC part, I will loose some apps and APN seetings. But the system will still be usable. I only need to manually input the APN setting.

Related

[Q] Is it possible to backup your rom, including csc et al

Is it possible to backup your rom, including csc et al?
These files are not available, for my country, in the original firmwares thread.
Is it wrong to assume that copying the csc folder will back it up?
Your help will be greatly appreciated.
2 options.
use CMW as your backup app and you'll be able to back it all up.
find the Rom your using in intratech post-
http://forum.xda-developers.com/showthread.php?t=1075278
and just extract the CSC from there and there you go
how to know which one is it?
go to settings----about phone.
I have checked Itra's post for my phone, pda and csc and found none matching.
Does CWM work without first flashing a rom? As in, on the stock rom?
swnt said:
I have checked Itra's post for my phone, pda and csc and found none matching.
Does CWM work without first flashing a rom? As in, on the stock rom?
No you require a rooted kernel with CWM 4 .
CSC folder + CSC files txt + CSC version txt + SW Configuration .xml are the files i back up and copy back .
jje
Click to expand...
Click to collapse
Thanks, and then restoring these and selecting it using csc selecting restores it to the original state?

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

[Q] CSC unknown even after flashing the stock CSC

Hi, I've been searching the forums and google for a solution to this problem, but despite I've seen some possible solutions, I haven't been able to get it solved.
My current installed custom ROM is based on the ALF6 firmware (Xlite ROM V7). My phone is ALF5.
If I dial *#1234# I get the following:
AP: I9300XXALF6
CP: I9300XXLF5
CSC: Unknown <--- problem?
I have tried the following:
1) Flash the original stock rom (PDA, PHONE and CSC files separately). It works OK (shows ALE7 as CSC), but when I restore the nandroid backup of my custom ROM, the CSC gets lost again, so it looks like the nandroid backup contains also the CSC. I don't know where exactly is stored the CSC in the nandroid backup. I suppose it's stored in the system partion, but I'm not sure about this.
2) Flash the original stock rom CSC (only the CSC file) using Odin. It doesn't work. After booting, it shows again CSC:Unkdnown
There's a third solution, but it's very slow and I haven't tried yet, because I'm not sure if it will work. I use solution (1), and then I use CF-root to get root and recovery and then I install the custom ROM again and recover the app's using Titanium Backup, but I don't know if flashing the custom ROM will get rid again of the CSC.
Is there a way to restore my nandroid backup without restoring the CSC?
Any suggestion will be very much appreciated.
By the way, the phone works OK, it's just that it's annoying to see this unknown value in the CSC.
Thanks in advance.
Try that:
-Install the rom you want
-flash CSC only with odin
-start your phone
-dial *#272*YOURIMEI#
-select the good csc and apply
BE CAREFULL: it will erase all your apps and data so make a backup of them
If dial *#272*YOURIMEI# shows nothing, just do a factory reset from settings
Mopral said:
Try that:
-Install the rom you want
-flash CSC only with odin
-start your phone
-dial *#272*YOURIMEI#
-select the good csc and apply
BE CAREFULL: it will erase all your apps and data so make a backup of them
If dial *#272*YOURIMEI# shows nothing, just do a factory reset from settings
Click to expand...
Click to collapse
OK, I'll try, but I suppose I can skip the first step, can't I?. Because I already have a custom ROM installed (of course, with unknown CSC issue).
I'll flash the CSC again, start the phone, dial, select csc and reboot. Then I will recover the apps with TB.
OK?
joanquro said:
OK, I'll try, but I suppose I can skip the first step, can't I?. Because I already have a custom ROM installed (of course, with unknown CSC issue).
I'll flash the CSC again, start the phone, dial, select csc and reboot. Then I will recover the apps with TB.
OK?
Click to expand...
Click to collapse
Yep!
If your rom is already install you can skip the first step
Mopral said:
Yep!
If your rom is already install you can skip the first step
Click to expand...
Click to collapse
It didn't work. After dialing, it does nothing. Then, as you suggest, I return to factory defaults, I reboot the phone, and I try again, and nothing
Nandroid open backup
Navigate to systemext4 and open with win rar or similar .
Extract CSC folder
CSC Version Text
SWConf xml
Replace your custom rom files with above and flash .
jje
Go to system/csc with root explorer (or similar app) and tell me what you have in this folder
Edit: try JJEgan solution first (forget that myself 'cause I do not use nandroid backup...)
JJEgan said:
Nandroid open backup
Navigate to systemext4 and open with win rar or similar .
Extract CSC folder
CSC Version Text
SWConf xml
Replace your custom rom files with above and flash .
jje
Click to expand...
Click to collapse
In my nandroid backups, the CSC folder contains the following files:
contents.db
customer.xml
language.xml
others.xml
sales_code.dat
I don't understand what am I supposed to do now. Can you please explain again?
Thanks.
Extract CSC folder extract full folder from the rom the two below are single files .
CSC Version Text
SWConf xml
Replace CSC folder CSC version text and SWConf file in the existing rom with the folder and files above into the custom rom file .
Or the same files on your phone via root explorer but i don't know if replacing directly on the phone works as i dont use CSC .
jje
JJEgan said:
Extract CSC folder extract full folder from the rom the two below are single files .
CSC Version Text
SWConf xml
Replace CSC folder CSC version text and SWConf file in the existing rom with the folder and files above into the custom rom file .
Or the same files on your phone via root explorer but i don't know if replacing directly on the phone works as i dont use CSC .
jje
Click to expand...
Click to collapse
OK, I have extracted the CSC folder and those two files from my nandroid backup. I have replaced them onto the existing ROM (I have backed up first the existing ones). I have rebooted the phone. It doesn't work.
We will start the hard way:
-install your stock rom
-root it
-with root explorer, go to /system/csc and copy what is here on your external sdcard
-also copy /system/SW_Configuration.xml file
-tell me what was in the /system/csc folder
Next instructions when it will be done
I've had the same issue.
I just solved it by flashing the csc from odin.
I'll have to lookup the thread but i guess it was in the one with original roms which provided the csc's for all countries.
Edit
http://forum.xda-developers.com/showpost.php?p=26530885&postcount=10
Sent from my GT-I9300 using Tapatalk 2
Mopral said:
We will start the hard way:
-install your stock rom
-root it
-with root explorer, go to /system/csc and copy what is here on your external sdcard
-also copy /system/SW_Configuration.xml file
-tell me what was in the /system/csc folder
Next instructions when it will be done
Click to expand...
Click to collapse
I have a similar problem. My CSC is XSA (Australia unbranded) and I have not been able to download a separate CSC file for it.
I have copied the /system/csc dir and /system/SW_Configuration.xml files.
/system/csc folder contained:
contents.db
customer.xml
default_workspace.xml
langugage.xml
others.xml
sales_code.dat
Please advise how I need to customise the above files.
Also, will I be able to flash a custom ROM, then copy the above file and be alright?
Thanks!

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

[Q] firmware update question

Hello,
Sorry for a noob question, I tried to search for solution, but couldn'f find anything.
I downloaded last update from sammobile.com, and would like to update my phone, but downloaded zip file does not contains md5 or tar, but folders like META-inf, patch, preload, recovery system and sboot.bin file.
Could you please advice me how to update this firmware to my phone?
Tonza said:
Hello,
Sorry for a noob question, I tried to search for solution, but couldn'f find anything.
I downloaded last update from sammobile.com, and would like to update my phone, but downloaded zip file does not contains md5 or tar, but folders like META-inf, patch, preload, recovery system and sboot.bin file.
Could you please advice me how to update this firmware to my phone?
Click to expand...
Click to collapse
You have unzipped the tar file it wont work unzipped .
jje
JJEgan said:
You have unzipped the tar file it wont work unzipped .
jje
Click to expand...
Click to collapse
i didn't unzp anything. I said that zip file that I downloaded from sammobile web site does not contain tar or MD5 file, but the folder structure.
No idea then what you actually downloaded .
Requirement is a tar file not a zip.
Try the sammobile forum for answers .
Or use CHECKFUS
jje

Categories

Resources