yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] spica1234:
Trym its appearing in milli secs only during activation of 2nd core. And we've no 1408 in cpu_info>max frequency and not in scaling_available_frequencies right?
[LG Optimus 2x] TrymHansen:
Correct, it only happens when activating the 2nd core, and only when not plugged in. In addition, we know that it runs at the maximum overclock for at least 100ms before ramping down to max-frequency (since the app only reads the speeds every 100ms but still picks it up every time.)
[LG Optimus 2x] spica1234:
Okay thank you for confirmation:) so cpu frequency driver first reads oc codes max frequency then original
[LG Optimus 2x] TrymHansen:
Not sure what you mean , but

TB12 has:

cpuinfo_max_freq: 1408000
scaling_available_frequencies: 1408000 1216000 1100000 1015000 800000 503000 389000 216000
frequency_voltage_table:
1408000 1250 1250
1216000 1150 1150
1100000 1070 1070
1015000 1025 1025
800000 910 910
503000 860 860
389000 810 810
216000 775 775

...all of which looks normal. Not sure what the question was though ;-)
[LG Optimus 2x] Ferrum Master:
Spica I would like you to ask about past day topic with Supercurio. Does this kernel also use software sound upsampling?

So far good. Installed all my apps and SD card is still present. The bad thing is that at previous kernel was the same, only randomly afterwards everything went haywire.

At fist sight this kernel seems to me a bit snappier. Maybe because I push it to the max 1.4Ghz as always I am used to :p.
[LG Optimus 2x] spica1234:
I already answered ago. May be you have not read it. Anyways its 16/44.1

Yes it has different ksm parameters for more snappier outcome:)
[LG Optimus 2x] Ferrum Master:
waht are the default turn on off frequencies for second core.

It seems pressing default/undo in each app(HP Tweak and Myrt) messes up the default value... :confused:
[LG Optimus 2x] TrymHansen:
Yeah, there is no easy to way to ask the kernels for the default setting, so the app-defaults are 20Q-defaults. 666mhz and 333mhz.

If you want the kernel-defaults back, delete the mincpu1on and maxcpu1off files from /data/spicabootcfg and reboot. However, these are not the same as the installed defaults. You can find those in the kernel installer package. (810000 and 860000 if I remember correctly)

EDIT: I was close. 816000 for "turn off" and 860000 for "turn on".
[LG Optimus 2x] stevvie:
Tb12 fixed both ip tables and cifs. Thanks. No problems here with sd card (samsung class10 32gig).
[LG Optimus 2x] spica1234:
Trym i guess in OC codes we dont need to follow frequency table as tegra governors also dont follow it. So i guess re-written OC codes will be the best idea by just declaring max and min frequencies instead of whole frequency table, which is not indeed followed by. Its better to re-write rather than a battery killer work around:)
[LG Optimus 2x] spica1234:
Please report battery usage. I have worked very hard for proper irq independent suspend and resume process with hotplug for maxium possible battery life:)
[LG Optimus 2x] Skyfall007:
still bad battery! you should return back to tb8 and fix only* syncing problem(freezes and cache problem)... i have never had a battery like on tb8! Thanks!
[LG Optimus 2x] SREEPRAJAY:
can you share or mirror tb8? too confusing for me now....:p

thanks mate
[LG Optimus 2x] TrymHansen:
I'm no kernel expert, but from what I've gathered by talking to Stefan, the only thing which actually uses the table is the voltage-scaling.

It does not 'scale' voltages between steps, as I first thought, it just picks a voltage where freq <= freq in frequency-voltage table.

(So if you have one step at 800Mhz-900mV, and the next step at 1000Mhz-1000mV, if you run at 800Mhz it uses 900mV, if you run 801Mhz it uses 1000mV).

If you can get around this, then yes, no need for any tables at all it seems.

(It is a good idea to rewrite this anyway, on OC-kernels it seems the steps below 1000Mhz are too few and far between, so a higher voltage will be used more of the time than on non-OC when running at exactly the same frequencies.)

So to conclude: I know nothing about this, but it sounds good. ;-)
[LG Optimus 2x] Skyfall007:
here it is: https://www.dropbox.com/sh/uqdymk8ul702vwn/ZAFl2sDY3b/8.zip

Welcome bro!
[LG Optimus 2x] Stefan Gündhör:
:) You can't just rewrite the OC code (or at least it won't make any improvement) as the frequency scaling is done by some component we can't change the source of and also the max. amount of scaling steps is fixed (has to do with bootloader or something).

You can only decrease the amount of scaling steps above 1 GHz and increase the one below for better battery. And fix 2nd core scaling bug of course.

Trym already mentioned it, during my research I found another reason for OC kernels consuming more power:

the kernel uses the voltage table exactly as it is, there are no other voltage steps used than the provided ones in the voltage table

this means let's say you have 900mV @ 900MHz and 1000mV @1000 Mhz ----> everything between 900Mhz and 1000Mhz will use the same voltage as 1000MHz

this also means the more steps above 1 GHz and the fewer steps below 1 GHz there are, the higher will be consumption BECAUSE higher voltages are used earlier

reason again: having example-steps 503-655-760 MHz will consume less power than with one step fewer, p.ex. 503-760, because everything above 503 MHz and below 760 MHz will use voltage of 760 Mhz

now this also explains the reason why max. safe voltage step is 100, because kernel really only uses the given voltage steps, and more than 100 could be too high for some in-between frequencies or the change just too big for hardware

(My kernel provides exporting of the current voltage and reading by GuesteOC tool, that's why I know how it really works.)

There is nothing wrong or to change in OC code, the code is fine, you can't change the fact that it will use the provided frequency table as it is :)

But the scaling bug is fixable, I fixed in latest testing release and this time it is no workaround like in 1.6, this time it is a real fix.
[LG Optimus 2x] spica1234:
Yes trym thats what i wanted to say this governor uses voltage scaling rather than frequency scaling for eg. Next frequency only idealizes for voltage stepping means for example any freq between > 216 to <384 uses voltage of 384. Steppings are ideal for voltage steppings as freq steppings for refrence.
[LG Optimus 2x] spica1234:
Thank you. Is it app dependent or independent?
[LG Optimus 2x] spica1234:
So robby tb8 has best battery amongst all rest of tbs?
[LG Optimus 2x] :
the build nr 8 was not bad... but..... for me the best baterry management it was under the build nr 10
[LG Optimus 2x] Stefan Gündhör:
No it has nothing to do with the app, just some frequencies in kernel where it usually takes the max possible frequency have to be changed to current cpu frequency, so second core will use current frequency when being enabled and not the max. possible one. I attempted to do this in 1.6 kernel too, but there I changed way too much and also partly wrong frequencies. Now I found the correct freqs to change.

I will upload my sources soon so you can merge the scaling bug fix if you want!
[LG Optimus 2x] Skyfall007:
yes!
[LG Optimus 2x] stevvie:
I have to agree. Tb10 and above drains the battery noticable faster than before
[LG Optimus 2x] stevvie:
now we wait with anticipation :)
[LG Optimus 2x] Flix123:
The changelog sounds great! Maybe you can beat Stefans 1.6.2 Test2.;)
[LG Optimus 2x] SuperSkill:
To me that's obvious, and Spica, you are a true friend, always looking at the bright side, never giving up making our device better and better and making it the best device on market even after a year :D I'm sorry I haven't been to active last 2 weeks, it's because I'm working on my theme which have some bugs to be solved. I've installed all your tb's and no freeze nor reboots with my new o2x. We all love your innovative work :D
[LG Optimus 2x] Skyfall007:
great news spica. you're the best!
[LG Optimus 2x] Bir92:
spica you are a true friend and dev.

i followed your work since rc1 beta with topogigi Rom and i truely and honestly respect your work an all the time you spend developing new amd even better kernels for our phone!

I m only a poor student thats why I cant donate to you but you should know that I really respect your work and time spending with our device!

i hope there are even more great dev like you out there who make special things in future who give their heart and soul in their work like you my friend!

ps: looking forward for sr4! =)
[LG Optimus 2x] Stefan Gündhör:
Nice changelog! But why stop working on stock kernel? You wanted to stop after SR3 and you continued, so why not continue again?

With current ROMs and current kernels stock ROM is the best available for O2X, better than CM7 or CM9. In my opinion.

Edit: Also it would be good having more people working on stock kernel simultanously. Less boring then and much more beneficial for the users :-)
[LG Optimus 2x] carburano:
I agree with you friend...

Every single day worked on P990 was with these wonderful people...

You always give me a reason to continue and to optimize DjangoManouche, but it seems these day are ending...

...

...

...Until ICS :)

Thanks SPICA
[LG Optimus 2x] spica1234:
No this is not comparision 1.6 test2 is very good i admit that. This is just remaining things to implementing from my side:)
[LG Optimus 2x] SREEPRAJAY:
Keep going Spica....I am sure it is needless to say that you have been one of the special people in this community....constantly striving for the best for our device.

I have been with you since RC1 and the famous and stable Topo ROM....I am proud that I am using a device which is much more stable and efficient than anyone can imagine when buying this.

It is not exaggeration if I say that if people have a love hate relation with someone....for sure they are a bit jealous that you are doing good....this is true with u too....this is a true measure to tell u that u have been so successfull that others cant digest....

keep going and I will be one of your followers....

CHEERS SPICA:)
[LG Optimus 2x] erups:
Running Carburano 1.2 + spica's SR3R.

I notice the background memory manager isn't aggressive enough for my taste.

My phone is often running with 310+ mb of ram occupied and this is noticeable as every click is delayed.

If i hit the "clear memory" button (using go task manager widget) the situation gets a lot better for a few seconds, then back to 300+ mb.

I remember with my last rom (which was Topos v2+sp3+another spica's kernel) the behaviour was different: the phone mantained more free memory, getting this clogged only after opening several big apps.

But it almost never got to showing 300+ mb occupied.

I mean that if I see such values, it's while the phone is idling on the desktop, so it's wasted memory.

Is there anything I can do to make the background cleaner a bit more aggressive?
[LG Optimus 2x] Penetrador:
And we thank you for the all your hard work,

in all this time to make the the perfect kernel so we all can use

Nice work bro

Regards
[LG Optimus 2x] spica1234:
HP PreSR4 Final TestBuild14:

Where was 13. It was delivered in PMs.

Changelogs( in simple language )

+ SR1 was the best stock kernel available for longest battery runtime

+ SR2 is still the smoothest stock kernel available

+ SR3/SR3-R was the very first fastest kernel with very minimum latency aka faster application opening

+ This test build is aimed for maxium possible SR1 compatible battery life, SR2 compatible smoothness and more lowest latency than SR3R providing maxium quicker application loading

+ amazing battery life

+ more optimized flags for stability, still not optimized for performance. It will be in SR4

+ mega smooth UI

+ faster processing

+ dynamic runtime memory management for efficient multi tasking and lagfree gaming

+ Very lower latency for max possible responsiveness

+ Still some changes described in earlier posts are pending and will be merged with SR4

D-O-W-N-L-O-A-D:

http://db.tt/6Dv8cbAC
[LG Optimus 2x] SREEPRAJAY:
Thanks Spica bhai....DJ 1.3 + HP SR4(pre-tb14) hopefully rocks like the previous ones....SR1 and SR2.....downloading right now....
[LG Optimus 2x] spica1234:
Welcome. Battery , battery and battery life. Allow one battery cycle atleast to notice massive battery life. Bb/ril recommended as always of v20c
[LG Optimus 2x] the1c3man:
Been running tb12, best kernal I've tried so far! Best speed/battery. Just flashing tb14, can't wait to try.

Thank you SO much Spica!
[LG Optimus 2x] kfallz:
OC codes integrated @ TB14 or only for final version? :)
[LG Optimus 2x] stevvie:
I have to say that tb14 seems VERY smooth and makes my initial sd card check very fast.

Thanks
[LG Optimus 2x] spica1234:
Its integrated in tb14:)
[LG Optimus 2x] SREEPRAJAY:
First after call bsod using tb14..pulled out battery....testing further..

But have to mention that amazing smoothness...great work
[LG Optimus 2x] spica1234:
Thank you. Thank you for providing feedbacks. It's helpful whether it's positive/negative feedback.

It'll be more responsive and smooth than SR3R2. Still It's not optimized for performance only for stability.

Battery Battery Battery!
[LG Optimus 2x] SREEPRAJAY:
One more after call bsod spica.one more battery pullout.I am on dj1.3 bb 313 and same ril.
[LG Optimus 2x] spica1234:
Please clear init.d folder. try v20c bb/ril.
[LG Optimus 2x] SREEPRAJAY:
Spica...sorry to have produced a googly....I am on BB 313....I think this is called the V20C...isnt it?

Thanks
[LG Optimus 2x] Stefan Gündhör:
by the way how is 313 for you? I never tried, still on v20L Italy BB + RIL
[LG Optimus 2x] SREEPRAJAY:
Stefan.....I love this BB infact...after Spica told me one day....I have this BB flashed and I feel it gives me good clarity and have no drops....

I am not sure how it might be for you in Europe...

Maybe it will be good....
[LG Optimus 2x] Ferrum Master:
303 is very good... I don't have mobile data problems after wifi disconnect, and GPS kicks in also normally. Voice is average, but I don't care about that much...

And yes... also had a BSOD... afterwards battery drained to zero...
[LG Optimus 2x] the1c3man:
i've had to go back to tb12, with tb14 my phone would slow down and when I checked myrt OTF the max CPU speed would be 400MHz!!! When I click the reset to default it speeds up again, but after 5 minutes would slow down again.

The other setting in myrt OTF would be changes as well when the phone goes slow, I've emptied the etc/init.d folder, wiped dalvik and then reflashed th14 but still same problem.
[LG Optimus 2x] baltac:
Any problem with frequencies or bsod here for now, but i think I need to try the TB14 for more time than 12 hours. ;) I noticed sometime in last days, just an unusual heavyer battery drain due to an intermittent phone-data signal when I'm not under wifi.

I think something was wrong with my BB/Ril even if until last week I'd no problem with it. I've seen that, only after flashing TB10 and above.
[LG Optimus 2x] spica1234:
Yes bsod fixed. Wait for tb15.

TB14 wasnt optimized for speed yet.

Now i will start optimizing for speed in first gear. Beware: you will notice speed! Stay calm and accepts reality;)

_:speed_:Dont be tensed, it's not crystal math:p

Its still low level optimization and in SR4. It will be heavily optimized at last gear.
[LG Optimus 2x] Bir92:
you are the man spica!!!
[LG Optimus 2x] SREEPRAJAY:
back from work .....waiting for testing....before going to sleep....SPICA....waiting waiting waiting:)

please dont take it as forcing you....just as anxiety nothing more
[LG Optimus 2x] bvhoesel:
Reporting another sod on tb14. Happened when I left home and was connected to the car's bluetooth phone connection. Had to pull the battery. Next I upped 25mV (all frequncies) with system tuner. That seemed to work (almost) so far. Unfortunately one bluetooth disconnect in the car on the way home. This seems to happen mostly on oc kernels. One of the first presr4 without oc does not exhibit this problem. Similar experiences on gueste kernel.

For the rest tb14 looks great and is very smooth. Hope it stays that way after a few days ;) .

@spica:

Please, for the 'final' could you also provide a none oc version.
[LG Optimus 2x] SuperSkill:
Actually I used to love those crystals a decade back :D for my new o2x tb runs fine, only thing I've felt is that sr3r2 was smoother, but the way I know you, sr4 will make someone loose their hair :p
[LG Optimus 2x] spica1234:
HP SR4 PREVIEW:

Before we jump to download. Lets know something interesting!

Q: What is kernel?

A. Kernel in Linux or Unix is core-hear of the Linux/Unix OS. It works at core level between HW and SW. More depth details can find at wikipedia.

Q: Does kernel play in important part in performance?

A. Yes

Q. How to tune kernel for maxium performance?

A. Have you ever wondered whats professional development and how professional optimization takes place?

Kernel codes(drivers,codes etc.) is written in C (Mother of all programming language) and Some codes as well in C++. Samsung kernel codes most parts are almost in C. While you will find nVidia kernel codes some places written in C++ as well.

We cant simply play with GCC optimization flags w/o understanding options and maturity of codes and types. Blindly playing with optimization will result in worse senario rather than better. In someways codes needs to redefined/rewrite for better optimization. Some optimization are for codes that are made in.loop like for while etc. There are different optimizations for FPU. Different for structures variables , pre processors, macro etc. Optimizing every type results in fully fastest and smoothest kernel.

I have made an attempt to tune SR4 preview by professional tunning as per the way codes are written.

The most same way professional programmer finally compiled their software etc.

TB14 was non optimized while this SR4 preview i have finished several optimizations and some are left which will be included in SR4.

Try it yourself. We never know whats exactly best untill we try something good than something better. SR3 was just better only
[LG Optimus 2x] spica1234:
PREVIEW SR4 PRE SR4 BUILD:

CHANGELOGS:

+extra smooth scrolling. Reminds of SR2? Yes!

+extra smooth ui interface

+lowest latency processing

+extra fast and efficient multi tasking.

+more robust memory leakage fixing

+fixed previously reported SOD

+Geared up with developers favourite ever green "-O3" cflags

+Completed loop unrolling optimizations for codes with 'while' 'for' etc faster execution

+Completed constants optimizations

+Completed Floating Point Optimizations

+Complited variable optimization

+Completed Structure Optimization

+More gentle low memory killer modification for smoothness

+Race condition of RCU in suspend stage corrected for more ROBUST powersaving

+Fixed OC scaling bug (Thanks to stefen, Although stefen hasnt yet released sources and nor i have used it but his work around sources helped me to fix it, he and trym deserved credit for bug discovery. Thanks to stefen's workaround, which did help to understand issue and help me resolve core issue, again thanking trym and stefen)

+Many implementation for suspending tegra components

+Longer longer longer battery life

+Still not fully sr4. 70% work has been finished.

Its sad,strange but a naked truth that I can claim it to be fastest,smoothest,quickest kernel with most efficious multi-tasking but i dont want to. Dont believe me, i want you guys to test and report, after install, after several hours, after extreme multi tasked usage ,after lag-free gaming test and wear and tear usage of battery

Thanks to konuruma for providing hosting

Download: (select hp sr4 preview file not tb15:) )

http://www.xdafileserver.nl/index.php?dir=LG/Optimus+2x+(P990)/ROMS/Horse+Power+2x+eXtreme
[LG Optimus 2x] spica1234:
Please report not only positive but negative feedbacks. It only helps.

May be i couldnt reply everyone. But My eyes are on feedbacks:)
[LG Optimus 2x] SuperSkill:
Everybody should have your attitude,you know what I mean ;) by the way file not found...
[LG Optimus 2x] SREEPRAJAY:
I hope Spica wont mind this.....wait for a few minutes/seconds....you will find it here

http://min.us/mdbvsuMqo

EDIT: you can download SR4 preview from here...uploaded

---------- Post added at 09:37 PM ---------- Previous post was at 09:35 PM ----------

please check the link I have posted....
[LG Optimus 2x] Thorbear:
and here's the link spica meant to post (i guess): http://www.xdafileserver.nl/index.php?dir=LG/Optimus+2x+(P990)/ROMS/Horse+Power+2x+eXtreme
[LG Optimus 2x] spica1234:
Link updated.

http://www.xdafileserver.nl/index.php?dir=LG/Optimus+2x+(P990)/ROMS/Horse+Power+2x+eXtreme
[LG Optimus 2x] spica1234:
I am on phone now. Anybody wants to mirror it can mirror ;)
[LG Optimus 2x] Ferrum Master:
For witch one you want? Currently I have only two P990 to play with...

Feedback for V15 or preSR4?
[LG Optimus 2x] SREEPRAJAY:
for pre-SR4....I have BSOD for tb15...:D
[LG Optimus 2x] Ferrum Master:
LOL understood...
[LG Optimus 2x] spica1234:
Hp presr4 preview. I guess i gotta delete tb15. Its confusing.

Download hp sr4 preview
[LG Optimus 2x] spica1234:
Presr4 previw

Presr4 preview. I gotta delete tb15 lol
[LG Optimus 2x] spica1234:
Deleted now. 12 and 15 both.
[LG Optimus 2x] parthabhatta:
Using Gueste 1.6.2 which is great on Homero Opti 1.4.0. Wanted to test your SR4. Can i flash straight over Gueste 1.6.2 or have to do some additional steps? Thanks to you Spica for great work.
[LG Optimus 2x] spica1234:
Welcome Bhai khali uske upar install kar do. Nothing else i guess you need to change. Are you on ext3/4?
[LG Optimus 2x] parthabhatta:
Dhannyavad. (Thanks). On ext3
[LG Optimus 2x] Ximo F. Verde:
Hold on..

Changed SDcard now awake seems much better (not 100% that is) it has dropped to 21%.. Im gonna be checKin on it some more but it seems that the cause of my trouble could have been that crappy SDcard.. Fingers crossed
[LG Optimus 2x] Deathmo:
Well, than good luck.
[LG Optimus 2x] Bir92:
hey spica

one general question...

do you recommend only charge the phone if 0 % or can I charge it right now (32%) because i need the phone for work/school tomorrow otherwise the battery will be 30 or less % tomorrow morning....?

thanks for any advice !
[LG Optimus 2x] shpapy:
I'm not spica but I did it when the phone was on 3% and seems to work fine after calibration although now I need to do it again since I re flashed
[LG Optimus 2x] spica1234:
You could do discharge anytime aftr calibration and b4 full charge. Dont full charge now. You could charge little now as per your requirement:)
[LG Optimus 2x] helldroid04:
i'm using topo 2.0+SP1 and RC1 as for my kernel.. sad to say but i'm experiencing high battery drain (20-70mA) looks like it's still running even if its on sleep mode :(

any suggestions?.. i'll try to re-calibrate my battery later (i also tried unsupercharging using v6)

T.T
[LG Optimus 2x] spica1234:
Have you tried without sp1
[LG Optimus 2x] helldroid04:
yup, same results.. actually i decided to install SP1 coz i thought it could fix the battery drain problem..

i'll try to drain my phone first then re-calibrate.. i'll send my feedback later ;)

no problems w/ your kernel except for my battery drain :(
[LG Optimus 2x] hwwr:
With topi 2.0, after 10 hours of idle, went to slp battery dropped from 100% to 80%. Perhaps is the calibration. Did nt calibrate battery.

W8ing forur gd news helldriod.

:)

Hoping battery will become batter after calibration.
[LG Optimus 2x] Platoon:
I have topo 2.0 (i froze ALL LG bloatware) and RC1 and i dont have problems with standby consumption. It always comes down to 5mA and that is all i need ;)

Good kernel!
[LG Optimus 2x] PAIIITET:
RC2:

1) voodoo don't work

2) battery temp. shows 0.0

EURO 10d stock
[LG Optimus 2x] salisbury_steak:
Exact same thing with Topo v2 rom.

----------

Sent from my Optimus 2X
[LG Optimus 2x] Basil 123:
voodoo doesnt work with RC2 and MCR Gr4. No biggie for me, it's amazing work Spica....

Baz
[LG Optimus 2x] spica1234:
Will be fixed with tomorrow's RC3:)