yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] shantur:
Last kmsg or tombstone will help.

1. Install sultans cm11 and enable adb with root

2. Try if you can adb while booting

3. Install this rom without wiping data from sultans rom installation

4. Power off device after installation from recovery

5. Do "adb logcat > logcat.txt" in a Terminal window

6. Power on device and wait till it hangs

7. Now press ctrl + c on Terminal window to end logcat

8. Enter "adb reboot recovery" in terminal

9. Once recovery boot is complete

Do "adb shell cat /proc/last_kmsg > kmsg.txt"

10. Mount data partition in recovery

11. Do "adb pull /data/tombstones" or "adb pull /data/tombstone" i dont remeber the exact name of folder.

12. Zip all the files (logcat.txt, kmsg.txt, tombstones) and post here

It should give us exact problem whats happening
[HTC Sensation] Siema89:
Asked few times already and finally got an answer on how to get useful about this problem, thanks. Will bookmark this post for future reference :)

Did a quick scan for exceptions in logcat and found this gem: F/WindowManager(13670): java.lang.ArithmeticException: divide by zero

All files attached as requested.
[HTC Sensation] d3vilskid:
I understand you guys feelings, on my sis gs2 I can't get past the Samsung screen on their latest build but able to boot on the Jan 9 build. Might be a cm problem. Who knows.
[HTC Sensation] cthsuks:
I did a full system wipe and loaded the rom with gapps. When rebooting, it just stuck in a loop showing cyno turning.

I did the junobear soff before and then later reinstall the original tmobile rom and now it shows locked. :(

This is what my setting is now showing in bootloader. Would love try the new Rom.
[HTC Sensation] shantur:
I think [MENTION=4817003]bilal_liberty[/MENTION] or [MENTION=4800121]Sultanxda[/MENTION] will be able to find the exact issue.
[HTC Sensation] Sultanxda:
Plot twist: I made a new build! I finally took the SAT today so I decided to cool off after by playing around with the source a little bit.

Jan 26, 2014:

ROM:

*Latest upstream CyanogenMod changes

*Enabled full QCOM BSP

*Enabled LPA (low-power audio)

*Fixed notification LED

*Enabled audio-visual enhancements

*Increased speaker volume

*Camera: Fixed all picture quality issues

*Camera: Disabled focus for now (as it is more broken than Windows Vista)

*Switched to scorpion CPU optimizations + bionic optimizations

*Overall performance greatly increased

*Other misc changes

Kernel:

*Re-mapped RAM to better suit AOSP ROMs and KitKat

*Fixed 1080P video playback as a result of the RAM re-map

*Updated WiFi drivers (bcmdhd) from Nexus 5 kernel (thanks to Flemmard)

*Compiled with new January 2014 Linaro toolchain release from Christopher83

Download:

ROM: http://goo.im/devs/sultanxda/Pyramid_CM11_3.4

Mirror:

ROM: http://d-h.st/users/sultanxda/?fld_id=32019#files
[HTC Sensation] Ave_CoVeR:
it is another rom or new build of [ROM][Android 4.4.2][Camera works] CM11 with ION [Jan 16, 2014] ?
[HTC Sensation] Sultanxda:
I posted it in this thread for a reason... I'm a part of Team-Senny too :p The build that I posted in this thread is a new build of this ROM (3.4 kernel).
[HTC Sensation] BuXuRa:
Sultan please try to adress not booting issue for some users... Logcat and last kmsg pages pack
[HTC Sensation] Ave_CoVeR:
OK ) will we get a new build?
[HTC Sensation] Sultanxda:
If it gets stuck on the HTC splash and then freezes then it probably has something to do with mipi drivers (or it might have nothing to do with mipi drivers and instead could be caused by default CPU freq of 1512MHz and high L2 cache overclocking from my 3.0 kernel). I checked the last_kmsg posted a couple pages back but it is useless because it was made by the 3.0 kernel, not the 3.4 kernel:

Linux version 3.0.101-Sultan-kernel-ION-r53

Also, logcats are probably not going to help debug this as it's probably a kernel issue.
[HTC Sensation] spuri78:
Yes please master sultan. I'm one of those unfortunate ones.
[HTC Sensation] Itsakash:
Only video autofocus or video as well as image??
[HTC Sensation] Sultanxda:
I disabled focus entirely since it is broken. Whenever the camera tries to focus, after focusing once or twice, the camera goes wayyyyyyyyyy out of focus (it goes to super high macro). Therefore, since focus is only making the camera worse, I have disabled it until it is fixed.
[HTC Sensation] spuri78:
so, for users having not booting issues, there's no point in flashing the 26/01 built is it?
[HTC Sensation] josehur9:
Pictures are in bad quality in this build too, with or withput flash...
[HTC Sensation] Sultanxda:
No, picture quality is fine in this build. Go to Gallery and look at the picture, or if you're looking at the picture immediately after taking it then zoom in on the picture and its true quality will show.
[HTC Sensation] josehur9:
In gallery i have bad quality too, thanks for the quick response dude! You are the masters!!
[HTC Sensation] Sajito:
[MENTION=4800121]Sultanxda[/MENTION] In your new build I still have issues with battery charging :( Would a logcat help? I think it's kernel related, but I don't have a last_kmsg.

EDIT: Unforntunately pictures with 8MP still have black stripes on them...

EDIT 2: Focal can't take more than one picture at a time.
[HTC Sensation] bilal_liberty:
:good::good: OP updated
[HTC Sensation] szotaa:
[MENTION=4800121]Sultanxda[/MENTION] after few minutes of using 26 jan build haptic feedback seems to be gone.
[HTC Sensation] soroush0313:
Hi there... Thanks a lot for your efforts guys! After Installing the latest build I want to report:

1. When I tried choosing network manually the error appears! I think this problem related to the RIL version as I didn't have this problem with Sultan 3.0.101 build.

2. The volume is high enough compared to Vipers 5 but it has lower quality.

3. If you unlock the screen immediately after locking it you will see that screen stays black and just buttons backlight turn on.

4. I think everyone know about camera issues and in the latest build the pictures has low quality everywhere and lines on them (also tried to view picture in my laptop), also panorama is f**king glitchy.

5. 1080p video recording has lines on it but when you stop recording the video not saved but 720p recording fine and saves without problem.

6. Tried to play 1080p 40mbps mkv video and there is no problem playing it. Also tested online stream without problems.

7. I have charging problem too! The battery stick at 90%, tried restart phone but still stick on 90%.

Will report if I find more things later...

Again thank you all...
[HTC Sensation] soroush0313:
I've tested with the stock gallery and player and also played 720p video recorded by sensation camera using gallery without problem...

I've done fullwipe before installing 26/01 build!
[HTC Sensation] ivanich:
But you probably use Mxplayer :)
[HTC Sensation] MrJukeHardbane:
Deep Sleep Issue is still there, device doesn't wake up after going in deep sleep. Sometimes just doesn't wake even after seconds of locking the screen. Using the latest build by Sultanxda
[HTC Sensation] alainr:
I just noticed that in tatest (26/01) version searching for network operators does not work. Flashing HTC-RIL_4.0.0056HMQ_AOSP.zip from http://xdaforums.com/showthread.php?t=2348361 seems to fix the issue. Would it be possible to include this fix?
[HTC Sensation] bilal_liberty:
yeah it will be integrated to our vendor trees
[HTC Sensation] Mark376:
Nope. Still have black strips in both gallery, camera and 3rd party camera app.
[HTC Sensation] alainr:
Unfortunately same issue here. Preview seems fine, but if I look at the pics from computer or gallery they have stripes
[HTC Sensation] bilal_liberty:
ok guys, thnx for informing, it will be fixed soon/
[HTC Sensation] Corvo007:
Hey guys, LPA is really working or just enabled?

P.S Do not blaspheme Vista!!1!1 :D :D
[HTC Sensation] marcjw:
Works fine here. If dirty flashing, did you remember to wipe cache and Dalvik?
[HTC Sensation] szotaa:
Clean flash over here, from my side everything is done as it should be done.

Wysłane z mojego HTC Sensation przy użyciu Tapatalka
[HTC Sensation] caspboy:
[MENTION=4817003]bilal_liberty[/MENTION]

CM11 test builds for the HTC One V maybe? We will test for you and report back asap. A CM11 project was in the works but after one build dev gave up and removed links. Please help us:D
[HTC Sensation] marcjw:
On the Jan 23 version I had an odd compatibility issue with bluetooth and TBT navigation that was hard to describe. But with Jan 26 this seems to to have been resolved. Aside from some remaining flash photo issues, Jan 26 seems quite good so far. Nice job!
[HTC Sensation] bilal_liberty:
guys try camera2.apk from sultan's cm.
[HTC Sensation] bilal_liberty:
yup sure if I had device :p
[HTC Sensation] caspboy:
we'll test either way:laugh: And sorry for funkin up your thread
[HTC Sensation] jkolner:
I also have a little problem with my battery, that won't charge to more then 87%.

Did a complete wipe and battery wipe. Drained the battery and charged it the whole night with the phone shut down. After I started the phone, it was at 87% again.

/ Sent from my phone /
[HTC Sensation] BuXuRa:
Booted latest build but stuck on language selection, cant boot after restart ... Weird
[HTC Sensation] bilal_liberty:
just take htcbatt from system/bin of sultan's rom and see if it becomes fine.
[HTC Sensation] Siema89:
Did you check these logs: http://xdaforums.com/showpost.php?p=49768518&postcount=887 ?

I did everything according to shantur's directions. If that's wrong, then how can I take correct logs?
[HTC Sensation] szotaa:
For everyone who dont know how to take logs correctly: Use SysLog app from play store. Hope I helped :D
[HTC Sensation] bilal_liberty:
Last time i did blind porting for desire c, and from the experience of that I have decided to never do it again. so sorry for that.
[HTC Sensation] cclaxx:
Me too! Can't reproduce music with sultan rom...instead video playback works fine
[HTC Sensation] Sajito:
I dirty flashed this rom earlier over sultans rom and I was able to take pictures with flash.

Now I made a clean install and now everytime I take a picture with flash my phone shuts down... I know that's usually a battery problem, but 2 hours ago it worked, how can that happen?

EDIT: Nevermind. It's working now, though I don't know why...
[HTC Sensation] domi.nos:
How does battery life look on this rom?
[HTC Sensation] ivanich:
When battery is low it poweroff phone

---------- Post added at 05:07 PM ---------- Previous post was at 05:05 PM ----------

Because LPA is broken, change lpa.decode to false in build.prop.
[HTC Sensation] Sajito:
Oh so obvious... Thank you :laugh:
[HTC Sensation] papikev:
I don't think the issue is that the users do not know how to take logs correctly (well, perhaps that is not the case for most anyway), in this particular situation the difficulty becomes grabbing the correct logs, probably a last kmsg during a bootloop which, in the end the rom does not even boot so the user ends up having to restore a nandroid, or reflash a correctly booting rom. Grabbing logs during the bootloop, or stuck at the splashscreen I think is becoming the challenge, ones in which truly show the error. I have been away from this for a bit, but I am going to give it a go and try to grab some good info and will try to post sometime today, as the last time I tried this rom I was one of those having the booting issue too.
[HTC Sensation] marcjw:
You do know that the latest version was posted only 7 hours ago, right?
[HTC Sensation] Siema89:
[MENTION=4817003]bilal_liberty[/MENTION], [MENTION=4800121]Sultanxda[/MENTION], [MENTION=3275672]shantur[/MENTION]: As expected, 20140126 build didn't change anything about getting stuck on HTC logo.

Took some logs using shantur's instructions, but used 20140113 build of this rom (last one working with 3.4 kernel) and then 20140126 over it.

This time it went different. A LOT. Logcat is way smaller (61kb vs 3mb+). Also no tombstones found. Weird. Attaching logcat and last_kmsg.
[HTC Sensation] bilal_liberty:
thnx for the correct last_kmsg. the issue seems to be with clock of cpu, lets see what other devs say.
[HTC Sensation] ivanich:
Try to flash this kernel, unpack it first

in boot loader

fastboot flash zimage zImage
[HTC Sensation] beatbrot:
A week ago or so, I had a very strange bug. I think you can see what I mean with that screenshot. It is completely unmodified.

Gesendet von meinem HTC Sensation mit Tapatalk
[HTC Sensation] bilal_liberty:
the black thing in the middle of the screen? seems u have done it through paint :silly::silly:
[HTC Sensation] Siema89:
D:\Temp\Sensation>fastboot flash zimage zImage

sending 'zimage' (5172 KB)...

OKAY [ 1.508s]

writing 'zimage'...

FAILED (remote: not allowed)

finished. total time: 1.824s

D:\Temp\Sensation>fastboot flash zImage zImage

sending 'zImage' (5172 KB)...

OKAY [ 1.508s]

writing 'zImage'...

FAILED (remote: not allowed)

finished. total time: 1.824s

My sig is current readout from bootloader.
[HTC Sensation] ivanich:
Try this from recovery
[HTC Sensation] Sultanxda:
I took several pictures and none of them had stripes :eek:
[HTC Sensation] ivanich:
I have stripes too, upload a picture you've made
[HTC Sensation] beatbrot:
Seems so, but it is not done with paint :) I was also quite surprised when i saw that :)
[HTC Sensation] Siema89:
You answered so fast that I didn't have the chance to say that manually booting that kernel with fastboot boot zImage worked :)

test_kernel.zip gives bootloop though...

edit: on a clean install of 20140126 build, fastboot boot zImage gives bootloop as well.
[HTC Sensation] Sultanxda:
My camera was set to 2MP... :silly: *facepalm*
[HTC Sensation] Sultanxda:
LPA isn't working in the build I uploaded, but I fixed LPA in a private build I just made (I'm currently listening to music with the screen off, no gaps in audio or anything like that, and logcat output indicates that LPA is working). LPA will be working in the next build.
[HTC Sensation] beatbrot:
I tried to compile CM11 today by myself, and i just copied the local_manifest.xml of the Team-SennyC2 in my CM11 folder and resynced afer that i applied your repo-patcher.sh script(which asks me to input a file, but i dont know which so i simply pressed enter)..but after doing "source build/envsetup.sh" i dont get a pyramid option in lunch..do you guys know why?

BTW: i hope it's no problem if i compile the ROM for myself with some extra cherrypicks i want to have :)
[HTC Sensation] bilal_liberty:
just do

brunch pyramid
[HTC Sensation] beatbrot:
ok, but again: which file should i specifiy in the repo-patcher.sh script? Oo

lool..was kind of stupid, i have to start the script from the root directory :P
[HTC Sensation] Siema89:
With [MENTION=4329165]ivanich[/MENTION]'s help, I managed to successfully boot the 20140126 build. Then manually set CPU MAXFREQ to 1188MHz in performance options (and checked to set on boot).

Since then, 100% boot rate :)

Soo I'm also positive that the default MAXFREQ might be the problem here.
[HTC Sensation] BuXuRa:
Maybe you share it here? Thanks
[HTC Sensation] Siema89:
- full wipe

- flash 20140113 build

- boot it, initial setup etc to make sure everyting is fine so far

- flash 20140126 build

- power off phone for now

- download [MENTION=4329165]ivanich[/MENTION]'s kernel from this post: http://xdaforums.com/showpost.php?p=49782427&postcount=945

- unpack it

- boot phone to bootloader

- fastboot boot zImage in terminal form where you extracted the zImage.gz archive

- should boot now (for me, it didn't boot at this point unless I flashed 20140113 before 20140126, that's why I pointed it out in second step)

- enable Developer options

- Settings -> Performance -> Processor -> Maximum CPU frequency -> 1188Mhz

- make sure that "Set on boot" is CHECKED

- try rebooting, should work now (at least for me)

- reboot/power off/power on few times more to be sure :P

- if it works, try proceeding with flashing gapps etc.

Personally, I'm gonna try increasing CPU MAXFREQ until it doesn't work anymore :P
[HTC Sensation] bilal_liberty:
Already answered :D ^^
[HTC Sensation] Siema89:
:p

Anyway, increasing MAXFREQ didn't get me too far. Got stuck at only 1296MHz...

edit: after more tries, anything more than default freq is bad.
[HTC Sensation] yayakuya:
could you please send me the zimage.img? then i can flash it over recovery...

i'm far away from my pc atm...

but i wanted try now, thanks
[HTC Sensation] Siema89:
You can't flash it. You have to boot that kernel manually from terminal.
[HTC Sensation] Sultanxda:
Boot this zImage and see how far you can increase your max freq: http://d-h.st/Myj

If you can go to 1512MHz without any issues then all is good :fingers-crossed:
[HTC Sensation] yayakuya:
trust me i know how to flash zimage over 4ext recovery...

can i flash this over recovery?
[HTC Sensation] Sleepy!:
So should I wait for a new build or will it take some time?

I'm not trying to be pushy, just asking as I have a limited data plan, and if a new build is to be expected in the near future, I'll hold off on downloading this one. :)
[HTC Sensation] Siema89:
It doesn't boot :/

Neither clean flash, nor over 20140113...
[HTC Sensation] Sultanxda:
You can download the current build and flash the LPA fix on top of it: http://d-h.st/fTc
[HTC Sensation] Siema89:
I don't get it. Can't get it to work anymore even with [MENTION=4329165]ivanich[/MENTION]'s kernel :confused: Even on default CPU freq.

Have to manually boot it every time.
[HTC Sensation] sudgai:
Make a backup of current boot. You can run it set that frequency by increasing frequency voltages.

Such scenarios happened with my incredible s. So, it can be solved by increasing frequency voltage.. :)

Thank [MENTION=225651]op[/MENTION] and whole dev team , for giving rom on Indian republican day.:D
[HTC Sensation] Siema89:
Well, my current boot is clean installed 20140126 build, manually booted with [MENTION=4329165]ivanich[/MENTION]'s kernel, so not much sense in backing it up :P

This phone isn't my daily one, so I don't mind flashing and formatting it over and over again.

Also, I found that if I do a full power-off before each fastboot manual boot, I don't need to flash earlier build before this one.

---------- Post added at 09:55 PM ---------- Previous post was at 09:20 PM ----------

Does this kernel enforce any CPU freq?

Because when I said before that it doesn't boot, it was on ROM's default 1512MHz.

When I booted it after switching to 1188MHz (using ivanich's kernel), it worked.

So I understand that I am to switch frequencies, but boot this kernel each time manually, right?
[HTC Sensation] bilal_liberty:
happy indian republican day!!
[HTC Sensation] sjknight413:
I'm still on the 23rd January build but I've just noticed, mpdecision is disabled by default so both cores are always online.

There's an option to reeanable mpdecision in trickstermod but it doesn't stick. Is there a way to sort this out?
[HTC Sensation] Sultanxda:
I haven't got to mpdecision yet. Camera is more important for now.
[HTC Sensation] Siema89:
Alright, a quick update from my ventures:

- flashing HBOOT 1.27 enabled me to permanently flash zImages, yay!

- [MENTION=4800121]Sultanxda[/MENTION]'s zImage doesn't work when flashed over fresh install. Stuck on boot.

- [MENTION=4329165]ivanich[/MENTION]'s zImage works though. On default settings, 1512MHz.

I don't know... leaving thinking to you guys :silly:
[HTC Sensation] zooster:
Maybe default voltages are lower than stock and on some devices they prevent the boot? Maybe that lower booting freq has just a voltage sustainable for that device.
[HTC Sensation] Sleepy!:
It's happened in the past....
[HTC Sensation] Amin.rapture:
Hi

Flashed . seem's good . how can add option for power menu ? Like recovery - bootloader ..
[HTC Sensation] bilal_liberty:
go to About phone, Tab build number 7-8 times, go back and ull see developer options, go into them and select advanced reboot, then press power off button and reboot.

Gues what?

ull see all reboot options
[HTC Sensation] Sotik11:
OTG

What about OTG? Is it working in this ROM?
[HTC Sensation] cclaxx:
I leave yesterday night the Phone with 94% of charge and today I have it at 15%!! I think we have to much battery drain..do you know why?
[HTC Sensation] fbf2201:
Check your wakelocks with BetterBatteryStats. From the screenshots nobody can see the culprit.
[HTC Sensation] dongddoi:
Just flashed this ROM and so far so good, but i can't find Swep2wakeUp function. Any idea ? Thanz
[HTC Sensation] bilal_liberty:
No worries sultan have fixed it
[HTC Sensation] hedifezai:
Good job bro. You are the one. Keep it up :thumbup:

_ Hit thanks if it was useful. Sent from my HTC Sensation XE _
[HTC Sensation] 69gm:
Can I just say that I LOVE that you and [MENTION=4800121]android1234567[/MENTION] are colloborating. You guys are top notch devs and I love that you guys are working TOGETHER to make this work! Thanks much to both of you!!! :good::good::good:
[HTC Sensation] topgeardave:
Hey Dominos,

Is this a straight port from ville c2 with kernel and libs swapped out? Or is it an actual complete build from source?

Regards

Dave

Edit: Forgot to mention latest ROM is brilliant! Good work mate :)
[HTC Sensation] Sultanxda:
So far they have not been source builds. We're working on fixing all the issues with source building :)

I'm working on some surprises with the source build ;)
[HTC Sensation] bilal_liberty:
Guys now prepare for surprises from me and sultan :D
[HTC Sensation] Corvo007:
We are ready! :D
[HTC Sensation] pyramid:
Yes please...Ready to download and Flash even during office hours....:D
[HTC Sensation] nqddnwhb:
we are always ready!
[HTC Sensation] pyramid:
Surprise, we are waiting for you..where are you?
[HTC Sensation] sunanulh:
Surprise, oh please come in...:D
[HTC Sensation] huzefaonline:
this is going to be exciting :)
[HTC Sensation] pogs24ever:
Hmmnn... Let me try this!!! You guys are awesome!!!
[HTC Sensation] zooster:
Yes but the most interesting thing would be to know if this surprise will come with a little help of pmem or just ion ;)
[HTC Sensation] BuXuRa:
If it is camera!!!! :eek:
[HTC Sensation] ashkan-khatar:
Can I ask why camera doesn't work? In Sultan's CM11 with ION on 3.0 kernel it didn't work due to ION being present, but now that this kernel is already 3.4 with ION, why should camera not work? Does it need the whole drivers to be re-written?

SENT FROM WHATEVER IS NOT SOMETHING TO BE LOCKED AT, THE THING IS THAT IT IS SENT.
[HTC Sensation] Sajito:
As far as I know it's still same issue. This has 3.4 kernel but it's still ION so camera drivers don't work
[HTC Sensation] LeMuecke:
Was explained some posts before, it's like camera driver says 'hey I want my pmem memory space' and kernel says 'well here is ion' and then boom :D

Sent from my typewriter.
[HTC Sensation] zooster:
Best performances in JB are with ion but, without proper driver designed to work with ion, camera won't work, unless you use pmem but loosing most of benefits.

So the challenge is to have both, benefits of jb and camera working, but camera drivers able to work with ion are not available. So there are few choices: modify camera drivers to work with ion (best scenario), an hybrid system pmem/ion, revert back to pmem, stay without camera :)
[HTC Sensation] ashkan-khatar:
Well Sultan once said that making a hybrid kernel is not hard, but I don't know why he doesn't make one?

SENT FROM WHATEVER IS NOT SOMETHING TO BE LOCKED AT, THE THING IS THAT IT IS SENT.
[HTC Sensation] r34c7:
the function isn't included in the kernel for now
[HTC Sensation] Mark376:
Would anybody upload it for me :)
[HTC Sensation] Sajito:
Here it is. It worked for me.
[HTC Sensation] dongddoi:
I got an issue with WiFi. It wouldn't connected with my WiFi when i get home and i have to reboot the phone. After reboot i got WiFi connected again. Any one got this issue just like me?
[HTC Sensation] Siema89:
Flash latest RIL (4.0.0056) from here: http://xdaforums.com/showthread.php?t=2348361

It will probably be included in next builds. For now, flash manually.
[HTC Sensation] bilal_liberty:
so now no rebooting rite?
[HTC Sensation] BuXuRa:
Any news about new build? Sorry just want to boot it.. last 4 builds i wasnt able to boot this rom which i want to be my daily