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

[how to] lock/unlock your bootloader without htcdev(s-off required)

Discussion in 'Android Devices' started by scotty85, Apr 25, 2015.

  1. scotty85

    scotty85 Extreme Android User
    Thread Starter

    READ THIIS!
    *this thread is for m9. it will NOT work on m7,or any older device. please check the general forum for your particular device for a similar thread.


    this thread will let you unlock your bootloader without htcdev,or let you change your hboot watermark from relocked or locked back to stock.


    advantages
    -no hassle with htcdev,tokens,or unlock codes
    -no submitting your phones personal info to htc
    -the ability to get back to 100% stock without any visual traces or records of having been s off or unlocking your bootloader.

    you do NOT need to downgrade your hboot. this simple adb command works without any scary hboot downgrades.

    *you must be s off.
    *you must have superuser installed

    read this:
    this will not work if your s on. its not a way to magically unlock

    the usual disclaimers:
    use this info at your own risk. if it melts your phone into a little pile of aluminum goo,its not my fault.

    credits
    -beaups for schooling me on echo comand protocol
    -strace for originally discovering the location of the lock status flag(check out this thread for more info)
    - [MENTION=1335001]Mutasek24[/MENTION] for fearlessly testing all commands

    IF you are an advanced user with adb/fastboot set up and some basic knowlede of the cmd window,you can skip to #2
    1)set up adb(windows 7 and older)

    2)reset your "lock status flag"

    to LOCK your bootloader,enter the following:

    adb devices

    adb shell

    su (if needed to get a # prompt)

    echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
    (i would very strongly recomend you copy/paste this)

    exit
    (exit a second time if you need to to get back to a normal > prompt)

    adb reboot bootloader

    verify you are now locked
    _____________________________________________________________________________________________

    to UNLOCK your bootloader,enter the following:

    adb devices

    adb shell

    su (if needed to get a # prompt)

    echo -ne "HTCU" | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
    (i would very strongly recomend you copy/paste this)

    exit
    (exit a second time if you need to to get back to a normal > prompt)

    adb reboot bootloader

    verify you are now unlocked





    other useful threads:
    restore software status: original banner: http://androidforums.com/threads/how-to-restore-software-status-original.916136/
    change mid without an eng bootloader: fastbooot oem writemid xxxxxxxxx
     


    anoniemouse and KOLIO like this.

    1. Download the Forums for Android™ app!


      Download

       
  2. scotty85

    scotty85 Extreme Android User
    Thread Starter

HTC One M9 Forum

The HTC One M9 release date was March 2015. Features and Specs include a 5.0" inch screen, 20MP camera, 3GB RAM, Snapdragon 810 processor, and 2840mAh battery.

March 2015
Release Date
0
Reviews
Loading...

Share This Page

Loading...