yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 ROM Development] hhenault:
To Scholbert :

Recompiling the kernel : could you help me to get on the saddle ?

1) Have installed on my linux box a tarball 'arm-2008q1-126-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2'

2) cd ~/diamond-dev/kernel

make htcraphael_defconfig ARCH=arm

==> OK

3) export PATH=~/diamond-dev/arm-2008q1/bin:$PATH

make zImage ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-

==> OK [ "Kernel: arch/arm/boot/zImage is ready" ]

Q: am I sure this zImage is for X1 ? if Yes, how and where include all source updates ?

Thanx in advance ...
[XPERIA X1 ROM Development] scholbert:
Hi hhenault,

puuuh, why do you always address me...

I'm sure there are a lot of other guys who may help out :p

Seems like you set up your cross environment fine.

Please use the htcblackstone_defconfig as a starting point.

If there are no errors use make menuconfig and change the platform setting to htckovsky.

Alternatively you may use one of the configs floating around in this thread.

I personally attach my config file with the kernel i posted here.

These configs should give you a working kernel.

These are settings given to the kernel as bootparameters.

First line sets touchscreen calibration values (there's no calibration routine right now).

Second sets the framebuffer console rotation.

If the "fbcon" parameter is not defined, rotate is default 0.

0 = 0 degrees

1 = 90 degrees

2 = 180 degrees

3 = 270 degrees

Regards,

scholbert
[XPERIA X1 ROM Development] Gwystyl:
Thx, I'll try the new package too :). For those who don't speak french: click on the link above the NOD32 banner which says 'telecharger ce fichier'.
[XPERIA X1 ROM Development] Chaosstorm:
Ok.. I have an odd problem with sdcard..

I booted android all went fine.. then i went to music and it did play my songs on my sd card ( altho I had the phone on silence mode I saw the timer increase ).. later after some messing and using every aplication.. ( and finding out the phone was on silent mode ) i went back to music and then it said no sd card... any clue why it didnt see the sd card any more?

Good progress so far :)
[XPERIA X1 ROM Development] dark_sith:
nice, runs quite smoothly ...

Anyway, still project status. Work must be tedious on this.

Also, screen res is almost too high for android.

anyway, good job!
[XPERIA X1 ROM Development] fogozito:
any news? =)
[XPERIA X1 ROM Development] jerpelea:
http://developer.android.com/sdk/android-2.0.html

android 2.0 launched

wvga resolution supportted
[XPERIA X1 ROM Development] Koloboff:
I`m waiting for X3, http://www.sonyericsson.com/whatsnext/ :)
[XPERIA X1 ROM Development] Lucleonhart:
Wow, i really want to see how the system interacts with the resolution... the notification area was really un-fingerfriendly... nearly winmo style... so this may add better support for hires devices! :D
[XPERIA X1 ROM Development] Reversedhex:
X10;) (racheal)
[XPERIA X1 ROM Development] SneakyViper:
I was almost done setting up the environment for building a new android image, but then my notebook crashed, so I'm out for a few days probably :(

BTW, this thread needs some cleaning up :mad:
[XPERIA X1 ROM Development] Reversedhex:
i agree,

So let this message be the

last

not going about developing!
[XPERIA X1 ROM Development] theevilsite:
I download the package and unrar on the storage card.When i pres run it stop in a few seconds...and nothing.It tells me it can not open some files in some dir.What shoud i do
[XPERIA X1 ROM Development] Gwystyl:
You have to leave the folder intact, so all files should be in /storage card/tmp

Than if you run haret and select default.txt and press run, have some patience and see what happens. If you get an error msg, can you type it here? Maybe someone can point you in the right direction then. With only 'some files somewhere' it's hard to say what's wrong.

edit: I get a message that MP3 support cannot be loaded, but it boots on fine afterwards. It only boots when it's not connected to my laptop/pc via usb cable.
[XPERIA X1 ROM Development] vdelf:
hi @all

here are some development news :D

the attached patch for the kernel source does several things:

1. activates clock in htckovsky_defconfig, so the clock works now

2. it maps the call- and endcall-keys to android. Phone does not work for me, but you can hold the endcall-key to power down android

3. on my phone linux hangs on reboot, so i had to reset the phone all the time. i hate to take the cover off, so i tried to fix it. The solution was to remove some code, whitch is for sound output. Sound doesn't work anyway, but it is possible to reboot or powerdown linux now.

4. i put some code in to activate charging when plugged in. Until now, android was only pretending, but did not charge.

to apply the patch, put it in the kernel-dir and run "patch -p1 < diff.txt" from the kernel-dir.

I also attached the kernel with the patch included. The config used is the (patched) htckovsky_defconfig. Please pm me if you tried it and it does not work.
[XPERIA X1 ROM Development] Lucleonhart:
Hey vdelf, just ried your zImage and it works perfect! Shut down android is really nice new feature! Thanks again!

I think switching to Android 2.0 would be a great step, too. Many parts of the 1.6 source ar not optimised for the high resolution... 2.0 should do it better! :)
[XPERIA X1 ROM Development] pablo34:
hey guys, can anybody tell me if it is possible to rotate the screen because its upside down
[XPERIA X1 ROM Development] japanfred:
Read the post mate, they know it's upside down and they are looking into it.

Doing a great job guys, can't wait to be able to run this fully on my X1, even though i'll be getting the X3. Android on the X1 with a keyboard could be awesome.
[XPERIA X1 ROM Development] joker.mn:
using the most recent image the shut-down function does not work for me.

pressing phonekeys (accept call and end call) does not alter anything in android.

also, changing the clock & date settings does not work for me.

what it now does (and i appreciate that) is save the settings that i do each session. changes of language settings and so on were saved between the boots. so, sd card seems to work.

i find the idea of porting the 2.0 version quite stunning, because there you have all the access to highres features.

anyways, thank you guys for this project, keep it running!
[XPERIA X1 ROM Development] scholbert:
Hi!

Thanks again to vdelf for the improvements in the kernel.

I too would appreciate to get the latest stuff on our devices.

But at this point of development, it's not the Android system that needs a lot of work, it's still the kernel. Many machine dependencies are still uncovered, because there are not enough people around doing deep investigation on the platform. Most parts working at the moment are based on research done on other platforms.

As far as i know the actual framebuffer driver in our working kernel (linux-2.6.27-msm) is not capable to support Android 2.0 functions. At least there'd been some changes in the drivers structure on the latest source code packages provided by HTC and other manufacturers.

The Android systems itself only differs slightly from one platform to another.

Basically there are some machine dependend libs that directly access kernel functions and obviously some scripts doing setup functions.

Anyway maybe someone out there may give more details about it.

So please correct me if i'm wrong.

But back to the missing hardware support :o

As you might have noticed there are a lot of threads about all this Android stuff. Basically it would be much nicer to discuss about linux kernel functions.

At least this is one of the important parts to get any kind of linux OS running smoothly on this device.

Have a look at the blackstone forums, the kernel integration and progress of the Android port is mainly driven by one of these genius hackers.

Right now he's in the process to get better graphics support and this would help us for kovksy development as well.

Perhaps this may also give us the opportunity to fix the display upside-down issue.

Anyway there's so much to do, hopefully people won't loose interest :D

In the end it would also be a good question, what we all expect from this project.

EDIT: I'm considering to start a request for a broken device.

For me as a hardware addicted guy it would be very helpful to get a broken X1 device for some very deep hardware investigation and push back this information to the kernel hackers!

Stay tuned!

scholbert
[XPERIA X1 ROM Development] hhenault:
Hi vdelf,

kernel 20091031 :

1) stuck if X1 is connected to PC via USB

Last 3 lines :

setup vsync

vsync on gpio 97 now 1

msmfb_probe() installing 400 x 800 panel​

2) otherwise, looks good, but doesn't sound good :

When tapping the music Icon, the player finds my mp3 files on the sdcard, and 'plays' them, but still no sound ...

Clock correctly handled, date & time Ok, no need of setting

Can access all the file on the sdcard either using terminal emulator, or android browser.

Telephon button works, i.e. it launch the telephon menu, where one can choose between DIale, call log, contacts [empty], favorites [empty]
[XPERIA X1 ROM Development] Reversedhex:
hey scholbert

I don't know if you already been to this site but it is amazing.

they have an exploded view off the x1i and a complete hardware list. :o

I hope this is use full to you.
[XPERIA X1 ROM Development] scholbert:
Hi!

Yeah, these guys rock!

Some time ago i started a thread to collect all public datasheet of the internal components used in X1.

See here:

http://xdaforums.com/showthread.php?t=569111

Anyway would be very nice to fiddle around with some broken hardware to get some deep insights.

For example there are some interesting testpoints on the PCB.

Would be awesome to find a way and discover the testpoints for JTAG access.

This would give us a perfect tool for debugging and testing :D

Cheers,

scholbert
[XPERIA X1 ROM Development] japanfred:
Evening guys, got a handy little treat here.

Been a busy bunny today, getting this sorted out. Basically, i have a script that i wrote that'll run at midnight every night (GMT) and grab the latest kernel source and apply the patch provided earlier by vdelf as this seemed to work pretty well on my device!

The files can be found here.

http://x1android.spikedsoftware.co.uk/

Two types of files...

-dist is the entire android with the latest kernel, which you can just extract to your storage card, and then all should be hunky dorey and Android should been when you run haret.exe from inside the boot folder.

-kernel is just that, it is a build of the latest kernel (which is also included in the dist archive).

Both of these worked for me straight out of the box, straight onto my storage card and booted up. If you guys need any extra FTP, file hosting, or anything, please don't hesitate to shout. Plenty of space and power to be abused for free.

Good luck, let me know if you have any problems!

Cheers,

D
[XPERIA X1 ROM Development] scholbert:
Hey japanfred,

that's cool stuff :D

Thanks for your support!

scholbert
[XPERIA X1 ROM Development] demster:
Hey Scholbert,

I guess you know Itje from the Touch-It Xperience and some Leo Roms? Well, he had spilled coffee over his X1 and he already has a new one. But maybe you might ask him for his broken X1, it's just an idea which crossed my mind...

Anyway I really thank you (and maybe others as well) for keeping us up to date. When this is (sort of) done and I can use Android (2) on my X1 I will definitely be donating!

Keep up the good work!
[XPERIA X1 ROM Development] vdelf:
i got this sometimes, too!!. Dont know why, but you should try it again. The system runs, but the display does not show anything. Must be something with the initialisation of the panel...

If you got this problem, you can reboot the system without reset: Wait some time until the system has fully booted, then press and hold the au-key (between sym and space, its "alt") and then press "left" on the cursorpad. This switches to root-console. Then you type "reboot" and hit enter. A few seconds later the system restarts.
[XPERIA X1 ROM Development] japanfred:
Apologies for the website being down, i managed to bust it when updating some statistics!

http://x1android.spikedsoftware.co.uk/ is back up and running now!
[XPERIA X1 ROM Development] Lucleonhart:
You got updates from every day... does something changed between the days, or just changes that do not affect the x1?
[XPERIA X1 ROM Development] joker.mn:
works like a charm for me, thanks for sharing.

small advise to all other interested users with less skill in computers: wipe the TMP folder of your device before installing the new version. now the buttons are mounted correctly, the clock works and i can even powerdown.

still thinking about this setting in the config from page 24 of this thread where you talked about adding a value of "2" to the default.txt resulting in a rotation of the screen.
[XPERIA X1 ROM Development] Lucleonhart:
That will just rotate the boot console, android will be upside down afterwards...
[XPERIA X1 ROM Development] japanfred:
Basically, if the kernel gets updated, then it will be included in the build. It's a bit quiet recently, but eventually when im sure it'll pick up and alot of changes will make it in, then it'll actually be worthwhile.

However, if anyone has any patches for the kernel source that they thing are worthy, i'll happily add those into the build, so we can get something a little better on the go.

Feel free to click a link at www.spikedsoftware.co.uk if you do download :)
[XPERIA X1 ROM Development] scholbert:
Read some docs!

Hi there.....

no more hacking at the moment???

I'm in the process to gather some information about the Epson and MDDi init process. Maybe this would bring us a nicer implementation for graphics and also solve the screen upside down issue.

In the meantime i got a smart document for you:

http://tree.celinuxforum.org/CelfPu...achFile&do=get&target=Mythbusters_Android.pdf

It was made by a guy named Matt Porter and he was deeply involved in a professional Android project for MIPS architecture.

Read and learn!!

Enjoy,

scholbert
[XPERIA X1 ROM Development] rudibedy:
Hi guys, all files dissapeared from http://x1android.spikedsoftware.co.uk/ . why?
[XPERIA X1 ROM Development] japanfred:
I love how there is no thank you when it's hosted, but an instant explanation is required when it's down for a while.

Back online.
[XPERIA X1 ROM Development] rudibedy:
Thank you for the release :) and for your time :)
[XPERIA X1 ROM Development] oTToToTenTanz:
Such pictures make me craving for more...:o

http://www.blogcdn.com/www.engadget.com/media/2008/12/x1_android.jpg
[XPERIA X1 ROM Development] alias_neo:
Curious

I'm curious about the exact state of this, generally we keep the first post of projects like this up to date for new coming people. I just tried it, but it's still upside down, doesn't fill the screen, softkeyboard is in the way and covers the screen if I drag it, where do we get more info on the status?

Thanks.
[XPERIA X1 ROM Development] Anesty:
Thanks

Just wanted to say thanks to all for a very demanding project.

I am a X1i owner, had my phone since Feb and had it in my hands for about a month. 2 broken screens and a transmiter fry later, i would like to get this on to my phone, but still waitin for the 2nd screen from china to get phone repaired. The reading on this PRJ is just awesome. I've dabled abit with programing and hope to try my hands at this. Will be about 2 weeks before I get my screen, so any info that isnt up here, please post or PM me if ya want.

Thanks in advance for everything

L8r's
[XPERIA X1 ROM Development] scholbert:
Hi!

Small update....

Japanfred is hosting the latest zImage (with vdelfs patches) and Android system files.

Thanks again at this point!

Latest kernel is working but still needs more hacking.

The Android image could also be improved or updated if someone would like to put some work into it.

linuxtogo git server was down for a while. Now up and working again.

Here's one of the mirrors:

http://gitorious.org/linux-on-qualcomm-s-msm

Personally, still working on the screen issue.

Started to digg deep in SPL bootcode as well as ddi.dll to get information about display init process. Reversing this part of code sucks :o

Apart from this, espon mddi client driver needs some rework.

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

No news from tuxhero at the blackstone forums.

He started to rewrite some parts of the display code, that may help us too.

Still no solution here :rolleyes:

We need more info about GPIO usage on X1.

Please read the haret documentation and help us out on this issue!!!!

Please read also:

http://htc-linux.org/wiki/index.php?title=Main_Page

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

Have fun!

scholbert
[XPERIA X1 ROM Development] rRaka:
would be nice when you post an image or a video to present the current progress and status, more people would be interested and would read through this thread, more replies and maybe a faster progress,

only an idea , thanx
[XPERIA X1 ROM Development] achmed20:
i doubt that any1 with knowledge 'bout kernel coding needs a video to get into this. makeing vids ans creens would just please some people and do pretty much nothing for teh project itself.

status hasnt realy changed for a while.

phone ist not working (make calls), wi-fi , screen upside down. keyboard worked with older angstrom kernel but i think no1 yet has tried to integrate it into this kernel. no idea about the sound.

so basicly ... nothing worth a video yet
[XPERIA X1 ROM Development] jwte:
Thank you japanfred, but can't someone add the link to the ftp in the wiki so it can be easy to find. It's the best android on x1 i have tried.

Thanks again
[XPERIA X1 ROM Development] japanfred:
Good call, i have just done this. Under the Downloads section.
[XPERIA X1 ROM Development] lunaticxgr:
hello i have a little request.

with all this links i'm totally lost.

can someone please post a reply with all the files i need to download to run the project please?

thanks a lot
[XPERIA X1 ROM Development] japanfred:
http://xdaforums.com/showpost.php?p=4860001&postcount=255

Read this post, download the latest -dist file from the website, then extract it onto the root of your storage card in the phone.
[XPERIA X1 ROM Development] :
@ japanfred

hi guy,

it's very interesting about running android on x1.

I have X1a and I tried your lastest build 20091112-dist.tar.gz om my device.

But it just appears the boot screen (the screen is rotated 180 degrees) and stuck at the line:

[12.510589] msmfb_probe() installing 480*800 panel.

I will try again when you fix this problem.

Cheers guy :D
[XPERIA X1 ROM Development] scholbert:
Nothing..

Hey,

o.k. i just deleted my first comment on this ;)

At least there's still some interest and that is a very good thing :D

Your device should boot into the Android without any problems if you used the latest package.

The screen upside down issue is still unsolved.

This was already mentioned in some posts.

Let me write it down over and over again:

Please, anyone help us out and start development.

We need some constructive discussion, we need patches!

I'm speaking of community, creative ideas to solve some issues, you know what i mean!

Look around and post information that is really new.

We do not make any efforts here, because only some individuals only make little steps and many people posting useless stuff.

Back on track:

Personally i still stuck at some part of kernel code but this again makes me aware of my missing hacking skills.

Not to mention, that reversing SPL code is really freaking me out............

Another thing is, that i started a thread to get some broken hardware.

No one gave any comment so far:

http://xdaforums.com/showthread.php?t=580197

EDIT:If you are a ROM cooker or have explicit knowledge about the internal structure of NAND flash, MSFLASH filesystem...etc.

Have a look at this long term project i am trying to initiate :) :

http://xdaforums.com/showthread.php?t=580676

Thanks for your patience ;)

scholbert
[XPERIA X1 ROM Development] demster:
Hey Scholbert, I replied on your post... See #257 Don't know if it can be helpful, but you never know.
[XPERIA X1 ROM Development] scholbert:
Hi demster!

Yeah great! I already read that!

Though i did send a PM to itje yet :o

Thanks a lot for the hint.

Regards,

scholbert
[XPERIA X1 ROM Development] allenx1:
why is the screen upside down?
[XPERIA X1 ROM Development] Lucleonhart:
and. so. on. ^_^
[XPERIA X1 ROM Development] jeppe_500:
I have read this thread for a while and I follow the progress.

I'm really interested in to get Linux (and Android) running on X1

I do have some knowledge about c/c++ (and Java) and a litte knowledge about OS/Linux. I wonder if I could help in some way.

So please tell me what to do and I will try to figure out something!

You guys should really have many big thanks for the work so far, Really Good!

over and out
[XPERIA X1 ROM Development] jwte:
I have a x1 with swedish keybord layout and can I change the layout or have someone alredy done that?

And thanks for the good work so far!!!
[XPERIA X1 ROM Development] funkfish:
whats the latest status on android on x1

can someone put actual infos into the first entry like other threads. it's waste of time to plow ones way to all entries!
[XPERIA X1 ROM Development] Reversedhex:
its a waste of time doing that as its written at other places like wiki

now please stop talking about anything not related to dev.
[XPERIA X1 ROM Development] funkfish:
source? links?
[XPERIA X1 ROM Development] Reversedhex:
from the first post

http://www.htc-linux.org/wiki/index.php?title=Kovsky
[XPERIA X1 ROM Development] cyberdesigner.net:
but the right and full filled wiki you can find here. But this was already mentioned too many times in this thread :mad:

and if you had asked google about "kovsky linux wiki" we don't had to write it over and over again.
[XPERIA X1 ROM Development] scholbert:
Hi,

don't know if anyone is reading the IRC channels of htc-linux developers from time to time.

A lot of work had been done on htc blackstone since last weekend.

As some of you might know the blackstone hardware is very close to kovsky at some points.

cr2 also mentioned the epson part in kernel which will need some re-work.

Would be so awesome, if some of these glorious hackers would give it a go :D

Also there'd been a discussion about the work of tuxhero (see blackstone forum).

He still did not reply to my PM, so i think i could not expect anything from this guy concerning mddi client driver :o

In the meantime i was able to disassemble about 95% of SPL code.

Unfortunately the debug messages that may point me to the display init procedure, are still unrefered.

But i don't want to bother you with these details.

Without any progress on this low level code, we won't solve the screen upside down issue, i guess.

As i said before, a workaround on a higher level system may give us a solution, but it would be better to fix the client driver itself.

Another thing, that would give us some useful feature would be wifi.

Did anyone ever tried the wirless-compat framework to make wifi working?

Some new Android packages were created for the blackstone as well.

It's no big deal to adopt this for X1 and check out if it will give us a working system.

These new system packages mostly use squashfs for the Android system files.

Make sure that your kernel supports this filesystem.

I really wish that the noobs who come around would at least read some of the lines we're writing down here.

Anyway, please use the search function, the wiki or whatever to get an idea of what we are speaking here.

It's not that difficult.... :rolleyes:

Best regards,

scholbert
[XPERIA X1 ROM Development] scholbert:
Some clouds will go soon.....

_
(` ).
.-- ( ).
.-( ) _( '`.
( . ) .-(`( )
( ( )) .--. (( (..__.:'-'
`- __.' _( `. `( ) )
( ) ` __. ' )
( ` . ) ) ( ) --'
`--(___.-' (_.'

Where did all the people go :confused:

No useful reports ?

No kernel hacking ?

Wifi anyone ?

I'll come back :D

scholbert