[Q&A] [RECOVERY] CWM-Based Recovery 6.0.5.1 for Trend 2 SM-G313HN - Samsung Galaxy Ace 4

Q&A for [RECOVERY] CWM-Based Recovery 6.0.5.1 for Trend 2 SM-G313HN
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [RECOVERY] CWM-Based Recovery 6.0.5.1 for Trend 2 SM-G313HN. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!

CWM Galaxy G357FZ
adeii said:
Works like a charm!
1 - flashed as PA with Odin 3.09, it reboots.
2 - reboot to recovery again, CWM's one this time, flashed superuser.zip (by Koush/CWM), reboot to system. Root granted! YEAH!
Click to expand...
Click to collapse
Hi sorry but i works also with Galaxy G357FZ ?

I don't know. Found official ROM for your G357FZ, extract boot.img and recovery.img and ask Nikiz (creator of CWM for G313HZ) if he want to compile it for you.

I tried the first version a couple of months ago and I tried the new version (29th August 2015) with Odin 1.85 and 3.10.7, and didn't have luck this time either.
Odin 1.85 log
<ID:0/004> Added!!
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> cwm_6.0.5.1_vivaltonfc3g.tar.md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/004> Odin v.3 engine (ID:4)..
<ID:0/004> File analysis..
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> recovery.img
<ID:0/004> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)
Odin 3.10.7 log
<ID:0/004> Added!!
<OSM> Enter CS for MD5..
<OSM> Binary Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/004> Odin engine v(ID:3.1100)..
<ID:0/004> File analysis..
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> SingleDownload.
<ID:0/004> recovery.img

I'm having the same problem. Tried with Odin and Heimdall with no luck. Also tried with three different USB cables and three computers. With Odin the flashing just hangs with "recovery.img" and Heimdall complains that it's not able to write to USB. Luckily the device boots up ok after the flash attempt but of course, stock recovery is still in place. Could this be somehow related to the SW version on the device or are there different variants of this model? The build number of my current (stock) SW is KOT49H.G313HNXXU0ANL1 (and the Android 4.4.2)
AlvarOsO said:
I tried the first version a couple of months ago and I tried the new version (29th August 2015) with Odin 1.85 and 3.10.7, and didn't have luck this time either.
Odin 1.85 log
<ID:0/004> Added!!
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> cwm_6.0.5.1_vivaltonfc3g.tar.md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/004> Odin v.3 engine (ID:4)..
<ID:0/004> File analysis..
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> recovery.img
<ID:0/004> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)
Odin 3.10.7 log
<ID:0/004> Added!!
<OSM> Enter CS for MD5..
<OSM> Binary Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/004> Odin engine v(ID:3.1100)..
<ID:0/004> File analysis..
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> SingleDownload.
<ID:0/004> recovery.img
Click to expand...
Click to collapse

I now compiled the latest version of Heimdall (cloned from Github) and tried "heimdall print-pit". That fails with
Code:
Session begun
Downloading device's PIT file...
ERROR: Failed to receive end PIT file transfer verification!
ERROR: Failed to download PIT file!

I had the issue with odin getting stuck while flashing the recovery. I managed to get it flashed by packing the CWM recovery.img with stock system.img in a tar.md5.
Allowed me to install Nikiz' CM11 and after getting fed up with wifi amnesia, root the stock rom using supersu update zip.
Please post this in the thread too, several people reported this issue. I lack the privilege due to not having 10 posts.

spirit caravan said:
I had the issue with odin getting stuck while flashing the recovery. I managed to get it flashed by packing the CWM recovery.img with stock system.img in a tar.md5.
Allowed me to install Nikiz' CM11 and after getting fed up with wifi amnesia, root the stock rom using supersu update zip.
Please post this in the thread too, several people reported this issue. I lack the privilege due to not having 10 posts.
Click to expand...
Click to collapse
Many thanks, this made my day!!!! Grabbed the system.img from 4.4.2 stock rom and created tar.md5 file with cwm recovery.img. Odin flash was successful!

AlvarOsO said:
I tried the first version an it didn't work...
Click to expand...
Click to collapse
With the new version wirh the empty cache it works flawless ¡Thanks! :good:

Related

[Q] Firmware upgrade encountered an issue- Fixed

Hi to all.
I have a galaxy gt i9100 an 4.0.3 on it. I flashed siyah kernel 5.0.1 with odin and no my phone does not boot. Its stock on screen displaying Firmware upgrade encountered and issue. Please select recovery mode in Kies & try again.
I try to flash rom I9100XWLS8 with odin and i only get this:
<ID:0/004> Added!!
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> I9100XWLS8_I9100XXLS8_I9100FOPLS3_HOME.tar.md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/004> Odin v.3 engine (ID:4)..
<ID:0/004> File analysis..
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> boot.bin
<ID:0/004> NAND Write Start!!
<ID:0/004>
<ID:0/004> Complete(Write) operation failed.
<ID:0/004> Added!!
<OSM> All threads completed. (succeed 0 / failed 1)
I can`t flash anything with odin. pls help me.
Sorry for my english.
Re: [Q] Firmware upgrade encountered and issue
What state is the phone in now. What modes can you access?
Sent from my GT-I9100 using xda premium
Its stuck on screen displaying Firmware upgrade encountered and issue. I can access only download mode.
Re: [Q] Firmware upgrade encountered and issue
And your phone is no longer recognised by odin?
Sent from my GT-I9100 using xda premium
Odin is recognising my phone, but when i try to flash a rom i get this:
<ID:0/004> Added!!
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> I9100XWLS8_I9100XXLS8_I9100FOPLS3_HOME.tar.md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/004> Odin v.3 engine (ID:4)..
<ID:0/004> File analysis..
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> boot.bin
<ID:0/004> NAND Write Start!!
<ID:0/004>
<ID:0/004> Complete(Write) operation failed.
<ID:0/004> Added!!
<OSM> All threads completed. (succeed 0 / failed 1)
Re: [Q] Firmware upgrade encountered and issue
Ok re download the rom from samfirmware and try again. Not sure if it's a single PDA file or several CSC modem etc. Reflash.
Sent from my GT-I9100 using xda premium
I tried but i only get Complete(Write) operation failed
YUPEEEEEE:victory::victory::victory::victory::victory:
I got it.
I downloaded odin 1.3 and flashed successfully my phone.
Here is odin 1.3 if someone needs it.
View attachment Odin3_v1.3.rar
Well done mate.
Sent from my GT-I9100 using xda premium
HaHa congrats
I have tried everything posted above
In addition my model is GT-I9100G
doesnt go to download mode or recovery mode (earlier it was)
Earlier i was facing an issue that whenever i start it....it displayed "CWM 6.0.3.2" "WARNING : No file_contexts"
Please help
I'm getting the same problem on my sm-g318h trend 2 lite but it doesn't get fixed like his.

Dont know if its the right forum but...

ive gotta major problem with my device. after trying to flash a stock rom (it crashed while flashing) i m unable to flash any rom. everytime i try to flash another one it says
"<ID:0/004> Added!!
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> KIES_HOME_I9300XXEMB5_I9300OXAEMB5_996085_REV00_user_low_ship.tar.md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/004> Odin v.3 engine (ID:4)..
<ID:0/004> File analysis..
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> boot.img
<ID:0/004> NAND Write Start!!
<ID:0/004> recovery.img
<ID:0/004>
<ID:0/004> Complete(Write) operation failed.
<ID:0/004> Added!!
<OSM> All threads completed. (succeed 0 / failed 1)
"
i almost tried everything... i only can access the download mode on my phone... even the recovery is gone .
please help me fellas
thanks in advance !
Try flashing only a recovery (CF, Perseus, TWRP, etc) through ODIN and check if it is successful. The log seems to error out when flashing the recovery.
If successful, try flashing the stock ROM again.
If not, download another stock ROM and check if you can install it.
Just speculations. Dunno if it will actually work. The last resort is, of course, the service centre. Good luck! :thumbup:
Sent from my GT-I9300 using xda app-developers app
I had the same problem mate. You just need to flash the stock recovery using PC ODIN. Once you've flashed the stock recovery, you'll be able to flash any ROM properly. Im 99% sure this will work.

[Q]Stuck on boot screen

I got a problem with my Note-2. Stuck on the samsung logo screen. (flash rom long time ago, i can't remember that rom but it's 4.1.2)
Can boot in CWM and download mode. I tried to wipe data/cache/dalvik but didn't work.
- Abyss kernel : not work
- pit file 16 gb : not work
- use 3 computers : not work
Here is log when i tried to flash stock rom.
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> N7100XXDME1_N7100OLBDMD2_N7100DXDLK5_HOME.tar.md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/004> Added!!
<ID:0/004> Odin v.3 engine (ID:4)..
<ID:0/004> File analysis..
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> sboot.bin
<ID:0/004> NAND Write Start!!
<ID:0/004> FAIL!
<OSM> All threads completed. (succeed 0 / failed 1)
nookdee said:
I got a problem with my Note-2. Stuck on the samsung logo screen. (flash rom long time ago, i can't remember that rom but it's 4.1.2)
Can boot in CWM and download mode. I tried to wipe data/cache/dalvik but didn't work.
- Abyss kernel : not work
- pit file 16 gb : not work
- use 3 computers : not work
Here is log when i tried to flash stock rom.
Enter CS for MD5..
Check MD5.. Do not unplug the cable..
Please wait..
N7100XXDME1_N7100OLBDMD2_N7100DXDLK5_HOME.tar.md5 is valid.
Checking MD5 finished Sucessfully..
Leave CS..
Added!!
Odin v.3 engine (ID:4)..
File analysis..
SetupConnection..
Initialzation..
Get PIT for mapping..
Firmware update start..
sboot.bin
NAND Write Start!!
FAIL!
All threads completed. (succeed 0 / failed 1)
Click to expand...
Click to collapse
Read droidstyles post in Development, its stickied, and follow the section on returning to stock.
Try the alternate ROM with and without the PIT first and if that doesn't work try the others.
Sent from my SCH-I605 using XDA Premium HD app

[Q] Help rooting GS3 SCH-I535

Okay so here goes I couldn't find the Verizon s3 forum so I am posting here Ok so no matter what I try I cannot flash anything with ODIN I was trying to install cf Auto root and then Odin failed so I searched for an answer and decided to try cynogen mod 11 ODIN fails again so I research says I need a custom recovery so I try to install twrp again fails so I try VRALEC again no dice no matter what I get this error in ODIN <ID:0/004> Added!!
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> VRALEC.bootloader.tar.md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/004> Odin v.3 engine (ID:4)..
<ID:0/004> File analysis..
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> SingleDownload.
<ID:0/004> aboot.mbn
<ID:0/004> NAND Write Start!!
<ID:0/004> FAIL! (Auth)
<ID:0/004>
<ID:0/004> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)
I don't really want a custom rom I just want to root the damn thing I have a Verizon SCH I535 galaxy S3 with stock jelly bean update
wxyzsupermod said:
Okay so here goes I couldn't find the Verizon s3 forum so I am posting here
Click to expand...
Click to collapse
The link for US / Canadian users is the very first post in section.

Bricked s6 edge SM-925F

Hello guys .. i bricked my s6 edge SM-925F.
All what i did was to run by odin a recovery .. after that all went wrong.. Can enter only in Download mode.. i put many recovery even stock on..many of them fail but i got 2 wich says Recovery is not seandroid enforcing.
If i try to install by odin stock room i got fail.. i downloaded like 3 official room from samobile.. same .. all fail dunno why..
Code:
<ID:0/004> Added!!
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> G925FXXU1AOCV_G925FH3G1AOC1_G925FXXU1AOCW_HOME.tar.md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/004> Odin engine v(ID:3.1005)..
<ID:0/004> File analysis..
<ID:0/004> SetupConnection..
<ID:0/004> Initialzation..
<ID:0/004> Get PIT for mapping..
<ID:0/004> Firmware update start..
<ID:0/004> SingleDownload.
<ID:0/004> sboot.bin
<ID:0/004> NAND Write Start!!
<ID:0/004> FAIL!
<ID:0/004>
<ID:0/004> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1
P.S. : on download mode i got SV Rev. Check Fail Devicde : 3 Binary :1
Please anyone can help mee?
I have exactly the same issue as this, and I can't get into recovery. I have tried multiple stock versions all giving me the same error as you stated.
Try to flash only kernel and older TWRP, then try to restore your backup.
If you don't have backup, then you should know that the first "rule" of XDA is ALWAYS BACKUP, actually, it's mantra it's not a rule
Sent from my SM-G925F using Tapatalk
Search for G925FXXU3COI9 UK BTU version. I had same problem and that one worked for me

Categories

Resources