yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] M.C.R.:
Hey.

Sorry for that noob question. I have rooted Sensation with stock ROM and 2.3.3 Stock Kernel.

When I install Faux v0.21 over Clockworkmod i get Rebootloop.

What went wrong? Or is it not possible to install on Stock ROM?

Thanks everbody
[HTC Sensation] immunityx:
Have to flash a rooted Rom like the tmobile 2.3.4 deoxded rom
[HTC Sensation] TOMWALK:
Not too bad! This is with beta 10 after 3.5 hack on InsertCoin 3.3.3 (Android 2.3.5/Sense 3.5). Running very smoothly so far. I haven't found anything funky yet, and I can't report on battery life yet. Will do that tomorrow. Looking good, Faux!
[HTC Sensation] BigBoppa:
I don´t know how authentic the values are, but it looks very nice!

standby with faux0.2.2-10, wifi on:
[HTC Sensation] umd:
I solved this by increasing mhz step using SetCPU. Set it as 30% now it's good.
[HTC Sensation] heyjoe66:
can anyone tell me, what exactly strange behavior should I expect, if I'm gonna use 22-beta-10 on ARHD362 with Sense 3.0 ?
[HTC Sensation] -juanito-:
i just installed faux clock and is there no conservative !! just ondemand & performance

AR HD 4.1.3

Faux 2.2 beta 10

3.5 hack
[HTC Sensation] ClydeB1:
On my setup (Energy 16/10, 3.5 hack and faux v0.2.2 b10), I have Ondemand, Powersave, Conservative and Performance options on the CPU Control screen with Fauxclock. For GPU Control I only have Ondemand and Performance. Are you sure you aren't on the wrong screen?
[HTC Sensation] kdm06:
Battery is excellent so far. Chichi tec 1900. The best I have ever got from it. Still over 30% left at 15 hr automatic screen brightness. No power saving in sense arhd 4.1.3 22. Build 10.
[HTC Sensation] davedes:
Do I need to uninstall daemon controller after installing fauxclock?
[HTC Sensation] davedes:
Do you use different clocks when the screen is off with the above settings? If so what would you recommend setting it at?
[HTC Sensation] Hawke84:
how the hell did u manage that on 4.1.3?!
[HTC Sensation] Kohr-Ah:
[0.2.2v9 ARHD3.6.2]

I dont know about Sense 3.5 (want to convert but dont know who to try) but for ARHD3.6.2 I use MIN 192000 MAX 384000 Conservative and have no wake issues.
[HTC Sensation] faux123:
It's up to you. I would set it 500~700MHz range max and min of course at 192 MHz. Play with it and experiment yourself.

That's why Android is >>>> Apple, because you can tweak and customize to whatever fits you (not 1 size fits all such as iOS :D )
[HTC Sensation] orangestrawberry:
Oh and using daemon beta

Running beta 10, ardh 4.1.3, max clock speed, performance governer, amaze cam, mikes boot script and all working extremely well with very good battery

Thanks faux for the genius kernel
[HTC Sensation] Sibbi:
I've my screen of settings at max 384 and the phone is working flawlessly.
[HTC Sensation] heyjoe66:
does amaze camera works with fraux kernel?!?
[HTC Sensation] Hawke84:
Yes but not all modes, anything requiring ZSL (zero shutter lag) won't work, ie burst. U just get dc. Everything else works well. Nandroid n try it :)
[HTC Sensation] sinisjekkt:
My god what a smoothness!!! I flashed 3.5 hack, then Beta 10 in arhd 4.1.3 and it is like i have two more cpu cores running :) and that with 1.35 GHz! nothing stuttering or laging around! You are awesome sir!
[HTC Sensation] Hawke84:
u do have 2 cores running now, something in the hack forces the 2nd core online full time rather than coming on when the 1st is off ;)
[HTC Sensation] salman saso:
I need a little help

First Thank you faux for Your hard work as always.

secondly I read about 10 last pages and I do every things deleting

and modifying script etc. ...

bur still I can't make fauxOC work

when I run the program it force close. Iam allowing it in superuser

but it force close when I enter again it need permission for superuser and keep forcing

Can anyone please help me.:confused:
[HTC Sensation] faux123:
uninstall superUser. You have been bitten by this SuperUser automatic update FC bug... SuperUser is Evil. It auto updates without your approval :(
[HTC Sensation] kdm06:
So the same settings as my previous post. By far the longest I have gone without a charge and I am not sacrificing anything with regards performance or frequency of use which is moderate. And I still have 15% but crashing now so going to charge overnight. The phone is actually way responsive at these settings than it ever was on stock. You and Mike have solved one of the biggest issues I have had with this phone and that is the constant nag that I should plug it in for a top up or restrict the amount I use it for fear it won't last the day. This was a busy day but no problem. Thanks a lot both of you.

Edit: the crashing was me not the phone. Poor choice of words.

The time was over 18 hr no charge with 15% left. Image wouldn't upload.
[HTC Sensation] salman saso:
Thanks :D
[HTC Sensation] heyjoe66:
and uncheck "automatic update" from it in the market app

found a little misbehave

i'm using "wake by volume" feature, and now it wakes from deep sleep only on second press

while device not in deep sleep yet (only screen off), it lights up on first button press

arhd-362 22-beta-9
[HTC Sensation] TOMWALK:
You have to keep an eye on this. Superuser hijacks your auto update preference.
[HTC Sensation] Shroomster:
What does it mean if there is no spot to allow/disallow automatic updating for SU in the market page?
[HTC Sensation] zimphishmonger:
I don't think this is included as faux doesn't like both cores forced online... It's a waste of power. I can certainly force both online urself but the sense 35 hack doesn't include it
[HTC Sensation] fallenangel408:
here u go my friend the usual conf#28K65177D67115404 im particular to ur work since ur in california as well :)

anyone have opinions which ver runs best on 3.6.X? ive been using my other phone with 4.1.X but dont like how its not official release so things are still not as SOLID as the 3.6.X builds, though 4.1.X ran great with v10(tested .2-.10) when i installed v10 i did a fresh install of 4.1.3 and then before reboot id install v10 without the hack and it worked great but missed the 3.6.X :D so im a little behind on whats best for 3.6.X version thanks guys! :D
[HTC Sensation] remus82:
Try beta 9. Works great for my 3.6.2.
[HTC Sensation] Kohr-Ah:
Same. 0.2.2 v 9 with I/o set to 50 and init.post changed from cfq to bfq and I couldn't be happier.

Ill try 3.5 when more stable

Sent from my HTC Sensation in UR-Quan subspace.
[HTC Sensation] fallenangel408:
thanks guys will try that now :) i hit the button!

*didnt see a signature on either of ur pages are u 2 running revolution 3.6.X mike1986 roms? thanks
[HTC Sensation] remus82:
Yes, 3.6.2 ;)
[HTC Sensation] -juanito-:
guys..i don't see conservative governer!! just ondemand & performance for CPU

beta 10 with 3.5 hack and latest fauxclock
[HTC Sensation] Kohr-Ah:
[0.2.2 v9 AHRD 3.6.2]

Yup. 3.6.2 with 0.2.2 v 9 with Mike's init.post with the changes to cfq to bfq and rest I tuned via fauxclock

(Also added signature for clarification now on :)

ROM: Android Revolution HD 3.6.2

Kernel: Faux 0.2.2 beta v 9 (384Mhz/1.2Ghz)

Radio: 10.58.9035.00U_10.15.9035.02_2

Recovery: CWM
[HTC Sensation] jerrylzy:
Well according to my test i found deadline io won't force cpu1 online,actually if you removed mpdecision from system/bin your cpu1 will be forced online and even with max speed.But i still recommend to use bfq because of better performance and battery.Remove thermald is not recommended because it will low your speed down if your cpu is too hot..And the reason for rebooting is zcache enabled.So faux i suggest that don't enable zcache until it won't cause rebooting :) Sorry for poor English

Sent from my greatest Sensation 4G
[HTC Sensation] faux123:
Up on further examination, mpdecision is really bad. It fights the kernel governors, so it's a tug of war between the CPU governor and mpdecision. IMHO, I believe it is better to let the kernel manage the CPU rather than relying on mpdecision (a user space binary which we don't know what it is doing).

thermald is another user space daemon that is questionable in trying to manage the CPU clocks. The problem with thermald is that it forces CPU1 to be online then it injects the clock speed as defined in /etc/thermald.conf. Instead of letting the built-in kernel PM driver kick in, it sometimes forces CPU1 to stay on at those specific frequencies which actually contribute to heating up the CPU even more.

In general, relying on user land daemons to manage kernel behavior is not good, and lately I have seen many user land control daemons either got merged into kernel drivers or the code has been re-written such that the control interface is much easier via sysfs interface and with better default parameters requiring less user tweaks.
[HTC Sensation] jerrylzy:
Yep i believe managing cpu by kernel is better.Wait for your nice work:D

Sent from my greatest Sensation 4G
[HTC Sensation] faux123:
Kernel 022 is official... Have FUN :D

Kernel 023 Beta build-01 will be out soon... :p
[HTC Sensation] orangestrawberry:
Faux,

With your kernels, what is the dummies guide to disabling mpdecision and thermald? BTW beta 10 is great, is latest kernel different? I am using 3.5 hack as well as mikes init script with his 4.1.3 rom

Many thanks
[HTC Sensation] v11lemans:
Hi Faux

i upgraded to GB 2.3.5, can i use the latest kernel version?

Thanks
[HTC Sensation] theraver:
is the official version for 3.0, beta 9?

i'm still using beta 2
[HTC Sensation] orangestrawberry:
Check op
[HTC Sensation] trail1091:
Great! waiting for this for soooooo long~!
[HTC Sensation] heyjoe66:
arhd-362 22-beta9

i wasn't having cpu1 forced online after i'm flashed the kernel, i've double checked that

then i've noticed that it's needed to delete mpdecision and thermald, so i did, but didn't check the second core after that

but i did now, and now it seems to be forced online

update:

restored mpdecision, and cpu1 is not forced to work anymore

freedom to labor!
[HTC Sensation] stanny2k:
w00t!

Ok. I'm running ARHD 4.1.3 (Sense 3.5).

I've downloaded the following:

Install 3.5 Sense Hacked Libraries (Camera->Burst Mode will FC) FIRST if you are using STOCK kernel for 3.5 Sense ROM.

[ CFS-zcache enabled ] (Extreme Edition)

The File ==> Sensation Kernel 0.2.2 (1.78 GHz) <==

Just to confirm, theres nothing else I need right?

Just install the Sense3.5hack then the Kernal & I'm ready to go?

Cheers!

---------- Post added at 11:11 AM ---------- Previous post was at 10:32 AM ----------

Well I just went ahead and installed these..

Run a bench using CF Bench & got an overall score of 7655

Smashed any score I've ever ever had!!! Get in there!

Awesome work Faux. I may try FauxClock now and try undervolting it to save a bit of battery drain. I always had problems using FauxClock as it made my phone really laggy.

Im using DeamonController at the moment...

---------- EDIT ----------

I've just installed FauxClock.

Changed the volting to -75

Changed the GPU IO to 50

Run a bench mark using CF Bench and got a result of 7994

BOOM!

Highest I've ever got and I think its the highest I've ever seen!

Im stunned. This is amazing!
[HTC Sensation] eisteh:
0.22 is such a fine release and yet you are coming up with even more great changes already :)

Do you actually sleep? ^^
[HTC Sensation] -juanito-:
please make GPU turned off if screen off in v0.2.3
[HTC Sensation] jerrylzy:
Hi faux!I wonder if you can tweak conservative governor by rising up_threshold for screen off and ondemand for screen on:)Because i think it is not the best way to save battery by using conservative governor with 50 up_threshold:D I am using ondemand min 192 max 1512,0.2.2 final kernel and i haven't seen battery drain:D

Sent from my greatest Sensation 4G
[HTC Sensation] faux123:
Actually all the governor settings can be tweaked by yourself via sysfs interface. You can adjust all those settings you mentioned easily. Isn't Linux wonderful :D
[HTC Sensation] remus82:
Yes Linux rocks! =D
[HTC Sensation] davedes:
Stupid question but where is the link for 0.2.2 final?
[HTC Sensation] Astug:
I love 022, great work! Would you consider releasing a seperate kernel with all your features except no overclocking? That'd be awesome, because now I have to set it to 1.18ghz after every reboot because it's hardcoded in to the kernel to go to 1.56ghz. Obviously it's not a big deal, just asking. ;)
[HTC Sensation] faux123:
You can edit /etc/init.post_boot.sh and put the following lines in it :D

echo "-75000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

echo 192000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1350000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo 1 > /sys/devices/system/cpu/cpu1/cpufreq/online
echo 192000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo 1350000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

echo 50 > /sys/devices/platform/kgsl/msm_kgsl/kgsl-3d0/io_fraction

The above under volts by -75mv, change max OC to 1.35 GHz and GPU I/O Fraction to 50. You can use it as a template and change them to the value most suited for your phone. JUST A REMINDER: If you do the above, DO NOT ENABLE SETCPU/FauxClock/SystemTuner boot settings (or DO NOT use the undervolt capability of those apps), otherwise you will be double undervolting which will crash your system!!!!
[HTC Sensation] remus82:
Hi faux I used daemon to control my CPU. I set my clock at 1.18ghz. Will daemon undervolt for me? I felt that this speed is enough for me.
[HTC Sensation] faux123:
Sorry, I never used daemon before so I cannot say... maybe other users can chime in.
[HTC Sensation] lightninbug:
Faux, is the HDR option in the Amaze Camera working with your kernel? As in not just takes the picture, but also adjusts the brightness,saturation etc automatically to hdr...I know with the bricked kernel and hacked camera libs it take the picture, says processing, and doesn't do anything else to the picture.
[HTC Sensation] Hawke84:
No it doesn't either use a script to Undervolt (search back in this thread) or remove deamon and use fauxclock, but fauxclock didn't save uv for ne so I use script. Just make sure u don't use 2 uv methods at once!
[HTC Sensation] Hawke84:
Works fine for me, just tested it
[HTC Sensation] faux123:
Geek Talk alert:

I am in this industry, so I know a thing or two about HDR. There are several methods to achieve HDR, the simplest is take multiple samples of the same scene with different exposures, then merge the multiple images together to achieve "high dynamic range". Since Amaze and 3.5 Sense both uses ZSL, so it is very easy to acquire multiple samples very quickly with different exposures. But we don't have a working ZSL driver backend, so when you take a photo with HDR option, there is only 1 sample in buffer with 1 fixed exposure, so the HDR processing only has 1 photo to work with. With only 1 sample, the HDR processing probably just leave the default exposure alone. In order to have HDR processing working properly, we will require ZSL drivers to provide multiple samples at different exposures for the processing engine to do its "magic"!

TL;DR, HDR option will take a photo without issues, but HDR processing needs ZSL (multiple pictures) support in order to achieve real HDR.
[HTC Sensation] zimphishmonger:
I wanted to clarify, for the Sense versions (with zram enabled), are they enabled by default or do I need to enable it via a script (via gscript)?

Also, why is zram enabled for Sense 3.5 but not recommended for Sense 3.0. Seems having that extra bit of "ram" would help both, especially Sense 3.0 as its more resource hungry.

Are the versions backwards compatible? meaning can the zram version be used on 2.3.4 Sense 3.0 or can it only be used on Sense 3.5? Thanks for clarifying.
[HTC Sensation] faux123:
ZRAM and ZCACHE are two different thing. ZRAM has been enabled since version 021, so if your init.post_boot.sh has been modified since 021, then ZRAM should continue to be enabled and working for ALL 022 versions.

Geek Talk Alert:

ZCACHE is a new technology I introduced to Sensation Kernel. ZCACHE is a compressed cache similar to ZRAM but the similarity ends there. ZCache is meant to provide as many "cleancache" pages (non-dirty or untouched "virgin" memory) to apps that request for new memory. CleanCache is very easy to allocate and no additional penalty are required to hand them out, so having more CleanCache pages will improve performance. Under heavy memory pressure, often times the kernel will NOT have enough CleanCache pages, so the kernel has to do EXTRA work to reclaim dirty cache pages and clean them for the new apps that's requesting for them. The described process creates a performance hit for the kernel and the app, so the idea is to use compression to create more CleanCache pages available for use. Of course there's a penalty to pay for using compression, but the trade-off between compression penalty and the penalty for reclaiming dirty cache pages and allocating them after cleaning is smaller for compression, so in the end, CleanCache should add more performance.

3.5 Sense ROM performance increase with Zcache make sense. As to why 3.0 Sense has issues with zcache is still under investigation by me :p
[HTC Sensation] The Illest 619:
on arhd 4.1.3 with stock kernel+library hack. used the undervolt script above but when trying to use fauxclock i keep getting process.com.teamkang.fauxclock is not responding. anyone else getting this?
[HTC Sensation] zimphishmonger:
Thanks a lot for the detailed explanation. I notice that zram is enabled by default on the "z" version and seems to work fine. Very interested in zcache and its effects on performance. I also noticed you've switched your default governor to conservative. Was this for battery life reasons? Im using your recommended settings anyway to see how they perform on battery and responsiveness.

Go into settings - applications and clear cache and data for FauxClock. Should fix it :)
[HTC Sensation] Pikaraph:
In which part of the init.post_boot.sh should we put those lines ?

I put it at the end of the MSM8660 section, I only wrote the line to activate second core, but my phone started to freeze randomly...

I use ARHD 4.1.3 and I installed your 0.2.2 kernel [ CFS-zcache enabled ] (Mainline Edition)

I don't want to use the 3.5 hack as it erases Mike's tweaks.
[HTC Sensation] faux123:
Make sure you are not undervolting twice. Disable all set on boot options for your OC app if you have it under volt.

The script is ONLY for advanced users who want to do all these without using an APP. If you are using an OC app already, I highly recommend that you stay with the app. The scripts can be DANGEROUS if not applied properly.
[HTC Sensation] Hawke84:
That makes sense, I was wondering about that as hdr takes pictures for me but I didn't see much difference. I assume its the same for smartshot. Btw.the girl in the hdr demo video is hot :P

I really can't wait for zsl driver, it makes me tempted to start playing see what I can build :D
[HTC Sensation] ali1984:
hi , is that normal ? i am usw ARHD 3.6.2 and 0.2.2 j 1,78ghz

on standby always over -150mA most time -178mA

sleep mode 192-384mhz

autosnyc off....

any idea ?

thanks in advance

Ali
[HTC Sensation] faux123:
There are some interesting statistics about CleanCache performance.

go to /sys/kernel/mm/cleancache using terminal or adb

and do an "ls" then do a "cat *"

You will see the cleancache statistics displayed. From my own phone, I have a 99% cache allocate rate which means 99% of the time when system is asking for new memory, CleanCache was able to supply them with the clean memory pages. Zcache is doing a great job at it :D
[HTC Sensation] ifti_a:
I have same, its normal I think
[HTC Sensation] faux123:
depending on what you have running in the background, the mv reading will be different from phone to phone.
[HTC Sensation] xtcislove:
Can we use this on latest Insert Coin without losing Camera or something else?

Or somebody have a Zip for camera(apk and libs) that works with this kernel?
[HTC Sensation] Hawke84:
Same here mate. Interestingly I'm finding on bfq I/O battery seems worse, creeps more towards 200mA. Faux that make sense?
[HTC Sensation] faux123:
BFQ has higher performance than most other I/O scheduler. I remember from my MT4G days, someone actually did a benchmark on all 4 I/O scheduler and found BFQ is highest but also drain a bit more battery (make sense, battery for performance). I have deadline and cfq included, why don't you switch to them and see if the other I/O scheduler will sip less juice. The screen shot I posted on my previous post has EVERYTHING ENABLED (wifi, bluetooth, auto rotate, auto brightness, background sync etc) with everything default from my kernel (conservative governor, bfq i/o scheduler) I can achieve 60~90 mv idle...
[HTC Sensation] zimphishmonger:
Im attempting to take a look at the cleancache stats, however all I get are the following

sh-3.2# cd /sys/kernel/mm/cleancache
cd /sys/kernel/mm/cleancache
sh-3.2# ls
ls
cleancache_succ_gets
cleancache_failed_gets
cleancache_puts
cleancache_flushes
sh-3.2# cat *
cat *
245658
5741
287737
10764
sh-3.2#

How can I tell the allocation rate?
[HTC Sensation] faux123:
simple math ;) 1- (cleancache_failed_gets / (cleancache_succ_gets + cleancache_fail_gets)) * 100 and in your case: ~97.7% hit rate :eek:
[HTC Sensation] Hawke84:
Ok thanks, the only thing I found with conservative gov was the navigating was a bit choppy which bugs me. Do u get the same? Out of interest what Rom u using at the moment. I'd like to give your setup a try..

Also is it possible to change app behavior, I have some I like installed but not running in background

Oh and u got me hooked on hungry spiders!
[HTC Sensation] zimphishmonger:
Sounds like its doing its job then :) Thanks for the explanation!

PS Up to at 98.1% hit rate now :) Noticed that whenevr I was using the conservative gov, things were very sluggish and laggy. Switched back to ondemand and backed down to 1.2Ghz , thing is flying again. Not so sure if conservative gov works well here, care to add your thoughts?
[HTC Sensation] Pikaraph:
I only tried to activate second core without having to change the file after each reboot. I didn't write lines about undervolting. I'm just trying to understand why the command line doesn't work properly.
[HTC Sensation] Sibbi:
I get 98,45% ... Looking good :)
[HTC Sensation] ali1984:
i am think thats not so many processes :

Pref

Maps

Facebook ( man sync )

Whatsapp

Rom M

Screenshot it

droid vnc ( same bevor install this )

batt mon widget

pwmmdrmproxy

kalender

market

pvwmdrmservice

google service

touch input
[HTC Sensation] faux123:
Yes, the conservative governor will try to lower the clock rate whenever it gets the chance to do so (when load is low). If you find conservative laggy, you can always switch back to ondemand. Experiment and find your own ideal setup :D Oh sorry about your GreedySpider addiction ;)

by setting a 1 to cpu1 will only keep it alive for a short time. After some idle period, cpu1 will be hot unplugged (turned off) by built-in power management. In order to keep cpu1 online all the time, you will need an app that checks for the online status for cpu1 and continuously write a 1 to that status bit in order to overcome the built-in power management. I am not sure why writing a one to it will cause system instability or crash... in your script. Maybe you should post your script here so other users can chime in to see what you've done...

There should be more running apps than those you listed such as android itself and many other services... You need to check them all to see if any one of them is doing something in the background...
[HTC Sensation] emanon:
Thanks for the workz...
[HTC Sensation] faux123:
Here's some of my benchmark result :D

this is tested with:

1.35 GHz, CPU Governor on Conservative, Zcache+ZRam, BFQ I/O, GPU I/O fraction @ 50, GPU Governor OnDemand, on a Sense 3.5 ROM.