[ROM][4.4.3] CyanogenMod 11 for HTC One S

Search This thread

rmbq

Senior Member
Feb 10, 2012
985
1,903
29
ok, here is a shot at a more proper gyro fix. The gyro will turn off again with this kernel, so it should not impact battery life (not that i did notice a big difference with the previous version).
I hope it is as stable as the first try.

If this proves to be working - can anybody take this on to get it fixed upstream? I don't intent to maintain my own kernel, since i'm pretty short on time :(

what did you modify? can you make a patch?
 

asinglenoob

Senior Member
Oct 30, 2012
73
19
Sleep of Death?

Hey guys, I have been loving this rom so far, but toward the end of January one of the nightlies seems to have caused a very annoying issue with my phone. I use my phone as an alarm clock and leave it by my bed plugged in at night to charge. However, lately, when I set my phone on the charger for the night, it seems to enter some sort of sleep of death. When I wake up in the morning (because my tablet runs back up alarm duty just in case of things like this) the phone is unresponsive to the power button being pressed. I have to hold down the power button for a while and then release and then hold for a while again to get it going. The strange thing is that this never happens during the day, only at night, perhaps it's something to do with charging? If anyone has any ideas on how to fix it please let me know. Also for reference I am on the stock kernel and I have been doing dirty flashes (only wiping cache and Dalvik after new nightlies).
 

djsubtronic

Senior Member
Jun 16, 2010
2,512
586
I reupgraded to 3rd Feb since I didn't make a backup of the /data partition and the upgrade broke a lot of apps when back on 20th Jan. Gonna try with Bubba and see if I can minimise wake lag and sound hitches.

In the meantime though, has anyone experienced that it shows "Android is upgrading... Starting apps" upon every single reboot? It doesn't have a countdown of how many apps it's doing, just "Starting apps" and it goes away after a few seconds. It's weird.
 

nicknc

Senior Member
Dec 10, 2009
1,156
331
I reupgraded to 3rd Feb since I didn't make a backup of the /data partition and the upgrade broke a lot of apps when back on 20th Jan. Gonna try with Bubba and see if I can minimise wake lag and sound hitches.

In the meantime though, has anyone experienced that it shows "Android is upgrading... Starting apps" upon every single reboot? It doesn't have a countdown of how many apps it's doing, just "Starting apps" and it goes away after a few seconds. It's weird.

It did that to me when I had ART enabled.

---------- Post added at 05:50 AM ---------- Previous post was at 05:49 AM ----------

Hey guys, I have been loving this rom so far, but toward the end of January one of the nightlies seems to have caused a very annoying issue with my phone. I use my phone as an alarm clock and leave it by my bed plugged in at night to charge. However, lately, when I set my phone on the charger for the night, it seems to enter some sort of sleep of death. When I wake up in the morning (because my tablet runs back up alarm duty just in case of things like this) the phone is unresponsive to the power button being pressed. I have to hold down the power button for a while and then release and then hold for a while again to get it going. The strange thing is that this never happens during the day, only at night, perhaps it's something to do with charging? If anyone has any ideas on how to fix it please let me know. Also for reference I am on the stock kernel and I have been doing dirty flashes (only wiping cache and Dalvik after new nightlies).

Don't worry-- you're not alone. This has been affecting a small subset of us (I am one). It seems to be much better in the Feb. builds, but you may want to buy an alarm clock.
 
  • Like
Reactions: djsubtronic

djsubtronic

Senior Member
Jun 16, 2010
2,512
586
Thanks.

Well with or without bubba, 3rd Feb's wakeup lag and sound hitch is terrible. But I guess I have to live with it. I've tried various governors too. The performance one definitely shows a slight reduction, but it's very much there.

Anyone who's not experiencing any delays/sound hitches got any others I can try short of a full wipe?
 

nicknc

Senior Member
Dec 10, 2009
1,156
331
Thanks.

Well with or without bubba, 3rd Feb's wakeup lag and sound hitch is terrible. But I guess I have to live with it. I've tried various governors too. The performance one definitely shows a slight reduction, but it's very much there.

Anyone who's not experiencing any delays/sound hitches got any others I can try short of a full wipe?

Backup your data partition, do a full wipe, clean install and then restore data.

Make sure you run a kernel wipe script between kernel flashes, of course.

You running ART or dalvik?
 
  • Like
Reactions: djsubtronic

djsubtronic

Senior Member
Jun 16, 2010
2,512
586
Backup your data partition, do a full wipe, clean install and then restore data.

Make sure you run a kernel wipe script between kernel flashes, of course.

You running ART or dalvik?

Was ART, just switched to dalvik to see if that would help, which it didn't. I'll play around some more when time permits. Thanks for the suggestions.
 

eabinsan

Senior Member
Sep 24, 2009
78
26
what did you modify? can you make a patch?

i will try to create a patch in the evening.

The changes are rather trivial: i just guarded the power-on and power-off methods with a mutex (no idea if this is allowed in a linux kernel driver though?), and added an exception check when somebody is trying to read data via ioctl while the gyro is powered down (this was the main problem i think, but without the guard it was still not stable).
 
  • Like
Reactions: nicknc

maluus

Senior Member
Dec 26, 2010
479
68
Ankara
Hey guys, I have been loving this rom so far, but toward the end of January one of the nightlies seems to have caused a very annoying issue with my phone. I use my phone as an alarm clock and leave it by my bed plugged in at night to charge. However, lately, when I set my phone on the charger for the night, it seems to enter some sort of sleep of death. When I wake up in the morning (because my tablet runs back up alarm duty just in case of things like this) the phone is unresponsive to the power button being pressed. I have to hold down the power button for a while and then release and then hold for a while again to get it going. The strange thing is that this never happens during the day, only at night, perhaps it's something to do with charging? If anyone has any ideas on how to fix it please let me know. Also for reference I am on the stock kernel and I have been doing dirty flashes (only wiping cache and Dalvik after new nightlies).

I can say that you are not alone :D And I don't know if latest commits changes anything related but yesterdays nightly worked good so far. But I m not yet sure. We are to see. And meanwhile you can try it and report back too.
 

el_smurfo

Senior Member
Oct 21, 2009
3,956
1,316
I can say that you are not alone :D And I don't know if latest commits changes anything related but yesterdays nightly worked good so far. But I m not yet sure. We are to see. And meanwhile you can try it and report back too.

I have had this 2-3 times, but always during the day. Those times, I would just take it out of my pocket, and find a locked up black screen requiring the power button routine you discussed.
 
  • Like
Reactions: melo563

Brushstroke

Senior Member
Aug 26, 2013
396
104
Hey guys, I have been loving this rom so far, but toward the end of January one of the nightlies seems to have caused a very annoying issue with my phone. I use my phone as an alarm clock and leave it by my bed plugged in at night to charge. However, lately, when I set my phone on the charger for the night, it seems to enter some sort of sleep of death. When I wake up in the morning (because my tablet runs back up alarm duty just in case of things like this) the phone is unresponsive to the power button being pressed. I have to hold down the power button for a while and then release and then hold for a while again to get it going. The strange thing is that this never happens during the day, only at night, perhaps it's something to do with charging? If anyone has any ideas on how to fix it please let me know. Also for reference I am on the stock kernel and I have been doing dirty flashes (only wiping cache and Dalvik after new nightlies).

Yeah, this has happened to me on 01/31 and 02/03. It's rare but it can happen. And it's not only during charging, it happened once while the phone was in my pocket.
 

rootrider

Senior Member
Aug 21, 2010
854
387
Starnberg
I don't really see anything much in the commit log that would make the phone faster, but there was a RIL commit yesterday I'm hoping will help with my bouncing signal, as the logs do show returning an invalid state...

Very old problem with this device. You know about these settings for your build.prop? (They might have been published already many times elsewhere in these forums)

ro.ril.hsdpa.category=28
ro.ril.hsupa.category=7
ro.ril.fast.dormancy.rule=2
ro.ril.radio.svn=5

I remember you're not s-off. Can you flash radio? E.g. sth like here?
 
Last edited:

el_smurfo

Senior Member
Oct 21, 2009
3,956
1,316
Very old problem with this device. You know about these settings for your build.prop? (They might have been published already many times elsewhere in these forums)

ro.ril.hsdpa.category=28
ro.ril.hsupa.category=7
ro.ril.fast.dormancy.rule=2
ro.ril.radio.svn=5

I remember you're not s-off. Can you flash radio? E.g. sth like here?

I've always used:
24
6
0
19

Strange that they are so different...almost as if it's a placebo, and maybe only one of them is doing anything at all (I always suspected fast dormancy was the only useful one). I'm waiting for this guy to do a series on radio prop edits, just to see if any of them are real.

http://www.jeffmixon.com/examining-build-prop-tweaks-for-android-ics-a-comprehensive-guide-part-1/
 

rootrider

Senior Member
Aug 21, 2010
854
387
Starnberg
Strange that they are so different...almost as if it's a placebo, and maybe only one of them is doing anything at all (I always suspected fast dormancy was the only useful one). I'm waiting for this guy to do a series on radio prop edits, just to see if any of them are real.

They worked good in the past with TMUS 1.13 and below. What is the actual (latest) TMUS radio for our device?
 
Last edited:

melo563

Senior Member
Apr 12, 2011
514
127
davenport
My phone has did the black screen death move twice today in my pocket and I just flashed 2/4 today

Sent from my One S using Tapatalk

---------- Post added at 02:39 PM ---------- Previous post was at 02:37 PM ----------

Would also like to point out I have had my phone in my pocket twice today

Sent from my One S using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 112
    logo.png

    CyanogenMod 11 is a free, community built distribution of Android 4.4.3 (KitKat) which greatly extends the capabilities of your phone.

    Index:
    1st Post: Official Nightlies for HBOOT 2.15
    2nd Post: Unofficial Builds for HBOOT 2.16
    3rd Post: Changelog


    Installation Instructions (These are all required)
    • Download or Build from Source
    • Download Gapps
    • Wipe Data
    • Flash ROM in Recovery
    • Flash Gapps in Recovery
    • Incase you don't have S-OFF, fastboot flash boot boot.img

    Not Working:
    • You tell me

    Downloads (HBOOT 2.15):
    Official Nightly Builds HBOOT 2.15 Only.
    Google Apps

    Recovery (HBOOT 2.15):
    Beginning with nightly 20140501, several HTC devices are being transitioned to a new fstab layout. This will not affect your data. This change requires kernel support in recovery for CyanogenMod packages to install. Your current recovery is almost guaranteed to not support this change, yet... welcome to bleeding edge!
    Please read THIS
    TWRP | Mirror


    Credits:
    intervigil, h8rift, xkonni, toastcfh, deck, rohan32, flemmard and all the HTC-MSM8960 Team Members.

    XDA:DevDB Information
    CyanogenMod 11, ROM for the HTC One S

    Contributors
    RockR172, intervigil
    ROM Kernel: Linux 3.4.x
    ROM Firmware Required: Hboot 2.15.xx, S-OFF, Unlocked Bootloader, Custom Recovery
    Based On: CyanogenMod

    Version Information
    Status: Stable

    Created 2013-11-15
    Last Updated 2014-06-09
    49
    CyanogenMod 11 for HBOOT 2.16

    CyanogenMod 11 is now available for HBOOT 2.16

    NOTICE: Due to lack of free time and also not owning an HTC One S anymore, I can no longer compile builds for HBOOT 2.16.
    Worry not, @cikoleko does Nightly builds for HBOOT 2.16 which can be found HERE
    25
    Changelog:

    Latest, more accurate Changelog for Nightlies/Unofficial Builds can now be found HERE.

    cm-11-20131207-UNOFFICIAL-ville.zip
    • Latest CM Source
    • Android 4.4.1

    cm-11-20131206-UNOFFICIAL-ville.zip

    cm-11-20131202-UNOFFICIAL-ville.zip
    • Latest CM Source
    • Hardware Button Configuration is now back

    cm-11-20131129-UNOFFICIAL-ville.zip
    • Latest CM Source

    cm-11-20131125-UNOFFICIAL-ville.zip
    • Latest CM Source - New boot animation and more stuff!

    cm-11-20131122-UNOFFICIAL-ville.zip
    • Latest CM source - Re-introduces Quick Settings and Notification drawer settings
    • Other misc changes to device and kernel sources
    • AOSP release 4.4_r1.2 KRT16S

    cm-11-20131119-UNOFFICIAL-ville.zip
    • Can now be flashed on regular recoveries like TWRP
    • Cherry picked new Audio patches
    • Latest CM source

    cm-11-20131117-UNOFFICIAL-ville.zip
    • Camera App now actually works
    • Some other fixes

    cm-11-20131116-UNOFFICIAL-ville.zip
    • Audio Fixed
    • Bluetooth Works
    • Video Playback

    cm-11-20131115-UNOFFICIAL-ville.zip
    • First Release
    • Fixed SD Card
    • Fixed WiFi
    19
    Okay, with a heavy heart I have to say that I can no longer do builds for hboot 2.16.
    I have too much college work, assignments, practicals n stuff and can't afford to spend time compiling builds in Linux.. :(
    I did try to do builds past few days, but couldn't..
    My advice is, downgrade your hboot to 2.15 and get daily official builds from CyanogenMod. It is not really that difficult/scary to downgrade. I have done it a couple of times when i wanted to test my hboot 2.16 builds when i was on hboot 2.15.
    Also, if anyone wants to do builds for 2.16 feel free to post it in the thread..
    Sorry guys, I tried my best. :)
    Big ups to intervigil and rest of the CM team, you guys rock! \o/ \m/
    18
    Not sure I said that exactly, but I think that support for our device is definitely a low priority since our maintainer was hired by CM and likely spends most of his time on tasks that bring in revenue. As it stands now, it doesn't seem we will ever get a stable release, so will be stuck here in xda purgatory complaining back and forth about the same things until we can afford to get a pure AOSP device and give up the crack flashing life.

    It's kind of disheartening to see so many people ascribe so many shady ulterior motives to the company (we have no plans for world domination, and it really is discouraging to see so many people knee-jerk react negatively), but ville support hasn't been so great lately, so I figure I owe you an explanation.
    CM Inc is my day job, device support mostly remains a side project for me. The company and open source organization (which are two separate things) has little to do with deciding which devices get support, and to what degree. Device maintainers are largely responsible for the kernels and device trees that actually determine how well most of the device hardware is supported.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone