1. Download our Official Android App: Forums for Android!

Root HTC Desire 626s Root?

Discussion in 'Android Devices' started by IsaacGuti, Sep 19, 2015.

  1. IsaacGuti

    IsaacGuti Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    73
    Posts:
    123
    Joined:
    Nov 12, 2014

    Nov 12, 2014
    123
    65
    73
    Male
    In my shell
    I got the htc desire 626s

    I've unlocked the bootloader but haven't found a way to root it. Has anyone found a root method for it?
     

    Advertisement

  2. mussio

    mussio Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    137
    Joined:
    May 9, 2010

    May 9, 2010
    137
    36
    43
    I don't believe root has been achieved for this device yet. since the bootloader is unlocked tho i think all that would be necessary is a custom recovery then the rest should follow.

    we need a Desire 626s forum.
     
  3. scary alien

    scary alien not really so scary
    Moderator
    Rank:
     #10
    Points:
    2,138
    Posts:
    22,319
    Joined:
    Mar 5, 2010

    Mar 5, 2010
    22,319
    23,814
    2,138
    Male
    space alien ;)
    Indy
    If you have an unlocked bootloader and a copy of the boot.img file for this device, you should be able to unpack the boot.img, change the ro.secure system property from "1" (one) to "0" (zero), re-pack the boot.img and flash it back to your device.

    That would allow you to then start-up adb (which will now run as root) and install root manually.

    There's a couple of caveats and details omitted from the above *, but this is one way to achieve root.

    ~ ~ ~

    * some of the caveats and details:

    - you have to have a copy of the current boot.img file for this device
    - you might need to know the boot base address when re-making the boot.img
    - you'll need access to a Linux or Cygwin environment to do the un-packing and re-packing
    - installing root manually is not really trivial...but Chainfire's UPDATE-SuperSU-v#.##.zip file contains all the files you need and an installation script; however, it does assume that it's being run from a custom recovery
    - etc...​

    Cheers!
     
    IsaacGuti and HasH_BrowN like this.
  4. Charliew410

    Charliew410 Lurker
    Rank:
    None
    Points:
    16
    Posts:
    3
    Joined:
    Jan 28, 2015

    Jan 28, 2015
    3
    2
    16
    Male
    Disabled
    Arkansas, USA

    9/26/2015
    All of that may be easy for you to say and understand scary alien, but when you got passed the bootloader unlocking and got to the boot.img that is where you lost this noob. I have 1 device bricked and am working on #2. The exacts and detail that is needed for a noob like me to understand and/or watch are almost nonexistant and the velocity of Android growth is astounding, Do you mean unzip the boot.img? Then does ro.secure mean read only? and how to know which number to change in system properties? Next you said pack it back up, I would assume in a zip file by itself to flash (because I saw 2 different methods with cmd one instruction said zip the other said leave in folder). And, I flashed but don't really know how that occurred.
    I know this is so easy for you guys but is almost completely out of my grasp. Is there anyone willing to slow down and take a noob by the hand, so to speak, and teach him the basics of this shebang? For I truly need help and instruction in rooting the HTC Desire 626s MetroPCSas once again I duped myself into buying a device that looks as though will never have support(as was the case with the LG Lucid 3).
     
  5. scary alien

    scary alien not really so scary
    Moderator
    Rank:
     #10
    Points:
    2,138
    Posts:
    22,319
    Joined:
    Mar 5, 2010

    Mar 5, 2010
    22,319
    23,814
    2,138
    Male
    space alien ;)
    Indy
    Ah, no worries, Charlie :).

    I was simply trying to open a dialog with the original poster here to shed some light on how root might be achieved (I don't have an HTC Desire 626s device myself). This particular discussion is admittedly a bit advanced and has a lot of what-ifs.

    Posting detailed instructions here would be way too early for the discussion at this point since you'd have to have your hands on a copy of the boot.img for this device as a starting point to help those of you that might have the base knowledge and desire (no pun intended :p) to try to do what I suggested.

    To answer some of your questions, the boot.img is comprised of two parts, a kernel and a RAM disk. It takes special scripts to break apart (unpack) and to re-assemble (re-pack) a bootable image file like that.

    The ro.secure system property is a setting/variable in one of the files in the RAM disk that controls whether or not adb gets to automatically run as root when connecting to a device where that setting has a value of 0 (i.e., insecure).

    Having adb run with root access should then give you the ability to remount the /system partition in read-write mode and install the needed root files--which would NOT be a straightforward, simple process in this case since you wouldn't be using a custom recovery to flash (install) the rooting package.

    See this post for explanation of some of these terms and components.

    Hope that helps! :)
     
    HasH_BrowN, James L and Charliew410 like this.
  6. Piplup702

    Piplup702 Member
    Rank:
    None
    Points:
    43
    Posts:
    68
    Joined:
    Jun 7, 2015

    Jun 7, 2015
    68
    32
    43
    Male
    Production Associate at F&P Georgia
    HasH_BrowN and scary alien like this.
  7. RicanFlow37

    RicanFlow37 Member
    Rank:
     #378
    Points:
    28
    Posts:
    72
    Joined:
    May 28, 2012

    May 28, 2012
    72
    13
    28
    Male
    New York
    Question this is for htc desire 626s all variants
     
  8. Piplup702

    Piplup702 Member
    Rank:
    None
    Points:
    43
    Posts:
    68
    Joined:
    Jun 7, 2015

    Jun 7, 2015
    68
    32
    43
    Male
    Production Associate at F&P Georgia
    I believe it's just for 626s. You would need the boot.img for whatever other variants need root to port a custom recovery to it
     
    RicanFlow37 likes this.
  9. RicanFlow37

    RicanFlow37 Member
    Rank:
     #378
    Points:
    28
    Posts:
    72
    Joined:
    May 28, 2012

    May 28, 2012
    72
    13
    28
    Male
    New York
    Yea 626s that for that variants right
     
  10. scary alien

    scary alien not really so scary
    Moderator
    Rank:
     #10
    Points:
    2,138
    Posts:
    22,319
    Joined:
    Mar 5, 2010

    Mar 5, 2010
    22,319
    23,814
    2,138
    Male
    space alien ;)
    Indy
    IsaacGuti likes this.
  11. reble

    reble Android Enthusiast
    Rank:
     #192
    Points:
    63
    Posts:
    322
    Joined:
    Sep 1, 2012

    Sep 1, 2012
    322
    39
    63
    Male
    retired
    Kennewick Wa
    Charliew410, would it help if I say your not alone I to have a HTC Desire 626s that I need to figure out how to unlock the bootloader and get the phone rooted. I to can't afford the higher prices for the realey nice phones ether. The old ZTE warp 4G I have finely croaked for good this time. But I got everything I needed download off the ZTE to my laptop. I also know your frustration over learning Android. This is my 3rd Android phone but only the 2nd one to be rooted. At lease the ZTE I didn't have to worry about unlocking the bootloader. I wanted to get a ZTE Elite phone but that was around $80.00 more then the HTC. I was pushing the envelope on the budget just to get the HTC. But I needed a new phone.

     
  12. Charliew410

    Charliew410 Lurker
    Rank:
    None
    Points:
    16
    Posts:
    3
    Joined:
    Jan 28, 2015

    Jan 28, 2015
    3
    2
    16
    Male
    Disabled
    Arkansas, USA
     
  13. Charliew410

    Charliew410 Lurker
    Rank:
    None
    Points:
    16
    Posts:
    3
    Joined:
    Jan 28, 2015

    Jan 28, 2015
    3
    2
    16
    Male
    Disabled
    Arkansas, USA
    HasH_BrowN and scary alien like this.
  14. reble

    reble Android Enthusiast
    Rank:
     #192
    Points:
    63
    Posts:
    322
    Joined:
    Sep 1, 2012

    Sep 1, 2012
    322
    39
    63
    Male
    retired
    Kennewick Wa
    I looked at the list of HTC phones at http://www.htcdev.com/bootloader on the list in the pull down menu on the right. And I don't see the HTC Desire 626s that I have in the list of HTC phones bellow. Which model do I use? Also in my phone the model number is OPM92. On the recept from the local phone store it says HTC Desire 626. I don't want to brick my new phone. I had to rob Paul to Pay Peter to replace the old ZTE phone that crapped out.

    upload_2016-5-6_0-13-25.png

     

Share This Page

Loading...