1. Are you ready for the Galaxy S20? Here is everything we know so far!

Gingerbread Downgrade to 1.32 - Failed to set prot mask (innappropriate ioctl for device)

Discussion in 'Android Devices' started by Accafella, May 19, 2011.

  1. Accafella

    Accafella Lurker
    Thread Starter

    Hi, first post :)

    I'm trying to root my DHD by first downgrading from the stock 2.3.3 Gingerbread recieved recently by an HTC OTA update, to 1.32 for rooting.

    I've installed the adb drivers and psneuter + misc_version and it's working fine. The tutorial on the cyanogenmod wiki tells me to put this into the cmd:

    adb push psneuter /data/local/tmp
    adb push misc_version /data/local/tmp
    adb shell chmod 777 /data/local/tmp/psneuter
    adb shell chmod 777 /data/local/tmp/misc_version
    adb shell /data/local/tmp/psneuter

    However when i put in the last line, the cmd gives the error message:

    Failed to set prot mask (innappropriate ioctl for device)

    This obviously isn't right, and i'm wondering what i can do to fix it. I've tried searching round but i've found no answers. Please give me something to try.


    EDIT: Im on Vista 32-bit.

    1. Download the Forums for Android™ app!


  2. Accafella

    Accafella Lurker
    Thread Starter

    Just let you know, i've fixed it now. Turned out i had to use gingerbreak instead of psneuter. adb shell /data/local/tmp/gingerbreak worked. Thanks for the help guys :p
    bturner192 likes this.
  3. bturner192

    bturner192 Lurker

    had exactly the same problem as you, gratz on finding the solution, do you have to download gingerbreak and place it in the downgrade folder?
  4. jibber4568

    jibber4568 Lurker

    I to would love to know how you resolved this as I am having the exact same problem. What do I put where in order to be able to run the gingerbreak commands?

  5. El Presidente

    El Presidente Beware The Milky Pirate!
    VIP Member

    Here's a decent guide -

    [GUIDE] How to downgrade 1.7x/1.8x/2.x to 1.32.405.6 - xda-developers

    You need to register on the xda forums and download a zip file towards the end of the initial post.
  6. Accafella

    Accafella Lurker
    Thread Starter

    As Presidente said,
    I used this guide instead:
    [GUIDE] How to downgrade 1.7x/1.8x/2.x to 1.32.405.6 - xda-developers

    First you have to download this: http://forum.xda-developers.com/attachment.php?attachmentid=591335&d=1304969547 and put it in the same folder as adb (platform-tools).

    Then follow the part of the tutorial that says it is for Section 2b [For Gingerbread ROMs, 2.x] and copy and paste those commands instead of the psneuter ones.

    You should then get the # symbol (NOT the $) to show that it's temporarily rooted.

    After that you can just go back to the cyanogenmod wikipedia guide here: HTC Desire HD: Rooting - CyanogenMod Wiki

    Start from step 5 of the downgrade guide, just after the "NOTE: You should have the "#" sign instead of the "$". If you do, you have temporary root, and can continue on." bit (ignoring the pneuter bit of step 5.

    Hope this helps!
  7. mustapha

    mustapha Lurker

    this is very helpfull and nice step by step to do the work but (this is my first time in android forums) can you help me if the simpole # not come and i still have the simpole $ what i can do for that.
    kinldy note that my android is gingir 2.3.3 latest from HTC and the mobile is not rooted or have recavary (new mobile) thank you very mush.

HTC Desire HD Forum

The HTC Desire HD release date was October 2010. Features and Specs include a 4.3" inch screen, 8MP camera, 768GB RAM, Snapdragon S2 processor, and 1230mAh battery.

October 2010
Release Date

Share This Page