Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
matt4321
Old
#1  
matt4321's Avatar
Senior Member - OP
Thanks Meter 369
Posts: 603
Join Date: Dec 2011
Location: Oxford
Default [HOW TO] Flashing ClockworkMod via ADB

So was helping someone flash ClockworkMod via ADB in another thread, just thought if I made a topic for it, everyone can see it so if people have any issues they can always use this method instead.

Anyway, here are the instructions:

The 'flash_image' is within the attached zip file! Use the file within the zip file, NOT the zip file itself

The 'recovery.img' is your chosen recovery file, get this off ClockworkMods website or if you have a copy use that. Then when flashing the recovery image where ever it says 'recovery.img' replace that with the name of the recovery file.

Put the recovery image and the flash_image on the root of your C drive.

So,

(make sure you're in the command prompt and have changed directory to where the adb file is)

adb push c:\flash_image /sdcard/
adb push c:\recovery.img /sdcard/
adb shell
su
mount -o remount, rw /system
cp /sdcard/flash_image /system/bin
cd /system/bin
chmod 777 flash_image
flash_image recovery /sdcard/recovery.img

It has now been flashed successfully

Hope this is of use to some people
Attached Files
File Type: zip flash_image.zip - [Click for QR Code] (12.3 KB, 1370 views)
Motorola Xoom
CyanogenMod 10.1
CWM Touch Recovery 6.0.2.7

Sony Xperia T
[Locked][Rooted][9.1.A.0.492]
CWM Recovery 6.0.3.0

Retired
ZTE Blade
Samsung G600
Samsung E740
O2 X1B

Follow Me On Twitter

My Work
Softkey Collection
The Following 10 Users Say Thank You to matt4321 For This Useful Post: [ Click to Expand ]
 
varsaljr
Old
#2  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Apr 2012
Thanks! Very helpful.
 
QuantumFoam
Old
#3  
QuantumFoam's Avatar
Recognized Contributor
Thanks Meter 1242
Posts: 7,061
Join Date: Feb 2012
Location: Vanhankaupunginselkä, Finland

 
DONATE TO ME
Quote:
Originally Posted by varsaljr View Post
Thanks! Very helpful.
As repeated in many places, press the thanks button instead of posting thanks
 
MrKiller2010
Old
#4  
Member
Thanks Meter 4
Posts: 58
Join Date: Feb 2012
Hello, when i enter abd shell, then su.
I get acces denied..

what to do? :eek:
 
saaransh9
Old
#5  
Senior Member
Thanks Meter 180
Posts: 701
Join Date: Jul 2011
Quote:
Originally Posted by MrKiller2010 View Post
Hello, when i enter abd shell, then su.
I get acces denied..

what to do? :eek:
u rooted and have superuser on your phone??
Current device- ZTE blade
ROM- Cyanogemod 7.2 kang burgerz 29 feb,cm9 coldfuion

Mods-
Beats audio
Bravia engine
New adreno libs

I HELPED YOU ???
Do HIT THIS BUTTON
 
MrKiller2010
Old
#6  
Member
Thanks Meter 4
Posts: 58
Join Date: Feb 2012
No i dont some one told me to do this cause my screen freezes when im trying to root it. Chek the How to root your blade.

Sent from my ZTE-BLADE using xda premium
 
matt4321
Old
#7  
matt4321's Avatar
Senior Member - OP
Thanks Meter 369
Posts: 603
Join Date: Dec 2011
Location: Oxford
You must be rooted for this, root using z4root or something

Sent from my ZTE-BLADE using Tapatalk 2
Motorola Xoom
CyanogenMod 10.1
CWM Touch Recovery 6.0.2.7

Sony Xperia T
[Locked][Rooted][9.1.A.0.492]
CWM Recovery 6.0.3.0

Retired
ZTE Blade
Samsung G600
Samsung E740
O2 X1B

Follow Me On Twitter

My Work
Softkey Collection
 
QuantumFoam
Old
#8  
QuantumFoam's Avatar
Recognized Contributor
Thanks Meter 1242
Posts: 7,061
Join Date: Feb 2012
Location: Vanhankaupunginselkä, Finland

 
DONATE TO ME
Quote:
Originally Posted by MrKiller2010 View Post
No i dont some one told me to do this cause my screen freezes when im trying to root it. Chek the How to root your blade.

Sent from my ZTE-BLADE using xda premium
Dude i didn't know u weren't rooted yet. U don't need to use adb to root. Just Google z4root modaco and click on the first link. Install z4root and permanent root it. Don't forget to install rom manager and flash cwm from within it
 
MrKiller2010
Old
#9  
Member
Thanks Meter 4
Posts: 58
Join Date: Feb 2012
Oh, well z4root doesn't work for me cause i got 2.3.5 i heard that the only way to root my blade is this: http://forum.xda-developers.com/show....php?t=1319257

and that doesn't work, it freezes when i enter the command "adb reboot bootloader" it reboots and stay on the ZTE logo and freezes. :S
 
Amphoras
Old
#10  
Member
Thanks Meter 35
Posts: 82
Join Date: Oct 2011

 
DONATE TO ME
Quote:
Originally Posted by MrKiller2010 View Post
Oh, well z4root doesn't work for me cause i got 2.3.5 i heard that the only way to root my blade is this: http://forum.xda-developers.com/show....php?t=1319257

and that doesn't work, it freezes when i enter the command "adb reboot bootloader" it reboots and stay on the ZTE logo and freezes. :S
That's what it is supposed to do. That's it in fastboot mode. You need to go on to the next step at that point.
TPTs and useful apps

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more