yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] rawrfische:
For those wondering, it's in /sys/kernel/* on 008b2.

Thank you for this mod btw. I used to disable s2w with the flashable zip, but it's nice to be able to turn it back on just to show people how cool it is. :D
[HTC Sensation] TheUnreaL:
Poor performances while gaming with intellidemand

Hi,

my phone is running quite smooth with this kernel v008b2, but I've a problem with 3D gaming and intellidemand governor (with ondemand this doesn't happens):all the system is running good with intellidemand with few lags but when I play 3d games like Temple Run or Fruit Ninja, these games are continuosly stuttering but I'm not talking about complete freezing for fractions of second, I'm talking about a continuos "loss of FPS" (instead of going on 60FSP, it's going at something like 20FPS) and thanks to CPUSpy I got the problem: there's no sufficient upscaling of the CPU freq while gaming, so i think is some governor's parameter blame. I've done the screenshot from CPUSpy considering 4 minutes of continuos game.

P.S.: I modified the minfreq @ 384Mhz for both the cores, that's the reason why 192MHz doesn't appear
[HTC Sensation] Dijkstra88:
Linux kernel 3.0.36 is out officially on kernel.org

Send from my Sensation Z710e with Tapatalk 2
[HTC Sensation] rawrfische:
That's odd. I just played Fruit Ninja, Temple Run and Samurai 2 just to see and didn't get any slowdown. Plus I run Intellidemand at lower frequencies than you do, 384/1080/1350.

I'm tied up with my kids right now, but I'll reset cpuspy later and see how the freqs are distributed.
[HTC Sensation] malybru:
Hi,

For gaming,on demand is recommended.

:)
[HTC Sensation] lethang90b:
I can't see 008b2, pls give me a link to download. Thanks
[HTC Sensation] sp5it:
http://faux.androidro.ms/
[HTC Sensation] lethang90b:
thanks sr:cowboy:
[HTC Sensation] GuerillaTech:
Hey yank, what value activates fastcharge? Mine is currently set to 0. Thanks in advance. (and a real one is on the way too) :)
[HTC Sensation] Yank555:
The valid values are :

0 - disabled

1 - enabled

You're welcome ;)

JP.

Sent from my Virtuous Inquisition 4.0.2 / Yank555.lu kernel v1.2a (based on faux 007u) powered htc Sensation XE using xda premium
[HTC Sensation] scm_crash:
I'm on 7 r2.

I find that when the phone is in my pocket I have horrid battery life. If the phone is sitting on my desk, the battery life is as usual. I've checked this against the battery monitor widget pro history log.

My guess is that it's the sweep2wake that is causing this. When the phone is in my pocket, I have the screen facing me and not facing outward because that's the natural way it goes in and out for use, as well as it protects the screen from objects that may hit my pocket.

I just read how to enable and disable sweep2wake and it does seem to work. What I'm wondering is if sweep2wake is disabled, does touching the buttons still cause the phone to leave the sleep state?

I ask because I looked at the battery usage chart and it shows LONG gaps where the screen isn't on but the phone is just awake. My guess is that my pants pockets aren't enough insulation and my leg is keeping the phone awake while sweep2wake is enabled.

Thoughts?
[HTC Sensation] GuerillaTech:
Yank, the fast charge value doesn't seem to want to stick through reboots. I change it to 1 and after the reboot, its back to 0. This isn't normal/intentional is it?
[HTC Sensation] baste07:
how can i apply the switches?
[HTC Sensation] Yank555:
Yes it is absolutely normal, sysfs switches are purely run-time switches, meaning they will never stick through a reboot. Well anything is obviously possible, of course :cool:, but I know none that implements it that way.

So the correct way to do this is put a script into "/system/etc/init.d" folder that does the enabling.

I've made 2 flashable zip's to make enable/disable stick on reboot :

- always enabled (adds the needed activation script)

- always disabled (removes the activation script)

Important detail, if you reboot

while

connected to a USB charger, it will be seen as USB on boot (since fast charge does it's thing on the 'cable was plugged in event', and the cable was already in on boot, so that event has not been triggered). You will need to just unplug and replug and it will be fine again. Can't see a better workaround for now, sorry.

JP.
[HTC Sensation] Dijkstra88:
V008b3 is unofficially out. Mainstream Linux now updated to 3.0.36

Send from my Sensation Z710e with Tapatalk 2
[HTC Sensation] ianoob:
Does this mean we need a script to always turn off s2w too? I have the old script but haven't seen a new, is it posted in show's thread?
[HTC Sensation] Yank555:
No, the "old way" using show-p's flashable zip files will make a permanent default, my mod does not break that.

But now you can use a script, mine looks like this (/system/etc/init.d/99sweep2wake) :

#!/system/bin/sh
# Enable sweep2wake without backlight
# by Yank555.lu

echo 2 > /sys/android_touch/sweep2wake/s2w_switch

The script, being the latest to be executed at boot, will define how s2w will work, and thus 'overwrite' whatever was defined by one of show-p's flashable zipfiles. But if you remove the script, your latest config using show-p's zip flashable files will still be active and used.

Personnally I prefer scripts, they are easy to update, it's but a textfile ;)

JP.

PS: Ths script above will not work on 008b2 (the switch was still located in the wrong subfolder). I suppose it should work on 008b3, but don't know for sure.
[HTC Sensation] Luigiesin:
Has anybody noticed 008 uses more battery when screen on comparing to 007?

Maybe shutting off CPU1 faster while <35% could save more battery?
[HTC Sensation] birel3107:
Using 8b3 since yesterday and didn't notice something like this. Today with heavy usage (gaming, video-streaming, brightness: 25% inside, 50-60% outside) I got these stats:

7h on accu, 2h screen on time and still 53% battery left.

I clocked the CPU down on 1.29Ghz with System Tuner.

Pkmn-rom 5.1.0

XxXPachaXxX balanced_v2 mod

Radio: 11.69B.3504.00P_11.24.3504.10_M/RIL: 4.0.0036

Battery: Anker 1900

Edit: Update:

Now after 13h 45min (3h 20min screen on time) of usage as stated above my phone shut off.

This was the first cycle, so I think this could probably even get better tomorrow.
[HTC Sensation] baste07:
i'll try out 008B3
[HTC Sensation] ziddey:
Hey, can you (or anyone else with the oem htc wall charger) measure the resistance between the two data pins? I don't have any of the original accessories. I see the same charge rates as your usb fast charge with my wall charger (best is just shy of 700mA).

I'm looking to make a battery belt out of nimh AA's, and it'd be nice to have 900mA charge rates. I may try to incorporate a powermat type deal into a holster or something if I can keep it all internal.
[HTC Sensation] mrquidz:
If you don't mind, can you share your build for your htc sensation so that i can achieved 10 hours as well? Thanks.
[HTC Sensation] Yank555:
Well I got my Sensation second hand (few days old only), but the charger was missing, so I got an htc replacement after a few days waiting.

In the meantime I charged the Sensation with the wall charger of my HD2, which is labelled 1A, and it charged at only ~350mA :mad:

So I can't tell for the OEM, maybe that's all it can give ?

The one I got is an "htc TC E150", labelled "Travel charger for EU".

The cable is directly attached to the charger, so I'd have to measure at the mirco-USB, and I just can't get there with the tips of my multi-meter :(

Hopefully someone else can help you...

JP.
[HTC Sensation] Luigiesin:
Do you have a link for 008b3?
[HTC Sensation] madkai:
Here are all kernels from faux
[HTC Sensation] rawrfische:
I have to say that fast charge is really freaking nice! It's especially useful for me at work since I have a ton of PCs and USB cables available, but no wall chargers anywhere. Thank you Yank for taking initiative on this mod and thank you Faux for incorporating it into the recent betas. :good:

Are there any disadvantages to leaving fast charge on all the time? Any issues with data transfer or overcharging when the battery is almost full?
[HTC Sensation] mrquidz:
Fastcharges is very useful. However, i noticed that the cable has to be suitable for charging as well. I tried the oem usb cable and the max that i got was 0.3 ma. Ive bought the blckberry usb cble and it went up to 0.6
[HTC Sensation] Yank555:
You're welcome ;)

The only drawback can be a 'cheap' implemented USB 2.0 port. If drawn too much juice standards say the USB port is to shut down. If that part is not implemented it may overheat the USB chip and it could get damaged (in the PC !). As such I recommend to use fast charge only on either USB 3.0 ports that by standard deliver 900mA or on AC powered USB hubs, and of course any kind of AC/car charger rated 1A that is seen as USB (my problem that made me look for a solution).

As for overcharging the battery, cannot happen, the Sensation simply uses AC charging (unchanged) so it will at worst charge like on a wall charger :D

I have yet not noticed any change in data usage, so I don't think so. Might be worth keeping an eye on that, since I generally only use chargers (AC & car) and not often use the USB cable for data.

JP.

Sent from my Virtuous Inquisition 4.0.2 / Yank555.lu kernel v1.2b (based on faux 007u) powered htc Sensation XE using xda premium
[HTC Sensation] Yank555:
That may explain why I can only get ~350mA from the wall charger of my HD2... Will test it again with a different cable...

JP.

Sent from my Virtuous Inquisition 4.0.2 / Yank555.lu kernel v1.2b (based on faux 007u) powered htc Sensation XE using xda premium
[HTC Sensation] ziddey:
I haven't tried the new kernel yet, but assuming fast charge can work with data, that'd be fantastic. As it is, I have the option of enabling fast charge on my usb ports on the computer end, but that effectively bridges the data pins, so it's charge only.

I wonder how it doesn't trip the overcurrent for the usb host. I get that a lot with a flaky usb device of mine.
[HTC Sensation] Yank555:
Will test data transfer via USB while fast charging and let you know how it went ...

JP.

Sent from my Virtuous Inquisition 4.0.2 / Yank555.lu kernel v1.2b (based on faux 007u) powered htc Sensation XE using xda premium
[HTC Sensation] waterun:
you're right, if you phone in you pocket with facing you, sometimes, your pants may cause your screen no response when a calling coming, I think it's sames as your battery draining. I do some test, lock and wake on the phone, do a lot of touching of screen by multi-finger, it may cause the screen no response.
[HTC Sensation] mrquidz:
I think, this is simply awesome. With moderate to light usage (especially for my daily use) , i can achieve at least 17 hours standby time. I'm using 008 b3 combined with VI 4.0.2 and juice defender.

3g on

wifi moderately for surfing

live wallpaper

google and whatsapp sync

2 hrs screen on

However, i do have some weird/jumping screen whenever i touch the screen during charging (~890 mAh) with 3rd party wall charger. And it's completely crazy whenever i used oem htc wall charger. Any idea why? Perhaps it's not related with the kernel/fast charge.

Overall, i'm very satisfied with the performance. Thanks a lot. :laugh:
[HTC Sensation] Yank555:
Just tested on my AC powered USB 2.0 hub.

With fast charge on :

I copied 1.25Gb at ~16Mb/s while charging the phone at ~200mA/h while copying (it's a standard USB2.0 port, so only giving 500mA/h).

With fast charge off :

I copied the same 1.25Gb at ~16Mb/s while charging the phone at ~50mA/h while copying (connected to the same USB port).

Battery was at around 80% while testing.

JP.

---------- Post added at 04:48 PM ---------- Previous post was at 04:30 PM ----------

That fits more or less what I experience (on 007u still) and I think that is quite fine ;)

As for the strange behaviour, I don't think it's related to fast charge, since all fast charge does is telling the sensation to believe it is attached to a wall charger even if it detects (or thinks to detect) a USB port.

So on a wall charger it will just load like on a wall charger (either way).

You can test, though just in case, by simply disabling fast charge by typing the in a terminal :

echo 0 > /sys/kernel/fast_charge/force_fast_charge

IMPORTANT : After that unplug and replug !

And check if the effect is still present.

Afterwards, you can reenable by rebooting or be typing this :

echo 1 > /sys/kernel/fast_charge/force_fast_charge

IMPORTANT : After that unplug and replug !

JP.
[HTC Sensation] ziddey:
Thanks! I was just curious if data worked at all, which it indeed does. I left my usb cable at a hotel, so I ordered a bunch from monoprice.
[HTC Sensation] Dijkstra88:
008b4 is unofficially out

Send from my Sensation Z710e with Tapatalk 2
[HTC Sensation] Hawke84:
Hi, I've not been about for a while, was USB OTG every fully implimented and working? Thx
[HTC Sensation] fahad123:
hey everyone my sensation is very slow at charging.. i am using its own data cable and charger for charging.. charging from wall charger is even very slow.. would FAST CHARGE increase the speed of charging? if yes then how to enable it?

Thanks in advance :)
[HTC Sensation] malybru:
Hi,

I'm fairly sure that Fast Charge is already implemented in the latest kernel.

:)
[HTC Sensation] Yank555:
Yep, but I coded it to be disabled by default ! ;)

Even though if it's charging slowly on stock charger/cable, I doubt fast charge will help... but it's sure worth trying !

Have a look at this post on how to enable/disable it :

http://xdaforums.com/showpost.php?p=27816034&postcount=7341

JP.

PS: Wokring on an extended version with "soft force" option, currently beta testing it, which would only use fast charge if the attached device is not seen as a USB device (would slow charge on a PC while it would fast charge on a wrongfully detected car/wall charger)... will make a pull request for faux as soon as I've validated it works correctly. (commit on my github repository)
[HTC Sensation] Dijkstra88:
Also a aroma installer would be nice to set some settings like ov/uv. :rolleyes:

Send from my Sensation Z710e with Tapatalk 2
[HTC Sensation] Yank555:
Is already on my todo list :fingers-crossed:

Once I'm done (need to find the necessary time), will be at the disposal for faux to use.

JP.
[HTC Sensation] Hawke84:
Thanks for that mate, I don't have a pc atm so hard to search. I followed it all the way through but never saw an end. That's a shame, would have been a cool function... Damn sense! :rolleyes:
[HTC Sensation] joaquinf:
Indeed, that's a shame. This isn't the first time HTC mess up things :(
[HTC Sensation] jordin1128:
Kernel 008 Open Beta 4 is out! (BETAs ARE ALWAYS ULTIMATE unless I stated otherwise)

http://faux.androidro.ms/Pyramid-ICS-sense-008b4.zip

[ build 4 ]

Updated to Mainline Linux 3.0.36

Fixed Scheduler wraparound bug

Fixed 2 block device bugs (backported from mainline Linux 3.5+)

for anyone who's interested :D

Thanks for the kernel Faux!! Smooth as usual!!
[HTC Sensation] Tinchoska:
Someone os using thus kernel on pkmn 5.1?

Enviado desde mi HTC Sensation Z710e usando Tapatalk 2
[HTC Sensation] madkai:
Yes, and it´s running great for me
[HTC Sensation] balf:
I find it streets ahead of bricked
[HTC Sensation] Nekromantik:
I had to go back to 7r2 as my network connection slowed down and got worse.

Was stuck on GPRS while at work while I used to get HSPA and I reflashed r2 and it came back fine.
[HTC Sensation] ziaulh.ch:
I thought I should test the kernel Atleast once to get certain readings. Below images are part of those. I used it heavily and was on 2g or WiFi always. Tell me how it is?

One question. The last image shows the radio consumption but with other kernel I haven't seen this one. Any idea?
[HTC Sensation] Yank555:
Hi again,

I have added another read-only sysfs file that tells you what kind of port has been detected. This will work no matter how fast charge is configured :

cat /sys/kernel/fast_charge/USB_porttype_detected

It will return the port type in clear.

This can further help debugging when looking for a good charger / cable !

Compiling as I write, if it's reporting correctly, will push the commit tonight.

JP.

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

Commit pushed : https://github.com/yank555-lu/msm8660-htc-ics/commit/0832900daa48559d8c4dae91dce372c47e9401b4

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

I've made 3 flashable zip's to make enable/soft enable/disable stick on reboot :

- always enabled (adds the needed activation script for "enable always")

- enabled soft force (adds the needed activation script for "soft force")

- always disabled (removes the activation script)

Important detail, if you reboot

while

connected to a USB charger, it will be seen as USB on boot (since fast charge does it's thing on the 'cable was plugged in event', and the cable was already in on boot, so that event has not been triggered). You will need to just unplug and replug and it will be fine again. Can't see a better workaround for now, sorry.

JP.
[HTC Sensation] Luigiesin:
I'm using 008b3 and noticed the same thing... Since I started using 008 betas my data speeds dropped a lot... About 4Mbits.

Edit: I just installed 008b4 and my data speeds increased.
[HTC Sensation] Tinchoska:
i am trying that beta on ordroid 9.0.0 so i let you know
[HTC Sensation] noooooo:
Will this kernel work on cm9 or i must download another version?
[HTC Sensation] davebugyi:
You know, there is Sense in the topic - so nope.

Try the AOSP version for CM9
[HTC Sensation] noooooo:
Can you link it to me please?

Inviato dal mio HTC Sensation con Tapatalk 2
[HTC Sensation] PaulGiz:
So, I went to Search function.

I hit "advanced search" button.

I entered argument "Faux123".

I hit "Threads started by"

I got this: http://xdaforums.com/showthread.php?t=1258816

It was easy.

Next time, I'd recommend you do it yourself.

Please.

P.
[HTC Sensation] cerebralplaya74:
Good to see you on this forum faux...Ive always been a fan of your kernels and now have it on my Sensation!!!! Killer speed!!! I know how this must be a lot of work for you, and I personally appreciate it!!!
[HTC Sensation] Nekromantik:
I will try b4 now.

I also noticed better battery life on 7 Ru2
[HTC Sensation] Raven2k:
Hey guys,

So a couple of days ago I upgraded mah 008b3 with 008b4. Ever since when the phone resumes from a long sleep, I cant get the wifi connection to wake. It is 'on' but its not connecting to any router/hot spot. I manually have to turn off the wifi, then turn it back on.

I'm on ARHD 6.6.7XE, cleaned cache & dalvik, even reflashed the kernel, to no avail.

Couldn't spot anything suspicion on the changelog but the kernel version.

Could that be a mainline patch issue?
[HTC Sensation] UnixSlayer:
I'm having the same issue with 08b4.
[HTC Sensation] emm_stra:
hello

what governor to use for best performance?
[HTC Sensation] Yank555:
You name it : performance ;)

But it will eat battery ... I'd recommend Intellidemand, good compromise !

JP.

Sent from my HyperNoneSense v2.9 / Yank555.lu kernel v1.2c (based on faux 007u) powered htc Sensation XE using xda premium
[HTC Sensation] Tigermoto:
I wouldn't bother mate, this guy asked in all the threads one after another, Faux123, Show_P and Sebastian, he is not interested, else he'd have picked a kernel to try before multi trolling.
[HTC Sensation] Luigiesin:
That's weird... I'm on 008b4 with ARHD6.6.5 and as a matter of fact b4 resolved many issues for me.

This one is the smoothest so far... But have to admit battery is not as good as 007. But love the performance!!!!!!!!! Sick!
[HTC Sensation] Yank555:
Yep, saw ot on the other threads in the meantime ;)

Sent from my HyperNoneSense v2.9 / Yank555.lu kernel v1.2c (based on faux 007u) powered htc Sensation XE using xda premium
[HTC Sensation] ziggimon:
I just downloaded and untarred pyramid-2.6.35_mr.tar.gz no problems.

Make sure you have this md5 of the file: 003c743d94c6393bc898f4c03badfbb8

I downloaded it from here: http://dl4.htc.com/RomCode/Source_and_Binaries/pyramid-2.6.35_mr.tar.gz
[HTC Sensation] GabrielSousa:
can you put the file on megaupload ?
[HTC Sensation] Cass67:
I responded the same on the IC thread, uploading now for you incase previous poster has not seen it ... ill edit both with link when its complete .. 15 mins or so ...

http://www.megaupload.com/?d=GY3OAPDQ
[HTC Sensation] ziggimon:
Uploading.. done in about 10..

Update: Here is my upload (The file i unpacked with success): http://www.multiupload.com/56YKB0F0AC
[HTC Sensation] GabrielSousa:
thanks ;) !!!
[HTC Sensation] ziggimon:
NP.. Happy compiling i guess :)

Now I'm back off to bed.. was in bed, then xda app told me you requested an upload :)
[HTC Sensation] faux123:
I am just done merging the source code into my main source. I found a few interesting enhancements. CPU1 will now start up faster, CAF/HTC has added a fast boot option for slave CPU1, so we should see some performance improvement there. HTC/CAF has added tons and tons of memory synchronization code everywhere, this is used to prevent the cpus from clobbering each other's data. On 1 hand this is a good thing, on the other hand, memory synchronizations are usually expensive and performance sapping. I will apply my usual patches on top of the 2.3.4 mr baseline.

ATTENTION ROM Devs: Once I released my new kernel (NO ETA and DON'T ASK), you will need to GO BACK TO STOCK 2.3.4 RAMDISK and LIBRARIES. Please be aware of this! I will test my new kernel using STOCK 2.3.4 ROM as baseline before I release for public consumption :D
[HTC Sensation] mike1986.:
Amazing! That means we no longer need hack to make kernel work on 2.3.4 base and probably no longer need for camera libs...
[HTC Sensation] jlevy73:
Excellent, can't wait. Thanks Faux
[HTC Sensation] BrokenWall:
I will be in the normal channel in IRC to get in touch for testing if you like
[HTC Sensation] kickdrum74:
Just what I wanted to hear faux....thanks again!!!!!:-)
[HTC Sensation] kickdrum74:
I have had the graphics glitch with a stock kernel. Only does it with third party widgets though. It doesn't seem to do it with sense widgets. Mine did it right out of the box.
[HTC Sensation] cyberde:
It happened on mine while using gps data. Hopefully it will be solved with the new kernel :)
[HTC Sensation] spdrosin:
This means that will will not be able at the moment to have your custom kernel on a 2.3.5 based ROM ?
[HTC Sensation] RADLOUNI:
genius

You're a genius Faux, with your 0.1.0 i am getting around 2800 to 3000 in quadrant, the ROM is so smooth. I set the Daemon to 1.78 MHz Performance to get those numbers. Keep up the good work. You should give the goons at HTC some lessons in Kernel development

By the way, for the below, ENGLISH PLEASE :-)

Quote

Version 0.1.1 (Coming NO ETA, Official GB2.3.4)

Re-Based on HTC MR release!

Revert back to SLUB Memory Allocator

Patched BFQ I/O scheduler version 2.1

Re-patched HTC MR release 2.6.35.13 to kernel.org 2.6.35.14

Enabled GPU 3D Turbo Mode (266 MHz to 320 MHz)

GPU 2D is now same as stock

CAF msm: clock-8x60: Refresh PDM and TSSC halt bits at boot

CAF msm: 8660: Add barriers to SMP boot code

CAF msm: clock-local: Add memory barriers for later move to _relaxed accessors

CAF ARM: SMP: Make resched-ipi-while-offline warning less verbose

CAF msm: clock-8x60: Vote for mmfpb_a_clk at 64MHz

CAF mmc: core: put eMMC in sleep (cmd5) mode before suspend

CAF msm: clock-8x60: Don't disable clocks in reg_init

Un-Quote

Edit: forgot to mention i am using Mike's ARHD 3.0.4
[HTC Sensation] mgear356:
2nd that! Makes me feel the real sensation on my phone!
[HTC Sensation] piggie916:
Soooooo am i the only one getting boot loops? Did 2 fresh installs, wiped everything...

Looking for help now
[HTC Sensation] Rubman:
What rom are you on? If on InsertCoin you must use the kernel edited by Baadnewz, wich can be found in the 2nd post in his topic. if not try flashing a stock kernel boot twice and let your phone settle in for a while. Then try to flash the faux kernel again, and wipe dalvik and cache before and after the kernel flash. Next do a fix permissions after the flash. This seems to help sometimes