[PRJ][OS]Linux and Android on SE Xperia X1

Search This thread

dcordes

Retired Senior Recognized Developer
Nov 20, 2007
707
254
This thread is here for information and discussion about the Linux kernel (and Linux based userspaces like Ångström distribution or google android.

If you have no clue what this is all about, click the above links and read a bit about it.

The xperia(kovsky) research information vital to porting the linux kernel is available at htc-linux.org

The kovsky is very similar to raphael, diamond and the other htc phones that are based on the QCT msm7xxxA chip. This is why the raphael/diamond development kernel code from the htc-linux project runs well on it.
Kovsky has its own machine type in the htc-msm-2.6.27 (see link above) branch now.
 
Last edited:

theredundant

Senior Member
Nov 28, 2008
257
4
im kinda excited about this! if linux (& android) is able to run on the X1 smoothly, I'm definitely donating! :)
 

philrich1

Member
Nov 15, 2008
44
0
New thread = very good news.
If you need someone for testing then let me know.
I would be willing to donate as well.

Keep working hard everyone!
 

achmed20

Senior Member
Dec 5, 2008
413
0
somehow i feel like setting up an X1 android version for it. since im more the "script" guy im rather useless for u if it comes to kernel development ^^

how stable and functional is the kernel so far?
and especialy, is the Wifi running allready?
 
Last edited:

cyberdesigner.net

Senior Member
Jan 8, 2009
129
9
Dresden
hey decordes,

there is the question where to get the android@xperia-dev files 0.8 and 1.0... (i have them. but dont know if i may provide these files while they are not from my self!)

a simple yes or no and they are available for the next years or not ;)

--
cyberdesigner.net
 

cyberdesigner.net

Senior Member
Jan 8, 2009
129
9
Dresden
how stable and functional is the kernel so far?
and especialy, is the Wifi running allready?

afaik the wifi doesnt work. only usb0 which is laggy. (but works! you could ssh to the x1 per default.)
i am a little bit bussy at the moment (have to provide some sap-python-mysql-interface for productive use.)
but if i get spare time i will take a closer look at wifi...

--
cyberdesigner.net
 

NSRocket

Member
Jun 22, 2009
6
0
isnt that the same wifichip as the kaiser has?

but why is wifi needed to boot android?


I don't know many things on Kaiser device but if you read somewhere that it use a TI 1251 WLAN then... yes, it's the same.

I don't understand why do you correlate wifi and android booting :confused:
We're talking about this wifi chip just because it isn't supported in the linux-htc-kovsky package at the moment.
 

Reversedhex

Senior Member
Nov 12, 2008
210
5
Amsterdam
I don't know many things on Kaiser device but if you read somewhere that it use a TI 1251 WLAN then... yes, it's the same.

I don't understand why do you correlate wifi and android booting :confused:
We're talking about this wifi chip just because it isn't supported in the linux-htc-kovsky package at the moment.

i was reading a combination of things,
-wifi not working and usb0 laggy.
-log readout over usb0

so i thought maybe for the log or something, nevermind
---------------------------------------------------------

wifi not working on kaiser either so we cannot take the driver from there, but i dont think wifi has high priority...
http://www.androidonhtc.com/kaiser:port_status
 
Last edited:

achmed20

Senior Member
Dec 5, 2008
413
0
I don't know many things on Kaiser device but if you read somewhere that it use a TI 1251 WLAN then... yes, it's the same.

I don't understand why do you correlate wifi and android booting :confused:
We're talking about this wifi chip just because it isn't supported in the linux-htc-kovsky package at the moment.
its not related. i jsut read that the USB connection was kind of laggy so once i set up a working wifi connection i can continue working with SSH over wifi. that was the only reason.
 

cyberdesigner.net

Senior Member
Jan 8, 2009
129
9
Dresden
ah... ok i think this was my intention.

most of the time i am waiting for usb0 to get any response! i cant read on the display them self... so the next needed feature for _me_ was to get a stable/responsible connection (like wifi ;)

achmed20: you got it!
--
cyberdesigner.net
 

scholbert

Senior Member
Aug 1, 2007
1,347
821
Hi,

very nice project. Maybe i could help out a bit :D
At least i may help testing and do some hardware discoveries, because i'm not a good kernel hacker.
Anyway i'm used to digg the kernel source and all the other stuff.

There are some questions though:

Those are introduced in the git repository of Mariusz "Aiv" Dalewski. Among other changes, it has the fully working xperia keyboard.
Is the git already accessible?
Maybe someone could create a patch to get started more easily ;)

afaik the wifi doesnt work. only usb0 which is laggy. (but works! you could ssh to the x1 per default.)
What's the exact state of USB connection right now?
Does it work on Raphael?

Concerning debugging:
Anything known about JTAG on Kovksy?
As you might know i'm addicted to this interface :D

Best regards,

scholbert
 

dcordes

Retired Senior Recognized Developer
Nov 20, 2007
707
254
Hi,

very nice project. Maybe i could help out a bit :D
At least i may help testing and do some hardware discoveries, because i'm not a good kernel hacker.
Anyway i'm used to digg the kernel source and all the other stuff.

There are some questions though:


Is the git already accessible?
Maybe someone could create a patch to get started more easily ;)


What's the exact state of USB connection right now?
Does it work on Raphael?

Concerning debugging:
Anything known about JTAG on Kovksy?
As you might know i'm addicted to this interface :D

Best regards,

scholbert

http://www.htc-linux.org/wiki/index.php?title=Kernel#Kernel_for_QCT_MSM7xxxA_based_devices
The aiv code is htc-msm-2.6.27 branch plus xperia changes. I think he doesn't want to make it available publicly yet. I'm waiting for it too so I can push it to linuxtogo. You can pull the htc-msm-2.6.27 either way.

usbnet is same driver as used for raphael.
drivers/usb/msm_usb
For jtag, I think you need to wire it to the board manually.

For the raphael you can get a serial connection by making a cable that plugs in the usb port. Ask dreamkill about it. I don't know if it is wired the same way in xperia.

Hope this makes sense I have horrbile hangover :confused:
 

Reversedhex

Senior Member
Nov 12, 2008
210
5
Amsterdam
http://www.phonewreck.com/wiki/index.php?title=Sony_Ericsson_XPERIA_X1
So what has to be done is get the linux drivers for al these hardware components and compile them to a kernel to make it fully working?

that probably ist going to be easy :p
---------------------------------------------------------

btw about wifi cant the driver from g1 be extracted?

same hardware G1/X1
-Power Management PMIC: Qualcomm PM7540
-WLAN Texas Instruments WL1251B/WL1251FE
-UMTS: 2100MHz avago ACPM-7381
-USB SMSC USB3316
 
Last edited:

scholbert

Senior Member
Aug 1, 2007
1,347
821
Hi dcordes,

thanks for your reply.
http://www.htc-linux.org/wiki/index.php?title=Kernel#Kernel_for_QCT_MSM7xxxA_based_devices
The aiv code is htc-msm-2.6.27 branch plus xperia changes. I think he doesn't want to make it available publicly yet. I'm waiting for it too so I can push it to linuxtogo. You can pull the htc-msm-2.6.27 either way.
Yeah did that already.
Unfortunately right now i got no X1 for testing. Should arive the next days i suppose :D

usbnet is same driver as used for raphael.
drivers/usb/msm_usb
O.K., i see so we will also use the config for raphael, i suppose..

For jtag, I think you need to wire it to the board manually.
Sure, that's essential :p
I just wanted to know if there's anyone apart from Sony and HTC engineers who got some info about these testpoints ?

For the raphael you can get a serial connection by making a cable that plugs in the usb port. Ask dreamkill about it. I don't know if it is wired the same way in xperia.
That's cool!

Hope this makes sense I have horrbile hangover :confused:
Does make sense to me ;)

BTW anyone tried this patch to get WIFI support on X1?
http://linuxtogo.org/~lgorris/diffs/git-diff_htc-msm-2.6.27_add-ti1251.diff

Best regards,

scholbert
 

scholbert

Senior Member
Aug 1, 2007
1,347
821
Have to quote myself :p
The patch applies fine but after having a short glimpse, this one has been extracted from the SDK. No proper Kconfigs or Makefiles :confused:
So i don't think this huge patch is intended to go into kernel tree again.
AFAIK, there's also a lot of stuff for userland inside.
Insider may know more about it!

Perhaps for WIFI on the X1 it's better to start with a more clean driver.
You make have a look here:
http://osdir.com/ml/linux-wireless/2009-02/msg00390.html

I will try to integrate the patch to current 2.6.27-msm.
There's work to do of course, e.g. SDIO support and PM.

Best regards,

scholbert
 

D4113R

Member
Apr 1, 2009
10
0
I have no idea what you guys are saying.
But Android on the Xperia is f*****g awesome!

could any1 just quickly recap how close we are on a ROM with Android? :)
 

Reversedhex

Senior Member
Nov 12, 2008
210
5
Amsterdam
I have no idea what you guys are saying.
But Android on the Xperia is f*****g awesome!

could any1 just quickly recap how close we are on a ROM with Android? :)

though i understand just a little, id like to qoute myself on this
So what has to be done is get the linux drivers for al these hardware components and compile them to a kernel to make it fully working?
that probably ist going to be easy
 

dcordes

Retired Senior Recognized Developer
Nov 20, 2007
707
254
yes with htcraphael_defconfig xperia boots.
I will ask some people about 7xxxA jtag pins and let you know if I have any information.
Have to quote myself :p
The patch applies fine but after having a short glimpse, this one has been extracted from the SDK. No proper Kconfigs or Makefiles :confused:
So i don't think this huge patch is intended to go into kernel tree again.
AFAIK, there's also a lot of stuff for userland inside.
Insider may know more about it!

Right, It copies some revision (see date of file upload) of the android git ti1251. It should enable you to build the kernel module.
lgorris=dcordes
Perhaps for WIFI on the X1 it's better to start with a more clean driver.
You make have a look here:
http://osdir.com/ml/linux-wireless/2009-02/msg00390.html
It's no big secret the 10M google ti1251 driver is crap and it might really be better to use that wl12xx as soon as they have the SDIO.
I will try to integrate the patch to current 2.6.27-msm.
There's work to do of course, e.g. SDIO support and PM.
That will be nice. Let me know when you tried.