yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] aaron.a:
You can 'dirty flash' it over top of your current version but this can cause issues. If you dirty flash on top of other ROMs its always bad.

Other than that you need a back up app like titanium or go backup
[Moto G 4G Android Development] BlueFlame4:
Did anyone notice there is a battery % setting under "Status bar" now? \o/ aww, yea! :)

[MENTION=3376658]aaron.a[/MENTION]: I dirty flash since the first build and have never experienced any issues. Wiping (dalvik) cache is usually enough.
[Moto G 4G Android Development] spiritflare:
12/17 build issues

Dec 17/build

In this build clicking settings, cellular networks, carrier settings results in a process crashing android.phone

Also repeatedly in chrome i get a message: operation could not be completed due to low memory (similar message). Latest chrome from the playstore. Usually happens if I try tobattach a file, etc. Wasn't occurring previous build.

Also noticed slightly less free RAM. In prev build was average 490MB+ (after install with no apps). This build i see around 460MB free. However this is also 5.0.1. Just an observation thats all.
[Moto G 4G Android Development] kamilpl87:
Gps working bulid 17.12?
[Moto G 4G Android Development] carlos way:
yes im used this and work fine
[Moto G 4G Android Development] slugger09:
Having trouble installing this, CWM doesn't do anything it just blinks, TWRP 2.7 doesn't read the SD card so I moved it to internal storage and got ERROR EXECUTING UPDATER BINARY IN ZIP, Installed TWRP 2.8 it reads the SD card but got same error. Any ideas?
[Moto G 4G Android Development] eteles:
8 digit call force closing seems to be fixed in the latest build... Didn't test receiving calls from 8 digit numbers...
[Moto G 4G Android Development] karolp1993:
Is it possible to change vibration strength?

EDIT: Ok, i just found, nevermind.
[Moto G 4G Android Development] AlanS181824:
What sort of 4G speeds are people getting on this rom, also can I've some screenshots? Anything really just a few screenshots :P
[Moto G 4G Android Development] aaron.a:
Go to setting, privacy, privacy guard, menu, advance...

From here you can select Google play services or other apps and deny them wake up/wake lock. Its a quick and dirty fix if Google play services is causing drain on your battery. I just did this to my device and screen usage has already caught up to Google play services.
[Moto G 4G Android Development] kamilpl87:
Gps not working-new bulid
[Moto G 4G Android Development] lans_98:
FolderMount is working ok

Enviado desde mi XT1040
[Moto G 4G Android Development] vaporofnuance:
DSP Fix

Could somebody post instructions on the DSP Manager fix? I tried applying a flashable version of DSP Manager, but it ended force closing AudioFX over and over.
[Moto G 4G Android Development] alakaboo:
Thanks for all your hard work Somcom. Greatly enjoying the ROM. Clean flash from stock 4.4.4 for XT1045 to the 12/14 build, then a dirty flash to 12/17. Couple of nits:

1. Gesture typing (swipe) doesn't work on the AOSP keyboard. It says it's enabled but when I drag through the letters nothing happens. I installed the Google Keyboard from the Play Store and have been using that instead.

2. I seem to lose some settings after a reboot. For example, I have to reinstall the Dashlane keyboard and reenable it in accessibility. I also have to re-login to Twitter and sometimes Facebook (it works initially but I eventually get a "security token expired" and I have to re-login) after every reboot.

3. Periodically, the Google search bar at the top of the home screen will stop working. A translucent gray bar appears instead, without the Google logo and microphone icon, and it's not clickable. It appears to randomly come back and go away again, back and forth over time.

4. Google Play Movies & TV stops unexpectedly, repeatedly, and constantly since flashing the 12/17 build. I've tried clearing the app data and rebooting with no success. I can't open it, but even if I don't try to open it I get crashes in the background that popup in whatever else I'm doing.

I don't think a logcat will help you troubleshoot any of these but let me know if I'm wrong and I'll try to capture one. Thank you in advance!
[Moto G 4G Android Development] BlueFlame4:
I had a random reboot yesterday while listening to music. It was the first reboot I've ever experienced on this ROM so I was a bit confused, lol. Maybe the music was so horrible great the kernel panicked :>

Anyways, here's the last_kmsg: http://visi0nary.de/wp-content/misc/last_kmsg
[Moto G 4G Android Development] Darius_AWS:
Phone is running in critical ram mode a lot, had this in stock too, am I the only one ?
[Moto G 4G Android Development] beeeto:
Installed, deleted DSPManager and installed Viper4Android.

Everything is working flawlessly so far, GPS, Music, WiFi, Camera, etc, and not even a single FC.

It is amazing, I was pretty skeptical about this build in terms of stability, but now for me is a keeper.

Who needs Stock lollipop now? :D

Kudos to Somcom3X
[Moto G 4G Android Development] EternalFlame:
mhh thats strange dude :7
[Moto G 4G Android Development] PatrickDziura:
I got this too.

I can't get Facebook and Facebook Messenger app open at the same time. Almost all the times it closes the Messenger. =/

---------- Post added at 01:53 PM ---------- Previous post was at 01:50 PM ----------

Same problem.

Ambient Display I think that is working, because yesterday I put it in the minimun and the display turned off, I couldn't see. And today I putted too and I got some light.
[Moto G 4G Android Development] zackwire:
Anyone using Google Authenticator? Mine just FC when I start configurating it.
[Moto G 4G Android Development] srdempster:
Anyone else having problems trying to download CM12 from Android Host everytime i click and its counts down to zero it says error finding mirror. I've been wearing out my keyboard clicking on it all day!!
[Moto G 4G Android Development] keenofhiphop:
I cannot find anything about recovery? Is there a working one included?

Gesendet von meinem XT1039 mit Tapatalk
[Moto G 4G Android Development] EternalFlame:
I see all mirrors, just tried Europe(France) and it worked.

What do you mean ? Wich Recovery to flash with ? I used TWRP 2.7.1.0 without any problems, although, Somcom3X talked something about he is going to update it for android 5 (:
[Moto G 4G Android Development] keenofhiphop:
Is it still there? I mean can you use it under lollipop?

Gesendet von meinem XT1039 mit Tapatalk
[Moto G 4G Android Development] srdempster:
must be my work proxy then as where the mirrors should appear it says error
[Moto G 4G Android Development] EternalFlame:
yes mate, after flashing the ROM you can flash SuperSu for root, DSB fix and GApps without any problems ;)

at least i had none (:

oh, that sux mate :<
[Moto G 4G Android Development] Level99:
Latest CWM from Socom's EasyRecovery kit works just fine.

-----------------

Stock GPS lock did the trick for me to get GPS working under CM12. Also doing another clean flash seemed to fix a good amount of the multitasking issues I was encountering. I didn't check my ram usage before but I'm not seeing a lot of time at critical on mine. So when the GPS didn't work, I was having terrible multitasking, when the GPS did work, my multitasking ended up being fine. Not sure if there's a direct correlation but this thing is awesome once properly running.
[Moto G 4G Android Development] Somcom3X:
My ram usage is alright after 24hours without reboot.

I've attached it's current state.
[Moto G 4G Android Development] sbnnn:
Hi,i've installed this rom but goes in bootloop.I tried wipe cache/system etc but it does not want to leave,

does anyone know how to fix it?Thanx and sorry for my english if it's not correct
[Moto G 4G Android Development] Somcom3X:
Let it run for about 10 minutes. First boot takes a while.
[Moto G 4G Android Development] tbenoit:
Hi! My report: screenshots attached

- There is a icon bug (in the settings) with "Localisation" & "Profiles" and missing icon with "Privacy"

- Some force close with contacts cards
[Moto G 4G Android Development] bkr32:
ambient display is like active display or peek

also yes auto brightness has that nasty bug of flickering or not showing anything at all
[Moto G 4G Android Development] EternalFlame:
Settings > Security > Blacklist > Settings gives me a "Unfortunately, Settings has stopped" error.
[Moto G 4G Android Development] Darius_AWS:
Privacy icon is not missing, it's white ;)
[Moto G 4G Android Development] PatrickDziura:
How diz you flash the ROM?
[Moto G 4G Android Development] EternalFlame:
(build 20141217)

hmmm somethings wrong with the RAM management, my backround apps are constantly restarting and killing the performance (=lag) :<

edit:

seems it has something todo with Google Play Services again :7

after having more than two apps open, the first app has to reload again.

edit2:

well it doesn´t seem to be Google Play Services... yeah it´s on the top of my screenshots but i clean flashed the latest build again & killed all Gapps and Services still the same status, even after a clean flash without Gapps it´s the same (critical status) in Process-Stats but my apps doesn´t restart the whole time anymore, they are closed and have to reload after having a few more apps open though.

could that be the new "RAM bug" ? ^=^
[Moto G 4G Android Development] rodsayd:
My ram management is also critical for the last 8 hours, using latest build also 17/12. Anyway the phone is working great!
[Moto G 4G Android Development] EternalFlame:
clearing cache data under settings>storage helped a lot, now it´s fluid again, don´t know what happend ;)
[Moto G 4G Android Development] hotbld5:
same problem here with AudioFX force closing continuously. Let me know if you found a solution.
[Moto G 4G Android Development] EternalFlame:
the only thing that helped avoiding the app restarts was to wipe it all and clean flash the latest build again.

now it´s all good again. maybe this happes after a certain amount of time?

i read some articels and in other forums that there is a "ram management bug" since the android L preview, where the backround processes even the launcher restarts over and over again because of the critical / low ram status.

edit: and after i had everything as it was i cleared the cache under settings>storage and rebooted. ^^
[Moto G 4G Android Development] nklenchik:
That's gonna vary depending on carrier. I'm using Straighttalk on AT&T and get 17 down and 10 up
[Moto G 4G Android Development] vaporofnuance:
I tried performing a full wipe (data + cache + dalvik cache), flashed the latest build, flashed gapps, flashed SU, and flashed DSP_updated.zip (in a previous reply in this thread). After all of that, AudioFX seems to force close. Am I missing a step or something?
[Moto G 4G Android Development] JimYoung:
Nowadays, 1gb of ram is not enough. I think that's the real problem.
[Moto G 4G Android Development] suo133:
Full wipe includes system, you didn't list it here so try wiping it too and see if it helps,or you can delete the audiofx with a root file explorer

BTW DSP fix isn't needed anymore because DSP isn't in the ROM now
[Moto G 4G Android Development] EternalFlame:
my steps (clean flash):

wipe dalvik + data + cache + system + factory reset

flash CM12 (i have the both zips on the internal memory) + SU (i used BETA-SuperSU-v2.27)

reboot

boot into recovery again

flash gapps

reboot

install & set up everything (update SU via playstore)

start SU and let it boot into recovery (it should reboot from itself when finished updating)

clear cache in settings>storage

reboot

thats it. no problems with audiofx in any ways and i´m a music fanatic ^=^
[Moto G 4G Android Development] vaporofnuance:
Thanks for the thoroughness, but I had thought installing the DSP Manager resolved the audio issues with bluetooth, but I don't see those in the instructions.
[Moto G 4G Android Development] EternalFlame:
No problem but the re-flash didn't last long anyways.

edit:

uhh i found a solution, i installed

https://play.google.com/store/apps/details?id=com.jrummy.apps.memory.manager

there, i went to :

Minfree Manager > Presets > 'Aggressive'

after i did this all the lag was gone, no backround process restarts, i can multitask between 10+ Apps and the best of it all the critical ram status is also gone :D
[Moto G 4G Android Development] Zyquil:
Anyone having an issue as mine? When listening to music, the volume sometimes would be reduced by half(or even more) and then a few moments later the volume would return to normal. I'm running the 17-12 build. Tried disabling Viper4android but results are the same.
[Moto G 4G Android Development] Darius_AWS:
I can't change these values on lollipop :/
[Moto G 4G Android Development] EternalFlame:
Well, that's really odd, i didn´t do anything except installing memory manager and set the "aggressiv" preset, now this phone flys.

You have SuperSU manually installed via recovery or do you use the inbuild SU ?

I had issues of granting root permission (it said root permission is granted but it did not work) for certain apps with inbuild superuser, after flashing SuperSU everything works just fine.
[Moto G 4G Android Development] aaron.a:
The updater gives cm11 downloads? I searched the thread and found Soccom said something about nightlies starting some time in December? Anyone know anything? I'm excited :D
[Moto G 4G Android Development] EpiccSkillZz:
i just tried it with supersu, it has granted root and all but still same problem of it wont let me change the values? :(
[Moto G 4G Android Development] EternalFlame:
hmmm i really can´t say whats the problem, i mean if you select the preset you don´t see a change in the values displayed in Minfree Manager.

But you should definitely feel the fluid performance it gained afterwards, if you have a few apps open and they don´t have to reload if you switch between them via multitask button it should have worked.

After a few minutes it changes also the critical/low ram state to normal under developer options>process stats.

Otherwise i really can´t understand why this works for me, i´m on 17/12 build like the rest of you :

edit:

you could try it with another memory manager app, problem i faced was that they all crashed (incompatible with lollipop) but i guess if you find a working one it should do the job.
[Moto G 4G Android Development] daxtep:
AOSP Keyboard

Hey mates!

I am windering, if I can reinstall the stock keyboard, where can I find the apk for that?

The thing is, I installed another keyboard and thought of killing the stock one for the sake of RAM. But now I can't get inside langeage and input, due to this, I guess.
[Moto G 4G Android Development] EternalFlame:
yep, don´t forget to set the right permissions ^^
[Moto G 4G Android Development] blastop:
Maybe you already know this, but, just for the sake of informing others unaware of it, the Android Kit Kat style keyboard is also available in Lollipop.

Just head on over to settings -> language & input -> Android Keyboard (AOSP) -> Appearance & layouts -> Theme, and then select either "Holo White" or "Holo Blue".

Personally, the old style is better for 4.7" display sizes or under, i find that i make less typing mistakes this way.

It's less of a problem in my OnePlus, with a 5.5" display, so i keep it stock with the "Material Light" theme there.
[Moto G 4G Android Development] EpiccSkillZz:
omg, yes most other apps crashed but i then decided to use trickster mod to change the values manually to 8,12,16,110,121,131 and it worked! multi tasking is better and the process stats are pretty much always on normal!
[Moto G 4G Android Development] EternalFlame:
oh yeah trickster mod... didnt think of that tool sorry... glad to hear it worked mate :D
[Moto G 4G Android Development] Darius_AWS:
Any way to change the minfree values without donation ?
[Moto G 4G Android Development] spiritflare:
Dec 17/build

Gone back to dec14 build because kept getting "not enough memory to complete operation" in Chrome, (for example when attaching files); and sometimes apps close when multitasking.

So far in Dec 14 build haven't had this issue.

Just an observation
[Moto G 4G Android Development] beeeto:
Yes, just use this app instead.

I'd like to recommend 6-8-16-32-64-96 MinFree settings, it gave me the best results at multi-tasking.
[Moto G 4G Android Development] marc206:
Blutooth audio

I think I will just keep using carbon. I love Android L but I cannot play my music at work with Android L. I can play for a little bit and then it will crash and not play. Are others having this same problem or is there a permanent fix.
[Moto G 4G Android Development] PatrickDziura:
How can I apply theese values?
[Moto G 4G Android Development] beeeto:
1.- Open Kernel Tweaker app

2.-Tap the white arrow at the top left corner

3.- Select "Low Memory Killer"

4.- Set these values; 6-8-16-32-64-96

5.- Tap the three dots at top right corner and apply "Set on boot"

6.- PROFIT! Now you should get a much better multi tasking.

You can choose other values, but like I said these gave me the best results. Other combinations may or may not work better for you. :)
[Moto G 4G Android Development] PatrickDziura:
I'll try them and compare to the aggressive from the other app
[Moto G 4G Android Development] Beretta93:
Hi guys, can anyone tell me if turning on wifi hotspot is working for you? I have «error» written just.below the switch when I turn it on. I'm on latest build but it was the same on 14th build.

Thanks.
[Moto G 4G Android Development] rodsayd:
No. It is a known bug, read 2nd post... WiFi hotspot it's not working for now...
[Moto G 4G Android Development] Somcom3X:
Oh the response galore!

I'll be running a 5.0.2 build as soon as it appears.

I'll try out your suggestion. I recently recommended it to another person.

My dot works fine. Its kinda funny actually.

Hopefully its fixed upstream in the next build.

Dalvik doesn't exist anymore ;)

Oh low ram, how I love thee.

http://xdaforums.com/showpost.php?p=57619185&postcount=589

Ouhhh, first time I have ever gotten a kmsg. Looks like an issue with the ioctl.

See above responses.

http://xdaforums.com/showpost.php?p=57619185&postcount=589

http://xdaforums.com/showpost.php?p=57619185&postcount=589

Bluetooth is broken? Wonderful.

I haven't experienced it, but I have foreground/background apps overwriting the sound.

Well, I might want to answer this when I recieve a confirmation.

See above posts

I think I know why that issue is there. Give me a bit more to debug it.

It's broken until I update the driver hopefully.

_________________

Lot's of posts to respond to ;)

First time I've had a reply bigger than an op
[Moto G 4G Android Development] marc206:
Take your time somcomx. I appreciate your hard work. I like what you have done so far its great.
[Moto G 4G Android Development] Beretta93:
Sorry I missed it. Thanks for your answer anyway, both of you.
[Moto G 4G Android Development] BlueFlame4:
To all those having RAM/multitasking issues: Could you guys please check the permissions of

/sys/module/lowmemorykiller/parameters/minfree

and post them here?

I noticed that mine was set to 220 (-w--w----) which means nobody can read the file and thus the Low Memory Killer can't determine the minfrees. I set it to 660 (rw-rw----) and it works! No more redraws, I can multitask as if there was no tomorrow! \o/

I have written a really simple script that sets the correct permissions for the file and updates LMK values to reasonable values afterwards. If your permissions are set wrongly try it and report back please :)

Cheers
[Moto G 4G Android Development] rodsayd:
How do I check those permissions?

Nevermind, I've checked them and were 0655 too.
[Moto G 4G Android Development] PatrickDziura:
Mine is 0655 (rw-r-xr-x). But I used the Memory management to change the values.

EDIT: Rebooted to see the values and was equal to yours, 0220
[Moto G 4G Android Development] tekkaman7:
Problem whith Line and Viber

sorry I do not speak English

apparently the Mic not work whith this apps, the other person can't listening or hear a bip.

Thank you for this rom.
[Moto G 4G Android Development] EternalFlame:
Mine was [MENTION=3532067]220[/MENTION] even with the memory manager app i used but everything worked though.

However, I set it up like you wrote and it worked without third party app but after restarting everything changes back and it's on 220 with default values again apps have to redraw etc. :7
[Moto G 4G Android Development] Somcom3X:
I can actually implement this on every boot.

Gracias.

Sent from my XT1045
[Moto G 4G Android Development] BlueFlame4:
Sounds good :) I was trying to use init.d but it turns out I'm not allowed to write into /system/etc/init.d. Perhaps due to SELinux I guess?
[Moto G 4G Android Development] EternalFlame:
So, for the lowbob´s like me...

step by step...

you change the permission , change the values, then what ? you use some app and change the values there too ? then restart and it works ?

i tried it with kernel tweaker, i can see and change the values, but as funny as it sounds after a reboot everything is going back as is was and that sux :silly:
[Moto G 4G Android Development] BlueFlame4:
This is intended behaviour as long as you don't automate it.

The easiest way for now is to download my script, download the app "Terminal Emulator" - which is basically a command prompt - and run the script as Root from there.

Step 0: Copy the script on your phone (easiest way: use internal SD).

Step 1: Go into Terminal Emulator.

Step 2: Type "su" to get root access.

Step 3: Run the script with "sh /sdcard/*scriptname*"

Step 4: Multitask like crazy!

If you saved your script to another location than "/sdcard" you obviously have to alter the path.

I hope this was noob-friendly enough :)
[Moto G 4G Android Development] EternalFlame:
Aha !! :)

Thanks a lot, got it now and it worked :good:
[Moto G 4G Android Development] PatrickDziura:
I tryed using the terminal in CM12 and I got no such file or directory =/
[Moto G 4G Android Development] BlueFlame4:
Then do what it says and give it the right path ;)
[Moto G 4G Android Development] PatrickDziura:
I used the right path.
[Moto G 4G Android Development] rodsayd:
How do I know if I run the script succesfuly?
[Moto G 4G Android Development] dweller88:
Thanks. At first the script didn't run then I put a space between minfree and echo and that seemed to help.

So anyway I think it ran successfully as I am running loads of heavy apps trying to get play music to stop and it won't so cheers. [emoji1]
[Moto G 4G Android Development] vaporofnuance:
Somcom3x,

Thanks for the reply. Apologies if I'm being dense, I had assumed that the bluetooth audio difficulties I've been having were related to DSP Manager and somehow putting DSP Manager back on the device would resolve it. That said, the issue seems to be that my bluetooth audio cuts out in less than a minute from starting the audio. An additional oddity is that I use Waze in my car which works great from a GPS perspective; however, the audio stops shortly after starting. Then, when I disconnect the bluetooth, the phone will playback every direction as if queued up.

Is there any information I can provide? Would logcat help with this issue?

Thanks!
[Moto G 4G Android Development] Somcom3X:
I recently tried this in a friends car though Ford Sync and the music would eventually start to cut off (like ticks) around 5 minutes into streaming.

It was late so I couldn't really do any testing. I only had tried Google play music services.

A log would be nice [emoji106]

Sent from my XT1045
[Moto G 4G Android Development] zio.alex:
root?

how can I make the root? thanks :)
[Moto G 4G Android Development] suo133:
Root is included in the newest builds.If it's not working you can install supersu from the play store and see if it helps.
[Moto G 4G Android Development] vaporofnuance:
I'll have the log for you tonight. By the way, the audio works longer on my bluetooth hearing aids than in my car, but it still cuts out.