yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] show-p1984:
Even if I am, here it is:

Bricked_XE v1.6 beta5

Changes from v1.6b4:

* drivers: kgsl: Fixing earlysuspend/lateresume for multiple devices

* drivers: kgsl: create singlethread wq instead of per-cpu wq

* drivers: kgsl: Abort kgsl_pwrctrl_wake() when in KGSL_STATE_INIT

* drivers: kgsl: fix parameter checking in adreno_ringbuffer_issueibcmds

* drivers: kgsl: Reverting Ringbuffer Power Management to XE source

Let's see if this gets rid of some issues ;)

camfix from v1.4 still valid.

No I have not yet cracked ZSL, and yes this is the next thing on my todo list.

Download: Click me
[HTC Sensation] wifesabitch:
Sweet, flashing right now. :D
[HTC Sensation] show-p1984:
I just flashed back to ic 225 sse, the sod on 2.3.4 is still present... the 27th call was a blackscreen :(

But I found out something new, it seems that the wakeup is called two times, at least on my phone the capacitve buttons are flashing for half a second, then going dark and activating again.

Proved it with debug messages...

Looks like we have a rogue wakeup call somewhere =/
[HTC Sensation] erraggy:
I sometimes get rouge wake up calls while staying in hotels. Really annoying. I feel for you @show-p
[HTC Sensation] m4tr1s:
Compactible bricked kernel with ICS Alpha 76

Hi show-p1984:

I am test TripNiCE S0076A - IceCream Sandwich 4.0.1 | ALPHA 7.6 in my sensation, the question is compactible your kernel with this ROM?

Regards
[HTC Sensation] joaquinf:
Testing now, everything seems to be great, fast, smooth and stable. Ill be reporting my experience after a few hours
[HTC Sensation] lightninbug:
Is it true HTC sensation kernel source is out? Read it in fauxs thread..myth or truth?
[HTC Sensation] erraggy:
I just wanted to add a link to the ROM you mentioned as I could not find it on xda or rootzwiki.

But then I found out you aren't supposed to do that on xda. o_O
[HTC Sensation] joaquinf:
"GLaDOS: Oh Joy... Another reboot. Have you nothing else to do?"

Show-p guess what? this beotch seems to be back again ... had the first freeze in v.1.6 b5 after playing a youtube video in fullscreen and try to exit with back arrow then I had to do the three finger salute... i've tried everything and this seems to be the one and only issue, no incoming call sod

hope it helps

last_kmsg attached and more info in my sig

http://pastebin.com/UM7e4r6H
[HTC Sensation] sjappie:
Sorry show, data was a problem with my provider at that moment! No problems now!
[HTC Sensation] sszz:
Sorry show-p, I just had a SOD a few minutes ago with 1.6b5...
[HTC Sensation] vcoolvin:
Thanks for your response, I got the latest call recorder and that has the features i require, regarding the skipping of the conversation i still have to check that, I do need to record a few conversation from specific FORGETFUL people from my contact list :D
[HTC Sensation] V_Raptor:
Same here watching a video on youtube, pressed back arrow, froze...apart from that no dramas with phone calls, sms, mms, wifi etc etc, all good :)

ARHD 368 On 1.6 B5
[HTC Sensation] vcoolvin:
I never got the blackscreen issue (probably because i get less incoming calls and i make more outgoing) but after reading this post I realised that yes i also see the capacitive buttons always flash first and then get the call. I tried calling myself from landline and i saw that on landline my cell starts ringing but my cell next to me is silent for 2 rings, in the first ring the capactive lights flash and then on the 3rd ring my phone wakes up and shows the incoming call.
[HTC Sensation] THDTom:
LED-me-know works for me but only in compatibility mode
[HTC Sensation] masondoctorjt:
I was one of the people having wake issues, so far in 8 hours of use with beta 3 with test #46, I have no problems. I've let my phone sit for an hour and it woke, and also charged it. Usually thus is when wake issues arise for me.
[HTC Sensation] Tromador:
I've installed Beta 5 and retested - wake up on incoming call appears to be working correctly now.
[HTC Sensation] V6-Maniac:
Had several calls since flashing Bricked v1.6b5 on S-o-M v1.5

No issues here with the screen wake up issues...
[HTC Sensation] OtaruM:
Unfortunately wake up issue happened in Beta5 after approx 2 hours of usage, however test #46 run flawlessly for more than 24 hours.

Show, I really hope this will be really helpful.

For me 1.5r1 Beta1 and test #46 were the only no-problem kernels.

Stock 1.45 ROM, no auto-brightness, no frequencies tuning.

Flashed kernel, several sleep/wake cycles, played game, sleep, wake attempt... And pitch black.

No incoming/outgoing calls.
[HTC Sensation] sszz:
I couldn't have said it better myself: same here. Looks a bit more stable than previous builds but far from either #528 or #46
[HTC Sensation] masondoctorjt:
Same here, except I'm on Stock 1.50 ROM. I did not test beta 5 but I saw others were having issues,so I'll wait.

I'll give it 24 hours and switch back to #528 for the better battery life.
[HTC Sensation] dudutr:
the version Bricked-v1.5

includes Camera fix Inside?

Or need to install the Fix Camera?
[HTC Sensation] guyd:
Were you using the new Beta 5, or were you using #46 ?

---------- Post added at 11:57 AM ---------- Previous post was at 11:52 AM ----------

Turn ON Auto Brightness and try it that way for several hours.

Turning off auto brightness is a work around for the bug.
[HTC Sensation] show-p1984:
Beta 5 =/

Well we seem to be getting there. I just bisected the whole kgsl driver as well as the videocore (framebuffer)...

New beta soon(tm) ;)
[HTC Sensation] Sym_Link:
Need to install cam fix separately.
[HTC Sensation] corwest:
Do you ever sleep anymore? :)
[HTC Sensation] guyd:
Well then, I think I will skip testing Beta 5 and wait for Beta 6 ;)

Thank you show!
[HTC Sensation] dudutr:
Thank you very much
[HTC Sensation] KingDavid63:
did the badass governor thing get dropped? it sounded badass... :)

Sent from my Revolver Powered Asus Transformer
[HTC Sensation] sniperde:
Obviously not :)
[HTC Sensation] show-p1984:
Ofc not, but stability goes first me thinks.

If the present issues are not fixed there is no point in introducing new ones :p

I was one of the boys that could even do his homework while sleeping :cool:

And normally 4 hours of sleep are enough for me, I trained this during my first job and I have reached the Grand Master level ;)

My mind rebels at stagnation. Give me problems, give me work, give me the most abstruse cryptogram, or the most intricate analysis, and I am in my own proper atmosphere. But I abhor the dull routine of existence. I crave for mental exaltation.

Arthur Conan Doyle
[HTC Sensation] kponti:
I want to under-clock this beast, love it but the battery life is ridiculously bad! I can barely make it through a day without a charge!

Will setcpu handle this task well? I do not want to slow the phone down. And before you say it I know slower cpu = slower phone, but honestly for 80-90% of the tasks I ask of the phone I cannot tell a differewnce in speed stock vs ROM+Kernel. I do notice very smooth, fluid polished operation that feels a lot more like my iPhone4 hence my wanting to root etc etc
[HTC Sensation] Jonny:
use system tuner pro from the market, it allows under clicking of CPU and also undervolting of CPU to prolong battery life :)
[HTC Sensation] corwest:
Saw a tidbit that HTC released the Source for the sensation today. Will this help you out?

Source
[HTC Sensation] show-p1984:
Sensation source code was available since ages... This is just a warmup for every carrier...
[HTC Sensation] corwest:
Well then poo.
[HTC Sensation] undercover:
Amaze source is out too, should be helpfull with zsl, won't it?
[HTC Sensation] show-p1984:
It's also out since ages. Amaze ZSL does not work 1:1 with the Sensation. After some work it is possible to get everything working for the first cam opening (which I have) but a second opening of the camera app will freeze your whole phone at a random point within minutes.
[HTC Sensation] KingDavid63:
Had a freeze using mirror app,

RcmixHD v10

1.0.6B5

Ondemand 1.51ghz
[HTC Sensation] show-p1984:
Freezes seem to be fixed in beta 6.

I will check sod on sense 3.0 later ;)
[HTC Sensation] KingDavid63:
I don't see beta6

Show I promised we don't mind the quick kernel releases, means you putting in work.. most of us are flashaholics anyways.. thanks in advance .
[HTC Sensation] V_Raptor:
Neither do I...

Beta6 stop playing silly games and show yourself, will ya ??
[HTC Sensation] masondoctorjt:
Show is probably testing it himself before release. BTW over 24 hours on test #46 and no problems. Battery doesn't seem bad either despite the gpu not turning off, so I may just sick with it instead of going back to #528.
[HTC Sensation] evilmastr:
Got 3 calls today, 2 times the screen woke up and the third time it didn't. It's a step in the right direction, my screen would never wake up before. :) Answering calls works even if the screen is black, you just need to know where the lockring is (I'm starting to get good at it, haha).

Using beta 5.

Pyramid3D 8.3.0 XE

Screen off: 384-1566 smartassv2

Screen on: 384-1728 smartassv2

Oh, and by the way, I'm using the weather lockscreen and auto brightness.
[HTC Sensation] marcos600rr:
@show_p was using latest beta since yesterday and today like about 24 or more he of use got a black screen during a call and the phone wasn't responding to the 2volume buttons plus power to reset so a batt pull was needed IM using tmous last update stock rooted 1.50 since my old sensation died...
[HTC Sensation] ivicask:
Anyone tryed 4G 12/7/2011 OTA Update from here :

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

Since i flashed it i just cant get black screen anymore, recived about 30 phone calls, and played with youtoube about 30vids and tryed pressing back and no problems...

+ Battery lasts noticable longer and it doesnt jump.

But maybe i just had luck, please someone test it.
[HTC Sensation] show-p1984:
It will magically appear this evening after I got a full day with it without issues ;)

Yeah that's exactly what's happening. However, if you can compile it yourself, pull my github (or gcode) source, switch to the exp branch and compile it with the latest linaro toolchain. All changes are present. The config may be acquired from a booted beta5 kernel by executing.: adb pull /proc/config.gz (unpack it). Put it in the source root (it you want to, open it and replace beta5 with beta6) and do make -jX (where X=number of CPU cores times 2).

Copy the new zImage into the beta5 zip and flash. Congrats! You compiled from source ;)

Just had some time in the train so I thought I could use the time to encourage some ppl to find their passion for programming & compiling ^^
[HTC Sensation] mat9v:
Show - I'm no programmer :) but I was thinking if it would be possible to do a dirty trick and just restart camera driver on camera app exit (not as part of a kernel but a part of camera apk). Would it maybe solve the problem?
[HTC Sensation] Snah001:
Still strange that many people NEVER had this black screen issue at wakeup or receiving calls.

I never had this problem with all your kernels.

Only glitch I had was the camera freezing, but also not consistent.

Sometimes I can make 20 pics and no problems at all, and sometimes after 1 or 2 pictures it froze.

Now I am back to 2.3.4. latest Leedroid ROM with your beta 4/5 kernel and till now no issue whatsoever (48 hrs).

With 2.3.4. the phone is during use so much faster and smooth, never had this experience with any 2.3.5. ROM.

Only thing I miss very is the 1 x 4 Clock....

So I am curious about your kernel that is in the cooker......

Keep up the good work!!
[HTC Sensation] Alganon:
Same here. :D

I'm currently on my 2nd battery cycle, and even the first cycle, battery was really better, wifi is little betterand the best: I did not have any case of freeze or screen not waking up when being called by now.

So maybe it isn't the kernels fault at all!?
[HTC Sensation] Tromador:
Why Cores x 2?

Now - I'm not an android dev, but I run Linux servers for a living, so I've built my share of kernels ;). The -j switch (as I'm sure you know) tells make how many threads to run at once. Why use more threads than processors? It won't compile any quicker and might actually go more slowly from the additional overhead of having the scheduler share CPU time between the additional processes.

(unless you have single hyperthreaded cores which appear as dual cores to the OS)
[HTC Sensation] mat9v:
Well, Sensation does have a dual core CPU so a correct switch is used here.
[HTC Sensation] Tromador:
The -j switch to make is for the number of cores on the machine which is performing the kernel compilation (ie where you have the SDK installed), not the cores on the target device.
[HTC Sensation] mat9v:
My bad here, sorry :)
[HTC Sensation] arachnid1970:
Wish i could flash it.... Tried about 30 times and always noticed that partition update failed :( maybe someone know how to solve that? Sorry if thats a little bit off topic...
[HTC Sensation] xsteven77x:
Gonna try this out thanks.
[HTC Sensation] ivicask:
Not sure, but i think you need to be S-OFF for that if you aren't, or you must use SuperCID or try finding more help in that thread so we dont spamm show's..

Anyways would recommend this to everyone regardless of ROM and kernel.
[HTC Sensation] Lionhardt:
v0.91 320mhz gpu is still the best. amazingly boss.
[HTC Sensation] sjappie:
With beta 5 i've got alot camera freezes! Never had any wake up problems with Bricked kernel!
[HTC Sensation] ploep678:
What is your battery life about , with that configuration, because i've been looking for the right set up for several weeks, and don't really know which is the best to have a good battery life without having a lag in doodlejump for example. I also don't know which is the better govenor for that. I've been changing between ondemand and smartass several times.
[HTC Sensation] xdviper:
Is it me, or is the UI on sense and twitter and other graphical apps just choppy?

Running beta6
[HTC Sensation] geoffcorey:
Um... I think you misread what he was talking about.

On the host computerbyou use to compile the software, you can make use of multicore cpus by throwing a -j# flag, where # = usually 2 * (# of cpus) + 1 or # = # of cpus. This will seed up compile time immensely. It has nothing to do with the sensation having dual core. It's all host machine related (I.e. the PC).

Sent from my HTC Sensation 4G
[HTC Sensation] freak007:
Maybe you can take a look at this kernel (2.6.36) mainline patch ?

http://git.kernel.org/?p=linux/kern...ff;h=c125e96f044427f38d106fab7bc5e4a5e6a18262

Edit: seems there is some code integrated by htc: complete_all : PM: Prevent waiting forever on asynchronous resume after failing suspend. But it's not a problem.
[HTC Sensation] show-p1984:
If you can make modifications to the cam app that deep then you are my hero.

Usually you specify a number between 1 and 2 times of the amount of cpu cores available. This speeds up the process additionally. Every time a compilation starts or ends, the CPU is not fully loaded for some time (gathering data, reading contents, writing the results) during this time a second thread can use the cpu power that remains.

The best result with an AMD 16 core server are archived when using something between make -j16 and make -j32, depending on the amount of data readable from the disk. Ofc this does not add up till "gods-numbers" ;) For example:

A 64 core server would indeed take longer to compile something @ make -j128 as it would @ make -j64. That's because the RAM usually is completely stuffed with 64 threads already and the hard disk (even a ssd) can't feed the threads the data it is needing.

For my PC (AMD Phenom II X6 @4,5GHZ) I choose make -j12 which provides the best results. But, do have this in mind: I have a RAID 6 with 8 x 1 TB HDDs which are able to get me a throughput of over 350MB/s and therefore can deliver the dataflow needed.

If you are running beta 6 you compiled from source because it is not released yet.

BTW:

I couldn't reproduce the freezes anymore, I just went to my dead uncles house to clear out the basement (Part 1/x) and listened all the time to youtube and took ~150 Pictures. Always getting back with the back button. I couldn't get the youtube/cam freeze anymore.

Release in a few minutes just need to get something to eat first :D
[HTC Sensation] Astug:
Sounds great man! I can't wait to test it. I love your kernel but the freezes made it a no-no for me, so I was forced to use faux's.
[HTC Sensation] mat9v:
Sorry, I'm no hero ;)

After some thought I guess, making a loader for an app would be easier, am I correct? Even a simple script that loads/unloads a driver module... I have no idea if that would work anyway, just a thought....

Having a camera support as a module in a kernel, I would be able to load/unload it from command line. Please correct me if I am wrong here.
[HTC Sensation] show-p1984:
It's not that easy ;)

########################################

########################################

Bricked_XE v1.6 beta6

Changes from v1.6b5

msm: audio: qdsp6v2: Enable idle wakelocks for pcm driver

drivers: kgsl: make #ifdef CONFIG_HAS_EARLYSUSPEND more greedy

drivers: kgsl: run kgsl_idle_check after resuming a device

drivers: kgsl: Turn the power on before the clocks, we don't need extra compatibility since we are only using one platform

memory alignment: Back to original values

camfix from v1.4 still valid.

No I have not yet cracked ZSL, and yes this is the next thing on my todo list.

Download: Click me
[HTC Sensation] StuartTheFish:
Is it worth changing from beta3?
[HTC Sensation] show-p1984:
Since the freeze issue with YT/Camera is fixed (at least for the past 12 hours on my phone and 8 hours of youtube with over 100 pictures taken) I would say yes ;)
[HTC Sensation] mv0hra:
I too experienced this but then reapplied the camera patch and all seems good, I hope.
[HTC Sensation] StuartTheFish:
If it fixes my camera then that's ace. Still apply the camfix yes?
[HTC Sensation] show-p1984:
yes ofc ;)

Until ZSL is cracked you will need the camfix on sense 3.5.

Btw this is my battery usage:

Heavily used the phone.

8hours of youtube, 3 calls, sitting in the basement with bad reception, 100+ pictures taken, one hd video, used flashlight a lot and wifi tethered for an hour :)

I think it's ok for that :D

:cool:
[HTC Sensation] StuartTheFish:
Great, I'll give it a go. Thanks show!
[HTC Sensation] zx34:
Thanks for new beta....
[HTC Sensation] StuartTheFish:
I just flashed it, and set about launching and exiting the camera 30 times in a row with no issues.
[HTC Sensation] Muxeu:
Hmm. Looks like we have NY miracle. Flashed beta6, shooted about 50 pics, YT/Moboplayer/BarScanner and still had no issues.

Last two weeks I had stock kernel from 2.08 Rom and just test bricked for first freeze. Beta6 has a chance for release as a daily driver.
[HTC Sensation] Ycb04:
Does all the camera functions work yet?
[HTC Sensation] masondoctorjt:
I'm one of the ones that had wake issues, does this beta address that,or should I stay with test #46 on beta 3?
[HTC Sensation] joaquinf:
Beta 6 working great, zero issues yet ... looks promising and feels smooth as hell
[HTC Sensation] geoffcorey:
If you're referring to zsl based features; What do you think?

Sent from my HTC Sensation 4G
[HTC Sensation] guyd:
@show-p

I just want to report that the screen wake-up on incoming call bug still exists in Beta 6.

The good news is that I can still answer the phone by swiping my finger upward on the screen where the lock ring would be if I could see it.

Another interesting thing I found out. If I answer an incoming call this way (with screen still asleep), and I trigger the proximity sensor on and off, the screen will wake up like it's supposed to!
[HTC Sensation] DanielF50:
Seems it!

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

Wow, that's what I call initiative! Could be helpful to Show :)
[HTC Sensation] masondoctorjt:
just felt like quoting myself:) I flashed beta 6 two and a half hours ago, and so far it had woke everytime. Hope it stays good.
[HTC Sensation] xdviper:
Goshh. Since I've flashed the latest beta, I'm getting the black screens with calls also. sometimes it shows who's calling and sometimes it doesn't. Just the led buttons light up.

WTF! I thought I was exempt from this bug.

And also, whenever I turn on my screen, it saya system tuner has been granted root permissions.
[HTC Sensation] show-p1984:
thx for your investigation, but it is not the proximity sensor in the first place that is the problem. Triggering it is nearly the same as pressing the power button.

I will address that issue in the next beta, this had lower priority than the freeze issue, for obvious reasons. ;)

How is that the kernels problem if system tuner is greedy with permission? ;)

Maybe you have set screen off profiles?

Call for support!

Btw, you may want to support me here so I have a chance on winning the new nexus. Working on it would certainly speed up ics development ;)

Thank you very much!
[HTC Sensation] tk_xda:
How should I back up my current kernal, before installing bricked? Would it be included in a NANDROID backup done from Clockwork?
[HTC Sensation] teh_master:
yes, kernel will be included in a NANDROID backup.
[HTC Sensation] evilmastr:
I'm using the 1900 mAh Anker battery. I get about 12+ hours with pretty heavy usage (I always charge at night anyway). My record is 35 hours or something like that.
[HTC Sensation] xdviper:
Im really thinking about getting one of those. Kept beating myself for not getting it when it was $10. Hows the temperature sensor work on it though?
[HTC Sensation] masondoctorjt:
I was just getting ready to say I've had no issues at all in 14 hours, but then, boom, a random reboot. I still haven't had a no wake yet though. I'll keep testing.
[HTC Sensation] abs_rio:
The strange thing is though when you open the weather app and press more details online on the bottom. The Accuweather webpage loads up and it shows the correct location.

Also my sister has a Wildfire S running stock rom (no rooting or flashing) and the phone is showing the correct location.
[HTC Sensation] show-p1984:
last_kmsg?
[HTC Sensation] mattdub1:
fix #46 finally crashed my phone after about 5 days being solid. Woke up this morning the whole phone was black and unresponsive. Wouldn't respond even to charger. Battery pull and it's back up and running. Civic tmous rom,
[HTC Sensation] guyd:
Excellent :D I can't wait to test it ;)
[HTC Sensation] V6-Maniac:
Had no issues with all the bricked kernels until now on Beta6.

Until this morning when i woke up i had the same as mattdub1

I reported it already to Show.

To see if it was the roms (S-o-M v1.5.1) fault or a faulty app i've setup a clean and fresh install and see if it occurs again.

Since the device was unresponsive a Last Kmsg couldn't be made...

Will see what happens today...
[HTC Sensation] OtaruM:
Same here with #46. Run well for few days and bam(!), one time it went dead, totally unresponsive, did not react to charger and three-finger salute. Battery was not dead, upon reboot it shown approx. 77%, so it did not discharged.

I did not tried to reproduce, jumped to Beta 6: 12 hours without glitches, let's see how it'll behave.

Stock 1.45 TmoCZ, rooted, no tuners, auto-brightness off.
[HTC Sensation] mat9v:
I had the "phone unresponsive even to charger" problem on beta 5 kernel once. So far beta 6 is working great, fast & stable.
[HTC Sensation] freak007:
I made a test kernel based on bricked 1.6 beta 6.

I have integrated some patchs from 2.6.36 related to scheduler, pm , vfs.

Don't expect some improvements, it's just to see if incoming call problem still persist.

link: http://www.multiupload.com/AIEQ3A7T96

Applied patchs attached below.
[HTC Sensation] tk_xda:
These are the files I find in a NANDROID backup from clockwork. How do I extract and restore just the kernel?

nandroid.md5

cache.ext4.tar

data.ext4.tar

system.ext4.tar

recovery.img

boot.img
[HTC Sensation] V6-Maniac:
Why doing it the hard way?

Just do a Nandroid backup and flash the bricked kernel.

If you feel the kernel doesn't satisfy your needs retore the whole Nandroid backup and your up and running as you where before flashing bricked