Windows RT Devices GitBook
Discord ServerTelegram ChannelXDA Developers
  • Welcome
  • General
    • README.1ST
    • Frequently Asked Questions
    • Windows RT Devices
  • Operating Systems
    • Windows 10
    • Windows RT
  • Tools
    • Windows Media Builder
    • Office 2013 RT Media Builder
    • Tegra Jailbreak USB
    • CustomePE Media Builder
    • Media Builder Update
    • SignTool
  • Jailbreaks
    • Golden Keys / Longhorn
    • Myriachan
    • UMCI Audit Mode
    • Yahallo
  • Miscellaneous
    • Bare Metal Recovery
    • Boot from USB
    • Clearing eMMC
    • Format USB Drive
    • Saving the Recovery Partition
  • Resources
    • Downloads
      • Device Drivers & Manuals
      • Office
      • Windows
Powered by GitBook
On this page
  • Download
  • Guide
  • All-in-one Output
  • Start-up Script(s)
  • Credits
  1. Tools

CustomePE Media Builder

CustomPE Builder modifies the Windows Recovery Environment from Windows RT 8.1 or Windows 10 Build 15035 to automatically launch a script located outside of the Recovery Environment WIM.

Last updated 8 months ago

Download

  • Download: / - Version 1.00 - 13th September 2023

Guide

No guide currently exists for this tool however a few notes are posted below, those familiar with shouldn't have any issues using it. This was created to assist the developers of Android and Linux for Windows RT devices in investigating the possibility of deploying Android or Linux eMMC images from a Windows Preinstallation Environment however it may also be useful for Windows projects.

All-in-one Output

As well as single device output the CustomPE Media Builder can also create an All-in-one output which will create a WIM with an index for each device, the bootable index can be selected by running Boot_Device_Selection.cmd before booting the USB on the target device. Devices which are included in the All-in-one output can be modified from the settings menu.

Start-up Script(s)

For single device output using the default settings the commands contained in \CustomPE\CustomPE.cmd will be executed, by default this just launches the command prompt however this script can be modified to suit a users requirements.

In the example below the drive letter and path assigned is X:\CustomPE however this may vary so it is best to avoid hardcoding a path, for example if the script needs to launch X:\CustomPE\Example.exe it should be launched using %CD%\Example.exe in the script.

Each device can also have its own specific script by enabling "Include Separate Device Scripts" in settings, this could be useful when combined with with All-in-one output option.

In this example, when "Include Separate Device Scripts" is enabled the \CustomPE\CustomPE.cmd script launches the \CustomPE\Device_Surface2\Surface2.cmd script if Microsoft Surface 2 was was selected as the current bootable index.

Credits

  • 7-Zip - Copyright (C) 1999-2019, Igor Pavlov.

  • GNU Wget - Copyright (C) 1996-2008, Free Software Foundation, Inc.

  • QEMU - Copyright (C) 2003-2021 Fabrice Bellard and the QEMU Project developers. (Thanks to @x86corez & @driver1998)

  • SetACL - Copyright (C) 2012, Helge Klein.

  • Media Builder & Guide - @jwa4.

The appropriate device script is launched automatically for single device output and where All-in-one output is used the script executed corresponds to the selection made in the Boot_Device_Selection.cmd script.

All-in-one output
Archive.org
Mega.nz
Windows Media Builder
CustomPE Media Builder Main Menu
CustomPE Media Builder Settings
CustomPE Media Builder Output
CustomPE Media Builder Boot Device Selection Script.
CustomPE Media Builder Start-up Script (Running in QEMU)
Default Output
Single device output with "Include Separate Device Scripts" Enabled
All-in-one output with "Include Separate Device Scripts" Enabled
Surface 2 Device Script