• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [ROM] Quattrimus JB (CM10, AOKP41)

What kind of battery life are you seeing?
On GB on a normal day of medium usage by around 4pm I'd be around 65%.
With Stock ICS i would be at about 40% with the same usage. With this I still havent configured it enough to get it right but I'll be somewhere around 50% by the same time with the same usage.
No offense, but that's apples to oranges. That rom uses a unique kernel and is tweaked to give optimum performance. Not to mention BP was a variation of stock.
The cm10 kernel is not and we're really piecing together parts to get cm to run on the device.

If you spend some time tweaking cm10, you can get better performance.. I have, anyway.
I'm not complaining. He asked how the battery has been performing for us. For something that was ported with blood, sweat, and tears this is performing great. The battery life on this is better than i was getting on stock even with all those extra tweaks i put in. I'm still tweaking this rom. Deep sleep battery saver seems to have about the same effect in battery life as me just adding pm.sleep_mode=1. So I'm using that instead with 4g and wifi on and the battery has been about what i said before.
TDM, you did a great job.
 
  • Like
Reactions: tdm
Upvote 0
Deep sleep battery saver seems to have about the same effect in battery life as me just adding pm.sleep_wake=1.

Is that the exact way you have it in the build.prop? I did some searching when power management tweaks were mentioned before and couldn't find anything conclusive so I haven't added any, and I got tired of the delay for wireless to connect again with ds battery saver so I quit using it.
 
Upvote 0
Is that the exact way you have it in the build.prop? I did some searching when power management tweaks were mentioned before and couldn't find anything conclusive so I haven't added any, and I got tired of the delay for wireless to connect again with ds battery saver so I quit using it.
Nope I wrote it wrong. Its supposed to be pm.sleep_mode=1
 
  • Like
Reactions: reeseboy
Upvote 0
AOKP was never laggy for me, I will admit CM10 is a little faster, but compared to stock ICS, both of them fly. Really the only reason I'm even on CM10 is that I love having my data toggle in the notification panel. Both are great on battery life and sound quality. I've been getting about 23 hours on a full charge on CM10. I am using juice defender so that may be part of it.
 
Upvote 0
Is this happening to anyone else?

Every once in awhile when I pull down the status bar it flashes and when I swipe off a notification it flashes then too. It did this in both aokp and cm10.

Just had this happen the first time today, 3-4 reboots and two nandroids in 24 hours prior to it happening, have not seen it since. The entire screen flashes green then blue, not sure if any other colors flashed, but it was one solid color flashing the entire screen, then another.



Seriously? If Apollo uses ads and crashes when an adblocker is used, that is mega lame. File a bug in the tracker and I'll look into fixing it.

You should just look into stop using ad blockers and use a redirecting hosts file, instead of preventing the connection it reroutes it to the local machine, might prevent the crash and just put an error in the logcat instead.

blocking hosts file of choice:
BadHosts File


call quality is good. battery for me has been better than stock ICS.

I have not had one complaint since dirty flashing cm10 b3 over cm10 b1.

-------------------------------------------------------------

anyone else notice there is no powered off battery charge animation? at first I thought there was something wrong with the phone, as I first got the LG logo as normal, then it flashed off and was replaced by an oversized LG logo that was in the bottom right corner of the screen (and cut off about 60%-70% not visible). This time I am charging it powered off and it is just sitting on the LG logo (neither time did the screen turn off, pressing the power button does not turn the screen off, holding the power button in turns the phone off after unplugging it, unplugging it does not turn the display off...)

I don't mind the missing charge animation, but I am none too happy about the screen staying on. As the phone charges in "fast charge" mode while powered off, with teh screen left on it gets a little warm. The first time this happened (two nights ago), I did not notice it until I woke up about 5 hours after lying down for the night and noticed my screen was on. Eventually I just unplugged the phone, pulled the battery and gave up on it doing anything familiar. But when I did that I noticed a "light grey ring" around the screen, like an elongated halo (it also reminded me of a race track (horse or people, not really car). I was pretty certain I was going to have to try and get a refurb replacement... I guess I got lucky... It took about 2 hours for it to "go away" but it did.
 
  • Like
Reactions: zacanger
Upvote 0
Nope I wrote it wrong. Its supposed to be pm.sleep_mode=1

This property is set in a lot of ROMs, my own VM670 ICS builds included. I got it from the P500 stuff and just copied it because I figured it must do something useful.

If you do a google search, you will see various pages that document what it does. However, I have not found the code that uses it yet. It's possible that it was used in a previous release but not in jellybean ... or maybe my grep-fu is not strong enough. I'll keep looking.
 
Upvote 0
ok, just tried charging while powered off again, phone did the same thing (normal LG logo) let it sit like that from about 20 minutes before my last post until just now (approx 45 minutes), then I unplugged it, got the phone to turn off, let it sit 5 minutes or so, powered backup and the battery was 11% lower than it was when I turned it off and plugged it in.
 
Upvote 0
This property is set in a lot of ROMs, my own VM670 ICS builds included. I got it from the P500 stuff and just copied it because I figured it must do something useful.

If you do a google search, you will see various pages that document what it does. However, I have not found the code that uses it yet. It's possible that it was used in a previous release but not in jellybean ... or maybe my grep-fu is not strong enough. I'll keep looking.
Placeboed!
 
Upvote 0
ok, just tried charging while powered off again, phone did the same thing (normal LG logo) let it sit like that from about 20 minutes before my last post until just now (approx 45 minutes), then I unplugged it, got the phone to turn off, let it sit 5 minutes or so, powered backup and the battery was 11% lower than it was when I turned it off and plugged it in.

Hmmm... that's not good. That would mean that if you killed your battery you would be screwed, because the charge while powered off doesn't work. I'm gonna try my phone right quick and see if it charges while off... back in a few.
 
Upvote 0
Found a clue for USB tethering.

dmesg on nitro:

<6>[33670.298492] rndis_function_bind_config MAC: FE:2F:52:BE:C9:FD
<4>[33670.298614] android_usb gadget: using random self ethernet address
<4>[33670.298767] android_usb gadget: using random host ethernet address
<6>[33670.300170] rndis0: MAC 3e:c1:07:42:9a:45
<6>[33670.300292] rndis0: HOST MAC 26:d1:6f:f4:2d:e9

dmesg on spectrum:

... nothing.

logcat on spectrum:

E/UsbDeviceManager( 501): failed to write to /sys/class/android_usb/android0/f_rndis/ethaddr

And, as expected, the directory /sys/class/android_usb/android0/f_rndis exists on the nitro but not on the spectrum.

Hmm .. must be a kernel config issue.

[... dig dig dig ...]

Noticed nitro has CONFIG_USB_G_LGE_ANDROID unset, spectrum has it set.

In drivers/usb/gagdet/android.c notice...


#ifdef CONFIG_USB_G_LGE_ANDROID
#include "f_ecm.c"
#else
#define USB_ETH_RNDIS y
#include "f_rndis.c"
#include "rndis.c"
#endif

That looks promising. Let's disable CONFIG_USB_G_LGE_ANDROID and see what happens...

Hmm, now it doesn't recognize any usb connection at all.

So what's the deal with RNDIS vs. ECM?

I can probably hack up android.c to use RNDIS even when CONFIG_USB_G_LGE_ANDROID is set, but I'd like to know what these are first.
 
Upvote 0
I thought perhaps ECM was an alternative to RNDIS. And maybe it is, but it seems RNDIS is hardcoded into frameworks. See frameworks/base/services/java/com/android/server/usb/UsbDeviceManager.java:

private static final String RNDIS_ETH_ADDR_PATH =
"/sys/class/android_usb/android0/f_rndis/ethaddr";

So maybe hacking up android.c to force the rndis driver to be enabled instead of ecm is the way to go.
 
Upvote 0
Hmmm... that's not good. That would mean that if you killed your battery you would be screwed, because the charge while powered off doesn't work. I'm gonna try my phone right quick and see if it charges while off... back in a few.
Ok - on aokpb3a charge while off works - gained 10% in 12 minutes roughly.

On another note, after trying to charge with the phone off it wouldn't boot to anything except the charge animation until I pulled the battery. That happened the first time when I was checking if I had a charge animation also but I thought it was a fluke.
 
  • Like
Reactions: IMUcarmen
Upvote 0
This property is set in a lot of ROMs, my own VM670 ICS builds included. I got it from the P500 stuff and just copied it because I figured it must do something useful.

If you do a google search, you will see various pages that document what it does. However, I have not found the code that uses it yet. It's possible that it was used in a previous release but not in jellybean ... or maybe my grep-fu is not strong enough. I'll keep looking.
Don't know this guy from a whole in the ground, but found this on the web:

Examining build.prop tweaks for Android ICS (Part 2)

Speaks about (among other things) pm.sleep_mode, including:
While I find no references to this property anywhere in the ICS code base (more on that later), I do realize this is a configuration property referenced in the Linux/Android kernel.
and then goes on to speak about a commit in 2008 where the enum sequence was *changed* so that MSM_PM_SLEEP_MODE_POWER_COLLAPSE_SUSPEND was moved to 1 from 0 (for no reason that I can see)
 
Upvote 0
I thought perhaps ECM was an alternative to RNDIS. And maybe it is, but it seems RNDIS is hardcoded into frameworks. See frameworks/base/services/java/com/android/server/usb/UsbDeviceManager.java:

private static final String RNDIS_ETH_ADDR_PATH =
"/sys/class/android_usb/android0/f_rndis/ethaddr";

So maybe hacking up android.c to force the rndis driver to be enabled instead of ecm is the way to go.
RNDIS is a proprietary protocol for Microsoft. ECM is an early, non proprietary version, that doesn't work as well on USB 2.0+

Ethernet over USB - Wikipedia, the free encyclopedia

Either direction doesn't sound like it is going to be much fun to hack. Also, stock kernel supports ECM, not RDNIS, even though the windows drivers say Androidnet VZW NDIS.

Edit: Complete list.
serial, diag, ecm, adb, mtp, ptp, mass_storage, cdrom_storage, charge only
 
Upvote 0
Here is a better question. What is CM10 calling when it does USB Tether. Is it:

sys.usb.config=rndis

or

sys.usb.config=ecm

Because our kernel has specs for both, but rdnis uses $sus.usb.config to define the function and ecm is hard coded.

init.iproj.usb.rc for those wanting to look at the exact listings.

Edit, just checked through terminal. It's rndis,adb . Our ADB doesn't start when on rndis so I'm guessing we need to hard code functions in.
 
Upvote 0
AOKP was never laggy for me, I will admit CM10 is a little faster, but compared to stock ICS, both of them fly.
Definitely agree relative to stock, but I found AOKP and CM10 both performed the same, with some slight differences in video/flinging performance. The main difference for me was battery life. I could sit and see the AOKP battery drain 1% at a time, but on CM10, it would be far less pronounced. I have a feeling some tweaking to AOKP would get it to perform just as good as CM10.
 
Upvote 0
ok, just tried charging while powered off again, phone did the same thing (normal LG logo) let it sit like that from about 20 minutes before my last post until just now (approx 45 minutes), then I unplugged it, got the phone to turn off, let it sit 5 minutes or so, powered backup and the battery was 11% lower than it was when I turned it off and plugged it in.

Ok - on aokpb3a charge while off works - gained 10% in 12 minutes roughly.

On another note, after trying to charge with the phone off it wouldn't boot to anything except the charge animation until I pulled the battery. That happened the first time when I was checking if I had a charge animation also but I thought it was a fluke.

I restored my CM10b3 setup and tried charging the phone while off - worked great. Saw The LG logo 2 times and then the charging animation started and charging was working.

Dirty flashed to cm10b3a and tried again - I got the charge animation and it was charging.

I did still have the same issue as with my aokpb3a - having trouble booting normal once I boot to the charging animation... if I unplug the power it stays with the charge animation and I have to try things like pulling the battery or holding vol down and power to get to cwm and choose reboot from that menu to get back into a normal boot.
 
  • Like
Reactions: tdm
Upvote 0
I restored my CM10b3 setup and tried charging the phone while off - worked great. Saw The LG logo 2 timesand then the charging animation started and charging was working.

Dirty flashed to cm10b3a and tried again - I got the charge animation and it was charging.

I had the same issue as with my aokpb3a - having trouble booting normal once I boot to the charging animation... On all of them so far if I unplug the power it stays with the charge animation and I have to try things like pulling the battery or holding vol down and power to get to cwm and choose reboot from that menu.

So this is specific to aokp then? Please file a bug and mention that, in addition to adding the aokp tag.

Thanks!
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones