yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 Android Development] vdelf:
I just added a small android section to the kovsky wiki here.

The main reason for that is this page. Now everyone can get my modifications for the kernel and can add/modify their own. When the code is nice and stable it can be commited to the main repos.
[XPERIA X1 Android Development] drlucky:
Great. I have one problem ... just pulled the latest kernel, used your patch and created a wonderful zImage. But I cannot shutdown, because my hardware keys are not working the right way. Power = HOME, anything else is not working. Your last zImage was fine, though.

Any ideas whats going wrong on my kernel build?

Update: don't know what I did, but my last kernel build was OK. Just forget this post.
[XPERIA X1 Android Development] angusmcb:
This backlight is proving troublesome. I've checked the microp-klt driver code and there is nothing in there that isn't done in the winmo Microp.dll

I'm wondering if the microp-klt hardware is maybe left in an inconsistent state by haret? When you switch the handset on from cold it goes through some init/flashing code, and this doesn't get done from haret. Is there a way we can maybe force the controller to re-init while we probe() ?
[XPERIA X1 Android Development] _Sensible:
Yep, I am inclined to agree. have other devices suffered this side affect via haret?
[XPERIA X1 Android Development] theevilsite:
I have a Q? How to disable connection from the operator?It's so ****ing expensive.Is there some app like MoDaCo Nodata?
[XPERIA X1 Android Development] Reversedhex:
http://xdaforums.com/showthread.php?t=650559
[XPERIA X1 Android Development] szawel:
How to disable screen backlight? I have black screen, but led are still on. :confused:
[XPERIA X1 Android Development] jwte:
^

|

|

Look higher up on this page or use the search!!!:mad:

They still working on it.
[XPERIA X1 Android Development] szawel:
oh, sorry. So im waiting for new version.
[XPERIA X1 Android Development] theevilsite:
Guys i have downloaded the files from all of the links you put...and i can't find in any of these archives "haret.exe". What is the matter?!?
[XPERIA X1 Android Development] jwte:
Haret.exe

Was this what you needed?
[XPERIA X1 Android Development] arsalanronin:
thank you very much,I was looking for this file too!!!
[XPERIA X1 Android Development] arsalanronin:
is there going to be an Android ROM?if yes when is it going to be?
[XPERIA X1 Android Development] drlucky:
Hooray!

It seems that I've managed to get the external speaker working! :D

I was able to play music files over the speaker as well as trying text-2-speech. Unfortunately I can't install any ringtone, so currently I'm rebooting to WinMo, copy some MP3-files to the media folder and try again ...

Anybody knows how to get the patch from git? I've committed all changes to my local repo, but am not quite sure what I have changed by now ... :)
[XPERIA X1 Android Development] vdelf:
go to kernel source root and type

git diff > ~/patch.txt

gives you patch.txt in the home-dir with all changes. New files are NOT included, only changes to existing ones. Looking forward to your changes :D
[XPERIA X1 Android Development] matejdro:
AWESOME :D

Android will be 90% ready for everyday use now (battery meter and backlight fix would push it to 99%).

Can't wait for release.

I wish i would know so much stuff about android and linux kernel as you do.
[XPERIA X1 Android Development] jwte:
Is it only the external speaker or is it the headphone jack to?

Looking forward for a new zImage to play with.:D:D:D
[XPERIA X1 Android Development] Musse_1:
This is great news, all the luck;) keep up the good work, definetly will boost our daily usage!

i've got hold of media folder with a nice structure of audio (alarms, notifications, ringtones, ui) and resource folders from "Touch Pro, Fuze Android Development" eclair builds, really good recommendation.

@vdelf

btw with your latest kernel, phone vibrate nicely both when recieving calls and sms. as long as I'm in a "quite" place, always get chance to answer calls and send sms.

thank you all for picking fatsal's great work and further develop it:)
[XPERIA X1 Android Development] lpgliqing:
Great job...

with this new OS working on my x1, I can simply forget the thought of

changing my x1 to Milestone..

thanks a lot..

If only it would work perfect on x1..
[XPERIA X1 Android Development] radzix27:
Android on X1 won't work better than on HTC Hero ;)
[XPERIA X1 Android Development] _Sensible:
@drlucky

Looking forward to your patch :)
[XPERIA X1 Android Development] arsalanronin:
working good but these:

1.no sound playback (no ring-tone)

2.when device sleeps it actually displays a black screen with back-light on which is not good for battery at all!!!

any solutions?
[XPERIA X1 Android Development] _Sensible:
Regarding backlight problems have people tried:

From within Windows Mobile

I believe this worked for Rhodium users...
[XPERIA X1 Android Development] angusmcb:
Thanks for the tip, but no-go for me.

[ 4.069152] microp-klt: Registering MicroP-LED driver
[ 4.098205] microp-klt: Initializing MicroP-LED chip driver at addr: 0x66
[ 4.156860] micropklt_probe: micropklt_read(MICROP_KLT_ID_VERSION) returned 0
[ 4.214538] Registered led device: klt::home
[ 4.244018] Registered led device: klt::back
[ 4.273223] Registered led device: klt::end
[ 4.302124] Registered led device: klt::send
[ 4.330993] Registered led device: klt::action
[ 4.359954] Registered led device: lcd-backlight
[ 4.388946] Registered led device: button-backlight
[ 4.417205] microp-klt: Initialized MicroP-LED chip revision v0000

No matter what, I can't get the chip to respond to a version read request at register 0x30 ( this is used in Microp.dll from WM too, so it can't be wrong )

I think the chip is in an undefined state for some reason. maybe someone more familiar with I2C could offer suggestions?
[XPERIA X1 Android Development] _Sensible:
hmmm,

This is interesting:

/* read the current state of the microp misc register, so we know what flags are set
* note: this is purely experimental. Also unsure if its a single byte register only.
*/
// seems to be RAPH only
/*buf[0] = 0;	buf[1] = 0;
if ( micropklt_read( client, MICROP_I2C_WCMD_MISC, buf, 2 ) == 0 ) {
data->misc_states = buf[0];
printk(KERN_INFO MODULE_NAME" : misc led status: 0x%X | 0x%X\n", buf[0], buf[1]);
} else {
// last misc state used in the send_command series.
data->misc_states = 0x0c;
}*/

/* if for some reason the hardware should support it, but it simply shows the wrong I2C id, its possible the device has been
* set into bootloader mode. See HTC Hero's microp driver for a way to fix this.
*/
if (!supported) {
printk(KERN_WARNING MODULE_NAME ": This hardware is not yet supported: %04x\n", data->version);
r = -ENOTSUPP;
goto fail;
}

I get the, 'hardware not supported' error on my nand rom attempts...

Anyway, have you tried looking at:

static u16 sleep_state=0,old_state;
#if CONFIG_PM
static int micropklt_suspend(struct i2c_client *client, pm_message_t mesg)
{
D("suspending device...");
//	char cmd[]={0x20,0x08};
//	send_command(cmd);
//	micropklt_lcd_ctrl(4);
if(sleep_state==-1) {
if(micropklt_t)
old_state=micropklt_t->led_states;
else
old_state=0;
}
micropklt_set_led_states(0xffff, sleep_state);
//Sleeping is GOOD !
//It's GREEN ! (on topa/rhod.)
if ( machine_is_htctopaz() || machine_is_htcrhodium() )
micropklt_set_color_led_state(1);
return 0;
}

It does seem the driver state is perhaps going to a default 'on'.

I start looking into this aswell :)
[XPERIA X1 Android Development] szawel:
is this some new wersion?

http://www.connect-utb.com/index.php?option=com_rokdownloads&view=file&Itemid=68&id=92:android-2-0
[XPERIA X1 Android Development] engineer1:
It's a version for other phones, not Xperia
[XPERIA X1 Android Development] drlucky:
Sorry, just the speaker by now. I have tried a headphone, but still the speaker was on, no sound on the headphones.

Maybe together with vdelf we can work it out - I know he was working on the headphones.

Trying to generate a patch, maybe I can upload a zImage as well ... maybe tomorrow.
[XPERIA X1 Android Development] dexteral:
Does this help?

http://www.xda-developers.com/android/new-version-of-xdandroid-released/

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

heres one more ( i think it is for ringtone problem)

http://xdaforums.com/showpost.php?p=5309656&postcount=1391
[XPERIA X1 Android Development] Ape187:
Ringtone Problem

Have you tried this structure on your sd card:

/sdcard

/sdcard/Media

/sdcard/Media/Notifications

/sdcard/Media/Ringtones

/sdcard/Media/Alarms

and put the needed mp3 files in the specified folder.

Haven't tried this myself, because my sd is full and therefore i cannot run Android.
[XPERIA X1 Android Development] matejdro:
Anyone thought about merging Xperiod with XDAndroid ? One big project would be much better than two separated ones.
[XPERIA X1 Android Development] Viper89:
I'm glad to see this project is still being worked on, keep up the good work guys. I look forward for future improvements on Android:cool:.
[XPERIA X1 Android Development] lpgliqing:
I am really　looking forward to an update...
[XPERIA X1 Android Development] alkatheri:
Keep up the good work guys. ;)
[XPERIA X1 Android Development] Floady:
Is there somewhere a copy-paste package, or a small manual.. because it is a bit unclear how to run it. do you need a special rom for it?

i am using Jack's 4.x rom and id like to test android on my X1
[XPERIA X1 Android Development] Mic159:
How about a HOWTO: http://xdaforums.com/showpost.php?p=5950694&postcount=1
[XPERIA X1 Android Development] wess786:
.. If you keep clicking you'll see this on the Xperoid site. '*Supported Devices: HTC Raphael, Rhodium, Diamond, Topaz, Blackstone'
[XPERIA X1 Android Development] drlucky:
New kernel build with speaker patch

Hi there,

Just played with the kernel a bit and here it is ... a working kernel (at least for me) with speaker sound.

The kernel is based on the latest commits from the GIT plus the patch I got from vdelf (thanks a lot!). I just enabled the speaker, nothing more.

I'm currently trying to create a patch file for you, if you are interested in compiling the kernel by yourself ...

Unfortunately I haven't found out how to enable the headphones. Inserted some printk's but it doesn't seem to be triggered when I plug in a headphone. Need to dig in deeper into the kernel source code ... maybe next saturday.
[XPERIA X1 Android Development] dexteral:
thanks now the speaker works for me!! :D:D
[XPERIA X1 Android Development] shaban123:
Wifi unable to start!

can somebody help me i cant turn on wifi on android . i started it in winmo but when im gonna start it it loads 1-2 seconds and then it says "Unable to start wifi" does somebody know what to do?
[XPERIA X1 Android Development] vdelf:
I am just listening to my favorite music on my favorite mobile phone using my favorite os! What a wonderfull day!! Thank you!! :D:D
[XPERIA X1 Android Development] vdelf:
Did you check the troubleshooting part in this post?
[XPERIA X1 Android Development] engineer1:
Wifi

work ringtones!!!

Hi, after to install the new kernel with sound I can't activate the WIFI, someone happens the same?

ED: Sorry work after restart
[XPERIA X1 Android Development] radzix27:
Speaker works fine, but with new zImage Xperia don't work as well as on previous zImage (I've got restarts when I try to turn on WiFi :/ )
[XPERIA X1 Android Development] Musse_1:
Music is on!! XperROID is getting better&better! Gr8 Thank you :D:D
[XPERIA X1 Android Development] shaban123:
"Did you check the troubleshooting part in this post?" i tried it several times but it still doesnt work is there possible to fix in another way?
[XPERIA X1 Android Development] Lucleonhart:
When drlucky says he used the latest git submits for his kernel, is that equivalent to the latest kernel from vdelf or angusmcb? I hope you did not work in different directions! :D

When drlucky releases his patchfile, maybe the new build kernel will be more stable again? *hehe*
[XPERIA X1 Android Development] drlucky:
I've used the official kernel git (got the link from vdelf) and included the patches from vdelf as well. So this kernel should include all changes from vdelf. I haven't been in contact with angusmcb, but we should definitely try to share patches or open a private branch of the official git kerlen repository.

I'm not sure if I'm doing everything right with the WiFi and modules thing, because as far as I know these sources are in a separate git repository. Will ask vdelf how he did it to get a kernel with fully working wifi (by the was - wifi works on my X1 but I haven't tried to disable it).
[XPERIA X1 Android Development] Lucleonhart:
Ok, just tried: When i disable Wifi (is enabled by default connected to my access point) resets the phone after 5 seconds.

Now trying the sound! *restart*

[EDIT:] Okay, now the phone reboots on every start of Android (right after the "X" logo in google colors...) ... trying to reset my config somehow.

[EDIT2:] Hmm... "msmfb_start_dma 30.000 ms after vsync request" ... very often ... that is new?!

[EDIT3:] Okay, no chance here. Deleted all config and re-copied all files. Now i get to the "Welcom to Android" screen, many messages pop up and then the "Shutting down" message appears.. without pressing a button. WTF?!

[EDIT4:] Okay, working again... But there is no music. Every time i start something with sound (music app, ringtone) i got "The process android.process.media was closed unexpectedly. Please try again".
[XPERIA X1 Android Development] dexteral:
http://xdaforums.com/showthread.php?t=652983

does this help the backlight issue
[XPERIA X1 Android Development] Musse_1:
latest kernel working fine for me, have restarted phone many times (to see how its behave), it's stable overall :)

enabling Wifi works nice, sometimes it restarts when disabling...I would say a bit more frequent than before.

one thing that is new is the battery indicator, it keeps changing status all time, red/green, fully charged/empty (and of course it asks to connect charger)
[XPERIA X1 Android Development] Musse_1:
yes it's nice app / launcher and it would have helped if only disabling Auto-Backlight in winmo was working for us with X1 when using android
[XPERIA X1 Android Development] engineer1:
battery icon

Good morning, I'm glad to have sound in my xperoid, but I've a question:

I had note that the battery icon always show that the battery is fully charged (100%). I guess that it not happened before.

Someone more happended it??
[XPERIA X1 Android Development] X1iser:
With latest drlucky kernel the battery is virtualy fully charged, maybe he find next fix for the battery meter...or he was tired of having notification of low battery :p

I find this in KaiserDroid topic. I hope is the way for have correct battery indicator :)

Thanks for the kernel drlucky, it really good to have musics on android!
[XPERIA X1 Android Development] drlucky:
Ooops ... seems that I have created more bugs than fixed bugs. Sorry for the inconvenience.

I'm trying to find out what went wrong, because I have just changed two lines in the kernel code - everything else should run like in the latest vdelf kernel.

Maybe I have included some patches from the original git repository, which have some side effects to the X1 kernel ...
[XPERIA X1 Android Development] Musse_1:
not at all :) we're thankful drlucky for letting us enjoy music, get sound notifications and can answer phone calls :D android overall stable as it was with vdelf kernel.

I also reported in earlier post frequent restart when disabling wifi, however after a number of hours of use, wifi is becoming stable on/off works fine here.

and as everyone else the battery meter is virtually fully charged but if you start Adv task or sys info it will show the correct value.
[XPERIA X1 Android Development] jonasd:
It seems that the speaker is always on, since I can hear distortion from the wifi and gprs connection when there is no sound playing.
[XPERIA X1 Android Development] dexteral:
DITTO The SENTIMENTS . IF ONLY THE BACKLIGHT PROBLEM IS RESOLVED
[XPERIA X1 Android Development] wouter11:
Would like to comment and help you out with your speaker bugg. Its weird but it happend. I had my music running in the background and had to phone my dad. When i called him and the phone was ringing untill he picked up i heard the music that was running in the background! So i dont know why it works then, but you should take a look at it!

Was running at android 1.6!

Greets Wouter (nub to this ****):P
[XPERIA X1 Android Development] pimmen:
there must be some kind of way to flip the image?
[XPERIA X1 Android Development] omnislash:
what SD card are u running on ? seems Android has issues with certain series of SD cards...
[XPERIA X1 Android Development] 1931:
Is there any package with working GPS? And also USB connection to comp? And normal screen orientation?
[XPERIA X1 Android Development] medzz:
Wow, Linux, already ? :D, it's so cool lol, the maemo idea was great :D, i saw som reviews on maemo 5 on nokia n900 and it looked very appealing !, and i bet it would run very smooth on xperia :D
[XPERIA X1 Android Development] scholbert:
Hackers appreciated

Hi!

1. There's some way to flip it inside Android using one of the system libs, but no one has managed to do so.

This would be solution for testing or whatever you may call it.

2. There's some way to flip the display in the kernel driver. The stock bootloader uses this sequence to initate the display for WM.

To find out the correct sequence, you'll have to debug tons of assembler from SPL bootcode.

I already started with this issue, but this is weird professional stuff.

Right now i can't find any time/energy to push this forward.

Sorry :rolleyes:

You may have a look at the attachment, just for fun :p

This part of code has been disassembled from factory SPL-bootloader.

For noobs who like technical discussion follow this older thread:

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

Have fun!

scholbert
[XPERIA X1 Android Development] fatsal:
wow, cool attachment assembler scholbert...

are you using IDA decompiler ?

it so hard to understand if we're not know memory map of kovsky.

but this is the step, a new step to be a perfect kovsky android.

thanks so much scholbert.
[XPERIA X1 Android Development] fatsal:
hi scholbert,

when the first time hits haret, the screen must be upside down. then after 1 second the screen goes to normal. i think we can do something with framebuffer.

CMIW :

Step BOOT linux kernel :

1. framebuffer

2. (after 1 second) go to HTC framebuffer (this step screen goes to normal) --> using fbcon:2

3. when android loaded their system, the screen load framebuffer (take a look /dev/graphics/fb0 ).

4. try to fbset -fb /dev/graphics/fb0 in the console -> the result must be (not correct clock display and depth of color).

maybe we can do something ones of this file :

fbmem.c

mdp_ppp.c
[XPERIA X1 Android Development] lewislew:
there is no SD issue here...

at the 1st i was try android under folder...

but failed same what u facing...

after i moved out the file from the folder to root...

but still failed...

then i delete what was i copied in the sd card, and copy again the new file in to root...

after that, every done and success running android~

the problem maybe during 1st running android, the system created data.sys file...it data file created maybe making reading way to android.

so delete all the related file...and copy again all the new file, run the android again, system will create again the data.sys, after all it should be can enter to the android. enjoy.

correct me, if i wrong.
[XPERIA X1 Android Development] freemini:
I'm just getting the "The application HARET cannot be opened....." you know the error. It worked 30 minutes ago but it doesn't now. Any ideas?
[XPERIA X1 Android Development] satchef1:
Nice work :)

Pulled my X1 back out of the drawer to try this out. Couldn't get 2.0.2 to work, but 1.6 seems to be working well. Just entering settings now and then I'm going to give it a test :)

EDIT: I can't get a data connection. How do I set this up? It's not been done automatically and I can't find anywhere to manually put the settings :(
[XPERIA X1 Android Development] igoodbyes:
great work

impressive work. looking forward to your work!
[XPERIA X1 Android Development] jwte:
I had that too after testing android the first time and I had to hard reset the phone because some file was gone and many programs didn't work.
[XPERIA X1 Android Development] cyleo:
Very nice and promissing, can't wait for it all to work :)
[XPERIA X1 Android Development] jwte:
Good work:)

I have a problem with the time, after I have restart the phone back to Win mobile the time is one hour after and it happens every time I test Android:confused:
[XPERIA X1 Android Development] locomarco:
A few pages before i said that you can't charge the phone, because on Android the current is more than 500mA coming from USB.

I think that was not true, because Android seems just to have some problems reading the battery status.

Back in Win Mo (or before starting haret) the battery has more capacity left than in android.
[XPERIA X1 Android Development] patt2k:
Got it to work! 8GB card. Had to put in root instead of using folder.

Amazing work! can't wait for this to be finished! def donating when this is done!
[XPERIA X1 Android Development] DIGItonium:
Hey fatsal,

Have you looked at the ROM dump from Android-based phones with similar hardware? I know it's not 100% accurate, but the Motorola Cliq appears to have the same CPU, ROM, and RAM. Someone claims to have Hero ROM running on it. Anyhow, just wondering in case you can borrow some stuff from other ROMs.

Anyhow, your 1.6 Android work was quite entertaining. 2.0 was fun as well, but quite "beta." Touch input fail haha. It's funny all this stuff is so much more responsive despite running on top of WinMo.
[XPERIA X1 Android Development] citmagier:
X1 Android2 Keylock?

Hy i get an animated X like keylock or screensaver after booting.

Don´t know how to unlock the keylock in android 2 on X1.

I hit everey button nothing happens.

I try to hit the 2 arrow hardware button twise,after that, i get an error message like sorry the screenblabla didn´t respons hit wait or close app,

and i can see the android man in the background.

i see that´s a bug in android 2 whit the keylock on the original t online android handy.

How to unlock the keylock in Android 2 on X1?
[XPERIA X1 Android Development] JonasBom:
Wtf? Everything works fine until my SIM-card code...i dont know why but android say its the wrong pin code...but its the right one xD **** iam sure^^

Does anybody know this problem?

Greetz

Jonas
[XPERIA X1 Android Development] Viper89:
Thank you so much for this wonderful update:). The only problem is I can't seem to get Live wallpapers to work :(
[XPERIA X1 Android Development] Jonny4911:
the google voice search is so cool :P

had a little bit of trouble with xda developers though! xD
[XPERIA X1 Android Development] Viper89:
I still can't navigate to the sd card for some reason?
[XPERIA X1 Android Development] indy.89:
Viper89,

you need to download livewallpaperspicker.apk and put it in the android apps folder. then download a live wallper and when its installed, tap and hold on home screen, and you will see live wallpapers as an option.
[XPERIA X1 Android Development] Viper89:
Thank you so much, where can i find livewallpaperspicker.apk?
[XPERIA X1 Android Development] Musse_1:
here you are :) http://xdaforums.com/showthread.php?p=6013154#post6013154
[XPERIA X1 Android Development] dawnbreaker:
Start

I have loaded it and it worked fine but is there a way for when i turn on the phone to just have android start up right away? i dont want to use windows at all
[XPERIA X1 Android Development] ahmedsalem89:
nice work guys, i can clearly see that android is on it's way to be my primary OS :D

can any1 plz guid me to a file manager cuz the one already there (Astro) is expired

thanx
[XPERIA X1 Android Development] alkatheri:
Good work guys,

For me I will change my x1 to Android once the battery last for on day. :D

Cheers