yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] ehmjay:
could it be a ram leak issue? it was present in ironkernels for cm7 back in the days..
[LG Optimus 2x] KillerbeeNL:
Try the test1 version to see if the problem comes back.
[LG Optimus 2x] sugardad:
I'm an alien on this Device as It's my brothers and I only use It to tweak It...

I have some Questions If you care to elaborate please..

I have tried each and every Kernel Since 1.2.x and Frankly I saw no difference In consumption.

Here's the Story so far...

My Brother buys a O2x he finds It a bit slow because of the bloatware and I customize him a rom that Is Official based..

Right Now he's on a V20q Deodexed-Zipaligned ROM consisting of

Flix123 tweak Pack2 as to remove Fast Dormancy

I have tweaked ROM & removed all extra bloatware of LG

I have Incorporated some of my init.d scripts and Build.prop tweaks

all these in a Flashable ROM .zip of merely 125MB full of LG goodness

Problems

1. High(?) Consumption around 700mV (216MHz)

2. High CPU Usage when touching screen (CPU Spikes up to 1GHz trigerring also 2nd CPU to 1GHz and also consumption)

I have completely removed all my startup init.d scripts (that always played good with this Kernel) and still we face the same Problems

1. High(?) Consumption around 700mV (216MHz)

2. High CPU Usage when touching screen (CPU Spikes up to 1GHz trigerring also 2nd CPU to 1GHz and also consumption)

On a usual complete Device setup my Bro device has around 220 apps Installed & around 200MB free app space and still device is going like hell after the long time to boot (that's ok because of the high number of Installed apps and the Zipalign script (runs when needed, part of my scripts) on every boot)!

I have tried many Roms (If not all) with the same results I mentioned above

(Yesterday I flashed 3 Roms with guestekrnl as to see consumption results)..

Now, should I NVFlash the damn brick as to teach It a lesson to play nice

or just plug it straight to 220V 50Hz :D

This kernel is by FAR the smoothest and stablest that plays v.good along with many tweaks.

But the Consumption and CPU Spiking on THIS particular Device is driving me nuts, Is it ok?

Am I missing something here?

For your convenience I'm Including Screenshots and my Build.prop (just In case I'm enabling some exotic setting that Interferes..)

my init.d scripts are completely disabled/removed and only default kernel scripts are present.

and also there are no Installed apps except from Go Launcher and Fmr...
[LG Optimus 2x] abwyatt:
1. This is normal. Default for kernel is 755mV @ 216MHz

2. This looks strange. Touching the screen does not cause any spikes on my unit. 2nd core stays off.

Have no idea what might be the cause. You seem to have tried everything I would have tried. Hope someone more knowledgeable can help you.
[LG Optimus 2x] sugardad:
Yes Indeed my friend, I have tried everything I have think of

I have tried Django Manouche 1.2 ICS themed

Homero-Mod 3d

etc etc

Still when I touch the Panel the CPU0 Spikes and after the preset time threshold CPU1 fires up and follows up-to-speed the trails of It's counterpart CPU0 ...
[LG Optimus 2x] McGiverGim:
I've tested too with my terminal and touching the panel doesn't make any spike in the cpu... but if I slide it, and the screen moves to another panel... then yes, the cpu spike to 100%. But I need to slide to another panel.

Regards!
[LG Optimus 2x] ehmjay:
i think i found a bug in test2 version.. i can't connect to my university's wifi connection anymore.. with 1.6.1 it was working well.. ;(
[LG Optimus 2x] sugardad:
Yes, this also happens to me

Sliding always 100% utilization 1GHz

When Unlocking briefly 100% utilization 1GHz

Pressing and Holding Home When It shows the Task Manager Spikes to max, briefly 100% utilization 1GHz

Can you please also press the Volume button up till the "Beep" sound Is heard and see If It also spikes? (It spikes for me briefly 100% utilization 1GHz)

It seems we have some cpu utilization Issues....

and It's NOT the fault of this kernel...
[LG Optimus 2x] vpaulve:
I had that problem. I delete all spica folder,file of /data and then reboot. wifi worked then. I dont know if you installed spica's kernel before.

Enviado desde mi LG-P990 usando Tapatalk
[LG Optimus 2x] Stefan Gündhör:
I think there are also too many "unclean" ROMs out there with leftovers and tweaks of xx previous kernels.

For final 1.6.2 I will try to reset even more internal kernel stuff to stock kernel default (without affecting smoothnrss) to make sure the kernel works for most people.
[LG Optimus 2x] Ferrum Master:
This kernel is a battery cannibal. Drained from 100 to zero in 6 hours... nice work dragonborn :D!
[LG Optimus 2x] McGiverGim:
Yes, it spikes, but I think I don't know if this is not habitual with other phones...
[LG Optimus 2x] ehmjay:
nope i did not have spica's kernel installed.. im using stock v20q rom straight from lg repair center ( it's actually deodex so i kept it and just modified framework and systemui for theming) before installing test2, i had 1.6.1 installed and as i said, wifi with eap-tls protection worked well..
[LG Optimus 2x] sugardad:
@Ferrum

I'm afraid It's not THIS Kernel fault.....

Every Kernel does that (or at least maybe follows a certain predefined scheme).......

In fact the Platform It self does that but It has some twists... (read below)

I would be more afraid about the (NVidia/LG settings-drivers)

[1.] Button Press and Sound

When a sound is set as ring tone and as notification

If you go to OCtool and press the Volume UP button you will see that when "beep" sound is heard the CPU spikes up to 1GHz

This DOES NOT happen with the ATRIX (which I have)

Now If you disable sounds (select Silent for both ringtone and notification) and again

observe in OCtool the CPU, then you will notice that when you press volume up no sound is heard and thus no spike to 1GHz is generated

ATRIX is full of apathy when you press volume buttons and sound is played....

[2.] Scroll/Flick

Now If you scroll/flick the screen then the CPU0 spikes and CPU1 follows

I confirm this happens on both devices that share the same Internals

and to also add that

THIS specific kernel

DOES a way better job thanks also to the OCtool as to shut down the 2nd core faster than the ATRIX...

[3.] Lock/Unlock

When unlocking/locking the Screen O2x Spikes up to 1GHz

Atrix does not...

[4.] Home Button

When you Press and Hold the Home button until Task manager is shown O2x Spikes up to 1GHz

Atrix Does not...

So some tweaking needs to be done either on ROM side or In kernel side in timimgs(?)...

Keep up the AWESOME work, your Kernel Is a Tweakers Delight!
[LG Optimus 2x] TrymHansen:
Good morning everybody.

I feel i need to clear up a few things.

First of all, the mV reading on the system-monitor page does not measure actual consumption. It's just a dumb reading of mV fed to the CPU's. Actual consumption depends on how much work it is doing at the time. So do not use that figure for anything else than to check that it is within the parameters it should, and to check which "frequency and voltage-table" entry gets used for any particular max frequency.

Secondly, simply touching the screen and holding the finger still should not use significant CPU (albeit a tiny bit), so you should not see a spike then. However, sliding the screen back and forth is a lot of work for the CPUs! There are 480x800 pixels which need to be moved a lot of times per second, this will (and shall) trigger higher CPU-speeds. (Set it at max 216Mhz and then slide back and forth. It is simply not quick enough for smooth animation. Higher CPU-consumption when sliding screens means everything is working, not the other way around.)

The GuesteOC-app itself ALSO requires CPU, of course. The monitor-page uses two threads, one which reads the cpu-speeds and voltage, one which reads the rest. Due to the way android is built, refreshing the screen (drawing text and other things) is costly, CPU-wise. Everytime a simple text updates, there are a lot of layout-calculations done, which is why you see a little "jump" in the cpu-speed everytime the system-monitor panel updates. (The threads are disabled when leaving the screen.)

So to conclude: Dont't freak out, all of this is very normal.
[LG Optimus 2x] Stefan Gündhör:
OMG! I have already reset so many parts of the kernel to stock default. For final release I will reset every single kernel voltage and build flag to stock default and if some users then still experience such a radpid drain, I honestly don't believe this is only the kernel's fault anymore.

However hang on, I've decided to make the final 1.6.2 the purest custom stock kernel available. Not a single voltage tweak, no tweaked build flags, ...

OTF features will remain of course and smoothness should too.

So just stock + OTF + Swap/Zram/Compcache + Smoothness.

Also the final kernel will delete remains of other kernels just for the cause.
[LG Optimus 2x] sugardad:
Thanks Trym!

I was quite sure that the Consumption shown was not "actual" that's why i used a ?

Surely every program that runs and especially yours that keeps getting values and refresh It's readings needs memory, threads and some cycles as to perform and display properly the needed results, but If you read the above post I've made (before yours) you'll see that O2x is a bit "jumpy" and occasionally spikes, ATRIX exhibits the same issue when flicking/scrolling and that's normal because also of the higher ppi and resolution but in the other scenarios no spikes are generated for ATRIX whereas O2x is constantly on the edge..
[LG Optimus 2x] Ferrum Master:
@sugardad

No your are not correct. Your talking about different things.

I am not poking the phone after 10mins all the time. I have natural deep sleep problems, as I am in work, I don't care for my phone, I have plenty of others to take care of... it should deep sleep. And something prevents from it. I hear him whining - feed me.

And once for all I am still wondering people, how you are measuring the current. I am using Rohde&Schwarz bench power supply with dummy battery, it it should be. Have you ever in you life seen a development jig? Prototype? The are externally fed and measured. Nobody uses software numbers generated by os. They can be 1000%+ off the real value especially when that battery driver/energy management freezes or stutters!

Regarding spike issues. Trym is right. It is just a coincidence, actually it triggers more processes as you've imagined off, considering especially how non standard Tegra device is really.

---------- Post added at 04:44 PM ---------- Previous post was at 04:42 PM ----------

Don't you think is Toolchain problem again? You've said you've changed something in change log.
[LG Optimus 2x] abwyatt:
Hope it won't affect performance.

I think test 2 is just about perfect. Stable, smooth, and responsive. Everything just works. Standby power consumption is excellent. Heavy use power consumption is normal. My battery observations always based on graphs and battery history data from Battery Monitor Widget Pro.

No lag yet, but only have 10 hours of uptime since kernel release. Lets see how it is tomorrow.
[LG Optimus 2x] Stefan Gündhör:
Not really. Since the last few releases there are always a few people having enourmously high drain and a few having normal drain. Why does not everyone have such a high drain like you with latest testrelease for example? If it was a general bug everyone should have it
[LG Optimus 2x] cojo11:
so,here my Result for 1.6.2 v1

23h 35m

i used 21% batery ,79% left

around 40min telephon,10sms,and have all the time a look on the Phone

flash 3 themes

I have no Bugs!!!

I my eyes very good

Now i start with the new version:-)
[LG Optimus 2x] Ferrum Master:
One answer then -Carburano? :D

One question to all normal people... :D do you use wifi?
[LG Optimus 2x] sugardad:
Have you Enabled/Tweaked/Checked Normalized Sleep Settings?

(perhaps enabled any init.d script for It?)

Have you Played with Different Sleep States/Settings?

If It's Whining Spank It with NVFlash :p

You are 100% correct never ever used or tested a prototype, never ever programmed and/or compiled, never ever been on a workbench, do not know what a Qcom tool is and NEVER ever played with Tegra In my whole life...

FYI I didn't (only) use Trym tool to check speed spikes

I used MY TOOLS, because Trym's tool cannot run on ATRIX as to see O2x behavior vs a similar platform...

I rest my case and leave you be...
[LG Optimus 2x] sugardad:
This release Test-2 has little drain for me and Is near PERFECT
[LG Optimus 2x] Ferrum Master:
Oh those nasty samples... You do have looked inside of them :D What's missing? Have you found :p.

If you wish to compare Artrix vs O2X. No use... like two brothers from different mothers. Different proprietary drivers -supporting components like baseband and wifi etc different RAM chip... and damn bigger. So the compartment in my opinion is useless for reasoning.

The second thing, each of us has unique usage style of phone. Something that I do just triggers the usage. Maybe OC? Maybe Wifi? Or really Carburanos init.d tweaks. I've trusted to them as they had proven to be stable and cleaned out. I'll try to downgrade to Django 1.3 beta 1... unless Spica will release V14 out for testing :p.
[LG Optimus 2x] abwyatt:
Yes, I am always on WiFi at home. WiFi policy set to turn off when in standby. Try WiFi TX Power app from market to reduce WiFi power consumption.
[LG Optimus 2x] vpaulve:
Definitely , I have 200 MB 3G only.
[LG Optimus 2x] TrymHansen:
GuesteOC 2.1.0 BETA

Hi guys, here's a new GuesteOC BETA for 1.6.2 test-builds.

New in this version:

IO page, where you can set independent schedulers for internal and external storage, and the read_ahead_kb buffer size for each.

Support for disabling the second core on the CPU-page. The auto-limits checkmark has also been moved to the CPU-page, and the undervolting-button removed. (Undervolting will return in GuesteOC at a later date as a built-in page.)

The app works as is, but if you want the scheduler-settings restored at boot you need to modify the xyz-script to this:

#!/system/bin/sh

procdir="/proc/gueste"
guestedir="/data/gueste2"
ocdir="$guestedir/oc"

if [ ! -d $guestedir ]; then
mkdir $guestedir
fi

if [ ! -d $ocdir ]; then
mkdir $ocdir
fi

chmod 0755 /proc
chmod 0777 $procdir
chmod 0777 $procdir/*
chmod 0777 $ocdir
rm $ocdir/*.bak

cd $procdir
for f in *
do
cat $ocdir/$f >$procdir/$f
cat $procdir/$f >$ocdir/$f
chmod 777 $ocdir/$f
done

cat $ocdir/swappiness >/proc/sys/vm/swappiness
cat /proc/sys/vm/swappiness > $ocdir/swappiness

if [ -f $ocdir/block0_io_scheduler ]; then
cat $ocdir/block0_io_scheduler > /sys/block/mmcblk0/queue/scheduler
if [ -f $ocdir/block0_read_ahead ]; then
cat $ocdir/block0_read_ahead > /sys/block/mmcblk0/queue/read_ahead_kb
fi
fi

if [ -d /sys/block/mmcblk1 ]; then
if [ -f $ocdir/block1_io_scheduler ]; then
cat $ocdir/block1_io_scheduler > /sys/block/mmcblk1/queue/scheduler
if [ -f $ocdir/block1_read_ahead ]; then
cat $ocdir/block1_read_ahead > /sys/block/mmcblk1/queue/read_ahead_kb
fi
fi
fi

I'd appreciate if a few of you will bother to test if it works as it should for you, and if the layout on the CPU-page gets screwed up using other fonts and languages than I do (roboto). If it does, a screenshot would be helpful.
[LG Optimus 2x] carburano:
Very heavy use today with tb2 and i have 38% remaining and a fast and stable phone... 98 apps installed, facebook, twitter, gmail, whatsapp, skype, tapatalk realtime notifications in 3g... For me a really great battery life!

My init.d tweaks are not so aggressive... I avoid kernel hard tweaking because i know Stefan and Spica are masters

Sent from DjangoManouche!
[LG Optimus 2x] Stefan Gündhör:
Hi guys I finally found the solution/answer: the wireless driver of both Testbuild 1 and Testbuild 2 is bugged! So all people not using WLAN will have normal kernel experience and good battery, while the ones using WLAN, wireless tethering or USB tethering should in many cases have poor battery life and maybe random reboots too (like I had in my tests).

So this is the last thing preventing the kernel from being final, I will fix it soon and you can expect final release tomorrow I guess!

By the way thank ya all for your feedbacks, there have been some hints on wireless driver, that helped!
[LG Optimus 2x] ehmjay:
i knew it! haha! keep up the good work man! i will test the final build on my university's wifi again
[LG Optimus 2x] Stefan Gündhör:
Thanks man, your comment was very helpful indeed, made me check the wireless driver and tadaa random reboots on enabling tethering and so on -- definitely bugged. Glad I know the reason now before going nuts
[LG Optimus 2x] diaramja:
Do you recommend going back to 1.6.1?
[LG Optimus 2x] Stefan Gündhör:
Only if you have problems... final 1.6.2 will be out tomorrow so you could also wait. Test builds won't damage anything, just drain your battery in worst case or random reboot.
[LG Optimus 2x] abwyatt:
That is very strange. Have had no problem with WiFi or tethering here. It was one of the first things I checked because WiFi tethering is important for me.

I do use WiFi TX Power to reduce WiFi power from 32dBm to 11dBm so maybe that could account for why I don't see high power consumption on WiFi. In fact I can compare with 3G power usage and there is almost no difference.
[LG Optimus 2x] ehmjay:
no problem man! that's why we're here.. im happy to help in anyway i can to improve our phone.. im looking forward for the stable build tom!
[LG Optimus 2x] Stefan Gündhör:
Guys I'd need some advice concerning tomorrow's (today's) release: I'm planning to include a boot.img in the kernel ZIP so kernel should work with init.d on every ROM regardless of previous init.d support.

There is just one question I have (in fact I don't know because I always used ext4, in my ROMs too): Does an ext4-supporting boot.img work on ext3 ROMs too? So Let's say kernel ZIP flashes only the image and does not touch or convert file system, will it work on ext3 then?

I'm sure someone here knows :) Please tell me within the next 20 hours otherwise I might have to release a normal version without boot.img too.
[LG Optimus 2x] vpaulve:
With 1.6.2 test2, finally my battery drained after de 22 hours, excellent! No BSOD, no reboot, only a lag when I used cellphone to make a call: after press number of a contact, screen go black and then of 5 seconds just show screen calling. Weird.

Enviado desde mi LG-P990 usando Tapatalk
[LG Optimus 2x] louiscypherbr:
I have no idea, but you remembered me something: I prefer ext4 also, but in using v20q from flix. I don't like to flash pp10, and don't know other way to convert. Why not put a converter on kernel zip? Or, if not possible (or wanted), can someone point me a zip to convert partitions without formatting then?
[LG Optimus 2x] Marsou77:
Flash Gueste Kernel! :D

Sent 2X faster with my LG
[LG Optimus 2x] felixstars:
Hi,

Something strange happened, so basically yeasterday the battery was at 1% so I put the charger and left it about 9hours and this morning the phone and the battery were really (but really) hot so I immediately unplug the charger and removed the battery to let it cool.

The I put back the battery in and it works correclty....

I don't know what is the cause but it is the first time I get something like that.

The kernel I use is the 1.6.2 test 2

Regards
[LG Optimus 2x] gumiteve:
2 BSoD with 1.6.2-Test2 + GoodBye 1.1 between 9:00-11:30 (and battery drops to 80%)... revert back to 1.6.1-Test1 (this is the best for GoodBye 1.1 so far)

Just for the record :) I know this ROM is not recomended now...
[LG Optimus 2x] Stefan Gündhör:
BSOD or reboot? GoodBye ROM 1.1 is a bit sensitive concerning random reboots. I will compare the changes made in test1&test2.
[LG Optimus 2x] KillerbeeNL:
Again i have to report no problems with test1 kernel.

Still fluent and smooth and no bsod or reboots and no WiFi problems.

Django 1.1 ROM

Great work stefan
[LG Optimus 2x] sugardad:
EXT4 is backward compatible with EXT3-2

BUT

Will/Is your Boot.img able/knows how to mount each type (does it have some sensing and automatically select Ext3 or Ext4?)

AGAIN BUT (You will have to gamble..)

Does your ext4 partition makes use of the extents feature?

ext3 is partially forward compatible with ext4. That is, ext4 can be mounted as ext3 (using "ext3" as the filesystem type when mounting). However, if the ext4 partition uses

extents

(a major feature of ext4), then the ability to mount as ext3 is lost.

So..... (Just to avoid hassles)

You have to build a Boot.img specifically for every Version, One for Ext3 and One for Ext4
[LG Optimus 2x] louiscypherbr:
Thanks for your help but I think you have no idea what I'm talking about. Gueste kernel DO NOT convert any partition. I'm on 1.6.1 and still on ext3.
[LG Optimus 2x] louiscypherbr:
Or simple than this, put a converter on the zip script (commands are on pp10) and done!
[LG Optimus 2x] PAIIITET:
128MB is more than enough for the swap.

Here is my script to activate the 128 mb.
[LG Optimus 2x] shpapy:
Minor bug

See screenshot

Out of 21 hrz I see 20hrz of voice calls

Hehehe for sure its not true

Besides that al is good

The battery drainage is -8ma

Update : the issue disappeared after a charge
[LG Optimus 2x] wapz:
cheers mate.
[LG Optimus 2x] civato:
quick question, can you set governor using setcpu with this kernel?

Because at mine it is blanked out.
[LG Optimus 2x] Divyan:
Yes, on a Felxibomb R3, with a fresh flash, I could.
[LG Optimus 2x] civato:
I did , still not working

I used antutu now , I got only 2 governors available , performance and powersafe ? is that correct?
[LG Optimus 2x] shpapy:
Same here on stock
[LG Optimus 2x] shpapy:
Can anyone share the battery drainage?

It seems quite high here after two cycles

About 30ma
[LG Optimus 2x] SuperSkill:
I dropped this immediately when I noticed the huge drain, Stefan Gündhör is aware and I do believe he is working on it as he won't leave xda with a problematic shared kernel ;)

I've tried all the kernels and i find rc12 with the best batterylife :)

Sent from my DjangoManouche 0.8 HPrc12pp10 with Swish Theme using 218 bb 20 L ril :)
[LG Optimus 2x] tr0ner:
Thank you Stefan, finally a release which aims for stability instead of feature overkill, exactly what is much needed on the p990!
[LG Optimus 2x] KillerbeeNL:
love it because UC @ 916 and both cores are working
[LG Optimus 2x] victorpak:
It truly made my device more stable.

Since I flashed a custom ROM with a custom kernel comming from an original ROM I've had missed feelings. Don't get me wrong, I'm all in for custom ROMs, I used to flash my Kaiser once a week; but I like my phone stable.

With the previous kernel I was having a lot of problems doing simple tasks as playing a song without small interruptions.

I just listened to Abbey Road from start to end and I can't complain.

Now, lets just see if the random reboots that came along with the custom ROM goes away. I'll report back in a week.

Amazing work!
[LG Optimus 2x] indyroid:
Sometime back there was news of a Tegra 2 OTG Patch:

https://github.com/mingwandroid/ker...mmit/7cb37cd9b10e8d067f048b4a0b5f14ef245061f5

Stefan - can we test this patch with your kernel somehow?
[LG Optimus 2x] Stefan Gündhör:
That's true, drainage is still too high as reported by various users, I will try to lower it without affecting stability! Thank you all for the replies.
[LG Optimus 2x] Stefan Gündhör:
thanky for your reply! and the information :)
[LG Optimus 2x] Stefan Gündhör:
sure I will merge it!

Edit: the patched files don't exist in stock kernel (at least one of them) so this whole thing would have to be integrated, fear I don't have the time
[LG Optimus 2x] Stefan Gündhör:
also I removed all lines concerning spica's kernels from my first posting, as they seem to affect votings for the thread and these votings should reflect how you like/dislike the kernel and not how you dislike me or my statements :D