[UnORom][3.4Kernel] CM-11 Android 4.4.4 [Stable v2.0][29 July][Final]

Search This thread

JanSpatschek

Senior Member
Dec 1, 2012
315
54
Waidhofen
www.rlbrt.de
Found a huge issue!
If you try and lock the screen with an alarm set the phone will hard reboot to the HTC splash! Does this every time I lock my phone now, even with no alarm set :(
This was probably what I reported above.

Clean flashed this ROM today through 4ext and got a random reboot EVERY single time the display went dark after screen timeout. Like e.g. the screen went off and 10 seconds later the HTC splash screen showed up again. I will include a last_kmsg: https://drive.google.com/file/d/0B5xpEXQcSQncTmxGOGJNQk5iSk0/edit?usp=sharing
 
Last edited:

JanSpatschek

Senior Member
Dec 1, 2012
315
54
Waidhofen
www.rlbrt.de
Yeah must be, that last_kmsg is extremely useful! Hopefully somebody in the know sees it and can provide a fix.

Seems to point to something to do with 'clock-local.c' , sdc3_p_clk Status stuck at 'on' seems to be the problem I think.
Not that I know what that is!
Yeah, it wasn't like I didn't have multiple opportunities to get that last_kmsg ;) Weird, but I think this will be fixed soon. Must be something in the new kernel.
 

shantur

Senior Member
Dec 6, 2010
1,095
3,076
I got some progress on HDMI. Well, i just hex-edited quickly liboverlay.so to change the line "int Overlay::sDpyFbMap[DPY_MAX] = {0, -1,-1};" to "int Overlay::sDpyFbMap[DPY_MAX] = {0, 1,-1};" to make the device be fb1 by default and not fb-1 (I don't know how to properly fix it, it should be fixable without changing overlay.cpp). And i got hdmi semi-working, it's very buggy, sometimes the phone hangs completely. When i connect it first i can see the upper part of an image and the bottom part is blue. When i reconnect the cable i can see the whole image fine but the screen flickers every second or so so it's not usable. Attaching a patched liboverlay.so in a flashable zip if someone else wants to test and 2 fotos showing what i get.

Also I'm suggesting to Flemmard to add this line into init.pyramid.rc:
chown system system /sys/devices/virtual/graphics/fb1/hpd

Without this it gives more errors in logcat :)

This is something in progress.
 

cclaxx

Senior Member
Jul 5, 2012
144
48
milano
Strange, neither me or Flemmard have this issue. Can anyone else confirm this?
Also which nightly are you using

hi @shantur what are your thoughts on the battery draining? for me the consumer is really high but maybe the problem is my battery.
In any case I attach some screen of my consumption if it can help
Screenshot_2014-03-25-10-52-09.png

Screenshot_2014-03-25-10-52-57.png

Screenshot_2014-03-25-10-53-05.png
 

lovendsuicide

Senior Member
Jul 19, 2011
406
179
Porto
Strange, neither me or Flemmard have this issue. Can anyone else confirm this?
Also which nightly are you using

Just tried three times to set an alarm and had no problems locking and unlocking the screen multiple times...

---------- Post added at 11:25 AM ---------- Previous post was at 11:22 AM ----------

hi @shantur what are your thoughts on the battery draining? for me the consumer is really high but maybe the problem is my battery.
In any case I attach some screen of my consumption if it can help
View attachment 2649017

View attachment 2649018

View attachment 2649019

Battery life seems pretty good, yesterday on the first charge I got 4h screen on time... the performance of this ROM is really good considering there's no overclock, that obviously helps for the battery life.
 
  • Like
Reactions: cclaxx
Which line number you are talking about?
Not very important for now, i mean that one with fb1/hpd, here's pull request https://github.com/Flemmard/android_device_htc_pyramid/pull/1 . It will have no effect for now but without this line there will be more errors in logcat when enabling hdmi, so just add it for the future just in case if hdmi will ever be fixed. (Scince mako(nexus4) has it :) ).

I have fine battery life but max cpu frequency is 1188mhz.
 
  • Like
Reactions: cclaxx

shantur

Senior Member
Dec 6, 2010
1,095
3,076
Not very important for now, i mean that one with fb1/hpd, here's pull request https://github.com/Flemmard/android_device_htc_pyramid/pull/1 . It will have no effect for now but without this line there will be more errors in logcat when enabling hdmi, so just add it for the future just in case if hdmi will ever be fixed. (Scince mako(nexus4) has it :) ).

I have fine battery life but max cpu frequency is 1188mhz.

It is planned to be fixed :) lets see how it goes
 

cclaxx

Senior Member
Jul 5, 2012
144
48
milano
Just tried three times to set an alarm and had no problems locking and unlocking the screen multiple times...

---------- Post added at 11:25 AM ---------- Previous post was at 11:22 AM ----------



Battery life seems pretty good, yesterday on the first charge I got 4h screen on time... the performance of this ROM is really good considering there's no overclock, that obviously helps for the battery life.

thanks! so probably my battery is going to die... can you tell me what's your battery?
 

sjknight413

Senior Member
Dec 1, 2009
2,659
1,310
Brighton, England
Strange, neither me or Flemmard have this issue. Can anyone else confirm this?
Also which nightly are you using

It was fine for half a day, no issues whatsoever. But when I tried to set an alarm before I went to bed it all messed up! I'll try and reflash without a wipe and see if that does anything.

EDIT1: right I've dirty flashed the same build over the top and everything seems okay again, just rebooting to double check then I'll set an alarm and see what happens...

EDIT2: everything's okay now! i've had an alarm set for a while and have locked and unlocked multiple times, also left the phone locked for about ten minutes and it woke up again fine. i'm still hesitant though, i'm going to do a clean install of the next nightly just in case.

Also worth a mention, i said the focus on the camera was fine last night but it's now early afternoon, i have natural light pouring in to my room and it just won't focus whatsoever, even on the brightest objects that stand out clearly! also had major problems focussing out of the window into broad daylight.
 
Last edited:

shantur

Senior Member
Dec 6, 2010
1,095
3,076
I got some progress on HDMI. Well, i just hex-edited quickly liboverlay.so to change the line "int Overlay::sDpyFbMap[DPY_MAX] = {0, -1,-1};" to "int Overlay::sDpyFbMap[DPY_MAX] = {0, 1,-1};" to make the device be fb1 by default and not fb-1 (I don't know how to properly fix it, it should be fixable without changing overlay.cpp). And i got hdmi semi-working, it's very buggy, sometimes the phone hangs completely. When i connect it first i can see the upper part of an image and the bottom part is blue. When i reconnect the cable i can see the whole image fine but the screen flickers every second or so so it's not usable. Attaching a patched liboverlay.so in a flashable zip if someone else wants to test and 2 fotos showing what i get.

Also I'm suggesting to Flemmard to add this line into init.pyramid.rc:
chown system system /sys/devices/virtual/graphics/fb1/hpd

Without this it gives more errors in logcat :)

What did you use to hex edit, if you dont mind me asking?
 
What did you use to hex edit, if you dont mind me asking?

Well, i was in windows so i couldn't compile so i just looked at the source code of liboverlay and found that the number of second fb device stays at it's default value (-1 defined in int array at the end of the file {0,-1,-1}) (from display-caf AFAIR) and searched for the sequence of bytes 00000000FFFFFFFFFFFFFFFF which is integers 0,-1,-1 and there was only one match in liboverlay.so, so i changed it to 0000000001000000FFFFFFFF. Any hex-editor will do, i used hex workshop :) Then executed 'chown system:system /sys/devices/virtual/graphics/fb1/hpd' right on the device in some terminal app :)
 

shantur

Senior Member
Dec 6, 2010
1,095
3,076
Well, i was in windows so i couldn't compile so i just looked at the source code of liboverlay and found that the number of second fb device stays at it's default value (-1 defined in int array at the end of the file {0,-1,-1}) (from display-caf AFAIR) and searched for the sequence of bytes 00000000FFFFFFFFFFFFFFFF which is integers 0,-1,-1 and there was only one match in liboverlay.so, so i changed it to 0000000001000000FFFFFFFF. Any hex-editor will do, i used hex workshop :) Then executed 'chown system:system /sys/devices/virtual/graphics/fb1/hpd' right on the device in some terminal app :)

Nice :)
 

oblitus

Senior Member
Oct 10, 2012
127
10
Bursa
Hi there.

I'm using this ROM for at least 8 hours and nothing very bad to say about it. No glitches, no FC's, no random reboots. That's the nicest KK ROM so far.

Minor things; I couldn't find the option of volume buttons to wake up the screen. Then I've installed Xposed framework and gravity to hav it option, but no good :( Also S2W is not enabled in this kernel I think. I really missed it already :crying:

Last one, If the phone restarted with the usb plugged in, PIN screen doesn't come up, usb storage screen comes. And if you back from it, you will go directly to the homescreen with no carrier signal. You have to put the phone in airplane mode or restart it again unplugged.

Other than these, thank you for this great job, man. Don't abandon us :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 124
    UnORoms Project
    Presenting you CyanogenMod - The Flemmard Way

    UNOFFICIAL VERSION

    About CyanogenMod

    zM9lJKE.png





    Credits

    CyanogenMod - For their source
    @Flemmard : Thanks for awesome device trees and kernel. For fixing Camera using 3.4 drivers
    @u-ra : Helping me fix camera
    @shantur (me) : Fixing bits in Camera
    @bilal_liberty
    @Sultanxda
    @ivanich
    @SebastianFM
    @johnnyslt
    @albinoman887

    If I have forgotten anyone, I apologise please pm me and i will correct my mistake


    Features


    • 3.4 Kernel based on HTC MSM8960 - @Flemmard - You are the man
    • 3.4 Camera Drivers and libs
    • Continuous Autofocs in Photo and Video modes.
    • HDMI working with specific steps http://xdaforums.com/showpost.php?p=51684382&postcount=176
    • Awesome sound
    • In kernel mp-decision
    • Stock Sensation XE CPU frequency 1.5GHz
    • Fast Charge enabled
    • No known freezes or reboots.

    ... will add more to list as things go on.



    DISCLAIMER

    Code:
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards or you 
     * getting fired because the alarm app failed. Please do some research 
     * if you have any concerns about features included in this ROM before flashing it! 
     * YOU are choosing to make these modifications.

    I am not part of CyanogenMod, I just compiled this rom for Sensation as part of UnoRoms Project. In no way I take the credit for Source


    Screenshots

    .... Coming Soon ....


    Instructions


    1. Download and install latest TWRP Recovery from here
    2. Download Latest Release from link below
    2. Download Latest Mini Modular GApps from here
    3. Boot into recovery
    4. Wipe data, cache if coming from other rom
    5. Flash Rom
    6. Flash Gapps
    7. Reboot
    8. Feel good
    9. Hit Thanks



    Downloads

    ROM
    GAPPS

    Source



    Donations

    If you would like to donate for this Rom please donate to @Flemmard. This is all his brain child.



    -= Request =-​


    The current nightlies server is non other than my laptop which is working day (for development) and night (for nightlies). It is getting low on space day by day with every new rom that I am trying. Currently nightlies are built in an external drive connected with USB3.
    If you really think this project is a good effort, please consider funding towards a good build server that I could use for nightlies and towards the cost for maintaining the download servers. I do not want to put ads for supporting this project if you guys will chip in a bit.
    Let me know if you have any other suggestions for supporting this project.
    29
    Guys,

    New build is building currently. I have updated the OP feature list as well.
    Here is whats new in this release

    1. Camera autofocus and touch to focus is fixed.
    2. Audio quality and volume level issues fixed
    3. Fast Charge is enabled
    4. In kernel mp-decision
    5. Freeze after call is fixed
    6. Airplane / Flight mode reboot is fixed.
    7. Bumped up max cpu to 1.5ghz

    Known issues
    1. Google hotword detection introduces audio stutter when it stops.
    26
    Guys,

    I am not having time these days and I dont see that i will have time in near future.
    Yes, its correct what you think the next line would be,
    I am giving up Android rom development for now and will stop supporting the download server from next month.

    That means UnoRoms download and build server will not be available from next month.
    If anyone wants to continue i can point him to the scripts i use for building and generating the changelogs.

    It was very nice working for a device which is still capable, i hope i get time in future to fix remaining little issues.

    Ciao
    24
    Just as a parting gift, i will fire a new build for all roms tonight. If it builds fine you will get a new build tomorrow.