Teclast X98 3G: Force shutdown, no battery detect

483 views
Skip to first unread message

Ossi Uusimaa

unread,
Apr 29, 2016, 8:39:58 AM4/29/16
to Android-x86
- Device: Teclast X98 3G 
- CPU: Intel Atom Bay-Trail Z3735D (64x) 
- RAM: 2GB 
- Storage: 32GB
- OS: Windows 10 Pro (32-bit)
- Mode boot: EFI, version "Teclast BIOS11.09.2014"

I can install Android x86 using Android-x86 Installer UEFI Version from XDA. I'm able to boot Android x86 5.1-rc1, 4.4-r2 and 4.4-r3 but then Android immediately shuts down because no battery or power supply is detected. Android shows 0% battery. I have found that someone made partly working Android x86 4.4.4 build for Teclast X98 3G. You can find the thead from Teclast forum. However the download links are dead. I can only download data.7z file which has "data.img". Here is all information that I have found from the build:

3.18.2+
user@osboxes #21
Wed Jan 21 11:33:17 CET 2015

OpenGL driver version
GL Vendor: Intel Open Source Technology Center
GL Renderer: Mesa DRI Intel(R) Bay Trail x86
GL Version: OpenGL ES 3.0 Mesa 9.2.0-devel (git-c5c43d6)

android_x86-userdebug 4.4.4 KTU84Q eng-carbon.20150114.164528 test-keys

I have also find another Android x86 4.4.4 build which is named "x98 3g android-x86.img". It has some kind of hack build inside which tries to solve shut down problem. Here is the information shown when I boot that build:

[ 0.114047] ..MP-BIOS bug: 8254 timer not connected
[ 0.341761] pnp 00:03: can't evaluate _CRS: 1
[ 2.293365] i8042: No controller found
[ 2.305550] icoremap error for 0x5da0a000-0x5da0b000, requested 0x10, got 0x0'

[ 2.310880] otg_wakelock_init: No USB transceiver found
Detecting Android-x86.... found at /dev/mmcblk0p4

I know that it is possible to boot Android x86 on Teclast X98 3G without force shutdown since people have reported which parts are working. Currently the situation is this:

At present work are:
  1. the touch can be used, each with its own evaluation of the effect; 
  2. WIFI normal use, if there Shuisi and other unknown; 
  3. the graphics card to work, 3D acceleration not tested; 
  4. card reader; 
Unable to work are:
  1. Battery; 
  2. USB power supply; 
  3. GPS; 
  4. Bluetooth;
How could I make my Teclast X98 3G not to shutdown? Onda v975 has same problem so this fix could help a lot.

012234uu6c316y3yhup3hy.png
IMG_20160428_082016_BURST003.jpg
data.7z

Ossi Uusimaa

unread,
May 2, 2016, 11:25:45 AM5/2/16
to Android-x86
No force shutdown anymore!

I found a working Android x86 4.4.4 build for my Teclast X98 3G tablet: android-x86-kitkat-rtl8723bs-kernel_3.18.2 (333M)
  • Working: Touch, WiFi, sounds, power and volume buttons, video acceleration, brightness control etc.
  • Not working: Bluetooth, accelerometer, cameras, battery charge or level indicator, sd-card
However that build doesn't have GAPPS installed in it. How could I add GAPPS to it? Or even better how could I use that build to boot Lollipop x86?

Ossi Uusimaa

unread,
May 4, 2016, 1:53:39 AM5/4/16
to Android-x86
I'm making progress here. Here is a working build for Teclast X98 3G (HKC1): android_x86_4.4_r3_Onda_V975i_V2 (284.7MB)
  • Working: Touch, WiFi, sounds, sd-card, battery level indicator, power and home buttons, video acceleration, brightness control, accelerometer (but it is upside down)
  • Not working: 3G, bluetooth, cameras, volume buttons
This build has GAPPS installed and NO force shutdown anymore . Here is a short guide:
  1. Make a FAT32 partition to your main drive (I made 8Gb)
  2. Install Android x86 4.4-r3 EFI to FAT32 partition using Android-x86 Installer UEFI Version
    • With this method we get touch working and easier install process.
  3. After installation copy and replace "kernel", "initrd", "ramdisk" and "system" from "android_x86_4.4_r3_Onda_V975i_V2" folder to "AndroidOS" folder. Then delete system.sfs from "AndroidOS" folder
  4. Then reboot to Android like this:
Can anyone guide me to build a working Lollipop 5.1 build for this tablet. Currently 5.1-rc1 causes force shutdown. Here is some useful sources:

Chih-Wei Huang

unread,
May 4, 2016, 4:57:31 AM5/4/16
to Android-x86
2016-05-03 18:53 GMT+08:00 Ossi Uusimaa <ossi.u...@gmail.com>:
> I'm making progress here. Here is a working build for Teclast X98 3G (HKC1):
> android_x86_4.4_r3_Onda_V975i_V2 (284.7MB)

Who made that image and what patch it applied?
Please submit the patch to the devel group.


--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Ossi Uusimaa

unread,
May 4, 2016, 8:54:03 AM5/4/16
to Android-x86
I believe that this build was made by Сергей Трофимов aka "ganper316" at 4pda forum. Here is the post:
Also Jocky Wilson made a lot of work for BayTrail tablets. Check out the "realtek 8723BS wifi driver" and "Baytrail users please provide DSDT" theads. In the first one there is the original build: android-x86-kitkat-rtl8723bs-kernel_3.18.2.rar (333M). I believe that Jocky Wilson added some patches from https://wiki.gnome.org/BastienNocera/Ondav975w. And also this:
I'm not a member of devel group since I'm not a developer. However I'm willing to help as much as I can :)

Chih-Wei Huang

unread,
May 4, 2016, 10:15:46 AM5/4/16
to Android-x86
>
> Compiling Android-x86 4.4-r3 for Onda V975i / V975w V1 / V2 (It is written
> in Russian so use translator)
>
> Also Jocky Wilson made a lot of work for BayTrail tablets. Check out the
> "realtek 8723BS wifi driver" and "Baytrail users please provide DSDT"
> theads. In the first one there is the original build:
> android-x86-kitkat-rtl8723bs-kernel_3.18.2.rar (333M). I believe that Jocky
> Wilson added some patches from
> https://wiki.gnome.org/BastienNocera/Ondav975w. And also this:
>
> Accelometer: https://github.com/hadess/iio-sensor-proxy
>
> I'm not a member of devel group since I'm not a developer. However I'm
> willing to help as much as I can :)

Most of these are already merged into the
current codebase.
I'm only interested in how the battery issue
is solved.

Ossi Uusimaa

unread,
May 4, 2016, 11:19:23 AM5/4/16
to Android-x86
keskiviikko 4. toukokuuta 2016 17.15.46 UTC+3 Chih-Wei Huang kirjoitti:
Most of these are already merged into the
current codebase.
I'm only interested in how the battery issue
is solved.

 That is strange thing indeed. I have found two (2) builds that works on my tablet (Teclast X98 3G (HKC1)):
However other builds that I have tested gives me force shutdown. Сергей Трофимов reported that android-x86-kitkat-gapps-rtl8723bs-kernel_3.18.8-mesa10.4.2.rar (473M) worked on his Onda V975i V1 (with afterwards soldered resistors which makes it like V975i V2). That build doesn't work for me and there was another person at 4pda who reported that it didn't work on Onda V975i V2 (link). Also Сергей Трофимов (aka ganper316) reported that he had some problems with Android x86 5.1-rc1 but in the end he was able to use that build (translated):
Launched on the tablet Onda V975w V2 new build of Android-x86 5.1 rc1.
android-x86-5.1-rc1.iso - wouldn't start, infinitely blinking cursor
android-x86_64-5.1-rc1.img - start, all smartly, beautifully, but root was not working, even in the terminal Alt+F1(says something about the incompatibility between the 32 and 64bit).
If you do not see the battery, it shuts down during boot.
The orientation of the accelerometer horizontal.
Touch, wifi, sound are present. Of Bluetooth no.
The volume buttons do not work, the button works.
Overall looks nicer than 4.4. 

There is another person (Carbon Jiao) at Google Group Android-x86 who has same tablet than me. He had also problems with force shutdown but I don't know how he fixed it (link).

Hopefully this will help us to fix battery problem on Lollipop and Marshmallow
 

youling 257

unread,
May 4, 2016, 12:36:50 PM5/4/16
to Android-x86
how to solve audio problem ? Z3735f no sound 

在 2016年5月4日星期三 UTC+8下午11:19:23,Ossi Uusimaa写道:

youling 257

unread,
May 4, 2016, 12:40:03 PM5/4/16
to Android-x86
how to solve power and home buttons problem ? has buttons patch for z3735f ?

在 2016年5月4日星期三 UTC+8下午1:53:39,Ossi Uusimaa写道:

youling 257

unread,
May 4, 2016, 12:45:36 PM5/4/16
to Android-x86
Bluetooth problem,many bay trail tablet 

H5 sync timed out 

Ossi Uusimaa

unread,
May 5, 2016, 2:15:10 AM5/5/16
to Android-x86
keskiviikko 4. toukokuuta 2016 19.40.03 UTC+3 youling 257 kirjoitti:
how to solve power and home buttons problem ? has buttons patch for z3735f ?

From Adam Williamson's 3.16.0-0.rc5.git0.1.1awb fedlet kernel (Check out also Index of /fedlet/repo/SRPMS)

Sound

Intel BayTrailSoC

Works, but no jack sensing, and headphones Left/Right are inverted. First initialisation not integratedDecode offloading not supported yet

Bluetooth

Realtek "OBDA8723"

Not tested personally but driver available

Volume/Power buttons

GPIO connected

Working


The volume buttons are working on android-x86-kitkat-rtl8723bs-kernel_3.18.2 (333M) but NOT on android_x86_4.4_r3_Onda_V975i_V2 (284.7MB). Can I just install android-x86-kitkat-rtl8723bs-kernel_3.18.2 and copy needed drivers from there using root browser etc. and add then drivers to the android_x86_4.4_r3_Onda_V975i_V2 build? If possible what files I should copy?

Ossi Uusimaa

unread,
May 5, 2016, 2:20:08 AM5/5/16
to Android-x86
I found this (link):
Reply I got from Adam Williamson was this: 
Fedlet uses a slightly patched Fedora kernel, it has nothing at all to do with any Ubuntu kernel. The changes are fairly clearly marked out in the kernel.spec file in the kernel .src.rpm – https://www.happyassassin.net/fedlet/repo/SRPMS/kernel-3.17.0-0.rc6.git2.1.2awb.src.rpm . Searching for ‘awb’ within the spec should find most of the fedlet-specific changes.

Chih-Wei Huang

unread,
May 5, 2016, 2:27:42 AM5/5/16
to Android-x86
Thank you for provide many info.
However, it's hard for developers to collect
what are really useful since we don't have
the device to test and verify.

Please digest these info, create and test the patches
based on our current kernel (i.e., kernel-4.4 branch),
then submit them.

Ossi Uusimaa

unread,
May 5, 2016, 8:04:15 AM5/5/16
to Android-x86
I did some research. I don't know if this is old news but anyway here it is.

I opened kernel-3.17.0-0.rc6.git2.1.2awb.src.rpm file and searched for "battery". I found 2 patches:

+ ACPI _DEP support from Lan Tianyu (for battery status)

0001-ACPI-temporary-dep-solution-for-battery-support.patch

The last one lead me to this conversation: https://www.google.com/url?sa=t&source=web&rct=j&url=https://bugzilla.kernel.org/show_bug.cgi%3Fid%3D69011&ved=0ahUKEwj4wojd7sLMAhXH3CwKHc0cCo8QFggZMAA&usg=AFQjCNG2ylG0qe-E3ca9zZJRCuOzjYapfw&sig2=wACwS5vdzwkIMr3-kGF3sA

Bastien Nocera 2014-11-01 23:10:18 UTC
(In reply to Jan-Michael Brummer from comment #56)
> I've tested your patch with enabled CONFIG_ACPI_I2C_OPREGION and it works
> fine on current torvalds git. Thanks.

Tested with the same patch on a Onda v975w, and it tries very hard to detect the battery but fails. I'll put the dmesg information in bug 83941 as those seem like different problems (if it works on the T100TA and fails on my tablet).

Ossi Uusimaa

unread,
May 6, 2016, 5:39:28 AM5/6/16
to Android-x86
Could this be the fix for battery not detected problem which causes force shutdown? When Bastien Nocera reported that build didn't finish booting it could be similar thing than force shutdown. When I tried to boot 4.4-r5 I saw "shutting down" notification for about 10 seconds. However on 5.1-rc1 I saw it only for 1-2 seconds and on Remix OS 64-bit I didn't saw the "shutting down" notification at all.

Battery

Works with a non-upstream hack, patch


Bug 83941 - No battery information on Onda v975w (Baytrail)

Here is the patch:
Aaron Lu 2015-06-15 08:50:55 UTC 
Created attachment 179931 [details]
A hack patch to work around buggy ASL code for onda v975w Apply on latest Linus' git tree.
This is a temporary work around patch, I need to think more on how to solve this buggy BIOS problem and may come up with another version later.

And here is newer one:
Aaron Lu 2015-07-07 05:55:47 UTCCreated attachment 182041 [details] config for baytrail-T I just tried, except an harmless error message: [ 2.268174] ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [UserDefinedRegion] (20150619/evregion-297) [ 2.268218] ACPI Error: Method parse/execution failed [\_SB_.GPO2._L01] (Node ffff88005acabf00), AE_BAD_PARAMETER (20150619/psparse-536)

The battery is working, please use my .config.

And these might be hints for solving this:
Bastien Nocera 2015-07-12 21:37:41 UTCToo many moving parts. It seems to work with your patch, config and 4.2-rc0. I'd like to be more helpful in my testing, but rebasing always breaks one or two components (4.2rc1 doesn't boot, for example).

Pierrick 2015-11-02 15:28:51 UTCAn additional info. When building with CONFIG_ACPI_BATTERY=y the device doesn't boot if no USB device is hooked (at least with my kernel config). If I put it as module or simply don't build it, it boots even without a USB device.

 

youling 257

unread,
May 6, 2016, 8:39:23 AM5/6/16
to Android-x86
Chih-Wei Huang ,I test android_x86_4.4_r3_Onda_V975i_V2,Not much use for z3735f, also no sound,z3735f also is alc5640 ;Unable to get battery information,also is axp288 ;but Gravity sensing and auto-rotate the screen, is normal
kernel 4.4.8 still not fix  Gravity sensing and auto-rotate the screen problem,I don't know how to use English Description of the problem.

在 2016年5月5日星期四 UTC+8下午2:27:42,Chih-Wei Huang写道:
Reply all
Reply to author
Forward
0 new messages