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

Root Trouble with rooting my HTC Desire

Hi Evry1,

Thank you for all the guides, faqs and links, very helpful. I am trying to root my HTC desire for the 1st time. I managed to get it to S-off, and flash a custom recovery (first used the new revolutionary, then tried "recovery-RA_2.0.1") but in both recovery modes I cannot chose any action (in the latest revolutionary I can scroll in the menu but when choosing any action it comes to same screen with nothing happening, in the second recovery everything is stuck and I need to hard reset to exit the menu).

Any thoughts? Thanks

HTC Details :

Android ver. 2.2.2 (HTC original)
PTV4; 40,000

Thanks
 
Thanks, I'll give it a try. I used Android Flash instead of the shell command lines, it said it was successful (and the recovery menu's do appear). Just mentioning, in case you know of issues that this flashing method maybe has issues.

Just to verify, using your recommended recovery, I follow the same steps once I'm there - i.e. - flash the zip file from sd card?

I'll update soon
 
Upvote 0
Yes, flashing the zip is the same from any recovery.

I personally have never used Android Flasher or similar - don't do anything that I can't do with the command line and don't do a few things I can.

Just downloaded and installed it, and it says I am not Rooted and cannot use this app. Obviously I'm not rooted, that's where I'm stuck at, :thinking:

What can I do?
 
Upvote 0
No, there's a link to an image you can fastboot flash.

Look in the first post of the 4Ext Touch thread, a few lines below the links for the apps (there are paid and free apps there). You'll find the sentence:

If you somehow lost those files, there's a direct download (Desire GSM), (Desire CDMA) for a version you can flash via fastboot.

Use the "Desire GSM" link. The download is a zip, and if you unzip it you'll find the recovery image you can flash, and an md5 code you can check to verify the image before flashing.
 
  • Like
Reactions: DonB
Upvote 0
I've got to go offline for a bit now, but what happened when you tried to flash the recovery? Because it clearly hasn't been installed.

Try using fastboot command line to do it.

It said flushing successful..I will try via the command lines and update you. But, Android Flasher did manage to flash 2 recoveries, so not sure the issue is there.

Have fun in the offline world;-)
 
Upvote 0
Good to hear it worked :)

(Back now, with a lifetime's immunity to Hep-A to show for my 20 minutes ;))

Very productive :)

Well, it seems now I'm rooted (need to verify this), now what? I basically want to put on a good working flavor, which will allow me to work with my SD card as working memory (I only started sniffing on this, I'll need to dig and partition my card and run relevant script).

Any suggestions from your experience are most welcome
 
Upvote 0
You might be able to do that with a partitioned card and the stock ROM using the app Link2SD. However, I'm not sure whether that requires init.d script support to work properly - if it does you will need a custom ROM for that anyway.

There's a "root memory FAQ" linked in the All Things Root Guide sticky (which is linked from my signature) which has some information on partitioning. As an update to that FAQ, I trust 4Ext recovery to partition sd cards, so you don't have to use GParted if you don't want to (I do not trust other Desire recoveries, and especially not Minitool Partition Wizard, to do a decent job of this). However, you should back up your card completely before partitioning (including any hidden files or folders, such as .android_secure), because you should assume that it will be wiped in the process.

The All Things Root Guide sticky post also has a link to the Desire Index thread at xda-developers, i.e. a list of ROMs and their development threads. Most will actually include the scripts needed to use an ext3 or ext4 format partition on the sd card for app storage already - the main exceptions I can think of are CyanogenMod (where it's an add-on) and dGB (very small gingerbread ROM, designed to run with a custom hboot to maximise real internal storage and not need a partitioned card). So the big choice is whether you want to keep HTC Sense or not, and whether you want to start with Gingerbread (most GB ROMs should be pretty stable) or experiment with ICS or JellyBean? In the latter case the only one I've used is Nikez's (Evervolv) JB ROM, and that only for a day - worked fine, not as fast as dGB (which was my main driver), but if you are used to Sense it shouldn't seem slow ;). MildWild did some tuning and theming of a number of GB ROMs, so you could try one of those (I think there is even a Sense one if you like Sense). And Oxygen, though not developed for a long time, was always a good, stable and reliable ROM.

The first rule is to read up until you are comfortable before making any changes, and ask if there is anything you are unsure of. In most cases, if the ROMs themselves have any special requirements they will say so in the first post or two of the thread, but not all do this.

But more importantly, the zeroth rule is that you back up everything, both an app/data backup (e.g. Titanium Backup) and a system backup (a backup made using the recovery, aka a nandroid backup) before you try modifying the system software in any way. Especially the nandroid - if you do something wrong but have one of those, you can just undo it (exceptions are messing with the bootloader or radio, but we're only talking about flashing ROMs here ;)). So much better to make one of those before you start :)
 
  • Like
Reactions: barbarosa
Upvote 0
Thanks, I already took a look at some threads, but from your reply it seems I should dig into the differences between the ROM's in more details.

Question about the backups : is this being saved to the SD card? if so, wouldn't it be better to chose a PC based location, just in case..

Last question: How do I verify rooting was successful? I didn't see any ADB shell command for that.

Cheers
 
Upvote 0
Backup is saved to sd. Safe enough unless you partition the card. But you can easily copy the backup folder to a PC anyway - I always keep a couple on my laptop or USB flash drive (my current phone can read these via an adapter cable, so I could restore directly from a flash drive if I needed to).

And to verify rooting, there are various "root checker" apps on the market, or you can start a terminal emulator and type "su" (ask for superuser permissions). If the superuser app pops up, asks you whether to grant permissions, and everything carrys on when you click "yes" (or "grant") then you are rooted. Personally I'd install Titanium Backup and start it up - that will ask for root permissions immediately, and it's a useful app to have.
 
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