In short, here you will find steps after GT-S5570 Android phone was resurrected with RiffBox. Initially, Samsung Galaxy Mini was flashed with wrong firmware. Resurrection went smooth without problem and it was possible to switch it to the download mode. And finally, my goal was to install CyanogenMod 7.2 custom ROM.
This post shows my unbrick procedure for Samsung Galaxy mini phone. Luckily I have RiffBox so I can back in case of hard bricking. If you decide to follow and flash, you do so at your own risk. www.redips.net accepts no responsibility for any consequences if you choose to proceed.
Main tool for flashing Samsung devices is Odin, a Windows application (v4.38). Odin can be easily found and download. I also prepared a list of all files (firmware, boot loader, recovery image) used in my case:
|Name / Link||Size [MB]||Description|
|S5570XXJL9_bysamsdroid.rar||115||2.2.1 Froyo Firmware (first link on the page)|
|GT-S5570_FWD_ S5570JVKT1_S5570OJVKT1_ S5570XWKT2_S5570JVKT1.rar||120||2.3.6 Gingerbread JVKT1 Firmware|
|recovery.tar.md5||7||Clockwork Mod-Lilg v126.96.36.199|
|tass-recovery-cwm.tar||6.92||Clockwork Mod Recovery v188.8.131.52|
|ARM11boot_GT-S5570.tar||0.3||Gingerbread boot loader for S5570|
|cm-7.2.0-tass.zip||85.21||CyanogenMod for Samsung Galaxy Mini – tass|
OK, first step was to back phone to life and I flashed stock Froyo 2.2.1 ROM. S5570XXJL9 stock ROM was downloaded from samsdroid.com and it consists of several files:
OPS -> 105 TASS_v1.0.ops BOOT -> 1.986.646 APBOOT_S5570XXJL9_CL816096_REV02_user_mid_false.tar.md5 PHONE -> 18.933.830 MODEM_S5570XXJL9_CL816096_REV02.tar.md5 PDA -> 205.547.604 CODE_S5570XXJL9_CL816096_REV02_user_mid_false.tar.md5 CSC -> 4.956.244 CSC_S5570SERJL9_CL816096_REV02_user_mid_false.tar.md5
I launched Odin, select OPS, BOOT, PHONE, PDA and CSC files and click on “Start” button. Phone rebooted normally with Froyo firmware. At this step, phone should be fully functional. CyanogenMod can be installed only after installation of CWM recovery and CWM can be installed only on Gingerbread. So, next step is upgrading phone to the Gingerbread.
I downloaded S5570XWKT2 – Gingerbread 2.3.6 firmware and set the following files in Odin (OPS file was the same as in previous step):
BOOT -> 2.191.445 APBOOT_S5570JVKT1_CL703231_REV02_user_low_true.tar.md5 PHONE -> 18.821.190 MODEM_S5570XWKT2_CL698112_REV02.tar.md5 PDA -> 221.266.003 CODE_S5570JVKT1_CL703231_REV02_user_low_true.tar.md5 CSC -> 7.475.264 GT-S5570-MULTI-CSC-OJVKT1.tar.md5
This time I was not so successful. Odin stopped with the following message:
Download Start... <0> Create File... <1> StartThread Detected : 1 <2> StartThread Detected : 0 <3> StartThread Detected : 0 <4> StartThread Detected : 0 <5> StartThread Detected : 0 <6> StartThread Detected : 0 <7> StartThread Detected : 0 <8> StartThread Detected : 0 <1> setup connection... <1> odin mode.. check plcatform verification. <1> VerifyPlatform:V0, P0,R0 <1> START!!! <1> set download environment. <1> big partition size!! <1> big partition size!! <1> big partition size!! <1> big partition size!! <1> big partition size!! <1> mibib download.. <1> 1/9 Finished. <1> qcsbl download..
and on the phone was displayed ONW UPDATE FAIL error:
============================= Name : cache Start : 1888 Num : 116 ID : 24 Attr : 0x00001101 ============================= samsung_bml_format FAIL: 90220000 ONW UPDATE FAIL!!!
After this flash attempt, phone is not booting to Froyo but it was possible to enter to download mode. I tried flashing again other Gingerbread firmware but it stopped with the same error message. Just to note that I couldn’t switch phone to stock recovery mode from beginning. After pressing HOME + POWER for a while, phone displayed only “Samsung” logo and stuck. So, the current situation was a Froyo firmware with failure upgrading to Gingerbread and phone no longer boots. I downloaded recovery.tar.md5 from yagyagaire.blogspot.com select as one package with OPS file and flash it to the phone. This time phone boots to Froyo, but was still impossible to enter to the recovery mode.
So, I switched phone to download mode and I tried to upgrade to 2.3.6 version and I got the same “ONW UPDATE FAIL” error. This time I downloaded Gingerbread boot loader ARM11boot_GT-S5570.tar, set in Odin as BOOT and flash the phone. Well, this is tricky because flashing boot loader can hard brick the phone (so be very careful). In my post Flashing GT-S5570 from brick to stock firmware you will find list of bricks that happened after ARM11boot_GT-S5570.tar was flashed. When phone is hard bricked (dead, black screen, no life signs …) Odin is not of much help. Only JTAG repair (with RiffBox, GPG-JTAG, Medusa …) can return the phone from the land of dead. All the time my phone was connected with USB cable to PC. This may be important because when phone detects USB connection it will somehow start up (not sure of this but similar notice is written in RiffBox manual for S5570). Here is post from Yagya (Yagya is a Samsung Galaxy Mini expert) where is explained how to fix “ONW UPDATE FAIL” error with flashing ARM11boot_GT-S5570.tar file:
Anyway, after flashing ARM11boot_GT-S5570.tar over Froyo, phone will not boot any more – dark grey screen (screen is not completely turned off), but the phone will go to the download mode. This time Gingerbread flashing was finished with success. Now phone has 2.3.6 firmware and it was possible to install CWM. From the same yagyagaire.blogspot.com download page, I downloaded Clockwork Mod Recovery v184.108.40.206. Once again phone was switched to the download mode, checked “One package” checkbox and selected tass-recovery-cwm.tar file. After flashing, phone was able to go to recovery mode with HOME + POWER key combination and I could make three magic wipes: factory reset, cache and Dalvik. So, next step is to download CyanogenMod, gapps and copy to the SD card:
89.346.756 cm-7.2.0-tass.zip 6.409.759 gapps-gb-20110828-signed.zip
OK, phone was rebooted to recovery mode and installed CyanogenMod 7.2 and gapps. Unfortunately, instead of boot to CyanogenMod the phone was caught in bootloop. Luckily, I found, Erum Shakils Youtube video. There was shown that 3-wiping (factory reset, cache and Dalvik) + repeated CyanogenMod installation should get rid off bootloop. Here is the video:
This was helpful in my case and I finally had CM7 on GT-S5570. After boot to CyanogenMod, I was surprised with “Please insert a SIM card” message although SIM card was present. Well, Phone was SIM locked also, so I went through unlocking procedure and that can be read in my next post Unlock GT-S5570.