Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Aero Glass for Win8 RC4


  • This topic is locked This topic is locked
2630 replies to this topic

#2151
DosProbie

DosProbie

    Senior Member

  • MSFN Sponsor
  • 684 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag

Donator

Perhaps when AeroGlass goes live and a installer is created, exceptions for virus, firewall etc can be added ..but in meantime you can just copy your exception from the registry once created and add it as you install Aero Glass next time..DP

It still requires an exception in AnitVirus soft to be made in order to successfully add registry values, but then it works




How to remove advertisement from MSFN

#2152
EvilAlex

EvilAlex

  • Member
  • 22 posts
  • OS:Windows 8 x64
  • Country: Country Flag

Perhaps when AeroGlass goes live and a installer is created, exceptions for virus, firewall etc can be added ..but in meantime you can just copy your exception from the registry once created and add it as you install Aero Glass next time..DP


Sure, but I'm actually more concerned about having to disable "Secure Boot" in BIOS\UEFI (since it happened to be the real cause of the problem).
No problem for me, but I'll understand if a lot of people will be scared away by this. Anything regarding "bios" and "safety" in the context of "disable" is a spooky lot for many, can't blame 'em.

#2153
gru

gru
  • Member
  • 8 posts
  • OS:Windows 8 x64
  • Country: Country Flag

Well your problem is right there in your post.

I've put all the files uncompressed from DWMHook094-64.7z to C:/DWM ,and changed the LoadGlass__AppInit_DLLs.reg as
'
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows]
"LoadAppInit_DLLs"=dword:00000001
"AppInit_DLLs"="C:\AeroGlass\\DWMGlass.dll"
"RequireSignedAppInit_DLLs"=dword:00000000

You should have the following

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows]
"LoadAppInit_DLLs"=dword:00000001
"AppInit_DLLs"="C:\DWM\\DWMGlass.dll"
"RequireSignedAppInit_DLLs"=dword:00000000


Actually, when importing directories into the registry using a .reg file, you need TWO backslashes.

"AppInit_DLLs="C:\\DWM\\DWMGlass.dll"

Im pretty sure it makes a difference.



GRU,

If you are using a UEFI system, then you must turn off secure boot in your BIOS before you try this.
That does not apply in a VM.


Great!I follow your instructions:

Edit the line into:'
"AppInit_DLLs"="C:\\DWM\\DWMGlass.dll"
'
and import the .reg;

then reboot to BIOS,turn of the secure boot.

It works~

BIG THANKS~
Posted Image

#2154
odysseyofnoises

odysseyofnoises

    Newbie

  • Member
  • 23 posts
  • OS:Windows 8 x86
  • Country: Country Flag
whoah! I think I actually almost got this to work... I have it right now to where windows will experience aero when the window is inactive. Here, check this out: http://postimg.org/i...rgre44m5h/full/

As you can see the "personalization" window has aero, but is inactive, whereas the active "pictures" window just appears solid... I have not tried to change the theme as I have no idea where to get a good windows 7 looking theme and I heard windows 8 doesn't accept external themes or something. Oh, and by the way, the taskbar is completely solid and the start menu of startisback is solid too.

I tried WindowBlinds 8 and was a fair bit disappointed with that =/

So anyway maybe someone can point me in the right direction now...

Edited by odysseyofnoises, 23 June 2013 - 09:27 AM.


#2155
bigmuscle

bigmuscle

    Aero Glass for Win8 developer

  • Member
  • PipPipPipPipPip
  • 963 posts
  • OS:none specified
  • Country: Country Flag
odysseyofnoises: if you look at your picture properly then you can notice that active window and taskbar are not completely solid all. They are nicely transparent just with high level of the opacity. You change the opacity in Colors control panel.
Aero Glass for Win8.x --> http://www.glass8.eu

#2156
AlexKven

AlexKven

    Junior

  • Member
  • Pip
  • 94 posts
  • OS:Windows 8 x64
  • Country: Country Flag

Look at Posts #2130 and #2131, then here ==> http://www.stardock....ds/features.asp



Stardock just took the easy way out with WB....



What is WB?



Oh, it just stands for WindowBlinds. I thought that it stood for some way to get to the theme service or something, that's why I was confused.

#2157
bigmuscle

bigmuscle

    Aero Glass for Win8 developer

  • Member
  • PipPipPipPipPip
  • 963 posts
  • OS:none specified
  • Country: Country Flag


Perhaps when AeroGlass goes live and a installer is created, exceptions for virus, firewall etc can be added ..but in meantime you can just copy your exception from the registry once created and add it as you install Aero Glass next time..DP


Sure, but I'm actually more concerned about having to disable "Secure Boot" in BIOS\UEFI (since it happened to be the real cause of the problem).
No problem for me, but I'll understand if a lot of people will be scared away by this. Anything regarding "bios" and "safety" in the context of "disable" is a spooky lot for many, can't blame 'em.


You cannot do anything about this. It is how Aero Glass works by design and it will not probably change. If anyone intends to use any kind of application, he should ensure that any other software (e.g. antivirus) does not prevent him from using it. Nothing to be done with it - there is million possibilites and million one probabilities that some application will block any of the possibilities and it is impossible to catch all of them. And about secure boot...yes, it is sad but we must live with that - it is how Win8 works - secure boot on = no DLL injections. Of course, if you know about any better way then you can let us know ;-)
Aero Glass for Win8.x --> http://www.glass8.eu

#2158
odysseyofnoises

odysseyofnoises

    Newbie

  • Member
  • 23 posts
  • OS:Windows 8 x86
  • Country: Country Flag

odysseyofnoises: if you look at your picture properly then you can notice that active window and taskbar are not completely solid all. They are nicely transparent just with high level of the opacity. You change the opacity in Colors control panel.


Oh, nice, this works now! =D http://postimg.org/i...xvschjdkx/full/

Now I can quit using the CPU / RAM drain that is BorderSkin

Thanks for this valuable program

Edited by odysseyofnoises, 23 June 2013 - 09:51 AM.


#2159
odysseyofnoises

odysseyofnoises

    Newbie

  • Member
  • 23 posts
  • OS:Windows 8 x86
  • Country: Country Flag
Also is there a windows 7 theme for windows 8 with the aero glass reflections?

#2160
Blackbird256

Blackbird256

    Member

  • Member
  • PipPip
  • 138 posts
  • OS:Windows 8 x64
  • Country: Country Flag

Also is there a windows 7 theme for windows 8 with the aero glass reflections?

This is probably as close as you can get. The author even included Aero Glass version that works very nicely with the tool
http://xxinightxx.de...ero-8-350491112

#2161
DosProbie

DosProbie

    Senior Member

  • MSFN Sponsor
  • 684 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag

Donator

Here's a aero shot of a Vista Se7en modded theme for 8..DPPosted Image

Posted Image


#2162
raiden89

raiden89

    Junior

  • Member
  • Pip
  • 75 posts
  • OS:Windows 8 x64
  • Country: Country Flag
Can you post a link to that VS, DosProbie? Looks pretty nice.

#2163
odysseyofnoises

odysseyofnoises

    Newbie

  • Member
  • 23 posts
  • OS:Windows 8 x86
  • Country: Country Flag


Also is there a windows 7 theme for windows 8 with the aero glass reflections?

This is probably as close as you can get. The author even included Aero Glass version that works very nicely with the tool
http://xxinightxx.de...ero-8-350491112


I think that only works for x64 as it says "x64 users download". Anything for x86?

#2164
DosProbie

DosProbie

    Senior Member

  • MSFN Sponsor
  • 684 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag

Donator

Can you post a link to that VS, DosProbie? Looks pretty nice.

Thanks glad you like it..It's a variation of MrGrim's theme (http://www.msfn.org/...-8/page__st__20) that I modded (part Vista and 7 calling it VistaSe7en) over a month ago for personal use, just haven't made it public as of yet..DPPosted Image

#2165
EvilAlex

EvilAlex

  • Member
  • 22 posts
  • OS:Windows 8 x64
  • Country: Country Flag

Of course, if you know about any better way then you can let us know ;-)


How did your "DLL2DWMInjector.exe" from v.0.6 work? It did just the thing. It DID work with Secure Boot ON. Both that AND it did NOT alert the Antivirus software. Sounds strange given what it did, but it did work.

I re-read your OP here, seems like there are some problems with that approach regarding DWM creating "internal objects" of some sort, but with 0.6 it seemed to work fine.
It seems I might be missing something crucial: some kind of changes made between v.0.6 and v.0.94 which render whichever code was used in "DLL2DWMInjector.exe" unusable for stated purpose anymore.

But there may be a solution: A system service process can be made, which can do what the aforementioned injector did, but at the stage, when DWM hasn't finished loading it's "internal objects".
Say, capture process starts at system startup and hook to DWM immediately after it is launched. I did a similar thing when I needed to run a certain script before "Terminal Services" process executed - worked perfectly.
Pardon if this already had been suggested.

Edited by EvilAlex, 23 June 2013 - 05:38 PM.


#2166
odysseyofnoises

odysseyofnoises

    Newbie

  • Member
  • 23 posts
  • OS:Windows 8 x86
  • Country: Country Flag
Here's the aero8 theme running on my tablet: http://postimg.org/i...vzp43lxwr/full/

You'd swear I'm running windows 7 until you saw that it says "Windows 8" Lol. Very nice if you want to imitate windows 7 style.

I think I may actually be finished reversing all the crap windows 8 did (or should I say, didn't do)

#2167
WindowsOS

WindowsOS

    I'm 1 out of only 3 people who don't mind that popup box

  • Member
  • Pip
  • 53 posts
  • OS:Windows 8.1 x64
  • Country: Country Flag
I got myself a fresh restart. Screenshot taken just 12 minutes after reinstall. Nothing else but 7zip and Glass installed.
https://www.dropbox....lass Snip 1.png

#2168
bigmuscle

bigmuscle

    Aero Glass for Win8 developer

  • Member
  • PipPipPipPipPip
  • 963 posts
  • OS:none specified
  • Country: Country Flag


Of course, if you know about any better way then you can let us know ;-)

How did your "DLL2DWMInjector.exe" from v.0.6 work? It did just the thing. It DID work with Secure Boot ON. Both that AND it did NOT alert the Antivirus software. Sounds strange given what it did, but it did work.


It worked in a very easy way. It just restarted dwm.exe and then called CreateRemoteThread which injected DLL into dwm process. But:
a) you need to have admin privileges to do it
B) since dwm is restarted, your screen will go blank for a while
c) sometimes, dwm restart causes user to log off
d) it is a total race because you must manage to inject DLL before certain point so the result completely depends on many things and mainly on your luck
--- if DLL is loaded before point A, then everything will work correctly
--- if DLL is loaded after point A, you will get nothing
--- if you hit the wrong moment when DWM process holds some lock for a critical section, you will end up in a deadlock and you must restart your computer
Aero Glass for Win8.x --> http://www.glass8.eu

#2169
EvilAlex

EvilAlex

  • Member
  • 22 posts
  • OS:Windows 8 x64
  • Country: Country Flag

It worked in a very easy way. It just restarted dwm.exe and then called CreateRemoteThread which injected DLL into dwm process. But:
a) you need to have admin privileges to do it
B) since dwm is restarted, your screen will go blank for a while
c) sometimes, dwm restart causes user to log off
d) it is a total race because you must manage to inject DLL before certain point so the result completely depends on many things and mainly on your luck
--- if DLL is loaded before point A, then everything will work correctly
--- if DLL is loaded after point A, you will get nothing
--- if you hit the wrong moment when DWM process holds some lock for a critical section, you will end up in a deadlock and you must restart your computer


Thanks!
It actually lightens up a lot of important points.
Can you specifically post a CreateRemoteThread call here? I'm not asking for a source at all, just this specific line :) Thing is - I actually tried this approach yesterday, because I've become actually interested in solving this issue, but that exact command failed.
Does it (CRT that is) have to be called at a specific time interval, or the entire injection process (Including Alloc) should happen before it? Because everything going before CreateRemoteThread worked fine, surprisingly.
If you don't mind, and if I'll have enough time, I'll try my luck with the service approach (a Service won't need Admin priv. once installed). What I think can be done is a partial emulation of "AppInit_DLLs", without actually using it. Don't know if it's possible yet - but I just have to try.
If I'll have any luck I'll post my results and source.

Again, that is if you don't mind. I do not intend to do anything that goes against author's wishes.

Edited by EvilAlex, 24 June 2013 - 02:19 AM.


#2170
bigmuscle

bigmuscle

    Aero Glass for Win8 developer

  • Member
  • PipPipPipPipPip
  • 963 posts
  • OS:none specified
  • Country: Country Flag
Nice tutorial about DLL injection with CreateRemoteThread can be found here http://resources.inf...ion-on-windows/ . It is nothing complicated, you just need to have admin privileges to be able to inject into dwm process on Win8 else you will get "Access denied" error. And if I remember correctly, your application need to have SE_DEBUG_NAME privilege too. I also forgot to mention one more point - when dwm process is restarted for whatever reason, you must ensure that the DLL will be reinjected.

Actually, "AppInit_DLLs" can be nicely replaced with RegisterUserApiHook function which does not depend on secure boot. You just need to run system service which ensures that this function is called before winlogon.exe loads. You use it to hook certain system function and user32.dll will then load your DLL into every process (exactly as AppInit_DLLs does). The only problem is that this function can be called only once for whole session and it is already in use by Theme service. Thus you must handle it properly.

Edited by bigmuscle, 24 June 2013 - 02:30 AM.

Aero Glass for Win8.x --> http://www.glass8.eu

#2171
EvilAlex

EvilAlex

  • Member
  • 22 posts
  • OS:Windows 8 x64
  • Country: Country Flag

Nice tutorial about DLL injection with CreateRemoteThread can be found here http://resources.inf...ion-on-windows/ . It is nothing complicated, you just need to have admin privileges to be able to inject into dwm process on Win8 else you will get "Access denied" error. And if I remember correctly, your application need to have SE_DEBUG_NAME privilege too. I also forgot to mention one more point - when dwm process is restarted for whatever reason, you must ensure that the DLL will be reinjected.


Yep, my code just happened to be an almost exact replication of that example, the only major difference is that mine is written in .NET (C++\CLI) with DllImport used to invoke native functions.
But, apparently, the SE_DEBUG_NAME really is required, although it does successfully obtain a DWM process handle. May also be due to CreateRemoteThread being called way too late after DWM execution.

Actually, "AppInit_DLLs" can be nicely replaced with RegisterUserApiHook function which does not depend on secure boot. You just need to run system service which ensures that this function is called before winlogon.exe loads. You use it to hook certain system function and user32.dll will then load your DLL into every process (exactly as AppInit_DLLs does). The only problem is that this function can be called only once for whole session and it is already in use by Theme service. Thus you must handle it properly.


> and it is already in use by Theme service
Oh, how nice of MS to use their own "nails". Not that it's something new or unexpected...


Thanks a lot!!!
I'll try this out and see what works. :)

#2172
bigmuscle

bigmuscle

    Aero Glass for Win8 developer

  • Member
  • PipPipPipPipPip
  • 963 posts
  • OS:none specified
  • Country: Country Flag
Yeah, it's funny that Theme service is nothing more than DLL injection and system functions hook :-)

I say also one more thing. Current Aero Glass requires to be injected on before DWM completely loads because it reuses many DWM objects (pixel shaders, input layouts etc.). The situation turns out with Windows 8.1, because there are no such objects thus I must create all the Direct3D objects on my own.
Aero Glass for Win8.x --> http://www.glass8.eu

#2173
EvilAlex

EvilAlex

  • Member
  • 22 posts
  • OS:Windows 8 x64
  • Country: Country Flag

Yeah, it's funny that Theme service is nothing more than DLL injection and system functions hook :-)

I say also one more thing. Current Aero Glass requires to be injected on before DWM completely loads because it reuses many DWM objects (pixel shaders, input layouts etc.). The situation turns out with Windows 8.1, because there are no such objects thus I must create all the Direct3D objects on my own.


So, that's on their "un-feature" list too now, isn't it? Huh...
Can't say I blame 'em for trying to clean their stuff out, what I think shouldn't have been done is the removal of Glass in the first place.
And since they seem to be carrying plans to return the Start Button (but heard a rumor, that not the menu itself, so where will it direct you to? A Start Screen?) in 8.1, why clean-up on Glass now, and not return it too? If they say returning Start Button is due to Customer Demand, it would've been a logical move. (Yeah, right...)

Thing is: A lot of people got burned by their upgrade to 8, so I think many will stick with just 8 or 7 for awhile (I'm still largely use 7), so this work may not be in vain. That is, if 8.1 won't just be forced upon like an update or a Service Pack, because MS's plans on that are kinda shady as far as I heard. People are debating whether "codename Blue" is an update, an SP, or an actual new OS.
Anyway, if their plan is not to restore but to completely remove Glass, then both your project and SD's WB8 are going to have A LOT more customers, so brace yourself :)

#2174
Tihiy

Tihiy

    the creator

  • Member
  • PipPipPipPipPipPipPip
  • 1,921 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

The situation turns out with Windows 8.1, because there are no such objects thus I must create all the Direct3D objects on my own.

So it's confirmed that 8.1 removes them?

#2175
gru

gru
  • Member
  • 8 posts
  • OS:Windows 8 x64
  • Country: Country Flag
I feel strange why my taskbar is always more black than the explorer frame even under different themes...

How can I make the taskbar have the same color as the explorer frame?When I use the themes on win7,they displayed not like this...

Any help?

Posted Image
Posted Image

Edited by gru, 24 June 2013 - 11:22 AM.





4 user(s) are reading this topic

1 members, 3 guests, 0 anonymous users


    zwersd


How to remove advertisement from MSFN