[Teclast X98 Air 3G] petruccig:
DUAL BOOT DEVELOPMENT​

TUTORIAL VIDEOS

Hendrickson's complete Tutorial

This tutorial cover:

intel mfg tools installation

drivers

flashing

partitions

making a bootable usb drive

windows installation

windows drivers + fixes installation

DEMO VIDEOS

supercowz's Teclast X98 air 3G dual boot

UPGRADE FLOW PROCESS SCHEME(thanks to Petepe10)

upgrade flow process scheme

LAST BIOS

Be very carefull, you could brick your tablet if you use a version of bios not in conformity with your tablet model.I take absolutely no responsibility for damage caused by the flash of the following bios.

C9J8 ( Warning, the tablet could became instable with random rebooting and even if you turned it off you have to wait 2 min to power it again)

mirek190 modified C9J8 bios

AIR II DUAL (compatible with C6J6)

grigoris_a AIR II DUAL bios

Disclaimer : these proceedings or files are provided "as are" and i'm not responsible for any lost (hardware / software )

I would also like to point out that these procedures have been 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. Is highly recommend reading through the whole post first before touching your tablet to prevent errors, or worse, bricking the whole thing

Install dual boot(C6J6) - KEEPFISHES TUTORIAL (thanks to supercowz, mohamad_skiller, ro11er and Frontier)​

Please before you begin to read this tutorial is better to watch the Hendrickson's complete Tutorial video that show and explain all the needed steps for dual boot implementation.

The original post of keepfishes is here. in case he make some updates and it is not shown in this post

﻿I found that the tutorial on the first page lacked detail and some steps were not shown clearly, so I made a new one that I think is easier to follow for newcomers! Will add screenshots soon.

Dual boot BIOS benefits:

Fixes 60Hz refresh rate for Windows 32 bit system

Probably on old bios there are low voltage settings for GPU that makes some problems with 3D games,after updated to dual bios no problems at all for many users

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:

Click image for larger version

View attachment 3050134

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

View attachment 3048864

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.

View attachment 3048853

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

SUPERCOWZ ANDROID 4.4.4 C6J6 AND 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.

View attachment 3048857

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.

View attachment 3048867

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".

View attachment 3048872

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:

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.

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.

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.

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).

Remove the microSD card from tablet.

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

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 SUPERCOWZ 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..."

Click image for larger version

View attachment 3048873

- 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.

Click image for larger version

View attachment 3048876

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.

Click image for larger version

View attachment 3048880

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

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/

Remember to use MBR for UEFI, not GPT!

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

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

Here also a Windows 8.1 PRO version with drivers and English/French language pack (thanks to supercowz):

Win 8.1 PRO with driver and eng/fr language pack

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.

For dual boot FAQ click here

INVERTED TOUCH FIX UNDER WINDOWS (thanks to krisbliz)​

You can use the DevManView to restart the "Goodix Touch HID" before the windows logon screen and everything working perfect again.

Here are the steps:

Download the file "disable enable touch driver.rar" attached to this post

So first copy the extracted files in Windows dir

Now run gpedit.msc

Computer configuration

Scripts (startup/shutdown)

Startup

Add

browse for reset driver.bat

Then reboot to test.

SPACE PROBLEMS IN WINDOWS 8.1 AFTER WINDOWS UPDATE (thanks to jcespi2005)​

Follow these istructions to clean WinSxS folder:

http://www.eightforums.com/tutorials/44351-winsxs-folder-component-store-clean-up-windows-8-1-a.html

SLEEP PROBLEM IN WINDOWS 8.1 (thanks to sasort)​

Follow these istructions:

First open cmd as admin and check status with this command:

powercfg /sleepstudy

It should give you this reply:

No connected standby traces available. Report not generated.

Now start regedit an go here:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power

Change the value of the key CsEnabled from 1 to 0 and reboot.

(1 means connected standby enabled and 0 disabled.)

After reboot.

Now go to the control panel and select Energy, under Advanced there will be many new settings.

Don´t change anything, just select save settings.

Then with regedit change the CsEnabled key back to 1 and reboot again.

Open cmd as admin and again check status with the command:

powercfg /sleepstudy

It should now work and create a sleepstudy-report.html and the sleep function now works as expected.

MANAGE APP UNDER ANDROID (thanks to jcespi2005)​

You can use link2sd to move app, libs and data, and FolderMount to link and move OBB and SD data to microSD

BATTERY DRAIN FIX UNDER WINDOWS (thanks to vpx)​

The main problem is very old (year 2006) driver of "Intel SD Host Controller", they are 3 in Device manager. Only thing what you need is update driver.

start Computer Management (hold My Computer and select Manage)

select Device management

find SD Controllers, if you click on it, there are 3 "Intel SD Host Controller"s

hold on every one controller, select "Update Driver", select driver from computer, and there is another option "SDA Standard Compliant SD Host Controller", install driver, confirm restart of computer after last update install

reboot

WIFI FIX UNDER WINDOWS (thanks to Hendrickson)​

If you see that ping on windows is very strange,sometimes i have lost packets and ping time is not stable try this fix: techtablets repository

BATTERY CALIBRATION FIX UNDER ANDROID (thanks to Hendrickson)​

Try this, download and run advanced battery calibrator from Play and Battery Life repair:

Blackmart Studios - Battery riparator

Blackmart Studios - Advanced Battery Calibrator

This seems to have fixed the issue.