• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [RECOVERY] Clockworkmod Recovery for Hwawei Y301-A1

ok question..
I have CWM, not updated. if i remove CWM, put in stock bootloader, update my phone, will this lock the bootloader? if it does, will the code i used to unlock the bootloader unlock it again? and of course once i upgrade, will i be able to put back on CWM and will I be able to reroot my phone again? if so on any of these, can someone tel me how to root the phone after i do the update?
 
Upvote 0
Installation Instructions
  1. Download the file listed above
  2. Install the Android SDK on your PC. For more information on doing so, Google it.
  3. On your phone, open the settings app, swipe to the left so you are on the all tab, and scroll to the bottom. You should see an option that says Fast Boot. Make sure that option is turned off.
  4. Turn off the device.
  5. Pull the battery for 10 seconds (annoying, but necessary)
  6. Place the battery back in your phone, and press and hold POWER + VOLDOWN for 10 seconds, when you release the buttons, your phone should stay at the Huawei Logo if you did everything correctly
  7. If your phone booted normally, just repeat steps 4 - 7
  8. Open a terminal (Linux and Mac) or Command Prompt and change to the directory you downloaded the file to.
  9. Next type
    Code:
    fastboot devices
  10. You should see a line that says something like
    Code:
    34230cc2        fastboot
    If you don't, check your drivers.
  11. Now type the following command and MAKE SURE YOU TYPE IT CORRECTLY, if you don't, this process can brick your device
    Code:
    fastboot flash recovery {filename}
  12. Now type
    Code:
    fastboot reboot
  13. As soon as your phone's screen goes blank press and hold the VOLUP button until your device boots into recovery.
  14. If your device opens Clockworkmod, good you are done. If it pulls up Huawei recovery, then you have an issue, leave a reply to this thread and I will help you to the best of my ability.

Get an error on flash recovery command.
Code:
sending 'recovery' (7566 KB)...
OKAY [  0.699s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.701s
 
Upvote 0
Well, did you email Huawei for the code?

Did you also then type that code into your shell with the unlock command??

No. No, you didn't.
Yes- email route is only way to get unlock code. It takes at most 3 days. Usually only 2hrs. Now that you have to wait, read up on this thread.

Seriously, read the first page.

Then read it again.

Not to be rude, but I'm starting to see why people don't answer certain questions anymore.

I always will. If I'm around.


But PLEASE read about the whole process- this is a simple to follow procedure that can cause irreparable damage.

You need to know the basic lingo. If something goes wrong, you need to be able to use the terms correctly.

You need to understand the basic flow of the procedure. Regardless as to the physical hardware, the procedure is nearly identical (yes, special cases exist- but they also started off this way)

Sorry if this seems like a rant, but it isn't. This is what I had to learn on my own.
 
Upvote 0
here is stock rooted system.img and recovery.img, flash em in fastboot :)

Having some problems here, have you tried restoring these yourself? My bootloader is unlocked via a code from Huawei, and the recovery flashes just fine (as did CWM before it), but I'm getting "FAILED (remote: data too large)" when trying to flash System. I'm using the latest fastboot from the sdk. Any thoughts?
 
Upvote 0
Having some problems here, have you tried restoring these yourself? My bootloader is unlocked via a code from Huawei, and the recovery flashes just fine (as did CWM before it), but I'm getting "FAILED (remote: data too large)" when trying to flash System. I'm using the latest fastboot from the sdk. Any thoughts?

I had same problem as you, the system flash.img doesn't work.
The recovery image is good, like you said.
Look in the other thread on going from cwm to stock and back again. I posted a few times giving the method that worked for me to get the valiant back to stock image. KaneXS made a file, and I linked to it. Put the valiant stock recovery img on using fastboot, and then follow the directions I gave for how to put the folder on root of sd card, and 2 methods to load on the valiant stock image, regular and forced methods.
This worked for me. Read the other thread, because I gave other pointers and other ways to do it. But the method I just referred to gets the valiant back to factory, but it's still rooted and bootloader unlocked.
 
Upvote 0
This is the release of Clockworkmod for the Huawei Valiant. While you are more than welcome to flash this to your device, there are a few things to note:
  1. First and foremost, this WILL void your warranty, so if you have any issues with your device after this, they are longer covered by Huawei or MetroPCS.
  2. Secondly, rooting your device and/or flashing a custom recovery is directly against MetroPCS's (and most carriers') Terms of Use. If Metro catches you with either of these, they will suspend your account.
  3. Thirdly, I am in no way, share or form responsible for what you do to your device. If you are not okay with this, then do NOT flash this recovery.
  4. Fourth and finally, this process requires that your device's bootloader is unlocked. If you do not know how to do this, then refer to the thread I will be creating later.

Proceed if and only if you agree to ALL of those terms


Credits
  • Totempoke for starting the project, I would have never decided to start it if I hadn't seen that he was stalled
  • jonhaney from UnleashedPrepaids for analyzing the partitions and giving a partition map for this phone
  • KainXS for giving me the solution to the "dancing" screen issue

Download
The files for this device are hosted on my Google Drive. The more recent download can be retrieved from the link below. If you want an older release, then you need to go to the third post in this thread (Release History).

Download Link: http://goo.gl/QlOAEc
QR Code:
chart



Installation Instructions
  1. Download the file listed above
  2. Install the Android SDK on your PC. For more information on doing so, Google it.
  3. On your phone, open the settings app, swipe to the left so you are on the all tab, and scroll to the bottom. You should see an option that says Fast Boot. Make sure that option is turned off.
  4. Turn off the device.
  5. Pull the battery for 10 seconds (annoying, but necessary)
  6. Place the battery back in your phone, and press and hold POWER + VOLDOWN for 10 seconds, when you release the buttons, your phone should stay at the Huawei Logo if you did everything correctly
  7. If your phone booted normally, just repeat steps 4 - 7
  8. Open a terminal (Linux and Mac) or Command Prompt and change to the directory you downloaded the file to.
  9. Next type
    Code:
    fastboot devices
  10. You should see a line that says something like
    Code:
    34230cc2        fastboot
    If you don't, check your drivers.
  11. Now type the following command and MAKE SURE YOU TYPE IT CORRECTLY, if you don't, this process can brick your device
    Code:
    fastboot flash recovery {filename}
  12. Now type
    Code:
    fastboot reboot
  13. As soon as your phone's screen goes blank press and hold the VOLUP button until your device boots into recovery.
  14. If your device opens Clockworkmod, good you are done. If it pulls up Huawei recovery, then you have an issue, leave a reply to this thread and I will help you to the best of my ability.

Where do I suppose to put the cwm file side when I type it in. It says it is not found. Please help
 
Upvote 0
First of all, thanks so much for your work on this CWM port!
This is actually my first time using a custom recovery. I've just flashed the latest version posted on this thread, and it seems to be booting up properly. Now I'm trying to run a backup, but CWM can't mount either the internal or external storage. They both mount fine in Android.

These are the error messages:
Internal:
"Volume /sdcard is not idle, current state is 0
Can't mount backup path"
External:
"mount: mounting /dev/block/mmcblk1p1 on /external_sd failed: No such file or directory
Can't mount backup path."

I am able to partition the external SD card from CWM, it just doesn't want to mount said card. The external SD is formatted as fat32, but I've also tried ext4 and fat with the same errors. Did I miss a step here? Do I need to manually create the /external_sd directory, or set a different mount path? How do I go about troubleshooting this?
Thanks!
 
Upvote 0
First of all, thanks so much for your work on this CWM port!
This is actually my first time using a custom recovery. I've just flashed the latest version posted on this thread, and it seems to be booting up properly. Now I'm trying to run a backup, but CWM can't mount either the internal or external storage. They both mount fine in Android.

These are the error messages:
Internal:
"Volume /sdcard is not idle, current state is 0
Can't mount backup path"
External:
"mount: mounting /dev/block/mmcblk1p1 on /external_sd failed: No such file or directory
Can't mount backup path."

I am able to partition the external SD card from CWM, it just doesn't want to mount said card. The external SD is formatted as fat32, but I've also tried ext4 and fat with the same errors. Did I miss a step here? Do I need to manually create the /external_sd directory, or set a different mount path? How do I go about troubleshooting this?
Thanks!

Try older CWM versions
I couldnt get the latest to work on mine too
 
  • Like
Reactions: Col_Panic
Upvote 0
It's been a while since I looked in doing something with my valiant.
Has kitkat been released in ROM that works (wifi included).
I have been checking the web today and I don't see a working kitkat rom.
My system does have clockworkmod on it, but I'm looking for interesting NEW ROMS to try.
Point me in the right direction.
Thanks
 
Upvote 0
Well, did you email Huawei for the code?

Did you also then type that code into your shell with the unlock command??

No. No, you didn't.
Yes- email route is only way to get unlock code. It takes at most 3 days. Usually only 2hrs. Now that you have to wait, read up on this thread.

Seriously, read the first page.

Then read it again.

Not to be rude, but I'm starting to see why people don't answer certain questions anymore.
DeadDude. Please take your own advice and read the first page. This information is not there! I've searching for the unlock codes and it was just luck that I found your post. Here's what it says:
4 . Fourth and finally, this process requires that your device's bootloader is unlocked. If you do not know how to do this, then refer to the thread I will be creating later.

I'm not sure if CWM will help me much. This is a friends Huawei and its basically dead. For some reason /data is being mounted read-only. I've already tried a factory reset. I can do all sorts of stuff, but the phone isn't rooted, so its really tough to figure out whats going on with it.

Whats the email address to get the unlock code, and what information do we give them? Hopefully I can keep the phone running long enough to get the info. Within a few seconds it fires up services that write to the databases, and when they can't you get a barrage of FCs. I think the flash is at its end :/
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones