Android-x86 on the Toshiba Encore 2 [WT8-B/WT10-A]
Android-x86_64 [v8.1r5] running on a Toshiba Encore 2 [WT8-B/WT10-A] tablet.
Please consider donating to support this project. Thanks!
- Download latest pre-built image here | View all builds
- Use Rufus to create USB drive installer.
- Ensure device is running the latest BIOS version!
- Use OTG adapter to connect USB drive and keyboard to device and press
F12
at bios logo and choose<Enter Setup>
then disableSecure Boot
and selectSave and Exit
. - Press
F12
again and select theUSB
option to boot from USB device. - Select
Live
to test Android directly from USB, or chooseAuto-Install
to install Android-x86 to the internal storage (mmcblk1
). - If installing, choose the internal storage device (
mmcblk1
) and clickYes
and allow for installation to finish and then selectreboot
. - Note you should login to a Google account and update all pre-installed applications to ensure proper functionality after fresh install.
- Enjoy your WT8-B/WT10-A running Android-x86!
-
2020-11-23:
- Updated to Kernel 5.8.0 for better Baytrail/Cherrytrail device support
- This improves s2idle issues introduced in kernel 5.2 or greater
- s0ix is now working properly! (improves power consumption during sleep)
- This kernel also provides proper
PWM_LPSS
support (no patches needed to enable backlight)
- Recompiled youling257
rtl8723bs
driver with k5.8 support - Removed hibernation support from kernel (unsupported by device) and updated Auto-Installer to not create swap partition.
- Added
setprop power.nonboot-cpu-off 0
andsetprop sleep.state force
via/etc/init.sh
script (enables sleep and s0ix support) - Removed
/etc/scripts/sleep.sh
script (unnecessary now that libsuspend is properly invoking s2idle viasleep.state=force
property) - Fixed terminal and
nano
dipslay to fill screen when running as superuser (added terminal line settings) - Looking to improve support for
bytcrrt5640
in next release (still using/etc/scripts/audio.sh
to achieve this for now) - Removed unnecessary kernel boot arguments
- Updated to Kernel 5.8.0 for better Baytrail/Cherrytrail device support
-
2020-11-13:
- Improved power consumption / standby mode by enabling proper suspend-to-ram functionality!
- Added
/etc/scripts/sleep.sh
script to trigger suspend-to-ram (s2idle) after 1min of sleeping w/o network activity
- Added
- Improved boot time by removing
AUTOLOAD=old
boot arg and using newer autoloading method- Updated
0-auto-detect
script ininitrd.img
to modprobegpio_keys
andhid_multitouch
which sometimes failed to autoload properly
- Updated
- Re-applied some kernel patches for improved device support:
- Applied
drm-i915-Disable-preemption-and-sleeping-while-using-the-punit-sideband
patch (more info) - Applied
1-2-extcon-intel-cht-wc-Make-charger-detection-co-existed-with-OTG-host-mode
and2-2-extcon-intel-cht-wc-Enable-external-charger
(more info)
- Applied
- Improved power consumption / standby mode by enabling proper suspend-to-ram functionality!
-
2020-11-06:
- Recompiled latest r5 kernel (4.19.122) from source and applied minimal patches
- Improved Wi-Fi support and random disconnects via alternate
rtl8723bs
driver - Updated auto-installer script to create swap partition needed for hibernation
- Resquashed system.img -> system.sfs and extracting via auto-installer
- Updated GRUB loader with prettier theme
-
2020-11-03:
- Added support for Toshiba WT10-A
- Fixed "audio pop" issue with touch events when using headphones via
/etc/scripts/pop-fix.sh
script - Fixed headphone switching on boot (audio will automatically output to headphones if connected on startup)
- Fixed levels for external headset microphone
- Improved
nano
terminal support - Improved scrolling of device
To build from source, follow the instructions at Android-x86.org
- Download latest repo for Android-x86 8.1r5:
mkdir android-x86-8.1r5 cd android-x86-8.1r5 repo init --depth=1 -u http://scm.osdn.net/gitroot/android-x86/manifest -b oreo-x86 -m android-x86-8.1-r5.xml repo sync -c -j4 --no-tags --no-clone-bundle
- Use latest 5.8.0 kernel
rm -rf kernel; mkdir kernel; cd kernel git clone -b kernel-5.8_si_next --single-branch --depth=1 https://github.com/maurossi/linux.git .
- Replace
external/kernel-drivers
with 5.8 versions:rm -rf ../external/kernel-drivers; mkdir ../external/kernel-drivers; cd ../external/kernel-drivers git clone -b kernel-5.8 --single-branch --depth=1 https://github.com/maurossi/kernel-drivers .
- Replace staging driver for
rtl8723bs
with youling257 driver:- Clone the latest branch of youling257's driver via
git clone https://github.com/youling257/rockchip_wlan.git
- Move the
rtl8723bs
folder to./kernel/drivers/net/wireless/realtek/
- Add references for this to the
./kernel/drivers/net/wireless/realtek/Makefile
and./kernel/drivers/net/wireless/realtek/Kconfig
files:- In Kconfig add
source "drivers/net/wireless/realtek/rtl8723bs/Kconfig"
- In Makefile add
obj-$(CONFIG_RTL8723BS) += rtl8723bs/
- In Kconfig add
- Modify
./kernel/drivers/net/wireless/realtek/rtl8723bs/Makefile
to avoid issues with include paths during source compile: - Delete/replace line 24:
EXTRA_CFLAGS += -I$(src)/include
with the following three new lines:EXTRA_CFLAGS += -I/android-x86/kernel/drivers/net/wireless/realtek/rtl8723bs/include EXTRA_CFLAGS += -I/android-x86/kernel/drivers/net/wireless/realtek/rtl8723bs/hal/phydm EXTRA_CFLAGS += -I/android-x86/kernel/drivers/net/wireless/realtek/rtl8723bs/platform
- Modify the values above after
EXTRA_CFLAGS += -I/
with the full path to your Android-x86 source files! - Then replace line 156 (now line 158 after completing the above edit) from this:
export TopDIR ?= $(shell pwd)
- To instead be:
export TopDIR ?= /android-x86/kernel/drivers/net/wireless/realtek/rtl8723bs/
- And again modify this line above with the full path to your Android-x86 source files!
- Remove inclusion of the original driver by deleting the references to
rtl8723bs
fromKconfig
andMakefile
files inkernel/driver/staging
folder - And now you can build away:
. build/envsetup.sh; lunch android_x86_64-userdebug make kernel -j8
- Clone the latest branch of youling257's driver via
- Replaced staging
rtl8723bs
driver with youling257's version for improved wirless connectivity. - Added
acpi_backlight=vendor
boot args to GRUB (android.cfg
) to resolve black screen when resume from sleep. - Added
sdhci.debug_quirks=0x10000
boot arg to GRUB (android.cfg
) to resolve SD card read-only issue. - Added
nospectre_v2
to removeSpectre v2 vulnerability
nag message from kernel output on boot - Updated
0-auto-detect
script ininitrd.img
to modprobegpio_keys
andhid_multitouch
which sometimes fail to autoload properly. - Updated
/system/etc/init.sh
startup script and addedWT8-B/WT10-A
toinit_hal_sensors
function to enable sleep and configure sensors (screen rotation and gyroscope). - Updated
/system/etc/init.sh
startup script and addedWT8-B/WT10-A
todo_bootcomplete
function to run custom scripts (headphone switching / audio pop fix). - Enabled
navtivebridge
support by default and includedhoudini
in the pre-built image, and fixed url link issue with/system/bin/enable_nativebridge
script. - Updated
build.prop
with optimizations for better GPU and system performance. - Removed
taskbar
,calibration
anddeveloper tools
apps from pre-built image. - Updates Android-x86 GRUB loader with prettier theme.
- Added
ES File Explorer
to pre-built image. - Added
nano
to pre-built image.
- Cameras do not work (no kernel support) Note k5.8 has ressurected the atomisp driver and camera support may be possible in the near future! Tested a build w/atomisp enabled but camera sensors are failing to power up, still debugging)
- Internal microphone not working (bug/kernel issue with bytcrrt5640, testing quirks to try and resolve).
- Bluetooth is partially working but not reliably discovering or connecting to all devices.
- Formatting SD card with Android isn't working (cannot be used for internal app storage - format with PC for use as portable storage).
- Add
AUTO_LOAD=old
boot arg to GRUB (android.cfg
) if you experience issues with touchscreen and power button not working. - Baytrail/Cherrytrail devices suffer from a c-state bug with linux, which can cause issues with freezing or resuming from standby, but this latest build is fairly stable.
- If having issues resuming from suspend/sleep, you can try using
intel_idle.max_cstate=1
andi915.enable_execlists=0
boot args in GRUB (android.cfg
), YMMV. - For Netflix support, use version 4.16 build 15172
- Special thanks to @cwhuang and @youling257 for their support.
- Thanks to João Santos for testing WT10-A support.
- Honourable mention to Mr. James P. Kelly, who gave me this tablet he obtained on a five-finger discount after a delayed flight. #RIP
- See this topic on the Android-x86 Google Group for more information and further assistance if necessary.