first build for x61t

709 views
Skip to first unread message

tintar

unread,
Feb 2, 2012, 7:59:02 AM2/2/12
to Android-x86
thanks to Stefan S for config files, all I really changed was from
i915g driver in BoardConfig.mk to i965, and turn on 3945 wireless in
the kernel. (and built with regular sse3 toolchain. was a little
worried about building with gcc4.6 but seems fine so far)

not close to optimal, but encouraging:
- it's fast like it should be
- 3945 wireless works (not surprising)
- pen/digitizer works (yay!)
- audio does not seem to work
- sleep/resume works?! (I just tap Fn like I normally would to wake.
Fn-F4 to put it to sleep, or just wait for auto)
- no gapps since I did not put any yet
- putting in an SD card instead mounts the filesystem of my USB stick,
not the SD (I imagine it behaves better when installed properly,
rather than run as a liveCD)

next up will be adding in gapps and messing with ALSA. and finding a
place to upload the eventual improved iso.

tintar

unread,
Feb 2, 2012, 10:55:15 AM2/2/12
to Android-x86
- enabled SMP kernel
- enabled analog_devices variant of intel-hda as x61t has AD1984 (i.e.
pilot error; but still no sound - not even passing model=thinkpad via
snd dev in grub)

StefanS

unread,
Feb 3, 2012, 2:08:59 AM2/3/12
to andro...@googlegroups.com
On Thursday, February 2, 2012 4:55:15 PM UTC+1, tintar wrote:
- enabled SMP kernel
- enabled analog_devices variant of intel-hda as x61t has AD1984 (i.e.
pilot error; but still no sound - not even passing model=thinkpad via
snd dev in grub)

 For sound: check if the modules are loaded (lsmod), if no -> enable more in kernel. If yes -> run alsa_amixer scontrols or alsa_amixer scontents and check which controls are Off or silent. This is how I discovered that I needed to set the 'PCM' control to 100% and to "on" as well.

Stefan

tintar

unread,
Feb 5, 2012, 3:36:31 PM2/5/12
to Android-x86
thanks again Stefan -- was out sick for a while but started on this
again today.

turns out I had the right subselection in the kernel module, but
needed to reload snd-hda-intel using model=thinkpad option and then
amixer responds and can unmute Master, PCM and Speaker. so sound
works.

not sure where I can set module options (also nice to have
thinkpad_acpi fan_control=1) - can it be specified at grub time? or
would it go in the "on boot" section of init.thinkpad_x61t.rc?

put the gapps 403v11 in there too, market working and all.

also, like some users, I had to enable Settings->Developer options-
>Force GPU to prevent white screen of certain apps.


On Feb 3, 2:08 am, StefanS <andr...@stefanseidel.info> wrote:
> On Thursday, February 2, 2012 4:55:15 PM UTC+1, tintar wrote:
>
> > - enabled SMP kernel
> > - enabled analog_devices variant of intel-hda as x61t has AD1984 (i.e.
> > pilot error; but still no sound - not even passing model=thinkpad via
> > snd dev in grub)
>
> >  For sound: check if the modules are loaded (lsmod), if no -> enable more
>
> in kernel. If yes -> run *alsa_amixer **scontrols* or *alsa_amixer **
> scontents* and check which controls are Off or silent. This is how I
> discovered that I needed to set the 'PCM' control to 100% *and* to "on" as
> well.
>
> Stefan

Stefan Seidel

unread,
Feb 5, 2012, 4:11:30 PM2/5/12
to andro...@googlegroups.com

Hi tintar,

glad it works for you now. As for kernel options, you can put them in the boot cmdline, either by specifying KERNEL_CMDLINE += xxx in your BoardConfig.mk, or directly in grub by pressing "e" for edit when the boot option for Android is highlighted.

And you can put module options there too, use module_name.option_name=option_value, so in your case you add "snd-hda-intel.model=thinkpad thinkpad_acpi.fan_control=1"  to your boot options.

Stefan

--
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.

tintar

unread,
Feb 5, 2012, 4:18:42 PM2/5/12
to Android-x86
superb, thank you!

in the build I was running right now, I had put the module options in
x61t_info but I did not see any way that information is saved post-
installation, it only seems to get used when running the image live.
your suggestion makes much more sense (I figured it could be put at
grub time, but could not find documentation for syntax etc.)

Stefan Seidel

unread,
Feb 5, 2012, 4:21:47 PM2/5/12
to andro...@googlegroups.com

Oh actually, the correct option is
BOARD_KERNEL_CMDLINE += xxx

Stefan

tintar

unread,
Feb 5, 2012, 4:41:26 PM2/5/12
to Android-x86
no worries, I simply uncommented the example that was already there in
BoardConfig.mk ;-)

few minutes left downloading the iso from my build machine... we'll
see!

tintar

unread,
Feb 5, 2012, 11:36:20 PM2/5/12
to Android-x86
finally set up some sharing and got a build uploaded. please enjoy:
http://www.sendspace.com/folder/hxgfwv

once again, many thanks to Stefan S.

Marek Wojtaszek

unread,
Feb 7, 2012, 6:04:50 AM2/7/12
to Android-x86
In mine x61t does not :(

It stucks on "Turning Wi-Fi on..." screen and nothing hapens. If I
manually add my wifi network it says "out of range"

On 2 Lut, 13:59, tintar <tin...@gmail.com> wrote:

> -3945wireless works (not surprising)

Marek Wojtaszek

unread,
Feb 7, 2012, 6:44:08 AM2/7/12
to Android-x86
OK, wifi works but very unstable. It recognize wifi network in my
neighboorhood but does not see my router on desktop :(

> > -3945wireless works (not surprising)

tintar

unread,
Feb 7, 2012, 8:56:07 AM2/7/12
to Android-x86
I wonder if it could be a country/rate issue? not sure if the android
setup wizard is smart enough that it sets the wireless rate/region
based on the given country, or if it's simply set to ZZR or ZZA or
what.

wireless is stable for me, but *maybe* slightly less strong than I
would normally see (hard to say in specific without iwlist/iwpriv -
but maybe down "1 bar" at most)

lspci -k
8086:4227 iwl3945

md5sum /lib/firmware/iwlwifi-3945-2.ucode
4df235482ac6c083e2b51cfb4d85c0fd
(same as the latest version 15.32.2.9 offered on intel site)

no interesting warnings for it under linux:
http://www.thinkwiki.org/wiki/Intel_PRO/Wireless_3945ABG_Mini-PCI_Express_Adapter

Marek Wojtaszek

unread,
Feb 7, 2012, 9:59:04 AM2/7/12
to Android-x86
I've changed channel from 1 to 10 and everything works now!


On 7 Lut, 14:56, tintar <tin...@gmail.com> wrote:
> I wonder if it could be a country/rate issue? not sure if the android
> setup wizard is smart enough that it sets the wireless rate/region
> based on the given country, or if it's simply set to ZZR or ZZA or
> what.
>
> wireless is stable for me, but *maybe* slightly less strong than I
> would normally see (hard to say in specific without iwlist/iwpriv -
> but maybe down "1 bar" at most)
>
> lspci -k
> 8086:4227 iwl3945
>
> md5sum /lib/firmware/iwlwifi-3945-2.ucode
> 4df235482ac6c083e2b51cfb4d85c0fd
> (same as the latest version 15.32.2.9 offered on intel site)
>
> no interesting warnings for it under linux:http://www.thinkwiki.org/wiki/Intel_PRO/Wireless_3945ABG_Mini-PCI_Exp...

Marek Wojtaszek

unread,
Feb 8, 2012, 5:26:50 AM2/8/12
to Android-x86
Screen rotation does not work, is it possible to make it work or
unless map the screen rotation button for it's role?

Stefan Seidel

unread,
Feb 8, 2012, 5:29:05 AM2/8/12
to andro...@googlegroups.com
On Wed, Feb 8, 2012 at 11:26, Marek Wojtaszek <woo...@gmail.com> wrote:
> Screen rotation does not work, is it possible to make it work or
> unless map the screen rotation button for it's role?
>

I alreay have a hdaps libsensors for screen rotation, I'm pushing it
to my github now, but there is a slight issue regarding correctness.

Stefan

tintar

unread,
Feb 9, 2012, 8:08:26 AM2/9/12
to Android-x86
02/09/12:
- force gpu enabled by default
- added intel 4695 wireless to kernel
- repo sync - android-x86 superuser + filemanager apps
- updated gapps-ics-20120207-signed.zip from http://goo-inside.me

same link:
http://www.sendspace.com/folder/hxgfwv

On Feb 2, 7:59 am, tintar <tin...@gmail.com> wrote:

Marek Wojtaszek

unread,
Feb 23, 2012, 5:22:33 AM2/23/12
to andro...@googlegroups.com
Are you still working on this? Accelerometer support would be nice ;)

tintar

unread,
Feb 23, 2012, 3:56:49 PM2/23/12
to Android-x86
hi Marek ;-)

the most current build I uploaded 2/17 (same http://www.sendspace.com/folder/hxgfwv
) has all Stefan S's latest accelerometer work enabled (i.e. after it
was pushed into the official git). and actually, the earlier x61t
builds already had too the accelerometer code from Stefan's personal
git before the official integration. but in any of these previous or
current builds, I was unable to make it work on my own x61t (and I had
never taken the time to debug it.)

I'll try to post a new build in the next day or two, but that should
not make a difference vs. the hdaps (since it's already in there).
what it should get us is removal of the flashing red bezel (finally,
hopefully - thanks to comment by nikomweb) as well as fixed suspend-
resume thanks to Chih-Wei and Stefan S.

the accelerometer part is just going to need some debugging I think.

tintar

unread,
Feb 24, 2012, 7:45:46 PM2/24/12
to Android-x86
new iso in the usual place: http://www.sendspace.com/folder/hxgfwv
2 versions there, only difference is that I built the first with gapps
02/15 before noticing gapps 02/24 was out.

- updated to gapps-ics-20120224-signed.zip
- sleep/resume seems to work great - sometimes it seems to only lock
and not sleep. when it does sleep, pressing Fn resumes perfectly fine.
when resuming, sometimes the screen lock UI seems to block mouse/pen
input unless you press Fn one more time.
- red bezel flashing is gone.
- Chih-Wei's new rendering support is present, but youtube crashes
when I try to load a video. updating youtube in market doesn't seem to
help.

- sometimes there is a random sound pop on the speaker, that I don't
think was there previously. it doesn't exactly correspond to e.g. when
the red bezel flashes might appear, so I'm not sure what it is.

- tried to look into accelerometer a little
-- hdaps loaded ok and says detected lenovo thinkpad x61
-- /sys/devices/platform/hdaps/position - always shows (0,-3), even
doing a while-true cat and move the laptop around.
-- /sys/block/sda/device/unload_heads - always shows 0, ditto above.


On Feb 23, 3:56 pm, tintar <tin...@gmail.com> wrote:
> hi Marek ;-)
>
> the most current build I uploaded 2/17 (samehttp://www.sendspace.com/folder/hxgfwv

TheMouse

unread,
Feb 29, 2012, 3:27:49 AM2/29/12
to Android-x86
If anyone is interested I tested this build on the ThinkPad X220
Tablet.

- Wifi doesn't work. x220 has Intel 6205.
- Bluetooth doesn't work.
- Auto-rotate doesn't work.
- Power-management doesn't appear to work. Fan sounds like a jet.

I'm impressed by how far this build has come. I wish I had the
bandwidth to tailor it further. Thanks for all your work!

StefanS

unread,
Feb 29, 2012, 4:11:24 AM2/29/12
to andro...@googlegroups.com
Sounds good. We're in the process of making a unified build, which
hopefully addresses all the hardware issues.

Stefan

tintar

unread,
Mar 2, 2012, 7:12:02 AM3/2/12
to Android-x86
for one, it looks like the mainline kernel version of hdaps may not
work with newer thinkpad BIOS/EC (at least not with my machine, and
likely Marek's and TheMouse's as well)

so I tried putting in tp_smapi from source - loading its thinkpad_ec
and hdaps modules gets me proper output from the position sensor.
we'll have to figure out how best to incorporate this (there are
reasons tp_smapi never made it into mainline linux) and there may be
model-specific bits to figure out (e.g. x61t seems to need invert=6,
x220 may need 7 or something different) but there will be progress
now.
> > For more options, visit this group athttp://groups.google.com/group/android-x86?hl=en.- Hide quoted text -
>
> - Show quoted text -

tintar

unread,
Mar 3, 2012, 11:34:12 AM3/3/12
to Android-x86
(also, fan noise was b/c I set /proc/acpi/ibm/fan to 7 instead of the
default level "auto" - in future we'll probably leave it at a sane
setting and let the user change if they like. or maybe even
incorporate tpfancontrol)
> > > > Are you still working on this? Accelerometer support would be nice ;)- Hide quoted text -

Michael Rose

unread,
Mar 3, 2012, 6:48:00 PM3/3/12
to andro...@googlegroups.com
Thank you for building this. Due to the similarities of the HW, I tired this on my HP 2710p and it is very promising! The pen calibration is off, the screen rotation isn't working, and it freezes coming out of standby. But the sound, graphics, and wireless worked perfectly! It is very snappy even with live wallpapers running.

Brandon Cleary

unread,
Apr 3, 2012, 4:40:25 PM4/3/12
to andro...@googlegroups.com
I have a HP Compaq 2710p and this works wonders. The main thing I would like to see is to be able to calibrate the touchscreen and be able to rotate the screen. This thing is wonderful and awesome! If you need anything from me, let me know!


On Thursday, February 2, 2012 7:59:02 AM UTC-5, tintar wrote:

tintar

unread,
Apr 3, 2012, 5:12:05 PM4/3/12
to Android-x86
have not been updating this in a while, you might give StefanS'
thinkpad-universal build a try instead, it's what I'm currently
running on my x61t:

http://groups.google.com/group/android-x86/browse_thread/thread/da016adbd67cf7bd/
or - http://stefanseidel.info/
> > place to upload the eventual improved iso.- Hide quoted text -

Chislon Chow

unread,
Apr 14, 2012, 9:11:48 PM4/14/12
to andro...@googlegroups.com
I have the tested on the following: 
Lenovo X200T
HP 2710P

YouTube HQ doesn't seem to play
Hard drive sensor not detected as g-sensor right now in sensor list

I think the only thing that it really needs is touchscreen calibration. 

Is there build instructions for this? I am planning to repo sync, but I am aware that your branch may have changes... 

Chislon Chow

unread,
Apr 15, 2012, 4:47:21 PM4/15/12
to andro...@googlegroups.com
Found the git for the device X41T device tree: https://github.com/seidler2547/android-x86-ibm-thinkpad-x41t

Can we could use some variant of the TS Calibration app from by openAOS (mirror here: https://github.com/naobsd/cm_packages_apps_TSCalibration). 

As for the g-sensor, hdaps is reporting values when I do get-event, but rotations do not appear to work. Is there more to setup? Not sure where to proceed. 

My target is the X200T
Wifi: working after adding a fake ap
Camera: working

Chislon Chow

unread,
Apr 15, 2012, 7:41:46 PM4/15/12
to andro...@googlegroups.com
Finally figured out how to do touchscreen calibration. There isn't a lot of info on this in the wild. I'm still having trouble with the right edge of my screen though. 

The ICS source code currently accepts pointercal files at: /data/system/tslib/pointercal

These files are generated by running ts_calibrate, but there's supposed to be a GUI that goes with that. To get a working GUI, I used the Android compatible TSCalibration app from https://github.com/naobsd/cm_packages_apps_TSCalibration
Modify it so it doesn't reboot upon completion if you are running on a LiveCD. It dumps the compatible pointercal to '/data/misc/pointercal' by default. 

Chislon Chow

unread,
Apr 19, 2012, 8:18:51 PM4/19/12
to andro...@googlegroups.com
Wanted to add...
About the use of TSCalibration apk, the application has a flaw where the cursor cannot calibrate beyond the bottom navigation bar. The canvas draw does not treat the navigation bar as a drawable area, offsetting the calibration crosshairs at the bottom and the middle. 

* wacom cursor did not move beyond nav bar (no software buttons pressable)
* wacom cursor does not register taps at right edge of screen, about 5 cm in the edge, but wacom cursor still moves into this area

kodie389

unread,
May 1, 2012, 2:16:24 AM5/1/12
to andro...@googlegroups.com
Would it be possible for you to explain this... I'm a noob when it comes to this. Sorry.
Reply all
Reply to author
Forward
0 new messages