yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] orlox:
You are the man thanx!

By the way this kernel and stock gingerbread are the only two I don't get a bsod while charging
[LG Optimus 2x] yukkio:
I've those values too but with the last version my phone freezes if I use those values.

---------- Post added at 02:03 PM ---------- Previous post was at 01:53 PM ----------

Is there any way to fix FC after phone freeze? I have to restore a nandroid backup.
[LG Optimus 2x] ron_gangte:
Eyy.. Vadonka... thanks for the 0RAM Hack version.

I have a question though. Is there anything new in this version from the versions you posted a few pages back?

Thanks for your work, bro.
[LG Optimus 2x] vadonka:
yes, updated with the dec31 SetiroN commits.
[LG Optimus 2x] xtrustkillx:
Could you make non swap version too please? :)
[LG Optimus 2x] vadonka:
if you dont want the swap, you can turned out :)

by the way i recommended using the zram device instead of block device based swap.

the zram device can be take a part of the system memory and stored compressed data in there. this is much more faster than the block device swap. it is cost only a small cpu power.

the other advantage of the zram that, this compressed storage working dynamic. zram device have a few parameters what can be changeable and some other what can provide information about the device

the orig_data_size and the compr_data_size determine the amount of the memory use

example:

orig_data_size: 1420 Kbyte

compr_data_size: 364 Kbyte

mem_used_total: 396 Kbyte

so the compression ratio is ~25%

you can have 1.4MB RAM and it cost 396Kb and a little cpu power. however the configured zram size is 100MB, using only the amount what is needed.

if zram using it heavy the compression ratio is 50%

so using a 300MB ram give you 600MB usefull compressed memory and its not using any block device and working much more faster even with the increased cpu load.

with ramhack32 you have ~400MB base memory

using 600m zram device using ~300m ram leave 100m for the normal memory allocation give you ~700MB usefull ram.

its more than enough for everything :)

however using a bigger zram device like the total system memory 25-30% is a battery killer thing, so if you want a powerfull device for a short time so just do it :)

i recommended that allocate ~50MB ram to zram device, it can be a 100m zram device and give you swapped memory just in case. ist enough for the daily basis and not eat the battery.

cyanogenmod compcache settings probably will handle the compcache, however this is not working for me (i dont know why, but i turned on the compcache in the settings and not working), so im using my own init script for this (i can set any size for the zram what i need)

the kernel have two option for this:

support for paging of anonymous memory (swap)

this can be handle the swap memory (if you have a swap partition or a image file. booth using block device)

the other is:

compressed RAM block device support

this is the zram, its emulate a block device using the system memory, its like the old dos based ramdrive :)

the swap support needed for that using this ram block device as a swap device.

sorry for my bad english, but i hope i can help :)
[LG Optimus 2x] koboltzz:
So, what script must be edited in what way?

vadonka, why not open a new thread with your hybrid kernel?
[LG Optimus 2x] Craxx:
Hy vadonka,

Since i have a new baby the motorola xoom i was not here some days....and uiuiui really a lot things about kernels..... At the moment i use on my lg 2x cm7-204 with swift powersavekernel and your modified ram script and i am happy with that. My phone is without oc very smoothie and fine. But now i want to upgrade my phone. First i update with kang 24 and after which kernel and which config is the best for powersaving on your opinion. Please give me some advice:-)

Thx a lot:-)

Craxx;)

Send from my MZ601 with Tapatalk :)
[LG Optimus 2x] vadonka:
check my signature
[LG Optimus 2x] SetiroN:
Ahem... you do realize that basically all you're doing is:

- increasing the 2nd core activation threshold to 912MHz - which doesn't really seem to bring power consumption down all that much (it's kind of nonsense to use the same ON_MIN and OFF_MAX value btw)

- slightly lowering screen brightness (yeah that's just it - you lower a led's voltage, it gets dimmer, exactly the same as lowering brighness from the OS), which makes it buggy... as it causes the backlight to stay dim every once in a while, requiring to switch it off/on

- changing some internal voltages that don't really reflect on battery life and cause call bsod

while losing all my scripts and external optimizations in the process... right? :)

Also, that "L1" version uses voltages that are not supported, so it's uncertain what is actually being applied...

Anyway, new version:

updated BFQ to v2r1

added fudgeswap (although it seems to be kind of pointless...)

separated and restructured init scripts-now executable at runtime as well

slightly adjusted and optimized some values

reduced /data swap file to 128MiB

increased compcache swap priority

On a sidenote:

as someone suggested, even not very lucky phones are able to run 750mV/750mV/750mV/800mV/900mV for the lowest frequencies... try that out, it's been unexpectedly going strong since yesterday for me.
[LG Optimus 2x] nfin1te:
Thanks for the update - had a charging bsod yesterday with dec31-32. Will test new one today. :)
[LG Optimus 2x] vadonka:
im not experienced the endcall bsod, lcd dimm bug, etc. my phone supported this lowered voltages, however i know that some phone not, so thats why im building with the stock voltages. i dont use your init script its true because i have my own (what is on my sig) :)

by the way the cron jobs part in your init scripts not working, and the remount part is also not right, only the last mount option permanent, you need to modify the remount command to one line, like this:

busybox mount -o remount,noatime,nodiratime,commit=180,noauto_da_alloc /system

using traditional swap is not necessary, its better to use the zram i think.

but thanks for the tips, what i do i applyed patch mostly from swiftextreme kernel and some from other kernels.
[LG Optimus 2x] orlox:
thanx for the new years present :)

Ill test it now. How it it you dont make 00 hack versions? I think you have the most stable kernel. 0 bsod till now and im using it for a week.

Is it possible to change the swap file location somewhere? I have 256mb cache partion and want it to go there.
[LG Optimus 2x] sodade21:
also iam using this kernel and I must say I have 0 bsod.. I have tried many so far and that works the best for me so far. thank you! btw I would love to see 00 versions without the ram hack.

Sent from my Optimus 2X using the XDA mobile application powered by Tapatalk
[LG Optimus 2x] econ:
+1 for 00ramhack version
[LG Optimus 2x] lucfig:
Thanks SetiroN. Do you know any way of verifying if I have something corrupted in my data partition? I am having SODs very frequently. And is probably something with my device. I will try a clean install of CM7 and your great kernel later today.

I noticed that there are 2 init.d scripts with the number 90. Is that correct? Is the first time I see that.
[LG Optimus 2x] fuxmen:
im using 64v from 31 DEC

Evrything is awesome no endcal bsod, battery is owesome too!! keep it up good work :)
[LG Optimus 2x] vadonka:
im still think that the second core management is better like this:

#define NVRM_CPU1_ON_MIN_KHZ (912000)

#define NVRM_CPU1_OFF_MAX_KHZ (655000)

#define NVRM_CPU1_ON_PENDING_MS (200)

#define NVRM_CPU1_OFF_PENDING_MS (2000)

the tegra hardcoded cpu governor is not too good and raise the cpu level to around 900Mhz-1000Mhz when its unnecessary.

activating the second core if the cpu freq is above 655Mhz for at least 2sec and deactivating when below 912Mhz for 200msec will help that the unecessary cpu raise for a short time dont activate the second core. the second core is really needed when the cpu level is above at 900Mhz for a long time. if the phone dont overclocked of course this level is lower.

about the undervolt, if the phone is support that level it is save a battery, i using the normal and the undervolted levels too and i can see my own eyes that with the undervolted levels the battery hold up longer.

now SetiroN include the fudgeswap what i included before, so my version difference is the cpu1 management, the undervolt and some minor tweak (minor tweaks dont affect the performance or the battery life, just related to the compiling process)

about the swap: i should not use in a native block device. not just slow, its shorten the nand memory lifetime (i see a phone what is broken because the too much rom update). the memory devices (what is not have any moving part and dont use any magnetic technology) have a read/write cycle lifetime. its a big value but not infinite. the swap read/write operation number is very high. the phone ram is different. its a lot faster and have a huge read/write cycle lifetime. probably the phone will broken in other way while the ram is still working. so using a zram what is using the ram its safe.

if anybody want the diff file i attach to this thread
[LG Optimus 2x] PYCON:
Like other users, I'm looking for 00 VERSION in which

"EVERYTHING IS WORKING"

;););)

What's latest 00 version with which everything is

working as best as possible ?

:rolleyes::rolleyes::rolleyes:
[LG Optimus 2x] eric03092000:
I got one strange problem. I use autoproxy with 3g network. After the 20111231 kernel update, market and facebook app can not connect to internet. Back to the 20111214 version everything is fine. Is there any changes about 3g network in the 20111231 kernel?
[LG Optimus 2x] jay_snake:
+1 Can you please do this, SetiroN?
[LG Optimus 2x] 4lph4:
Hi, I'm a satisfied user of your kernels :D

+1 on this

I don't like the idea of using the flash memory for swapping. Even for high quality SSD is something to be avoided because they have a limited lifetime in write cycles.

Is there a way to make it optional on the kernel?

Thanks.
[LG Optimus 2x] spica1234:
On pedding ms and off pending ms keep the same 1000

2nd core min on freq keep 650 and off 812 that's the setting of RC-11R and working absolutely perfect.

And important, apply my patch for cpufreq from my github if not applied, which setrion has already merged without giving credit lol strange
[LG Optimus 2x] vadonka:
delete the swap part from the irontweak or use my init script only, im only allow an opurtunity that use the zram swap method.

---------- Post added at 03:02 PM ---------- Previous post was at 03:01 PM ----------

thx for the tip, i look into it :)

ironkernel have 655mhz then 912mhz so the 812 is pointless im using the 912. so only modifyed the 1000ms for the timings. i think i have the cpufreq patch because im using basicly the SetiroN source, thats why im not opening a new thread for this kernel. the credits is for him :)
[LG Optimus 2x] afpapa:
Just to understand.

1) The ironkrnL has a swap memory installed by default, or I have to enable it somehow?

2) The swap is in the "wrong" type of memory?

3) Your script moves the swap to the ram by compressing a part of it?

Sorry for the questions but I am really confused.
[LG Optimus 2x] vadonka:
this part is what using the native block device:

busybox dd if=/dev/zero of=/data/swap bs=1024 count=131072 > /dev/null

this will create a big image file on the /data partition

this is not recommended
[LG Optimus 2x] orlox:
1) has swap on by default on /data no need to do anything

2) this type of swap can downgrade the memory making it slower and eventually breaking it. That's the normal process but instead of taking 10 years it takes 1 (numbers not actual but you get the point)

3) his script compresses a part of the ram to be used as swap. Takes more CPU power than normal swap but the speed is about the same since nand is a lot slower than ram

what I don't understand is the difference of cm's comp cache from vadonka's solution

Lastly I tried to move the swap to the sdcard but something went wrong. I already had a swap file and it was funny to look a 500mb swap
[LG Optimus 2x] vadonka:
nothing, just the cm compcache option is not working for me, i dont know why, and allowed just a few option, so i decided that using an alternative method. nothing special :)
[LG Optimus 2x] afpapa:
Thank you SetiroN, vadonka and ευχαριστώ Orlox.

I will keep the 32 for now as I have amazing behavior from my O2X, thanks to CM7.2 and ironkrnL.

If it has any meaning, the Antutu score is over 7500! (7525@1,5 GHz to be exact)
[LG Optimus 2x] orlox:
just got my first bsod with this kenel. What do you guys think? It happent after a reset and after I renabled the 97swap and after i enterned the pin. Didnt really use the phone. It just entered the launcher

http://pastebin.com/freANCm6
[LG Optimus 2x] jay_snake:
I just like a 100% working phone, that's all.
[LG Optimus 2x] econ:
I often use reboot option, so if I can't do this I won't use this kernel.
[LG Optimus 2x] SetiroN:
Why is that, if I may...? And is it so gruesome and painful to have to press the power button for 3 seconds when you need to? -.-'

If you need to reboot into recovery, using that option from the ROM makes the phone boot into it when powered up. And it works normally when USB is plugged in anyway.

@orlox the latest bugfix version only changes two init.d scripts (two lines, literally)... let me know if it happens again. Were you running higher voltage than the current ones before dec31?
[LG Optimus 2x] orlox:
Not sure sorry. I was using vadonkas builts. I think it's related to swap thought.

I deleted your script and used swapper again since I had room at cache partition for that anyway.

By the way the boot animation is awesome...

About the 00 ram hack.

I thought as the others but seems that you don't loose anything with it so what the heck ...
[LG Optimus 2x] vadonka:
you know why the reboot is nor work? i try to find out but if i touch the carveout_size even a little the reboot is not working then. strange :)

---------- Post added at 05:34 PM ---------- Previous post was at 05:30 PM ----------

i just look that bootanimation now. its funny, im currently editing the htc old school bios bootanimation for o2x :) well i think i dont need to finish that :)

pure awesome :)

SetiroN: your previous kernel installer delete the crond file, its not even can run :) i see the current version is fine.
[LG Optimus 2x] Inkdrop:
Somehow the kernel does not work on my phone. After i flashed the kernel the phone boots and then freezes at the PIN request. Wiped Cache and Davik-Cache.

Vadonka's version just work's perfect.
[LG Optimus 2x] vadonka:
hello again guys :)

im rewriting the kernel source, now any undervolting and power saving stuff is depend on a single kernel config option (called

P

ower

C

onsumption

M

od:p), so i can easy turn them on/off. so anybody want any version i can build it no time :)

just for your request:

no ramhack no pcm version:

SetiroN base cwm script, im only replace the zimage file and the modules. this is basicly the standard setiron kernel, i only left some minor tweak, but non of them affect anything, just needed for me helping the building process.

http://www.donka.hu/android/ironkrnL00-20120103h1732.zip

no ramhack no pcm version kernel only updater:

this cwm script only update the kernel and dont do anything else, if you applyed 32m version before and needed the noramhack version use this installer

http://www.donka.hu/android/ironkrnL00_clean-20120103h1732.zip

no ramhack pcm version:

contained all of the power saver stuff: undervolt, second core hack, lcd backlight hack, etc..

this is also the SetiroN updater with replaced zimage and modules

http://www.donka.hu/android/ironkrnL00PS-20120103h1741.zip

no ramhack pcm version kernel only updater:

same as before just update only the kernel and nothing else.

http://www.donka.hu/android/ironkrnL00PS_clean-20120103h1732.zip

ohh i almost forgot: im including the cifs and the ntfs modules as an extra, you can use with insmod any time :) this modules included in every version.

currently im working on advance my init script...

plans:

-lowmemorykiller and swap auto management depends on ramhack

-making a daemon what is running in background and change the required stuff on the fly

real life plan: learn english :)
[LG Optimus 2x] grognaz:
thanks a lot for the work you done:D

if i flash a new kernel version, do i also need to reflash the init script?
[LG Optimus 2x] vadonka:
if you already have the init scripts from the SetiroN kernel installer you can just reflash the kernel-only-version
[LG Optimus 2x] grognaz:
ok thanks a lot.

i have a really strange problem whenever i install this kernel.

somehow when i download a new nightly and reboot to recovery the file is no longer there. and when i reboot the file is nowhere to be found. also after some time (not exactly sure why) my permissions on the SD card change and i can not copy or do anything.

you ever heard of that problem before?

the only way i could get rid of that last time was a clean install of cm and restore apps with titanium backup (which also did not backup all apps because of the reboot-wipe problem)

EDIT: oh yeah and what also happened several times is that i cant restore my cmw backups because of md5 mismatch. really strange things happening when i install this kernel:/
[LG Optimus 2x] vadonka:
sounds like that your sdcard have a crc error :(
[LG Optimus 2x] salisbury_steak:
That also sounds like a mildly corrupted sd card. Have you tried reformatting the mem card?

---------- Post added at 03:31 AM ---------- Previous post was at 03:27 AM ----------

Ok... I'm guessing I did something incorrectly then. I downloaded this file "ikrnL201201021257_PS_noramhack_undervolted.zip". (I don't even know what the diff of this kernel to sekiron's latest. But I saw a simple boot.img inside so I decided to flash it.)

Clear cached, dalvik, then simply flashed it. I now see that my phone is using it. But... I'm not sure where the "Setiron kernel installer" is. I'm sorry, I got confused. Can you please point me to that file?

(P.S. I saw it was mentioned before, and I agree, your hybrid kernel deserves its own thread.)
[LG Optimus 2x] grognaz:
whats a crc error? and no i did not reformat it, but when i did a clean install cm nightly i never had this problem, nor have i ever had thia with any other kernel, it only happens with this one.

what would be the proper procedure to reformat the card? and can i back up the data on it and copy it back after formating or would that cause corruption again?
[LG Optimus 2x] salisbury_steak:
1) Copy all content to a non-Linux machine (so you can also copy the hidden linux folders).

2) Reformat card (I use SDformatter on WinXP), but most people recommend reformatting from the phone.

3) Paste back your files.

4) Profit. :D
[LG Optimus 2x] grognaz:
i just noticed that i also flashed that braviahack (sony image rnhacer thing) which i also had inatalled last time thid happenrd. do you think that thing could cause the problem?
[LG Optimus 2x] salisbury_steak:
I'm also on Bravia hack though. no errors here.
[LG Optimus 2x] grognaz:
thanks for the info, i will try to reformat the sdcard:eek:
[LG Optimus 2x] salisbury_steak:
Please disregard my question above, I back read 1 page and I saw your zip files. :D
[LG Optimus 2x] vadonka:
i need to create some simply web page on my domain not just posting links :)
[LG Optimus 2x] Platoon:
This would be great. At the moment its abit confusing. One link on this page, two links on other page etc.
[LG Optimus 2x] ppsun:
Feedback for SetiroN;

I had been using L32 versions dated 14/12 & 31/12. And loaded L32 dated 03/01 yesterday. All versions have been quite stable but the latest 03/01 feels a bit snappier in moving about the OS as well as while using Dolphin browser. Will have to use 03/01 a bit longer to see if it runs as solid as the earlier versions.

Thanks and keep up the good work.

PS: Using it with koboltz's CM7.2 kang.
[LG Optimus 2x] vadonka:
currently im testing a new kernel still based on ironkernel

im cherry picked many patch from the v20l kernel and the faux source tree

the patch's what i merged:

- support ABS_MT_DISTANCE

The distance, in surface units, between the contact and the surface. Zero

distance means the contact is touching the surface. A positive number means

the contact is hovering above the surface.

- improve multitouch responsiveness

- added input multitouch library

- added battery driver for batteries implemented using NVIDIA Tegra ODM kit PMU adaptation interface

- fix cpu hotplug bug

- added cpufreq patch

- added lzo compression support

- added minmax governor support

this governor is an adapatation of the conservative governor.

- mmc device sleep patch

- added nvram carveout killer support

this will allow the system to reclaim carveout space by killing processes.

this will kill the largest consumers of lowest priority first.

- added ramzswap support, improved zram support

- kernel version is changed from 2.6.32.49 to 2.6.32.51

- improve overclock support, raise the minimum cpu freq from 216Mhz to 389Mhz

raise the maximum overclock to 1552Mhz

currently im building this kernel, so its to soon that say anything else :)

update: kernel is builded succesfully and my phone is booted with it. so far so good :)
[LG Optimus 2x] owain94:
as far as i know governors don't do anything on our devices because our tegra always uses its hardware governor

and please don't raise the min freq think about ours batteries =D

think about changing the existing ones ;)

but still NAISE!
[LG Optimus 2x] antec123:
can i ask about tun modules?? since ironkernel doesn't support cifs and tun module. thank you very much
[LG Optimus 2x] orlox:
Anyone has problems with ironkernel and droidwall applying the IP tables? No firewall can work
[LG Optimus 2x] salisbury_steak:
I'm getting a 1st failed boot using the latest Setiron32hack (needed to do a battery pull). Trying the no ramhack pcm version now... 1st boot worked well. Thanks Vadonka!
[LG Optimus 2x] miina_tokiha:
I don't know why, but after flashing new KANG plus ironkrnl, 1st boot always freeze.

I have to pull battery.

if I just flash ironkrnl, no problem with 1st boot.
[LG Optimus 2x] jay_snake:
+ 1. Raising min freq sounds like a bad idea. Very battery unfriendly
[LG Optimus 2x] vadonka:
this governor is a workaround and can be use with the system

its not really a governor :)
[LG Optimus 2x] eric03092000:
me too!

after the 1231 update.

setiron said there is nothing changed about the network, so that is strange
[LG Optimus 2x] antec123:
did anyone realize that after installing ironkernel that your apps suddenly delete by it self??

i just flashed ironkernel 03012012 and after finished it delete my apps not all but only one. did anyone happen like my device?? or just me? it's really strange i did set the compcache to default 18% from cyanogenmod performance settings.
[LG Optimus 2x] afpapa:
Same here. It does not even start.

Same kernel, haven't notice something like that yet.
[LG Optimus 2x] nfin1te:
Yes, same problem here. Had that problem twice, once on dec31-32 and now with jan03-32 - while updating one app (game) got deleted, had to reinstall. I follow the installation procedure as setiron posted, including formating system.

Can't be related to compcache, it was deactivated on my phone until yesterday.
[LG Optimus 2x] -=Beavis=-:
Hey there! First of all thank you very much for this kernel! UI really smooth and everything working good!

I have one issue though- my hardware button on the stock headset from lg to pause play and skip songs doesn't work at all! Any reason for that?

Thanks for your effort!

Greetings

Edit: @newest l00 kernel
[LG Optimus 2x] eyronic:
No problem or whatsoever on the latest 32mb hack version.
[LG Optimus 2x] liubangde:
i have the same problem with you，using miui

it happens sometimes
[LG Optimus 2x] eyronic:
Vadonka, why don't you make your own thread?

I think it's making setiron confused when people try to tell feedback on your kernel and not his kernel.