yashsingh1/xdaforums huggingface dataset:
[Moto E Original Android Development] dchatterjee172:
do you have any idea about how linux memory management works or android memory management works?

RAM is made to be used .....not to keep free....linux uses RAM in various ways like linux page cache and etc etc. Free ram == lazy ram

do you know about oom killer in linux?

and your goal is to use ram...not to free ram...

1> no matter how many apps you kill or hibernate . :-

if you kill and app then it will use more cpu power to reopen.so less battery life.there are many "stages" of apps or activities like onCreate ,onStart,onPause .....if you don't know all this....then take my word for it...if you kill apps...chances are you will consume more battery.

2>"300MB free RAM" :- it doesn't really matter if you load a app which needs around 300MB ram or slightly more than that(well not too much,if you want higher ram buy a expensive phone)....do not worry linux will arrange that for you.there are concepts of dynamic loading , demand paging,swapping.

3>"Debloated stock ROM is the fastest and most lagfree ROM for condor.":- yes CM will be slower than stock debloated,cause,if i explain this easily,CM has more feature==more processes==more work for cpu.

4>"memory leaks on stock" ---there is not much memory leak on CM also.....lollipop had memory leak but it was fixed by google.and the fix was patched...and CM is based on the same source.Yes there could be some troublesome processes,but every days there are many commits in CM source so they are trying hard to eliminate those.And high ram usage does not always mean memory leak.

5>"500MB+ free RAM" :----your phone could lag on 700MB+ free RAM also....lag happens because of high cpu usage or iowait.Do you even know what is "lag"?do you even know how multitasking happens?do you even know about cpu schedulers?free ram == lazy ram

6>"lag due to low free RAM available.":-...do some research about linux kernel then comment.yes there are are processes in RAMs.But all the processes are not using CPU.lag doesn't happen for a "low free ram".Traditional linux system always try to have ram 100% used theoretically.

.

.

there are many...so i will stop here..

Lastly this a thread for the CM12 rom for our device.This is not the place to discuss which rom is faster or which rom takes 54 sec to boot.Such discussion is completely irreverent .developers know what they are doing,there are writing the code.if you want to fix things then you can contribute,submit some patches or help developers by submitting a logcat or reporting a specific issue.

and i think before commenting like this,you should study about operating system.not too sharp buddy,not too sharp.

PS:- you have 500MB+ of unused wasted ram.congratulations for that
[Moto E Original Android Development] Anish Goyal:
Awesome reply by dchatterjee172

---------- Post added at 05:02 AM ---------- Previous post was at 04:59 AM ----------

One question..what happens if I install an incompatible boot animation in cm12.1?
[Moto E Original Android Development] nilanko:
Firstly I appreciate your vast theoretical knowledge of android you are carrying with you ;)

Now you're talking about memory management? Minfree stuff eh? I have experimented with literally everything you talked about you think what's making you sound smart.

1. Every typical android article or documentation says free RAM is waste RAM and that's all you pasted down here in your own words. Sure it is. I know what goes on in the RAM and what's running and what's not. Infact, I have literally experienced lags in loading of those apps which are killed/hibernated and ofcourse that uses up extra CPU cycles and battery. But the point was not about this. Point was about overall general system performance which is definitely way lower when compared to stock and all I was striving for is practical performance, not theoretical stuff.

2 & 5. Yup. Linux smartly kills running apps to make room for new apps to be run. Run a few bunch of apps (which stay dormant after they are launched) and once free RAM is below 200MB, enjoy the lag. Now tell me, why is the phone lagging? You got an answer to that? According to you, android should perform better when used up RAM is higher because "Free RAM is waste RAM". You talked on the basis of your synthetic theoretical knowledge, I talked on the basis of real world stuff and yeah, heavy/medium apps run MUCH smoother when there's lots of free RAM. You believe it or not, idc. So more free RAM makes android more responsive, your linux books don't have any answer to that as to why.

And nah, I never ever saw any lag when I had lots of free RAM. I'm only talking about condor. N yeah bro, I know how so-called multitasking happens and I also know how processes are carried out in the CPU.

And there are CPU governors not "schedulers". Sure there are I/O schedulers though.

3. Agreed

4. Yeah yeah don't talk about age old stuff now. Just answer me why RAM usage by "system" (not user apps) keeps on increasing day by day on CM but not on stock. We got any special term for this phenomenon other than "memory leak"?

6. Again the same lazy RAM poem you're reciting. Everybody knows more than half of the processes aren't even doing anything. Just tell me why does the phone still struggle to perform due to low free RAM even if there are no processes using up CPU cycles (just try doing what I mentioned on pt. 2)?

Don't tell me android starts paging when RAM available is low which causes lags. We would want performance, not reasons to why our phone is lagging.

PS. I'm really enjoying the smoothness with the huge amount of lazy free RAM I have. Never experienced the same on CM in the past 1 year. Proud to have gotten rid of CM now.

Apologies for this offtopic post, this won't happen again. Just wished to learn from android/linux masters like these so posted a few queries (basically only one query which the quoter of my post hasn't answered yet).
[Moto E Original Android Development] dchatterjee172:
1>"memory management? Minfree stuff eh?" :- memory management is not only minfee stuff...research first then talk.read about swapping,paging,oom killer,page table,virtual address space,physical address space,mmu etc..etc....i think you should take a crash course on operating system.

2>"CPU governors not "schedulers"" ---i don't want to waste my time here i think you have no idea about cpu schedulers or short term shedulers like fcfs,rr....i think you should study first then talk..

3>"Now tell me, why is the phone lagging? You got an answer to that?"----every person who know something about operating system can answer that.if the cpu has to process multiple long thread,it starts to lag as soon as things go beyond the CPU's processing power.And in this type the SoC heats up and further promotes lag because of thermal control.now this same points goes for gpu also.And yes you must have enough memory for those processes,which our device have.

that is why SoC with smaller thermel footprints are more efficient and lagfree...because cpu process much more without heating up.We achieve this by using smaller nano architecture(snapdragon 810 uses 20nm technology and yes less heat).

Most importantly what is lag?:- suppose there is a processes called p1,which the cpu is processing.and in the ready queue(the queue of processes in the ram), there is process p2.If p1 is a long thread or requires more processing power then p2 have to wait,because on cpu at a time can process only one process.now thats when the "lagging" comes.

suppose you are playing a graphics intensive game....cpu and gpu is working hard.And you are touching the screen(which is a interrupt),then the phonce can lag.beacuse the processor cannot serve the interrupt and process the game at the same time.now usual times it happens so fast that we think that it is happening in the same time,but when the game thread is much more cpu intensive then we can experience it in "slow motion".

regular time:-

<......p1......><.......u touch the screen....><p1>

when the phone is lagging:-

<..............................p1........................................><.....u touch the screen.....><p1>

|--------more cpu intensive.............|

|-------------------lag----------------------------------------------|

now this can vary,it depends on the operating system,how it will manage the process. if the os use any cpu scheduler like rr,then it will happen differently but the basic concept is same.

4>"Don't tell me android starts paging when RAM available is low which causes lags." ----rofl.....paging is completly different thing it is mainly used to eliminate external fragmentation.please stop or else i will burst out of laughter.Please take a crash course on operating systems

.

.

now there is more,your answer is full of flaws,i do not have time to write all about those.

i think one should study about a topic before talking about that topic.

and i want the discussion to be stopped here.

and i will request forum admin [MENTION=335322]MikeChannon[/MENTION] to take look into it please...
[Moto E Original Android Development] MikeChannon:
Since I got a mention:D, here I am. I read through the above few posts and TBH you're probably more in agreement than you might think or at least there is truth in what you both say. Some questions do arise from the discussion but this probably isn't the correct thread to debate it... this being a specific ROM thread rather than a more general "memory", "RAM" discussion thread.

Also, things are getting a touch personal so I think as both of you have made your points, it's time to move on. (I get to be the boring old peacemaker who spoils the fun:D).

Mike
[Moto E Original Android Development] ALPHAWolf96:
WiFi keeps getting disconnected after putting phone to sleep for around 10 minutes and reconnects after waking up the device.

WiFi set to always on during sleep.

Clean flashed 5-jan build on two devices. Same behavior.

Hit thanks if I helped you☺
[Moto E Original Android Development] nilanko:
You will see a black screen with 100% brightness level through the boot up process.
[Moto E Original Android Development] Anish Goyal:
But it will boot up and not go in a bootloop??
[Moto E Original Android Development] nilanko:
Nope it won't bootloop. It will bootup normally. You just have to wait and watch the black screen for sometime :p

Incase there's a bootloop, go into recovery and delete system/media/bootanimation.zip
[Moto E Original Android Development] ALPHAWolf96:
EDIT- bug confirmed when handwave gesture is activated.

Hit thanks if I helped you☺
[Moto E Original Android Development] aparanoidpenguin:
Encryption ?

Can someone confirm that device encryption works with this ROM ?

After trying and factory wiping/clearing and resetting for 2 weeks, I have still been unable to activate android encryption.

Last tested with nightly 12.1-20150107.

Reproduce:

1) set a pincode for the lockscreen

2) goto settings / Security / Encrypt Phone

3) confirm you want to encrypt the phone

Result:

Instead of working on encrypting the whole phone for the usual 20-40 minutes, the phone boots back into android after 5 seconds.

Nothing is encrypted.

Tested with Cyanogenmod recovery and TWRP recovery images.

It just does not encrypt.:crying:

But encryption does work with a 4..4.4. firmware.
[Moto E Original Android Development] Anish Goyal:
Will try and tell...
[Moto E Original Android Development] piku 123:
Try slimsaber and don't use any custom kernels.
[Moto E Original Android Development] Trafalgar Square:
It can be good, but don't advertise for other ROMs on a development thread for CyanogenMod 12.1.

Moto E Q&A, Help & Troubleshooting is a good place for your question :)
[Moto E Original Android Development] ALPHAWolf96:
Really hooked with this ROM coz of it's great battery performance and fluidity.

Got 7 hrs of sot with more than a day of standby.

Great work by developers.?
[Moto E Original Android Development] pio80:
Hi , its really strange..but..nobody noticed? that every kind of custom rom definetely (except cm13 - not tested) has a sound's bug with camera , I have flashed cm11 (amazing performance overall, this is it!) - no sounds if we are recording something with stock, cm camera, cm12.1 - the same situation ..

Could someone tell me what's wrong ? Is there some trick to fix?

Thanks for Your help

P.s. There is no problem with stock Motorola kitkat and lollipop roms.
[Moto E Original Android Development] piyushkashyap216:
well sound is getting recorded in my device i am on 10th jan build

---------- Post added at 06:49 PM ---------- Previous post was at 06:44 PM ----------

what the hell is going on here cm13 nightly appeared but no signs of snapshot build moto e 2nd get got snapshot moto g got snapshot whats wrong with cm12.1 maintainer?
[Moto E Original Android Development] IronTechmonkey:
You could be glad for the efforts that brought Condor into CM13;). BTW after a transition to next CM/Android version the last snapshot of the previous line, in this case CM12, becomes devalued and a more recent nightly is usually the best of that line... as was the case for Moto E Otus; the last nightly before the transition to CM13 is better than the Snapshot that preceded the last batch of nightlys.

[MENTION=5426059]ashwin007[/MENTION] - that is a humorous name for the commit to add condor to CM13, which I shall interpret as; Live Free (CM13 for Condor) or Die Hard (complaints about no CM12 snapshots). :)
[Moto E Original Android Development] piyushkashyap216:
i am happy to see cm13 but there should be cm 12.1 snapshot first don't u think?

and i am not blaming to [MENTION=5426059]ashwin007[/MENTION] for any thing infact because of him we are able to get cm13 nightly but this seem odd to me not getting snapshot and moved to next version.
[Moto E Original Android Development] IronTechmonkey:
I guess that is is sort of my point. Even though a snapshot might indicate a more stable and regular overall path of development I dont think it is always the case that a snapshot is better than the latest nightly. Funny story - the only time I ever flashed a new ROM without making a full nanadroid backup was when a highly desired CM11 Snapshot for the Moto Atrix HD had just been released but that snapshot turned out to have a significant bug that was not present in the nightly's from shortly before and after that snapshot was released. True that snapshots may be more thoroughly vetted but I would usually go for a more recent nightly if it demonstrated it's self to be stable.
[Moto E Original Android Development] Adarsh1998:
There's no thing 'Snapshot' is stable then nightlies, things could break on Snapshots too, AFAIK only difference is snapshots are not built by builds servers in jenkins and Maintainer approved that Build as Stable then the all previous nightlies, as CM13 gone Official, probably CM12.1 will be in weeklies IMO, so priority is in CM13 Now :)
[Moto E Original Android Development] piyushkashyap216:
in my experience i have one xperia z ultra and it has a stable build and better than nightly but still it's a personal opinion

in my case i will stick to one snapshot build rather than nightly :)
[Moto E Original Android Development] IronTechmonkey:
Fair enough ... and better than the way your initial post about this was phrased.
[Moto E Original Android Development] aparanoidpenguin:
Trying out 13.0

In my search for a working android device encryption I tried upgrading

from cm-12.1-20160110-NIGHTLY-condor.zip to

cm-13.0-20160111-NIGHTLY-condor.zip (270.74 MB)

After the upgrade, I did a clean/wipe.

At boot, the wifi access points where detected at initial setup but afterwards I could not connect to the wifi.

Looking at the phone, the mac wifi mac address looked a lot like 00:00:00:00, so I went back to CM 12.1.

Today I tried again to upgrade via de CM upgrade option in the phone and tried an upgrade to

cm-13.0-20160112-NIGHTLY-condor.zip

without wiping anything and the phone upgrade worked better.

Wifi was ok, with the real mac address and the phone looks stable. (limited 1h use)

-update 1: bluetooth headsets & fitness bands not detected

-update 2 : wifi crashed and needed a reboot to re-connect

However "full device encryption" (settings / security / encrypt phone) still encrypts nothing and is not functional.

Any other brave souls tried it ?
[Moto E Original Android Development] aparanoidpenguin:
Any luck trying the encryption ?
[Moto E Original Android Development] Anish Goyal:
Not yet. But why do u want it so badly?
[Moto E Original Android Development] aparanoidpenguin:
- a Hostile work environment (need another)

- ""As a precaution, we are alerting you that your Twitter account is one of a small group of accounts that may have been targeted by state-sponsored actors," email

- mobile ebanking

- device functions as 2 factor for vpn

- ...

Not encrypting your stuff after the revelations and confirmations in 2013 seems foolish.
[Moto E Original Android Development] Anish Goyal:
Yeah..thats true..but it adds overhead after encryption..slows down a liitle bit..
[Moto E Original Android Development] IronTechmonkey:
I may be speaking to a more extreme circumstance than the poster here who wants encryption but: Encryption can sometimes be a matter of prison vs. freedom, or even life vs. death, which are both worth the resource overhead. Ironically, in some oppressive regions where they know that encryption might be used to hide dissent, even if you are not conducting activities the local government would censor you can get in trouble just for having encryption enabled on a device.
[Moto E Original Android Development] piku 123:
which kernel you are using?
[Moto E Original Android Development] IronTechmonkey:
I did not realize this /\ /\ /\ /\ in our PM exchange but if the cause and effect between that gesture setting and wifi disconnects can be reliably reproduced in a clean flash you should definitely log this and share the details here rather than by PM.
[Moto E Original Android Development] ALPHAWolf96:
Logcat attached. [MENTION=5426059]ashwin007[/MENTION] plz have a look at this.
[Moto E Original Android Development] sagar846:
Can someone tell me if Two call recording is working on cm. Cause its for my dads phone and since I've flashed optimised stock he's not able to hear the other persons voice at all(sometimes its heard but almost inaudible ) . I've tried all call recorders on the playstore and the ones on xda (Dr.ketans I think) and its still not working.

I Dont want cm13 since its still in early stages so can someone please tell if it is working on cm12 or how to solve the problem?
[Moto E Original Android Development] jfmac:
Hey there! :) Can someone upload the latest 12.1 nightly somewhere? download.cyanogenmod.org don't keep 12.1 nightlies on servers anymore. You'd really help me out. Thanks!
[Moto E Original Android Development] jaspreet.virdi:
https://www.dropbox.com/s/c3ovhgg9wibvwo3/cm-12.1-20160110-NIGHTLY-condor.zip?dl=0
[Moto E Original Android Development] jfmac:
Light speed fast response. Thank you!
[Moto E Original Android Development] hariom310:
How to update to CM13 from CM12.1?

Can i flash the CM13 zip over the CM12.1 or will i have to wipe everything and then Flash CM13?
[Moto E Original Android Development] IronTechmonkey:
Clean flash highly recommended.
[Moto E Original Android Development] dbal:
I was ready to post few hours later asking for the same thing!! :D:D

How about the latest recovery too, or it doesn't even matter? (I am stuck on 30/12 version due to sd card corrupted...)

Thanks a lot anyway!!

PS: I think it's weird for cyanogen not to have any other rom copy available (at least the latest only!) other than the last 5, especially when a device moves to a new quite unstable release as MM builds are for the moment...and even worse there is a bug in the relevant downloads page for months now, where all previous fware appear available to dload but they all return "error 404" except the latest five...
[Moto E Original Android Development] crazyrexz:
i check it, the links is unavailable traffic bla bla bla, can you upload it again? thx :o
[Moto E Original Android Development] ALPHAWolf96:
Can anyone confirm if there is support for Motorola camera in the last nightly ?

Hit thanks if I helped you☺
[Moto E Original Android Development] piku 123:
you can download it from CM website.
[Moto E Original Android Development] vrock25:
404 not found. please help :(

---------- Post added at 01:00 PM ---------- Previous post was at 12:56 PM ----------

I did a clean flash from cm12.1 to latest cm13 build . Everything worked fine until the Google Play services got updated. i am keep on getting google play services stopped working error. please help me :crying::crying::crying:

did a factory reset.. wipe cache/dalvik cache .. everything.. still same error. could not use my google account related anything :crying:
[Moto E Original Android Development] Adarsh1998:
It's related to gapps, if you flashed today's version of opengapps that's the cause, I too got fc with today's opengapps, use any other GApps
[Moto E Original Android Development] vrock25:
Yeah.. I flashed today's version of gapps and I got setup wizard stopped working error. So i thought may be 5.1.1 gapps given in link itself works as no where its mentioned to use opengapps. I flashed 5.1.1 gapps and at least something is working , until play services gets updated. I am trying an older version of gapps now.

Hope it works. Thanks for the reply :)
[Moto E Original Android Development] Adarsh1998:
Wait, you on cm13? Then you should clean flash cm13 along with 6.0 gapps, opengapps gave fc today, so try with 6.0 slim gapps or bank gapps
[Moto E Original Android Development] vrock25:
Yea cm 13. Its CM 13

Could you please elaborate by clean flash ? what exactly I should perform in Recovery ? format data, factory reset, wipe cache/dalvik cache, etc...

I did all those and then only flashed cm13. I can't find older version of gapps build. Please give me a link.
[Moto E Original Android Development] Adarsh1998:
Clean flash is, wiping system, data, cache, dalvik cache, get alternative gapps from here : https://www.androidfilehost.com/?fid=24367857647223229
[Moto E Original Android Development] vrock25:
This gapps is way too big for our moto e. I use very few google apps. Please provide something like a pico. Anyway I am downloading the gapps provided. will take huge time with this **** bsnl broadband .
[Moto E Original Android Development] Adarsh1998:
Lol exactly, I have bsnl too xD, since I didn't found a link of old opengapps builds, and slim gapps links giving 404 error I gave this link, [emoji14]
[Moto E Original Android Development] crazyrexz:
the website link is 404, so i ask help here, hope someone upload it.. im waiting here:)
[Moto E Original Android Development] piku 123:
Download exodus better than CM 12.1.
[Moto E Original Android Development] Anish Goyal:
Don't discuss these things here...
[Moto E Original Android Development] piku 123:
The thing is he was not able to download from CM servers that is why i recommended a different ROM.:pDo one thing upload CM 12.1 for him then.:angel:
[Moto E Original Android Development] Anish Goyal:
I use CM13
[Moto E Original Android Development] piku 123:
Well he needs CM12.1 so i pointed him to a CM12.1 ROM.
[Moto E Original Android Development] jaspreet.virdi:
cm12.1 last official build.

https://www.androidfilehost.com/?fid=24391638059060312

https://drive.google.com/uc?id=0B-9UZKg9q8AEQlpYa0hPRFVaZms&export=download
[Moto E Original Android Development] LucaProdan:
I have a problem with the last cm 12.1 build, I shut down the wifi but in battery stats looks in use :/
[Moto E Original Android Development] kamalgrewal:
Is any other 5.1.1 rom available with latest updates
[Moto E Original Android Development] jaspreet.virdi:
Mokee rom

http://download.mokeedev.com/?device=condor

---------- Post added at 05:52 PM ---------- Previous post was at 05:46 PM ----------

Try clarity kernel .
[Moto E Original Android Development] LucaProdan:
Well, I'm already using that kernel