Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,777,839 Members 47,711 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] Fix Mainver Error

Tip us?
 
mrbracht
Old
(Last edited by mrbracht; 27th January 2012 at 12:43 PM.)
#1  
Senior Member - OP
Thanks Meter 182
Posts: 597
Join Date: Oct 2010
Location: Mankato, MN

 
DONATE TO ME
Default [GUIDE] Fix Mainver Error

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!!!

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

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

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,
The Following 47 Users Say Thank You to mrbracht For This Useful Post: [ Click to Expand ]
 
lllboredlll
Old
#2  
lllboredlll's Avatar
Retired Recognized Developer
Thanks Meter 3324
Posts: 2,355
Join Date: Dec 2007
Location: 69 6e 20 61 20 64 65 76 69 63 65 20 6e 65 61 72 20 79 6f 75

 
DONATE TO ME
Now that's some good info for everyone. Thanks for posting this. I will ne adding a link to your thread in my Rom threads

Accepted NOT Expected

Remember, the "Thanks" button costs you nothing.




Quote:
Quote:
Originally Posted by USAsokr View Post
No worries though. lllboredlll is a god-fearing church-going droid-hacking incredible-modding machine
 
mrbracht
Old
#3  
Senior Member - OP
Thanks Meter 182
Posts: 597
Join Date: Oct 2010
Location: Mankato, MN

 
DONATE TO ME
spread the word man, it worked liked a charm, got the new radio and everything to load just fine. im happy
The Following User Says Thank You to mrbracht For This Useful Post: [ Click to Expand ]
 
heleos
Old
#4  
Senior Member
Thanks Meter 78
Posts: 231
Join Date: Jun 2010
You sir are a god! Now I want to be home to do it

Sent from my ADR6425LVW using XDA App
 
dejahboi
Old
(Last edited by dejahboi; 27th January 2012 at 11:45 AM.) Reason: Edit
#5  
Senior Member
Thanks Meter 49
Posts: 187
Join Date: May 2007
Location: 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.
The Following User Says Thank You to dejahboi For This Useful Post: [ Click to Expand ]
 
Marine6680
Old
#6  
Marine6680's Avatar
Senior Member
Thanks Meter 204
Posts: 1,433
Join Date: Jul 2009
Location: Kingsport TN
Posting this in a few threads... Great job!
Nexus 5

Past Devices:
G1 -- Nexus One -- MT4G -- Rezound -- Galaxy Nexus -- Note 2 -- iPhone5 (MEH) -- Note 2 (again) -- Galaxy S4
 
heleos
Old
#7  
Senior Member
Thanks Meter 78
Posts: 231
Join Date: Jun 2010
Remember that sdcard is actually the internal sd, sdcard2 is for external

Sent from my ADR6425LVW using XDA App
 
maniac2k
Old
#8  
Senior Member
Thanks Meter 107
Posts: 470
Join Date: Jun 2009
This is awesome. I cant wait to do this. Thanks man!!!
 
mrbracht
Old
#9  
Senior Member - OP
Thanks Meter 182
Posts: 597
Join Date: Oct 2010
Location: Mankato, MN

 
DONATE TO ME
Quote:
Originally Posted by dejahboi View Post

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
there ya go, updated OP
 
dejahboi
Old
#10  
Senior Member
Thanks Meter 49
Posts: 187
Join Date: May 2007
Location: Porterville
Quote:
Originally Posted by mrbracht View Post
there ya go, updated OP
Nice If i were admin, I'd sticky your thread LoL. It's seriously useful method in the long run.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes