Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Rick_1995
Old
#591  
Rick_1995's Avatar
Recognized Developer - OP
Thanks Meter 2922
Posts: 1,092
Join Date: Sep 2009
Location: Whoville
Quote:
Originally Posted by gtbr View Post
Hi,
i would like to install android in my phone but my hd2 has a problem with two hardware keys (call and win keys).
i was thinking if it is possible to install a android rom using adb and fastboot like when installing a recovery.
thanks
Yes it is possible but i am not sure.
These instructions assume you have basic knowledge of linux, bash, translate.google.com (if not native to english).

Get the smallest possible rom you can (Will explain lateron)
Extract the zip
put the "system" folder which you extracted into a clean folder (ie. No other folder)
Get hold of the "Easy system.ext2 creator script" in the hd2 sd android section
follow the instructions there till you get a system.ext2
Now, read the extra info there regarding how to create .img file for DWI (Don't worry about all complicated terms, just do as said)
Now you should have a "system.img" with you.
Grab the boot.img from the folderwhereyouextractedrom/boot.img
(if it was magldr rom then google on how to use mkbootimg)

Then place these .img files in a common place, do
"fastboot flash system system.img"
"fastboot flash boot boot.img" OR if you couldn't learn to use mkbootimg do "fastboot -c "console=null" -b 0x11800000 flash:raw boot zImage initrd.gz"

Try booting with fingers crossed.

Why use the smallest possible rom ?
Fastboot protocol has some limitations to how much data can be transferred in 1 go, however these were overcome with the use of "sparse images" in the 0.5 version of this protocol which i am busy writing for the hd2.
The Following User Says Thank You to Rick_1995 For This Useful Post: [ Click to Expand ]
 
lorezz
Old
#592  
Senior Member
Thanks Meter 3
Posts: 151
Join Date: Jan 2010
can someone explaine me why many fasboot commands (expecially "fastboot oem ...." commands) don't work....

pc give this message:

Code:
L:\Download\Android\SDK\android-sdk-windows\platform-tools>fastboot oem help
... FAILED (remote: unknown reason)
clk 1.4.0.1
cwm 4.0.1.4


thank in advance
 
seadersn
Old
#593  
seadersn's Avatar
Recognized Developer
Thanks Meter 1585
Posts: 2,237
Join Date: Nov 2010

 
DONATE TO ME
it's because they are for 1.6(.x) and not for 1.4.0.1
ClockworkMod Recovery, latest version, completely working, "stock" & AdvWipe v2.0

CyanogenMod 10.1 SE ROM

"If one person has an imaginary friend, they're crazy. If multiple people have the same imaginary friend, it's religion."
 
lorezz
Old
#594  
Senior Member
Thanks Meter 3
Posts: 151
Join Date: Jan 2010
Quote:
Originally Posted by seadersn View Post
it's because they are for 1.6(.x) and not for 1.4.0.1
thanks....i've installed 1.65....

just one more (nooby) question.... why ("fastboot oem boot" command) doesn't work....?
 
Drew99
Old
#595  
Senior Member
Thanks Meter 16
Posts: 122
Join Date: Feb 2011
Location: Moscow
Quote:
Originally Posted by lorezz View Post
thanks....i've installed 1.65....

just one more (nooby) question.... why ("fastboot oem boot" command) doesn't work....?
try "fastboot oem help" (it show supported commands list)
 
Richy99
Old
#596  
Senior Member
Thanks Meter 177
Posts: 1,808
Join Date: Nov 2009
ive just given 1.6.5DE a go and seeing unusually high battery drains
 
germanandy
Old
#597  
germanandy's Avatar
Senior Member
Thanks Meter 11
Posts: 136
Join Date: Nov 2010
Quote:
Originally Posted by Richy99 View Post
ive just given 1.6.5DE a go and seeing unusually high battery drains
you are not alone..
on 1.4.0.1 battery was much better for me.
HTC HD2 - Europe
Radio: 2.15.50.14
CLK 1.5rc1
 
Hammerfest
Old
#598  
Hammerfest's Avatar
Senior Member
Thanks Meter 261
Posts: 1,550
Join Date: Apr 2008
Location: San Antonio, TX

 
DONATE TO ME
Holy crap! I had missed this post continually when pissing around with my HD2 and roms!

Active development of cLK again! SWEET!!!

Now if only the 2 (seemingly) main people deving on it can put their pissing match's aside and work together, I think great things could come from cLK!

EDIT: Currently I use the HD2 toolkit (outdated already! damn!), use the 4EXT tool for my SD, and have to settle for preset's for my cLK partitioning, so to say that I am ECSTATIC to be able to do this all from within cLK(hboot) without needing to flash several times and reboots... well... pinch me!
Have I in some way helped you?
Perhaps I made a post of an issue that you also have?
Think i'm such a nice/swell guy*
Then hit the THANKS button!

*
I'm not, I'm annoying, if you think otherwise
please seek medical/mental assistance ASAP!

TouchPro, TouchPro2, HeroC, HD2, Evo3D, EvoShift, PhotonQ, GalaxyNote, MORE...
 
SnoopHTC
Old
(Last edited by SnoopHTC; 31st October 2011 at 04:10 PM.)
#599  
SnoopHTC's Avatar
Senior Member
Thanks Meter 17
Posts: 143
Join Date: Jun 2009
Question Test repport

Hello, I report back my tests with cLK 1.6.5 DE and HBOOT.

> I NEVER ENABLE LAST24Mb <


What I made for cLK v1.6.5 DE:

-Task29
-Task29+radio2.15.50.14
-cLK 1.6.5 DE
-fastboot reboot
-fastboot oem part-list [total=421Mo ]
-fastboot oem part-del userdata
-fastboot oem part-del cache
-fastboot oem part-del system
-fastboot oem part-del sboot
-fastboot oem part-add system:160
-fastboot oem part-add cache:32
-fastboot oem part-add userdata:0
-fastboot oem part-commit
-fastboot reboot
-fastboot oem part-list [total=421Mo ]
-fastboot erase boot [result=OK]
-fastboot erase recovery [result=OK]
-fastboot erase system [result=OK]
-fastboot erase cache [result=OK]
-fastboot erase userdata [result=skipping @ 2218 (bad block) / cannot erase @ 2218 (bad block?) ]


What I made for HBOOT:

-Task29
-Task29+radio2.15.50.14
-HBOOT
-fastboot reboot
-fastboot oem part-list [total=421Mo ]
-fastboot oem part-del userdata
-fastboot oem part-del cache
-fastboot oem part-del system
-fastboot oem part-add system:160
-fastboot oem part-add cache:32
-fastboot oem part-add userdata:0
-fastboot oem part-commit
-fastboot reboot
-fastboot oem part-list [total=397Mo]
-fastboot erase boot [result=OK]
-fastboot erase recovery [result=OK]
-fastboot erase system [result=OK]
-fastboot erase cache [result=OK]
-fastboot erase userdata [result=skipping @ 2218 (bad block) / cannot erase @ 2218 (bad block?) ]


So, I do not know if I can install the ROM without risk or if I forgot something. Hoping to be pretty clear in my explanation, just in case, feel free to ask me your questions

@++

EDIT: And with cLK v1.4.0.1 is the cache partition who see bad block...., my phone has a problem? thank you in advance for the answer.
BIG THANK YOU to all developers, You are Fantastic!!!
____
- My babies:
Nexus 4 - Acer iconia A500
- Recovery: Touch v6.0.3.1 - Touch v1.7.3
- Kernel: Franco r127 - Kernel t28
- Rom: Slim 4.2.2 Build 4.2 - Tegraowners JB-MR1 v10.2
 
Hammerfest
Old
#600  
Hammerfest's Avatar
Senior Member
Thanks Meter 261
Posts: 1,550
Join Date: Apr 2008
Location: San Antonio, TX

 
DONATE TO ME
Ah, forgot to mention in my last post, this is my notice saying id like an invite to testing the bleeding edge on my HD2 for cLK :P

Dont know if you guys have it setup EZ like a dropbox folder (I know OP has the CWM nighties in a DB and I frakking love that) or something else, but send an invite my way
Have I in some way helped you?
Perhaps I made a post of an issue that you also have?
Think i'm such a nice/swell guy*
Then hit the THANKS button!

*
I'm not, I'm annoying, if you think otherwise
please seek medical/mental assistance ASAP!

TouchPro, TouchPro2, HeroC, HD2, Evo3D, EvoShift, PhotonQ, GalaxyNote, MORE...

 
Post Reply+
Tags
1.5, bootloader, clk, hd2, little kernel
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...