yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 Android Development] Tremere:
The camera button itself is not known to Linux, a kernel dev would have to look at it.

If you have some Linux knowledge you could remap another key to it.

Try this as root:

mount -o loop <path_to_your_sd>/rootfs.img /mnt/rootfs

edit /mnt/rootfs/init.etc/keymaps/kovsky-qwerty.kl

umount /mnt/rootfs

You'll need to find out the keycode of the key you want to remap, you can use the program "getevent" on your xperia (using dev tools terminal or adb).
[XPERIA X1 Android Development] AssasinQ:
I don't agree with you.

Yesterday, I was using this Android for 10 hours. The things what i've tested were:

- Games

- 3G/GPRS(HSDPa didn't show up :()

And the games wich was going poor on Android 2.1, on this one works great. Skyfire worked much better too(now it is usable).

3G/GPRS worked for me very well, without disconnecting(I spent a lot of time on internet).

I think Tremere first of all should repair the app screen size(no, that wasn't a solve for this... our menu and desktop is bigger too!)

The second thing Tremere should repair the battery issue(it can get warm, but rarely). Due using this Android i had to charge my battery twice(second time, i've charged it when it was 20% of battery. My X1 goes to 0% even when she was in charging)!

But... that's my opinion.
[XPERIA X1 Android Development] matejdro:
16 hours? You mean it lasted for 16 hours or till 16 hour (4pm)?

Well, yeah maybe when my X1 was unplugged, battery was drained to some weird level where phone is still on, but not enough battery to wake it from standby so that caused the SOD.

Anyway, i agree with you. I'm also trying to use it as normal OS, but battery usage is driving me crazy. So this would need to be fixed. Maybe also HW acceleration, but battery is on the first place.
[XPERIA X1 Android Development] Ramiroquai_ale:
Hi guys: I have problems with the instlation. Where i can found the STARTUP.txt for xperia?

Thx!
[XPERIA X1 Android Development] ferlanero:
No, matejdro, it last ONLY till 16 hour (4pm)... I would like Android lasts 16 hour but it isn´t that case :-( BUT Tremere is on the right way:

Completely agree with you matejdro: Batery is on the VERY first place.
[XPERIA X1 Android Development] ferlanero:
STARTUP.TXT you need is on main Android distribution for Xperia X1. You don´t need looking for it anywhere: Direct Download (US West) US East mirror
[XPERIA X1 Android Development] Ramiroquai_ale:
Many thanks. Maybe, i have other distribution, without xperia.

Bye!
[XPERIA X1 Android Development] maniac0213:
Great! Will Tremere fix the battery issue in the very near feature?
[XPERIA X1 Android Development] ferlanero:
It´s probably... just wait his news... ;-)
[XPERIA X1 Android Development] facelessone1:
Battery drain and HW acceleration keeps me from using it eveyday use. Making a rom out of it would be nice too, but SD card method is fine...
[XPERIA X1 Android Development] Tremere:
I've tried "pm.sleep_mode=4" and gotten down to 133mA during sleep. Thats a bit better (vs 155mA before). But we don't seem to have a deep sleep like Windows Mobile does.

I'd like to try tickless kernel which was rejected by xdandroid before because of clock skew but is recommended by Google for Android devices. (But improving the battery driver is the immediate priority as mentioned in the kernel thread)

Theres no quick fix. Hopefully the kernel devs for both the x1 and other devices will figure it out.
[XPERIA X1 Android Development] matejdro:
And what is the difference between sleep modes?
[XPERIA X1 Android Development] AssasinQ:
Now the question for Tremere.

Is there any possibility to get D-Pad working(I think about "swinging" the finger on D-Pad)?

PS Gratz for great work, hope you will continue it :)
[XPERIA X1 Android Development] matejdro:
Wow, just got weird problem. When i started haret, progress bar went to the end but then nothing happened. Phone frozen.

I fixed it by re-downloading all files and replacing old ones. Luckily data stayed intact.
[XPERIA X1 Android Development] circleofomega:
I wud also like to know how this happens...its a pain, to copy a 312kb file, go all the way to the WinMo and connect and copy and then load harret again..phew thats a lot of work!!

Yea, can sum1 also take care of the 'keep the charger on before running haret' issue...if i forget to keep it plugged, after the Droid starts, i have to exit it and then go to WinMo, plug it in, THEN boot haret AGAIN...
[XPERIA X1 Android Development] naklar:
Great work Tremere. Thanks for all the effort to make our X1s realise their full potential. This version is working very well.

A few questions and remarks: The live wallpaper option does not exist when I do a long press on the home screen. I only get the ordinary wallpaper option. Does anyone know how to get live wallpaper working? Could its absence be because of lack of hardware acceleration? I also find that Google Earth and Flash Player 10.1 refuse to run on this version.
[XPERIA X1 Android Development] Matzemink:
And if you'll try it with our kernel?
[XPERIA X1 Android Development] przemhb:
Why adding "wifi.mac=00:23:45:36:3e:98" to "set cmdline: line of the startup.txt does not work? The MAC address stays different from the above.

How to change the MAC to be the same as in WinMo?

Why WinMo and Android MACs differ?
[XPERIA X1 Android Development] akeohan:
Running the new build and its faster then the first 2.2 build. I got a 1800mAh battery and it last a little longer but not by much. This one did grab the API settings and works well. Thanks to all the people working on the project, brings new life to a phone!
[XPERIA X1 Android Development] sentry23:
I'm just wondering, is the deep sleep an OS function or a hardware function ?

In other words, is it a mode that can be found/triggered by debugging the WiMo side on the X1, or is it a state that the OS enters ?

(So, could it be as simple as finding the right command to send to the hardware to suspend, or is it the combination of hardware control and OS state ?)
[XPERIA X1 Android Development] Tremere:
We'll see what happens.. I said 'rejected' as a post from the xdandroid blog said that but later reports contradict it.

The wifi chip is reset to its defaults in android, and trying to pass the 'calibration' values burned into the phones flash actually caused wifi not to work.

I'll have to look at rootfs to see if wifi.mac is still supported.

Its a state that the OS enters. I don't know that much about it, but it seems drivers have more to do with our power usage woes.
[XPERIA X1 Android Development] wwuuwu:
没有中文语言的选择

哪个帮我翻译一下，说没有中文语言，希望把中文语言包加入。。
[XPERIA X1 Android Development] birdstream:
Nice!

Wonderful, guys! Best and most stable version so far i think! :) Battery usage is as mentioned better now, however still not sufficient for everyday-use of Android on my X1.. But I think you'll be there soon! :)

A Question: Where are the language files hidden? There was an earlier version with jerepleas 2.1 that had Swedish language in it, also it was the only version that syncing facebook-contacts actually worked for me. I've peeked around in the 2.2 system files to see if i could locate the language files but found no clue to where they could be.. Are they inside the Java executables in the Framework folder?

Anyways great job!!

/Joakim
[XPERIA X1 Android Development] panlane:
Chinese

我装过其他版的android有中文选择的，但是那些版用开卷有益打开中文目录都是问号，反而这个没事，显示任何中文都没问题，可能是字体的问题吧。反正我觉得挺好的。我英文不太好，随便问问吧。

Someone wants to use Chinese, would you leave this language please?
[XPERIA X1 Android Development] maniac0213:
Yes. I tried 2.0 which supports Chinese, and got the same problem as u did. I did not know if 2.2 supports multi-language. Well, I think our devs are spending all their efforts to improve the battery usage and fix bugs. Supporting Chinese is a p4 issue.
[XPERIA X1 Android Development] clburns1:
I just to say that this is a great version so far I'm trying to make it my primary
[XPERIA X1 Android Development] Tremere:
The xdandroid system image for 2.2 has only been built with US English so far. I could build a generic image with other languages but you will have to do additions like LauncherPro manually.
[XPERIA X1 Android Development] matejdro:
Guys some good news, new device HTC wildfire have similar processor to the X1 and it's looks super smooth even with sense installed. Probably it can even compare to big brothers speed.

That means X1 processor is enough capable to make it fast :)
[XPERIA X1 Android Development] circleofomega:
Music to my ears, the only thing that worries me now is how to connect it to the comp...as to copy, i have to go all the way to WinMo..

BTW, its been 2 hours since boot and IM GOIN GOOd!!!

CAn i connect this to Android SDK

EDIT: sense was good, BUT after seeing the Droid and Droid X videos, IM IN LOVE with the Droid Interface...
[XPERIA X1 Android Development] Tremere:
Yes. Sorry if I confused anybody, when I said usb works, I mean ADB and linux usbnet. I doubt usb mass storage will work until we are booting off nand (a long way away)
[XPERIA X1 Android Development] An9eluS:
Sorry to burst your bubble on that note but the wildfire has a QVGA (320x240) resolution screen. That means it has the same processor as the X1 but a lot less pixels to render and push around, so it's under much less strain.

Pushing the rendering of WVGA (480x800) through the same processor will suck up a lot more of the CPU time.

Also a note on the sense UI for the wildfire. The reason it looks so good and so smooth on that device is because they had a developer completely tear it apart and build it from the ground up in a much simpler form for the awful screen resolution.
[XPERIA X1 Android Development] panlane:
to those who are still looking for how to connect with the computer, you may try this app: discover_1.1.0.apk it uses wifi connection and is pretty easy to use.
[XPERIA X1 Android Development] circleofomega:
Hey, thank for your suggestion, but 2 things,

1.there is no wifi in my office

2. its a desktop..

HOW DO WE GET THIS DAMN SDK working....its onto some endless ****ing loop..keeps downloading GOD knows what....SOME API shyt...8, 9 3000..im pissed at it..all i want is a software to connect Droid to the PC..cant they even build a software that does this 1 simple task??????????
[XPERIA X1 Android Development] AssasinQ:
Hello!

Maybe i have a solution for the battery and speed improvement.

When u run benchmark and click Android Info it tells us that our CPU works on full 528MHz(even without running other apps)!!! It says that lowest CPU speed can be 128MHz and the biggest is 528MHz.

That means our X1 uses his CPU "full power" over all time. On WM CPU changes his frequency and for most of time it uses minimum/half power(It goes only on full speed when we want to play something, or use some extra apps like FPSECE etc).

Try to run FPSECE(it uses full CPU speed) and keep it running for a period of time. Yes X1 will get warm and battery will be drained much faster.

But hey! Maybe!
[XPERIA X1 Android Development] Oggy972:
I didn't add anything about languages.. and i've french language in the whole system ^^ Without configuring android !
[XPERIA X1 Android Development] tchatzi:
All you need is ``adb'' or adb.exe as I suppose it is called on windows.

Then plug-in a USB cable and select ``ActiveSync'' in windows mobile before starting harret.

Afterwards, pretty much everything works.

You can even work around the lack of usb mass storage by using

``adb push /path/to/song.ogg /sdcard/media/audio/''

and have the file appear on your device.

Of course, ``adb install /path/to/apk/app.apk'' also works just fine.

You might need to

``echo 2 > /sys/devices/platform/msm_hsusb/usb_function_switch''

someplace inside init in rootfs.img to get it to work though.
[XPERIA X1 Android Development] circleofomega:
I have no idea what u are talking about..what command line, where? in which folder?? there are like a gazillion folders...add-ons, docs, market-licensing, etc etc...there is also this SDK setup.exe which does jackshyt...what adb.exe??
[XPERIA X1 Android Development] An9eluS:
I can easily see this turning into an extended explanation of installing and using the SDK. Please have a look at the installations guides available.

Like here

http://www.talkandroid.com/android-sdk-install-guide/

This thread should really stay on track to be helpful to Tremere's development effort rather than getting sidetracked with Android SDK set up. There's loads of documentation out there.
[XPERIA X1 Android Development] circleofomega:
forget it, i wil stick to the same old method of going to WinMo and copying the file...i just realized, u cant get everything in this life u desire...
[XPERIA X1 Android Development] An9eluS:
Sure you can. Just read the various documentation on the site I pointed you to.

When I had to first start using the Android SDK back when it was released I was mighty confused by it. Honestly though, give yourself a few hours to figure out the various "usual suspect" commands and you'll be fine! :)
[XPERIA X1 Android Development] matejdro:
By android SDK i think he means adb, so answer is yes.
[XPERIA X1 Android Development] shitnab:
am i the only one, where my X1 crashed after about 5 min playing around android. is it something im doing on the phone causing it ?

EDIT: now i booted android, and doing nothing it rebooted into stock OS. is it a bug or me doing somethin wrong ?
[XPERIA X1 Android Development] sentry23:
It could be the card, I had the same with 1 memory card. Have you tried it on a blank memory card ?
[XPERIA X1 Android Development] matejdro:
@Tremere how do you get power usage in standby. I saw your current.sh, but obviously i can't run it while device is in standby.
[XPERIA X1 Android Development] Tremere:
Open up a terminal and run dmesg, which should log some readings during standby.
[XPERIA X1 Android Development] akeohan:
I noticed this too, I downloaded an app that monitors CPU, RAM, network usage and battery life. It showed that my CPU was always running at 100% which would correspond to my crappy battery life even with my extended battery. How to do down clock or cap my cpu so it cant run at 500+MHz?
[XPERIA X1 Android Development] Tremere:
The CPU speed will drop to 128MHz during idle provided nothing stops it from entering idle, like apps with background notifications enabled.
[XPERIA X1 Android Development] Viper89:
I want to start off and say I appreciate all the hard work put into this project becuase the one and only time I got this to work it was awesome:) . But I've had about enough of this 2.2 restarting every time I run it, the other day I formatted my memory card "6 TIMES" and after each time it restarts:mad:. Even worse the stupid SPB Backup that I made a back up file for my memory card would not restore the backup file so I spent the next 3 days restoring everything for nothing, so much fun:mad:. I noticed that Android made a file "EncFiltLog.menc" in my card that I have never seen before could this file tell why android 2.2 is not working in my memory card? My memory card is a PNY SDHC class 4.
[XPERIA X1 Android Development] ted presley:
Android has nothing to do with the "EncFiltLog.menc" that you mention. That file usually made by wm sd card encryption. I think your wm rom turn on the encryption by default. That's why, don't flame for android.
[XPERIA X1 Android Development] circleofomega:
Same here...i just started playing music on the phone and BOOM! none of the buttons work, the screen goes blank...

But a very strange thing happened today, there was some code, 'fake vsync' etc...

Does any1 know what this is about??
[XPERIA X1 Android Development] circleofomega:
I understand your angst, been through it myself...here is a simples step to resolve your problem...

1. Use the HDD card formatter posted a couple of posts back...

I am sure you format through the damn PC....DONT DO THIS...

use this formatter and see it work like a charm...

I wil save you the trouble of looking for it: http://www.sdcard.org/consumers/formatter/

ATB, PM me if ur problem persists...
[XPERIA X1 Android Development] circleofomega:
I appreciate your help again, but which package of all these Eclipse am I supposed to download???

???:confused:

Eclips IDE for Java EE Developers, 206 MB

Windows 64 Bit Eclipse IDE for Java Developers, 99 MB

Windows 64 Bit Eclipse Classic 3.6.0, 170 MB

Windows 64 Bit Eclipse for PHP Developers, 143 MB

Windows 64 Bit Eclipse IDE for C/C++ Developers, 87 MB

Windows 64 Bit Eclipse IDE for JavaScript Web Developers, 108 MB

Windows 64 Bit Eclipse IDE for Java and Report Developers, 241 MB

Windows 64 Bit Eclipse Modeling Tools (includes Incubating components), 252 MB

Windows 64 Bit Eclipse for RCP and RAP Developers, 191 MB

Windows 64 Bit Pulsar for Mobile Developers, 122 MB

Windows 64 Bit Eclipse SOA Platform for Java and SOA Developers (includes Incubating components)
[XPERIA X1 Android Development] nunitofiman:
I have not managed to make it work wifi,

It says "Error" and it does not leave

any way to fix that?
[XPERIA X1 Android Development] mosesgi:
This is the best Android for X1 I ever used. Good job!

GPRS (in China), Wifi all works, SMS (chinese character) not messy code. Reaction is quite fast. (especially after media process died)

none of the previous X1 androids can do these before.

But still some problems.

1. Hot, especially in summer, and battery is losing fast. seems all X1 androids got this problem.

2. Cannot wake up after black screen.

3. power off won't restart the phone, but only restart android. everytime need to soft reset.

Anyway, this is a nice X1 android version. Thanks a lot!
[XPERIA X1 Android Development] przemhb:
Have you got any idea why WiFi has stopped seeing my home network (it sees alll other networks except of my own)? It says the network is out of range (but it in fact it works fine).

It happened after soft reset which I performed because Froyo has frozen for a very long time on an animation screen and did not respond to anything.
[XPERIA X1 Android Development] jwte:
http://developer.android.com/sdk/requirements.html

The first one should work: Eclipse IDE for Java EE Developers
[XPERIA X1 Android Development] An9eluS:
Yeah, you wont be using eclipse anyway. The SDK just wants an environment in which to function. It's kind of dependent and needy.
[XPERIA X1 Android Development] przemhb:
The reason was regulatory domain switched to 11 channels after the soft reset and my network uses channel 13.
[XPERIA X1 Android Development] angusmcb:
You don't need eclipse at all for faffing around with the phone - it's needed for developing user applications only.

On windows, you only need this

Extract to a directory, add drive:\path\to\sdk\tools to your system path,

and run sdksetup.exe.

in sdksetup, check only 'SDK Platform Android 2.2 API8 revision2' and

'USB Drivers' to download and install.

Then you can open a command-prompt and 'adb shell' to the phone.

Windows command-prompt sucks sphincter for shell work, so I

recommend installing MSYS from here to get a bash shell to work in.

Documentation is all over the net on how to work in a shell. This is not the place to go into that.
[XPERIA X1 Android Development] Tremere:
It stung me as well, but there isn't much I can do at the moment to fix it.
[XPERIA X1 Android Development] Magarusu:
Try reseting device.
[XPERIA X1 Android Development] keeni:
I also has the same problem with WiFi show error despite restart multiple times.

However, I managed to get WiFi working by using xperia-xdandroid-rc2-20100726.zip (from the mirror download site) + rootfs-20100729.7z

Don't know whats the difference but WiFi works for me now.
[XPERIA X1 Android Development] gdude2002:
I love this thing. It's muuuch faster and nicer than Winmo, imo.

I've got the Wifi problem but I can live with that.

There's two things though that annoy me.

Firstly, with a few of the apps I've installed, they break when I reboot.

Secondly, the battery doesn't last half as long as it used to - I guess I'll just carry around a battery pack :)

Great job! I always wanted to try Android, now I use it more than winmo! :D
[XPERIA X1 Android Development] Viper89:
What do you mean don't flame for Android? My post wasn't flaming android or the people working on this project I was simply stating my disappointment on why it's nearly impossible to get this to work in my phone and hoping maybe somebody else might had the same problem and might have a solution.

@ circleofomega thanks for the info I'm going to try it as soon I find a program that can back up my sd card because I'm not trying to go through that nightmare again of installing everything manually back into my sdcard lol :).
[XPERIA X1 Android Development] Viper89:
Well I tried your program and did full format and well Android 2.2 still doesn't work:rolleyes:.Is their a difference between quick format and full format? It's just so funny to me now I can't even get upset anymore about Android 2.2 not working. I know you said pm you if I still can't get it to work but what more can I honestly do to get this to work?
[XPERIA X1 Android Development] DonDizzurp:
i formatted my sd, put the android files back on.. and im still stuck at the bootscreen..

im not sure why, it was working perfectly before..then i restarted and it never worked again :(
[XPERIA X1 Android Development] ted presley:
I mean that you should check again in your windows mobile ROM, does the SD card Encryption option in Windows mobile ROM turn on. This can cause data encrytion which may cause Haret can't read data from SD card and can't start Android. I once got problem with SD card encryption....

P/S: I didn't mean you were flaming for anything, just said, this may cause by the Windows mobile ROM..:o
[XPERIA X1 Android Development] ted presley:
Try to download a fresh copy again and extract it into your SD card again.
[XPERIA X1 Android Development] circleofomega:
To begin with, dont lose hope.

Secondly, go for Quick Format. And just say 'Format' after that.

Are u sure you are not copying the 'OLD' files??

Do this, locate your Zip, extract the fresh content and then copy it on your card...forget all the old files...

THAT may b causing the problem...AND just another far fetched thought, even somestimes, JUST SOMETIMES, your download may be faulty too...download the files again...extract and copy them on the newly Quickly formatted CARD...

Cheer up!!

Nothing is impossible!!
[XPERIA X1 Android Development] circleofomega:
I would suggest try the formatter I posted a few posts ago...
[XPERIA X1 Android Development] fai:
Wifi was also not working for me...

just copy this file: modules-2.6.27.46-01131-g367ffe2.tar.gz ( found in xperia-xdandroid-rc2-20100726.zip) to your sdcard and restart android. Now my Wifi is working again :)
[XPERIA X1 Android Development] mbelienkz:
This is by far the best and most stable version I've tried on my X1. Thank you for all the hardwork you guys put on this. I'm using xperia-xdandroid-rc2-20100726.zip release with rootfs-20100729.7z fix (can't make wifi working when I use xperia-xdandroid-rc2k-20100729.7z). Like many of others, problems are only on the battery usage. Tried several task manager apps to help me save the battery and end up with Automatic Task Killer, it helped me to save the battery for like 5 hrs with wifi on.

The other problem I encounter is when I plug the charger, it shows that the device is charging, but the progress is very very slow, battery doesn't seem to be charging (I use batteryleft to monitor my battery usage and etc). I usually boot to winmo then leave it for couple hours and boot it up again to android. Has anyone ever encounter this? Because I don't want to use my winmo again, I fell in love with my android. Cheers.
[XPERIA X1 Android Development] circleofomega:
The charging thing is an old issue, keep your charger on while in WinMo and run haret...but make sure your LED is OFF in WinMO or else it wil keep blinking in droid