yashsingh1/xdaforums huggingface dataset:
[RAZR HD Android Development] Zeljko1234:
C as cold :D

Last year I spent holidays playing with Android too. Setting up developing (rom building) environment, dealing with problems, changing code, etc could be very educational.
[RAZR HD Android Development] KC69:
Ive been messing with ethanol plugged carbs and worn out shift dogs on atvs. Looked at the weather and yore cold will be here wednesday. Low to mid 20s is enough to stop a lot of Texans from leavin the fireplace aye.
[RAZR HD Android Development] KC69:
Well was the delay the ticket? Or did you have to rejoin the family before you finished the new build?
[RAZR HD Android Development] CWGSM3VO:
Still testing things out here but running out of free time to do it :)
[RAZR HD Android Development] KC69:
I know that tune. Been playing it all day.
[RAZR HD Android Development] billycar11:
just to say it when trying to mirror your screen using chromecast the phone will lockup and reboot
[RAZR HD Android Development] CWGSM3VO:
Well, I couldn't figure it out. Nothing I tried allowed consistent radio on boot. Tried everything from selinux adjustments to init adjustments, in the end, for me, restarting rild is the only solution until someone smarter can figure out the issue.

I'm getting some help on working with gerrit (thank you!) so I can put patches forward to hopefully get other eyes beyond ours looking into it.

At any rate, I'll continue to build and work on it, learned quite a lot these last few days.

EDIT: I have logs, but I haven't sanitized them for public consumption.
[RAZR HD Android Development] RMarques:
Great stuff C, we still love you man... no homo!
[RAZR HD Android Development] madmonkey57:
Any ideas when official nightlies will pop up?
[RAZR HD Android Development] palmbeach05:
When Cyanogenmod decides to release nightly builds, that will happen
[RAZR HD Android Development] madmonkey57:
Come one man, you're better than that.

I know that nightlies are gonna start when CM12 is considered ready/stable enough, that's not my point.

I was wondering if someone had sufficient insight / knowledge in CM12's current state and would kindly share it with us.
[RAZR HD Android Development] Zeljko1234:
Probably before half life 2 episode three :D
[RAZR HD Android Development] madmonkey57:
Good! I have plenty of time to play FIFA 15 on the PS4 then! Thanks! :D
[RAZR HD Android Development] Zeljko1234:
Or use that time to contribute in CM12 development. Lack of knowledge is not excuse :)
[RAZR HD Android Development] madmonkey57:
Nah! I'd rather kick some asses @ FIFA 15 online!!!

I know, but lack of time sadly is.
[RAZR HD Android Development] Zeljko1234:
Imagine if everyone's doing the same and no one's developing. Believe me is more fun to play with Android then play FIFA. Especially after awhile when you figured out basics.
[RAZR HD Android Development] madmonkey57:
Just kidding man. I don't have time for playing games!! And again, it's not a matter of skills but a matter of time.

I spend 10 hours a day at work, and half of my free time on the road. The rest is dedicated to my wife and daughters. I can hardly afford some testing with my (work) phone... at work... I try to keep in touch with what's going on... features, bugs, workarounds, ...

I'm not demanding anything, I'm not complaining, I'm simply asking if someone knows if we are almost there.

OK. Back to FIFA now...;)
[RAZR HD Android Development] Zeljko1234:
Well, do not sleep over night :D
[RAZR HD Android Development] madmonkey57:
Are you crazy? My wife would kill me!
[RAZR HD Android Development] CWGSM3VO:
So after much digging and what-not, I found this (granted, it's for another device) but it appears (to me) to be the exact issue I've been trying to resolve:

http://review.cyanogenmod.org/#/c/8...com/android/internal/telephony/LgeLteRIL.java

Specifically, this part:

// Hack for Lollipop

// The system now queries for SIM status before radio on, resulting

// in getting an APPSTATE_DETECTED state. The RIL does not send an

// RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED message after the SIM is

// initialized, so delay the message until the radio is on.

Which I believe is what is exactly happening.

Still messing with it (@work, heh) ...
[RAZR HD Android Development] billycar11:
anyone else have a problem if they have there notification and ringtone sounds on there sd card it seems to disconnect from them and just use a default one, moving to internal storage fixes this but i wipe that all the time same goes for music sometimes on the play music widget the album cover disappears
[RAZR HD Android Development] Zeljko1234:
Why are you wiping internal storage?
[RAZR HD Android Development] CWGSM3VO:
I haven't tried myself in a long time, however, keep in mind that Google did away with extSD in KitKat and L which means the support may not be quite there yet in the CM12 base.
[RAZR HD Android Development] Zeljko1234:
Sd card is great thing to have! For storing a lot of music, photos, videos, movies... Once I made mistake and bought device without (Nexus 7) and will try to not make the same mistake again.

Forgot important privacy/security/backup reason, if device is broken, just pull out sd card and send it to repair.
[RAZR HD Android Development] CWGSM3VO:
So in the interim while I let my brain cool down from working on RIL stuff.. I decided to implement the word-at-a-time optimization in our kernel (vs byte-at-a-time) so assuming it all compiles and my copypasta worked out right, we may end up with a small perf boost :)

Based on these commits:

http://review.cyanogenmod.org/#/c/50526/

http://review.cyanogenmod.org/#/c/50527/

http://review.cyanogenmod.org/#/c/50528/

http://review.cyanogenmod.org/#/c/50529/

http://review.cyanogenmod.org/#/c/50530/

http://review.cyanogenmod.org/#/c/50531/
[RAZR HD Android Development] billycar11:
i did it when i was having trouble making this boot with pa gapps
[RAZR HD Android Development] CWGSM3VO:
Use DH 12-20 Gapps with CM12.
[RAZR HD Android Development] Zeljko1234:
Great C! Could you provide just kernel flushable zip instead of whole rom? Easier to test.
[RAZR HD Android Development] CWGSM3VO:
Perhaps, I'm not really versed in that specifics yet. If I can extract it by itself, I'll try. Still waiting on it to build, expecting it to bomb out due to poor copy & paste (and diff) skills :p
[RAZR HD Android Development] Zeljko1234:
You're getting better ;) Kernel is there as image.
[RAZR HD Android Development] CWGSM3VO:
Probably, yes in the out/ directory. However, I've noticed that CM12 as a ROM no longer has individual partition images like it used to (per se) but now does what appears to be binary patching instead (smart). I'll see if I can pull whatever it drops and send it to you (completely untested, of course).
[RAZR HD Android Development] Zeljko1234:
Tbh I don't like new approach. Now it's hard to remove unnecessary apps from rom before flashing. Aosp use old way.
[RAZR HD Android Development] CWGSM3VO:
There's a couple of benefits I can see to using the new method but yes, ultimately it does negate the ability to remove "bloat" in a ROM.
[RAZR HD Android Development] SCFirefighter:
Nightlies are coming (tonight)!

http://www.cyanogenmod.org/blog/the-l-is-for-lollipop
[RAZR HD Android Development] Zeljko1234:
Awesome! Both my devices are listed. Valve, now is your turn :D
[RAZR HD Android Development] rahimali:
I agree it's very inconvenient with respect to removing bloatware prior to flashing. Vanir is still using the old format. Builds available here.
[RAZR HD Android Development] madmonkey57:
For those wondering, first nightly is ready.
[RAZR HD Android Development] Zeljko1234:
Now C can start building optimized roms :p

Edit: Official nightly is for kkbl only! Probably everyone knows that but just in case.
[RAZR HD Android Development] madmonkey57:
Cleaned everything, flashed the nightly + PA Gapps (I know C, i'm not following your advice).

Radio and data came right up!
[RAZR HD Android Development] Zeljko1234:
Report it :D
[RAZR HD Android Development] madmonkey57:
LTE, WIFI, tweaked a few settings, auto installing my apps now, ... So far, so good.

EDIT:

As you probably know, CM built-in root privileges are now integrated in Privacy Guard, and are OFF by default, system wise.

In order to get root back, you need to:

1/ Enable "Developer Options" in Settings (multiple taps on "Build number" in "About phone")

2/ Unlock root access in "Developper options"

3/ Let your app request root privileges, and accept (if you know what you are doing obviously...)

Now, there's an extra "Root access" privilege in Privacy Guard for your app. Possible options are "Allowed", "Ignored", "Always ask".
[RAZR HD Android Development] SCFirefighter:
Downloaded. Running backup now! Lol
[RAZR HD Android Development] madmonkey57:
All right. All basic stuff working flawlessly. :good:

Haven't tested BT, NFC,GPS yet.
[RAZR HD Android Development] CWGSM3VO:
Do several reboots back to back, and see how many times out of X you get signal lock. VZW devices will most likely have better results than non-VZW devices. In most cases that I've seen, the radio isn't ready when the SIM is detected (at least, on my device) and thus no signal lock upon hitting homescreen/lockscreen. If you want to help out and have a PC, do the following on boot up:

adb logcat -b radio

And log all that info. Willing to bet on no-radio-boot scenarios, it'll end up being the above reason.
[RAZR HD Android Development] madmonkey57:
My device froze once (my fault, doing stupid things with TiBu). Had to force reboot. No radio right away. Rebooted (properly), waited 20s, still no radio. Had to restartd rild.
[RAZR HD Android Development] CWGSM3VO:
There is now a JBBL branch in CM12, not sure if anyone is building it yet though.
[RAZR HD Android Development] Zeljko1234:
Do not ignore the first part of the post :D
[RAZR HD Android Development] CWGSM3VO:
I saw it :) My attempt to implement word-at-a-time failed so I've backburnered that for a while. I'm up to my eyeballs @ work so I've slowed down a bit here but I'm still plugging away at it in my free time.

EDIT: In fact, it's more worthwhile right now to get my stuff committed so I don't have to manually put it all back again each time :P
[RAZR HD Android Development] Zeljko1234:
Ok, take your time. You can build later today :D:D:D
[RAZR HD Android Development] madmonkey57:
Started the reboot tests and you updated your post with the adb logcat request... Don't have a USB cable anyway...

After each reboot, I did nothing but wait (max 2mn) for the PIN code request and/or radio:

Reboot #1: Radio OK after 20s (didn't ask for a PIN code...)

Reboot #2: Asked for PIN code after 30s, then radio OK

Reboot #3: Didn't asked for PIN, no radio...

Reboot #4: Didn't asked for PIN, no radio...

Reboot #5: Didn't asked for PIN, no radio...

After the 5th reboot, restarted rild, and radio came back to life.
[RAZR HD Android Development] CWGSM3VO:
I've noticed that on first boot after flashing, radio tends to work because the dex2oat process holds up the ril process (or some such thing) long enough for the radio to become ready. 9 out of 10 times, I've had successful radio on boot in this scenario. It's the other cases where the radio isn't ready that are the problem.

Just wish I knew more about C/Java so I can do more than just guesswork comparing each branch differences in these areas.
[RAZR HD Android Development] Zeljko1234:
Good point, indeed. I've noticed the same. Probably the same reason is why turn off/on is more successful for getting radio then reboot.
[RAZR HD Android Development] madmonkey57:
That's gonna be a very good reason to flash all nightlies then! :D

EDIT: I saw your earlier attempts at delaying the rild process, that have been unsuccesful apparently.
[RAZR HD Android Development] CWGSM3VO:
Yeah, nothing I could do worked to delay it. I have a few more ideas to try but since CM12 doesn't use ccache yet, it's very painful to rebuild to test things out.
[RAZR HD Android Development] djvita:
may I suggest opening a new thread for cm12 only?

last 20 pages have been Z and C modding the cm branch to optimize,

most of the reasons i've only been lurking is cuz i'm on blisspop and the maintainer is over [MENTION=3958338]droidr[/MENTION]zr and no issues on my phone.
[RAZR HD Android Development] CWGSM3VO:
And in using BlissPop, are you able to reboot multiple times and still maintain radio? I see you have a XT925 so I'm very interested to hear about that.

This thread isn't about CM12, it's about L in general, as you might have gathered. And since I haven't seen you contribute anything for the cause, I find it unusual that you'd just jump into the middle of this thread asking for a new thread, which is by definition, a development thread which is what we're doing.

Just thinking out loud...
[RAZR HD Android Development] djvita:
no, no issues, from a soft reboot, or from reboot to recovery then reboot system

at first, it just has the signal empty for the first 20 seconds (but it doesn't have the sim not inserted error), then i have signal bars. i havent had sim issues since 12/23 unofficial nightlies

my signal error has to do with wifi but its tib related, flash all my saved ap's and when trying to reconnect, get an auth problem, then i manually connect (no need to reinsert pwd) and then it connects automatically if im in range again. smart lock is cool, no need to sign in again to webpage based login ap's.

exactly since this thread is for genearl lp development and progress in ports, there will be people posting here about cm12 official nightlies now too, adding pages. imagine if we had kept the lp progress in the cm11 thread.... i've taken my blisspop issues to the relevant thread in droidrzr also. just sayin, keep it up i've been taking a look at your posts, since this is my only phone i don't play around with it too much unless it's necessary.
[RAZR HD Android Development] CWGSM3VO:
Fair enough, but I find this hard to believe simply because BlissPop uses the CM devtree for msm8960. I'd hate to think that the dev might have fixed the issue and didn't submit the patch to CM for those of us afflicted. The only issue most of us have is radio, everything else works fine (for me anyways, I'd wager most of us as well..)
[RAZR HD Android Development] Zeljko1234:
We can ask on droidrzr about radio fix. I haven't noticed fix in changelog or mentioned in the thread.
[RAZR HD Android Development] djvita:
took a quick look here

"Good news! Jbbl blisspop boots! But I get no cell service

It's a known bug, just reboot to fix it

Already tried the normal fixes but maybe this will help.

I tried changing it to RUIM but it won't switch "

so no not everyone's is working and seems maintainer is investigating or something. guess i'm lucky.
[RAZR HD Android Development] CWGSM3VO:
Read the thread linked, thanks. Pretty much what we're getting here. I haven't heard anything about the JBBL builds on non-AHD's yet though but I know [MENTION=1907864]Technofreak[/MENTION] was working on it.

Still nothing on their git either. I had planned to rant about this but I'll spare everyone my drivel. One of the reasons I never really hung around droidrazr, too much elitism and such nonsense and the fact nobody ever posts up their work for others to see (ie: git)

Ah well, I have some ideas to try anyways. Based on CM11->12 for our device, I see DH moved some the init work elsewhere and that's where I hoping I'll get lucky in replicating the boot circumstances as soon as this build is done.
[RAZR HD Android Development] CWGSM3VO:
Yeah, replying to myself FTW!

So yeah, it does use CCache but the envvar changed from CM11 which is why my box wasn't using it. Grokking the build directory exposed the change so now I can use it, yay!

Just in case any other builders here run into the same issue, in CM11 the envvar was CCACHE=1 but in CM12 it's USE_CCACHE=1

fyi
[RAZR HD Android Development] palmbeach05:
We had a suprise on that matter out of China. I'll be seeing how the new TF's project works in a bit, i'm running errands atm
[RAZR HD Android Development] madmonkey57:
No surprise.

Was able to automatically pair (BT) with my JBL speakers via NFC. And audio was just fine. But BT pairing in my car is still not working. Actually pairing works, but BT connection suddenly breaks right at the beginning of a call.
[RAZR HD Android Development] djvita:
does the hdmi cable work? to be connected as a second display. i'm looking at new tv's to connect as a second monitor for my laptop and phone
[RAZR HD Android Development] CWGSM3VO:
This kernel patch appears relevant to our kernel, I'm applying it to my build:

http://review.cyanogenmod.org/#/c/84142/
[RAZR HD Android Development] Zeljko1234:
How ended your yesterday kernel build? Bootable?
[RAZR HD Android Development] CWGSM3VO:
Kept running into a syntax error I couldn't chase down, it wouldn't compile so never got a chance to boot it. I've kept my work aside and I'll come back to it at some point. It's bad to be wishy-washy on projects but I need some victories under my belt here :)
[RAZR HD Android Development] TecknoFreak:
Yes there is a build already. Just beta testers for Validus until everything gets sort out. The ROM is getting theme to darker lolli so soon will be up for download. So far everything works so that's good news. [MENTION=2218140]kabaldan[/MENTION] helped me a lot figuring the partitions size per device and I passed it to our Chinese friend mijuu and wallaaaa, now we can build any rom for jbbl as he fixed his source. But very stable on this end.
[RAZR HD Android Development] Zeljko1234:
Dark theme is very welcome to kkbl too :)
[RAZR HD Android Development] KC69:
Where is it?
[RAZR HD Android Development] CWGSM3VO:
Right there, look --->
[RAZR HD Android Development] KC69:
Sux to get old , cant see squat.
[RAZR HD Android Development] KC69:
Drdevs has new cj360 pa 5.0 build

Just dl ed it . his builds have always worked real good. Just Totally Pure AOSP,,,,No options. But very fast and smooth. Gotta backup my CWG,CM dirty flash on first cm nightly.
[RAZR HD Android Development] madmonkey57:
For those interested in tracking changes in CM12 dailies, cmxlog is up for CM12/moto_msm8960.

---------- Post added at 09:25 AM ---------- Previous post was at 09:23 AM ----------

Please test and let us know.
[RAZR HD Android Development] djvita:
all my monitors are vga, so i've actually never used the port (it's kinda dusty)

one fam member has a flat screen ill try this weekend, gotta find the cable that came with the phone :silly:
[RAZR HD Android Development] CWGSM3VO:
I think I might have fixed the radio issues!! Just doing more testing in case my phone makes a liar of me :)
[RAZR HD Android Development] Zeljko1234:
You've connected external yagi antenna? :D
[RAZR HD Android Development] djvita:
multitasking issues?

some bugs i've found:

no real multitasking. switch apps (from recents), they reload from scratch, instead of saving the last state, like chrome/ff reloading a page, mx player loading.

launcher 3 sometimes will be blank in app list, waiting for the app icons to be seen again, same for returning back to the home screen, no widgets, then they will appear again.
[RAZR HD Android Development] Zeljko1234:
I've reported that already. Check OOM settings, default are too aggressive.
[RAZR HD Android Development] CWGSM3VO:
Nope, just a canopy :-p Haven't heard the term yagi in ages :D
[RAZR HD Android Development] Zeljko1234:
Me neither. I googled it to be sure :D
[RAZR HD Android Development] CWGSM3VO:
3 reboots, signal on boot each time. Woohoo!! Gonna see if I can get 10 in a row.
[RAZR HD Android Development] Zeljko1234:
Devs spent a lot of time to make rom stable and you're rebooting manually :D
[RAZR HD Android Development] CWGSM3VO:
Yeah and the 4th reboot failed to acquire signal... sigh...
[RAZR HD Android Development] Zeljko1234:
Increase delay, if it's that what you did.
[RAZR HD Android Development] CWGSM3VO:
Not sure it's related but not having WiFi on (or near an associated AP) seems to help out getting signal lock. Not sure if it's just coincidental though. I didn't add a delay, I changed the way partitions are mounted (order-wise) so that fsg+modem get mounted right after system. Although in JBBL/KKBL CM11, fsg is mounted first, then all partitions and then modem (which is weird as modem is defined in fstab).

Grr, feels like I'm so close. I noticed DHacker added some JBBL stuff to CM12 for RIL, not sure if it's applicable to KKBL versions though. Doesn't seem like it is based on his comments for the commit.
[RAZR HD Android Development] Zeljko1234:
Could you check kernel config (make menuconfig) before building? As stock or cm11 doesn't have signal problem and kernel is base on the same source maybe problem is in settings or ram disk.
[RAZR HD Android Development] CWGSM3VO:
I believe the problem is what was posted earlier in the thread -- the L workaround stuff. Basically, the SIM is queried before the radio is ready:

// Hack for Lollipop

// The system now queries for SIM status before radio on, resulting

// in getting an APPSTATE_DETECTED state. The RIL does not send an

// RIL_UNSOL_RESPONSE_SIM_STATUS_CHANGED message after the SIM is

// initialized, so delay the message until the radio is on.

A lot of devices had this hack in place. Some of them have it removed now. As far as I can tell, we have nothing like this in place. JBBL builds have a custom RIL as DH puts it, for "non-standard" access:

http://review.cyanogenmod.org/#/c/84255/

I haven't checked the other devices which had this hack to see how they worked around it.

EDIT: Maybe I should try this approach to the KKBL msm8960 to see if it provides similar results. Won't be able to get at my build box until I get home though.
[RAZR HD Android Development] Zeljko1234:
Would be nice if you can try. Thx for your time.

For me is fun to talk about that. I was highly involved in Atrix kernel development. Good old times :)
[RAZR HD Android Development] Thibault1171:
Hey, just a simple question: are the official builds same as the unofficial or are they less stable?

Must I factory reset to install official build or can I flash it over the unofficial build?
[RAZR HD Android Development] Zeljko1234:
Should be the same, except from C as he's trying to find fix for radio. You can flash over but sometimes may cause problems. Make backup, flash over and if you have problems restore backup or wipe all except internal and sd card and clean flash.
[RAZR HD Android Development] niksy+:
It does work :) I've been using it since I've smashed my display. The phone's on BlissPop, not sure which build, perhaps the 31st of December one.(Still looking for parts, yup...)
[RAZR HD Android Development] Zeljko1234:
How it looks like? Like screen mirroring? Resolution is the same, 720p? Or you can change?
[RAZR HD Android Development] Thibault1171:
Ok thanks, I'll certainly try to flash it friday or saturday, unless C find a way to fix the radio. Btw I don't know if I was lucky but I restarted my phone once, don't have radio, enable (air)plane mode, reboot, disable (air)plane mode then I got radio, so maybe (air)plane mode is the key (or I'm just very lucky)
[RAZR HD Android Development] Zeljko1234:
Unfortunately airplane mode is not the key. If you press power right after boot you may see airplane mode switching itself off/on. For now the quickest way to get signal after reboot is to open terminal emulator, type su and killall -hup rild.

If you type top before, you may see rild process on the top of CPU utilization. Probably started to early and then stuck trying to access sim, sim controller or similar when some of them wasn't ready yet.
[RAZR HD Android Development] niksy+:
Yeah, it's just mirroring as far as I can tell. Seems to be 720p, since the image is not really sharp on a 1080p display. Here's a few shots I took earlier - https://www.dropbox.com/s/t5m2r639f3y79r2/DSCF6024.JPG?dl=0
[RAZR HD Android Development] Thibault1171:
I've enable and downloaded Adaway hosts, enable my airplane mode, reboot, accidentially enable/disable bluetooth, disable bluetooth, and my WiFi and radio worked well, so I'm really lucky :p