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

[GUIDE][TUTORIAL]How-TO - Flash Kernel, TWRP and Stock Recovery (JB and KK)

OP jimbo77

4th February 2014, 05:10 PM   |  #1  
jimbo77's Avatar
OP Recognized Contributor
Flag Guatemala
Thanks Meter: 2,146
 
1,476 posts
Join Date:Joined: Nov 2010
Donate to Me
More
I've seen many of you guys who probably are new to Android and the adb/fastboot world so I decied to create a simple understandable guide to flash custom recoveries or kernels through such tools...

First off we'll start with the basics...

Code:
I'm not responsible if anything goes wrong. 
If your phone turns into a beautiful and useless brick. 
The procedures described below have been tested by me since several years ago and never had an issue, 
never the less remeber 
YOU ARE DOING THIS BY YOURSELF AND TO YOUR PHONE, NOT ME.

You need the Following:
  1. Huawei Ascend P6
  2. Your phone needs to be on either KitKat Beta, B118CN or B120CN
  3. Drivers for the Phone Installed
  4. Huawei PC Suite installed (This is only to have the Fastboot driver that comes along with it)
  5. abd&fastboot.zip (attached to this post)
  6. USB Debuggin Option enabled in "Developer Options"
  7. Gutts to play along with your phone internals...

Utilizing both ADB and Fastboot to flash

Assuming your phone boots just fine and it is being recognized by the computer go to the place where you have decompressed the adb&fastboot.zip file.

Pressing both "Shift Key" + Right click should bring a menu like this:




Click on "Open command window here"

You should see a CMD window pop up in front of you, now the fun will begin:

1.- Connect your phone to the PC and then type in the Command Window:

Code:
adb devices
2.- You should see an output stating your device as online.



3.- Type:

Code:
adb reboot bootloader
4.- Your Phone now should be "stuck" on Huawei Ascend Logo, don't panic we are in fastboot mode now.

5.- Here we can erase or flash anything we want to the phone you be extremely careful with what you are doing.... To flash kernel and recovery we can do as follows:

Code:
Flashing a Kernel:

fastboot flash boot boot.img
Code:
Flashing TWRP Recovery:

fastboot flash recovery recovery-twrp.img
Code:
Flashing Stock Recovery:

fastboot flash recovery recovery.img
Once it finish you'll see an output like the following



Now just do:

Code:
fastboot reboot
Your phone will boot into system, to go to recovery while having the phone connected to the Computer do:

Code:
adb reboot recovery

KEY NOTES

  1. For all of this to work your Phone needs to be on either latest KitKat Beta, B118 or B120 CN firmwares. International firmwares do not support flashing custom kernels or recoveries.
  2. If you are flashing a Kernel make sure the kernel is named as "boot.img"
  3. If you are flashing TWRP recovery name it as "recovery-twrp.img"
  4. If you are flashing stock recovery name it as "recovery.img"
  5. Any file you are flashing (either kernel or recovery) must be placed inside the folder abd&fastboot

I'll create another Post or Thread with information and usage of each TWRP item....

More to come...
Attached Files
File Type: zip adb&fastboot.zip - [Click for QR Code] (557.2 KB, 2802 views)
The Following 36 Users Say Thank You to jimbo77 For This Useful Post: [ View ]
4th February 2014, 05:11 PM   |  #2  
jimbo77's Avatar
OP Recognized Contributor
Flag Guatemala
Thanks Meter: 2,146
 
1,476 posts
Join Date:Joined: Nov 2010
Donate to Me
More
Reserved...
The Following 4 Users Say Thank You to jimbo77 For This Useful Post: [ View ]
4th February 2014, 05:12 PM   |  #3  
jimbo77's Avatar
OP Recognized Contributor
Flag Guatemala
Thanks Meter: 2,146
 
1,476 posts
Join Date:Joined: Nov 2010
Donate to Me
More
Last one for further updates...
The Following 3 Users Say Thank You to jimbo77 For This Useful Post: [ View ]
4th February 2014, 05:21 PM   |  #4  
husen4u's Avatar
Senior Member
Flag Kuwait
Thanks Meter: 1,406
 
1,067 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Quote:
Originally Posted by jimbo77

Last one for further updates...

Such A Nice Guide. It Will Help Lots of users. Thanks A Lot
4th February 2014, 05:29 PM   |  #5  
Superwitschi's Avatar
Senior Member
Flag Pegnitz
Thanks Meter: 341
 
779 posts
Join Date:Joined: Jan 2013
More
Thanks for the great post

Gesendet von meinem HUAWEI P6-U06 mit Tapatalk
4th February 2014, 05:54 PM   |  #6  
skyp6user's Avatar
Senior Member
Thanks Meter: 15
 
110 posts
Join Date:Joined: Dec 2013
thanks for this! Its easy to follow and understand especially for someone like me who's new to android
4th February 2014, 06:02 PM   |  #7  
jimbo77's Avatar
OP Recognized Contributor
Flag Guatemala
Thanks Meter: 2,146
 
1,476 posts
Join Date:Joined: Nov 2010
Donate to Me
More
Quote:
Originally Posted by Superwitschi

Thanks for the great post

Gesendet von meinem HUAWEI P6-U06 mit Tapatalk

Quote:
Originally Posted by skyp6user

thanks for this! Its easy to follow and understand especially for someone like me who's new to android

I'm glad to help! If you think anything else can be added or something else you guys need assistance let me know and I'll update this post or create a new one with the info needed
The Following User Says Thank You to jimbo77 For This Useful Post: [ View ]
4th February 2014, 06:12 PM   |  #8  
PulseDroid's Avatar
Recognized Contributor / Themer
Thanks Meter: 2,384
 
2,519 posts
Join Date:Joined: Jan 2012
More
Finally someone did it
The Following User Says Thank You to PulseDroid For This Useful Post: [ View ]
4th February 2014, 10:17 PM   |  #9  
benna's Avatar
Senior Member
Thanks Meter: 28
 
365 posts
Join Date:Joined: Jun 2012
Super cool!!
Waaaaaaaaaat! Thank you SOOOOOOOOOOOOOOOO much !!:laugh ::good :
I used this verry cool guide and it worked. i went from zero to hero. you are my hero
5th February 2014, 07:15 AM   |  #10  
mark manning's Avatar
Forum Moderator
Flag Denver, CO Likes: Omne absconditur in palam veniat
Thanks Meter: 3,322
 
5,205 posts
Join Date:Joined: Apr 2010
Donate to Me
More
Thread Stuck

Nice guide!!

The Following 2 Users Say Thank You to mark manning For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes