yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] axetilen:
Battery Auto-Calibration Script by Seo (from ARHD ROM - non-AROMA)

- Automatically delete batterystats.bin after unplugging your charger

- Increase battery percentage accuracy

- Minimize the situation that your device reaches 100% but actually not that much => last longer

- IT DOESNOT IMPROVE BATTERY LIFE BUT HELP YOU TO HAVE A MORE ACCURATE BATTERY STATISTIC + AND THE THIRD BULLET (100%...)

- Some people will say it is useless at all but I think it is still useful in some cases => That's why this is included in ARHD or Virtuous Inquisition ROMs

Download Battery Auto-Calibration Script

DropBox

Mediafire

Logcat Disable (non-AROMA): modified from ViperS ROM

- Delete dev/log/main on every boot

- Improve battery life

- If you are a normal user and rarely report bug to ROM Devs, this MOD is useful. However, if you are a tester, this MOD will delete logcat, so you don't have that file to send to the Devs

Download Disable Logcat

DropBox

Mediafire

Re-enable Logcat - Disable Logcat MOD remover (non-AROMA)

Download

Dropbox

Mediafire

Full Detail

http://xdaforums.com/showpost.php?p=30255719&postcount=3140
[HTC Sensation] Mesaman2012:
I installed Sebastian kernel v1.52 with the 1.6 mod and I chose 1.512 and after everything was installedI checked my hardware and it says 1.8 dual-core not 1.5 like it should.what happened.Is this going to kills my battery more.I have CPU set set at 1188 m.h.z. to save battery.will this be alright. Thanks in advance...
[HTC Sensation] axetilen:
that is the max freq you can have. not the current freq. It is loaded from build.prop so dont believe it

you system tuner or setcpu free to see and you can see the different
[HTC Sensation] axetilen:
I move my MOD to a new thread

http://xdaforums.com/showthread.php?t=1866127
[HTC Sensation] BuXuRa:
usb otg will work only with external power supply right?
[HTC Sensation] ganeshp:
yes ..and for more details check the usb-otg thread of sebastian's
[HTC Sensation] CrazyComputerMan:
So shall I flash Sebastain 's kernel using clock world recovery as I tried and it didn't work. The reason I wanted this because of USB otg and I really need to get enabled ASAP as my fabulous camera is 2gb and I'm planning to upgrade my SD to 32gb if this works on my phone.

Thanks
[HTC Sensation] StuartTheFish:
Use 4ext recovery touch instead.
[HTC Sensation] yazzabo:
I've flash viper 1.2 and I Wait for your next update...really trust ur choises for what concern kernel and your work it is agree and the best compromise between performances and battery life! (Higher scores in quadrant and higher duration among the kernels ice tried!!)

Thanks so mutch
[HTC Sensation] CrazyComputerMan:
Similar problem with clock world recovery.
[HTC Sensation] rzr86:
flash this insecureboot.img to solve your problem(status 7):cool:

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

then flash Sebastian FM kernel

many of us had that issue(status 7)
[HTC Sensation] CrazyComputerMan:
That worked! And flashing is successful both of insecure and sebastain so all I need to try out the USB otg home and if it works then might change ROM as getting bored with original HTC theme.

Thanks guys for help! :)
[HTC Sensation] rzr86:
really happy for helping you:cool:

don't forget to hit the thanks button:good:
[HTC Sensation] hungsolow:
EDIT: wrong thread. sorry.
[HTC Sensation] josephbrien:
Hi. my phone is now more responsive than my sister's sensation

thanks for this kernel :)

BTW how can i lower the idle speed from 384mhz to 200?

are there any apps that can adjust the speed using your kernel?? thanks :)
[HTC Sensation] galaxys:
See the thread in post #3341
[HTC Sensation] strumf666:
ntfs support

Is ntfs support supose to include sdcard as well or only USB OTG? I am getting errors when I insert (automount) or try to manually mount ntfs formatted sdcard. I also tried ntfs mounter app, but it stops working when I insert the sdcard.
[HTC Sensation] sssurfer:
Seems like SebastianFm is much busy in adding s2w.... :)
[HTC Sensation] jazzzzzzz:
What is s2w....
[HTC Sensation] aimcr7:
sweep2wake
[HTC Sensation] galaxys:
1.5.2 is rocken, especially after running the prior kernel reset clean up!
[HTC Sensation] kswiss86:
Look here

http://www.youtube.com/watch?v=jri2BMQHHrs

---------- Post added at 08:08 PM ---------- Previous post was at 08:03 PM ----------

Hey Sebastion when you planing your release for the New Kernel with Swep2Unlock?

will it based on 3.0.36 HTC Sources?
[HTC Sensation] riotman:
does force fast charge of yank work as well with this room rom?
[HTC Sensation] Stephen:
Dont think so. I think it has to be inbuilt into the kernel.
[HTC Sensation] Yank555:
Just gave a quick look to Seb's github, if it's uptodate, then fast charge is not included in his kernel.

JP.

PS: But he's free to pull it from my repo, no problem from my point of view, that's the whole point of open source :D
[HTC Sensation] SebastianFM:
I'll enable it in next update. If fast charge doesn't cause any issues?
[HTC Sensation] Yank555:
So far none reported. It's disabled by default and needs to be enabled using an init.d script if you leave it as is.

Can be set to 'force always' (1), or 'soft force' (2) which will only force AC charging on USB if no USB device is detected (like connecting a PC would cause slow, standard USB charge).

Latest version would be 3.1 :

https://github.com/yank555-lu/msm8660-htc-ics/commit/6f8107e213a85047a0a5cdea9234e7dc7c5aaa92

JP.

Sent from my custom ARHD 2.1.1 / Yank555.lu kernel v1.2 (Linux 3.0.42) powered Samsung Galaxy S3 using xda premium
[HTC Sensation] Brad55555:
Unplug your phone from the charger!That happens to me when I leave it to charge and it aborts any flash.
[HTC Sensation] sssurfer:
Great ! Means next version is coming soon... :D
[HTC Sensation] yazzabo:
In my opinion there's non need to add fast charge!

From 10% to 100% it takes to me 1 hour with this kernel and the charge tension is around 900 mA! Seems to be already high...more could damage the battery!
[HTC Sensation] Yank555:
Before making a statement like this, better check what this is all about...

Had you clicked on my link, you could at least have read my comments if reading code is not for you, I've highlighted the important part in red for you :

Fast Charge won't use more than that, the full name is "USB Forced Fast Charge" and it allows to apply AC current (900mA) when the connected charger is detected as USB !

Drawing more than 900mA won't be make much sense, since the wall charger for the Sensation is a 1A (1000mA) charger anyway !

JP.
[HTC Sensation] yazzabo:
Sorry everyone I get up, read and replay without inform myself about discussion...thank u yank for ur correction! U are becoming the Xda master...comments almost every thread teaching and replaying everyone!:D Thank u
[HTC Sensation] Stephen:
That is worth waiting for. If that and your innovative sweep 2 wake is going to be included I am going to be like a kid at Christmas :)

Id suggest an aroma installer though as well make everything more configurable! You should consider working with Yank555 he is brilliant!!

Eagerly awaiting the release :)
[HTC Sensation] vault1965:
I fully agree, users like Yank that share knowledge are real treasure for XDA community. I am not posting often, but could not resist seeing that he is all over forums, always polite with proper answer.
[HTC Sensation] XxXPachaXxX:
We must only try if it can "disturb" usb operations when the controller is in host mode.
[HTC Sensation] Yank555:
Absolutely agree on this, that's a unique feature of Seb's kernel, so could not comment on that...

I could always add a failproof that when hostmode is detected, no fastcharge is applied ... depends on how hostmode is detected, soft force might already do that btw.

JP.

Sent from my custom ARHD 2.1.1 / Yank555.lu kernel v1.2 (Linux 3.0.42) powered Samsung Galaxy S3 using xda premium
[HTC Sensation] XxXPachaXxX:
i'm trying to get the board to deliver power througt usb port. i and sebastianFM are trying to achieve this working on kernel.

So if the controller doesn't go in "charge mode", the fastcharge shouldn't give problems.
[HTC Sensation] Yank555:
Well let's hope it won't conflict, I do add code in usb-otg to determine if a device has been detected or not.

JP.
[HTC Sensation] superevans:
Ver Helpful

My only problem with USB OTG currently is that i need an external power supply for everything. If you and Seb suceed in doing this, i'll happy man :) I'm rooting for you guys!
[HTC Sensation] Raven2k:
Somehow I don't see that happening... Unless there's a new cold fusion nuclear battery for the sensation.;)

Without external power supply, the phone will have to produce the power to operate, say, external harddrive. Those take 5v 1a. Battery life with the sensation is not great, and I'm not even sure the battery can produce enough to power the phone and an external mouse.

People undervolt, turn off bluetooth, wifi, 3g, reduce brightness and still just make it through a day of work. I think that a usb stick requires more than all the above saves, much more.
[HTC Sensation] birel3107:
I understand your point, but IF USB-OTG is possible without external power supply, why would it be such a drama to activate it?

If you don't want to use it, you can still use the Y-wire to have the external power keeping up your battery. But I personally would be glad to connect a USB-stick (and card-reader perhaps) without external power.

And you mention all those who turn off nearly everything to save battery: Playing games, browsing etc. also consume a lot of power, but it is possible. The Samsung S2 has a 1650mAh battery and there USB-OTG without external power works. I'm not sure whether you can compare Samsung's USB-OTG to sebastianFM's, but I still hope so!
[HTC Sensation] Tinchoska:
I dont understand, this kernel has super charger? If not, yanks please tell me how

Enviado desde mi HTC Sensation Z710e usando Tapatalk 2
[HTC Sensation] piimp:
I'm assuming you mean fast charge? Answer being not yet. have to wait till next update from seb to see if it was implemented

Sent by my feau gee
[HTC Sensation] Tinchoska:
YEAP, thats what i mean :) ok, lets wait then
[HTC Sensation] Tinchoska:
Hey guys, is it possible that cpu1 when is online keeps going up to 1.5 when I set max clock at 1.18?

Enviado desde mi HTC Sensation Z710e usando Tapatalk 2
[HTC Sensation] XxXPachaXxX:
Yes, the 2 cores are indipendent and also with stock kernel the cpu0 min freq is 384 but 192mhz for the cpu1.

To manage completely your phone i suggest u to use the Dual Core App from EVO3D, you can find it here:

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

With this app u can also manage gpu clock (only 3d clock on this kernel), vsync, daemons, etc...

Good look! :)
[HTC Sensation] Tinchoska:
lets give it a shot, reflashing phone :) so this is something like system tuner but to set both cpu individual each one right?
[HTC Sensation] XxXPachaXxX:
Teorically yes. Update to the latest version because the previous have problem controlling the cpu1
[HTC Sensation] Quincux:
Offtopic: how can I disable the USB OTG automount? I delete the vold.fstab file but at restart my sd card don't works. I reflashed the kernel.

Sent from my HTC Sensation Z710e
[HTC Sensation] Yank555:
Setting both cores to different settings is in general not really a good idea...

JP.

---------- Post added at 02:51 PM ---------- Previous post was at 02:47 PM ----------

"vold.fstab" controls much more than just USB-OTG, as you have now found out yourself, it controls all removable devices and must not be deleted !!

You need to restore it (you should find it in the .zip of your ROM, that file is not part of a kernel).

Or just reflash your ROM on top of your system without wiping if that's easier for you.

JP.
[HTC Sensation] Quincux:
Thanks, it solved reflashing kernel.

Sent from my HTC Sensation Z710e
[HTC Sensation] Yank555:
Strange, but I just checked, and you're right, Seb's kernel includes a vold.fstab file, I guess to add OTG support.

JP.
[HTC Sensation] XxXPachaXxX:
Why? For the qualcomm's architecture it's not a problem. This is a normal thing.

Don't delete it, just edit it and delete the last line, the one for usb mount. Keep the line for sd mount and save the file. Then reboot

---------- Post added at 04:08 PM ---------- Previous post was at 04:07 PM ----------

It's to mount automatically the usb first partition when a usb stick is connected to phone.
[HTC Sensation] Quincux:
Thanks mate, USB OTG Helper works great for me, it mounts NTFS and FAT32 partitions. Chainfire's Stickmount don't works for me.

ROM: ViperS 1.2.1

Kernel: SebastianFM 1.5.2

EDIT:

Now Chainfire's Stickmount works on my Sensation .

Sent from my HTC Sensation Z710e
[HTC Sensation] Yank555:
Well depending on the governor you use, I'm not convinced the result is "coherent", but as Obama said "Yes you can !" ... though I'd just add "But should you ?" ;)

I've decided for myself to keep things square, and as an example I use the same governor on all cores on my S3 (quad core) where I could easily set different ones per core, but pegasusq as the q suggests is optimized for quadcore, and that won't work properly if not used on all cores. Same goes for show-p's badass which handles shutting off the second core, but what if the second core doesn't use badass ? Or faux's Intellidemand which is optimized for dual-core ...

Might be fine on non multi-core aware governors, though ...

Having different frq, maybe that's ok, too ... but I'm of the "race to idle to save juice" fraction, so I like to keep it rather high on all cores.

So anyway, it's for everybody to try and see how it works for them ;)

That's what I meant when I wrote "I guess to add OTG support" :)

JP.
[HTC Sensation] XxXPachaXxX:
I was talking of have different frequecies only. This is the major "privilege" of qualcomm's arcitectures, that the cores have more flexiblity. i don't like minor processors constructors, i like qualcomm and intel and nvidia only :D

And i'm stubborn on speed and performance, and this is the reason i use a personal custom kernel and only linux classic governors (like ondemand, interactive, performance...), i think these are the best, i use ondemand. I don't like badass and others.

However, i like very much your work :) so good look! and good work friend!
[HTC Sensation] Mesaman2012:
I'm running viper v1.2.1 with Sebastian kernel 1.52 with the 1.6 mod.what should I set the CPU top speed at?could someone please explain what I need to set the setting at for good performance and alright batt life.I don't know if I worded this right.any help would be greatly appreciated. Thanks!!!
[HTC Sensation] rzr86:
with my rom i chose

UV 9% plus

OC 1782mhz

3d gpu clock 320mhz

sd cache 4096

no zram

so far stable.no problems
[HTC Sensation] XxXPachaXxX:
If u want a smooth sense experience, u have to change a lot of things in the rom to get the best speed witouth overclocking or other...

Isn't 4096 too high for the sd buffer? bigger buffer don't give u more speed...what's your card?
[HTC Sensation] plun:
Yep... I have the same trouble with Virtous Stock 4.03 rom.

Just boot-loops.....
[HTC Sensation] Potapson:
I tried en 4.0.3. base elegancia ics rom. But it seems does not work properly.

The high frequency all the time drops to 1134 GHz. I tried to change with System tuner and Rom ToolBox, but with same results.:(
[HTC Sensation] akapaul26:
I can flash 1.5 kernel back and all is well. Hope the issue can be ironed out.

Sent from my ICS Elegancia powered Sensation 4G!
[HTC Sensation] SebastianFM:
http://xdaforums.com/showthread.php?t=1432211
[HTC Sensation] plun:
I flashed the stock kernel.... cannot see that the 1.5Ghz kernel is fixed ??

It gave me random reboots so therefore I am running stock.
[HTC Sensation] PaulGiz:
1.5 kernel working beautifully on ARHD 6.0.2. No reboots, no wake up problems. Nice!

P.
[HTC Sensation] mean-machine:
I can confirm 1.7GHz works perfect on Sensation with ARHD 6.02
[HTC Sensation] cubitusclaudius:
I also confirm it (few hours testing)
[HTC Sensation] Jaglicic:
+ 1...great performance...

Sent from my HTC Sensation XE with Beats Audio
[HTC Sensation] plun:
dmesg-log

http://paste.ubuntu.com/805601/

Trip point triggered by current temperature (49 degrees) measured by Temperature-Sensor 0 :p :confused:

EDIT

Up and running, its cold outside so I just cooled it down.... but the error is strange ??
[HTC Sensation] akapaul26:
Anyone running the 1.73 kernel on 4.0.3 ics rom could you share with us how you got it installed? Like off a fresh install...etc...etc.?
[HTC Sensation] geoffcorey:
You'll need to change the temperature values in the thermald.conf file, which I think resides in /system/etc. You need to increase the temperature values to reflect a higher clocked kernel.

Sent from my HTC Sensation
[HTC Sensation] plun:
I always wipe cache and dalvik-cache, after that I flash the new kernel.

Its also preferred to have a stock-kernel on the SD-card in case something goes wrong (or just reflash the whole rom)
[HTC Sensation] djigane:
I can confirm working here too ! :D
[HTC Sensation] plun:
What do you propose ?? Value ?

Seb ?

I never go above 1.62 Ghz.... using System Tuner Pro for that.

EDIT Running great for the moment.... !!

EDIT thermald.conf
[HTC Sensation] djigane:
Working on ARHD 6.0.2 :

- Download kernel 1.728

- Place it on your SD Card

- Boot into recovery

- Wipe Cache and Dalvik

- Flash Kernel

- Wipe again Cache and Dalvik

- Reboot

- ENJOY !!!

Testing it since some hours, and no lags, no FC, no random reboot, working like a charm.
[HTC Sensation] akapaul26:
Ok im not a noob, I do it this way with everything I install. I can not get out of a boot loop with the 1.72 kernel. If I boot into recovery and install the 1.5 kernel over the 1.72 it loads just fine. I tried on a new install (super wipe, install rom, install kernel.....reboot) Got boot loop. Also tried install rom after wipe reboot install kernel reboot...still boot loop. I did get the kernel to run once but not sense...bootloops everywhere.
[HTC Sensation] plun:
Check with a dmesg.log (when the phone restarts after a "loop")

adb shell dmesg > C:\temp\dmesg.log

or where you want the file.

Or cool down your phone and try again....
[HTC Sensation] cubitusclaudius:
See some pages before, there is a lot of people with that problem. Read their signature and see if they are running the same rom

Edit : Funny. I just checked back ans saw it was already you 2 pages before (and two other guys). try to have a look on your rom's thread maybe...
[HTC Sensation] plun:
More clues about thermald.conf

http://xdaforums.com/showpost.php?p=17937201&postcount=21080

Can anyone running ARHD ver 6 check this file ??

\etc\thermald.conf

Thanks !
[HTC Sensation] Mesaman2012:
My ad card is a 16Gig class 10.
[HTC Sensation] XxXPachaXxX:
So try 2048
[HTC Sensation] rzr86:
look at my signature.until yesterday i had it at 3072

i decided to changed it.so far i do not see any difference
[HTC Sensation] XxXPachaXxX:
This value is "card dipendent"...but remember that if u have a class 6 card, you can get the speed of a class 10 changing the buffer value...the most important thing is always the card hardware speed
[HTC Sensation] rzr86:
how can i know about card hardware speed?
[HTC Sensation] Yank555:
If I may shed some light on this ;)

Read ahead buffer is what the name says, it's how much data it should read ahead of what is being requested be an app.

In case of sequestial reads, like when viewing a movie or listening to an MP3, more is better, since you will need that data anyway, and the kernel can read a bigger block of data and keep it ready for the app when it will request the next data, thus making reading a lot faster.

But, since there is always a but :D

If you now read loads of data randomly, say your navigation software reads data in it's map database, then it will read randomly. Now if the kernel read loads of stuff that the app will never request, it's loosing it's time. So in this case, more is worse. And on a slow card, it's even more worse, since you'll be reading loads of data slowly that is not needed at all, pure waste of time and resources.

And as always, there is no solution that fits all of us, it will depend on what you do mostly, so you should choose according to your habits or needs (I mean if the navigation lags, because you've set it to 8Kb and even worse on a slow card, that's a no go).

Hope this helps a little... even if it's not really a solution to your problem.

JP.

PS: From experience, 2-3Mb is a good starting point.
[HTC Sensation] rzr86:
very helpfull post .actually i don't have any lags or that kind of stuff.everything works smoothly

i will changed it back to the previous value

thanks yank555:good:
[HTC Sensation] Quincux:
SD Card write speed (MBps) = SD Class, so SD card class 10 ~ 10 Mb/s write speed.

Download SD Test from Play Store and perform a benchmark.

Sent from my HTC Sensation Z710e
[HTC Sensation] rzr86:
is that what he meant?:o

i know about sd read/write speed

and i have done benchmarks
[HTC Sensation] Yank555:
This bit of the sd card wiki page may be an interesting read : http://en.wikipedia.org/wiki/Secure_Digital#Speed_Class_Rating

It's not that easy, there's also differences in ratings, some request a certain sustained throughput in sequential reads (physical I mean), like class 10, other classes random, like classes 2,4,6.

JP.
[HTC Sensation] StuartTheFish:
Since we're discussing SD cards, I just tested mine and found it can do 6mb/sec write and 28mb/sec read speed. Is that good, and should I adjust anything to suit? I guess it makes mine class 6?
[HTC Sensation] Yank555:
Did you have any readahead and i/o scheduler configured ? If you want to know the speed of your card, use noop scheduler and set readahead as low as possible, that will give you a closer glimpse at the real speed.

Using readahead will give you better Antutu benchmark results for example ;)

This is one reason I don't go with benchmarks, too easy to fool them and since it's a mix of lots of thing, only detailed results are more or less interesting, the total, well that's just useful to 'compare who's got the biggest' :D

If my device "feels" fast, only then is it fast, not because an app says so ;)

But comparing your own device by benchmarking before and after changing a setting / modding, can be useful, though.

JP.

Sent from my custom ARHD 2.1.1 / Yank555.lu kernel v1.3 (Linux 3.0.42) powered Samsung Galaxy S3 using xda premium
[HTC Sensation] StuartTheFish:
Using noop and the cache as low as system tuner allows at 128 gave 6mb/sec write and 18mb/sec read.
[HTC Sensation] Yank555:
Then you probably got youself a class 6 card ;)

Have you benched it with SD tools ?

As far as I've gone into this (not too far that is), I found this to be the most comprehensive test (performes various write / read scenarios).

JP.
[HTC Sensation] StuartTheFish:
Yeah, that's what I used. I don't know the difference between the schedulers, so I'm not sure which I should leave it on. As you say, benchmark tests don't tell you the full picture.

And IIRC it's a class 2 card I have, just seems to perform better than they thought. :)
[HTC Sensation] Stephen:
Really looking forward to new version! Sounds like there are some cool new features!
[HTC Sensation] Yank555:
Classes set only minimal requirement, not max ;)

This can help you choose your scheduler (post 4) and governor :

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

JP.
[HTC Sensation] CamoGeko:
Same here, hopefully it will come sooner rather than later.

Sent from my HTC Sensation XE with Beats Audio Z715e
[HTC Sensation] yazzabo:
Still waiting for your update!! Ur work is always the best!
[HTC Sensation] ataf:
Yeah, still waiting for the best kernel
[HTC Sensation] jazzzzzzz:
Me too... :)
[HTC Sensation] zxr24rs:
Hello

Is it possible to set à lower max xpu frequency such 1680mhz ???

Thnaks
[HTC Sensation] piimp:
Yeah use either system tuner or setcpu

Sent by my feau gee
[HTC Sensation] zxr24rs:
Thanks :cowboy::good:
[HTC Sensation] piimp:
Just hit tha thanks button

Sent by my feau gee
[HTC Sensation] neniick:
went from 6899 in antutu to 7555, and all the choppyness in sense 4.0 Rosie is gone! thanks so much!