yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 Android Development] Tremere:
I've basically come to the same conclusion. Can't find a userspace reason for it. Kernel isn't my area of expertise though :(

I'm going to release an updated image based on XD RC1 and then I'm going to turn my attention back to the GSM radio - the RIL doesn't seem to be passing the MNC-MCC to the telephony layer properly, causing the APN missing issue.
[XPERIA X1 Android Development] lordblacksuca:
Xdandroid guys released new initdr.gz and rootsf but there is not any change about wifi.

Tremere, are you having APN missing?? becouse I don't. it is working fine for me.
[XPERIA X1 Android Development] Tremere:
Its inconsistent. Sure, once it works its good but its a pain in the arse to get it to recognize the APN in the first place, when you start clean without a saved data.img. I'm done some debugging.

I'm also having other GPRS troubles.
[XPERIA X1 Android Development] lordblacksuca:
That is good. if you need something please, tell me.

don't forget WiFi!! :D:D
[XPERIA X1 Android Development] Tremere:
I've posted a port of xdandroid-rc1
[XPERIA X1 Android Development] Oggy972:
Great job. But can i update the last build with this RC1 ? Without wipe all my old android? Or it is a whole update?
[XPERIA X1 Android Development] blackie333:
Thank you Tremere for new release, going to test now :)

After downloading the package it seems that haret is missing.

Not a big deal (we have it from previous releases).
[XPERIA X1 Android Development] circleofomega:
DOes this have the 'nO mem card' error ironed out...

testing noW..

Ok 1st attempt, droid didnt boot...it gets stuck in a rut at:

power_supply battery: Prop Technology= Li-ion
[XPERIA X1 Android Development] Tremere:
I've reuploaded with haret.exe.

Don't know if it fixes any sdcard issues
[XPERIA X1 Android Development] yewthanasia:
same problem, re-downloading..
[XPERIA X1 Android Development] unohebat:
please someone re-upload to another source (mediafire or hotfile)... ;)

i can't download (something wrong with this source) :(
[XPERIA X1 Android Development] circleofomega:
It always feel good to know your not sinking alone....
[XPERIA X1 Android Development] blackie333:
I have some initial impressions from RC1 build:

1. Stability is good, no crash or "force close" yet :)

2. System is more responsive, speed in Homescreen and most apps seems to be improved(less lags), f.e. unlock screen, app. menu

3. Gallery works, but is waaaaay too slow to show some images (so at least SDcard is working)

4. A-GPS is working in maps :)

5. HW keyboard is working with Fn and Shift :)

6. WiFi, BT and Camera are not working (as expected)

7. Battery life (63% eaten by display and system standby), charging works as before - need more tests

8. SetCPU application is finally working (i was unable to change CPU freq. via widget in older versions) :)

9. Pity that 3D acceleration is disabled :(

So generally, there are improvements over previous versions.

Thank you again Tremere for all your hard work on this build.

I hope that our X1 will soon be merged with XDAndroid so we could use standard builds and you can have a little rest ;)
[XPERIA X1 Android Development] Tremere:
strictly speaking 3d acceleration wasn't disabled, its just software rendering for now. Not sure why 3d accel isn't working on the xperia..
[XPERIA X1 Android Development] blackie333:
OK, i think I have seen 3D accel. problem reported from Blackstone (the most similar HTC model to our X1) users, so probably it could be fixed in the future versions.
[XPERIA X1 Android Development] maniac0213:
For me, wifi and battery are the main issues!

BTW, I think the radio of xandroid is bad (radio in WM is 100%), which may case the battery less. As we all know, when the single is not strong, cell standby may cost more power.
[XPERIA X1 Android Development] Tremere:
I think the signal strength being reported lower in Android is a result of it using the standard 3gpp formula. As some of you might know the metal case of the Xperia causes some attenuation issues.. The level reported in WM is more inline with the Xperia's ability.

But the libhtcgeneric-ril radio library we are using seems to have the issues, first and foremost there are bugs causing the missing APN problem, even then its not ideal. If someone reverse engineers libhtc-ril from the Dream you will get loads of beer :D
[XPERIA X1 Android Development] angusmcb:
More from tiwlan

[ 229.506286] TIWLAN: Driver loading
[ 229.506378] TIWLAN:
[ 229.506378] TIWLAN: Testing sizes of packed structures...
[ 229.506408] TIWLAN: <6>
[ 229.506408] .... ERROR in size of beacon_probeRsp_t struct 0x00000057 should be 0x00000053.....
[ 229.506439] TIWLAN: <6>
[ 229.506469] .... ERROR in size of assocRsp_t struct 0x0000005e should be 0x00000026.....
[ 229.506500] TIWLAN: <6>
[ 229.506500] .... ERROR in size of mlmeFrameInfo_t struct 0x00000068 should be 0x00000060.....
[ 229.506530] TIWLAN: TIWLAN: packet structure size test failed

..interesting

Edit: although that test doesn't fail the driver init(), apparently - wonder if it's just the debug compiler options.

Edit2: nope not debug options. Some weirdness going on in the header files.
[XPERIA X1 Android Development] jkoljo:
http://www.mediafire.com/file/tmmvs49fmo6s9f3/xperia-xdandroid-20072010.zip

Here you go!

Tremere, if you want I can delete the link, just let me know. I do not know if you allow posting secondary download links.. :o
[XPERIA X1 Android Development] matejdro:
So if i understand correctly, 3D acceleration was disabled, but it doesn't really matter because it didn't worked anyway?

Thanks for release, downloading it now.
[XPERIA X1 Android Development] yewthanasia:
downloaded the new archive (that has haret in it), didn't work..

kept repeating power_supply battery: Prop Technology= Li-ion, etc. and also, it gave a lot of lines with something like "bad file name, renaming it.."

I guess it's something to do with my card?

and I must say, this version of android is really great! the best!! keep up the good work Tremere and thanks for your efforts
[XPERIA X1 Android Development] lordblacksuca:
I googled that error...

take a look for this link: http://ibot.rikers.org/#htc-linux/20090926.html.gz

EDIT: by the way... the last release is working good!!

EDIT2: I was watching this site: http://www.htc-linux.org/wiki/index.php?title=WL1251

have u tried with wl12xx driver?
[XPERIA X1 Android Development] angusmcb:
I googled it too - doesn't tell us much.

wl1251 doesn't work with the android UI and requires messing around with

the existing mmc code in the kernel I think.
[XPERIA X1 Android Development] circleofomega:
first droid boots and says 'No MEM Card', Now this error...If problems like these continue, how are we to use the Droid on X1???

I too have this same issue..it loops on the above mentioned line....what to do??no1 seems to b interested in helping any1...dont know whats going on...
[XPERIA X1 Android Development] circleofomega:
And one more thing, no offense meant, but if u cant get thru the initial error(BTW, I too have it) how do u know if this is the best build...??jUst asking if u have found a way to get around the initial error code...
[XPERIA X1 Android Development] FatTrousers:
I had no startup errors, copy + pasted contents of the recent build onto my card, overwrote all files and launched. Love the splash screen, running fine for me.
[XPERIA X1 Android Development] Devaster:
had same error - deleted all android related from sdcard , new copy from archive and android is booting up normally
[XPERIA X1 Android Development] circleofomega:
Formatting card advisable....?
[XPERIA X1 Android Development] FatTrousers:
FAT32 Full format works everytime I have problems.
[XPERIA X1 Android Development] circleofomega:
isnt a lot of formatting bad for the card...AFAIK
[XPERIA X1 Android Development] ted presley:
Just formating the card if you're not sure which files and folders are belonging to android. Copy contents from downloaded zip file and put into the root folder, run haRET. Don't even try to install 2 versions of Android. It sometimes won't work.
[XPERIA X1 Android Development] circleofomega:
I did exactly that without formatting...but i guess there are some files here and there on the root of the card...so I should format it right??
[XPERIA X1 Android Development] garr89:
Will android actually run slower than just winmo 6.5 since it's being run as a program in winmo?
[XPERIA X1 Android Development] unohebat:
Thanks a lot bro.. :)

you can delete this link, but I'll keep this source for some people can't downloading from the original source.. ;)
[XPERIA X1 Android Development] circleofomega:
Yep...formatting helped..is now on the XDAnDROID bootscreen...

AND NO.......................MEM CARD NOT READ...'NOT ^(#@*&(# READ'
[XPERIA X1 Android Development] ted presley:
Yes and no. I just mention about speed. On our X1

6.5 ROM with default titanium or Orange UI > Android (I have a feeling that 2.2 is faster, but 2.01 is a little stable and useful than) > 6.5 ROM with sense 2.5

That's just my opinion FYI.

TaK
[XPERIA X1 Android Development] jkoljo:
To my understanding Haret will actually dump winmo out of the ram, so it will not consume CPU time.
[XPERIA X1 Android Development] daweeb:
Deleted my post....

Thank you all guys in this thread for your hard work!

I believe in Android on X1...
[XPERIA X1 Android Development] circleofomega:
Wil some1 plz help us with the 'MEM card not being read' error...this is a humble request..the Froyo is supergood..but if basic things like these stand in the way, it wont be a preferred choice for many...

Plz...if some1 can..
[XPERIA X1 Android Development] Oggy972:
Hehe !

It seems that i have the same SD Card issue as circleofomega ^^

Via Android, i don't see my SD Card ( Not mounted apparently )

but, by Terminal in Dev Tools , cd /sdcard/ then ls -al , i have all my files ^^

Strange behaviour :)

The previous release worked well with my card :) !
[XPERIA X1 Android Development] circleofomega:
Exactly, Thank you. Now how do we get rid of this problem?
[XPERIA X1 Android Development] Devaster:
ill see all my files on sd card in android ....
[XPERIA X1 Android Development] jowelvjoy:
it will show my sd card on x1 through the file manger and accessible all file but the main keys lights are always on
[XPERIA X1 Android Development] jowelvjoy:
which is your device??????????????????????????
[XPERIA X1 Android Development] circleofomega:
yea, files are very much seen thru the file manager...but..A BIG BUT, they are not read through the Music player or the Gallery...

Dude, obviously X1 Xperia...
[XPERIA X1 Android Development] szawel:
Hi. I have problem with internet connection. I cant set my operator manually, cos i dont see it. I see other operators but not mine. When i set to auto its ok, but i have no data connection. Can someone tell me how can i resolve it?
[XPERIA X1 Android Development] Tremere:
Sorry I haven't been much help with sdcard problems. Debugging across the internet is a little hard :(, especially when I don't have these issues myself

Hmm maybe you can save a log for me. Make a file called 'log.sh' or similar in your sdcard root

Put "logcat > /sdcard/log.txt" in it

Start Android, then in terminal do "sh /sdcard/log.sh"

Log should have until Android restarts. You can them PM them to me.

Also, if you have *never* had any issues adding an APN to Android on the very first boot (no data.img on your sdcard before hand), please post your radio version. I'm trying to chase this issue down.
[XPERIA X1 Android Development] circleofomega:
when u are in your APN section...press the hardware left silver button...click new APN
[XPERIA X1 Android Development] yewthanasia:
the first one was already the best for me, am sure this one is gonna be even better. incase you haven't noticed, there's a BIG BIG difference between this froyo 2.2 and any other version of Android, that's all :)
[XPERIA X1 Android Development] jkoljo:
I have radio ver. 16, and I had to add APN as all did. However when I added the APN, I did not have to restart Android, the data connection was up in under a minute and worked fine. It worked fine with both two newest releases.
[XPERIA X1 Android Development] Oggy972:
MP Sent :)
[XPERIA X1 Android Development] circleofomega:
I personally thank you and Tremere for taking this issue up and trying to solve it...plz keep us updated as to what is the matter with the damn SD card....

Once again, from my limited knowledge, its something to do wid bootscreen drivers..(as read from the other G1 post)
[XPERIA X1 Android Development] Tremere:
I have since determined this to be Android not pulling information from the SIM correctly (not radio ver related) most importantly, the SIM I use 99% of the time :mad::mad::mad::mad:

The symptoms of this issue are the MNC/MCC field being empty at the new APN screen.
[XPERIA X1 Android Development] angusmcb:
Is this a case-sensitivity or codepage issue brought about by UTF-8 mount, or lack of it, or something?

If the system has no prob with the paths, but applications do, it's usually

something like that :rolleyes:

Yes, I know fat32 isn't case-sensitive, but things like rootfs mount points are.
[XPERIA X1 Android Development] FatTrousers:
I decided to keep android running when I went to work today. Took my phone off charge at 2:20pm and by 8:24pm it prompted me for a re-charge with 15% remaining. This was after not using my phone at all for all that time in-between. Total battery life= 6h 24m

The previous build only lasted from 2.20pm to 5pm. So battery life is gradually getting better with all these modifications happening recently which is pleasing to know.

(Sorry if this post seems pointless)
[XPERIA X1 Android Development] rubencho:
Wifi working

Hey guys,

I got wifi working, here's what I did:

* Installed wireless_tether_2_0_5-pre2.apk , google it.

* I noticed that when you try to run tethering, it initializes tiwlan with different parameters, so I used those in /etc/wifi/loadit.

So I commented last line and added:

/system/bin/wlan_loader -f /system/etc/wifi/Fw1251r1c.bin -e /proc/calibration -i /data/data/android.tether/conf/tiwlan.ini

It worked!!

Regards!

Rubén
[XPERIA X1 Android Development] ferlanero:
On this version (07/20) the Power Button still doesn't work properly to turn off Android (just restarts the GUI but doesn't turn off or restarts the device) althought if you long push the front right silver button, it restarts the phone (no power off) into WiMo...

I have tried to turn off the device via terminal, but it doesn't work either. So we have here another clasical Android bug on Xperia devices.

To activate 3G navigation, it's necessary to introduce the APN settings manually... Same as previous release. And the 3G link stops suddenly and randomly... strange... But if you go to your APN config and accept it again, 3G starts again without problem.

WiFi as it's known, doesn't work... so I'm going to try another controller to see if they help us in any way.

By the way, this is the best port I've seen to Xperia: good battery life (of course, it always could be better), smooth, eye candy, and more stable than previous releases. If Tremere continues its development, sure we could see an Android running properly in our devices very, very soon, but I think we need to merge Xperia porting with the main Xdandroid repositories as soon as possible to accelerate and simplify work.

Anyway, thank you very much for your efforts to keep Xperia alive!
[XPERIA X1 Android Development] ferlanero:
Confirmed... it works! :) At last we have WiFi on our Xperias!! I'm writing this post on my phone via WiFi connection :)

Thank you very much for your solution Rubén: eres el jefe!
[XPERIA X1 Android Development] Tremere:
Thanks! I'll try it today.

:D
[XPERIA X1 Android Development] Oggy972:
Aaaaaaaawesome !

Thanks for the wifi trick. !
[XPERIA X1 Android Development] Tremere:
This is awesome.. wifi working so I'll update the package today.

Can't thank you enough rubencho!
[XPERIA X1 Android Development] ade_k012:
could you please explain in detail how to use that?

1. install wireless_tether_2_0_5-pre2.apk

2. .......

3. .....

etc

please..

thanks
[XPERIA X1 Android Development] FatTrousers:
+1 to that!:cool:
[XPERIA X1 Android Development] rohith_luffy:
wifi working on froyo is really a big step ...thanx rubencho andn temere ..

@ temere : did u update this in the download on first page ?
[XPERIA X1 Android Development] rubencho:
Guys, I'm glad to know that wifi is also working for you!!

Ruben
[XPERIA X1 Android Development] Viper89:
Yay:D. Did you have to turn it on in WM first or did you do it right in Android? Thanks ruebencho for letting us know about this:cool:.
[XPERIA X1 Android Development] Tremere:
Not yet, later today.
[XPERIA X1 Android Development] rubencho:
No, just turn wifi on in Android...

Ruben
[XPERIA X1 Android Development] circleofomega:
This is my last desperate call to all the devs and the bright minds working on this project....

1. I have a NO MEM CARD/ MEM CARD UNMOUNTED error when i click on Music.

2. My phone has only one sound profile, Silent. (NO RINGTONES!!)

If any1 (ever) find a solution to these issues, Plz PM me or post the solution here or in my thread...

PS: I am deleting all the android files and forgetting that this thing ever existed for my phone (The Mighty X1.) R.I.P.

Thanx to all you guys who have worked so hard and helped us realize the true potential of this phone.
[XPERIA X1 Android Development] gaolinde:
+1 please there's many of us not good enough to understand the instruction above :)
[XPERIA X1 Android Development] steadyshot:
I too managed to get wifi working. Thank you very much rubencho for that and also a big thank you to Tremere for your continuous hard work. :)

I managed to get it working by:

making directory to mount rootfs.img to

mounting the rootfs.img to that directory

changing the directory to "your directory"/init.etc/wifi

then editing "loadit" - changing the last line to the line rubencho has

my exact commands in ubuntu were:

sudo mkdir /mnt/disk

sudo mount -o loop (path to rootfs) /mnt/disk

cd /mnt/disk/init.etc/wifi

sudo gedit loadit

Then I edited and changed the last line

Closed terminal and reopened and unmounted the image:

sudo umount /mnt/disk

Then I swapped out the old rootfs.img with the new one (unless you mount the image directly from your phone)
[XPERIA X1 Android Development] garr89:
Would it be a good idea to do a clean install of winmo first? To speed things up a bit compared to running haret from sense.
[XPERIA X1 Android Development] daweeb:
I can't thank you enough Rubén!

Now we can focus all efforts on the battery issue...
[XPERIA X1 Android Development] circleofomega:
And if u guys dont mind the NO mem card and Silent ONLY profile too...PLz:(:confused:
[XPERIA X1 Android Development] n00b3r:
Now you're just getting annoying, there's no reason for making a new thread and asking for help every single post you make. If someone has the idea of how to fix, they'll post it - asking for it every single post isn't going to make it faster.

Big thanks for rubencho for fixing wifi!
[XPERIA X1 Android Development] Devaster:
no offence but it seems that u have a problem with sd cards and silence only ....
[XPERIA X1 Android Development] circleofomega:
Yea...only two issues...
[XPERIA X1 Android Development] mymailx:
Cool, keep the good job
[XPERIA X1 Android Development] circleofomega:
Can u plz suggest a card that works perfect, like any Sony or Kingston or transcend or even Macdonalds for gods sake....
[XPERIA X1 Android Development] Devaster:
my card (a-data) 8GB is working prefectly - open musicplayer, found albums and play sound ...
[XPERIA X1 Android Development] circleofomega:
what brand card is it?? A-data cards are??
[XPERIA X1 Android Development] Devaster:
yes it is a-data card - a good card shipped for good price here in east europe
[XPERIA X1 Android Development] matejdro:
Thank you to for explaining it to us who don't know linux so well. I will try it on my ubuntu later.
[XPERIA X1 Android Development] ade_k012:
thanks for the instruction :)
[XPERIA X1 Android Development] Oggy972:
@Tremere.

There are some issues about the azerty keyboard. I explain :

in "init.etc/keymaps/kovsky-azerty.kl" ," key 39 SEMICOLON" should be "key 39 COLON"...

because in my keyboard I have COLON instead of SEMICOLON for this key. ( at the right of the M )

And, FN "H" shows "=" instead of "-" ...

Maybe it's just for me ! Does somebody has the same issue ?
[XPERIA X1 Android Development] Isich:
I am using 8GB Transcend, no problems.
[XPERIA X1 Android Development] circleofomega:
I plan to either buy a Sony or a Transcend 2 GB card...will it work??
[XPERIA X1 Android Development] ferlanero:
Hi circleofomega!

I´m using a SanDisk Micro SDHC Class 2 4GB and works perfect!

It´s this one: http://is.gd/dBZBE

http://is.gd/dBZw2
[XPERIA X1 Android Development] sickboyhh:
I use Transcend microSD HC 8GB and it works fine for me.

Will try new Image with WiFi tomorrow. Is there any possibilty to change the Keyboard Layout from qwerty to qwertz (de-latin). the z-y is not the problem overall, but the numbers and special characters are also scrambled elsewhere.
[XPERIA X1 Android Development] Isich:
I think it is highly probable
[XPERIA X1 Android Development] Tremere:
I'm using a Sandisk Class 2 4GB microSDHC that came with my Xperia and a Class 4 Sony 4GB microSDHC .

The updated rom with wifi is being 'cooked' right now :D

For the benefit of other devs re sdcard not 'mounted', here is an interesting part of the log I received from Oggy:

E/MountService( 214): Error processing initial volume state
E/MountService( 214): java.lang.Exception: Unexpected state 2
E/MountService( 214): at com.android.server.MountService$2.run(MountService.java:447)
W/MountService( 214): Duplicate state transition (removed -> removed)

@Oggy972

Thanks, I just copied those maps from another on the forum, so I'll fix it in mine..
[XPERIA X1 Android Development] ferlanero:
But not sure... ;-)
[XPERIA X1 Android Development] ferlanero:
Me too... type numbers are a pain with qwerty...
[XPERIA X1 Android Development] Tremere:
Do you know any Android ROM for the X1 that had a qwertz keymap? I can take it from there

If not post a picture of your keyboard.
[XPERIA X1 Android Development] Oggy972:
FN ":" shows ";" instead of "8" !

I forgort this one ^^
[XPERIA X1 Android Development] Matzemink:
Here one screenshot from the german layout :)

German X1 Keymap
[XPERIA X1 Android Development] Isich:
Hi, for those of you who can't wait to configure wifi as rubencho described

here it is how on xdandroid itself to modify this file, but first:

1. Copy to your SD card the downloaded wireless_tether_2_0_5-pre2.apk

2. Run haret go to android, install wireless_tether, you might need to allow unsecure install

2a. Run this wireless_tether wait a little and close it

3. Go to Dev Tools->Terminal emulation

4. Option key (silver left key of X1)->preferences->Control key -> @ -> OK

5. type su on terminal, now you are superuser :)

6. type vi /etc/wifi/loadit to run editior

7. scroll down with joystick keys of X1 to last line

8. type :i<enter> then press some keys "qwe" you will be editing now

9. edit the line with specified by rubencho, if you don't remember here:

9a. system/bin/wlan_loader -f /system/etc/wifi/Fw1251r1c.bin -e /proc/calibration -i /data/data/android.tether/conf/tiwlan.ini

10. When you are finished, press @ and hold then 1 - you should exit editing mode, for 1 you need to press the blue button first you know that don't you

11. To save file press :x<enter>

12. press ok, then goto settings->wifi and see if it works

13. if does not go back to termnial and check if last line is exacly as in 9a.

Mine worked ;)
[XPERIA X1 Android Development] maniac0213:
I only charged successfully for the first time.

Is there some trick for charging?
[XPERIA X1 Android Development] Oggy972:
Yeah u're right, but, after a reboot, this config returns to default config !

Because the system file is not really R/Write !

That how it done for me !
[XPERIA X1 Android Development] Isich:
Yes u're correct here
[XPERIA X1 Android Development] Devaster:
who knows .....