yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 Android Development] Elibl:
yea, confirm that the gps icon doesn't come up with google navigation for screen wake up it's the same like in icedroid: untick everything in settings->cyanogenmod->display, especially screen-off animation
[XPERIA X1 Android Development] CoolrunnerII:
I have some good news:

I have working GPS on my phone now!

The problem was related to the nameing of the gps library.

I will post a rom with correct nameing early next week:

rename /system/lib/hw/gps.xdandroid.so to gps.kovsky.so and reboot to test on your phone
[XPERIA X1 Android Development] Elibl:
Ow damn. I saw this but i didn't thought this could be the problem and didn't try it.:eek: What kind of stupid problem. But good Job crii.:thumbup:

Edit: i spent much time with trying to fix gps...

@crii: We need to have a look for the kernel modules from zargloub one's i think they still need to be implemented as the prebuilt kernel is only the zImage without modules...

Gesendet von meinem U8160 mit Tapatalk
[XPERIA X1 Android Development] Light_Sephiroth:
That's true, just rename it and it works, tested with gps test and google maps navigator!

BUT there is one major problem: the touchscreen stops working when you activate gps and it will work again if you deactivate it.

Or, at least, this happens in IceDroid V8.

Does it work properly on your rom?
[XPERIA X1 Android Development] CoolrunnerII:
I dont think it is the touchscreen per se, but something that lags everything down very much. I also noticed it.

I'll look into it next week.
[XPERIA X1 Android Development] Light_Sephiroth:
I don't know, because you can use the phone with the buttons, with them i was able to open a MapFactor Navigator and set a route.

Maybe only the touchscreen lags.. we'll see :D
[XPERIA X1 Android Development] CoolrunnerII:
Thats quite interesting...

If you could post logcat and dmesg logs that would be a great help
[XPERIA X1 Android Development] kuskro:
Wakelock is an object that system needs to have the device (cpu, keyboard and screen) stay on. It controls the suspend mode and it is controlled by android powermanager. For some reason that I don't know why, it interferes on wifi, so I tried to turn off and turn on the booting process through /system/etc/init.d/01kovsky.

Turning off android power management:

echo WAKE_LOCK_SUSPEND > /sys/power/wake_lock

Turning on (this not only turn on the android powermanager):

echo WAKE_LOCK_SUSPEND > /sys/power/wake_unlock
[XPERIA X1 Android Development] kuskro:
Well if you just disable wakelock it impacts on battery life so much but if you turn off and turn on the wakelock you just rearm this object gaining better wifi performance. Anyway with the last CoolrunnerII's kernel this is not necessary, only if you have wifi disconnections. I just wanted to pointing out that the rom has a sw bug between powermanager, wifi and sdcard performance.

---------- Post added at 11:47 AM ---------- Previous post was at 10:55 AM ----------

+1.
[XPERIA X1 Android Development] Saulis:
Weird, possibly good event happened: several hours ago irregular key "stall" occured, but from previous freezes i've noticed, that phone can be left for some time in suspend and after that wakeup restores key action. Thats not the note I'm noticed. Now after wakeup, key freeze is gone, and battery monitor widget is showing that last 3 hours current consumption was about 2.4mA (0.20%/h). What happened?

Edit: Battery monitor shows a bit lower consumptin now, 1.4mA currently, and I dont know what to do to dig in deeper. Currently my bat is at 14% and did not reduced for 6 hours.
[XPERIA X1 Android Development] oakes:
Yes, it is so weird and it is caused by the CM lockscreen controller.

Kuskro solved it on ZeamDroid.

The battery measurement works better after several charging and discharging.
[XPERIA X1 Android Development] CoolrunnerII:
A bit delayed I am uploading a language update now with Russian, Lithuanian, Polish, Ukrainian and Slovak languages.

I have been hitting my head at the SDCard/Wifi problems for far too long now. Any change seems to brake it completely, and I have no idea why it works at all.....:confused:
[XPERIA X1 Android Development] Saulis:
I'm getting bad clock&alarm app behavior. After about two days on, clock gets lost, switches to GMT,I think and ignores all settings, even manually set. Alarm also starts to misbehave in turning on/off. Phone RESTART helps to overcome this.
[XPERIA X1 Android Development] taninos:
Clock-Alarm works on ZeamDroid. I just use my xperia as clock-alarm so I can confirm you it works like a charm on Zeamdroid.
[XPERIA X1 Android Development] Saulis:
Well it happened again, I was charging my phone and after unplug noticed 52 minutes back in time, rebooted and all is ok. Maybe something with suspend/resume in latest kernel/CM7.2?
[XPERIA X1 Android Development] CoolrunnerII:
That is really strange....

Could you try to get dmesg logs out next time it happens? If there is something there it could be easy to fix.
[XPERIA X1 Android Development] Saulis:
got the same result charging today, resulting in -62mins. https://www.dropbox.com/s/ajdv4lgywxuyrs6/dmesg.txt
[XPERIA X1 Android Development] nikosddesign:
coorunner

how to overclock on cm 614mhz and up?

sorry my bad english.
[XPERIA X1 Android Development] Elibl:
You need to modify acpu.c in kernel source code...

Gesendet von meinem NexusHD2 mit Tapatalk 2
[XPERIA X1 Android Development] Elibl:
could someone test this cwm flashable zips? just to be sure that they work properly...
[XPERIA X1 Android Development] CoolrunnerII:
Great work!

Could you write something about how you made this zip's? I would like to make one with Norwegian/Danish keyboard.

CRII
[XPERIA X1 Android Development] Elibl:
i made them over a year ago in the very beginning of my interests in android so as far as i remember i used a hex editor to modify the .kcm.bin file...

but you can also directly modify the .kcm file in the device folder (configs/keychars) there you wouldn't need a hex editor or just to refer to know which column is for which keytype (shift/fn...)

in general the keys are mapped in kernel you know... each key gets a key in kernel. this kernel keys again have codes(hex) that will be forwarded to android this codes can be remapped in the .kl file and this remapped keys refer to the keychars map (.kcm.bin)

all a bit confusing as the keys are already in kernel not all correctly assigned...

all the best
[XPERIA X1 Android Development] Taranis:
CoolrunnerII, thank you for your work! I see that you are doing updates for X1!

I've installed latest 1 Feb version and my question is: does this version include your kernel with LCD power managing?

BTW, I reported 2 bugs.

Cheers
[XPERIA X1 Android Development] CoolrunnerII:
Yes it has the latest kernel.

I published the latest zip without testing it, so I guess I have to look it over to figure out why the polish language is missing.

You have to turn off "auto rotate" in screen settings. Auto rotate uses the accelerometer that we don't have, so it doesn't work.
[XPERIA X1 Android Development] Saulis:
Hello team,

I'm using the latest releases of kernel and android. Lithuanian language didnt found (not in list). I like normal screen on garbage, it seems to be funny, but yesterday encountered white color icons and screen, had to put device to sleep and to wake up it again, then this dissapeared. I'm still encountering clock slowdown on charging. But noticed, that while charging up to 70% no slow down is noticeble. Then and charginhg up to full, I need to reboot phone in order to operate it correctly.
[XPERIA X1 Android Development] CoolrunnerII:
I have also seen the white screen a few times. I don't think I'll do anything about it.

I must have done something wrong when I released the last ROM. I may be able to release a new one with the languages properly included.
[XPERIA X1 Android Development] CoolrunnerII:
I finally got around to measure the current draw in suspend today. It is now at 10mA in suspend. So it is still not 0mA as with wince. Before the LCD fix it used to be about 35mA.
[XPERIA X1 Android Development] Saulis:
I'm ataching new dmesg log, charging from complete discharge. https://www.dropbox.com/s/i8m8oibnuws4qg1/logas.txt

unplugeg on local 15:07 time, phone showed 13:55 (btw automatic network sync is on). did restart after log creation, battery dropped to 91%. It could be hard to do battery calibration in this situation :D
[XPERIA X1 Android Development] Taranis:
For me battery usage is quite good - I had 2 h LCD on and listened music, without SIM card. I think it's good. CRII, you gave X1 new life.

BTW, I don't want to sell such a good phone (for me only disadvantage is WM, nowadays). :)
[XPERIA X1 Android Development] Saulis:
Some notes on charging issues. I'm usually charging phone in sleep mode. But in this situation internal time offset is somehow affected. I've tried for several time to charge with no sleep, meaning screen always is on while charging, thus extending charging time. But didnt noticed any problems besides long charge time. So I'm curious that the problem with clock arises then phone is in suspend and charging.
[XPERIA X1 Android Development] skas_2002:
We need some touch screen calibration tool. It is really annoying(especially on my chinese touch). Otherwise thanks for you work, everything seems to work pretty well.
[XPERIA X1 Android Development] CoolrunnerII:
I have never noticed any offset in the touchscreen. What kind of problem are you experiencing?

The calibration is hard-coded in the file drivers/input/touchscreen/msm_ts.c in the kernel.

If you follow the kernel steps in http://xdaforums.com/showthread.php?t=1487169 you can make changes to this file and use fastboot to flash a new boot.img.

I know recompiling the kernel to calibrate the touch-screen is a bit of a pain, but I don't know of any other ways to do it.

BTW: Would you like med to include a Chinese translation also? Do you know the locale?
[XPERIA X1 Android Development] skas_2002:
No no, I am from Ukraine, ukrainian is already included. The main problem is ocasional launch of apps when I scroll through the menus. I changed digitizer touch today, the problem remains. It may be a lag of some kind, it is even laggy as I type this. I will try to go back to my old 2.3.5 nandroid, performance wise 2.3.5 roms are much better for some reason.

Upd

It is lag... Turned on governor performance, the problem is gone.
[XPERIA X1 Android Development] Smoover:
Should I stay or should I go?

Hi there,

I am currently running jerrytan93's "IceDroid v8 with Beats" on the X1. Jerry stopped the ROM development in September 2012.

The ROM runs quite good but has its quirks.

My issues with IceDroid 8 and a response by taninos are listed in this post: http://xdaforums.com/showpost.php?p=32089098&postcount=402

The whole thread for IceDroid can be found here in case someone's interested.

I have to admit that I'm not that savvy with the inner workings of Android. Getting the ROM up and working took some time and involved several explicit expressions.

Currently, there seem to be three contenders for an update:

- Cyanogenmod 7.2 by CoolrunnerII

- Code Butter by BrianXP7

- ZeamDroid v7.2.1 by kuskro

After reading through the threads, I am thinking about giving CoolrunnerII's "original" ROM a chance in the hope to have a "faster" ROM and GPS.

I am using the X1 as a secondary and "party" phone, so no pressure here.

Any opinions/warnings/hints from you guys before the change?

Much obliged,

Smoover
[XPERIA X1 Android Development] nikosddesign:
videocamera dont work..:(
[XPERIA X1 Android Development] Smoover:
After asking for advice in the thread of CoolRunnerII's "CyanogenMod 7.2 from source" ROM and receiving an answer from BrianXP7, I decided (against his advice, actually ^^ ) to give "Code Butter" a fighting chance.

The built "CodeButter-GB-20130305-KOVSKY" has now been running on the X1 for two days and these are my experiences so far. Some of the issues are already mentioned in the first post of the "Code Butter" thread but I will put them here nonetheless.

Before flashing "Code Butter" via CWM, I did a factory reset and a cache and dalvik cache wipe.

Installed "Holo Launcher", removed "LauncherPro".

Positives

Overclocking ability built into the system settings (set it to the maximum of 614 MHz)

Overall subjective impression of "faster" performance when compared to IceDroid v8 (might at least partially be caused by the overclocking)

GPS working but not yet extensively tested. Might have caused one system crash already

Improved WLAN connectivity and stability compared to IceDroid v8

Youtube videos play in "non-HD"

Decent battery life. Did a reset by "BatteryCalibration" app and get about 30 h of use in a mixed setting (airplane mode on/off, WLAN on/off, etc.)

Negatives

Screen turns green for one or two seconds when changing screen orientation

Device did not wake up from standby three times in the last two days, had to be reset by removing the battery

WLAN connectivity is overall still unstable. The connection to a WPA2 enrypted AP drops for unknown reasons in irregular intervals

Cache partition too small? The "Cache Fixer" app shows 14 MB of cache which is too small for a facebook app update (14,4 MB) which results in an "error 498" in the Play Store. I don't know if this is caused by the ROM but this problem did not occur under IceDroid AFAIR.

Video capturing does not work. The camera app starts to record but then does not accept any more input and crashes after about a minute. The resulting file is corrupt and cannot be opened in a video player.

No hardware acceleration for video playback (thus effectively no video playback except maybe for very low resolution videos)

Reason for installation of GooManager? It shows download errors for all selections and (at least in my case) the booting to recovery can be done by selecting the entry when powering down the device. Do I need an account?

QWERTY Hardware keyboard layout. Is it even possible to change this? I would prefer German, especially for the umlauts.

BrianXP7, thanks for your efforts in cooking the ROM (is "cooking" still an acceptable expression ^^ ?).

Do you still think I should give ZeamDroid a try or is the situation described above as good as it will get?

Yours truly,

Smoover
[XPERIA X1 Android Development] santos81:
Hi all!

I installed CoolrunnerII's ROM and sems it is fine. Could you help me with VPN on this ROM? It doesn't work. I found some decision with VPNC but it needs right compiled tun.ko driver. In the DroidVPN repository I can't find it. Could you help and compile it? I think it will be useful for all. Thanks a lot!
[XPERIA X1 Android Development] kuskro:
FEAT VPN shoud work because it doesn't need the tun.ko module. You can download the full app version on www.featvpn.com for free.

Best.
[XPERIA X1 Android Development] santos81:
I think it's not what I need. I need connect my device to our corporate network via vpn L2tp/ipsec psk through cisco asa with soft 8.4 and VPNC can do it. But VPNC need tun.ko
[XPERIA X1 Android Development] CoolrunnerII:
If you use fastboot and flash the latest boot.img you will get the tun.ko file. You can have a look at http://xdaforums.com/showthread.php?t=1487169 you can see how to extract the contents of the boot.img file if you want to just install the file.

zargloub allways pubilshed boot.img files with all the kernel modules installed, but I never got around to including them in my ROMs. If I get the time I can try to put them in.
[XPERIA X1 Android Development] santos81:
Thanks for your answer.

Your work is great!
[XPERIA X1 Android Development] santos81:
Hi all.

Have 1 question.

I took boot.img from CoolrunnerII's code.google.project, unpack it and there are version 2.6.35.7-92869-g3461e2d. In my xperia there is 2.6.35.7-92872-g3f0092b. The question - Will tun.ko from 2.6.35.7-92869-g3461e2d work on 2.6.35.7-92872-g3f0092b? Or maybe somebody have full boot.img version 2.6.35.7-92872-g3f0092b?

Thanks!
[XPERIA X1 Android Development] CoolrunnerII:
As long as it is more or less the same kernel version a kernel module will work. If you found a module compiled for a 2.4 kernel you would get problems, but any build of the same version will work. (The full version string here is 2.6.35)

Good luck!
[XPERIA X1 Android Development] santos81:
I tried and have a problem - versions are important. insmod return error - Exec format error. Dmesg says - version magic 2.6.35.7-92869-g3461e2d - should be 2.6.35.7-92872-g3f0092b. Could somebody help me?
[XPERIA X1 Android Development] CoolrunnerII:
run with "insmod -f" to force the version check

CRII
[XPERIA X1 Android Development] santos81:
It doesn't work. Maybe some limitations of the kernel? Insmod doesn't accept any options on my xperia.

usage - insmod <module.o> - thats all. Have you another variants for solving this issue?
[XPERIA X1 Android Development] CoolrunnerII:
You are right, it doen't work.

Try flashing this kernel with fastboot: http://code.google.com/p/cyanogenmod-kovsky/downloads/detail?name=boot_LCD_Power_off.img&can=2&q=

Then you try to use insmod to install the module. If everything fails I can try to build a kernel with tunnelig built into it.
[XPERIA X1 Android Development] santos81:
Well, many thanks!

I have done all that you told and it works ))) But I think, that big kernel works some slower then little from your rom.

In any case many thanks for you )))

Good luck!
[XPERIA X1 Android Development] CoolrunnerII:
That is great to hear! Maybe you could post a step by step description of what you did, so anyone else interested can do the same

Interesting that you think it is slower, I can look into it.

CRII
[XPERIA X1 Android Development] Seduce:
Hey guys,

FINALLY I can replay in this topic I read for long time now.

At first: THANKS to all the developers, you're doing a great job.

So now I want to share my experience with you.

1. I tried till now: Code Butter, IceDroid, ZeamDroid and this CM 7.2. At the moment I use this CM + ZeamLauncher because it has the less bugs. And somehow I really like the ZeamLauncher. All in all I prefer a fluent system to one with much functions. :p

2.

I can't agree with that at all!

Here are some tests with OC 614Mhz:

2.8mb boot-experimental.img kernel:

Antutu: 428

CF-Bench: Overall 378; Java 212; Native 628

the newest boot_LCD_Power_off.img:

Antutu: 723

CF-Bench: Overall 432; Java 244; Native 714

The test values fit my impressions.

2. My bugs:

-When pushing the Power-button with display off to get to the lockscreen, I see a crypic black/white picture for a second, but that doesn't really bother me.

-When using the camera, the picture on the display before pushing the button is quite dark on the screen but the taken picture is fine on the display

-When using the camera to record a video, the video on the display is qutie laggy (like 2fps), but the actual video is fine.

-The battery stats are quite strange. They hang up on 14% as you can see on the screenshot. I already tried Battery Calibration app and wipe in recovery. The discharging process is marked up with two yellow arrows and the state on 14% with the red arrow. After 14% it breaks and it won't even start up, leaving a message in bootloader with voltage 3000mV etc...

Another point: as you can see in the screen wifi and phone is disabled but nevertheless they drain the battery oO

3.my idle battery drain is around 2mA

I will keep up reporting

greez
[XPERIA X1 Android Development] santos81:
Hi!

Regarding to faster and slower - it's standing only on my visual impression. Maybe it's wrong.

Little description regarding VPN

For use VPN connection to Cisco ASA we need VPNC client. For this client need TUN.KO file. This file is present in boot_LCD_Power_off.img kernel.

Just flash it via fastboot (how to did it, you can find on this forum), then run terminal on the phone, find tun.ko (find -iname tun.ko), then make permission to write (mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system), then copy file tun.ko to /system/lib/modules and run insmod /system/lib/modules/tun.ko. Verify is it success - lsmod. The result must be something like this

- tun 11200 0 - Live 0xbf000000

Thats all, VPNC is working now. After reboot it's working too, no additional action needed.
[XPERIA X1 Android Development] santos81:
Hi all!

Does anybody know, how connect xperia to PC via USB in storage mode? Is it possibly at all? I can't... ((
[XPERIA X1 Android Development] esmail69:
I Have a Problem after installing android

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

task 29

flash stock rom

hardspl

...

but not solved :(

can you help me

sorry for my bad english
[XPERIA X1 Android Development] Saulis:
Hello everybody.

I've found out then time "lag" occours in my phone. I had check in Settings>Programs>Developer>Stay active while charging. For a while i unticked this and phone goes to suspend while charging without time corruption.
[XPERIA X1 Android Development] Saulis:
Hello all,

CoolrunnerII, is it possible to lock screen brightness when phone is put to suspend? I am a bit dissapointed to have to wait several seconds every time after wake up till screen starts to be readable.
[XPERIA X1 Android Development] CoolrunnerII:
That was a good idea. If I have the time I'll look into it. The problem is that the sensor readout is 0 just after leaving suspend, so I would have to make some kind of holdoff timer, but that is doable.

CRII
[XPERIA X1 Android Development] HATA28:
CoolrunnerII, this ROM is absolutely great! Thank you so much!

Trying to use it everyday since it is pretty damn stable.

There is only 1 issue, I dont know if its a known issue, or maybe Im the only one having it, but occasionally my X1 doesn't wake up from standby (screen off), so i am unable to wake it up. Do you know why this is happening?

Also, my battery reading is wrong (totally random). This has nothing to do with this ROM specifically, since it happened with all the android roms I've tried. Sometimes it even says the battery is like 1%, while it gives me a voltage of around 4190mv (fully charged). I did not have this problem with Windows Mobile. I removed batterystats.bin several times and tried to recalibrate, but the problem still exists. Does anyone know why and what I can do about it?
[XPERIA X1 Android Development] CoolrunnerII:
Hi, Sometimes the wakeup seems to take too long, and it goes back to sleep again without showing the unlock screen. Usually it will wake up if you just give it 10 seconds and try again.

The battery meter is quite strange. Mine works nicely, after a few charge recharge cycles.

I have added a holdoff counter to the back-light, so that it will use the last backlight level for a few seconds after turning on the screen. I have pushed the code to the git repo and will upload a ROM when I have tested it a bit tomorrow.
[XPERIA X1 Android Development] taninos:
Hi man, first of all many thanks for being still working on our kovsky.

Let me ask you a favour, could you include on the next ROM in the /sys/module folder those modules that are necessary to keep wifi tether app working? I think that convert our kovsky in a MIFI router would be great. Now I need to have a MIFI for working reason but a new one is too expensive and I know that wifi tether app works on kovsky because Krokus found a trick to make it works on a EXT3 ROM. Hence, we need to rearm those modules demanded by wifi tether with a init.d scripts on a NAND ROM. I tried before but I really don't know how to handle it. As I'm not an expert I cannot ask for help on wifi tether forums (http://code.google.com/p/android-wifi-tether/), I tried to follow some instructions for Motorola Droid Pro XT610 because it seemed to have the same problems than our kovsky but I've never achieved.

Forgive me for compromising you but you're the only person I can now get help from.