Jump to content











Photo

How to: Modify bootmgr of Windows 8


  • Please log in to reply
69 replies to this topic

#51 joakim

joakim

    Silver Member

  • Team Reboot
  • 912 posts
  • Location:Bergen
  •  
    Norway

Posted 19 August 2014 - 07:11 PM

So there was a bug in the script I uploaded. Apparently it can use the mscompression library with x64, however the calling method is probably slightly wrong, which leads it to crash with x86. Anyways, the bug in the script even prevented x64 to work. Either way, the Jeff's bmzip loads the library as expected, and thus works on both x64/x86. So forget about the script uploaded yesterday. I just recompiled and successfully testet his clean source from github. The test was on bootmgr version 6.3.9600.16415.

 

Let me know if there's still anything of significance that is unresolved regarding this file.



#52 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 20 August 2014 - 09:39 AM

Naah, I guess that the compiled version JFX posted on MSFN is fine.

 

Though I actually fail to see the usefulness of a 64 bit version, a 64 bit compiled version is actually missing, seemingly (I believe the one paraglider posted is anyway an old version).

 

Also I am not sure to understand whether in the "current version" there is (or there can be a difference) between using the ntdll or the bmzip's MScompression.dll.

 

:duff:

Wonko



#53 joakim

joakim

    Silver Member

  • Team Reboot
  • 912 posts
  • Location:Bergen
  •  
    Norway

Posted 20 August 2014 - 10:11 AM

The difference between ntdll and mscompression with regards to XpressHuff:

  1. They're compression algorithms are different. And thus yields slightly different results when compressing.
  2. Ntdll.dll can't decompress.


#54 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 20 August 2014 - 10:44 AM

 

The difference between ntdll and mscompression with regards to XpressHuff:

  1. They're compression algorithms are different. And thus yields slightly different results when compressing.
  2. Ntdll.dll can't decompress.

 

Good :), thanks.

 

So, to sum up, in what may seem an exercise in futility :w00t: we can use bmzip to decompress the BOOTMGR and then (once having NOT modified it)  we can use you BOOTMGR Recompiler v2 to recompress it (choosing ntdll.dll) and the resulting file should be identical to the original?

 

:duff:

Wonko



#55 paraglider

paraglider

    Gold Member

  • .script developer
  • 1743 posts
  • Location:NC,USA
  •  
    United States

Posted 20 August 2014 - 11:55 AM

I uploaded a updated zip containing the 64 bit and 32 bit versions: http://www.paraglide...les/bmzip-2.zip



#56 paraglider

paraglider

    Gold Member

  • .script developer
  • 1743 posts
  • Location:NC,USA
  •  
    United States

Posted 20 August 2014 - 11:56 AM

No reason not to use the 64bit version if you are using a 64bit os.



#57 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 20 August 2014 - 12:16 PM

No reason not to use the 64bit version if you are using a 64bit os.

Sure :), but as well no real reason to not use the 32 bit version on it.

 

I mean, this is not one of the (BTW very few programs) that will have an actual advantage in "64 bit form" over "plain" 32 bit one, as a matter of fact the only advantage is that of being a little bit larger.

 

The only actual *need* for a 64 bit version is for use in an environment that is 64 bit AND lacks a 32 bit subsystem, i.e. in practice only in a "plain" Windows PE 64 built from WAIK/AIK/ADK according to MS or in a prebuilt WinRE 64 bit environment. 

 

Also, and JFYI, your 32 bit version DOES NOT run on my XP system. :frusty: throwing an error about not being a valid Win32 app.

 

:duff:

Wonko



#58 joakim

joakim

    Silver Member

  • Team Reboot
  • 912 posts
  • Location:Bergen
  •  
    Norway

Posted 20 August 2014 - 03:25 PM

Have not seen the particular version paraglider compiled, but judging from your report Wonko, my guess is you can easily fix it by changing the major version fields from 6 to 5 in the (PE) optional header.



#59 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 20 August 2014 - 04:01 PM

Have not seen the particular version paraglider compiled, but judging from your report Wonko, my guess is you can easily fix it by changing the major version fields from 6 to 5 in the (PE) optional header.

Sure :), I know (and I already checked that it works, once that stupid setting has been set to 5) but thanks for the suggestion.

 

:duff:

Wonko



#60 paraglider

paraglider

    Gold Member

  • .script developer
  • 1743 posts
  • Location:NC,USA
  •  
    United States

Posted 21 August 2014 - 01:00 AM

Re-uploaded updated version. MS does not make it easy to set the subsystem version with link.exe



#61 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 21 August 2014 - 10:36 AM

Re-uploaded updated version. MS does not make it easy to set the subsystem version with link.exe

I guess it is part of the "plan" to make XP seem more obsolete than it really is :ph34r:.

Thanks for fixing it. :)

 

:duff:

Wonko



#62 conty9

conty9
  • Members
  • 2 posts
  •  
    Ukraine

Posted 19 October 2015 - 04:41 PM

1518bbe543a9037c33f4ace474d1500a.jpg

BMplus (current version v0.3). Utility for changing paths in BOOTMGR and appearance settings (themes). Description in Russian.


Edited by conty9, 19 October 2015 - 04:44 PM.


#63 joakim

joakim

    Silver Member

  • Team Reboot
  • 912 posts
  • Location:Bergen
  •  
    Norway

Posted 19 October 2015 - 09:45 PM

Seems like a nice tool, but have not tried it yet. Are you willing to share some information about what it does under hood?



#64 conty9

conty9
  • Members
  • 2 posts
  •  
    Ukraine

Posted 22 October 2015 - 04:16 PM

24b6de87b61a3e6cc1faabf8ef6eae2f.png   b8216928be95182b54dce716e1b1b3a8.jpeg

Try the latest version 0.91 : specify the paths (max - 31 symbols), choose a theme (check "use selected theme"), and press "Rebuild & QEMU".
I do not know much English, so the the job description only in Russian.


Edited by conty9, 22 October 2015 - 05:03 PM.


#65 wojtasxda

wojtasxda
  • Members
  • 1 posts
  •  
    Poland

Posted 18 November 2015 - 12:41 AM

Hello everyone  :good:

 

I have big problem and i cannot fix it :(

My device boot from EFIESP partition, there is BCD, bootmgr.efi, bootarm.efi and bootmgfw.efi

 

I want change BCD path but i dont know exacly how. I have zbootmgr.exe but after replacing files my device not boot and shows error.

 

Please modify files for me, really this is big problem for me.

 

 

Acctually BCD is here : \efi\Microsoft\Boot and i want other location, example. efi\Microsoft\Hack

 

Ah ! This device is ARM :)

 

i add whole EFIESP partition in 7z archive :)

 

http://1drv.ms/1S2Q4iy

 

Regards ! :)



#66 memoarfaa

memoarfaa

    Member

  • Members
  • 82 posts
  •  
    Egypt

Posted 18 November 2015 - 03:45 PM

Hello everyone  :good:
 
I have big problem and i cannot fix it :(

My device boot from EFIESP partition, there is BCD, bootmgr.efi, bootarm.efi and bootmgfw.efi
 
I want change BCD path but i dont know exacly how. I have zbootmgr.exe but after replacing files my device not boot and shows error.
 
Please modify files for me, really this is big problem for me.
 
 
Actually BCD is here : \efi\Microsoft\Boot and i want other location, example. efi\Microsoft\Hack
 
Ah ! This device is ARM :)
 
i add whole EFIESP partition in 7z archive :)
 
http://1drv.ms/1S2Q4iy
 
Regards ! :)

 

Hi wojtasxda

 

zbootmgr.exe can't change BCD name in efi partition 

 

The file that can modified the name or path of the BCD is  bootarm.efi

 

This is link to bootarm.efi that changed the name of BCD to BCE

 

http://www.mediafire...vco4zf870ut3db1

 

Any modification of any .efi file e.g (bootarm.efi)

 

Required disable secure boot that can be done in any PC or Laptop 

 

But not windows phone so in my opinion that impossible to change 

Name or path of the BCD "read here"

 

http://allaboutwindo...ws_Phone_81.php

 

Any way try to replace the original  bootarm.efi with modified bootarm.efi

And rename BCD to BCE and give your feedback 


Edited by memoarfaa, 18 November 2015 - 03:46 PM.


#67 ff278

ff278
  • Members
  • 2 posts
  •  
    Vietnam

Posted 03 December 2015 - 10:49 PM

Hi wojtasxda

 

zbootmgr.exe can't change BCD name in efi partition 

 

The file that can modified the name or path of the BCD is  bootarm.efi

 

This is link to bootarm.efi that changed the name of BCD to BCE

 

http://www.mediafire...vco4zf870ut3db1

 

Any modification of any .efi file e.g (bootarm.efi)

 

Required disable secure boot that can be done in any PC or Laptop 

 

But not windows phone so in my opinion that impossible to change 

Name or path of the BCD "read here"

 

http://allaboutwindo...ws_Phone_81.php

 

Any way try to replace the original  bootarm.efi with modified bootarm.efi

And rename BCD to BCE and give your feedback 

Hi memoarfaa!

Could you help me modify the bcd path of this .efi to \efi\Microsoft\Boot\BCE (currently it is \efi\Microsoft\Boot\BCD).

Thank you so much!

here is my file http://www.mediafire...uy/WinSetup.efi



#68 memoarfaa

memoarfaa

    Member

  • Members
  • 82 posts
  •  
    Egypt

Posted 06 December 2015 - 12:59 PM

I can't access to this file in your account



#69 ff278

ff278
  • Members
  • 2 posts
  •  
    Vietnam

Posted 07 December 2015 - 01:40 PM

oh i'm sorry, i fixed the link: http://www.mediafire...uy/WinSetup.efi

Thank you in advance!



#70 memoarfaa

memoarfaa

    Member

  • Members
  • 82 posts
  •  
    Egypt

Posted 07 December 2015 - 08:09 PM

open it with any hex editor 
search for hex "5C 00 42 00 43 00 44 00 00 00"

replace it with hex "5C 00 42 00 43 00 45 00 00 00"






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users