ChuWi Forum»Forum Chuwi Download Tutorial [Tutorial] How to compile an install file of the lat ...

Follow Us

[Other] [Tutorial] How to compile an install file of the latest build of Windows 10

[Copy link]

Motobot|Post time:2-21-2018 12:47:32 View:8812|Reply:35

Edited by Motobot at 2-17-2018 06:32

How to compile an install file of the latest build of
Windows 10 for a Chuwi tablet

I would like to reveal the essence of the problem in a few words first.
As you know, Microsoft usually releases its Windows 10 updates every half year. Updating process lasts an infinitely long time and often ends in a failure on your tablet with too small eMMC disk space and minor CPU performance.
Therefore, it's very important to have a ready-made package for a clean Windows installation. But now customers have to face up to other an unpleasant surprise. Every Chuwi' official install file is based on an old Windows build. As soon as you use this file, you will get a new headache as your “new” but obsolete Windows will repeat the painful updating process immediately after clean installation.
It's also problematic to use official Microsoft ISO for a clean installation since it does not contain tablet drivers.
There are two ways to break this vicious circle at least.
Here's the simplest way for those who absolutely do not want to update Windows. Set your Wi-Fi connection as metered in its Properties and you could always keep running the old version of Windows 10 on your tablet without updates. And anyway, while you can’t update your tablet, you can still get security patches. You can read more about this.

Advanced Windows 10 users who want to have the latest version of Windows 10 with new features can create the compiled install file with their native language and all tablet' drivers by themselves. This requires a bit of patience and skill to use the Windows command prompt.
Here's how to create a Windows installation package that's up to date, auto-installing, more compact and far less time-sucking than your original.
First of all, you need to get all currently installed drivers and some OEM files of the factory Windows.


Getting DriverPack of your tablet
1. Create a folder in the root directory of drive C and name it as Drivers.
2. Run PowerShell with Administrator rights (as Admin) and perform the following command (enter the following command and press Enter)
  1. Export-WindowsDriver –Online -Destination C:\Drivers
Copy the Code
PowerShell.png

3. Just wait patiently until this operation is completed.
PowerShell_1.png

Then close the PowerShell and move the Drivers folder to the external media.
If you have no suitable drivers in your current Windows 10 or you can't run Windows on your tablet, then you can download drivers from the Chuwi forum.



Getting Chuwi' OEM files from the factory Windows
1. Just read How to Show Hidden Files and make Windows 10 show hidden files in File Explorer.
2. Find the following folders (Recovery, Panther, OEM):
C:\Recovery
C:\Windows\Panther
C:\Windows\OEM
3. Copy these folders to an external media.
That's it. Next steps take on your external PC with Windows 10. You need enough free space on the drive of the PC. It is desirable for at least 15 GB of free space.



Getting an official install.esd file of Microsoft
You can get the install.esd file in different ways. You can download it using direct links or extract it from a previously downloaded ISO file.
After all, you can create an ISO file using the Microsoft Media Creation Tool.
How To Download Latest Windows 10 ISO Without Media Creation Tool
Select your native language and Home Edition (Core) of Windows 10. You need to choose carefully either a 64-bit or 32-bit Windows architecture appropriate to the version of your earlier obtained drivers. Take a look at your drivers. If there is "x86" in the names of the driver folders, then you should choose a 32-bit architecture. Otherwise, select a 64-bit one.
Usually, some Chuwi tablets with 2GB RAM, like Hi8 pro, Vi8, Vi8 plus, need 32-bit Windows 10.
On the other hand, tablets with 4GB RAM, like Hi10 pro and Hi12, require 64-bit Windows.
1. Double click the ISO file to mount it in File Explorer. The extracted image appears.
2. Find the largest install.esd file in Sources folder and copy it in the root directory of drive X.
3. As operation completed you have to “unmount” the ISO file. Just eject it from a virtual DVD drive.
Alternatively, you can find links and download All-in-One ESD file directly from Microsoft website with full download speed.  Rename the downloaded ESD as install.esd and move it in the root directory of drive X.


Create two temporary folders on the root of the drive X and name them as 1, 2;
Move all previously received drivers from the USB media to the X:\2 folder.
15.png

NB. Hereinafter, X is a letter of your local drive. Do not forget to replace it with your real drive letter in each DISM command.


Compiling your install file
Now you need to get the index number for Windows 10 Home Edition.
1. Run the Command Prompt as Admin and find details for the all-in-one install.esd file with the following DISM command.
Do not forget to put your real drive letter instead of X here and further!
  1. Dism /Get-WimInfo /WimFile:X:\install.esd
Copy the Code
1.png

For example, I found that.
Index: 6
Name: Windows 10 Home
Description: Windows 10 Home
3.png


2. Export the Windows 10 Home edition only and convert ESD to WIM file. So, perform this:
  1. DISM /Export-Image /SourceImageFile:X:\install.esd /SourceIndex:6 /DestinationImageFile:X:\install.wim /compress:fast
Copy the Code
Do not forget to put your real Index Number and your real drive letter instead of X;
4.png


6.png

Just wait patiently for the end of the action. As operation completed you can delete the install.esd file in the root directory of drive X:\  Do not confuse it with the install.wim file!

3. Check the correctness of the previous step by this command
  1. Dism /Get-WimInfo /WimFile:X:\install.wim
Copy the Code

It must be like that:
Index: 1
Name: Windows 10 Home
Description: Windows 10 Home
7.png


4. Mount the image in X:\1 folder with the following DISM command
  1. Dism /Mount-Wim /index:1 /WimFile:X:\install.wim /MountDir:X:\1
Copy the Code

Just wait patiently for the end of the action. As operation completed do not close the Command Prompt window.
10.png


5. Copy the Chuwi OEM files in the mounted image. Just copy the Recovery folder in X:\1. Copy the OEM and the Panther folders in X:\1\Windows.
13.png

It must be like that
X:\1\Recovery
X:\1\Windows\OEM
X:\1\Windows\Panther
12.png


14.png

Do not forget it must be your real drive letter instead of X here and further!


6. Add your drivers in your image with the following DISM command
  1. DISM /image:X:\1 /Add-Driver /driver:X:\2 /recurse /ForceUnsigned
Copy the Code

Just wait patiently for the end of the action.
17.png


7. As operation completed you can save and unmount your image with the following DISM command
  1. Dism /Unmount-Wim /MountDir:X:\1 /Commit
Copy the Code
18.png

Just wait patiently for the end of the action.
As operation completed you can close the Command Prompt window.



You got your compiled install.wim file. Just copy it in the images folder of the original Chuwi install package and replace its original file.
If you have no an original Chuwi install package yet, just download one of these Chuwi WinPE files and unzip it on your external PC.


Chuwi_WinPE_x64.zip        



Choose carefully either an x86 or x64 version, appropriate for your Windows architecture. Copy the install.wim file from the root of drive X in the images folder of the Chuwi WinPE.
Congratulations! You have got a compiled install package for your tablet.



How to compile an install file of the latest build of Windows 10 for a Chuwi tablet.pdf (378.66 KB, Downloads: 497)
Reply

Use magic Report

Motobot| Post time 2-4-2018 08:15:14 | Show all posts
manonegra222 replied at 2-4-2018 16:46
It is a pleasure to have people like you always willing to help and expand our small knowledge with  ...

Hi bro!
Thank you very much for your kind words.
Reply Support 0 Not support 1

Use magic Report

manonegra222| Post time 2-4-2018 05:46:15 | Show all posts
It is a pleasure to have people like you always willing to help and expand our small knowledge with your contributions.
Congratulations for this great tutorial. I will keep it as a guide and hope you can help other forum members.
Reply Support Not support

Use magic Report

eiva| Post time 2-18-2018 00:36:55 From the mobile phone | Show all posts
I tried to do a clean Windows 10 installation on CHUWI 10 Plus (z8350) in accordance with the above instructions. I regret to say that it didn't work. As I boot the tablet from UEFI disk I see, that the eMMC disk is repartioned, the install.vim file is copied by DISM command and I get the confirmation that the script executed successfully. But on the next boot (Windows) the tablet hangs showing CHUWI logo and the windows rotating circle. Repetitive reboot doesn't help.
Reply Support Not support

Use magic Report

manonegra222| Post time 2-18-2018 04:45:22 | Show all posts
eiva replied at 2-18-2018 09:36
I tried to do a clean Windows 10 installation on CHUWI 10 Plus (z8350) in accordance with the above  ...

Have you waited long enough? After the reinstallation, the first boot always takes a pco more.
Anyway, do not worry because you can always reinstall Windows with a bootable pendrive downloaded from Microsoft, or with the existing rooms in the download area of your tablet and then installing the drivers of non-intel devices
Reply Support Not support

Use magic Report

Motobot| Post time 2-18-2018 09:56:33 | Show all posts
eiva replied at 2-18-2018 11:36
I tried to do a clean Windows 10 installation on CHUWI 10 Plus (z8350) in accordance with the above  ...

Hello eiva,
Well, try to find and fix your mistake yourself.
The above instruction is for compilation only.
If you've never flashed Windows before, I recommend carefully read the attached manual first. It's for Chuwi Hi8 Pro, but it fits your Chuwi Hi10 Plus too.
I also recommend you watch the video of the Windows flashing process on the virtual machine.
How to flash Windows 10 on Chuwi Hi8 Pro.pdf (396.86 KB, Downloads: 241)
Reply Support Not support

Use magic Report

fkapsk1| Post time 2-20-2018 02:44:51 | Show all posts
Edited by fkapsk1 at 2-20-2018 03:28

Thanks motobot

I have followed this guide from your answer in my last post.

And I got a lot of help from your guide.

I have a question about the problem I encountered while performing the task.

I have done the following test cases.


Case1. Language En_Windows 10 64bit install.esd + Motobot WINPE 64bit

   Result: Sucess

           At the end of Winpe installation
  
          "Failed to set recovery information"

           Was displayed, but Windows was installed normally.

Case2. Lanaguage Other languages ​​except "En" _ Windows 10 64bit install.esd
            
             (OR Multi Language Windows 64bit 10 ISO Install.esd)

              + Motobot WINPE 64bit

    Result: Fail

                During Winpe installation, the message "Failed to set recovery information" will be displayed, but it will be installed.

                The problem is that Windows 10 does not have any initial preferences.

                 There is no "Gettring Ready" statement, and only the loading under the Chuwi logo is endless.

For the phrase "Failed to set recovery information" during the above test, I saw that Motobot replied that I also modified Main.cmd because of this problem.

And I understood that the modification of the above Main.cmd is the solution to the failure to install using Chuwi Official WINPE. (I did not write this test case.)

The remaining problem is infinite loading that occurs when installing the following files.
- Another install.esd file except for the "En" language
- install.esd extracted from windows 10 64 bit ISO generated by MediaCreationTool
These will not proceed to the initialization screen.


I only succeeded in installing "Language_En install.esd". And the guide includes installation possibilities in other languages. So I ask for advice on the problem that I am working on.


Once again thank you for your guide.

This guide is very fantastic.
Reply Support Not support

Use magic Report

Motobot| Post time 2-20-2018 08:56:52 | Show all posts
Edited by Motobot at 2-20-2018 20:04
fkapsk1 replied at 2-20-2018 13:44
Thanks motobot

I have followed this guide from your answer in my last post.

Hello fkapsk1,
A solution to the "Failed to set recovery information" error has not been found yet. I rather hid it by changing the Main script. Nevertheless, everything works perfectly.
I had no problem compiling ESD files of different languages. It was English, Russian, Dutch.
You can download this All-in-One x64 Korean ESD file of the current version of Windows 10 1709 by the direct link.
Try again and it will turn out.
By the way, it is important to comply with the architecture of both the source ESD file and WinPE.
Good Luck!
Reply Support Not support

Use magic Report

fkapsk1| Post time 2-21-2018 06:43:48 | Show all posts
Motobot replied at 2-20-2018 08:56
Hello fkapsk1,
A solution to the "Failed to set recovery information" error has not been found yet. ...


Thanks for the help motobot

I found the cause of the problem.

It only resolves by excluding OEM, Recovery, Panther folder.

Chuwi official 64bit data, "Chuwi Hi8 Pro Dualboot 64 bit Windows 10 August" is the only thing I know that nothing.

These folders are organized as follows.
Recovery
: Win <-> Android Switch program
  And other files

OEM
: Only one logo image

Panther
: OOBE and setup related files
   I do not know what this folder is.

The problem of installing and using Windows has been resolved.

I do not know what it means to exclude those three folders.

And is it meaningless to put three folders after Windows is installed?

Thanks to your guide, I was able to install a window that saved 3 or 4 GB of space, including a Creator upgrade.

Thank you motobot
Reply Support Not support

Use magic Report

Motobot| Post time 2-21-2018 12:47:32 | Show all posts
fkapsk1 replied at 2-21-2018 17:43
Thanks for the help motobot

I found the cause of the problem.

Hi again,
The exclusion of the folders with initialization scripts and the answer file could not be the solution to your previous problem. Nevertheless, you can flash Windows without these folders too.
Thanks for the info.
Good luck!
Reply Support Not support

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Quick Reply To Top Return to the list