[GUIDE] How to Flash ClockWorkMod (CWM) with Terminal Emulator

Search This thread

whodisname

Senior Member
Feb 14, 2012
1,458
298
destrehan
Just got this phone, pretty nice. Towel loot was the easiest thing I ever saw in my life seriously man, not even a reboot. Sweet. However. I cannot get any recovery to stick. None. I get no error messages and it appears to work but it doesn't. It puts random letters in the stock recovery but nothing else. Advise perhaps?
 

ilusi0n_

Senior Member
Jan 1, 2013
370
274
Just got this phone, pretty nice. Towel loot was the easiest thing I ever saw in my life seriously man, not even a reboot. Sweet. However. I cannot get any recovery to stick. None. I get no error messages and it appears to work but it doesn't. It puts random letters in the stock recovery but nothing else. Advise perhaps?

If you can't install the cwm recovery is because you are doing something wrong. Write the steps you made so we can know where it went wrong
 

YossiAxda

Member
Nov 5, 2014
49
7
Nahariyya
Samsung Galaxy W GT-I8150T

THESE STEPS NEEDS ROOT & BUSYBOX, DOESN'T NEED PC & ODIN..
FOR BEST RESULT, UPDATE YOUR SUPERUSER.APK, SU BINARY, AND BUSYBOX

*NOTE: the link is for CWM v6.0.2.7
if newer version launched, the steps will be the same

-go HERE, link by acro68 the author of W's CM9 and who made CWM possible to our device
-download and extract it..
-put the recovery.img in /mnt/sdcard
-download & install "Terminal Emulator" by Jack Palevich in Play Store (FREE OF COURSE)
-open it then type "su" and click enter
-allow root access..
-then type "dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13" then click enter <~ THAT IS "0" (ZERO) not "O" word..
-then some text will show in bottom
-exit terminal..

check the recovery by turning off the device then turn on with volume up botton, home button, and power button pressed together..

until "Galaxy W" screen shows up, release the power button only.. then you will enter CWM

-navigate with up (up) n down (down) vol button and home keys (select) and power (back) and click "reboot system now" to reboot

HAPPY FLASHING :D

*I'M NOT RESPONSIBLE IF YOUR PHONE BRICKED*

ORIGINAL THREAD ~> [RECOVERY] ClockworkMod v6.0.2.7 by acro68



Hello,
I'm new to this forum and need some help.
I have used this guide to successfully flash my rooted phone with recovery-clockwork-6.0.4.5-ancora from here: http://xdaforums.com/showthread.php?t=1446593 using ROM Toolbox Lite's Terminal Emulator.
When I try to flash CM-11.0 20141029-UNOFFICIAL from here: http://xdaforums.com/showthread.php?t=2588495 using ROM Manager I get the following log:



__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting recovery on Sat Nov 1 18:49:47 2014

framebuffer: fd 4 (480 x 800)
CWM-based Recovery v6.0.4.5
recovery filesystem table
=========================
0 /boot emmc /dev/block/mmcblk0p8 0
1 /recovery emmc /dev/block/mmcblk0p13 0
2 /system ext4 /dev/block/mmcblk0p15 0
3 /cache ext4 /dev/block/mmcblk0p16 0
4 /data ext4 /dev/block/mmcblk0p17 -16384
5 /storage/sdcard0 auto /devices/platform/msm_sdcc.2/mmc_host 0
6 /storage/sdcard1 auto /devices/platform/msm_sdcc.4/mmc_host 0
7 /storage/usbdisk auto /devices/platform/msm_hsusb_host.0 0
8 /tmp ramdisk ramdisk 0

W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
W:Unable to get recovery.fstab info for /sdcard during fstab generation!
W:Unable to get recovery.fstab info for /sd-ext during fstab generation!
W:Unable to get recovery.fstab info for /external_sd during fstab generation!
I:Completed outputting fstab.
I:Connected to Vold..
I:110 0 sdcard0 /storage/sdcard0 1
I:110 0 sdcard1 /storage/sdcard1 0
I:110 0 usbdisk /storage/usbdisk 0
I:200 0 Volumes listed.
I:processing arguments.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"

ro.boot.hardware=qcom
ro.boot.emmc=true
ro.serialno=
ro.bootmode=unknown
ro.baseband=unknown
ro.bootloader=unknown
ro.hardware=qcom
ro.revision=0
ro.emmc=0
ro.factorytest=0
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=1
persist.sys.usb.config=mtp
ro.build.id=JLS36I
ro.build.display.id=cm_ancora-userdebug 4.3.1 JLS36I 06a9fc6e56 test-keys
ro.build.version.incremental=06a9fc6e56
ro.build.version.sdk=18
ro.build.version.codename=REL
ro.build.version.release=4.3.1
ro.build.date=Sat Dec 28 17:19:28 CET 2013
ro.build.date.utc=0
ro.build.type=userdebug
ro.build.user=arco
ro.build.host=tuxbox
ro.build.tags=test-keys
ro.product.model=GT-I8150
ro.product.brand=Samsung
ro.product.name=cm_ancora
ro.product.device=ancora
ro.product.board=ancora
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Samsung
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=msm7x30
ro.build.product=ancora
ro.build.description=GT-I8150-user 2.3.6 GINGERBREAD XXLMD release-keys
ro.build.fingerprint=samsung/GT-I8150/GT-I8150:2.3.6/GINGERBREAD/XXLMD:user/release-keys
ro.build.characteristics=default
ro.cm.device=ancora
rild.libpath=/system/lib/libsec-ril.so
rild.libargs=-d /dev/smd0
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.telephony.ril_class=SamsungRIL
ro.telephony.ril.v3=datacall,icccardstatus
ro.telephony.call_ring.multiple=0
wifi.interface=wlan0
ro.sf.lcd_density=240
ro.opengles.version=131072
dalvik.vm.dexopt-data-only=1
ro.zram.default=0
sys.mem.max_hidden_apps=5
com.qc.hardware=true
debug.sf.hw=1
debug.egl.hw=1
debug.mdpcomp.logs=0
lpa.decode=false
lpa.use-stagefright=false
af.resampler.quality=255
ro.vold.umsdirtyratio=50
ro.vold.switchablepair=/storage/sdcard0,/storage/sdcard1
persist.sys.vold.switchexternal=0
ro.cwm.enable_key_repeat=true
ro.rommanager.developerid=cyanogenmod
ro.com.google.clientidbase=android-google
keyguard.no_require_sim=true
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.build.selinux=1
persist.sys.root_access=1
ro.cm.version=10.2-20131228-UNOFFICIAL-ancora
ro.modversion=10.2-20131228-UNOFFICIAL-ancora
ro.config.ringtone=Orion.ogg
ro.config.notification_sound=Argon.ogg
ro.config.alarm_alert=Hassium.ogg
ro.carrier=unknown
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=128m
dalvik.vm.heaptargetutilization=0.25
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=2m
dalvik.vm.lockprof.threshold=500
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
init.svc.ueventd=running
init.svc.recovery=running
init.svc.setup_adbd=stopped
init.svc.vold=running
service.adb.root=1
init.svc.adbd=running

I:Checking for extendedcommand...
I:Running extendedcommand...
Waiting for SD Card to mount (20s)
I:605 Volume sdcard0 /storage/sdcard0 state changed from 1 (Idle-Unmounted) to 3 (Checking)
I:/storage/sdcard0: Checking
I:605 Volume sdcard0 /storage/sdcard0 state changed from 3 (Checking) to 4 (Mounted)
I:/storage/sdcard0: Mounted
I:200 0 volume operation succeeded
SD Card mounted...
Verifying SD Card marker...
I:Running script:
I:
run_program("/sbin/cp", "-R", "/cache/recovery", "/tmp/recovery");
ui_print("ROM Manager Version 5.5.3.7");
ui_print("1 בנובמבר 2014");
ui_print("Preparing to install ROM...");
assert(backup_rom("/sdcard/clockworkmod/backup/2014-11-01-20.49.15"));
run_program("/cache/dowipedalvikcache.sh");
mount("/system");
run_program("/sbin/chmod", "+x", "/tmp/recovery/11-rommanager.sh");
run_program("/tmp/recovery/11-rommanager.sh", "place");
run_program("/sbin/umount", "/system");
format("/data");
format("/sd-ext");
assert(install_zip("/sdcard/usbStorage/cm-11-20140910-UNOFFICIAL-ancora.zip"));
format("/cache");
mount("/system");
run_program("/sbin/chmod", "+x", "/tmp/recovery/restorerommanager.sh");
run_program("/tmp/recovery/restorerommanager.sh");
run_program("/sbin/umount", "/system");

parse returned 0; 0 errors encountered
about to run program [/sbin/cp] with 4 args
ROM Manager Version 5.5.3.7
1 בנובמבר 2014
Preparing to install ROM...
E:unknown volume for path [/sdcard/clockworkmod/backup/2014-11-01-20.49.15]
Can't mount backup path.

result was NULL, message is: assert failed: backup_rom("/sdcard/clockworkmod/backup/2014-11-01-20.49.15")
 

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    THIS THREAD IS NOW DISCONTINUED

    ------------------------------------------------------------------------------------------------

    THESE STEPS NEEDS ROOT & BUSYBOX, DOESN'T NEED PC & ODIN..
    FOR BEST RESULT, UPDATE YOUR SUPERUSER.APK, SU BINARY, AND BUSYBOX

    *NOTE: the link is for CWM v6.0.2.7
    if newer version launched, the steps will be the same

    -go HERE, link by acro68 the author of W's CM9 and who made CWM possible to our device
    -download and extract it..
    -put the recovery.img in /mnt/sdcard
    -download & install "Terminal Emulator" by Jack Palevich in Play Store (FREE OF COURSE)
    -open it then type "su" and click enter
    -allow root access..
    -then type "dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p13" then click enter <~ THAT IS "0" (ZERO) not "O" word..
    -then some text will show in bottom
    -exit terminal..

    check the recovery by turning off the device then turn on with volume up botton, home button, and power button pressed together..

    until "Galaxy W" screen shows up, release the power button only.. then you will enter CWM

    -navigate with up (up) n down (down) vol button and home keys (select) and power (back) and click "reboot system now" to reboot

    HAPPY FLASHING

    *I'M NOT RESPONSIBLE IF YOUR PHONE BRICKED*

    ORIGINAL THREAD ~> [RECOVERY] ClockworkMod v6.0.2.7 by acro68
    4
    FAQ:

    1. If I had previously flashed CWM v5.5.0.4, can I replaced it safely with the newer version (v6.0.1.2)? how about the steps?

    ~YES, it's safe.. the steps will be the same

    2. If newer version released, can I flash it via ODIN?
    ~YES.. go to this thread by MyDestinate ~> HERE

    3. Can I revert back to older version? steps?

    ~YES.. safe.. the steps will be the same

    4. How to make a backup?

    ~on CWM, backup & restore, backup..

    5. Where does the backup files kept (by backuping ROM with nandroid)?

    ~to your

    ~/mnt/sdcard/clockworkmod
    ~or
    ~/mnt/external_sd/clockworkmod

    ~You can backup that folder to pc.. want restore? just copy back that folder to the original place..

    6. Restore?

    ~on CWM, backup & restore, restore

    7. Can I restore ROM if we had flashed another? does it safe? example: flashed ICS, want to restore GB..

    ~YES, safe.. BUT don't forget to format /system, /data, and /cache. or the system will conflict..

    8. How to change backup format?

    ~backup & restore, choose backup format

    9. If I accidentally reboot my phone with the /system partition empty, will my phone brick?

    ~NO.. You will just can't boot your OS, but you still can boot to your recovery.. relax
    1
    Nice. If you post this 2 week before it will be useful for me :p

    Sent From My BioWonder V4

    hehe don't have a good time actually hahaha.. sorry, making a good thread needs a fresh mind.. that time you were asking me by PM, I was in mid-semester exam..
    1
    I can testify that IvanKurnias terminal emulator method works....he kindly posted it in response to a question I posted when I was having difficulty installing CWM....(it has worked for others too) and I found it MUCH easier than ODIN....

    CM9...I don't HAVE to, I just......can :)
    1
    great work. i think it would be easier to access recovery wtih this command " reboot recovery"

    Sent from my GT-I8150 using xda premium