yashsingh1/xdaforums huggingface dataset:
[RAZR HD Android Development] CWGSM3VO:
Interesting log, saw a few things that made me wonder. Looks like I have to enable the filters that the JBBL code originally had:

D/GsmSST ( 1251): [GsmSST] EVENT_GET_CELL_INFO_LIST: error ret null, e=com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED

Which leads to this:

D/GsmSST ( 1251): [GsmSST] SST.getAllCellInfo(): X size=0 list=null

This particular request works on my network, but not yours. In the JBBL code, this particular command was filtered because it causes unnecessary wake locks, which may explain the battery drain you see.

Also see this a lot:

D/DctController( 1251): [DctController] DataStateReceiver: STATE_OUT_OF_SERVICE Intent from phoneId=0

I'm going to build w/the JBBL command filtering in place tonight (@work right now) and see if that helps.

---------- Post added at 08:07 AM ---------- Previous post was at 08:02 AM ----------

Would help to know which build you're using? I don't use BT but have seen plenty of folks stating it's sketchy regardless of whose build they're using (Bliss, CM, me, whatever...)
[RAZR HD Android Development] madmonkey57:
That's interesting. I'll continue to monitor battery usage and report anything interesting.

And will gladly be your guinea pig afterwards!
[RAZR HD Android Development] dvgb173:
I am having similar issues with BT and dialer. But i am on Blisspop 1.6. Happens in car.

Also voice doesn't work anymore. Failed to connect error.

I never use WiFi and BT at same time.

EDIT: I use BT tethering all day at work with no problems.

Doug B.
[RAZR HD Android Development] madmonkey57:
Not using BT much. One thing though, I am not able to make a call in my car.
[RAZR HD Android Development] madmonkey57:
Continued from here.

After 10h. Still at work. Phone still resting on my desk, almost zero activity and still mostly deep sleeping.

And now going back home, and I expect the device to become a lot funkier tonight!

In the next 30mn or so, the device will:

- disconnect from work WIFI

- hop from one mobile network to another (voice only since data is disabled)

- at some point, it'll start roaming

- then connect to my home WIFI
[RAZR HD Android Development] lcc014:
I used BT with headset and Car BT system. Both works very well in terms of making calls and answering calls. I have not tried both BT and WiFi in action at the same time though.
[RAZR HD Android Development] dvgb173:
What rom and model phone are you using?

Thanks.

Doug B.
[RAZR HD Android Development] lcc014:
I am using XT925 (Razr HD) and CM12 - C's special build (radio fix). I was using CM11 (JBBL) but after the nightly build back in 2014 Mid-Oct, BT feature broke. I could not using my Car BT system with my phone anymore. So I upgraded my phone to KKBL and started using CM12. I could use my car BT system with my phone again.
[RAZR HD Android Development] Mikerhinos:
Ok so, been testing the rild rom since 2 days, and I have almost exact same signal problems :(

Clean flash (factory reset in CWM + dalvik wipe), 12/20 Gapps.

Orange France provider.

Don't know if I have some kind of hardware problem, or if I'm making anything wrong :silly:

Battery life is pretty awesome though :good:
[RAZR HD Android Development] lcc014:
Camera Question

I am not able to find the setting within camera app to save photos to SD card. Is this option available in CM12 ?
[RAZR HD Android Development] CWGSM3VO:
I'll be posting a new test build tonight with the command filtering in place and see if it helps. Seems only those in Europe seem to be affected in this way, I'm having no problems here in Canada (not sure about my American brethren however, I assume they're OK too as I haven't seen anything specific).

---------- Post added at 11:44 AM ---------- Previous post was at 11:43 AM ----------

I don't believe so, I've never seen it. I just had a boo through the settings and I can change exposure/etc but not save location.
[RAZR HD Android Development] lcc014:
I am in Boston and no issue with the signal problem at all. Well, I am only using GSM and Wifi and no LTE.
[RAZR HD Android Development] KC69:
I use camera next. From bliss.
[RAZR HD Android Development] Zeljko1234:
Just clean flashed your RILD2. First was ok, made a call using BT headset. It was even option in dialer to switch from BT to speaker, device... Then played music and tried to make a call, again fine. Then connect HRM and started Sport tracker. Dialer stuck when tried to make a call. Rebooted, turned phone off, HRM off whatever I do, problem remained. If I try to make a call with BT headset connected, dialer make a call but not over BT. I can hear ringing but dialer stuck on mine window, not showing end call button.

Log attached.

Edit: At least, network signal shows up every time :)
[RAZR HD Android Development] madmonkey57:
Continued from here.

Got home ~3 hours ago. Left the device on a table = Zero activity.

It's just the beginning but I think it has started to drain the battery for no reason..

EDIT: Gotta go. Will try to capture screens later tonight before going to bed or even tomorrow morning.
[RAZR HD Android Development] CWGSM3VO:
Hmm, something definitely went ape there. Not sure what I'm looking for specifically here as nothing in particular jumps out at me as "hey, this is the problem". I do know there's been a bunch of commits against the AV framework and some Bluedroid stuff, I'll sync to current tonight and maybe this problem will have resolved itself?

I know it's tough, but CM12 is still in it's infancy stage (and I know, preaching to the choir) so some things are still gonna be broke. Not sure what I can do about BT though, maybe I should learn about that next.
[RAZR HD Android Development] Zeljko1234:
Looks like that problem started after I used BLE HRM for the first time or maybe is just coincidence. Will be problem If someone call me during workout.

Btw, http://youtu.be/TV5WsySXOHI
[RAZR HD Android Development] lcc014:
May I ask, what is HRM and Sport tracker ? Are they apps or else ?

Thanks
[RAZR HD Android Development] CWGSM3VO:
Bluetooth Low-Energy Heart Rate Monitor.

(google <3)
[RAZR HD Android Development] lcc014:
Thank you. So problem was to connect to more than 1 device (headset and HRM) in order to duplicate the problem ?
[RAZR HD Android Development] CWGSM3VO:
Just finished building -- it's current with CM12 tree ~2 hours ago:

- RIL command noops for RIL_REQUEST_SET_CELL_INFO_LIST_RATE and RIL_REQUEST_GET_CELL_INFO_LIST

I realize it's not a 1:1 from 1-11 but I'm about to flash it and if it's good, this post will be updated with download link.

*splat*

Looks like init is broken. I'm guessing due to the de-unification of moto_msm8960 back to individual devices.

EDIT: Yup, I'll have to re-init everything for XT925. XT926 is separate now as well.
[RAZR HD Android Development] madmonkey57:
Continued from here.

It's been 24h now. Device has been awake all night. Most probably CPU was 384Mhz when not deep sleeping.

"Androis OS" in Battery details now shows 17%, kept the device awake for almost 7h. Lots of suspicious Kernel Wakelocks

Unlike the day before, RILJ didn't seem to be involved in suspicious Partial Wakelocks... No crazy process that I can see.

I have attached a "logcat -b radio" and I also have a full logcat that I can provide by pm if anyone is interested.

2 more things to notice:

- I'm back at work (i.e not roaming), and it seems battery drain has stopped (will confirm in a few hours)

- the device froze then rebooted when I launched SSHDroid. Could be just a coincidence, mentioning just in case.
[RAZR HD Android Development] StefanGA:
I have a big fear, that the de-unification will slowly but consistently phase our device out of development..

Waiting for your new build before I do my full clean flash, but interestingly enough, I did a reboot this morning PRIOR to getting in my car to work and strangely enough all bluetooth related functions did work flawlessly. I called from phone and car unit in home network and after switch to roaming network from phone and car unit.. no hangups, no freezes, no nothing everything worked as expected.. Maybe something is piling up in memory while charging overnight.. I will try to reproduce and get logcat to work on your new build.
[RAZR HD Android Development] Zeljko1234:
So xt925 and xt926 are separated as well?! According http://www.cmxlog.com/12/xt926/ they are. And no nightly for any of them. Kind of strange as those two devices are almost the same. I agree with [MENTION=456453]StefanGA[/MENTION]

Just for info BLE HRM I use is Mio Link and BT headset is Audio66. Both worked fine with early LP builds.
[RAZR HD Android Development] madmonkey57:
Confirming that the battery drain has stopped, which tends to suggest that roaming (voice) is somehow involved in the excessive battery usage.
[RAZR HD Android Development] Zeljko1234:
Both xt925 and xt926 nighties are up again :)

If I understand dhcaker correctly, roms are still almost the same. Only cm recovery is different?
[RAZR HD Android Development] kabaldan:
CM recovery is different for 540x960 and 720x1280 devices. No difference in recovery between xt926 and xt925.

What asks for separate builds for xt925 and xt926 is the modem.

xt926 is cdma+gsm device, aka world phone. xt925 is gsm device.

xt925 users shouldn't see any cdma options on their phone.

See what network mode is using [MENTION=4910373]madmonkey57[/MENTION] on his xt925. That's wrong and that's the real reason for separating xt926 and xt925 builds.
[RAZR HD Android Development] madmonkey57:
Could this be a reason for my battery usage woes?

EDIT: I'll flash the first XT925 CM12 nightly ASAP. We'll see...

---------- Post added at 01:12 PM ---------- Previous post was at 12:43 PM ----------

Can not flash xt925 nightly...

TWRP 2.8.3.0, MD5 OK.

The package is for device: xt925, vanquish_u, the device is: .
E: Error executing updater binary in zip file

---------- Post added at 01:21 PM ---------- Previous post was at 01:12 PM ----------

Removed the first "assert" line from the updater script.

Now flashing a working build, then SFTPing the updated nighlty to the external sd card, and trying once more...
[RAZR HD Android Development] lcc014:
Will your radio fix be in 20150115 nightly (XT925) ?
[RAZR HD Android Development] madmonkey57:
Was able to flash the updated 01/15 zip file. But I'm afraid it's bootlooping...
[RAZR HD Android Development] Zeljko1234:
Don't be afraid, you can always press power and volume keys, get into recovery and restore backup.
[RAZR HD Android Development] madmonkey57:
Yeah... I really wanted to test a xt925 specific build to see whether it could solve my battery usage issue. I don't feel like going back to cm11... I'll wait another 5mn and then swich back to a working unified CM12 build...
[RAZR HD Android Development] CWGSM3VO:
I thought the XT925 was the world phone because it's GSM and the XT926 not so much due to being primarily CDMA?

Makes sense I guess for the de-unification. But that being said, even stock, I see CDMA options on my device. This didn't seem to be an issue in CM11 either. Primarily seems driven by the CM recovery push *shrug*

I'm currently resyncing my sources for XT925. Sorry XT926 folks, unless I can have both living side by side, I'll only be building XT925 :(
[RAZR HD Android Development] Zeljko1234:
Traitor :D

xt926 has one more radio technology which makes it more world phone. Only problem is Verizon exclusiveness.
[RAZR HD Android Development] lcc014:
Where is the updater script in this nightly ? I have the same issue when installing the zip file. Should this be fixed in XT925 branch so that other people can install the zip without this error ?

Thanks.
[RAZR HD Android Development] madmonkey57:
META-INF\com\google\android\updater-script

I suppose it should indeed

A word of caution: I successfully modified the zip file, flashed it, BUT the system bootlooped.

Either I did something stupid or I have some specifics on my phone... or there is a problem with this first xt925 cm12 build...
[RAZR HD Android Development] lcc014:
Thanks for the information and headup. I will hold off to install this nightly then.
[RAZR HD Android Development] djvita:
so the sim issues have to do with the modems due to unifying cdma with gsm?
[RAZR HD Android Development] CWGSM3VO:
Building, finally... guess things aren't in place per se, was unable to sync from TheMuppets for prop bits :( Ended up manually downloading and installing them. See if this builds + boots, if it does, time to mod it.
[RAZR HD Android Development] madmonkey57:
[MENTION=2218140]kabaldan[/MENTION] pointed out that the xt925 doesn't have built-in CDMA caparabilities as opposed to the xt926, thus the xt925 shoudln't have any CDMA-related options/settings.

It is safe to assume that the unified build has the necessary code / blobs / internal settings for CDMA devices.

Do these CDMA-related stuff somehow *hurt* the xt925? I don't know. It didn't seem to be the case in the CM11/jbbl unified build, but things are a lot different now in CM12/kbbl (new OS, new kernel, probably new blobs).

---------- Post added at 09:36 AM ---------- Previous post was at 09:26 AM ----------

FYI. I reverted to your 1/11 "RILD2" build and forced the "Preferred network" to "GSM Only" in order to avoid CDMA as much as possible.

Nevertheless, I got the usual battery drain while roaming...
[RAZR HD Android Development] kabaldan:
I didn't meant what can be seen in the diagnostic tool which causal user never see, but the options under Mobile networks Settings menu.

From left to right: xt897 (world phone), xt925 (gsm phone), network type list for world phone (xt897), network type list for gsm (xt925)

If you have enough hdd space, there's no problem to build multiple devices from the same tree. I do it all the time :).
[RAZR HD Android Development] Zeljko1234:
[MENTION=2218140]kabaldan[/MENTION] May I ask you about C's radio/sim fix? Is it going to be implemented in official nightly? Looks like that patch works just fine.
[RAZR HD Android Development] kabaldan:
No.
[RAZR HD Android Development] kabaldan:
I had to separate the wheat from the chaff :) .

I'm still evaluating it.

I expect to push the fix to gerrit soon.
[RAZR HD Android Development] Zeljko1234:
Yes, please remove Canadian freemium :D

Thank you both :)
[RAZR HD Android Development] lcc014:
Thank you :)
[RAZR HD Android Development] CWGSM3VO:
I did some Googling around and nobody can seem to agree with what a "world phone" means, other than it's GSM ;)

My confusion came from vendor/motrola, looks like the entire chunk has to come down (xtXXX, jbbl, etc) instead of msm8960-common and such individually like it used to be with moto_msm8960. In other words, it looks to be that the entire proprietary_vendor_motorola git needs to be pulled down to my local copy, can't individually select things (get repo not found otherwise).

I suppose that makes sense then so I could built xt926 and xt925 with little difficulty.

---------- Post added at 06:21 AM ---------- Previous post was at 06:16 AM ----------

Thanks [MENTION=2218140]kabaldan[/MENTION], as I said in my email, I really appreciated the time and detail you took in explaining the RIL issues to me, I learned something (mostly that I have a lot to learn) :)

[MENTION=2559459]Zeljko1234[/MENTION] Canadian Freemium? No maple syrup for you, eh. :D

---------- Post added at 06:28 AM ---------- Previous post was at 06:21 AM ----------

I believe this drain is due to the unsupported RIL commands I mentioned. I managed to build a broken 1-12 and flashed that over top of my existing 1-11 and the telephony stuff stuck when I revered (so it's blocked on my device now, as it was originally intended) and I've noticed my batt life has actually improved, so I believe they're necessary and most likely will return in the official commit.
[RAZR HD Android Development] kabaldan:
I used the term in the sense how it's used throughout the Telephony service:

https://github.com/CyanogenMod/andr...ephony/blob/cm-12.0/res/values/config.xml#L57

I don't particularly like the world phone term because it's very US centric and also outdated.

It means US domestic (=CDMA) phone with world (=GSM) support.

No, the RIL_REQUEST_GET_CELL_INFO_LIST seems to be supported by kkbl RIL just fine, I see no reason for disabling it.

Separate issues would require separate commits anyway...

Btw., I've already pushed the commit for review: http://review.cyanogenmod.org/85575
[RAZR HD Android Development] Zeljko1234:
Great! When this commit is accepted and merged what's left as major bug? Only BT call?
[RAZR HD Android Development] lcc014:
That is great news. What about the install issue for XT925 and XT926 ? Will that be addressed soon ? I could not install the latest nightly to my XT925 because of that:

The package is for device: xt925, vanquish_u, the device is: .

E: Error executing updater binary in zip file

Thanks.
[RAZR HD Android Development] madmonkey57:
I obviously volunteer as a guinea pig in case someone's looking into the battery usage issue.

I can reproduce at will, and grab some screenhots / logcats. Just let me know.
[RAZR HD Android Development] CWGSM3VO:
In [MENTION=4910373]madmonkey57[/MENTION] case, his log shows these commands as unsupported running my test build where I'm not filtering them. It works on my device (the command returns the list of cellinfo) so I figured (for whatever reason in his case) that the unsupported commands may be leading to his battery drain as originally noted in DHacker's commit for that *shrug*

Still lots to learn, appreciate the nod in the commit too :)

---------- Post added at 09:16 AM ---------- Previous post was at 09:10 AM ----------

So I built 1-16 for the XT925 and there's an assert on installing, appears the package isn't detecting the device properly (ro.product.device) although does recognize it's for xt925,vanquish_u -- just hacking the installer script to bypass the assert for now and see what I can figure out when I get home tonight.
[RAZR HD Android Development] jkim204:
Guys is there absolutely no way for me to root my xt926 183.46.15 to install this custom rom?

I've had this problem for a while and it's making me sick....
[RAZR HD Android Development] lcc014:
That was the question I asked back in post #1324.
[RAZR HD Android Development] CWGSM3VO:
Just remove the first line from the updater-script:

assert(getprop("ro.product.device") == "xt925" || getprop("ro.build.product") == "xt925" || getprop("ro.product.device") == "vanquish_u" || getprop("ro.build.product") == "vanquish_u" || abort("This package is for device: xt925,vanquish_u; this device is " + getprop("ro.product.device") + "."););

And stuff it back into the ZIP. I'm installing it right now, not sure if it'll boot/etc but we'll see.

EDIT: Yeah something is off, usually it'll show "script succeeded: result was [/system]" but in this builds case, it shows the result as 0.200000 :) Also figured out why it's always complaining about /userdata, reason is it tries to mount it as EXT4 whereas mine is F2FS

EDIT: Stuck at splash screen, no logging so I can't determine why it's not booting :(
[RAZR HD Android Development] lcc014:
Thanks, looking forward to hearing the result. :good:
[RAZR HD Android Development] CWGSM3VO:
*sigh* now even my working build won't boot.

EDIT: Patience, is a virtue I've heard. Need to learn some. It booted.
[RAZR HD Android Development] madmonkey57:
Yeah same as the official xt925 nightly.
[RAZR HD Android Development] lcc014:
20150115 BootLooping ...

I modified the updater script within 20150115 nightly - removal of the ASSERT() and did a clean install. Now, my phone (XT925) is bootlooping for more than 15 minutes. Should I wait for longer or restore the working version from Recovery ?

Thanks.
[RAZR HD Android Development] CWGSM3VO:
I ended up flashing back to a working build -- I don't know how to log from bootloader onwards, so I'm not getting any logging. I saw some information about enabling console/etc but I can't do anything about that until I get home. Also saw documentation about using serial JTAG logging but that's outside my ability.

Really wish I could see what's going on to try and debug the issue but I got no logging to go on.
[RAZR HD Android Development] madmonkey57:
Maybe this will help. Dunno, just "hoping" out loud!
[RAZR HD Android Development] lcc014:
I ended up quitting after about 30 minutes of bootlooping. I restored back to C's radio fix image from recovery. :(
[RAZR HD Android Development] Raven2m:
Cm12 1/14 official is reporting as non rooted to a few apps. Am I missing something stupid.
[RAZR HD Android Development] kabaldan:
fsg and modem partitions fail to mount for obscure reasons => init keeps waiting for the mounts => boot does not progress

Please restrain from flashing current builds until it's resolved...
[RAZR HD Android Development] madmonkey57:
Not 100% sure yet (I just noticed), but my battery drain issue may not be related to "roaming" after all. I disabled WIFI and the excessive battery usage has stopped.

Why would my home WIFI somehow cause this battery issue and not my work WIFI? :confused:
[RAZR HD Android Development] Zeljko1234:
Enable root access in developers options. Root permission is now under privacy guard.

---------- Post added at 03:24 PM ---------- Previous post was at 03:12 PM ----------

Could be because of wifi settings in your AP, beacon interval for example.
[RAZR HD Android Development] madmonkey57:
Undertsand.

Yet, I have been on these WIFI settings for a while, never had a problem before...

BTW, beacon interval is set to default, 100ms.
[RAZR HD Android Development] kabaldan:
Regarding the assert failures:

I don't see it when using CM recovery nor philz_touch_6.57.5-moto_msm8960.

What exact recovery build fails the assert for you? Please link the recovery image download, thanks...
[RAZR HD Android Development] lcc014:
Thank you for the explanation. I stay with C's radio fix build for now.

---------- Post added at 08:11 PM ---------- Previous post was at 08:09 PM ----------

I am using CM recovery 6.0.5.1 and having ASSERT failures.
[RAZR HD Android Development] kabaldan:
Thanks.

Btw., by CM recovery, I meant the CyanogenMod recovery (formerly Simple recovery) that gets built automatically during any CM12 build, not CWM - the old ClockWorkMod recovery.
[RAZR HD Android Development] lcc014:
Thanks. Where can I get the simple recovery ?
[RAZR HD Android Development] madmonkey57:
Another oddity. At home, when WIFI is disabled, mobile network signal is solid green in battery chart whereas it is orange/red when WIFI is enabled and connected. In both cases, "Mobile Data" is OFF as well as "Data roaming".
[RAZR HD Android Development] CWGSM3VO:
The one linked in my sig, never had issues with CM11/12 with it. I had the initial assert where ro.product.device fails to match and then later on, when the script is successful, it normally says "script successful: result was [/system]" it says "script successful: result was [0.200000]"

I read about the fsg/modem mounting issue, that gives me something to look at. I woke up thinking that perhaps if I had reformatted to ext4 it might boot, but now I have a better idea where to look.

EDIT: Now I know better, thanks [MENTION=2218140]kabaldan[/MENTION]

EDIT: I checked my recovery log, it doesn't export any product.device but the "about" shows "droid msm8960" -- this could be the reason it fails on me? I checked earlier builds, they only test for 907/926/smq/scorpion_mini and moto_msm8960.
[RAZR HD Android Development] Zeljko1234:
Looks like that we need new recovery.

https://twitter.com/dhacker29/status/556436314438918146
[RAZR HD Android Development] CWGSM3VO:
I started looking into how to build TWRP as well. Figured I might as well dive in head first rather than hopscotch in.
[RAZR HD Android Development] madmonkey57:
Damn... I can't get mobile data while roaming...

That one is a real pain in the ass show-stopper for me...