[DEV] Clockworkmod Recovery for GT-S5670

Search This thread

tejasar

Senior Member
Aug 31, 2011
88
7

and I couldn't install it with cwm4!!!
I think cwm4 won't be available anymore...the original link was in multiupload, and the origianl poster (from whom I got) is not visiting our forum since a long time...
and I don't have the file with me...

so I think its gone for good...

friends what i understand from your post is that you want CWM 4 but the original link is broken...
so if you want it then i have uploaded it for you guys and you can download it from here
http://dl.dropbox.com/u/55775245/CLOCKWORK RECOVERY MODE V4.0.0.5 including BENI ver 1.0.rar
 

cygnus39

Senior Member
Feb 17, 2012
288
66
Bogor
Got it, it works! But I cannot backup stock ROM (cant mount /system). Is this known or?

Just like Mr.TJ said in the first page, it doesn't support for the RFS system like in the Stockrom... its support for Ext4 system in some custom rom...;)
Cmiiw...

Sent from my GT-S5670 using Tapatalk 2 Beta-5
 

jukyO

Senior Member
Feb 2, 2011
2,736
619
Ogulin
OnePlus One
OnePlus 2
Successfully made backup on stock ROM with TJs recovery

Hello girls and boys,

I've successfully backed up Stock ROM. Here is how.

Since recovery could not mount /system and /data, I researched a bit and found out that when system is booted, it mounts /system and /data like this:

Code:
[B]/dev/stl12[/B] on /system type rfs (ro,relatime,vfat,log_off,check=no,gid/uid/rwx,iocharset=utf8)

[B]/dev/stl13[/B] on /data type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8)

I presume that recovery tries to do the same, e.g. to mount /system and /data like:

Code:
 mount  /dev/stl12 /system
 mount  /dev/stl13 /data

And this will not work, since there is no stl12 and stl13 block in /dev location.

I used find command from adb shell in recovery and figured out that stl12 and stl13 blocks are in /dev/block/ instead of /dev.

So I mounted /system and /data from adb shell in recovery like this:

Code:
mount  /dev/block/stl12 /system
mount  /dev/block/stl13 /data

Then from recovery menu, successfully backed up stock ROM!


Steps:

0. Connect USB cable with PC (Drivers must be installed if on Windows machine)
1. Boot to recovery
2. Mount /system and /data like this from PC command line:

Code:
adb shell
mount  /dev/block/stl12 /system
mount  /dev/block/stl13 /data
3. From recovery menu, select backup,wait to finish.

Didn't try to restore, however, backup is created:

Code:
/sdcard/clockworkmod/backup/2012-04-07.15.23.19 # pwd
pwd
/sdcard/clockworkmod/backup/2012-04-07.15.23.19
/sdcard/clockworkmod/backup/2012-04-07.15.23.19 # ls -all
ls -all
drwxrwxrwx    2 root     root          4096 Apr  7 15:26 .
drwxrwxrwx    3 root     root          4096 Apr  7 15:27 ..
-rwxrwxrwx    1 root     root      87519232 Apr  7 15:25 .android_secure.vfat.tar
-rwxrwxrwx    1 root     root       8388608 Apr  7 15:23 boot.img
-rwxrwxrwx    1 root     root         23040 Apr  7 15:25 cache.ext4.tar
-rwxrwxrwx    1 root     root      81673728 Apr  7 15:24 data.vfat.tar
-rwxrwxrwx    1 root     root           346 Apr  7 15:26 nandroid.md5
-rwxrwxrwx    1 root     root       8388608 Apr  7 15:23 recovery.img
-rwxrwxrwx    1 root     root          2048 Apr  7 15:25 sd-ext.ext4.tar
-rwxrwxrwx    1 root     root     203654144 Apr  7 15:24 system.vfat.tar
/sdcard/clockworkmod/backup/2012-04-07.15.23.19 #


@ TJ_Style, can you modify recovery binaries so it mounts /system and /data like I described above?

Cheers!
 
Last edited:

xabhi

Senior Member
Jul 14, 2010
60
4
Indore
Help

I followed the steps but cant get to recovery screen.
i am pressing the home and power button and its displaying samsung screen and it stays there forever.
Please tell me how to get things correct..:(:confused:
 

tj_style

Retired Recognized Developer
May 12, 2010
822
1,349
Bogor
sobir.in
Hello girls and boys,

I've successfully backed up Stock ROM. Here is how.

Since recovery could not mount /system and /data, I researched a bit and found out that when system is booted, it mounts /system and /data like this:

Code:
[B]/dev/stl12[/B] on /system type rfs (ro,relatime,vfat,log_off,check=no,gid/uid/rwx,iocharset=utf8)

[B]/dev/stl13[/B] on /data type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8)

I presume that recovery tries to do the same, e.g. to mount /system and /data like:

Code:
 mount  /dev/stl12 /system
 mount  /dev/stl13 /data

And this will not work, since there is no stl12 and stl13 block in /dev location.

I used find command from adb shell in recovery and figured out that stl12 and stl13 blocks are in /dev/block/ instead of /dev.

So I mounted /system and /data from adb shell in recovery like this:

Code:
mount  /dev/block/stl12 /system
mount  /dev/block/stl13 /data

Then from recovery menu, successfully backed up stock ROM!


Steps:

0. Connect USB cable with PC (Drivers must be installed if on Windows machine)
1. Boot to recovery
2. Mount /system and /data like this from PC command line:

Code:
adb shell
mount  /dev/block/stl12 /system
mount  /dev/block/stl13 /data
3. From recovery menu, select backup,wait to finish.

Didn't try to restore, however, backup is created:

Code:
/sdcard/clockworkmod/backup/2012-04-07.15.23.19 # pwd
pwd
/sdcard/clockworkmod/backup/2012-04-07.15.23.19
/sdcard/clockworkmod/backup/2012-04-07.15.23.19 # ls -all
ls -all
drwxrwxrwx    2 root     root          4096 Apr  7 15:26 .
drwxrwxrwx    3 root     root          4096 Apr  7 15:27 ..
-rwxrwxrwx    1 root     root      87519232 Apr  7 15:25 .android_secure.vfat.tar
-rwxrwxrwx    1 root     root       8388608 Apr  7 15:23 boot.img
-rwxrwxrwx    1 root     root         23040 Apr  7 15:25 cache.ext4.tar
-rwxrwxrwx    1 root     root      81673728 Apr  7 15:24 data.vfat.tar
-rwxrwxrwx    1 root     root           346 Apr  7 15:26 nandroid.md5
-rwxrwxrwx    1 root     root       8388608 Apr  7 15:23 recovery.img
-rwxrwxrwx    1 root     root          2048 Apr  7 15:25 sd-ext.ext4.tar
-rwxrwxrwx    1 root     root     203654144 Apr  7 15:24 system.vfat.tar
/sdcard/clockworkmod/backup/2012-04-07.15.23.19 #


@ TJ_Style, can you modify recovery binaries so it mounts /system and /data like I described above?

Cheers!

Actualy the the recovery is supported to backup or restore rfs based rom, you can see on my cwm recovery port for galaxy mini.
but for now, i've disable that.

you can changes the ftsab value if you wan't to using rfs :
https://github.com/tjstyle/android_device_samsung_beni/blob/gingerbread/recovery.fstab
 

a.cid

RC / Retired Mod / Portal Team
Nov 18, 2011
4,867
2,960
Mumbai

jidi22

Member
Apr 11, 2008
30
0
noob question!

sal. i have this:
model-GT-S5670
Android version-2.3.4
baseband-S5670XWKQ3
kernel- [email protected]#1
build number- gingerbread.XWKQA
my question is: how i can make backup to this rom(stock)?
what is rfs? what means rfs?
please there is one guide step by step? thanks!

ps: i ask this because i wanna install cm7 and i wanna have backup in case that i need for warranty or i want stock rom back... thanks
 

aya.yaya

Senior Member
Oct 9, 2011
198
136
Bogor
sal. i have this:
model-GT-S5670
Android version-2.3.4
baseband-S5670XWKQ3
kernel- [email protected]#1
build number- gingerbread.XWKQA
my question is: how i can make backup to this rom(stock)?
what is rfs? what means rfs?
please there is one guide step by step? thanks!

ps: i ask this because i wanna install cm7 and i wanna have backup in case that i need for warranty or i want stock rom back... thanks
You can backup but you must use cwm supported wih RFS system.. RFS System is Default system in Samsung Stock ROM...
u can use CWM 4 by vishwa... find it from previous your post .... ;)
 
Last edited:
  • Like
Reactions: jidi22

Top Liked Posts

  • There are no posts matching your filters.
  • 106
    I just have Galaxy Fit device from Galaxy Fit [Shuvit] Lounge @ Kaskus
    So now I can build the fully working CWM Recovery for Galaxy Fit device.

    WARNING:
    I take no support for RFS file system
    So this Recovery will not work for Stock ROM or Custom ROM that using RFS file system.
    Also this Recovery will not work for froyo baseband

    For now I have no plan for working on Cyanogenmod ROM because i'm not yet have good internet connection.

    Instruction:
    -Download :beni_cwm-5_ext4_v2.tar
    -Open S5570_Odin_Multi_Downloader_v4.38.exe
    -Place BENI_v1.0.ops on OPS tab
    -Check the One Package Option
    -Place beni_cwm-5_ext4_v2.tar on One Package tab
    -Connect the device on Download Mode
    -Press Start and wait for flashing process is finished

    Source: https://github.com/tjstyle/android_device_samsung_beni
    28
    Change log

    Change log
    10
    Recovery in a flashable zip

    Hi Guys,

    attached is this recovery completely unmodified in a flashable zip format for easy installation.

    Tested and confirmed with cwmr 6 and twrp2.:good::D

    Regards,
    Dark Passenger

    PS Happy Flashing!:highfive:
    6
    I am the first to reply.... and finally TJ_STYLE is developing ROM and RECOVERY for Galaxy fit.... :D very happy to see this thread and hear this....
    3
    this recovery only work for ext4 rom, like CM7 ROM and other custom ROM that using ext4 file system.
    flash, backup, restore tested by me.

    Sent from my FIH-FB0