SPRINT HTC Hero Rooted READ MORE

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • VenumX
    The VenumX Factor

    • Nov 14
    • 1410
    • HTC Touch PRO
    • 6.5
    • Sprint

    #1

    [NEWS] SPRINT HTC Hero Rooted READ MORE

    Hey guys,

    So after many days of testing a bunch of shit on my hero, and going back and forth with zinxs amazing programming knowledge in #android-root we were finally able to get the Sprint Hero rooted! woohoo! Visit zinx's site below to download the latest version of the rooting software, its so easy!

    Code:
    http://zenthought.org/content/project/flashrec
    DO NOT FLASH ANY GSM ROMS TO YOUR PHONE

    BE PATIENT AND WAIT FOR NEW CDMA ROMS TO COME OUT!


    NEW TUTORIAL BY chuckhriczko OVER AT XDA ON HOW TO GET PERMA ROOT :P
    follow this one, its a little complicated but it gives you root access to do whatever you wish :D


    Default How to root the CDMA Hero
    Ok everyone. First off do not update your phone if Sprint offers an upate. I don't think they are going to but if they do anytime soon and you update this exploit could likely be fixed. When updates are released the devs will make updates that keep root so do not update!

    That said, this is a very newbie guide. This is meant for Windows but I will post instructions for linux as well (Ubuntu). I just need to warn you that I can't adb into my phone from Ubuntu so I have to do it through Windows. Don't know why it doesnt work but it doesnt. Mac users you can always (assuming you can get it to work in Ubuntu) download a live cd and boot into Ubuntu to try this. I don't have a mac (nor do I want one) so I can't give instructions (though I assume they should be relatively the same).

    Step 1:
    First you need to download the Android SDK. It may soumd confusing but it's not. There are tools in here that we need. You can get it from
    Code:
    http://developer.android.com/sdk/index.html
    . This is a modular SDK and all the tools we need are in this download. Once downloaded you just need to extract it in a directory of choice.

    The next thing we download is asroot2. This is a script that was developed that runs an exploit in Android's linux that allows us to run root. The link for that is here:
    Code:
    http://forum.xda-developers.com/atta...2&d=1257621154
    . Unzip that file and place it in a directory of your choice. Also download
    Code:
    http://www.androidspin.com/downloads...roc-v1.2.3.img
    and place that into the same directory you extracted asroot2.

    Step 2:
    Connect the phone to the USB port.

    Ubuntu is easy for this (again assuming it works for you). Simply open a terminal and cd into the directory that you extracted the sdk into. Then cd into the tools directory. Then run the following commands:
    sudo ./adb push /directory_you_placed_asroot2/asroot2 /data/local/
    sudo ./adb shell chmod 0755 /data/local/asroot2
    /data/local/asroot2 /system/bin/sh
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
    cd /system/bin
    cat sh > su
    chmod 4755 su

    If all goes well you should be presented with a new prompt. This is the linux terminal built into Android. This will allow us to execute all the commands we need to execute because the asroot2 script gave us root access.

    In Windows it is a little more difficult. You have to first install the driver for the phone. When Windows asks you for the drivers direct Windows to the directory you extracted the SDK into. You should see a folder called usb_driver. If you are running the 32 bit version of Windows select the x86 folder. If you are using a 64 bit version then select the x64 folder. Then select the android_usb.inf file. This should install the drivers.

    If running XP or lower you will need to go to the start menu and click run, then you enter cmd and press enter. If Vista or higher you will press the start button and type cmd and press enter. When you are at the command prompt you cd to the directory you extracted the sdk into. Then cd into the tools directory. Then execute the following commands:

    adb push /directory_you_placed_asroot2/asroot2 /data/local/
    adb shell
    chmod 0755 /data/local/asroot2
    /data/local/asroot2 /system/bin/sh
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
    cd /system/bin
    cat sh > su
    chmod 4755 su

    Now your phone is officially rooted! We arent done yet though. Now you need to flash the recovery image. If you are still in adb shell type in exit until you are out. You should be in the directory where you extracted the recovery image. If not go there. Type in the following:

    adb push recovery-RA-heroc-v1.2.3.img /sdcard/

    Once that is done, type in adb shell (or sudo ./adb shell in ubuntu). If your command prompt is a dollar sign then type in su and press enter. If it is a pound sign you are good. Then type in the following:

    adb shell flash_image recovery recovery-RA-heroc-v1.2.3.img

    Once that is finished you are done. To reboot into recovery type in adb shell reboot recovery. You should reboot into recovery mode. Right now there is not a lot you can do but once we have some devs who make some roms then we will be well on our way to an even more awesome phone. Any questions please ask away. Also, I am sorry if this tutorial is hard to understand or badly laid out. My daughter is crawling all over me so it's hard to type or think. Good luck all and thanks to everyone who rooted this phone and made the recovery and did such a great job!
    Reply With Quote Multi-Quote This Message Quick reply to this message

    originally posted here:
    Code:
    http://forum.xda-developers.com/showthread.php?t=581577
    Last edited by VenumX; November 08, 2009, 11:16 AM.

    ("Do Not Pm Me Or Email For Support" For Mobile Stuff, Post your question/problem on the forum so that someone else who's having the same issue can benefit from the solution.)

    sigpic

    Wanna Introduce Yourself?! Click HERE

    Need to flash a rom?
    stlouisfinest68 has a great video tutorial on how to do it, click HERE

    Forum Rules: --> HERE
    Join A Group:--> HERE
    Learn To Get Around The Forum:--> HERE

  • elboriyorker
    OG Member

    • Nov 08
    • 9328
    • Pixel 7 Pro
    • Android
    • Metro

    #2
    Re: SPRINT HTC Hero Rooted READ MORE

    thanks buddy..now that 2.0 will be out soon to sprint...i take it that this method wont work....

    SPJ Bulletin @
    www.smartphonejunkie.org
    Law Enforcement Forum www.phillyfinest369.com

    Comment

    • VenumX
      The VenumX Factor

      • Nov 14
      • 1410
      • HTC Touch PRO
      • 6.5
      • Sprint

      #3
      Re SPRINT HTC Hero Rooted READ MORE

      Originally posted by phillyfinest369
      thanks buddy..now that 2.0 will be out soon to sprint...i take it that this method wont work....
      i would not update to 2.0 if i was you...its built on a newer linux kernel which does not have the pipe.c exploit that he used to do this...what will happen is people will start making roms for the phone and someone will make a 2.0 rom that has root access built into the kernel so that you can just flash 2.0 with root access that way you dont have to worry about not being able to get access to the SU

      ("Do Not Pm Me Or Email For Support" For Mobile Stuff, Post your question/problem on the forum so that someone else who's having the same issue can benefit from the solution.)

      sigpic

      Wanna Introduce Yourself?! Click HERE

      Need to flash a rom?
      stlouisfinest68 has a great video tutorial on how to do it, click HERE

      Forum Rules: --> HERE
      Join A Group:--> HERE
      Learn To Get Around The Forum:--> HERE

      Comment

      • elboriyorker
        OG Member

        • Nov 08
        • 9328
        • Pixel 7 Pro
        • Android
        • Metro

        #4
        Re: SPRINT HTC Hero Rooted READ MORE

        hey ven..I'm kinda having a noob moment..There's no detail instructions how how to do it.Ok i know how to install it.But is there anything else i need to know? or can you prepare a detail instruction here...

        thanks

        SPJ Bulletin @
        www.smartphonejunkie.org
        Law Enforcement Forum www.phillyfinest369.com

        Comment

        • D/\SH
          Owner - Staff

          • Feb 07
          • 31777
          • TP, TP2, soon Hero
          • 6.5
          • SPJ

          #5
          Re: SPRINT HTC Hero Rooted READ MORE

          congrats to the hero users! that actually came pretty quick overall considering it being tied down to a cdma carrier. but anyways cant see what this will bring to the hero and the battery drain issue.

          Comment

          • VenumX
            The VenumX Factor

            • Nov 14
            • 1410
            • HTC Touch PRO
            • 6.5
            • Sprint

            #6
            Re SPRINT HTC Hero Rooted READ MORE

            Originally posted by phillyfinest369
            hey ven..I'm kinda having a noob moment..There's no detail instructions how how to do it.Ok i know how to install it.But is there anything else i need to know? or can you prepare a detail instruction here...

            thanks
            well right now its kinda useless, until we actually have a CDMA-based rom for the hero... but its cool for devs like me to have root access to the filesystem :) if you really wanna gain access to your root in terminal you will need to download the adb for android which is included in the SDK download...then you can download the following file:

            Code:
            http://zenthought.org/tmp/asroot2
            then in command prompt type:

            adb push asroot2 /data/local/
            then
            adb shell chmod 0755 /data/local/asroot2
            then
            adb shell
            then
            /data/local/asroot2 /system/bin/sh -

            and you will see a # which is your root terminal and you can go crazy with that if you want :P

            ("Do Not Pm Me Or Email For Support" For Mobile Stuff, Post your question/problem on the forum so that someone else who's having the same issue can benefit from the solution.)

            sigpic

            Wanna Introduce Yourself?! Click HERE

            Need to flash a rom?
            stlouisfinest68 has a great video tutorial on how to do it, click HERE

            Forum Rules: --> HERE
            Join A Group:--> HERE
            Learn To Get Around The Forum:--> HERE

            Comment

            • VenumX
              The VenumX Factor

              • Nov 14
              • 1410
              • HTC Touch PRO
              • 6.5
              • Sprint

              #7
              Re SPRINT HTC Hero Rooted READ MORE

              and new tutorial by chuck over at xda ... see first post, it enables SU in terminal and you have root access for running apps

              ("Do Not Pm Me Or Email For Support" For Mobile Stuff, Post your question/problem on the forum so that someone else who's having the same issue can benefit from the solution.)

              sigpic

              Wanna Introduce Yourself?! Click HERE

              Need to flash a rom?
              stlouisfinest68 has a great video tutorial on how to do it, click HERE

              Forum Rules: --> HERE
              Join A Group:--> HERE
              Learn To Get Around The Forum:--> HERE

              Comment

              • elboriyorker
                OG Member

                • Nov 08
                • 9328
                • Pixel 7 Pro
                • Android
                • Metro

                #8
                Re: SPRINT HTC Hero Rooted READ MORE

                Originally posted by VenumX
                well right now its kinda useless, until we actually have a CDMA-based rom for the hero... but its cool for devs like me to have root access to the filesystem :) if you really wanna gain access to your root in terminal you will need to download the adb for android which is included in the SDK download...then you can download the following file:

                Code:
                http://zenthought.org/tmp/asroot2
                then in command prompt type:

                adb push asroot2 /data/local/
                then
                adb shell chmod 0755 /data/local/asroot2
                then
                adb shell
                then
                /data/local/asroot2 /system/bin/sh -

                and you will see a # which is your root terminal and you can go crazy with that if you want :P
                Originally posted by VenumX
                and new tutorial by chuck over at xda ... see first post, it enables SU in terminal and you have root access for running apps

                thanks ven, yea i was searching around for a cdma rom but i didn't find any but gsm over at cyanogen site.. i wonder if it possible to extract the apps from sprint because i have the sprint hero rom...and no justice...

                SPJ Bulletin @
                www.smartphonejunkie.org
                Law Enforcement Forum www.phillyfinest369.com

                Comment

                • VenumX
                  The VenumX Factor

                  • Nov 14
                  • 1410
                  • HTC Touch PRO
                  • 6.5
                  • Sprint

                  #9
                  Re SPRINT HTC Hero Rooted READ MORE

                  Originally posted by phillyfinest369
                  thanks ven, yea i was searching around for a cdma rom but i didn't find any but gsm over at cyanogen site.. i wonder if it possible to extract the apps from sprint because i have the sprint hero rom...and no justice...
                  ive already extracted the majority of the apps from sprint, everything that was built into the sprint rom can be located in /system/app

                  ("Do Not Pm Me Or Email For Support" For Mobile Stuff, Post your question/problem on the forum so that someone else who's having the same issue can benefit from the solution.)

                  sigpic

                  Wanna Introduce Yourself?! Click HERE

                  Need to flash a rom?
                  stlouisfinest68 has a great video tutorial on how to do it, click HERE

                  Forum Rules: --> HERE
                  Join A Group:--> HERE
                  Learn To Get Around The Forum:--> HERE

                  Comment

                  • elboriyorker
                    OG Member

                    • Nov 08
                    • 9328
                    • Pixel 7 Pro
                    • Android
                    • Metro

                    #10
                    Re: Re SPRINT HTC Hero Rooted READ MORE

                    Originally posted by VenumX
                    ive already extracted the majority of the apps from sprint, everything that was built into the sprint rom can be located in /system/app

                    ok cool i see it now thanks

                    SPJ Bulletin @
                    www.smartphonejunkie.org
                    Law Enforcement Forum www.phillyfinest369.com

                    Comment

                    • forty01
                      Supporter

                      • Nov 24
                      • 1169
                      • HTC Touch Pro/HERO
                      • Android
                      • Sprint

                      #11
                      Re: SPRINT HTC Hero Rooted READ MORE

                      This is fantastic info. I rooted mine last night and after getting every possible issue or situation... I am now a master, lol , j/k, but I can assist if anyone is running into possible issues. Venum is going to be the master (programming, hacking, etc) in this situation, but I can handle my own as to getting around ;) Still learning though... On a day to day basis. :D
                      sigpic
                      About the "I Win" Champion Click Here
                      Flashing a ROM Click Here
                      Noob Zone Click Here
                      How to Search for...? Click Here

                      Comment

                      • chauleyb
                        Senior Member

                        • Feb 19
                        • 129
                        • touch pro
                        • 6.1
                        • Sprint

                        #12
                        Re SPRINT HTC Hero Rooted READ MORE

                        is n e one goin to post a dummy video cuz i feel like one right bout now been tryna root all morning im not sure what im doin wrong i get up right to this part..........adb push asroot2 /data/local/
                        then
                        adb shell chmod 0755 /data/local/asroot2
                        then
                        adb shell
                        then
                        /data/local/asroot2 /system/bin/sh -

                        and its sayin chmod cant b found

                        Comment

                        • forty01
                          Supporter

                          • Nov 24
                          • 1169
                          • HTC Touch Pro/HERO
                          • Android
                          • Sprint

                          #13
                          Re Re SPRINT HTC Hero Rooted READ MORE

                          Originally posted by chauleyb
                          is n e one goin to post a dummy video cuz i feel like one right bout now been tryna root all morning im not sure what im doin wrong i get up right to this part..........adb push asroot2 /data/local/
                          then
                          adb shell chmod 0755 /data/local/asroot2
                          then
                          adb shell
                          then
                          /data/local/asroot2 /system/bin/sh -

                          and its sayin chmod cant b found
                          adb push /directory_you_placed_asroot2/asroot2 /data/local/

                          directory_you_placed_asroot2 (from above) = make sure you enter the directory you placed the asroot2 into

                          for example: I had c:\AR where I DL'd mine 2

                          So it should look like this:
                          adb push c:\AR/asroot2 /data/local/

                          ...then continue with the commands as it's showing you above.
                          Good Luck
                          sigpic
                          About the "I Win" Champion Click Here
                          Flashing a ROM Click Here
                          Noob Zone Click Here
                          How to Search for...? Click Here

                          Comment

                          • tonyd1
                            Senior Member

                            • Jun 22
                            • 208
                            • HTC Touch
                            • Sprint

                            #14
                            Re SPRINT HTC Hero Rooted READ MORE

                            Code:
                            http://theunlockr.com/2009/11/07/how-to-root-your-cdma-htc-hero-sprint-verizon/

                            How To: Root Your CDMA HTC Hero (Sprint/Verizon)

                            Posted on: November 7, 2009

                            Posted in: Android How To's, Featured, HTC Hero/G2, How To's, Video


                            Embed This Video
                            How To: Root Your CDMA HTC Hero (Sprint/Verizon)

                            ^Video Coming Soon^

                            Finally there is root access for the Sprint Hero! Here is a quick How To for everyone.

                            Thanks Geoff!
                            Thanks XDA-Developers (as always!)!
                            Thanks JManley69 for brining the procedure from Sprint Community!
                            Thanks Sprint Community!
                            I. Before You Begin

                            You need to be able to access the phone via ADB.

                            Follow this procedure to get ADB setup on your Hero.
                            How To Setup ADB/Install USB Drivers
                            II. Root the CDMA Hero

                            1. Download the following file and then unzip it.

                            AsRoot2

                            2. Take the unzipped file and save it into the Tools folder of your AndroidSDK.

                            3. Plug your phone in via USB and do NOT mount the SD card.

                            4. Open the Command Prompt and type the following (hitting enter at the end of every line):

                            cd\
                            cd AndroidSDK\Tools\
                            adb devices

                            And make sure your phones’s serial number pops up (if not redo section I).

                            5. Then type:

                            adb push asroot2 /data/local/
                            adb shell chmod 0755 /data/local/asroot2
                            adb shell
                            /data/local/asroot2 /system/bin/sh

                            6. Then type:

                            mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
                            cd /system/bin
                            cat sh > su
                            chmod 4775 su

                            All Done! You now have root access! Try to download a root program from the Market and see if it works :)

                            ANYONE WANT TO TEST THIS METHOD ON THE DROID ERIS AND THE CLIQ? Dont see why it wouldnt work identically :)

                            Post if it works! Thanks!

                            Reported Issues:

                            Issue: I get a read only error…

                            Solution: Try using the Android SDK 1.5 instead of the 1.6 SDK (suggested by Joe)

                            --------- New Post Merged on 9/11/2009 at 1033 --------

                            Code:
                            http://forum.xda-developers.com/showthread.php?t=581846
                            here is the first CDMA ROM i found !
                            Last edited by iTouch24; November 09, 2009, 09:35 PM. Reason: Automerged Doublepost

                            Comment

                            • D/\SH
                              Owner - Staff

                              • Feb 07
                              • 31777
                              • TP, TP2, soon Hero
                              • 6.5
                              • SPJ

                              #15
                              Re: Re SPRINT HTC Hero Rooted READ MORE

                              Originally posted by iTouch24
                              Code:
                              http://theunlockr.com/2009/11/07/how-to-root-your-cdma-htc-hero-sprint-verizon/
                              How To: Root Your CDMA HTC Hero (Sprint/Verizon)

                              Posted on: November 7, 2009

                              Posted in: Android How To's, Featured, HTC Hero/G2, How To's, Video


                              Embed This Video
                              How To: Root Your CDMA HTC Hero (Sprint/Verizon)

                              ^Video Coming Soon^

                              Finally there is root access for the Sprint Hero! Here is a quick How To for everyone.

                              Thanks Geoff!
                              Thanks XDA-Developers (as always!)!
                              Thanks JManley69 for brining the procedure from Sprint Community!
                              Thanks Sprint Community!
                              I. Before You Begin

                              You need to be able to access the phone via ADB.

                              Follow this procedure to get ADB setup on your Hero.
                              How To Setup ADB/Install USB Drivers
                              II. Root the CDMA Hero

                              1. Download the following file and then unzip it.

                              AsRoot2

                              2. Take the unzipped file and save it into the Tools folder of your AndroidSDK.

                              3. Plug your phone in via USB and do NOT mount the SD card.

                              4. Open the Command Prompt and type the following (hitting enter at the end of every line):

                              cd\
                              cd AndroidSDK\Tools\
                              adb devices

                              And make sure your phones’s serial number pops up (if not redo section I).

                              5. Then type:

                              adb push asroot2 /data/local/
                              adb shell chmod 0755 /data/local/asroot2
                              adb shell
                              /data/local/asroot2 /system/bin/sh

                              6. Then type:

                              mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
                              cd /system/bin
                              cat sh > su
                              chmod 4775 su

                              All Done! You now have root access! Try to download a root program from the Market and see if it works :)

                              ANYONE WANT TO TEST THIS METHOD ON THE DROID ERIS AND THE CLIQ? Dont see why it wouldnt work identically :)

                              Post if it works! Thanks!

                              Reported Issues:

                              Issue: I get a read only error…

                              Solution: Try using the Android SDK 1.5 instead of the 1.6 SDK (suggested by Joe)

                              --------- New Post Merged on 9/11/2009 at 1033 --------

                              Code:
                              http://forum.xda-developers.com/showthread.php?t=581846
                              here is the first CDMA ROM i found !
                              sweet i wil lfor sure try on my droid when cnet gets it my way!! woot woot if you here about tis working on the droid or not please comment in this thread.

                              Comment

                              Working...