Go Back   Android Forums > Android Phones > HTC Desire > Desire - All Things Root
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

test: Reply
 
LinkBack Thread Tools
Old February 24th, 2012, 03:56 PM   #1 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2010
Location: Western Canada
Posts: 232
 
Device(s): HTC Desire rooted and S-off; cm7 hboot, Mildwild v3.3
Carrier: Not Provided

Thanks: 24
Thanked 12 Times in 11 Posts
Default Changing hboot

It looks like I am going to need to change my hboot if I am going to give mildwild a fair try. Is there a particular one that most people use, that is versatile enough to use with the majority of roms? This doesn’t sound like a task I want to be doing too frequently.
The FAQ’s recommend using Android Flasher for doing this. Since 4ext recovery is relatively new, does this still apply? These two will work together? Same question applies to using Android Flasher and the Alpharev boot tables zips – ok to use with 4ext recovery?

cashmere_cat is offline  
Reply With Quote
Sponsors
Old February 24th, 2012, 04:07 PM   #2 (permalink)
Smoke me a kipper
 
Hadron's Avatar
 
Join Date: Aug 2010
Location: Dimension Jumping
Posts: 8,357
 
Device(s): HTC Desire (rooted, of course)
Carrier: Orange UK

Thanks: 1,662
Thanked 3,062 Times in 2,247 Posts
Default

Hboot and recovery are separate. You flash hboot using fastboot (Android Flasher being just a GUI for fastboot), and it doesn't matter what recovery you are using.

I'm currently using 4EXT touch with the 65MB dGB hboot and it's just fine.

However, 65MB is definitely not going to work with MildWild. If you want something flexible, Alpharev's CM7r2 is big enough for any AOSP ROM (including MIUI ROMs), so should fit the bill.
__________________
Desire All Things Root Guide
Forum Rules & Guidelines - Android Forums FAQ
If a post helps you, use the Thanks! button.
Spam or offensive? Don't respond, report it /!\
Hadron is online now  
Reply With Quote
Old February 24th, 2012, 04:10 PM   #3 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,293 Times in 3,987 Posts
Default

Quote:
Originally Posted by cashmere_cat View Post
The FAQ’s recommend using Android Flasher for doing this.
Hmmm. I wrote that a long time ago. It did appear that I recommended that, but to be honest I don't. Only for splash screens. Command line is better IMHO. I have reworded the faq to suit.

Apologies for that.
SUroot is offline  
Reply With Quote
Old February 24th, 2012, 04:34 PM   #4 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2010
Location: Western Canada
Posts: 232
 
Device(s): HTC Desire rooted and S-off; cm7 hboot, Mildwild v3.3
Carrier: Not Provided

Thanks: 24
Thanked 12 Times in 11 Posts
Default

Command line. hmm. Is this not valid? (from the alpharev site, where the hboot tables are downloadable from)

" download the corresponding PB99IMG zipfile, put it on your sdcard, and rename it to PB99IMG.zip. Then start the phone in HBOOT mode (VolDown+POWER) to flash the HBOOT without a PC."
cashmere_cat is offline  
Reply With Quote
Old February 24th, 2012, 04:38 PM   #5 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,293 Times in 3,987 Posts
Default

Its "valid", yes. But *if* you wanted my advice (for whatever that would be worth), I would recommend command line.
SUroot is offline  
Reply With Quote
The Following User Says Thank You to SUroot For This Useful Post:
Bradden (April 17th, 2012)
Old February 24th, 2012, 04:42 PM   #6 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2010
Location: Western Canada
Posts: 232
 
Device(s): HTC Desire rooted and S-off; cm7 hboot, Mildwild v3.3
Carrier: Not Provided

Thanks: 24
Thanked 12 Times in 11 Posts
Default

Yup, of course I want your advice.
Was just hoping there was a way around it...im not much of a command line kinda gal..
But I will read through the Greek tonight and see what I can decipher. ty.
cashmere_cat is offline  
Reply With Quote
Old February 24th, 2012, 04:47 PM   #7 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,293 Times in 3,987 Posts
Default

Quote:
Originally Posted by cashmere_cat View Post
Yup, of course I want your advice.
Was just hoping there was a way around it...im not much of a command line kinda gal..
But I will read through the Greek tonight and see what I can decipher. ty.

I know why you would feel like that, but its really easy actually. And you learn something, which can come in useful as fastboot can get you out of scrapes.... To have it set up and to have used it before comes in beneficial at times

imagine your hboot is called hboot.img and its on your c drive...

The command then is literally:
fastboot flash hboot c:\hboot.img

You just do that from a windows command prompt. Of course you need to do the fastboot set up first....
SUroot is offline  
Reply With Quote
The Following 2 Users Say Thank You to SUroot For This Useful Post:
Bradden (April 23rd, 2012), cashmere_cat (February 24th, 2012)
Old February 24th, 2012, 04:59 PM   #8 (permalink)
Duv
Junior Member
 
Join Date: Jul 2010
Posts: 67
 
Device(s):
Carrier: Not Provided

Thanks: 6
Thanked 7 Times in 3 Posts
Default

I tried the way of renaming it and moving the file to the SD card, and for me it didn't work and nor did Android Flasher.

In the end, I read the FAQ a few times, built up the courage and used command line, and it was done in seconds, don't know why it took me so long to do
Duv is offline  
Reply With Quote
The Following User Says Thank You to Duv For This Useful Post:
SUroot (February 24th, 2012)
Old February 24th, 2012, 08:11 PM   #9 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2010
Location: Western Canada
Posts: 232
 
Device(s): HTC Desire rooted and S-off; cm7 hboot, Mildwild v3.3
Carrier: Not Provided

Thanks: 24
Thanked 12 Times in 11 Posts
Default

I think I have my computer set up for this now, but here's where the guide gets a bit fuzzy for me...
Here's my thoughts on where to go next...
Find the hboot table from alpharev, save it to my C drive.
boot into Fastboot.
Connect phone to PC (or connect first, then into fastboot? does it matter?)
Open command prompt, run adb shell.
then type: fastboot flash hboot c:\hboot.img

am i on track?

I guess the phone will do some 'stuff'... and reboot... and voila - done?
cashmere_cat is offline  
Reply With Quote
Old February 24th, 2012, 08:19 PM   #10 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,293 Times in 3,987 Posts
Default

Quote:
Originally Posted by cashmere_cat View Post
I think I have my computer set up for this now, but here's where the guide gets a bit fuzzy for me...
Here's my thoughts on where to go next...
Find the hboot table from alpharev, save it to my C drive.
boot into Fastboot.
Connect phone to PC (or connect first, then into fastboot? does it matter?)
Open command prompt, run adb shell.
then type: fastboot flash hboot c:\hboot.img

am i on track?

I guess the phone will do some 'stuff'... and reboot... and voila - done?
You just boot the phone to fastboot and connect usb. The screen will then change to fastboot usb.

Then you type what I said in command prompt. Notice how I didn't say anything about adb? That's because adb is nothing to do with fastboot at all. At all, at all. The only similarity is that its command.line. you cannot do anything for fastboot in adb or vice versa.
SUroot is offline  
Reply With Quote
Sponsors
Old February 24th, 2012, 08:40 PM   #11 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2010
Location: Western Canada
Posts: 232
 
Device(s): HTC Desire rooted and S-off; cm7 hboot, Mildwild v3.3
Carrier: Not Provided

Thanks: 24
Thanked 12 Times in 11 Posts
Default

" 'fastboot' is not recognized as an internal or external command, operable program or batch file"
cashmere_cat is offline  
Reply With Quote
Old February 24th, 2012, 08:59 PM   #12 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,293 Times in 3,987 Posts
Default

Quote:
Originally Posted by cashmere_cat View Post
" 'fastboot' is not recognized as an internal or external command, operable program or batch file"
That means either there was an error in the line you put into the environment variables window in windows, or that the file location of fastboot does not match the line that you put into the environment variables window.
SUroot is offline  
Reply With Quote
Old February 24th, 2012, 09:13 PM   #13 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2010
Location: Western Canada
Posts: 232
 
Device(s): HTC Desire rooted and S-off; cm7 hboot, Mildwild v3.3
Carrier: Not Provided

Thanks: 24
Thanked 12 Times in 11 Posts
Default

C:\Program Files\Common Files...<snip>...System\;C:\android-sdk-windows\tools

this ^^ is whats in environment variables -- seems fine to me.
And not sure I understand "file location of fastboot does not match the line that you put into the environment variables window."
arghh! you sure android flasher wasnt designed for someone dense like me?? lol
cashmere_cat is offline  
Last edited by cashmere_cat; February 25th, 2012 at 10:04 AM.
Reply With Quote
Old February 24th, 2012, 09:21 PM   #14 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2010
Location: Western Canada
Posts: 232
 
Device(s): HTC Desire rooted and S-off; cm7 hboot, Mildwild v3.3
Carrier: Not Provided

Thanks: 24
Thanked 12 Times in 11 Posts
Default

wait - making progress. maybe.
' error: cannot load c:bravo_alphaspl-cm7r2.img'
cashmere_cat is offline  
Reply With Quote
Old February 25th, 2012, 04:12 AM   #15 (permalink)
Member
 
Join Date: Sep 2010
Location: UK
Posts: 222
 
Device(s): HTC Desire, Bravo PVT1 Ship S-off ROM: Mildwild CM/Oxygen HBOOT: Alpharev CM7r2 RADIO: 5.17.0
Carrier: Not Provided

Thanks: 114
Thanked 8 Times in 8 Posts
Default

Just wanted to say that I've been using MildWild 3.2 Oxygen with Stock HBoot A2SD and Dalvik moved to SD without any issues.)
Bradden is offline  
Reply With Quote
Old February 25th, 2012, 08:17 AM   #16 (permalink)
Smoke me a kipper
 
Hadron's Avatar
 
Join Date: Aug 2010
Location: Dimension Jumping
Posts: 8,357
 
Device(s): HTC Desire (rooted, of course)
Carrier: Orange UK

Thanks: 1,662
Thanked 3,062 Times in 2,247 Posts
Default

Quote:
Originally Posted by cashmere_cat View Post
wait - making progress. maybe.
' error: cannot load c:bravo_alphaspl-cm7r2.img'
Try "C:\bravo_" etc

Make sure you've taken a nandroid first.

Once you've got it going, the syntax of fastboot commands is pretty simple. Basically it's:

fastboot operation target file

where the last argument is only used by some operations (typically when flashing a file) . So for example:

fastboot erase cache
fastboot format system
fastboot flash recovery recovery.img

Also "fastboot devices" is a good one, as that let's you check that the computer detects your phone (useful for trouble shooting - I generally do it before other fastboot commands).
Hadron is online now  
Reply With Quote
Old February 25th, 2012, 09:50 AM   #17 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2010
Location: Western Canada
Posts: 232
 
Device(s): HTC Desire rooted and S-off; cm7 hboot, Mildwild v3.3
Carrier: Not Provided

Thanks: 24
Thanked 12 Times in 11 Posts
Default

Quote:
Originally Posted by Bradden View Post
Just wanted to say that I've been using MildWild 3.2 Oxygen with Stock HBoot A2SD and Dalvik moved to SD without any issues.)
how did you move the dalvik? I have S2E going, but it still seems to be taking up a fair chunk of /data
How many apps do you have installed?
cashmere_cat is offline  
Reply With Quote
Old February 25th, 2012, 09:56 AM   #18 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2010
Location: Western Canada
Posts: 232
 
Device(s): HTC Desire rooted and S-off; cm7 hboot, Mildwild v3.3
Carrier: Not Provided

Thanks: 24
Thanked 12 Times in 11 Posts
Default

hmm. I tried with the new syntax hadron suggested..
got:
sending 'hboot'(512k)....ok [0.090s]
writing 'hboot'....ok [0.160s]
finished. total time 0.265s

thats it?? can't be......
cashmere_cat is offline  
Reply With Quote
Old February 25th, 2012, 10:03 AM   #19 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2010
Location: Western Canada
Posts: 232
 
Device(s): HTC Desire rooted and S-off; cm7 hboot, Mildwild v3.3
Carrier: Not Provided

Thanks: 24
Thanked 12 Times in 11 Posts
Default

yay! That did it! I now have 187m left in 'internal' data!

Thank you hadron & SUroot for the support!
cashmere_cat is offline  
Reply With Quote
Old February 25th, 2012, 10:21 AM   #20 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,293 Times in 3,987 Posts
Default

Quote:
Originally Posted by cashmere_cat View Post
thats it?? can't be......
it is and it can
SUroot is offline  
Reply With Quote
Sponsors
Old February 25th, 2012, 10:43 AM   #21 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2010
Location: Western Canada
Posts: 232
 
Device(s): HTC Desire rooted and S-off; cm7 hboot, Mildwild v3.3
Carrier: Not Provided

Thanks: 24
Thanked 12 Times in 11 Posts
Default

I would consider myself fairly intelligent... but somedays this smartphone makes me feel like a dolt lol. That was so easy, once it happened. Now...what else can I flash?? haha, noooo nooo... no more flashing!!
cashmere_cat is offline  
Reply With Quote
The Following User Says Thank You to cashmere_cat For This Useful Post:
SUroot (February 25th, 2012)
Old February 25th, 2012, 10:45 AM   #22 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,293 Times in 3,987 Posts
Default

Somethings with android are very intuitive. Other things, not so much. There's no substitute for actually doing the things you read about.

Hopefully now, you will have fewer space issues now
SUroot is offline  
Reply With Quote
The Following User Says Thank You to SUroot For This Useful Post:
cashmere_cat (February 25th, 2012)
Old February 25th, 2012, 11:22 AM   #23 (permalink)
Smoke me a kipper
 
Hadron's Avatar
 
Join Date: Aug 2010
Location: Dimension Jumping
Posts: 8,357
 
Device(s): HTC Desire (rooted, of course)
Carrier: Orange UK

Thanks: 1,662
Thanked 3,062 Times in 2,247 Posts
Default

Quote:
Originally Posted by cashmere_cat View Post
hmm. I tried with the new syntax hadron suggested..
got:
sending 'hboot'(512k)....ok [0.090s]
writing 'hboot'....ok [0.160s]
finished. total time 0.265s

thats it?? can't be......
It's amazing isn't it

That's the thing I like most about flashing hboot - no nervously watching it happen, it's over the moment you start.
Hadron is online now  
Reply With Quote
The Following User Says Thank You to Hadron For This Useful Post:
SUroot (February 25th, 2012)
Old February 26th, 2012, 12:38 PM   #24 (permalink)
Member
 
Join Date: Sep 2010
Location: UK
Posts: 222
 
Device(s): HTC Desire, Bravo PVT1 Ship S-off ROM: Mildwild CM/Oxygen HBOOT: Alpharev CM7r2 RADIO: 5.17.0
Carrier: Not Provided

Thanks: 114
Thanked 8 Times in 8 Posts
Default

Quote:
Originally Posted by cashmere_cat View Post
how did you move the dalvik? I have S2E going, but it still seems to be taking up a fair chunk of /data
How many apps do you have installed?
I've got 60+ apps installed and still 70mb free.. I clear the cache every so often which helps.
Bradden is offline  
Reply With Quote
Old April 17th, 2012, 05:43 AM   #25 (permalink)
Member
 
Join Date: Apr 2010
Posts: 233
 
Device(s): Nexus7 Unrooted SGS II Unrooted HTC Desire (Mildwild 4.3) ZTE Blade (TPT to Gen2, Self moded CM7.2)
Carrier: Not Provided

Thanks: 59
Thanked 9 Times in 9 Posts
Default What about the ROM??

Does hboot flash wipe the ROM? What about the recovery? Will I need to flash Recovery and ROM after hboot flash. Sorry if this is a dumb question but am asking as I am thinking of hboot flash as changing partition in SD card. Which obviously wipes everything in it.

Also is there any other img files available apart from the Alphrev table. I was thinking of something like : System: 100, Cache: 45, Data: rest.

I think I am finally going to settle down with dGB and this will be my last few flashing. Then I am going to pass the phone on to my wife and move on to Samsung Galaxy S2.
Sheshnag is offline  
Reply With Quote
Old April 17th, 2012, 06:28 AM   #26 (permalink)
Smoke me a kipper
 
Hadron's Avatar
 
Join Date: Aug 2010
Location: Dimension Jumping
Posts: 8,357
 
Device(s): HTC Desire (rooted, of course)
Carrier: Orange UK

Thanks: 1,662
Thanked 3,062 Times in 2,247 Posts
Default

Flashing hboot does not affect recovery. Because the partition boundaries change your ROM will almost certainly be toast though. So what you should do is take a nandroid before flashing hboot then restore it afterwards. This is in the instructions at alpharev.nl or in the root memory faq.

_thalamus produced a tool for creating your own custom hboot. As I'm on my phone I can't link it here, but have posted about it before. A search should turn it up (it's in a post from his blog from last July IIRC). SUroot used it to make the dGB hboots and I've made a few slightly larger ones myself. Nothing that matches your spec though. Why do you want such a large cache - most ROMs work with small caches these days?

Edit: if you are going to use dGB then just use the dGB hboot from the ROM site. The 65 MB one gives you space to do a bit if theming without having to worry, or use the 60MB one if you really want to maximise space.
Hadron is online now  
Last edited by Hadron; April 17th, 2012 at 06:33 AM.
Reply With Quote
The Following 2 Users Say Thank You to Hadron For This Useful Post:
Sheshnag (April 17th, 2012), Tyseyh (April 17th, 2012)
Old April 17th, 2012, 07:30 AM   #27 (permalink)
Member
 
saltire's Avatar
 
Join Date: May 2011
Location: East Lothian
Posts: 350
 
Device(s): SGS3 (Siyah/Wanam), Nexus 7 (Franco/Dirty AOKP), HTC Desire (Retired, sniff)
Carrier: Vodafone

Thanks: 66
Thanked 76 Times in 61 Posts
Default

just cos i've got it bookmarked, if you want to go custom route tool is here - read the warnings though
__________________
"We care a lot about transformers 'cos there's more than meets the eye"
saltire is offline  
Reply With Quote
The Following User Says Thank You to saltire For This Useful Post:
Hadron (April 17th, 2012)
Old April 17th, 2012, 11:24 AM   #28 (permalink)
Member
 
Join Date: Apr 2010
Posts: 233
 
Device(s): Nexus7 Unrooted SGS II Unrooted HTC Desire (Mildwild 4.3) ZTE Blade (TPT to Gen2, Self moded CM7.2)
Carrier: Not Provided

Thanks: 59
Thanked 9 Times in 9 Posts
Default Back to standard partition

Ok I have given up on making my own partition and decided to go with what is available. I have checked Alpharev's table and it looks like 437 mb of memory is distributed in various ways. Then as Hadron mentioned I thought I will look at the dGB Hboot. Is it correct in me thinking that If I use the 60mb one there will only be 2mb cache (simple calc 437-375-60)?? From what I read, I kind of get the message that the app has to fit into the cache for you to be able to download it. Will 2 mb cache not restrict this a lot? Also even though my wife is not a big gamer she likes Angry Birds and Where is my water (she also like Solitaire, but I do not think this will be a problem). Will she have problems playing these games?

Also I am trying for a simple set of instruction to set up my computer for fastboot (I believe on phone it is easy - just Power + Back). Can any one plese direct me to a reliable thread?
Sheshnag is offline  
Reply With Quote
Old April 17th, 2012, 11:58 AM   #29 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,293 Times in 3,987 Posts
Default

Quote:
Originally Posted by Sheshnag View Post
Ok I have given up on making my own partition and decided to go with what is available. I have checked Alpharev's table and it looks like 437 mb of memory is distributed in various ways. Then as Hadron mentioned I thought I will look at the dGB Hboot. Is it correct in me thinking that If I use the 60mb one there will only be 2mb cache (simple calc 437-375-60)?? From what I read, I kind of get the message that the app has to fit into the cache for you to be able to download it. Will 2 mb cache not restrict this a lot? Also even though my wife is not a big gamer she likes Angry Birds and Where is my water (she also like Solitaire, but I do not think this will be a problem). Will she have problems playing these games?

Also I am trying for a simple set of instruction to set up my computer for fastboot (I believe on phone it is easy - just Power + Back). Can any one plese direct me to a reliable thread?
With the Hboot, it has 5MB cache as that is the minimum value (must not be 0, must be multiple of 5). This leaves 373MB for /data (375 is based on 3MB cache using different partition method).

You're right that the app must fit into /cache to be downloaded. However, this is not the case with dGB as instead of using /cache for downloads, it uses RAM. It basically creates a small area in RAM which expands as required and gets destroyed when no longer used.
SUroot is offline  
Reply With Quote
Old April 17th, 2012, 12:04 PM   #30 (permalink)
Senior Member
 
Tyseyh's Avatar
 
Join Date: Jun 2010
Location: Leeds, UK
Gender: Male
Posts: 1,923
 
Device(s): HTC Desire, Sony Xperia S ( Black )
Carrier: Not Provided

Thanks: 327
Thanked 286 Times in 209 Posts
Default

Quote:
Originally Posted by SUroot View Post

However, this is not the case with dGB as instead of using /cache for downloads, it uses RAM. It basically creates a small area in RAM which expands as required and gets destroyed when no longer used.
That is genius!
Tyseyh is offline  
Reply With Quote
Sponsors
Old April 17th, 2012, 12:30 PM   #31 (permalink)
Smoke me a kipper
 
Hadron's Avatar
 
Join Date: Aug 2010
Location: Dimension Jumping
Posts: 8,357
 
Device(s): HTC Desire (rooted, of course)
Carrier: Orange UK

Thanks: 1,662
Thanked 3,062 Times in 2,247 Posts
Default

Quote:
Originally Posted by Sheshnag View Post
Also I am trying for a simple set of instruction to set up my computer for fastboot (I believe on phone it is easy - just Power + Back). Can any one plese direct me to a reliable thread?
As usual, there's a FAQ for that

If you use Windows that should be all you need. If you use Linux or Mac then the fastboot executable is a separate download. You can find these by following the bootloader unlock part of the HTCdev site - don't do anything to your phone, just click through the steps on the website until you reach the link to download the fastboot binaries (you really don't want to use HTC's bootloader unlock!).
Hadron is online now  
Last edited by Hadron; April 17th, 2012 at 12:35 PM.
Reply With Quote
The Following 2 Users Say Thank You to Hadron For This Useful Post:
Sheshnag (April 17th, 2012), SUroot (April 17th, 2012)
Old April 17th, 2012, 02:11 PM   #32 (permalink)
Member
 
Join Date: Apr 2010
Posts: 233
 
Device(s): Nexus7 Unrooted SGS II Unrooted HTC Desire (Mildwild 4.3) ZTE Blade (TPT to Gen2, Self moded CM7.2)
Carrier: Not Provided

Thanks: 59
Thanked 9 Times in 9 Posts
Default

I did read the thread multiple times and stupidly went straight to fastboot part missing out on the initial setup part. I was wondering why the instructions were so vague. Lol!! Thanks for the link. Made me read it again, this time more carefully.
Sheshnag is offline  
Reply With Quote
The Following User Says Thank You to Sheshnag For This Useful Post:
SUroot (April 17th, 2012)
Old April 23rd, 2012, 11:13 AM   #33 (permalink)
Member
 
Join Date: Sep 2010
Location: UK
Posts: 222
 
Device(s): HTC Desire, Bravo PVT1 Ship S-off ROM: Mildwild CM/Oxygen HBOOT: Alpharev CM7r2 RADIO: 5.17.0
Carrier: Not Provided

Thanks: 114
Thanked 8 Times in 8 Posts
Default

Thanks for the advice folks...Just changed hboot from stock to cm7r2 .. I'd put if off for a long long time.. now I wonder why. Once I set up ther environment variables it was so simple!

.. I didn;t even have to restore from a Nandroid.. it even booted straight up first time!

Now I really feel like I "own" my phone.

I'm so reluctant to change now until there is another phone with tihs level of development support.
Bradden is offline  
Last edited by Bradden; April 23rd, 2012 at 11:19 AM.
Reply With Quote
Old April 23rd, 2012, 12:36 PM   #34 (permalink)
Member
 
saltire's Avatar
 
Join Date: May 2011
Location: East Lothian
Posts: 350
 
Device(s): SGS3 (Siyah/Wanam), Nexus 7 (Franco/Dirty AOKP), HTC Desire (Retired, sniff)
Carrier: Vodafone

Thanks: 66
Thanked 76 Times in 61 Posts
Default

Hmm, maybe asking for trouble

v

Quote:
Originally Posted by Hadron View Post
Flashing hboot does not affect recovery. Because the partition boundaries change your ROM will almost certainly be toast though. So what you should do is take a nandroid before flashing hboot then restore it afterwards. This is in the instructions at alpharev.nl or in the root memory faq.
saltire is offline  
Reply With Quote
Old April 23rd, 2012, 01:21 PM   #35 (permalink)
Smoke me a kipper
 
Hadron's Avatar
 
Join Date: Aug 2010
Location: Dimension Jumping
Posts: 8,357
 
Device(s): HTC Desire (rooted, of course)
Carrier: Orange UK

Thanks: 1,662
Thanked 3,062 Times in 2,247 Posts
Default

I've read other reports of this "just working", which is why the "almost certainly" above.
Hadron is online now  
Reply With Quote
Old April 23rd, 2012, 01:57 PM   #36 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,293 Times in 3,987 Posts
Default

Yes mine "just worked", but often it does not so always best to mention it.
SUroot is offline  
Reply With Quote
The Following User Says Thank You to SUroot For This Useful Post:
Hadron (April 23rd, 2012)
Old April 24th, 2012, 02:27 AM   #37 (permalink)
Member
 
saltire's Avatar
 
Join Date: May 2011
Location: East Lothian
Posts: 350
 
Device(s): SGS3 (Siyah/Wanam), Nexus 7 (Franco/Dirty AOKP), HTC Desire (Retired, sniff)
Carrier: Vodafone

Thanks: 66
Thanked 76 Times in 61 Posts
Default

For all the effort involved i'd not take the risk - got this far without royally screwing my phone so ain't going to start now!
saltire is offline  
Reply With Quote
Old April 24th, 2012, 02:42 AM   #38 (permalink)
Smoke me a kipper
 
Hadron's Avatar
 
Join Date: Aug 2010
Location: Dimension Jumping
Posts: 8,357
 
Device(s): HTC Desire (rooted, of course)
Carrier: Orange UK

Thanks: 1,662
Thanked 3,062 Times in 2,247 Posts
Default

The thing not to do is just assume it's going to work and hence not take a nandroid in the first place. Because if you do that and it doesn't work, you're going to have to wipe for sure, maybe reflash the ROM, and it's data-loss and the hassle of setting up again. If you took the nandroid beforehands, then if it doesn't work you just restore the nandroid.

Nandroids: never leave home without one
Hadron is online now  
Reply With Quote
The Following User Says Thank You to Hadron For This Useful Post:
SUroot (April 24th, 2012)
Old April 24th, 2012, 03:32 AM   #39 (permalink)
Senior Member
 
Jon_LTD's Avatar
 
Join Date: Sep 2011
Location: Uk
Gender: Male
Posts: 768
 
Device(s): Samsung Galaxy S3 I9300 Nexus 7 32gb WiFi
Carrier: 3

Thanks: 44
Thanked 77 Times in 64 Posts
JonLTD
Default

Quote:
Originally Posted by Hadron View Post
Nandroids: never leave home without one
+ 1! These have saved my skin in some dodgy flashes. I must have at least half a dozen saved on my pc from previous roms etc. Good job I am paranoid!
Jon_LTD is offline  
Reply With Quote
Old April 24th, 2012, 04:02 AM   #40 (permalink)
Senior Member
 
nicka3200's Avatar
 
Join Date: Dec 2011
Location: UK
Gender: Male
Posts: 619
 
Device(s): HTC One X+ Desire (Retired) Rooted S-Off Custom hboot
Carrier: O2

Thanks: 93
Thanked 176 Times in 153 Posts
Default

Quote:
Originally Posted by Hadron View Post
Nandroids: never leave home without one
That's brilliant! So much so that I had to pinch it for my signature - hope you don't mind???
__________________
Apple tells you what you want, Android gives you what you want
nicka3200 is offline  
Reply With Quote
Sponsors
Old May 30th, 2012, 03:18 AM   #41 (permalink)
New Member
 
Join Date: May 2012
Posts: 13
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Hadron View Post
Try "C:\bravo_" etc

Make sure you've taken a nandroid first.

Once you've got it going, the syntax of fastboot commands is pretty simple. Basically it's:

fastboot operation target file

where the last argument is only used by some operations (typically when flashing a file) . So for example:

fastboot erase cache
fastboot format system
fastboot flash recovery recovery.img

Also "fastboot devices" is a good one, as that let's you check that the computer detects your phone (useful for trouble shooting - I generally do it before other fastboot commands).
i tried these commands...but it still say "fastboot is not recognized as an internal or external command,operable program or batch file"
so how to fix it?? thank you
eulise is offline  
Reply With Quote
Old May 30th, 2012, 04:19 AM   #42 (permalink)
Smoke me a kipper
 
Hadron's Avatar
 
Join Date: Aug 2010
Location: Dimension Jumping
Posts: 8,357
 
Device(s): HTC Desire (rooted, of course)
Carrier: Orange UK

Thanks: 1,662
Thanked 3,062 Times in 2,247 Posts
Default

You may have to change your current working directory to the one where the fastboot stuff is installed. Otherwise the computer doesn't know where to find the file "fastboot" and you get that message.
Hadron is online now  
Reply With Quote
Old May 30th, 2012, 04:41 AM   #43 (permalink)
New Member
 
Join Date: May 2012
Posts: 13
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Hadron View Post
You may have to change your current working directory to the one where the fastboot stuff is installed. Otherwise the computer doesn't know where to find the file "fastboot" and you get that message.
my hboot file name is bravo_alphaspl-cm7r2
what is the command?? fastboot flash hboot c:\bravo_alphaspl-cm7r2.zip??
eulise is offline  
Reply With Quote
Old May 30th, 2012, 04:50 AM   #44 (permalink)
Member
 
saltire's Avatar
 
Join Date: May 2011
Location: East Lothian
Posts: 350
 
Device(s): SGS3 (Siyah/Wanam), Nexus 7 (Franco/Dirty AOKP), HTC Desire (Retired, sniff)
Carrier: Vodafone

Thanks: 66
Thanked 76 Times in 61 Posts
Default

Hboot tables are .img files, so if you're typing .zip the fastboot cmd isn't correct and won't work.
saltire is offline  
Reply With Quote
The Following User Says Thank You to saltire For This Useful Post:
Hadron (May 30th, 2012)
Old May 30th, 2012, 05:09 AM   #45 (permalink)
Smoke me a kipper
 
Hadron's Avatar
 
Join Date: Aug 2010
Location: Dimension Jumping
Posts: 8,357
 
Device(s): HTC Desire (rooted, of course)
Carrier: Orange UK

Thanks: 1,662
Thanked 3,062 Times in 2,247 Posts
Default

Yes, you absolutely need to flash the right file. The PB99IMG is a .zip, but for fastboot flashing you use the .img files. And check the md5 code of the .img first (as I said in another thread), because if you flash a bad file as the bootloader there's no way back (because you need a working bootloader to replace it).

Get the command "fastboot devices" working first. Once that returns a serial number from the phone, you know everything is working correctly and then you can "fastboot flash hboot bravo_alphaspl_cm7r2.img".

Make sure you took a nandroid before doing this, because you will need to restore it afterwards - flashing a different hboot usually wrecks the ROM that's on the phone at the time, so you need to restore it from your backup after flashing.
Hadron is online now  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > HTC Desire > Desire - All Things Root
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:02 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.