yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 ROM Development] dcordes:
So there have been some interesting developments recently. We have the interface working that controls audio. Also power management is evolving.

This means we are not far for from using kovsky as a phone.

I will look into testing everything on the kovsky and maybe provide a kit with android userspace images so you can try stuff out.
[XPERIA X1 ROM Development] dcordes:
So there have been some interesting developments recently. We have the interface working that controls audio. Also power management is evolving.

This means we are not far for from using kovsky as a phone.

I will look into testing everything and maybe provide a kit with android userspace images.
[XPERIA X1 ROM Development] fuinhu:
waiting for that package
[XPERIA X1 ROM Development] zOOge:
Sounds very promising, can't wait to try it out.

You're all doing a fantastic job !!!

// Fredrik
[XPERIA X1 ROM Development] eDaniel:
Hello dcordes,

forgive my ignorance :), so you are one of the developers that works on bringing Android on X1? If so, I'd like to invest in a small donation as a reward for your efforts and time. Hopefully others will do the same... it'd be great to have Android working out of the box.
[XPERIA X1 ROM Development] pheL:
Yeah Android on X1 :D:D:D Can´t wait :P
[XPERIA X1 ROM Development] Xacky:
I wish you guys all the luck, also did a small donation it isn't much but I'm just a student :(.

Keep up the good work :D
[XPERIA X1 ROM Development] cyberdesigner.net:
Hey,

as i see there are some nice news.

badly i don't have resources to help very much... i think i could/should spend some time in testing cause ATM most of the time i do this ;) just for other software/projects ;)

for the "android waiters": just let the time go..... its a long way to a stable release!

First thing would be to take care of _all_ the hardware... until that happens there would no usable/stable release!
[XPERIA X1 ROM Development] cyberdesigner.net:
oh please forgive my ignorance...

BUT have you read dcordes sig? i realy, realy, realy have nothing against your donation to decordes!

BUT at the moment he is involved to bring the Linux Kernel/Angstrom to the SE Kovsky/Xperia...

Only if that would be done, anyone else (incudes him) can make Android running on the X1!

(just my thoughts)
[XPERIA X1 ROM Development] eDaniel:
Lol, what an attitude! Maybe I should donate my money to your highness? You know, to help you fabricate more witty reply...

I feel ashamed, really - not only that - I will print full-sized facepalm to remind me how dumb I am. Glad to hear that dcordes have such a great advocate like you - you are certainly doing a great job helping him out with the donations.

Just my 2 cents
[XPERIA X1 ROM Development] cyberdesigner.net:
? whats up?

i simply want to remind the fact, that at the moment, all devs involved in kovsky/xperia reverse engeniering, working on amstrong to research the hardware. and in that manor dcordes anounced the "nice develops".

for android its a long way to come 2 your phones since at the moment no one is working on this directly.

that has nothing to do with advocation of anyone!
[XPERIA X1 ROM Development] plonkersaurus:
Right, anyway, back on topic.

Does anyone have a built version of android? the kernel is simple enough to compile but android needs 10gb to build?! I only have a virtual machine here and i didnt give it enough space :p

This is my first time building this stuff so go easy :p. I'm a professional linux based programmer but never done much kernel stuff before (apart from hacking minix at uni!) but decided I should see if there is anything I can do.
[XPERIA X1 ROM Development] Ollie2913:
Android on Xperia?

than x3, till then patience :)
[XPERIA X1 ROM Development] xmr3d:
I love my X1

will not get X3 any soon.

btw i prefer windows mobile beside Android.
[XPERIA X1 ROM Development] FelixAkk:
I really see your point. But we've already came such a long way, it would be a terrible waste of effort and a possibly great device+platform to

have this effort die. But I have the impression that we are going really good right now, so as long as we can keep this up I think there shouldn't much to worry about.

Though I sometimes find it hard to tell how strong we're going, mostly because I don't actively read the IRC channels and I don't know how difficult challenges the developers face atm.

But I think it's good to see guys like dcordes and ARAN still going on strong. I really like ARAN's steadfast and organized approach to this development challenge and I think he's quite a strong beacon for this effort overall.

I don't think this is the right time yet, but when this project approaches a state where Linux (actually Android) on the X1 starts to become practical for daily use I'll start spreading the word, start posting on forums and communities where I know this will stir the crowd. And that'll probably bring in a wave of support and enthusiasm, and hopefully donations, X1 specific apps, programmers etc. that will make the Android/Linux platform live amongst X1 owners.
[XPERIA X1 ROM Development] scholbert:
Hey FelixAkk,

thanks for your reply!

I also hope that we'll get some useful linux on the X1 someday.

In fact i wrote these lines because i've seen a lot of projects like this, that got stuck at some point, because the people loose interest.

Apart from that it true that the efforts are already quite impressive, due to some enthusiats, we may call the "core team".

That's from the technical view of course, some average user won't even notice.

Anyway, thoose who expect some cab files for linux on the xperia or expect any everyday usage running linux will still have to be patient, i suppose ;)

To sum up, it's very nice that you decided to push things by writing down all info in the wiki!

Great work :D

Best regards,

scholbert
[XPERIA X1 ROM Development] Lucleonhart:
Just wanted to mention, that i visit xda everyday just to check in the 2 active Android Threads... So keep on the good work "core team", i'm your biggest fan right now! :)

Hope to hear more from you!
[XPERIA X1 ROM Development] eDaniel:
You deserve a drink or two for your efforts - my first donation: €15.00

Confirmation number: 6AP34029SA4976611

Keep up the good work, I will try to set aside some funds to buy you some snacks or popcorn.
[XPERIA X1 ROM Development] scholbert:
Compiling the kernel

Hi again,

seems there'd been some updates in the kernel sources, looks really very promising.

So, i thought it would be nice if we could switch back to a little more technical talk in this thread :D

Yesterday i pulled the latest sources and let the compiler go!

Everythings nice.

Had a deeper look at the configuration files and there's some new stuff to get happy about, e.g. radio ROM support.

Some questions about this:

How to identify the AMSS version of the radio?

For example, if i use Xperia radio version 1.14.25.55 which kernel option to choose?

EDIT: O.K. seems that i found something in the IRC channels. AMSS 5200 maybe valid for X1.

Someone started to work on a rootfs with some GUI?

Also read about Hero image running on kaiser platform, any thoughts about it?

O.k. lot of questions, but would it be nice to get some discussion over here again....

Regards,

scholbert
[XPERIA X1 ROM Development] SneakyViper:
I'm in exactly the same situation, except from the professional linux based programmer. I've done some kernel stuff at school too and building the kernel from the linuxtogo git is easy, but building Andriod is more of a problem because of free space. I also don't know what the current approach is for getting Android to run on the 'Kovsky'-kernel: just build the complete Android project and replace the kernel over there with the 'Kovsky'-kernel? Or am I looking in the wrong direction?
[XPERIA X1 ROM Development] fogozito:
i have an ESX server and i can publish some VM's (windows or linux) to help the develoment if everyone is interested. and one T1 link.
[XPERIA X1 ROM Development] FelixAkk:
Hi there SneakyViper, plonkersaurus.

It's great to hear some experienced linux programmers are interested in Linux/Android on the X1, we can really use all the developers we can get.

So it would be a shame if your question would pass unattended. However I'm virtually no good with the Linux architecture so unfortunately I can't help you out. However, to get quick and thorough anwsers to your questions, I think you're best off taking them to the HTC Linux IRC channel. There you'll find developers who do have knowledge about this subject.

Here's a snippet from our wiki:

Have a go at it and best of luck ;)

Greets, Felix.
[XPERIA X1 ROM Development] scholbert:
How to get involved...

Hi,

i agree to FelixAkk, to follow the IRC channels is the best you might do, to get up to date. The Project needs developers!

You may call it critical mass :D

As you may know i'm not one of the core members and i'm only playing around with this stuff, but anyway....do it yourself :rolleyes:

For the curious out there, i may suggest some steps to start:

1. It is worth a try to compile a kernel yourself. The kernel hackers had done a great job and the driver support for HTC platforms increases every day.

Please refer to the git.linuxtogo kernel tree and have a look into the log files.

The work there is under rapid fluctuation.

Right now (2009/10/08) you'll have to add:

|| defined(CONFIG_MACH_HTCKOVSKY)

in line 27 of mddi_client_epson.c to make it compile for X1

Obviously one of the latest patches broke the kovksy build, but it seems there are also some plans to put this into the board related files.

So i think this will change again ;)

2. For development on the Android system, you may use the package for HTC blackstone as a starting point:

http://xdaforums.com/showpost.php?p=4673833&postcount=1615

Grab the Android 1.6 for Blackstone and unzip it to a microSD.

The developers at the blackstone forum are awesome guys :rolleyes:

To get it work for X1 you'll first need an "up-to-date" zImage.

Use htckovsky_defconfig as a base and keep the configuration for the kernel as close as possible to htcblackstone_defconfig and give it a go.

Copy your own kernel to the boot directory of the microSD and change the ID to 2006 in default.txt to match HTCKovsky (a.k.a X1).

It maybe useful to attach your device to the power plug.

The rest is well known.... start haret, wait.... look :D

The screen is still upside down and by default it is locked.

Right now i was not able to unlock it, because this package has been build for blackstone.

Anyway the Android system files are ext2 formatted.

They could be mounted and tweaked easily on a linux system!

I'm really looking forward to the release of the first official package!!

Cheers,

scholbert
[XPERIA X1 ROM Development] Lucleonhart:
Wow, nice post scholbert, thanks! Will try myself, even without basic knowledge of linux programming (linux webserver and thats it...) so, maybe i can get it to work with your detailed post!

Right now i am really upset again that i do not own a HD, it seems like they are always a step faster than here in the Kovsky fanbase... *gg* But i am waiting patiently, cause the X1 with Android would be the perfect device. *waitingwaiting* ^^

Thanks to all developers again! :)
[XPERIA X1 ROM Development] scholbert:
Hi,

i you got problems with the kernel stuff, here's my zImage+config :D

Left out the mtd stuff for testing.

Anyway should boot right into Android GUI.

Use it at your own risk of course....

As i said:

- Screen is locked and upside down :p

- Power plug should be attached, had some issues with battery :o

Have fun!

scholbert
[XPERIA X1 ROM Development] Chaosstorm:
I thought that those problems were already solved for the kovsky kernel :P

And what do i have to set in the default.txt ??

I have downloaded that touch hd android 1.6. But ...when Im pasting your zImage into it and editing the default.txt it doesnt work..
[XPERIA X1 ROM Development] scholbert:
Yes the screen orientation for the console is solved.

When the GUI starts up it reversing again :p

O.K. here's my default.txt, maybe you should also try this newer version of haret.

See attachment.

Regards,

scholbert
[XPERIA X1 ROM Development] Oobly:
Just thought I would mention something about the screen orientation. In some apps I use for testing the 3D performance of my X1 in WM ROMs the screen sometimes displays upside down (Lights.exe and D3DMDemo.exe, etc.). The touchscreen coordinates are still normal, though, so it makes it pretty hard to interact with.

It seems like HTC mounted the screen upside down for layout reasons.
[XPERIA X1 ROM Development] FelixAkk:
And thanks for your reply scholbert. Great to have insightful people like you aboard ;)

Just finished giving the Wiki a major update and cleanup. As you may have noticed, the article has grown to such proportions that it seems we're hitting the memory cap of the Wiki server. (dunno if that's something I should be proud of or not : ) To couple this problem ARAN exported a section to a 'sub-Wiki', which I think is a good solution, with which I proceeded with the 'Progress reports' section.

So, primary information and small sections will be kept in the main Wiki, but large sections like 'Keyboard layouts', 'Progress reports' and possibly more to follow if needed, will be excluded and placed in seperate Wiki's. These will still be listed as links in the article index, and will follow the naming convention Kovsky Linux <section name> so they are easily found via search.

Such words straight from the horse's mouth keep my hopes high for this project :) Throw us that android kit already! :P Anyway, it very much deserves a small token of my gratitude, check your PayPal ;)

back to business now ;)

greets, Felix
[XPERIA X1 ROM Development] Chaosstorm:
ok i might be stupid .. or well.. its just not working ..

Do i have to compile that touch HD 1.6 android?

when i run haret it starts booting, then it says "Android" and after that i get "cannot find /system/bin/sh and alot of other /system/bin/ bla bla bla"
[XPERIA X1 ROM Development] cyberdesigner.net:
i have try'ed that setup... in this initrd.cpio.gz are no files in /system*...

for the compile question: NO! the files are compiled... there are no files inside of /system :(

/my 2 cents in short

i have try'ed /tmp at phone and storage card...
[XPERIA X1 ROM Development] dcordes:
sorry for not putting a package yet. but good to see scholbert beat me to it.

I had bigger fish to fry in the last weeks. started studies and had to move.

kovsky should work with the current htc-msm-2.6.27 revision though.
[XPERIA X1 ROM Development] scholbert:
Hey there,

nice to read you :D

I really appreciate what you've done so far...

Anyway this project should be community driven, so i thought to give it a try ;)

I definitely does :p

Though the Android GUI is not of much use right now, it is a nice proof of concept.

To thoose who still have some problems, here are some hints:

1. Use a standard microSD with fat16

2. Use a partrition table on your card otherwise the bootparams need to be changed (e.g. mmcblk0p1). Most microSD do not use partrition tables per default.

3. It is absolutely recommended to unzip the package to a card.

4. Leave the directory structure untouched (root folder on your card must be /tmp)

5. This package uses a ext2 formatted file for the system files (system.e2img). If this file could not be found and mounted by the kernel the process will fail.

Good luck!

scholbert
[XPERIA X1 ROM Development] informatico:
I didnt have luck to boot android can anyone who already did so make a video and upload to youtube pleeeeease :)
[XPERIA X1 ROM Development] cyberdesigner.net:
thanks scholbert. i will try this tomorow. but sounds logical to me ;)

--

Jan
[XPERIA X1 ROM Development] hhenault:
Hello,

Being new in this thread.

I grabbed the files as stated in msg #92 and #94, put them on a fresh formatted 'FAT32' 8G SD card, and launched Haret (Xperia X1, WM6.1).

Boot ended with complaints about 'not found files ...' messages, due to :

4.nnnnnn mmc1: host does not support reading read-only switch. assuming write-enabled

4.nnnnnn mmc1: new high-speed SDHC card at adress 8fe4

4.nnnnnn mmcblk0: mmc1:8fe4 SU08G 7761920KiB

4.nnnnnn mmcblk0:

mount: mounting /dev/mmcblk0p1 on /mmc failed: No such device or address

Default.txt file was:

------------------------------------------

set mtype 2006

set kernel zImage_kovsky_20091008

set initrd initrd.cpio.gz

set ramsize 0x6000000

set ramaddr 0x10000000

set cmdline "root=/dev/ram0 init=/init console=tty0 mem=76M msmsdcc_id=2 imgdevname=/dev/mmcblk0p1 imgdevnum=1 imgdir=/tmp msmts_calib=0x395.0x3c9.0x79.0x77 msmvkeyb_toggle=off"

boot

-------------------------------------------------------------

What's wrong with this f....g SD card ?
[XPERIA X1 ROM Development] hhenault:
Have also tried (in case no partition table on the SD card) :

set cmdline ... imgdevname=/dev/mmcblk0 ...

same result: "/dev/mmcblk0 : no such device or address"

Any magic devicename for standard FAT32 SD cards?
[XPERIA X1 ROM Development] scholbert:
Hi hhenault,

please compile your own kernel if you like SDHC supported.

Obviously your 8GB card is SDHC

If you have a look in my config file:

...
# MMC/SD Host Controller Drivers
#
# [B]CONFIG_MMC_SDHCI is not set[/B]
CONFIG_MMC_MSM7X00A=y
# CONFIG_MMC_MSM7X00A_RESUME_IN_WQ is not set
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
...

Because i only wanted to help out with a test kernel and i used standard microSD for my experiments i decided to leave it unset.

Best regards,

scholbert
[XPERIA X1 ROM Development] hhenault:
Ok.

Found an 512M SD card; formatted as FAT and put stuff in it.

Boots correctly; I even got the GUI running during a couple of seconds, then a pop-up windows saying "No Services", then another saying "Shutting down".

And for the moment, no way of avoiding that.

Somebody else succeeded ?
[XPERIA X1 ROM Development] scholbert:
Hi,

please use a power plug at the moment!

There seems to be an issue with the PM and X1 battery.

Please keep in mind:

These files are nothing more than a proof of concept.

I posted these information to do some testing and to push the development.

If you like kernel hacking the kernel source would be nice to look at.

If you like Android systems, hack the system files :D

Anyway, it's nice to see that someone else succeeded to boot the GUI.

Best regards,

scholbert
[XPERIA X1 ROM Development] demster:
I managed to get Android working, or something like that...

I got the whole Android for Blackstone package on my SDHC 8GB card, with haret-x1 and default.txt (which was included in zip) in 'root' -> tmp -> boot

I renamed 'zImage_kovsky_20091008' to 'zImage' and replaced it with the zImage from the Blackstone package.

Running haret-x1 works and it boots Android, but in the lockscreen :confused: and I have to push 'home' to exit the lockscreen. I guess that is for the Blackstone, but now I can't use it...

Anyone knows how to 'fix' this?
[XPERIA X1 ROM Development] informatico:
wow i booted finally ... :)

looks great even if is only a static picture is there a way to go out of lock screen ?
[XPERIA X1 ROM Development] informatico:
you should do everything with the power cable plugged in but the gui is in lock screenmode ,,, i couldnt get out of it

greetings
[XPERIA X1 ROM Development] hhenault:
How did you format your SDHC 8GB card ? Linux ? ext2 ?
[XPERIA X1 ROM Development] hhenault:
Same for me. But where is the 'home' button on the X1 ?

By the way, I used the PC's USB socket for X1 power supply.

W$ didn't recognize the device, and asked for a driver for:

"MSM USB DEVICE"

Vendor_ID=049F [Compaq]

Product_ID=505A [[Linux-USB "CDC Subset" Device, or Itsy] (experimental)]
[XPERIA X1 ROM Development] dcordes:
hey scholbert,

did you try to get online via ppp in HEAD? people with gsm blackstone told me it worked but doesn't for me on kovsky. this initrd has ppp.sh in /home/root/ if you wanna give it a go.

http://linuxtogo.org/~lgorris/initrd-angstrom-2009-09-17

regards

edit: CONFIG_MMC_SDHCI is Secure Digital Host Controller Interface support
[XPERIA X1 ROM Development] demster:
I didn't do anything special with it. It's 'normal' formatted, just FAT32.
[XPERIA X1 ROM Development] hhenault:
Thanx for the info

SO, I tried again with a 'normal FAT32' 8 GB SDHD, and succeeded in booting.

Now freezed on 1st page (a brown image with a small house somewhere in mountains) and a pop-up window saying :

(No service)

----------------

1:00 AM

01/01/1970

----------------

Charging (0%)

----------------

Screen locked

Press menu to unlock​

I understand I've to press the 'home' key - I suppose being the "Windows" key on the sliding keyboard - But nothing happens

What's wrong ?
[XPERIA X1 ROM Development] informatico:
Not sure but since during boot there was no calibration at all ... i think the screen is useless and so the buttons which arent recognized correctly.

The colors are working perfectly at least and if we could find some way to go out of lock screen there might be something interesting
[XPERIA X1 ROM Development] hhenault:
Just try 'msmvkeyb_toggle=on" in the "set cmdline ..." of default.txt

You wille get a nice little keyboard window with a superb "HOME" key, aside the Backspace.

when you tap this key, nothing happens, BUT by tapping F12, F11, ..., you will see some keys lighted in red, or lat & ctrl keys selected in black : looks like searching the good place for tapping, one will red the "HOME" key ...

Nice game ...
[XPERIA X1 ROM Development] demster:
I can't reach the 'HOME' key... Looks like the screen isn't calibrated, or wrongly (is that a word?:P) calibrated? When I move the stylus from right to left on the screen the keys are being highlighted from left to right and visa versa. But with that I can't reach the upper few rows of the keyboard (keyboard is in upper right corner)...

blablabla I can't win the game :S Does someone have a cheatcode or so?
[XPERIA X1 ROM Development] informatico:
Tried that ... it seems the display is very bad calibrated in default.txt ... does someone have the good calibration coordinates ... ?
[XPERIA X1 ROM Development] scholbert:
Yeah, the values in default are from blackstone... sorry :p

Try these:

msmts_calib=0xc5.0x399.0x367.0x4d

Taken from aiv-x1-pack-03.zip!

So thanks goes out to him!

Anyway the keyboard is working for console only, i suppose :o

Play nice!

scholbert
[XPERIA X1 ROM Development] informatico:
thx work great but still no way out of the lock screen :o any key in th onscreen keyboard cant take us out of lock screen

i think a recompilation of the kernel is needed to make a key act like the menu key .... but i never hacked a kernel....
[XPERIA X1 ROM Development] WI-FI:
Hi informatico tested the trick with the onscreenkeyboard and the calibration coordinates, after some playing i've found out that the F1 key is the menu key;)

and the home key takes you out of the apps and so on.

BtW: great work, and a big thanx to scholbert for making this possible :)
[XPERIA X1 ROM Development] hhenault:
Bingo! Almost perfect!

Far more better for the game ...

tap 'del' key = switch 'home' key to red

Ok

And after ?????
[XPERIA X1 ROM Development] scholbert:
Hey WI-FI!

Hell yeah, it works :D

BTW... no need for appreciation.... did nothing more than distribution.

O.K. perhaps a little bit adding 1+1 :p

Big thanks should go out to the kernel hackers and to our fellas at the blackstone sub-forum ;)

I think there may be some nice progress in the next weeks.

There's another package for the balckstone over there, which is much more pimped up. Maybe we should have a look at it!

Did someone over here ever build an Android system from scratch?

Shouldn't be that hard...

Happy hacking!

scholbert
[XPERIA X1 ROM Development] demster:
My Xperia keeps shutting down when in lockscreen even though I have the USB cable connected to my laptop... But the keyboard works, but I can't do anything with it, since Android keeps shutting down :o
[XPERIA X1 ROM Development] cyberdesigner.net:
on my side it does this only if i had'nt pluged energy befor i start haret. and i didnt use USB from PC/laptop. try using the cable-plug.