yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 Android Development] bahkyp:
Agreed, and I think a screen kernel driver would be the best solution.

BUT all other X's can handle rotation. The only reason we even need the screen driver is that Android ONLY has landscape, portrait. (and MAYBE sensor. According to their dev reference.)

Meamo or Ubuntu don't need screen rotation kernel driver, even on X1, because all you need to do is say "display XFree upside down" to the XFree config and its done. :(

This means that the driver will only be worked on by users with hardware that need a 180 kernel driver AND who want to run Android.

A fake sensor input that gives a output of 270 or 360 degrees probably needs very few lines of code (Its just returning 270 or 360 or whatever)

So I agree that a 180 screen driver is better, but a faked sensor may be easier IFF (that's 'if and only if') the android dev settings let you do orientate the screen 270 and 360 with sensor input.

Needless to say have not looked at this because I don't have a x86 or ARM build environment available. (I have access to Mac-PPC or Armel)

Michael
[XPERIA X1 Android Development] skylarz:
cannot install...:-(

i've tried to install the android 4 times already but failed...when i click the haret..it says..'booting linux'..but then it 'hangs' and i cannot do anything..it stays like this for more than 40minutes...then i decided to take out the battery and reboot...

whats going on?please help...as im looking forward to playing around with android on my xperia...:-)
[XPERIA X1 Android Development] imugur:
any chance to make the GPS working?

Mugur

http://stimtot.ro/442/un-blogroll-despre-iubire
[XPERIA X1 Android Development] Timboo:
Having the same problem here, my phone is using the x2 rom.

When loading Hasret it hangs in the loading screen...
[XPERIA X1 Android Development] M4G1C14N:
i used original x1 r3a rom, and it works perfectly :D

quite fast too :D
[XPERIA X1 Android Development] AndrosTheLion:
i've got a problem... waited for 30 min. but nothing happens, just "booting linux".

What's the reason?
[XPERIA X1 Android Development] scholbert:
~~~~~~~~~~~~~~~~~~~~~>

...to all those "cannot install", "how do i start", "what to do tomorrow", "who am i", "what time is it".... poster

Please read the threads and search the forum.

Remember everytime you write some stuff like this, the threads got more and more filled up with useless stuff and it's even much harder for noobs to find useful information.

If you need help please write exactely what you've done, where you put those files.... or simply how your environment looks like.

There is nothing like:

Please put in the CDROM and start setup.exe... click O.K.

Sorry, but this is twitter already :rolleyes:

Yours sincerely,

scholbert
[XPERIA X1 Android Development] Bikram:
How do you do search??

lol, just kidding :)
[XPERIA X1 Android Development] Ersill:
So it's my custom ROM that slows it down! Should I go back on stock?:(
[XPERIA X1 Android Development] M4G1C14N:
though i said quite fast, it is not fast :|

but it works :P

i always wanted to try android , (i reckon that perhaps our Processor for X1 is too slow to run android? , or because it run Android under windows 6.1 that it become not so fast?!
[XPERIA X1 Android Development] Bikram:
But the Android phones don't have fast processor either! I guess it's slow because of running under Winmo :( .
[XPERIA X1 Android Development] Musse_1:
Salam fatsal,

any hint on how to make the sound works, please? I've tried almost everything but still with no success:(

and any possiblity for us to create our own calibration file since wifi.mac on startup.txt seems not working?:confused:

keep up the good work and thanks again for all your effort:)
[XPERIA X1 Android Development] Jonny4911:
for those of you hanging:

1) check u have all the files

2) reformat your card as FAT32

3) have a dedicated memory card to linux?

u can hav unbuntu and android on the same card :D
[XPERIA X1 Android Development] stasguy:
These Linux builds do not work under Windows Mobile, they kick it out of the RAM and run completely independently from the native OS, therefore, it does not matter what ROM you are using.
[XPERIA X1 Android Development] Bikram:
Just to be clear.

In this thread are we trying to get Android system to work in X1? Or is it linux that we are trying to get to work?

Ubuntu is not even a phone operating system. Does Android apps work on Ubuntu (so that we can get all the Androids apps on X1)?
[XPERIA X1 Android Development] denk:
No, this is just getting Ubuntu distro to work on the phone. Maybe in the future there will be support for phone, sms etc.

I don't think android apps would work on that disrto.
[XPERIA X1 Android Development] shithead:
Your correct. Android is based upon Linux & so does Ubuntu. ;)
[XPERIA X1 Android Development] Bikram:
So Android programs might work with Ubuntu. Great :)
[XPERIA X1 Android Development] jwte:
Android runs in a virtual machine on top of linux called dalvik(a java like vm)

and I don't now if there is any dalvik vm to Ubuntu or if you can run the apps in a java vm, but if, then you will be able to run Android apps in Ubuntu.
[XPERIA X1 Android Development] Mariol:
are pin locked SIMs supported?
[XPERIA X1 Android Development] fatsal:
tryin mer on my X1...

running to slow...but it's running without partition SDCARD.

you guys wanted mer running onto X1 ?

if yes, i will share it to you guys...
[XPERIA X1 Android Development] fatsal:
nope.

try to disabled it.
[XPERIA X1 Android Development] Musse_1:
Ok seems a bit hard to get some answer on the issue/request I've raised a couple of times in this discussion thread:confused:

any help from this community on how to solve sound and if possible to create own calibration file?
[XPERIA X1 Android Development] fatsal:
hi Musse_1,

1. the progress for xperoid until now, the sound was not working yet.

2. about the calibration, the kernel haven't support yet for touchscreen calibration manager.

3. hope you can understand. if you want making your own kernel calibration, you can following step on my first page for build a custom kernel.

terima kasih,

fatsal.
[XPERIA X1 Android Development] bahkyp:
Don't fall for the shinny.

If it's packaged, upload it. But the easiest way for a OS project to fail is devopers to change focus and move on. que openMoko, 7 different dists and all in a different directions=Fail.

On another topic.

How did you get the keyboard sensor to work the rotation? Was it add a kernel part or change a setting?

And the obligitory 270 android rotation link.

http://developer.motorola.com/docstools/library/Handle_Screen_Rotation/

Note this claims sensor rotation OK but then no keyboard rotation! I think I hear a screen FB calling.
[XPERIA X1 Android Development] fatsal:
hi bahkyp,

take a look at my repo commit :

http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm-kovsky/commit/339bdfc3919e07a8ed96037d884be30b49c34815

this patch has calling android to hook keyboard slide event.
[XPERIA X1 Android Development] Musse_1:
Sama-sama fatsal:)

haven't done this before but I'll give it a try, reason I've asked is for making own calibration file with own WiFi MAC address, your answer is fair, will follow steps and see if I succeed with building a custom kernel / kernel calibration.

Thank you / Shukran,

Musse
[XPERIA X1 Android Development] fatsal:
hi scholbert,

take a look source below...is it same with xperia ?

static struct mddi_table mddi_toshiba_common_init_table[] = {
{0x0010801c,0x4bec0066},
{0x00108020,0x00000113},
{0x00108024,0x00000000},
{0x00108028,0x00000001},{1,14},//300},
{0x0010802c,0x00000001},
{0x00160004,0x0000a1ef},
{0x00170000,0x00000000},
{0x00160000,0x00000000},
{0x00150000,0x03cf0000},
{0x00150004,0x000003cf},
{0x00150028,0x00000000},
{0x00160008,0x00000001},
{0x00140008,0x00000060},
{0x00140000,0x00001388},
{0x0014001c,0x00000001},
{0x00140028,0x00000060},
{0x00140020,0x00001388},
{0x0014003c,0x00000001},
{0x00140008,0x000000e0},
{0x00140028,0x000000e0},
{0x00140068,0x00000003},{1,1},

};

LCD closed to normal....na...na...na....
[XPERIA X1 Android Development] scholbert:
Hey fatsal!

If you mean the values, they differ from thoose i found inside boot code.

BTW though xperia uses Epson chip, not Toshiba, could be similar setup sequence.

What exactely do you mean :confused:

Anyway i'm not sure if this sequence will ever fix the screen issue,

but it's a similar setup that is missing in the driver code, that's for sure!

vdelf contacted me about some part in code, that include some values that look like register setup for MDDI clients.

It's like a needle in the hay stack.... :(

Cheers,

scholbert
[XPERIA X1 Android Development] fatsal:
@scholbert,

hi scholbert, i'm tryin decompiling DDI.dll (jerpelea send me) there is some interesting part i think.

can you gimme decompile asm file of SPL ?

not pdf file...

danke,

fatsal.
[XPERIA X1 Android Development] guap:
it simply doesn't work on my X1. copied initrd and all other files to my fat32 SDcard and lauched haret... 10 mins and nothing showed up except for a lot of line that remember me a kernel panic

any hint?
[XPERIA X1 Android Development] scholbert:
Hi fatsal!

Yeah someone told me about these routines some time ago.

Good luck!

Sure, if you post your e-mail via PM, i will send it to you tonight!

Regards,

scholbert
[XPERIA X1 Android Development] MattKeating:
sounds exciting!
[XPERIA X1 Android Development] medzz:
Cool to see that this development is still in progress !, i can picture android run 2x faster than wm on xperia :D (when its completed), but still it would take some months untill we got a kinda stable version, and another couple of months untill we can cook roms with different android versions :D, lol how cool wouldnt it be to have maemo 5 running on xperia like it runs on n900 !
[XPERIA X1 Android Development] zen1k:
is it posslibe to rotate screen normaly?
[XPERIA X1 Android Development] scholbert:
Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaahhh
[XPERIA X1 Android Development] Reversedhex:
yes flip your phone upside down(vertical), this should work.

if you see the back of the phone you did not flip it right! :rolleyes:
[XPERIA X1 Android Development] fatsal:
yes it is possible...

vdelf, scholbert, jerpelea, stachi01 i love you guys....you make my world perfect.

look at my damn android screen below...
[XPERIA X1 Android Development] Mañana_:
AWESOME =D
[XPERIA X1 Android Development] n-zocker:
fatsal your the man!

when are you going to release the update?

does the landscape view also work, or for now "only" the normal view ? ^^
[XPERIA X1 Android Development] emuX:
Say no to UPSIDE DOWN!

Hi fatsal,

You are awesome dude!

Can't wait for the new build to be put up for download... will it be tonight, or should I let my browser refresh key live a little longer ;)
[XPERIA X1 Android Development] fatsal:
yes that right, the screen was rotate. but the calibration still upside down. gimme more time to fix this.

regards

fatsal
[XPERIA X1 Android Development] SamWhite:
Can I confirm that fatsal-xperoid_build-05022010.tar.gz is the latest build (updated today)?

I ask because I haven't watched this thread in a while and the build string shows it being a week old :)

Thanks
[XPERIA X1 Android Development] fatsal:
yes the last build is still 05022010, soon will updated the new once.
[XPERIA X1 Android Development] SamWhite:
Ok, many thanks! :)
[XPERIA X1 Android Development] kebabas:
Hi,

i'm new with all ubuntu and android testing on xperia so i have one question. So I extract all files to my SD, and then via total commander i push one .exe file. Then my phone reloads and compiles android? yes? So how can i go back to my default rom (wm6.5)?

Thanks
[XPERIA X1 Android Development] k1ckn1ck:
Press and hold button 5, to get the option to shut the phone down then turn it back on normal method.
[XPERIA X1 Android Development] scholbert:
Yeah!!!

Hey fatsal!!

That's awesome.... i knew it would be solved some day!

You are da man :D:D

I will take a look at your code when the patch get's pushed.

Maybe we could build nice updated driver ...:rolleyes:

Great effort!

Cheers,

scholbert
[XPERIA X1 Android Development] sahha:
great

great work >> you king

plz we need see maemo on x10 :p
[XPERIA X1 Android Development] Viper89:
. I'm really glad to hear this, I haven't tried Android yet because of the upside down screen issue and was going to wait until it was fixed, Now I'm going to try as soon as you realease the update:cool:.
[XPERIA X1 Android Development] allenx1:
NICE!!!! i cant wait to try this! can this be cooked into the x1? So itll boot up android and not windows?
[XPERIA X1 Android Development] CowMix:
Just wondering why it is not possible to run haret and the android files from rom instead of sd card. It is it a flaw with haret itself that the developers need to fix or is it just something that can be figured out in time?
[XPERIA X1 Android Development] medzz:
First we do it on our poor x1, then we can discuss x10 :D
[XPERIA X1 Android Development] scholbert:
I guess someday this would be possible too!

But to be honest it's to early for that.

For booting Android without WM+haret as a bootloader, many more tweaks are required.

There's an attempt to inject tiny bootcode in the XIP area.

If this would work also on X1, there could be flashable images that do not require WM anymore. Have a look at the HTC Vogue section...

But as i said, though the implementation of Android on X1 is getting better and better, there's still a lot of work for such a step.

For example there are still parts in kernel that need some registers to be set up by WM.

Regards,

scholbert
[XPERIA X1 Android Development] fotisg24:
you seem an expert to me!!!

we all trust the xperodi team!!!

no upside down is a really big step i guess!!!

;) thanks everyone for great work...

we can already dual boot....!!! it is great too!
[XPERIA X1 Android Development] janarp:
keep going fatsal...=)=)
[XPERIA X1 Android Development] Lunie:
No more upside down?? .-.

Sweet!! :p

I ♥ fatsal
[XPERIA X1 Android Development] tin427:
oh my god!!

this is the most exciting news!

no more upside down screen!

good job fatsal!
[XPERIA X1 Android Development] akshaysuri2000:
great work man no upside down one day X1 will be equal to X10 :D :D :D :D :D
[XPERIA X1 Android Development] xcen_xda:
You really said NO! to upside down!

Good job!

I'm here to give you my little support for continuing your work!
[XPERIA X1 Android Development] to2k:
:(

i still get upside down...
[XPERIA X1 Android Development] allenx1:
correct me if im wrong, but i think he has not uploaded it yet
[XPERIA X1 Android Development] hamish909:
Yes its not uploaded yet so its still the old version for now

I can't wait
[XPERIA X1 Android Development] ardealul:
can't wait for xperoid to get all functions working and then ditch haret altogether and move to the internal (faster) flash.

GREAT work fatsal & Co. !
[XPERIA X1 Android Development] chrisgu:
SD Partitioning?

Does anyone do this, does it help with speed? Thought I'd give it a try but not sure if its worth it?

Chris
[XPERIA X1 Android Development] smallord:
when will the no upside down version uploaded?

any ETA?
[XPERIA X1 Android Development] jwte:
Now we need only audio to use it on daily basis. Or have you fix that too.

Thanks fatsal:D:D:D:D:D:D:D:D:D:D:D:D:D
[XPERIA X1 Android Development] MattKeating:
When he is ready... if you read fatsal's post, the calibration is still upside down and he needs to work on that.
[XPERIA X1 Android Development] medzz:
its not as far away as i thought of having android on xperia :O

maybe by the summer we'll have a kind off stable version (i hope) lol.
[XPERIA X1 Android Development] Bluediss:
Wow, this is really great news.

Looking forward to the "upside-up" version...

Keep up the good work guys!
[XPERIA X1 Android Development] chrisgu:
I'll answer my own question, doesn't seem to work the same as for some of the other device. Must be something to do with this build.

Anyway can't wait to test this with the screen the correct way up :)

Keep up the good work.
[XPERIA X1 Android Development] darkmarkx:
Your great worker!!

Very nice:D

When you sleep?:confused:

You are working ubuntu port and Android port.

I think you can't sleep:eek:
[XPERIA X1 Android Development] fatsal:
LCD calibration

Hey guys,

LCD calibration was finish successfully, tonight i will uploaded to you...

cheers,

fatsal
[XPERIA X1 Android Development] hphhaze:
hi Fat

i trying your stuff now @ the moment :P

after the tekst...

the are colours in the middle that making a Big X

and after these a have a black screen :(

i wait now 5 min and nothings happend.

Srry 4 my bad english
[XPERIA X1 Android Development] fatsal:
do you used my rootfs, zImage and system.sqsh ?
[XPERIA X1 Android Development] hphhaze:
srry it works

but he goes always back to the black screen

rootfs , system.sqsh ?

i only downloaded ..

fatsal-xperoid_build-05022010.tar (extracted on sd card)

initrd (rar file on sd card)

I downloaded the lastes kernel

Needs that to extract on sd?

or rename the rar file and put in on your sd?
[XPERIA X1 Android Development] Ersill:
hooray! can't wait!!! :D

great work! keep it up :p
[XPERIA X1 Android Development] n00b3r:
Thanks for the hardwork :) Will be looking forward to it :D
[XPERIA X1 Android Development] hphhaze:
need the kernel extract or in rar file on my sd ????
[XPERIA X1 Android Development] fatsal:
extract it to your sd.
[XPERIA X1 Android Development] Lucleonhart:
Can't wait... you rock! ^_^
[XPERIA X1 Android Development] SamWhite:
Woohoo, awesome! :D
[XPERIA X1 Android Development] Lunie:
fatsal= epic win.
[XPERIA X1 Android Development] smallord:
waiting and waiting:D

upload have not finished yet?
[XPERIA X1 Android Development] fatsal:
nope 75% to go...i just have 768 kbps internet connection. please wait...

cheers,

fatsal
[XPERIA X1 Android Development] l0rdsheva:
You rock man! Finally you did it! Well done!

can't wait :)
[XPERIA X1 Android Development] allenx1:
Fatsal upload!!!!!!!!!!!!!!!!!!!
[XPERIA X1 Android Development] ronin368:
thanks

stop teasing us Fatsal:p

great job

all the best
[XPERIA X1 Android Development] janarp:
still waiting...:P:P
[XPERIA X1 Android Development] pixine786:
You rock dear Fatsal!!! Cheers

One small request. Pls post some clear pics on the first page.... (or may be I am having blurred images..dunno sorry)
[XPERIA X1 Android Development] locomarco:
I made a Wallpaper for you :D

Does Android have this extreme battery drain on other devices too? Or is my battery at the end?

@ibbby: here you go X1_android-2.0.1.tar.gz - 85.00MB

EDIT: what the hell? I can't charge the Phone over USB when "Xperoid" is running. I plugged in the cable when battery was at 17%. Now, 20 minutes later, the battery is at 5% :eek:

So with Android running the phones current is more than 500 mA?
[XPERIA X1 Android Development] Ratchet8clank:
Well ill start by saying, great work. Things work.. somewhat smoothly actually. Other than the obvious upsidedown screen, and the issues you have stated, there is one thing that boggles me somewhat. You know how the blue key on the keyboard changes the L to 6, and the R to %, etc. But when it is used, the keyboard completely ignores the fact that it is on, but, at the same time, the onscreen keyboard acts like it is the physical keyboard, and the keys change. Oh and one more thing, what the F is wrong with the camera? xD

But coming from a more hardcore phone user standpoint, i dont think android is something i would ever use. Its not the slowness or the bugs, but it reminds me of a blackberrry. Things just arent where you need them, you got a few shortcuts on the desktop and everything else is crammed into a menu folder. I think ive gotten too used to the sense ui to use android without frustration and annoyance.
[XPERIA X1 Android Development] fatsal:
oh, yeah thanks sp3dev...whoohooo...takeout android pmem, from the source. i think phhusson just made it the sound working by take them android pmem from adsp source.

thanks man, great patch.
[XPERIA X1 Android Development] MJCS:
It was nice to mess around with this. Too bad it will not charge while plugged in though or power off :p. Keep up the good work
[XPERIA X1 Android Development] THE GRIZZ:
hope this gets the proper development it deserves

just tested it and its very promising. when will the next version be out
[XPERIA X1 Android Development] Muo:
Not working for me... :(

keeps stopping at:

task rpcrouter : 13 blocked for more than 120 seconds

Then has other various code, stops, and repeats that over and over every 120 seconds. I am using the 1.6 version.

Any ideas? I would love to someday ditch Windows Mobile altogether if the X1 had Android!

Thanks for your work.

EDIT:

I got it working after switching memory cards. As stated in post after this, some SDHC cards don't work for this. I had a "Patriot Memory" 8gb card. I think I payed 18 dollars for it. I bought a 2gb Sandisk card and Android booted up wonderfully. This is AWESOME!
[XPERIA X1 Android Development] locomarco:
Did you put the files in the root of your sd card (no extra folder)?
[XPERIA X1 Android Development] villenita:
Incredible job, now we can say taht android is near to come to xperia. Gon on in this way, you are a genius!!!

I hope you can make keyboard operative :D
[XPERIA X1 Android Development] Muo:
Yes, I put all the files in the root directory of my sd card.

I have never been able to flash my phone from my sd card so maybe it is related?
[XPERIA X1 Android Development] locomarco:
Maybe the sd card needs boot sector stuff or something (i don't know:D)
[XPERIA X1 Android Development] jerpelea:
http://www.megaupload.com/?d=YKFI77YI

nexus one dumped rom
[XPERIA X1 Android Development] CowMix:
will it ever be possible to actually flash android instead of using haret? j.w
[XPERIA X1 Android Development] allenx1:
im actually interested in replacing my winmo with android as well. windows just feels obsolete :(. im counting on you guys to make android usable on xperia!
[XPERIA X1 Android Development] EUR1LEC:
I get stuck at the date & time section on 1.6 version
[XPERIA X1 Android Development] devalian:
erm, actually im curious that..

i went to touch pro and blackstone site. found out that their android could run smoothly without major problem.. why x1 android is much more hassle?
[XPERIA X1 Android Development] locomarco:
I think it's because there were more people to develop the kernel.

I asked for a rom too, but if it comes, it will take much more time.

But isn't it possible just to modify the working blackstone kernel?

I would love to know how to develop something, but i only know some LUA (from PSP) and Virtual Basic :D
[XPERIA X1 Android Development] amandeepphull:
Im using "Android OS Version 2.0.1", along side Christian's Rom 3.810 Clean(Don't think that matters)

I've extracted "X1_android-2.0.1.tar" using 7Zip to "X1_android-2.0.1.tar"

Then extracted "X1_android-2.0.1.tar" into a folder named X1_android-2.0.1 containing a total of 12 subfolders and files etc e.g. adroidapps, conf etc.

I placed the combination of 12 files and subfolders into my SD card, say:

X:/ (the 12 files in the root directory)

After this, I run Haret.exe (As i used to with my HTC Touch Diamond)

I waited 10 mins, and get as far as:

Welcome To Kovsky-Android

------

Running an fsck on the SD card

dosfsck 3.0.1 23 Nov 2008. FAT32, LFN

Logical sector size is zero

Mount: mounting dev/block/mmcblk0pl on /sdcard failed: inva

lid argument

Failed

Failed to mount the SD Card. Cannot continue.

/bin/sh: can't access tty; job control turned off

/Bin/sh : not found

How do I get it to run? have I made a mistake?

EDIT : With the HTC Touch Diamond, we had to have activeSync running, i'm using windows 7 with windows mobile device centre

I have tried this With activesync and without activesync connected.

EDIT 2: Could it be an 8GB MicroSD Card (FAT32) will not work?

I will try it with Android 1.6 later this evening
[XPERIA X1 Android Development] bobblesop:
"EDIT 2: Could it be an 8GB MicroSD Card (FAT32) will not work?"

I had the same error message with 1.6 on an 8gb card. I tried the same files on a 4gb card and it worked!

I don't yet understand why - but I hope this helps.