yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] brownl:
Thanks, I was going to take a look at it myself tomorrow. To be honest, I'm not too bothered about most bloat as long as I can hide it from the apps menu. 5mb applications don't really have much effect on disk space and as long as they don't run in the background they don't cause issues with your phone.

Build 8 sounds cool, thanks for your hard work.
[Moto G 4G Android Development] Hastaloego:
using 7.1 on xt1039. got contacts and gmail crash on first start after reboot.
[Moto G 4G Android Development] keevre:
That's cool but your suggestions are horrible, use Naked Browser and Vanilla or Poweramp instead.
[Moto G 4G Android Development] Bad_Calzoncillos:
Did you do a clean flash?
[Moto G 4G Android Development] Hastaloego:
i did standard wipe with twrp. Should I select anything else too? Like system?
[Moto G 4G Android Development] j29ster:
bluetooth and phone mute not working

Long time lurker, first time poster here. First of all, thanks a lot beeeto for building such a great rom. It run amazingly fast and I am very happy with the memory and battery life of the phone now.

I have done a clean flash of 7.1 and I have problems with my bluetooth and mute button during calls. I had not seen this problem in the 5.0.2 builds.

1. Bluetooth disconnects with my car after a few seconds of playing.

2. During calls, I cannot mute my mic (the mic icon is grayed out).

Any help would be much appreciated.
[Moto G 4G Android Development] brownl:
Some people have experienced random problems after flashing from stock. Try clearing data,cache,dalvik and flashing Cyanogenmod 11 (XDA won't let me post the link as I am too new) then doing the same to flash this rom.

That's what I did and it's working a charm. Good luck!

---------- Post added at 08:17 AM ---------- Previous post was at 08:01 AM ----------

Vanilla music - THANK YOU! This is exactly what I have been looking for - a music app which just plays music.

Cheers.
[Moto G 4G Android Development] wurstel:
[MENTION=3128778]beeto[/MENTION] is it really recommended to install cm11 first and then upgrade to cm12? What are your thoughts on this?
[Moto G 4G Android Development] brownl:
I know I'm not beeeto but,

http://wiki.cyanogenmod.org/w/Known_Issues_page_for_peregrine

That's where I took the suggestion from. The download link for CM11 is there too.
[Moto G 4G Android Development] primewell:
Been using your 7.1 rom noch for good 1,5 days. Found only 2 things worthy to notice:

1. The slider for brightness is able to shut the display completely dark! (was rather tricky getting the setting right again)

2. Play Music notification widget in the notoficationsmenu does not go away (or at least at some point the headspeaker symbol just stays)

Otherwise a few randon application exits, but nothing out of the ordinary for a CM12.1 rom. Actually the best I've tried upto now :D

This will probably be my daily driver for a while :)
[Moto G 4G Android Development] RLNTLSS:
Supersu App

Someone has a problem with root in version 7.1 ?

I flash the Supersu and it does not appear in my apps.
[Moto G 4G Android Development] dog121:
You don't need supersu just enable root via developer options...
[Moto G 4G Android Development] brownl:
[MENTION=5270463]beeeto[/MENTION] I removed audioFX with titanium backup and it broke the FM radio and music visualiser. Unless there's a way around that, please don't remove it!
[Moto G 4G Android Development] gonron:
I also have troubles with root user. Any tips?
[Moto G 4G Android Development] brownl:
Be sure to set 'root access' in settings -> developer options. (Screenshot above)
[Moto G 4G Android Development] gonron:
yes I have those settings but the root checker tell me that I dont have root.

Perhaps root checker is wrong...
[Moto G 4G Android Development] brownl:
Download terminal app and type 'su' then press enter. The $ at the end of the line should change to # if you have root. Let me know how it goes.

Have you ever used SuperSU with this ROM?
[Moto G 4G Android Development] gonron:
permission denied.

no, I just wanted to use root for greenify but i realized i dont have root.
[Moto G 4G Android Development] brownl:
Hmm. Have you tried reflashing the ROM? I lost root after I tried using superSU and that solved it for me.
[Moto G 4G Android Development] stewyfallingup:
So I have root access but I don't see an app shortcut

I checked in all the settings and even in apps under all. Fauxclock got denied supersu access. So I'm not sure what to do.
[Moto G 4G Android Development] brownl:
As in, an app to control who can have root access? That can be found in Settings > Privacy -> (Select a root app from the list)
[Moto G 4G Android Development] beeeto:
Hey guys, it is recommended to use stock root since one of the optimization flags tends to hide SuperSu icon from the app drawer. That is the main reason I have enabled an option to hide the little stock root icon on status bar. [MENTION=275073]bronwl[/MENTION] explained how to enable it on developer settings. (Thanks for assisting users for me, it is hard to track everyone responses so I really appreciate it.)

Having that stuff responded have some bad news. Battery life on latest 5.1 build has been awful for me and want to be completely honest about it, I am blaming google play services and lack of Amplify and Greenify to deal with them.

I am starting to think that rebasing the project to 5.1 wasn't a good idea at all. The bad thing is that rebasing takes a good amount of time and if we go back to 5.0.2 builds we would lose the improvement on multitasking many users are claiming on 5.1 .

Thoughts about this?Need as many points of view to make a proper decision.
[Moto G 4G Android Development] brownl:
I would probably stick it out with 5.1. Cyanogenmod are adopting 5.1 pretty quickly so it hopefully won't be too long before we get full support from Xposed and other apps.

That said, I haven't been using android very long so please correct me if I'm wrong in thinking that things should be updated quickly.

I did notice that some apps don't work well with CM-su, in particular 3G watchdog. For this reason, I need SuperSU. You can use supersu with this rom if you really need to. Install it like normal, to open the settings you will have to go into the phone and dial *#*#1234#*#* or *#*#SUPERSU#*#*.
[Moto G 4G Android Development] stewyfallingup:
Mine looks like this
[Moto G 4G Android Development] brownl:
Sorry, my instructions were wrong. Click 'privacy guard' and then choose a root app.
[Moto G 4G Android Development] danny8:
Apologies in advance if I'm adding noise to the SU discussion, but I've always lost root every time I flashed this ROM. Currently using the last Android 5.0 based version of this ROM.

I've always had to flash SuperSU via TWRP after installing this ROM. I was going to ask here once, but my network dropped and I never reposted my question.

I wasn't sure if the lack of root was peculiar to my phone, or I even thought maybe lack of root was by design.

I take it the majority of you out there never had root loss issue like I did?
[Moto G 4G Android Development] brownl:
Nope, that sounds unusual. Have you enabled root in developer options? (Sorry if I sound like a broken record!!)
[Moto G 4G Android Development] stewyfallingup:
Nothing is there. Funny thing is that I still get prompted to grant access for root apps

Just can't get to the interface
[Moto G 4G Android Development] brownl:
Tap+hold on an app in the list and preferences should appear about what that app should and should not be allowed to do. If it has requested root access, one option should be to turn root access on/off for that app.
[Moto G 4G Android Development] stewyfallingup:
Thanks for all the help but it's not there

Faux clock for example.

Titanium backup isn't In the list. Romtoolbox doesn't show anything about root either...
[Moto G 4G Android Development] beeeto:
Yes, like I said losing root and lack of SuperSu icon on app drawer is common due the optimizations of this ROM. A fellow user posted a solution a few pages ago I t was doing something special but I didn't pay much attention cause I use native root. If one of guys could check it that would be cool, I can't right now couse I am dying with my test of Friday :'(

Wish me luck.
[Moto G 4G Android Development] ssirK:
I use Disable Service ( https://play.google.com/store/apps/details?id=cn.wq.disableservice ) to get ride of the google play stuff that keep on comming back and suck the battery

personnaly, i wont go back to a 5.0.x build, build 7.1 is fantastic for me
[Moto G 4G Android Development] idontknowcats:
So which services do you disable? And does it have any negative consequences? Like being unable to use certain google services, or missing notifications?

Also beeeto, I switched to this ROM from the Official CM. I do very much miss the battery life of 5.0.2, but the RAM management is PERFECT. I was just in the car using google maps navagation, as well as streaming music via bluetooth, and was able to browse reddit and snapchat as I pleased without navigation or music getting booted out of memory. So there isn't much you can do about the google services battery drain right now? I did want to thank you for your work though, very impressive.
[Moto G 4G Android Development] Bastlwastl2010:
This:

http://xdaforums.com/oneplus-one/general/guide-google-play-services-battery-t2832525

help me on different CM devices to fix the battery drain
[Moto G 4G Android Development] EternalFlame:
yep, same here !
[Moto G 4G Android Development] ssirK:
i dont use a lot of google services stuff, so i cant say for sure

you can turn on/off the services with one click, so its quite safe to use and test around

i saw a thread detailling the services and consequences, ill try to find it and link it back there

EDIT: check here http://xdaforums.com/showpost.php?p=57397497&postcount=31 and the whole thread about that app if needed
[Moto G 4G Android Development] brownl:
Does this stop your device from receiving notifications when locked? I thought that was the purpose of Google Play Services.
[Moto G 4G Android Development] Bastlwastl2010:
No and this is the cool thing...:)
[Moto G 4G Android Development] EternalFlame:
yeah played around with disabling services too... I used that setup :

http://xdaforums.com/galaxy-s-advance/themes-apps/share-myandroidtools-guide-to-disable-t2869119 ( = with working notifications / G´s Maps / Gmail etc. )

or

http://xdaforums.com/showpost.php?p=57192429&postcount=24

( but I stick with the OP´s setup since 5.0.2, cuz i haven't had any wakelocks ever since) ;)
[Moto G 4G Android Development] brownl:
That sounds brilliant! Thank you :)

I'll apply it and see how it goes. Now we need to work out why Google have enabled it at all. Tracking purposes, I suppose.
[Moto G 4G Android Development] beeeto:
Awesome guys, why didn't you share these thingys before? I was about to breaking my phone in half. :cyclops:
[Moto G 4G Android Development] beeeto:
New build is ready, been testing it for a day. Got these results, pretty neat huh?

Anyway, here's the changelog,

Link: Build 3
[Moto G 4G Android Development] rodsayd:
Nice, I'll try to test it tomorrow :)
[Moto G 4G Android Development] scattoit:
Seems very good!
[Moto G 4G Android Development] WiCiO_MeDi:
pls add MD5 hash to the zip file so we could be sure about the file integrity ;)
[Moto G 4G Android Development] scattoit:
Can you compile cm12 using similar tweks?
[Moto G 4G Android Development] beeeto:
Well, I think could implement it, but it means to merge a big chunk of code and it would affect the current goal of the ROM (To stay as close as CM11 as possible). I really like Locksreen Notifications too and I am actually using it via Xposed mod (XBlast). If more people request it I will bring it in.

Check out this commit

It is already merged in the build so I "guess" it should fix minfree memory issues. I don't really know becouse I use customized lowminfree values. You must tell me :p

I will do on next build!

If you want Tap2Wake I would need to add it to the ROM's Kernel. I honestly don't know if will hit battery life drastically, but we can try. At the worse case I could just revert the changes.

Well, I am not using Lollipop at the moment becouse the early stage of it CM 12 and lack of Xposed. Plus when official Motorola's Lollipop kicks in I will definitely move to stock ROM, so honestly I don't really think I'll be building CM12 any time soon. I suggest you moving to CrDroid, Cristiano Matos is a excellent dev and he can surely do much more stuff than I can.

Well, with these questions covered I must ask. How is the ROM running for you? I am having a really good battery life with the general tweaks and Interactive governor, but I'm thinking about bringing in some new governors and stuff. What do you think about Double Tap to Wake?

Regards!
[Moto G 4G Android Development] rodsayd:
Hi beeto! I didn't know there was a xposed module for lockscreen notifications, I will try it. But the perfomance is great, tap to wake would be a nice feature if you can implement it easily, but it has to do with the kernel I think. And maybe adding some governos will be nice. But the ROM itself has a very good battery life and perfomance for me, no reboots, nothing.
[Moto G 4G Android Development] beeeto:
Try it! Here it is XBlast. This is the main reason I have not added Lockscreen Notifications to the ROM yet.

1.- Go to XLocky and activate it

2.- Go to Notifications

3.- Activate Notifications

4.- DON'T forget to activate it at security settings, you won't be able to clear notifications otherwise.

Thanks for the feedback too.
[Moto G 4G Android Development] panchovix:
Sorry fot the late answer

Perdón por la respuesta tardía, pero puse tu rom en mis vacaciones y no pude pasar por aca, pero desde la build 2 el rendimiento y batería son muy buenos, ya me la deje para uso diario :D

English:

Sorry for the late answers, put your rom again in 2nd build, and the performance and battery life its impressive, gonna stay with this rom
[Moto G 4G Android Development] ebol94:
I've been using it since it's first realease. So far, i haven't had any issues. In my particular case I only use the phone for 2 hours of Screen-on time so I always have around 30% of battery at the end of the day.

One thing I find odd is that it won't show correct values for Max CPU or Min CPU under settings'. I've tried checking those values on AeroControl (app by [MENTION=4855459]Blechd0se[/MENTION]) with no luck at all. BTW, I always stress the ROM by playing a game. In this case I can reach up to 55º, is that a correct temperature?

Thanks you :good:
[Moto G 4G Android Development] beeeto:
Min and Max values work fine (I had this doubt once too), It only shows 1190400/1190400 freq becouse of MPDecision, but they work good. If you use a real time app like CoolTool, you can verify it by yourself. Regarding the temperature I cannot really tell you becouse I don't game on my device, my max temps are becouse of GPS and they are not higher than 45º.

Here's a pic of CoolTool in action, that's how I keep an eye on freq, temperature and available RAM.
[Moto G 4G Android Development] EternalFlame:
Hey man, first of all, this is a really nice build :)

Performance and smoothness is superb !

After playing around with all those 5.0 builds i finally decided to switch back to KK for now, to much important features are are missing and the overall performance is not satisfying to me,

with a nice theme + Xposed i have the looks of LP but the performance and features i missed of KK.

Anyways, i have a few feature requests :

.) Slim Recents

.) Disable Notification Ticker option

.) +1 DT2W (really need that feature :p )

.) USB Fast Charge

Otherwise everything is perfect, oh and thanks for the tip with the lock-screen notifications, that's the only thing i really love and find innovative in lollipöp imho.

Keep this up and thanks in advance :good:

edit:

cool i just found out that xposed alpha is out and i´m going to test it. ^=^
[Moto G 4G Android Development] panchovix:
o.O

Well, i updated the build from the rom itslef, and now i have android 5.0 XD but its fast wTF

The only problem i dont have play store :(

Edit:but i guess is the one of the CM builds of cm 12, well i think i did something bad lol
[Moto G 4G Android Development] beeeto:
Oh, sorry pal, I have read your request before but didn't have enough time to reply. I have been doing my homework and research about D2W and according some githubs I have visited it seems it tends to reduce battery life <a lot> so I don't think I'll be adding it soon. It is the same with fast battery charge, it tends to reduce overall lifetime of your battery. (Becouse you know, your battery is getting more power in less time)

Haha, those updates are official Cyanogenmod. I don't really recommend doing that.

Anyway, next build is taking long time becouse my code suddenly started to fail and now I'm trying to discover what is exactly breaking it. So yeah, that's fetchig into a lot of code. Hopefuly I'll fix everything in a couple of days.

I may check the current state of CM12 too, maybe now is stable enough to migrate and who knows, maybe build some unofficial builds? Haha, anyway, sorry for not bringing new builds, this issue is actually driving me a little bit mad.

Regards and hope everyone is doing good! :highfive:
[Moto G 4G Android Development] beeeto:
Hey guys, here's a little update.

I have switched my build environment to my main rig (I was building on a crappy notebook lol) now the pace of my work has vastly improved and a new build with a BUNCH of new features regarding performance and battery life is ready.

Currently I am testing this new build so I can release it to you (If any of you is still sticking with KitKat at this point...), anyway, this new build will have recommended settings that you MUST follow, otherwise you won't have the experience I'm trying to provide.

Oh and I have tried CM12 and the new alpha Xposed and must really say that KitKat is still going to be my daily driver for now.

That's all folks, I'll be uploading in a couple of hours so stay tunned.

Regards! :cowboy:

.
[Moto G 4G Android Development] Danymat:
I can't wait to try this!! I need an awesome battery optimization, because with CM12 it's really poor... 7h...
[Moto G 4G Android Development] beeeto:
New build is up!

Full wipe is highly recommended due the drastic changes.

Changelog:

Link: Build 4

--Recommended Settings--

My kernel has 2 hotplugs, one is MPDecision and the second is Faux's Intelli-Plug. If you use both at the same time the world will explode. (Seriously, don't use both)

There are 2 profiles I recommend, you should get good battery life with both;

There's no "best setting" its all in the hotplug you pick "MP-Decision" is a bit more for performance while Intelliplug will make you save more juice. It is the same game with GPU governor (Simple-Ondemand vs msm-adreno, I would use the first one becouse it tends to lower GPU freqs, but if you are a gamer you'll want to use Msm-adreno governor.) Just make sure you pick Fiops as Scheduler and you are good.

If you pick MP-Decision min and max freqs will be set automatically (It will show max freq at TricksterMod, just ignore it, it will work just fine)

If you pick Intelli-Plug make sure you set min freq at 192000 and max at 190400.

I am really happy with this build made it with lot of love so you guys can enjoy it too. Don't forget to tell me your results!

Regards :D
[Moto G 4G Android Development] Danymat:
Go try this!!
[Moto G 4G Android Development] rodsayd:
Hey great! I will definitely flash it today or tomorrow :) Keep up the good work!
[Moto G 4G Android Development] beeeto:
Made a little change in my statements about the recommended config. Please check them if you followed my old setup.

Regards!
[Moto G 4G Android Development] brownl:
Just applied it and for some reason my phone rebooted if I didn't unlock it quickly enough. After unlocking it though, everything seems fine and notifications work as usual.

I'll test the battery drain over a day tomorrow.

Thank you!!
[Moto G 4G Android Development] ssirK:
keep the builds commin', we'll share even more ! :highfive:
[Moto G 4G Android Development] ebol94:
Hey [MENTION=5270463]beeeto[/MENTION] I've been suffering from sudden reboots when inserting earphones. It happense very randomly but it bothers a lot :P
[Moto G 4G Android Development] beeeto:
Clean flash? I listen a lot of music too and never had a soft reboot, try to take a logcat so I can take a better look.
[Moto G 4G Android Development] cpthornman:
Just flashed build 7.1 after running on build 6 for a few days. Love the speed and longevity of this ROM!! My only question/concern is that I noticed the "Ok Google from any screen" option has now disappeared after flashing the 7.1 build. Is there a Google app on the play store that I am missing? I've checked all my settings and everything looks to be correct.
[Moto G 4G Android Development] brownl:
That's a good point, I just released i'm missing it as well. Does anyone know if its present in official CM12.1?

---------- Post added at 10:18 PM ---------- Previous post was at 10:13 PM ----------

On a more positive note, so far I haven't had ANY battery usage from Google Play Services!
[Moto G 4G Android Development] cpthornman:
At least it isn't just me. I was afraid I screwed something up. I did use a cheap work around by putting the Google search widget on one of my home screens I hardly use and can at least use it from my home screen.
[Moto G 4G Android Development] ebol94:
So I've found it:

"

--------- beginning of crash

04-09 18:01:01.362 E/AndroidRuntime(769): *** FATAL EXCEPTION IN SYSTEM PROCESS: AudioService

04-09 18:01:01.362 E/AndroidRuntime(769): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.MAIN cat=[android.intent.category.APP_MUSIC] flg=0x10000000 }

04-09 18:01:01.362 E/AndroidRuntime(769): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1781)

04-09 18:01:01.362 E/AndroidRuntime(769): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1501)

04-09 18:01:01.362 E/AndroidRuntime(769): at android.app.ContextImpl.startActivity(ContextImpl.java:1283)

04-09 18:01:01.362 E/AndroidRuntime(769): at android.app.ContextImpl.startActivity(ContextImpl.java:1265)

04-09 18:01:01.362 E/AndroidRuntime(769): at android.media.AudioService.startMusicPlayer(AudioService.java:4950)

04-09 18:01:01.362 E/AndroidRuntime(769): at android.media.AudioService.sendDeviceConnectionIntent(AudioService.java:4904)

04-09 18:01:01.362 E/AndroidRuntime(769): at android.media.AudioService.onSetWiredDeviceConnectionState(AudioService.java:5004)

04-09 18:01:01.362 E/AndroidRuntime(769): at android.media.AudioService.access$7900(AudioService.java:113)

"

Here's the full log
[Moto G 4G Android Development] brownl:
Can you not use the swipe up from the home button? I found that to be the easiest way if accessing Google.

Does anyone else have this issue - please let me know if you don't as I want to find out whether it's just us or the whole ROM.

Update: I think it may have something to do with the GApps you flash. http://xdaforums.com/showthread.php?t=3074660 mentions 'OK google' support and also face unlock support which I am missing.

I'll try flashing it tomorrow and see if it solves anything.
[Moto G 4G Android Development] AndreiSant:
after I disabled some things in google play services... the battery has improved nicely. Thanks beeto for the rom and see some things about cm12.1 on cyangemod.org, i use your rom since cm11 build 3, beaty work in this rom too
[Moto G 4G Android Development] Hastaloego:
well...
[Moto G 4G Android Development] tijuanacartel:
beeeto, can you please add an entry to the first post regarding the use of Frandom as compromising the security of users. Frandom is not to be used for any secure purposes including negotiating SSL connections.

(reference: http://lwn.net/Articles/54264/ #2 and #4.)

Second please add a note on first post that SELinux is disabled on this rom.
[Moto G 4G Android Development] AndreiSant:
what things you disabled in google play services?