yashsingh1/xdaforums huggingface dataset:
[XPERIA X8 Original Android Development] alfsamsung:
This patch is only related to sensor and nothing will go wrong if you don't flash it.

About update-rom-WLAN-AlfsKen.v9c+.zip: This is only for the WLAN version and not the cm7 version, and remember GingerDX v29 now uses the cm7 version
[XPERIA X8 Original Android Development] RudzLong:
can i know something about kernel?

What's different from fps & non fps....
[XPERIA X8 Original Android Development] mayurcools:
but then it will have screen tearing.
[XPERIA X8 Original Android Development] sgt. meow:
@RudzLong

One has the fps cap (sw_vsync ON hw_vsync OFF, FPS limited to a maximum of 60). The other doesn't have fps cap (sw_vsync OFF hw_vsync OFF, FPS not limited to 60).

The one with no fps cap may have screen cuts, whereas the one with it has minimum possibility of it ever happening. Performance is different in each one (you have to try it yourself). Hope you understand.

@mayurcools

Yes, but it's worth a try.
[XPERIA X8 Original Android Development] mayurcools:
can you please try the way i told.

HW-Vsync ON

SW-Vsync OFF

FPS cap OFF

and share it i want to try it.

thanks
[XPERIA X8 Original Android Development] pilu1978:
You can't turn the fps cap on or off directly, only set the hw and sw synchronisation, so 4 possible way exist (both on, both off, sw on and hw off, sw off and hw on). The sw sync adjustable with a variable.
[XPERIA X8 Original Android Development] sgt. meow:
True.
[XPERIA X8 Original Android Development] sayamanta:
i'm using alf v08a and now i have downloaded gingerdx29 and i want install alfv 09c kernel now, so should i install update-rom-WLAN-AlfsKen.v9c+.zip also?/
[XPERIA X8 Original Android Development] playjun:
no.update rom wlan alfsker v9c is for gdx v28 only in my opinion .in v29 use alfs v9c for cm7

minimum edition
[XPERIA X8 Original Android Development] ->Sid:
So as stayed by meow sw on and hw off will give 60 fps limited and if both off the no limit for fps..

So wat will happen if hw on and sw off as stated by mayurcools..

Will fps be limited or not..

If yes will it be 60 only or it will have some other limit value..

Dont be lazy..

Hit the thanx button buddy..
[XPERIA X8 Original Android Development] mayurcools:
so how to turn on HW_Vsync and what is the variable to turn off SW_Vsync

---------- Post added at 04:20 PM ---------- Previous post was at 04:15 PM ----------

one more question, how HW_Vsync works?

it uses 320Mhz QDSP5 in our MSM7227 or it uses dedicated hardware or it uses ARMv6 CPU?

if its using ARMv6 then its of no use to turn on as SW_Vsync itself using the same.
[XPERIA X8 Original Android Development] sgt. meow:
It has to be changed while compiling kernel. In two different files if I'm not wrong. I don't remember the exact location.
[XPERIA X8 Original Android Development] mayurcools:
i think no screen tearing and speed improvements can be achieved if we implement triple buffering in kernel and let adreno do its job of using buffers.

can we implement it? as it is implemented in jelly bean kernels
[XPERIA X8 Original Android Development] sgt. meow:
I don't know. I am not gonna work on GB kernels anymore (not that I released any of my work).
[XPERIA X8 Original Android Development] mayurcools:
okay, thanks...

maybe try on ICS :D
[XPERIA X8 Original Android Development] pilu1978:
You can swith the vsync options directly in the kernel code (with our phone in the board_delta.c under the msm_mddi_display_type_init method).

So, the basics about hw and sw vsync. The hw sync linited to 60 because this is the maximum what the hardware can do. Differences between the hw vsync on and off. When the hw vsync on the hardware trying draw always 60 frames per second BUT if you miss a vsync between the hardware and the framebuffer, the fps will be halved. :( Example: you play a game what can calculate 50 frames per second. The hardware can't draw 60 frames, so halve it and draw 30 frames per second. This is enough, but if the framerate dropping below 30 the fps halved again, so it will be 15. When you turn off the hw vsync, this limit is removed, the hardware always draw 60 frames, but it can make the tearing effect (the hardware draw the framebuffer in every 1/60 second, but the gpu can't produce enough frames, and draw some unfinished frame (the hardware draw the framebuffer in the every 16,66 millisecond, but with an average 50 fps the gpu need 20 millisecond to produce a frame).

About the sw vsync. With this switch you can give the maximum fps manually (with the panel_info.lcd.refx100 variable). This is not means the phone can draw more frames (it will be always 60 due the hardware). If you disable it, the possible frame rate limited only the cpu and the gpu performance (the cpu calculate the geometry and feed with these datas the gpu what calculate the real images), so, with a primitive 3d app what need few calculations the fps can be over 100+ :) This is typical in the synthetic tests. In the real life better if you give a limit to the gpu (without fps limit it will work always o 100% (if the cpu can provide enough data), so the battery consumption will be increase. :( When you turn on the sw vsync, the maximum calculated frames can't be higher than the value what you set with the panel_info.lcd.refx100 value.

The best option is the hw vsync OFF (it is remove the fps halve when the fps below 60) and sw vsync ON with a 60 fps value. If you give higher value, or remove the sw vsync, you can get higher benchamerk values, but the real fps will be always 60 (due the hardware), and the battery consumption will be higher.

EDIT: @mayurcools: yes, the triple buffering is possible. :) Basically the binary part of the kernel is independent from the used rom. :) Just need to syncronize the kernel level drivers and the userspace drivers and a kernel can work with any rom. (tha ramdisk is the other side, this is always depends from the used rom)
[XPERIA X8 Original Android Development] adek89:
For ginger sony is kernel v9c-cm7 no faps cap?
[XPERIA X8 Original Android Development] L_S:
Yes, and flash libsensors :)
[XPERIA X8 Original Android Development] mayurcools:
thank you very much for that info.

then tripple buffering will solve problem of halving the frame rate. also it will not have load on our cpu, it can be designed in our gpu as adreno 200 has programmable pipeline.

correct me if i am wrong.

also has any1 tried using HW_Vsync ON and SW_Vsync OFF?. does our stock kernel has it?

i would like to try it for checking if it gets to 15fps and has significant lag.
[XPERIA X8 Original Android Development] pilu1978:
Theoretically the triple buffering can be a solution for the screen tearing (the multi buffering is a recently used method to solve it). With hw sync on the sw sync status is not important, in this situation the fps always controlled by the hw sync. But I'm NOT 100% sure. :) (I'm a developer in the real world, but only a beginner in android software and the arm based hardwares)
[XPERIA X8 Original Android Development] hk_aquarius:
both version fps cap or no cap of v9c for cm7 work good for me except both do not support off-phone charging. when i turn off the phone and plug in the power cable, the phone will start then. this is only for me, or somebody has same issue?

:laugh:
[XPERIA X8 Original Android Development] playjun:
i confirm also not working on alfs 9c_no_fps_cap .:confused:

i tried also the airplane mode,not working.

anyways thanks again devs:cowboy:
[XPERIA X8 Original Android Development] DoccX8:
what different is with fps and with no fps?
[XPERIA X8 Original Android Development] mayurcools:
please scroll few pages back you will get to know.

press thanks if helped
[XPERIA X8 Original Android Development] achill3r:
Hi guys and devs.

Firstly, let me to thank devs for the amazing work.

Anyway, I'm on GDX-v29 and I'm trying in these days new Alfsv09c: that's stable, but I've encountered some issues:

1) sometime, my screen goes black and the phone does not respond at all. I have to remove battery and then phone restart itself;

2) I don't know why, but if data is on and I plug the usb-cable, phone reboots itself.

I'm using smartassV2 at 691MHZ.
[XPERIA X8 Original Android Development] GaBOr1:
Hi everyone.

I'd like to ask where the repository of the newest versions is, as https://github.com/alfsamsung seems to be outdated. I've tried to look it up without luck. I don't know if it is somewhere else or the authors are not going to update it anymore.

I'd like to compile it with a different CMDLINE for personal usage only. More precisely, I want to add "mtdparts" parameter to customize partitions and obtain a lot of free space.

Thanks in advance.

EDIT (24/dec/2012): now that I take a deeper look into the repository, I supose semc-kernel-msm7x27-ics is the repository for the latest versions in its branch test, and latest changes (version v9c and so on) has been made to Ramdisk repository. Just correct me if I'm wrong...
[XPERIA X8 Original Android Development] vientito:
for GDX v29

I guess the kernel we needed is alf-cm7 but do we still need kernel add-ons

update-adreno_libs-AlfsKernel-ICSv2 for that?
[XPERIA X8 Original Android Development] Hummer951:
No add-ons, just flash the LibSensors patch for MiniCM-7 after you flash GDX v29
[XPERIA X8 Original Android Development] smiechowy:
i'm lost :eek:, what version should i use with GingerDX v29?
[XPERIA X8 Original Android Development] playjun:
you can use alfs-8a_cm7 or 9c_cm7

minimum edition
[XPERIA X8 Original Android Development] Sunshiny:
Missing offline battery charger :)
[XPERIA X8 Original Android Development] fjw0803:
Just for sure, after flash libSensors patch, does i flash this Add-on too?

*thats instruction install GingerDX v29 for alfs 8a cm7,

its samething if i want to install kernel alfs 9c cm7??

-sorry for my bad english-
[XPERIA X8 Original Android Development] przemek4113:
@alfsamsung can you add deadline IO scheduler to the leatest 9c cm7 version.thanks
[XPERIA X8 Original Android Development] jucazastrow:
The best kernel and best rom: GingerDX with Alfs :beer:

Cool, really great work!
[XPERIA X8 Original Android Development] orangzeb:
This is the best kernel for GDX 0.29 , was using nAa 14 before but had some performance issues, thanks man but I'm using GingerDX29 and getting wifi error even though I install WLAN 9c version of Alfs ??? HELP.
[XPERIA X8 Original Android Development] Kumczak:
you need CM7 version for gdx29. you flashed wrong one and that's why you're getting wi-fi error.

remember to full-wipe after flashing kernel (before flashing the ROM). flash LibSensorPatch also :)

btw i just changed alfs to nAa. alfs kept rebooting my x8 when i overclocked more than 691 (here it still rebooted, but not so often). nAa is stable till now for me :).

cheers
[XPERIA X8 Original Android Development] orangzeb:
Thanks mate :)
[XPERIA X8 Original Android Development] atomrat:
My x8 on this kernel only reboots on 806 mhz on NAA14 it rebots on 760mhz

Wysyłane z mojego X8 za pomocą Tapatalk 2
[XPERIA X8 Original Android Development] Soniakos:
Can you make ICS/JB kernel ?

Kernel Alf's for ICS would be great!

Sorry for my bad english !
[XPERIA X8 Original Android Development] orangzeb:
LED notifications don't work with this kernel ? is this a bug ? using goSMS / missed calls.. it only blinks twice or so..
[XPERIA X8 Original Android Development] CtrlAltDelIrl:
They work fine on my setup. Must be your app or settings..
[XPERIA X8 Original Android Development] orangzeb:
Are you using GDX029 with Alfs 09 ?
[XPERIA X8 Original Android Development] CtrlAltDelIrl:
No, FroyoPro..
[XPERIA X8 Original Android Development] orangzeb:
Thanks for reply.. I think it's GDX bug then and I think the developers are gonna solve this issue in 030 :p
[XPERIA X8 Original Android Development] STALKER_88:
I use GDX V30 + Alfs V09c .Sometimes the screen doesnt turn on when i try to unlock the phone? only thing to do when that happen is to take out the battery. whats causing it and how do i fix it?
[XPERIA X8 Original Android Development] achill3r:
Same here... :eek:
[XPERIA X8 Original Android Development] blokva:
The same problem was on v29!

I don't removed battery but remember where are point on the screen for rebooting it and touch them for reboot.

So I can say that touch screen works good in ths case

now I have v30 for 4 days, but don't have this problem yet!
[XPERIA X8 Original Android Development] CaliburManiac:
i do use setcpu but it has just the same frequencies as in cm settings.
[XPERIA X8 Original Android Development] Dare-Devil Inside:
You can't do that for now. OC method in Alfs is different than dx module ;)

EDIT: 0 bugs for v3? :O nice work...

I'm thinking about flashing this, it would be my first kernel!
[XPERIA X8 Original Android Development] timpot07:
Bro, this thread is really fast. We post the bug then solved, another bug solved again and so on and so on. :D Thanks again. :D
[XPERIA X8 Original Android Development] CaliburManiac:
but why did sonmeone say that 690 MHz should be good for everyone if you can't even set it to that value?
[XPERIA X8 Original Android Development] timpot07:
Check few pages back, Alfs attached a kernel with DX's oc. You can try that, but I think its not stable as Z's OC..
[XPERIA X8 Original Android Development] dmcb123:
anyone else having problems with wifi? mine just automatically turns off after like 15 seconds?
[XPERIA X8 Original Android Development] rav3n_pl:
GDX FP update

GDX have same "troube", I used patch from http://xdaforums.com/showpost.php?p=19023270&postcount=5818
[XPERIA X8 Original Android Development] phoenix883:
WOW, so fast...thank you brother :D
[XPERIA X8 Original Android Development] Galon123:
i flash the v1 kernel then flash the vold update,and now i'll try to flash the v3 kernel,my question is,do i need to flash the vold update again with cwm?

sorry for my noob question,and great work sir,what a great kernel...

i wish that someday with 600 Mhz we will get as smooth as oc to 748 Mhz..:D:D

great kernel sir..:D
[XPERIA X8 Original Android Development] phoenix883:
noooo, u dont have to flash it again and u can already oc up 768MHZ :D
[XPERIA X8 Original Android Development] Graveir:
I am perfectly aware of that, however, my phone used to reboot at freqs higher than 760 MHz, but on the module I posted a reflink to it has been working steadily 800MHz, smartass v2 governor, for quite some time now ;)
[XPERIA X8 Original Android Development] whowho:
wifi tethering also cannot work, and make wifi restart error, need to reboot!:(
[XPERIA X8 Original Android Development] XperianPro:
My phone doesnt boot with this module!!!
[XPERIA X8 Original Android Development] lwkkazz:
i have a little question, when i install the kernel i should flash the loader and kernel or only the kernel? thanks
[XPERIA X8 Original Android Development] atothis:
flashtool will flash both loader and kernel, regardless of what you select :)
[XPERIA X8 Original Android Development] lwkkazz:
thanks man already hit the thanks button too:D. cya
[XPERIA X8 Original Android Development] ponanovn:
I think it is a bug in the app.
[XPERIA X8 Original Android Development] Galon123:
so i only have to flash the new kernel from previous one?don't need to go back to stock kernel first?:D

don't know why i can only take 748 MHz,768 MHz cause me reboot..:D

even in 748 i get reboot sometimes specially when the battery is low,like 15% remaining or less,so i take 748 MHz and make sure that i'll not run out of battery,for safety..:D
[XPERIA X8 Original Android Development] lwkkazz:
Yes, u have only to flash the kernel and follow the instructions. About the cpu clock i think that ur cpu don't support any freq above 748MHz, like my cpu.

cya!
[XPERIA X8 Original Android Development] FireMax_:
Mount USB storage don't work in CW Recovery?
[XPERIA X8 Original Android Development] Kumczak:
could you tell or show us where these 'reboot points' are? i'm encoutering these deep sleeps also and i'm curious how could i reboot the phone then without removing the battery :).

cheers
[XPERIA X8 Original Android Development] Metallimaniac:
Had some issues with 9c and GingerDX v30. Suddenly WiFi stops working. In fact, its still "connected" but does not browse, and it seems to affect data connection too.
[XPERIA X8 Original Android Development] ElmirBuljubasic:
R: [Kernel] Alfs for WLAN and CM7-by djnilse |v09c| 19-12-2012

I cant see the icons of apps after mooving to sd the app..how to fix?
[XPERIA X8 Original Android Development] ->Sid:
+1

Facing same problem.. also getting some app fc sometime randomly..
[XPERIA X8 Original Android Development] blokva:
I can't show, because it is inpossible to create screen-shot on reboot screen!

So the first point "Reboot" is on 17-18 mm from the bottom of screen. The second point "Ok" is on 17-18 mm from bottom and on 13-14 mm from left side if the screen/

For reboot on the black screen you have to:

1. Long push "On/Off" button up to short vibro.

2. Touch the screen on the first point

3. Touch the on the secon point an wait reboot.
[XPERIA X8 Original Android Development] Kumczak:
Oh, this is what you mean... For me when the black screen occures, the phone doesn't respond at all. No reaction to pushing on/off button, no reaction when someone calls me (caller has a signal, but after i finally restart the phone, i have no info that anyone has called)

So, basicly, in my case, the only thing i can do is to randomly press any buttons and w8 until the phone reboots itself (there is a short blink of a green LED and reboot) or i can only take the battery out and put it back to restart the phone.

Thanks for the info though ;).

Cheers :)
[XPERIA X8 Original Android Development] youthisbaka:
Alfs kernel v09c bug

There is a bug i found in this kernel
[XPERIA X8 Original Android Development] Mockingbird:
Screencut in kernel , lol , mine works perfectly.

*Yoo dude , i heard you like screencuts so I put a screencut in your kernel too* :p
[XPERIA X8 Original Android Development] iks8:
On my x8 I had only one screen cut but I reeboot my phone and now everything works fine.
[XPERIA X8 Original Android Development] youthisbaka:
Just really found this and capture up for developers improve. Doesn't mean anything. After I reboot the screen is fine.
[XPERIA X8 Original Android Development] Metallimaniac:
I had this sometimes when booting, but after boot I'll be ok.

______

I'm still having WiFi and Data issues, that I've previously mentioned. Also with 9c no fps cap . =(
[XPERIA X8 Original Android Development] alfsamsung:
The problem with waking up screen is new to me.I have never seen this.Is this only on GingerDx or only on Hitiatchi screens?

And please read [HOW-TO]Report Problem and Bug [Proper Way]
[XPERIA X8 Original Android Development] pilu1978:
@alfsamsung: the wake up bug exists in the stock kernel version of GDX too, so I don't think this is your failure. :) Lot of users use this kernel with FroyoPro (not saw this bug in the FroyoPro thread), I use this kernel with MiniCM7 in the last 9-10 months (various versions of the kernel and rom too) without any problem. And I'm on hitachi (what have more problems, but you know it ;))
[XPERIA X8 Original Android Development] youthisbaka:
im using gingerDX v30 and same thing what i did to fix it.
[XPERIA X8 Original Android Development] ->Sid:
Minicm7 works with alfs kernel.. or you have build you're own kernel from the source..
[XPERIA X8 Original Android Development] CtrlAltDelIrl:
You are right Pilu1978..

I use this kernel on FroyoPro (Hitachi Screen) and have never encountered this error..
[XPERIA X8 Original Android Development] pilu1978:
Thanks CtrlAltDelIrl. :)

In my opinion: two usable alternative exists, FroyoPro (maximum performance) and MiniCM7 (good balance between performance and compatibility), both rom working perfectly with this kernel, so alfsamsung made good work. ;)
[XPERIA X8 Original Android Development] Metallimaniac:
What? I'm confused. Same problem with WiFi or screen tearing?

If WiFi, reboot doesn't work. It keeps over and over again.
[XPERIA X8 Original Android Development] CtrlAltDelIrl:
Wouldn't that lead you to believe you've done something wrong?
[XPERIA X8 Original Android Development] pilu1978:
@Metallimaniac: try to explain your problems... You use correct version? If you use cm7 version with gdx<=28 or with froyopro (or wlan version with minicm based roms) the result will be a non working wifi, you MUST use the correct version.

If you have screen tearing, use the fps capped version. This "bug" is not a kernel failure (or adreno specific error), this is normal if the vsync turned off. This is exists with all gpu without vsync (on pc too). This can be decreased with multiple buffering, but the app need to support it (the most app not support it because the official android kernels is vsynced).
[XPERIA X8 Original Android Development] Metallimaniac:
Nope. Im at Alfs 9c and GingerDX v30.

According to the following steps:

Alfs v09c:

1. Flash the kernel

2. Flash the ROM

3. Flash the libsensor patch

4. Flash GAPPS

5. Reboot

I've done this over and over again a few times and problem persists.

Yes, like i previously mentioned, im at GingerDX v30 and Alfs9c for CM7. And the Wifi problem always come back, no matter i try to solve this. Even with 9c with no fps cap (i also tried a few days ago) The problem persists.

The description of the problem is: Wifi connects -> a few minutes or hours it just stop working (wifi is ON on settings, even in statusbar is connected) but it simply does not access the internet or my home network files. And this also affect 3G DATA (same problem it is "working", but i cannot browse the web")

Turning off wifi does not solve the problem, ive tried everything (including to forget all wifi pws) i must reboot the phone to get wifi working again, but at some point the wifi will eventually stop working.

And im pretty sure that this is an issue with Alfs 9c, since previous versions and other kernels i don't have this very annoying problem.

Hope i get some thoughts about this report.

Cheers!
[XPERIA X8 Original Android Development] pilu1978:
No idea. :( I had similar problem with the old version of sde rom, the wifi/3g connect but sometime the data transfer not worked while I not restart the phone. But it was the rom problem, not the kernel (the problem source was the dhcpcd binary what sometime stopped/damaged by unknow reason). I use a kernel what based on the alfs9c code (with the cm7 ramdisk) without any problem (I use minicm7 based rom, and the kernel/rom not contains any wifi/network related code changes).

So, I think this is a gdx problem (the gdx is a good rom but the latest version contains some strange bugs).
[XPERIA X8 Original Android Development] Hummer951:
Not sure if anyone has asked you this already, but do you have your Wifi sleep policy set to "never"?
[XPERIA X8 Original Android Development] CtrlAltDelIrl:
That couldn't affect data so it must be something else..

If he's sure ir's not the WLAN kernel I'd try flashing with another cable or even download the ftf again..
[XPERIA X8 Original Android Development] GEORG_X8:
@ Metali

Try download kernel and rom again with antivirus protection off
[XPERIA X8 Original Android Development] Metallimaniac:
Haha

I think this is one of the first settings that I change. =)

Tried to reflash with other cable. Same thing. =(

Also downloaded again.

I don't think this affect here. Cause I don't use any AntiVirus. =D
[XPERIA X8 Original Android Development] CtrlAltDelIrl:
I'd try flashing back to stock rom and kernel first then. This often solves issues..
[XPERIA X8 Original Android Development] Metallimaniac:
Just did this today and nothing happened. Haha

Guess I'll downgrade to some previous Alfs version.

Which one do you guys recommend to run with GingerDX v30?
[XPERIA X8 Original Android Development] blokva:
And WiFi tethering doesn't work!!!

The last combination Alfs 9c + GDX v29, WiFi tethering worked very good: easy connected, worked without disconnections...

---------- Post added at 05:04 PM ---------- Previous post was at 04:56 PM ----------

Could you explain what do you mean and where I can find this switch?