yashsingh1/xdaforums huggingface dataset:
[RAZR HD Android Development] Zeljko1234:
Maybe I've just find something related to the calc bug. Playing with OOM, I've accidentally taped "clean" button. 3C toolbox started to clean memory (kill apps, processes...). I've canceled that but now calc bug is back (after day without). Earlier I've figured out that calc bug happens after few days of uptime or after OOM killed some background apps. Looks like that system kills something that should not ever be killed. GPU related process? Or just important system process? Anyway, after reboot everything is back to normal (more or less).

Need more investigation. If someone wish to contribute, try what I did. Before and after check all processes using ps in terminal. You're going to be surprised by number of processes ;)

I'm going to type ps >/sdcard/proc_boot.txt. Clean memory with 3C toolbox, then ps >/sdcard/proc_kill.txt and then compare two files and find what's missing.

Goal is to find which process get killed and it's dead lead to calc bug.

---------- Post added at 12:29 PM ---------- Previous post was at 12:22 PM ----------

Damn it, now it's not so easy to reproduce calc bug. Have to fill memory first with as many apps and then to get "something" killed.
[RAZR HD Android Development] Zeljko1234:
I've got it! Indeed some processes get killed. Let's try together figure out which one or few should not be killed. Come one Linux/Unix experts :)
[RAZR HD Android Development] CWGSM3VO:
Took a look and compared with diff -- nothing stands out to me. Yes, processes are being killed and some of them shouldn't be killed but that's a side-effect of 3c versus something in design.
[RAZR HD Android Development] Zeljko1234:
Point is that after some of processes get killed, calc bug is back. I know that 3c kills to many but that was the quickest way to reproduce bug. I suppose that system (OOM) also kills something what shouldn't. Try to find what. (I cannot remember the name of the game to find guy on the photo...)
[RAZR HD Android Development] lcc014:
I tried backups, file manager, wipe, reboot and install. So far so good. Also, it works with OpenRecoveryScript fine too when I download/install nightly.
[RAZR HD Android Development] marknoll:
Now..can this be used with the atrix HD mb886?
[RAZR HD Android Development] lcc014:
I don't have the answer. Could you give it a try ?
[RAZR HD Android Development] gappledroid:
I hope this commit: http://review.cyanogenmod.org/#/c/91509/ fix the issue with alarm
[RAZR HD Android Development] marknoll:
I'm too afraid to. Lol
[RAZR HD Android Development] niksy+:
Do these do any good to you guys? http://downloads.blissroms.com/Recovery/mb886/
[RAZR HD Android Development] lcc014:
:(

---------- Post added at 09:59 PM ---------- Previous post was at 09:57 PM ----------

Thanks for the link. I am using XT925, so I am good with TWRP latest. Marknoll, on the other hand is using mb886.
[RAZR HD Android Development] gappledroid:
How it is supposed to copy, cut and move in file manager? I don't see such options within the app or I'm missing something.
[RAZR HD Android Development] TecknoFreak:
Yeah great ROM but to me is not up to date performance wise. It lags and I get random reboots here and there
[RAZR HD Android Development] CWGSM3VO:
Select the checkmark box of each item you wish to move/copy and then navigate to target path, press menu button and choose operation.
[RAZR HD Android Development] marknoll:
I'm on cwm 6.0.5.1.. Its OK, just wanted twrp. I love twrp lol
[RAZR HD Android Development] Zeljko1234:
Waiting for 5.1.1 to finally fix memory leak? :D

https://code.google.com/p/android/i...us+Owner+Summary+Stars&groupby&sort&id=159738
[RAZR HD Android Development] ermito:
What were they thinking? Jesus. "Look, we have this horrendous memory leak issue, but hey, let put some nice animations in clock icons".
[RAZR HD Android Development] lcc014:
you select the file that you needed. You will see in low left hand corner: x file selected.

change the directory to the destination folder that you wanted to.

Once you are in destination folder, tap on the "3 vertical dots" in the lower left hand corner. That brings up an Actions menu. Pick the operation that you want to apply to the previously selected file.

You are done.

Hope this help.
[RAZR HD Android Development] Zeljko1234:
5.1 has new nice animation in clock icons?! Haven't noticed that :D
[RAZR HD Android Development] CWGSM3VO:
I think that's a case of user misunderstanding. System becomes overburdened with 800mb free? Makes no sense. I see there's an internal fix (I'll keep my eye out for it) but no real details except anecdotal.
[RAZR HD Android Development] gappledroid:
Thank you mates. I thought it was like in Windows, copy/move on the selected file and go to the target path to paste. :p
[RAZR HD Android Development] Zeljko1234:
Be thankful that you don't have to enter Linux commands (I'll make that way) :D
[RAZR HD Android Development] djvita:
I recently took some pics with the cm camera, and FV-5

HDR works great, in very well lighted situations like outdoors the quality is decent but the pic takes time.

In low light or indoor shots its not as good, but some tweaking on Snapseed removes the softness and low contrast in a warm lighting condition.

But it's terrible for macro/closeup shots, sometimes the camera could not focus at all, always swinging focus, to the point where it could "hold" focus but not allow to take the picture. most of the time they come out blurry

I think its the sensor but pics are always soft, as in muddy.

FV-5 takes pics faster and usually are sharper but had the same focusing issues on closeups.
[RAZR HD Android Development] Zeljko1234:
Try to use continues focus. Dlsr camera is also very good, it's possible to manually select focus point.
[RAZR HD Android Development] gappledroid:
I'm thankful I don't need the use of Linux commands, isn't my way ;)
[RAZR HD Android Development] niksy+:
Quick question - is live preview of video recording okay in CM12? Because the screen just goes completely black as soon as I start recording in BlissPop. The video records fine, though, it's just that live preview does not work.
[RAZR HD Android Development] MarcusWhite:
Anybody using f2fs format? I was thinking about trying it. Not sure which parts are format friendly and which parts aren't.
[RAZR HD Android Development] Zeljko1234:
Many of us use f2fs for data and cache partition.

[MENTION=4442286]niksy+[/MENTION] video preview works fine. BP is experimenting with toolchains, compilation, etc.
[RAZR HD Android Development] lcc014:
Just updated to 0318 nightly and I saw something which I am not sure whether that is normal or not.

After the phone screen timed out and goes blank, I hit the power button. Screen comes back on and display "No Service." in upper left hand corner. I am using AT&t phone service. I normally saw AT&T in upper left hand corner instead. When I unlock the phone, I could see signal is at full bars.

I did not see this "No Service." display with 0316 nightly. However, I did see this "No Service." before in older nightly. Is that typical behavior or a bug ?

Thanks,

Ching-Ho Cheng
[RAZR HD Android Development] CWGSM3VO:
I've seen this once in a while. You should still have service regardless of what the status bar says unless you really don't have service ;) Each time I've seen it, it was a false-positive, I still had service.
[RAZR HD Android Development] lcc014:
Yes, I still had service - full 5/4 bars status. So I can ignore it then. Thank you.
[RAZR HD Android Development] marknoll:
After three reboots, it goes away. Confirmed after flashing this twice. With clean install!!?
[RAZR HD Android Development] IronTechmonkey:
Could this be related to CM L5.1 back-ports to L5.0x regarding power saving tweaks that prevent battery drain during quick looks at the display? Supposedly, generally described; 1 second of screen power on (let's say to check the time) uses 2 minutes of standby time. I could see how minimizing network status updates could be part of that
[RAZR HD Android Development] djvita:
you mean this one? https://play.google.com/store/apps/details?id=pl.vipek.camera dlsr camera pro

didnt find the first.
[RAZR HD Android Development] Zeljko1234:
Yes, pretty god in some situation, Next camera for HDR and regular shoots, Camera FV-5 has good GUI, light metering more but slower than first two. Cinema FV-5 one of the best for video recording. Couldn't find one app to rule them all.
[RAZR HD Android Development] lcc014:
I did power reboot and no more No Service display. Thanks.
[RAZR HD Android Development] CWGSM3VO:
Hi ho, hi ho, off to build I go :)
[RAZR HD Android Development] Zeljko1234:
Damn it! Got calc, calendar, etc. bug again after less than one day of uptime. I see a lot of lowmemorykilling by kswapd0 in kernel log even there was enough free memory.

Short search gave me some interesting info about kswapd. It's used to handle swap but afaik phone doesn't use swap (maybe would be good to use it?). Looks like that calc bug is kernel related :(

http://ubuntuforums.org/showthread.php?t=2072042
[RAZR HD Android Development] CWGSM3VO:
GPU crash again. In my testing however, the way calc allocates memory is strange. I'll send you a newer build to try tonight. I wouldn't worry about kswapd, it's doing it's job given the circumstances.
[RAZR HD Android Development] ermito:
I'm having calc bug as well, even if the battery settings is set to performance. Happens with calc, Play Store and music player.
[RAZR HD Android Development] CWGSM3VO:
I just got a big bunch of updates from the Play Store for various apps. I can't repro the calc bug currently.

EDIT: Phone made a liar outta me, calc bombed.

EDIT: One off, after killing the task (and others) off, I can't repro it now.

EDIT: It's calc itself I think to some extent -- I can launch it without issue now but each time it's different after launch; first the keypad is white text on black, then it's white-ish on gray-ish.
[RAZR HD Android Development] Zeljko1234:
Unfortunately is not just a calc, first I've noticed with business calendar 2 as I use it a lot. You can imagine when you have to enter or check something related to work and you cannot open damn calendar. Then reboot, wait, try again, so frustrating.

If bug is related to the kernel or even worse libs, then 5.1.1 will not help us.

p.s.

kswapd0 must die! :D

---------- Post added at 04:26 AM ---------- Previous post was at 04:26 AM ----------

Do you mean clear recent?
[RAZR HD Android Development] CWGSM3VO:
Yes, I mean clear recent.

As the link pointed out, it's a kernel thread and thus cannot killed. kswapd has been around since ... well, forever. It's not the culprit here :)
[RAZR HD Android Development] Zeljko1234:
Just maybe could be. Guy fixed issue with custom kernel... As phone doesn't use swap, we don't need kswapd.
[RAZR HD Android Development] CWGSM3VO:
That guy is a fool with no real solid grounding in reality, I wouldn't listen to people like that :)

http://www.science.unitn.it/~fiorella/guidelinux/tlk/node39.html
[RAZR HD Android Development] Zeljko1234:
I would only say: kswapd0 must die! :D
[RAZR HD Android Development] CWGSM3VO:
Just like TV, not everything on the Intarweb is true ;)
[RAZR HD Android Development] Zeljko1234:
Really!? I thought that everything what is on tv, espeicaly news, are true. Don't tell me that Santa Claus doesn't exists?! :(
[RAZR HD Android Development] CWGSM3VO:
I got nothing... :)
[RAZR HD Android Development] Zeljko1234:
We're going to switch to Windows soon :D

http://techcrunch.com/2015/03/17/microsoft-android-rom/
[RAZR HD Android Development] djvita:
dhacker built ubuntu touch once, but i was too scared to try it out

link

https://wiki.ubuntu.com/Touch/Devices
[RAZR HD Android Development] Zeljko1234:
Link for the brave hearts?
[RAZR HD Android Development] djvita:
you're in luck only for xt926

https://wiki.ubuntu.com/Touch/Devices/xt926
[RAZR HD Android Development] Zeljko1234:
Last update 7-10-2013 or I'm missing something?
[RAZR HD Android Development] djvita:
bought them all. maybe when i upgrade to the s6 ill still use them. gotta love saved paid apps 4life.

ill test them out in low lighting conditions and indoor, let you guys know which one works.

Google Camera vs Camera FV-5 Pro vs DLSR Camera Pro vs Camera Next.
[RAZR HD Android Development] djvita:
yeah he only built once. there are instructions there.
[RAZR HD Android Development] CWGSM3VO:
I can't remember who stated that touch tones on the soft keyboard would at times not make sounds when typing, looks like the problem has been fixed:

http://review.cyanogenmod.org/#/c/91466/
[RAZR HD Android Development] kayonesoft:
Hey folks.

I finally racked up enough posts to finally actually contribute to this thread! (Boy it sure is hard to post anything meaningful when the only interest you have is this thread)

Anyway, as it is such, I have just upgraded to the Nexus 6 and it's time to do away with my old phone. Since there are some minor screen issues (as discussed here) I am not comfortable reselling the device.

So I thought I'd donate it to one of you nice developers who are in need of spares to continue the good fight. It feels like the right thing to do considering everything your hard work has done for me.

As stated, it's a Verizon model XT926 and has some minor screen issues (but nothing severe enough to inhibit development use)

It's currently unlocked and on KKBL.

I just updated it to CM-12-20150319-NIGHTLY-xt926 and updated TWRP to the latest for this model at the time of writing.

I will

not

be sending it with a SIM card, SD card (it will have the card holder) or any accessories (including power cables). It will just be the device.

So who's up for it?
[RAZR HD Android Development] marknoll:
It was me..how do I fix it?

---------- Post added at 11:07 AM ---------- Previous post was at 11:02 AM ----------

I'm on cm 12, atrix HD jbbl though
[RAZR HD Android Development] CWGSM3VO:
You'll need to wait for an updated build for your device unfortunately :(

---------- Post added at 05:41 AM ---------- Previous post was at 04:45 AM ----------

zRam seems to be back in vogue again .. I'm going to try it in my builds and see if any benefits are gained. So far, from what I've seen, one Samsung device and the XT925 JBBL have been tested with it and reported gains.

---------- Post added at 06:15 AM ---------- Previous post was at 05:41 AM ----------

Interesting.. so zRam is enabled in defconfig but I can't load the driver... hmm... *edit* got it going...

[MENTION=2218140]kabaldan[/MENTION] - wrt to the GPU crashes reported; I see some commits against creating VFP in procfs (and I see errors in kernel log about being unable to create the required procfs entries) and I'm also seeing L2 cache_erp errors as well. Could this be related? *edit* I also see the kernel is creating a framebuffer for 1920x1080, that doesn't seem right for our display? It later falls back to 1280x720 which is correct.
[RAZR HD Android Development] Zeljko1234:
Interesting, zRam may help us with memory problem but is it going to put CPU under more pressure?

When we talk about swap, what about really use it? It is slower than RAM but will let the phone run more apps or temporally store data like web page.
[RAZR HD Android Development] CWGSM3VO:
From what I understand, zRam is not conventional "swap" as we know it. It's compressed (using lzo/lza) pages of memory "swapped" out (which led me to finding other commits to have enhanced decompresssors for these compression algorithms but that's for another day...).

The idea is to swap out unused pages to make space for new ones, in a sense, it extends available ram at the cost of mostly nominal CPU usage.

That's what I get out of the manpage for it anwyays :)

EDIT: On the practical, I'm using 512MB for zRam (same as the commit for XT925 JBBL I saw from dhacker) but I'm not entirely convinced it's all that great but I'm still playing with it + tweaking. However, I have available memory down to 86MB currently and it's still fairly responsive with a bit of lag here and there.

EDIT: If you want to play with it (KKBL only, not sure if JBBL kernel has it enabled) execute the following from an elevated shell:

root# echo 536870912 > /sys/block/zram0/disksize

root# mkswap /dev/block/zram0

root# swapon -p 10 /dev/block/zram0

The "-p" refers to swap priority, since we have only one swap device, 10 is fine. Try it yourself and see how it works for you.

To see how it's being used, execute:

shell@vanquish_u:/ $ free -m
total used free shared buffers
Mem: 780276 769276 11000 0 220
-/+ buffers: 769056 11220
Swap: 524284 389856 134428
[RAZR HD Android Development] kabaldan:
The VFP error is caused by new commits that allow to enable NEON kernel mode. VFP is now initialized earlier than before while procfs is not ready yet. It can be fixed by moving the procfs entry creation to a later kernel init stage or the bounce reporting can be completely removed (it's useful only for diagnostic purposes to see statistics of how much userspace apps use deprecated VFP instructions.) This is of very low importance for us, but should be fixed, eventually.

EDIT: http://review.cyanogenmod.org/91878

The L2 cache_erp error happening once after msm_cache_erp_probe can be seen on stock kernel as well, I haven't bothered to look into it.

1920x1080 is a second framebuffer for HDMI output, the size is correct.

I see no relation of any of the above to the GPU crashes.
[RAZR HD Android Development] Zeljko1234:
That's great! I forgot about swapon and how to create swap in file. Recently I'm spending more time using terminal on the phone, as is not enough ssh/cli in my life anyway :D As I can see the phone started to use it, will see is it better.
[RAZR HD Android Development] Zeljko1234:
Stupid OS is killing apps even swap is almost empty. With very light OOM setting finally swap is used, started many apps, loaded few heavy web pages... No killed apps, no pages reloading but phone reacts really slowly. Like old PC without enough memory, pulling everything from HDD. Flash internal memory should be better than that.

total used free shared buffers
Mem: 780276 768244 12032 0 176
-/+ buffers: 768068 12208
Swap: 524284 347528 176756

Phone reaction is slow when switching apps but when app is finally in front, works just fine.

Edit: Almost forget most important thing, no calc bug or anything like.
[RAZR HD Android Development] CWGSM3VO:
Just PM'd you Z.
[RAZR HD Android Development] GrimV2:
I am currently on the 3-20 nightly and these are the problems I'm running into:

1,When I recieve a phone call the phone doesn't wake to the main phone ringing screen

2. I can't upload anything from snapchat or instagram if I do I get a reboot

3.Getting random reboots and stalls
[RAZR HD Android Development] CWGSM3VO:
Without logs, all we can do is listen.
[RAZR HD Android Development] pete355sb:
C would it be possible to post your builds when time permits for you. I have a 926 and I can say your builds work the best for me. I appreciate your work and if you are busy I understand I appreciate all the work that you have done so far. Thanks Pete.
[RAZR HD Android Development] CWGSM3VO:
I appreciate the kind words but at this point in time the difference between my build and nightlies are:

- point in time for build, ie: what was the last commit before build

- java; I'm guessing nightlies are built with openjdk whereas I use oracle java 1.7

- cleaned up init for powerhal, etc. this in itself is not something that makes my builds "super fast" or "super stable" at all.

Everything else is the same/stock source. I generally feel like building and posting when nightlies fail to build for a few nights to help the flash-aholics with their withdrawl symptoms :)
[RAZR HD Android Development] pete355sb:
Oh I see thank you for the information and thank you again for your hard work. Pete.
[RAZR HD Android Development] GrimV2:
How do I find and send my log
[RAZR HD Android Development] Zeljko1234:
Connect your phone to PC with adb installed (click the easiest way to install) and type adb shell, then logcat. It's useful to type logcat >your_log.txt. For kernel log type: dmesg >kernel_log.txt.

You can use teminal emulator on your phone or just download app from play and use it.
[RAZR HD Android Development] CWGSM3VO:
Can also enable persistent logging and provide those logs, see this post: http://xdaforums.com/showpost.php?p=52141110&postcount=2040
[RAZR HD Android Development] RonDelonge182:
hey guys, is there a good camera app?

i remember that for CM11 a good camera app was the moto G2, that someone posted over the topic and it was much better than stock one

by better i mean good focus, better quality, which this stock CM camera is not very good at

any options? ty
[RAZR HD Android Development] Zeljko1234:
Just few posts earlier I've answered/suggested few camera apps. Of course, new suggestions are always welcome. I was using better camera for a while.
[RAZR HD Android Development] GrimV2:
My log for the 3-20 nightly that reboots the phone everytime snapchat and instagram stuff are uploaded, and the keyboard doesn't pop up when it should. Also the screen doesn't wake when you get a call sometimes.

Spoiler content hidden.
[RAZR HD Android Development] Zeljko1234:
Would be better to attach logs as files or put into code tag.
[RAZR HD Android Development] gustrick:
In the last nightly the calc apk crash the system again.

Regards
[RAZR HD Android Development] kabaldan:
Just a small update to it - the location of logs has changed from /data/logger to /data/aplogd (a change coming from the need to use a newer, 5.0 compatible aplogd in CM12).

To enable the persistent collecting of logs, set this property in terminal emulator on phone or in adb shell on PC:

su
setprop persist.log.aplogd.enable 1

To fetch the logs via adb to PC:

adb root
adb pull /data/aplogd
[RAZR HD Android Development] elektronAu:
Cheers for that, it's always a hassle trying to remember the location of logs on any particular system (and I have to remember various Linux and ROM locations :) ).

Out of interest, is there any log rotation going on when this is enabled? I doubt we "really" have to keep an eye on the size of these files though BT logging seems to often be very spammy (and I listen to music about 7 hours a day at work on my BT headset). I'd hate for logging to fill up my remaining internal storage space.

---------- Post added at 12:18 PM ---------- Previous post was at 11:32 AM ----------

Just some recent observations after using CM12 for a while. I've had to cut back on the number of apps, especially ones that seem to run background services.

Some background, when driving I tend to use AutoGuard Background recorder (an app that records the journey) and Waze. Prior to the 20150320 build, starting Waze would kill AutoGuard. Since the build, I've been able to run both.

I run Nova Launcher as Google Now Launcher seemed too laggy (haven't tried it for a while).

I use minimal social network apps, really only Google+.

I do listen to my music, either on Google Music or CM Music app through my bluetooth headset, both on commute and at work. Prior to the 20150320 build, music would often die. At first I thought it was due to the AudioFX app dying but now I suspect it too was being culled by what seems to be an overzelous OS on low mem events. One thing I noticed is that when AudioFX dies, it gets incorrectly remapped to the Speaker profile as opposed to the Bluetooth profile.

It seems that contrary to what I read, clearing recent apps list does often help with processes being constantly killed.

Overall, the recent builds seem to run ok for me, but seems that the hardware is being pushed to the limits when it comes to handling all the different background processes. Having the Nexus 7 2013 and 5.1 on it, it seems that Google has made changes that help devices with less RAM, the device handles 5.1 much better that it did 5.0. So I'm hopeful that once 5.1 is merged to CM12, some of the above problems will go away.