yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] akyp:
400 hours since last reboot, not charge. :) Still I reckon it's some new record for the P990. :)
[LG Optimus 2x] spica1234:
I already have introduced KSM(Kernel Samepage Merging) herident kernel feature in my ICS released kernels http://xdaforums.com/showpost.php?p=23948450&postcount=1. It's very usefull feature especially when the RAM is low. I've planning already to include it in SR4:)

Nice to see stability of 400 Hrs with SR3R2. I already did hard work to make it almost free from memory leak and stable:) That's why delayed SR3 release after so long because of my satisfaction and quality i keep in SR builds:)
[LG Optimus 2x] McGiverGim:
400 hours!!! I don't know what I've installed, but for me is impossible to stay more than 48/72 hours without rebooting because the ROM becames slow.
[LG Optimus 2x] Ferrum Master:
Actually I too. Maximum is 36h. But have to take in mind I am very heavy user - always online with sync/gps. Altough doing the same with WM7.5 Radar it holds 4 days... a bit painful and it is still smoother and faster despite 2x weaker hardware.
[LG Optimus 2x] akyp:
What I did (or rather did not) was not use wifi at all. For my device, most crashes were due to wifi refusing to switch on. Now the phone do feel sluggish, but livable. I suspect something is slowing down storage I/O as everything takes longer to load, but once loaded it's still very smooth.
[LG Optimus 2x] spica1234:
I guess with v20q wifi memory leak is fixed compare to older kernels, although not 100%. Anyways I will take a different approach for io slow down:)
[LG Optimus 2x] SammyC:
Hi, I'm using an older version of your kernel (About Phone says 2.6.32.9-HP_2X_Xtreme_RC11-R) and I have two problems with it.

Firstly, sometimes the phone locks up and then crashes when switching WiFi On/Off, and secondly I get quite bad stuttering when using WiFi on multiplayer games such as Minecraft PE.

Do the later versions of your kernel, that you know of, have similar issues? And do you know if CWM backups back up the kernel or is some other method best for backing up the kernel? Just so I can restore it if something goes wrong.

Many thanks.
[LG Optimus 2x] spica1234:
Yes newer version is much stable and no issues. Please upgrade to latest SR3R2:)
[LG Optimus 2x] spica1234:
General question. Anybody interested in LED notification implementation about missed events at kernel side. Then I will introduce it in SR4:)
[LG Optimus 2x] hakankarani:
Spica hi! Are you going to share a overclockable version of your pre sr4 kernel because watching flash videos too laggy at most conditions
[LG Optimus 2x] spica1234:
Yes ofcourse a like sr3r2, sr4 will be in 2 variants oc/no oc.
[LG Optimus 2x] hakankarani:
Thank you very much. :) can we get something like a pre version to flash now? I just need to flash something you know:)
[LG Optimus 2x] SammyC:
Tried the kernel and had many random lockups and reboots. This is with Thantos 5.1 so maybe not a supported ROM? Reverted back to older kernel for now.
[LG Optimus 2x] Thorbear:
sure, i've used programs for that earlier but abandoned them because of the battery drainage (perhaps this wouldn't be a problem if it's kernelbased?
[LG Optimus 2x] SuperSkill:
No thanks but if you do is it possible to make it OTF?? :)
[LG Optimus 2x] spica1234:
Yes, It's possible through OTF:)
[LG Optimus 2x] SuperSkill:
Then it's in my interest to:) there is an app for it, tried but not used permanently so OTF will be great bro :)
[LG Optimus 2x] tablighs:
Does anyone has this issue of wifi keep disconnecting and switch to 3g and back to wifi constantly sometimes? There isn't anything wrong with my wifi, if it switches to 3g data and I manually go to wifi setting it will automatically reconnect to my wifi router, but the connection will hold only for a minute and it switches back to 3g and a few minutes later to wifi and it will just keep looping. Any suggestions?
[LG Optimus 2x] Dac0908:
If it happens with screen off, it's normal behaviour because of wi-fi sleep settings. When screen goes off, so does wireless module. You can change it, and should because it's not a very good thing: http://www.androidcentral.com/android-101-save-battery-keeping-wifi-alive

Anyway, when DM 1.2.1 came out I flashed it again with SR3R2 and it's great. Not that I had problems with pre-SR4, but I always have a feeling that phone slows down when I flash kernels, don't know why. First few days after kernel flash are "weeeeeee it's fast" and after that... not so much. Reboot doesn't do much, dalvik wipe also. Now, a week or more after last flash and I don't notice that effect, and I'll just wait for an updated ROM. Maybe it's all in my head, anticipation bias or something like that? :confused:
[LG Optimus 2x] tablighs:
Nope, I always configure my wifi to be always on.. I will manually switch it off when I am outside.

Normally it is okay, like now my wifi is okay, but at times, it will keep switching between wifi & 3g constantly.. almost every minute. Even if the screen is on, and most annoyingly when I am using voip apps like viber, any sip provider etc. It will not keep a connection and I will lose the call everytime it tries to switch between wifi&3g vice versa. :(
[LG Optimus 2x] stevvie:
I am interested too. As I tried the programs and they seem to be just battery drainers for me.
[LG Optimus 2x] spica1234:
Have you tried changing bb/ril or reflash bro?
[LG Optimus 2x] spica1234:
Application will drain as it works on events/screen state/timer loop. While kernel on syscall which needs no special route and events. Yes its possible to include in revolutionary OTF pack:)
[LG Optimus 2x] Kenks:
that is a great new, spica :)
[LG Optimus 2x] spica1234:
Welcome so as per your same usage RC1 or RC2 has better battery life?
[LG Optimus 2x] Bir92:
yes...because with RC1 I lost more % during night !
[LG Optimus 2x] spica1234:
Ok thank you:) and performance wise which one is better?
[LG Optimus 2x] Bir92:
Im not 100 % sure but I think RC1 is smoother and apps opened faster!
[LG Optimus 2x] Deathmo:
I think RC1, feels a litle bit smoother and I get a higher bench with RC1
[LG Optimus 2x] spica1234:
Ok thank you:) thats what i did observ. Still i will try to look more in to battery drain. Atleast 10-15% lesser by odm driver modification , it will need time hope b4 sunday or at sunday:/
[LG Optimus 2x] spica1234:
Yeah thats what i did observ and decided to revert some of performance degrading drivers of su660 for RC3:)
[LG Optimus 2x] shpapy:
Spica, rc1 is snappie battery consumption is around 30ma on sleep mode with WiFi and bg sync on

Lete know if you want to know something else

Ure kernel is great and I really appreciate the work
[LG Optimus 2x] spica1234:
K n battery consumption with rc2?
[LG Optimus 2x] Bir92:
so it wont be a problem flashing back to RC1 with topos ROM 2.0 Sp ?
[LG Optimus 2x] shpapy:
I guess that no one can actually say something about it since the kernel is super new battery calibration isneeded

According to my tests I gained 20ma after battery calibration (tested in the same hours, while I sleep) the battery monitor recorded the stats
[LG Optimus 2x] spica1234:
Yep no problem at all:)
[LG Optimus 2x] spica1234:
Ok thank you:)
[LG Optimus 2x] Bir92:
Ok,thank you !

I think I will go back and wait until you release RC3 and than try again...but good work so far with RC1 ...really good Kernel!
[LG Optimus 2x] lkhz:
RC2 Seems Good. Except issue with Voodoo :)
[LG Optimus 2x] Ximo F. Verde:
After calibrating i had 8%/h without using the phone but I confirmed with both Android's stats and Battery Monitor Widget that the phone would always stay awake even with screen off. Ive also had some trouble with 'media files scanning' never ending which caused a 'bad or damaged SDcard' (for the internal) when i tried to unmount n mount. Ive had this 2-3 times and solved by rebooting. After activating wifi right b4, Ive had some strong lagging happenin and got a 'wifi error' in the wifi conf page. When clicked wifi on-off the phone froze. Only during these few reboots i had a 17% drop in battery. Apart from that, only flashing the kernel even without OC, the change in speed is quite big and the phone definetely runs smoother. Restoring stock kernel, just thought i should mention was i saw.

EDIT: Tested w different SDcard and didnt have any issues with scanning after reboot.. Need to test some more (damn cheap sdcards!) Battery drain is still quite insane
[LG Optimus 2x] Deathmo:
And would you mind to disclose us which kernel version you used?

Rc1, or RC 2?
[LG Optimus 2x] Ximo F. Verde:
Oops sorry man, completely missed that. RC2 on stock v20e with AUG 2 725BB. Had issues with RC1 too, mainly reboots, which haven noticed yet on RC2 (except that one freeze)
[LG Optimus 2x] Deathmo:
Hm, on Topogigis v2.0 both kernels run great, but on RC1 the battery drain is less and I think its quit a litle snapier.

But I had no problems with both kernels.

Mabey its because you use the original v20e leak.

Cause its not optimized and far away from beeing perfect.

Try topogigis, you want be disapointed m8. :)

Togheter with this kernel it realy rocks.
[LG Optimus 2x] tablighs:
I have not yet tried changing my bb as now im using 824 bb/ril. It the best for me so far as my cell data connection is very stable both on wcdma or gsm. I use 3g data alot mainly for whatsapp and surfing on xda. Any other recommended bb/ril? I will try to reflash when I have the time.

Currently using flix stock 20q + sr3r2 + ppv10 + 824 bb/ril.
[LG Optimus 2x] spica1234:
Try changing ril/reflash:)

V20c bb +ril:)
[LG Optimus 2x] punyategar:
Maybe the v20q, to match the rom's version. 20L is good.
[LG Optimus 2x] Skyfall007:
when will be released sr4? or which is the last test build? Thanks
[LG Optimus 2x] daimaah:
Those Dropbox download links in first post seem to be down.
[LG Optimus 2x] Shadow350z:
Hi, i confirm error 404 on dropbox link.
[LG Optimus 2x] spica1234:
Please someone who already have copy could upload it to mirror:)
[LG Optimus 2x] Shadow350z:
I found this mirror http://www.ukulelelovers.com/P990/SR3R/SR3R.htm by montresor60

It work for me version OC with compcache.
[LG Optimus 2x] SuperSkill:
Will do after sleep, which files are wanted?? Sr1, 2, 3 pre SR4, powerpacks?? I have complete since rc8 and almost all before :)
[LG Optimus 2x] SuperSkill:
Tried, same error from phone ;)

edit: this link worked, first page dont:)
[LG Optimus 2x] tablighs:
Flashed 20c bb + ril. No problems so far. Thanks. :)
[LG Optimus 2x] ryaneu:
sorry wrong post
[LG Optimus 2x] kruppin:
Sign up as developer on http://goo.im/home and host all your files there? It would be best for all to have everything in one place, and a mirror that won't disappear. :)
[LG Optimus 2x] Stefan Gündhör:
Why not just attaching kernels to the first posting? if you upload only one kernel or 2 at once and repeat this you can upload unlimited ones I believe
[LG Optimus 2x] montresor60:
Not sure if these are real 'final' versions. Probably not.
[LG Optimus 2x] SuperSkill:
I have as said almost all your files, i can share em at mefiafire,box or dropbox if wished :)
[LG Optimus 2x] spica1234:
Yes sure:)
[LG Optimus 2x] spica1234:
Okay!
[LG Optimus 2x] SuperSkill:
I will set up the share within some hours :) have some charitywork to finish first :D
[LG Optimus 2x] spica1234:
(+)HyperThreading - HyperTransport?

(+) L1 & L2 cache transport bridge?
[LG Optimus 2x] Ferrum Master:
Intel HT and AMD Hyper Transport bus? What is the connection?

L1 and L2 bridge? Such thing even exists it is a integrated part of CPU? CPU wise you mean the data bus interfaces between the north bridge/uncore? Well it is unique for each CPU/GPU etc creation. :D Ahh... remember the old 486 times setting write back write through, and thats it... now? :D

Hangover eh? :D
[LG Optimus 2x] spica1234:
Yes, you are right!

arm does support (soft base and in some cases hw base) Multi-Threading for dual core cpus(alike HTT and AMD's hypertransport). As of it process distrubited on 2-4 thread instead default one. OS/App sees 1 cpu /GPU as 2-4 threads aka 2-4 cpus. And distributes proceeses on multi level threads results in much lower realtime processing latencies and hightens multi-tasking. We must let know GCC Toolchain to unroll and distributes it to multiple threading. And Cortex-A9 's SMP is powerful enough to handle it.

And yes our cortex-a9 has L1 & L2 cache supports but we've to make aware GCC Toolchain about L1 & L2 caches line size ,bridging means transporting L1(fastest) cache to slight slower L2 cache. This throughput can be optimized

Cortex-A9 manual is very helpful to know more and to understand more about HW

Working on it:)

My latest ICS Kernel has been made on these factors. Now needing to settle it on GB kernel:)

I hate narcotics and I hate getting high :p
[LG Optimus 2x] Ferrum Master:
Spicaa... AMD never had hyphertreading like anything only Intel did introduce them in Northwood... Hypertransport revolutionary bus, it is a different thing, it is like Quickpath, EV6, AGTL+, DMI etc :D Soo thats a bit different story. Yeah the new Bulldozer some will say... you mean the FailDozer :D, older K10.5 that are mere tweaked K8 still performs better.

The second thing. In CPU main part is the so called scheduler, during older days, Intel introduced in Pentium III Tualatin lineup a new thing - branch predictor, that worked like mess :D. Then Intel released netburst with Rapid Execution Engine, that also sucked big time :D. And dumped it and returned where they have left with PIII after being quite badly spanked by AMD K8. But those things are integrated parts of CPU in the die. It cannot be programmed and added. If it is done SW mode, it will introduce lag.

So the whole point. Why it sucked big time? I've lived many years with Dual CPU machines starting from Pentium Pro, 440GX with DUAL P3, then 760MP with Dual Athlons, then nforce professionals with dual Opterons etc

When did really any OS started to use two threads? If the app, program isn't compiled to use two CPU's then it will introduce slowdown, as it is seen even now in many applications on big PC's. HT disabling actually increases performance, and this e-peen thread boost is only seen in benchmarks and synthetics.

Sooo... the cache behavior stuff? I seems quite basic stuff... We have RAM speed bottleneck, cache won't help a bit, our Tegra is simply one legged clumsy giant.
[LG Optimus 2x] spica1234:
Oh sorry, Intel not AMD writing mistake. But recent GCC has introdcued optimizations for multi-thread for armv7-a. Cortex-A9 does support multi-threading processing. like intel's hyperthreading.

and in my testing multi thread optimizations are indeed providing low latency processing in my essential test period especially with those CPU intence application and realtime sched processing.

I'm PMing you test build:p
[LG Optimus 2x] Stefan Gündhör:
So you are experimenting with the toolchain too? I'm thinking about switching back to the prebuilt one. Do you think the toolchain can also be responsible for higher power consumption? Before 1.6 kernel I always used a prebuilt one and everything was alright.
[LG Optimus 2x] spica1234:
Yes ofcourse i was about to tell you the same. In my experiences GCC-46 / above I've not only had power consumption issue but also instablilty/random reboots/bsods/freeze etc. So since Sr3R2 i've switched to GCC-4.5 which seems best. GCC-4.6 / above optimizes the code too much and in our cases it results in non "0" return value codes resulting in kernel panic etc. It's my personal experience with GCC Toolchains. After switching to 4.5 i can see no unpredictable behavious of kernel plus it doesnt degrade performance aswell. And Linaro still respects good old 4.5 still they update it along with 4.6.

http://www.linaro.org/downloads/1203 you can see it here in toolchain section of gcc-linaro that with every update of gcc-4.6 they do update gcc-4.5 aswell.
[LG Optimus 2x] Stefan Gündhör:
Okay that makes sense! for 1.6 kernel it is the first time I used latest toolchain sources as base and also did some modifications and then built it. Along with the modified schedulers and the CFS Boost no wonder it consumes more power during use then.

I also noticed one interesting thing: I can't build a bootable kernel with stock default setting of

#ifdef CONFIG_ALIGNMENT_TRAP
orr	r0, r0, #CR_A
#else
bic	r0, r0, #CR_A
#endif

-- I have to change it to

#ifdef CONFIG_ALIGNMENT_TRAP
bic	r0, r0, #CR_A
#else
orr	r0, r0, #CR_A
#endif

instead. In both files "arch/arm/kernel/head-nommu.S" and "arch/arm/kernel/head.S"

This will enable "CPU Alignment". I can't get the kernel bootable without doing this. But in exchange I only need to remove "-Werror" of WIFI Makefile (and maybe enable ext4 in defconfig) and that's it, I can build a bootable stock kernel without making any modifications to kernel Makefile or the star_ifx_defconfig.

Any idea on this? It's just strange somehow :D
[LG Optimus 2x] spica1234:
Yes ,plus CFS" BOOST first in the beginning works faster but after hours it becomes too slow because of kept alive left processes with highest priority to avoid oom killing. custom toolchain can be used try making one with gcc-4.5. you wont notice any performance drop but more stability you will notice.

Although GCC-4.7 is not as bad as 4.6 its somewhat good and gcc bugs fixed. I built my ICS kernel zImage with GCC-4.7 and modules with GCC-4.5 to avoid module-wifi related random reboots

just use this command arm-linux-gnueabi-gcc-4.5 -v and arm-linux-gnueabi-gcc-4.7 -v and you can see default options its compiled with

may be crosstool ng 's same ple file of arm-linux-gnueabi has target mismatched mmu flags
[LG Optimus 2x] Stefan Gündhör:
okay I will try! I really have to find out why I can't build a bootable kernel without that CPU alignment thing enabled.

Also before 1.6 kernel I built my kernels with the android-toolchain 4.6 for Gingerbread. It worked well for me, never had Freezes.
[LG Optimus 2x] spica1234:
Test build8 presr4: (no oc)!!

(+)Full multi-thread optimizations

(+)Graphic realtime optimizations

(+)Make L1 cache(fastest) to store most recent cache, and move older cache to L2. cache(slight slower but faster than RAM) watchout for UI and graphic rendering

(+) Using my own modified lowmemorykiller from my older device I-5700. It shocks up more recent memory footprints and kills only child process,. keeping parent alive for smoother app response. although keeping free ram amount same . And optimizes heavy multi-tasking abilities

(+) you may face FC because I forgot to Disable_sync

(+) PMU not optimized, so battery life will be default

D-o-w-n-l-o-a-d:

http://db.tt/DLJN6vnU
[LG Optimus 2x] spica1234:
Please test multi-thread optimizations and report feedbacks about application opening and realtime processing even after hours and/or days
[LG Optimus 2x] baltac:
Is there some kind of test that we could do, to see the effect at a glance? At the moment the first thing I notice is that I have any serious lag, as happened before in certain situations (eg. unresponsive lockscreen for a couple of seconds on wakeup). Even keeping several applications open, I have a better responsiveness than before and on average, more free memory.
[LG Optimus 2x] spica1234:
You can notice in multi tasking and overall smoothness:)
[LG Optimus 2x] SuperSkill:
Here are my mediafire folders for Spicas Kernel and PowerPacks:

Kernels:

http://www.mediafire.com/?3c2xumlk0k2im

PowerPacks:

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

Please let me know if there are problems :)

It is almost complete, only a couple files missing since first release :D

If anyone have the missing files please pm me to send them via email and I can share them too.

Spica:) if Ive misunderstood that I could share let me know so I can correct it :D

Enjoy:)

Edit: I will probably change names to get the files in right sorted order :) no time right now:)
[LG Optimus 2x] spica1234:
Thank you bro for uploading my ancient collections:)

Yes ofcourse you could share.

Btw tried tb8?
[LG Optimus 2x] SuperSkill:
Oooo yes, using it :D right now much flashing new public aroma from Carburano, somehow I no longer get asop lockscreen to work :) I hope to get my hands on the missing pieces of your work to share and most of all complete collection :D
[LG Optimus 2x] spica1234:
Welcome bro. and thanks once again for keeping my old work. I even dint have it;)
[LG Optimus 2x] vpaulve:
I have installed last kernel. After 12 hours I have a freezed screen with Dolphin Browser HD (last version). I had pulled battery and start again.

Enviado desde mi LG-P990 usando Tapatalk
[LG Optimus 2x] spica1234:
Thank you for reporting:)
[LG Optimus 2x] vpaulve:
Now, I have another frezze screen changing windows into Go Launcher EX. I get back to PreSR4.

Enviado desde mi LG-P990 usando Tapatalk
[LG Optimus 2x] parthabhatta:
Spica - Can you attach the links to first post? Otherwise we will loose track in this fast moving thread. Thanked SuperSkill
[LG Optimus 2x] Thorbear:
isn't it possible to collect all kernel files from us users and make a "spica library" for easy access on the xda file server?
[LG Optimus 2x] spica1234:
Yes i will do it first asap i get pc access:)
[LG Optimus 2x] spica1234:
Yes its also possible:)
[LG Optimus 2x] spica1234:
I got it already whats causing it. It will be fixed:)
[LG Optimus 2x] SuperSkill:
If someone have them in interested and will share for sure :D
[LG Optimus 2x] baltac:
Just for feedback... After 24H of continous use without any problem I've found the phone Off with 82% of battery charge remaining. Don't know why is happened. Just 5 minutes before I was listening an ebook in my car, with MoonReader Pro using the TTS Loquendo engine installed in the device, and the audio sent to car radio over bluetooth connection. I don't know if it can be an issue related to this last action. After I've powered on the phone normally without need to pull off the battery.
[LG Optimus 2x] Ferrum Master:
Bluetooth stack from LG is crap, it is not kernel related, playing with bluetooth can cause problems with any rom, altough CM has proven to be more stable. What can you expect, Bluetooth stack is M$ property ain't it? :D

Report for spica. Nothing, I mean it, same performance, no major miracles or flaws. I still prefer old fashioned OC, that really gives some hp, especially when browsing.
[LG Optimus 2x] spica1234:
Yes oc version will be there, thanks for testing:)
[LG Optimus 2x] stevvie:
Been using using test8preSR4 since release, and not one lockup. Had a weird battery issue where it showed 80% but the phone died through flat battery about 30minutes later.
[LG Optimus 2x] Marsou77:
I second that... I have pull battery, insert another SIM and my phone showed me 7% well I had 50% before... Very stange
[LG Optimus 2x] Ferrum Master:
Spica said it uses stock battery drivee, altough that memory killer might kill bme and there for indication is wrong. What output you got by typing *#*#4636#*#*, voltage I mean. It all frozen then it could be even dangerous due to overheating. Just had a freeze too.
[LG Optimus 2x] spica1234:
I got it whats causing it. Temperature control works but not fuel gauge:)
[LG Optimus 2x] Skyfall007:
new testbuild?
[LG Optimus 2x] spica1234:
Yes soon:)
[LG Optimus 2x] Flix123:
Maybe also one based on V10e sources, too?:)
[LG Optimus 2x] spica1234:
Yes Flix you are getting in an hour
[LG Optimus 2x] Flix123:
You're great spica!:)
[LG Optimus 2x] spica1234:
I reserved almost 80% static L1 cache for smoother scrolling. Only 20% L1 cache will frequently move pages to L2 cache. I cant reserve more than this otherwise L1 will get almost full and L2 will remain almost blank:/

It has one major side effect, you will get above-average FPS( Atleast +5 to10 ) in 2D & 3D and games etc all related to FPS is more fluid:(. It will be noticable not only in games but also in benchmarks aswell:p

2D score in Antutu is hitting almost 600 @ 1ghz. And 3D more also.
[LG Optimus 2x] Ferrum Master:
My phone just went haywire.., all aps FC... rebooting clearing caches...
[LG Optimus 2x] spica1234:
Yes it has fsync disable as i mentioned. It will be fixed :)
[LG Optimus 2x] Stefan Gündhör:
Sure it is the fsync? SR3R2 has fsync disabled as well and there aren't FC problems or are there? :confused: