FORUMS
Remove All Ads from XDA

[GUIDE] Install and use Ubuntu Touch 16.04 on Teclast tablets [ISO]

526 posts
Thanks Meter: 225
 
Post Reply Email Thread
Our tablets are based on Intel SoC, so we are ablet to run Desktop Os, like Windows 10 but also like GNU/Linux Distros.
The main problem is UEFI on Baytrail tablets (Teclast x98 Air 3G, Air II, Air III), because they use a 32 Bit UEFI, that is really different from classic UEFI (64 Bit, like Teclast x98 PRO and other Teclast running Windows 10 x64).


Three images of my Teclast x98 Air 3G running Ubuntu 16.04 x64, Deepin 15.1 x64 and Xubuntu 16.04 running on eMMC.

But, Linux users and Linux developers are really smart and they provide a compatibility patch to boot 64 bit operating system on a 32 Bit UEFI running on a x64 Tablets (yes, it is not a joke).

My dream is to have a fully working Ubuntu 16.04 with Unity 8 and MIR, in order to have an Ubuntu Touch experience...But, to start people learn how to install it, I made a customized ISO of Ubuntu 16.04 that you can see in the second post.

Remember, you can always turn back to original Teclast Dual OS configuration using my guide:
- [GUIDE] Teclast x98 Air 3G: fresh install Windows 10 and Android with repartitioning

Now, what you need:
- A compatible x64 GNU/Linux distro: please start with My Ubuntu 16.04 customized ISO or XJUbunTAB customized ISO;
- If you use any traditional ISO (and not My own or XJubuntu), remember that you need to download bootia32.efi and put it in Pendrive/EFI/Boot on any 32 Bit UEFI Tablets;
- Rufus to burn the Distro on a Pendrive;
- HUB USB with a Keyboard and Mouse.

Procedure:
1) Burn your ISO on a Pendrive and check if "bootia32.efi" is placed in efi/boot;
2) Plug your HUB with pendrive, keyboard and mouse;
3) Turn on your Teclast by pressing 2-3 seconds power button and start pressing ESC on Keyboard;
4) Go to the last tab of your Bios, find Boot Override option and select your bootable pendrive;
5) In the Grub, select "Try Ubuntu for Teclast" (do not use Install Ubuntu for Teclast), the first time is better to erase all partitions anc create an EFI partition (at least 201 Megabyte), a root partition "/" in the rest of free space, set bootloader on root of hard drive (eMMC) and do not create any other partitions (like SWAP)..See the following image, I've partitioned my Teclast x98 Air 3G using gParted Live:
6) Finish installation and power off the tablet;
7)Restart your Teclast tablet with the same config (HUB with Ubuntu pendrive..), you will probably cannot boot into Ubuntu, just because you need to do an "upgrade Grub"..So, enter in Bios and select Boot override..In the Grub option, press "C"
8) Now you have to find the name of disk and partition where is installed Xubuntu (in my case it was "hd1,gpt2")..So write:
Code:
#ls
Now try to see folders in each partitions, so digit:
Code:
#ls (hdx,gptx)/      <--- (x means a number..)
If you see a file called autorun.inf or a folder called casper/ it would be the USB stick, so try another partition. If you see a file called vmlinuz and one called ignited.img you found the correct pairtion.
9) Now please digit:
Code:
#cat (hdx,gptx)/etc/fstab
You will see the contents of the text file called fstab the interesting information is in a line that is commented out (starting with #) the line you want to look for says / was mounted on and then it says the device name of the partition that Linux would call this. For me that was /dev/mmcblk0p2 we need this information in the next command.
10) After you have checked the correct Ubuntu partition, write:
Code:
#linux (hdx,gptx)/vmlinuz root=/dev/mmcblk0p2
#initrd (hdx,gptx)/initrd.img
#boot
11) Nice, you are now booted on your Ubuntu installed OS, now please remove the pendrive;
12)Now you need to write on terminal:
Code:
sudo update-grub
13) Restart tablet, now you are able to boot without point "7-8-9-10-11-12" of this guide!

What works out of the box:
- MicroSD
- Inverted touchscreen (Use uTouch to solve this issue)
What doesn't work:
- UMTS 3G
- Wireless WiFi Realtek RTL8723BS (Also using Ndisgtk and Windows OS drivers)
- Sound
- Power Management
- Volume buttons

I made some reports after installed Xubuntu on eMMC:
- Teclast_x98_air_3g_uname-a
- Teclast_x98_air_3g_Dmesg
- Teclast_x98_air_3g_aplay
- Teclast_x98_air_3g_xinput_list
- Teclast_x98_air_3g_lsusb
- Teclast_x98_air_3g_lspci
- Teclast_x98_air_3g_lsmod
- Teclast_x98_air_3g_lshw

Someone able to patch them using Android Kernel sources?
- Android device tree

Download links:
- My Ubuntu for Teclast release (see the second post)
- Sourceforge download link to XJubuntu 16.04 and 14.04

Interesting links:
- How to Install Unity 8 on Ubuntu 16.04 LTS and Ubuntu 15.10
or
- As Unity 8 Takes Shape, Here’s How To Install It on Ubuntu 16.04

Sources:
- Teclast official Forum x98 Ubuntu x64
- Linux on Atom based Device tree By Techtablets
- Ubuntu installation and instructions
- ASK Ubuntu install Ubuntu 14.10 (64-bit) on a Windows 8 bay trail atom tablet
- Other sources, I don't remember..
The Following 12 Users Say Thank You to Maxximo88 For This Useful Post: [ View ] Gift Maxximo88 Ad-Free
 
 
6th April 2016, 08:29 AM |#2  
Maxximo88's Avatar
OP Senior Member
Flag Milan (Italy)
Thanks Meter: 225
 
Donate to Me
More
Ubuntu for Teclast
Guys, I'm working on a customized ISO to use on our Teclast x98 Tablets.
This ISO has some extras to be booted on EFI 32 Bit (x98 Air) and the integration of "firmware-nonfree" package", but this is just an example.


Based on Ubuntu 16.04 "Xenial Xerus" x64 upgrated to 0X/04/2016

Integrated Packages:
  • ubuntu-restricted-extras
  • Packages for compress archives: p7zip-rar p7zip-full unace unrar zip unzip sharutils rar uudeview mpack arj cabextract file-roller
  • Flashplugin
  • Ubuntu-after-install
  • Openjdk-8-jre
  • Tlp
  • Zram-config
  • Linux-firmware-nonfree
  • Gdebi
  • Synaptic
  • "Get purge"
  • Lm-sensors psensor hddtemp

Integrated Software:
  • Hotot
  • Libreoffice-base
  • vlc
  • Kodi
  • Telegram
  • Secpanel (like Putty for Windows)
  • Google Chrome
  • Ndisgtk (no more needed, probably there is a patched kernel, see post #29)
  • XScreenSaver (really nice!)
  • Xinput calibrator (to fix inverted touchscreen!!)
  • Pinta
  • Grub-customizer
  • Unetbootin
  • Gparted (use it in Live if you need!)
  • Build-essential

Download: Mega.co.nz (remember to use OpenDNS or Google DNS)
Feedback: If you have any suggestion, please tell me!
The Following 2 Users Say Thank You to Maxximo88 For This Useful Post: [ View ] Gift Maxximo88 Ad-Free
6th April 2016, 09:29 AM |#3  
micky1067's Avatar
Member
Flag Hanau
Thanks Meter: 6
 
More
This will be nice if ubuntu will work like android or windows on this tablet. Great job.
One question. Is there a way to boot and work only from usb stick ? Without install at tablet.
6th April 2016, 10:23 AM |#4  
Maxximo88's Avatar
OP Senior Member
Flag Milan (Italy)
Thanks Meter: 225
 
Donate to Me
More
Quote:
Originally Posted by micky1067

This will be nice if ubuntu will work like android or windows on this tablet. Great job.
One question. Is there a way to boot and work only from usb stick ? Without install at tablet.

Hehe Man yes, there are other ways, such as install it on pendrive and use boot override from bios to boot in it..
6th April 2016, 10:52 AM |#5  
micky1067's Avatar
Member
Flag Hanau
Thanks Meter: 6
 
More
Quote:
Originally Posted by Maxximo88

Hehe Man yes, there are other ways, such as install it on pendrive and use boot override from bios to boot in it..

So I think I will check it if I a can do this in this way first. Hope we become the driver for all other things too.
Do you think we can take ubuntu in new version 1604 ?
6th April 2016, 10:58 AM |#6  
Maxximo88's Avatar
OP Senior Member
Flag Milan (Italy)
Thanks Meter: 225
 
Donate to Me
More
Quote:
Originally Posted by micky1067

So I think I will check it if I a can do this in this way first. Hope we become the driver for all other things too.
Do you think we can take ubuntu in new version 1604 ?

Man, this is Ubuntu 16.04 with added the Xubuntu Desktop Environment..You can logout and enter in Unity..
I've tested also Ubuntu 14.04 and the reports I've attached refers to that version..

See here:
- Sourceforge download link to XJubuntu 16.04 and 14.04

So, you are able to install it and then:
- How to Install Unity 8 on Ubuntu 16.04 LTS and Ubuntu 15.10
or
- As Unity 8 Takes Shape, Here’s How To Install It on Ubuntu 16.04
6th April 2016, 11:36 AM |#7  
micky1067's Avatar
Member
Flag Hanau
Thanks Meter: 6
 
More
Oh... great... Sorry for the question. I have not see which version it was.
6th April 2016, 11:46 AM |#8  
Maxximo88's Avatar
OP Senior Member
Flag Milan (Italy)
Thanks Meter: 225
 
Donate to Me
More
Quote:
Originally Posted by micky1067

Oh... great... Sorry for the question. I have not see which version it was.

Thanks to you, I've added the links I sent you to the first topic.
If you have any other questions, please ask me!And if you have suggestions, I'm here!
6th April 2016, 11:57 AM |#9  
micky1067's Avatar
Member
Flag Hanau
Thanks Meter: 6
 
More
Thanks to you. At last one person like to have like me ubuntu at our tablet.
Mhhm. Do you think we can also have three OS on the tablet. android, windows 10 and ubuntu (maybe installed to sd card) ?
When I have some news I will send here.
6th April 2016, 12:02 PM |#10  
Maxximo88's Avatar
OP Senior Member
Flag Milan (Italy)
Thanks Meter: 225
 
Donate to Me
More
Quote:
Originally Posted by micky1067

Thanks to you. At last one person like to have like me ubuntu at our tablet.
Mhhm. Do you think we can also have three OS on the tablet. android, windows 10 and ubuntu (maybe installed to sd card) ?
When I have some news I will send here.

I think we need to flash single boot bios, install Windows first, install RemixOS x86 and later install Ubuntu, so Grub will allow to boot one of three.
You will set RemixOS as primary, so if you are out of home the tablet will boot into Android, if you are at home or office you can use a Keyboard to change boot selection!
Have sense?
The Following 2 Users Say Thank You to Maxximo88 For This Useful Post: [ View ] Gift Maxximo88 Ad-Free
6th April 2016, 12:16 PM |#11  
micky1067's Avatar
Member
Flag Hanau
Thanks Meter: 6
 
More
Mhhm. But maybe it will possible when you push the windows button by dual boot bios you become grub. Here you can choose windows or ubuntu.
The only thing is to install grub in boot partition of windows. This will be a nice way. Better like to have RemixOS.
One thing. I have Tablet air 3g C6J6 with only 32 GB. I installed right now Android and Win10 pro. The programs are at sd card with 65 GB.[COLOR="Silver"]

---------- Post added at 01:16 PM ---------- Previous post was at 01:13 PM ----------
Post Reply Subscribe to Thread

Tags
teclast x98, ubuntu

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes