Jump to content


r4 HTC Desire Easy Rooting Guide with Tiny Core Linux


134 replies to this topic

#1
craigcrawford1988

craigcrawford1988

    LOL WUT

  • Members
  • PipPipPip
  • 240 posts
  • Gender:Male
  • Location:Liverpool, UK
  • Devices:HTC Desire, Motorola Milestone
  • Twitter:@craigcrawford88
Intro
Since people are having so much trouble with the with rooting using the r4 method on Windows, I decided to package the root process with Tiny Core Linux to make it easier for people to get it working.

Credits
Paul - Rooting method, rooting tool, rooting software, etc
adb, android, etc  - Android dev team
Tiny Core Linux - Tiny Core Linux dev team
And last but not least! The Open Source Community!

Prereqisites
The information here.

Guide
BEFORE YOU START! Please be aware of the risks involved! You use these files at your own risk!
  • Download the Tiny Core Linux with MoDaCo Desire R4 root (read note 1 at the bottom of this post before deciding).
    • For a bootloader of 0.75.* or lower AND a current ROM of 1.15.* or lower
      Download (MD5: a6dc64b8c3c988096d3cb36b3f21c7a8).
    • For a bootloader of 0.80.* or lower AND a current ROM of 1.21.* or lower
      Download (MD5: 11561acb77df1f4fe5b37c6ffb9c3fc3).
  • Burn the iso (or use UNetbootin to make a USB flash device if you know how to).
  • Put the disc (or USB flash device) into the computer you wish to use for updating the HTC Desire and turn the HTC Desire off.
  • Goldcard step only: Insert the goldcard into the phone.
  • Start the HTC Desire in bootloader by holding back and turning it on by the power button.
  • Connect the USB cable to the phone and PC and boot the Tiny Core Linux CD (or USB flash).
  • Open a terminal by clicking the icon that looks like a monitor at the bottom on Tiny Core Linux and type the following commands:
    sudo mkdir /mnt/cdrom
    sudo mount /dev/cdrom /mnt/cdrom
    cd /mnt/cdrom/desire
  • Now type the following and wait until the phone restarts back into the white bootloader screen:
    sudo ./step1.sh
  • Goldcard step only: Turn the phone off via the bootloader menu (or pull the battery and USB cable) and remove the goldcard. Put a non-goldcard SD into the phone or reformat the goldcard and put it into the phone. Put the phone back into bootloader mode (back and power button).
  • Select the BOOTLOADER option and wait until the blue text HBOOT changes to HBOOT USB PLUG. Then select the RECOVERY option, wait for the phone to go to a black screen with a phone icon and red exclamation mark.
  • In terminal type the following command:
    sudo ./step2.sh
  • Once the phone has finished, you will see a screen with lots of green text. Use the optical tracker to navigate the menu to select Wipe and then press Wipe data/factory reset.
  • Once complete you should be back in the main menu. Now select the option to apply an update from a .zip archive. Choose rootedupdate.zip.
  • Once back in the main menu, restart the phone - the rooting process is now finished!
If you wish to get back into recovery, repeat step 3, 5, 6, 7 and 10 and then type the following in terminal:
sudo ./recovery.sh
Notes
  • Do not use the file for 0.80.* bootloader or lower if you have a 0.75.* bootloader or lower and wish to go back to the stock ROM at a later date.

Edited by craigcrawford1988, 03 June 2010 - 03:51 PM.

Show your support for MoDaCo and get cool features! Click here!

#2
craigcrawford1988

craigcrawford1988

    LOL WUT

  • Members
  • PipPipPip
  • 240 posts
  • Gender:Male
  • Location:Liverpool, UK
  • Devices:HTC Desire, Motorola Milestone
  • Twitter:@craigcrawford88
No comments? :)

Show your support for MoDaCo and get cool features! Click here!

#3
Lyall3s1

Lyall3s1

    Newbie

  • Members
  • Pip
  • 4 posts
  • Devices:Desire

View Postcraigcrawford1988, on May 14 2010, 00:15, said:

No comments? :)


What is the benefit to rooting with TinyCoreLinux? Other than that it is a very well set out guide and very organised.


#4
craigcrawford1988

craigcrawford1988

    LOL WUT

  • Members
  • PipPipPip
  • 240 posts
  • Gender:Male
  • Location:Liverpool, UK
  • Devices:HTC Desire, Motorola Milestone
  • Twitter:@craigcrawford88

View PostLyall3s1, on May 14 2010, 09:59, said:

What is the benefit to rooting with TinyCoreLinux? Other than that it is a very well set out guide and very organised.

It tends to work better. Windows has problems with the drivers not pushing the files to the phone properly - Linux doesn't have this problem.

Also because TinyCoreLinux is, well so tiny it is very stable, fast and safe!

Imagine if you were rooting with Windows and a bluescreen popped up! :)

Edited by craigcrawford1988, 14 May 2010 - 09:49 AM.

Show your support for MoDaCo and get cool features! Click here!

#5
Corex

Corex

    Newbie

  • Members
  • Pip
  • 9 posts
  • Devices:HTC Desire

View Postcraigcrawford1988, on May 14 2010, 11:48, said:

Imagine if you were rooting with Windows and a bluescreen popped up! :)

Not very hard to imagine and very probable lol...

Can't wait until i get my phone back to give it another shot and pray to god it doesn't get bootlocked again =/

Nice, clean guide, thx for this.

Edited by Corex, 14 May 2010 - 10:13 AM.


#6
Kali-

Kali-

    Newbie

  • Members
  • Pip
  • 19 posts
  • Location:Roma, IT

View Postcraigcrawford1988, on May 14 2010, 11:48, said:

Imagine if you were rooting with Windows and a bluescreen popped up! :)

this is a real problem?
many rooting method would be more confusing than helpful

Edited by Kali-, 14 May 2010 - 11:54 AM.


#7
Inquitus

Inquitus

    Newbie

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:Dublin, Ireland
  • Devices:Galaxy Nexus, HTC Sensation
  • Twitter:@Inquitus
I have a simfree unbranded HTC Desire, does that mean I can give the Goldcard malarkey a miss? Is there any way to double check this? and are there any potential pitfalls to doing it without a goldcard and being wrong? aside from it not working?

Also given 2.2 is out next week, is it worth holding off? will Paul or others be able to cook a 2.2 ROM up pretty fast? or will we most likely have to wait on HTC's whim?

Edited by Inquitus, 14 May 2010 - 10:26 AM.


#8
craigcrawford1988

craigcrawford1988

    LOL WUT

  • Members
  • PipPipPip
  • 240 posts
  • Gender:Male
  • Location:Liverpool, UK
  • Devices:HTC Desire, Motorola Milestone
  • Twitter:@craigcrawford88

View PostInquitus, on May 14 2010, 11:23, said:

I have a simfree unbranded HTC Desire, does that mean I can give the Goldcard malarkey a miss? Is there any way to double check this? and are there any potential pitfalls to doing it without a goldcard and being wrong? aside from it not working?

Also given 2.2 is out next week, is it worth holding off? will Paul or others be able to cook a 2.2 ROM up pretty fast? or will we most likely have to wait on HTC's whim?

You'll know if you need a goldcard if you get error 42 while doing step 1.

Show your support for MoDaCo and get cool features! Click here!

#9
afiorillo

afiorillo

    Diehard

  • Members
  • PipPipPipPip
  • 449 posts
  • Location:Rome, IT
  • Devices:HTC Desire w/ MCR r9 WIP
  • Twitter:@afiorillo
[never mind...]

Edited by afiorillo, 14 May 2010 - 01:03 PM.


#10
afiorillo

afiorillo

    Diehard

  • Members
  • PipPipPipPip
  • 449 posts
  • Location:Rome, IT
  • Devices:HTC Desire w/ MCR r9 WIP
  • Twitter:@afiorillo
[never mind...]

Edited by afiorillo, 14 May 2010 - 12:30 PM.


#11
potter97

potter97

    Enthusiast

  • Members
  • PipPipPip
  • 240 posts
  • Gender:Male
  • Devices:HTC DESIRE
Really nice wright up, but really not needed m8 lol.

If people would just use search, then we would not have to flood the forums with multipul guides.

Also you can buy me a Beer!! :) If you like my work :)

Apocalypse-Cracking + More


#12
Corex

Corex

    Newbie

  • Members
  • Pip
  • 9 posts
  • Devices:HTC Desire

View Postpotter97, on May 14 2010, 15:31, said:

Really nice wright up, but really not needed m8 lol.

If people would just use search, then we would not have to flood the forums with multipul guides.

Huh? Strangly i've searched and haven't found multiple guides...


#13
potter97

potter97

    Enthusiast

  • Members
  • PipPipPip
  • 240 posts
  • Gender:Male
  • Devices:HTC DESIRE

View PostCorex, on May 14 2010, 19:53, said:

Huh? Strangly i've searched and haven't found multiple guides...


Lol, i guess its NOT your fault you have not found search yet!!

All the instructions are here in more detail...

But i guess reading through 88 pages is a bit daunting.

But like i said the Guide here is VERY well written so +10 to craigcrawford1988.

Also you can buy me a Beer!! :) If you like my work :)

Apocalypse-Cracking + More


#14
hakan42

hakan42

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:HTC Desire
Thank you for this well-written guide and especially for the TinyLinux ISO image.

My Windows box would not write to the Desire as soon as it appeared as a "Android 1.0" device on the USB bus, I was nearly tearing my hairs out... But then, your setup came to the rescue  :)


#15
Lethalfriend

Lethalfriend

    Newbie

  • Members
  • Pip
  • 15 posts
  • Devices:Imate jamin
Guys, Is there any way to get into custom recovery without using any computer???


#16
afiorillo

afiorillo

    Diehard

  • Members
  • PipPipPipPip
  • 449 posts
  • Location:Rome, IT
  • Devices:HTC Desire w/ MCR r9 WIP
  • Twitter:@afiorillo

View PostLethalfriend, on May 17 2010, 00:11, said:

Guys, Is there any way to get into custom recovery without using any computer???
Unfortunately, no.


#17
nobodyelse

nobodyelse

    Newbie

  • Members
  • Pip
  • 1 posts
Nice and clear guide, I will try it tomorrow.

Only thing I am missing is the MD5 sum of the files..

I get the following on mine, but please verify this:

7306f8e22d8ef9cab9f3fc885c82d588 - tinycore_211_desire_r4.rar (the download)
161ae381923904eed16a28302a064c96 - tinycore_211_desire_r4.iso (the iso inside rar)


#18
craigcrawford1988

craigcrawford1988

    LOL WUT

  • Members
  • PipPipPip
  • 240 posts
  • Gender:Male
  • Location:Liverpool, UK
  • Devices:HTC Desire, Motorola Milestone
  • Twitter:@craigcrawford88

View Postnobodyelse, on May 17 2010, 03:31, said:

Nice and clear guide, I will try it tomorrow.

Only thing I am missing is the MD5 sum of the files..

I get the following on mine, but please verify this:

7306f8e22d8ef9cab9f3fc885c82d588 - tinycore_211_desire_r4.rar (the download)
161ae381923904eed16a28302a064c96 - tinycore_211_desire_r4.iso (the iso inside rar)

Just hashed the original file I have:
ISO: 161ae381923904eed16a28302a064c96
RAR: 7306f8e22d8ef9cab9f3fc885c82d588

Show your support for MoDaCo and get cool features! Click here!

#19
w0mbat

w0mbat

    Newbie

  • Members
  • Pip
  • 36 posts
  • Location:Somerset

View Postcraigcrawford1988, on May 17 2010, 10:02, said:

Just hashed the original file I have:
ISO: 161ae381923904eed16a28302a064c96
RAR: 7306f8e22d8ef9cab9f3fc885c82d588

Nice simple guide thanks.

May give this a go tonight :)


#20
EddyOS

EddyOS

    Hardcore

  • MoDaCo Ad Free
  • PipPipPipPipPipPip
  • 1,436 posts
  • Gender:Male
  • Location:Liverpool, Merseyside
  • Devices:HTC One X
  • Twitter:@dj_e1d
Anyone got a mirror to a decent site, this keeps ending download after 20MB

HTC One X (S720e)
ROM: 1.29.401.11 (IML74K)
HBOOT: 0.95.0000 SHIP S-ON
Recovery: Stock
Radio: 1.1204.105.14
Kernel: Stock




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users