[RECOVERY] [SM-G313HN] CWM-Based Recovery 6.0.5.1 for Galaxy Trend 2

Search This thread

Nikiz

Senior Member
Feb 14, 2014
221
74
27
Kauhajoki
Code:
#include 
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

Downloads:
* Odin-package
* Raw image
* Flashable zip

Installation (Odin):
* Download the CWM Odin package.
* Open Odin:
bx2G3hu.png

* Switch your phone off and boot it into Download-mode by pressing <Vol Down>+<Home>+<Power>.
You should see the warning screen:
nDLxw59.png

* Press <Vol Up> to continue and you should see this screen:
oJ2rsqL.png

* Plug in your USB-cable to your phone. It should be detected by odin:
Us1oIcT.png

* Select the CWM file to the AP option:
5wpw2lN.png

GDmjK0z.png

* Make sure that Auto Reboot and F.Reset Time are selected and Re-Partition is NOT selected.
Se21lyM.png

* Press Start to flash:
iRFf2ki.png

0R0ZbqG.png

* If everything goes as planned, your phone should reboot to recovery and it should say "PASS!":
9JCYR7t.png

Installation (Existing custom recovery):
* Download the .zip file and copy it to your SD-card
* Reboot your phone to recovery
* Flash the .zip

Installation (Rooted phone)
* Download the raw image to the root of your SD-card.
* Open command prompt/terminal and type "adb shell" (or use a terminal emulator on your phone)
* Type in these commands: (Note: these commands are case sensitive)
Code:
su
dd if=/storage/extSdCard/recovery.img of=/dev/block/platform/sdhci.1/by-name/RECOVERY
reboot recovery
Screenshot:


Changelog:
Code:
21/December/2015:
* Added an empty cache image to the Odin-package that could fix some failed flashes.
I have never had a failed flash, so I can't confirm.
Also erasing the cache is recommended anyway when flashing a new recovery, so this will take care of that too.

29/August/2015:
* Fixed ADB access.
* Fixed a typo.

29/December/2014:
* Initial release
Bugs:
If you find any bugs, please report them to this thread.

Sources:
* Device tree
* Kernel
 
Last edited:
  • Like
Reactions: adeii

adeii

Senior Member
Nov 11, 2013
414
93
Sajlent Hil
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!
 

adeii

Senior Member
Nov 11, 2013
414
93
Sajlent Hil

jsusduran

Member
May 28, 2013
31
3
I don't think so. It not the same model. Can you send me official recovery.img for G313F to compare with G313HN for differences?

how can i get the recovery in this model?

I had just found this video. Try file from discription of video....
Tell me more about SM-G313F, which version of ROM it is or language region? Cause there are 2 sources for your model!
http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=sm-g313f

my G313F version G313FXXU0ANG5 - Digitel (Venezuela)

please, help me :) ty
 

adeii

Senior Member
Nov 11, 2013
414
93
Sajlent Hil
my G313F version G313FXXU0ANG5 - Digitel (Venezuela)
There is fresh new firmware for your model and country!
2015-05-21 Venezuela 4.4.2 G313FXXU0AOD1
from http://www.sammobile.com/firmwares/database/SM-G313F/
I can send you only stock recovery for now to flash it with Odin. Compiling new ROM/recovery asks for too much time and HD free space...

Try this: http://www26.zippyshare.com/v/5skEnZli/file.html
new stock recovery for SM-G313F and repacked ClockWorkMod recovery for SM-G313HN with SM-G313F kernel.

MAYBE it works for you, but use it at your own risk.
I'm not responsible for any damage to your device. If it does not work, reflash it with stock recovery.

Installation:
1. Download the RAR-file.
2. Unpack it.
3. Power off your phone and boot it to Download-mode by pressing Vol. down + Home + Power.
4a. Flash the CWM-recovery-G313F.tar.md5 with Odin. Use PDA/AP. Make sure that Auto Reboot and F. Reset Time are checked. Leave everything else unchecked.

4b. Flash stock-recovery-G313F.tar.md5 with Odin. Use PDA/AP. Make sure that Auto Reboot and F. Reset Time are checked. Leave everything else unchecked, if CWm not works for you.
 
Last edited:

sciumba

Member
Sep 3, 2015
12
0
Hi i tried the intallation metod with Odin but i got stuck at recovery.img and nothing happen on the phone.
my model is g313hn so i don't know what i can do to overcome this problem. please help me
my phone is stock and not rooted (i can't find a way to root it)
 
Last edited:

Nikiz

Senior Member
Feb 14, 2014
221
74
27
Kauhajoki
Hi i tried the intallation metod with Odin but i got stuck at recovery.img and nothing happen on the phone.
my model is g313hn so i don't know what i can do to overcome this problem. please help me
my phone is stock and not rooted (i can't find a way to root it)

Do you get any errors when flashing? And do you have "Auto reboot" and "F. Reset Time" checked?
 

Nikiz

Senior Member
Feb 14, 2014
221
74
27
Kauhajoki
I updated the Odin-package so that it has an empty cache image. That should help with some failed/stuck recovery flashes. I never had this issue, so I can't confirm it fixes that. Also emptying the cache is recommended anyway, so this will take care of that too. Also added a detailed/noob proof Odin-flash instructions with pictures.
 

Elkkome

New member
Mar 8, 2016
2
0
Can you do twrp recovery for trend 2? Twrp is so much better, its easier to use, works more often and it gives More information IF something goes wrong
 

LAXUSRS

New member
Apr 3, 2016
1
0
Hello!

I'm using google translator.


I have a SAMSUNG GALAXY ACE 4 LTE (SM-G313F) DIGITEL VENEZUELA.

One day restart the phone and stays in the SAMSUNG logo. I installed again ROM using the Odin and nothing.


I can not enter the RECOVERY pressing the HOME, VOL UP, POWER keys.

Who helps me. What can I do.?
 

eduardcomando

Member
Dec 1, 2015
5
0
Hello!

I'm using google translator.


I have a SAMSUNG GALAXY ACE 4 LTE (SM-G313F) DIGITEL VENEZUELA.

One day restart the phone and stays in the SAMSUNG logo. I installed again ROM using the Odin and nothing.


I can not enter the RECOVERY pressing the HOME, VOL UP, POWER keys.

Who helps me. What can I do.?

Hola amigo pudiste resolver el problema te pudo arrancar el equipo?

---------- Post added at 07:17 PM ---------- Previous post was at 07:15 PM ----------

how can i get the recovery in this model?



my G313F version G313FXXU0ANG5 - Digitel (Venezuela)

please, help me :) ty

probaste si el recovery te funciono en ese equipo amigo?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Code:
    #include 
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    Downloads:
    * Odin-package
    * Raw image
    * Flashable zip

    Installation (Odin):
    * Download the CWM Odin package.
    * Open Odin:
    bx2G3hu.png

    * Switch your phone off and boot it into Download-mode by pressing <Vol Down>+<Home>+<Power>.
    You should see the warning screen:
    nDLxw59.png

    * Press <Vol Up> to continue and you should see this screen:
    oJ2rsqL.png

    * Plug in your USB-cable to your phone. It should be detected by odin:
    Us1oIcT.png

    * Select the CWM file to the AP option:
    5wpw2lN.png

    GDmjK0z.png

    * Make sure that Auto Reboot and F.Reset Time are selected and Re-Partition is NOT selected.
    Se21lyM.png

    * Press Start to flash:
    iRFf2ki.png

    0R0ZbqG.png

    * If everything goes as planned, your phone should reboot to recovery and it should say "PASS!":
    9JCYR7t.png

    Installation (Existing custom recovery):
    * Download the .zip file and copy it to your SD-card
    * Reboot your phone to recovery
    * Flash the .zip

    Installation (Rooted phone)
    * Download the raw image to the root of your SD-card.
    * Open command prompt/terminal and type "adb shell" (or use a terminal emulator on your phone)
    * Type in these commands: (Note: these commands are case sensitive)
    Code:
    su
    dd if=/storage/extSdCard/recovery.img of=/dev/block/platform/sdhci.1/by-name/RECOVERY
    reboot recovery
    Screenshot:


    Changelog:
    Code:
    21/December/2015:
    * Added an empty cache image to the Odin-package that could fix some failed flashes.
    I have never had a failed flash, so I can't confirm.
    Also erasing the cache is recommended anyway when flashing a new recovery, so this will take care of that too.
    
    29/August/2015:
    * Fixed ADB access.
    * Fixed a typo.
    
    29/December/2014:
    * Initial release
    Bugs:
    If you find any bugs, please report them to this thread.

    Sources:
    * Device tree
    * Kernel