yashsingh1/xdaforums huggingface dataset:
[G 2014 Q&A, Help & Troubleshooting] doppelhelix:
There's already a thread at the Motorola forum.

https://forums.motorola.com/posts/6168839e0e

It seems to be a problem with memory management.
[G 2014 Q&A, Help & Troubleshooting] slugger09:
Thanks for pointing that out, at least this shows we are not imagining it and that there is an issue, the question now is what will Motorola do? Probably damn all. I think ebaying this phone might be the easier option.
[G 2014 Q&A, Help & Troubleshooting] Vatsal:
I guess this is a memory leak problem (kernel). i guess custom kernels will solve the issue and commit the fixes.
[G 2014 Q&A, Help & Troubleshooting] slugger09:
Not so sure, I installed the custom kernel on here, 200mb free with only bare min processes running IE Google services etc, You would sware this was a 512mb ram device and it certainly runs like it.
[G 2014 Q&A, Help & Troubleshooting] doppelhelix:
It's not the kernel. I disabled (renamed) all motorola an qualcomm related apk in /system/app and system/priv-app except some core apk's and the problem seems gone. The process stats looks good.

I will post a list of apps that I disabled.
[G 2014 Q&A, Help & Troubleshooting] slugger09:
Please do with instructions on how to do this. Getting rather pissed of with this phone
[G 2014 Q&A, Help & Troubleshooting] _TB_TB_:
Comparing to my Xperia Z1 Compact (2gb RAM) this phone does have RAM problems - it kills off Firefox whenever I run Feedly + it "chokes" when switching between apps that were not killed. I'm testing various LMK setting...
[G 2014 Q&A, Help & Troubleshooting] doppelhelix:
I will, if I'm sure everything runs fine.

---------- Post added at 04:54 PM ---------- Previous post was at 04:06 PM ----------

Here's the list.

Don't blame me if your phone explodes.

It is a messy hack. Please report any side effects

Make sure you removed all updates before renaming this files. Otherwise it won't work.

To be on the safe side, reboot to recovery and clear cache and dalvik.

/system/app/AonIntLT.apk

/system/app/AonIntLT.odex

/system/app/PhaseBeam.apk

/system/app/BasicDreams.odex

/system/app/atfwd.apk

/system/app/atfwd.odex

/system/app/talkback.apk

/system/app/BasicDreams.apk

/system/app/MagicSmokeWallpapers.apk

/system/app/MagicSmokeWallpapers.odex

/system/app/MotGeoFenceSvc.apk

/system/app/PhotoTable.apk

/system/app/PhotoTable.odex

/system/app/VisualizationWallpapers.apk

/system/app/Bug2GoStub.apk

/system/app/VisualizationWallpapers.odex

/system/app/com.qualcomm.location.apk

/system/app/com.motorola.android.settings.diag_mdlog.apk

/system/app/com.motorola.android.settings.diag_mdlog.odex

/system/app/HPLegacyPlugin.apk

/system/app/SmartActionFW.apk

/system/app/com.qualcomm.location.odex

/system/app/com.qualcomm.services.location.apk

/system/app/LiveWallpapers.apk

/system/app/LiveWallpapers.odex

/system/app/Exchange2.apk

/system/app/3c_main.apk

/system/app/3c_main.odex

/system/app/com.google.android.gm.apk

/system/app/com.motorola.android.nativedropboxagent.apk

/system/app/com.motorola.android.nativedropboxagent.odex

/system/app/MotGeoFenceSvc.odex

/system/priv-app/3c_devicemanagement.apk

/system/priv-app/3c_devicemanagement.odex

/system/priv-app/3c_notification.apk

/system/priv-app/3c_notification.odex

/system/priv-app/3c_ota.apk

/system/priv-app/3c_ota.odex

/system/priv-app/AonLT.apk

/system/priv-app/BodyGuardApp.apk

/system/priv-app/AonLT.odex

/system/priv-app/ContextEngineClient.apk

/system/priv-app/DemoMode.apk

/system/priv-app/CQATest.apk

/system/priv-app/DemoMode.odex

/system/priv-app/DeviceAuthApp.apk

/system/priv-app/fswriter.apk

/system/priv-app/fswriter.odex

/system/priv-app/EmaraPhoneExtns.odex

/system/priv-app/LMIRescueSecurity.apk

/system/priv-app/Mesh.apk

/system/priv-app/Moodles.apk

/system/priv-app/MotAuthService.apk

/system/priv-app/MotAuthService.odex

/system/priv-app/MotoAssist.apk

/system/priv-app/AudioEffects.apk

/system/priv-app/MotoCare.apk

/system/priv-app/MotoCareInt.apk

/system/priv-app/OMAProvisioning.apk

/system/priv-app/EmaraPhoneExtns.apk

/system/priv-app/GuideMe.apk

/system/priv-app/MotCamera.apk

/system/priv-app/MotCamera.odex

/system/priv-app/AudioEffects.odex

/system/priv-app/3c_checkin.apk

/system/priv-app/3c_checkin.odex

/system/priv-app/BodyGuardApp.odex

/system/priv-app/ContextEngineClient.odex

/system/priv-app/DeviceAuthApp.odex

/system/priv-app/GuideMe.odex

/system/priv-app/Mesh.odex

/system/priv-app/Moodles.odex

/system/priv-app/MotoAssist.odex

/system/priv-app/MotoCareInt.odex

/system/priv-app/OMAProvisioning.odex

Append .old to all of these files.
[G 2014 Q&A, Help & Troubleshooting] slugger09:
I'm curious will the release of lollipop fix these issues or is this down to Motorola to fix?
[G 2014 Q&A, Help & Troubleshooting] _TB_TB_:
Unfortunately I think neither Motorola nor Google will ever fix that. 1gb is just not enough for current-gen apps :(
[G 2014 Q&A, Help & Troubleshooting] solzhenitsyn:
Wow thanks for posting all this, you are certain the problem is gone?

Have you lost any important functionality as a result of disabling these apps?
[G 2014 Q&A, Help & Troubleshooting] doppelhelix:
Little update to my list of disabled Motorola apps:

Although there is no negative impact on the phone, the app-killing problem remains.

It's nice though, to have the bloat- ransom- spy- & crapware removed.
[G 2014 Q&A, Help & Troubleshooting] meadillas11:
so right now we have 3 options:

- sell it on ebay

- wait for 5.0 update

- wait for custom roms
[G 2014 Q&A, Help & Troubleshooting] solzhenitsyn:
Thanks for the update. Shame that didn't fix it.

I recently discovered that my systemui seems to be memory leaking, one possible cause? normal RAM consumption is around 50mb, occasionally I notice this jumps to nearly 200mb, and then my phone informs me that its stopped working, so I have to kill it.

Unfortunately I have no idea how to debug this further, any thoughts?
[G 2014 Q&A, Help & Troubleshooting] doppelhelix:
The only thing everyone should and can do, is to post at the official motorola forum:Apps getting killed
[G 2014 Q&A, Help & Troubleshooting] metalrules321:
Hmmmm.... Iam absolutely dumbfounded as to why there seems to be such an acute RAM issue with this phone

My previous phone was Xperia C, it too had 1 gb of ram, but I could never ever detect any slowdowns or app-killing . It was very smooth, and I had deleted all the bloatwares . I always had 450-500 MB of free ram left. The wierd part is that it was running on 4.2.2

I thought with the upgrade to kitkat the moto g would be flying but, for the life of me I cant seem to find the issue.

I deleted all the google and moto- bloats but there always seem to be a rather noticeable hitch and app closing when operating

Me thinks there is some kinda memory leakage .

Hopefully LP update will fix this
[G 2014 Q&A, Help & Troubleshooting] eventer289:
I would suspect that there must be some sort of memory leak or memory management issue. KitKat is supposed to be able to run on 512 MB phones, so 1 GB should be more than enough. I also don't buy the excuse that 1 GB or RAM isn't enough for Android. Both Windows Phone and iOS fly with 1 GB of RAM, so Android should be able to be optimized to run on 1 GB as well. I know they are different operating systems an are coded in different languages, but code can always be optimized.

I imagine Motorola has not patched this issue because it will be fixed in 5.0. I have my fingers crossed for that.
[G 2014 Q&A, Help & Troubleshooting] slugger09:
On my S3 on 4.4.3 it runs crap aswell. Similar spec phones. So it might not be Motorolas fault.
[G 2014 Q&A, Help & Troubleshooting] rafaelrgi:
...

But does your S3 runs without touchwiz?
[G 2014 Q&A, Help & Troubleshooting] ikjadoon:
Yo. Here is the Motorola thread; Motorola wants us to post our "Process Stats" in that thread, like this:

Settings -> Developer Options -> Process Stats. Go to the 3-button menu -> Duration -> 1 day (more accurate). Then, post that screenshot in that thread. Here's mine (you can post yours here on XDA, too, but really, post on the Motorola thread so the mods can look at it!).

Look at that. Over the course of one day, 80% of the time, my brand-new phone is running critically high on RAM use? That's a little crazy!
[G 2014 Q&A, Help & Troubleshooting] metalrules321:
[MENTION=4720565]ikjadoon[/MENTION]

Nice mate :D Thanks for linking to the moto site, gonna test mine and post the screen shot as well.

This problem need to be solved impromptu

EDIT: I checked out the link and ...WOW !

The issue is pretty baffling tbh , 4 full pages of users having the EXACT same complaints and no solution at all. O_o

I think if the ram management issue is solved, the battery life may improve too
[G 2014 Q&A, Help & Troubleshooting] ikjadoon:
Definitely. :) I saw someone on XDA mention they had reported it to Motorola on their own forums, so I went hunting, haha.

Yeah, right? Preliminary reports from Android 5.0 Lollipop, though, are saying that the memory issue has been mostly fixed! :D I haven't received it yet (XT1068), but we'll see, hehe. :D
[G 2014 Q&A, Help & Troubleshooting] solzhenitsyn:
That would be amazing if it were! Might even be able to get a custom lollipop ROM on here before I get the official one :D
[G 2014 Q&A, Help & Troubleshooting] raniero1:
I'm having the same problem, just bought the new moto g, i come from moto g 1st gen and 2nd gen is totally horrible with memory management keep closing all the apps, sometimes i would say random, a lot of people is talking about this over the web, and actually its pretty hard to understand because someone would just think its not enough memory, but coming from 1st gen that is the same phone basically you can see how the two phone memory are totally different.

Please note ive no app installed on this phone but whatsapp!

ITS LIKE IF MOTO G 1ST GEN HAD 1GB OF RAM AND MOTO G 2ND GEN HAS 512MB thats crazy!

By the way what is the system appa MOTOROLA MEMORY MANAGEMENT? Ive tried to disable it but nothing changes

Why this? Its because of a worse hardware or is it really just because a worse software that is not fixed? If the phone wont be fixed with the lollipop update i will ask amazon for a return because the phone is not working like a 1gb phone and will change it
[G 2014 Q&A, Help & Troubleshooting] TheCreat:
This is just nonsense. 1 Gb may not be luxurious, but it sure as hell is plenty to not constantly have to kill essential apps. It's a widely reported problem, often accompanied by comparisons to other phones that have the same amount of ram and the same android version, but do not have this problem.

let me add my personal example: I'm coming from a Galaxy S2, which has the same 1 GB of ram. I ran Omnirom 4.4.4, so it's the same android version. Note that Motorolas android is basically AOSP, so this comparison is quite fair (the added stuff by motorola is mostly apps that you can just freeze if you want, but they don't use any memory, at least not on my device). There's a world of difference between the two.

The 2nd gen Moto G feels like it has maybe 512 MB of ram and even just switching back and forth between chrome and reddit news will sometimes cause such memory issues that the system kills the music player (spotify) in such a way that the music actually stops. I've never EVER had that happen on my S2, and task switches were significantly smoother. Also widgets on my home screen (simple calendar, mostly) didn't have to be reloaded/redrawn roughly every third time I return to the launcher (Nova). This situation is just ridiculous... something is majorly broken somewhere, but I can't see where/why either (tweaking MinFree settings makes things a bit better, but the problem still remains).
[G 2014 Q&A, Help & Troubleshooting] laureano97:
Hey what about lollipop? Has someone make a review of the ram, no on 5.0?
[G 2014 Q&A, Help & Troubleshooting] RestlessScreams:
Had the same issues, installed Auto Memory Manager, set it to Mild and everything's running alright now (:
[G 2014 Q&A, Help & Troubleshooting] mike_ekim:
The home screen still redraws on 5.0. Edit: but not as often as on Kit Kat.
[G 2014 Q&A, Help & Troubleshooting] alamvilalves:
I did the same thing in kitkat and noticed is better :good:
[G 2014 Q&A, Help & Troubleshooting] Al-Azraq:
Sadly people is reporting that the problem is still there.
[G 2014 Q&A, Help & Troubleshooting] cmvenk:
Increasingly hellish. Just sick of reporting this in the moto forums and them not fixing or even updating anything about it. Even I am using Auto memory manager and adding the music apps to the whitelist. That seems to Just curious the default minfree values in the Auto Memory manager seems to be less aggressive than mild. Few users have reported that change to mild worked for them. Anyone care to explain?

I've attached the screenshots
[G 2014 Q&A, Help & Troubleshooting] slugger09:
The best solution is to get rid of the phone, Sold mine and got a Moto G LTE, the difference is like night and day with basically the same specs.
[G 2014 Q&A, Help & Troubleshooting] aftergr:
You make something wrong

I had l9ii with cm11 and g(2) is a lot faster

P.s. get rid of all ram management apps, they create only problems
[G 2014 Q&A, Help & Troubleshooting] cosmickamal:
No screen redraw issue. No low ram issue. heats up sometimes but not nuch around 39-40C.

Sent from my Moto G 2014
[G 2014 Q&A, Help & Troubleshooting] solzhenitsyn:
Auto memory manager didn't help me noticeably. Set to mild.

Anyone tried using a custom kernel?
[G 2014 Q&A, Help & Troubleshooting] alamvilalves:
I made mistake. Auto Memory un-root doesn't work for me too.

guys answer me one thing? this problem doesn't come from the first generation g with stock rom?
[G 2014 Q&A, Help & Troubleshooting] vikasb32:
I also have 1st gen and there is no such memory problem in stock rom
[G 2014 Q&A, Help & Troubleshooting] alamvilalves:
What did you do to solve the problem? Did you installer a custom rom?
[G 2014 Q&A, Help & Troubleshooting] SergioCY:
I Have 380~420 MB free

In the first mont my memory stay on 200~240MB.

Now I have disabled

Print plugin from HP in Printer Settings

Aplication Manager>All >GoogleCloud Print disbled

one widget Digital clock.

and In Programer mode i have set animations to 0.5(If disabled cause mau functions in dialler)

Now i get 380~420 MB free.
[G 2014 Q&A, Help & Troubleshooting] mahendru1992:
Why would you want your memory to be free? Free memory is wasted memory. The problem is that the memory never reaches below 130-150 mb, thus killing our chances for multitasking.

Enable those apps back since it wouldn't make a difference besides your placebo.
[G 2014 Q&A, Help & Troubleshooting] alamvilalves:
Did someone already used app setting mod to define some apps as resident? how did it behaved?
[G 2014 Q&A, Help & Troubleshooting] Hakkinan:
Can a custom ROM/Kernel solve this problem? i can't even play Rayman on my phone because of this, it keeps closing during gameplay.
[G 2014 Q&A, Help & Troubleshooting] solzhenitsyn:
I'm sure if/when a CM ROM gets released, this will be sorted, but I'm not sure when that will be.
[G 2014 Q&A, Help & Troubleshooting] RestlessScreams:
Comes 5.0, comes sources, comes development :b

Faux123 is just waiting for lollipop to start developing one of his beautiful kernels :3
[G 2014 Q&A, Help & Troubleshooting] alamvilalves:
Maybe motorola fix this problem until available the OTA update 5.0. I hope. :) this problem is very serious.
[G 2014 Q&A, Help & Troubleshooting] Al-Azraq:
We have some news from Motorola regarding this issue. Thanks to the reports done in this thread:

https://forums.motorola.com/posts/6168839e0e?page=1

An Android blog posted this:

http://www.androidorigin.com/moto-g-bug-multitask/

And then, suddenly:

Menwhile, it seems that freezing or uninstalling some Motorola services and apps makes the problem better but it does not fix it.
[G 2014 Q&A, Help & Troubleshooting] sjaakd:
Hello,

I was looking in my build.prop because i also have this problem.

Maby it is correct but i dont think so;

Dalvik heapsize is defined 2 times.

dalvik.vm.heapsize=36m

dalvik.vm.heapsize=256m

ro.MAX_HIDDEN_APPS=12

Also max hidden apps is very low?
[G 2014 Q&A, Help & Troubleshooting] meadillas11:
You are my hero! <3 Multitasking is now so much better

What I did was setting the lower value as a comment

#dalvik.vm.heapsize=36m

dalvik.vm.heapsize=256m

Thank you
[G 2014 Q&A, Help & Troubleshooting] sjaakd:
I am glad it works! Ik did not root my phone so i could not test it.

It is however to obvious to be the cause of the problems.

But any improvment is welkom!
[G 2014 Q&A, Help & Troubleshooting] whatever7276:
Thanks sjaakd for finding the problem in the build.prop file (I also clicked the Thanks button)

I'm not rooted yet to check, but I you said its too obvious to be the cause...

Now, seeing that there is an error/problem in the build.prop file in our phone & also seeing that the old moto g (2013) didn't have this problem even though it has the SAME hardware inside, I think we should look into the build.prop file from old moto g and compare it with ours to find any other errors like this one...

Can anyone do this?

Btw, if you find anything worth reporting here, I request you to also report it at the Motorola Support Forum.

There is an active thread named "Apps getting killed" and your finding could help Motorola fix the problem in the Lollipop update.

here is the link to the forum: https://forums.motorola.com/posts/6168839e0e
[G 2014 Q&A, Help & Troubleshooting] solzhenitsyn:
I'll try this as well on XT1068 just to be sure. Will report back in a couple of days to make sure it has really helped and not just a placebo.
[G 2014 Q&A, Help & Troubleshooting] sjaakd:
I see someone has posted it on Motorola forum. I wait to see what results are if more people try this.
[G 2014 Q&A, Help & Troubleshooting] vikasb32:
I tried remove dalvik.vm.heapsize=36 because we have already have dalvik.vm.heapsize=256 but didn't make any changes is multitasking
[G 2014 Q&A, Help & Troubleshooting] ryanraven:
theres an update that is meant to fix memory problems but i can't flash :') says error in CMW anyone want to make a working flashable zip ? :D

Blur_Version.22.11.6.titan_retuaws.retuaws.en.US.zip << LINK
[G 2014 Q&A, Help & Troubleshooting] pranshubatra707:
I got a lollipop update for soak test in India day before yesterday and I can confirm that the memory bug is somewhat fixed..not up to the mark but yes its better..

no more home screen redraws..only when I open camera app, UC browser reloads every tab..otherwise its all good...and I also noticed that uninstalling facebook app also made it smoother..I can open 5-6 apps easily and switch between them without any trouble(except camera)
[G 2014 Q&A, Help & Troubleshooting] stavoltafunzia:
I don't think it's a fix related to lollipop. I have the same behaviour with KitKat...
[G 2014 Q&A, Help & Troubleshooting] pranshubatra707:
I didn't have the same behavior with kitkat.. My UC browser always closed as soon as I left it.. But now its better.. If I stay with 4-5 apps at a time, I can easily multi-task.. Its not what we asked but atleast its something!
[G 2014 Q&A, Help & Troubleshooting] solzhenitsyn:
Tried both of these fixes (removed low heap size and increased Max hidden apps). Neither made a difference.
[G 2014 Q&A, Help & Troubleshooting] doppelhelix:
[Bug Watch] Notorious Lollipop Memory Leak That Caused App Crashes Finally Fixed After Over 1750 Stars In Issue Tracker

\º/
[G 2014 Q&A, Help & Troubleshooting] cruzelante098:
Motorola needs to fix ASAP. It is very stressful don't be able to switch between two applications. Sometimes I want to throw the phone against the wall. But I heard that LP 5.0.3 fix the ram management problem. But it take long sure.
[G 2014 Q&A, Help & Troubleshooting] zeropants:
The only time I've had this happen so far is when I close Facebook. Opening and using it is fine. Maybe once every five times I close it I get a white screen, then a black screen, then my home screen after about five to seven seconds. Hopefully some wizards in here will get a good custom rom going with a kernel that eliminates the issue. Or, the re-release of the Lollipop OTA might have something in it.
[G 2014 Q&A, Help & Troubleshooting] r4incs:
Same problem here on Moto G 1st gen. It is completely insane, there are literally hundreds of posts on Motorola forum regarding this issue, yet Motorola has not made any actions. It also seems that all Moto phones may be affected (X a G, both 1st & 2nd gen and variations) running KitKat 4.4 or newer.

Seriously. :crying:
[G 2014 Q&A, Help & Troubleshooting] solzhenitsyn:
In case anyone is still following this thread - I've been testing out the titan prime ROM this past week, it's based on lollipop.

Memory issues are definitely better but not gone completely. No home screen re draws and no UI crashes but still had music player force closing while in the background.
[G 2014 Q&A, Help & Troubleshooting] zman01:
https://code.google.com/p/android/issues/detail?id=98332

Vote guys..
[G 2014 Q&A, Help & Troubleshooting] DiamondBond:
I recently fixed the lmk and I can listen to music while using chrome with 2-3 tabs and switching from inbox and Tapatalk with no redraws :) will post the fix in a thread in general ;)

Sent from my XT1068
[G 2014 Q&A, Help & Troubleshooting] NWKENT:
Link us please..

Sent by my Motorola Droid XYBoard MZ617-32 10.1_ICS 4.04
[G 2014 Q&A, Help & Troubleshooting] DiamondBond:
will do, working on it now, will be finished in 1-2 hours ;) lookout for new thread in general if i dont link it here (might forget)

---------- Post added at 02:24 PM ---------- Previous post was at 01:36 PM ----------

http://xdaforums.com/moto-g-2014/development/script-ram-fix-t3007889

basic script atm, will improve heavily :)
[G 2014 Q&A, Help & Troubleshooting] 91Y0 90LLY:
Same issue here

I got the board replaced under warranty..Still the same...
[G 2014 Q&A, Help & Troubleshooting] fathermocker:
All my problems went away when I installed CM 12.1.
[G 2014 Q&A, Help & Troubleshooting] 91Y0 90LLY:
[/COLOR]

So no more redraws force closures?...Well I think I ll do the same...Void the warranty though..But if its worth it?
[G 2014 Q&A, Help & Troubleshooting] fathermocker:
No more redraws, no more FCs. Screw that warranty, I'd rather enjoy my phone while it lasts. I hope you have a good experience with CM too. It's like having another phone, it's amazing.
[One (M7) Q&A, Help & Troubleshooting] shameerahmed:
I had unlocked and rooted my HTC One 802d (x.xx.720.x) with S-ON. ALso changed the recovery to TWRP. Accidentally erased /system partition in TWRP and bricked my phone. Try may things to restore but unsucessfull, in that aslo relocked my phone.

My phone now shows only the bootloader screen. Recovery is also not working. If i select recovery, phone reboots to bootloader screen. Please help to restore my phone.

Here is getvar response,

C:\fastboot>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 2.49.0000

(bootloader) version-baseband: 1.01.32.0624

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.15.720.4

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: HT44PMP00364

(bootloader) imei: 3576***********

(bootloader) meid: A1*************

(bootloader) product: m7cdwg

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0751000

(bootloader) cidnum: HTC__038

(bootloader) battery-status: good

(bootloader) battery-voltage: 4059mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-6d8a0b9b

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.141s
[One (M7) Q&A, Help & Troubleshooting] shameerahmed:
Please guys help me ...