yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] TheWhisp:
It really doesn't matter on unofficial builds. Basically M builds are built from "stable" branches, however most of the changes are already included in nightly builds. I never build from stable branch

edit: new CM12 build is uploaded. For some reason Wi-Fi drains battery more than on CM11 (when enabled)
[Miscellaneous Android Development] Nightcro:
Thank you for answering. You should put your explanation of the situation with NFC in the #1 post.
[Miscellaneous Android Development] TheWhisp:
Actually with some nasty hacks it could be possible to fix NFC. We can use necessary libs from stock ROM. The main problem is in the Nfc.apk itself. Theoretically we have to add necessary things from stock apk to cm apk by disassembling it and doing some smali coding.
[Miscellaneous Android Development] shinra00:
cm11 closed?

is cm11 development closed for now? or can we expect some new releases?

How's everything going with cm12? haven't tried it yet, i'm too addicted to xposed
[Miscellaneous Android Development] TheWhisp:
No, it's not closed.

Edit: btw., you can remove all of the NFC stuff. It could improve the battery life
[Miscellaneous Android Development] transisbon:
Hi,

Quick question. Is USB-OTG enabled in this ROM?

I haven't been able to find any information about this. Thanks!!
[Miscellaneous Android Development] TheWhisp:
It's enabled in Android, but I'm not sure the kernel part works. Don't have an USB-Y cable to test it (for external power)
[Miscellaneous Android Development] anamorphica:
I' m starting to believe Lollipop is actually AI. After clean install my batterylife didn't get much better. 10-14h/charge. After dosens of installed softwares you'd think phone would get slower and battery drain more agressive. It's fully on the contruary. First two days my phone was same as with kitkat, but more agressive batterydrain, now I can go with 24h, it's faster and till there's juice. Previously batteryinfo said "Others" used atleast 50% of the battery now more like 5%.

I'm 100% sure I haven't touched to any ram managements, CPU covernors or anything just installed 3rd party apps.

So Lollipop is either wizard or AI :D

Btw: I quess these audio errors are CM based: (buttonsounds)

- E/AudioTrack(699): AudioTrack::set : Exit

- E/AudioPolicyManager(17741): unknown stream type

- E/ACDB-LOADER(17741): Error: ACDB AudProc vol returned = -8

- E/ACDB-LOADER(17741): Error: ACDB AFE returned = -8

Also whrn I play music from "google play music" it gives loads of errors similar to this:

E/StreamingHttpServer(30917): HTTP server disrupted: java.net.SocketException: sendto failed: ECONNRESET (Connection reset by peer)

Still sounds work as supposed...
[Miscellaneous Android Development] shinra00:
Can anyone make a small step by step guide on how to install cm12 rooted please?
[Miscellaneous Android Development] anamorphica:
I'm not sure if all of the above steps are necessary but this is how I got it working and this is quite basic way to clean flash new ROM.

1: Download recovery and CM12 file from TheWhisp's files and GApps for android 5.0 from BasketBuild. Transfer them to your externalSD.

2: Boot to download mode -> flash recovery using odin 3,09 (md5 file to "AP")

3: Boot to recovery -> Wipe data and Wipe cache

4: recovery -> mounts and storage -> format: /system, /cache, /data

5: back to recovery -> install zip -> choose zip from storage/sdcard1 (CM12 and GApps)

6: mounts and storage -> mount system

7: Boot

First boot will take longer than with flashing previous android versions so don't panic :D
[Miscellaneous Android Development] shinra00:
TY

Thank you very much!!

It is always good to have a tutorial on the web for my personal use and so that other people can find it by googling it.
[Miscellaneous Android Development] anamorphica:
Check "step 4" again (edited), you don't need to format boot, made mistake :D It doesn't brick your phone but it's not necessary :)
[Miscellaneous Android Development] shinra00:
going to try cm12, got extremely curious after anamorphica comment on the battery

TheWhisp any new build coming up? just to know if i should wait a couple more days? Thanks for the development
[Miscellaneous Android Development] TheWhisp:
Yes, today or tomorrow (if android 5.0.1 merge didn't break anything)
[Miscellaneous Android Development] poky14:
Hi, what about create a new topic about CM 12? Keep things straight ;)
[Miscellaneous Android Development] shinra00:
thank you for updating the thread name and instructions TheWhisp
[Miscellaneous Android Development] TheWhisp:
sorry for delay, I've been busy doing some other things. Will upload a new build as soon as it has finished building.
[Miscellaneous Android Development] Nightcro:
Glad to hear you are still working on it! :D
[Miscellaneous Android Development] Nightcro:
Uh, could you tell us what changed ? I saw the new build up and is the problem with wifi draining fixed ?
[Miscellaneous Android Development] TheWhisp:
Yes, it's better but still not perfect
[Miscellaneous Android Development] Nightcro:
I accidentally silenced my notifications from 2 apps, but i am not able to unsilence them. Filter notifications in privacy isn't working, when i go there i see the name of the apps and under them the word "null". If i delete them, it does nothing. Is there anyway to reset filter notifications without data wiping?

Using latest build of CM12.

And there are problems with bluetooth headsets. If i connect them, the sound will work normally. If i connect them a second time after i disconnected them, the sound will not work. My player will not work because it can not output any sound (i can listen for 1-2 seconds then it stops) and my videos work but without sound. I have to restart my phone in order for them to work again on my headset. And the same thing happens again if i repeat the steps. The sound on the phone's speakers work as intended. I really need my bluetooth headset, i'll have to go back to CM11 if you can't fix it.

I have my lock screen set on pattern and my headset on trusted devices if it is of any help.

After playing with my bluetooth a little, i managed to make it go off and on on it's own for a couple of seconds.

I don't know what's the cause, for now it seems to work as intended.
[Miscellaneous Android Development] Nightcro:
Regarding the problem with bluetooth headset, it seems that it's random. When i get home i'll try to provide a logcat
[Miscellaneous Android Development] TheWhisp:
New build is uploaded, mostly includes under-the-hood changes and of course CM changes. And SELinux is not set enforcing instead of permissive.
[Miscellaneous Android Development] :
I run cm-12-20150109 with gapps, it is a nice smooth ROM. I do not

experience excessive battery drain. But I do have following questions

and remarks. Some may very well be CM12 generic and not SM-G3815 specific.

(a) every now and then, I see

--

Unfortunately, com.qualcomm.timeservice has stopped.

--

(this is reported already as bug)

(b) WiFi, every now and then, seems to 'forget' password. I need to

provide it again. Also when that happens, typically (a) above also

happens.

(c) Titanium app restore hangs. Logcat mentiones 'su' child

terminated. But I cannot install Chainfire SuperSU or ClockworkMod

Superuser (they refuse to replace CM12 /system/xbin/su). Even manual

replacement does not help. It seems the CM12 super user mechanics are

somewhat different. But now I cannot restore my (hundreds) apps.

CM12 change to handle su on its own seems recent... perhaps not perfect

(d) Link2SD (which I need to put so many apps on the SM-G3815) warns

about mount issue after reboot. /data/ext2 is mounted but linked apps

are not seen by Launcher. A quick reboot solves this. I guess

something may be wrong with the link2sd script in etc/init.d. By the

way, does this ROM support etc/init.d at boot?

I think I may find out how to hack around (d) by adjusting the

link2sd script. But for (c) I don't know how to solve.
[Miscellaneous Android Development] crxixo:
When a new version there will appear?
[Miscellaneous Android Development] :
Anybody running cm-12-20150109 does not have similar problems with TitaniumBackup or Link2SD?

Thanks
[Miscellaneous Android Development] TheWhisp:
Either the app is not compatible with L or it is a cm issue/bug. You should ask at the appropriate place
[Miscellaneous Android Development] :
Sure ... I just wondered if anybody here also used SuperSU, Link2SD or TitaniumBackup with cm-12-20150109.

The recent CM12 su change (no more apk required) may be the culprit.

I looked and will look around more in other forums.

Googling sure does have hits. But these are not always that usefull.

Anyways: thanks for again the ROM!

I will try to get SuperSU working (if at all possible since CM12 runs its own deamon).

Have a nice day
[Miscellaneous Android Development] poky14:
I use latest CM12 and Titanium Backup and restore working for me. I latest build is something with superuser. I instal SuperSu by Chainfire from Playstore a instal it with recovery :) and now working for me FolderMount too, this remap folders from internal memory to SD card. On second latest build Titanium not working, but in Titanium make update.zip with applications and data for it and flash it recovery and my 100 apps was back. When a first make backup apps with Titanium, now Titanium is fully worked. You must restore apps and datas creating/backuping in CM12, because backup from CM11 not working ;) sorry for my English
[Miscellaneous Android Development] :
Thanks poky14, your reply was helpful.

Yes: backups taken in CM12 can be restored in CM12 so it turns out.

I will consider FolderMount. Not sure if FolderMount effectively creates a Linux bind mount point for every pair. If so, then I would prefer Link2SD which uses symbolic links. I suspect hundreds of mounts slow down the system as opposed to hundreds of symbolic links.

This may be a CM12 or Link2SD specific issue (I do not expect it to be SM-G3815 specific). Perhaps the phone boots up with a date in the future and, once time synced before launcher started, Link2SD may complain it mounted ext sd partition too late.
[Miscellaneous Android Development] crxixo:
My music app doesn't work. What I do?

---------- Post added at 03:17 PM ---------- Previous post was at 02:48 PM ----------

Last month I had this problem, I did all wipes and I returned todos install the seem rom, and the problem was repaired, but now, the problem with my music app have returned. What I do?? Thanksss
[Miscellaneous Android Development] crxixo:
I need help please!!
[Miscellaneous Android Development] :
Actually my Music app also does not seem to work (it starts, turns the wheel and stops soon). I cleared cache/data to no avail. For now Google Play Music app does well.
[Miscellaneous Android Development] crxixo:
Do you clean with clockwordmod or settings?
[Miscellaneous Android Development] :
No, I cleared with Settings/Apps All/Music [clear cache][clear data]. But it does not help.
[Miscellaneous Android Development] crxixo:
I have the seem problem as you
[Miscellaneous Android Development] crxixo:
When a new version rom?
[Miscellaneous Android Development] crxixo:
TheWhisp
[Miscellaneous Android Development] TheWhisp:
New build is uploaded.
[Miscellaneous Android Development] :
Cool, it works as previous one (or did you address/fix sm-g3815 specific issues)?

One thing: Google Play Music FCs often...

Not sure if others exprience same, if so then I can try to provide info (logcat, etc...)

Question: does anyone running 20150215 -not- have Google Play Music issues? Thanks!

1 day later: should I conclude everybody has Google Play Music issues (forced closes)?
[Miscellaneous Android Development] :
I believe battery life has improved.
[Miscellaneous Android Development] :
20150221

I believe at first usage 20150221 has 'com.qualcomm.timeservice has stopped' fixed.

Also wifi credentials are no longer forgotten and Link2SD mounts extsd just fine from boot

cool!

as for Google Play Music : it does stream Google's playlists but sometimes it FCs on playing files on extSD

well done!
[Miscellaneous Android Development] TheWhisp:
new build is uploaded.

RIL blobs have been updated from the latest Samsung stock ROM (G3815XXUCNL2).

Lots of CM changes and also updated GPU blobs.
[Miscellaneous Android Development] crxixo:
I have installed this version rom, but when someone call me, I can't pick up the call. Why?
[Miscellaneous Android Development] poky14:
I agree, now i tested and same issues. I can't pick up the call and home in this screen don't work and i muss restart the phone. Whisp i hope for quick patch or update ;)
[Miscellaneous Android Development] TheWhisp:
I uploaded the build just after it was built. And forgot that our own libril.so caused this bug (couldn't remember why I used it from serrano all this time)

The quick fix is to replace the current libril.so (/system/lib/) with the attached one. (adb root; adb remount; adb push libril.so /system/lib/)

The not-so-quick fix is for me to find what's causing it and fix it :)

Sorry for the inconvenience.
[Miscellaneous Android Development] poky14:
I rewrite this file into the Total Commander, check atrributies and restart phone and no change, for me not working....
[Miscellaneous Android Development] Anto2:
Same for me, don't work.
[Miscellaneous Android Development] crxixo:
Same for me, don't work ?
[Miscellaneous Android Development] poky14:
I copy libril.so from cm-12-20150221 build and working :)
[Miscellaneous Android Development] crxixo:
Can you share this archive here?
[Miscellaneous Android Development] poky14:
http://www63.zippyshare.com/v/hUJp8GG0/file.html
:) for me working

EDIT:

Mirrors:

https://userscloud.com/qmx0jyt9aaz0

http://d-h.st/ToXo
[Miscellaneous Android Development] crxixo:
Thanks!!! It's working in my phone

---------- Post added at 03:35 PM ---------- Previous post was at 03:26 PM ----------

The music app doesn't work. You?
[Miscellaneous Android Development] poky14:
I used legal PowerAmp, but now i tested music app and working ;) what not working?

PowerAmp has for me friendly UI.
[Miscellaneous Android Development] crxixo:
When I push play, the app close. When you installed the rom, you did wipes?
[Miscellaneous Android Development] poky14:
Music app is play music, no problem. Yesterday I do factory reset and install latest February build because i copy libril.so from this rom and then install latest, 2 day ago, rom. Only update without wipes ;) only themes not working properly for me
[Miscellaneous Android Development] Anto2:
File does not exist on this server

Can you re-upload the file, please.

Thanks
[Miscellaneous Android Development] TheWhisp:
I guess I uploaded the wrong one. Try the attached one.

Also I don't have any problems with audio playback, i.e, music player.

I tested today both RIL and music player and they work fine.
[Miscellaneous Android Development] crxixo:
Can you share with me the music app to flash it?? Thanks!
[Miscellaneous Android Development] TheWhisp:
I use them same build I uploaded, so the music player works just fine
[Miscellaneous Android Development] crxixo:
I want your music player.apk Can you give me your apk please?
[Miscellaneous Android Development] DeathArrow:
Is anyone experiencing battery draining using last build? I left my phone overnight fully charged and in the morning it was down to 84%.
[Miscellaneous Android Development] DeathArrow:
Some thoughts about NFC.

Can't we use nfc apk from stock?

As the issue is the firmware not being compatible with NCI stack , can't we try to use libpn547_fw.so from klte as loading that library will also try to update the firmware?

http://xdaforums.com/galaxy-s5/help/nfc-problems-cm12-based-mods-kltexx-t3041631
[Miscellaneous Android Development] TheWhisp:
Basically Samsung used closed source NXP stack for Express 2 and some other devices (none of which to my knowledge have working NFC). The open source NXP stack also doesn't work. In both cases the FW is the problem, at least I think.

Theoretically we could use stock Nfc.apk but it probably has a lot of dependencies in framework which means a lot of hacking/reverse-engineering would be needed and very particular set of skills in Java bytecode/smali etc programming. The NXP part needs to be reverse engineered and put into existing Nfc.apk, then we could you Samsung libs.

We can take FW from other devices, but the FW on our NFC chip is not compatible with any other lib, I mean:

NCI is not compatible with our FW

Our chip is not compatible with other FW
[Miscellaneous Android Development] DeathArrow:
Isn't it the same pn547 chip used in Galaxy S5? Why can't we use the same firmware?
[Miscellaneous Android Development] TheWhisp:
I contacted that person who pushed the NCI source to aosp, showed him my logs and he basically said our chip doesn't support it
[Miscellaneous Android Development] shinra00:
can we expect a new build that incorporates the phone answering issue solved?
[Miscellaneous Android Development] DeathArrow:
I have another ideea regarding NFC. Galaxy Note 3 uses the same chip and has the same problems with NFC on AOSP. Samsung just released a 5.0 OTA for Galaxy Note 3. Maybe there's a slight chance they used the NXP or NCI stack from AOSP for 5.0 without modifications so we can use the NFC apk from that ROM and we don't need to dissasemble the apk and hack the smali code.
[Miscellaneous Android Development] TheWhisp:
Very unlikely. By that logic Samsung's KitKat app should work on cm11, but it doesn't because of missing dependencies. (Inbuilt Samsung code that relies on its framework)
[Miscellaneous Android Development] crxixo:
Hello! I have a problem. When I recive, for example, a WhatsApp messege, my lock screen doesn't power on. Why??
[Miscellaneous Android Development] TheWhisp:
CM12.1 (Android 5.1) build uploaded. It's not recommended to upgrade from CM12 without wiping data. If you try that, make sure you have created a backup.
[Miscellaneous Android Development] crxixo:
I have installed your version, but now, Xposed Framework doesn't work. Why?
[Miscellaneous Android Development] crxixo:
I have searched information, and I have seen Xposed Framework isn't compatible with Android 5.1.
[Miscellaneous Android Development] :
I won't be testing your excellent ROMs anymore as I gave away my E2 (I installed latest stock, rooted it and removed bloatware). fwiw:I bought a Jaiyu S3SW. Nice machine, but not open source (luckily Jaiyu Spain has access to source and helps making custom ROMs).

Bye bye ! I will miss you.
[Miscellaneous Android Development] anamorphica:
Have you been trying 5.1 yourself? Any idea how stable it is?
[Miscellaneous Android Development] TheWhisp:
Yes. I'm using since the first release. For me it feels the same as cm12… maybe the battery is not so good. But that was an early build, CM just now started to roll out nightlies

EDIT: new cm-12.1 build uploaded. Now it should be safe to upgrade from cm-12/cm-11
[Miscellaneous Android Development] shinra00:
Hey everyone, long time no see. Any new development regarding this amazing rom?

cheers
[Miscellaneous Android Development] DanielFlorin:
Hi, i have some problems.

When connected charger sometimes restarts. Why ?

---------- Post added at 16:05 ---------- Previous post was at 16:04 ----------

Hi, i have some problems.

When connected charger sometimes restarts. Why ?

Cm 12.1
[Miscellaneous Android Development] TheWhisp:
By charger you mean charger not charging through USB, I assume?
[Miscellaneous Android Development] DanielFlorin:
No USB, stock charger.
[Miscellaneous Android Development] TheWhisp:
new build uploaded.
[Miscellaneous Android Development] Nightcro:
I have random stuttering while listening to music with the new build, on bt headset and wired headset. I am on the new build. I believe that the version before this one doesn't have this problem.
[Miscellaneous Android Development] DanielFlorin:
What is new in new build ?

Changelog, Please.
[Miscellaneous Android Development] shinra00:
Thank you
[Miscellaneous Android Development] TheWhisp:
If I don't post a change log it usually means there are mostly just CM changes
[Miscellaneous Android Development] althon:
Hi there,

First of all I must say: Thank You @TheWhisp, you make so much for our devices.

And after few days of usage I can say that the last build is the most stable from CM12.1 roms

Regards.
[Miscellaneous Android Development] crxixo:
I have installed it and woks good but I believe the volume is a little low. Can it be?? And the battery lasts about nine hours on my phone.
[Miscellaneous Android Development] anamorphica:
I've been having same problem. It doesn't matter if it's USB or wall charged. I did make clean-up for my phone (pretty much "formatted") and I haven't experienced it since.

I've been wondering, do you try to port Android M to this phone whenever CM is available? it would be great :)
[Miscellaneous Android Development] kotzir:
You hurry too much for M. I will consider it

Sent from my GT-S7275R
[Miscellaneous Android Development] arlly98:
So i downloded the latest build (cm 12.1) for Sg express 2 , i wiped all my data from my phone ... i installed it with some gapps but now i cant even detect my wifi , my sim and my phone doesnt make a sound !

Furthermore i installed almost all samsung galaxy express 2 stock roms and still the same issue :(((((

PLEASE SOMEONE HELP ME , IVE NEVER ENCOUTERED THIS TYPE OF ISSUE

FORGOT TO MENTION THAT I ALSO FORMATEd THE SYSTEM AND EVERYTHING AND STILL NOT WORKING :((
[Miscellaneous Android Development] TheWhisp:
new build uploaded. Enabled ambient display. It works, but might not be battery efficient since Express 2 doesn't have Amoled / Oled display. You can disable it in Display settings if you think it affects battery life.
[Miscellaneous Android Development] shinra00:
thank you very much !
[Miscellaneous Android Development] crxixo:
Hi!! Firstly, I want to say thank The Whisp, for your work. Also, I would like to say, everybody say in the htcmania forum, that the battery of our phone is very bad, and it lasts a few hours. If you could improve the life of the battery, it would be great!!

Thanks again!!

Enviado desde mi SM-G3815 mediante Tapatalk
[Miscellaneous Android Development] anamorphica:
One would have to make drastic changes in kernel to make actual influence on battery drain and even that's not 100% sure to work or write custom ROM that is made completely to this phone and I'm sure The Whisp doesn't have time to build such. We'll just have to wait for Android M and hope it really is the key for far lesser battery drain and ofcourse hope that The Whisp (or someone else) would implement future CM for this phone :)
[Miscellaneous Android Development] TheWhisp:
new build uploaded - mostly CM and AOSP changes, and of course some minor device specific updates not worth mentioning.
[Miscellaneous Android Development] ulisse2703:
chrome not compatible?
[Miscellaneous Android Development] Nightcro:
This an odd problem, if i try to launch hill climb racing with latest cm 12.1, it will throw me this message: your device doesn't support OpenGLES 2.0
[Miscellaneous Android Development] anamorphica:
Anyone using Google Messenger with newest build? At least on previous version I messages didn't arrive and I wasn't able to send them either.
[Miscellaneous Android Development] TheWhisp:
new build uploaded
[Miscellaneous Android Development] TheWhisp:
New build uploaded that fixes the issue where some apps showed as incompatible in the Play store

The bug affected previous 2 builds - I had a typo (missing backslash) in a makefile so some build properties weren't added to build.prop,

you must update to this build asap because some other things are probably affected too.
[Miscellaneous Android Development] Flash-A-Holic:
Thanks! I had force close problem with settings on custom themes with earlier builds and now it looks like that problem is solved! :good:
[Miscellaneous Android Development] shinra00:
Thank you very much for the work!!