yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] xyqtt:
first 2 reboots with 16:

1. I tried camera app, then lock then unlock. And my screen was stuck on only homescreen. Couldn't do a thing. So resetted.

http://pastebin.com/4n0RBRY7

2. I tried camera app and I turned screen off and on again. And upon leaving the camera. Black screen

http://pastebin.com/zg0q31cN

edit: I can recreate this black screen all the time: Just press power button a few time while in camera app. Always results in black screen

edit2: camcorder same problem

http://pastebin.com/Lm6LCFYw
[HTC Sensation] mike1986.:
Thanks given :)
[HTC Sensation] faux123:
1. Camera app is holding the GPU preventing it from falling a sleep, but the way its holding the GPU is not AWARE by kernel, so the kernel couldn't sleep the GPU at all.

2. Camera App is doing something really bad.. causing a memory fault :(

kgsl kgsl: |kgsl_mh_intrcallback| mmu page fault interrupt: 66136469

Don't turn off the screen while Camera App is running :( The HTC Camera app as I mentioned before has its own power saving techniques which conflicts with the kernel. Exit the camera normally (ie, via home or back buttons), then everything will be fine.
[HTC Sensation] Kohr-Ah:
Mine says the same thing. I don't know a lot about schedulers but I believe what this is reporting to you is that mmcblk0 scheduler is running bfq so it is handling 16+ processes while mmcblk1 scheduler will run at bfq if neccessary but at this time is running 3-8 processes as it isn't handling more than 16 (which if it was it would report as bfq).

I am not too sure about this but this is what I think it is showing. Because my init.post also says

echo "bfq" > /sys/block/mmcblk0/queue/scheduler

echo "bfq" > /sys/block/mmcblk1/queue/scheduler

for funsies I changed it back to cfq and it then reported

sys/block/mmcblk0/que/scheduler says:

noop deadline [cfq] bfq

sys/block/mmcblk1/que/scheduler says:

noop [deadline] cfq bfq
[HTC Sensation] fallenangel408:
so i reverted back to b15 only issue was the power camera button whichever i cannot recreate on b15 its working great! what are the changes from 15-16? just curious thanks FAUX123
[HTC Sensation] faux123:
I highly recommend you to install build 16. ALL previous builds have code bugs and memory leaks. I have tested build 16 all day and it's running great.
[HTC Sensation] Sk1985:
was starting quadrant and left to get some coffee. When i was back my phone was in a black screen. Had to remove battery..
[HTC Sensation] PaulGiz:
[Beta 16][ARHD 4.1.4]

No issues with camera at all, took multiple pictures, went straight to gallery. Also took multiple pictures and exited. Both ways of exiting worked fine.

Everything else seems to be working.

Just a note: after I install a kernel, I let phone run for at least 10 minutes, then reboot once. After that everything seems to run better forever.

P.
[HTC Sensation] elvislam:
(2) can be reproduced easily with my phone... :eek:
[HTC Sensation] drms12:
Faux clock don't recognizing cpu speed anymore. So it's don't work now. I'm the only one with that problem ?
[HTC Sensation] TheUntouchable:
No problem here with System Tuner Pro and OC/UV Beater2 :)
[HTC Sensation] faux123:
I can't reproduce this error. I tested this using STOCK 3.5 Sense Camera.

I opened camera, took a few photos, close camera. then screen on/off several times all worked...

BTW, are you using STOCK 3.5 Camera or Amaze Camera Hack?
[HTC Sensation] yungyeh:
OC beater2 works fine here, I don't know if fauxclock works. I had one time the issue you described happened to the oc/uv beater2 because I forgot to wipe cache. I suggest you do a restore, wipe caches and flash the kernel again.
[HTC Sensation] affliction_emrah:
Hi faux,

I havent seen any problem with 15 till now and now time for 16:)

Thanks mate!
[HTC Sensation] elvislam:
I'm using stock 3.5 camera without any hack libs.

Here's what I did:

1. open camera app

2. press power button to turn off monitor

3. press power button to turn it on again

4. repeat the above steps for the second time

5. black screen when i try to turn on the screen
[HTC Sensation] Hawke84:
I can't reproduce either, maybe see if he can use adb to pull last_kmsg

EDIT: sorry talked too soon, opened camera (amaze mod) took a photo, went back to camera, power button, wont boot.

pulled last_kmsg. hope this helps...
[HTC Sensation] faux123:
As I said before, camera app has its own power management. DO NOT turn off screen while camera app is running.

Amaze camera hacks will NOT be supported.
[HTC Sensation] Hawke84:
ahh ok fair enough, im happy with kernel anyway, just thought id help with this guys error, this doesnt bother me at all...
[HTC Sensation] elvislam:
gotcha. it's fair enough, thanks faux.

i attached my last_kmsg in case anyone is interested.
[HTC Sensation] mamdouhn:
thanks faux

any Recommended Settings for build 16 with Android 2.3.4:D ??? please;);)
[HTC Sensation] RADLOUNI:
noob question

hi guys

sorry for the noob question, but after i install the latest kernel (0.0.8), where can i download the apk to set the cpu management profile. Thx
[HTC Sensation] the_scotsman:
http://xdaforums.com/showthread.php?t=505419 :)
[HTC Sensation] aatjitra:
Hi Faux,

I applied version 0.0.7 and the flashlight camera didn't fire up although the setting is always on... but for flashlight, it works...

Maybe this is a bug ?...
[HTC Sensation] RADLOUNI:
gracias

Thanks man, appreciated :-)
[HTC Sensation] aatjitra:
you can download SetCPU (paid) or Antutu CPU master (free) from Market... I prefer CPU Master but that is my preferences... You may choose other...
[HTC Sensation] B-Man2005:
i just have to say that the combination 2.3.4 rom and faux kernel is the smoothest ive ever seen yet.

i dont know what faux does but the homescreen is so much smoother with faux kernel!

maybe faux could investigate what is different from sensation to evo3d that makes the evo a little bit smoother on homescreen than sensation !

maybe he could squeeze the last bit out of the sensation :D
[HTC Sensation] mrg02d:
Both .7 and .8 kernels are causing my phone to crash whenever I try to run a benchmark. I installed right over the mike-faux .6 kernel and have tried using setcpu to knock the clockspeed back to 1.5Ghz. Still no cigar. Any idea what is happening here?

Matt
[HTC Sensation] moviewatch:
Installed the new 0.8 faux kernel

I have android revolution HD 3.0.3

Now screen goes on till htc and then black.. continue doing so

why ?
[HTC Sensation] B-Man2005:
did you install version 06 from mike before ?

you have to install 6 before 8 ... try to find it on mikes site.. i think it has to be on first post
[HTC Sensation] rick@uswirelessla.com:
Here is the kernel
[HTC Sensation] B-Man2005:
sorry ^^....
[HTC Sensation] moviewatch:
ok perfect now my phone working fine and booting.

I flashed 0.6 with deamon ready..

Now I gonna check the overclocking..

thanks !!
[HTC Sensation] moviewatch:
phone started up..

I started Daemon Controller and now

wake min

wake max

nothing no mhz/khz

How to overclock it to 1.78 Ghz. ?
[HTC Sensation] BigBoppa:
I think this is the faux version?
[HTC Sensation] blahbl4hblah:
Did you flash Mikes patch? That's the case from what I read in the thread.

You have to flash the patch 0.6 then faux new release

For some reason i'm not getting smartass or minmax govs
[HTC Sensation] AuxXxilium:
best kernel for sensation. i love it with sensless 2.5
[HTC Sensation] zimphishmonger:
If you've been keeping up with the dual core investigation, it has become the consensus that any dual core script is just wasting battery atm.
[HTC Sensation] BrokenWall:
Only use on-demand, its the only proper governor for aSMP at the moment.
[HTC Sensation] Sdobron:
SetCPU

10 char
[HTC Sensation] ingnarn:
Should i set the screen off profile in setcpu or it is already done by the kernel??
[HTC Sensation] drms12:
Yes I know. Wipe cache partition and davlik cache almost every day now...

Anyway I just had to install fauxclock apk again. It's working fine now.

Thanks !
[HTC Sensation] affliction_emrah:
Faux, i dont know if its placebo but 16 smoother and snapier than 15:)

As i said no experience about wake issue with 15 and will see with 16 now.

Thanks yout effort mate!
[HTC Sensation] Gillion:
Oh gawd. Camera shutsdown system when I don't exit it and left it on my desk by mistake. I don't get it. I think HTC doesn't coordinate or integrate their code. Jesus man.... How can camera overuse power management of kernel ?
[HTC Sensation] faux123:
It's not a placebo effect :D

Build 16 and beyond will be compiled using Code Sourcery compilers which are newer and more optimized than the AOSP tool chain (faster compiling as well, the main reason I am using it to cut my compilation time by 1/4 :eek: )

[ TIPS ]

I have changed the default I/O scheduler to No-Op instead of BFQ.

BFQ may be awesome for reading, but writing performance is a bit slower than both Deadline and No-Op. So I decided to switch over to No-Op for I/O scheduler for better writing performance.
[HTC Sensation] ijob:
Hi faux, I haven't used your kernels for a while, do u still advise against using setcpu?

----------

Sent from the back of Michael Caine's Mini Cooper S, holding on for dear life.....
[HTC Sensation] Gillion:
Ahhh I just saw the warning. Do not sleep phone when camera is active on this kernel. I don't accept this bug. But I can tolerate it till faux fixes it.
[HTC Sensation] Sibbi:
Beta 16 ; ARHD 4.1.4

Running beta 16 since a few minutes and right now it's running extremely well.

Underclocked to 1,08 GHz without any lag.

Great job, faux!
[HTC Sensation] faux123:
[ Geek Talk ]

We can't entirely blame HTC for the Camera App issues. They used a generic kernel which had NO capability to shut down GPU or any advanced power management, so they had to optimized the Camera App with their own ways (Top Down approach) of power management from within the App and the Sense Framework (The Camera App is the HIGHEST battery draining app in the whole system, it can potentially drain over 800+ma while it's active).

Now I come along with advanced power management from the bottom up using the kernel to SHUT OFF devices while screen is off, but the Camera App and the Sense Framework are NOT aware of the new capabilities and so there will be CONFLICT between them.

Since Camera App and Sense Framework are both CLOSED Source, there will always have some conflict with custom kernels.

So TL;DR, Exit the Camera App before turning off the screen in order to avoid power management conflicts and lock ups!
[HTC Sensation] Hawke84:
thanks Faux, quick question, is the code to ensure No-Op is active for scheduler the following:

echo "No-Op" > /sys/block/mmcblk1/queue/scheduler

that right?
[HTC Sensation] faux123:
don't need the quotes and No-Op is noop from kernel's perspective ;) It really stands for No Operations (ie, the simplest scheduler, first come first serve with NO QUEUE, NO Scheduling techniques etc) It is default. So if no scripts changed it (ie, init.d or init.post_boot.sh), it should be the scheduler running...

echo noop > /sys/block/mmcblk1/queue/scheduler

Another Quick Note:

Someone asked for PPP Async Serial and PPP Sync TTY port support, both options enabled and built-in to my ALL of my kernels now :D
[HTC Sensation] elvislam:
oops, that means no luck for any mod for closing the camera app itself when the screen turns off...
[HTC Sensation] affliction_emrah:
As im completely noob about these tech details, i dont get none:) all i can trust is my "sense":)

But thanks for bother!
[HTC Sensation] ifti_a:
[023-build-16] [ROM: ARHD 3.6.3]

this build seems fine but need more time to test

build 15 was giving me a lot of blackouts

build 13 was ok and stable only 1 or 2 blackouts over one day

hope this helps

thanks faux
[HTC Sensation] KAwAtA:
the hell, completely wrong post. Wow, out of it today. Sorry!
[HTC Sensation] PaulGiz:
Mike's init.post_boot.sh has these lines:

echo "cfq" > sys/block/mmcblk0/queue/scheduler
echo "cfq" > sys/block/mmcblk1/queue/scheduler

So I should change to:

echo noop > sys/block/mmcblk0/queue/scheduler
echo noop > sys/block/mmcblk1/queue/scheduler

Is this correct?
[HTC Sensation] Hawke84:
yep correct, either change it or remove the lines totally. ive left them in incase i want to change back.
[HTC Sensation] faux123:
Yes. Your script update is correct. You can do

cat /sys/block/mmcblk0/queue/scheduler

cat /sys/block/mmcblk1/queue/scheduler

to confirm the change and you should see

[noop] deadline cfq bfq

No-Op gives 2nd best performance for reading (after BFQ) and best performance for writing. I ran several benchmarks to convince myself to switch to No-Op default.
[HTC Sensation] cstark27:
[023-build-16] [ROM: ARHD 3.6.2]

Still getting an issue where the phone stays "running/awake". Was getting this on AOSP b8 on Hypersensationv0.5f too.
[HTC Sensation] faux123:
describe in more detail? I don't understand what you mean running/awake issue...
[HTC Sensation] millerman:
Hi Faux123,

Thanks for the new Beta. The vpn Tunnel is establishing now but it looks like no data is moving through the Tunnel. Must be something more to configure in the Kernel. I try to find more backround Information. May be some day it will work. Thanks Anyway.

Ps. No issues with my camera in ARHD 4.1.4

Millerman
[HTC Sensation] Jaglicic:
Random reboots with arhd 4.1.4 and beta 16.

Is it only me?

Edit: first time with lockscreen and new SMS, second with xda app.
[HTC Sensation] TheUntouchable:
Cant change mmcblk1 to noop.. always staying on deadline after reboot :(
[HTC Sensation] faux123:
Random reboot = /proc/last_kmsg.... get that log and paste it to pastebin.com
[HTC Sensation] orangestrawberry:
Links for beta 16 don't work. Anyone know why?
[HTC Sensation] Pikaraph:
[build16][ARHD4.1.4]

I'm having worst battery drain (100-120 mA) than with beta 15 (18-25 mA)... I made no other changes, i cleaned all caches.
[HTC Sensation] drms12:
I changed to noop for both mmcblk. But for the second one it's tell that the deadline scheduler is working. Why ?
[HTC Sensation] Hawke84:
thats strange, reboot and give it some time to settle as all the chaches have been cleared..
[HTC Sensation] TheUntouchable:
Same problem here..
[HTC Sensation] Hawke84:
i think it defaults to this when CPU1 is down, i asked this earlier and someone elses was the same, force cpu1 online and see what its at?
[HTC Sensation] faux123:
I suggest deleting the lines from init.post_boot.sh
[HTC Sensation] drms12:
Try that before posted. Same as before
[HTC Sensation] TheUntouchable:
Same here :D
[HTC Sensation] MarlinFF:
Odd bug: But it might be due to Faux.. If I leave my phone charging with a screen off profile on 192mhz when I finally start using again hours later it sets my normal profile to 192/192 making my phone sluggish as hell.
[HTC Sensation] TheUntouchable:
Faux, which settings have you used while benching with cf? CPU frequ, gov, and so on :D I dont get your scrores..
[HTC Sensation] Hawke84:
No still the same, even with cpu1 forced on its always deadline i/o. I notice a lot of people posting are from ARHD, is there anywhere else in the Rom that could be controlling this?
[HTC Sensation] faux123:
confirmed! Yeah weird, it seemed something in the Rom is forcing deadline scheduler for sdcard...

Deadline isn't too bad... Still better than cfq or bfq for writes
[HTC Sensation] mike1986.:
Could be that it needs to be set much earlier on boot (before sd card is mounted).

BTW faux123 why, tell my why oh dear are u saying too much here? :p:p
[HTC Sensation] nenadr:
It always like that from first ARHD 4.1.x .... Interestingly, I also can't change scheduler from init.post_boot or any boot script, but I can change it from terminal emulator after boot everytime.

Sent with XDA Premium from HTC Sensation with ARHD 4.1.3
[HTC Sensation] nenadr:
No mike :) he is saying just enough for us to learn how our devices work, which is IMHO purpose of this forum ;)

Sent with XDA Premium from HTC Sensation with ARHD 4.1.3
[HTC Sensation] Kohr-Ah:
[0.2.3v16 ARHD 3.6.3]

**Edited: Made changed. Repost later**
[HTC Sensation] MarlinFF:
On my stock TMOUS rom I am getting around 60-100mA drain now with the latest beta 16. No black screens so far and everything is running great. It's underlocked to 1.02ghz with a -100mV and is running speeedy. I hope theres no black screens though! we'll see.
[HTC Sensation] PaulGiz:
[beta 16] [ARHD 4.1.4]

Definitely [deadline] after boot.

Can change in terminal, but won't hold through a boot.

???

Note: not noticeably worse in usage, just funny that it won't hold.

P.
[HTC Sensation] drms12:
Should we remove thermald and mpdecision ?

faux please answer.
[HTC Sensation] faux123:
You can safely remove thermald if you don't plan to overclock. You should keep mpdecision to prevent cpu1 from being online all the time :(
[HTC Sensation] d3vilskid:
Is there a way to get apps to use zram before using regular ram first?
[HTC Sensation] MarlinFF:
Okay I might be getting less mA readings however I just literally went from 97 percent to 80 in by pocket and I'm just sitting in class..

Sent from my HTC Sensation 4G
[HTC Sensation] faux123:
you can change your swappiness but I highly recommend AGAINST it...

default is 60 (range 0~100), but you can change to higher number if your want to swap out more often.. remember ZRAM is slower than normal RAM, so more swapping may hurt performance. If you are just curious, go ahead and play with it.. the value will be reset after every reboot anyways.

echo 80 >/proc/sys/vm/swappiness
[HTC Sensation] KingDavid63:
hmmm on 16 now.. on rcmixv9.. usually i use system tuner and i can tell that my phone goes to "sleep" when the screen is off... now that ive installed b16 my screen has been off a couple of hours and my sleep time is still at "0" i wonder what that's about... cant be good right? what you think faux?
[HTC Sensation] d3vilskid:
Thanks I asked because my phone doesn't use swap efficiently I think as you can see here
[HTC Sensation] PaulGiz:
[beta 16][ARHD 4.1.4]

15 hours on b16, no problems at all. Always wakes up, camera fine, fast and stable.

P.
[HTC Sensation] cstark27:
This is what I meant earlier...spare parts, better battery stats, cpustats all report that my phone is not sleeping.
[HTC Sensation] faux123:
Are you getting worse or better battery performance? There are two types of power management in android, the traditional type and the new early suspend/late resume type. Through last few days, I have found the Android Early Suspend/Late Resume to be much more efficient and saves more battery than the traditional PM. I will have another geek talk post later about the two. If you are getting better battery life, then the so call "sleep" time is irrelevant.
[HTC Sensation] KingDavid63:
not sure will let you know faux.. thanks for quick response.. too early to tell.. let you know... good i think... :)
[HTC Sensation] zimphishmonger:
(v23b16) (bulletproof v14 234)

Running b16 for the past few hours, no freezes, reboots, panics, wake issues :-).

Tiny bit of wake lag, and a strange bug that's hard to reproduce: every once and a while, when u wake phone, it sticks to screen off max frequency.... Not sure if it's a kernel bug or fauxclock bug.

Gpu fraction at 33, 1.2g, 486 mhz screen off.
[HTC Sensation] GideonX:
I've had that happen with and without the betas. Sometimes 384/192 (my screen off) will stick after a screen wake.
[HTC Sensation] faux123:
Talk to romanbb ;) I believe it's an app issue.
[HTC Sensation] MarlinFF:
I've been getting worse battery life

Sent from my HTC Sensation 4G
[HTC Sensation] faux123:
hm.. Interesting.
[HTC Sensation] Hawke84:
Hmm on mine CPU1 isn't always on and I have stop mpdesision in boot script, what does mpdecision do, should I re-enable it?
[HTC Sensation] faux123:
It somehow makes decisions regarding cpu1 :eek: It's NOT open source and I have no clue exactly the algorithm used. I suggest turning it on for now until more info is known....
[HTC Sensation] Sibbi:
Beta 16

My up time equals the active time, too. I calibrated my battery yesterday, so I can't say much about battery. (first load didn't last long, over night with phone in airplane mode I lost 8%)
[HTC Sensation] Sk1985:
Faux,

Have you cloned yourself to a kernel? Because the deep sleep time is always staying at 0:00. Got a battery drain when i was sleeping from 78 to 19% in just 8 hours. I think this is just really bad. Wifi and GPS and other things were off.

The positive thing is that the kernel is running very smoothly.
[HTC Sensation] ifti_a:
2.6.3 beta 16 ARHD 3.6.3

Amazing kernel, battery life very good

Went down 20% (8h) overnight only that being with WiFi on and 3g network active on preferred

I have too.many apps syncing the background

Hotmail

Yahoo mail

Weather Pro

Pulse

All these cause a slight drain too.

Hence my ma are a but higher
[HTC Sensation] faux123:
New CPU governor is coming ;) I called it IntelOnDemand (Intelligent On Demand, original ain't it) :p
[HTC Sensation] TheUntouchable:
Sounds nice :D What are the changes to the old ondemand governor?

Some thought about the cam problem with latest kernel:

Is it possible to terminate the cam app when pushing the power button and going to sleep mode?
[HTC Sensation] Catnap:
AHDR 3.6.3, I think the kernel is the 0.23 beta 5.

Left the wifi on last night by accident; all push/sync stuff is enabled overnight. Looked at the battery graph this morning and it's almost a flat line. I'm amazed.

Cheers faux =)
[HTC Sensation] Hawke84:
i agree, this kernel is really amazing! you should try and sell it to HTC!
[HTC Sensation] cstark27:
I went back to bricked 1.41 for now and will let you know after tonight. But I feel like I am getting worse life. However, my battery drain ma's are down to -30 vs -110ish on bricked. I left my phone off the charger without WiFi on and lost 10% in 6 hours in complete idle. Bricked had me losing 1% in two hours. I will keep an eye on it.
[HTC Sensation] mike1986.:
So... beta 16 is not the last beta? :)
[HTC Sensation] Gillion:
I doubt it.

The little fox has some work to do.

He bit off what HTC didn't chew :P
[HTC Sensation] MarlinFF:
Double post
[HTC Sensation] MarlinFF:
I just lost 40 percent during a 5 hour sleep.. Going back to the 0.22 :{ like some other people said.. Battery drain reading is very low which is great but the battery its actually worse. Hope this can new addressed! no one should be losing 8% overnight in airplane mode

Sent from my HTC Sensation 4G
[HTC Sensation] d3vilskid:
23 beta 16 also getting poor battery life from unplugged at 6am till now down to 64% used to be around 90% with previous kernel. Nothing on just edge and no apps running.
[HTC Sensation] elvislam:
I'm not sure if I'm suffering from battery drain but I lost 30% in 2 hrs while I left my phone untouched.
[HTC Sensation] MarlinFF:
Its the kernel. Stable but it drains battery like hell even though the voltage readings are low. I'm back on 0.2.2 and its great so far

Sent from my HTC Sensation 4G
[HTC Sensation] JayBachatero:
Those of you with the battery drain. Check to see if WiFi calling is running in the background. My coworker had a similar issue that WiFi calling started running on its on in the background and it was draining the battery.
[HTC Sensation] faux123:
WiFi calling app is EXTREMELY CHATTY... it has all of its debugging code enabled and is literally FLOODING the logs with pointless entries. If you have an an like alogcat from market, with WiFi Calling Enabled, the logcat will be completely inundated by it. I wish T-Mobile / HTC would DISABLE the freaking debugging option in that app. It may be preventing the phone from going into deep sleep. Try to disable it and test again to see if the battery drain is less.
[HTC Sensation] Sibbi:
I have no wifi calling apps installed. I don't know what keeps the phone awake. Drain seems good, battery life isn't.
[HTC Sensation] JayBachatero:
I'm fine for now. I have I disabled on this end. My battery drain is a bit high but I flashed the ROM this morning so it's normal.
[HTC Sensation] Hawke84:
Ok I just want to make sure I get what people are saying:

Is it that the battery widget shows low mA drain but it feels like.general life is less?or are u just seeing a high drain?