[Teclast X98 Air 3G] keepfishes:
DUAL BOOT STEP BY STEP TUTORlAL

Link to ORIGINAL POST (do check to see which is edited later and use the newer version): HERE

WARNING: TESTED ON C6J6 ONLY. For C8J7, there are some additional pointers along the way, do look out. All files in this tutorial are by default for C6J6, unless otherwise stated.

PLEASE, PLEASE, I'M BEGGING YOU GUYS, I HIGHLY RECOMMEND READING THROUGH THE WHOLE POST FIRST BEFORE TOUCHING YOUR TABLET TO PREVENT ERRORS, OR WORSE, BRICKING THE WHOLE THING

Tutorial (all for dual boot BIOS only):

Dual boot BIOS benefits:

Fixes 60Hz refresh rate for Windows 32 bit system

Drawbacks:

BIOS settings very little

No boot menu (so no easy way to reinstall Windows with a USB drive)

Time in Windows will mess up when using dual OS

The flashing process is roughly as such:

Many of us have different start points, some are coming from Android, some from Windows, but it does not matter. First thing is to flash with dual boot BIOS, which is most important.

WARNING: (Be very careful, this part may brick your device. After you get past here, you can practically do anything you want and there is almost no risk of bricking your device, so pay attention here!)

Get dual boot BIOS files here (both C6J6 and C8J7): http://pan.baidu.com/s/1sjK4Zbn

Extract the BIOS "完美双系统BIOS.7z" and copy the contents to the tablet.

Note the filepath on the tablet, you will need it later.

1a) Flash BIOS from existing Android system

NOTE:

If your existing Android version is 4.4.4, you can use the "UpdateIFWI.apk" that was installed on the system to flash the BIOS.

If Android version is 4.4.2 on C6J6 and there is an "UpdateIFWI.apk" on it, there have been reports that it does not flash properly. (as reported by [MENTION=6140461]ambrosio5[/MENTION])

Current advice is to update to 4.4.4 before proceeding. For instructions on how to upgrade to 4.4.4 from other previous Android versions, see FAQ 7 below.

From the tablet itself, run “UpdateIFWI.apk”, select "Browser" and point it to the filepath of the BIOS named "X98Air3GDuala.bin''.

STOP: Make sure you have at least 50% battery and chose the correct file! If this fails, it might BRICK!

Now flash the BIOS.

1b) Flash BIOS from existing Windows system

From the tablet itself, RUN AS ADMIN the .bat file in the folder (the one with chinese words) provided.

After you see the Green line “FPT Operation passed”, it’s good news.

Now reboot the system and you will be taken to the BIOS screen. Just igonore it and press power button for 10 seconds to turn it off.

2) Installing ANDROID first (must be done before Windows)

Now we need to FIRST install ANDROID. This step will wipe out your whole tablet (INCLUDING ALL PREVIOUS WINDOWS AND ANDROID PARTITIONS AND DATA)

ON ANOTHER PC (not tablet), download the Android 4.4.4 Lite ROM here:

https://mega.co.nz/#!KI8T0bBb!Pv25K1Rh0MJvXSCYQEC8P8l1mbsZQRgG6q5-XezP_aI

OR

SUPERCOWS ANDROID 4.4.4 C6J6, C6J7, C7J8 ROM For Both: https://mega.co.nz/#!zVdgWJyS!Vh7zGqX6NcYgXrCf-5v_qmEReZXuicvGzw6h1u5OnGo

OR

USE ANY OTHER ROM YOU WISH

Download this modified "partition.tbl" file from the Chinese: http://pan.baidu.com/s/1qWnxc4G

Inside are two folders, the 5000 one is 5GB Android space, the 8000 one is 8GB Android space. I personally used 5GB, because I want to leave more space for Windows.

Download and install Notepad++, we need to edit "partition.tbl" file below, the Notepad.exe and Wordpad.exe built in on Windows DOES NOT SAVE THE FILE CORRECTLY AND WILL NOT WORK!

Extract the contents of the ROM to a folder. You should see a "partition.tbl" file inside.

This file controls how the 32GB eMMC in the tablet will be partitioned in this step.

Copy the "partition.tbl" file FROM the Chinese download (either 5000 or 8000) TO the Android ROM folder that you extracted. Replace the original "partition.tbl" file that came with the ROM.

Edit the "partition.tbl" file in the Android ROM folder, find the second last line, which is "add -b 5931048 -s 10240000 -t data -u 80868086-8086-8086-8086-000000000008 -l data -T 0 -P 0 /dev/block/mmcblk0"

and change the highlighted number to the value of user space you want in Android. The number is a multiple of 2048, so let's say if I want 500MB user space, I would have to multiply 500MB x 2048 = 1024000 and input "1024000".

I tried 300MB but it was too small, I think 500MB would be good if you're planning to use more Windows. Save the file!

Credits to FRONTIER for Android ROM flashing instructions (I made a number of changes):

The tools of the platform upgrade Intel (Intel Manufacturing Tools). These are available in two versions, the newer and older . Start with the newest and if do not work on your computer, install the older version. Only one version must be installed on your computer.

- Unzip the downloaded Intel Manufacturing Tools. Inside the folder, you will find some executables. RUN THEM IN THE FOLLOWING ORDER WITH ADMIN RIGHTS:

1) iSocUSB-Driver-Setup-xxxexe: During the installation, DO NOT PLUG IN YOUR TABLET. Near the end of the install, there will be a text asking saying that you need to plug in tablet and power cycle to complete installation. ONLY PLUG IN YOUR TABLET THEN, and do as the instruction says. After you're done, click Finish. After install, you should see Intel SOC device in your device manager.

2) IntelAndroidDrvSetupx.xxexe: Plug in your tablet, and MAKE SURE that your computer RECOGNISES your tablet. You will see unknown ADB device if you plug in the tablet. Now run this program as ADMIN, this will install the ADB driver for the unknown device. In device manager, if it still shows unknown device after install, manually update the driver in device manager and browse to the install directory of the driver, it will then install the driver from there.

3) ManufacturingFlashTool_Setup_x.xxexe: Install with ADMIN rights, this will install the Flash tool with the Lightning icon, which is the GUI interface we use to flash our tablet.

4) Copy the file "CUSTOM_CONFIG.INI" from the downloaded folder into the install folder of IMT (the default is C: \ Program Files \ Intel \ Manufacturing Flash Tool).

5) Remove the microSD card from tablet.

6) Run Intel Manufacturing Tools (the one with Lightning icon), In the Settings menu, change the VID and PID values to this, then click apply and OK:

If you're using Windows XP, your VID and PID values may be different to the ones shown. Check the instructions on Post #2 on how to get the values.

View attachment 3051023

7) Close the IMT application and launch it again. Go to the menu File -> Open. There, choose the folder of ROM you want to flash, find the file "flash.xml" and open it. The "flash.xml" file which tells IMT how to flash the tablet's eMMC.

-----------------------------------------------------------------------------------------------------------------

(IF YOU ARE USING SUPERCOWS Android 4.4.4 C6J6 and C7J8 ROM, here are his instructions:

flash with ManufacturingFlashTool

for C6J6 open in ManufacturingFlashTool :

flashC6J6-4GB.xml or flashC6J6-8GB.xml

for C8J7 open in ManufacturingFlashTool :

flashC8J7-4GB.xml or flashC8J7-8GB.xml

this last action dedicate 4 or 8 gb of rom space for Android and you can install windows in 18.5 or22.5 gb free rom space.

Then reinstall Android rom as before (open manufacture flash tools and select flash.xml)

After install android rom you can install windows as before (using bootable windows usb disk and select 18.5 or 22.5gb rom free))

-----------------------------------------------------------------------------------------------------------------

8) Turn off the tablet holding the POWER button for 10 seconds.

- Run Intel Manufacturing Tool as administrator.

- On the tablet, hold the VOL +, VOL- and POWER until you see the "Entering DnX mode. Waiting for fastboot command..."

- Connect the USB cable to the computer and flashing will start.

- After progress bar is green and 100%, hold down power button for 10 seconds to turn off tablet.

If the progress bar turns red, take note of the percentage that it stopped at, and refer to FAQ 1 below.

After finishing these steps, Android is now installed on the tablet, and if you power it up, you can see the dual boot menu with the Android logo.

If you're happy with ANDROID only without Windows, you can stop here and just boot into Android! You can go on to do the Google play store fix and others...

3) Installing Windows

If you plug in your USB drive via the OTG cable and boot up, you will see the boot menu with an Android icon and a small Windows icon. (If you don't see the boot menu at all, shut down the tablet and press Vol + and Power button until the boot menu appears.)

This small Windows icon is the only way to get the BIOS to boot into your USB drive to install Windows. This dual boot BIOS has no boot menu, and in the BIOS there is no option to select to boot from USB, so this is the only way to boot to a USB drive that I know of so far...

(If you already have a USB stick prepared, skip this section in BLUE)

Preparing your Windows USB Stick:

You can install Windows via the traditional method which involves the GUI (in which case you will need an OTG HUB to plug in the USB Drive and mouse together) OR you can use a downloaded wimboot image (no need for HUB and mouse, just a thumbdrive will do).

Whatever the case, make sure your USB Drive is formatted as FAT32! Very important!

I used this wimboot image that automatically uses WinPE to get through the whole install process automatically without needing a single mouse click, which also has all the drivers and everything installed and working properly:

Waiting for repost on mega...

Link: http://pan.baidu.com/s/1hqIfAle

password: zhec

SUPERCOWS Win 8.1 version: https://mega.co.nz/#!OV9BxA5K!2z04ttREkvtdDX9nFLsZ_AVQeJDpojgnPc41o9RiAlg

Extract the downloaded files and then copy all the contents into the root of the USB Drive. NO NEED FOR RUFUS!

If you are not using the above images, and use other Windows ISO or images as found in Page 1 or if you want to make your own images, you will need this software RUFUS: https://rufus.akeo.ie/

Follow tutorial here on creating the USB Drive: http://www.techverse.net/how-to-create-bootable-usb-flash-drive-install-windows-8-1/

If your Windows doesn't come with drivers, you can download them from here and install them:

https://mega.co.nz/#!tJdHCIAT!agSun8Wa1tOx_3tL8YMuS19j1i5wWG2WUJPprmTbTCs

Plug in the USB drive via OTG cable or HUB, and choose the small Windows icon until it turns blue, then hit the grey button below and Windows installation should start.

If it asks you for which partition to install to, you will see a great many partitions there (due to Android), don't worry, it is normal. Typically you will install Windows to the largest available partition. (Unless you set the Android user space partition in the "partition.tbl" file previously to be huge)

DO NOT TOUCH ANY OF THE ANDROID PARTITIONS, IT WILL DESTROY THE ANDROID SYSTEM!

Everything should go smoothly from here and you can remove your OTG cable and USB drive once Windows starts asking for your User Name.

4) Final Steps

One last step. Thanks to Android, we have to hide the Android partitions from Windows, because when we open "This PC", Windows will attempt to mount all the partitions and cause the whole thing to hang.

So, go to control panel, administrative tools, computer management, then Storage, then for each of the RAW partitions that belong to Android, right click and choose "change drive letters" and choose "remove", then OK. Repeat for the rest of the partitions, leaving the C: drive alone. DO NOT DELETE ANY PARTITIONS OR ANDROID WILL NOT WORK!

Note: For people who only want to install Windows and don't want Android but still want the dual boot BIOS (due to the 60Hz refresh rate), I have tried it and it works. What you need to do is to follow this tutorial exactly, but REPLACE STEP 2 WITH THE ONE BELOW:

STEP 2) This step will wipe out your whole tablet (INCLUDING ALL PREVIOUS WINDOWS AND ANDROID PARTITIONS AND DATA)

Yes, even though we are not installing Android, we need this step still:

ON ANOTHER PC (not tablet), download the Android 4.4.4 Lite ROM here: https://mega.co.nz/#!KI8T0bBb!Pv25K1Rh0MJvXSCYQEC8P8l1mbsZQRgG6q5-XezP_aI

OR

USE ANY OTHER DOWNLOADED ROM AS YOU WISH

Download this modified "partition.tbl" file from the Chinese: http://pan.baidu.com/s/1qWnxc4G

Download and install Notepad++, we need to edit "partition.tbl" file below, the Notepad.exe and Wordpad.exe built in on Windows DOES NOT SAVE THE FILE CORRECTLY AND WILL NOT WORK!

Extract the contents of the ROM to a folder. You should see a "partition.tbl" file inside.

This file controls how the 32GB eMMC in the tablet will be partitioned in this step.

Copy the "partition.tbl" file FROM the Chinese download from the 5000M folder TO the Android ROM folder that you extracted. Replace the original "partition.tbl" file that came with the ROM. Edit the "partition.tbl" file in the Android ROM folder, find the second last line, which is "add -b 5931048 -s 10240000 -t data -u 80868086-8086-8086-8086-000000000008 -l data -T 0 -P 0 /dev/block/mmcblk0"

and change the highlighted number to 2048. Save the file!

Open "flash.xml" with Notepad++.

DELETE this chunk:

<code_group name="system">

<file TYPE="system">

<name>system.img</name>

<version>eng.yankendi</version>

</file>

</code_group>

AND THIS CHUNK BELOW:

<command>

<string>fastboot flash system $system_file</string>

<timeout>420000</timeout>

<retry>2</retry>

<description>Flashing 'system' image.</description>

<mandatory>1</mandatory>

</command>

Then save the file.

Follow the post on the FIRST PAGE HERE, scroll down and start from this part onwards“WINDOWS 8.1 => ANDROID PROCEDURE (thanks to Frontier)” until the end (stop at "GOOGLE PLAY STORE FIX (thanks to Frontier)"). READ BELOW FIRST:

Because we have already done certain steps, we can ignore some parts:

PARTS TO IGNORE:

Under the "Required materials" section

IGNORE: “- The Android DnX BIOS (or Android BIOS) from here “

If you wish, you can use Android 4.4.4 lite ROM in place of the 4.4.2 ROM as proposed here.

Under the "From Windows host -> Android guest (conversion to Android tablet)" section

IGNORE all these: (because we have already flashed BIOS)

- Unzip the Android DnX BIOS directly into the Windows installation on X98 Air 3G.

- Run with administrative rights (from command line) flash.bat file inside the folder BIOS_X98_Air_3G_android. H process starts with the completion of the installation DnX BIOS displays the message "FPT Operation Passed".

After finishing the steps, you can power it up, you can see the dual boot menu option with the Android logo and a very small Windows icon. Continue and follow STEP 3 in the guide. You can partition your 32GB eMMC in the Windows setup to remove all previously created Android partitions and make it into one large Windows partition to install Windows.

FAQ

1)Q: While in Intel Manufacturing Tools and trying to flash, the progress bar is stuck at X%

At 0%: Well, reconnect your device again, check your VID and PID values in settings, check if your drivers are properly installed, replace a cable if it is faulty, check that you're in DNX mode, basically, the flashing didn't even start.

At 5%: Mostly due to the fact that "Custom_config.ini" was not copied to the IMT directory, or there are some other programs that is blocking the progress, try changing a computer and flash again.

At 10 or 11%: Mostly due to wrong settings or parameters, check Device Manager in Windows for any missing drivers, check that the downloaded ROM is not damaged, or that the tablet is not already bricked. Also, this software is very sensitive to the USB port that it was first installed on, so try plugging it back to the same USB port that you plugged it during the install process. (Yes, you have to plug the device in during the install process, if you missed this out, uninstall all the drivers and redo the installation properly.)

At 89 or 90%: The files written at this stage are larger, so it might take a while longer, but if it is really stuck here, probably the USB cable is faulty. Replacing a cable and flashing again should solve the problem, or just simply leave the tablet and cables still (do not move them around) and try again. Also, you can try increasing the timeout values in the Flash tool.

At any other points: Might be due to faulty cables, or simply just try again!

2) Q: I flashed android bios, now I can not get in to droidboot mode by pressing Vol + and POWER. The tablet always gets into EFI shell command interface. I can only get to DnX mode by pressing VOL+ , VOL- and POWER. Any solutions?

A: Follow this steps valid for C6J6 and C8J7 model :

Open Intel manufacturing tools,then open file menu and go to the settings.

Put this value to SoC Devices: VID: 8087 PID:0A65

Put this value to Androird Device: VID: 8087 PID: 09EF

Click on apply and then on ok.

Disconnect the USB cable from the tablet and turn off your tablet (important)

Download the Android 4.4.4 ROM for C6J6 and C8J7 by supercows (link above)

Then in Intel Manufacturing Tool and go to the menu File -> Open. There, choose the folder of X98 Air 3G (C8J7.C6J6) lite 4Gb or 8GB and choice "flash.xml" for your device 4Gb or 8GB and open it.

Keep pressed VOL +, VOL- and POWER button until the tablet go to the dnx mode

Connect the USB cable and Intel Manufacturing Tool begins the process of flashing Android ROM.

Wait until the process is complete.

Disconnect the tablet from the USB and and turn off your tablet .

Connect the usb keyboard to the tablet and turn on your tablet, you could get shell command error again

Just type exit and you see the tablet go to the android version

When go to the android you must change your bios with ifwiupdate and you can flash dualboot bios or new android bios from first post

3) Q: I have problems getting into Android from the dual boot menu! Windows is okay.

A: If there are any problems getting into Android from the dual boot menu, change this option in the BIOS. Change "Boot Architecture" to "OS Boot Menu Only".

4) Q: After shutting down the table in Windows, it takes very long before I can power it on again.

A: Turn off "Fast Startup" option in Windows Power Options. Another way is to navigate to "C:\Windows\System32", find "SlidetoShutDown.exe" and use that to shut down.

5) Q: The time in Android and Windows is not synchronised!

A: Go to "Run", type in "regedit", then navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation

Add in a new REG_DWORD, "RealTimeIsUniversal" and set its value to 1

6) Q: I plugged the tablet into the charger and it shows as charging but after a while I noticed that the battery percentage dropped!

A: Check the cable, it should be of good quality and as short as possible. Original teclast cable is good, not too long and thick enough. Best to use short cable of 5cm. This is due to high current and low voltage of the tablet.

7) Q: I'm on Android 4.4.2 and this tutorial needs me to upgrade to 4.4.4. How?

A: Go to post #2, download the 4.4.4 ROM from there, start by following the tutorial from the line "WINDOWS 8.1 => ANDROID PROCEDURE (thanks to Frontier)" onwards all the way until you reach GOOGLE PLAY STORE FIX (thanks to Frontier). If you see the line "From Windows host -> Android guest (conversion to Android tablet)" in the tutorial, do not worry, because this process is used for both purposes, from Android to Android or Windows to Android, both are applicable.

8) Q: I flashed my tablet to dual boot OS already, but now I want to reinstall only one OS! How can I do it without having to reinstall everything?

A: If you want to reinstall Android only (leaving Windows unharmed):

One way is to flash just "system.img" through the Intel Manufacturing Tools (try this way first).

Download from here the zip named "ONLY FLASH system.img": http://1drv.ms/1s8dci8

Replace the "flash.xml" in your ROM folder with the one in this version.

Then flash as per normal using IMT.

This "flash.xml" will instruct the IMT to flash only the "system.img" file which is Android OS.

If that doesn't work, we will try flashing all components of the ROM without re-partitioning the whole eMMC,

Download from here the zip named "ONLY FLASH ANDROID PARTITIONS": http://1drv.ms/1s8dci8

Replace the "flash.xml" in your ROM folder with the one in this version.

Then flash as per normal using IMT.

If you want to reinstall Windows only (leaving Android unharmed):

Prepare your USB Drive with the Windows image.

Boot into Windows first, then restart and plug in the OTG cable, USB HUB, keyboard, and USB Drive.

Enter BIOS by pressing "ESC" key during boot and under the "Save and Exit" menu, scroll down to the "Boot Override" option, find the USB drive and select it to boot from it. The BIOS will boot into the USB Drive and Windows install should start.

9) Q: Help! My touchscreen is inverted!

A: (Thanks to [MENTION=5695877]krisbliz[/MENTION]):

1. Download the files from [MENTION=5695877]krisbliz[/MENTION] post here, and copy the files into C:\Windows

2.now run gpedit.msc

3.computer configuration

4.scripts (startup/shutdown)

5.startup

6.add

7.browse for reset driver.bat

MANY CREDITS GO OUT TO: supercowz, mohamad_skiller, ro11er, Frontier and OP petruccig and ALL THE GUYS AT THE CHINESE FORUMS (I first had a sucessful flash following their instructions: http://bbs.teclast.com/thread-259402-1-1.html)

Sorry I couldn't credit everyone within the post itself because it was too tedious and messy.

That's all! ENJOY! If there are any questions feel free to post in the forum. ;) Thanks!

- Keepfishes