Firmware and Kernel patches to fix cherry/baytrail and surface pro problems

964 views
Skip to first unread message

Jason Kurtz

unread,
Jan 17, 2017, 11:23:27 PM1/17/17
to Android-x86
Henri,

I read about your surface pro 3 problems. I had the exact same problems with my tablet. wifi,bluetooth,touchscreen. There is also a bug in all versions past 3.10 kernel you need to add the following to grub to fix the random freeze/crash problem 

intel - How to set intel_idle.max_cstate=1


I found linuxium has been ironing out all the bugs for the last year. Heres the info :) Enjoy.

The kernel with all the cherry/bay trail patches is over on github
For the zesty iso with the firmware fixed for the wifi/bluetooth and sound problems 
http://linuxiumcomau.blogspot.com.au/2016_10_01_archive.html

Tekcomm **Since 1982 if its impossible we make it possible**

Jason Kurtz

unread,
Jan 19, 2017, 10:54:52 AM1/19/17
to Android-x86
If I did not make it clear before your random crashes are because of a problem that has been around awhile. It goes back to when intel only created drivers/patches for the current mainline kernel. Anything after 3.10 needs the intel_idle.max_cstate=1 or it will randomly crash and burn on a couple of generations of tablets. Linuxium patched that in his latest 4.9 kernel release btw.

youling 257

unread,
Jan 19, 2017, 11:17:34 AM1/19/17
to Android-x86
i haven't see any patch,do you know your tablet need what patchs to make backlight、sound、button work ? 

my z3735f tablet use 4.8.17 kernel with nougat,wifi、Bluetooth、sound、backlight control、button work well .  just need these patch .
patch.zip
Screenshot_20170120-001509.png
Screenshot_20170114-211701.png

youling 257

unread,
Jan 19, 2017, 11:21:37 AM1/19/17
to Android-x86
freeze problem ,my tablet use this:

First start kernel with: intel_idle.max_cstate=0

Then give these commands as root:

echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo
echo 1 > /sys/devices/system/cpu/cpu0/cpuidle/state3/disable
echo 1 > /sys/devices/system/cpu/cpu1/cpuidle/state3/disable
echo 1 > /sys/devices/system/cpu/cpu2/cpuidle/state3/disable
echo 1 > /sys/devices/system/cpu/cpu3/cpuidle/state3/disable


youling 257

unread,
Jan 19, 2017, 11:25:11 AM1/19/17
to Android-x86

György Pejović

unread,
Jan 20, 2017, 5:39:39 AM1/20/17
to Android-x86
Cuold you share the .ISO image? i would like to test on my baytrail device. Thanks!

youling 257

unread,
Jan 20, 2017, 6:31:02 AM1/20/17
to Android-x86
I don't have iso img,Android-x86/android_x86_64/x86_64:6.0.1/MOB31K/cwhuang01130706:userdebug/test-keys 
my kernel 4.8.17-android-x86-64 root@localhost #1 Sat Jan 14 19:39:24 CST 2017 ,include my tablet DSDT patch,only my tablet can use my kernel 

This thread said patch,i haven't see any kernel patch,if someone just need iso to test ,no one can help him .

在 2017年1月20日星期五 UTC+8下午6:39:39,György Pejović写道:

György Pejović

unread,
Jan 20, 2017, 1:32:02 PM1/20/17
to Android-x86
OK. I'll try to build one with your patches but i can build just marshmallow-x86, becouse my home network can't connect to osdn (no problem with my mobile network).

Henri Koivuneva

unread,
Jan 21, 2017, 4:48:31 AM1/21/17
to Android-x86
Does anyone have all the patches linuxium has used available somewhere? Thank you for the zip youling 257.

I've tried to contact him for some days but haven't received a reply yet... There are tons of commits in that repo and manually recreating those patches from the commits, testing them, building and testing etc would take a very long time! I haven't found out yet whether they'll be added to mainline kernel someday either. I really hope so as it'd make the life of most users much easier, especially for those who just wish to download, install and run different distros.

Jose Luis s

unread,
Jan 21, 2017, 8:39:39 AM1/21/17
to Android-x86
Youling 257, for sure you are one of the most active and skilled members in Atom baytrail tablet area in this forum, you helped me a lot with my Chuwi tablets, now we have sound and BT but not perfect. You are continuosly improving support for this kind of tablets. I'm a not programming skilled user forced to find out how to complie kernels and using them with other iso as a template. Most of us need/want a working iso for our tablets OOTB but it seems not possible by now. Instead probably a lot of users of this group would thank you a lot if you could open a thread with a complete howto describing the customizing process to build a working kernel for our tablets.
I know this is a hard work, and probably asking for this is a bit...., I don't know how to name it in english sorry, probably all of you know what I mean, but it would be a great support for this community. I would like to contribute if someone so skilled as you can start this valuable thread.
Anyway if this is not possible, I'd like to thank you your hard work and support in this group, again.


youling 257

unread,
Mar 1, 2017, 9:57:05 AM3/1/17
to Android-x86


在 2017年1月20日星期五 UTC+8上午12:17:34,youling 257写道:
config-4.8.0-android-x86_64(nougat)
config-4.8.0-android-x86(nougat)
config-4.8.17-android-x86(nougat)
config-4.8.17-android-x86_64(marshmallow)

youling 257

unread,
Mar 1, 2017, 10:05:09 AM3/1/17
to Android-x86
$ file /data/f2fs/6.0.1/su/xbin_bind/i2cget
/data/f2fs/6.0.1/su/xbin_bind/i2cget: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=4efb26236fc0ae55829ccaf4397ec7555b7bfa5a, stripped
$ file /data/f2fs/6.0.1/su/xbin_bind/i2cset
/data/f2fs/6.0.1/su/xbin_bind/i2cset: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=2df7d5f4ced48b58fec9b381fe3219c56d38b8fb, stripped
$ file /data/f2fs/6.0.1/su/xbin_bind/i2cdump
/data/f2fs/6.0.1/su/xbin_bind/i2cdump: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=b91ee316d0abb94609e3c4165a78a924c909ff47, stripped
$ file /data/f2fs/6.0.1/su/xbin_bind/i2cdetect
/data/f2fs/6.0.1/su/xbin_bind/i2cdetect: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=80b06b555b67ad58d74b76b6e593007c6477225a, stripped
$

$ file /su/i2cget
/su/i2cget: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=e06f5f6faaff183580495cf4cbb697cebdc7534d, stripped
$ file /su/i2cset
/su/i2cset: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=2012bd5b46d09f7479cc53f46c79f5af42fa1e97, stripped
$ file /su/i2cdump
/su/i2cdump: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=31da49e46256977c8ba17c0e2a9a77c53bcae94e, stripped
$ file /su/i2cdetect
/su/i2cdetect: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.32, BuildID[sha1]=93d1ec29d4844609a5b1f12fa3542e768598c8e0, stripped
$

64.zip
32.zip

adam dubuque

unread,
Mar 4, 2017, 10:23:15 PM3/4/17
to Android-x86
If you can't make an iso can you at least create a zip that we can load to a USB drive and load android with the patches?

I have a z3735f and have been trying to stop the freezing, getting the sound and Bluetooth working....

Reply all
Reply to author
Forward
0 new messages