HTC Desire 获取Root权限的方法

Read this whole topic - it contains a ton of useful information as well as the instructions and downloads!

Remember that if you use this guide, you do so entirely at your own risk!

Welcome to my guide on how to root the HTC Desire!

Compatibility

This guide will allow you to root your HTC Desire, provided it has a bootloader version of 0.75 or below. To check this, turn off your device, then turn it back on with the 'back' key held. On the second line in green text you will see HBOOT- and then a number. Provided this is 0.75 or below, this guide should work for you.

O2 Germany devices are currently shipping with a 0.80 bootloader, and as such cannot be rooted using this guide at this time.

Desire rooting protection

Back in the early days of Android, rooting was easy. You had several options - you could flash stuff via the bootloader, you could flash an engineering bootloader, you could use kernel exploits - there were many ways of getting the low level access to your device that - in fairness - I think we as paying customers are entitled to. As time has progressed however, the manufacturers have made things harder and harder. The Desire is not a straightforward phone to root, for many reasons, including...

  • a 'perfected bootloader' that doesn't allow flashing or booting of any images (even HTC signed ones)
  • a RUU flash process that does not allow downgrading of the bootloader to earlier versions
  • a kernel (that as yet does not have publicly available source) that as yet has no known exploits
  • a new protection method previously seen on the HTC Tattoo that protects key partitions from having write access. Even with SU access, it is not possible to write to the boot, recovery or system partitions.

In reality, the options for rooting a device this secure are limited. Even if a kernel exploit were found, the key partitions would still be unwritable, rendering su access useless. This was circumvented on the Tattoo very cleverly, using a specific memory address from a confidential Qualcomm datasheet, however this information is not yet available for the Snapdragon chipset used in the Desire (and indeed may never enter the public domain).

And so the root process becomes a process of methodically probing every possible point of exposure on the device, looking for the slightest chink in the armour. I found one and we're putting it to good use! The downside is that it's not as easy or as pretty as rooting a device that is actually DESIGNED to be accessible at the lowest level, such as the Nexus One.

Shame on you HTC for going to such unnecessary lengths (but that's another story for another day).

What this root process provides and does not provide

The root process will...

  • flash your device with a new, generic 1.15.405.4 based ROM that has Superuser access
  • show you how to enter the recovery image in future, allowing you to flash update zips

The root process will NOT...

  • enable you to flash your device with a custom recovery image that can be launched easily by just holding down the volume down button when powering on
  • enable you to have write access to the /system partition in normal use of the device

Both of these limitations are being worked on of course.

Pre-requisites

In order to complete this guide, you need the following...

  • a HTC Desire
  • a PC
  • a microUSB cable
  • a microSD card (to be made into a 'goldcard' - only necessary if your device is an operator supplied device)
  • the downloads below
  • balls of steel (actually, I just made that up)

Download

To be ready for the guide, download the following items...

  • the ISO image - DOWNLOAD / MIRROR / TORRENT MD5: 854bdbb3c5898b15f92b5991204c9288

Once you have this on your machine, you're ready to start!

The guide

Follow through these steps, one by one and at the end of it you'll have a rooted Desire with the latest ROM.

Note: This process will wipe your device and there is currently no option to backup your device ROM before you start

.

  • If you have an operator supplied device (i.e. non generic), make your microSD card into a goldcard by following these instructions (it's a good idea to back up the contents of your card first!).
  • Burn the ISO you downloaded above to a CD and boot it, or boot it in a virtual machine.
  • Press enter when prompted to load Linux. When it has loaded, click the little 'monitor' icon at the bottom of the screen to open a terminal window.
  • Turn off your HTC desire, then turn it back on with the 'back' button held down. You'll see 'FASTBOOT' written on the screen in a red box. Connect the phone to the computer.
  • In the terminal window, enter the following commands:
    CODE
    sudo mkdir /mnt/cdrom
    sudo mount /dev/cdrom /mnt/cdrom
    cd /mnt/cdrom/root
    sudo ./step1.sh
  • When this step has completed, using the optical trackball, navigate to the 'BOOTLOADER' and then 'RECOVERY' option on the menu, using the volume buttons to move and the power button to select. Then, again in the terminal window, enter the following commands:
    CODE
    sudo ./step2.sh
  • When this has completed, your device should be at the 'recovery' screen. Select the 'wipe' option, then select the option to apply an update zip from sdcard, and select 'rootedupdate.zip'. This will take a little while, so go make a nice cup of tea. When the flash has finished, reboot, and you are DONE!

Troubleshooting

If you have any issues with the root process, post below, and we'll do our best to help!

And finally!

If you wish to do so, you can express your appreciation by signing up to a MoDaCo Ad Free or MoDaCo Plus Account using PayPal or Google Checkout, as detailed in this post on MoDaCo. As well as donating to support the work that goes into all the various MoDaCo activites, you get cool stuff like free software (there's some great Android stuff coming too!), an ad free MoDaCo site and of course access to the MoDaCo Online Kitchen. All signups are very much appreciated.

Enjoy!

P

Thanks to ChainsDD for his excellent new Superuser Permissions update and Amon_RA for the recovery image I butchered here.

 Reduced: 65% of original size [ 1104 x 899 ] - Click to view full image

Optional update zips

Apply this updates after rooting by copying to sdcard any applying from the recovery image (entered using the recovery-xxx.sh method).

A2SD - TEMPORARILY OFFLINE

32.36.00.28U_4.06.00.02_2 Radio update (from Asia 1.19.707.6 update) - DOWNLOAD / MIRROR DO NOT USE ON ORANGE

Chinese Input (HTC_CIME) - DOWNLOAD

Arabic Fonts (testing) - DOWNLOAD / MIRROR

Hebrew Fonts (testing) - DOWNLOAD / MIRROR

G2刷HTC sense后获取ROOT方法

1.将USB连接设置为调试
这一步很关键,否则在以后的权限赋予的界面会没有(apply or deny的选项)我一开始没成功就是这一步没做!
打开设置----应用程序----开发----usb调试选上,允许模仿位置选上    ok
2. 下载Android SDK  
下载地址 http://dl.google.com/android/android-sdk_r04-windows.zip(下载的文件名为android-sdk-windows,大约22M)
下载以后可以解压到任意位置,在c盘新建sdk文件夹,将解压文件中的tools文件夹拷贝至sdk (这时要确定tools中有adb.exe和fastboot.exe这两个文件)
下载superuser.zip  (应该有两个文件su和superuser.apk,将这两个文件一并放入sdk中的tools文件夹中)

superuser.zip

3.安装USB debugging驱动
我用的是WIN7系统,电脑上已经装了HTC SYNC软件,所以驱动这一步就免去了,大家可以装纯驱动,或者和我一样
4.获取root
【这里有一步省略的,不成功的可以加上这一步:正常关机,然后用将数据线和电脑相连,按着后退键(就是右下角的那个带箭头的,一直按着)再按开机键会进入bootloader(白色背景)。手机上会出现fastboot Usb(红字),打开windows的命令窗, 然后输入命令 cd C:/sdk/tools 
命令运行成功会显示C:/sdk/tools>_
然后输入命令 fastboot devices , 这时应该显示成功安装了驱动
继续输入命令 fastboot boot cm-hero-recovery.img ,(这一步必须把.img文件拷贝到tools文件夹内)img文件在这里下载

cm-hero-recovery.img.zip

成功的话你应该看到你的手机进入了recovery模式,然后再在recovery模式下写入下面的命令】----------这一步对于已经有recovery的机子来说应该是多余的吧
关机,数据线连接电脑,进入recovery模式(按住房子+开机),sense都应该带的有recovery吧,没有的话自己装
继续在cmd中输入命令(一行是一个命令,注意大小写)
C:/sdk/tools>_

adb shell mount /system
adb push su /system/bin/
adb shell chmod 4755 /system/bin/su
adb push Superuser.apk /system/app/
adb shell reboot

成功的话手机会自动重启,这时候你的手机已经有root权限了
重启之后所有程序之中多了一个superuser perminssion的程序,这个程序是记录被赋予权限的程序的~

原帖地址:

http://android.modaco.com/content/htc-desire-desire-modaco-com/307365/29-apr-r3-htc-desire-rooting-guide-now-with-new-improved-easier-root-method/

另:

http://www.blogsdna.com/9658/how-to-root-htc-desire-process-released.htm

中文的瞧这里:

http://itbbs.pconline.com.cn/mobile/11156954.html

HTC Desire获取ROOT方法--HTC Desire rooting guide (now with new improved / easier root method!)相关推荐

  1. htc+m7+android系统+电源,htc one m7 4.4系统获取root权限教程(安卓4.4专用)

    现在咱们的htc one m7手机的最新系统已经是4.4的版本了,看到论坛里也有很多机友已经升级和刷入4.4的系统包了,可是新手问题也来了,就是刷到4.4系统之后,之前的root权限就没有了,需要重新 ...

  2. htc解锁后root,htc的手机怎么解锁

    HTCG12手机官方解锁后如何root 先下载ADB附件, ADB-Windows.zip (417.38 KB) 下载次数: 3804 2012-1-2 22:11解压到电脑C盘adb文件夹内(自己 ...

  3. 中兴v880+ 获取root 方法 及 z4root 下载地址

    中兴v880+ 获取root 方法 及 z4root 下载地址 方法:首先下载z4root和固件R.E管理器这两个软件并安装(安装在手机上) ------运行z4root------temporary ...

  4. android root权限注册,安卓root权限获取的方法【图文教程】

    手机在我们的生活中得到了普及,主要是因为手机的功能不断强大.我们不仅可以使用手机通讯,也可以利用手机上网等.手机之所以有这么强大的功能,是因为现在的手机都安装了一个系统.这个系统可以供我们得到更好的用 ...

  5. 华为+android+root权限获取root,华为root权限获取的方法有哪些【图文】

    随着科学技术的进步,越来越多的智能手机步入我们的市场.手机一般都是可以进行root的,华为手机如何root呢?智能手机在进行root之后都可以下载更多的软件,拥有的使用权限更加的多.华为作为国产手机的 ...

  6. htc+one+m7+linux驱动,HTC One M7简易刷Recovery教程

    HTC One M7作为当下HTC旗下的旗舰热门机,用户们对于刷机的需求都比较强烈,对于刷ROM的前提就是要刷入Recovery,当然作为安卓智能手机HTC one而言也不例外,最近有些用户在刷机啦论 ...

  7. android adb root方法

    2019独角兽企业重金招聘Python工程师标准>>> 在有些android手机上使用adb root希望获取root权限时出现如下提示信息:adbd cannot run as r ...

  8. 极路由云平台倒闭,路由器免插件离线ROOT方法

    极路由云平台停服,离线root方法 免插件离线ROOT方法 访问:http://www.hiwifi.wtf/ 步骤 1. 点击  获取local_token 注意该网页不要关闭,后续获得 cloud ...

  9. 三星 android 5.0 root,三星N9150 Android 5.0 (GALAXY Note Edge 双4G)ROOT教程,一键获取ROOT权限...

    三星N9150 Android 5.0 (GALAXY Note Edge 双4G)怎么ROOT?三星N9150 Android 5.0 (GALAXY Note Edge 双4G) ROOT工具选用 ...

最新文章

  1. python爬虫系列(5.3-动态网站的爬取的策略)
  2. 亚洲与非洲:中国支付巨头的海外进击
  3. 《JavaScript快速全栈开发》作者Azat Mardanov:现在是拥抱Node技术栈的最佳时机
  4. 第一个OC类、解析第一个OC程序
  5. 超详细的redis总结
  6. 死磕java并发cas_死磕Java——CAS
  7. Project2010简易操作指南[转]
  8. 题解报告:hdu1205吃糖果(插空法)
  9. python解释器 pip安装_Windows下安装Python解释器并配置pip
  10. jpeg-turbo源码下载及使用NDK编译android库
  11. 高德地图No implementation found for long com.autonavi.amap.mapcore.MapCore.nativeNewInstance(java.lang.S
  12. TP340G+硬改山寨UBNT,
  13. 微信小程序 input ,阻止冒泡事件,catchtap的使用
  14. 各类常用食物的热能含量及营养价值
  15. 盘点2019年PHP高级开发工程师面试题及答案汇总
  16. 几个离散混沌映射系统(混沌函数)
  17. 正点原子minifly学习
  18. 软件项目管理和工作流程文集(CMMI)
  19. 移动互联网白皮书:Android 占到主导地位
  20. oracle支付预付款时账务处理,收到预付款账务处理是什么?

热门文章

  1. dell emc isilon解决添加AD域后有时间不同步警告
  2. Pokémon Army (easy version)
  3. 【深圳】大疆创新 - 测试/测试开发工程师 - 自动驾驶方向
  4. 在VirtualBox上安装deepin
  5. c语言用数字代表字母,使用c语言判断数字字母
  6. JavaSE 实战 中奖判断
  7. 利用DOCX文档远程模板注入执行宏代码
  8. PIESDKDoNet二次开发配置注意事项
  9. gnu stubs arch linux,编译Nachos源代码时出现错误“gnu/stubs-32.h:No such file or directory”...
  10. cmd无法进入其他盘符问题解决方案