Need help to Sort the files in rom - Android Q&A, Help & Troubleshooting

I'm trying to Fix Nand write failed from this : https://forum.xda-developers.com/chef-central/android/nand-write-start-fail-odin-soluction-t2851096
But to tar it again the order is given as:
Sbl.bin
Boot.img
Modem.img
Cache.img
System.img
Recovery.img
Others
But when I extracted the 4files for repairing firmware :
Cache.img
Data.img
Factoryfs.img
Hidden.img
MLO
modem.bin
Param.lfs
Sbl.bin
zImage
Some files are not matching and I think the .img files are extracted in the newer version of firmware like boot.img has the files MLO and param.lfs . So to make the tar file do I have to create a boot.img with MLO and param.lfs in it.
The firmware is I9100GXXLSR_DBTLS
the phone is bricked so help needed to sort the files to overcome the nand write error
Phone details:
S2 GT-I9100G

Related

[Q] Clarification req'd for flashing rom using Heimdall

I'd like to flash to this rom GT-I9100_CPW_I9100XWKI4_I9100CPWKH1_I9100XXKI1.tar which I got from Intratech's thread as I want the older bootloader. I cannot use Odin as I run Linux and don't have access to a MS machine so want to use Heimdall.
Heimdall is installed and I've got as far as extracting the files from the above tar and have the following files.
Sbl.bin
boot.bin
cache.img
factoryfs.img
hidden.img
modem.bin
param.lfs
zImage
My questions are:
Whether I need to flash all the files in that list? I assume yes.
Heimdall offer the option of flashing primary and secondary boot loaders spl1 and spl2). Is Spl.bin above the primary or secondary bootloader?
Heimdall also requires a PIT file. I assume I should use the PIT file that I saved off my device?
I did do a search on here and google but found nothing that really answered all my questions so would appreciate a more knowledgeable person offering their advice.

flashing stock rom on i9300 using heimdall and linux

hello guys!
Could you please help me to flash stock rom on my i9300 with heimdall?
i downloaded stock firmware for croatia(tmobile) from sammobile and tried to flash rom with mobile odin lite. it worked. kinda. csc was broken and i was not sure shich csc to choose so i rooted my phone back to cm10.
now i'd like to try with heimdall. after unzipping and untaring downloaded file i got following files:
boot.img
cache.img
hidden.img
modem.bin
recovery.img
system.img
How should i flash it?
i'd try by myself but i'm not so sure.
i guess using something like heimdall --primary-boot boot.img --system system.img --modem modem.bin --recovery recovery.img --hidden hidden.img --cache cache.img
is order ok? should i try with different order? and I'm not so sure about boot.img switch because there is --primary-boot and --secondary-boot
Thanks in advance!
devil_kc said:
hello guys!
Could you please help me to flash stock rom on my i9300 with heimdall?
i downloaded stock firmware for croatia(tmobile) from sammobile and tried to flash rom with mobile odin lite. it worked. kinda. csc was broken and i was not sure shich csc to choose so i rooted my phone back to cm10.
now i'd like to try with heimdall. after unzipping and untaring downloaded file i got following files:
boot.img
cache.img
hidden.img
modem.bin
recovery.img
system.img
How should i flash it?
i'd try by myself but i'm not so sure.
i guess using something like heimdall --primary-boot boot.img --system system.img --modem modem.bin --recovery recovery.img --hidden hidden.img --cache cache.img
is order ok? should i try with different order? and I'm not so sure about boot.img switch because there is --primary-boot and --secondary-boot
Thanks in advance!
Click to expand...
Click to collapse
Hi, did you try it? I had the same problem with my italian firmware some days ago. I tried and unfortunately I failed! My phone freezed in "Samsung".
I flashed via CWM that firmware and so now it's working.
But it seems that Heimdall isn't so popular...
devil_kc said:
hello guys!
Could you please help me to flash stock rom on my i9300 with heimdall?
i downloaded stock firmware for croatia(tmobile) from sammobile and tried to flash rom with mobile odin lite. it worked. kinda. csc was broken and i was not sure shich csc to choose so i rooted my phone back to cm10.
now i'd like to try with heimdall. after unzipping and untaring downloaded file i got following files:
boot.img
cache.img
hidden.img
modem.bin
recovery.img
system.img
How should i flash it?
i'd try by myself but i'm not so sure.
i guess using something like heimdall --primary-boot boot.img --system system.img --modem modem.bin --recovery recovery.img --hidden hidden.img --cache cache.img
is order ok? should i try with different order? and I'm not so sure about boot.img switch because there is --primary-boot and --secondary-boot
Thanks in advance!
Click to expand...
Click to collapse
Start with Hiemdall --print-pit>tmp.txt.
Then open tmp.txt in a text editor, You will see the proper names of the partitions. Then you have to match the partition names from the phone to the file names in your rom image. The command you typed seems mostly correct, but you need to check these partition names to make sure your current rom matches up, for instance,"--primary-boot" might be "--boot", and "--modem" might be "--radio" but don't quote me on that.
skeptonomicon said:
Start with Hiemdall --print-pit>tmp.txt.
Then open tmp.txt in a text editor, You will see the proper names of the partitions. Then you have to match the partition names from the phone to the file names in your rom image. The command you typed seems mostly correct, but you need to check these partition names to make sure your current rom matches up, for instance,"--primary-boot" might be "--boot", and "--modem" might be "--radio" but don't quote me on that.
Click to expand...
Click to collapse
Thanks man! but unfortunately my i9300 died of sds and i'm trying to get it fixed by samsung. with no luck so far.
sending it back to service tomorrow and we'll see. but this is good to know, thanks!

Flashing stock ROM, "ABOOT" missing in Heimdall and other stuff

Hello everybody,
I'm gonna jump right into the topic and so, as the tittle says, I'm trying to flash my galaxy s3 i9300 from Norway back to the stock rom, after an upgrade of the rom I'm apparently not allowed to talk about went wrong and stuck my phone on the boot screen.
Basically, I've posted a thread asking for help and nice people suggested I should flash to the stock rom and so I followed this tutorial here : androidrootz.com/2013/06/how-to-unroot-galaxy-s3-on-mac-osx.html
My problem is now that I'm stuck the step 10 : Click on "Add" and select "ABOOT". Then click on "Browse" and locate "aboot.mbn". It is the folder that was renamed and untarred. Then click "Add" and do the process again for the all files in the folder (watch the video above for detailed instructions).
aboot.mbn --- ABOOT
boot.img --- BOOT
cache.img.ext4 --- CACHE
NON-HLOS.bin --- MODEM
recovery.img --- RECOVERY
rpm.mbn --- RPM
sbl2.mbn --- SLB2
sbl3.mbn --- SLB3
system.img.ext4 --- SYSTEM
tz.mbn --- TZ
Exactly, the problem is that I can't see any ABOOT feature in the list it's supposed to appear and to be more precise, I'm gonna tell you what I've got.
In Heimdall, I can find these features in the scroller :
TZSW
BOTA0
BOTA1
EFS
PARAM
BOOT
RECOVERY
RADIO
CACHE
SYSTEM
HIDDEN
OTA
USERDATA
BOOTLOADER
In the stock ROM .tar file, I can find these files after untarring :
boot.img
cache.img
hidden.img
modem.bin
recovery.img
sboot.bin
system.img
tz.img
As you can see, nothing really fits there.
I've downloaded the stock ROM from the site suggested in the tutorial and it seems to be the one corresponding to my country since it's only one for Norway for the operator Telenor, which actually not my operator... but I'm guessing they all use the same.
Anyway, if anybody could help step up to 11, that would be awesome. Just tell me if you need more infos, I don't know what you guys need to know to be able to answer my problem.
I wish you all a great summer
Peace
Morgan
No one knows what I'm talking about ?
Hey guys, a little up for my post, I really need help. Been without a phone for almost a week now, it's getting problematic
Please someone help!
peace
Morgan
morganflame said:
Hey guys, a little up for my post, I really need help. Been without a phone for almost a week now, it's getting problematic
Please someone help!
peace
Morgan
Click to expand...
Click to collapse
BUMPING!
I'm having this exact same issue.
kchloee said:
BUMPING!
I'm having this exact same issue.
Click to expand...
Click to collapse
Same problem here
sorry to bump this but im having the same problem. OP how did you solved this?
here is the answer.
hidden.img -> HIDDEN partition
system.img -> SYSTEM partition
cache.img -> CACHE partition
modem.bin -> RADIO partition !!!
recovery.img -> RECOVERY partition
boot.img -> BOOT partition
tz.img -> TZSW paritition !!!
sboot.bin -> BOOTLOADER partition !!!
Thank you so much
Dryfit.linux said:
here is the answer.
hidden.img -> HIDDEN partition
system.img -> SYSTEM partition
cache.img -> CACHE partition
modem.bin -> RADIO partition !!!
recovery.img -> RECOVERY partition
boot.img -> BOOT partition
tz.img -> TZSW paritition !!!
sboot.bin -> BOOTLOADER partition !!!
Click to expand...
Click to collapse
Hey There, thank you so much for your answer, it took me a while to see it finally but it worked and my phone is unrooted now. Only problem is I can't seem to be able to connect to wifi. If you have any tip about that.
All the best
Morgan

[Q] after modify cache.img odin can't flash

i trying to flash stock rom on my sgs2. but without the sec_csc.zip which in cache.img.
i tried to del the image - failed.
i created empty cache.img with "./make_ext4fs -s -l 256M -a cache cache.img cache_new/".
i put the files (boot.bin, cache.img, factoryfs.img, hidden.img modem.bin param.lfs sbl.bin zimage) in a tar file.
and odin failed.
what should i do?
i dont want to root!
of course it will fail.. the md5 sum already chNged..
lawong said:
of course it will fail.. the md5 sum already chNged..
Click to expand...
Click to collapse
no its not the reason.
the MD5 Check finished Sucessfully.
thanks guys. u figure it out.
the problem was the tar format file.
odin support just "ustar" tar format.
thanks again!

ND7 Boot loop

odin'd ND7 for the correct model i605 from a site other than sammobile (download was really slow), everything went through fine when it went to reboot it does a quick boot loop
cannot go to recovery mode, but can go to odin.
cannot flash full tar back to it, it fails on sboot
So I downloaded the file from sammobile and extracted it
thinking maybe I have to make a flash file without the bootloader if possible?
extracted the tar
boot.img
cache.img
hidden.img
modem.bin
recovery.img
sboot.bin
system.img
tz.img
edit. used pit file with odin (read in other threads after the fact) and all seems clear, very noob of me -.-
normally don't have to use it...
anyways still want to know if possible to make without bootloader and/or make something like this:
http://forum.xda-developers.com/showpost.php?p=24278264&postcount=9

Categories

Resources