yashsingh1/xdaforums huggingface dataset:
[Motorola Droid 4] LuH:
Xposed module Pictures2SD makes the stock camera save pictures to SD fine - other than that it still is crappy :D I prefer not to swap storages so any app relying on internal storage won't crash when I take the SD out. I'm not sure if I actually use any such app though :)

For notification, I faced the same problem. Fixed with Xposed module Lollipop Power Menu with Silent mode powered on - now I can switch silent/vibrate/aloud in the Power menu. This breaks Reboot functionality though (it's somehow hacked in in CM12, AOSP Lollipop misses this feature), so I also installed APM+ Xposed module that lets add more options to the Power menu then, including Reboot - but the Lollipop Power Menu must be enabled as well, APM+ can't interfere with the Power menu on its own (took me some reboots to find this out) :D One huge mess :)

Shortly: install Xposed modules "Lollipop Power Menu" to add sound switch and "APM+" to re-add Reboot :D

EDIT: what it resulted into for me - attached screenshot :)

I'd love to have the embedded functionality of Power menu and tiles in Notification drawer from CM11 in CM12 (to which I finally decided to switch yesterday) in its original scope, this feels very unfinished. Or at least to have an option to remove accounts from Power menu and add working simple mobile data switch and silent/vibrate/sound switch to the Notification drawer tiles :)
[Motorola Droid 4] LuH:
I use PA GApps, had problems at first because the installer thought it won't fit. Didn't investigate, re-created partitions: 1 GB for /system, 3 GB for /data, 0.6 GB for swap.

Question: do I need to have swap partition, is it used in CM12? Why is Safestrap's default 10 MB?

Also how big partition should I have for /system for just CM12 and GApps (I use PA Mini minus G+ and Hangouts)? Why are CM and GApps zips altogether zipped into 450 MB, but installed /system takes up almost 840 MB - is it normal state? It surprised me that Safestrap's cap for /system is 1 GB, so there's only 160 MB left when CM12 with Mini PA GApps package is installed.

Also I transferred from CM11 to CM12 yesterday (clean install, most apps recovered either from Google's backup or my own Titanium backups) and it still has very sluggish performance, even though everything should be synchronized by now, media library updated, and I've gone through several reboots already, heavily filtered apps starting on boot and set up Greenify (it doesn't do much though as it doesn't work with Lollipop's Xposed yet). Once the app starts up it works fine, but switching apps is in my phone very slow, as if everything gets swapped away once switched away and then it takes ages to load it's data back into RAM :( It applies even to apps that worked fine at my old and "dirty" installation of CM11, such as Messaging or Gmail.

Is this overall experience as our device ages and systems get more bulky, or do I do something wrong?
[Motorola Droid 4] Oggie7797:
Buddy that's cache, not swap. Big difference. I usually set mine to 300mb
[Motorola Droid 4] LuH:
Thanks, dunno how I mixed those two up :D Anyways, right now according to Safestrap I got 289/984 MB free at System, 474/2952 at Data and 581/600 at Cache.

Is there any dedicated swap space in Android, or is it go in Data or Cache, or does it not swap at all?
[Motorola Droid 4] Oggie7797:
It doesn't have a set swap. You can partition a swap on your sd card and setup the system to read it but dunno if it works on lollipop
[Motorola Droid 4] sd_shadow:
"/cache

This is the partition where Android stores frequently accessed data and app components. Wiping the cache doesn’t effect your personal data but simply gets rid of the existing data there, which gets automatically rebuilt as you continue using the device.

"

Cache is also used for temp files, like playstore .apks and official moto updates before they are installed. see http://www.addictivetips.com/mobile...plained-boot-system-recovery-data-cache-misc/
[Motorola Droid 4] welder73:
Greenify WORKS with Xposed Alpha 2!

Try to disable Trebuchet and use some other launcher,Nova,Apex...

And flash one of this kernels,it will improve performance ;)

I'm using Run 'N Gun Lite version (300 Mhz,1 Ghz,1.2 Ghz,1.3 Ghz) on my Razr with CM12 and I feel the difference.

Sent from my Razr XT910
[Motorola Droid 4] stargo:
It's not really used for anything anymore in current android-versions. Only for scripts which should be automatically executed in recovery (used by cmupdater for example) and recovery logs. That's why I set it to 10MB in the new Safestrap. Why waste space?

I am using 10MB on maserati and umts_spyder myself.

Cheers,

Michael
[Motorola Droid 4] LuH:
Thanks for the tip, will try. I think though that while it may boost the performance, there's some major problem in my installation that needs to be resolved to really make my phone usable.

Greenify - how did you get it to work? I have Xposed 3.0 alpha2

installed, Greeenify activated (and am after reboot) but Greenify thinks it's not activated. If I try to allow any of the Xposed options in Greenify, it takes me to a Xposed Setup Guide that wants me to press button "Activate module, Reboot" which takes me to the Xposed framework's modules menu, where Greenify is already activated - so not working for me sadly...

Thought so (as it doesn't use the space I allocated for it anyways), thanks for confirmation :)

Thanks for all your other replies as well :)

What I'm trying to get to is that my device is awfully slow and behaves as though it was constantly swapping - even though there's usually over 200 MB free RAM according to Settings - Apps - Running. Do you have any idea how to fix it?

Usually after I work for a while with whatever app, even tapping home goes black screen for a few seconds before Trebuchet slowly loads, bringing up recent apps list takes over ten seconds, switching to other app can take over 30 secs, more robust apps (like Maps or Google Camera) usually get ANR before they load or during going through their settings. Earlier today I was late to meet a friend, wanted to reply to his message with something like "3 mins late, sorry", but I got to the meeting point before I could reply as the quick reply dialog got stuck :( Also it took me several rings (maybe 30s) before incoming call information showed up, which was VERY inconvenient.

I'd really appreciate if you had any idea how to correct this. I thought if there is any swapping taking place, disabling it (even for the cost of non-active apps FCing regularly) would help. I'm actually considering downgrading back to CM11 right now...

I have several accounts set up, including two Google ones, Facebook, HaxSync for Facebook, Dropbox, LinkedIn, and VK. Altogether they sync about 1 700 contacts. Then I have about 7 000 text messages (I transfer everything since about 2009, hate to lose information) - maybe some of those use up too much RAM? It worked fine on CM11 though, or at least way better than on CM12 - and my RAM appears to have enough free space anyways. Extra background apps are usually only Avast, Poweramp, Facebook, Dropbox and Greenify. IMHO none of them should be hogging processor or RAM significantly.

I have 108 apps installed, on the top of CM12 with PA GApps Mini. None of them (except for those listed above) are allowed to start on their own though, so mostly they should take up only /data space, not any other system resources.
[Motorola Droid 4] BFG9000D:
I have the same issue, but my install is very clean. I have only 15 apps and 2 accounts linked.

Even though the phone behaves like its swapping, there is actualy no swap file/partition enabled (or maybe there is and its not showing up here). You can check this by typing free on the console emulator. Mine says total swap = 0

I think this is a CPU issue, as setting the governor to performance (locks the freq at 1.2ghz) made things better, at the price of a dead battery in a few hours. And when the slowness starts to happen, the idle CPU usage is about 70%.

I've noticed a few system processes using a lot of CPU, but I dont really know what they are doing.

kworker, Android System, surfaceflinger, system UI, loop98 are always switching places, fighting for the top of the list. I also noticed a kswapd0 using about 1% cpu (what? I though there was no swap...)
[Motorola Droid 4] welder73:
Install SELinuxModeChanger from the Play Store,set the kernel to Permissive and than Soft reboot.

Sent from my Razr XT910
[Motorola Droid 4] LuH:
If free tells us truth, no swap on my device neither.

Your list of CPU hoggers reminded me that usually when Browser lags, I get ANR of Android System - this may be the reason maybe?

Thanks for suggestion :) Didn't help either unfortunately though :( My SELinux is permissive now, I rebooted several times, disabled and re-enabled Xposed Greenify module, yet still Greenify doesn't recognize itself enabled at Xposed - it still shows me the "Wizard" wanting me to enable it in Xposed and reboot, opening Xposed on the button tap :( See screenshots at my site (I'm at XDA Free on my phone and it doesn't seem to upload attachments). Any more ideas?
[Motorola Droid 4] welder73:
You did Soft reboot,not normal reboot,right?

Oh,maybe you don't have the newest Greenify,you must install 2.6 Beta version. :)

Sent from my Razr XT910
[Motorola Droid 4] LuH:
Must be it - just requested the beta to try. I have official 2.5.2 off Play.
[Motorola Droid 4] Dalamar666:
Very interesting... anyone can help? I have the same issue... trebuched in cache, slow charge... :(
[Motorola Droid 4] maisdoiscorregos:
My phone is too slow, even appearing free memory 200MB in Apps, Running, but Developer Options, Process Statistics, he constantly warns that the memory consumption is critic, accusing only 24MB free
[Motorola Droid 4] LuH:
...and new issue: I can't install anything (at least from Play), it says insufficient space - but I have 240 MB free in /data (and over 1GB in both /sdcard and /sdcard-ext). Any clues how to fix it?

EDIT: the installation problems are exclusive to Play - installing from SD or Xposed repository works fine. Size doesn't matter, I can't install even the smallest tools from Play, nor any updates work. Basically it refuses to download apks because it thinks some storage is full. I don't know what storage it uses, but in all my storages is enough space so it must be some other problem.

I tried deleting Play's data, didn't help, nor did rebooting device several times (no soft reboot, proper one going through Safestrap's splash screen).

Any other ideas? Is there a way to see Play's error log?
[Motorola Droid 4] Septfox:
This in mind, is there any way to repartition the internal (stock) storage to decrease the size of /cache/ and create a larger /data/ partition, or is it not possible without modifying the bootloader?

Try going to Settings>Storage, under Internal tap Cached Data, clear it when prompted.

I remember having trouble when testing with a 2gb partition, installing the stuff I generally use takes ~1.8gb and it'd managed to partially fill what was left with cached data. There was technically room left for what I wanted to install next, but Play Store didn't want to acknowledge the adequate free space; clearing the cached data convinced it to reconsider. Might be the same case here.

Probably isn't a terrible idea to resize your data partition so you always have around 500mb extra, to have room for app growth and caching. Or just go all-out and bump your data partition to 4gb to help prevent headaches later.
[Motorola Droid 4] LuH:
Thanks, clearing cache helped. Will definitely increase the partition size later.

Funny is that the system thinks that Other users - Guest takes up 6.89 GB of my 2.88 GB space, yet there still is 379 MB available :D

What space does Guest user really take up though, and is there a way to remove it? I never let anyone play with my phone, so I don't need other users.
[Motorola Droid 4] sd_shadow:
I believe [MENTION=5003013]Mentor.37[/MENTION] posted a script for mounting the unused preinstall or webtop partition space to storage. If you wipe them, you would get about 2gb of extra storage.

---------- Post added at 11:14 PM ---------- Previous post was at 11:10 PM ----------

Code for mounting the unused preinstall and webtop partitions to SD storage http://xdaforums.com/showthread.php?p=59253593
[Motorola Droid 4] sd_shadow:
I don't think repartitioning is possible without high risk of hard bricking the device, and yes the locked bootloader does limit what can be done.

This is quite off topic, and you should start a new thread if you are going to continue.
[Motorola Droid 4] lucize:
tried to change the type of preinstall partition and the device would boot into fastboot: (invalid cg hab (cg: ebr, status: 0x0056)

so a recovery is needed, I'll try a resize if I can compile the tools in safestrap. but I think it would not work

later edit: used fdisk to resize in safestrap and it broke again so it can't be done

regards
[Motorola Droid 4] LuH:
Good call, created new thread here: http://xdaforums.com/droid-4/development/q-dev-suggestion-space-rom-slot-t3062812

Also answered [MENTION=4772154]lucize[/MENTION] (with even more questions :D ) there.
[Motorola Droid 4] LuH:
Asking what else can break? PA GApps were just taken down by own dev who decided to retire. Shame really, I liked them a lot.

Fortunately, there is a mirror available for PA GApps 5.0.1-20150315 - Full, Mini, Micro, Pico: https://www.dropbox.com/sh/nvwus410ar9n6sq/AAAOxA-zxpKCDxsFIj6Fxasca?dl=0

Original usage instructions from now wiped thread are accessible here: https://web.archive.org/web/2015031...apps-official-to-date-pa-google-apps-t2943900 - among others useful instructions on how to parametrize your installation.

Now, does anyone have some recent version of PA GApps (ideally Mini) for 4.4.4? I'd like to have it ready in case I decided to go back to CM11, and can't find it anywhere at all :( Or, is there any alternative modular KK GApps package available?
[Motorola Droid 4] Dalamar666:
Well, anybody said nothing (i think).

I'm trying a kernel tweak using 3C Toolbox and, i think, my D4 is more fluent and smooth

If you want to try this

1- Go to 3C Toolbox

2-Kernel Control

3- Change vm.dirty_background_ratio to up %. I'm using 55% now... test it if you want, or more%

4- Change vm.dirty_ratio to up % (more than before setting). I'm using 75%

5- Change vm.vfs_cache_pressure to less %. I'm using 60%

In addition, i'm running [MENTION=1070688]joojoobee666[/MENTION] Custom OC Kernel => 03-19 CM12 OC Full Scale Lite 1.3Ghz Kernel with the fix "Power HALs to correct speed setting issues"

Then:

1- Go to 3C Toolbox

2-CPU Control

3- Change the minimum CPU to 500MHz or 600Mhz (and the max to 1.3GHz)

My trebuchet stay in RAM and i think that apps open fastly...

Try and enjoy... give your ideas...
[Motorola Droid 4] sd_shadow:
Thanks for the PA 5.0.1 link, and there are some 4.4.4 links in my list

sd_shadow's [Collection] of GApps
[Motorola Droid 4] zadops:
hello, Im new to cm12, just installed cm-12-20150326-NIGHTLY today. as I search, I can root the phone in the developer option, but unfortunately, I couldn't find that option anywhere in the settings menu. any suggestion? thank you
[Motorola Droid 4] welder73:
Settings/About/Build number,tap on it 7 times.

Sent from my Razr XT910
[Motorola Droid 4] zadops:
you gotta be kidding me, I can't believe it could be hidden like that. thanks guy
[Motorola Droid 4] welder73:
I'm serious :D

It's a well known fact,maybe you are new in Android world ;)

Hit thanks if I helped you

Sent from my Razr XT910
[Motorola Droid 4] LuH:
[MENTION=1656112]zadops[/MENTION] try also repeatedly hitting Android version and CyanogenMod version (all in Settings - About) ;)

(It's just an easter egg, nothing harmful of course)
[Motorola Droid 4] bustr85:
I've had to fall back on my Droid 4 as my new phone's battery gave in. So I find CM11 awfully slow so I want to give CM12 a try. I can see that a new recovery is a prerequisite.

In the instructions for updating the recovery it says to boot into stock - what happens if I haven't got stock any more? Or in other words how do I remove the old safestrap and recovery?

---------- Post added at 08:59 AM ---------- Previous post was at 08:42 AM ----------

Also

1. Does CM12 work in the Stock Rom slot?

2. Can I dirty flash CM12 over CM11?

Thanks
[Motorola Droid 4] LuH:
Just install safestrap from your CM11 (to be safe first install old ss installer, uninstall recovery, install new installer, install recovery), from the stock slot. I don't think you'll help yourself though, as my experience with CM12 is worse than with CM11 regarding speed - as if there were not enough RAM. But maybe on the stock slot it will be better.

1. People reported it working here.

2. Yes. I think it may slow your system down though, I always do a clean install when changing versions. My experience from dirty flash of CM11 over CM10 was that there were some weird leftovers. Nothing major though.
[Motorola Droid 4] bustr85:
Thanks for your quick answer
[Motorola Droid 4] azkay:
Anyone tried HDMI out? If I boot into stock it works, isn't working on 12-20150323-NIGHTLY that I installed when trying to get it working.

Do I need the original HDMI apk from the stock OS or something to get it working? I saw a previous post in here saying it was working, isn't for me though.
[Motorola Droid 4] moodroid:
It's working for me on 12-20150320-NIGHTLY. I am using one of JJB's kernels though, but I think I'd tried it on earlier nightlies with the default kernel and it worked then too.
[Motorola Droid 4] azkay:
I'll try going to 320

EDIT::

No bueno. The cm-12-20150320-NIGHTLY-maserati.zip download 404s and can't find it mirrored anywhere.

Tried latest nightly, still blank when I plug in hdmi. Tried with one of JJBs kernels (latest low voltage) and still nothing. ):
[Motorola Droid 4] moodroid:
Sorry to hear that. I'll probably be updating soon, so I'll let you know if it still works afterwards...
[Motorola Droid 4] moodroid:
I've just done a wipe and installed 20150331 nightly, and HDMI is still working. This is in rom slot 1 btw, in case that makes a difference. I have just remembered something though - the very first time I tried HDMI on CM12, I thought it wasn't working, but after disconnecting and then connecting again with my phone unlocked, it started working and has been OK since, so it might be worth fiddling about a bit.
[Motorola Droid 4] stargo:
Yes, HDMI state-changes are only detected when the screen is on. If I make the necessary changes to the code so it is detected while the screen is off, the phone won't go to sleep at all, ever...

Cheers,

Michael
[Motorola Droid 4] D4user:
Hey, guys! I'm a user and I don't understand most of the word (lol) you use, but still I'll give it a try here.

So I updated my D4 to CM12 last month and update it regularly. BUT still I have some very anxious problems:

- it's very very slow like I walked 10 min before my Chrome even starts opening.

- when I try to make a call it doesn't even display the call screen

- I can't even set a ringtone no matter what I tried. It just keeps beeping.

Any guesses?

Would be very very very thankful ! (before I throw the d*mn thing to the wall) :)
[Motorola Droid 4] 4stringenator:
I have 12-20150401 (Microsoft April fools version) loaded with Mentor.37's Safe Strap and ramdisk.

It seems to be working fine. There was a nightly a week or so ago that had a lot of lags and hangups but other than that mine has been function pretty good lately! :good:
[Motorola Droid 4] maisdoiscorregos:
CM12 is extremely slow when you install various Apps (mainly Apps Facebook (Facebook App and Messenger simultaneously). Apparently it suffers memory management problems since, ART uses more RAM. I believe that will solve not use Custom Kernel with OC. In CM11 this problem does not occur. And a great job CM12 term in an old device, but have a phone, or you use only as phone without Apps, or install several apps, and it is slow, so slow, that can not meet a simple phone call. I think need to try to resolve this problem of lack of memory that constantly says the state of memory and critical in developer tools.
[Motorola Droid 4] bustr85:
Well, I have to agree I've installed Facebook and later I've removed it as it really did slow the phone down - even the installation was a painful process.
[Motorola Droid 4] LuH:
Facebook really is a killer. I use fairly old version 2.3 that doesn't force me into Messenger and it's greenified most of the time - still using it is quite slow.

I experimented with many versions, this seems to be the last one not to disable built-in messaging eventually. https://webshare.cz/file/5x63ud3vQm/facebook-2-3-apk
[Motorola Droid 4] welder73:
I'm using this one,it's very lite and functional ;)

I uploaded apk if anyone want it :)
[Motorola Droid 4] LuH:
It's few versions up (and discontinued) in its thread. Thanks for the idea though, it led me to installing Tinfoil :)
[Motorola Droid 4] LuH:
I'm now in Stock slot using JJB's overclocked kernel (which helps a bit, but not enough) and most problems I can put up with somehow, but the main problem for me is the often missing capability of answering calls.

Usually the phone is not awaken right away when it starts ringing and even when turned on manually it often fails to show the incoming call screen before the other party stops calling. Now it pissed me off even more, because the phone was so laggy that while I had incoming call, I couldn't unlock the phone before the screen timeout put it back to sleep, because the unlock screen didn't show up.

Is there a way to put Dialer to some high-priority mode, to make it always stay in RAM and with dedicated CPU power even when the rest of the system stutters?

I like to play and like new UI a lot, but I need to use it as a phone as well :)
[Motorola Droid 4] azkay:
Still nothing, even plugging it in when screen is on.

The display that I plug in changes from "no signal" to a black screen at the phones resolution, but that's all it shows.

Maybe my phone just hates me ):
[Motorola Droid 4] Dalamar666:
Try installing latest nightly with clean install/full wipes without restore any backup or data.
[Motorola Droid 4] LuH:
Giving it a shot, looks promising so far, will see in several days...

Edit: OK, it's not much better - I just couldn't receive a phone call when the phone was on. At the time the phone call dialog appeared, the other party stopped calling already (maybe 30 seconds after the phone started ringing).

So, any thoughts/suggestions on how to put Dialer in some privileged state with resources always allocated? I don't mind Trebuchet or even System UI FCing from time to time, but accepting calls is a thing I REALLY need, the most important one for me.
[Motorola Droid 4] Shani Ace:
After I got my Droid 4 a few days ago, I immediately installed the by then latest CM12 nightly (cm-12-20150403-NIGHTLY) from the official CM-website and I'm quite fond of Lollipop already. Especially the Priority Mode, that's something I was looking for!

Now the only annoyances are that the phone always plays the default ringtone, no matter if I put my ringtone into the sys/media/ringtones folder, the ringtones folder in the internal storage or on the SD card. It always does choose the right ringtone, but plays the default one. Btw I had to set the ringtone on many Android devices now and until now I always managed to get it ringing the right tone. But as I read in this thread, this seems to be a general problem of CM12, right?

Besides, the phone sometimes slows down (especially when opening Opera), so I thought about downgrading to CM11 as I heard it would run faster on this device.

But then I thought: Maybe there is another Lollipop-ROM that runs faster than CM12? Is there something like that, can anyone recommend another 5.0 ROM (with ringtones working)?

Thanks in advance for your advice.
[Motorola Droid 4] Puppymang:
i dont think we have a lot of options. many roms are CM based so whatever bugs we have present here are also in others

you could try http://xdaforums.com/droid-4/development/rom-sonic-kang-project-t3070769 but i personally havent tested CM12/5.X in a while because i find CM11 to be much more reliable