ccav2000

Senior Member
Dec 19, 2010
2,057
1,122
0
Manga Cafe
Did anybody encountered excessive battery drain in Quarx's 20/02? I seem to get excessive wakelocks from mediaserver.

---------- Post added at 10:04 AM ---------- Previous post was at 09:50 AM ----------

Also my logs seem to be spammed by one repeating entry:
Code:
AudioHardwareMot( 1204): Output bufSize from kernel = 8192
 

ktmbikerman

Senior Member
May 7, 2011
1,990
656
0
51
Cape Town
Did anybody encountered excessive battery drain in Quarx's 20/02? I seem to get excessive wakelocks from mediaserver.

---------- Post added at 10:04 AM ---------- Previous post was at 09:50 AM ----------

Also my logs seem to be spammed by one repeating entry:
Code:
AudioHardwareMot( 1204): Output bufSize from kernel = 8192
Same here...

Sent from my MB526 using xda premium
 

AnTerNoZ

Senior Member
Jan 14, 2011
888
558
123
Hiddenhausen
AW: [JB] CM10 Android 4.1.2 for the Defy(+)

Guys, I am lost little bit, please help. Can I use seeder for rngd entropy or the febr20 build include this feature ?
Thx

Sent from my MB526 using Tapatalk 2
seeder binary is now integrated in our CM10 builds, u don't need the app to control it. look in running processes with system tuner or some tool that show all services and u see system/bin/rngd
 
  • Like
Reactions: hunyadia

tombert.at

Member
Aug 26, 2012
26
7
0
Battery drain

Did anybody encountered excessive battery drain in Quarx's 20/02? I seem to get excessive wakelocks from mediaserver.

---------- Post added at 10:04 AM ---------- Previous post was at 09:50 AM ----------

Also my logs seem to be spammed by one repeating entry:
Code:
AudioHardwareMot( 1204): Output bufSize from kernel = 8192
Yes, after installing build 17-02 i got more than 5%/h over night ...
I am going to install the 20-02 build and see what happens.
 

pepcisko

Senior Member
Feb 2, 2007
838
627
0
yup, same here, mediaserver going crazy, dances the battery to death overnight :)

one more observation - I noticed there was some callrecording fix in the 20/02 build. But it still doesn't capture the whole conversation. It's cut, without capturing the end.
 
  • Like
Reactions: woodman

ktmbikerman

Senior Member
May 7, 2011
1,990
656
0
51
Cape Town
New ringtone bug

Just found a new bug on the 2002 build... muting the ringtone via the lockscreen (either using the hardware button shortcut or holding the up and down volume buttons) doesn't work anymore. The statusbar indicates that vibration mode is enabled but the ringtone is still heard loud and clear when you get an incoming call.
 

YetAnotherForumUser

Senior Member
Oct 31, 2008
470
1,665
0
New build w/JellyX, de-fanged fmradio

For those already pining for the days of 2.6.32.60 'goodness' (minus the 'ringtone' bug, maybe even minus the 'black screen' bug?) now that Quarx reverted back to 2.6.32.9 I have some good news. I'm currently running a build which combines Quarx's repo (synced 20130220) with Blechd0se's Jellyx kernel (synced 20130220). The download link is at the bottom of this post.

I patched:

pathmap.mk to get the fmradio stuff to build (apply in build/);

Code:
diff --git a/core/pathmap.mk b/core/pathmap.mk
index 91a7fd4..ab55fd6 100644
--- a/core/pathmap.mk
+++ b/core/pathmap.mk
@@ -101,6 +101,7 @@ FRAMEWORKS_BASE_SUBDIRS := \
            keystore \
            icu4j \
            voip \
+           fmradio \
         )
 
 #
With that patch (which I posted before but added here for completeness' sake) the fmradio code builds. Unfortunately the code is incomplete and leads to crashes, eg. when the phone is put in airplane mode. The following patch de-fangs the fmradio code by disabling the relevant services. This is a cleaner solution to the current problems than a complete revert of the branch merges which introduced this code. If you feel the urge to debug the fmradio code just build without this patch and watch systemserver crash on entering airplane mode...

SystemServer.java to exclude the fmradio stuff (apply in framworks/base):

Code:
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/
index df36cd7..1d4d57d 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -74,8 +74,10 @@ import java.util.Timer;
 import java.util.TimerTask;
 
 import java.lang.reflect.Constructor;
+/* FDL20130221: disabled, not complete, causes segfaults, no hardware implementation
 import com.stericsson.hardware.fm.FmReceiverService;
 import com.stericsson.hardware.fm.FmTransmitterService;
+ */
 
 class ServerThread extends Thread {
     private static final String TAG = "SystemServer";
@@ -478,7 +480,7 @@ class ServerThread extends Thread {
             } catch (Throwable e) {
                 reportWtf("starting ThrottleService", e);
             }
-
+/* FDL20130221: disabled
             try {
                 Slog.i(TAG, "FM receiver Service");
                 ServiceManager.addService("fm_receiver",
@@ -494,6 +496,7 @@ class ServerThread extends Thread {
             } catch (Throwable e) {
                 Slog.e(TAG, "Failure starting FM transmitter Service", e);
             }
+ */
             try {
                 Slog.i(TAG, "UpdateLock Service");
                 ServiceManager.addService(Context.UPDATE_LOCK_SERVICE,
This build also contains the kernel logger and phone strings patches from sevenrock's post #15221.

The kernel configuration differs from 'stock JellyX' in the following ways:
  • Using the SLUB allocator (default is SLAB)
  • Only interactive/boosted/performance/convervative/powersave/ondemand governors included (default includes a host of fancy governors)
  • debugfs enabled
  • sweep2wake disabled (doesn't work yet, once it works it'll probably cause extra battery drain)

BBS tells me the average battery use is 0.7% per hour (data off, Wifi on). In airplane mode it goes down to about 0.3% per hour. All these values are of course related to overclock/voltage and signal strength parameters, YMMV.

Download: cm-10-20130216-jellyx-UNOFFICIAL-mb526.zip (151.6 MB)
md5sum: [FONT="Monospace, Courier New"]49675f07f97a4072bac083edf50bccc1[/FONT]
 

pepcisko

Senior Member
Feb 2, 2007
838
627
0
For those already pining for the days of 2.6.32.60 'goodness' (minus the 'ringtone' bug, maybe even minus the 'black screen' bug?) now that Quarx reverted back to 2.6.32.9 I have some good news. I'm currently running a build which combines Quarx's repo (synced 20130220) with Blechd0se's Jellyx kernel (synced 20130220). The download link is at the bottom of this post.
is the link correct? build.prop says
Code:
ro.build.date=Sat Feb 16 20:56:42 CET 2013
and you mentioned the repo was synchronized on 2/20
 
Last edited:

Blechd0se

Inactive Recognized Developer
Sep 19, 2012
459
4,507
0
Stuttgart
The kernel configuration differs from 'stock JellyX' in the following ways:
  • Using the SLUB allocator (default is SLAB)
  • Only interactive/boosted/performance/convervative/powersave/ondemand governors included (default includes a host of fancy governors)
  • debugfs enabled
  • sweep2wake disabled (doesn't work yet, once it works it'll probably cause extra battery drain)
SLUB allocator could cause problems with wifi, in fact the only allocator which worked fine for me was SLAB, even my backported SLQB caused problems. If you haven't such problems, tell me please what patch did you applied? :)
Sweep2wake is far away from working at the currently stage. I need somehow the right display sizes and if you enable it at the moment the touchscreen can behave very wired.
 

YetAnotherForumUser

Senior Member
Oct 31, 2008
470
1,665
0
SLUB allocator could cause problems with wifi, in fact the only allocator which worked fine for me was SLAB, even my backported SLQB caused problems. If you haven't such problems, tell me please what patch did you applied? :)
Sweep2wake is far away from working at the currently stage. I need somehow the right display sizes and if you enable it at the moment the touchscreen can behave very wired.
I have been using SLUB for as long as I've built Android kernels. I have never had any problems with Wifi... maybe those problems are not (directly) related to the allocator?
 

ccav2000

Senior Member
Dec 19, 2010
2,057
1,122
0
Manga Cafe
Has anyone noticed that the compass doesn't work in Google Maps anymore since a couple of months? It appears to be working fine in my Nexus 7 so there must be something wrong with our ROM.

Sent from my Nexus 7 using xda app-developers app
 

rubjonny

Senior Member
Jun 1, 2011
96
22
0
Bracknell, UK
Has anyone noticed that the compass doesn't work in Google Maps anymore since a couple of months? It appears to be working fine in my Nexus 7 so there must be something wrong with our ROM.

Sent from my Nexus 7 using xda app-developers app
compas works fine for me on 20/02 quarx build, I had to calibrate it first though
 

gkkovacs

Senior Member
Mar 21, 2011
238
163
0
Budapest
Testing YAFU's 20120220 build (why is it named 0216?) with JellyX kernel.

Battery drain problems still apparent.
Before it was called Android OS, now it's called *wakelock*...

The fact remains: out of 25 minutes uptime, something kept the (otherwise idle) phone woken up for 23.

How can I help investigate this?

*** EDIT *** It only showed *wakelock* for the first half hour of uptime, now it's back to Android OS and the rest.

 
Last edited: