[GUIDE] Fix Mainver Error

Search This thread

mjh68

Senior Member
Apr 20, 2010
1,740
393
I've seen mixed thoughts on this. Is it possible to check what main ver you are on directly from your phone or does it have to be done with adb?

Sent from my ADR6425LVW using XDA App

As far as I know, no . But if you unlocked you have everything set up to check it . Just have phone in fastbootusb , open up command prompt and type fastboot getvar all and that should bring up all the identifiers for the phone just look for mainver line and see what it shows.
 

zer0cloud

Senior Member
Sep 28, 2011
53
1
Missouri (not City i know)
:mad: I feel that I am following these steps to the T. But I am still stuck with a mainver 3.x.

I have even tried adding extra 0 and adding two 0, but nothing still. I restart my phone then once up I boot to fastboot to check mainver and everytime it still shows 3.x.

Starting to get frustrated lol. But I suppose I will keep at it, and hopefully not to brick anything ;)

Edit:
I honestly don't know how but I got it!! I know this shouldn't have done anything but I removed my old rom zip and rebooted into recovery and wiped ALL then followed the steps. And luck is on my side cause it worked!!
 
Last edited:

Doddzilla

Senior Member
Oct 25, 2008
438
258
Google Pixel 6 Pro
As far as I know, no . But if you unlocked you have everything set up to check it . Just have phone in fastbootusb , open up command prompt and type fastboot getvar all and that should bring up all the identifiers for the phone just look for mainver line and see what it shows.

I checked with fastboot and I have the pesky 3.xx.xxx.x mainver.

Sent from my ADR6425LVW using XDA App
 

broffy

Senior Member
Nov 23, 2008
183
7
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, :)


i think i am in trouble i did what you said when i open my misc this is what i got

https://www.dropbox.com/s/var9kglbwmez4qh/Capture.JPG
just 00000

the file the first command pull of is the hboot ?
 
Last edited:

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