Install a kernel source code

1,029 views
Skip to first unread message

Victor Rouault

unread,
Dec 3, 2013, 5:05:42 AM12/3/13
to andro...@googlegroups.com
Well, I try somehow to install my missing drivers for android system, and I find a kernel code : (http://support.asus.com/Download.aspx?SLanguage=fr-fr&m=TX201LA&p=3&s=587), but I do not know how to install it. (file. tar)
If anyone can help me ?
Thanks
page.JPG

Ooop Yooo

unread,
Dec 3, 2013, 11:25:43 PM12/3/13
to andro...@googlegroups.com
Sorry bud, but if you don't know how to use/install it, better do not touch it !!! ^^

You already have a good and functional Android JB 4.2 in the tablet part and I don't understand what you want more ???

Anyway, the Android you have in your machine doesn't have the same structure (different partitions schema) than android-x86 (flashable firmware instead of iso file), and messing them may corrupt and "brick" your device...

If you don't know anything about Linux and the tar command, take your time to learn about them first and how to compile a kernel, a ramdisk and probably a recovery... AND a firmware : Google and/or books may be your "friends"... ^^

You will need to repartition your hard disk to install Linux in dual boot, or install it in a virtual machine (VMWare or such).

BTW, get a sight at 01.org, probably a better place for your device...

Good luck !



2013/12/3 Victor Rouault <rouault...@gmail.com>
Well, I try somehow to install my missing drivers for android system, and I find a kernel code : (http://support.asus.com/Download.aspx?SLanguage=fr-fr&m=TX201LA&p=3&s=587), but I do not know how to install it. (file. tar)
If anyone can help me ?
Thanks

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/groups/opt_out.

Masaki Muranaka

unread,
Dec 3, 2013, 11:55:28 PM12/3/13
to andro...@googlegroups.com
Hi Victor,

I downloaded the source code archive you pointed.
Referring to Makefile, it looks 3.4.34 kernel based.
It's too old. Recent kernel versions are 3.9 or above.
In theory, it can be merged some drivers to recent versions.
But it may be not easy. Of course it depends on your kernel hack skill.

Please send patches to this group after you port some drivers.
Someone will review and comment.

Thenks,

2013/12/3 Victor Rouault <rouault...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "Android-x86" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-x86...@googlegroups.com.
> To post to this group, send email to andro...@googlegroups.com.
> Visit this group at http://groups.google.com/group/android-x86.
> For more options, visit https://groups.google.com/groups/opt_out.



--
--
Masaki Muranaka
Monami-ya LLC, Japan.

Ooop Yooo

unread,
Dec 4, 2013, 12:05:37 AM12/4/13
to andro...@googlegroups.com
Weird, the URL seems to not exist anymore since my last visit 1/2 hour ago... LOL

But at first and quick sight, I thought it was a 3.10.2 kernel... ^^

I guess I'm too tired and may be time for me to go to bed... ;)



2013/12/4 Masaki Muranaka <mon...@monami-ya.jp>

Ooop Yooo

unread,
Dec 4, 2013, 12:50:32 AM12/4/13
to andro...@googlegroups.com
As the URL was back again, I downloaded the kernel to check myself as I didn't want to feel stupid before going to sleep... ;)

The Makefile says 3.4.34, but the different defconfig files gives different other versions : 3.4.21 or 3.4.6...

But, in any way, kernel version doesn't mean much as kernel depends on what you're doing with it with specific hardwares.

Most (new) ARM devices use quit old kernels, but may be the situation is different with Android(x86) ???

But if Asus always supplies the latest required kernel version for THEIR devices : AFAIK...



2013/12/4 Masaki Muranaka <mon...@monami-ya.jp>

Chih-Wei Huang

unread,
Dec 4, 2013, 1:19:30 AM12/4/13
to Android-x86
2013/12/3 Victor Rouault <rouault...@gmail.com>:
Actually ASUS TX201LA is a dual board/cpu product.
That means it contains two motherboards and cpus.
The panel board is clovertrail cpu that runs Android, while
the docking board has core-i cpu running Windows.

The kernel source released on ASUS site is for
the clovertrail board.
However, when you try to customized boot from BIOS,
it boots the docking core-i cpu, nothing to do with
the clovertrail board.
Actually you are even unable to customized boot from
the clovertrail board unless you hack the hardware.
Therefore the ASUS kernel source
is probably not useful for it.

The jb-x86 4.3 should run well on the docking core-i board,
except the wifi and camera don't work.


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

Victor Rouault

unread,
Dec 4, 2013, 8:18:48 AM12/4/13
to andro...@googlegroups.com
My tablet is an asus TX300ca, there is only windows 8.1 on it. So I did a dual boot with android 4.3, but I have video, wifi and gyroscope drivers problem. The new Asus Tx201 tablet has the same drivers that my TX300ca so I told myself that if I took the source code, I would get my drivers to work. But I do not know how to install it, I did some linux knowledge.

Ooop Yooo

unread,
Dec 4, 2013, 10:02:54 AM12/4/13
to andro...@googlegroups.com
Chih, tell me if I'm wrong wrong but sounds like Asus allows now their customers to unlock the bootloader of their Android devices.
On my previous TF101, there were simply no bootloader afaik...

As I understand things about the TX201LA, there is no BIOS in the in the clovertrail board, and it runs independently from the CPU/MB from dock
.

I'm not sure how this is done technically, but when you "dock" the Android device on the dock (...), the system should/may switch off (by software or electronically) the clovertrail board so I'm not sure the BIOS has anything to do with it... Again, this is just speculation of mine.

So theoretically, it should be possible to create a custom firmware if one have the knowledge to create one and to flash it...

But as Victor has the TX300ca version, then this is another story... ^^



2013/12/4 Chih-Wei Huang <cwh...@android-x86.org>

Ooop Yooo

unread,
Dec 4, 2013, 10:21:32 AM12/4/13
to andro...@googlegroups.com
Victor,

As Masaki explained you you'll have to isolate the different drivers from the Asus Android kernel and try to merge them in the kernel from Android-x86 4.3 (using Meld as an example...).

BUT, there is no guarantee that both TX201LA and TX300CA are sharing the same hardware, and there is even no guarantee that the clovertrail board is using the same hardware than the TX201LA dock... ^^

So, what you should do is to run a live Linux on your TX300ca and determine if/what drivers are in use... Video and wireless shouldn't be a big problem. BUT gyroscope and may be the touch panel (if any)... ^^



2013/12/4 Victor Rouault <rouault...@gmail.com>
My tablet is an asus TX300ca, there is only windows 8.1 on it. So I did a dual boot with android 4.3, but I have video, wifi and gyroscope drivers problem. The new Asus Tx201 tablet has the same drivers that my TX300ca so I told myself that if I took the source code, I would get my drivers to work. But I do not know how to install it, I did some linux knowledge.

Masaki Muranaka

unread,
Dec 5, 2013, 2:48:23 AM12/5/13
to andro...@googlegroups.com
Hi Victor,

It might your issues are caused not by Linux layer but by Android layer.
I'm not sure about your video and Wi-Fi as I don't survey specs of your machine.
But at least you won't use built-in gyroscope regardless your kernel
configuration.
As libhardware on jb-x86 branch is half baked.

Thanks,

2013/12/4 Victor Rouault <rouault...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "Android-x86" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-x86...@googlegroups.com.
> To post to this group, send email to andro...@googlegroups.com.
> Visit this group at http://groups.google.com/group/android-x86.
> For more options, visit https://groups.google.com/groups/opt_out.



Victor Rouault

unread,
Dec 5, 2013, 8:20:00 AM12/5/13
to andro...@googlegroups.com
Thank you for your answers, I will try to extract the drivers to the source code and to recompile them with android 4.3. Even if I don't know how how to make it ^^


2013/12/5 Masaki Muranaka <mon...@monami-ya.jp>

--
You received this message because you are subscribed to a topic in the Google Groups "Android-x86" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-x86/pPABy5a6qM0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-x86...@googlegroups.com.

To post to this group, send email to andro...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/groups/opt_out.



--
Victor ROUAULT

06.13.37 57 23
rouault...@gmail.com

Ooop Yooo

unread,
Dec 5, 2013, 10:47:01 AM12/5/13
to andro...@googlegroups.com
Sorry to insist, but the most important thing to do first is to determine  your hardware specifications !!!

If you run a Live Linux distribution such as Ubuntu or any others of your choice, and if if it works fine "out of the box" : display resolution, wireless, Ethernet, etc... then most of the work should be fairly easy... Except for the gyroscope... ^^

You will have to use lspci, lsusb, lshal commands (you will have to manually install HAL using "sudo apt-get install hal", as it is not install as default anymore since Ubuntu 10.10 if I'm not wrong), then save the result on an external storage, unless you have access to your Windows partition(s), OR simply save them onto your webmail account if you have access to the Internet from your Live Linux... ;)

Your laptop should have a combo wireless+BT card (should probably be an Intel Centrino Wireless-N 2230)... ^^

So the wireless may be supported with the iwlwifi module drivers (not sure about the Bluetooth part...) and your may have to find out a specific firmware... maybe...

So I speculate the Android 4.3 kernel should be fine IF you enable the correct settings in /kernel/arch/x86/configs/android-x86_defconfig file...

At that level, you may not need to use the Asus kernel file (maybe latter if you really need the gyroscope or if your touch panel is really specific...)...

Finally, It's simply impossible to give you every steps as it would be too long to explain everything, and you'll have to do your own home work... :P LOL

A good start is here :

http://www.android-x86.org/getsourcecode

and here : http://www.android-x86.org/documents/customizekernel


Good luck !

Masaki Muranaka

unread,
Dec 5, 2013, 9:30:05 PM12/5/13
to andro...@googlegroups.com
Hi Victor,

I suggest you to watch libsensors where to begin.
http://git.android-x86.org/?p=platform/hardware/libsensors.git;a=summary
It should be provided for each targets.

There is a bit more simple than Video and Wi-Fi.


2013/12/5 Victor Rouault <rouault...@gmail.com>:

Ooop Yooo

unread,
Dec 5, 2013, 10:32:02 PM12/5/13
to andro...@googlegroups.com
Are serious Masaki ??? :D LOL


2013/12/6 Masaki Muranaka <mon...@monami-ya.jp>
Reply all
Reply to author
Forward
0 new messages