yashsingh1/xdaforums huggingface dataset:
[RAZR HD Android Development] kabaldan:
a special notice for [MENTION=2559459]Zeljko1234[/MENTION]:

http://review.cyanogenmod.org/83132

http://review.cyanogenmod.org/83134

qcom hw aac encoder has been broken by qcom security patch...
[RAZR HD Android Development] CWGSM3VO:
Nice work, very nice. See Z ;)
[RAZR HD Android Development] Zeljko1234:
Thx kabaldan for explanation. So, that's it, will remain broken? What about "To fix it, allow the buffer count to be 8 or less."?
[RAZR HD Android Development] madmonkey57:
I need to say this loud: Thanks for sharing your builds with us pal.

---------- Post added at 10:36 AM ---------- Previous post was at 10:13 AM ----------

Looking at the code, it seems that it's exactly what the commit is about.
[RAZR HD Android Development] Zeljko1234:
Indeed! Sorry I haven't checked dates :silly:

Thanks again [MENTION=2218140]kabaldan[/MENTION]

Is it possible to increase sound quality? For example increasing bit rate?
[RAZR HD Android Development] rahimali:
KKBL

Update by Dhacker29

https://twitter.com/dhacker29/status/549742063693361152

http://d-h.st/nNH2
[RAZR HD Android Development] CWGSM3VO:
Should I bother posting my 12-30 build? Anyone interested?
[RAZR HD Android Development] madmonkey57:
Any customization / anything different from a standard build?

If yes, then, yes, sure.

If no, well, then your build will probably be no different (maybe a few commits ahead/behind) from DH's.
[RAZR HD Android Development] CWGSM3VO:
cm-12-20141230-UNOFFICIAL-moto_msm8960.zip

- CAF RIL

- ADB enabled

- adaptive playback for certain codecs

Fairly certain I'm the only guy doing any of the above for msm8960. Next builds I'm going to start working on build optimization. Next build I should have native superuser fixed too I hope, it's just a permission issue. On the plus side, I'm getting pretty decent battery life with the newer builds.
[RAZR HD Android Development] Zeljko1234:
Damn it. Just flashed and configured dhacker's build. For the next time, I'll wait for CC (crazy C (Canadian?)) :D to make optimized build.

Probably I have to wait till next year :D
[RAZR HD Android Development] CWGSM3VO:
That's C-A-N-U-C-K sir, Crazy Canuck :)

It's long, tedious work converting the CM source (even 11) over because I don't know git well enough to save my changes to restore upon next repo sync so it's all by hand and a lot of trial and error.
[RAZR HD Android Development] madmonkey57:
Your screen's never on? ;)

I'm on your 12/28, i.e without QCOM HW AAC, so I'll flash this build soon. Thanks.
[RAZR HD Android Development] CWGSM3VO:
Well, only a little bit in the 15 hours or so :) Other than ambient display popping up, I rarely turn my phone on so it idles a lot. In this case, over night. When I do turn it on, it's usually to test/play. You don't think I do real, serious work with my device do you? :D

12-30 has QC AAC enabled again. Also noticed the default props are clobbering my adb ones in device-specific props. Sigh.
[RAZR HD Android Development] madmonkey57:
I know what you mean... With LL still in early stage, there's plenty of room for testing/playing/tweaking/moaning, ain't it?

Yep, noticed that. That's the only reason I'll upgrade today.
[RAZR HD Android Development] CWGSM3VO:
Flashing it right now. I had it built last night but fell asleep so I'm playing catch up too.

---------- Post added at 07:54 AM ---------- Previous post was at 07:53 AM ----------

Yeah, the camera UI was something I noticed right away. Not sure if I want to use a 3rd party camera app, trying to stay as pure as possible. Got screenshots of the UI? If it's enticing enough, I'll switch :P
[RAZR HD Android Development] madmonkey57:
I'll pass on this one, I'm on a 3rd party camera app. Thanks anyway.

Flashed and testing right now.

2 things stood right way:

- Radio came right up!

- Swiftkey is all messed up! (keyboard way too large!!!)
[RAZR HD Android Development] Zeljko1234:
Can use external sd card, enough? No? Check screenshots :) It's made by CM and you can replace stock with it.

P. S.

I'll remove huge screenshots when get to PC.
[RAZR HD Android Development] niksy+:
It's CameraNext, afaik. Not sure if TeamBliss somehow got the source code of it, or are just including the apk instead of the AOSP one... It's miles better, anyway, the AOSP camera app is garbage, UI-wise :rolleyes:
[RAZR HD Android Development] Zeljko1234:
Yes, it's cameranext. Agree about aosp. The same is for current CM camera.
[RAZR HD Android Development] CWGSM3VO:
Video recording is definitely working:

Line 5487: I/mm-still-omx( 289): getLibName: cnt =0 componentName=OMX.qcom.image.jpeg.encoder, libName=libimage-jpeg-enc-omx-comp.so

Line 6289: I/ACodec ( 289): [OMX.qcom.video.encoder.avc] setupVideoEncoder succeeded

Line 6437: E/QC_AACENC( 289): component init: role = OMX.qcom.audio.encoder.aac

Line 8623: E/OMX-VDEC-1080P( 289): omx_vdec::component_init(): Start of New Playback : role = OMX.qcom.video.decoder.avc : DEVICE = /dev/msm_vidc_dec

Line 8635: E/ACodec ( 289): [OMX.qcom.video.decoder.avc] storeMetaDataInBuffers failed w/ err -2147483648

Line 8641: I/ACodec ( 289): [OMX.qcom.video.decoder.avc] DRC Mode: Port Reconfig Mode

Line 9839: I/mm-still-omx( 289): getLibName: cnt =0 componentName=OMX.qcom.image.jpeg.encoder, libName=libimage-jpeg-enc-omx-comp.so

Line 10631: I/ACodec ( 289): [OMX.qcom.video.encoder.avc] setupVideoEncoder succeeded

Line 10675: E/QC_AACENC( 289): component init: role = OMX.qcom.audio.encoder.aac

Line 12685: E/OMX-VDEC-1080P( 289): omx_vdec::component_init(): Start of New Playback : role = OMX.qcom.video.decoder.avc : DEVICE = /dev/msm_vidc_dec

Line 12697: E/ACodec ( 289): [OMX.qcom.video.decoder.avc] storeMetaDataInBuffers failed w/ err -2147483648

Line 12699: I/ACodec ( 289): [OMX.qcom.video.decoder.avc] DRC Mode: Port Reconfig Mode

Was able to record video and playback successfully from gallery. From the logging, looks like all of it is now accelerated, including playback.

EDIT: Think I just found the CameraNext repo + libs, if I can get it working (built) I'll include it in future builds.
[RAZR HD Android Development] ermito:
I only like AOSP camera interface because it's the only one with the correct frame proportion, 8mb isn't cropped.
[RAZR HD Android Development] niksy+:
Well the CM camera is the AOSP camera :D Although CameraNext is also CM camera, but it's like an exclusive thing for CMxxS editions -_-

That's kind of lame of Cyanogen. If you're open-source, just be open-source, don't go around closing code and turning apps into abandon-ware, like Google does with so many AOSP apps -_-

[MENTION=4418762]CWGSM3VO[/MENTION] Good news, warp speed ahead! :)
[RAZR HD Android Development] madmonkey57:
Confirmed on my end, with a 3dr party camera app.

Confirmed as well, after uninstall/reinstall. Something's definitely borked...
[RAZR HD Android Development] Zeljko1234:
Well, just replace AOSP CM camera with CameraNext CM camera :D

Rebooted and got signal immediately again. Am I doing something wrong? :D
[RAZR HD Android Development] madmonkey57:
Looks like C is gonna bring me another toy to play with...

---------- Post added at 04:23 PM ---------- Previous post was at 04:22 PM ----------

Of course you did!!! You installed C's build!
[RAZR HD Android Development] CWGSM3VO:
I don't use swiftkey, just the default aosp keyboard. Is swiftkey broken on other CM12 builds or just mine?
[RAZR HD Android Development] madmonkey57:
I flashed only CM12 so far (no BP or others), DH's and yours. First time it's broken on your 12/30.

Let me flash DH's 12/30 to see if it makes a difference...

EDIT: Damn... It takes forever when you're sitting next to it while rebooting...
[RAZR HD Android Development] Spidinator:
SwiftKey working fine on 2014/12/27 build of yours. Haven't flashed anything newer so not sure what's wrong.
[RAZR HD Android Development] madmonkey57:
Didn't expect that, really, but Swiftkey seems OK on DH's 12/30.
[RAZR HD Android Development] Zeljko1234:
Would be cool and battery friendly to make app drawer, settings, etc black.
[RAZR HD Android Development] CWGSM3VO:
I don't see any particular commit history-wise that stands out to me for this. The only thing that stood out for me *might* be the SVOX change over but I don't see how it's exactly relevant other than maybe if you have voice-typing enabled on the keyboard. But otherwise, it's just not jumping out at me.

EDIT: When you uninstall, do you force stop + clear data first or just uninstall?
[RAZR HD Android Development] madmonkey57:
Really odd. I tried uninstall/install, forced layout change, forced language change, forced the number row, ... Nothing. Virtual keyboard would remain extra large.

EDIT: Wait. I noticed your build had a "Voice wake up" somewhere in the "Settings". Can't find it in DH's build.

EDIT: This commit

EDIT: I'd blame one commit included in your build and not in DH's, and not your customizations.
[RAZR HD Android Development] CWGSM3VO:
That commit is only relevant when you have the corporate side of CM package installed (whatever its called, I assume it's a moto-like voice command option) so it should basically be a no-op otherwise.

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

18 downloads -- guess people are using my builds, so I'll keep posting them as they become available.
[RAZR HD Android Development] KC69:
I like your cm builds the best ,C, not just because you update more often , but because so far all your builds have just Worked right out of the box. At least for all that I use on my phone. Thx again partner for doing this for us.
[RAZR HD Android Development] Zeljko1234:
Optimized, optimized, opti...:D
[RAZR HD Android Development] CWGSM3VO:
Yes yes bud, I know. As stated, it's a long process. I'm currently reading up on how to submit my changes to git (I'll use my own for now) so that's it's easier to re-implement as I sync the repo.

---------- Post added at 09:53 AM ---------- Previous post was at 09:30 AM ----------

<in my best evil laugh> Moahahahahaha!

flatline@ubuntu:~/android/system/packages/apps$ ls -ld Camera*

drwxrwxr-x 13 flatline flatline 4096 Dec 17 08:09 Camera2

drwxrwxr-x 3 flatline flatline 4096 Dec 30 09:52 CameraNext

See if I can get it to build now.
[RAZR HD Android Development] Zeljko1234:
Looks like that you're having a lot of fun :)
[RAZR HD Android Development] ermito:
That would be great! Blisspop made this and i liked. But for app drawer, you can do it using Nova Launcher.

CWGSM3VO, i'm using your build as well, so, thank you. ;)

Edit. Gesture typing isn't working on 12/30 with stock keyboard (didn't test with others), this is a known issue?
[RAZR HD Android Development] Zeljko1234:
AOSP has black app drawer.
[RAZR HD Android Development] CWGSM3VO:
I use this all the time, it works for me. In fact, I just texted my wife using it :)

---------- Post added at 10:55 AM ---------- Previous post was at 10:53 AM ----------

Just so everyone is clear -- I would not recommend installing my build over top any other build. Just like any other ROM. Clean install when switching between builds (ie; DH to Bliss, wipe. Bliss to me, wipe. Etcetera). Also, I noticed when switching to ril-caf it updates the contacts db (saw it on second boot in the "android is upgrading" dialog, rebooted because I had no "contacts" and broke all kinds of things).
[RAZR HD Android Development] ermito:
I've always done a clean install. Idk why gesture typing isn't working for me.

Actually, i just tried with Swiftkey and voila, worked. Not even the big-sized bug happens. That's strange.
[RAZR HD Android Development] CWGSM3VO:
Have you rebooted more than once with my build? Since installing it? Do you have contacts?
[RAZR HD Android Development] ermito:
Yes, had to make 3 reboots and a killall -HUP rild to have signal. Yes, my contacts are ok.
[RAZR HD Android Development] CWGSM3VO:
Thanks, appreciate it. Did you have to restart rild all three times?

[MENTION=4910373]madmonkey57[/MENTION] have you since rebooted since installing it and tried swiftkey, verified contacts?
[RAZR HD Android Development] ermito:
No, just one was enough. :)
[RAZR HD Android Development] KC69:
Booted 12/30 once. Signal within 45 seconds. Yours seem to like me.

Edit , I like the stock keyboard, in white.
[RAZR HD Android Development] CWGSM3VO:
I saw an interesting commit on another ROM regarding VZW devices (was a DH commit actually), if you have one, try this and see if your radio lock improves/etc:

/system/build.prop add the following:

ro.telephony.get_imsi_from_sim=true

Save & reboot.
[RAZR HD Android Development] Zeljko1234:
Just tried, no luck. Had to killall... to get signal back.
[RAZR HD Android Development] TecknoFreak:
Any of you guys have the lines for build.prop to fix video playback work?
[RAZR HD Android Development] ermito:
Hey @CWGSM3VO, just to you know. I've updated my gapps package and now both gesture typing and swiftkey are working as expected.

Sorry for the complaint, i'm feeling dumb right now. :p
[RAZR HD Android Development] rahimali:
Unofficial PA for KKBL

Unofficial Paranoid Android Lollipop from [MENTION=4311888]cj360[/MENTION] now available here
[RAZR HD Android Development] Zeljko1234:
Posted already ;) Would be nice to see xda forum thread about. Have you tried? Or anyone? I forgot it :/
[RAZR HD Android Development] rahimali:
sorry about that, must have missed that post :)
[RAZR HD Android Development] Zeljko1234:
No reason to sorry, repetitio est mater studiorum :) Better try it and let us know hot it works.
[RAZR HD Android Development] madmonkey57:
I flashed your / DH's builds back and forth a couple of times. Each time, formatted /system /cache /dalvik-cache.

The only way I could get Swiftkey to work on your build was to uninstall it, reboot, and then reinstall it.

Never had problems with contacts, but had a weird issue with radio on your build at some point. I could not unlock the SIM card. Entered the PIN, then the device went in a loop verifying it... The HUP signal on the rild service didn't help...

I switched back to DH for now (at work and need my phone). I'll do some more tests in the next few days, notably try without gapps for instance (BTW, I'm on PA Gapps Micro).
[RAZR HD Android Development] Thibault1171:
Hi, I'm currently on the dhacker29's build (12/21), and I've found only two issues, I don't know if it as been already fixed:

- when I press volume key, the screen sometime starts blinking (violet, like when we enable the refresh thing in the developement settings)

- I can't change the avatar of my account (in the statusbar)

Can't wait for XPOSED :D
[RAZR HD Android Development] palmbeach05:
Start developing it for LP then
[RAZR HD Android Development] beefx:
12-30 build is booted but no network connection. Do you test this already?
[RAZR HD Android Development] Zeljko1234:
Killall -hup rild doesn't help? Airplane mode is off?
[RAZR HD Android Development] douglasvbarone:
About the radio problem: I just turn off the Airplane mode in power menu (not in quick settings), wait about 10 seconds, power off the phone (do not reboot, power off), wait a moment and turn on again. Always works.

I'm on last DH's build.
[RAZR HD Android Development] CWGSM3VO:
DH 12-20 gapps. This may be your issue.

---------- Post added at 07:52 AM ---------- Previous post was at 07:47 AM ----------

My avatar shows, installed G+. If you have developer options enabled, make sure H/W Overlays is turned off/unchecked.
[RAZR HD Android Development] CWGSM3VO:
Preparing another build today. Some of the highlights:

- performance profiles have been re-enabled; I've tweaked this a bit as to its settings to include both gpu+cpu based on another commit altered for our device (**working; tested)

- altered the boot-up sequence to enable performance boot (enables cpu+gpu perf governor) for quicker boot-up; based on a commit I found for another CM12 device (**working; tested)

- cleaned up governor switch-a-roo in init, it goes from interactive to ondemand etc. New perf stuff uses ondemand, I will too. Interactive boost doesn't appear to be complete in our userland and/or kernel.

- the voice wake-up option in settings is now hidden; it only appears when the CYNGN app it requires is present (**working;tested)

- persist.log.aplogd.enable is enabled (**working;tested but no radio or event logs, other logs are there; tested same with and w/o ril-caf)

- usb adb logging is enabled but doesn't work as I think due to selinux=1/adb secured but haven't tried, need to do a clean install to really test this

- CAF RIL as before

- CameraNext (1)

- adaptive playback for various codecs; based on a a particular CM12 commit for another device to apparently correct Netflix. (2)

(1) I was able to successfully build CM12 with CameraNext + its libraries but they're old/outdated and it doesn't work exactly 100%; I am now building it with just the APK itself and it will use Camera2 libraries. Both Camera apps will be available. EDIT: still doesnt work the way I'd like it to and it's slooooow

(2) This is based on a commit for another device to correct Netflix playback. I've been using it since I introduced the change to my tree with various video playback without issue but I don't have Netflix to try out the original use-case.

EDIT:

cm-12-20141231-UNOFFICIAL-moto_msm8960.zip

I personally tested:

WiFi: yes, works for me @ home. WPA2 a/bg/n

Radio: Yes, can make calls and use data. LTE network, icon shows LTE when in use. Get speeds I'd expect. Have needed to restart rild, got radio lock on boot in 1 in 4.

Audio: Yes, music plays fine for me using NuPlayer and Play Music.

Bluetooth: untested

GPS: Yes, works for me.

Performance Profiles: Yes, validated from shell during specific points during boot, benchmarking, idle.

Camera: Yes, works for me.

Camcorder: Yes, works for me.

All other services (Play Store, Email, etc) all work fine for me. I am using DHacker's 12-20 gapps and let the Store upgrade as it saw fit. Privacy Guard is enabled for all non-Google applications that I use.

Happy New Year, Everyone!
[RAZR HD Android Development] Zeljko1234:
You're like Santa, preparing present for us. Ho ho ho :)
[RAZR HD Android Development] rahimali:
Two more KKBL

Two more LP ROMs in case they have not been shared here previously

BlissPop

Nightlies​

Official​

Unofficial CM12 by same developer
[RAZR HD Android Development] Zeljko1234:
In my case CameraNext (apk I shared here) works at least the same as default CM camera. Taking photos is fast, HDR is of course slower, video recording works... only panorama FC.

Also, I've noticed that LP closes apps too early. For example, switching between gmail and broswer (FF) always makes browser to reload web page. I've changed OOM settings with 3C Toolbox to medium and is much better. Default settings were to aggressive. Maybe that will help with closing apps like music player or navigation in background. I'm using 12/30 build by C.

Happy new year :)
[RAZR HD Android Development] CWGSM3VO:
I pulled the APK from a git, perhaps it was older than the one you posted. I'll try that one instead and see how it works out, thanks. As for OOM settings, I'm going to leave that all stock and up to the user to decide (such as you did) as it seems more appropriate. Perhaps the Performance app will gain this ability at some point rather than having to rely on third party tools. Panorama crashes because libjni_mosiac is probably missing as I discovered during my testing.

Trying out a few new things today (I love holidays, plenty of time to play) and I'm looking into adapting the 8960 qcom power hal to support performance profiles as well (based on other qcom hals) as it appears (at first diff) that it supports dropping the phone into conservative governor when screen off which I think is an awesome idea. My C isn't that great (enough to get by) but it looks simple enough first pass.
[RAZR HD Android Development] Zeljko1234:
I've just shared what I've found as possible reason of closings background apps.

Looks promising qcom power hals :)

---------- Post added at 11:30 AM ---------- Previous post was at 11:25 AM ----------

If you didn't till now, try to enter "Happy new year" in hangout and tap to send to see something ;)
[RAZR HD Android Development] CWGSM3VO:
I find every boot I have a bunch of apps already "open", like the phone remembered what I had open before rebooting. Is there a way I can replicate what you're running into? (process, please)

I'd like to see if I can figure it out.
[RAZR HD Android Development] Zeljko1234:
Recent apps after reboot is LP feature.

I explained already, open web page in browser, switch to, for example gmail, switch back to browser and in my case page is reloaded. Looks like that system is trying to keep as much as possible free memory. Maybe OOM settings on my phone were wrong.
[RAZR HD Android Development] Thibault1171:
I'm actually on the 12/31 build.

I still have the "purple blinking" screen sometimes when I change volume.

Does anyone knows an Addblock/Adfree app compatible with this rom? Because I've tried three different apps and it disconnect me from my carrier( SFR France), and I have to uninstall the Addblock app to be able to SMS/call again. Thanks.
[RAZR HD Android Development] Zeljko1234:
C could you find and use commit for memory leak? Mentioned here: http://xdaforums.com/showthread.php?t=2941207
[RAZR HD Android Development] CWGSM3VO:
Not sure what memory leaks they referenced from AOSP. The manifest I can find shows 5.0.1_r1 but nothing more so I can't say what's what.

EDIT: Found it: https://github.com/AdrianoMartins/platform_frameworks_base/tree/android-5.0.2

EDIT: My local source is different:

https://github.com/AdrianoMartins/p...ava/com/android/server/display/ColorFade.java

https://github.com/CyanogenMod/andr...ava/com/android/server/display/ColorFade.java

--- ColorFade.java 2014-12-27 07:44:07.650602862 -0700
+++ ColorFade.java.other 2015-01-01 15:50:03.995156578 -0700
@@ -450,6 +450,7 @@
if (!attachEglContext()) {
return false;
}
+
try {
if (!mTexNamesGenerated) {
GLES20.glGenTextures(1, mTexNames, 0);
@@ -464,14 +465,13 @@
try {
SurfaceControl.screenshot(SurfaceControl.getBuiltInDisplay(
SurfaceControl.BUILT_IN_DISPLAY_ID_MAIN), s);
+ st.updateTexImage();
+ st.getTransformMatrix(mTexMatrix);
} finally {
s.release();
+ st.release();
}

- st.updateTexImage();
- st.getTransformMatrix(mTexMatrix);
- st.release();
-
// Set up texture coordinates for a quad.
// We might need to change this if the texture ends up being
// a different size from the display for some reason.
@@ -758,3 +758,4 @@
}
}
}

I'll see if I can find his upstream source (AOSP?) and if it's real, I'll give it a whirl.
[RAZR HD Android Development] CWGSM3VO:
I checked the link you provided against the git version I have, they're identical. If you want panaroma to work, grab the mosiac library here:

https://github.com/RobbieL811/packages_apps_CameraNext

And move it to /system/lib with proper permissions (check libjni_tinyplanet for an example).

Problem I run into is the swipe-settings, it shows multiple radio buttons pushed so it's hard to say what mode it's in. Looks unfinished/unpolished as a result so I'm not including it in my builds.
[RAZR HD Android Development] DorianX:
I noticed that when my RAZR was "alive" but never reported... I think I was crazy good to hear I'm not [emoji39]
[RAZR HD Android Development] Zeljko1234:
Memory leak is well known LP bug, they're preparing 5.1 to solve that. Thx and looking forward to see can you implement into your builds.

I did what you said, copied and set permission to 644. The same as for libjni_tinyplane but panorama still FC.

About swipe settings, agree that is not perfect but at least other settings are more friendly than with stock CM camera.
[RAZR HD Android Development] CWGSM3VO:
Ah OK. Either way I have it applied and have been running it for the last 8-10 hours (or so) without issue. Too bad about the panorama, it was working when I tried it but it didn't FC, just didn't take any picture.
[RAZR HD Android Development] Zeljko1234:
Do you have new build with memory leak fix? If yes, could you upload?