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:9 hour(s) ago View:339|Reply:5

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: 43)
Reply

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.
Chuwi Moderator
Reply Support Not support

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 Not support

Use magic Report

eiva| Post time 19 hour(s) ago 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 15 hour(s) ago | 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
Chuwi Moderator
Reply Support Not support

Use magic Report

Motobot| Post time 9 hour(s) ago | 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: 2)
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