android on 64-bit kernel

1,765 views
Skip to first unread message

Pavel Prokofiev

unread,
Nov 21, 2011, 1:56:51 AM11/21/11
to Android-x86
Hello folks,

As a hobby, I'm trying to run android-x86 2.3 with 64-bit linux 3.0.1
on a Samsung 700T1A. I've already done some changes in binder, ashmem
and alarm-dev, basically related to compat_ioctl.

By today, I have a quite normal boot process - the android logo, then
a home screen with widgets, but GUI doesn't respond to input devices,
nither a keyboard nor a mouse or touchscreen.
I'm sure that the system doesn't hang, cause I see widget animation
and even the battery indicator shows the actual state of an AC
adapter. I can switch to console and back with Alt-F1 and Alt-F7.
ts_calibrate works too.

I know it's hard to tell something without dmesg and logcat logs, but
I can't attach them right now, sorry.
Maybe someone knows how android work with input devices and what is a
cause of the issue?

Thanks,
Pavel.

Pavel Prokofiev

unread,
Nov 21, 2011, 7:55:52 AM11/21/11
to Android-x86
dmesg: http://pastebin.com/RFFKkWnQ

Pavel.

2011/11/21 Pavel Prokofiev <integr...@gmail.com>



--
Прокофьев Павел

Dmitry Golubovsky

unread,
Nov 21, 2011, 11:49:57 AM11/21/11
to Android-x86
Pavel,

In a console, can you run getevent to see if the kernel catches any
events, and getevent -p to see the flags that device drivers provide?

Looking at your logcat (I had recently to dig in it when playing
around with UML kernel):

EventHub at least sees your devices. But line 431

431.E/EventHub( 350): could not add watch for /dev/input, Function
not implemented

perhaps inotify is not in the kernel?

Android works with input devices by multiplexing anything that can be
read from /dev/input/eventN device files.

You may try to implement additional logging for the events to see how
they propagate. In Gingerbread it is libs/ui/EventHub.cpp * in the
platform/frameworks/base repo.

bool EventHub::getEvent(RawEvent* outEvent)

is called by applications to obtain input events.

Hope this helps.

------------------------------------------------------
* Interestingly, in ICS EventHub is gone, but there is something like
Input.cpp which must carry the same functions - we'll see.

Pavel Prokofiev

unread,
Nov 21, 2011, 12:38:39 PM11/21/11
to Android-x86
Dmitry,

Hmm... really, the getevent app, regardless to flags, prints:


could not add watch for /dev/input, Function not implemented

I'll take a deeper look at EventHub.cpp and share the results soon.

Thanks a lot, now, at least, it's clear where to dig.
Pavel.

Pavel Prokofiev

unread,
Nov 21, 2011, 2:55:35 PM11/21/11
to Android-x86
Played a little with getevent:
1) getevent /dev/input/event{digit} prints data when I interact with
the input device
2) without a specific device it prints: could not add watch for /dev/
input, Function not implemented. After including inotify into the
kernel, getevent started to print multiplexed events from all devices

I've compiled EventHub.cpp with a logging feature and now I have the
following logcat output:
...
V/EventHub( 362): /dev/input/event7 got: vt=7 t0=1894, t1=345817,
type=0, code=0, v=0
V/EventHub( 362): /dev/input/event7 got: vt=7 t0=1894, t1=401810,
type=1, code=31, v=0
V/EventHub( 362): iev.code=31 keyCode=47 flags=0x00000000 err=0
V/EventHub( 362): /dev/input/event7 got: vt=7 t0=1894, t1=401812,
type=0, code=0, v=0
V/EventHub( 362): /dev/input/event7 got: vt=7 t0=1894, t1=481809,
type=1, code=20, v=0
V/EventHub( 362): iev.code=20 keyCode=48 flags=0x00000000 err=0
V/EventHub( 362): /dev/input/event7 got: vt=7 t0=1894, t1=481811,
type=0, code=0, v=0
V/EventHub( 362): /dev/input/event7 got: vt=7 t0=1895, t1=233806,
type=1, code=56, v=1
V/EventHub( 362): iev.code=56 keyCode=57 flags=0x00000000 err=0
....Surprisingly, EventHub receives events from every device I have -
buttons on the device, tablet pen, touchscreen, keyboard, mouse, but
without response in GUI.

Any suggestions?


Pavel.

Dmitry Golubovsky

unread,
Nov 21, 2011, 4:15:34 PM11/21/11
to Android-x86
Pavel,

On Nov 21, 2:55 pm, Pavel Prokofiev <integral....@gmail.com> wrote:
> Played a little with getevent:
> 1) getevent /dev/input/event{digit} prints data when I interact with
> the input device
> 2) without a specific device it prints: could not add watch for /dev/
> input, Function not implemented. After including inotify into the
> kernel, getevent started to print multiplexed events from all devices

OK, so this was the main reason events were not seen.

>
> I've compiled EventHub.cpp with a logging feature and now I have the
> following logcat output:
> ...
> V/EventHub(  362): /dev/input/event7 got: vt=7 t0=1894, t1=345817,
> type=0, code=0, v=0

So, eventhub gets your events. You may try to add more log output to
see how events are propagated (that is, in the function which calls
getEvent - this must be in the same repo - grep to your help ;).

> ....Surprisingly, EventHub receives events from every device I have -
> buttons on the device, tablet pen, touchscreen, keyboard, mouse, but
> without response in GUI.

Yes, anything that has a EVDEV interface will be involved.

Few suggestions. In order to be recognized properly, event interface
devices should consistently set bits in their mask words. See include/
linux/input.h in the kernel tree. This is general Linux stuff, but
Android seems to mess with this too much.

In general, it recognizes the type of device by bitmasks its driver
provides.

If it is a mouse, it has to report relative movements. Thus, events
must be reported with REL_X and REL_Y type (in the driver).

if(diffx) input_report_rel(kd->mouse, REL_X, diffx);
if(diffy) input_report_rel(kd->mouse, REL_Y, diffy);

Also, mouse driver should when initializing set bits as follows:

set_bit(BTN_LEFT, kd->mouse->keybit);
set_bit(BTN_MIDDLE, kd->mouse->keybit);
set_bit(BTN_RIGHT, kd->mouse->keybit);
set_bit(EV_REL, kd->mouse->evbit);
set_bit(REL_X, kd->mouse->relbit);
set_bit(REL_Y, kd->mouse->relbit);

That is, it reports 3 buttons (keys), declares itself a relative
device (EV_REL) and tells the kernel that event bits are REL_X and
REL_Y

If a mouse reports absolute coordinates, Android would think it is a
touchscreen. And so on. Basically EventHub has all this logic. If a
mouse reports absolute coordinates, an event just gets dropped.

I got to this during my experiments with user-mode linux where I had a
framebuffer patch which emulated a mouse, but not all bits were
intact, so while getevent was able to print events, EventHub dropped
them. Code above is from that patch.

Regards.

Pavel Prokofiev

unread,
Nov 23, 2011, 7:49:22 AM11/23/11
to Android-x86
Hello, everyone!

Finally, I've got the keyborad works.
By the Dmitry's advice, I began the investigation from framework/base/
libs/ui/EventHub.cpp and found out that, in InputDispatcher.cpp, my
input events are droped cause they don't have a
POLICY_FLAG_PASS_TO_USER flag in the .policyFlag field.

As I understood, the workflow is following:
1) Before queueing event for dispatch, InputDispatcher asks
InputDispatcherPolicy to adjust policyFlag (or maybe a little more)
2) Execution goes to NativeInputManager::interceptKeyBeforeQueueing()
(frameworks/base/services/jni/com_android_server_InputManager.cpp).
This is a jni-wrapper for Java implementation of
interceptKeyBeforeQueueing()
3) Next, somewhere in Java, the events should receive their
POLICY_FLAG_PASS_TO_USER flag.

I found the real implementation of interceptKeyBeforeQueueing() in
frameworks/base/policy/src/com/android/internal/policy/impl/
PhoneWindowManager.java.

Code from PhoneWindowManager.java:
...
if (isScreenOn || isInjected) {
...
result = ACTION_PASS_TO_USER;
} else {
...
It turns out that the required flag is set only if a device screen is
on, but according to a value of *isScreenOn*, my screen is always off.
To prove my idea, I've changed isScreenOn -> true and it worked!
I continued looking for the root cause, and where *isScreenOn* comes
from.

The source of a value is
android_server_PowerManagerService_isScreenOn() (from frameworks/base/
services/jni/com_android_server_PowerManagerService.cpp and frameworks/
base/services/java/com/android/server/PowerManagerService.java)

While digging in the PowerManager code, I accidentally discovered that
I don't have /sys/power/wake_lock and next, I found a strange thing in
$(linux_kernel_top)/kernel/power/main.c:
..
static struct attribute * g[] = {
&state_attr.attr,
#ifdef CONFIG_PM_TRACE
&pm_trace_attr.attr,
&pm_trace_dev_match_attr.attr,
#endif
#ifdef CONFIG_PM_SLEEP
&pm_async_attr.attr,
&wakeup_count_attr.attr,
#ifdef CONFIG_PM_DEBUG
&pm_test_attr.attr,
#endif
#ifdef CONFIG_USER_WAKELOCK
&wake_lock_attr.attr,
&wake_unlock_attr.attr,
#endif <-----------------------------------| HERE
#endif <-----------------------------------| HERE
NULL,
};
...
CONFIG_USER_WAKELOCK only make sense if CONFIG_PM_SLEEP is defined,
but in Kconfig there is no dependance between them.
A long story short, after enabling "CONFIG_SUSPEND" in the kernel, all
input devices started to work.

The End:)

Thanks,
Pavel.

Dmitry Golubovsky

unread,
Nov 23, 2011, 8:12:35 AM11/23/11
to Android-x86
Pavel,

It's great that you got the keyboard to work. This is also a very good
explanation for somebody who eventually runs into the same things.

On Nov 23, 7:49 am, Pavel Prokofiev <integral....@gmail.com> wrote:

> A long story short, after enabling "CONFIG_SUSPEND" in the kernel, all
> input devices started to work.

Yes, I recall the same thing in the User-mode kernel (which obviously
has a lot of things excluded or not enabled by default) - some weird
and seemingly unrelated option turned input on for me. But that was
kernel 2.6.29 (and who knows how things turned around in 3.0 ;)

Thanks.

Pavel Prokofiev

unread,
Dec 29, 2011, 7:29:03 AM12/29/11
to fsck, andro...@googlegroups.com
Hello,

Sorry for the delay.

Yes, I have working touchscreen and wifi on my tablet. The main reason for most issues is a wrong kernel config. For the touchscreen support I've added Atmel's MAXTouch USB ids to the "hid_touchscreen" driver and put a calibration file (see is islate.mk).

If you stuck with something, I'm very glad to collaborate on your problems with you, andro...@googlegroups.com can be used for that.
And it's very interesting to know your progress.

I've attached a diff of my kernel, it contains changes for the hid driver and for the 64-bit support (if you are running 32bit kernel don't apply them).
In the archive you'll find a device directory with a kernel config and makefiles.


Regards,
Pavel Prokofiev

On Thursday, December 22, 2011 at 10:58 PM, fsck wrote:

Hi Pavel,

I also have a XE700T1A Samsung Series 7 Slate PC and interested to get Android working on it.

I managed to install android-x86-4.0-asus_laptop-20111209.iso but I have no wifi and no touch input (only USB keyboard)

I was wondering if got anything more working?

Can you share?

Is there a wiki/forum where we could collaborate on this topic?

Cheers,

--
fsck

islate.patch
islate.tar.gz

Fsck 222

unread,
Dec 30, 2011, 5:05:33 AM12/30/11
to Pavel Prokofiev, andro...@googlegroups.com
Hi Pavel,

Thanks for your answers.

I am currently stuck with a "white terminal" issue. When I use the
terminal application in android, the window is just white, I can enter
commands, but I can not 'really' see output. Also if I use ALT+F1
keys, similar behaviour happen. I can sometime quickly see
(sub-second) the black terminal with a kind of the android desktop at
the top. I saw in other thread that I may be due to a bug in android.
I have been trying with different "repo sync" for a week now. I didn't
have the issue with android-x86-4.0-asus_laptop-20111209.iso
Are you ever experienced the same issue?

I haven't tried your kernel yet but I am working on it. Following
http://www.android-x86.org/documents/how-to-add-new-x86-platforms I
guess I have to:
1. 'cd device && tar xvfz islate.tar.gz'
2. apply your patch: islate.patch in the android tree. 'cd kernel &'
patch --dry-run -p1 < ../../islate.patch'
3. re-compile kernel: 'make -j2 iso_img TARGET_PRODUCT=islate
CC=gcc-4.4 CXX=g++-4.4'
Please confirm this steps.

As you can see, I am currently using the iso_img to boot using USB
disk formated in FAT32. I was wondering if you installed it on SSD
drives and what partition size you used and how/if you managed to keep
dualboot with Windows.

Cheers,


--
fsck222

Victor

unread,
Mar 6, 2012, 5:01:28 AM3/6/12
to andro...@googlegroups.com, fsck
Hi,

I use your patches to patch some Android drivers and I can boot the Android with 64 bits kernel.
But something wrong with the graphic driver, I cannot have the image wallpaper because if fail to do MapTextureImage in _mesa_store_teximage3d.

Do you have any idea? I'm on ICS porting. HW platform are sandybridge and ivybridge.

Best regards,
Victor

Pavel Prokofiev於 2011年12月29日星期四UTC+8下午8時29分03秒寫道:
Hello,

Sorry for the delay.

Yes, I have working touchscreen and wifi on my tablet. The main reason for most issues is a wrong kernel config. For the touchscreen support I've added Atmel's MAXTouch USB ids to the "hid_touchscreen" driver and put a calibration file (see is islate.mk).

If you stuck with something, I'm very glad to collaborate on your problems with you, android-x86@googlegroups.com can be used for that.

Цветко ЛАГАЈОВИЋ

unread,
Mar 30, 2012, 4:17:18 PM3/30/12
to andro...@googlegroups.com, fsck
Hi Pavel & Victor,

I'm a new and happy owner of a samsung 700t1a. I'd like to get a functional android version on it.

Since I'm a programmer myself, I'd be glad to take part in the effort to make this possible.

My goal for this weekend is building Pavel's patched version. I have to get all the dev env up and running ...

Cheers,
Floof.

2012/3/6 Victor <vict...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/PZ7swZerzWkJ.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.

Цветко ЛАГАЈОВИЋ

unread,
Apr 2, 2012, 5:29:17 AM4/2/12
to andro...@googlegroups.com, fsck
So here's my log on what I tried this weekend:

Successful:
    + Check out source
    + Patch with Pavel's patches
    + Extract Pavel's islate device directory.

Almost successful
    + Build release iso_img, I had to do some changes in islate.mk because of missing files (or wrong path, will investigate later)

Not so quite successful:
    + Run built iso from USB stick (live-mode)
    ---> No GUI (stays in text-mode console)
    ---> The system seems to loop on mediaprovider which crashes (segfault) in native code

My plan:
    + Build debug version
    + Understand why I had to patch the patch
    + Get Ui to show up

Pavel Prokofiev

unread,
Apr 2, 2012, 9:09:18 AM4/2/12
to andro...@googlegroups.com
Hi,

The islate device directory you have download was intended for android 3.x. Check out the sources and download section of http://code.google.com/p/android-samsung700t/. I've updated files to support 4.x.

As I understood, there is an issue with audio support in ics (I could be wrong here), so for now I've disabled audio at all. It would be awesome If you'll find a time to investigate this.
If you have exactly the 700T1A tablet you can try to boot with http://android-samsung700t.googlecode.com/files/android-x86_64-EFI2.zip

Regards,
Pavel.

2012/4/2 Цветко ЛАГАЈОВИЋ <floofy.la...@gmail.com>



--
Прокофьев Павел

Цветко ЛАГАЈОВИЋ

unread,
Apr 3, 2012, 5:52:02 AM4/3/12
to andro...@googlegroups.com
Thanks Pavel.

I tried that yesterday. The system at  http://android-samsung700t.googlecode.com/files/android-x86_64-EFI2.zip boots up properly, touchscreen is works. But Wifi doesn't. I tried to compile the system using the files from http://code.google.com/p/android-samsung700t/, but the gui doesn't show up, and the slate reboots continuously.

Just to be sure, do I need to apply the patches from the  http://code.google.com/p/android-samsung700t/ files or not ? Do I have to build the projects in fb_test and fb_test2 ? I did a diff on the two patch files, and they are identical ?

Cheers,
Florent.

Pavel Prokofiev

unread,
Apr 3, 2012, 1:04:20 PM4/3/12
to andro...@googlegroups.com
Hi Florent,
Thanks, I've really uploaded a single file twice.

About patches...
The amaxtouch patch is for enabling hid-multitouch driver to handle Atmel touchscreen device, it simply adds correspondent usb VID and PID to the driver.
The android-x86_64 patch is a bit more complicated. Your tablet has an UEFI2 firmware which is 64bit, it requires the kernel to be booted in UEFI mode and the kernel processor architecture should match the firmware architecture. Some android-specific kernel modules are not compatible with 64bit mode, the patch workarounds this.

Another way is to enable bios emulation mode in the Setup and use a 32-bit kernel configuration.

So you will need to apply both patches if you want to use UEFI.

What is logcat output, anything about Wifi malfunction?

Pavel.

2012/4/3 Цветко ЛАГАЈОВИЋ <floofy.la...@gmail.com>



--
Прокофьев Павел

Цветко ЛАГАЈОВИЋ

unread,
Apr 4, 2012, 4:13:36 AM4/4/12
to andro...@googlegroups.com
Hi Pavel,

I had no time to test the patch yet, but here's what I get in logcat when I try to enable wifi:

...
E/WifiStateMachine(...): Failed to load driver!
E/WifiStateMachine(...): DriverFailedState
...

Can't see anything relevant in dmesg,

Joel Dillon

unread,
Apr 11, 2012, 4:15:19 AM4/11/12
to andro...@googlegroups.com


On Monday, November 21, 2011 6:56:51 AM UTC, Pavel Prokofiev wrote:
Hello folks,

As a hobby, I'm trying to run android-x86 2.3 with 64-bit linux 3.0.1
on a Samsung 700T1A. I've already done some changes in binder, ashmem
and alarm-dev, basically related to compat_ioctl.



  Good job! I was thinking of taking a look at that myself but you beat me to it. Have you considered upstreaming your patches to the mainline kernel?

Цветко ЛАГАЈОВИЋ

unread,
Apr 12, 2012, 2:34:44 PM4/12/12
to andro...@googlegroups.com
Hi Pavel,

I see you've been changing stuff in the repo. So, what about this new directory (s7s) ? Should I now build this one or islate ?

I've also seen a new tag in android-x86 repo. should I build from this one now ?

Cheers,
Florent.

Цветко ЛАГАЈОВИЋ

unread,
Apr 16, 2012, 4:28:22 PM4/16/12
to andro...@googlegroups.com
Hi,

I got a bit further on the problem with wifi. It seems the 700t1a ships a "intel centrino 6230" wifi adapter that requires the iwlwifi kernel module.

The options for iwlwifi were not set in kernel config, and the iwlwifi firmwares were not added to the built system. So I built a new one with Pavel's patches, I've set the IWL-related options in kernel config  to build modules, and added the IWL firmwares to the release. Then, when i enabled wifi in Android settings, dmesg complained about missing firmware file "iwlwifi-6000g2b.ucode".

This firmware file does not exist in the android-x86 source tree, so I fetched the one installed on my linux desktop. This allowed me to enable wifi and scan networks under Android. But connecting to them fails, I'll do some more testing later on.

Hey Pavel ! Are you still reading this thread ? It's been a long time we haven't seen you around !

Cheers,
Florent.

Цветко ЛАГАЈОВИЋ

unread,
Apr 17, 2012, 6:28:09 AM4/17/12
to andro...@googlegroups.com
Hi,


I tested wifi again this morning on a different network. It did work. So I think it is linked to the security used on the network it worked on WPA but not on WPA-PSK.

Cheers,
Florent.

Цветко ЛАГАЈОВИЋ

unread,
Apr 17, 2012, 6:34:05 AM4/17/12
to andro...@googlegroups.com
Btw, these emails were sent using android x86 ics browser on my samsung 700t1a.

Stefan

unread,
Apr 17, 2012, 3:03:47 PM4/17/12
to andro...@googlegroups.com
Hello,

do you mean WPA enterprise, where the access point checks the computer / user account against a (Windows) server? If yes, i don't know if that is possible even with a standard linux, I tryed that about three years ago with special embedded Linux and WLAN enabled devices running Windows in the automotive industry, but I didn't found a way to do it. Maybe technology has advanced since my tests until today, but I don't think that Android has built in such mechnisms to login to a WLAn via a Windows domain computer account...

Stefan


Am 17.04.2012 12:28, schrieb яПНяПНяПНяПНяПНяПН яПНяПНяПНяПНяПНяПНяПНяПНяПН:
Hi,


I tested wifi again this morning on a different network. It did work. So I think it is linked to the security used on the network it worked on WPA but not on WPA-PSK.

Cheers,
Florent.

On Monday, April 16, 2012, яПНяПНяПНяПНяПНяПН яПНяПНяПНяПНяПНяПНяПНяПНяПН <floofy.la...@gmail.com> wrote:
> Hi,
> I got a bit further on the problem with wifi. It seems the 700t1a ships a "intel centrino 6230" wifi adapter that requires the iwlwifi kernel module.
> The options for iwlwifi were not set in kernel config, and the iwlwifi firmwares were not added to the built system. So I built a new one with Pavel's patches, I've set the IWL-related options in kernel config яПНto build modules, and added the IWL firmwares to the release. Then, when i enabled wifi in Android settings, dmesg complained about missing firmware file "iwlwifi-6000g2b.ucode".

> This firmware file does not exist in the android-x86 source tree, so I fetched the one installed on my linux desktop. This allowed me to enable wifi and scan networks under Android. But connecting to them fails, I'll do some more testing later on.
> Hey Pavel ! Are you still reading this thread ? It's been a long time we haven't seen you around !
> Cheers,
> Florent.
>
> On Thu, Apr 12, 2012 at 8:34 PM, яПНяПНяПНяПНяПНяПН яПНяПНяПНяПНяПНяПНяПНяПНяПН <floofy.la...@gmail.com> wrote:
>
> Hi Pavel,
>
> I see you've been changing stuff in the repo. So, what about this new directory (s7s) ? Should I now build this one or islate ?
>
> I've also seen a new tag in android-x86 repo. should I build from this one now ?
>
> Cheers,
> Florent.
>
> On Wed, Apr 4, 2012 at 10:13 AM, яПНяПНяПНяПНяПНяПН яПНяПНяПНяПНяПНяПНяПНяПНяПН <floofy.la...@gmail.com> wrote:
>
> Hi Pavel,
> I had no time to test the patch yet, but here's what I get in logcat when I try to enable wifi:
> ...
> E/WifiStateMachine(...): Failed to load driver!
> E/WifiStateMachine(...): DriverFailedState
> ...
> Can't see anything relevant in dmesg,
> On Tue, Apr 3, 2012 at 7:04 PM, Pavel Prokofiev <integr...@gmail.com> wrote:
>
> HiяПНFlorent,

> Thanks, I've really uploaded a single file twice.
> About patches...
> The amaxtouch patch is for enabling hid-multitouch driver to handle Atmel touchscreen device, it simply adds correspondent usb VID and PID to the driver.
> The android-x86_64 patch is a bit more complicated. Your tablet has an UEFI2 firmware which is 64bit, it requires the kernel to be booted in UEFI mode and the kernel processor architecture should match the firmware architecture. Some android-specific kernel modules are not compatible with 64bit mode, the patch workarounds this.
>
> Another way is to enable bios emulation mode in the Setup and use a 32-bit kernel configuration.
>
> So you will need to apply both patches if you want to use UEFI.
>
> What is logcat output, anything about Wifi malfunction?
> Pavel.
>
> 2012/4/3 яПНяПНяПНяПНяПНяПН яПНяПНяПНяПНяПНяПНяПНяПНяПН <floofy.la...@gmail.com>
>
> Thanks Pavel.
> I tried that yesterday. The system atяПН http://android-samsung700t.googlecode.com/files/android-x86_64-EFI2.zipяПНboots up properly, touchscreen is works. But Wifi doesn't. I tried to compile the system using the files fromяПНhttp://code.google.com/p/android-samsung700t/, but the gui doesn't show up, and the slate reboots continuously.
> Just to be sure, do I need to apply the patches from theяПНяПНhttp://code.google.com/p/android-samsung700t/яПНfiles or not ? Do I have to build the projects in fb_test and fb_test2 ?яПНI did a diff on the two patch files, and they are identical ?

> Cheers,
> Florent.
>
> On Mon, Apr 2, 2012 at 3:09 PM, Pavel Prokofiev <integr...@gmail.com> wrote:
>
> Hi,
> The islate device directory you have download was intended for android 3.x. Check out the sources and download section of http://code.google.com/p/android-samsung700t/. I've updated files to support 4.x.
> As I understood, there is an issue with audio support in ics (I could be wrong here), so for now I've disabled audio at all. It would be awesome If you'll find a time to investigate this.
> If you have exactly the 700T1A tablet you can try to boot withяПНhttp://android- --

Цветко ЛАГАЈОВИЋ

unread,
Apr 19, 2012, 4:24:15 AM4/19/12
to andro...@googlegroups.com
I withdraw my previous comment, I tested again and in fact it sometimes works and sometimes not. I'll have to investigate on how to reproduce.

Meanwhile, I'm currently testing the google apps on the 700t1a. It seems they can't access internet even though the browser can ....

Keep in touch!
Florent.

2012/4/17 Stefan <matthaeu...@googlemail.com>
Hello,

do you mean WPA enterprise, where the access point checks the computer / user account against a (Windows) server? If yes, i don't know if that is possible even with a standard linux, I tryed that about three years ago with special embedded Linux and WLAN enabled devices running Windows in the automotive industry, but I didn't found a way to do it. Maybe technology has advanced since my tests until today, but I don't think that Android has built in such mechnisms to login to a WLAn via a Windows domain computer account...

Stefan

Am 17.04.2012 12:28, schrieb Цветко ЛАГАЈОВИЋ:
Hi,


I tested wifi again this morning on a different network. It did work. So I think it is linked to the security used on the network it worked on WPA but not on WPA-PSK.

Cheers,
Florent.

On Monday, April 16, 2012, Цветко ЛАГАЈОВИЋ <floofy.la...@gmail.com> wrote:
> Hi,
> I got a bit further on the problem with wifi. It seems the 700t1a ships a "intel centrino 6230" wifi adapter that requires the iwlwifi kernel module.
> The options for iwlwifi were not set in kernel config, and the iwlwifi firmwares were not added to the built system. So I built a new one with Pavel's patches, I've set the IWL-related options in kernel config  to build modules, and added the IWL firmwares to the release. Then, when i enabled wifi in Android settings, dmesg complained about missing firmware file "iwlwifi-6000g2b.ucode".

> This firmware file does not exist in the android-x86 source tree, so I fetched the one installed on my linux desktop. This allowed me to enable wifi and scan networks under Android. But connecting to them fails, I'll do some more testing later on.
> Hey Pavel ! Are you still reading this thread ? It's been a long time we haven't seen you around !
> Cheers,
> Florent.
>
> On Thu, Apr 12, 2012 at 8:34 PM, Цветко ЛАГАЈОВИЋ <floofy.la...@gmail.com> wrote:
>
> Hi Pavel,
>
> I see you've been changing stuff in the repo. So, what about this new directory (s7s) ? Should I now build this one or islate ?
>
> I've also seen a new tag in android-x86 repo. should I build from this one now ?
>
> Cheers,
> Florent.
>
> On Wed, Apr 4, 2012 at 10:13 AM, Цветко ЛАГАЈОВИЋ <floofy.la...@gmail.com> wrote:
>
> Hi Pavel,
> I had no time to test the patch yet, but here's what I get in logcat when I try to enable wifi:
> ...
> E/WifiStateMachine(...): Failed to load driver!
> E/WifiStateMachine(...): DriverFailedState
> ...
> Can't see anything relevant in dmesg,
> On Tue, Apr 3, 2012 at 7:04 PM, Pavel Prokofiev <integr...@gmail.com> wrote:
>
> Hi Florent,

> Thanks, I've really uploaded a single file twice.
> About patches...
> The amaxtouch patch is for enabling hid-multitouch driver to handle Atmel touchscreen device, it simply adds correspondent usb VID and PID to the driver.
> The android-x86_64 patch is a bit more complicated. Your tablet has an UEFI2 firmware which is 64bit, it requires the kernel to be booted in UEFI mode and the kernel processor architecture should match the firmware architecture. Some android-specific kernel modules are not compatible with 64bit mode, the patch workarounds this.
>
> Another way is to enable bios emulation mode in the Setup and use a 32-bit kernel configuration.
>
> So you will need to apply both patches if you want to use UEFI.
>
> What is logcat output, anything about Wifi malfunction?
> Pavel.
>
> 2012/4/3 Цветко ЛАГАЈОВИЋ <floofy.la...@gmail.com>
>
> Thanks Pavel.
> I tried that yesterday. The system at  http://android-samsung700t.googlecode.com/files/android-x86_64-EFI2.zip boots up properly, touchscreen is works. But Wifi doesn't. I tried to compile the system using the files from http://code.google.com/p/android-samsung700t/, but the gui doesn't show up, and the slate reboots continuously.
> Just to be sure, do I need to apply the patches from the  http://code.google.com/p/android-samsung700t/ files or not ? Do I have to build the projects in fb_test and fb_test2 ? I did a diff on the two patch files, and they are identical ?

> Cheers,
> Florent.
>
> On Mon, Apr 2, 2012 at 3:09 PM, Pavel Prokofiev <integr...@gmail.com> wrote:
>
> Hi,
> The islate device directory you have download was intended for android 3.x. Check out the sources and download section of http://code.google.com/p/android-samsung700t/. I've updated files to support 4.x.
> As I understood, there is an issue with audio support in ics (I could be wrong here), so for now I've disabled audio at all. It would be awesome If you'll find a time to investigate this.
> If you have exactly the 700T1A tablet you can try to boot with http://android- --
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.

Victor

unread,
Apr 20, 2012, 4:01:35 AM4/20/12
to andro...@googlegroups.com
Hi all,

Do you have any issue when using Gallery3D?
I found in 64 bits kernel, photos display abnormal in Gallery3D, including thumbnails and photos, sometimes image wallpaper also have the same problem.
But in 32 bits kernel, they are perfect.

Any ideas ?

Цветко ЛАГАЈОВИЋ

unread,
Apr 20, 2012, 8:16:01 AM4/20/12
to andro...@googlegroups.com
Hi,

I just had a look, and you are right, It looks like everything is displayed in 16/24 bits per pixel, I'll try to have a look at that.

Florent.

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/0Uph1lSUZEoJ.

buda

unread,
Apr 25, 2012, 12:17:15 PM4/25/12
to andro...@googlegroups.com
Hi Floof, I'm not too tech savvy and was wondering if you would like to share your version of the ICS with the wifi working?
Message has been deleted
Message has been deleted

Цветко ЛАГАЈОВИЋ

unread,
Apr 26, 2012, 5:33:37 AM4/26/12
to andro...@googlegroups.com
I could, but you must be aware that I deny any responsibility on whatever happens with this file.

You should also be aware that this system has major flaws (like standby not working, unstable wifi, install not working, google apps not working, dithered 16/24 bits per pixel display (instead of 32bits), and certainly a whole lot of other unstable/unusable stuff)

If you still want the iso image please send me a private email, I don't want to publicly release anything, I'll respond when I get home.

Floof.

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/jKK0NNaLZgEJ.

Vadim D.

unread,
Apr 28, 2012, 3:13:10 PM4/28/12
to andro...@googlegroups.com
Hello,

I am new in this thread, but willing to help with whatever I can.
I have //BUILD/ Samsung Slate, so as far as I understand it has a little different spec.
My WiFi is Option GMT67x based, 3G adapter is  GlobeTrotter MO67xx, GPS sensor is also GlobeTrotter MO67xx.

I have no problem with WiFi in 32-bit version i have installed on my tablet, but there is not sensors at all available to Android.
The battery time is very short, much shorter than in Windows.

As far as I understand it, the kernel should be compiled with appropriate drivers, but I am not sure, how to do it.

Thanks
Vadim
To unsubscribe from this group, send email to android-x86+unsubscribe@googlegroups.com.

Pavel Prokofiev

unread,
May 1, 2012, 4:24:48 AM5/1/12
to andro...@googlegroups.com
Hi Florent, my mail client stopped to notify me about new messages in this thread.. I missed a whole month:(

Do you have progress on running google play and etc.? I had the same issues - internet is available from browser, but not from google. apps.

Did you succeed in switching display to 32bit mode?

Thanks,
Pavel.

Цветко ЛАГАЈОВИЋ

unread,
May 2, 2012, 3:26:59 AM5/2/12
to andro...@googlegroups.com
Hi Pavel,

I'm glad to read you again. I haven't had much free time lately, and I'm currently struggling with grub to get a working dual boot setup, that will allow shorter build / test cycles. Thing is, the kernel configured for islate has no support for ntfs, so I have to build a new one. But the Android build scripts refuse to build, it tells me that the kernel is not clean, and that I should run "make mrproper" but when I try to do it, it fails, telling me that a Makefile is missing.

I hope I am not gonna have to check out the full clean source, because building it takes hours....

Keep in touch !
Florent.

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.

Chih-Wei Huang

unread,
May 2, 2012, 12:44:26 PM5/2/12
to andro...@googlegroups.com
2012/5/2 Цветко ЛАГАЈОВИЋ <floofy.la...@gmail.com>:
> I'm glad to read you again. I haven't had much free time lately, and I'm
> currently struggling with grub to get a working dual boot setup, that will
> allow shorter build / test cycles. Thing is, the kernel configured for
> islate has no support for ntfs, so I have to build a new one. But the
> Android build scripts refuse to build, it tells me that the kernel is not
> clean, and that I should run "make mrproper" but when I try to do it, it
> fails, telling me that a Makefile is missing.
>
> I hope I am not gonna have to check out the full clean source, because
> building it takes hours....

Seems you make in kernel dir directly that
caused the issue. Fortunately it can be fixed
in two commands.

Read the Customize Kernel page for how to do it
and avoid such a problem:

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

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

Цветко ЛАГАЈОВИЋ

unread,
May 8, 2012, 11:15:15 AM5/8/12
to andro...@googlegroups.com
Hi,

I didn't manage to clean the kernel, so I wiped it and the build directory, restored the source with repo, and then I managed to build. Unfortunately it seems the NTFS option in kernel config isn't enough to boot from an NTFS drive ...

Regarding the 32 bits per pixel problem, I checked and it seems the surfaceFlinger is configured to refuse RGBX_8888 when built for i915 or i965 chipsets. see frameworks/base/services/surfaceflinger/Android.mk I'm trying to rebuild without the define, but I don't  think it'll work since these lines in the makefile must be there for a reason.

Maybe someone here knows the actual reason?

Cheers,
Floof.

Цветко ЛАГАЈОВИЋ

unread,
May 8, 2012, 1:15:52 PM5/8/12
to andro...@googlegroups.com
Hi again,

So as expected this didn't work because there is a system property "debug.drm.mode" which was set with "800x600@24" so I had to add a "setprop debug.drm.mode 1366x768@32".

This enabled 32 bpp, but caused the terminal to become all white and unusable.

Keep in touch !

Floof.

Цветко ЛАГАЈОВИЋ

unread,
Aug 23, 2012, 6:46:04 AM8/23/12
to andro...@googlegroups.com
To get android with wifi on s7s, you will need to:
    - download android-x86 source with git/repo
    - download files from  http://code.google.com/p/android-samsung700t/ 
    - apply patches on kernel
    - change file device/islate_defconfig file to enable iwlwifi
    - get the iwlwifi firmwares from a working linux install
    - change AndroidBoard.mk file to include these firmwares
    - build the system (wait a looooooong time)
    - install the iso on a usb disk

I made it short, hope it is enough. Maybe I'll write a real how-to.

Only the live version (non-persistent) works for me, never managed to install on internal drive.

On Sun, Aug 12, 2012 at 5:09 AM, Zhu Haokun <qyh...@gmail.com> wrote:
在 2012年4月19日星期四UTC+8下午4时24分15秒,Цветко Лагајовић写道:
hi man,
did you find out how to make the wifi work on the s7s?
I hope I can the android on my s7s and I searched the whole google that nobody ever made it.


--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-x86/-/PhWvBUjX9MUJ.

Chih-Wei Huang

unread,
Aug 24, 2012, 12:42:52 AM8/24/12
to andro...@googlegroups.com
2012/8/23 Цветко ЛАГАЈОВИЋ <floofy.la...@gmail.com>:
> To get android with wifi on s7s, you will need to:
> - download android-x86 source with git/repo
> - download files from http://code.google.com/p/android-samsung700t/
> - apply patches on kernel
> - change file device/islate_defconfig file to enable iwlwifi
> - get the iwlwifi firmwares from a working linux install
> - change AndroidBoard.mk file to include these firmwares
> - build the system (wait a looooooong time)
> - install the iso on a usb disk

Which kernel patch does it need exactly?
The android-amaxtouch.patch is already merged.
I think another x86_64.patch is not essential
and may need more review (but I'm not that expert).

Цветко ЛАГАЈОВИЋ

unread,
Sep 7, 2012, 3:45:06 AM9/7/12
to andro...@googlegroups.com
Hi,

The reason the build needed patches, is that the system was being built for X86_64 architectures (since the core i5 in the xe700t is a 64b cpu). But in fact, I don't care that the system is built for 32b or 64b.

So I reverted all modifications on the source tree, replaced the *_defconfig file with the generic one. The system works alright, but wifi is gone, the kernel is compiled with the proper settings (CONFIG_IWLAGN=m). But when I start Wifi under settings, the driver does not load. "dmesg | grep iwl" says:


<6>[    7.679277] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:
<6>[    7.679281] iwlagn: Copyright(c) 2003-2011 Intel Corporation
<6>[    7.679367] iwlagn 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
<7>[    7.679407] iwlagn 0000:01:00.0: setting latency timer to 64
<6>[    7.679475] iwlagn 0000:01:00.0: Detected Intel(R) Centrino(R) Advanced-N 6230 AGN, REV=0xB0
<6>[    7.696890] iwlagn 0000:01:00.0: device EEPROM VER=0x716, CALIB=0x6
<6>[    7.696892] iwlagn 0000:01:00.0: Device SKU: 0Xb
<6>[    7.696895] iwlagn 0000:01:00.0: Valid Tx ant: 0X3, Valid Rx ant: 0X3
<6>[    7.696917] iwlagn 0000:01:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
<7>[    7.697504] iwlagn 0000:01:00.0: irq 43 for MSI/MSI-X
<3>[    8.150923] iwlagn 0000:01:00.0: request for firmware file 'iwlwifi-6000g2b-5.ucode' failed.
<3>[    8.151113] iwlagn 0000:01:00.0: request for firmware file 'iwlwifi-6000g2b-4.ucode' failed.
<3>[    8.151118] iwlagn 0000:01:00.0: no suitable firmware found!
<6>[    8.151297] iwlagn 0000:01:00.0: PCI INT A disabled


but I can't find these firmwares anywhere I find 'iwlwifi-6000g2a-5.ucode' and 'iwlwifi-6000g2b-6.ucode' but not the ones the driver seems to search for.


Greg McGee

unread,
Mar 30, 2013, 2:31:41 AM3/30/13
to andro...@googlegroups.com
You'll find those firmwares in any working linux distro installed on that machine.

I'm having issues building a x86_64 kernel and getting things to boot properly on jb-x86
(it's probably more of an initrd issue, kernel boots etc, but cannot find the fs)
Have you made any more progress?


On Monday, November 21, 2011 12:56:51 AM UTC-6, Pavel Prokofiev wrote:
Hello folks,

As a hobby, I'm trying to run android-x86 2.3 with 64-bit linux 3.0.1
on a Samsung 700T1A. I've already done some changes in binder, ashmem
and alarm-dev, basically related to compat_ioctl.

By today, I have a quite normal boot process - the android logo, then
a home screen with widgets, but GUI doesn't respond to input devices,
nither a keyboard nor a mouse or touchscreen.
I'm sure that the system doesn't hang, cause I see widget animation
and even the battery indicator shows the actual state of an AC
adapter. I can switch to console and back with Alt-F1 and Alt-F7.
ts_calibrate works too.

I know it's hard to tell something without dmesg and logcat logs, but
I can't attach them right now, sorry.
Maybe someone knows how android work with input devices and what is a
cause of the issue?

Thanks,
Pavel.

Reply all
Reply to author
Forward
0 new messages