-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome main thread #178
Comments
Of course my friend. I want know reason of some bugs:
|
Thanks, I only test in XP32. I'm posting this from Supermium 118 on Windows XP. I'm pretty sure that Chrome 103 - 109 will work with the same ncrypt.dll workaround.
Please mute this debug spam.
This happens:
There is a issue with Downloads not working is likely the same reason.
Likely expects full Vista File Dialog implementation.
It crashes on SwitchToFiber function. Not much else known about it. |
check it out |
Can you help-me about Firefox 55 issue too? |
Thanks for all! Do you have discord, skype or any way to contact you? Do you tested Opera too? I don't know why Opera traditional not work and Opera GX work. Edge only work if you install Visual Studio Debugger. All installers not working. |
I do, what's your Discord username?
|
My Discord is Samuel Marins#0436 |
I also tried to run patched Google Chrome 117 (https://github.com/Blaukovitch/GOOGLE_CHROME_Windows_7_CRACK) and it works too! (I also don't need to add --single-process and --disable-webgl, I just put ncrypt.dll and start !NOSANDBOX_STABLE.bat). Unlike Supermium, this one uses the Windows 10 titlebar instead the one from Windows Vista/7 (without Aero). |
What is NOSANDBOX_STABLE.bat? |
It's the batch file containing the flags for the browser to work "chrome.exe --no-sandbox --use-webgpu-adapter=d3d11 https://cracklab.team/PAunlock/" you can also put it on a shortcut (copy anything except chrome.exe) and it will work fine. |
However, i pass --no-sandbox by default |
I did add GDI rendering back, but I didn't announce it because it doesn't work without the --single-process switch in all cases (and also because most of the browser UI text is offset high). When I figure out how to get it working without the switch, I'll make a chrome://flags option for it. I will also remove dependencies on GetLogicalProcessorInformationEx and other functions introduced in Windows 7 (specifically for extensions, I'm allowing Vista and below to use FindFirstFileExW without a flag introduced in 7 again), to meet the initial goal of the browser working on Vista without extended kernel. And remember to check Supermium\User Data\Crashpad\reports for any crash dumps (which can be investigated using the Supermium PDBs which include line number references). |
How can DirectWrite rendering be forced on OCA Supermium 118? Is there a switch for that? |
I heard that there wasn't a good DirectWrite implementation for XP, so I didn't make a switch for forcing it. But it may work if you spoof OS version to Vista (the check will probably be replaced with a check for the presence of dwrite.dll itself). |
Vista compatibility crashes but I bisected this to one last bit of XP code still remaining: |
Even with the force-xp-theme flag set in chrome://flags? |
I tried force-xp-theme and it does revert it to the XP UI and fix the flickering issue. I don't know why the Windows 10 UI appears without it regardless of Vista/7 compatibility mode. DirectWrite rendering works with that flag, so that's good. |
I would like to try Thorium https://github.com/Alex313031/thorium-win7 as it supports SSE2 and also has a lower version than Supermium. |
https://cdn.discordapp.com/attachments/1030000423282675714/1153978374180585472/ncrypt_ocapi.zip Put both ncrypt.dll and bcrypt.dll next to thorium.exe (DO NOT PUT IT INSIDE THE 109.0.5414.159 FOLDER). Thorium 109 also works on XP/Server 2003 (64 bit) too, clearly something has changed between 109 and 110. Edit: Forgot to say that the sandbox works on Thorium. |
When they added the banners for 7 and 8.x, the method for checking the version specifically for the banner was changed so that it checked the version of kernel32.dll instead of the actual versioning APIs. So you either need to change the resources for kernel32 so it reports a version number of 10.x, or kludge the function (GetFileVersionInfoW I think) used to get the file version resource string so it returns the "right result" for Chrome. As for the sandboxes, they patch the syscalls in NTDLL on initialization. The problem is that the 32 bit syscall format changed in Windows 8 and Chromium 110 and up had the code that recognized the old syscall format removed. Furthermore, Server 2003 WOW64 suspend-on-create processes only have the 64 bit NTDLL loaded (Vista and later load both NTDLLs). This means that there is another variation in the patching process specific to Server 2003 (which was removed well before Chromium 110) to patch the section mapping functions in the 64 bit DLL until the 32 bit DLL is loaded, instead of patching a DLL that hasn't been loaded into the process' address space yet. Aside from that, there are some problems with handle duplication (related to proc_thread_lists) and also object integrity levels, which were all resolved by Supermium and are relatively simple for One-Core-API to handle by implementing the necessary code (in the latter case, some TokenInfoClasses). |
There are currently some conflicts between the workaround that makes Chrome 111-122 work, and the Chrome 49 sandbox. The proper way on how to get the Chrome 49 sandbox work without having Chrome 111+ break requires kernelmode changes related to security, however my idea is a registry configuration to simply disable the workaround. |
oh yes, but out of curiosity I asked if it would ever be possible to make the sandbox of all Chromes work (including the most recent one) |
Yea that's why I said "And yes I do know that this version does not require it." I'm testing those versions with OCAPI installed just to see if anything breaks. |
NSA QUANTUM Foxacid:browser sandbox?Tor?lmao |
https://learn.microsoft.com/en-us/windows/win32/api/winhttp/nf-winhttp-winhttpcreateproxyresolver
|
I reinstalled the system (now windows 7), so there will be no memory dump file. I used this windows xp pro sp2 64 bit (wannacry protection) |
why didn't you tell me that I don't need one core api anymore? I heard that supermium now works on windows xp, all that remains is to make a couple of corrections. |
stop your off topic... |
The 32-bit version works the same as before 121. |
Supermium 122.0.6261.85 Hotfix - Now supports single-core HAL on XP. |
One Core API 4.0.0-20240210 windows 2k3 standard |
Update: I tried the newest version "Supermium 126.0.6478.249 R3 (XP x64 Hotfix)" and guess what... It seems to work without NNN4NT5. Make sure to remove (or rename) OCAPI progwrp.dll in System32 and SysWOW64 and restart the computer (else the error will show up again). Supermium generates a log called "condvar_use_log.txt" which might have to do with DirectWrite runtime from Supermium, it does work with OCAPI and the emojis also works. Can anyone test it? If it works then there's no need to use OCAPI progwrp. |
Yes it works with Server 2003 x86.
You are right if someone needs Supermium. I still can't configure Supermium to work as fast as Thorium 109. |
I also tested it on Windows XP without OCA. It seems that win32ss optimized the code for processors like single-core Pentium-4. This is noticeable on modern websites like GitHub, Discord, when images and other page elements are loaded. The CPU load is lower and it happens faster than in Server 2003 OCA. |
Since this thread has been made the main Chrome thread (because I figured out the workarounds first?), the Chrome progress as of One-Core-API 3.0.5 is:
Known Issues with Chromium
SwiftShader WebGL crash in XP
Due to a issue with fibers, WebGL crashes immediately when it's used. The fix is to use the switch
--disable-webgl
. Various websites use this for... fingerprinting.It's untested if NT 5.2 is affected: XP is definitely affected This is due to FIBER_FLAG_FLOAT_SWITCH being unsupported
This will be fixed in the next OCA version.
Hardware acceleration crashes browser a lot of times on OpenGL 2.1
Hardware acceleration on OpenGL 2.1 crashes the entire browser. To fix, use --disable-gpu switch. Chromium 122 is espically bad about this.
Chromium 111+ x64: massive pagefile requirements
Chromium 111 removes some Windows 7 fallback code, and under x64, each process requires 512 MB of additional pagefile to work. 32-bit Chromium and 64-bit Supermium is not affected.
You can mitigate this in many ways: switching to x86, using --single-process, reducing processes by one of many Chromium command line flags, increasing the pagefile by upwards of 16 GB.
Chromium 113+: flickering title bar
By Chromium 113, there is a flickering title bar on window moving or tab actions. There is no fix, the only fix is DWM.
Exception: Supermium.
Supermium 121: crash on startup
Supermium 121 crashes on startup, with debug.log showing that it failed to load chrome.dll. This is due to progwrp TLS code conflicting with already existing TLS implementations. This also happens under WinXP compatibility mode on Win7 and will happen to Windows 2000 extended kernel, ReactOS when they add this feature.
Workaround: Spoof your OS version using NNN4NT5 to Vista or higher. A potenital fix would be: inside progwrp.dll, if a NT6 API is found (or TLS is detected), then don't enable Thread-Local Storage. Or patch out progwrp:
Patching out progwrp
Download x64dbg and any hex editor (HxD) and open progwrp.dll. Copy progwrp.dll and rename it into something else. Load progwrp into there, and then go to:
_TLSInit_DllMain_ProcessAttach@4 (or _TLSInit_DllMain_ProcessAttach on x64) function. Right click the first instruction that pops up, and the bottom bar should say:
.text:72805B80 progwrp (2).dll:$5B80 #4F80 <_TLSInit_DllMain_ProcessAttach@4>
The positions will be different. Open HxD and open the copy. Go to what the hashtag says [
#4F80
], and type inC2 04 00
for x86 orC3
for x64. Repeat the same thing for ThreadAttach and save the file.After that, Supermium should open without NNN4NT5.
Issue with Chromium-based Apps
VSCode 1.82.X+
Windows 10 versions of Electron apps have a low chance of working, although CEF apps work just fine.
You might be able to fix them with Supermium Electron.
The text was updated successfully, but these errors were encountered: