[ROM][GT-I9100][4.0.4] CyanogenMod 9 nightly builds | DISCUSSION THREAD

Search This thread

confusedmuse

Senior Member
Dec 31, 2011
484
199
Speyer
The proximity sensor's red light is always lit. Please fix it as it causes major battery drain.

Sent from my GT-I9100

Do you run a notifier app? (e.g. Notifier Pro Plus or iPhone Notifications)
If so, open the app -> Default Settings -> General Settings -> Proximity sensor. Uncheck it.
If not, factory reset -> format /system -> reflash latest nightly.
 
Last edited:
  • Like
Reactions: tariq2kn

brar.arsh

Senior Member
Feb 5, 2012
2,098
858
GTA, Ontario
I want to know what is mediaserver that id consuming my battery..
Have a look..

7d3e679a-100a-c053.jpg


7d3e679a-1021-e17f.jpg


Sent from SGS2 running Android ICS
 

thracemerin

Senior Member
Oct 19, 2011
5,458
5,764
Toronto
Mediaserver is the process that scans your USB storage for music, videos, pictures, etc... when you have a bad file or a file it doesn't recognize it sometimes goes into an infinite loop and uses 100% of your cpu load, you can either kill the process or try to figure out what's causing it, the second option may take a while but should fix the problem on a more permanent basis.
 

StevenHarperUK

Senior Member
Nov 6, 2009
56
174
Lancashire
I think this is the problem.

The sound at 13:35:12.290 get set correctly to volume 12

Code:
04-15 13:35:12.290 E/AudioHardwareYamaha( 1864): setHeadphoneVolume: Set Headset Analog Volume control(12)
04-15 13:35:12.290 V/yamaha::media::CManager( 1864): setHeadphoneVolume([B]volume=12[/B])
04-15 13:35:12.290 V/yamaha::media::VolumeCtrl( 1864): VolumeCtrl::[B]setAnalogVolume(id=1, volume=15)[/B]


Then at 13:35:12.315 gets set to Volume 1

Code:
04-15 13:35:12.290 D/yamaha::media::VolumeCtrl( 1864): VolumeCtrl::setVolume() VoiceCall: Ready
04-15 13:35:12.315 E/AudioHardwareYamaha( 1864): setHeadphoneVolume: Set Headset Analog Volume control(1)
04-15 13:35:12.315 V/yamaha::media::CManager( 1864): [B]setHeadphoneVolume(volume=1)[/B]
04-15 13:35:12.315 V/yamaha::media::VolumeCtrl( 1864): VolumeCtrl::[B]setAnalogVolume(id=1, volume=5)[/B]
 

StevenHarperUK

Senior Member
Nov 6, 2009
56
174
Lancashire
I can reproduce - its a Headphones ONLY bug

http://pastebin.com/YRWHYZHE

You can see the volume gets set correctly and then immediately back to 1 - looking into this now.

Code:
I/AudioService( 1995):  AudioFocus  abandonAudioFocus() from android.media.AudioManager@416a3478
V/MediaPlaybackService( 3625): AudioFocus: received AUDIOFOCUS_GAIN
I/AudioHardwareYamaha( 1865): AudioHardware::setDevices(devices=00000004h, mask=00023FFFh)
V/yamaha::media::CManager( 1865): setDevices(devices=00000004h)
V/yamaha::media::VolumeCtrl( 1865): VolumeCtrl::createVolume()
D/yamaha::media::VolumeCtrl( 1865): Dir0      : AP Playback Music HP (0001h)
D/yamaha::media::VolumeCtrl( 1865): Dir0Att   : AP Playback Music HP (0001h)
D/yamaha::media::VolumeCtrl( 1865): DacMaster : AP Playback Music HP (0001h)
D/yamaha::media::VolumeCtrl( 1865): Hp        : AP Playback Music HP (F201h)
D/yamaha::media::VolumeCtrl( 1865): HpGain    : AP Playback Music HP (0001h)
V/yamaha::media::VolumeCtrl( 1865): Hp = 7 (F001h)
V/yamaha::media::VolumeCtrl( 1865): VolumeCtrl::setVolume()
D/yamaha::media::VolumeCtrl( 1865): VolumeCtrl::setVolume() FM Playback: Ready
D/yamaha::media::VolumeCtrl( 1865): VolumeCtrl::setVolume() VoiceCall: Ready
[B]E/AudioHardwareYamaha( 1865): setHeadphoneVolume: Set Headset Analog Volume control(8)
V/yamaha::media::CManager( 1865): setHeadphoneVolume(volume=8)[/B]
V/yamaha::media::VolumeCtrl( 1865): VolumeCtrl::setAnalogVolume(id=1, volume=7)
V/yamaha::media::VolumeCtrl( 1865): VolumeCtrl::createVolume()
D/yamaha::media::VolumeCtrl( 1865): Dir0      : AP Playback Music HP (0001h)
D/yamaha::media::VolumeCtrl( 1865): Dir0Att   : AP Playback Music HP (0001h)
D/yamaha::media::VolumeCtrl( 1865): DacMaster : AP Playback Music HP (0001h)
D/yamaha::media::VolumeCtrl( 1865): Hp        : AP Playback Music HP (F201h)
D/yamaha::media::VolumeCtrl( 1865): HpGain    : AP Playback Music HP (0001h)
V/yamaha::media::VolumeCtrl( 1865): Hp = 7 (F001h)
V/yamaha::media::VolumeCtrl( 1865): VolumeCtrl::setVolume()
D/yamaha::media::VolumeCtrl( 1865): VolumeCtrl::setVolume() FM Playback: Ready
D/yamaha::media::VolumeCtrl( 1865): VolumeCtrl::setVolume() VoiceCall: Ready
E/AudioHardwareYamaha( 1865): setHeadphoneVolume: Set Headset Analog Volume control(1)
[B]V/yamaha::media::CManager( 1865): setHeadphoneVolume(volume=1)
V/yamaha::media::VolumeCtrl( 1865): VolumeCtrl::setAnalogVolume(id=1[/B], volume=5)
V/yamaha::media::VolumeCtrl( 1865): VolumeCtrl::createVolume()
D/yamaha::media::VolumeCtrl( 1865): Dir0      : AP Playback Music HP (0001h)
D/yamaha::media::VolumeCtrl( 1865): Dir0Att   : AP Playback Music HP (0001h)
D/yamaha::media::VolumeCtrl( 1865): DacMaster : AP Playback Music HP (0001h)
D/yamaha::media::VolumeCtrl( 1865): Hp        : AP Playback Music HP (F201h)
D/yamaha::media::VolumeCtrl( 1865): HpGain    : AP Playback Music HP (0001h)
V/yamaha::media::VolumeCtrl( 1865): Hp = 5 (EC01h)
V/yamaha::media::VolumeCtrl( 1865): VolumeCtrl::setVolume()
D/yamaha::media::VolumeCtrl( 1865): VolumeCtrl::setVolume() FM Playback: Ready
D/yamaha::media::VolumeCtrl( 1865): VolumeCtrl::setVolume() VoiceCall: Ready
 

RTHppc

Member
Nov 17, 2007
12
2
Hi,

after flashing the latest nightly, my kernel has not changed and is still on 3.0.26.

1) Is it normal that I have to flash the kernel separately?

2) Can someone give me a link where to download just the flashable .zip for the kernel?

Thanks!
 

sahibunlimited

Senior Member
Jul 13, 2011
6,839
2,442
Nagpur
This is an update after few mins, left with 11% now while writing this..

Sent from SGS2 running Android ICS

This won't help for bad battery
Give betterbatterystats logs(from next 100% to 1%)
Close apps when you don't use them, turn of data,wifi and auto sync when you don't need them or when phone is not in use
Are the basic ways to save battery..
 

hIdd3N-

Senior Member
Oct 20, 2011
421
286
Hi,

after flashing the latest nightly, my kernel has not changed and is still on 3.0.26.

1) Is it normal that I have to flash the kernel separately?

2) Can someone give me a link where to download just the flashable .zip for the kernel?

Thanks!

1. no

2. just redownload the latest nightly (doublecheck) and flash again
 
  • Like
Reactions: RTHppc

Entropy512

Senior Recognized Developer
Aug 31, 2007
14,088
25,086
Owego, NY
Installed a 2 weeks ago, works great!
Some application wont work (on stock ICS the were running without problems -.- )
and i get sometimes the Kernel Panic Upload (or smth like this)
Probably going to flash back mine Stock ICS, but im going to wait for a better build ;3
Worthless report:
1) You don't specify which applications and how they were broken
2) You're whining about **** that was broken two weeks ago and was fixed. Seriously, the stability problems you complain about existed for A DAY!

If CM9 is ever putrefied with crap like Beats audio, I'll never use it again. "Beats Audio - By idiots. For idiots".

Beatsoff Audio = epic fail.
 
  • Like
Reactions: MistahBungle

Top Liked Posts

  • There are no posts matching your filters.
  • 562
    CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.0 (ICS), which is designed to increase performance and reliability over stock Android for your device.

    Code:
    #include 
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, 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, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     *
     * Submitting bug reports on nightly builds is the leading 
     * cause of male impotence.
     */

    CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    http://teamhacksung.org/wiki/index.php/CyanogenMod9:GT-I9100:Nightly:Known_issues

    FREQUENTLY ASKED QUESTIONS
    http://teamhacksung.org/wiki/index.php/Experimental:GT-I9100:Frequently_Asked_Questions


    If you're a bloody noob and getting confused by following simple instructions, go down and read about using the noob-proof ODIN method.

    First time installing CyanogenMod 9 to your Galaxy S II, or coming from another ROM:
    - READ FAQs: http://teamhacksung.org/wiki/index.php/Experimental:GT-I9100:Frequently_Asked_Questions
    - Make sure you're running ICS bootloaders lower than LPH! (if you're unsure, flash the CM9 Resurrection Edition)
    - Make sure you're running a proper working ClockworkMod-Recovery
    - Copy GApps and CM9 ZIPs to your internal SDCard
    - Boot into Recovery
    - Flash CM9 zip
    - Flash GApps zip
    - DO A DATA WIPE / FACTORY RESET (otherwise your calendar sync will not work)
    - Reboot
    - Don't restore Apps using Titanium Backup!

    Upgrading from earlier version of CyanogenMod 9:
    - Copy CM9 ZIP to your internal SDCard
    - Boot into Recovery
    - Flash CM9 zip
    - Reboot

    Using the noob-proof ODIN method:
    - Download CM9 Resurrection Edition
    - Download GApps and put it onto your internal sdcard
    - Open Odin
    - Choose cm-9-XXXXXXXX-ODIN-galaxys2.tar.md5 as PDA
    - Boot your phone into download mode
    - Connect your device via usb to your computer
    - Wait till Odin has fully recognized your phone
    - Hit the start button and wait till the flash process is finished
    - Device boots automatically into recovery
    - Flash GApps
    - Reboot into CM9
    - Follow above steps to update CM9 to lastest available version (Upgrading from earlier version of CyanogenMod 9)


    STOP!!!
    Did you read THIS POST fully, the FAQs and KNOWN ISSUES?


    Nightly builds:
    http://download.cyanogenmod.com/?device=galaxys2
    can also be found at ROM-Manager

    Google Apps:
    Get the latest Version from Rom-Manager. We recommend to use 20120317.
    Newer, unsupported versions can be found at http://goo.im/gapps

    CM9 Resurrection Edition for use with Odin:
    20120420: Download
    20120330: Download

    CWM flashable Modems:
    LPX Modem: Download
    LPW Modem: Download
    LPS Modem: Download
    LPR Modem: Download
    Have a look at ROM-Manager (Developer: codeworkx) for more Modems.

    http://changelog.bbqdroid.org/#galaxys2/cm9/next

    TEAMHACKSUNG SUPPORT CHAT

    Webchat: http://webchat.freenode.net/?channels=teamhacksung-support

    Server: chat.freenode.net
    Channel: #teamhacksung-support

    Don't expect any support if you:
    - are not running stock cm-kernel
    - have installed any mods
    - have modified system files


    If you're going to reuse our work, which we're doing for free, be fair and give proper credits.
    This is the only payment we're really demanding and we deserve it to be mentioned because of the countless hours we've put into this project.
    Open-Source doesn't meant Out-of-Respect!!!

    Thread for Developers only!!!
    http://xdaforums.com/showthread.php?p=20671183

    AdamG-, atinm, codeworkx, coolya, guiper, nebkat, Unhelpful, xplodwild, teamhacksung, the cyanogenmod-team.


    9XWih.png
    NLXAX.png
    LBnUm.png
    QCcry.png


    If you want to donate a few bucks for the work we're doing, goto teamhacksung website and hit the big donate button.
    Thanks to all donators!
    151
    Lets all hit thank button for CODEWORKS at least 5 times a day until he beats mike1986 who has "17032" thank votes

    +1

    great idea :p
    114
    CM10
    It's done when it's done. Don't expect a release withing the next days. If it takes weeks, then it takes weeks.

    I'll focus on I9100 development because it's the device with the most users.
    It will take us a lot of time to integrate all patches/hacks needed for samsung devices.

    Don't bug us or ask for etas, just be patient and let us work.
    That's the best what you can do.
    108
    Push me over 10k nao!!!
    103
    By the way.... got a interesting PM.
    "You Are an Elite Recognized Developer of XDA!"

    :p