yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 Android Development] seandean:
I think this released kernel deserves a quick review, as it represents a fundamental step forwarding for using Android on the Kovsky device. All previous kernels presented an experience that was cool, it allowed you to test and feel how Android would function and you could show it off to your friends, but it wasn’t something you could actually rely on for business and such.

I have summarized each of the important features of the phone and how they are working, if anyone is experiencing something different please share.

1. Battery

a. Suspend – The single biggest improvement we have seen in a while, suspend is now working “almost” like any normal Android device. No more are the days of your battery lasting 6-8 hours under decent usage, the new number is 24 and I like it!

b. Meter – It’s now matching WM exactly or at least close enough that it doesn’t matter. The temperature and milliamps reading isn’t working in Android, but it’s still included in the ds2746 log output.

2. Performance

a. Stability – I have used the kernel since it was released yesterday and I have yet to panic the kernel, it’s the most stable I've used so far.

b. Speed – I won’t tell you that this is “way faster” then other kernels, but it’s certainly not slower considering the other functionality it provides.

3. Data

a. EDGE/3G – They both work as they should, but this isn’t really new as it’s been working for a while. A pleasant side-affect of suspend working is you can now use Exchange “push” accounts without destroying battery life.

b. WIFI – I’ve never really had any issue with this, but some people are still reporting you need to enable it in WM first before booting in Android. Either case, its working so enjoy.

c. Bluetooth – I don’t have any devices so it wasn’t tested, no comment.

4. Phone

a. Calls – Probably the biggest bug is that it will always default into thinking that you have a headset attached, so you won’t hear anything using the earpiece. The workaround is to attach something with a 3.5 mm jack and your audio will be directed through the earpiece, but in doing this you can’t actually use a legitimate headset.

b. SMS – This is working normally.

c. MMS – I don’t ever use this so it wasn’t tested, no comment.

5. Miscellaneous

a. LCD – It’s working normally but sometimes you will have a few seconds of lag before coming back from suspend. I have yet to get the common condition where the screen stays all black and you’re forced to hard reboot (pull battery out).

b. Buttons – They are now all correct, we need to forget about the past button configuration as that was actually wrong due to the device not being able to suspend properly.

c. Sound – This is working normally.
[XPERIA X1 Android Development] stefanACM:
Battery life is almost perfect with new KERNEL. But mic don't work when i recieving call and WIFI giving error. I think its posible to make more better battery drive that windows mobile. Keep on going now is really near to Windows Mobile ;)

Great work just tell me why that WIFI + MIC bug ?
[XPERIA X1 Android Development] pirlano:
great step with this kernel, i hope charge drop will be optimized a little more, better 3d driver, 2 cameras, radio :)
[XPERIA X1 Android Development] ilgreco112:
I can't find any cool fast & stable WM rom so I hope I can get a Android one soon!
[XPERIA X1 Android Development] phwhx:
Help - screen wrong with Tremere build (27/9 version)

tried this zImage with Tremere build (27/9 version) and looked very good. However, you can not really use it because the screen alignment is wrong.

Anyone who tried it, please help.
[XPERIA X1 Android Development] phwhx:
screen calibration problem solved

the problem solved with the calibration file. thanks alot.

It works stable and fast. However some other (probably known) problems found,

1. Wifi does not work, can not active it.

2. quit menu from hand-up button not easy to access.

It's getting there. Thanks again.
[XPERIA X1 Android Development] n00b3r:
I tried the FXR02 xdandroid for 2 days, and I've got the same problem twice. Once after 7 hours, and once after 2 hours of usage. I can still turn the phone on and off on the power button, but no other physical keys work.
[XPERIA X1 Android Development] sjkoon:
this kernel has perfect battery time.

Thanks sp3dev.!!!

Bug Report.

* earphone detect sensor is reversed. (but, phonebell and notify sound excluded.)

* Wi-Fi is broken (i was try activated, error occurred.)
[XPERIA X1 Android Development] blackie333:
Thank you sp3dev, this is the best X1 kernel for battery life !

After fixing a few bugs daily use of Android should be finally possible :)
[XPERIA X1 Android Development] Devaster:
i have a question mark on battery meter with your kernel sp3dev, using CM60 ....

but all ok ....
[XPERIA X1 Android Development] keeni:
Using this kernel with Neopeek's CM rom. Excellent battery life. Previously, Display consumed most of the battery life, now Call Standby is the highest. This says a lot about the improvement.

Like what the others has said, WIFI not working and Phone is mute/no sound unless u have the headphone jack on.

Not sure if its kernel related, youtube apps works with HQ but no sound coming out when playing the video.

A little more tweak to this kernel and we have a winner.

Kudos to the dev....your hard work is appreciated. Thanks once again.
[XPERIA X1 Android Development] astearon:
WOW the kernel is absolute fantastic! I need it working with wifi please.

Any updates on this?
[XPERIA X1 Android Development] sp3dev:
wow guys, not so fast.

i'm still working on some stuffs like proper charging and headset mic

try this kernel and modules now. includes:

1. rewritten 3.5mm headset driver (seems to be working correctly), mic should work, but not the button on the headset

2. display driver from 2.6.35 codeaurora tree (didn't bring any real improvement, but now it looks like we can start porting everything to a newer kernel base)

3. rebuilt wlan.ko module. should be working now (although it has been always working for me)

http://www.mediafire.com/?5t241a6aowvze6v

also, most of the changes (except the new screen driver) are now in my git repository. Although i am not sure that you can build a working kernel from it, cause i've been commiting the latest patches at aroung 5 a.m.. But i hope everything is fine there
[XPERIA X1 Android Development] radzix27:
Man excelent work !

+ no strange noise from speaker ! Sound works, also in music player, incoming call incoming text message

+ microphone works (in calls,voice dialing and I think in another apps also works, but I can't check this ;) ) ear speaker works, I called on my phone and I can talk with another person without any problems :)

+ when headphones are plugged and I'm listening to music and call or text msg arrives then music is muting (vibrations also works) after call end music player continue playing (so everything working good with it in my opinion) I have not checked whether the caller is heard through the headphones

+ battery charging works when I plugged X1 via USB cable to PC

+ USB storage works, but when I unpluged X1 from PC android shows that "SD Card is empty" and in file manager there is nothing on SD Card (after reboot it works again ;) ) (this may be because we got Android on SD Card?)

- wifi gots "error" but I didn't turn it on in WinMo

- screen doesn't turn on when new text message arrives (maybe I should change some settings?)

Sorry for my english.

Thank you for your hard work, I see full working android on my Xperia in very near future :))
[XPERIA X1 Android Development] pirlano:
i also checked commits and seems you are working on camera too, that's great!!!
[XPERIA X1 Android Development] mkbm:
This Kernel is working great.

The most important for me is that there is no more sound from the speaker.

But there are 2 things I have tried and didn´t work.

First, WiFi shows "Error" when trying to start and I can not connect to my PC.
[XPERIA X1 Android Development] naqn:
really nice kernel.

speaker problem is fixed. and all function works well!! (except camera :) )

but I found two new problem..

first, booting logo is crashed..

second, when I reboot or power off device, battery comsumption is so high.. (almost 6~7% or Is battery meter incorrect..?)
[XPERIA X1 Android Development] Pete Rask:
Also had an error on Wifi. Just used an older kernel with working wifi for setting it up against my router at home. After that I have working wifi with this kernel wether or not it's turned on in WinMo.

Maybe not a permanent solution but I hope that helps.

Turning Wifi on a second time gives me an "Error" too. Only restart makes it work again.
[XPERIA X1 Android Development] mkbm:
I have tried and configured my Wifi with a wifi working kernel then restart and copy this kernel but still the same problem.
[XPERIA X1 Android Development] cyberdesigner.net:
you can open the "terminal emulator" in "dev tools" and get root with "su"

now "modprobe wlan" then wifi should work again!
[XPERIA X1 Android Development] Matzemink:
I've got the problem that the phone does not wake up from standby.

1. Phone is in standby

2. I press the top standby button

3. LED indicator blinks red - screen dark (also no backlight)

4. LED indicator blinks green (phone in standby)

5. I have to reboot.

Sometimes it works after hundred of tries :D

Newest sp3dev kernel

xdandroid FRX02

x1iser rootfs
[XPERIA X1 Android Development] sp3dev:
it actually does wakeup. sometimes you have to press the power button several times or move the finger where the lock bar should be while the screen is still off
[XPERIA X1 Android Development] seandean:
Thanks, another great release.

I can confirm, as others already have that the earpiece is now the default and working properly. The WIFI subsystem is working, but for myself this has always been the case. I do get some distortion on the boot animation, but this is hardly anything to worry about. Once in the system I do not see it coming up anywhere else, including the gallery.

I’m pulling your GIT repository as we speak, I will try to do a build once it’s complete and report my findings.

Thanks again, keep up the fantastic work!
[XPERIA X1 Android Development] mkbm:
thank you. Wifi is now working.

The only thing which is not working is the connection to the pc. The mobile is charging but I can not connect as mass storage.

EDIT: And it seems that the ear speaker is not working everytime when a call comes in our out.

I have to enable the speaker and disable to get the ear speaker working.
[XPERIA X1 Android Development] yoko89:
didn't work for me modprobe givs an error
[XPERIA X1 Android Development] pirlano:
with newest xdandroid system+rootfs+ your newest kernel, i got a little speed improvement in 3d graphics, like 18,2 in neocore bench (versus 15/16 fps with older kernel) but higher textures corruption, screen artifacts with Angry Bird 1.35

i was playing, android said "empty battery, please connect to charger", than auto powered-off, restarted win mobile and battery is 18% (i can do an other day in stand by with win mobile)

edit: in win mobile yesterday at midnight was 18%, now after 11 hours is 10% and i can ue win mobile, but i can't use android because of auto power-off, maybe it's needed a bit better accumulated charge meter :)
[XPERIA X1 Android Development] seandean:
I pulled the config.gz from your latest working kernel and tried to compile your GIT-posted source. I spent a few hours on it and have to say I was getting compilation errors all over the place; I repeatedly had to disable modules or complete sub-systems just to make it pass the error point. I’m giving up now as it’s forcing me to disable critical USB features, but I did make it pretty far with what “could” have been a working kernel.

My best guess at this point is the source on your computer is “a lot” different from what’s posted at GIT for the time being. :D
[XPERIA X1 Android Development] Mic159:
When I do that, it says

modprobe: chdir(2.6.27.46): no such file or directory
[XPERIA X1 Android Development] cyberdesigner.net:
looks like modules-2.6.27.46.tar.gz is missing?
[XPERIA X1 Android Development] radzix27:
The battery level is not read correctly, because when I use my phone I saw that 28% battery stayed, but then an information appeared that only 6% battery stayed and phone shut down :/
[XPERIA X1 Android Development] mkbm:
Hi,

I have now tried this kernel with many releases.

And I have noticed a few things.

with Froyo FRG83 - Android 2.2.1 Beta-Release from neopeek:

This is working fine.

Wifi OK.

Battery OK.

The only thing that is not working properly is the phone. Many times I can´t not hear from the earspeaker. I have to switch to normal speaker and than back to hear something.

with CM6.0Mod from neopeek:

same as above

with Tremere release:

same as above

with lgstoian release:

In my opinion this is the most stable and has a good speed.

But with the kernel which is in the package of Igstoian or of the official xdandroid page the battery is always on 100%. Everything else is working fine. Phone OK, Wifi OK.

If I use this Kernel (new sp3dev) the battery seems to work properly but I can not activate wifi. Don´t know why because with the neopeek release it is working fine.

If I try "modprobe wlan" I get the following error:

modprobe: chdir(2.6.27.46): no such file or directory

The phone seems to work fine.
[XPERIA X1 Android Development] pirlano:
WOOOOW sp3dev is working on usb host driver!!! :D
[XPERIA X1 Android Development] cumigoyeng:
anyone test it and works?
[XPERIA X1 Android Development] ilgreco112:
with new sp3dev kernel I cannot connect wifi (FRG83 - CM6.0)
[XPERIA X1 Android Development] mkbm:
I have forgotten to mention that there is no vibration if a SMS arrives.

Don´t know if this is already known.
[XPERIA X1 Android Development] radzix27:
Vibrations working good. Check this out SMS/MMS -> Settings -> Notifications.

The problem is that the screen doesn't turn on when new message arrives.
[XPERIA X1 Android Development] mudenza:
Mine works perfectly. Try deleteing old modules, and use only the ones provided by sp3dev
[XPERIA X1 Android Development] seandean:
New Test Kernel

I decided to build a community test kernel from sp3dev’s GIT repository now that he found some time to fix the source so that it would compile. I changed a few kernel options, so let’s see if anyone has less (or more) issues.

The older modules package from November 5 is still valid. All credit goes to sp3dev for his excellent work.

Change log:

+ BFS cpu scheduler

+ Optimized for Speed, not Size

+ Support ARM V6K extensions

+ Added HTC Rodium cellphone support, wouldn’t build without it (but I don’t know if it will actually work on Rodium – my guess is no)

- Display driver from 2.6.35 code aurora tree not included, this has not been pushed to GIT yet but not having it solved the very minor (but existing) distortion during boot.

- No suspend LED notification, I guess this hasn’t been pushed to GIT either but for the record I actually like it.
[XPERIA X1 Android Development] neo299:
I will test it and report here.Cheers
[XPERIA X1 Android Development] n00b3r:
Could be just me, but using the test zImage makes my HareT crash at the progress bar.
[XPERIA X1 Android Development] spamam1:
Neopeek + Gen.Y DualBOOT + 'AndBoot' folder

My setup is as title says.. my current favorite OS is Neopeek's Cyanogenmod 6.0 v1.2 (awaiting 'full' 6.1).

In an effort to keep my microSD card somewhat free of clutter, I have put most files in \AndBoot\ folder, and accessing Android via yozgatg's Gen.Y DualBOOT.

Notes/caveats:

1) (aside: see Neopeek postings, re: SD card partitioning)

- WM, Registry, be sure to put \AndBoot\ as your Android folder

- note: if you use Gen.Y right away, Registry doesn't have a chance to

properly save; reboot at least once to ensure Registry setting 'sticks'

2) Neopeek: normally, 1-time 'install' then 'haret' thereafter;

for the 1-time install, the modules-xxx MUST be in the ROOT folder of SD,

*despite* the \AndBoot\ (recall: that's for Gen.Y, but install does NOT use it)

- following install, the modules-xxx file can be deleted/moved from root folder

- if modules is NOT in the root during install, no complaints BUT Wi-Fi doesn't

work (not sure about Bluetooth)

3) the calibration file MUST stay in the ROOT folder (not in AndBoot)

for some reason; since it's read-only, I figure I can 'hide' it to

(somewhat) keep the root folder clean (but haven't tested)

4) the most accurate battery reading and life seem to be with the latest

compile courtesy of seandean

CAVEAT:

for some reason, neopeek's 'install' HANGS with the latest zImage (seandean's);

use sp3dev's for the 'install' stage; then, with seandean's zImage in the

AndBoot folder, Android is running well.

***********************

SetCPU -- via AutoDetect, sometimes says max is 595, other times

528; there's a way to record these manually, which I have yet to do

(a text file, from what SetCPU says).

Thanks to all!! X1 has 2.2 before X10 (officially, on Rogers) gets 2.1!!

(2.3 is on the horizon...?!?)
[XPERIA X1 Android Development] matejdro:
Feels fast, but market won't work (download was unsuccessful error)
[XPERIA X1 Android Development] seandean:
New Test Kernel v2

I have another test kernel for you guys, once again a big thanks to sp3dev who deserves all the credit. The older modules package from November 5 is still valid.

Change log:

+ Build environment updated to GCC 4.4.1 (from 4.3.2)

+ Suspend LED notification (green is suspending, red is activating)

I’ve been reviewing complier optimization options, my attempt at –O3 produced a kernel 2.2MB in size vs. 1.85MB of the attached. I think the loss of 3MBs of memory would outduel any speed increase created by that build so it was discarded. I will research further, I found a couple interesting threads on XDA regarding this.
[XPERIA X1 Android Development] seandean:
I have something new to share; you can probably refer to this as kernel “version 2b”. It should really only be used if you were not experiencing any issues (beyond the normal issues you will get no matter what kernel) with the one posted above.

Change log:

+ Minor compile-time optimization for speed (-fno-gcse)

- Unused I/O schedulers to reduce size (CONFIG_IOSCHED_AS, CONFIG_IOSCHED_DEADLINE, CONFIG_IOSCHED_CFQ)

- Kernel debugging and all its associated options (CONFIG_DEBUG_KERNEL)

The removal of kernel debugging should eliminate numerous small CPU overheads in the system, thereby providing even more speed. The drawback is if you’re having issues with your system, and you know how to utilize this functionality (my guess is most of you don’t) it won’t be available.

Please test and provide “constructive” feedback.
[XPERIA X1 Android Development] neo299:
Testing your 2b kernel version.No significant battery improvement for me.It is stable but data and 3G do not work.Evetything else works perfect.Thanks for your effort Seandean.Still, we are one step closer to a working battery driver :)
[XPERIA X1 Android Development] spamam1:
version 2b -- WiFi not working

maybe it's my setup, but whereas version 2 is OK (3G, WiFi),

version 2b -- get 'Error" when trying to start WiFi.

my setup:

- Neopeek's Cyanogenmod 6.0 v1.2; Android *use* files on

\AndBoot\ (vs \)

- during *install* phase, the modules**.tar.gz needs to be in \; OK

- after install, if I switchout 2b for 2, WiFi works fine

Haven't tried 'regular' file structure setup; so again, might be

specific to my setup, might not..

thanks again, and keep up the good work!
[XPERIA X1 Android Development] x1-xda:
Front buttons and display backlight

First, big thanks to sp3dev for his latest kernel.

Second, i want to compile kernel without front keys backlight with sp3dev's sources. There are some apps on market but none of them can do that properly. So, i edited functions (made them to return 0 immediately) micropksc_set_led() and micropksc_set_kbd_led_state() in "drivers\i2c\chips\microp-ksc.c" but this is not what i want, now it disables qwertz/y keyboard backlight but i want front keys beneath display to disable backlight, keyboard can have it.

Display backlight can have values from 0 for disabled to 255. With android minimal backlight set with slider in settings->display it probably doesn't go below 20. This is probably defined somewhere in android filesystem, not kernel, so maybe this is a little offtopic, sorry for that. I would like to know where it is stored so i can tune these values so when i slide it to minimal value in android to set it to value of 2 or 5, not 20.

Can someone give some points to where to look for any of that?

Also, is it right to compile sp3dev kernel (November 9th) with these make parameters with arm-2008q1 toolchain (works fine here, taken from xda wiki) (?):

make htc_msm_android_defconfig ARCH=arm
make zImage ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-

Thanks for any help.
[XPERIA X1 Android Development] ultrashot:
x1-xda, open microp-klt.c and go to

if (idx == 6+8)//button-backlight
{
if(machine_is_htckovsky())
{
//
}
}
[XPERIA X1 Android Development] x1-xda:
Yes, that's it, now it is disabled keylight for front keys. Thanks ultrashot for really quick answer.
[XPERIA X1 Android Development] Hardzen:
can provide space

pm or mail

hardy(at)ufo-base.de
[XPERIA X1 Android Development] angusmcb:
Are we talking about this?

static struct microp_i2c_platform_data microp_data = {
.num_pins = ARRAY_SIZE(microp_pins_skuid_0),
.pin_config = microp_pins_skuid_0,
.gpio_reset = HERO_GPIO_UP_RESET_N,
.cabc_backlight_enable = 0,
.microp_enable_early_suspend = 1,
.microp_enable_reset_button = 1,
};

and this

static struct microp_pin_config microp_pins_skuid_0[] = {
MICROP_PIN(23, MICROP_PIN_CONFIG_PULL_UP),
MICROP_PIN(0, MICROP_PIN_CONFIG_GPO),
MICROP_PIN(1, MICROP_PIN_CONFIG_GPO),
MICROP_PIN(2, MICROP_PIN_CONFIG_GPO_INV),
MICROP_PIN(4, MICROP_PIN_CONFIG_GPO_INV),
MICROP_PIN(9, MICROP_PIN_CONFIG_GPO),
MICROP_PIN(10, MICROP_PIN_CONFIG_GPO),
MICROP_PIN(11, MICROP_PIN_CONFIG_GPO),
MICROP_PIN(12, MICROP_PIN_CONFIG_GPO),
MICROP_PIN(13, MICROP_PIN_CONFIG_GPO),
MICROP_PIN(14, MICROP_PIN_CONFIG_GPO_INV),
MICROP_PIN(15, MICROP_PIN_CONFIG_GPO),
MICROP_PIN(16, MICROP_PIN_CONFIG_GPO),
{	.name = "microp-pullup",
.pin = 23,
.config = MICROP_PIN_CONFIG_PULL_UP1,
.mask = { 0x00, 0x00, 0x01 },
},
{
.name = "green",
.pin = 3,
.config = MICROP_PIN_CONFIG_GPO_INV,
},
{
.name = "amber",
.pin = 5,
.config = MICROP_PIN_CONFIG_GPO_INV,
},
{
.name = "lcd-backlight",
.pin = 6,
.config = MICROP_PIN_CONFIG_PWM,
.freq = MICROP_PIN_PWM_FREQ_HZ_15600,
.levels = { 30, 48, 66, 84, 102, 133, 163, 194, 224, 255 },
.dutys	= { 8, 16, 34, 61, 96, 138, 167, 195, 227, 255 },
},
{
.name	= "button-backlight",
.pin	= 7,
.levels = { 25 },
.config = MICROP_PIN_CONFIG_GPO_PWM,
},
{
.name = "adc",
.pin = 24,
.config = MICROP_PIN_CONFIG_ADC,
.levels = { 0, 0, 0, 6, 24, 60, 425, 497, 569, 638 },
},
{
.pin	= 17,
.config = MICROP_PIN_CONFIG_INTR_ALL,
.mask	= { 0x00, 0x01, 0x00 },
.intr_debounce = hero_microp_intr_debounce,
.intr_function = hero_microp_intr_function,
.init_intr_function = 1,
}
};

Do you think it's doable to port the hero pin-mapping stuff to kovsky considering the lack of hard data we have on the device?
[XPERIA X1 Android Development] lyteo:
Man, I have a server..willing to share space, if you need some..
[XPERIA X1 Android Development] drlucky:
Yep, exactly. I tried to reset the microp using the GPIO from hero (HERO_GPIO_UP_RESET_N), but it just didn't work. Kernel boots up and android is running fine, but I still get 0x0000 as version number.

I have seen an IRC log from _Sensible which reads as if the kovsky doesn't have a microp at all. I hope this is not the truth ... :eek:

I thought microp is part of the qualcomm chip (which is the same as in some other devices), but this doesn't seem to be the case, or does it?

Sorry - more questions than answers ...

Not quite sure if this is necessary - my hope is that we can get the microp into a state where it responds to the version number request. And maybe then we will have an already supported version number. Otherwise we will have a bigger problem, as I don't think that we can handle all this information without a lot of debugging and trial & error (and I really mean a lot).