yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] faux123:
SPAM: if you are going to post that b9 has lag and reverting back to b8.. DON'T... because you are just flooding the thread with useless information.

passive: flash back to b8 in private, don't need to tell the world about it because you are NOT helping!

productive: If you want to participate and help fixing the "lag" in b9, then describe how to CONSISTENTLY reproduce lag and provide some dmesg logs to support the "laggy" conditions.

So the choices are yours. Be productive or be passive.. but DON'T SPAM...
[HTC Sensation] Yank555:
System Tuner will allow setting each of those categories, but don't get this wrong, higher values will start the killing

sooner

!!

Read these settings as :

Start killing apps of this category if free memory drops below xxx

System Tuner also will allow you to see what apps are currently within what category, usefull !!

On this topic, have a read here, it's not too technical and should help clear things up : http://andrs.w3pla.net/autokiller/details

JP.
[HTC Sensation] gurulbn:
Use 008b8 and you will be happy ;) there is something wrong with 008b9, I had exactly the same problem, now on 008b8 everything comes perfectly!
[HTC Sensation] faux123:
I wish sometimes there's a negative 1 button
[HTC Sensation] Rajan_96:
Whenever I try updating the Kernel to a 008b# version, it never seems to update the kernel. I run the script in my recovery and it says it's finished, but when I reboot and check the kernel in 'about phone' it always shows up as the kernel I was running before. I'm running ViperS 1.1.0 with 3.32 firmware. Could anyone help please?
[HTC Sensation] HunnyBearLewis:
Is that due to the fact they didn't support the claim with a log or because nothing is in fact wrong with 8b9? Naturally, the first one makes sense by default but just curious...
[HTC Sensation] PaulGiz:
Still no issues with B9 for me. No lags, no reboots, no sense resarts.

P.
[HTC Sensation] zedrix53:
same here sir but one thing i noticed.my phone just shutdown when i was in 7% battery life im using web browser.i was expecting that it will shutdown in 4 or 3% battery life.do i have a battery problem?i have battery% fix when it happen

and also sir can u give me the link of sense 4 keyboard that work in sense 3.6.thanks sir
[HTC Sensation] joaquinf:
Here is the link :)

Double check 3.33 base compatibility first
[HTC Sensation] zedrix53:
thanks it works fine to me

one more do u still have the original arhd 6.7.0 XE file that was uploaded by mike i accidentally deleted it in my file.thanks
[HTC Sensation] joaquinf:
Unfortunately not. Try asking on the ARHD thread as your question isn't related to this kernel :) you are more likely to get an answer there. I'm sure someone else have it.
[HTC Sensation] nikei:
happened to me before. try to enable Smartflash before flashing the kernel. :)
[HTC Sensation] joaquinf:
meh .. when i have time to test. It does not lag as before when i was in the middle of a quality assurance audit :( anyhow .. here are those cherished log files :p

Phone setup details are in my signature. zram is enabled, no uv, non-aroma version, ondemand governor (384 MHz; 1,5 GHz)

I hope this could be somehow helpul. Please faux or yank let me know if i can do something else
[HTC Sensation] xgnesh39:
How to disable the second Core as I am using Faux 123 Kernel 008b8 v5. I checked in system Tuner, it says CPU0 & CPU1 are online..
[HTC Sensation] framir:
Where I can find this log on my phone?

Thanks
[HTC Sensation] TheUntouchable:
That's by design..

Intellidemand Governor tweak:

Introducing Smart Core Management :D

Automatic offlining of 2nd CPU core while Screen is ON.

Scenarios:

1- While Screen is ON > 3 min, and average load of the CPU is < 35%, then CPU1 will be taken offline.

2- While Screen is On, if average CPU load > 35%, CPU1 will be Online and both CPUs max frequencies will be limited to 1.13 GHz Max

3- While Screen is On, After both CPUs' Max is limited to 1.13 GHz, when the average CPU load has dropped down to less than < 25%, then both CPUs Max freq will be restored to 1.51 GHz Max (then go back to scenario 1).

-- for 3D Games or GPU intensive apps, both CPUs's max frequencies will be restored to 1.51 GHz and both CPUs will be online.
[HTC Sensation] joaquinf:
I've found this searching the web :p

This also can be done via adb shell
[HTC Sensation] faux123:
Thanks for the logs, I don't see anything unusual jumped out at me from the logs.... Everything looked normal...

I really need the logs during the laggy times so I can see what is causing the "lag" that I never experienced...:(
[HTC Sensation] TheUntouchable:
Do you only need the kernel log or logcat too?
[HTC Sensation] jyo1:
Though I don't feel any lag, attaching the logs from my phone in case it helps to identify anything that can improve this great work. Using 008b9 with ARHD 6.7.0. ZRAM disabled, and hard swap enabled with 256MB swap on SD card. Sweep2wake disabled.

:)
[HTC Sensation] joaquinf:
I know buddy ... but that was better than nothing :(. On the other hand i'm glad the phone isn't lagging anymore. Will try to stress it to the max today and will provide more logs if the lags or unusual behaviour occurs :) Did i provide the correct files? are they ok? do you need anything else?

Thanks for your patience :highfive:
[HTC Sensation] joaquinf:
MOAR log files :p

Finally could caught the phone in acting weird and i got some good (i hope) log files. Same setup as described a few posts ago but with intellidemand governor this time. I also got this "Processs com.htc.bgp is not responding" when trying to mount the sd card to transfer the files to the pc. (screenshot attached in the .zip)

While being in this "lag state" it tooked around 7 seconds to actually change to a different screen after swyping. That bad was the delay :( the phone wasn't responding at all inmediatelly

EDIT: apparently is back to normal without the need of a reboot. I hope you can get to the root of this :) ... i think im going to bed now!

EDIT2: wow .. back to lag in a blink of an eye :( opening a contact from people widget took me around 12 secs :( after that normal again :eek: :confused:

EDIT3: just checked setcpu and notice that more than 48% the cpu is @max speed which isn't very usual with intellidemand governor

EDIT4: also sudden signal drop got caugh in-fraganti :p

EDIT5: please take a cup of good colombian coffee if you can :) Juan Valdez says this is your confirmation number: 0U75982989195063U

off to bed now! c ya

take care
[HTC Sensation] yazzabo:
Is it normal that i have Costantly Both core online with intellidemand governor??
[HTC Sensation] TheUntouchable:
You dont have read the last view post, didnt you?!

@Faux: Perhaps its time to update the front page, lots of informations are missing or outdated or at the wrong place :D

---------- Post added at 09:51 AM ---------- Previous post was at 09:34 AM ----------

Sadly this is a german article, but it's mentioned there that in the kernel 3.0.39 changes on the memory management were made, perhaps that is our problem.

http://www.golem.de/news/kernel-leistungssteigerungen-fuer-linux-3-0-und-3-2-1208-93608.html

More information about the changes here:

http://thread.gmane.org/gmane.linux.kernel.mm/82854
[HTC Sensation] chrisw99:
I've been away for a few days and installed b9 before I went. Everytime the phone had been idle for a few hours, e.g. first thing in the morning, when I turned the screen on the phone was unresponsive for about 2-3 minutes. If I tried to slide the rosie screens, they would take 30 seconds to move. This happened every morning with b9. I put b8 back on for the last couple of days and everything is fine again.

Settings were identical with both installs.
[HTC Sensation] joaquinf:
Check this: http://xdaforums.com/showthread.php?p=29869822
[HTC Sensation] TheUntouchable:
Known problem, can you please provide kmsg logs when this lags occur so faux can fix it? (if you want to go back to b9 for this)
[HTC Sensation] yazzabo:
Yes i've read and after an observation i see tha mi cpu1 doesn't turn offline after 3 min screen on with pesa than 35% usage!!!!!!
[HTC Sensation] Yank555:
offline <> disable !!

offline is deep sleep

disable is "switch that right off" (the core would dissapear in the lists)

mpdecision will disable a core, governors will put it to deep sleep.

JP.
[HTC Sensation] TheUntouchable:
Can't confirm your problem, my cpu1 is going offline after 3 min and average >35%. The high cpu consumption on the screenshot is caused be the screenshot itself.
[HTC Sensation] Yank555:
Exactly, good example !

Would it get disabled, the whole line "CPU1" would dissapear, as if the device had only one physical core.

That is the difference ;)

JP.
[HTC Sensation] TheUntouchable:
Thanks :)

Some info about the lagging thing.. Just back to b8 to test a little bit.. Got lots of lowmem warnings from the kernel too, but somehow the ram is managed much better so i don't get any lags with it and the free ram is always about 100-150 mb.
[HTC Sensation] zooster:
Faux, here I get all the time the same issue. when a core goes offline never comes online.

I flashed arhd 6.7.2 so the kernel is not touched beside -37,5 of undervolt.

After the core goes offline and never wakes up, to get it online I have to force all the core online.

Plus this time I noticed that after a while it lagged again and what was it..? Simply that both core were online yes, but they both were strangely clocked at 810 without I touched anything!

Here the screenshots.
[HTC Sensation] yazzabo:
I colse all app and i retry my test and all ok...core turn offline after tre min with average<35%!

Thank U guys!
[HTC Sensation] PeeHoo:
Hmm... No swap partition. Cannot use hard swap. How I make that correctly without losing any data from my sdcard. Ty!
[HTC Sensation] Yank555:
1) Backup data on your SD card on your PC

2) Use Minitool Partition Wizard (Link) to partition

3) If necessary restore data to your card

4) Reflash Aroma kernel and choose Hard Swap = yes, zram = no

JP.
[HTC Sensation] ianoob:
Just wanted to update. After messing around with 8b9 Yank v2 without v6 supercharger, no lags and my scripts are working normal.

192-1.62

702/1.02/1.18 off/one/two

Hardswap, uv 50, soft usb, s2w disabled
[HTC Sensation] Saml01:
Does this capture information leading up to the incident(crash, lag, etc)? Is there anyway to use Catlog to capture the same information?

---------- Post added at 09:05 AM ---------- Previous post was at 09:02 AM ----------

This is interesting.

I have something similar but not exactly. I noticed that sometime after idling for a long time, always happens during the night, the phone disables the 4G data. I cannot tell if this is intentional or a bug. Its a good idea if it is intentional.

---------------------

I also have developed another very interesting issue. Before, after an hour or so of streaming via bluetooth, completely at random my bluetooth would freeze. I would have to restart the phone to get it back but the phone was otherwise usable. Now my phone actually reboots, not fully it seems since comes back much faster than a normal reboot and the bluetooth is still frozen.

Will the procedure outlined above for producing the log capture enough information to investigate the cause if I run the commands after the incident?
[HTC Sensation] Yank555:
Wow, well not seen this yet ?! Looks like unpackbootimg can't unpack your boot partition ... starting there, it will be impossible to replace the kernel in there, thus no new boot.img can be generated ... but where does this come from ???

And the CMDLINE does look pretty scary :(

JP.
[HTC Sensation] TheUntouchable:
Doesnt have this something to do with unsecure and secure boot image? :confused:
[HTC Sensation] Yank555:
Possible, never played with a secure boot.img ... but the commandline sure looks like it needs decrypting :eek:

JP.
[HTC Sensation] jlevy73:
Actually any Rom without heavy modifications to it will work fine. I used it with Energy and bulletproof without issues.
[HTC Sensation] zimphishmonger:
problem is most people haev NO idea what roms have heavy modification or not, so its a good step for most to just flash the stock kernel. No harm could come from it (although its not hard to recover from a boot loop either). The issue is a LOT of people are using modded versions of Fauc's kernel and they may not have any idea

EDIT: Currently running NoHz version and its FLYING :) Stable, snappy and not hot atm
[HTC Sensation] jlevy73:
As an update to the OP, setcpu works fine. If you are benching you will notice that you cannot set min and max at the same level. Can't figure it out even though adb says cpu1 is running @ max speeds. :eek:
[HTC Sensation] jlevy73:
Good point.....
[HTC Sensation] BigBoppa:
Ah, thanks, yes, like the v0.0.6 thing but vice versa...:D

I understand, just booting...

UI is FAST LIKE HELL!
[HTC Sensation] kickdrum74:
Running 0.1.2 N 1.5 GHz now...so far so good...this freakin thing flys...kick ass work dude....what is the difference between N and J? StockGB 2.3.4
[HTC Sensation] jlevy73:
jrcu ==> joe's RCU, put all garbage collection to 1 single cpu (slow time consuming process), the other cpus are free to do more important things.

Fast NoHz ==> Our kernel is using the new tickless design, so this RC matches the kernel more closely.

Explanation courtesy of Faux123
[HTC Sensation] zimphishmonger:
Def worthy of a edit to the OP so this thead doesn't get riddled w/ the same question
[HTC Sensation] faux123:
Copied from my PM to testers :D

Jrcu limits garbage collection to 1 CPU, supposedly designed for aSMP, architecture, may be a good match. Fast NoHz is a variant of rcu designed to work with a tickless kernel design like ours. So I am not sure which is better, let me know...

jrcu ==> joe's RCU, put all garbage collection to 1 single cpu (slow time consuming process), the other cpus are free to do more important things.

Fast NoHz ==> Our kernel is using the new tickless design, so this RCU matches the kernel more closely.

Both are better than standard RCU, so i can't decide which one to release... Test it and let me know which one is working better for you.
[HTC Sensation] zimphishmonger:
So far Fast Nohz 1.56Ghz is fantastic, besides the screen capture not working (it takes a capture, shows the capture toast message,but the pics are always corrupt). Will report back with more long term feedback. Thanks again!
[HTC Sensation] |Melvin|:
Yo faux you did it again man, nice kernel brother. Combined with my ROM THE BEAST and if my rom flied before, now its unbelieveble.:-D :-D :-D speed
[HTC Sensation] Lakeshow423:
Do we always have to flash the thrmal configurator everytime we flash diffrent kernels from faux? The J kernel is running sweet fauxy! Thanks again!
[HTC Sensation] kickdrum74:
Ok thanks a lot for the info....thanks again to faux123 and everyone affiliated with the development of this kernel. You guys rock!!!
[HTC Sensation] raycaster3:
Confirmed to work on superlite 1.4 after flashing stock kernel first. Letting it settle right now. I'll report back in case anyone else here is using superlite.

Almost forgot I'm using the "j"kernel right now.
[HTC Sensation] mrg02d:
Okay, so for us mortals, what does that mean? What difference would there be between the two? Or, what would we notice while rooting and tooting on our phones?

EDIT: Tried to flash one of the v12 kernels.Bootloop. ARHD 3.0.4. I need a stock kernel, right? Any link to one?

Matt
[HTC Sensation] piimp:
so installed .1.2 (1.56)but when i look at thermald.conf the highest action speed is always at 972000(which means its heavily underclocked?) shouldn't the highest number here be 1188000? or do i have to manually edit this

Edit: or I'm guessing these values are from the stock kernel and is what was preset. So if I don't add the 1188, does that mean it would b sitting at 972 and then jump straight to 1.56 when needed?
[HTC Sensation] zimphishmonger:
LOL in the addon / kernel section of the OP *rolls eyes *
[HTC Sensation] marcos600rr:
Im using the fast noh and notice with cpu master that it changes freq all by him self first he sets up min and max 1.1 and few minutes latter ive check and min and max was at 1.5 wtf ive tryed to change min to 192 but changes it self back to the same number of the max frq

SENT FROM MY HTC SENSATION 4G USING INSERT COIN ROM BY BAADNEWZ XDA PREMIUM APP T_MOBILE PUERTO RICO :)
[HTC Sensation] acessford101:
when trying to flash kernel 0.1.2 ondemand 1.56 i get the following

assert failed: write raw image temp/newboot.img

E: error in the file name

status 7

and then it aborts it.

trying to flash it over stock kernel after i cleared the cache and dalvik cache

any ideas? ive even tried toggling the sig
[HTC Sensation] bskim23:
I was waiting for HTC to release kernel source. Damn didn't expect you to work this fast faux! And I'm AMAZED at how much more smoother it got! And I thought it was smooth already! Thanks for your hard work! Will always be a highly respected dev to me! Running MT_4S since I like running the stock tmous rom over the others right now with your NoHz 1.56 kernel. BLOWNAWAY!
[HTC Sensation] zooster:
Nope, something is really wrong with b9... Since the second core was always offline I uninstalled system tuner and reinstalled last version cleaning all data. But after the reinstall it was still offline so I set the governor on performance and it was still offline. Then I tried a CPU intensive app like nenamark 2 just to see if the second core would come online, and, with my big surprise, after the benchmark (that got a ridiculously low score) not only the second core was still offline, but also the first core self downclocked at 810, despite I previously set the frequency at 1.5 and the governor on performance!
[HTC Sensation] nDman.sk:
i finde this on miuiandriod forum. I'll go to test it. I will report the result here.

http://miuiandroid.com/community/index.php?threads/17484/

Sent from my HTC Sensation 4G
[HTC Sensation] faux123:
If you change governor while intellidemand turned off the 2nd core due to low loads, NOTHING in the system will ever turn it back on again.. This is WHY I kept saying DO NOT USE CPU profiles.. because it INTERFERES with intellidemand and other optimizations...

From you posts, the lag are due to CPU profiles and/or user intervention messing with governors which caused conflicts within the system. Intellidemand is designed as set and forget... NOT MEANT to be fiddled with by Profiles and/or user interference....

Also 810MHz means you have set one of the parameters incorrectly to 810MHz on intellidemand so when you switch to another governor, it gets all hosed up....

lmf_active_max_freq and lmf_inactive_max_freq MUST be the same value for intellidemand to work properly...
[HTC Sensation] nDman.sk:
this worked well :)

now i have Faux kernel :D
[HTC Sensation] UnixSlayer:
Took these logs a short time ago today when the lag was really unbearable. It took me 20 minutes to create, and attach these to this reply. This is how bad the lag became. It might have to do with memory drop. Usually my memory is around 150mb when using Faux's kernel. With 08b9, it was dropping as low as 50mb. I am re-installing 08b8 until more info is available on this. I hope this helps Faux.

EDIT: I have no other mods installed. This installation I am using is just ARHD 6.7.2 XE, and nothing else. I'm back on 08b8 now, and everything is running like it should.

EDIT II: I've been running 08b8 for an hour now. Everything back to normal. Memory hovering around 150 to 160mb. It's got to be a memory problem. 08b9 was dropping the memory down to 50, and sometimes 45 mb.

EDIT III: No profiles were touched, or changed. I don't use SetCPU. I use Super Tuner Pro only to view if Intellidemand is in use, and to view the CPU speed. No changes whatsoever are made with this app.
[HTC Sensation] hamlet2000:
Hey faux, i'm on 008b9 v2 aroma and everything is fine with arhd 6.7.2. Thanks for your work.
[HTC Sensation] PaulGiz:
I've given up on explaining IntelliDemand. People are just so used to fiddling (because we had to once upon a time) and Profiles (because, well, you know), they just can't leave things alone.

I am running Faux (not Mike) default values, B9 on ARHD and I have no issues, no stalls, no lags and 135mB free most of the time.

The problem related above has nothing to do with the Governor or Kernel. CPU1 has to be online in order to modify its parameters.

P.
[HTC Sensation] juancubo:
Faux123, with all due respect, and to avoid further confusion, I think you just made a typo mistake in your last paragraph, lmf_active_max_freq and lmf_inactive_max_freq are not meant to be the same value as I have seen in this script you uploaded for the ones who likes 1.2 top freq.

Probably you meant lmf_inactive_max_freq & scaling_max_freq, or lmf_inactive_max_freq and two_phase_freq, should be equal.

#Intellidemand
echo 1188000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1 > /sys/devices/system/cpu/cpu1/online
echo 1188000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

echo 1 > /sys/devices/system/cpu/cpufreq/intellidemand/io_is_busy
[COLOR="Red"][B]echo 1188000 > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_active_max_freq
echo 918000 > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_inactive_max_freq[/B][/COLOR]
echo 918000 > /sys/devices/system/cpu/cpufreq/intellidemand/two_phase_freq

By the way, I am currently in 008b8 without any problems related to kernel. your "Set and Forget" governor is working wonderful, you should probably change the name of it.
[HTC Sensation] Catpoule:
memory issue ?

hi guys, having problems with memory.

i am running elegancia sense 4 and since i have flashed b9 aroma by yank555, i get low memory.

i only get around 60mo ....

i used to get about 170 mo on b8 ....

any help please ?
[HTC Sensation] faux123:
they should be the same... if I typed what you quoted, them I was wrong... copy and pasted...
[HTC Sensation] juancubo:
Faux,

This is what you typed in your first post. The Yank555 and your script suggest that this two above are "NOT set to the same value".

Sorry Faux but I don't understand this last explanation.

My current settings are in the signature, if you find something wrong, just let us know so everybody can set it up right.
[HTC Sensation] q9650:
I am currently running b9v2 and i CAN'T confirm any memory issues with smartdroid berserk rom :) i think that sense 4 is bull**** at memory management anyway...there is no multitasking since sense 3.6 anymore ( www.androidcentral.com/htc-speaks-sense-4-multitasking-and-memory-management ) I wouldnt blame it only at the kernel guys... Did someone check the lowmem values?
[HTC Sensation] faux123:
Thank you very much! Greatly appreciated!
[HTC Sensation] TheUntouchable:
Just to let you know that USB OTG is finally achieved

sebastianfm1.5.1

http://xdaforums.com/showthread.php?t=1820375

Changelog:

v1.5.1

Enabled USB OTG.

Added NTFS support.

Added SCSI.

Added USB Host.

Added USB storage and USB storage drivers.

Fixed /system/etc/vold.fstab.
[HTC Sensation] zmfl:
YES!

Sooo, do I even need to ask the obvious question? :D
[HTC Sensation] fragargon:
Hi Faux,

I m currently running ARHD 6.7.2 with faux kernel V008B9 (kernel settings design by mike)

gov = ondemand

pcu0 and pcu1 = 384mz/1512mhz

3D gles=266hz

I experienced lags - not that huge - I m not complaining, aware by the OP...

here is a zip file with logcat and dsmeg.

thks
[HTC Sensation] q9650:
Usb otg needs also to be supported by the rom, that is the reason show-p doesn't implemented that feature yet

(maybe faux too?)
[HTC Sensation] TheUntouchable:
If you read the thread i linked above you will see that there is no need for something in the rom (sebastian only made changes in /system/etc/vold.fstab when flashing his kernel to automount the usb device). But you will need a Y USB Kabel or an activ USB HUB because the Sensation cant provide the power over the usb port for the usb device.
[HTC Sensation] Saml01:
This also explains why you only allow changing of the inactive max in the aroma installer which I am assuming automatically sets the active max to the same value?