[how to]change your MID without the eng bootloader


  1. scotty85

    scotty85 Guides Guide

    this thread is for the folks who wish tochage their MID in order to fully convert a device and recieve OTA updates. the method described here is not the only way to skin the cat,but as long as your careful the risk is very minimal, its quick and easy and doesnt require any hboot downgrades,eng hboot install,data loss,or having to run an ruu.

    please note that s-off is required!

    credits:
    -beaups for schooling me on the echo command protocol
    -kdj67f for dumping partitions from his java card s-offed phone
    -davehasninjas for dumping rumrunner s offed partitions
    -andybones for testing on a vzw device

    standard disclaimer: use this information at your own risk. it has been tested,but copying the command incorrectly could have consequences. if you melt your phone into a smoldering little pile of aluminum goo, its not my fault.


    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

    -download this file
    -install drivers: if you have htc sync installed,you should allready have drivers. if not,you can install htc sync,or install these modified htc drivers from revolutionary (driver mirror)
    -unzip your miniadb_v1031.zip file. this is native funtionality in windows 7. you otherwise may need a utility such as "7-zip" to extract,or unzip it. place the unzipped folder onto the root of your C drive on your PC. root means the top level,not inside any folders. so just copy and paste,or drag and drop the folder onto C with everything else that is there. you may want to rename it to "miniadb_m7" since youll be putting some device specific files in here.
    -open a command window. on windows 7,click the start bubble in the lower left and type "command" in the search box. xp i believe is similar or the same. doing this should open a small black command window.
    -change to your miniadb_m7 directory. type the following at the prompt in your cmd window:

    cd c:\miniadb_m7

    your command promt should change to "c:miniadb_m7>" provided you: 1)unzipped the miniadb_v1031 zip file,and 2)put the folder on your c drive,and 3)entered the name of the folder correctly ("miniadb_m7" in this case)

    -now make sure usb debugging is checked in developer options(you will need to turn it on first),and plug your phone into your PC with a usb cable
    -make sure your phone is being recognized- type:

    adb devices

    if your drivers are installed correctly,this should return your phones serial number. you should hear the "found device" noises when you plug your phone in. if it starts installing drivers,wait for it to finish before typing the adb devices command.

    if you get your serial number back,then enter this command:
    adb reboot bootloader

    this should take your phone to the "fastboot" screen,wich is white with colored letters. this is one mode of your bootloaders interactive modes. at the top youll see fastboot devices as confirmation youre in fastboot.

    now enter:
    fastboot devices
    again,this should return your phones serial number. you should hear the "found device" noises when you plug your phone in. if it starts installing drivers,wait for it to finish before typing the adb devices command.

    if you get your serial number back,you can enter the following to boot back to the phones OS:
    fastboot reboot

    and now,youve installed adb/fastboot and tested youre phones drivers. if at either spot,you have trouble and dont get your serial number back,there is some sort of connection issue. use these steps to troubleshoot:

    this process,in your cmd window,should look something like this:
    Code (Text):
    1. Microsoft Windows [Version 6.1.7601]
    2. Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    3.  
    4. C:\Users\Scott>[COLOR="red"]cd c:\miniadb_m7[/COLOR]
    5.  
    6. c:\miniadb_m7>adb devices
    7. * daemon not running. starting it now on port 5037 *
    8. * daemon started successfully *
    9. List of devices attached
    10. FAxxxxxxxxxx    device
    11.  
    12.  
    13. c:\miniadb_m7>[COLOR="red"]adb reboot bootloader[/COLOR]
    14.  
    15. c:\miniadb_m7>[COLOR="red"]fastboot devices[/COLOR]
    16. FAxxxxxxxxxx    fastboot
    17.  
    18. c:\miniadb_m7>[COLOR="red"]fastboot reboot[/COLOR]
    19. rebooting...
    20.  
    21. finished. total time: 0.037s
    22.  
    23. c:\miniadb_m7>

    2)change your MID
    warning: *do not try and type the command. please copy and paste it

    -AT&T,developer,google play MID:
    enter the following:

    adb shell

    Code (Text):
    1. [B]echo -ne '\x50\x00\x4e\x00\x30\x00\x37\x00\x31\x00\x32\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p6 bs=1 seek=16384[/B]  
    (the above is one big long command. make sure you copy it all,and dont get extra spaces when you paste it.)

    exit

    adb reboot bootloader

    fastboot getvar mid (or getvar all)

    verify PN0712000 for modelid

    fastboot reboot
    ________________________________________________________________________________________
    -t mobile MID:
    enter the following:

    adb shell

    Code (Text):
    1. [B]echo -ne '\x50\x00\x4e\x00\x30\x00\x37\x00\x31\x00\x33\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p6 bs=1 seek=16384[/B]  
    (the above is one big long command. make sure you copy it all,and dont get extra spaces when you paste it.)

    exit

    adb reboot bootloader

    fastboot getvar mid (or getvar all)

    verify PN0713000 for modelid

    fastboot reboot
    ________________________________________________________________________________________



    your command window should look like this:
    Code (Text):
    1. c:\miniadb_m7>[COLOR="red"]adb shell[/COLOR]
    2. root@m7:/ # [COLOR="Red"]echo -ne '\x50\x00\x4e\x00\x30\x00\x37\x00\x33\x00\x31\x00\x30\x00\x
    3. 30\x00\x30' | dd of=/dev/block/mmcblk0p6 bs=1 seek=16384[/COLOR]
    4. 00\x30' | dd of=/dev/block/mmcblk0p6 bs=1 seek=16384                          <
    5. 17+0 records in
    6. 17+0 records out
    7. 17 bytes transferred in 0.009 secs (1888 bytes/sec)
    8. root@m7:/ # [COLOR="red"]exit[/COLOR]
    9. exit
    10.  
    11. c:\miniadb_m7>[COLOR="red"]adb reboot bootloader[/COLOR]
    12.  
    13. c:\miniadb_m7>[COLOR="red"]fastboot getvar all[/COLOR]
    14. (bootloader) version: 0.5
    15. (bootloader) version-bootloader: 1.44.0000
    16. (bootloader) version-baseband: 4A.17.3250.20
    17. (bootloader) version-cpld: None
    18. (bootloader) version-microp: None
    19. (bootloader) version-main: 1.27.531.8
    20. (bootloader) version-misc: PVT SHIP S-OFF
    21. (bootloader) serialno: HTxxxxxxxxxx
    22. (bootloader) imei: xxxxxxxxxxxxxxx
    23. (bootloader) meid: 00000000000000
    24. (bootloader) product: m7_ul
    25. (bootloader) platform: HBOOT-8064
    26. (bootloader) modelid: PN0731000  [COLOR="Blue"]<-looky[/COLOR]
    27. (bootloader) cidnum: 11111111
    28. (bootloader) battery-status: good
    29. (bootloader) battery-voltage: 4175mV
    30. (bootloader) partition-layout: Generic
    31. (bootloader) security: off
    32. (bootloader) build-mode: SHIP
    33. (bootloader) boot-mode: FASTBOOT
    34. (bootloader) commitno-bootloader: dirty-f188f379dbbfee373cd551f7bc62b8435
    35. getvar:all FAILED (unknown status code)
    36. finished. total time: 0.092s
    37.  
    38. c:\miniadb_m7>[COLOR="Red"]fastboot reboot[/COLOR]
    39. rebooting...
    40. (bootloader) hbootpreupdate: 11
    41.  
    42. finished. total time: 7.288s
    43.  
    some other useful links:
    http://androidforums.com/internatio...t/786814-how-remove-your-tampered-banner.html
    http://androidforums.com/internatio...bootloader-without-htcdev-s-off-required.html

    Advertisement
    :
    D-U-R-X likes this.
  2. scotty85

    scotty85 Guides Guide

    i dont think im going to add any more MIDs in the above post,as i dont think many(any?) will be flip flopping to something other than those 2. it could be dnagerous to try and convert m7_ul to m7_u or m7_wlv

    if you need to change to something different let me know,and i can put it here,so all the comands are in one place. this post is for reference only.


    for international m7_ul PN0710000
    Code (Text):
    1. echo -ne '\x50\x00\x4e\x00\x30\x00\x37\x00\x31\x00\x30\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p6 bs=1 seek=16384
    for m7_u PN0711000
    Code (Text):
    1. echo -ne '\x50\x00\x4e\x00\x30\x00\x37\x00\x31\x00\x31\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p6 bs=1 seek=16384
    for verizon,m7_wlv PN0731000
    Code (Text):
    1. echo -ne '\x50\x00\x4e\x00\x30\x00\x37\x00\x33\x00\x31\x00\x30\x00\x30\x00\x30' | dd of=/dev/block/mmcblk0p6 bs=1 seek=16384
    D-U-R-X likes this.
  3. scotty85

    scotty85 Guides Guide

    mine too! :p
Loading...

Share This Page