yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 Q&A, Help & Troubleshooting] :
Woooow .

Thank you very much for joining the Xperia Linux Developer Group.

Such people like You with C/C++ Assemmbler skills are the Gods of the Computer Technology.

Having you in the group brings the project a step faster to success.

Yes exactly getting the Keyboard to work is your main task at the moment.

This is my status of the development for this task.

If you boot my last builded Linux you will get the following error message in the dmesg Log.

For a litlle more debug infos i have extended the output line that handle the above Output in this file likes follow

http://git.linuxtogo.org/?p=groups/...f19873284e1cff30;hb=refs/heads/htc-msm-2.6.27

And I have changed after this also the I2C chip adresses in the board file

like this

http://git.linuxtogo.org/?p=groups/...45b59dd0d85623db;hb=refs/heads/htc-msm-2.6.27

With the new build that is not released yet i am getting the following quite promissing output

As you can see changing the I2C chip adresses gives us a better hardware recognisation.

The reason why we are getting the last error line in the new build is becouse "cfcf" is not included in this code here

The Xperia Illumination Leds works quiet good now in the new fresh build.

For some reason however they dont want to stop blinking.

We need to prove what this cfcf is and how to implement it.

We also need to make sure how to make to stop the blinking lights.

For the keyboard i think i have allready found a solution becouse also of a wrong I2C Chip address.

I will be at 18.00 CET in the htc-linux irc chat.

It looks like dcordes and avi have allready new stuff that works.

The sources you can find it here.

http://git.linuxtogo.org/

For compilng here a short howto from the blackstone linux wiki

http://wiki.xda-developers.com/index.php?pagename=BlackstoneLinux

If you have questions just ask.

Till later greetings ARAN.
[XPERIA X1 Q&A, Help & Troubleshooting] M.Stellar:
i support this!!! linux or android...
[XPERIA X1 Q&A, Help & Troubleshooting] cdi90:
Mh. If linux works on my x1, is there a chance to phone with it???? :D

greets
[XPERIA X1 Q&A, Help & Troubleshooting] slavyan5:
I think it's great that people develop such stuff, it show the will to change .... but still I wouldn't switch to Android, I like windows better.
[XPERIA X1 Q&A, Help & Troubleshooting] torgin:
When looking at porting (qt, opie, flash players etc) to the xperia, it wouldnt hurt looking at http://mojo.handhelds.org/hasty-armv6el-vfp to see what the Handheld Mojo project has already ported from ubuntu.

Ubuntu and debian even have their own official arm ports.

Why settle for angstrom, if you could run debian or ubuntu? The xperia is not _that_ limited in terms of cpu, memory or disk space, is it?
[XPERIA X1 Q&A, Help & Troubleshooting] NSRocket:
Hi ARAN,

A VERY BIG THANKS for your fast answer and for all these infos. It's a pleasure to meet people like you.

I think I will haven't any problem to download, install and manipulate the ARM toolchain and the kernel sources on my Debian distro.

I can't say anything for the moment about the 0xcfcf value that you read at 0x67 because I need to study the sources first. However, I think to add a "case" which accept this value in the micropklt_read function will not be enough to solve this problem but maybe I mistake.

Otherwise, I saw a htc-msm7x00 orientation on git.linuxtogo.org. Did you try to compil and run it on your X1 ? I say this because Xperia X1's got a MSM7200A then this package seems to be more adapted because the 'x' means "any number".

OK. I've some work to do as you guess ;)

See you soon on this forum or htc-linux IRC
[XPERIA X1 Q&A, Help & Troubleshooting] achmed20:
why would any1 want a ubuntu or other desktop distribution running on his phone?

andoid is open source, has tons of developers and tons of apps. gimping yourself with mojo or unusable desktop apps pretty illogical.
[XPERIA X1 Q&A, Help & Troubleshooting] torgin:
shrug, I wouldn't mind ubuntu netbook remix running on the xperia.
[XPERIA X1 Q&A, Help & Troubleshooting] Chaosstorm:
Ubuntu would run very slow i guess.. altho we should have enough ram to boot it :p
[XPERIA X1 Q&A, Help & Troubleshooting] :
I just wanted to tell you that i had a conversation with aiv yesterday on the htc-linux irc channell for getting the keyboard and the screen rotation working on the phone.

Aiv is a very intelligent and a proffesional programmer from Poland with high skills in programming low level stuff like the drivers in linux.

He has allready published some stuff in the another discussion thread that port linux to HTC-KOVSKY.

http://xdaforums.com/showpost.php?p=4132824&postcount=474

It is a big pleasure and a big help having him working on the Linux Port for the XPERIA Phone becouse that mean we will have heavy progress getting linux full working on the phone. He was able not only to reimplement the sources for the phone but also to extend the existing sources for getting more stuff to work.

With his heavy work allready on thisk task the problems for getting the keybaord running on HTC-Kovsky are allready blown away.

He has me allready showed the changes that he has made in the sources and i will implement them now in my build too.

So to all programmers and hackers here how are working active on the code like NSRocket come about 19.30 CET in the irc chat for getting updated with the newest solutions for getting more stuff to work. It would be pitty to spend time and energy on things that have been allready done by other.

As we have now a full working Keyboard ( Keyboard Map Localisation for every Language and Country not implemented yet) the next task till the end of the next week is getting the Kernel to boot as fast as possible by removing hangs and errors. The goal is booting linux in less than 4/5 Seconds.

A typical stoper for a fast boot procces are such errors here that consume a lot of time while booting linux.

I will try to concentrate also for getting a graphical boot splash till the end of the week like this one here http://www.youtube.com/watch?v=2w9sDI5Thwg

infaaz i need your graphical skills for this :-)

Please tell us on what you are exactly working so we can coordinate the work better.

NSRocket if i am not wrong you are working on the LED Driver "microp-klt.c" for getting it to boot without any problems and working. Please remember that there are also some Led drivers too.

If i am not wrong Keyboard LED Backlight works also not till yet.

I am working till the end of the next week on getting to fix the clock issue for a more smooth and fast boot proccess.

Will try to implement a splash boot too.

Open task till yet that are not handled are porting the different Keymaps for every Country.
[XPERIA X1 Q&A, Help & Troubleshooting] :
Here is the updated List of people that work on getting Linux to work on HTC-KOVSKY

I have added aiv and decordes to the list too becouse they are activly working on the linux port

Group Finance/Money:

Leader:

Members:

Group 1:

Leader: ﻿alias_neo

Memebers: ﻿ARAN, Chaosstorm, infazz, flobin, tfmwa

Group 2:

Leader: aiv, decordes

Members: ARAN, cyberdesigner.net, NSRocket

Group 3:

Leader: ﻿ARAN

Members: ﻿alias_neo, Agaas, NSRocket

If somebody is not on the list till yet please tell me.

Hello M.Stellar

Thanks you for the support.

If you want to join a Group please tell me.
[XPERIA X1 Q&A, Help & Troubleshooting] :
Thanks for the Info. I have till yet never heared about this interessting project.

I will try to implement it.

If it is allready released as initrd image like angstrom it could be implemented very fast.

Maybe someone can ask the developers so they uplaod a initrd image like angstrom so it can be very easy booted from haret like this here.
[XPERIA X1 Q&A, Help & Troubleshooting] GreatLords:
Hi

I will say thanks for great work you guys doing I been waiting on a linux or andriod to X1. I do not have time to help with debuging/testing or anything like that. I wait on you guys.

Keep up the great work. I just download the linux-htc-kovsky-090712.tar.gz I will soon try it. keep up the good work.
[XPERIA X1 Q&A, Help & Troubleshooting] bigslanki:
development for android has evolved more than you know or wish to believe...the only systems out right now are iphone and android....Palm took a big loss when they developed their own webOS....its easy to cme back in the game when ur in the middle of the halftime.

I have yet to see the PALM pre in public because that transistion lasted so long that people flocked from sprint to tmobile(g1,blackberry),verizon(blackberry) and at&t(iphone)

dev stick with what is up and coming and established thats currently iphone os and android. with android having the advantage by the end of 2009 with new phones in world markets
[XPERIA X1 Q&A, Help & Troubleshooting] :
Progress Report Week Number 29/2009:

﻿Group2:

As written in my last post aiv has allready added keyboard and screen rotation support in the new builds.

Please download aiv latest builds from his site.

http://xdaforums.com/showpost.php?p=4132824&postcount=474

What can we expect for the next week.

- A smoother and faster boot of the Kernel by removing some errors while the boot proccess.

- A graphical boot splash.

- Better hardware recognisation.
[XPERIA X1 Q&A, Help & Troubleshooting] funkameleon:
Great, it works!

I am surprised there isn't more memory available

root@htcraphael:~# cat /proc/meminfo

MemTotal: 61804 kB

MemFree: 28908 kB

Buffers: 0 kB

Cached: 28388 kB

SwapCached: 0 kB

Active: 3896 kB

Inactive: 25484 kB

SwapTotal: 0 kB

SwapFree: 0 kB

Dirty: 0 kB

Writeback: 0 kB

AnonPages: 1024 kB

Mapped: 1368 kB

Slab: 2796 kB

SReclaimable: 1464 kB

SUnreclaim: 1332 kB

PageTables: 124 kB

NFS_Unstable: 0 kB

Bounce: 0 kB

WritebackTmp: 0 kB

CommitLimit: 30900 kB

Committed_AS: 3476 kB

VmallocTotal: 450560 kB

VmallocUsed: 36876 kB

VmallocChunk: 385020 kB

Anyways, thumbs up
[XPERIA X1 Q&A, Help & Troubleshooting] bobbanswe:
Wow, it's really fun to see that it's going so well for you guys. You are all amazing. Thanks for doing this! I can't wait to get Android cupcake (or what it's called? :p) running!
[XPERIA X1 Q&A, Help & Troubleshooting] stefant42:
256MB available memory

I thought there is 256MB memory available on the Xperia X1. Isnt it?

I want to support you guys. I'm studying Engineering of Software Design (Diploma) and have some experience in Linux. How can i help? Deliver some test results on my Xperia X1?
[XPERIA X1 Q&A, Help & Troubleshooting] :
It exist differnt places to increase or decrease the memory.

I have in my builds decreased the memory usage becouse of freezzings while booting linux. It will be for sure go to the max (256 MB) as we implement more stuff in the builds.

I must say you that this is really a heavy work. In this week i have for sure

about 200 times rebooted in windows and linux, removed the battery and typed hundreds of commands to get it to work better.

It is a heavy and demotivated work. It need a lot of time first only to understand and research how the hardware work. With every new release the progress will be for sure smaller as the barriers to get it to working grow.

It is not that easy.

Help and test results are allways needed . If you are a software developer a good possibility is also to port some console programms to the xperia linux.

A good start for you could be porting tetris or ping for example.

Tetrix Console Game

I just imagine how i play tetrix with the dpad on my x1 :-)

P.S I put you in the Xperia Linux Group 3.
[XPERIA X1 Q&A, Help & Troubleshooting] Chaosstorm:
Aran, long time ago people were talking about xperia with 384mb ram.. is there a way too unlock that and use it in linux? or is it only dedicated for the cpu/gpu since i dont think the cpu and gpu will ever use 128 mb ram on there own.
[XPERIA X1 Q&A, Help & Troubleshooting] :
Progress Report Week 30/09

- We have now a self builded package with the name psplash in the build for displaying a Boot Splash Image with a progress bar while booting the system.

I have it however disabled in the haret default file with "psplash=false" becouse it dont realy works like expected. It exist problems while switching from the graphical framebuffer to the text framebuffer and back.

If you want to test it please replace "psplash=false" with "psplash=true".

If you start psplash over ssh from the console and shut it down with CTRL-C you will see a lot of printf from my side inbuild in the package for tracing where the problems lie.

The sources for the package are here

http://svn.o-hand.com/view/misc/trunk/psplash/

- we have also a new kernel Build with a faster display now.

What can we expect for the next week.

- A lot of Bugfixes in the Kernel as we want a more user friendly hardware working.

Just uploading the new Release to Rapidshare.

P.S. aiv is since wednesday in the hollydays. he wanted to talk with me about the progress but i we didnt have the chance to meet us on the irc chanell. I have analyzed the output of his kernel however and it looks like that he has a lot of working stuff allready implemented.
[XPERIA X1 Q&A, Help & Troubleshooting] :
Updated List of people that work on getting Linux to work on HTC-KOVSKY

Today i have read in the other forum thread from xmoo that people have allready spended and donated money to get Linux to work on X1.

Just to make the whole group complete i put them also here in the Group as they are responsible for the allready achieved work in the past.

Group Donators/Finance:

Quindor €7,50

Itje €40,00

Dekeijzer €20,00

achmed20 €5,00

yellow_feet €5,00

v1rone €20,00

cyberdesigner.net €40,00

Group 1:

Leader: ﻿alias_neo

Memebers: ﻿ARAN, Chaosstorm, infazz, flobin, tfmwa

Group 2:

Leader: aiv, decordes

Members: ARAN, cyberdesigner.net, NSRocket

Group 3:

Leader: ﻿ARAN

Members: ﻿alias_neo, Agaas, NSRocket, stefant42
[XPERIA X1 Q&A, Help & Troubleshooting] :
Just have seen that dcordes has opened a new forum thread in the X1 ROM section about getting Linux to work on X1.

http://xdaforums.com/showthread.php?p=4206618

Maybe this two Thread can be somehow be marged.
[XPERIA X1 Q&A, Help & Troubleshooting] :
Hello Chaosstorm.

For me it is new to hear X1 has shared memory for the grapchic.

Till yet i have thinked X1 has only 256 MB RAM and that is all.

Do you have some more infos or specs that proove this.

I cant really belive that we have 384 MB RAM (256 MB Free Ram + 128 MB Shared Memory for the Graphic) in the X1 at the moment.

I must say that i didnt cared about memory usage till yet.

My primary task is since days getting graphical stuff to work.
[XPERIA X1 Q&A, Help & Troubleshooting] :
OK my new build is now online.

If you want to download and test it just click on the Download Link in my Signature.

Please bear in Mind that i have in my builds Debug Messages enabled.

Such Debug Messages can be for newbees problematical as it breaks the flow how people normally works.

My Builds are primary target for developers till the problems has been fixed.

Greetings Aran.
[XPERIA X1 Q&A, Help & Troubleshooting] Chaosstorm:
Well it were only rumors, you can read alot on google when searcing for "xperia x1 384 mb ram",

but there aint a spec sheet confirming it so.. all i have is rumors.

maybe just stick with the 256 :P
[XPERIA X1 Q&A, Help & Troubleshooting] Agaas:
Hi guys,

It is with great regret I tell you this, but, I am afraid I wont be able to compile GNASH for the x1. I have tried to set up a toolchain for compiling to arm without success (wich mostly is a result of my little avalible time). I used various online guides (just google "compile toolchain arm" or similar). From now on I will have no time at all for "personal activities" so I wont be able to finish what I started.

Sorry to dissapoint you, but I did what I could with what time I had.
[XPERIA X1 Q&A, Help & Troubleshooting] NSRocket:
Don't worry, many of us know what you're talking about ; available time is always the first problem. During 10 days, I succeeded to find time ONLY to download, install and compile without error the htc-msm-2.6.27 kernel (coming from git.linuxtogo.org) with the ARM toolchain on my Debian distro. I tested the zImage and it's working (of course with problems that ARAN and aiv have already or not yet fixed). Now, I'm going to have to find time AGAIN to study sources to be able to fix something.

Some of us have a lot of time for this, others have less. Important thing is there's a lot of people who TRY to contribute to this project and we thank you for yours.
[XPERIA X1 Q&A, Help & Troubleshooting] :
It is okay Agaas.

Maybe the task was a litlle too difficult and it needed too much time for research.

If you want still to help just inform us with on what for projects you are working.
[XPERIA X1 Q&A, Help & Troubleshooting] :
Just wanted to let you know that i have sended my kernel changes today to decordes.

He is trying to set up a central online repo with the newest changes from me , aiv and the other developers.

With this central online repo we will have all the same base to work and discuss.

Things that are new for this week and that now also works are as a example fast screen rotation in landscape and portrait mode on the keyboard slider event.

The screen rotation on the keyboard slider event dont work on any htc linux phones at the moment as i know.

For this the xperia is the first htc linux phone that have now this possibility.

More infos can be found on the htc-linux irc chanell.

For those who dont want to build the kernel itself a new kernel build at least on sunday will be published.
[XPERIA X1 Q&A, Help & Troubleshooting] infazz:
sweeeet :)
[XPERIA X1 Q&A, Help & Troubleshooting] :
Progress Report Week 31/09

- The console rotation works now in Landscape and Portrait mode when the Keyboard slider is opened.

- Some delays while booting are disabled.

- The research for getting the Keyboard Backlight driver to work has begann

The new build has as allways debug messages enabled for testing.

You can still however login and execute commands or reboot the phone from the console even with the debug messages.

The download Link can be found in my signature.

What can we expect for the next weeks.

- The very intelegent and smart developer with the name leviathan from the irc chanell htc-linux has done today a awesome work proting linux to the htc dream phone.

He ported the full working open moko linux distro to the htc dream phone.

I belive this is the only Phone that at the moment have a full working linux.

The nice thing about this progress is that htc dream has the same WiFi Chip like the Xperia X1.

Becouse of this we can easy use this WIFI driver now to get WiFi working on Xperia X1

For more infos read the htc-linux log from 2. Aug 09

http://irclog.netripper.com/?chan=htc-linux&day=2

P.S. aiv is back from vacation and is working with decordes to upload the sources on the git webserver
[XPERIA X1 Q&A, Help & Troubleshooting] torgin:
Ubuntu and debian armel ports

Looked some more at the ubuntu and debian armel ports, actually managed to create part of a root filesystem to chroot into from angstrom. ("Part of" since I didn't really try more than bash.)

Search what packages are included in ubuntu karmic for armel:

https://launchpad.net/ubuntu/karmic/armel

Gnash:

https://launchpad.net/ubuntu/karmic/armel/gnash/0.8.5-0ubuntu1

The source code for all packages are easily available through launchpad.

Debian package search.

http://www.debian.org/distrib/packages

Search for whatever, click the appropriate package (if found), scroll down to the list of architectures and click armel to get to the source.

Throwing in what I used for testing if anyone cares/to inspire.

dd if=/dev/zero of=debian.img bs=1024 count=1000000 #gives a 1 GIG file
mkfs.ext2 debian.img
mount -o loop debian.img /mnt
debootstrap --arch=armel --foregin lenny /mnt/ http://ftp.se.debian.org/debian #I'm swedish, use your own country code!
umount /mnt

After this copy debian.img to your xperia, once angstrom has booted find the debian.img you copied to your memory card. Then do the following:

mount -o loop debian.img /mnt
chroot /mnt
#Continue the debootstrap process now that we're on the correct architecture!
./debootstrap/debootstrap --second-stage

Sadly, debootstrap never completes the second stage of the debootstrap.

Don't know why, yet. I'm just happy the binaries from the debian and ubuntu armel ports can run on the xperia!

Edit: Using cdebootstrap --flavour=minimal instead of debootstrap as described above it actually finishes the second stage too!
[XPERIA X1 Q&A, Help & Troubleshooting] :
Hey torgin.

Thank you very much for the info.

I have allready build in some very good graphical games with a lot of libs from the debian and ubuntu armel ports for the next release.

I have also some geat tools to create from this ports a full working linux distro that boot full in ram and works amazing fast.

It would be like a rom that is loaded in to the memory.

I am planing as you to work only with the ubuntu and debian armel ports that have more than 15000 programms and files

to create a full working linux distro that depend on ubuntu and debian.

It would be great if the armel ports could be also availble compiled with uclib.

UCLIB is better for a pocket pc on the other side not all application support uclib as iknow.

I itself would prefer still having uclib.
[XPERIA X1 Q&A, Help & Troubleshooting] torgin:
I've also looked some at uclibc, however I never really bothered with it since I never really needed to build a system that was _that_ small. (Or well I didn't think would be worth the effort.)

I think that rather than rebuilding debian and ubuntus armel ports using uclibc it might be better to look at another distribution which already builds which uclibc. If there is one.

Personally I don't mind glibc, since I view my xperia more as a normal PC then as an embedded device. (And also because of lazyness, uclibc seems to require a lot of work.)
[XPERIA X1 Q&A, Help & Troubleshooting] scholbert:
why?

Hi ARAN!

Basically you're right, uclib is very lightweight and runs very well on low performance platforms.

But on a handheld like the X1.....honestly.....forget about that!

See all the handheld distribution floating around, they serious ones use glibc and this would be the right way for X1 also.

It's also true that some application won't compile against uclib, there are many things to consider ....

Apart from that we got quite impressive performance and enough RAM on this device.

P.S.: Now there are three threads about porting linux stuff to X1, am i right?

Best regards,

scholbert
[XPERIA X1 Q&A, Help & Troubleshooting] :
Hello scholbert thank you very much for your post.

For the moment i will stay with glibc in the future i will probably switch to uclib becouse of the speed and the size of the programms.

I just wanted to say that i have builded now with the help of the debian armel ports some great games in my new build like bastet tetris that make you go crazy while you play the game

Also inbuild in the new release is the game soduko for training the brain a litlle

Other games that are also inbuild but dont work at the moment becouse of dependency problems are arcade games like

jumpnbump

and starfighter

Yes You are right.

At the beginning i have thinked is it the best to merge allthreads to on thread but now i think we keep them separated.

With every new build that is released the differences growth. some use this packages other use this packages. in one build exist this settings in other builds exist other settings. One Person want this GUI other Person want other GUI. To keep all simple and understandable it is better having separate threads. I cant imagine to have only one thread where all people discuss different builds, settings and guis for different builds on only one place.