yashsingh1/xdaforums huggingface dataset:
[RAZR HD Android Development] niksy+:
I feel like a troll just hitting thanks and not commenting - my xt925 is still sitting in the drawer with the display smashed, I'd be all over this if it weren't like that :(

Way to go for working so hard on this, I've been following the thread all along the way and there's not enough thanks buttons I could hit :cowboy:
[RAZR HD Android Development] CWGSM3VO:
I just appreciate the patience and opportunity to try fixing this, it's been a ride to say the least and I learned a good deal. My biggest appreciation is those who hung in there with my ranting and ramblings to get to this point, you deserve the real thanks.

EDIT: I'm 30 for 30 now, even with gapps installed.

EDIT: 5 downloads so far, someone must have something to say...
[RAZR HD Android Development] Jl6owa:
1st boot - network came up after 5-10 seconds. started with no network, then network icon disappear, then moment and it has appeared with a full signal bar and working network.

2-5th boot - network came up in the same way like after 1st boot.
[RAZR HD Android Development] CWGSM3VO:
With your report, that makes 2 I've received so far with successes.

EDIT: Going to tweak it a bit based on logging. And after that, submit it. 2 out of 3 isn't bad or everyone is eating dinner :p
[RAZR HD Android Development] technoid1964:
Took the plunge and came over to the lollipop side. Trying the latest test build, I get network and data every time after 6 reboots, once it kept connecting and disconnect with an exclamation point for about two minute then settled to H+.

The signal bars don't seem right as I used to get 1 bar at -112db, right now I get none, but I get voice and data OK.

Charging seems really slow, GPS seems a bit weaker than on CM11.

Just got a call with no bars, answered ok, clear audio, hung up fine.

Looks like I'll be staying on Lollipop now as long my alarm clock works tomorrow morning.
[RAZR HD Android Development] lcc014:
I downloaded and installed it (clean install along with gapps). It took long time to boot (first time after install). Radio came up at boot. Then I tried reboot 3 times, all with radio coming up at boot.

Good fix and thank you for your effort and hard working !!!!
[RAZR HD Android Development] CWGSM3VO:
Since we're on the same network but a province apart, I thought I'd check and comment on this. I'm currently at -112dBm 28asu and I show one bar (maybe it's two? hard to say as they're not defined. Looks to be about a little less than 1/3 the entire radio icon triangle).
[RAZR HD Android Development] CWGSM3VO:
Mine's running like a top. Haven't been working it too hard but here's my so-far opinions:

Pros:

- very fluid, equal in my opinion to current cm11 nightlies

- everything seems to work for me; gps, camera, phone/spkrphone/data, sms/mms, wifi (bgn), email

- battery usage seems good so far, 1-1.5%/hr est, not playing with it much though

- google related services working as expected, all data is there that I expect

- material design is very interesting to use, still getting used to the extra gestures involved but fun to play with

- no FCs of any kind, everything works (not a phone gamer/etc though, ymmv)

Cons:

- missing CM features

- can only power off, not reboot

- ui drawables for wifi/radio, very minor

EDIT: I should note that I use GEL, so my experience may be different. I had read somewhere that other launchers may have issues but not 100% sure.
[RAZR HD Android Development] hbenz2008:
Definitely needs a more polished version.

Camera is wonky at times

Dialer stops unfortunately...

Yes, service get lost at times..

Things here and there. I am confident issues will get ironed out
[RAZR HD Android Development] RMarques:
Same opinion so far. Exception goes to the battery consumption since I didn't kept track of it yet and this com.android.phone issue that just started to happen!

Cons are the same as well.

Sent from my RAZR HD, DHacker29 CM12, Lollipop, ART Runtime.
[RAZR HD Android Development] RMarques:
Sure thing Benz, it's the very first release to XT925 owners and it has been amazing so far! I'm sure tons of good things will come very soon!

Sent from my RAZR HD, DHacker29 CM12, Lollipop, ART Runtime.
[RAZR HD Android Development] hbenz2008:
Agreed man?
[RAZR HD Android Development] kski71:
Not able to update supersu...any suggestions plz?

Got it...saw a post a few pages back. Thanks. By the way, I am loving this ROM. I have had no probs...thanks
[RAZR HD Android Development] hbenz2008:
You can flash it. And what version you have?
[RAZR HD Android Development] bighleo114312:
I just added apn and now i dont have network. What can i do. Help

Enviado desde mi DROID RAZR HD mediante Tapatalk
[RAZR HD Android Development] RMarques:
I took off the SIM, started to search network, while in the process of searching network I inserted the SIM again and has been recognized. Worked for me, you can try and see if it works for you.

Sent from my RAZR HD, DHacker29 CM12, Lollipop, ART Runtime.
[RAZR HD Android Development] TXKSSnapper:
I saw that dhacker had updated the way the data partition was handled. Glad to hear that f2fs is working on CM12, I'll have to change over tonight.

Let me know if you figure out how to get it working. I've been trying to build since before dhacker posted his first build and still haven't found out what the issue is.

Yeah, that's a much better way to describe it. I'm going to try and grab some logs to see if I can narrow down the cause.
[RAZR HD Android Development] RMarques:
Almost ready to flash CM12 11/15!

Sent from my RAZR HD, DHacker29 CM12, Lollipop, ART Runtime.
[RAZR HD Android Development] pete355sb:
Will I be able to flash with twrp 2.7.1.0 ? This is incredible I hope this can be used as a daily driver!
[RAZR HD Android Development] MauricioBR:
Yes. I flashed it with that recovery. CWM/Philz seem to work as well.

It's mostly stable and I found it very fast, but it does have a few bugs. Radio seems to go off every other boot on my phone (probably what other people have reported as losing signal), bluetooth music is wonky, as is SD video playback.
[RAZR HD Android Development] djvita:
Battery life is insane I unplugged 14 hrs ago and still @50% , 2hrs sot
[RAZR HD Android Development] iBolski:
Same here.

Also, Netflix doesn't work. It can't connect to the service. I tried on my Nexus 7 which is also running Lollipop and it works fine, so it's definitely something with cm12 for the razr HD. But, that's understandable since this is the first release.
[RAZR HD Android Development] David Caddick:
Hi All,

In my haste to update from JBBL to KKBL I used the Verizon 4.4.2 retail and accidentally over wrote the Telstra radio/modem and now cannot connect via GSM/LTE.

So while the Lollipop update was a success it now no longer works as a phone :(

The SuperThread link to Stock Firmwares no longer works for the Telstra stock firmware - can anyone help with suggestion/advice on where I can get hold of replacement to re-flash correctly?

Thanks in advance
[RAZR HD Android Development] bighleo114312:
On 11/14 everything worked great and now on 11/15 i loose network after puttong apn but now i have formatted apn and i have network again

Enviado desde mi DROID RAZR HD mediante Tapatalk
[RAZR HD Android Development] RMarques:
I'm 11/15 and loosing network as well, his did u solved it man?

Sent from my RAZR HD, DHacker29 CM12, Lollipop, ART Runtime
[RAZR HD Android Development] bighleo114312:
I went and dial *#*#4636#*#* and change network to LTE,GSM,wcdma and set againg my apn. And now i have a workimg data. On latest cm12!

Enviado desde mi DROID RAZR HD mediante Tapatalk
[RAZR HD Android Development] hbenz2008:
http://sbf.droid-developers.org/phone.php?device=6
[RAZR HD Android Development] technoid1964:
I installed an app to monitor the signal strength, at -112ish dBm I sometimes get 2 bars, if I cover my phone, bars disappear at -134dBm, uncover and sometimes the bars on the status bar come back, sometimes they don't even though it shows in have -112ish dBm. Acting a bit weird, maybe it's just a BC Rogers thing :)

Edit: maybe I'll go back to 4.4.4 for a few hours to compare signal strength and bars... I'm on here right now, no bars but on LTE on L

Edit 2: turned off LTE and now I have 4 out of 5 bars all the time while on H+. Looks like L switches to LTE at a lower signal before switching over to H+ when compared to CM11. All good, as long as I have signal I'm happy.
[RAZR HD Android Development] Mikerhinos:
Downloading it right now, but can't flash until back from work (in almost 11 hours).

I guess that it needs a clean flash with >12/20/14 Gapps ?

Anyway can't wait to test it ! :D
[RAZR HD Android Development] madmonkey57:
Sounds wonderful C!

Downloading now and will give a shot as soon as I can. Thanks.

EDIT:

1st boot: Requested PIN after ~20sec, got radio ~5 sec afterwards

2nd boot: Requested PIN after ~10sec, got radio ~5 sec afterwards

3rd boot: Requested PIN after ~10sec, got radio ~5 sec afterwards

4th boot: Requested PIN after ~10sec, got radio ~5 sec afterwards

5th boot: Requested PIN after ~10sec, got radio ~5 sec afterwards

A very effective workaround, hopefully a fix. Either way, this is a life changer.

What will be your next steps? Submit the change "as is"? Discuss it upfront with one of the maintainers?

Thanks for your hard work man!
[RAZR HD Android Development] tripaX8:
Installed cm-12-20150111_E-UNOFFICIAL-moto_msm8960_RILD2.zip and pa_gapps-stock-5.0.1-BETA7-20150111a-signed

Radio came up on boot. Tested 4 more boots, and radio is OK everytime.

Thank you C for your work !!

Comment: Every time I install cm12 hungs on CM logo on the first boot. I do a hard reset, and second boot is Ok. Before installing I do a full wipe, and davlik cache wipe. Is it better to install without wiping to avoid the hung on first boot? (I use CWM 6049)
[RAZR HD Android Development] madmonkey57:
Strange... I always wipe /system / cache /dalvik-cache after flashing (including latest PA gapps FWIW) and the device never hung on the first boot. I'm on TWRP 2.8.3.0. Make sure to give it a few (like 5) minutes before giving up...
[RAZR HD Android Development] StefanGA:
I see you posted a new build already, but wanted you to know - I am on an XT925, I have tried various builds before including CM and BlissPop. I never really had much radio issues. Reboot usually fixed things, if I lost network at all..

With your 0111 build, I had radio on initial boot immediately, but lost it completely on all subsequent ones. No way to bring it back. (didn't try the terminal kill command though). "Standard measures" as I could do in the past, reboot, turn airplane off in power menu, phone off/on didn't work at all. I gave up then.

The reason I flashed you build was the memory leak fix, that I believe I am suffering from - after couple of hours battery will just drain like crazy (~8% per hour) I am well under 1% under normal circumstances, batter usage is almost a flat line for me.. I looked for days through better battery stats, there is nothing that stands out wakelock wise, so I am almost 100% certain it is some sort of memory leak.. Not sure if anyone else is observing this...
[RAZR HD Android Development] madmonkey57:
It takes usually more than just a couple of hours, but yes, battery usage increases dramatically after a while. Device doesn't go to sleep. Can't identify why. I first thought it was one google service/app draining the battery for whatever reason...
[RAZR HD Android Development] StefanGA:
Yep, you are right.. about 8-9 hrs to be precise. I also thought it was google NLP location services, since these were the only wakelocks showing, but I have the same frequency on KK and no drain, so I eliminated those as offenders.. I think it is truly a memory leak of some kind. Just not sure, what is causing it. At least I am glad, I am not the only one with the issue, so hopefully there will be a solution around the corner..
[RAZR HD Android Development] madmonkey57:
Let's monitor the battery chart then.

Flashed C's "RILD2" build 2 hours ago, and the battery chart has been showing one friggin' flat line since then!
[RAZR HD Android Development] Zeljko1234:
For battery drain, check well known Google play service. For some reason likes to keep phone awake trying to get geographical location. Just block bastard with privacy guard.
[RAZR HD Android Development] madmonkey57:
Yeah I did double check google stuff constantly geolocating, but it wasn't the case...

I personally don't think it's related to a memory leak, because once battery consumption goes beserk, reboots don't help. Flashing a new build (including formatting /system) is what I've been doin' up until now.
[RAZR HD Android Development] Zeljko1234:
Try to find what's keeping your phone awake. Problem is that gp service usually is not shown in battery statistics but you can see number of requests in privacy guard. Every request is wakeup.

Also check processes in terminal emulator, type top.
[RAZR HD Android Development] madmonkey57:
I remember seeing some google stuff showing thousands of "wake up" or "keep awake" requests. It seemed a lot but not excessive at that time. I'll pay more attention next time.
[RAZR HD Android Development] lcc014:
I had the similar issue with hungs on CM logo on the first boot too.
[RAZR HD Android Development] CWGSM3VO:
Couple of items of note:

- it takes upwards of 5-10 minutes upon first boot on a clean flash, be patient. I know it seems like an eternity :)

- I guess the Germans have a much better radio network than us in North America :) I've always had radio issues with L that prompted this work, [MENTION=456453]StefanGA[/MENTION] :) Your results are very different than what I would expect.

- Battery take a bit to settle in, as with any Android build. [MENTION=2559459]Zeljko1234[/MENTION] advice about blocking certain apps/activities can help, I personally drank the kool-aide and use High-Accuracy GPS and don't block anything-Google, I have no battery drains.

Ultimately, all this workaround does is intercept internal hand-off (for lack of better word) for SIM+RADIO to give the radio enough time to come online and then read the SIM card. Basically it loops until the radio is online and then continues with SIM access, et al. Lollipop apparently changed this from previous Android builds (for example, I have zero issues with CM11 as do most of us).

If your radio was already working (such as [MENTION=456453]StefanGA[/MENTION]) then this shouldn't interfere in any way I would think. I'm going to discuss this with [MENTION=2218140]kabaldan[/MENTION] (who is a very busy guy) and see what he thinks but for me, this is a fix or at least, a workable step in the right direction.

EDIT: Actually, [MENTION=456453]StefanGA[/MENTION] if you could do me a favor, try to grab me your radio logs on boot/etc from my build? from a PC, it's "adb logcat -b radio" or just "logcat -b radio" from the device. Kind of became a expert of sorts reading these logs over the last couple of weeks :) Maybe something will stand out there for me. Do you enter a PIN? Is the device SIM-locked?
[RAZR HD Android Development] StefanGA:
Sure can - do you want me to run your new build RILD2 or the first one from Jan 11?

I assume you will want logs from initial boot, as well as reboot, right?

I do enter a pin code for my t-mobile SIM card, my device is not SIM-locked, it is a German retail device bought from Amazon..

What concerns me, is that I must be drinking different kool-aide than you, because I do not block anything google either.. don't intend to, because I would like things like Google Now etc to work.. Are you flashing the 12-20 DHacker gapps or different ones?
[RAZR HD Android Development] CWGSM3VO:
From boot (and reboot) please, if possible as that's when the magic happens in most cases :)

Wondering if the PIN on your SIM (if I understand your correctly) might be interfering here. I'm assuming this means the PIN entry is tied to the SIM rather than a PIN unlock for the device itself (ie; CM security/lockscreen).

Yes, I use DH 12-20. I'm guessing PA GApps is fine too but I prefer to use DH's.

EDIT: RILD2 build btw, sorry, missed that part.
[RAZR HD Android Development] StefanGA:
OK, I will see what I can do - at work now and will be busy most evening. I will try to cook some logs up for you later tonight. Indeed the PIN code is tied to the SIM card. I have no device pin/security code if you will (bad practice I know), once the device finds the SIM card, it asks for the PIN to authorize my SIM card on the network - in theory this is happening once after a reboot or power cycle.. I have seen reboots, where the SIM pin code survived the reboot and I aquired network without having to enter the PIN again, though.

I use the DH gapps as well.. I wonder, why I hit the draining.... I will give your build a go and see if I get it with your build (didn't leave your last one on long enough to find out because of no network connectivity :).
[RAZR HD Android Development] CWGSM3VO:
Appreciate it, really do.

Not sure if it's "bad practice". I have (and never have had) a PIN on my SIM, it's completely free/wide-open. I do have PIN security on my device thought (enabled via Settings > Security) which I've always used. If anything, I'm probably the one who is not following "best practice" :D
[RAZR HD Android Development] madmonkey57:
AFAIK, in France, SIM cards come pre-protected with a PIN, which you can change of course. It never occured to me that it was possible to remove this protection.
[RAZR HD Android Development] Zeljko1234:
What bout me then, I don't have any security PIN or lock screen. After power button straight to the home screen :)

Btw, just started to download your RILD2 again. Tried several times and failed every time :/
[RAZR HD Android Development] CWGSM3VO:
You're in a class all your own ;)

Not sure why it's failing.
[RAZR HD Android Development] Zeljko1234:
You've uploaded it wrong :D

Anyway, downloaded it finally :)

Btw, let's start working on http://www.buildtheenterprise.org/ :)
[RAZR HD Android Development] MasterManson_Gunstorm:
what version for cwm or philz touch i can use to run the install the lolipop over kkbl builds?
[RAZR HD Android Development] pete355sb:
I'm sorry if I'm asking a noob question. Can I flash C's ROM with the older version of terp or do you need to use a new version I'm on 2.7.10. I have problems with 2.8.2.0. Thanks in advance for your response.
[RAZR HD Android Development] CWGSM3VO:
Uploaded incorrectly? Sounds more like a user issue to me ;)

Sounds almost like the "Build the Death Star" project :) There's not enough money in the world to do that (nobody works for free, well, almost).

Besides, we humans don't have the technology to travel faster than light beyond the laboratory :p

---------- Post added at 12:26 PM ---------- Previous post was at 12:25 PM ----------

AFAIK, L only requires a compatible recovery. What I mean is, if it's compatible with KK it should also (using this word subjectively) work to install it. You do however require a KK bootloader to use my build.
[RAZR HD Android Development] lcc014:
That is cool !!!
[RAZR HD Android Development] StefanGA:
I must be doing something wrongly.. I get following errort when I issue logcat command:

CANNOT LINK EXECUTABLE: cannot locate symbol "android_log_setColoredOutput" referenced by "logcat"...

tried it both from PC and from twrp terminal command.. both times same message
[RAZR HD Android Development] CWGSM3VO:
Not sure recovery will give you the logs you're looking for or the best place to gather radio logs. My only suggestion is perhaps upgrading your android SDK? I've never seen that particular message before, nor is my logcats colored either ;)

The only other thing I can think of is perhaps a busted install, but I'm leaning more towards upgrading your SDK.
[RAZR HD Android Development] StefanGA:
never had issues to create logcat before... only thing I could find via google:

http://stackoverflow.com/questions/12722356/no-logcat-output

"It looks like your rom contains a modification to push colored output. You should see with the rom creator how to install android_log_setColoredOutput"

anyway, first boot prompted for SIM PIN after about 5secs and had network after about 10 secs.. restoring my apps now, will let you know status after first reboot.
[RAZR HD Android Development] CWGSM3VO:
Did some quick Googling around the "android_log_setColoredOutput" and comes up with the same answers. Interestingly enough, I see a post relating to CM7 and ICS based ROMs. Again, I'm going to lean towards SDK being outdated (ie; adb) here as I've done nothing custom with liblog.so and I'm running the latest SDK and can logout w/o issue.

My only other thought is perhaps something to do with logging from recovery perhaps? Not sure, as I said, this is a new one for me.
[RAZR HD Android Development] technoid1964:
FYI, data won't come up after a soft reboot... I'll try to pull some log.

Edit: happened three times today and now I can't recreate it. Happened twice after the dialer crashed while on Bluetooth. Oh well.
[RAZR HD Android Development] MasterManson_Gunstorm:
sorry i want mean the recovery because i have the kk philz with cm11 working at 6.0.50 version but i got bootloops withm lasted cm12
[RAZR HD Android Development] CWGSM3VO:
Soft reboot from the power menu? I've never tried it, I'll take a look here on my end.

EDIT: Just tried it, got radio. Saw the usual for this build; saw an empty radio triangle, then the SIM with a slash through it, then the full radio triangle (even a VM notification popped up) -- So for me, I can't repro the soft reboot issue :( I don't have a BT device handy to test otherwise, just tried soft reboot from the power menu.

---------- Post added at 05:22 PM ---------- Previous post was at 05:22 PM ----------

See my sig.
[RAZR HD Android Development] CWGSM3VO:
I've been trying to figure out gerrit submission business and I just can't get it going. I suspect it's my environment more than anything else (and in most cases, time to spend figuring it out).

So, I've emailed all the source code/documentation to [MENTION=2218140]kabaldan[/MENTION] and asked if possible, he could review and submit it on my behalf, although full credit really belongs to the original authors I based it on (with him being one of them).

Thanks everyone for being my guinea pig, hope it worked out for everyone who didn't respond publicly and many thanks for everyone who responded and tested for me.

Community rocks.
[RAZR HD Android Development] billycar11:
"Don't flash the moto_msm8960 cm-12 nightly from 1-12 I have to fix an issue" [MENTION=4112553]dhacker29[/MENTION] on twitter
[RAZR HD Android Development] Spidinator:
FYI now he says wait for the nightly for the 14th as the fix didn't make it in. So don't flash 12th or 13th nightly!
[RAZR HD Android Development] madmonkey57:
So the battery drain happened yesterday evening, ~8-10 hours after flashing, all of a sudden. It was bedtime when I saw it, so I couldn't investigate much. A few things I noticed/tried:

- in Battery / History details (double tap the chart on the main battery screen), I noticed that the drain seems very much aligned with the yellow / red colours of the "Mobile data signal". In the first ~8-10 hours, "Mobile data signal" had shown a constant green. I don't know what these colours mean, but I'm pretty convinced there is a relationship. Since it can be of importance, I'll mention that I cross a border everyday to get to work. My native network is at work, and I'm roaming when at home

- Google play services are indeed constantly requesting the location. I switched the privilege request to "ignored" in Privacy Guard

- "top" didn"t reveal anything out of the ordinary. No crazy process.

I then reset all deny/allow counters in Privacy Guard, and put the device to charge.

Unplugged the device 2 hours ago, back at work (i.e not roaming) and still it doesn't *feel* right. Too much battery consumption. "Mobile data signal" is yellow half of the time and very much "awaken" at the same time.

I'll try to leave the device at rest as much as I can. and will take a another close look at the end of the day.