yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 ROM Development] posterberg:
Well, guys again. You run WinMo if you find it good, I don't. Am I not allowed to have that opinion?

Mercs come with right side steering so they can run in UK land.

I want Android or anything not WinMo so I can drive in Linux land.

I am won't mind a bit that you favour one os or another. I know that there will be driver problems, I have way too much hw knowledge to be lectured like that. It is just lame...

I know that I did a really stupid decision when I bought the X1. I should have known better than buying a WinMo phone. The only reason I bought it was because I like the HW and I expected to be able to replace WinMo.

I would have known that, that wouldn't be possible if I did do my homework better. I did know from the beginning that I wouldn't like live with the limitations I think WinMo has. That should be my choice with out you coming after me.

I already knew that I wouldn't like a iPhone because it has it's own stupid locks... I want something that is completely open so I can choose what I want to do with it. That is why I like open things like Android. And I wouldn't be able to complain, I would just have to fix it myself or change it to something that I like better.

X1 was primarly chosen because of the lovely hw and keyboard...

And I would have expected to see way more support for what I'd like to achieve in a thread named "Android on Xperia". I want Android on Xperia, I don't want to be lectured on what is good with WinMo, I already know what I do and don't like about it.

So leave me alone with that, all I want is help with getting Android on my phone. Just as the thread is titled.
[XPERIA X1 ROM Development] plonkersaurus:
are you for real?

I'm a software developer and we run everything on linux.

If you wanted a google phone then why didn't you get one? its like someone coming here and saying i wanted an iphone with a real keyboard so i got the x1 because i thought it would be easy to change the software... Android isn't on any other platform so to expect it on a phone not designed by htc as the first is a bit much. I am hoping it does make it though.

have you used android? its locked down like no ones business. at the moment its more like an iphone.

I know this because I have a G1 and for comparison i have an ipod touch as well as the x1. The G1's hardware is alot nicer in the flesh and android is slick and cool but after that there are so many limitations. Want to use it as a tethered modem? not going to happen properly as developers dont get low enough access to the networking... wait even locked down winmo can be a tethered modem as well as every se feature phone i've had.

I've used the x1 for a week and never use the stylus. once you have installed a few things its surprisngly ok to use with your fingers or the touch pad. Admittedly it's no iphone or google phone but on both of those i hate the way theres no task manager.

I'm waiting for future releases before i go for android again(selling the g1). i love playing with linux but android doesn't let you do that.

At the end of the day if you want a google phone right now then take the x1 back and get a G1 instead, and quit moaning because you might have made a bad choice
[XPERIA X1 ROM Development] posterberg:
I would cheer if you could show me a good working WinMo SDK that I can use entirely on Linux!

For the rest I ask you to read my next post, where I already admit that I did a bad choice, but I don't see how you can say that I am moaning. I just have my opinion as you have yours.
[XPERIA X1 ROM Development] schaggo:
I actually meant to say that earlier but I forgot. Android is open sourced and bases on a Linux kernel, but it is in no way editable, tinkerable, modifiable as you like and are used to from all your Linux boxes, boy. Its just a (I think even only partially, right?) open sourced operating system running somewhat the same underpinnings as your boxes, but its not meant to be played with (by you, but by the manufacturers of course) its flashed onto the devices memory and there it is and will remain. There is no such thing as a flexible homebrew selfmade popped out on friday night Android distro with a package management system and editable repros en masse...

Whatever, I'm out, I actually got my info: wanted to play around with Android, there is no Android yet, so I'll drop by here in a month or two, maybe february or so...
[XPERIA X1 ROM Development] dcordes:
ack, android is not so open as most think it would be. (although not naming they would have free and open source software, google suggest people they have its qualities for pr purpose, and as you see that works. also many android users think they have the first mobile phone in the world which has linux kernel).

many binaries can be found on the rootfs shipped on the g1 hardware (for example the piece of software that makes it work as a phone, the gsm server stuff that interfaces with the arm9 modem) and you must get a special firmware revision to be able to obtain a root shell on the device as of now.

"There is no such thing as a flexible homebrew selfmade popped out on friday night Android distro with a package management system and editable repros en masse..."

like that!

but that situation is different on the HTCs because we boot our own kernel and filesystem manually. you can use whatever you want.

if you wanna put it that way, booting linux on the windows mobile shipped htcs, you end up with a far more open system.

let's get back to the topic... that person who said they had sd working and so doesn't show up anymore. also I'm fed up of asking for the. so it seems we must do the double work now. I heard you can boot the raphael kernel on the x1. who can confirm this?

pick up some android bootkit like http://linuxtogo.org/~lgorris/kaiser-bootkit/ and replace the zImage with one built from the htc-msm-2.6.25 tree like http://linuxtogo.org/~lgorris/builds/zImage-htcraphael-20082810-07

check if it boots up. if it freezes at some point tell us where. if you can boot the android.bin, it's fairly easy to test if the phone works.... in angstrom.bin try accessing /dev/smd0 like I explain in README.txt you can also check for smd7 (gps)

also you can run haretconsole and document some gpios http://www.handhelds.org/moin/moin.cgi/HaRET_20Documentation
[XPERIA X1 ROM Development] angusmcb:
Well, It's unfortunate for you (and me) that wm is the only platform that will run at the moment on your hardware, because it is true that it is a bit of an awkward, crawling pig of an OS, in common with it's big brothers. But it's your lot at the moment.

What wm does offer is the only mature mobile OS with an open userland and great development tools. Android, of course is light-years more 'open' than wm, because the platform itself as well as the userland is non-proprietary - your problem arises with the fact that the hardware drivers for any particular piece of hardware are not written by microsoft, but by the phone manufacturers, in our case HTC - even if you managed to get the full X1 hw interface specs ( hell it is difficult enough to even find out what hardware is in the bloody thing!), you would have to write the device drivers yourself. That's not "locked down", it's economics.

I, for one, would kill to get wm off my x1 and get a decent OS on there instead, but until we get all get out eclipse and get our hands on the specs, we are left only with the possibility of tweaking existing drivers for similar hardware, crossing our fingers and hoping it works. anything else is just pissing into the wind.
[XPERIA X1 ROM Development] posterberg:
Agree fully! :D
[XPERIA X1 ROM Development] dcordes:
just to make sure it's not overseen.
[XPERIA X1 ROM Development] posterberg:
Very nice input! I would love to contribute. I've however not played with any of this before. Could I ask you to give me some starting URL on where I can read and get up to speed on "dual booting" PPC:s and so on.

What I primarily need how to dual boot the phone if possible otherwise how to flash it. Where can I get copies of ROMs to boot, or where do I find the source code so I can compile it myself. I think I would manage quite well from that point. I just need to get a bit warm... ;-)

I think you sent links on the Android bootkit, but I suppose the first step would be to boot Raphael. Do you have any pointers to that one?

Thanks a lot!
[XPERIA X1 ROM Development] dcordes:
check README.txt . although it's horribly formatted, it has lots of useful bits of info. also points to the raphael kernel source where the image posted above origins from. as for the kaiser polaris vogue raphael diamond and other msm7* htcs, linuxtogo git is the central place where we keep the sources http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.25

edit: you don't flash anything to boot linux. your internal flash remains untouched by it. and you're right, as I said we should base on the raphael linux kernel, because raphael and kovsky are so similar. your choice what filesystem you use. I have a debian lenny on my kaiser for testing purposes now. I just propose android.bin ramdisk because it is easy to test phone in case the ts works.
[XPERIA X1 ROM Development] posterberg:
Thank you!
[XPERIA X1 ROM Development] dcordes:
so who booted the raphael kernel?

I would like to comment on the first post.

Why should be the device bricking fun limited to brother Raphael?

Android runs on Raphael

HardSPL is being worked on

we need no hard spl to boot linux

Sounds promising? ;)

Unfortunately I know little about how far the Xperia diverges from the current HTC branded lineup, hardware-wise.

not much

Could some knowledgeable people share their opinion about porting Android onto Xperia e.g:

easy

[*]Booting linux (SD, MSM7200A vs MSM7201A ...)

differences between 7xx1x and 7xx0x seem minor. although nobody in this thread confirmed it yet, I think the raphael kernel boots.

[*]Display (~ Blackstone?)

the raphael mddi and framebuffer seem to work well. at least with the panel type xmoo has in his x1.

[*]Keyboard (~ Raphael?)

normal gpio matrix keyboard. easy

[*]Touchscreen (~ Blackstone?)

should be no problem

[*]Cellular radio driver (~ Raphael? US / Asia / Eu?)

should work ootb. maybe the offsets for the fifos must be altered. minor hacks.

[*]Wifi, B/T (~ Raphael?)

don't know about the bluetooth but I'm sure sdio wifi will work. we might pick up the bluetooth related bits from g1 kernel.

[*]Buttons

easy

[*]GPS (~ Raphael?)

same as radio, see above.

[*]MSM7200A "3D" acceleration, FM radio?

don't know about the 3d and radio

[*]Potential show stoppers?

none
[XPERIA X1 ROM Development] posterberg:
I haven't compiled a Linux kernel for anything else than x86 processors before, but have quite a lot of experience doing that.

I've downloaded all the sources I found in the links you gave me. Have also downloaded one cross-compiler that I didn't really get working. That's something I'll continue with tonight.

This is the first I need to set up to be able to contribute.

I'll start testing with different drivers etc as soon as I get this working.

I don't think there should be too much problems.

The cross compiler environment I downloaded is "Sourcery G++ Lite 2008q3-72". i don't know if that is an optimal one to use. Would be nice to know if someone is using something else and has it working. That would be a time saver.

Expect more to happen as soon as I got my test environment working.

Thank you for your earlier input. You've given me very valuable input!

I am quite sure I've got a good source for finding out all the details regarding the hardware. I just need to extract it... ;-)
[XPERIA X1 ROM Development] dcordes:
hi,

look at the linux on kaiser thread. it has a step by step guide on how to cross compile the kaiser kernel from ltg git.

haret should deliver all the info we need.

did you boot the raphael build?

regards
[XPERIA X1 ROM Development] posterberg:
The zImage in that folder doesnt boot on my Xperia. Haret opens loads it, fills the progress bar and then dies.

Ive activate the log and the last line is.

Go go go

i did download everything using git from the readme file.

i then decided to use the clean msm7200A config found in the arch folder rather than using a htc specific one as the read suggests.

i just felt it was better to clutter in something clean rather than cluttering in something already tweaked for another device.

but i wont know about that until i get the compiler up and running...

ill report back when my compilation progress has come a bit further...
[XPERIA X1 ROM Development] posterberg:
I've got my first home built kernel now... Getting the cross-compiler running wasn't harder than rtfm. Just had to little time on my hands the other day...

I need to find a better man page for haret now, would be nice to get more output from it - i.e. increase verbosity.

It halts right after "Go Go Go...", which really isn't saying anything.

Just as happened with the zImag.bin found in http://linuxtogo.org/~lgorris/index.php?path=kaiser-bootkit/

I'd gladly post the log file if that would help...
[XPERIA X1 ROM Development] posterberg:
Hi,

is this http://xdaforums.com/showthread.php?t=382491 the thread you are referring to? I couldn't find anything relevant in that one.
[XPERIA X1 ROM Development] posterberg:
The MTYPE parameters is according to http://www.handhelds.org/hypermail/haret/15/1536.html really important.

Is it correct that there should be a unique MTYPE for the Xperia? I cannot find it, I've so far just tried with 1553. I am just thinking that this is a really basic thing that I need to get on.

The above link suggests that the kernel will refuse to boot if the MTYPE is incorrect. Seems like this is exactly what happens for me...
[XPERIA X1 ROM Development] posterberg:
Found these two but I still don't get neither my own nore the kaiser kernel to boot.

MTYPE

1321	Qualcomm MSM7200	msm7200

1916	QUALCOMM 7201A	msm7201a

I get this from my haret log

Trying to detect machine (Plat='PocketPC' OEM='X1i')

Wince reports processor: core=MSM7200A-528MHz name=???? cat= vend=QUALCOMM

Couldnt find a perfect MTYPE match...

(I just post things as I go, might save others some time, and also very nice if someone knows ansers ;) )
[XPERIA X1 ROM Development] fards:
Don't think I've seen this linked to yet.

It was in a reference on the handhelds group, (http://www.handhelds.org/hypermail/haret/11/1115.html)

suggestion was that if your type isn't there then register it as a new device for inclusion.

http://www.arm.linux.org.uk/developer/machines/

how about trying a generic MSM at 1316?
[XPERIA X1 ROM Development] dcordes:
ok I registered the xperia. it's #2006

the kaiser kernel won't work. you should use the htc-msm-2.6.25 branch on linuxtogo and build with htcraphael_defconfig (make htcraphael_defconfig)

unfortunately it seems like somebody removed the kaiser kernel guide from the thread. kaiser thread is here http://xdaforums.com/showthread.php?t=396782&page=1

do you still have questions about the kernel building?
[XPERIA X1 ROM Development] posterberg:
Nah, that's fine thank you. I've managed quite ok with building the kernel. I just had to find out what needed to be done regarding the cross compiler. It's was darn simple once I got it right. Just hard the first time, as with everything.

Thank's for asking and pointing me in the right direction!

I'll build somemore tomorrow again and report back. Tonight will be cozy tv night =)
[XPERIA X1 ROM Development] fards:
What version of the Haret are you running, there's a 28 sep version 0.52

http://handhelds.org/cgi-bin/cvsweb.cgi/~checkout~/haret/WHATSNEW
[XPERIA X1 ROM Development] fards:
Oh and I missed this sorry.. It was in response to my post that I can do all of what I do with vista on my *nix box.

Yes I get perfect file access to both / and storage card, through nautilus, it was using GVFS but I don't think it does now.

Latest builds of Synce are superb, I don't have BT on my computers so I don't know whether it works or not.

But I can use the X1 as dial up if needed via usb, I did have it the other way round, getting x1 to access the net through desktop over Usb, but the last kernel update broke something I haven't had a chance to work out what on that side.

No tweaking required, just installed synce, and make sure synce-trayicon is running from login. That gives a little phone Icon on the taskbar that notifies you when a Winmo device connects and allows you to do all manner of funky things.

It's a really nice graphical interface..

With it you can get quite a lot of info out of the Winmo device, such as installed progs (and install new cabs!) memory, battery etc, and browse the file system.

I'd really suggest you give it a try if you use linux (especially Ubunutu).
[XPERIA X1 ROM Development] posterberg:
interesting, i am using ubuntu intrepid on my primary laptop. tried to install synce but didnt get to work. will give it a go again after having hard reseted my phone.

thank you!
[XPERIA X1 ROM Development] piethein:
any news about getting android on the xperia?
[XPERIA X1 ROM Development] dcordes:
I asked for somebody to boot the raphael kernel.

download all of these files to one dir on your x1, run haret and you might get yourself some news

http://linuxtogo.org/~lgorris/raphael-bootkit/
[XPERIA X1 ROM Development] SquidgyB:
I tried downloading the files, placed them in a directory and ran haret.exe...

I click on Run and the "HaRET: Booting Linux" box pops up, and it hangs when the bar reaches the end of the box :(
[XPERIA X1 ROM Development] dcordes:
multiple tests are required. retry a few times and see if some black box or so is drawn on the screen after the haret booting screen.
[XPERIA X1 ROM Development] worekarolis:
Hi, I've tried to run HaRET too. But it freezes same as for SquidgyB. Ive tried to execute it for 3 times and last time it poped a message "Go go go..." in black box and freezed.
[XPERIA X1 ROM Development] angusmcb:
Same results here, both from card and internal storage:

Haret Log attached.
[XPERIA X1 ROM Development] dcordes:
ok can somebody post the output from haret comamnd 'dump mmu' too?
[XPERIA X1 ROM Development] angusmcb:
Here you go.
[XPERIA X1 ROM Development] dcordes:
can somebody connect their x1 usb with usb of a linux host machine and post the usb id? (use lsusb command)
[XPERIA X1 ROM Development] zn00p:
Verbose output of lsusb

I hope you find what you need in here ...

Bus 001 Device 004: ID 0bb4:0b1f High Tech Computer Corp.

Device Descriptor:

bLength 18

bDescriptorType 1

bcdUSB 2.00

bDeviceClass 239 Miscellaneous Device

bDeviceSubClass 1 ?

bDeviceProtocol 1 Microsoft ActiveSync

bMaxPacketSize0 64

idVendor 0x0bb4 High Tech Computer Corp.

idProduct 0x0b1f

bcdDevice 0.00

iManufacturer 1 HTC

iProduct 2 Generic RNDIS

iSerial 3 3fbf5000-7351-0801-3572-630202641830

bNumConfigurations 1

Configuration Descriptor:

bLength 9

bDescriptorType 2

wTotalLength 62

bNumInterfaces 2

bConfigurationValue 1

iConfiguration 0

bmAttributes 0xc0

Self Powered

MaxPower 500mA

Interface Descriptor:

bLength 9

bDescriptorType 4

bInterfaceNumber 0

bAlternateSetting 0

bNumEndpoints 1

bInterfaceClass 239 Miscellaneous Device

bInterfaceSubClass 1 ?

bInterfaceProtocol 1 Microsoft ActiveSync

iInterface 0

** UNRECOGNIZED: 05 24 01 00 01

** UNRECOGNIZED: 04 24 02 00

** UNRECOGNIZED: 05 24 02 00 01

Endpoint Descriptor:

bLength 7

bDescriptorType 5

bEndpointAddress 0x81 EP 1 IN

bmAttributes 3

Transfer Type Interrupt

Synch Type None

Usage Type Data

wMaxPacketSize 0x0008 1x 8 bytes

bInterval 4

Interface Descriptor:

bLength 9

bDescriptorType 4

bInterfaceNumber 1

bAlternateSetting 0

bNumEndpoints 2

bInterfaceClass 10 CDC Data

bInterfaceSubClass 0 Unused

bInterfaceProtocol 0

iInterface 0

Endpoint Descriptor:

bLength 7

bDescriptorType 5

bEndpointAddress 0x82 EP 2 IN

bmAttributes 2

Transfer Type Bulk

Synch Type None

Usage Type Data

wMaxPacketSize 0x0200 1x 512 bytes

bInterval 0

Endpoint Descriptor:

bLength 7

bDescriptorType 5

bEndpointAddress 0x03 EP 3 OUT

bmAttributes 2

Transfer Type Bulk

Synch Type None

Usage Type Data

wMaxPacketSize 0x0200 1x 512 bytes

bInterval 0

Device Qualifier (for other device speed):

bLength 10

bDescriptorType 6

bcdUSB 2.00

bDeviceClass 239 Miscellaneous Device

bDeviceSubClass 1 ?

bDeviceProtocol 1 Microsoft ActiveSync

bMaxPacketSize0 64

bNumConfigurations 1

Device Status: 0x0000

(Bus Powered)
[XPERIA X1 ROM Development] posterberg:
I've had to be offline a this week due to annoying back pain... :mad:

Here's the ids

When connected as a USB-disk

Bus 005 Device 005: ID 0bb4:0c1f High Tech Computer Corp.

When connected as Active Sync

Bus 005 Device 006: ID 0bb4:0a1f High Tech Computer Corp.

When connected as Active Sync with advanced networking enabled

Bus 005 Device 007: ID 0bb4:0b1f High Tech Computer Corp.
[XPERIA X1 ROM Development] patterns:
im really confused by this post - is android working on the x1????

if so is there not yet an easy way to install? or are we too early in developements?
[XPERIA X1 ROM Development] Evostance:
Nope. From what I can gather, they're having problems getting it to boot due to the boot loader
[XPERIA X1 ROM Development] xmoo:
Yep, that;s correct.

I just got it 1 time to boot (not fully but it did boot). Now everything I trie, I just can't get it to boot.
[XPERIA X1 ROM Development] exxi:
this is still going to take a while
[XPERIA X1 ROM Development] xmoo:
BREAKING NEWS!!! Android did get BOOTED!!!! 0.8!!!!

I've started a other thread.

So I could update it myself.

http://xdaforums.com/showthread.php?t=456595
[XPERIA X1 ROM Development] norti:
SE officially joins OHA: http://www.theunwired.net/?item=pla...ounced-to-join-google-s-open-handset-alliance

So maybe we can have Android for the X1 later :)
[XPERIA X1 ROM Development] dcordes:
hey xmoo you went kernel hacker? :)

yes in fact this is possible. different mddi clients behave in a different way. you might post the output of the dmesg command in angstrom.

is this the zImage from the .zip file with the kernel that booted before on your xperia?

since you opened a new thread, could you gather the information from the original thread and put it here?

edit: the size of this zImage almost exactly matches my builds of the latest htc-msm-2.6.25 builds with raphael defconfig.
[XPERIA X1 ROM Development] tsponge:
thought this might be useful

android and qualcomm

http://www.phonemag.com/android-at-mwc-hands-on-with-qualcomm-arm-and-ti-02941.php

and SE and android

http://www.theunwired.net/?item=pla...ounced-to-join-google-s-open-handset-alliance
[XPERIA X1 ROM Development] Xperrier:
sorry, sorry, when driving, how to you run your car, when both hands use a mobile phone????

no wonder it is forbitten by many countries to use a phone when driving...:rolleyes:

But, if you could fill-up your tank with a Styllus.....that......:D
[XPERIA X1 ROM Development] achmed20:
wtf= i drive a motorcycle and im still somehow able to use my phone :D (its mounted on the bike ofc)
[XPERIA X1 ROM Development] Xperrier:
well, this is funny interesting....how can you decifer, when sunny the screen? me I can't...Did you built a kind of protection, either against the sun, or the rain?

A+
[XPERIA X1 ROM Development] dlakawee:
BEER 4 Android

:eek: any1 who works on Android ROM 4 Xperia X1 is invited 4 beer ...IF u come 2 EXIT in serbia just call me :)
[XPERIA X1 ROM Development] Chaosstorm:
Why do you dig up old topics when there is a more recent one with working android:confused:
[XPERIA X1 ROM Development] ludidzora:
Because he is Serbian..

Srbija do Tokija...
[Google Pixel 5a] theplanfelloff:
Hello! I own a Pixel 5a that I've been using for a while now, and I want to root it without losing my data. From what I saw, unless an exploit is found to get around this you will have to format your device to unlock the bootloader. I'm wondering what the best way to backup and restore my data would be so that I can root and get all my data restored when the process is over. Thanks in advance.
[Google Pixel 5a] Esb1809:
You might try the app "Migrate"... A few bugs here and there but I save a back up to USB and usually get 80-90% of my set up back after switching ROMs