Github Tutorial App Shows You How to Use… Github

Github can get pretty complicated and using it can become quite daunting, especially … more

Google Glass-like Clip-On For Regular Glasses Developed by Sony

For the price of $2,000, a pair of glasses that can run apps, take pictures, … more

Micromax Takes OnePlus to Court! Android Wear Receives Lollipop – XDA TV

Android 5.0 Lollipop is available officially for the Moto 360! … more

Google Invites Selected Devs to Buy Project Tango Development Kit

Just about a month ago, the curious Project Tango development kit was … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Easy way to install CWM or xRecovery

OP DarrenNewsgroup

11th July 2011, 11:12 PM   |  #1  
OP Senior Member
Thanks Meter: 55
 
165 posts
Join Date:Joined: Apr 2011
Here is what I believe is a simple way of rooting and installing CWM for Windows.

I have bricked my phone many times now and used SEUS to get it back to 2.1.1.A.0.6 and had to go through the process of rooting and installing CWM again. Here is what I have found.
  1. Download SuperOneClick to a folder, e.g. C:\SuperOneClick
  2. Create a sub-folder under this folder, e.g. C:\SuperOneClick\CWM
  3. Download your preferred version of CWM or xRecovery (should be the 3 files "busybox", "chargemon", "recovery.tar")
  4. Copy these 3 files into the sub-folder you created, e.g. C:\SuperOneClick\CWM
  5. Copy the code snippet below and save as INSTALL.BAT in the sub-folder
  6. Reflash your phone with SEUS to get back to plain 2.1.1.A.0.6
  7. Reboot and set USB debugging mode
  8. Run SuperOneClick and click Root - do not reboot
  9. Once Root has finished click Shell Root - do not reboot
  10. Open a command window and enter CD C:\SuperOneClick\CWM
  11. Run INSTALL.BAT - this will reboot the phone at the end
  12. Press BACK key on the phone at the Sony Ericcson text - you should get into CWM

The benefit of the above is that if you keep the files in the folder above you can repeat from step 6 very easily.

Code:
@echo off
echo.
echo.1) Run SuperOneClick
echo.   a) Click Root - do not reboot
echo.   b) Click Shell Root - do not reboot
echo.2) Press any key in this window to install CWM - phone will reboot
echo.
pause
..\adb devices
..\adb remount
..\adb push busybox /system/bin
..\adb push chargemon /system/bin
..\adb push recovery.tar /system/bin
..\adb shell chmod 755 /system/bin/busybox
..\adb shell chmod 755 /system/bin/chargemon
..\adb shell chmod 755 /system/bin/recovery.tar
..\adb reboot
This technique does not require installing BusyBox from the Market, setting permissions via Root Explorer or anything like that. It just uses SuperOneClick and a small script using the ADB program in the SuperOneClick folder.

I got SuperOneClick from here http://forum.xda-developers.com/atta...7&d=1297434892 (from thread http://forum.xda-developers.com/showthread.php?t=950324)
I got 2 files for CWM "chargemon" and "recovery.tar" from the ZIP file here http://forum.xda-developers.com/atta...5&d=1308237137 (from thread http://forum.xda-developers.com/show....php?t=1106146)
I got busybox from the ZIP file here http://forum.xda-developers.com/atta...6&d=1297434832 (from thread http://forum.xda-developers.com/showthread.php?t=950324)

I hope some people find this useful and that I haven't offended the guys where I got the files from (I did list your threads as well as link to your files so others can see all the useful posts in your threads).

Darren
The Following 8 Users Say Thank You to DarrenNewsgroup For This Useful Post: [ View ]
12th July 2011, 01:13 AM   |  #2  
Senior Member
Thanks Meter: 17
 
124 posts
Join Date:Joined: Dec 2008
Red face
Quote:
Originally Posted by DarrenNewsgroup

Here is what I believe is a simple way of rooting and installing CWM for Windows.

I have bricked my phone many times now and used SEUS to get it back to 2.1.1.A.0.6 and had to go through the process of rooting and installing CWM again. Here is what I have found.

  1. Download SuperOneClick to a folder, e.g. C:\SuperOneClick
  2. Create a sub-folder under this folder, e.g. C:\SuperOneClick\CWM
  3. Download your preferred version of CWM or xRecovery (should be the 3 files "busybox", "chargemon", "recovery.tar")
  4. Copy these 3 files into the sub-folder you created, e.g. C:\SuperOneClick\CWM
  5. Copy the code snippet below and save as INSTALL.BAT in the sub-folder
  6. Reflash your phone with SEUS to get back to plain 2.1.1.A.0.6
  7. Reboot and set USB debugging mode
  8. Run SuperOneClick and click Root - do not reboot
  9. Once Root has finished click Shell Root - do not reboot
  10. Open a command window and enter CD C:\SuperOneClick\CWM
  11. Run INSTALL.BAT - this will reboot the phone at the end
  12. Press BACK key on the phone at the Sony Ericcson text - you should get into CWM

The benefit of the above is that if you keep the files in the folder above you can repeat from step 6 very easily.

Code:
@echo off
echo.
echo.1) Run SuperOneClick
echo.   a) Click Root - do not reboot
echo.   b) Click Shell Root - do not reboot
echo.2) Press any key in this window to install CWM - phone will reboot
echo.
pause
..\adb devices
..\adb remount
..\adb push busybox /system/bin
..\adb push chargemon /system/bin
..\adb push recovery.tar /system/bin
..\adb shell chmod 755 /system/bin/busybox
..\adb shell chmod 755 /system/bin/chargemon
..\adb shell chmod 755 /system/bin/recovery.tar
..\adb reboot
This technique does not require installing BusyBox from the Market, setting permissions via Root Explorer or anything like that. It just uses SuperOneClick and a small script using the ADB program in the SuperOneClick folder.

I got SuperOneClick from here http://forum.xda-developers.com/atta...7&d=1297434892 (from thread http://forum.xda-developers.com/showthread.php?t=950324)
I got 2 files for CWM "chargemon" and "recovery.tar" from the ZIP file here http://forum.xda-developers.com/atta...5&d=1308237137 (from thread http://forum.xda-developers.com/show....php?t=1106146)
I got busybox from the ZIP file here http://forum.xda-developers.com/atta...6&d=1297434832 (from thread http://forum.xda-developers.com/showthread.php?t=950324)

I hope some people find this useful and that I haven't offended the guys where I got the files from (I did list your threads as well as link to your files so others can see all the useful posts in your threads).

Darren

Very useful, thank you. I usually spend a couple of minutes re-installing CWMR via a root explorer and it annoys me. This saves 10-20 minutes per restore
12th July 2011, 04:41 AM   |  #3  
easyyu's Avatar
Senior Member
Thanks Meter: 15
 
202 posts
Join Date:Joined: Mar 2011
It doesn't work..
I bricked my phone 3 timies..
12th July 2011, 11:09 AM   |  #4  
Senior Member
Thanks Meter: 17
 
124 posts
Join Date:Joined: Dec 2008
Quote:
Originally Posted by easyyu

It doesn't work..
I bricked my phone 3 timies..

are you using the same busybox/chargemon and recovery tar that you usually manually install?
12th July 2011, 01:51 PM   |  #5  
easyyu's Avatar
Senior Member
Thanks Meter: 15
 
202 posts
Join Date:Joined: Mar 2011
Quote:
Originally Posted by svyr

are you using the same busybox/chargemon and recovery tar that you usually manually install?

I'm used files from first post!
12th July 2011, 02:02 PM   |  #6  
OP Senior Member
Thanks Meter: 55
 
165 posts
Join Date:Joined: Apr 2011
@easyyu
I am sorry that your phone got bricked. Unfortunately you will need to reflash your phone via SEUS. After that check your phone settings are the same as mine below. The 3 files work with my phone settings.

My X10 Mini Pro has the following Settings->About Phone
Model number U20i
Firmware version 2.1-update1
Baseband version M76XX-TSNCJOLYM-53404015
Kernel version 2.6.29 SEMCUser@SEMCHost #1
Build number 2.1.1.A.0.6
@svyr
Can you confirm that the above settings are the same as in your phone. This would confirm that the 3 files work for my phone settings.

Darren
12th July 2011, 02:19 PM   |  #7  
Senior Member
Thanks Meter: 17
 
124 posts
Join Date:Joined: Dec 2008
Quote:
Originally Posted by DarrenNewsgroup

@easyyu
I am sorry that your phone got bricked. Unfortunately you will need to reflash your phone via SEUS. After that check your phone settings are the same as mine below. The 3 files work with my phone settings.

My X10 Mini Pro has the following Settings->About Phone

Model number U20i
Firmware version 2.1-update1
Baseband version M76XX-TSNCJOLYM-53404015
Kernel version 2.6.29 SEMCUser@SEMCHost #1
Build number 2.1.1.A.0.6
@svyr
Can you confirm that the above settings are the same as in your phone. This would confirm that the 3 files work for my phone settings.

Darren

yes, the above settings from about are the same on my phone.

Hmmm, just reflashed again, ran it and forgot to include busybox/rebooted.

Now it says it can't copy the files/files are read-only and system

Any ideas?

Aside from following the 'do not reboot' (edit: ran superoneclick again and it's all good (re-run the script))

Can't vouch for the busybox/etc set above, but the on I always used still works when installed this way instead of manually.
Last edited by svyr; 12th July 2011 at 02:21 PM.
12th July 2011, 02:27 PM   |  #8  
easyyu's Avatar
Senior Member
Thanks Meter: 15
 
202 posts
Join Date:Joined: Mar 2011
Quote:
Originally Posted by DarrenNewsgroup

@easyyu
I am sorry that your phone got bricked. Unfortunately you will need to reflash your phone via SEUS. After that check your phone settings are the same as mine below. The 3 files work with my phone settings.

My X10 Mini Pro has the following Settings->About Phone

Model number U20i
Firmware version 2.1-update1
Baseband version M76XX-TSNCJOLYM-53404015
Kernel version 2.6.29 SEMCUser@SEMCHost #1
Build number 2.1.1.A.0.6
@svyr
Can you confirm that the above settings are the same as in your phone. This would confirm that the 3 files work for my phone settings.

Darren

Yes this is the right parameters that you mentioned!
I know how to unbrick my phone..thats not problem!
12th July 2011, 02:27 PM   |  #9  
Senior Member
Thanks Meter: 17
 
124 posts
Join Date:Joined: Dec 2008
Quote:
Originally Posted by svyr

yes, the above settings from about are the same on my phone.

Hmmm, just reflashed again, ran it and forgot to include busybox/rebooted.

Now it says it can't copy the files/files are read-only and system

Any ideas?

Aside from following the 'do not reboot' (edit: ran superoneclick again and it's all good (re-run the script))

Can't vouch for the busybox/etc set above, but the on I always used still works when installed this way instead of manually.

ps here's the one I use. Can't remember where the chargemon is from, but busybox is from xrec mini and CWM is 3.2.0 rc3
Attached Files
File Type: 7z rec.7z - [Click for QR Code] (1.22 MB, 117 views)
12th July 2011, 03:49 PM   |  #10  
Member
Thanks Meter: 4
 
51 posts
Join Date:Joined: May 2009
I made this, a lot of test give a lot of success, but it's only for mini pro.

CWM recovery by this script easily: http://www.multiupload.com/NDZB8HSIOV

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes