yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] Leeboy:
The newest release is missing these files? Or are both 5.2 and 5.3 missing........
[HTC EVO 3D] kittykat858:
they are missing lines, only affect on-demand governor

i think they been missing since he went to the 2-phase governor that comes on the htc rezound

im actually surprised it compiled with those missing w/-o2

but in his makefile, he disables a lot of error/warning notifications

..just wanna help him out, he is new at this and it seems like he really wants to learn

dodava - get rid of ur KBUILD_CPPFLAGS flags that start w/ Wno - then compile w/ -o2 - if u need help fixing the errors, or warnings you get- PM me

(my full anthrax kernels compile -o3 w/ no errors or warnings -i hate errors/warnings during a build - and to the haters.. YES showp's source helped me achieve this on toolchain 4.6.x, but on 4.4.x i figured it all out on my own)
[HTC EVO 3D] Leeboy:
THANK YOU CHAD:)........not from only me, but the community as a whole;)

>>"Thanks" button will be hit when my damn counter resets;)
[HTC EVO 3D] P.Mobile:
should i go back to 5.2 till 5.3 is fixed or is it ok??????
[HTC EVO 3D] kittykat858:
should be ok - on demand battery will get a tad better when he fixes the on-demand issue

as far as the warning/errors being disabled...if this kernel is stable for you - run it, even w/ errors/warnings -it will be better than HTC's release for performance

and nothing he changed would affect stability (other than the overclocking / undervolting - but we ALL do this)

..personally, if i get any warnings or errors in my mainline kernels, i dont release em

(not including my experiment, im trying to stay as close to HTCs code and experiment with what each change does to battery)
[HTC EVO 3D] P.Mobile:
so dodava should i flash or wait till its fixed?????
[HTC EVO 3D] sdeft:
dodava any news on the gsm version ?
[HTC EVO 3D] Leeboy:
I believe both have the missing files.......Dodava started using the 2 stage gov with the release of 5.2

>>Yep, just double checked the op........2 stage started with 5.2
[HTC EVO 3D] P.Mobile:
so it should be fine to run 5.3 then.. so the missing files.. will it effect the battery or performance at all???
[HTC EVO 3D] Leeboy:
I got a question regarding the gpu increase from 266 - 320..........if I'm already hitting 60fps on benchmarks, what will the benefit be?

---------- Post added at 01:22 PM ---------- Previous post was at 01:20 PM ----------

From what I gather, both 5.2 and 5.3 have the missing files.......at least for the ondemand gov. If you're using a different gov, you should be fine.

>>5.1 is the best for me so far.......excellent battery life, awesome power and my phone stays nice and cool even @1.72ghz!
[HTC EVO 3D] kittykat858:
#1:

I got a question regarding the gpu increase from 266 - 320..........if I'm already hitting 60fps on benchmarks, what will the benefit be?

none - and thats why in my mainline kernels u wont see anything above

(3d) 266 unless gpu load is @ >85% for more than 1/2 sec (500ms)

(2d) 233 unless gpu load is @ >80% for more than 3/4 sec (750ms)

#2:

wanna be clear - 2 missing lines of code, not 2 files

what do these missing lines cause - besides compiler errors? maybe a slight decrease in performance w/ the on demand governor AND a hit on battery performance

is it gonna break ur phone or rom? NO

is it gonna kill ur battery? NO
[HTC EVO 3D] dodava:
The kernel compiles fine without warnings using -O2 whether the warning flags are there or not. I may be new to android kernels but I'm not new to Linux or building linux kernels. I have no intention of removing the flags you are referring to.

The specific flags -Wno flags are there because some parts of the linux kernel produce warnings from gcc during compilation which are not errors in code. Currently none of these parts of the kernel code are compiled into my kernel but if I enable certain modules later I don't want others compiling the code base to go into a panic because they see what are to be expected warnings while compiling the kernel.

I would be more concerned about using O3 for compiling the kernel. This is strongly discouraged and in fact certain makefiles in the kernel tree specifically disable O3 if you turn it on in the main kernel makefile.

O3 is known to introduce subtle bugs into the linux kernel and the optimizations it produces can actually produce a slower kernel in many cases.
[HTC EVO 3D] guitardoc64:
I'm going to flash it, these kernels seem to work better for me than any I have tried. Keep up the good work dodava!
[HTC EVO 3D] Leeboy:
Thank you again Chad;) Really appreciate your help;)

>>I also wanted to say thanks for helping Dodava with his kernels......it's great to see you guys working together:)

>>My damn "Thanks" counter won't go over 8 per day......gotta wait 24hrs to hit your "Thanks" button, sorry:(
[HTC EVO 3D] THADDIUS25:
Does this affect intellidemand too?
[HTC EVO 3D] Leeboy:
Very interesting........whatever you are doing, it's working fantastic:D On the question concerning the missing code for the ondemand gov.......should we just wait on flashing 5.2 or 5.3 until fixed?
[HTC EVO 3D] P.Mobile:
yea i been asking the same question.. should we wait for a fix??? y/n?? or are we good to go?
[HTC EVO 3D] Luthien1:
chad do you make kernels anymore, i just tried your new kernel and it didnt work, i dont know why
[HTC EVO 3D] THADDIUS25:
On 5.3 and 5.2 evertime I reboot my phone my bookmarks get erased.
[HTC EVO 3D] Leeboy:
Think I'm just gonna stick with 5.1.......too much confusion going on right now:confused:

>>On 5.1 my phone sleeps like a baby.........unplugged at 10:30 last night and at 11am this morning my battery was at 94% with background data running and syncing accounts every hour! (This is with both cores active @1.51ghz, using the interactive gov.)
[HTC EVO 3D] kittykat858:
depends on who's version he is using, and if he actually had it enabled in DEFCONFIG
[HTC EVO 3D] Leeboy:
WTF! Never heard of that before:confused:
[HTC EVO 3D] kittykat858:
just looking to help u out - sorry

my optimized qualcomm based kernels dont produce any warnings or errors when i compile w/ 4.6.x or 4.4.x.

yes my experiment does - but its an experiment - looking to see what specific changes affect battery - so im keeping the code as close to htc as i can.

and -o3 did wonders for performance for my qualcomm based kernels - noticeable difference, not my opinion, but that of over 90% of the people who use / used my kernels

and yes, I am new to linux kernels - but been a C / C++ / COBOL / RPG-IV programmer/developer for about 5 years

and was part of a team that made closed source kernels for ibm mainframe/mid range servers (s/390, as/400, iseries, zseries)
[HTC EVO 3D] ywjkid:
Same problem here.
[HTC EVO 3D] kittykat858:
this would have nothing to do with any kernel
[HTC EVO 3D] ch1naski:
What ROM are you running?

Edu

You beat me to it

Quadrants are for sissies.
[HTC EVO 3D] THADDIUS25:
It never happened on any other kernel
[HTC EVO 3D] ch1naski:
Kernel would be the last thing to cause something like that. Not related.

Quadrants are for sissies.
[HTC EVO 3D] kittykat858:
nothing in zImage would cause that

i never downloaded his zip file, so it is unknown if he has scripts or anything included with it..
[HTC EVO 3D] THADDIUS25:
Thanks chad
[HTC EVO 3D] Leeboy:
Is it possible that some phones would perform better with -o2 vs. -o3 or vice versa because of the difference in hardware and hboot versions?
[HTC EVO 3D] mozman:
There certainly seems to be a good debate (for lack of a better word) on compilers. Is there any way to understand what the compilers do that is different from each other to make kernels perform differently?
[HTC EVO 3D] kittykat858:
newer compilers IMO are more optimized for newer hardware/devices

in the sensation forums i have a sense 4.0 kernel that uses linux 3.0.x

i did do a test:

(remember, i clean up my code, and make the needed changes to make it compile w/ -o3 with ZERO warnings and/or errors)

toolchain 4.4.x (4.4.0 and 4.4.2) using -o2:

performance was "ok" - battery was good

toolchain 4.4.x (4.4.0 and 4.4.2) using -o3:

no change at all vs -o2 on benchmarks (antutu, quadrant, cfbench,linpack, etc)

toolchain 4.6.2 using -o2

performance went up, noticeable with use and benchmarks

toolchain 4.6.2 using -o3

performance went up a lot more and so did battery life.

battery still wasnt were it was with 4.4.2 - but is better than stock

why this happens - cant really answer that
[HTC EVO 3D] Luthien1:
dodova, wow im very impressed....this kernel is so stable and great... its the best ever man... DODOVA GOOOOOO
[HTC EVO 3D] Leeboy:
@Dodava......when you get a chance, can you take a look at what Chad mentioned earlier about some code that is possibly missing from the 2 phase ondemand gov? I'm really anxious to try 5.3, but I'd rather wait if there is something that needs to be fixed........thanks sooooo much;)
[HTC EVO 3D] ramjet73:
I'm not a developer, but if I understand pstevep's post correctly, he's suggesting that the developer to developer communications be moved to PM. Sometimes it's hard for the rest of us to tell if another developer is trying to be helpful or just make the other developer look bad, and sometimes it's not.

ramjet73
[HTC EVO 3D] dodava:
Just booted my phone with a fixed version. It has a couple of other items added also. Should be done testing shortly and then will post.
[HTC EVO 3D] pstevep:
Thread reopened.

Please keep this friendly. If you feel the need to question another devs rom or kernel or haircut please do so in a PM. Thanks.

Hope everyone enjoyed the break.

Dodava its all yours again.
[HTC EVO 3D] P.Mobile:
cool beans.. can we get back to the show now??? :D
[HTC EVO 3D] dodava:
I had to go mobile unexpectedly but didn't want to leave everyone hanging. Version 0.5.3 is perfectly safe to use. The only issue with it is that the ondemand and intellidemand governor are single phased versus two phased. At some point during the development of 0.5.2 I had to revert and readd patches to one of the code files and forgot to add a couple of lines back into the file which initialized the 2 phase feature. This just means the governors in 0.5.2 and 0.5.3 act the same as they did in all prior versions.

If you are feeling lucky :) you can download what I'm for now calling a test version of 0.5.4 at http://db.tt/KlCfYPNn. I have only been running this for a couple of hours so there could still be issues. Usually I like to test overnight before I release to make sure battery drain hasn't been impacted or I don't get a reboot or bootloop. My phone is a finicky one so usually if there is going to be an issue I will experience it.

0.5.4 has the 2 phase governors working properly, has browser detection for ondemand and intellidemand governors (clock goes to max when browser is open), has a simple governor for the 2D GPU, has some tweaks to tie some functions such as dealing with headphone buttons to cpu0 so the second cpu doesn't get needlessly spun up and some other tweaks. A complete changelog will be posted upon release. Credit for most of the features integrated into this version go to faux123.
[HTC EVO 3D] egodriver07:
Well I for one am feeeeeeeling lucky. Thanks!
[HTC EVO 3D] guitardoc64:
Me too.
[HTC EVO 3D] dimebagdan65:
Sheeeeeeeit, I live in Vegas, how can I not take a gamble?!
[HTC EVO 3D] P.Mobile:
well i won 2$ on a skratch ticket.. so im deff feeling lucky!!!! :D
[HTC EVO 3D] dodava:
I'm going to add the following to the OP but wanted to post it here so the people that have contacted me regarding donations see it.

I have been contacted by several people who have wished to give donations. While I appreciate the thought I am not seeking nor accepting donations. Your expressions of gratitude are more than enough. I do this because I find it enjoyable and would be doing it if no one but myself was using this kernel. That being said a couple of people have been insistent about wanting to donate. If you really want to show appreciation beyond just a thanks, I encourage you to donate to the March of Dimes NICU family support program, https://www.marchofdimes.com/giving/support_nicu.html. 5 years ago my daughter was born prematurely, today she is a healthy and happy 5 year old, and the NICU family support program was a great help to my family and continues to be a great source of support to thousands families each year whose babies end up in neonatal intensive care units across the country. Using the link I provided your donation will be specifically earmarked for the NICU family support program. Donations are tax deductible.
[HTC EVO 3D] piscesjoey:
Off topic, but my son was also born premature 5 years ago, only weighed 2lbs 7oz & had to spend a month & half in the NICU, now he is healthy, energetic, & full of mischief LOL.
[HTC EVO 3D] diestarbucks:
That's pretty awesome. My better half is a neonatal nurse practioner. When she got her masters and new title we moved up here to North Carolina for her to work in the NICU in Greensboro.
[HTC EVO 3D] Eternity-3D:
Chadis my neighbor, and sometimes I am at his pad while he is working on magic.

1)

setting a lot of tasks to single threaded, chad has been doing that since way back when...

(head set notifications, some gpu/hdmi/mhl notifications, etc..)

2)

I am not a kernel expert, but i noticed the following:

-you added -o2 switches to your make file

ODFLAGS	= -DMODULE
CFLAGS_MODULE = -DMODULE -O2 -fgcse-lm -fgcse-sm -fsched-spec-load -fforce-addr -ffast-math -fsingle-precision-constant -mtune=cortex-a8 -march=armv7-a -mfpu=neon -ftree-vectorize -funswitch-loops -fno-pic
AFLAGS_MODULE = $(MODFLAGS)
LDFLAGS_MODULE = -T $(srctree)/scripts/module-common.lds
CFLAGS_KERNEL	= -O2 -fgcse-lm -fgcse-sm -fsched-spec-load -fforce-addr -ffast-math -fsingle-precision-constant -mtune=cortex-a8 -march=armv7-a -mfpu=neon -ftree-vectorize -funswitch-loops
AFLAGS_KERNEL	=

and your make file also contains the following:

ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
KBUILD_CFLAGS	+= -Os
else
KBUILD_CFLAGS	+= -O2
endif

and your config file contains:

CONFIG_CC_OPTIMIZE_FOR_SIZE=y

dont the -O2 and -Os switches conflict with each other?

... just asking, I am trying to learn how all this works.
[HTC EVO 3D] dodava:
My ex-wife is currently the clinical nurse specialist for a NICU and at the time was a bedside NICU nurse at the NICU where our daughter was a patient. The hospital has the second largest birthing unit in the country, based upon number of births, and is the tertiary care facility for a large metropolitan area so they see the worse of the worse. In some ways this made the experience worse because she was acutely aware of how many different ways things could quickly turn very bad. Sometimes ignorance is a blessing.
[HTC EVO 3D] diestarbucks:
Yeah. She had been working at Winnie Palmer in Orlando which was a massive unit. Big change moving to a smaller hospital but it was a move up. I don't know how she does it honestly.
[HTC EVO 3D] dodava:
To tell the truth I haven't been looking directly at Chad's source lately. What I implemented today was changing the workqueues from multi-threaded to single threaded. If Chad did this first than all credit to him. I credited to faux123 because that is where I particularly got the code from and it included comments from faux123 taking credit for it.

As far O2 and Os conflicting they don't. The behavior of gcc it to use the last flag specified. CFLAGS_KERNEL will appear later in the gcc command and take precedence. I put the -O2 there as a quick way to insure it is the last of the -O flags given. I you use add V=1 to your make command, for instance "make -j5 ARCH=arm V=1", then verbose mode is enabled and you can see the commands that are being run by the Makefile.
[HTC EVO 3D] kittykat858:
not sure who came up w/ it 1st...

but i been making workqueue's single threaded from when i used to make kernels in my spare time for for pentium pro computers , and how long ago did those come out... far before i even knew of XDA and faux and anyone else on here...

what i do know is: some of the settings in my lag free are ziggy specific, he came up w/ the settings and shared them with me - now that i made my source public, i see them everywhere, with no credit to ziggy or me (credit should should goto ziggy).

as far as the -o2 vs -os thing... if it was me, i would remove the -o2 manual edits, and edit defconfig.

..but since i been told what to do with my opinions more than once today... i will stop here, and work on my sense 4 ICS kernel
[HTC EVO 3D] dimebagdan65:
*in my best superfriends announcer voice* MEANwhiiIIIIiiile...

Wow, my phone REALLY doesn't like 0.5.3! That's at least half a dozen reboots today! Troubleshooting for me in this case is easy... 0.5.1,2 = no reboots since release; 0.5.3 = half a dozen reboots day of install... Bad/partial download? I see others have great success, as have I with past versions. Any thoughts? See sig for exact setup procedure (on top of that, all I did was flash the newer kernels)
[HTC EVO 3D] ch1naski:
So...booted into d3rp ROM after flashing 5.4.

So far, as soon as I opened system tuner pro to check on the kernel, got an immediate soft reboot - straight to the boot animation.

After that, I set the governor to intelli, just to check it out. I -do- have the init.post_boot file edited to 192000 min, and on the 2 phase and min sleep freq, and 594000 max sleep. 1180000 max awake.

So far, so good.

Drama is for queens.

and a pony.
[HTC EVO 3D] ch1naski:
And....

A full hard reboot about 30 seconds street I typed my previous post, i was not even touching the phone. Dammit.

Drama is for queens.

and a pony.
[HTC EVO 3D] dimebagdan65:
Something evil lurks in that extra 1.6mb...! Lol jk, I dunno, but one more reboot on 0.5.3 and I'm back to 0.5.2, which ain't a bad thing really, I just like to stay current, but 0.5.2 was flawless for me!
[HTC EVO 3D] Luthien1:
i have been custom romming for awhile, your rebooting is not the kernel, its you flashing too many roms....you should unroot, go back to stock...replace micro sd card.....stay with stock for a week..Download mean rom, and only update the kernel, not every romversion since most rom versions change with the kernel, which is only to acclimate the kernel change.....unless the rom has been tweaked significantly, which should be provided in op of mean rom...Im sure hell agree with this, its easier to flash a new kernel, then a whole new rom all the time
[HTC EVO 3D] drZuheir:
Had auto reboot with 5.3 :(
[HTC EVO 3D] p3tr0s:
I dunno about all that.... But a superwipe and a clean install might work a little quicker....
[HTC EVO 3D] dimebagdan65:
Riiiight... Been doing this since the Moto Droid 1 and that's the first time I've ever heard that explanation... I can promise you, the SD card is sound, the setup is sound, flashing method is sound, only time will tell, but that's my verdict for now...

And apparently, according to other user feedback, it's not just my phone or MeanROM... :what:

:thumbup::D:beer:

As more user feedback comes in, it looks like 0.5.3 just doesn't play well with some ROM's. Looks like MR 4.3 and 0.5.3 play well together but not MR 4.2 (among others apparently). Again, only what I've seen in my digging
[HTC EVO 3D] P.Mobile:
well i think i mikey found the rite combo mean rom 4.3 and dodava 5.3 kernel thats baked in is best of both worlds.. we have preformance and top notch battery life!!!! thanks u dodava.. your kernel is kick a$$ :D
[HTC EVO 3D] kittykat858:
your joking right???
[HTC EVO 3D] dodava:
Anyone having reboots with 0.5.3 please post what rom you are using, CPU speed settings, and governor in use.

You may also want to try the 0.5.4 test and let me know if it is better. I suspect that some of the gpu changes in 0.5.3 may be responsible for the reboots. 0.5.4 has some additional gourmet related changes which may resolve the issues but I need testers since 0.5.3 runs without issue on my phone.
[HTC EVO 3D] mozman:
I think I speak for many when I say your input and opinions and help are greatly valued. As of those of any other dev that shows support for one another. That is the spirit of xda and for open source projects. Please keep it coming Chad and every other great dev. Whether it is here in this forum our any other forum. I appreciate it and love reading it.
[HTC EVO 3D] ch1naski:
ROM : d3rp r161.

Kernel: 0.5.4

Governor: intellidemand

Speeds: Max 1188000, min 192000 ( edited in init.post_boot, also edited two phase freq to match).

Multiple reboots, 4 times in 30 minutes. Had to restore backup.

Drama is for queens.

and a pony.
[HTC EVO 3D] neopolotin75:
I had issues with Derp and this kernel on several different version of the rom. I know there was a problem with undervolting and this kernel that caused it to loop. When I would install it it would soft reboot once then I would get reboots whenever I changed the voltage even by -50. Ive been on Drops rom with this and have it UV a good bit and havent had any reboots.
[HTC EVO 3D] pstevep:
The reboot issue has been fixed between our ROM and dodava kernel. At least with the builds prior to the newest 2. I had more reboots than anyone, and i haven't had a single reboot all week..
[HTC EVO 3D] neopolotin75:
Schaweet! I'll give it a go again. I love this kernel and the D3rp goodness but It kept giving me fits when I undervolted it.
[HTC EVO 3D] THADDIUS25:
Where is the test kernel?
[HTC EVO 3D] P.Mobile:
few posts back.. dodava posted it.. page 24#
[HTC EVO 3D] dimebagdan65:
In a post a few pages back, search thread for 0.5.4
[HTC EVO 3D] bambamishere:
MeanRom 4.3 for 5 hrs,no problem so far:)
[HTC EVO 3D] P.Mobile:
same here been on 4.3.... 7 hours with no problems at all.. 5.3 kernel is running perfect for me.. havent tryed 5.4 kernel yet.. will test if u need me to dodava.. good looking out on making such kick a$$ kernels!! :D
[HTC EVO 3D] ls430cw:
reboot/battery pull

zr3d

kernal 5.2

intellidemand

1.62ghz

Will try 5.3
[HTC EVO 3D] P.Mobile:
what kernel did u have a reboot on?5.3 or 5.4? i have not had any reboots or problems on any of dodava kernels.. think my phones in love! :)
[HTC EVO 3D] bjevers:
Reboots

I had a couple reboots on 0.5.4 with MeanROM 4.3. Using default settings in init file and I do have ICS w/Leedroid theme installed. I also had a couple with MeanROM 4.2 and 0.5.3. I flashed back to 0.5.2 and all seems to be well again.

My phone is picky though. I always got reboots with Anthrax and Ziggy, zero with stock.
[HTC EVO 3D] P.Mobile:
quess i got lucky with my phone.. think i have had like 3 reboots in the past 8 months.. 2 with anthrax and one with rcmix kernel from the old 2.08 base..
[HTC EVO 3D] egodriver07:
Have had 3 reboots on 0.5.4 so far on Zr3D 2.6A running at 1.6ghz FWIW. All other versions I've never had issues though. Just want to report it. Love these kernels.
[HTC EVO 3D] Luthien1:
no chad im not joking, my theory is that if you change things too much, thought it migth be write in the code, the thermal electromagnetic field could be off, causing loops....maybe im wrong, maybe im write, it comes down to stability. stability is stable is the same, keep changing things become off in the internals. anyways, yes i believe in electromagnetics, bugs can arise from constant manipulation, even if you wipe real good
[HTC EVO 3D] Lrod0175:
I installed 0.5-4 yesterday, so far so good, no reboots. I'm on ZR3D 2.6Anow, oc @ 1296000mhz min @ 384000mhz, interactive governor.

Team 420 Special Blends
[HTC EVO 3D] ch1naski:
What do you mean, "believe in electromagnetics"? It is why your phone turns on and transmits signals....

Quadrants are for sissies.
[HTC EVO 3D] P.Mobile:
i think this kick a$$ kernel needs a kick a$$ name!!
[HTC EVO 3D] banccalif:
+1
[HTC EVO 3D] Leeboy:
Interesting, it's the first time I've ever heard of this theory........:confused:
[HTC EVO 3D] ch1naski:
Is he saying that internal system memory gets corrupt, and the only cure is ruu? Not sure what he means.

Quadrants are for sissies.
[HTC EVO 3D] Leeboy:
I'm not quite sure either, but I do remember some people having issues with corruption when flashing roms on the Epic 4G a year ago and only flashing back to stock and then reflashing their current rom would fix it! He might be on to something, but I don't remember electromagnetic fields having anything to do with it.