yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] Gabryxx7:
#define is a preprocessor directive, you should define this over the main! You could use a globalvariable (I know it's not the best thing but it's the most similar thing to #define and b will be visible in every scope) declaring b outside of main, you could initzialize it at 0 and then set it to 2 in your if!:)

int b = 0; //Global variable b

extern int a;

int main()

{

int c;

if (a==1)

{

b=2;

c=3;

}

}

Another question, I've Alien revolution with your etana kernel of 5 march, can I install your new version? Do I only have to wipe dalvik and flash it over? Or Should I wipe and reinstall everything?
[LG Optimus 2x] braddocksp:
Another issue, the ad2p continues with cuts, and glitchess. Now when the music player is running in background, and I am using the market, or other applications, when you load the list or pictures, music stutters.

I have tested with cm7 default player, with poweramp and playerpro, and same result.Which standard cm7 kernel, the ad2p is running more correctly than etana (but not perfect), and the second problem no exist.

The music, in general, is an important function for me, is posible to repair this issues?

Thanks.

P.d: This night, charging the phone, perfect, no bsod!! Thanks.
[LG Optimus 2x] vadonka:
thx for the advice!

my kernel is working with any cm7/miui based GB roms
[LG Optimus 2x] Gabryxx7:
you re welcome but surely you know better than me how to program!:) However my question was, Can I install it over older version of the kernel?;)
[LG Optimus 2x] vadonka:
it sounds like a baseband issue after all... more and more issue connected to the baseband.
[LG Optimus 2x] vadonka:
what do you mean older version? older rom version or older kernel version?
[LG Optimus 2x] @dap:
Vadonka-

Damn my phone runs good with your 48M ramhack kernel over Temasek's last KANG! Smooth, great battery life -the phone is a pleasure to use.

Thanks! :D
[LG Optimus 2x] braddocksp:
:( Any solution o idea for music and AD2P issues?
[LG Optimus 2x] Zorkman:
I had a BSOD yesterday (1203080903-ETaNa_LOC_DS_OTF_0M.zip, min CPU=324MHz and Temasek's latest KANG)

Headphones were in, screen was off and an audiobook was playing, phone was not charging, 2G, wifi on, no data connection

music stopped after a couple of seconds. A couple of weeks ago, FM radio would still play, but screen wouldn't turn on, this time the phone seemed completely off.

If that ever happens again, is there anything I can do to try to salvage a log file?
[LG Optimus 2x] withoutwings:
Could be related, but something in the kernel as well I think -

I haven't changed my baseband in a very long time and never got a single BSOD with any of your kernels until about the 29th of Feb and have had the "hot charging" one quite a few times since...

Sent from my Optimus 2X
[LG Optimus 2x] kennbo82:
After reboot 2nd core turns off and on as intended. But if screen was off for some time I see the 2nd core never go to sleep in normal use (shows 216mhz but both active).

My screen off setting 216 - 503

Normal use 216 - 1216

Etana settings mincpu1 655000 maxcpu1 610000
[LG Optimus 2x] vadonka:
hey guys!

check out the new ramhack otf how its work :)

http://youtu.be/0TsmAKAp86c
[LG Optimus 2x] vadonka:
if you have a system panel app, i need a screenshot from the cpu history tab
[LG Optimus 2x] Café King:
Looks good, mate :)

And nice song too :)

/CK
[LG Optimus 2x] spica1234:
This is just awesome

wowooww

thanks:)
[LG Optimus 2x] Kag:
There's no issues with it.

Mine works fine.
[LG Optimus 2x] LarsPT:
How funky are the battery readings in the DS version?
[LG Optimus 2x] jay_snake:
Draw Something has got an update. I just reinstalled this kernel and drew some drawing and no crashes of the game.
[LG Optimus 2x] ppp0941:
thx for advice. but for me, the app still freeze frequently

temporally switch back to stock kernel:(
[LG Optimus 2x] jay_snake:
Right after I posted that reply it freezed for me too. Back to stock kernel
[LG Optimus 2x] Goldenmeadow:
Sorry guys, but what do you call stock kernel? Like LG stock or one that came with custom ROM?

Thanks!
[LG Optimus 2x] silentmelodies:
'Stock' here is CM7's default kernel ;)
[LG Optimus 2x] godh3ll:
turn on gps and igo for about 15 minutes and the phone get so hot...never been so hot before...

wiui 2.3.2 latest etana kernel 0 MB
[LG Optimus 2x] razerblade17:
just want to ask...this kernel work fine on latest miui 2.3.9?
[LG Optimus 2x] ron_gangte:
Yes, it does. :-)
[LG Optimus 2x] invinciblervd:
Hi vvadonka, the kernal works great. Thanks a lot mate. The only thing is though the default cm kernal has a tweaked build.prop file which allows me to install all apps even of I change the density to 200 from 240 but if I do the same with your kernal, I get incompatible device error with most of the apps.

Can you take a look at it whenever you get time?

Cheers

RD
[LG Optimus 2x] razerblade17:
sorry im having problem when i use miui 2.3.9...internal memory is define as sd card...and sd card is not recognise...any solution?
[LG Optimus 2x] ron_gangte:
Reboot. :-)

That issue is not kernel-related.
[LG Optimus 2x] razerblade17:
im know it not kernel problem..the problem is with miui...i found the solution..but this solution will downgrade the miui version..from 2.3.9 to 2.1.20,,,just hoping some1 will make the solution for 2.3.9.i found the solution here..http://xdaforums.com/showthread.php?p=23223466#post23223466
[LG Optimus 2x] kennbo82:
This? I can test it again and again (using bb20q, ril20l, Temasek 72) - durectly after reboot 2nd core turns off in low use, turns on only for lot of work (can test easily if i scroll the whole time). But if I wake phone after some time of standby, the 2nd core works the whole time, neans doesn't turn off anymore.

Gesendet von meinem Optimus 2X mit Tapatalk
[LG Optimus 2x] qgtxqj:
that solution never downgrade your MIUI, it just change your version number stored in build.prop and other files remaining in your phone and work for you. if you want change your version number back, you need a txt editor to open /system/build.prop and change 2.1.20 to 2.3.9 or whatever you like, then reboot to see what happen at "about phone".

however installing that sd mod will overwrite the tweaks from Vadonka's kernel install package, if you what vadonka's tweaks back, just flash the kernel one time again from recovery. the SD mod will be still there and remain your TF card as /sdcard.
[LG Optimus 2x] Café King:
It's a big shame that Draw Something does not work this kernel, as I'm addicted to it :D

I'm back to stock CM kernel also :(

/CK
[LG Optimus 2x] vadonka:
a logcat would be helpful :-)
[LG Optimus 2x] eyronic:
Draw something is working for me.
[LG Optimus 2x] vkk178:
@vadonka : The video of the OTF RAM hack kernel looks cool .Are you planning that for the next release ?? Sometimes I wish I could just change the RAM setting on the fly ( without re-booting ) , because apps tend to close with the low on board free RAM .
[LG Optimus 2x] vadonka:
kernel is updated with the ramhack OTF part. enjoy :)
[LG Optimus 2x] silentmelodies:
Vadonka, is the terminal app the only way to enable the ram hack? Cause MIUI users don't have that :p
[LG Optimus 2x] qgtxqj:
you can get it @ https://play.google.com/store/apps/details?id=jackpal.androidterm

already test on MIUI 2.2.24..
[LG Optimus 2x] rexren:
Test the Ramhack OTF successfully!

If there is a new kernel update ,the phone will keep the ramhack setting or we should set it again?
[LG Optimus 2x] silentmelodies:
Thanks. Didn't know it was available in the market :)

It looks like it 'flashes' the ram hack through the command app, while as default it is the non ramhack version. I'd assume every time we flash a new version, the default one will overwrite the ramhack.

Just my guess :p
[LG Optimus 2x] mind_challenge:
Tested new otf ramhack, it works perfect.

Sent from my Optimus 2X
[LG Optimus 2x] vadonka:
the next version will be keep the old ramhack settings in the new kernel too.

however i started to work on the ics kernel (integrate the otf, etc..), i cant do any huge update anyway in the cm7 kernel, so probably you need to wait a little more for the next update.

i already try to integrate to the otf the following thing:

- cpu voltage and freq levels: failed, nvrm doesn't tolerate this, result: boot hang

- increase cpu level step number: failed, nvrm doesn't tolerate this, result: boot hang

so not much left what can be integrate to the otf, the kernel version is 2.6.32.58, it is the last version of the 2.6.32 LTS series. if a new kernel released by the lg for the GB roms, then maybe have some new thing what can be integrate to the kernel, until then i cant do any more. thats why the updates is less frequently in todays.

so lets start to work on the ics kernel :)
[LG Optimus 2x] albi.i:
Hi. What about the strong vibrator function? Cant you add that option to OTF package?
[LG Optimus 2x] vadonka:
yes, the strong vibrator and the optional DS battery driver can be integrate to the OTF (the second is a hard one).

however using the strong vibro function shorten the buzzer part life. the buzzer its a little mechanical engine, using a decentralized rotary element to produce the vibration. if this vibration is too strong it maybe harm the device in long time,

so becareful.
[LG Optimus 2x] :
Hi vadonka,

I love your kernel! Makes my O2x fly and have great battery life.

Got two questions though, why did you remove the suspend core voltage option and what does the Nitros option do exactly? Can't find a good description somehow....
[LG Optimus 2x] vadonka:
changing any small adjustent around the cpu low level corners cause endcall bsod. its the main reason actually. so the answer is safety reason.

nitro option temporary maximaze every levels, gain a boosted performance. its the same like you adjusted manually this levels to the max.
[LG Optimus 2x] :
thanks, this confirms my understandings. As for the suspended core, didn't have any at 620 mV. I'll try lowering the 216 MHz voltage a bit more, probably gas the same effect.

anyway, keep up the good work!
[LG Optimus 2x] yukkio:
Hi Vadonka, Temasek has added sqlite garbage collector to #73 build, may be I'm wrong but Has your kernel that feature?

BR.
[LG Optimus 2x] vadonka:
its the same like the sqlite defrag, i think :)
[LG Optimus 2x] yukkio:
Ok, I'll disable :)

BR.
[LG Optimus 2x] kennbo82:
Hey Vadonka,

above is a pity, means you are just a human? I thought you are something else, working the whole time on this kernel and reply to each question (big thanks at this point)! I use your kernel since you worked "together" with Setiron ;)

Regarding "my problem" about 2nd core not going to sleep after some time, is it just a problem of my phone or a general one? I hope 2nd and there will be a fix if you have some more time :rolleyes:

kind regards

kennbo
[LG Optimus 2x] vadonka:
yes im definetly human :)

i see your problem, my phone produce this too, but i didn't notice any worser battery life, but i look out after.

thx for the report.
[LG Optimus 2x] Lapiduss:
Little problem when I set ramhack to 80Mb: camera don't work. No problem after setting 48Mb. Great kernel!
[LG Optimus 2x] :
vadonka: thank you for got kernel. More than that, I appreciate you contributions towards building a healthy community by being there to help folks and providing hosting and storage service to temasek and owain. Keep up the good work, I personally appreciate it a lot

For cm9 kernel, I would like to first try building DS battery driver as a loadable module followed by OTF. It is a tough one but I am sure you and Spica can pull it off.
[LG Optimus 2x] antec123:
does anyone here have the problem whenever you reboot the phone and already get in to the system, but suddenly you have popup said "Process System is not responding" i can choose force close or wait.

i have got this problem since i flash 0803 kernel.

and thx for your OTF pack of ram hack it doesn't give difficult to download and flashing. just choose whatever ram hack we want.

UPDATE:

i try to use the 0 MB ram hack and the problem doesn't happen(2.6.32.58). but it weird with kernel 2.6.32.57 it's okay using 48mb ram hack
[LG Optimus 2x] vadonka:
check out this: https://github.com/vadonka/lge-kernel-kang/tree/ics

working cm9 kernel tree with otf, based on faux123 source
[LG Optimus 2x] razerblade17:
hye..first i would like to thanks to you for making this kernel..btw, i have some question about the new update...how to make sure that the ramhack already done? it's any method that i can use to see how many amount of ramhack..and can u teach me how to set up tweak by using Etana kernel tweak..i'm really appreaciate it..i'm new here..before this i'm using sony phone..hope some1 will guide me tq
[LG Optimus 2x] vadonka:
check out this video: http://www.youtube.com/watch?v=0TsmAKAp86c
[LG Optimus 2x] razerblade17:
thanks...response really fast!! thanks a lot
[LG Optimus 2x] :
Great progress. I had issues with getting adb working with faux kernel on o2x. I have frequent WIFI drops too using cm9 with any kernel and hence decided to stick to CM7
[LG Optimus 2x] vadonka:
i dont try this kernel yet :)
[LG Optimus 2x] :
that makes nitro enable?
[LG Optimus 2x] owain94:
nice mate! cant wait!
[LG Optimus 2x] vadonka:
one of my kernel user told me that see some awful trolling on the ironkernel 'author' twitter page.

i say this at last: im not using anything from this guy work, since he is not even updated anything on the github.

the ramhack changer script is dump the kernel, unpack, and simply repack with a new command line. its not recompiling anything. its a safe method, and also im using many safety check. its not like "the user dont know" the script is not a binary file, anybody can see what its doing and i also write that to a post in here.

second: the mkbootimg and the unpackbootimg have a syntax, its not like im write my own syntax, this syntax have many other kernels too. this syntax is not the ironkernel author work, not even the vorkkernel work. the credits for the program author.

im not forgot to mention the credit, im not mention for you mr, because its not your work! im not even download your kernel installers for a while now. im sorry but i dont care if you imagine that everything is your work..

probably you read this anyway...

"OTF is a pointless gimmick, it gives no real advantages and potentially causes performance degradation"

haha, you have no idea OTF is what for...

i suggest to YOU that take care with YOUR users, because as i see many of them reported bootloop, freeze, etc.. my kernel is not flawless but at least not producing bootloops and freeze and i take CARE of my users.

so please leave me alone!

sorry for the offtopic, but this guy is a real jackass and i've had enough of him
[LG Optimus 2x] vadonka:
for the users who dont know this:

OTF aka On the Fly made by one of the fellow coders Spica.

OTF using almost the system default settings if you dont touch anything. Its "only" allow you that use a more battery friendly or a faster performance parameters without poking me that i compile a custom kernel for you. its "just" a customization. its not degrading the performance. of course the highest powersave level a bit slower but save a lot of the battery power. its the user choice what is more important: the battery life or the performance.

with the otf you can change between this in notime.

im not see any negative effect around this, so... but maybe im just stupid :rolleyes:
[LG Optimus 2x] owain94:
Hey vadonka just asking for your permission

Is it fine if I clone your repo, build and test your kernel?

I will report back how it works
[LG Optimus 2x] vadonka:
yes, of course. try it. i dunno its working or not, im not had time to test it, but its have the otf toolkit too. i also had an installer for this, check out 'kernel-installer' ics branch if you interested. its an automated mechanism for the compiling. its producing a cwm zip file.

next time no need to ask, everything is gpl here :)

use vadonka_loc_defconfig or vadonka_hoc_defconfig for the compiling if you want the extra features.
[LG Optimus 2x] :
From a decent programming background in enterprise software, we try to perform non disruptive upgrades or configuration changes. OTF using ioctl and sysctl are some well known methods we use for kernel. User space applications use SIGHUP to read configuration files again, Samba does that. Spica has added limits not to accept values out of range as mentioned in his thread too. Personally I like OTF and do not see anything bad using the approach
[LG Optimus 2x] vadonka:
i agree, if you check the otf source you will see that every parameter have a safety corners. so its safe.

hackworks: i remember correctly you have some github skills right? :) if yes can you advice me some useful howto page. im confused with the github :S im using subversion before..
[LG Optimus 2x] :
I have just enough git skills to get my work done. Will send a short writeup later. Care to catch me on google chat, works faster and I do that sometimes with pastime
[LG Optimus 2x] vadonka:
next time :) im going to sleep now.

cheers!
[LG Optimus 2x] owain94:
thank you mate! i will report back here to you ;)

synced both kernel-installer and lge-kernel-kang via mobiel tethering damn that took long :p

anyway thank you for your permission was just askign to be sure :D
[LG Optimus 2x] JohnnieDarko:
Vadonka: Regarding the DS drivers, I understood they were too difficult to hack/improve, but isn't it possible to load both (regular and DS) in parallel, and then use only the readings of the regular driver?

Also again, thanks for the development of the kernel and good support on the forums!
[LG Optimus 2x] owain94:
If is was only that easy
[LG Optimus 2x] spica1234:
It's the way only DS works, If we corrects reading then It's not DS, It'll be normal battery driver:)
[LG Optimus 2x] owain94:
@vadonka i compiled your kernel sucesful

there were a couple problems

in the zip the module folder became a file

so i had to pull all the .ko files from there original folder not that much work

adb push '/home/owain/android/vadonka/lge-kernel-kang/drivers/net/wireless/bcm4329/wireless.ko' /system/lib/modules && adb push '/home/owain/android/vadonka/lge-kernel-kang/crypto/ansi_cprng.ko' /system/lib/modules && adb push '/home/owain/android/vadonka/lge-kernel-kang/lib/lzo/lzo_compress.ko' /system/lib/modules && adb push '/home/owain/android/vadonka/lge-kernel-kang/lib/lzo/lzo_decompress.ko' /system/lib/modules && adb push '/home/owain/android/vadonka/lge-kernel-kang/drivers/staging/zram/zram.ko' /system/lib/modules && adb push '/home/owain/android/vadonka/lge-kernel-kang/drivers/staging/ramzswap/ramzswap.ko' /system/lib/modules && adb push '/home/owain/android/vadonka/lge-kernel-kang/fs/cifs/cifs.ko' /system/lib/modules

also the installer didn't work as it should so i installed the kernel also manually maybe caused by AOKP edited the installer to accept it but it got stuck before writing the kernel to mmcblk0p5

adb push '/home/owain/android/vadonka/compiled/1203130207-ETaNa_LOC_0M/tmp/boot.img' /tmp
adb shell
cd /tmp
busybox dd if=boot.img of=/dev/block/mmcblk0p5

but after that we got this =D

nice work vadonka :D
[LG Optimus 2x] vadonka:
well, the compiler script referenced some directory, it may be need to adjust that.

but the point is, the kernel is booted :)
[LG Optimus 2x] braddocksp:
Sorry for my insistence, but still does not work for me AD2P correctly.

I tested with:

- Only 2g and also 2G/3G

- Wifi on / off and gps on / off

- Kernel from 8 to 12 of march.

- MP3 in internal memory, and SD.

- Several players, default player, Player Pro, PowerAMP, etc, etc.

- I installed several Kang clean.

- I changed the RIL and BB, various combinations (originally had the "BB 725 10d", now I'm with the "BB v20m 725")

- With the official ROMS Froyo and GB, is OK.

- Tested the Car Audio with another mobile android (HTC ChaChaCha) and ok.

I think I can not forget anything, someone above said it was working correctly, is a problem with my phone?

My problem as I said earlier, is that the music makes small cuts or random jumps. And it's really annoying.

Thanks in advance.
[LG Optimus 2x] owain94:
and the best part is it is rock stable and as far i can noitice no mem leaks =D
[LG Optimus 2x] vadonka:
good :) its a great news. im working on that improve Spica OTF toolkit for now, but after im finish im add the final OTF to the ics kernel too.

plans:

- backlight driver OTF (fajarep version/normal)

- DS driver OTF (i have an idea how to do this)
[LG Optimus 2x] owain94:
sounds nice!

goodlucck mate ;)
[LG Optimus 2x] hei1125:
Deleted....
[LG Optimus 2x] LarsPT:
I understand now the "funkiness" of the battery readings, but I'm keeping this anyway, I like the battery life :)

Thanks!
[LG Optimus 2x] @dap:
Can I just say that you guys rock! Can't wait... :D
[LG Optimus 2x] :
I have been using the kernel with 48m ramhack, DS on temasek #73. It is stable and works fine. I'd suggest creating a stable and an experimental branch in git or even tag the current level as stable just in case we need to revert to a stable version.
[LG Optimus 2x] CVonV:
i can confirm that Draw Something just freezes on me on March 11 (it has never worked on Etana for me.. but no problems on stock temasek kernel)

here is the alogcat.. nfi if it helps though.. i just left everything on default.. it's in 2 posts because it was too long.. please let me know what settings to put to make a correct logcat

EDIT: i tried again and it seems to be working now... *knock on wood*

EDIT2: ahhhh it froze again.. it's very temperamental
[LG Optimus 2x] @dap:
I've got exactly the same results...
[LG Optimus 2x] unfugor:
is it possible to add a install guide to your first post. i have had a hard time at work and so i did not follow the thread for three weeks, now theres a config, otf, an app to edit the config which i cannot find anymore...

it might be a bit confusing for people who want to install this kernel for the first time. anyway, thanks for the great kernel vadonka
[LG Optimus 2x] hadi_rena:
How I can determine whether audio beats installed or not ?

Latest PowerAmp says support beats but I don't see any button to activate beats in poweramp

I already uncomment the last line in etana.conf to intall audio beats (conf included, .txt added otherwise rejected by uploader)
[LG Optimus 2x] vadonka:
there is no such button to activate this, if you have a headphone what can be support beats audio and a correct player software it is activated automaticaly.
[LG Optimus 2x] hei1125:
Isn't. Beats audio not working?

As someone tested it is just like bravia hack that is a placebo.
[LG Optimus 2x] vadonka:
dunno, but this is the theory. i have a feeling too, that its just placebo, thats why im not installed by default in my kernel. its only an optional part, for who believe its workin'
[LG Optimus 2x] braddocksp:
Well since I do not find solution for A2DP, I had to stop using roms Kanng and Kernel Etana :(

I am now with version v20q and AD2P is perfect, a shame to lose all the advantages of Kang and Etana. :(
[LG Optimus 2x] vadonka:
im not sure this is related to the kernel anyway, it possible a rom related issue too. i dont know, im not using a2dp.
[LG Optimus 2x] Café King:
Hey Vadonka :)

Will you be online on Skype today?

/CK
[LG Optimus 2x] vadonka:
hi

im a little busy now :)
[LG Optimus 2x] CVonV:
regarding Draw Something.... really want this bloody addictive game to work on this kernel.....
[LG Optimus 2x] vadonka:
im hardly believe that anyhow is related to the kernel.
[LG Optimus 2x] vadonka:
it seems that this game have a similar code like the plants vs zombies :)

its cant work on my tablet too.
[LG Optimus 2x] CVonV:
but yeah it works fine on stock kernel.. but stock kernel's battery isn't as good compared to this >_<
[LG Optimus 2x] vadonka:
yes, it seems something in the custom kernel is not liked by these games
[LG Optimus 2x] Café King:
I feel the same. I really MISS this kernel and the extra ram... But I cannot live without Draw Something :(

/CK