[ROM] Olympus CyanogenMOD 9 (with Kernel 3.1.10)

krystianp

Senior Member
May 14, 2012
705
11,807
93
Rzeszow
[Just an observation]
I don't have a radio log. But I do realize that the drops happen more as the phone runs more.
I do an immediate restart and it doesn't drop for a period of time.
When it does drop, it will start to drop more frequently.
*I'm using the rom from epinter's web.*
From what i've read from this / cm10.1 thread, some users face the same observation as me.

Oh and kernel devs, I do receive this message in logcat every 2 seconds regardless if the phone is in deep sleep etc.
D/HWC_HDMI_MOT( 194): wait_for_extdisp_service: try to connect to ExtDisp servi
ce IPC
E/HWC_HDMI_MOT( 194): connectToExtDispIpc: Client Failed, No IPC Server

I do understand that its under HDMI and hdmi mirroring isn't working very well. Might i suggest that this feature gets fully removed / deactivated. When it is working, perhaps reactivation can be done.
Why?

I am doing my final year project on battery management on android. I manually check the current usage on phones using an external device. Everytime there is an IO operation, the power will spike a little. Even though android says the phone is in deep sleep, IO operations do 'wake' the phone in a way but not too much.
This hdmi error message every 2 second actually depletes some battery.

Even if the error message is removed, I'm guessing the phone is still trying to find 'hdmi' connection which also consumes power.

Anw, devs, i totally appreciate your efforts.
I'd argue that io operations wake the phone. There are hardware wake up gpios that can wake up the phone if there's a signal on one of those and there are wakelocks that are causing wake ups (via power regulator hardware wake up gpio). I'll agree though that every extra operation extends battery usage (including io operations). Unfortunately HDMI message is internal part of our hwcomposer lib and we can't do much about it. Library is looking for ipc service, unfortunatelly this service uses blur framework. It's not related to direct hdmi connection, you could disable hdmi gpio and you would still get this message. It has to be implemented, there's no other way to get rid of that. But if you get it constantly it means that your device is not in real deepsleep mode. In real deepsleep mode all voltage are down, especially CPU and core voltage. So either something is wrong with deepsleep mode settings or there are wakelocks that wake your phone every 2s.

Edit:

From my experience battery drain is resultant of two variables. First one is frequency of wakeups, second one is proper hardware gpio/pinmux/clock/regulators configuration. It's very easy to leave open gpio that drains battery (like sdcard detection gpio). In April/May we were dealing with camera regulator being enabled even though camera wasn't used. Modem can also drain a lot of battery if it's poorly handled. But our worst enemy is wakelock mechanism. There are tons of wakelocks, it's like apps totally ignore system sync option being turned on or off. Even google apps (hangout) sync when syncing is off. I managed to narrow it down a bit using wakelock detector combined with greenify but it's still far from optimal. On GB we had 3-4 wakelocks per hour and on ICS and above we usually have 20 per hour.
 
Last edited:

krystianp

Senior Member
May 14, 2012
705
11,807
93
Rzeszow
New kernel: https://dl.dropboxusercontent.com/u/7461563/kernel-2014_01_26_cm9.zip

I removed mdm_shutdown message solution, it looks like it causes some issues with lib (maybe buffer overflow). Please test this kernel for modem drops. Another thing is flash behaviour, I've added some extra debugging for flash. I'd like you to make couple of photos in different conditions and gather data from kernel log. Look for ov5650 gain value and lm3554 flash value. I want to create small database of what flash values are used in different lighting conditions. I'll prepare cm10.1 and atrics kernel soon. One precausion, I removed deferred resume for sdcard. If you have random reboots in deep sleep please try removing card temporarily.

Edit:
Audio shutdown during calls should be fixed. It has fixed ownership for modem command file. Stock voltages, so use panel settings.
 
Last edited:

todobarato

Senior Member
Jan 5, 2011
230
41
58
Hello krystianp,

I have one question, in the kernel 2.6 was possible to find the CPU temperate in /sys/devices/system/cpu/cpu1/cpufreq/cpu_temp

In your kernel I don't find this value, where is in your kernel?

Thanks,

Sent from my MB860
 

Magno182002

Member
Jul 21, 2012
24
3
0
Rio de Janeiro
Swype

well the rom atm is amazing for me i just had few bugs and the badest i would like to share the problem and the resolution
i had 2 times a bug with the swype keyboard and the android keyboard, after few tweaks/apps on 1st time my keyboard went to not appear only the icon on notify bar, did many things and nothing my keyboard was gone.
i m here to post a probably workaround is to clean the data of android keyboard app
kisses
 

tonglebeak

Senior Member
Oct 23, 2012
138
42
0
Did data also was recovered or just connection to gsm network?
I can't remember unfortunately. It was a drop while on a call and I was connected to WiFi the entire time . I can tell you though that today my wife kept complaining about losing data when it still showed network service so there's that. She would reboot to get back on so no logcat
 

dark_prince

Senior Member
May 5, 2007
1,101
146
0
Islamabad
Is it just normal that I have com.motorola.android.extdispservice crash on every boot-up and first unlock screen? It also randomly pops up moving between settings.
I can't see/connect to Wifi hotspots running at Channel 13. Even after switching wifi frequency band. I hope this post doesn't get deleted as my previous one did so :(

Positive: My phone goes fine 2-3 days on one full charge compared to CM7/CM10.1's 24hrs.
 
  • Like
Reactions: aaurnab

miteshpc

Member
Jan 25, 2011
40
16
0
E/AudioHardwareMot( 187): Error:Cannot write scaling_min_freq (Permission denied)

E/AudioHardwareMot( 187): Error:Cannot write scaling_min_freq (Permission denied)

I get this on logcat several times. Is this normal message, or does it mean I need to fix permissions from cwm?
 

ali.bsrn

Member
Mar 17, 2014
25
2
0
I don't know whether it's mentioned or not, but I have proximity sensor issue. Not all the time but mostly when the screen is woken up by proximity sensor, phone reboots (on cm-9-20131120 and cm-9-20131121 roms). On cm-9-20131016, there are several issues but proximity sensor is just fine.
 
Last edited:

aaurnab

Senior Member
Mar 23, 2008
1,263
184
0
Dhaka
On cm10.1 to get skype working I need to turn on and off speaker option in skype during call. Maybe it will also work 4 u.

Sent from my MB860 using xda app-developers app
Skype is working perfectly in both speaker and ear piece in 10.1 epinter's. but sometimes device seems Laggy

Sent from my MB860 using XDA Premium 4 mobile app