yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 Android Development] Shindojinen:
I have been able to successfuly run the latest version posted, however on my 3rd attempt of booting I ran into trouble.

Now on each attempt to boot haret I get an error saying that either it is not signed with a valid certificate or some of its components cant be found. All I did was shutting down Android normaly with the end call button and letting Win mobile boot up.

This happend once before with another android build, only way I found to fix the error was to hardreset the phone. Once the error appears, no new cabs or executables can be launched from the memorycard or the phone memory. And some existing apps seem to be affected aswell.

Anyone know what causes this error? and if there is an easier way to resolve it? im running the official windows mobile veersion for xperia. Thus no mods besides haret on the memcard.
[XPERIA X1 Android Development] X1iser:
Go to Dev Tools, run Media Scanner and reboot ;)
[XPERIA X1 Android Development] lancedehm:
Debugging the main System trough USB it shows repeteadly this line :

E/Tethering(634): attempting to remove unknown iface (usb0), ignoring

¿usb0 means the main (and only) usb port?

And I realize that the Wifi is failing with this errors:

D/Tethering( 634): tiwlan0 is not a tetherable iface, ignoring

D/wlan_loader( 1215): adapter tiwlan0, eeprom /proc/calibration, init /etc/wifi/

tiwlan.ini, firmware /etc/wifi/Fw1251r1c.bin

D/wlan_loader( 1215): Configuring adapter

D/dalvikvm( 959): GC_EXPLICIT freed 278 objects / 13976 bytes in 150ms

D/wlan_loader( 1215): Adapter tiwlan0 configuration rc = 0

D/wlan_loader( 1215): Starting configMge

D/wlan_loader( 1215): ConfigMge start rc = -1

D/wlan_loader( 1215): Driver configuration failed (-1)

E/wlan_loader( 1215): init_driver() failed

D/wlan_loader( 1215): Set property wlan.driver.status = failed - Fail

E/Tethering( 634): attempting to remove unknown iface (tiwlan0), ignoring

E/WifiService( 634): Failed to load Wi-Fi driver.
[XPERIA X1 Android Development] Tremere:
Its happened on other devices, see here for a possible fix.

Otherwise flash a community ROM, that would probably get rid of any security lockdowns.

just ignore it.

Did you keep data.img when you went from RC1 to RC2?

If so, use Dev Tools console and do:

su

rm -rf /data/modules

and reboot.
[XPERIA X1 Android Development] circleofomega:
Thats pretty strange....i can't see SD card through any of the widgets...
[XPERIA X1 Android Development] ted presley:
I have found something in androidforums:

Can we find out some way to make our xdandroid sleep completely? Just something to share.
[XPERIA X1 Android Development] yinjianweizxc:
Please,I use the Android 2.2(7.26),but it can't play sounds,and can't open the WIFI,it screen"error",why?Thanks...
[XPERIA X1 Android Development] Tremere:
I've posted a fix for the power button. Finally !!! :D

To fix the keymaps (i.e add underscore and create the qwertz keymap) I need an original .kcm file (not the binary .kcm.bin in the rootfs) for the x1. Does anyone have one?

PS: A better version of cacheinjection music mod is now available from the Market, and works better on the x1 screen (no low res boxing). In fact, next release, for the duration of the separate port I'll remove Gallery3D and cacheinjection and replace then with the stock ones.
[XPERIA X1 Android Development] ethanliew92:
how about video playback? is video playback available in this port? or do we need to search in the Market?
[XPERIA X1 Android Development] lancedehm:
Hi,

I only used the new build in a clean SD card, the error appears randomly and after crashing the main server app (With dev tools) is work.

Can you document a little more the development of this port? Maybe we and other people can help debugging and testing with specific settings/apps.

Regards,
[XPERIA X1 Android Development] niketshah11:
i am a big believer in android being an OS for the future.. are there any plans by the devs to create a ROM for the same.
[XPERIA X1 Android Development] Matzemink:
Hm maybe this can help you?

http://xdaforums.com/showthread.php?t=504710
[XPERIA X1 Android Development] lancedehm:
Make sure that youre using the last build.

If you want to dig this error download the Android SDK for your platform http://developer.android.com/sdk/index.html, extract it and go to : Android-sdk/tools (Via command line)

Connect your phone trough USB and execute:

adb logcat

Then go to the phone and try to activate Wifi and check the adb logcat windows for errors.
[XPERIA X1 Android Development] Oggy972:
Maybe this one too : http://www.kandroid.org/android_pdk/keymaps_keyboard_input.html

^^
[XPERIA X1 Android Development] matejdro:
Thanks for your fix, but now panel button also shuts down phone instead of just returning to home screen.
[XPERIA X1 Android Development] pirlano:
power button works 50 good, 50 bad
[XPERIA X1 Android Development] Oggy972:
Omg ! Sdcard works !!!

:eek:

I was reading some topics abour android dev... and i found out this thread :

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

Known issues :"waiting SDCARD ".

The guy gave the fix :

So, something told me to try it.

I tried... and actually it works !!!

I only did the Fix1 !

I think there is someone who will be very happy :p

PS: In the software, i used all of the options !

PS2: Tremere, i think u can add the fix in the first post :)
[XPERIA X1 Android Development] ferlanero:
WOW Tremere! What an incredible work! This month you are my hero! Never think using Android on my Xperia by this way!

Thank you very much for your interest on this porting!
[XPERIA X1 Android Development] ferlanero:
C

I think so, Oggy972, I think so...
[XPERIA X1 Android Development] jyxrix:
god work

someone already tested pin code? :eek:

me works 100%...
[XPERIA X1 Android Development] facelessone1:
You think with sim cards with pin enabled?

Yes, it works :D
[XPERIA X1 Android Development] 5526859:
WOW·My X1 does't get very warm right now·

Thanks a lot.Tremere.
[XPERIA X1 Android Development] jyxrix:
in version 2.1 did not work ...

usb and camera and the next step???
[XPERIA X1 Android Development] huanglei8979:
Cool! looking forward to follow development.
[XPERIA X1 Android Development] Tremere:
There are some plain text kcm files for stock emulator and other devices, but it would be much much better for me and future developers if we have a plain text kcm for the xperia we can work on. Otherwise I will do it from scratch.

New rootfs / bundle has been released to fix that.
[XPERIA X1 Android Development] 5526859:
I don't know why New release WIFI error.Thanks.
[XPERIA X1 Android Development] circleofomega:
trying this now!

WORKING WORKING WORKING!!!

SD CARD's WORKING!!!
[XPERIA X1 Android Development] dzent56:
Dear Tremere,

I'm not sure whether I understand what your mean here, but I read one article regarding keymaps setting in android http://www.netmite.com/android/mydroid/development/pdk/docs/keymaps_keyboard_input.html

I have broken OK and two of the dpad button, so the default keymaps (on your release) is not working for me as it will not allow me to have back button (back button is very important for android :) ). What I've done is to follow above guide and edit the keymaps configuration file inside the rootfs by mounting rootfs.img file under linux. What I edit is file called kovsky-qwerty.kl, located inside the /etc/keymaps (not sure if this I remembered correctly, but it must be somewhere inside the etc folder) folder. Then unmount and copy the rootfs to sdcard, now I can use android in my rooten X1, I use right dpad button as the back button.

Anyway..thanks for your great work to allow me taste Android in my rotten X1. The more I use android, the more I hate the WM interface...the only things that keep this Android for daily use is only the battery life..hope we can nail it down soon. Keep your great work...
[XPERIA X1 Android Development] circleofomega:
SD CARD's FINALLY COMES TO LIFE PEOPLE!!!!
[XPERIA X1 Android Development] ade_k012:
could you please share your startup.txt? i follow the instruction and YES, IT WORKS :), but my screen become upside down

thanks

EDIT : finally screen fix
[XPERIA X1 Android Development] Oggy972:
Like I said, i didn't use the Fix 2 :) so my Startup.txt is the same as Tremere provided :)
[XPERIA X1 Android Development] circleofomega:
agree..

yea..dont do the Fix 2...just copy paste the bundled startup.txt and undo the change in the file

can we connect it to the PC and if yes, using what software??
[XPERIA X1 Android Development] Devaster:
i think this is the main battery error - it repeates the whole time as i have running adb logcat ....
[XPERIA X1 Android Development] ferlanero:
Please, share it here in order to Tremere add the fix to the main distro to avoid SD card error. Thanks...
[XPERIA X1 Android Development] Oggy972:
:confused: I shared it !!

http://xdaforums.com/showpost.php?p=7390550&postcount=826

Read this : " I did the Fix 1 " , I mean i've formatted my SD Card with the tool http://www.sdcard.org/consumers/formatter/

That's all !
[XPERIA X1 Android Development] ade_k012:
actually i have fixed my problem in my previous post...

but anyway thanks for your reply :)
[XPERIA X1 Android Development] circleofomega:
if only he can be kind enough to add the exe and .dmg to the zip so that any1 having the problem/error...they can use it and solve it...
[XPERIA X1 Android Development] circleofomega:
Is there a way we can connect it to the PC like we connect WM
[XPERIA X1 Android Development] Tremere:
.kl = key locations file, tells Android what keys are called for each keycode. This is in plain text, and is what I edited to get the power key working

.kcm = Key character map, as you can see on that page it defines what keycodes give what characters, both normally and under shift, fn etc.

The .kcm file (kovsky-qwerty.kcm.bin) has been 'compressed' making it hard to edit. The .kcm is needed to define characters for qwertz keyboards as well as doing things like adding underscore to the keyboard.

My job would be made much easier if I can find an uncompressed version otherwise everything has to be done again :mad:
[XPERIA X1 Android Development] blackie333:
The updated power button fix is working fine, thank you.

I hope we will see battery life/charging and video acceleration fixed in future releases :)

BTW, I have tested ADW launcher from market with good results, I can recommend it as LaucherPro replacement (supports f.e. horizontal scrolling, has animation speed options...).
[XPERIA X1 Android Development] leobg:
Just like couple of other members I am having trouble to enable WIFI. I get "Error" shortly after tapping on the checkbox. I am using the latest 26/07 build with power button fix replacement rootfs. Everything installed fresh on a new SD card. Any suggestions?

I noticed there is no modules file like before in other Android builds for X1 - is wifi module supposed to be built in the kernel?
[XPERIA X1 Android Development] lancedehm:
Btw...

The music app is working great but the drawspace is a half quarter than normal... how can edit the drawin screen fro this app? Anyone knows?
[XPERIA X1 Android Development] mandarapte:
Tethering is not working as expected

Hi,

I tried to connect my X1i to my laptop and followed below procedure.

Windows XP contains the drivers you need to take advantage of USB tethering, but you must install a configuration file before connecting your phone to your Windows XP computer, to instruct Windows XP how to configure itself to use those drivers.

Download the following configuration file (tetherxp.inf) to your Windows XP computer. Typically, you can right click on the link and choose "Save As". (If your browser appends .html to the file name, you will need to edit the name to remove the .html extension.)

Use the USB cable that came with your phone to connect your phone to your computer.

On the Android phone, press Home, press Menu, and touch Settings to open the Settings application.

Touch Wireless & networks > Tethering & portable hotspot.

Check USB tethering.

When Windows XP’s New Hardware Wizard opens, select No, not at this time and click Next.

Select Install from a list or specific location and click Next.

Click Browse to browse to the directory where you installed the configuration file you downloaded in Step 1 and click Next. Windows XP uses the configuration file to configure itself to support USB tethering with the Android phone.

When Windows XP finishes installing the software for Android USB Ethernet/RNDIS, click Finish.

You can now use the new Windows XP local area network connection provided by your phone via USB tethering. For more information about configuring networks in Windows XP, see the documentation that comes with Windows.

But this is not working can some help me in this.:mad:

Windows XP is not detecting the device nor Tethering is detecting the USB connection. If try to enable it, give message "USB not connected"
[XPERIA X1 Android Development] ethanliew92:
what is the FSCK file stands for? I got 11 of them in my SD card.. it's eating up my spaces.. 32kb per file and each time I go android it will have another 2 of them..
[XPERIA X1 Android Development] xUmaRix:
just put run this command rm -rf /sdcard/*.rec

U can try to figure out how to automate the command in user.conf
[XPERIA X1 Android Development] fraztto:
Tremere, i think you are going very fast in this android buld development for kovsky, i'm glad to see this, the las version is working really fast and the battery can last some 14 hours, wich is startingto be useable for me.
[XPERIA X1 Android Development] bash31:
The gallery is really slow..maybe cuz I have a lot of pics? But other than that loving it :D. Thankss
[XPERIA X1 Android Development] matejdro:
14 hours :eek:

Wow, you are lucky.

So, about hardware acceleration. When it will be enabled and functioning, that means X1 will support OpenGL ES 2?

EDIT: just saw that X1 hardware supports only OpenGL ES 1.1. What that means for applications that require OpenGL ES 2 like fennec? Will we still be able to run them somehow?
[XPERIA X1 Android Development] bash31:
For the wifi error I had the samething...and then I booted android again and it worked :D
[XPERIA X1 Android Development] DonDizzurp:
YESSS the button fix!! thats exactly what i wanted..

there are still tiny problems like...holding the home key should show recent apps..but if its held for a fraction of a second longer, it wont show the recent apps list..

also the right silver button has no function, it would be nice if it was used as a search button since most android phones have a search button

btw the latest package doesnt have the wifi fix included.. ALSOOOOO how can we add more homepage screens? 5 or even 7 would be a lot better than 3. lol i know its a lot butttt screen sensitivity could be a bit better aswell. and of course the big issues like stability+camera+batterylife+etc..

either way, this is some amazing work.. i never thought this would be possible.. thanks A LOT for your effort

EDIT: just wanted to add..i tested two of my favourite games for android and Totemo is VERY VERY VERY laggy that i couldnt get past the first level. but robot defense worked perfectly and very smooth..
[XPERIA X1 Android Development] lancedehm:
Tremere,

I Found a interesting driver for HW3D developed for QUALCOM GPU devices:

The driver is here: https://www.codeaurora.org/gitweb/q...b819424af4be;hb=refs/heads/android-msm-2.6.32

This driver is not implemented yet in the current kernel build?
[XPERIA X1 Android Development] 5526859:
You can copy modules file from 26/7 release, then reboot it,WIFI working.
[XPERIA X1 Android Development] sopdogg:
You can actually increase how many home screens you want. My phone broke down so i can't confirm this method, but on your home screen press the left menu button and go into preferences. From there you can change a whole bunch of different things and tweak it to the way you like. Play with it and see what you like best.
[XPERIA X1 Android Development] ranjo:
Optical trackpad

I'm glad to see that the progress on android for the X1 keeps going on.

I found out after reading some reviews about the HTC desire, that it contains a familiar optical trackpad as the X1 does. I don't know for sure, but if we can pick up the drivers out of a Desire rom, and merge it into the X1 kernel, we can use the optical trackpad in linux as well :)

Allthough I'm not sure wheter the trackpad is exactly the same inside, and if it's connected the same way as it is on the desire, but it's worth to try isn't it? So maybe this is something to put on the wish list, allthough I think there are more important wishes on it right now.

But it's nice to see that the devs have been coming this far!

Edit: see rucialtec.com, at "optical trackpad" there are many more devices containing this trackpad, but I also see that there are many different types of trackpads, so i wonder whether the driver will work on a different type. The legend also has a trackpad from this brand.
[XPERIA X1 Android Development] matejdro:
You can make little (but sad) update to first page: both bluetooth and gps are not working. Bluetooth stops at "turning on" and switches back to off after some time. Gps turns on properly, but it won't find any satelites (tested with GPS Test application).

Also, anyone have a problem with LauncherPro crashing all the time? It seems like i have installed bad application/widget and now LauncherPro is randomly crashing, also when i'm in another application. It restarts in few seconds but crash message is still annoying.
[XPERIA X1 Android Development] panlane:
Issues~

Many thanks to your work!

This system is stable and fast!

I wish I can see a rom version one day~LoL

However there are some issues, the power consumption, I turn on the phone, turn off the screen and wifi and do nothing, after one night I wake up and see there is no any electricity left. All I can do is just change a new battery.

If you can fix this issue then it will become a perfect system, I think.

Also the album is extremely slow~

But I love this system~
[XPERIA X1 Android Development] Tremere:
Don't know. It is not working on any MSM7x01 WVGA device at the moment.
[XPERIA X1 Android Development] panlane:
Oh, I forgot to tell you one important point, that's the date&time.

I android mode it 's incorrect,when I changed it to the right date&time, the wm mode will become incorrect as well.
[XPERIA X1 Android Development] 5526859:
Yes,that's true.
[XPERIA X1 Android Development] circleofomega:
Ok a couple of things...

First..all those book worms, try the Nook application by Barnes and Noble..AND IT IS MIND BLOWING!!!

Secondly, can i kinnda connect my Droid to PC cause eveytime I have to add an app, i have to go to WinMo and copy it in the Android App folder..so it wud b really helpful if we can connect this to the computer...
[XPERIA X1 Android Development] DonDizzurp:
other problems are fixed (except the game).. these still exist though..

right now i dont know whats going on.. i restarted and now im stuck at the xdandroid bootscreen logo thing.. i left my phone for half an hour and still nothing
[XPERIA X1 Android Development] circleofomega:
how much free mem do u have on ur card..it mayb because u have ur card full...
[XPERIA X1 Android Development] xperiaatic:
something must have gone wrong for you because GPS working fine here and tested with many different apps.
[XPERIA X1 Android Development] ferlanero:
Agree, GPS works properly, just starts Google Maps, wait 4-5 minutes and it shows your location properly.
[XPERIA X1 Android Development] jkoljo:
Yeah, works here too. Does anybody know a fix to the problem that some apps only take 3/4 or something of the screen space? For example some games and music player.
[XPERIA X1 Android Development] matejdro:
Are you sure that you really have GPS fix and not just wifi/gsm location?

You can fix 3/4 size problem by changing density in startup.txt from 200 to 240. It will increase interface, but your apps will be full screen.
[XPERIA X1 Android Development] panlane:
open the "STARTUP.TXT"

and change "lcd.density=200" into "lcd.density=240"
[XPERIA X1 Android Development] calvinfoo:
could you show how much battery life on the first post? than everyone knows how long it last thks.
[XPERIA X1 Android Development] Prillan91:
Yeah, I tried with GPS Test and it works. It didn't work at first but after I updated the sat-positions with QuickGPS in WinMo everything works great :)
[XPERIA X1 Android Development] An9eluS:
editing kcm.bin for qwertz, azerty, etc.

Hi Tremere,

I'm having a go at this myself.

I've used

sudo mount -o loop rootfs.img /mnt/my_mount_point

to mount the root fs and then opened kovsky-qwerty.kcm.bin in a decent hex editor.

The hex is displayed nicely as characters on the right panel in editors like ghex, so you can easily switch one character for another in order to switch key mappings over.

One thing I am curious about (in order to test whether this method works) is to ensure that android is loading that specific kcm and kl file.

In your xdandroid build will it always load kovsky-qwerty.kcm.bin ?

I ask because I noticed many different kcm layouts in the init.etc
[XPERIA X1 Android Development] stefanACM:
Can anybody show me how to add CAMERA button to keymap file... I need that in some games( for example Crystallight-for stats )
[XPERIA X1 Android Development] cy9544885:
how long will it take till there‘s a perfect edition ？
[XPERIA X1 Android Development] matejdro:
How long it will take till someone makes perfect car?
[XPERIA X1 Android Development] AssasinQ:
I think about half of a year will be enough(if tremere won't stop working on it).

Is there any hint how to resolve app screen size(It isn't on full screen, it is about 3/4 of the screen)?

And how to connect booted xdandroid to pc?

Yeah i am lazy ^^
[XPERIA X1 Android Development] matejdro:
Another SOD :(. And again when unplugging in middle of charging.

@AssasinQ is so hard to look 4 posts before yours? Solution was written even twice.
[XPERIA X1 Android Development] brienlaw:
can I get an update on the battery life? Or has it not changed?
[XPERIA X1 Android Development] AssasinQ:
I told you, i am a bit lazy.

And this isn't solution for this... our menu screen is bigger too :/

How about connecting to PC? How can i do it?
[XPERIA X1 Android Development] Oggy972:
Connection to PC doesn't work... !
[XPERIA X1 Android Development] Jonny4911:
android is so good now, windows is now my backup! :D

Congrats! :P
[XPERIA X1 Android Development] matejdro:
Wrong, it is working. AFAIK tremere said he got connection up and running on his linux.
[XPERIA X1 Android Development] ferlanero:
Today I have been using my Xperia X1 running 28/7 Tremere's Android porting as a normal use and these are my conclussions about its performance and issues:

- I start the phone at 10 a.m and the battery lasted till 16 hours. I've been using the phone with 3G and 3 calls of 5 minutes more or less. I did 1 Google data sync (contacts & calendar) and 2 connects to the internet. No Wifi, no GPS & no BT connection. Conclusion: the battery live is too poor for daily use, because you need to charge it at least twice a day under normal use.

- 3G doesn't work properly: it disconnects randomly without reason. You need to enter to APN config section and accept yours settings again under this fail to reconnect to 3G. This way works but it's a little bit annoying if you don't know if your mail sync is working properly...

- No SOD, so the system looks stable enough for daily use.

- Screen is sensitive and responsive enough for daily use: no freezes or things like that.

- The system configures my APN automatically so it helps to use this OS.

CONCLUSSION AFTER A DAY OF USE:

This Android is usable enough but needs urgently to improve its battery last and make stable its 3G internet connection. Once solved this issues, we can use Android properly in our Xperias X1.

Tremere is doing a great work with this porting so I want to thank him all his efforts on this work.