[Q] Tar archives for Odin, what format are they? (restoring a phone) - Samsung Galaxy Mini

Hello, I think this would be the right subforum to post this thread but if it ain't feel free to move it where it belongs.
I'm helping out a friend which has an S5570I. His phone used to work but all of a sudden it didn't so he downloaded Odin and started to do god knows what with it following a YouTube video until it failed. End result: the phone seems to be soft-bricked.
In essence if started normally it would stay put in the Samsung logo, recovery can be accessed and the download mode apparently too. It was too bad this morning when I didn't see a procedure detailed here to (try to) restore the phone, so I'll try that when I have the chance.
Before knowing that it was bricked I was downloading the stuff necessary for a reflash, the questions I have are related to the firmware for the device.
I looked for the right firmware for it: matching model number and latest version matching current customization (just in case) which happens to be Movistar (Spain). I downloaded an archive with the firmware. Then I downloaded the latest version I could find of Odin (4.43 although I have 4.38 and 4.42 around here as well) and an OPS file for the model (named TASS_v1.0.ops).
So doing a dry-test here (without the actual phone) I did the following:
- Opened Odin (4.38 and later 4.43).
- Selected the OPS file.
- Checked the "One Package" option.
- Selected the tar.md5 file in the proper section.
And that's where Odin crashed, so at first I though "OK... bad firmware image?". I went on and downloaded a different one, customized for Spain as well but without any operator branding specifics; only to arrive at the same result. So the thing should be the image unless that other one was corrupted as well...
I started researching about that "tar.md5" format and it seems it should be a tar file (in ustar format) with the results of an md5sum execution appended to it.
Examining any of the firmware files I have through an hex editor I saw the output of the md5sum program in the end, which was expected, but then what should be a tar archive didn't seem to be (or I don't recognize its format). There is no magic number at 0x101, and the "file" utility in Linux recognizes the files as data instead or tar archives.
I'd like to know if anyone knows something about this, if there's anything wrong with the firmware or if those files were created in different way. I'd like to convert them to the appropriate format to use with Odin once/if the phone is debricked.
Thanks everyone for the time dedicated to at least read all this .
PS. I uploaded the files I have here to a hosting place so that you may download them if you wish to help out, here are the links (add https:// before the link because I don't seem to be allowed to post links just jet):
(S5570IBGMB2_S5570IXECMB1_XEC in SamMobile)
Link: copy.com/poYZ64CZLLvU
(S5570IXXMC1_S5570IOXXLK3_PHE in SamMobile)
Link: copy.com/onfqEYD3rQlw
PPS. By the way, how should I detect the phone when connected in download mode in the device manager? I'm unsure of what to look for there.

Related

How to use Odin 1.3?

Hi, I'm trying to use Odin 1.3 to flash JF7, and the SRE mod. I was running JF6 with the SRE mod. So far, I've used Odin one-click to wipe (with phone booted), reformatted internal sd (after reboot), and one-click restored to factory JF6 (from download mode). Now, my phone is booted, and not connected to USB. I have "Odin3. [Android + SLP]" open, and extracted the I897UCJH7.rar file, and also extracted the resulting I897UCJF7_homebinary.rar file.
Here's my question--how the hell do I use Odin 3?!? I've read that it can be picky, and I would rather just do it right the first time I've read all this stuff about .tar and .pit files, but cant seem to find them from any of the rars i've extracted. Odin3 is able to find I897UCJ7_homebinary.rar when opening a file in the "PDA" option of the program. When opening a file from the "Phone" option of the program, I'm able to open the aforementioned rar, and also the modem.bin file in the folder extracted from I897UCJ7_homebinary.rar.
So, do I open the file from the PDA option, or the PHONE option? Also, what's the deal with these pit and tar files? Do I need to load either to flash JF7?
I just can't seem to find a comprehensive overview of the program anywhere....
Thanks a lot!
Edit--turns out I897UCJF7_homebinary is actually a .tar file. The rest of questions still stand
Edit--It also seems that the I897UCJF7_homebinary.tar might just have to be loaded into the PDA sections of the app. Not sure about this yet.
Edit--I think the answer might be here, post #194: http://forum.xda-developers.com/showthread.php?t=780887
j1mb34m said:
Hi, I'm trying to use Odin 1.3 to flash JF7, and the SRE mod. I was running JF6 with the SRE mod. So far, I've used Odin one-click to wipe (with phone booted), reformatted internal sd (after reboot), and one-click restored to factory JF6 (from download mode). Now, my phone is booted, and not connected to USB. I have "Odin3. [Android + SLP]" open, and extracted the I897UCJH7.rar file, and also extracted the resulting I897UCJF7_homebinary.rar file.
Here's my question--how the hell do I use Odin 3?!? I've read that it can be picky, and I would rather just do it right the first time I've read all this stuff about .tar and .pit files, but cant seem to find them from any of the rars i've extracted. Odin3 is able to find I897UCJ7_homebinary.rar when opening a file in the "PDA" option of the program. When opening a file from the "Phone" option of the program, I'm able to open the aforementioned rar, and also the modem.bin file in the folder extracted from I897UCJ7_homebinary.rar.
So, do I open the file from the PDA option, or the PHONE option? Also, what's the deal with these pit and tar files? Do I need to load either to flash JF7?
I just can't seem to find a comprehensive overview of the program anywhere....
Thanks a lot!
Edit--turns out I897UCJF7_homebinary is actually a .tar file. The rest of questions still stand
Edit--It also seems that the I897UCJF7_homebinary.tar might just have to be loaded into the PDA sections of the app. Not sure about this yet.
Edit--I think the answer might be here, post #194: http://forum.xda-developers.com/showthread.php?t=780887
Click to expand...
Click to collapse
Yeah, that is pretty much all you need to do. Make sure you are using the full odin program and not the one click.

[Q] Cannot open Kies/Samsung firmware file

Hello forum-comers,
I want to update my cell's firmware using Kies, but neither this nor FOTA are possible. I've trying using Kies to download a firmware file (to %username%\appdata\local\temp\Binary\GT-I9000 folder), and got a "download complete" notice. The file is supposed to be a *.tar archive containing other *.tar archives that are flashable with Odin, but it has no extension (just a name) and I can't open it. I've tried adding a *.tar or a *.zip extension but it didn't seem to help.
Does anyone know how to open or use that file?
Problem solved
Okay, it turns out that the file is encrypted somehow, and there's a program that can open it (as well as check and download firmware without the Kies suite) - it's called Check Fus, and you can read about it on this thread from a couple of years ago, or head to the dev's website. The decrypted file is a zip containing both a firmware *.tar file that can be flashed using Odin, as well as a *.dll the purpose of which I don't know.

[Q] CSC files via ODIN

Hello,
trying to repair an error that is bugging me to hell. When you run the recovery than thers a thing, this thing (error '/system/csc/MOT/system/', proceeding with MULTI CSC)
So I was thinking that when I would flash it with the correct CSC file from my carrier MOT (I9070MOTLE2) and get rid of the the Multi one.
And yes, does any one know why is my stock recovery written in red - is this normal? Da faq ;/
Thanks in Advance
I know that i can edit the previous post, but let this serve as a bump.
Is there a way lets say I could copy my carriers csc into the multi one and delete all others and then rename the whole flashable zip with the right name as it were my carriers separate csc file and just integrate it into the multi csc file. Probably I can do it this way, but in the multi csc zip there are three files in it;
- cache.img.md5
- GT-I9070_EUR_XX8G.pit.md5
- hidden.img.md5
so which of them should be modded to? How are those two files involved in the cache one which has the csc info? Why is there a pit file again? Or in other words.. which files trigger the correct order to successfully apply the modded csc.
If you can help me, I can guaranty that there will be "thanks" raining as Im not alone with this problem.
Corresponding thread: http://forum.xda-developers.com/showthread.php?t=2100642
Have a nice day
Hello, I'm looking for ways to eliminate MULTI CSC, but I have not found anything.

How to get CSC from stock ROM base (update)

Many users wanted to flash their own CSC on custom ROM. Here is small guide how to get original CSC from base and add to custom ROM.
1.Download your desired ROM from SamMobile (OR use if you have any base already with you from same region)
2.Extract zip to get tar.md5 - again extract it to get cache.img.
3.Get Img Extractor from here Extract exe file on a new folder. copy extracted Cache.img in this folder as well.
4.Drag and drop cache.img you have extracted from base on ImgExtractor.exe
5.You will see newly created folder cache.img_ along with exe
6.Open cache.img_ - recovery - sec_csc folder, you will see system folder. - Drag and drop that system folder on you desktop.
7.Now download csc_changer_new.zip template from here and drag and drop system folder on root of zip. (so after this when you open zip you should see three folders data, META-INF and system)
8.Flash that zip immediately after flashing ROM.
Update : Updated script so it will auto backup all ROM CSC features and auto restore after changing CSC
Repo
Here is sample ready made pack. (you can submit if you make for your region)
1.India CSC for N910G - Download and flash zip immediately after flashing ROM.
2.DBT CSC - Download and flash zip immediately after flashing ROM
.
Updated script so user have not to manually copy ROM CSC features.
.
thx doc.
Your download link drops csc_N910G_India.zip.exe which is malware, WTF?
https://www.virustotal.com/en/file/...5be0c844a946a25ff87a1aa5/analysis/1434632411/
2.Extract zip to get tar.md5 - again extract it to get cache.img.
Click to expand...
Click to collapse
Using 7zip on Windows I get a cache.img.ext4 file which does not create the expected files when dropped onto ImgExtractor.exe.
May I get a clue?
catseyenu said:
Using 7zip on Windows I get a cache.img.ext4 file which does not create the expected files when dropped onto ImgExtractor.exe.
May I get a clue?
Click to expand...
Click to collapse
Don't drop cache.img direct from zip. First drag to desktop then drop on exe
Sent from my SM-N910G using xda premium
dr.ketan said:
Don't drop cache.img direct from zip. First drag to desktop then drop on exe
Sent from my SM-N910G using xda premium
Click to expand...
Click to collapse
Thank you for your reply...
I put both files on my desktop and then dropped the file onto the .exe.
It seemed to do something but still no folder.
Log saying folder created. Look again folder somewhere on desktop. Better you make new folder and put exe inside it then drop cache.img so it's can easily located inside that new folder
Sent from my SM-N910G using xda premium
dr.ketan said:
Better you make new folder and put exe inside it then drop cache.img so it's can easily located inside that new folder
Click to expand...
Click to collapse
Tried it in a new Temp folder on my desktop, it is still not working for me.
catseyenu said:
Tried it in a new Temp folder on my desktop, it is still not working for me.
Click to expand...
Click to collapse
The link where you downloaded image extractor has a guide for how to extract.
Got it, thanks!
dr.ketan said:
Here is sample ready made pack. (you can submit if you make for your region)
LINK REMOVED - Download and flash zip immediately after flashing ROM.
Your download link drops csc_N910G_India.zip.exe which is malware, WTF?
https://www.virustotal.com/en/file/...5be0c844a946a25ff87a1aa5/analysis/1434632411/
.
Click to expand...
Click to collapse
Okey dokey, I think I'll settle this once and for all.
@catseyenu was using the wrong download link. As you can see from going to the download page there are 2 download buttons, the first which says "Download" is a fake download link and will redirect you to another site and try to get you to download some sort of software in .exe form.
The correct link is the one that says "Download Now" which I have verified this and was able to download it without any problems.
With Dev-Host it is a case of knowing which download link to press. On a side note, our (XDA's) partnership with Dev-Host has ended due to them not wanting to control the ads that they have and often redirecting users to other sites and trying to get them to download possibly malicious software. Due to this I would encourage the OP to use other file hosts such as AndroidFileHost for example.
Thank you Jonny for clarifying the status of the malicious host.
Jonny said:
Due to this I would encourage the OP to use other file hosts such as AndroidFileHost for example.
Click to expand...
Click to collapse
Actually for small Download I also prefer mega which is now a days offers highest Download speed and most users prefer it. Initially I have posted link was mega. But I need to update it and particularly this file targeted for Indian users, and many provider in India have blocked mega so this time I made dev host upload.
For rom I prefer dev /pCloud and Media fire bcoz all three gives Web upload (remote uoload) option so I can provide three mirrors by uploading at one place.
Again thank you very much for being with us always.
Regards
Sent from my SM-N910G using xda premium
One question: Can i loss some tweaks or features of the custom ROM flashing my original CSC files?
dr.ketan said:
Many users wanted to flash their own CSC on custom ROM. Here is small guide how to get original CSC from base and add to custom ROM.
1.Download your desired ROM from SamMobile (OR use if you have any base already with you from same region)
2.Extract zip to get tar.md5 - again extract it to get cache.img.
3.Get Img Extractor from here Extract exe file on a new folder.
4.Drag and drop cache.img you have extracted from base on ImgExtractor.exe
5.You will see newly created folder cache.img_ along with exe
6.Open cache.img_ - recovery - sec_csc folder, you will see system folder. - Drag and drop that system folder on you desktop.
7.Now download csc_changer_new.zip template from here and drag and drop system folder on root of zip. (so after this when you open zip you should see three folders data, META-INF and system)
8.Flash that zip immediately after flashing ROM.
Update : Updated script so it will auto backup all ROM CSC features and auto restore after changing CSC
Click to expand...
Click to collapse
Sir, this method can be used for completely stock rom?
German CSC for N910F
Hey Guys,
if anybody is looking for the german csc you can download it from here: http://workupload.com/file/Km2FjCof
I made it according to dr. ketans explanation. Just one thing when I go into phone info / CSC-Code it states:
Original CSC.-Code: INU
Firmware CSC-Code: DBT
Active CSC Code: INU/ DBT
Available CSC.-Codes: BTU, CPW, DBT, ITV, KOR, XEF, XEO
CSC Country: Germany/DE
Do I need to use the csc changer apk and therefore wipe everything? Or am I good even though active CSC is Indian and German??
I am on Nameless Rom 4.2 and the reason for me doing this was because of the message I receive on every boot up stating: Texting just got better.... Where you need to give your mobile number (you can also just click 2 times on no but thats not an option for me) But even after I flashed my CSC zip it still shows up.
@dr. Ketan do you have a solution or did i do something wrong? I did it step by step. Hope to receive an answer.
Probably that is issue of rom and not csc.
Indian csc causing send a text message to Indian number that should be fixed (on latest nameless I think prefixed) by changing csc
Sent from my SM-N920I using xda premium
I solved with the csc changer app, i switched to dbt and had to wipe everything. Restored my apps and date with titanium backup, now i am running with german csc on nameless rom 4.2
And the texting got better pop up disappeared
CSC Note 5
I tried this on my new note 5. I flashed a TMOBILE rom and that totally screws with csc and features. This does work in the sense that it brings back my multi csc for my Canadian note. However where I get the problems is similar to the gentleman above. It only partially applies the csc that I need. When I flash the zip. It attributes a generic out of the US csc XAC. When i try something like Phone info Samsung to change it to RWC. It only changes where its says active csc and it still shows XAC as also active. ANd firmware csc and original csc still show as XAC. Why when i flash the stock rom does it default to RWC eventhough the csc files are the same, but with a custom rom XAC?

Odin not reading combo files for region change

I have been running into an issue while trying to flash and change regions for my GW3. I know I have the file that is needed for the AP part of the procedure. But after connecting to my watch via wireless download, Odin will not see the files in file explorer on Windows 10.
Watch is Canada region with latest build, and running Tizen 5.5.0.2.
Have ECG, BP, and Samsung health manager caravan loaded via .apk. Just trying to get sp02 running as well until health Canada approves it for the north.
Has anyone run into this issue? Or any insight to a fix?
?
netOdin and Odin and can only handle 2 fileextension...
Code:
.tar.md5
.tar
Best Regards
So if the file I have downloaded includes the .7z extension as well is there a way to convert it to what Odin will recognize? Sorry if this is covered somewhere. If it is, than I missed it. I'm using the YouTube guide for switching regions. Which was where I got the download link from. I do have experience flashing pixels and iPhones. This is my first foray into Odin for flashing files.
ryan9000 said:
So if the file I have downloaded includes the .7z extension as well is there a way to convert it to what Odin will recognize? Sorry if this is covered somewhere. If it is, than I missed it. I'm using the YouTube guide for switching regions. Which was where I got the download link from. I do have experience flashing pixels and iPhones. This is my first foray into Odin for flashing files.
Click to expand...
Click to collapse
Download 7zip (free open source) https://www.7-zip.org/
Use that to open the .7z file and extract the .tar.md5 file
tripjnj said:
Download 7zip (free open source) https://www.7-zip.org/
Use that to open the .7z file and extract the .tar.md5 file
Click to expand...
Click to collapse
Excellent. Thank you very much.
Deleted cause I'm dumb

Categories

Resources