yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 Android Development] shell_uk:
Hm. Well mine really is running really slow on the X1. Loads of "Force close or wait" message coming up. Good 20/30 secs for things to load... painful! :(

Pressing the hang up button does nothing. When the time out kicks in, as you say it blanks the screen but you can see it is still on..

If I keep hold of the hang up button it tries to bring up the silent/shutdown options.. if they stay up! The pop up often disappears straight away.

Thanks

Shell
[XPERIA X1 Android Development] Reversedhex:
set action for red call button to nothing

and you still have to enable swap
[XPERIA X1 Android Development] shell_uk:
Ok, I'm sure I can suss out the red button thing if it's in the settings on Android but how do I enable the swap? I assumed it was on out the box from page 1 of the thread.. but it would explain why it is slow!

Thanks

Shell
[XPERIA X1 Android Development] shell_uk:
Found the option (under 'Spare parts') for the end button and the swap thing I've found earlier in the thread :) Shall play with some partitioning tonight!
[XPERIA X1 Android Development] m@rco:
Stupid Question

I have a stupid question :D

I used the Startup.txt at beginning but the screen is upside down.

Controls are in the correct way.

What did i wrong?

In downloaded first version 1.6 and installed it on SD.

Then downloaded latest build and installed on SD.

Can someone help me? :confused:
[XPERIA X1 Android Development] angusmcb:
Wi-Fi

Hmm I successfully built the kernel and compat-wifi from the git tree - kernel works a treat, but can't get the wifi to start *( I made sure all the options from fatsal were enabled in .config) Had to enable SPI and CRC7 in the kernel to get compat-wifi to build.

Is there some extra voodoo needed to get the wifi modules to load?
[XPERIA X1 Android Development] musschrott:
I'm curious, is there anybody who uses this regularly for something productive or is this only the fascination of having a different os? I mean in a sense of using some android based program which couldn't be done via native windows mob - even games would be fine. :)
[XPERIA X1 Android Development] shithead:
Try to delete every Android file from your SD Card & copy the latest (Android 2.1) files to your SD Card again.
[XPERIA X1 Android Development] vdelf:
Well, actually there is :D

You have to build the android-driver for wlan as well. That will give you the wlan.ko module (i assume, you do not have build that). It took me some time to figure that out, but finally found this script

http://pastebin.com/m6077b968

Its pretty self-explainig and you have all information needed to check out and build the android-wlan-driver. The script even creates the archive-file with all the needed files in it.
[XPERIA X1 Android Development] vdelf:
I dont think that there are many things that can only be done on a specific platform. Most essential programs are available (more ore less) on all platforms. So if you WANT, you CAN do everything with WiMo that you can do with Android.

The main reason for ME using android is, that it is open source. As i am a software developer, this is a big advantage over other OSes for me. It also means, that i am not dependent from some company for support or missing features (=> their profit ;) ). Also it is much more finger-friendly than WiMo out of the box. And of course it is very fascinating to have a different os :D
[XPERIA X1 Android Development] medzz:
Any update from fatsal soon?, one month has gone since latest update som info on whats goin on would be nice, btw gr8foulness to you all guys that keep this project alive !
[XPERIA X1 Android Development] killerskincanoe:
fastal has moved on...

he no longer has an x1... he got a diff phone...
[XPERIA X1 Android Development] writeonthis:
advise me how to install it on my sony xperia x1 ??

Hi everybody,

First sorry for bad english :( I am using sony experia x1 , i have downloaded attached file but i dontknow how to install it on my phone. Attached file dont have .exe /cab file.

Please advise me
[XPERIA X1 Android Development] angusmcb:
Ahhh voodoo! :)

Thanks for that (and the script)!

Do you have any idea which build script was used for the kovsky rootfs and initrd? I notice the wifi modules archive name is hard-coded in rootfs (don't think it's a problem, but i like to be neat!)
[XPERIA X1 Android Development] OuT.Of.rEAcH:
i want to know it too ;)
[XPERIA X1 Android Development] stats101:
has anyone got wifi working on the latest build? I keep getting a message saying 'Unable to start' :confused:
[XPERIA X1 Android Development] medzz:
To bad he moved on, i myself switched x1 for iphone :/, gettin a free x1 soon though
[XPERIA X1 Android Development] indy.89:
Me too, I tried with the Zimage from 1.6, 2.0.1 and also the new Zimage from Vdelf with the new modules. Any suggestions?
[XPERIA X1 Android Development] mardox:
hi , ive been trying to install android on my x1 but cant get it to work, and was hoping someone could take a few mins to explain what im doing wrong :)

i have cleared my sd card from everything ( 4gb card) and when i mouse over it it says FAT32. on the root of the card i have put the latest kernel image witch i have renamed zImage i have also put the startup.txt from the first page on the root of the card. i downlaoded haret.exe (v 0.5.2) and put that on the root of the sd card aswell. when i ran haret on my phone through the file explorer it said i was missing a file called initrd.gz . so i looked around and saw that the latest build ( not kernel) was a .gz file. so i renamed it initrd.gz , this sorted out the problem with not finding the file but now it gives me an error that the image is to big when i run haret.

im stuck and dont know what to do. thx in advance!
[XPERIA X1 Android Development] killerskincanoe:
it works fine for me everyonce in a while.. lol i'm on the new version sometimes it works sometimes it don't.. but when it works it works great i can access the market and use the browser fine
[XPERIA X1 Android Development] angusmcb:
Toolchain

I've been having some issues with gcc segfaulting while compiling the kernel if I tweak the config too much.

If anyone is having similar issues, there is a much newer toolchain available that doesn't segfault at:

http://www.codesourcery.com/sgpp/lite/arm/portal/package5353/public/arm-none-eabi/arm-2009q3-68-arm-none-eabi-i686-pc-linux-gnu.tar.bz2

This builds the kernel+wifi just fine, but of course you'll need to update your PATH and CROSS_COMPILE flags.
[XPERIA X1 Android Development] albertkutw:
Although Fatsal stopped working on the project, I still read the thread every single day. It's a pity the project was so close to a much better one.

X1 is really a good cell phone. However, the OS (Windows Mobile 6.1) sucks.

Hopefully, someone will be interested in continuing the project.
[XPERIA X1 Android Development] azian_advanced:
to get wifi to work, you need to have your wifi on and connected to the internet before you load up haret.exe.. it works for me.
[XPERIA X1 Android Development] radzix27:
With your zImage I can't turn off device, I must remove battery or do reset with stylus :/
[XPERIA X1 Android Development] vdelf:
Yes, you are right. This kernel misses a few things (boot messages upside down, lockup on shutdown) as it was only to try if the microphone works on other X1 devices. It seems to do, so i will put together a nice new kernel this weekend (i hope ;) ).
[XPERIA X1 Android Development] radzix27:
It will be great because this kernel is really fast :)
[XPERIA X1 Android Development] indy.89:
How to Get Android on Your X1

Right, in post one, dowload version 1.6, extract all to the root of your SD Card, you should have the following files:

Android Apps- Folder

CONF- Folder

MEDIA- Folder

Calibration - File

Haret- Application

initrd.gz

modules-2.6.27-00725-g0f7e5b6-dirty.tar

rootfs- IMG file

STARTUP.txt

system- SQSH file

zImage- File

Now download verison 2.0.1

Merge Android Apps Folders.

Replace all other files on SD card with the new versions.

Now download the zImage from Vdelf in post #966, extract and overwrite the one on your SD card.

Also download the new modules in post #977, extract to .tar level and replace the old modules on your SD card.

Now restart X1, and then boot haret, should all work fine. This is how i got mine to work.

Hope this helps...
[XPERIA X1 Android Development] angusmcb:
in arch/arm/mach-msm/smd_rpcrouter.c

change line 1218 to

if(!machine_is_htcdiamond_cdma() && !machine_is_htckovsky()) {

and the kernel will shutdown properly.
[XPERIA X1 Android Development] Mic159:
Hey all, fatsal mentioned running Android from native ext2 partitions on the SD card. And i was wondering if someone could post how to go about doing this.

I mean what configs need to be changed?

Which files go in which partitions?

etc :)

Do I extract the squashfs onto the system partition?

Where does AndroidApps go? data partition?

He mentioned something about having to change the rootfs?

Thanks :)

Oh and good to hear that vdelf is still working on it :)
[XPERIA X1 Android Development] m@rco:
Thanks mate, it works:D
[XPERIA X1 Android Development] vdelf:
:eek: I just realized that i postet the wrong kernel-image :eek:

It does not match the wlan-modules i posted later, so they are never used. Please use this instead.

Also i put together a HOWTO for running Android. Please take a look:

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

Suggestions welcome :)
[XPERIA X1 Android Development] engineer1:
Vdelf, that is new this kernel with respect to February 21?
[XPERIA X1 Android Development] hotlein:
@vdelf

nice howto. I have also removed the mem option (mem=102M) at the startup.txt. Since this, Android is very very fast without any errormessage at startup. The System Info from Android say's 182MB whole Memory 0MB swap.

regards
[XPERIA X1 Android Development] vdelf:
No new features. The linux console is not upside-down anymore, but nothing other than that is changed. It has a different version-number and that is important for loading the wlan-modules.
[XPERIA X1 Android Development] vdelf:
There can never be enough memory :D Thanks for sharing that tip, i will try that, too!
[XPERIA X1 Android Development] jwte:
Just sound and I will use it on daily basis.:D Bluetooth and GPS is not so important for me.

It's really fast now and I haven't got any crash yet.

But the mic doesn't work when I use Shazam to find the name of the music playing on the radio.

Thank you vdelf and fatsal and all others for your hard work.
[XPERIA X1 Android Development] angusmcb:
Panel

I think if we get the speaker working and stop the panel sucking the battery dry, we'll be nearly useable :)

Looking at all that MDDI stuff in the kernel now. OMG :eek:
[XPERIA X1 Android Development] jwte:
When I'd turn off the wifi it gets less warm but I don't know if it is Winmob cold.
[XPERIA X1 Android Development] ukon:
here is a couple things that needs to be fixed before it is useble at a daily basis imo:

1.Fix the battery issue(probably connected to the brightness issue)

2.Fix the screen brightness issue

3. Fix - the sms and the phone/calling program. Since it is crashing when I am trying to make calls, and types random symbols/characters when i try to type an sms message.

4. Fix the sound on the phone

Not that important:

1. Fix the camera

2. Fix the bluetooth

3. Fix the GPS

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

Unfortunately, am I not a programmer. So I do not know how to fix this my self. And neither do I have that much time to learn it at the moment. But I just tough that it might help to make a list of things that needs to be fixed.

Even tho I guess that ye already have one of your own.

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

Even tho I have ordere a x10, would it be nice to see android on the x1 :)

Since I usually gets bored with a phone quite easily, so I switch back and forth quite often. And I do find the android platform more appealing than WinMo.

And the x1 looks quite sexy when it's running android(I am probably not the only one with that opinion).
[XPERIA X1 Android Development] albertkutw:
I do agree with what Ukon said.

Well, the power comsumption for the system is awful. The fone hangs almost every single time when I try to make a call. It's mute...

It is definitely a nice platform on X1 for the users who are not going to buy an Android fone instead. They can just try new things on this platform with little efforts and costs.

I've flashed my X1 to a customized Windows Mobile 6.5 ROM. It worked fine on a daily basis. However, it will be another great option if the Android platform on X1 gets mature.
[XPERIA X1 Android Development] SiRIus[X]:
been playing ard with xperoid for a few days and i found out that besides the known problems stated by the chef, xperoid seems to very amusing! i'm looking forward to the next release which is going to be much more improved i believe :)
[XPERIA X1 Android Development] jwte:
With fatsals kernel the phone hangs when I try to call but with vdelf last kernel it is working great so I don't have that issue.
[XPERIA X1 Android Development] engineer1:
Thank you very much just try removing the option (mem = 102M) and the change is enormous, now everything works much faster and without errors.

I check the memory available to the app TASKKILL, and before I was 25M now gives me 110M :D
[XPERIA X1 Android Development] engineer1:
Someone knows how to synchronize the PC with xperoid. I installed the drivers for HTC sync (and windows recognized it) but the program does not detect the phone.

I tried also with the Android SDK developer and is otherwise the PC recognizes the phone but no application

Sorry for my bad English
[XPERIA X1 Android Development] matejdro:
When can we expect version with sound?
[XPERIA X1 Android Development] shaban123:
does anybody know if there is something like this but with htc ?:D
[XPERIA X1 Android Development] ukon:
What do you mean?

Like, an android phone? Like HTC Legend? or?:S
[XPERIA X1 Android Development] Jonny4911:
maybe they mean with htc sense?
[XPERIA X1 Android Development] vdelf:
New kernel is now online. Get it here.

Shutdown should work now. Well, it reboots instead of shutting down, but this is better than soft-resetting :)

I tried a few things to get speaker and headphones working. No luck so far, but i managed to activate the amplifier for headphones. Now the headphones are powered while playing sound. Sadly there is nothing to amplify yet. :o But we are getting closer!
[XPERIA X1 Android Development] ducamie:
this kernel has crashed twice on me? is this just me

thx 4 ur Hardwork tho ; )))
[XPERIA X1 Android Development] indy.89:
Help Please...

I finally managed to get my Wi-Fi working, (it really helps to read the thread). ive now downloaded some live wallpapers but i dont know what to do once they've installed. Where do they go once they've installed, how do i use them?

Any help is much appreciated.

Thanks in Advanced
[XPERIA X1 Android Development] platinum_au:
new kernel freezes with me once android has finished loaded. seems to happen about 30-60 seconds after it's all loaded up. no error messages, just freezes
[XPERIA X1 Android Development] platinum_au:
I found I fixed this by making sure the mem=102 is removed from the line, using the original eclair.user.conf from the fatsal package and turning on wifi in windows mobile. not sure which fixed it though.
[XPERIA X1 Android Development] platinum_au:
does anybody know how to enable live wallpapers? i have downloaded a couple but have no idea how to get them to work
[XPERIA X1 Android Development] mouchla:
small problem!! where and how do i start the terminal emulator. i can't find the emulator.
[XPERIA X1 Android Development] matejdro:
Are not live walpapers in 2.1? This is 2.0.1
[XPERIA X1 Android Development] jwte:
You can find one on Market to download.

I don't know if it's in the phone from the start, I haven't find anyone.
[XPERIA X1 Android Development] mouchla:
THX.

I found one in vdelf's HOW TO.
[XPERIA X1 Android Development] vdelf:
Please check if you have GPS in android settings disabled. You have to be fast to get there before android locks up :D
[XPERIA X1 Android Development] Mic159:
Is there a way to set this in the eclair.user.conf so u don't have to race against the freeze?
[XPERIA X1 Android Development] paddy365:
haret.

hey, i downloaded the latest build, but theres no haret.exe, where can i find it ?

looking forward for this to run smoothly :D!
[XPERIA X1 Android Development] shaban123:
i mean like htc hero with haret :D
[XPERIA X1 Android Development] Musse_1:
tap and hold on "desktop", choose "wallpapers" and then "Live wallpapers"

you can find a copy here http://xdaforums.com/showthread.php?p=5736488&highlight=haret#post5736488

thanks to hotlein now we don't need swapfile (removing mem=102) which increases the speed, however I think it shouldn't freeze with or without swap and you don't need to turn wifi in winmo. it could be gps? following vdelf "how-to" http://xdaforums.com/showthread.php?t=650559 should let you have a clean, speedy xperoid:)

last but not least thank you so much vdelf!! for this latest kernel, it awesome;)
[XPERIA X1 Android Development] freemini:
last time I tried this, all winMo apps stopped working.. I had to do a reset, losing all apps, I want to know why that happened and if it can happen again..
[XPERIA X1 Android Development] vdelf:
If there is a android property for this, then it is possible. But google did not show me that :(
[XPERIA X1 Android Development] vdelf:
I just build a "disco-kernel". Tried to implement headset detection. It somewhat works, but now the flashlight of the camera fires while plugging in headset. "Overdressed optical feedback" :D
[XPERIA X1 Android Development] neock:
well, good idea for developing a torch-light for xperio~~~
[XPERIA X1 Android Development] hphhaze:
WORKING :

.....

.....

11. Turn Off LCD

hi ;) normaly you turn the lcd screen of with button 1 on the X1

You say its working :P how turn off the lcd screen ???

wen i wait and do nothing , he switched to a black screen/lcd creen on ,

but he need to switch of :)
[XPERIA X1 Android Development] jwte:
First time i tested fatsals build a few months ago the same thing happened to me, but I did place the file in the wrong way in the sd card. So after a Hard reset and the file in the right way on the sd card, all the OS have run in the right way without messing up the other OS.

But I don't know why it happened :confused:
[XPERIA X1 Android Development] fatsal:
hi vdelf,

by changing

#define RAPH100_BKL_PWR 86 changes into --> 87

in board-htckovsky.h, you will get flash light run...
[XPERIA X1 Android Development] pgg19:
hi fatal,

when will you update the final edition of Android?

we are waitting... for a long time...
[XPERIA X1 Android Development] cyberdesigner.net:
havent you read fatsals port? he doesnt own a X1 anymore...

if the time is too long for you: just do it your self...

--

my 2 cents
[XPERIA X1 Android Development] harmen88:
fast??

When can we make a more stable version of android?
[XPERIA X1 Android Development] drunken_m:
Haven't you read the comment above yours? Please people, sometimes the answer is only a FEW posts back. Read. Is it sooo hard?

"havent you read fatsals port? he doesnt own a X1 anymore...

if the time is too long for you: just do it your self..."
[XPERIA X1 Android Development] platinum_au:
I don't get that option despite having downloaded some Live Wallpapers :(
[XPERIA X1 Android Development] killerskincanoe:
keep readin the post platinum_au i had the same problem. someone provided a link to the livewallpaperpicker.apk check back and you'll find it. they work fine for me
[XPERIA X1 Android Development] radzix27:
I noticed that on my xperia works quite different key config, means:

1, 6 - Turn ON screen, back to Today

2, 7 - Turn OFF phone

3 - Back

4 - Call history

5 - Menu
[XPERIA X1 Android Development] vietdoan20062006:
thanks, nice work

vietdoan20062006
[XPERIA X1 Android Development] drlucky:
Insight in X1 hardware to improve kernel ...

Hi!

Just trying to get my hands on the linux kernel (thanks to vdelf, I have managed to compile a working kernel with wi-fi).

Tried to get some insight of the X1 by using haret and haretconsole. I have found out something (hopefully) interesting about the headphones and the speaker, but I'm currently not able to produce some results out of this.

When I plug-in or plug-off the headphone, these GPIOs change:

in1: in1-1(193) - 0=out 1=in

in1: in1.14(206) - 0=out 1=in

When I try to play a sound in winmo using the speaker, these GPIOs change:

out2: out2-22(86) - 0=speaker off, 1=speaker on

in2: in2-22(246) - 0=speaker-off, 1=speaker-on

Is there anybody out there, who can try to help me on this one? I haben't found any of the GPIO numbers in the file arch/arm/mach-msm/board-htckovsky.h ... so are they just not there or am I doing something completely wrong?

By the way ... shall we create a new thread for hardware discussions?
[XPERIA X1 Android Development] angusmcb:
Oh please do! There is useful info scattered all over the place that is difficult to find in between the "is windows slowing android down?" stuff :D
[XPERIA X1 Android Development] jwte:
There already exists a similar thread.

http://xdaforums.com/showthread.php?t=569111
[XPERIA X1 Android Development] drlucky:
Hardware thread ...

I have seen this already ... might be interesting for kernel hacking as well. Especially the user "scholbert" seems to answer the question, which chip is responsible for the display ... might be a good point to start from regarding the missing "display backlight off" feature.

Maybe I start a new thread inside the Android subforum, where we can ask and hopefully answer questions regarding hardware and the solution for linux kernel and include a link to the thread above ... trying to do this this evening :)
[XPERIA X1 Android Development] X1iser:
A thread will be great for Android port.

Maybe there is useful to compare the hardwares of HTC phones, they can have some similitudes.

In example:

Wi-Fi transceiver=X1=Touch Pro= Texas Instruments WL1251B

Bluetooth transceiver=X1=HTC Touch Pro= Texas Instruments BRF6350BL

Power Amp=X1=Touch Pro= Texas Instruments WL1251FE

Power Management=X1=Touch Pro= Qualcomm PM7540

USB=X1=Touch Pro= USB3316

Resistive touch controler=X1=Touch Pro= Epson D7741B1 F872U53*

XDA community certainly share the hardwares secrets

Sources: phonewreck.com
[XPERIA X1 Android Development] CowMix:
So basically android for touch pro should work with x1?
[XPERIA X1 Android Development] angusmcb:
Getting somewhere I hope

[ 4.242034] microp-klt: Registering MicroP-LED driver
[ 4.271087] microp-klt: Initializing MicroP-LED chip driver at addr: 0x66
[ 4.330200] Registered led device: klt::home
[ 4.359619] Registered led device: klt::back
[ 4.388732] Registered led device: klt::end
[ 4.417541] Registered led device: klt::send
[ 4.446228] Registered led device: klt::action
[ 4.475036] Registered led device: lcd-backlight
[ 4.503845] Registered led device: button-backlight
[ 4.531951] microp-klt: Initialized MicroP-LED chip revision v0787
[XPERIA X1 Android Development] X1iser:
X1 haven't got the same CPU, so i think android of touch pro don't work, I say this for the port of hardware like bluetouth
[XPERIA X1 Android Development] vdelf:
That looks very promising! Good work!!
[XPERIA X1 Android Development] micke8810:
Isn't the same cpu in a htc hero as it is in x1?
[XPERIA X1 Android Development] drlucky:
Wow ... looks cool. Did you include extra code for the EPSON chip mentioned on one of your earlier posts? When I lookthrough my dmesg, I always got an error like "not supported" with firmware version "0000"?

Is it possible to share patches of all our kernel mods?
[XPERIA X1 Android Development] jwte:
Wasn't the x1 zImage code copied from the touch/touch pro code from the start.:confused:
[XPERIA X1 Android Development] radzix27:
Yes Xperia X1 has exactly the same CPU like HTC Hero 100 & Motorola Backflip ;) Look at this site http://pdadb.net/index.php?m=pdamaster&posted=1&cpu=a7200a
[XPERIA X1 Android Development] Reversedhex:
yes

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