yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] danny8:
Should the Xposed module to correct memory leaks be used when you DO NOT choose to install Xposed? (Weirdly, on my other phone I've seen modules which run even when the Xposed framework is not installed.)

I have not yet installed this ROM, so apologies if the answer is obvious to ROM's current users.

Have downloaded all the parts, 'gonna install it this evening.
[Moto G 4G Android Development] Pupet_Master:
I hope build 6 isn't an april fools joke :P

Time to flash it

EDIT: Gotta love the "Android is updating - Powered by Microsoft" screen lol.

Ok i have a couple of issues still. One is that the calendar (not google calendar) still force close when open.

The other is that Xposed now crash just before open the download page of a module.

EDIT 2: The issue about the force close wasn't on the ROM it was due to the new Greenify update.
[Moto G 4G Android Development] AndreiSant:
and i dont see any diference in battery, what settings i can put in kernel to save battery?
[Moto G 4G Android Development] Pupet_Master:
I like the Pink Kernel, but this ROM is very dependent on it own Kernel to work as it do.

So you can but you will lose more then win maybe.

If the battery usage is very bad maybe it is good to flash one of this ROM prev version Kernel only.
[Moto G 4G Android Development] beeeto:
Well, actually you can try Pink Kernel, since the core of this rom isn't on the kernel anymore. I bet Pink would work as good as the stock one of this rom couse is based on old sources. Feel free to try it and share with us, I don't really mind it.

Regards!
[Moto G 4G Android Development] vaskozl:
I have to say I'm really impressed by what you have achieved.

Is a clean flash required for updating from 5.1 -> 6.0 as you mentioned for some of the previous builds?
[Moto G 4G Android Development] Sparubens:
Is this new kernel based on new cm lollipop kernel? Or which kernel is best to ude with build 6? Good work!
[Moto G 4G Android Development] Bad_Calzoncillos:
Hey! Great to see someone from this part of the world. You posted the link to the Xposed module that fixes memory leaks, but the same OP from the thread posted:

So my guess will be it's useless to install it. Going to try the rom now without instally xposed to see how it works. Cheers mate from Argentina!
[Moto G 4G Android Development] beeeto:
Whoops, I skipped that part of the thread it seems, lol. Glad you are trying my ROM, hope it suits you good.

¡Saludos cordiales!

[MENTION=5225233]Sparubens[/MENTION] Old sources since the new are missing a lot of stuff that produces poor laggy animations and poor performance (Hope it gets solved with an official release of LP)

[MENTION=6557512]vaskozl[/MENTION] The changes of Build 6 are minor since I only added some goodies and switched the kernel Toolchain. You all must do a clean flash when I do flags updates, of course I am going to warn you before. A dirty flash with clearing dalvik cache and cache prior and after should be enough with these minor changes.
[Moto G 4G Android Development] AndreiSant:
so answer this : clean install is wipe cache, dalvik and data? or have more thing to do?
[Moto G 4G Android Development] rodsayd:
Clean install means you should wipe cache, dalvik, system and data.

Dirty flash means you can only wipe cache and dalvik and then flash the rom over.
[Moto G 4G Android Development] AndreiSant:
and i will lose my musics ,photos,videos in clean install?
[Moto G 4G Android Development] rodsayd:
No, you won't lose musics, photos as long as you don't wipe Internal Storage, but you will lose all your apps and configs. You should make a bakeup using Titanium Backup or a nandroid backup if you're not sure what to do.
[Moto G 4G Android Development] AndreiSant:
ok, i make a clean install and now i cant download apps (error: [RPC:S-7:AEC-7])
[Moto G 4G Android Development] keenofhiphop:
if you update from one build to another, you don't even have to wipe date. Did that from build 5 to 5.1 to 6 without troubles. I guess the optimizations apply anyways.

Still running smoothly and as I don't have school anymore (yay) I'm a heavy user now.

One bug:

After playback (bluetooth and headphones which btw both still stop sometimes)...

Spoiler content hidden.

...the volume control is stuck on media volume. That's bad if you need to fast switch to vibrate and (worst of all) when scrolling through 9gag with volume buttons it doesn't work. Please that's one cruel bug...

Not really, but it's a bug...

Love your ROM!

Regards
[Moto G 4G Android Development] rodsayd:
Hey beeto, on 6th build there should be intelliplug on the CPU Hotplug configuration? Because this time I don't see any option therere (eco perfomance, perfomance, etc). I did a clean flash from build 5.1.
[Moto G 4G Android Development] jkoetsier:
Its under specific... (Look at screenie)View attachment 3241964
[Moto G 4G Android Development] ebol94:
Build 6 works very smooth and I love Microsoft Home button ^^. Very nice battery life. I'm having better results with Gpu governor : Simple_ondemand
[Moto G 4G Android Development] vaskozl:
Where are you guys changing all these mentioned settings? I can't seem to be able to find it in the default menus. Is it a special app you install on top of the rom?

Edit: Found a solution in F-Droid called 'Performance Control' and seems to provide these options.
[Moto G 4G Android Development] ebol94:
[MENTION=5270463]beeeto[/MENTION] recommends Trickster MOD. You can download it free version on Google Play
[Moto G 4G Android Development] vaskozl:
It sadly seems to be closed source and I don't think it's a particularly good idea to provide a program that can automatically update itself root priveleges. I've been playing around with Performance Control and it seems to really be working (you can notice the effects in real time) and would recommend it if you are like me and don't wish to install gapps.
[Moto G 4G Android Development] miguelAr52:
falcon?

does this rom work for xt1032?
[Moto G 4G Android Development] AndreiSant:
no, only for xt1039,40,45
[Moto G 4G Android Development] Pupet_Master:
I did try the Pink Kernel with this ROM.

It lag to a point that it feel very bad (specially on heavy apps such as Facebook, but even on nova launcher it lag much more).

Now i'm with the kernel from build 2 of this ROM, it is much better then with the Pink Kernel but still isn't smooth as with the stock Kernel of Build 6.

I'll flash the stock kernel again as it is magical of how fast the ROM become.

You are on the right track as all other's Kernels do have a significant slow down.
[Moto G 4G Android Development] AndreiSant:
The battery start going bad when listen music ,founded the problem for me
[Moto G 4G Android Development] beeeto:
Think I just found the setup we are all looking for on Build 7, check at these screenies, 2 hours of screen and almost 70% of battery left. Impressive huh? I will post new recommended settings very soon.
[Moto G 4G Android Development] hotbld5:
WOW. You're pushing the envelop on this rom!!! Thanks so much for the hard work and dedication man. There's still the issue of multitasking on this rom though. Music always closes when another app launches like Chrome or Maps. Other than that, your builds have been solid with performance/battery life balance.
[Moto G 4G Android Development] scattoit:
Someone who have tried cm12.1 says that problem is queite solve. We have to wait the ne 12.1.
[Moto G 4G Android Development] vaskozl:
The default (AOSP) Music application plays 30GB playlists just fine while opening 10+ apps. At any rate I don't believe the changes in the ROM would have any effect on this as they are on a much lower system level.
[Moto G 4G Android Development] AndreiSant:
benchmark what i do yesterday (default kernel settings with intelliplug on : 17019

battery now with 91% : 1day 9 hours 55 min left (battery widget reborn)
[Moto G 4G Android Development] beeeto:
That benchmark seem too low, don't forget that CM12 has an option called "Performance per app" which turns on MP-Decision even if Intelli-Plug is working. YOU MUST NOT USE BOTH HOTPLUGS AT THE SAME TIME or the battery will be awful. I am considering to remove MP-decision on next build to avoid this issue, but it seems there's people that use it.
[Moto G 4G Android Development] vaskozl:
I've been doing extensive research and have not found any evidence that intelliplug is in fact better than MPdecision. The only thing I could judge by was ethos of a very popular xda member versus the default made by Qualcomm engineers.

The same thing regarding CPU governors. Some insist that under clocking is bad and using a conservative governer would decrease the battery life as it would increase the time to idle, yet there are numerous guides on how to save battery by undercoating and switching to a conservative governor favour of performance).

Now I don't know which side is right and which provides best battery life/performance, but I do know that the defaults (Ondemand + MPdecision) work pretty damn well as they are tried and proven. As much as I love running alternative software Qualcomm has 31 000 employees that sit there and play around optimising things and because they make so much money they can pay students coming from the top universities to do that.

So by all means do include intelliplug for those that believe it gives more battery life in favour of performance, but don't remove it when users such as Mecallie have shown near perfect battery life with build 5.1
[Moto G 4G Android Development] agusaon:
Hi, so I've tried this ROM for a day now and can say a couple of things. First of all, it works great. It's working as if it was stock, and definitely one of the bests L ROM yet.

Now with the bugs, I've found that the clock stays in 1150 MHz - 1094 most of the time it's processing data. With almost no time in the other. Personally it doesn't affect battery life, but if youre using your phone for an hour straight it can get warm.

Besides that, there are cm bugs. I installed SuperSU and I can't seem to find where it is. It's working, but it's neither in the app drawer nor in the settings, where I think it was in the official cm12.

You've made a ROM that is daily-driver material. Gonna keep testing and reporting to make this even better. Looking forward to build 7. Keep it up bro!

EDIT: oh I've forgot about swipe. I can't use the swipe function in aosp keyboard. Haven't tried any other, but I'll test back.
[Moto G 4G Android Development] AndreiSant:
incredible! 81% ,1 day 7 hours 44 min left ,hight brigth and listen music with screen off nonstop playing
[Moto G 4G Android Development] rodsayd:
Guys, for the ones that can't find SuperSU icon anywhere --> Launch from dialer: *#*#1234#*#* or *#*#7873778#*#* (*#*#SUPERSU#*#*) they added that option.
[Moto G 4G Android Development] beeeto:
Well, you think the same way as I do, but you are missing a little <big> point. Since MP-Decision is a closed source driver, we can't tune it, tweak it or make it to behave as we want, with Intelli-Plug we do have that ability.

MP-Decision waste too much power plugging up and down the cores when is not needed. And the way I see it there's no need for that, thats why I have changed some Intelli-Plug values to have always 2 cores running when the screen is ON. This way we take away the need of switching core 0 and 1 on and off, saving juice in the process, plus, we guarantee a smooth UI and performance having 2 cores up.

This doesn't end here, couse there's also a few more stuff I am planning to add on this profile, It won't be much, just a couple of cherry-picks to Interactive governor. So next build will have updated CM12 stuff and those commits I am talking about. I will also compile the build from scratch since I have added some graphite flags to kernel. But that's other story.

Thank you for sharing your point, as I said before I totally share it, think that a big company is much powerfull that a single guy making a hotplug, but the nature of this closed source driver pushes me to work with Intelli-Plug.

Regards!
[Moto G 4G Android Development] Frazew:
Hey ! New user here ! I moved to your rom from crDroid after they shut down and have to say that I'm very pleased to finally see a custom rom as smooth and battery saving as this one !

Thank you very much for you work, keep on doing this or we will all be very sad ! I just wanted to report some stuff:

I have found that the LiveDisplay functionnality doesn't work very well (this seems to have been reported earlier on this thread)

I would really like to see the UsbKeyboard driver integrated in the kernel, it doesn't take much time but allows us to do some pretty cool things !

Link to the UsbKeyboard thingy : (Can't post the link as I'm new but a quick web search of UsbKeyboard will take you to a github page by pelya ;) ), it's just a patch so it's easy to apply even though last time I integrated it, there seemed to be some compilation issues which could hopefully be fixed very fast (some variables names were wrong).

Hope you can integrate it and just keep on your great work ! Cheers from France ! :D
[Moto G 4G Android Development] vaskozl:
You are right, intelliplug being open source is a invaluable property that separates it.

To be honest there is only so much objective information on intelliplug I can find and how it differs (given some configuration). If I am not mistaken it comparing idle time when phone is in 'deep sleep' is useless (correct me if I'm wrong) as hotplugging takes place mostly during user interaction (which is somewhat hard to measure as it depends on what the user is doing).

Now there are two net effects that are considered: battery life and performance, where I think it is agreed that at least performance can be boosted in favour of battery life by for instance running all cores on the maximum clock rate at all times.

The way I see it 2 cores powered all the time would provide for better immediate performance (where it wouldn't make a difference for high intensity continuous load like games where everything is powered at max). Now if two cores on during screen time results in less common on and off plugging, then does hotplugging them on and off really consume more energy or is the amount of energy saved by the frequent hot plugging so small one would rather have the 2 cores powered at the same time?

I'm also interested in the work on the interactive governor. As far as I can see from the statistics on my phone it pretty much exclusively either runs the cpu on the highest or lowest frequencies which according to many is best compromise between good performance and battery. The basic idea as I see it is that you want to get done with the computation as fast as possible in order to return back to the low frequency/power state -> idle. But is that always the case? Slow processes that run over a period of time that do not require that much computing power like for example animations set on 1/5 the speed, they wouldn't require a very high clock to appear smooth would they? Wouldn't an intermediate clock instead of full blown max be better for these 'slow' processes that run for a longer time but still require above min frequency to perform well?

I'm sure you put a great deal of thought in picking the cherries and would love to get some insight. I really appreciate you pushing the changes to github as it gives a great idea of what is going on under the hood.

Regards
[Moto G 4G Android Development] Pupet_Master:
What make Intelliplug better in my view is as it is comunity built we have more tunning options to fine tune it to our taste.

Where MPDecision is basic the tune that Quallcom do and that's it (not that it is bad)
[Moto G 4G Android Development] raulillo88:
Hi. I'm on stock 4.4.4 rom and I'm trying to install this rom.

First of all I've tried to install over stock, but on first start gives me force close android.phone and another apps.

Then I've tried to intall your CM11 version for boot CM11 and then install CM12 but does not boot, stucks at bootloader on 20/02 version and 28/02 when tried to boot always come back to recovery.

Could anybody tell me how to do it? Thanks in advance
[Moto G 4G Android Development] keenofhiphop:
1. My friend this is a development thread - we got a Q&A thread to help out with this. Edit: Okay why don't we have one???

2. There are so many people that think their problem is that important they must post it in this ROM thread even though it neither has to do with this peculiar ROM nor with ROMs itself meaning bugs and logcats (which is this thread's purpose). And it was posted ten times before exactly here exactly the same problem.

3. Yes I can tell you how to, just like it is written in post one:

recovery

wipe everything but storages

install ROM and gapps

Use CM11 from CM webpage.

What recovery do you use?

Better not ask here again.

Regards
[Moto G 4G Android Development] Pupet_Master:
YEs.

You wont be able to install any CM12 ROM on top of KitKat Roms (Stock and CM11).

So you will need TWRP

Then make a full nanobackup of your KitKat ROM that is working (just to be safe).

Then wipe data, cache, dalvik cache, system and internal storage (you will lose all data even pictures and music).

After that just flash the SaberMod latest ROM and the GAPPS of your choice chat do work with lollipop 5.0.2
[Moto G 4G Android Development] ebol94:
Hey [MENTION=5270463]beeeto[/MENTION] have you seen last [MENTION=4802051]Somcom3X[/MENTION] 's post ? This is only getting better and better!
[Moto G 4G Android Development] beeeto:
Yup, Build 7 will be Lollipop 5.1 :o

Well, that is what I believe with this concept, 2 cores online are much better than having everyone switching on and off randomly. I have also tested this with my daily usage and it seems that battery life tends to be much better this way. I have also chosen 2 cores because the Snapdragon 400 is not enough to handle every task single cored. You will see soon enough on my github what's on my head :D

Yeah, you are right about this, basically I want to the hotplug to handle CPUs plugging and governor to handle frequencys. Sorry for not explaining myself further, but I have BIG financial test on monday I am crazy studying for it haha, maybe we can discuss about this later? I saw you have a github, maybe you can make your suggestions over there :)

Regards
[Moto G 4G Android Development] Pupet_Master:
Beto is it possible to make a section for a deep sleep profile?

For example on my case i would like to at deep sleep lock to one core and working and X number of frequency.

Or it go beyond of what a ROM/Kernel can do?
[Moto G 4G Android Development] Bastlwastl2010:
[MENTION=5270463]beeeto[/MENTION]

You release new Version so quick, there is no time to test the build detailed ;);)

Running Build 5.1 since 03.31 no Problems. No going to Build 6.
[Moto G 4G Android Development] geokor:
I'm so happy with the build 6, (also that we got rid or the superuser icon ), now i can't wait for the build 7 which will be includin lollipop 5.1 :laugh:im expecting that the level of awesomeness will be pushed further

A kind request: Now that CrDroid is over could we possible adopt the notification drawer from it? It was so much more customizable than the one we have in this rom

Cheers
[Moto G 4G Android Development] Hastaloego:
wait, that means no build 7 for people using xposed ?

or has xposed catches up to 5.1 too now ?
[Moto G 4G Android Development] EternalFlame:
mhh nope ^^

http://xdaforums.com/showpost.php?p=59370883&postcount=5
[Moto G 4G Android Development] Kayant:
[MENTION=5270463]beeeto[/MENTION]

You may want to check out - http://xdaforums.com/moto-g/orig-development/kernel-tgm-hybrid-kernel-t3005579/page4#post59880951 and https://github.com/TGM-Hybrid/green_machine_motorola_msm8226/commits/cm-12.0 for gcc 5.0 if you haven't already ;)
[Moto G 4G Android Development] Sparubens:
The only thing I'm really missing is disabling heads up. Could you perhaps implement an option to turn it off? I would also like to disable network indicators in the network icons and a navbar dpi... Also the navbar softkeys dissappear when in gallery which reminds me of Softkeys Fade mod from Cataclysm. Would it be possible to enable faded navbars? I wondered that when opening gallery because the source seems to be already in CM12.1. I mean the softkeys that fade to little dots when not touching them. Also app kill with back button doesn't work :( I'm running 5.1 experimental from Somcom and it flies, every Lollipop ROM with 5.0.1 - 5.0.2 was so laggy that I would smash my phone! 12.1 makes my phone deel like an N5, RAM is fully fixed. Can hold FB app, Chrome, Music and Messenger FB in memory all at once without any lag at all. So I look forward to your builds of 5.1 with the optimizations. Hope the SU icon will be back, only thing that bugged me!
[Moto G 4G Android Development] Bastlwastl2010:
[MENTION=5270463]beeeto[/MENTION]

Works your Kernel/Rom with UKM and Synapse?

The Moto 4G 2013 is on the list of suported devices, but works it with your ROM and Kernel??
[Moto G 4G Android Development] DragonSven:
Do you have the 5.1 ROM?
[Moto G 4G Android Development] beeeto:
Build 7 is ready featuring new Android 5.1, I am uploading it right now and since my internet is being slow this last time I think it will be done on the morning (It is 1:07 AM here)

Changelog

Link: Build 7

Phew, it took me more than I expected to bring this build, since building with flags changes requires to "make clobber" and wipe out all build folder. Had also some pesky issues with some of them, every build took around 4~6 hours and had to make 4 builds to check everything was in order.

This is going to be a hard week for me at college, so I won't be very active. Really want to test the new 5.0 Toolchains that are supposed to bring a massive peformance boost, [MENTION=4173406]Kayant[/MENTION] , I would be very happy if you notify me when you succed to compile with them. :p

Regards and don't forget to post any feedback you have!

P.S:Will reply posts and requests later, I really am tired now. :fingers-crossed:
[Moto G 4G Android Development] Pupet_Master:
It's a shame i'm so dependent on Xposed.

I'll try this build though, hope Xposed kind of work on 5.1
[Moto G 4G Android Development] geokor:
Now downloading, clean installation needed or dirty flash over buid 6?
[Moto G 4G Android Development] Hastaloego:
i sadly doubt it, but let us know pls

http://xdaforums.com/xposed/super-alpha-posted-permission-xposed-t3072979/
[Moto G 4G Android Development] keenofhiphop:
wipe cache, dalvik cache and system.

I kept data,

seems to work fine [MENTION=5270463]beeeto[/MENTION]

extented review tomorrow if needed.

Good luck on your exams, dude
[Moto G 4G Android Development] Kayant:
I will look into it :)

Currently building AOSP 5.1 with OptiPop optimizations and UBERTC toolchains I compiled. Hoping the kernel boots up with all the flags I have in there from [MENTION=5105835]Cl3Kener[/MENTION] UBER Nexus 5 kernel.
[Moto G 4G Android Development] ssirK:
since last CM12 is 404, i tried socom's CM12.1 unofficial V2, and it was good!

today i dirty flashed this build 7 over it, and wow, this is fast ! and i like the fact that the kernel has a lot of stuff to tweak

no problem for a couple of hours now, will report later if needed

thanks, keep up the good work!
[Moto G 4G Android Development] mendelssohn:
Which 5.1 Gapps are you guys using for build 7? thanks :)
[Moto G 4G Android Development] ssirK:
Those work fine for me : https://www.androidfilehost.com/?fid=95916177934550851
[Moto G 4G Android Development] mendelssohn:
Also worked for me, thanks mate :)
[Moto G 4G Android Development] pikouchou:
SMS/MMS force Close
[Moto G 4G Android Development] mosta00:
i have not "sms" issue, here.. BTW i came from the previews version
[Moto G 4G Android Development] AndreiSant:
clean install or dirty flash on build 7 ?
[Moto G 4G Android Development] mosta00:
dirty.. wipe cache, dalvik cache, and wipe system ..
[Moto G 4G Android Development] pikouchou:
Clean install