[GUIDE] Fix Mainver Error

Search This thread

mrbracht

Senior Member
Oct 22, 2010
788
256
Mankato, MN
Google Pixel 6
I am in no way, shape, or form held responsible if you brick your phone from this fix.

Well, i finally have something useful for the community!!! :D

this will take your main version to whatever you want, i took mine down to 1.00.000.0 and it worked!! :D

I was at 3.whatever ics is, but not anymore!! its fixed!!! :D :D

here are the steps

Before you start, disable HTC Sync

1.Connect phone to computer, enable charge mode
2.Open adb cmd and type : adb shell
3.Type su
4. if you get # symbol continue
5.Type : dd if=/dev/block/mmcblk0p24 of=/sdcard/misc.img (YOU CAN COPY THE IMG TO EITHER sdcard, which is internal memory, or sdcard2, which is removal card)
6. Switch to USB mode
7.copy misc.img from the root of the sdcard to your computer
8.Open misc.img with HeX Editor XVI32
9.Find the version and change it. it will be the first area in the the upper right in the screen of the app
10.change the number in whatever you want. (has to be in the form of.. x.xx.xxx.x
11.Save it and upload it to the root of the sdcard with miscnew.img name
12. Switch to charge mode
13.Type adb shell, su dd if=/sdcard/miscnew.img of=/dev/block/mmcblk0p24
14.Reboot and you are READY TO ROLL!



Once your done. And you wanna flash the new radio and hboot and all that fun stuff. Do a backup of your Rom http://db.tt/0UfbfrIs click that. Then relock your hboot, then flash that file in hboot and you let it update. then unlock once done installing. Then reflash your recovery.. and restore your Rom and your golden

Feel free to donate if you'd like, :)
 
Last edited:

heleos

Senior Member
Jun 30, 2010
907
349
You sir are a god! Now I want to be home to do it :(

Sent from my ADR6425LVW using XDA App
 

dejahboi

Senior Member
May 11, 2007
198
49
Porterville
I can't find the image within the sdcard for some reason. I see the process when it writes it but its nowhere to be found??


Edit:Nvm found it, turned out I had to be in USB mode.

Before step one like always ( disable htc sync/ in usb/develop mode)
-After step 4 switch to USB mode
-After the 1st 8# (lol) switch back to USB mode lol

some little steps you may add:)

Edit#2: Very nice, worked out well, though instructions can include a little more detail, but all-in-all good find :) Mainver 1.00.000.0 lol. Now I'm back in business again and start flashing again.
 
Last edited:
  • Like
Reactions: mrbracht

heleos

Senior Member
Jun 30, 2010
907
349
Remember that sdcard is actually the internal sd, sdcard2 is for external

Sent from my ADR6425LVW using XDA App
 

mrbracht

Senior Member
Oct 22, 2010
788
256
Mankato, MN
Google Pixel 6
Wooooooo hold up .....New radio to install?

Sent from RezROM ICS

Yeah. From the new ota... I took the firmware.zip and renamed it PH98IMG.zip and flashed it. New hboot and radio and what not..

615b6099-995e-a7b4.jpg



It also gives ya hboot 2.11

Sent from a cellular telephone
 
Last edited:
  • Like
Reactions: JeramyEggs

stoffelck

Senior Member
Aug 30, 2010
245
42
the numbers after clear auto image

i dont see any version


says clear autoimage 2.10.xxx.11

is that what i change? to 1.00.000.0?
 

stoffelck

Senior Member
Aug 30, 2010
245
42
sorry i put the xxx in because i had already changed the number. ok i wrote it back .

thanks for the reply
 

Top Liked Posts

  • There are no posts matching your filters.
  • 47
    I am in no way, shape, or form held responsible if you brick your phone from this fix.

    Well, i finally have something useful for the community!!! :D

    this will take your main version to whatever you want, i took mine down to 1.00.000.0 and it worked!! :D

    I was at 3.whatever ics is, but not anymore!! its fixed!!! :D :D

    here are the steps

    Before you start, disable HTC Sync

    1.Connect phone to computer, enable charge mode
    2.Open adb cmd and type : adb shell
    3.Type su
    4. if you get # symbol continue
    5.Type : dd if=/dev/block/mmcblk0p24 of=/sdcard/misc.img (YOU CAN COPY THE IMG TO EITHER sdcard, which is internal memory, or sdcard2, which is removal card)
    6. Switch to USB mode
    7.copy misc.img from the root of the sdcard to your computer
    8.Open misc.img with HeX Editor XVI32
    9.Find the version and change it. it will be the first area in the the upper right in the screen of the app
    10.change the number in whatever you want. (has to be in the form of.. x.xx.xxx.x
    11.Save it and upload it to the root of the sdcard with miscnew.img name
    12. Switch to charge mode
    13.Type adb shell, su dd if=/sdcard/miscnew.img of=/dev/block/mmcblk0p24
    14.Reboot and you are READY TO ROLL!



    Once your done. And you wanna flash the new radio and hboot and all that fun stuff. Do a backup of your Rom http://db.tt/0UfbfrIs click that. Then relock your hboot, then flash that file in hboot and you let it update. then unlock once done installing. Then reflash your recovery.. and restore your Rom and your golden

    Feel free to donate if you'd like, :)
    3
    :) I'm very happy this has been working out for everyone
    1
    spread the word man, it worked liked a charm, got the new radio and everything to load just fine. im happy
    1
    I can't find the image within the sdcard for some reason. I see the process when it writes it but its nowhere to be found??


    Edit:Nvm found it, turned out I had to be in USB mode.

    Before step one like always ( disable htc sync/ in usb/develop mode)
    -After step 4 switch to USB mode
    -After the 1st 8# (lol) switch back to USB mode lol

    some little steps you may add:)

    Edit#2: Very nice, worked out well, though instructions can include a little more detail, but all-in-all good find :) Mainver 1.00.000.0 lol. Now I'm back in business again and start flashing again.
    1
    charge mode/usb mode are the same, and dont feel stupid, :) learning is a better word