[Q&A] [GT-I9190/I9195][ROM][Official][5.1.1] CyanogenMod 12.1 for S4 Mini 3G/LTE

ossi80

New member
Oct 6, 2015
2
0
0
Battery drain with 12.1 snapshot and gapps

Hi!

Flashed cm-12.1-20150901-SNAPSHOT-YOG4PAO23F-serranoltexx and gapps-5.1-arm-2015-07-17-13-29 to my phone and it is working quite nice, just with one big problem:
With stock rom, phone was running 2 to 3 days without recharging, with CM12.1, it goes down to 12 to 18 hours.
In the battery overview, Google-Play services are shown as number 1 power consumption app (highly before 2nd app).
I also re-flashed the device and installed open_gapps-arm-5.1-pico-20151005, but this does not change anything

Any hints what I can do or which settings I have to change to come back to a normal battery live? As I'm not very experienced with this area, I used the settings out of the box.

Thanks for your support,
Ossi
 

Charlie

Senior Member
Nov 7, 2012
406
129
73
Thessaloniki
Hi!

Flashed cm-12.1-20150901-SNAPSHOT-YOG4PAO23F-serranoltexx and gapps-5.1-arm-2015-07-17-13-29 to my phone and it is working quite nice, just with one big problem:
With stock rom, phone was running 2 to 3 days without recharging, with CM12.1, it goes down to 12 to 18 hours.
In the battery overview, Google-Play services are shown as number 1 power consumption app (highly before 2nd app).
I also re-flashed the device and installed open_gapps-arm-5.1-pico-20151005, but this does not change anything

Any hints what I can do or which settings I have to change to come back to a normal battery live? As I'm not very experienced with this area, I used the settings out of the box.

Thanks for your support,
Ossi
I also have less battery life with lollipop than stock kitkat. I dont think you can make much things. Try greenify, amplify, servicely etc . About google play services battery consumption wait some days and see if the problem persists.
 

_cosi_

Member
Sep 18, 2014
42
19
0
I had a look into the logfiles. IPv6 does not seem to be the problem cause, looks like kernel WLAN gets stuck somewhere.

In the kmsg log at some time, errors start to occur and this one is the first:

Code:
...
[32310.541885] wlan: [19989:E :HDD] wlan_hdd_enter_bmps: SME timeout while requesting fullpower
[32310.549484] wlan: [19989:E :PMC] PMC: Device not in full power. Cannot request BMPS. pmcState 7
[32310.558243] wlan: [19989:E :HDD] hdd_conf_arp_offload: 927:  fenable = 1 
[32310.558243] 
[32312.282248] wlan: [19958:E :PMC] pmcPowerSaveCheck: 701: pmcPowerSaveCheck fail!
[32312.288871] wlan: [19958:E :PMC] pmcTrafficTimerExpired: 1081: Power Save check failed. Retry BMPS again later
[32313.292197] wlan: [19958:E :PMC] pmcPowerSaveCheck: 701: pmcPowerSaveCheck fail!
[32313.299858] wlan: [19958:E :PMC] pmcTrafficTimerExpired: 1081: Power Save check failed. Retry BMPS again later
[32314.300438] wlan: [19958:E :PMC] pmcPowerSaveCheck: 701: pmcPowerSaveCheck fail!
[32314.307274] wlan: [19958:E :PMC] pmcTrafficTimerExpired: 1081: Power Save check failed. Retry BMPS again later
...
I finally found out that the problem is related to Bluetooth. As soon as Bluetooth is turned on, the Wifi performance drops dramatically, wlan error traces appear, the connection times out and falls back to mobile network. Bluetooth itself does not seem to have problems. I have removed all bluetooth pairings and deleted data of bluetooth apps. No change.

BTW, is it planned to re-enable Ambient Display? I liked that a lot :)
 
  • Like
Reactions: michelsberg

dsa351

Member
Nov 22, 2013
8
1
0
Where i can find some infos (changelog) about snapshots? Because i think the new snapshot have only some security patches updated.
Good question, I also would like to know where to find the changelog. The OTA update downloads fine but fails to install/update (i'm using clockworkmod) and it wouldn't load the changelog, anyway I updated manually to cm-12.1-20151007-SNAPSHOT-YOG4PAO336-serranoltexx, I'm still having issues with the wifi, when the phone is left alone for a while and not being used the wifi doesn't seem to be working, there no messages and notifications (for whatsapp, wickr, etc...) when I start using the phone again all that stuff begins to appear... =(
 
  • Like
Reactions: Charlie

Chamelleon

Senior Member
May 16, 2010
773
355
93
Kraków, Poland
I couldn't download changelog too but to install OTA without problems You need to temporary flash CM recovery, which You can download current version next to every snapshot release on CM site. After that You can flash CWM back. Unfortunately I can't test new version yet cause xposed makes bootloop on this build and I'd prefer working xposed over new build.
 
  • Like
Reactions: dsa351

_cosi_

Member
Sep 18, 2014
42
19
0
I finally found out that the problem is related to Bluetooth. As soon as Bluetooth is turned on, the Wifi performance drops dramatically, wlan error traces appear, the connection times out and falls back to mobile network. Bluetooth itself does not seem to have problems. I have removed all bluetooth pairings and deleted data of bluetooth apps. No change.
It turns out that my provider's app "MeinVodafone" uses UrbanAirship components to connect to iBeacons via Bluetooth LE. This mechanism was somehow caught in an endless loop, scanning bluetooth every second for LE devices. As a side effect, WLAN performance was degraded until it no longer worked.
So these idiots broke my network connectivity, kept me busy for a week finding the problem just because this stupid marketing crap has been implemented. I think I have to follow the kind request to give this app a rating :silly:
 

Chamelleon

Senior Member
May 16, 2010
773
355
93
Kraków, Poland
3 quick questions.
- After not using phone more than one hour when I receive first call proximity sensor is not working. When I hang up and call back there is no problem with proximity and every next received and dialed calls are fine. Only when phone is not used for a long while.
- I have specified ringtone for one of my contacts and sometimes it rings with specified ringtone but sometimes it rings with default ringtone. I can't see any rule when it is so and when otherwise.
- When I'm in roaming there is no sign near signal bar, only carrier name is changing on lockscreen and quicksettings. Any way to fix that??
 

chrischa

Senior Member
Mar 13, 2011
441
189
0
3 quick questions.
- After not using phone more than one hour when I receive first call proximity sensor is not working. When I hang up and call back there is no problem with proximity and every next received and dialed calls are fine. Only when phone is not used for a long while.
I'm not completely sure but it seems some sensors stop working some times and need to be wake up. This issue concerns especially Proximity Sensor (button lights stay black though there is a notification and bln app shows hint: "disabled by proximity sensor") and also the Brightness sensor seems to have some problems. Don't know exactly if it's an driver related issue but afaik Proximity and Brightness Sensor are one single device.
both:
Code:
cat /sys/class/sensors/proximity_sensor/name
and
Code:
cat /sys/class/sensors/light_sensor/name
result in
Code:
gp2ap030
/e: @arco68 sorry for annoying but shouldn't we have gp2ap030.c @ kernel instead of gp2ap020.c thought its SAMSUNG source?

/e/e: i looked into the cm10.2 branch, which is still containing gp2ap030
 
Last edited:
  • Like
Reactions: michelsberg

jihadinhorocks

Senior Member
Jul 5, 2014
139
15
0
problem with xposed installer

Hey guys! after updating the latest nightlies on s4 mini lte, I tried reinstalling the xposed installer which used to work fine before but it seems to put the device in a bootloop. anyfix? which xposed installer version for L do you use?
 

androidroot4u

Member
Jun 20, 2014
29
2
0
Hi everyone,i just flashed this rom with a clean install and whenever i use the phone for a while,it goes into a bootloop.Everytime i use this rom i get a bootloop.I need help ASAP