yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 Android Development] Jonny4911:
can someone (re)upload the latest kernel with wi-fi modules please?
[XPERIA X1 Android Development] sp3dev:
grab them here

http://www.mediafire.com/?zhjtzmnwjmm

though i have not tested
[XPERIA X1 Android Development] Jonny4911:
great Thanks!
[XPERIA X1 Android Development] angusmcb:
I think we can say with nearly 100% certainty that kovsky has microp-klt of some description - the definitive reference we have is that the OEM customisations for kovsky WinMo ROMs have a microp-klt driver implemented in microp.dll which does the usual thing, getting the version from the usual address. If WinMo can address the chip on I2C, the fact that the linux kernel driver can't points to a configuration or init problem rather than the possibility that we are dealing with a different chip. Don't you agree?

Small question. How and when did you flip the gpio 76 reset when testing?
[XPERIA X1 Android Development] vdelf:
it is the htc_msm_android_defconfig.
[XPERIA X1 Android Development] _Sensible:
@angusmcb / drlucky

Kovsky definately does have microp-klt...

I feel you are probably right when you say it needs to be reset. Is WinMo 100% succesfull in reading version?
[XPERIA X1 Android Development] X1iser:
Where is microp.dll in kovsky rom? OEMDrivers? In my kitchen there is not microp.dll.
[XPERIA X1 Android Development] angusmcb:
I don't know for sure, but the code is there and the backlight works :D
[XPERIA X1 Android Development] angusmcb:
I have it in OEMDrivers in my kitchen. I don't have a stock ROM - maybe someone with a stock ROM can confirm the presence of microp.dll on their phone?
[XPERIA X1 Android Development] X1iser:
My roms is clear for kovsky, no manila
[XPERIA X1 Android Development] Jonny4911:
looked in my (very old) kitchen, and the only place i found microp.dll was in the rhodium dump i had :)
[XPERIA X1 Android Development] X1iser:
Blacklight.dll

Hope this helps
[XPERIA X1 Android Development] sp3dev:
I have played with i2c-tools and here is what i have found

1. The controller at 0x66 stores it's version info in register 0x29 (like hero.. the version is 0x8707) , not 0x30

2. The controller at 0x66 is responsible for optical joystick

3. The backlight sensor seems to be at 0x36 (0x6c>>1, which is camera on other htc devices)
[XPERIA X1 Android Development] drlucky:
Wow ... sounds great. I will definetely try something with these values on the weekand.

Just one quick question: what can I do with i2c_tools? Is this a software which runs on the mobile or on the PC? Sounds like a great tool for our needs.
[XPERIA X1 Android Development] _Sensible:
@drlucky,

See here. Its a great tool by all accounts :D

@sp3dev

Awesome work! Its a little strange that version is stored at register 0x29, the microp.dll definately points to 0x30 which is why I'm wondering if winmo successfully reads version info. Anyway, really great find.

btw; If its useful here is my haret-console trace for 'backlight on/off' in WinMo.
[XPERIA X1 Android Development] angusmcb:
0x66 address 0x29 returns 0x0d0d for me.
[XPERIA X1 Android Development] neo299:
Further testing of sp3dev-seandeans v2b kernel shows IMPROVEMENT in battery life!Battery drain in standby is 2 percent per hour at most.I'm using Neopeeks SuperFroyo 10-11-10 (latest package) with kernel from his FRG83 package.

Data works, 3G works when enabled from WM, Mic and Speakerphone works,Market downloads are working.Everything is stable.I've OC my Xperia to 650 Mhz and using SetCpu to downclock when screen off to 128 Mhz.Will report tommorrow too with results when I get to do the heavy usage on my phone.

Once again BATTERY LIFE IS IMPROVED! Thanks to sp3dev, seandean, neopeek and everybody else who are actively participating in development for getting Android to work properly on X1
[XPERIA X1 Android Development] blackie333:
Very good news, could you please check whether location service via wireless network is working?

OK, I could not resist and tested the updated kernel and voila - location service is working fine.

Thanks
[XPERIA X1 Android Development] awds1130:
v2b kernel wifi error

How to be a wifi working
[XPERIA X1 Android Development] viper.:
Kernels 2 and 2b arent working on my phone ,i dont know why but my phone hangs(in WM) when i press haret . The sp3dev kernel and his build are working on that phone.
[XPERIA X1 Android Development] seandean:
I noticed myself a few hours ago that I had broken WIFI in my 2(b) builds, I’m sorry. I have another test kernel build that we can refer to as “version 2c”. You will require the new modules package attached.

If the kernel doesn’t boot in HaRET it probably means you didn’t bring it over to your removable storage (SD card) properly – to be safe copy all files when your phone is set as removable storage (not ActiveSync) and eject the device after copying files. This insures data is synced to disk.

Change log:

+ Built modules matching kernel build environment, optimized for speed

+ Built wlan.ko matching kernel build environment, included in modules package

- IPv6 support to reduce size (CONFIG_IPV6)
[XPERIA X1 Android Development] saobang3886:
I will try this kernel with FRG83 build, report later ^^!
[XPERIA X1 Android Development] samtron77e:
thx.

but wifi is still not working.
[XPERIA X1 Android Development] saobang3886:
Test with 2c kernel and when the phone sleep, I can't wake up it, try all key and touch screen but the phone still sleeping
[XPERIA X1 Android Development] daduy:
Working for me if i turned on Wifi in win mobile :)

Cheers!

daduy
[XPERIA X1 Android Development] PsychoAssasin:
v2c with the new modules seems to be fine. Wifi working again

havent tested anything else or battery life yet
[XPERIA X1 Android Development] astearon:
help me, anyone.

I really like this kernel, it eats the least amout of battery but all seandean's builds crash on my x1, android boots up fine, wifi doesn't start by the way, and then after about say 5 mins. the system restarts back to winmo or sometimes back to bootscreen. I really want this kernel to work for me. I used it with both of Neopeek's latest "SuperFroyo for Sony Xperia X1 [10-11-2010]" and "Froyo FRG83 - Android 2.2.1 Beta-Release [05-11-2010]", no go. :(
[XPERIA X1 Android Development] pirlano:
same for me, crash and reboot
[XPERIA X1 Android Development] osasa71:
I also have problems with froyo 2.2.1 beta on my x1. I can't sign-in to my gmail account while the wifi is working fine and I can browse but with slow surffing.

My biggest problem is when calling or recieving a call I can hear the other side, but he can't hear me.

Any suggestions??? Is it from the kernel???
[XPERIA X1 Android Development] Matzemink:
With seandean's kernel my haret.exe won't boot anymore..

Phone vibrates 2 times and then the phone hangs (i can still see the file browser).

sp3dev's kernel is working perfectly. I use it with xdandroid FRX02 but I think it has something to do with haret or startup.txt.

Anybody else got this problem?

Edit: I copied the kernel over usb mass storage mode
[XPERIA X1 Android Development] cyberdesigner.net:
in my case the v2c kernel with v2c-modules and SuperFroyo is working fine... only hardware-keys dying after some hours :(

(for the people where wifi doesnt work: which modules do you use?)
[XPERIA X1 Android Development] seandean:
RE: Kernel booting issues

For those who are having issues booting and running my kernels can you remove “acpuclock.oc_freq_khz=XXXXXX” (where the X’s represent your chosen frequency) from your STARTUP.txt file?

I have attached my own, keep in mind there is no “standard” file as you may be running one of the many different flavors of Android. I personally use Neopeek’s “barebone” version, and this file would apply to all his versions.
[XPERIA X1 Android Development] Pepenpaul:
With the new V2c kernel everything is working perfekt till now... no problems with wlan, earspeaker or something else...

Will report tomorrow about the battery drain.

Using Neopeeks Superfroyo (10.11.2010) with your kernel V2c
[XPERIA X1 Android Development] stefanACM:
With "B" version of SP3DEV kernel i get this results:

+Battery life is amazing

I using my phone as PASSIVE COOLING SYSTEM XD. Anyway i charge my phone to 100% in Windows Mobile, and boot Android. After 10h in sleep mode (one-three calls) i boot Windows again and i see: 75%...Amazing 25%/10h= 2,5%/h

-WiFi not working

-Hard keys dying

Now i will test "C" version and i will report does problem with WiFi and market are solved

;)
[XPERIA X1 Android Development] stefanACM:
After 2h of "testing" (read: sleeping) i think this is same thing as VERSION B. Battery life is same or a little better, but WiFi still not working !!!
[XPERIA X1 Android Development] awds1130:
v2c kernel very good

FRG83 2.2.1 + v2c kernel benchmarks 538 score
[XPERIA X1 Android Development] PsychoAssasin:
using cyanogenmod 6.0 with the v2c kernel and modules and battery seems to be reporting accurately and lasts quite long compared to the ones that come with stock cyanogen build. Wifi and data are both working. Only problem seems to be, as some have stated before, the hard keys not responding after awhile. Another problem ive had is that for some unknown reason, phone functionality will just stop working. When i make a call, it will hang up immediately after the dialing menu comes up. And when i answer a call, theres no sound or mic.
[XPERIA X1 Android Development] flacidcock:
i just cant get data to work. i tried everything. anyone know?

wifi works. i cant get onto mobile network. vpn's and everything is correct. i enabled data connection on winmo before haret as well.

please shed some light.
[XPERIA X1 Android Development] Matzemink:
Ok with your startup.txt the kernel is booting..

(it's not the overclocking settings - I tried it before)

But now I get following error:

"kernel panic - Unable to mount rootfs on unknown block(179.2)"

I think the cause is this line in the startup.txt:

"set cmdline root=/dev/mmcblk0p2"
[XPERIA X1 Android Development] mkbm:
Hi,

I have searched for the GIT rep from sp3dev but I can not find it.

Anyone can help me?
[XPERIA X1 Android Development] x1-xda:
http://gitorious.org/~ast/linux-on-qualcomm-s-msm/alex-linux-xperia
[XPERIA X1 Android Development] mkbm:
Thank you very much. I am going to try if I can build anything.

I want to add that I am running right now neopeek SuperFroyo with the seandean v2c Kernel.

Yesterday I had up to 28h of uptime without charging and my battery was not empty I think there was about 40% but I dont remember. Because I have to do a restart. My hardware keys stoped to work.

After the restart everything is working fine again.

Right now 15h uptime and 87% of battery.

3G is OK, GPS is OK, Market is OK, without overclocking.

Wifi was not working at first. But after some reboots it started to work and did not stoped right now.

With the earspeaker was the same problem. Right now it is working fine.

So for me this is a very good and stable android. I am going to try to get the logs of the device when the hardware keys stoped working. so maybe I can see why this is happen.
[XPERIA X1 Android Development] awds1130:
v2c kernel very good

Super Froyo 10-11 + v2c kernel benchmarks 556 score
[XPERIA X1 Android Development] seandean:
I have seen this myself on all kernels I’ve tested since Android became stable on Kovsky. It happens randomly, it’s impossible to force and it’s only solvable by rebooting the device.

One possible way to get around this would be to modulate “CONFIG_KEYBOARD_MICROP_KEYPAD” and “CONFIG_KEYBOARD_GPIO” hoping that in the code that represent these drivers something froze or crashed. If this was the case and these were modules we might be able to re-load them and have the functionality restored. It wouldn’t be perfect, but it’s a workaround that isn’t “reboot”.

I will build something for testing, if the keyboard is usable “at all” after doing this I will post here for the community.

Note: My post gets posted before the post I replied too, weird.
[XPERIA X1 Android Development] mkbm:
Hi,

I have created a log right after I have noticed that the hardware buttons stopped to work.

I can not find anything which can cause this problem.

Maybe someone else can find something useful.
[XPERIA X1 Android Development] mkbm:
Hehe, I was suprised that you can reply to my post before I have written. :)

It would be very nice to find a solution which doesnt need to reboot the whole system. I already tried some reboot apps but no one can reactivate the buttons.

I also tried to remap the keys with the terminal emulator but the keys still not working. Only power and camera button.
[XPERIA X1 Android Development] seandean:
New Test Kernel (v2d) - Advanced Users Only!

In response to the problem were our keyboard and (probably even more importantly) front facing buttons stop functioning I have built a kernel with some changes. Let’s all refer to this as version “v2d”.

Notice: This version requires the new attached modules package and is recommend for “advanced users only!” You will have to load two modules after boot, and this will have to be done (easy way) via ADB or (harder) on-device terminal without hardware keyboard assistance – bottom of the post has details.

Change log:

+ Modulated core keyboard and button functionality (CONFIG_KEYBOARD_MICROP_KEYPAD and CONFIG_KEYBOARD_GPIO)

+ Modulated Bluetooth features (non-core) to save memory and be consistent with WIFI (CONFIG_BT_L2CAP, CONFIG_BT_SCO, CONFIG_BT_RFCOMM, CONFIG_BT_BNEP and CONFIG_BT_HIDP)

- Boot logo to reduce kernel size slightly (CONFIG_LOGO)

- 3-axis accelerometer driver to free up memory since Kovsky doesn’t even have one (CONFIG_SENSORS_KXSD9)

I found out a few things working with this kernel build; CONFIG_KEYBOARD_GPIO and its module controls the power button only and CONFIG_KEYBOARD_MICROP_KEYPAD controls the keyboard and front facing buttons – this is likely our culprit.

If we find out that the system is working better with CONFIG_KEYBOARD_MICROP_KEYPAD as a module, I will keep it as such and re-build CONFIG_KEYBOARD_GPIO back into the main kernel. Let’s give this a few days of testing, and please report back your findings.

Special instructions:

1. You will need to get terminal access after boot, and it doesn’t matter how. I personally used QtADB but if you have another way good for you.

2. You’re going to issue these three commands, in this order;

a. cd /system/lib/modules

b. insmod gpio_keys.ko (your power button should now be working)

c. insmod microp-keypad.ko (your keyboard and front facing buttons should now be working)

3. If it saying file doesn’t exist it means your new modules package wasn’t extracted for some reason, this actually happened to me. Try rebooting but if that still doesn’t work proceed to number 4.

4. You’re going to issue these five commends, in this order;

a. umount /system/lib/modules

b. cd /lib/modules

c. rm -f *.ko

d. sync

e. busybox killall5 (when you see the boot up animation or text pull out the battery)

5. When you reboot back into Android re-start the procedure – step 1.
[XPERIA X1 Android Development] mkbm:
Thank you very much.

I am going to try it.
[XPERIA X1 Android Development] mkbm:
I have successful installed the kernel and the 2 modules. Keys are working after that.

First I have to delete the modules in /lib/modules like you have written in your post. I have to do that because when booting Android you can see that the modules package is not unpacked. It says: "....skipping. Modules already extracted".

I have used the terminal emulator. It is important that you type: "su" before typing any command. If not you can not delete or execute the requiered commands.

Now I will see if the keys will stop working and report.
[XPERIA X1 Android Development] seandean:
Thanks,

My best guess is that this wont “fix” the keyboard and buttons issue, but it might present us with a workaround opportunity.

Right now if you go into your terminal you will see the following when you type “lsmod” plus any other modules you may have loaded;

#
lsmod
microp_keypad 6660 0 - Live 0xbf003000
gpio_keys 4224 0 - Live 0xbf000000

When this issue happens on your device get back into a terminal or console and type “lsmod” and from there we have three possible options;

1. The module itself is no longer listed, this means it probably crashed out of memory and it provides us with an opportunity to re-load it. If it works then we have just found a workaround that doesn’t require us to reboot the device. At this point we can work on a script or tiny application that will enable it on-demand.

2. The module is still loaded, we can try to unload it and if successful, re-load it. This would require the use of the “rmmod” command to remove the module.

3. The module is still loaded and we cannot remove it from memory. This is where we go back to the drawing board.

If we eventually figure out that point “1” is the case we can keep the keyboard driver as a module and load it via some init.d script at boot. The same pretty much goes for point “2” but the script or application dealing with the reload would first have to remove the module before loading it again.
[XPERIA X1 Android Development] godblessyouamen:
How to use QtABD?

I'm windows user.

1. downloaded "android-sdk-windows" and "QtADB_0.7.3_Windows_with_libs_"

2. boot "Froyo FRG83 - Android 2.2.1 Beta-Release"

3. connect USB on mobile.

4. QtADB on windows > Connection of menu > USB

But i can't connect.
[XPERIA X1 Android Development] mkbm:
Hi,

right now I have a uptime of 16hours and the keys are still working. I know that maybe they will stop to work but if it is possible do reload the modules or anything else without restart the system it will be perfect for me.

The only thing I have noticed with this kernel v2d is that the calendar, email and market is not working probably. With v2c it was working fine.

But i will keep this kernel until the keys stop working to test if it is possible to reload the modules and get the keys working.

Thank you for your work.
[XPERIA X1 Android Development] mkbm:
My keys stopped working right now.

After that I have checked if the modules are still loaded. And yes there were both loaded.

Then I removed the microp module and loaded it again but the keys are still without function.
[XPERIA X1 Android Development] seandean:
Thanks for testing, my buttons have yet to fail but based on your observation it’s only a matter of time before they do.

We can dig a little deeper into this issue, but we are quickly approaching the limits. I have put together another kernel, the same instructions would apply but for another different module. Once again, only advanced users should be attempting to use this kernel. If you’re looking for the most “stable” version please use “v2c”. This version below is called “v2e”.

Change log:

+ Modulated additional core keyboard functionality (CONFIG_SENSORS_MICROP_KSC)

- Re-integrated power button functionality from modules (CONFIG_KEYBOARD_GPIO)

Special instructions:

The same special instructions apply from the “v2d” version expect you will be loading these modules below, and in this specific order;

1.	insmod microp-ksc.ko

2.	insmod microp-keypad.ko

My “when it does fail” instructions are the same, but this time we also focus on reloading the microp-ksc module.
[XPERIA X1 Android Development] PsychoAssasin:
For those of you having problems with wifi and data with the v2c kernel, ive found that having data enabled on startup of android makes data not work for me. So if you guys are having troubles with it, try disabling data before you reboot the device, and turn on data manually after android has fully booted.( and turn it back off before shutting it down again). This may apply to wifi as well. Just a heads up
[XPERIA X1 Android Development] viper.:
I have the same problem ,cant connect to QtADB ..

I can use the phoen as usb storage but the QtADB wont accept the connection and i am using superFroyo 10-11-2010.
[XPERIA X1 Android Development] denyboy:
great. Its true When you disable DATA connection in WM and start android DATA works in android..otherwise it wont work.

Now DATA and email push work on 3G. Great.
[XPERIA X1 Android Development] candra_aja:
That's weird because I don't need to disable data in WM to work on Android form. But that's a good info for other who had the same problem like you, and at last you found your own solution for your data problem bro... :cool:
[XPERIA X1 Android Development] denyboy:
well today i changed back to superfroyo with v2c kernel and this method doesnt work anymore. I dont have data connection.

It worked on VaniljEclair-Port CyanogenMod5.0.8 for Sony Xperia X1
[XPERIA X1 Android Development] kerfooly:
can someone please update the title and the first page so that everyone can get to know about the new releases if not then can someone atleast open a new thread and report the latest updates of this thread over there?
[XPERIA X1 Android Development] ziomiki:
v2c VS sp3dev

Hi all,

i'm testing the SuperFroyo 10-11-2010 on my Xperia X1

i download the kernel v2c and often the phone reboot to win mobile.

i also read that there is a mod of this kernel. The sp3dev's mod of the v2c kernel. I can't find this kernel (zImage and modules). Where can i find this kernel?

Thankssss!!

(sorry for my english)
[XPERIA X1 Android Development] man_genius91:
hi..sory if i ask wrongly

where i can get the dev tools?

can someone help me?
[XPERIA X1 Android Development] seandean:
Has anyone used this kernel and found the keyboard and buttons to eventually fail, following my steps and not being able to restore the functionality? It hasn’t happened to me yet so I’m wondering if this did the trick.

I’m testing a new kernel now, it’s only been a few hours but it has more free memory available and feels “noticeably” faster on regularly used tasks. If it holds up to be stable, and nobody has anything bad to say about the keyboard issue I will release it later today.
[XPERIA X1 Android Development] neo299:
seandean, when you don't use the front right softkey( turn off screen button) then everything works fine, hardware keys always work.I've noticed this with every kernel till now.Didnt test v2d since v2c works perfectly.So, once again people, use the power button for screen off and hardware keys will always work.
[XPERIA X1 Android Development] mkbm:
Hi,

yes I am using this kernel (v2e). But first I had to reinstall my Android because after I had put this kernel I had many problems. Like Calendar, Email and many things did not work.

But now with a new installation and your Kernel I have an uptime of 9hours without any problem.

Until now no problems with the keys. I will continue testing it to see if this problem is or can be solved.
[XPERIA X1 Android Development] Oggy972:
I'm agreed.

I'm using the V2C kernel with neopeek Super FroYo...

The first thing i did when i installed it was: disable the End-Button by setting its behaviour to Nothing.

Now, i use it for 5 hours and every button is still working.

Tomorrow, i'll give a feedback.

BTW 5H with wifi enabled : 76% to 61% , quite good.