Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,594 Members 39,365 Now Online
XDA Developers Android and Mobile Development Forum

[Tutorial]Flashing android on "hopeless" HD2

Tip us?
 
gilbert32
Old
(Last edited by gilbert32; 10th August 2013 at 06:54 AM.)
#1  
gilbert32's Avatar
Senior Member - OP
Thanks Meter 1,318
Posts: 834
Join Date: Apr 2011
Location: In the universe
Default [Tutorial]Flashing android on "hopeless" HD2

Hello guys. i decided to give you this tutorial to flash android roms on hopeless hd2's.

What does hopeless mean?

Hopeless = Devices with broken usb, devices with broken volume rocker, devices with broken power or call button.

WARNING
USERS WITH WINDOWS MOBILE, and HSPL, and BROKEN USB; if you want to get back to stock, NEVER flash stock wm rom, just custom wm rom from sd card, as stock WILL remove HSPL and ANY CHANCE to install CUSTOM roms or bootloaders again. BEWARE.


This guide is devided into many sections, each one regarding a specific problem.

Quote:
Index:
  1. Impossible combinations of problems
  2. broken usb
  3. broken call button
  4. broken volume rocker
  5. broken call buttons AND volume rocker
  6. Controlling bootloader and flashing android from pc

Impossible Combinations of problems
  • Devices with broken volume rocker AND without Windows MOBILE
  • devices with broken usb AND volume rocker
  • devices with broken usb AND {menu; power; green} key, all of them broken
  • Devices without HSPL AND Broken usb
  • Devices with faulty mainboards :P
  • Devices with broken volume rocker AND without Windows MOBILE
if you have one of these combinations, then it's theoretically not possible to flash android on HD2. See section 7 at the end for possible way to get android.
If you don't have any of these combinations, then you may be lucky enough to get android running on your phone.
if you DO have one of those problems, you may be able to do it. read the whole steps to get an idea if there's something broken you need to use to flash android.


END OF SECTION 1


Section 2: devices with broken usb

We assume you have hspl installed. grab black clk bootloader from here:http://www.mediafire.com/?nhyausx0p5whu#tzg7whl9wwaih from compiled test versions, the 3 ones at the bottom. choose the one with the recovery that fits your needs.

Quote:
  • Download and extract zip. you get a .nbh file
  • rename .nbh file to LEOIMG.nbh (with caps)
  • copy file to the root of your sd. sd card should be at maximum 4gb (as safely reported), and formatted to fat32 partition.
  • turn on your phone in bootloader (HSPL) mode, by holding volume down button and inserting battery. make sure the sd card is there.
  • as instructed by the hd2, you should be able to flash clk
  • Proceed to Case A
My work for the hd2:
 
  • Resurrection Remix 4.4.2 rom (always broken?!? nand errors/ /data errors)
  • Sense 5 first kernel

<========If i helped you, make sure to hit the THANKS Button

How to flash android on HD2 devices with broken "hardware"
This is AMAZING: Sense 5 on HD2!!
The Following 13 Users Say Thank You to gilbert32 For This Useful Post: [ Click to Expand ]
 
gilbert32
Old
(Last edited by gilbert32; 9th August 2013 at 04:41 PM.)
#2  
gilbert32's Avatar
Senior Member - OP
Thanks Meter 1,318
Posts: 834
Join Date: Apr 2011
Location: In the universe
Section 3: Devices with broken call button

same steps for section 1, or:
  • grab black clk bootloader from here:http://www.mediafire.com/?nhyausx0p5whu#tzg7whl9wwaih from compiled test versions, the 3 ones at the bottom. choose the one with the recovery that fits your needs.
  • download hd2 toolkit and install it (search the forum for it)
  • turn phone in bootloader mode by holding volume down
  • open the nbh file from the zip you downloaded.
  • follow on screen steps
  • proceed to Case A

Section 4: Devices with broken volume rocker


This one is a bit tricky. it requires having already clk, or windows mobile.
if on windows mobile,
  • grab black clk bootloader from here:http://www.mediafire.com/?nhyausx0p5whu#tzg7whl9wwaih from compiled test versions, the 3 ones at the bottom. choose the one with the recovery that fits your needs.
  • open .nbh after installing hd2 toolkit
  • flash clk bootloader
  • proceed to Case B
My work for the hd2:
 
  • Resurrection Remix 4.4.2 rom (always broken?!? nand errors/ /data errors)
  • Sense 5 first kernel

<========If i helped you, make sure to hit the THANKS Button

How to flash android on HD2 devices with broken "hardware"
This is AMAZING: Sense 5 on HD2!!
The Following 5 Users Say Thank You to gilbert32 For This Useful Post: [ Click to Expand ]
 
gilbert32
Old
(Last edited by gilbert32; 9th August 2013 at 04:41 PM.)
#3  
gilbert32's Avatar
Senior Member - OP
Thanks Meter 1,318
Posts: 834
Join Date: Apr 2011
Location: In the universe
Section 5: Devices with broken call buttons AND volume rocker
assuming you have clk bootloader preinstalled or windows mobile, do the same as section 4.

Quote:
if on windows mobile,
grab black clk bootloader from here:http://www.mediafire.com/?nhyausx0p5whu#tzg7whl9wwaih from compiled test versions, the 3 ones at the bottom. choose the one with the recovery that fits your needs.
open .nbh after installing hd2 toolkit
flash clk bootloader
proceed to Case B
The Following 4 Users Say Thank You to gilbert32 For This Useful Post: [ Click to Expand ]
 
gilbert32
Old
(Last edited by gilbert32; 10th August 2013 at 05:41 PM.)
#4  
gilbert32's Avatar
Senior Member - OP
Thanks Meter 1,318
Posts: 834
Join Date: Apr 2011
Location: In the universe
Section 6: Using bootloader and controlling it from pc

Now this section is divided to two cases: A and B
  • Case A: your device has working volume rocker, with or without usb
  • Case B: your volume rocker is broken, but your usb is working


Case A: Devices with working volume rocker

if followed instructions, it's easy to flash android now.
  • boot the phone while holding back key. black clk should appear
  • navigate up/down using volume rocker
  • use answer call button OR menu button if any is broken to make selection
  • goto settings, resize partition, change system partition size and apply
  • open recovery and flash rom from sd
  • enjoy!



Case B: Devices with Broken volume rocker


Controlling clk from PC

you will need to enter clk bootloader by holding back button. once in there, plug-in usb, make sure you have fastboot drivers installed, and proceed.
each key has a command to use it.
  • UP: fastboot oem key 8
  • DOWN: fastboot oem key 2
  • ENTER (or YES): fastboot oem key 5
  • BACK: fastboot oem key 0

Repartitionning:
if you just booted clk, flashlight should be automatically selected. to resize, use:
Quote:
fastboot oem part-resize name:size
this is taken directly from clk help example, to make a 320 mb system partition it would be:
fastboot oem part-resize system:320
or:
Quote:
  • fastboot oem key 2
  • fastboot oem key 5
  • fastboot oem key 5
  • fastboot oem key 2
  • fastboot oem key 2
  • fastboot oem key 2
  • fastboot oem key 2
  • fastboot oem key 5
  • navigate and change size as you want, then use fastboot oem key 0
  • fastboot oem key 2
  • fastboot oem key 2
  • fastboot oem key 2
  • fastboot oem key 2
  • fastboot oem key 5
  • fastboot oem key 5
  • fastboot oem key 0
  • fastboot oem key 8
  • fastboot oem key 8
  • fastboot oem key 5
you are now in recovery, flash the rom you want and enjoy

Now, if youre going to ask for help, or not sure if the methods will work for you, please ask including the following:
Quote:
  • Do you have HSPL? No/Yes (which version?)
  • Do you have a proper radio already installed? No/Yes (which version?)
  • What's broken? (USB/Volume..etc)
  • What's currently installed on your device? (WM6.5/WP7/Android/Nothing)
  • Which custom bootloader are you currently on, and is it working? (MAGLDR/cLK/No custom bootloader (stock)) (Working/Not working (explain))


great thanks for kokotas, rick1995, cedesmith for consecutive work and improved versions of clk
My work for the hd2:
 
  • Resurrection Remix 4.4.2 rom (always broken?!? nand errors/ /data errors)
  • Sense 5 first kernel

<========If i helped you, make sure to hit the THANKS Button

How to flash android on HD2 devices with broken "hardware"
This is AMAZING: Sense 5 on HD2!!
The Following 5 Users Say Thank You to gilbert32 For This Useful Post: [ Click to Expand ]
 
gilbert32
Old
(Last edited by gilbert32; 11th August 2013 at 08:39 AM.)
#5  
gilbert32's Avatar
Senior Member - OP
Thanks Meter 1,318
Posts: 834
Join Date: Apr 2011
Location: In the universe

Done for now, but to be continued later
Quote:
To be done later:
* using android on devices with broken buttons (button board)
* using android on devices with broken volume button
My work for the hd2:
 
  • Resurrection Remix 4.4.2 rom (always broken?!? nand errors/ /data errors)
  • Sense 5 first kernel

<========If i helped you, make sure to hit the THANKS Button

How to flash android on HD2 devices with broken "hardware"
This is AMAZING: Sense 5 on HD2!!
The Following 4 Users Say Thank You to gilbert32 For This Useful Post: [ Click to Expand ]
 
SneakyGuyDavid
Old
(Last edited by SneakyGuyDavid; 10th August 2013 at 04:53 AM.)
#6  
SneakyGuyDavid's Avatar
Senior Member
Thanks Meter 47
Posts: 248
Join Date: Jan 2013
Location: Providence, RI
Quote:
Originally Posted by gilbert32 View Post
Section 5: Devices with broken call buttons AND volume rocker
assuming you have clk bootloader preinstalled or windows mobile, do the same as section 4.
flashing clk asks to hold power button and back button at reboot , the way i reboot is keeping the usb plugged in and then putting the battery in , i tried holding the back button while doing this method , its a no go

EDIT: just realized holding the back button is after you flash cLk , so i cant get into bootloader without volume buttons , what do ?

EDITEDIT: USED THIS TO GET INTO BOOTLOADER ! http://forum.xda-developers.com/show...18&postcount=7 btw to use this you have to copy it onto the phone , then using the file manager on the phone find the file and click it , it goes black and pops up at the bootloader

EDITEDITEDIT: now im stuck in recovery , but its all text ? help ?
Picture of my situation: http://i.imgur.com/APLvzKG.jpg im stuck at this screen , cant reboot normally or anything

EDITx4: i took the battery out and held the home button intill i got into clk , then it booted into recovery !


Devices:
~Nexus 4 16GB [Mako] {Mahdi-Rom} Primary device ; Got a new one in white !
~HTC First [Myst] {Stock JB rooted}
~Galaxy Tab 2 7.0 8GB [GT-P3113] {AOKP KK} Family tab
~HTC Evo [Supersonic] {AOKP JB} Wifi Only
The Following User Says Thank You to SneakyGuyDavid For This Useful Post: [ Click to Expand ]
 
Marvlesz
Old
(Last edited by Marvlesz; 10th August 2013 at 07:56 AM.)
#7  
Marvlesz's Avatar
Senior Member
Thanks Meter 740
Posts: 2,300
Join Date: Jun 2010
Location: Saudi Arabia
Quote:
Originally Posted by SneakyGuyDavid View Post
flashing clk asks to hold power button and back button at reboot , the way i reboot is keeping the usb plugged in and then putting the battery in , i tried holding the back button while doing this method , its a no go

EDIT: just realized holding the back button is after you flash cLk , so i cant get into bootloader without volume buttons , what do ?
What is your device's current state? (read below)

@gilbert32 Since this thread is probably going to turn into a step by step support, I suggest you add the following:
If you're going to ask for help, you must answer the following with details:
Do you have HSPL? No/Yes (which version?)
Do you have a proper radio already installed? No/Yes (which version?)
What's broken? (USB/Volume..etc)
What's currently installed on your device? (WM6.5/WP7/Android/Nothing)
Which custom bootloader are you currently on, and is it working? (MAGLDR/cLK/No custom bootloader (stock)) (Working/Not working (explain))

btw, this is an excellent write up, since the HD2 is aging ..
Thank you!

----------------------------------------------------------------------------
Edit: @SneakyGuyDavid
Quote:
Originally Posted by SneakyGuyDavid View Post
EDITEDITEDIT: now im stuck in recovery , but its all text ? help ?
Picture of my situation: http://i.imgur.com/APLvzKG.jpg im stuck at this screen , cant reboot normally or anything
This is NOT the recovery, this is cLK's User Interface. From there, you get to flash the recovery, resize partitions or reboot into recovery/bootloader again by using fastboot commands.
Do you have a question about the HD2 ? Ask it here for an instant response.

OnePlus One: Carbon 4.4 with Franco kernel.
The Following 3 Users Say Thank You to Marvlesz For This Useful Post: [ Click to Expand ]
 
gilbert32
Old
(Last edited by gilbert32; 10th August 2013 at 06:51 AM.)
#8  
gilbert32's Avatar
Senior Member - OP
Thanks Meter 1,318
Posts: 834
Join Date: Apr 2011
Location: In the universe
Quote:
Originally Posted by SneakyGuyDavid View Post
flashing clk asks to hold power button and back button at reboot , the way i reboot is keeping the usb plugged in and then putting the battery in , i tried holding the back button while doing this method , its a no go

EDIT: just realized holding the back button is after you flash cLk , so i cant get into bootloader without volume buttons , what do ?

EDITEDIT: USED THIS TO GET INTO BOOTLOADER ! http://forum.xda-developers.com/show...18&postcount=7 btw to use this you have to copy it onto the phone , then using the file manager on the phone find the file and click it , it goes black and pops up at the bootloader

EDITEDITEDIT: now im stuck in recovery , but its all text ? help ?
Picture of my situation: http://i.imgur.com/APLvzKG.jpg im stuck at this screen , cant reboot normally or anything

EDITx4: i took the battery out and held the home button intill i got into clk , then it booted into recovery !
well, you flashed clk 1.4, and the links i gave were for clk 1.5.1.x; which is a LOT easier to control

@Marvlesz i will add more maybe to the tutorial, but i'm a little bit busy those few days. i wrote the whole thing in a few minutes yesterday :P
added your suggestions for troubleshooting
My work for the hd2:
 
  • Resurrection Remix 4.4.2 rom (always broken?!? nand errors/ /data errors)
  • Sense 5 first kernel

<========If i helped you, make sure to hit the THANKS Button

How to flash android on HD2 devices with broken "hardware"
This is AMAZING: Sense 5 on HD2!!
The Following 3 Users Say Thank You to gilbert32 For This Useful Post: [ Click to Expand ]
 
shanman-2
Old
(Last edited by shanman-2; 10th August 2013 at 06:05 PM.)
#9  
shanman-2's Avatar
Senior Member
Thanks Meter 147
Posts: 602
Join Date: Nov 2011
Location: Cork
Nice tut..:thumbup:

Edit: just thought I'd mention that as I have been operating my HD2 without USB for quite a while that I find the app "WiFi adb", among others, indispensable.

Sent from my NexusHD2 using xda premium
Device:Samsung Galaxy s3 mini GT-I8190
Rom: Stock Android 4.1.2- Rooted
Recovery: TWRP v2.7.1.0

It;s nice to be nice
The Following User Says Thank You to shanman-2 For This Useful Post: [ Click to Expand ]
 
SneakyGuyDavid
Old
#10  
SneakyGuyDavid's Avatar
Senior Member
Thanks Meter 47
Posts: 248
Join Date: Jan 2013
Location: Providence, RI
Quote:
Originally Posted by gilbert32 View Post
well, you flashed clk 1.4, and the links i gave were for clk 1.5.1.x; which is a LOT easier to control

@Marvlesz i will add more maybe to the tutorial, but i'm a little bit busy those few days. i wrote the whole thing in a few minutes yesterday :P
added your suggestions for troubleshooting

oh wow haha , well i have the phone working now , just to make things easier later on , how do i install 1.5.1 ? im asuming you have to open hd2 toolkit while the phone is in bootloader , then click install custom nbh/ruu , then just browse for the Leoimg.nbh and click install ruu

by the way i already downloaded the "black_lk_20130506-Ex-TWRP_2_5_0_3.zip" and extracted the nbh


Devices:
~Nexus 4 16GB [Mako] {Mahdi-Rom} Primary device ; Got a new one in white !
~HTC First [Myst] {Stock JB rooted}
~Galaxy Tab 2 7.0 8GB [GT-P3113] {AOKP KK} Family tab
~HTC Evo [Supersonic] {AOKP JB} Wifi Only

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes