Android x86 kernal 4.10?

1,127 views
Skip to first unread message

adam dubuque

unread,
Mar 13, 2017, 7:01:56 PM3/13/17
to Android-x86
Is it possible to add the 4.10 kernal to android? From what I'm hearing baytrail runs without any patching needed....

Mauro Rossi

unread,
Mar 13, 2017, 9:20:22 PM3/13/17
to Android-x86
Esperimental builds having kernel 4.10 with merge of android-ia branch, mesa 17.0.1:

https://drive.google.com/drive/u/0/mobile/folders/0B_OFHiIqgpSFMlk4bkhaMnAwbDA?usp=drive_web

Tomorrow I'll upload isos with minimalistic kernel 4.11rc2 & latest mesa 17.1.0devel

adam dubuque

unread,
Mar 13, 2017, 9:52:00 PM3/13/17
to Android-x86
AWESOME!! Thank you, I'll defiantly test them and report

Jose Luis s

unread,
Mar 14, 2017, 9:21:06 AM3/14/17
to Android-x86
Thanks Mauro.

Looking forward for these new isos.......

Hope 4.11 be a step forward for Baytrail.....

youling 257

unread,
Mar 14, 2017, 9:39:30 AM3/14/17
to Android-x86
waiting mesa 17.10 /system/lib/egl and /system/lib/dri ,just replace,I used lineage os mesa 17.01 a week 

在 2017年3月14日星期二 UTC+8上午9:20:22,Mauro Rossi写道:
Screenshot_20170314-213834.png

youling 257

unread,
Mar 14, 2017, 10:42:16 AM3/14/17
to Android-x86
we only can use 4.9 rc6 defconfig by cwhuang ,can use on 4.8.17、4.10 rc、4.11 rc .
now,cwhuang porting 4.9 lts kernel,https://osdn.net/projects/android-x86/scm/git/kernel/commits ,new defconfig and many patch .


在 2017年3月14日星期二 UTC+8上午9:20:22,Mauro Rossi写道:
Esperimental builds having  kernel 4.10 with merge of android-ia branch, mesa 17.0.1:

youling 257

unread,
Mar 14, 2017, 10:53:58 AM3/14/17
to Android-x86
https://osdn.net/projects/android-x86/scm/git/manifest/ ,need 7.1.1 r28 iso .

在 2017年3月14日星期二 UTC+8下午10:42:16,youling 257写道:

adam dubuque

unread,
Mar 14, 2017, 1:39:47 PM3/14/17
to Android-x86
ok so i have tried both versions of the 7.0.1 4.10 there is still no sound and no bluetooth butnwhen I run cat /proc/asound/cards i am now getting the bytrt-rt5640 
but when I run alsa_aplay -l Im getting "no soundcards found"
Message has been deleted
Message has been deleted

Mauro Rossi

unread,
Mar 14, 2017, 7:02:53 PM3/14/17
to Android-x86

Tomorrow I'll upload isos with minimalistic kernel 4.11rc2 & latest mesa 17.1.0devel


Message has been deleted

adam dubuque

unread,
Mar 14, 2017, 8:38:47 PM3/14/17
to Android-x86
OK I have tested and it is freezing and locking up quite a bit. same issues with no bluetooth and audio not working. touchscrren stops working aftertime kind of like the freezing.
the good news is it is finding the right audio the rt5640 now and the videos play without error almost like there should be sound Im thinking there is a wayto simply turn it on.
again im getting the soundcard not found error

Also it is not rooted and im not sure how to root it...

Jose Luis s

unread,
Mar 15, 2017, 7:27:43 AM3/15/17
to Android-x86
Hi all.
Tested 32 bit version.

BT not working (as usual), sound not working, wifi working but unstable. Silead driver not working (as expected), UI is very fast but unstable also. Is, in my case, the first iso that reports a working Battery Fuel gauge in my Chuwi tablet without to add support in a modified kernel, good work. Screen not dimmable, power button working, even to screen off, but volume rocker not working at all.

Thanks for your work.

adam dubuque

unread,
Mar 15, 2017, 9:13:35 AM3/15/17
to Android-x86
Sorry on mine the screen is dimable. And on kernel 4.10 power button brings up power menu.
On 4.11 power button hybernates and holding for a couple seconds brings up power menu but on both options it just goes to never ending spinner

Alex Anderson

unread,
Mar 15, 2017, 9:50:41 PM3/15/17
to Android-x86
Wow! Works fast and smooth on my old laptop!
But some apps (especially games) detect debug build (eng and test-keys). Can you make a user build please?

Tom Briden

unread,
Mar 17, 2017, 5:39:02 AM3/17/17
to Android-x86
Thanks a lot for this Mauro, I've just got the new HP spectre x360 which needs a newer kernel than the nougat-x86 branch and this build boots fine from a USB stick.

I'm trying to compile this for myself to enable NVMe devices to install to the laptop and add my wifi firmware files but having trouble with your mesa branch giving a whole load of these errors:

external/mesa/src/mesa/state_tracker/st_glsl_to_tgsi.cpp:1996:9: error: use of undeclared identifier 'ir_unop_i642u64'; did you mean 'ir_unop_i2u'?                                                                              
   case ir_unop_i642u64:                                                                                                                                                                                                         
        ^~~~~~~~~~~~~~~                                                                                                                                                                                                          
        ir_unop_i2u                                                                                                                                                                                                              
external/mesa/src/compiler/glsl/ir_expression_operation.h:45:4: note: 'ir_unop_i2u' declared here                                                                                                                                
   ir_unop_i2u,                                                                                                                                                                                                                  
   ^                                                                                                                                                                                                                             
external/mesa/src/mesa/state_tracker/st_glsl_to_tgsi.cpp:1997:9: error: use of undeclared identifier 'ir_unop_u642i64'; did you mean 'ir_unop_u2i'?                                                                              
   case ir_unop_u642i64:                                                                                                                                                                                                         
        ^~~~~~~~~~~~~~~                                                                                                                                                                                                          
        ir_unop_u2i                                                                                                                                                                                                              
external/mesa/src/compiler/glsl/ir_expression_operation.h:46:4: note: 'ir_unop_u2i' declared here                                                                                                                                
   ir_unop_u2i,                                                                                                                                                                                                                  
   ^                                                                                                                                                                                                                             
external/mesa/src/mesa/state_tracker/st_glsl_to_tgsi.cpp:2055:9: error: use of undeclared identifier 'ir_unop_bitcast_u642d'; did you mean 'ir_unop_bitcast_u2f'?                                                                
   case ir_unop_bitcast_u642d:                                                                                                                                                                                                   
        ^~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                    
        ir_unop_bitcast_u2f                                                                                                                                                                                                      
external/mesa/src/compiler/glsl/ir_expression_operation.h:56:4: note: 'ir_unop_bitcast_u2f' declared here                                                                                                                        
   ir_unop_bitcast_u2f,                                                                                                                                                                                                          
   ^                                                                                                                                                                                                                             
external/mesa/src/mesa/state_tracker/st_glsl_to_tgsi.cpp:2056:9: error: use of undeclared identifier 'ir_unop_bitcast_i642d'; did you mean 'ir_unop_bitcast_i2f'?                                                                
   case ir_unop_bitcast_i642d:                                                                                                                                                                                                   
        ^~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                    
        ir_unop_bitcast_i2f                                                                                                                                                                                                      
external/mesa/src/compiler/glsl/ir_expression_operation.h:54:4: note: 'ir_unop_bitcast_i2f' declared here                                                                                                                        
   ir_unop_bitcast_i2f,                                                                                                                                                                                                          
   ^                                                                                                                                                                                                                             
external/mesa/src/mesa/state_tracker/st_glsl_to_tgsi.cpp:2060:9: error: use of undeclared identifier 'ir_unop_bitcast_d2i64'; did you mean 'ir_unop_bitcast_f2i'?                                                                
   case ir_unop_bitcast_d2i64:                                                                                                                                                                                                   
        ^~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                    
        ir_unop_bitcast_f2i                                                                                                                                                                                                      
external/mesa/src/compiler/glsl/ir_expression_operation.h:55:4: note: 'ir_unop_bitcast_f2i' declared here                                                                                                                        
   ir_unop_bitcast_f2i,                                                                                                                                                                                                          
   ^                                                                                                                                                                                                                             
external/mesa/src/mesa/state_tracker/st_glsl_to_tgsi.cpp:2064:9: error: use of undeclared identifier 'ir_unop_bitcast_d2u64'; did you mean 'ir_unop_bitcast_f2u'?                                                                
   case ir_unop_bitcast_d2u64:                                                                                                                                                                                                   
        ^~~~~~~~~~~~~~~~~~~~~                                                                                                                                                                                                    
        ir_unop_bitcast_f2u                                                                                                                                                                                                      
external/mesa/src/compiler/glsl/ir_expression_operation.h:57:4: note: 'ir_unop_bitcast_f2u' declared here                                                                                                                        
   ir_unop_bitcast_f2u,                                                                                                                                                                                                          
   ^                   



is there something I'm missing for this?

Mauro Rossi

unread,
Mar 17, 2017, 9:38:35 AM3/17/17
to Android-x86




Il giorno venerdì 17 marzo 2017 10:39:02 UTC+1, Tom Briden ha scritto:
> Thanks a lot for this Mauro, I've just got the new HP spectre x360 which needs a newer kernel than the nougat-x86 branch and this build boots fine from a USB stick.
>
>
> I'm trying to compile this for myself to enable NVMe devices to install to the laptop and add my wifi firmware files but having trouble with your mesa branch giving a whole load of these errors:
> external/mesa/src/mesa/state_tracker/st_glsl_to_tgsi.cpp:1996:9: error: use of undeclared identifier 'ir_unop_i642u64'; did you mean 'ir_unop_i2u'?                                                                              
>    case ir_unop_i642u64:              
>         ^~~~~~~~~~~~~~~                
> is there something I'm missing for this?

Be sure you fetched and checked out:

external/llvm
external/mesa

My latest mesa-dev branch was built successfully for x86:

https://github.com/maurossi/mesa/commits/17.1.0devel_nougat-x86_2017-03-17

Would you like to check if the build error is still appearing?

Re-Try also after having deleted:

$OUT/gen/*/libmesa*
$OUT/obj/*/libmesa*
$OUT/obj_x86/*/libmesa*

Cheers
M.

Tom Briden

unread,
Mar 17, 2017, 11:14:05 AM3/17/17
to Android-x86
yeah, that was it. I hadn't done a clean since switching to your repos. Thanks

adam dubuque

unread,
Mar 17, 2017, 7:48:45 PM3/17/17
to Android-x86
Is there any way to tell the driver to look at index 0, rather than index 5 without patching?
I do not know how to compile a kernal and I somehow doubt my nextbook11 can or has enough space.
I know the irq is waked and in order for it to see the soundcard I will need a way to tell the driver to look at index 0, rather than index 5
I have a feeling if I can do this my sound will function....

youling 257

unread,
Mar 17, 2017, 8:18:21 PM3/17/17
to Android-x86
your level stay at eight months ago,you even don't know quirk bytcrrt5640,aif1 ssp0 or ssp2,in1 map or in3 map .

you say index 0,eight months ago,this patch " ASoC-Intel-Atom-auto-detection-of-Baytrail-CR "

在 2017年3月18日星期六 UTC+8上午7:48:45,adam dubuque写道:

adam dubuque

unread,
Mar 17, 2017, 8:26:51 PM3/17/17
to Android-x86
I'm sorry dude, I know your trying to help me, but I can't understand anything your saying...

youling 257

unread,
Mar 17, 2017, 8:28:18 PM3/17/17
to Android-x86


在 2017年3月18日星期六 UTC+8上午7:48:45,adam dubuque写道:
Is there any way to tell the driver to look at index 0, rather than index 5 without patching?

youling 257

unread,
Mar 17, 2017, 8:33:01 PM3/17/17
to Android-x86
Jose Luis s  understand my saying,Jose Luis s  get many progress 
this Android x86 group,only Three people care bay trail 

在 2017年3月18日星期六 UTC+8上午8:26:51,adam dubuque写道:

adam dubuque

unread,
Mar 17, 2017, 9:54:47 PM3/17/17
to Android-x86
Jose Luis S said his sound isn't working either...

You seem to be to only one who knows how to make it work, but can't seem to provide a step by step solution.

Something tells me these new kernels work, but they have to connect the drivers to the devices.... ie. Soundcard, etc

youling 257

unread,
Mar 17, 2017, 10:48:25 PM3/17/17
to Android-x86
Jose use himself kernel and some system files get sound and Bluetooth working .
I tell you,others people build iso,no one test iso can make bay trail sound work,the iso isn't OOTB ,the Android isn't OOTB .
I have never test others people iso(even thought 4.11、4.12......),because no necessary ,he can't know what important for bay trail .
if you think just need OOTB kernel and modules,you are wrong. I said what Android needed at few months ago,very easy,/system/bin ,/system/etc/,init.d script. Bluetooth and sound ,need Android system files .

在 2017年3月18日星期六 UTC+8上午9:54:47,adam dubuque写道:
Message has been deleted
Message has been deleted

youling 257

unread,
Mar 17, 2017, 11:09:48 PM3/17/17
to Android-x86
If i tell you /su/xbin_bind/rtk_hciattach 、/magisk/1/post-fs.sh 、/magisk/1/post-fs-data.sh、/magisk/1/service.sh、/magisk/1/auto_mount,/magisk/1/system/etc/alsa/bytcrrt5640.state、/magisk/1/system/etc/permissions/freeform.xml、/su/su.d/1.sh、systemless supersu、systemless-ly magisk,can you understand ? I am also Android advanced user ,so i can't give you my iso ,i haven't iso,i have many Android skills .

在 2017年3月18日星期六 UTC+8上午9:54:47,adam dubuque写道:
Jose Luis S said his sound isn't working either...

youling 257

unread,
Mar 17, 2017, 11:54:48 PM3/17/17
to Android-x86
I use "templates" ,I do not even have to modify system.sfs、ramdisk.img  ,because systemless-ly ,I make my life better .
my files ,For those who can understand .

在 2017年3月18日星期六 UTC+8上午11:09:48,youling 257写道:
magic_mask.sh
launch_daemonsu.sh
init
mount

Jon West

unread,
May 17, 2017, 4:48:12 PM5/17/17
to Android-x86
In your script, it looks like it is looking for a su.img, where is that found or how is it generated for x86?

youling 257

unread,
May 17, 2017, 5:08:13 PM5/17/17
to Android-x86
/mnt/$SRC/su folder for ext4/f2fs partition .
/mnt/$SRC/su.img for fat/ntfs .

youling 257

unread,
May 17, 2017, 5:43:29 PM5/17/17
to Android-x86
if /mnt/$SRC/ramdisk folder mount on /android, you can use /mnt/$SRC/ramdisk/su folder,/mnt/$SRC/ramdisk/magisk folder link to su folder .

youling 257

unread,
May 17, 2017, 5:50:41 PM5/17/17
to Android-x86
my init,
load_modules
mount_data
mount_sdcard
create_su
check_ota
convert_f2fs

initrd script/create_su,i can't upload my newest initrd,i need fix my bios use 1.8v QFN8 to DIP8.

youling 257

unread,
May 17, 2017, 5:58:34 PM5/17/17
to Android-x86
Message has been deleted

youling 257

unread,
May 17, 2017, 6:26:59 PM5/17/17
to Android-x86
Reply all
Reply to author
Forward
0 new messages