From c72998e26df1d731bbcb29d1d3cd8207f2bd567d Mon Sep 17 00:00:00 2001 From: Alexey Min Date: Sun, 2 Jul 2017 16:00:11 +0500 Subject: [PATCH 1/4] Russian translation for README.md --- README.ru-RU.md | 69 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 README.ru-RU.md diff --git a/README.ru-RU.md b/README.ru-RU.md new file mode 100644 index 0000000..178de1f --- /dev/null +++ b/README.ru-RU.md @@ -0,0 +1,69 @@ +# wufuc [![](https://ci.appveyor.com/api/projects/status/0s2unkpokttyslf0?svg=true)](https://ci.appveyor.com/project/zeffy/wufuc) [![Click here to tip wufuc on Gratipay!](https://img.shields.io/gratipay/team/wufuc.svg)](https://gratipay.com/wufuc/) + +[![Click here to lend your support to wufuc and make a donation at pledgie.com !](https://pledgie.com/campaigns/34055.png)](https://pledgie.com/campaigns/34055) + +Disables the "Unsupported Hardware" message in Windows Update, and allows you to continue installing updates on Windows 7 and 8.1 systems with Intel Kaby Lake, AMD Ryzen, or other unsupported processors. + +## Downloads [![](https://img.shields.io/github/downloads/zeffy/wufuc/total.svg)](../../releases) + +### You can get the latest stable version [here](../../releases/latest)! + +If you are feeling brave, you can try the latest unstable builds [here](https://ci.appveyor.com/project/zeffy/wufuc). **Use these at your own risk!** + +## Reporting an issue [![](https://isitmaintained.com/badge/resolution/zeffy/wufuc.svg)](https://isitmaintained.com/project/zeffy/wufuc) + +See [CONTRIBUTING.md](CONTRIBUTING.md). + +## Preface + +The changelog for Windows updates KB4012218 and KB4012219 included the following: + +> Enabled detection of processor generation and hardware support when PC tries to scan or download updates through Windows Update. + +These updates marked the implementation of a [policy change](https://blogs.windows.com/windowsexperience/2016/01/15/windows-10-embracing-silicon-innovation/) they announced some time ago, where Microsoft stated that they would not be supporting Windows 7 or 8.1 on next-gen Intel, AMD and Qualcomm processors. + +It is essentially a big middle finger to anyone who decides to not "upgrade" to the steaming pile of :shit: known as Windows 10, especially considering the extended support periods for Windows 7 and 8.1 won't be ending until January 4, 2020 and January 10, 2023 respectively. + +This has even affected people with older Intel and AMD processors! I've received user reports of the [Intel Atom Z530](../../issues/7), [Intel Core i5-M 560](../../issues/23), [Intel Core i5-4300M](../../issues/24), [Intel Atom D525](../../issues/34), [Intel Pentium B940](../../issues/63), and [AMD FX-8350](../../issues/32) all being blocked from receiving updates. + +## Bad Microsoft! + +If you are interested, you can read my original write up on discovering the CPU check [here](../../tree/old-kb4012218-19). + +## How it works + +Basically, inside a file called `wuaueng.dll` there are two functions: [`IsDeviceServiceable(void)`](https://gist.github.com/zeffy/e5ec266952932bc905eb0cbc6ed72185) and [`IsCPUSupported(void)`](https://gist.github.com/zeffy/1a8f8984d2bec97ae24af63a76278694). `IsDeviceServiceable(void)` is essentially a wrapper around `IsCPUSupported(void)` that caches the result it receives and recycles it on subsequent calls. + +My patch takes advantage of this result caching behavior by setting the "first run" value to `FALSE` and the cached result to `TRUE`. + +- At system boot the wufuc scheduled task runs as the `NT AUTHORITY\SYSTEM` user. +- `wufuc` determines what service host group process the Windows Update service runs in (typically `netsvcs`), and injects itself into it. +- Once injected, it applies a hook to `LoadLibraryEx` that automatically patches `wuaueng.dll` when it is loaded. +- Any previously loaded `wuaueng.dll` is also patched. + +### Several improvements over my batchfile method: + +- **No system files are modified!** +- Heuristic-based patching, which means it will usually keep working even after new updates come out. +- C is best language. +- No external dependencies. + +## Q & A + +### How to install/uninstall? + +Just download the [latest release](../../releases/latest), and extract the `wufuc` folder to a permanent location (like `C:\Program Files\wufuc`) and then run `install_wufuc.bat` as administrator. + +To uninstall run `uninstall_wufuc.bat` as administrator. + +### How to update when a new version comes out? + +Unless otherwise noted, you should only have to: + +- Run `uninstall_wufuc.bat` as administrator. +- Copy the new files into the install folder, overwriting the old ones. +- Run the new `install_wufuc.bat` as administrator. + +### How do I remove your old patch and use this instead? + +I've included a utility script called `repair_wuaueng.dll.bat`. When you run it, it will initiate an `sfc` scan and revert any changes made to `wuaueng.dll`. From 51ccdafbeb7b9f213b804b073c9352408998ea94 Mon Sep 17 00:00:00 2001 From: Alexey Min Date: Sun, 2 Jul 2017 16:14:48 +0500 Subject: [PATCH 2/4] Russian translation for CONTRIBUTING.md --- CONTRIBUTING.ru-RU.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 CONTRIBUTING.ru-RU.md diff --git a/CONTRIBUTING.ru-RU.md b/CONTRIBUTING.ru-RU.md new file mode 100644 index 0000000..cc88b25 --- /dev/null +++ b/CONTRIBUTING.ru-RU.md @@ -0,0 +1,21 @@ +# Contributing guidelines + +## Reporting an issue [![](https://isitmaintained.com/badge/resolution/zeffy/wufuc.svg)](https://isitmaintained.com/project/zeffy/wufuc) + +#### Before you create an issue, please make sure of the following: + +- Are you using at least the [latest stable version](../../releases/latest)? +- If you previously used any of the old batchfile patches, did you revert it by running `repair_wuaueng.dll.bat`? +- Have you tried restarting your computer? + +#### After you've confirmed those things, please create an issue and include the following information: + +- Navigate to where you installed wufuc, and attach all the `*.log` files to your issue. +- What build are you using? Stable release or unstable AppVeyor builds? +- What is the file version and/or SHA-1 hash of `C:\Windows\System32\wuaueng.dll`? +- Any other information you feel is relevant to your issue. + +## Closure policy + +- Issues that don't have the information requested above (when applicable) will be closed immediately and the poster directed to the contributing guidelines. +- Issues that go a week without a response from original poster are subject to closure at my discretion. From 9ba77527f9323283125fc6088d017a31580e4946 Mon Sep 17 00:00:00 2001 From: Alexey Min Date: Sun, 2 Jul 2017 16:16:11 +0500 Subject: [PATCH 3/4] README.ru-RU: fix link to translated CONTRIBUTING.md --- README.ru-RU.md | 76 ++++++++++++++++++++++++------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/README.ru-RU.md b/README.ru-RU.md index 178de1f..b3f6318 100644 --- a/README.ru-RU.md +++ b/README.ru-RU.md @@ -1,69 +1,69 @@ # wufuc [![](https://ci.appveyor.com/api/projects/status/0s2unkpokttyslf0?svg=true)](https://ci.appveyor.com/project/zeffy/wufuc) [![Click here to tip wufuc on Gratipay!](https://img.shields.io/gratipay/team/wufuc.svg)](https://gratipay.com/wufuc/) -[![Click here to lend your support to wufuc and make a donation at pledgie.com !](https://pledgie.com/campaigns/34055.png)](https://pledgie.com/campaigns/34055) +[![Нажмите сюда, чтоюы поддержать wufuc пожертвованием на pledgie.com !](https://pledgie.com/campaigns/34055.png)](https://pledgie.com/campaigns/34055) -Disables the "Unsupported Hardware" message in Windows Update, and allows you to continue installing updates on Windows 7 and 8.1 systems with Intel Kaby Lake, AMD Ryzen, or other unsupported processors. +Отключает сообщение "Оборудование не поддерживается" в Windows Update, и позволяет продолжать устанавливать обновления на системах Windows 7 и 8.1 с процессорами Intel Kaby Lake, AMD Ryzen, и другими не поддерживаемыми. -## Downloads [![](https://img.shields.io/github/downloads/zeffy/wufuc/total.svg)](../../releases) +## Загрузки [![](https://img.shields.io/github/downloads/zeffy/wufuc/total.svg)](../../releases) -### You can get the latest stable version [here](../../releases/latest)! +### Последний стабильный релиз можно скачать [здесь](../../releases/latest)! -If you are feeling brave, you can try the latest unstable builds [here](https://ci.appveyor.com/project/zeffy/wufuc). **Use these at your own risk!** +Храбрецы могут попробовать последний нестабильный билд [отсюда](https://ci.appveyor.com/project/zeffy/wufuc). **Использовать на свой собственный страх и риск!** -## Reporting an issue [![](https://isitmaintained.com/badge/resolution/zeffy/wufuc.svg)](https://isitmaintained.com/project/zeffy/wufuc) +## Как сообщить об ошибке [![](https://isitmaintained.com/badge/resolution/zeffy/wufuc.svg)](https://isitmaintained.com/project/zeffy/wufuc) -See [CONTRIBUTING.md](CONTRIBUTING.md). +Смотри в [CONTRIBUTING.md](CONTRIBUTING.ru-RU.md). -## Preface +## Предисловие -The changelog for Windows updates KB4012218 and KB4012219 included the following: +Список изменений для обновлений Windows KB4012218 и KB4012219 включает следующее: -> Enabled detection of processor generation and hardware support when PC tries to scan or download updates through Windows Update. +> Включено распознавание поддержки поколения процессоров и оборудования когда ПК пытается скачать обновления через Windows Update. -These updates marked the implementation of a [policy change](https://blogs.windows.com/windowsexperience/2016/01/15/windows-10-embracing-silicon-innovation/) they announced some time ago, where Microsoft stated that they would not be supporting Windows 7 or 8.1 on next-gen Intel, AMD and Qualcomm processors. +Эти обновления знаменуют [смену политики](https://blogs.windows.com/windowsexperience/2016/01/15/windows-10-embracing-silicon-innovation/), анонсированную некоторое время назад, где Microsoft объявила, что больше не будет поддерживать Windows 7 или 8.1 для следующих поколений процессоров Intel, AMD и Qualcomm. -It is essentially a big middle finger to anyone who decides to not "upgrade" to the steaming pile of :shit: known as Windows 10, especially considering the extended support periods for Windows 7 and 8.1 won't be ending until January 4, 2020 and January 10, 2023 respectively. +По существу, это то же, что показать средний палец всем, кто решит не "обновляться" до вонючей кучи :shit: , известной как Windows 10, особенно учитывая то, что расширенный период поддержки для Windows 7 не закончится до 4 января 2020 и для Windows 8.1 - до 10 января 2023. -This has even affected people with older Intel and AMD processors! I've received user reports of the [Intel Atom Z530](../../issues/7), [Intel Core i5-M 560](../../issues/23), [Intel Core i5-4300M](../../issues/24), [Intel Atom D525](../../issues/34), [Intel Pentium B940](../../issues/63), and [AMD FX-8350](../../issues/32) all being blocked from receiving updates. +Это затронуло даже людей с более старыми процессорами Intel и AMD! Я видел сообщения от пользователей [Intel Atom Z530](../../issues/7), [Intel Core i5-M 560](../../issues/23), [Intel Core i5-4300M](../../issues/24), [Intel Atom D525](../../issues/34), [Intel Pentium B940](../../issues/63), и [AMD FX-8350](../../issues/32) - на всех них было заблокировано получение обновлений. -## Bad Microsoft! +## Плохая Microsoft! -If you are interested, you can read my original write up on discovering the CPU check [here](../../tree/old-kb4012218-19). +Если вам интересно, можете прочитать мою оригинальную записку об обнаружении проверки на тип процессора [тут](../../tree/old-kb4012218-19). -## How it works +## Как работает этот патчер -Basically, inside a file called `wuaueng.dll` there are two functions: [`IsDeviceServiceable(void)`](https://gist.github.com/zeffy/e5ec266952932bc905eb0cbc6ed72185) and [`IsCPUSupported(void)`](https://gist.github.com/zeffy/1a8f8984d2bec97ae24af63a76278694). `IsDeviceServiceable(void)` is essentially a wrapper around `IsCPUSupported(void)` that caches the result it receives and recycles it on subsequent calls. +Вкратце, в файле под названием `wuaueng.dll` есть 2 функции: [`IsDeviceServiceable(void)`](https://gist.github.com/zeffy/e5ec266952932bc905eb0cbc6ed72185) и [`IsCPUSupported(void)`](https://gist.github.com/zeffy/1a8f8984d2bec97ae24af63a76278694). `IsDeviceServiceable(void)` по сути просто обертка над `IsCPUSupported(void)`, которая кэширует полученный результат и переиспользует его при последующих вызовах. -My patch takes advantage of this result caching behavior by setting the "first run" value to `FALSE` and the cached result to `TRUE`. +Мой патчер пользуется этим, устанавливая флаг "первый запуск" в `FALSE` и кэшированный результат в `TRUE`. -- At system boot the wufuc scheduled task runs as the `NT AUTHORITY\SYSTEM` user. -- `wufuc` determines what service host group process the Windows Update service runs in (typically `netsvcs`), and injects itself into it. -- Once injected, it applies a hook to `LoadLibraryEx` that automatically patches `wuaueng.dll` when it is loaded. -- Any previously loaded `wuaueng.dll` is also patched. +- При старте системы назначенное задание wufuc запускается от имени пользователя `NT AUTHORITY\SYSTEM`. +- `wufuc` определяет группу служб, под которой выполняется процесс Windows Update (обычно `netsvcs`), и внедряется в неё. +- После внедрения применяется перехват `LoadLibraryEx`, который автоматчиески патчит `wuaueng.dll` при загрузке. +- Любая загруженная до этого `wuaueng.dll` тоже патчится. -### Several improvements over my batchfile method: +### Несколько преимуществ перед методом batch-файла: -- **No system files are modified!** -- Heuristic-based patching, which means it will usually keep working even after new updates come out. -- C is best language. -- No external dependencies. +- **Нет модификаций в системных файлах!** +- Эвристический патчер - продолжит работать (я надеюсь) даже после выхода новых обновлений. +- C - лучший язык! +- Нет внешних зависимостей. -## Q & A +## Вопросы и ответы -### How to install/uninstall? +### Как установить/удалить? -Just download the [latest release](../../releases/latest), and extract the `wufuc` folder to a permanent location (like `C:\Program Files\wufuc`) and then run `install_wufuc.bat` as administrator. +Просто скачайте [последний релиз](../../releases/latest), распакуйте папку `wufuc` куда-нибудь в надежное место (наподобие `C:\Program Files\wufuc`) и запустите `install_wufuc.bat` от имени Администратора. -To uninstall run `uninstall_wufuc.bat` as administrator. +Для удаления запустите `uninstall_wufuc.bat` от имени Администратора. -### How to update when a new version comes out? +### Как обновиться на новую версию? -Unless otherwise noted, you should only have to: +Если не указано иного, всё просто: -- Run `uninstall_wufuc.bat` as administrator. -- Copy the new files into the install folder, overwriting the old ones. -- Run the new `install_wufuc.bat` as administrator. +- Запустите `uninstall_wufuc.bat` от имени Администратора. +- Скопируйте новые файлы в папку установки, перезаписывая поверх старых. +- Запустите новый `install_wufuc.bat` от имени Администратора. -### How do I remove your old patch and use this instead? +### Как удалить ваш старый патчер и воспользоваться этим? -I've included a utility script called `repair_wuaueng.dll.bat`. When you run it, it will initiate an `sfc` scan and revert any changes made to `wuaueng.dll`. +Я включил в дистрибутив вспомогательный скрипт `repair_wuaueng.dll.bat`. Он запустит сканирование `sfc` и откатит любые изменения, сделанные в `wuaueng.dll`. From 4aef70b58b830c1d79534475645e25f3090f87de Mon Sep 17 00:00:00 2001 From: Alexey Min Date: Sun, 2 Jul 2017 16:20:34 +0500 Subject: [PATCH 4/4] Russian translation for CONTRIBUTING.md (again) --- CONTRIBUTING.ru-RU.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/CONTRIBUTING.ru-RU.md b/CONTRIBUTING.ru-RU.md index cc88b25..a3493fc 100644 --- a/CONTRIBUTING.ru-RU.md +++ b/CONTRIBUTING.ru-RU.md @@ -1,21 +1,21 @@ -# Contributing guidelines +# Инструкция для тех, кто желает помочь, внести вклад -## Reporting an issue [![](https://isitmaintained.com/badge/resolution/zeffy/wufuc.svg)](https://isitmaintained.com/project/zeffy/wufuc) +## Сообщайте об ошибках [![](https://isitmaintained.com/badge/resolution/zeffy/wufuc.svg)](https://isitmaintained.com/project/zeffy/wufuc) -#### Before you create an issue, please make sure of the following: +#### Перед созданием баг-репорта убедитесь, что: -- Are you using at least the [latest stable version](../../releases/latest)? -- If you previously used any of the old batchfile patches, did you revert it by running `repair_wuaueng.dll.bat`? -- Have you tried restarting your computer? +- Вы используете [последнюю стабильную версию](../../releases/latest); +- Если вы пользовались предыдущей версией (.bat-патчером), убедитесь, что вы откатили его, запустив `repair_wuaueng.dll.bat`; +- Вы пытались перезагружать компьютер. -#### After you've confirmed those things, please create an issue and include the following information: +#### После проверки и подтверждения вышеизложенных пунктов, создавайте баг-репорт и включите в него следующую информацию: -- Navigate to where you installed wufuc, and attach all the `*.log` files to your issue. -- What build are you using? Stable release or unstable AppVeyor builds? -- What is the file version and/or SHA-1 hash of `C:\Windows\System32\wuaueng.dll`? -- Any other information you feel is relevant to your issue. +- Зайдите в папку установки wufuc, и прикрепите все `*.log`-файлы к репорту. +- Какой билд вы используете? Стабильный релиз или нестабильный билд с AppVeyor? +- Какая версия и/или SHA-1 хеш-сумма файла `C:\Windows\System32\wuaueng.dll`? +- Любую другую информацию, которая может относиться к вопросу. -## Closure policy +## Политика закрытия репортов -- Issues that don't have the information requested above (when applicable) will be closed immediately and the poster directed to the contributing guidelines. -- Issues that go a week without a response from original poster are subject to closure at my discretion. +- Сообщения без запрошенной информации (см. выше) будут закрыты немедленно и докладчик будет направлен сюда, читать эту инструкцию. +- Сообщения, висящие без ответа от оригинального докладчика более недели подлежат закрытию на моё усмотрение.