Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to change boot animation in Windows 7


06 Sep 2010   #101

ubuntu
 
 

I was able string replace winload.exe in x64 as well, just like in x86. I have not tested your tool on winload.exe yet. But it should not be any difficult. Just modify winload.exe, update checksum and sign it with something. My test environment is Windows 7 (7600) x64 Ultimate, english. Running in vmware workstation.

Joakim


My System SpecsSystem Spec
.

06 Sep 2010   #102

Windows 7 Pro 64 / 7 Pro 64 / 7 Home Prem 64
 
 

@marcusj0015: I still have no idea what is triggering WinRE, but yes the test needs to be updated in the MUI as well. Maybe if it's only replaced in the MUI then it won't trigger WinRE and use the text? I will have find the current language (not hard) and update the MUI. This will not fix the copyright text from triggering WinRE though. Also, winresume will be after we get all this other stuff hashed out. And also, the winload.exe in boot and in System32 are simply hard links to the same file (check out FindLinks from my utilities).

@M46935: The signing problem is still odd. Can my program sign bootres.dll if it isn't in the System32 folder? I just tried a clean installation of Win 7 Pro x64 en-us and it signed fine.

@joakim #1: Thanks for finding this. It's so stupid, when I was first coding my WIM stuff I had it in there because you had it checked, and then I was like, I don't remember that being bootable, so I removed it... stupid 1 line of code!!!! WIMSetBootImage(hWim, 1)

@joakim #2: Yes, this error is a bit misleading, I will fix it in a future version.

@joakim #3: My program causes WinRE to replace winload.exe file on next boot. winload.exe is just modified, signed, and then testsigning is enabled... so something is up. Using Win 7 Pro x64 en-us.



@everyone: Alpha 8 is up. Using joakim's wonderful find of the missing boot flag, bootres.dll update now works with testsigning!

I still hope to find a non-testsigning method (although will give up eventually and just add the testsigning hack suggestion from joakim).

Also, winload.exe is not working still (gets replaced by WinRE).
My System SpecsSystem Spec
06 Sep 2010   #103

Windows 7 Pro 64 / 7 Pro 64 / 7 Home Prem 64
 
 

More on colors for OSLOADER.XSL:

The following chart is how colors in the RGBI form could be used:
RGBI 15 White
RGXI 14 Yellow
RXBI 13 Magenta
RXXI 12 Red
XGBI 11 Cyan
XGXI 10 Green
XXBI 9 Blue
XXXI 8 Dark Grey
RGBX 7 Light Grey
RGXX 6 Brown
RXBX 5 Dark Magenta
RXXX 4 Dark Red
XGBX 3 Dark Cyan
XGXX 2 Dark Green
XXBX 1 Dark Blue
XXXX 0 Black

I have no idea where the RGBY comes in as also blue... but since XXBX also works for blue, the pattern can be used.

The pattern is X for none of that color, or the letter R, G, or B for that color. I specifies intensity (having I makes it light, X is dark). See Color Graphics Adapter - Wikipedia, the free encyclopedia for more information (and the specific hex values of these colors).

Oh, and the reason the copyright segment doesn't have a block in the XML is because it is drawn manually onto the screen. It may be (eventually) possible to change it's position / colors.
My System SpecsSystem Spec
.


06 Sep 2010   #104

Windows 7 Ultimate x64
 
 

what do you mean it is drawn manually on the screen?

like its not text or even an image but its a bunch of code that is ran like a mini app?
My System SpecsSystem Spec
06 Sep 2010   #105

Windows 7 Pro 64 / 7 Pro 64 / 7 Home Prem 64
 
 

No, it is text, but everything else that is drawn is within the osloader.xsl thing the joakim was talking about. Copyright however is drawn always, at the same hard-coded location, in the same colors, regardless of whats in osloader.xsl.
My System SpecsSystem Spec
07 Sep 2010   #106

ubuntu
 
 

Quote   Quote: Originally Posted by thaimin View Post
@joakim #3: My program causes WinRE to replace winload.exe file on next boot. winload.exe is just modified, signed, and then testsigning is enabled... so something is up. Using Win 7 Pro x64 en-us.
Unless it makes a big difference to have Pro vs Ultimate, it must be something related to permissions.. How do you take ownership of the file, so that the tool can replace the original? On the few tests yesterday, I rebooted into winpe and replaced the files, before rebooting again with successfully hacked animation.

I will check out if the colour suggestions work in bootmgr and winload.exe.

Joakim
My System SpecsSystem Spec
07 Sep 2010   #107

Windows 7 Ultimate x32
 
 

From what i've figured out (or at least how it works on my computer with Windows 7 Ultimate x86). testsigning regime is loaded through at least three stages. To let usage of modified and re-signed bootmgr.exe.mui and winload.exe (but not winload.exe.mui) - testsigning should be applied to boot manager's store, like this:
bcdedit.exe /set {bootmgr} testsigning on .
To let usage of modified winload.exe.mui, bootres.dll and other files, loaded directly by winload.exe, testsigning should be applied to osloader's store:
bcdedit.exe /set {current} testsigning on
or instead of {current} you may type {default} or just nothing if you're in this current os.
After this stage winload redirects testsigning parameter to kernel, which applies it to other system files and drivers and eventually puts watermark on desktop. To prevent testsigning from applying to kernel, you may slightly modify winload.exe (since you modify it for Copyright string anyway) - find inside this word: /TESTSIGNING, and replace it in hex editor with anything senseless like /BESTSIGNING or even /ABRAKADABRA. Hope this helps to solve watermark issue by alternative way.
Also you can still use even unsigned winload.exe, applying "bcdedit.exe /set nointegritychecks on". but this parameter doesn't help any other modded file, for them only testsigning will work.
My System SpecsSystem Spec
07 Sep 2010   #108

ubuntu
 
 

@AlexYM
It is not so easy to remove testsigning. The paramter nointegritychecks only looks for the pe checksum.

@thaimin
Did you remember to rebuild the mui cache after your modifications? Btw, did you modify winload.exe.mui or winload.exe? I just modified winload.exe.

Joakim
My System SpecsSystem Spec
07 Sep 2010   #109

ubuntu
 
 

@thaimin
The colour codes you posted works great!

Here is a rather colourful booting of Windows 7 (including modded animation of course);


Here's where I posted the rest of the details;
sanbarrow.com ~ View topic - Peering inside ntldr, setupldr & bootmgr: What can we do

What more can we do about this?

Joakim
My System SpecsSystem Spec
07 Sep 2010   #110

Windows 7 Pro 64 / 7 Pro 64 / 7 Home Prem 64
 
 

@AlexYM I will have to try bcdedit.exe /set {bootmgr} testsigning on

@joakim I didn't know the MUI cache needed rebuilding, however I don't modify winload.exe.mui (yet), just winload.exe

@joakim Awesome that the color works! It is so colorful! I renamed the colors in my previous post to be most suiting (the light colors looked normal and the dark colors definately look dark)

Wondering what else can be done? Well, my next post will have some insights into that.
My System SpecsSystem Spec
Reply

 How to change boot animation in Windows 7




Thread Tools



Similar help and support threads for2: How to change boot animation in Windows 7
Thread Forum
Boot screen Animation Change? Customization
Windows 7 Home premium 64bit won't boot, just plays boot animation BSOD Help and Support
How to change the boot screen animation? Customization

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:09 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33