yashsingh1/xdaforums huggingface dataset:
[X 2014 Original Android Development] skulldreamz:
Will do.. When you say scheduler code does that mean the i/o schedular? Because I have been using ondemand with cfq as the phone seems to be smoother, but with just the same amount of snappiness which was one of the main reasons that I tend to stick with ondemand. As far as i/o schedular I've been doing research on what the benefits and downfalls are to each other as I have very limited knowledge at this point about what a i/o schedular does but I'm really trying to be on the ball about learning exactly what the schedulers main functions are. Because I'm in the process of learning to build a kernel for your cm build, but not underestimating the kernel you have put together. Just something I've always wanted to do to be a kernel developer at some point. If anyone would care to help me with putting out a kernel you can pm or email me on hangouts at mylyfemylyfe32@gmail.com. sorry to get a little side tracked [MENTION=3857343]crpalmer[/MENTION]. Thanks

Oh yeah. I was out all day at appointments and connecting my beats wireless through bluetooth would play for about a second and then just keep playing but no sound as well with me as I see another user had posted above. What I did to fix it was download the 2/4 build and dirty flash and it didn't work but then i reflashed the 2/6 and I was able to listen to music with not a single hiccup for about a hour on my ride home. I see no logic on why that would have made ad2p work but bottom line it did so that was a pleasant surprise :cool:
[X 2014 Original Android Development] 0.0:
Does the GPS stay locked on when using navigation or when tracking your movements? I read one user say that it can lock but it would fail when tracking. Just curious if you have the problem or not

sent from my Moto X Pure Edition
[X 2014 Original Android Development] dobbs3x:
I just drove from Colorado to Georgia with this ROM and used Google maps for my navigation the whole trip and had not one single issue with the GPS or maps.

The only issue I've had the last 4 days of traveling on the road is the problem in the daily a few days ago with booting and the new bootup image, but crpalmwr quickly located and fixed that problem. I can say this ROM is pretty stable in my stress test. I also played spotify music majority of the drive via aux out to my car stereo while using maps navigation and I really had not one problem or complaint. I drove in and out of service areas (T-Mobile) and never had a problem with my service while in a service area. LTE has worked great when I had it.
[X 2014 Original Android Development] michyall:
For experiment i restored original nandroid fw and then restored cm12 unofficial after gps fix. Now gps fix quickly and stable during my 10 minutes drive test. Now i'm confused because when you restore nandroid, twrp is wiping data, except internal storage. so this mean that these gps fils are stored into internal storage. Now let's see how long it work.
[X 2014 Original Android Development] crpalmer:
Starting with the next nightly (2015-02-08 or later), you should be able to use f2fs with hardware encryption.

This means that devices coming from stock should no longer need to wipe /sdcard/ to install CM. I just tested going from stock with hardware encryption and with f2fs enabled for /userdata and flashed to CM-12 after a factory reset but without formatting data. Technically I didn't test f2fs and encryption but it worked with ext4 encrypted.

Unfortunately if you are running cm and want to switch to f2fs, the only way I know to do that is to restore to stock, update to LP, do a factory reset (the upgrade process stays on ext4 for me until I do a reset in LP), install CM and/or restore backup. The TWRP that I'm using doesn't support f2fs conversion and when I tried to hack it to do so, it failed to reserve the space needed to enable encryption (aka, I got it to f2fs but couldn't enable encryption). So, just do it right by going via stock.
[X 2014 Original Android Development] crpalmer:
I have been told that they are stored on the modem* partitions which aren't wiped. I also fixed my GPS today by restoring a stock backup and the restoring a CM backup and there is no reason it will stop working.
[X 2014 Original Android Development] JimYoung:
Today nightly is very smooth, also I notice an improvement in battery life.
[X 2014 Original Android Development] Byakko Custom:
Don't know why but I occasionally get issues with Settings FCs...

Of and here's a logcat...

https://docs.google.com/file/d/0B5wBhFjKy7rRR1FGYWwzeDZjRGc/edit?usp=docslist_api

53 65 6e 74 20 66 72 6f 6d 20 6d 79 20 4d 6f 74 6f 20 58 20 28 32 6e 64 20 47 65 6e 2e 29 20 75 73 69 6e 67 20 54 61 70 61 74 61 6c 6b 2e 2e 2e
[X 2014 Original Android Development] 0.0:
Is there a way to lower the vibration intensity? I don't remember it being like how it is on stock. This is only for me. Everyone else is different

Edit: I am able to build, so if someone can point me in the right direction on where to edit code, then I'll do it. Is it in the kernel?

sent from my Moto X Pure Edition
[X 2014 Original Android Development] Shemploo:
I'm not a coder so I have no idea what this really means, but it mentions F2FS, does anyone know if this means that CM12 now supports F2FS partitions?
[X 2014 Original Android Development] 0.0:
This is what crpalmer said:

sent from my Moto X Pure Edition
[X 2014 Original Android Development] skulldreamz:
Samsung developed f2fs which is a file system just like ext4 but it was made with optimizations to work faster with nand memory on flash devices. As of now twrp does not support f2fs on our device.
[X 2014 Original Android Development] 0.0:
[MENTION=3857343]crpalmer[/MENTION] I just had a hard reboot by listening to music on Google Play Music. here is a link to last_kmsg: https://www.dropbox.com/s/4banuw2a0ltihws/last_kmsg?dl=0

I hope it helps

edit: another hard reboot when listening to music and scrolling through the twitter app. attaching a zip of the last_kmsg
[X 2014 Original Android Development] aamzalag:
logcat of persistent Bluetooth issues

Hey crpalmer

Thought it might help If I posted some logs when my phone tries to play music through My car. Hope these help diagnose the issue!

Sorry it's in a zip I couldn't upload add a text file.

Edit: may want to look around 19:20-1930 it was during that time I was driving.
[X 2014 Original Android Development] crpalmer:
Are you using ondemand by any chance? That has been known to be buggy on other devices.
[X 2014 Original Android Development] jtxdriggers:
device/motorola/victara/overlay/frameworks/base/core/res/res/values/config.xml

<!-- Vibrator pattern for feedback about a long screen/key press -->
<integer-array name="config_longPressVibePattern">
<item>0</item>
<item>105</item>
</integer-array>

<!-- Vibrator pattern for feedback about touching a virtual key -->
<integer-array name="config_virtualKeyVibePattern">
<item>0</item>
<item>24</item>
</integer-array>

<!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
<integer-array name="config_keyboardTapVibePattern">
<item>0</item>
<item>0</item>
<item>5</item>
</integer-array>

Those values are taken from stock IIRC. The keyboardTapVibePattern has never worked for me though, so I always have to bump it up to 17 or so.
[X 2014 Original Android Development] 0.0:
I am using interactive (default)

sent from my Moto X Pure Edition
[X 2014 Original Android Development] Blackdrag:
Always On Voice

I know this is probably a question that has been answered many times, but I can't seem to find the answer on Google or digging through thread posts. Does the Lollipop native "Always on Voice" work for this phone on CM12? I read somewhere that It didn't work when not charging, but I figured that might be because it was on stock motoblur and not CM/AOSP. I know Moto Voice won't work, but I figure it isn't even needed since Lollipop has built in support for the co-processors ...

EDIT: Seems I found some information. Crpalmer said it would be a huge project to make it work, in an earlier post.
[X 2014 Original Android Development] 0.0:
Another hard reboot, this time when exiting the Twitter app https://www.dropbox.com/s/7d2v2w1sl2rlomn/last_kmsg exiting twitter victara.zip?dl=0. I am using interactive governor with noop i/o

edit: [MENTION=3857343]crpalmer[/MENTION] i hope these last_kmsg files are helping. I have another one that is attached. this time, while listening to music. my screen was off. i am on the conservative governor and noop i/o

edit 2: attaching another last_kmsg. unlocked device with headphones plugged in caused a hard reboot. interactive governor with the ROW i/o

sent from my Moto X Pure Edition
[X 2014 Original Android Development] crpalmer:
Your logs aren't saying much (the crashes are pretty generic in what they are reporting). But, please continue posting them as eventually they are likely to show more details.

I think there was a common theme in them that you were listening to music. Do you normally (aka, in all these crashes?) use headphones? That's one thing that would be different from usage as I never use wired headphones (I suffer through the a2dp pain).
[X 2014 Original Android Development] Shemploo:
[MENTION=3857343]crpalmer[/MENTION] - thanks for your hard work on this, pretty much the only daily driver ROM for this device right now, and the only reason right now I'm going to be keeping the moto vs the oneplus.
[X 2014 Original Android Development] 0.0:
There were crashes twice without headphones. All the other crashes were with headphones plugged in
[X 2014 Original Android Development] skulldreamz:
Not sure if this will help with a2dp and Bluetooth but anyway here it is. http://forum.cyanogenmod.org/index.php?/topic/105075-Unofficial-Nightly-And-5.0-Kernel

Unofficial Nightly And 5.0 Kernel
[X 2014 Original Android Development] 0.0:
Does anyone's phone gets somewhat hot when using it on WiFi? I'm thinking it could be a kernel problem

sent from my Moto X Pure Edition
[X 2014 Original Android Development] skulldreamz:
My phone actually stays exyremely cool whether I'm just browsing xda while listening to music to playing grand theft auto for good chunks of time. I think I got lucky with a top notch SoC. To my point I'm in the process of learning to develop a kernel for our victara! This will be my first kernel I've put out so bare with me and if anyone has the time to help shoot me a pm. I'm actually surprised in myself as I'm moving along step-by-step. Hhhj5 deedsMaybe I could start a thread for requests, tips, links, resources, and just any info that is device specific so it can have every feature that we want. I just don't want to piss anyone off if that seems like a pointless thread. I guess I will see in due time and [MENTION=3857343]crpalmer[/MENTION] sorry I posted this here but I won't say anything more about it. Just seemed like a better idea to make a quick post and see what feedback I get instead of making a new thread on what I explained. I do think that the stock cm kernel could use some improvements, optimizations, and tweaks and you are already doing so much for this awesome device so I just thought this would be a great time for me to get started on something I love while I'm recovering from surgery. Thanks
[X 2014 Original Android Development] 0.0:
I am totally fine with your plan to start a new thread. I would like to see your kernel with some faux features in it, if possible :D

[MENTION=3857343]crpalmer[/MENTION] i have attached another last_kmsg. i wasn't using my phone, no headphones were plugged in. all it was doing was laying on my desk. it is connected to wifi, has a lock code, and it is not encrypted. i am on the interactive governor and ROW i/o. when i was using it with my moto 360 and smart lock activated and listening to music, there was no reboot. it was fine during my day
[X 2014 Original Android Development] michyall:
I have no idea how compile a biuld, but i can help with italian translation. Is there a easy way to do this?
[X 2014 Original Android Development] 0.0:
[MENTION=3857343]crpalmer[/MENTION] another hard reboot. I was listening to music with headphones, then stopped it. Unplugged the headphones and put my phone down then a reboot happened. Here is a last kmsg https://www.dropbox.com/s/gg92pekepg5q9eu/last_kmsg reboot.zip?dl=0

sent from my Moto X Pure Edition
[X 2014 Original Android Development] michyall:
With the 10.02.2015 build i can not recive incoming calls. telephone app force closed. No ring tone no screen message

Making calls works good.
[X 2014 Original Android Development] crpalmer:
Bluetooth? If so, I think it was broken in that one build.
[X 2014 Original Android Development] michyall:
No, simply phone in my hand. This evening at home i have found several calls on my home phone, i have usually call forwarding if i not answer, that makes me thinking about a bug so i tried to call my moto x and found the problem.

Now i'm downloading 02.11 and updating.

Edit: same issue with Bluetooth on and off, unfortunately I haven't bt devices to test

---------- Post added at 10:56 PM ---------- Previous post was at 10:43 PM ----------

Ok, with last build no more problems for incoming calls.

Sorry for this false feedback and thanks for your work dude.
[X 2014 Original Android Development] dobbs3x:
Have you tried a fresh clean install and before adding a bunch of play store apps see if you still have the resets? Just to try and divide and conquer a little.
[X 2014 Original Android Development] 0.0:
You don't have any reboots? Since I'm the only one, I'll do a fresh install. By fresh install, I don't need to format my whole phone, just factory reset?

sent from my Moto X Pure Edition
[X 2014 Original Android Development] aamzalag:
Yea, i havent had any reboots as far as i know. So maybe try to do a factory wipe and start clean. Dont wipe internal memory :P
[X 2014 Original Android Development] 0.0:
now that i remember, i did restore apps (not data) via titanium backup. i was on lollipop stock before when i made those backups. could that be the problem?
[X 2014 Original Android Development] aamzalag:
I guess its possible, but unlikely. Its usually the data that messes you up. You probably just have an app thats not 5.0 compatible or sometihng
[X 2014 Original Android Development] 0.0:
hmmm...if it wasn't compatible then it would be messing up on lollipop stock. it was fine for me then. nevertheless, i will still do a fresh install to see if things work out

do you use Play Music? that's mainly the problem when i have the reboots
[X 2014 Original Android Development] Shemploo:
Has anyone flashed back to 4.x, upgraded to 5.x stock, then installed this ROM? - I'm wondering how the F2FS implementation is working.
[X 2014 Original Android Development] dobbs3x:
I havnt had any yet. I use spotify for my music, I also watch a lot of video via Facebook, YouTube and some network TV apps. I seem to recall an issue on the first gen moto x and a custom ROM dealing with play music only, but that was awhile ago maybe I'll try to search and dig it up.
[X 2014 Original Android Development] 0.0:
I noticed reboots happen when I use Play Music from time to time, but it isn't solely from that. I can't determine which apps are the problem, since all the apps I used on stock lollipop worked and nothing bad was happening

[MENTION=3857343]crpalmer[/MENTION] latest nightly, got a hard reboot while listening to music via Play Music with headphones. Was also texting. last_kmsg attached. this will be the last one. i may fresh (clean) install when i get a chance
[X 2014 Original Android Development] skulldreamz:
When I install a new rom and I mean even if I'm just installing the next available nightly I do a full wipe and never have 99% of the problems that people talk about. This is my definition of a full wipe. I wipe data/factory reset, wipe system, dalvik & cache. Then I format data/media and reboot back into recovery so data will mount. Then I wipe again system, data, cache % dalvik. Then I use a usb-otg to install rom, gapps, and supersu.zip. Then I reboot into system and let it sit for a couple minutes for good measure. And then I set it up from scratch every single time. I know that might sound like overkill to most of you but again I never experience any issues that I hear people talk about so its gotta be doing something good right. At least I think people should format system along with wipe data/factory reset. Also if you keep flashing a new nightly every single night your phone will never get to settle in and battery improves x10 once you let a rom settle in for a week or so. I understand right now [MENTION=3857343]crpalmer[/MENTION] is fixing so much stuff that its impossible not to want to flash a new nightly but once he gets it to where he's happy and it's official, I would recommend trying what I wrote sometime and just see if it helps with some issues.
[X 2014 Original Android Development] michyall:
Seems a good way bur one question, in twrp a lot of user avoid factory reset slider and go directly in advanced selecting all partition to wipe, is this the same thing? And formatting data isn't doing the exact same things as wiping all partition including internal storage?

So you recommend wiping like you described even if you restore a nandroid or is that auto-wipe before restore sufficient?
[X 2014 Original Android Development] sivarticus85:
Is it possible to pull the MMS apk from this ROM and install it in the stock ROM? I like the quick reply feature.
[X 2014 Original Android Development] BMelz:
+1
[X 2014 Original Android Development] dobbs3x:
I know the MMS is the cyanogenmod MMS app I am pretty certain. I'm not sure if the quick reply feature will work out of the box with the app or if it needs some other system resource to be also functioning. You may be able to google cm messenger and I know there is a version of the cm messenger in the play store that might be what you want.
[X 2014 Original Android Development] 0.0:
[MENTION=3857343]crpalmer[/MENTION] on stock, the twist to open camera feature has a vibration confirmation. Is that possible to add that to cm? As of right now, the twist to open camera feature does not vibrate

Also, the latest hard reboot was because of a kernel panic. I'm guessing all my hard reboots was because of kernel panics :(. I don't think the apps I have cause kernel panics since I don't have an app that tampers with the kernel

sent from my Moto X Pure Edition
[X 2014 Original Android Development] dobbs3x:
I would like to add I noticed some kernel issues too. If you turn the phone off and plug it in to charger it flashes the screen on and off weirdly. I have seen this on other devices with something related to kernel. I check the kernel and noticed its crpalmers, I didn't realize it was merged into the builds yet and thought the night lies still had the cm kernel.

Also how would we or I, go about changing the shake to open camera function to open google camera instead from the play store, or maybe a feature could be to have a user accessible menu and could change it in settings etc..
[X 2014 Original Android Development] 0.0:
Regarding the twist camera feature, the only way I could open the camera I want is to have only one camera installed. Otherwise, it will open the first camera that is there alphabetically

sent from my Moto X Pure Edition
[X 2014 Original Android Development] dobbs3x:
Awesome, ya I just disabled the aosp cm camera and it worked as you described. Now opens the google camera.
[X 2014 Original Android Development] crpalmer:
The vibrator feedback on the camera action is a very good suggestion. I pushed it for tomorrow's build, let me know how it works.
[X 2014 Original Android Development] 0.0:
Does AudioFX work for anyone? It doesn't seem to work for Google Play Music. If someone has it working, could you share how you got it to work?

edit: it would only work if i first play music through the speaker. then after plugging in headphones, it works
[X 2014 Original Android Development] 0.0:
i built my own build and the vibration feedback works. i feel like the duration is a bit too long, so how would i go about shortening the duration? would it be v.vibrate(500) and changing the 500 value to a lower one? also, maybe it would be better if it's possible to make the vibration occur while the camera is being opened? so maybe vibrate() is moved after turnScreenOn()? these are only suggestions
[X 2014 Original Android Development] BK553:
I'm getting the weird screen flashing when turned off, but plugged in as well. A random amount of button pushing eventually makes it stop.

Step to reproduce:

Plug in phone.

Turn off phone.

Have seizure.
[X 2014 Original Android Development] crpalmer:
This would be a good time to tell people that I am not interested in bug reports or logs that include Xposed being installed.

Xposed is a framework that allows random people to write packages that change how the core internals of android work. I spend my time testing the software that I build. Xposed makes that software work differently and I'm not interested in figuring out if the problem is related to the software I built or because it was randomly changed after I tested it.

So please uninstall Xposed if you are going to report a problem (and provide logs, of course).
[X 2014 Original Android Development] crpalmer:
I tried a couple of different values and I liked the longer vibration because then I was sure it was doing something in the long pause between being activated and actually able to snap a photo. When I made it smaller I might miss it if I was in a bustling environment and waiting for feedback.

I did only test a couple of values, so please do test some more (the 500 is the number of ms to vibrate) and if you think something is better you can push it up to gerrit and I'll test it out.

I'm really only using this with the screen off. If you use it with the screen on, I wonder if a shorter vibration when the screen is turned on and longer when it is turned off is what you really want? Either way, play with it and push something up that you think is better!
[X 2014 Original Android Development] Shemploo:
Would you be willing to share your build with us?

---------- Post added at 04:55 PM ---------- Previous post was at 04:52 PM ----------

* I wanted to bring attention to the fact that status bar can be pulled down while on lock screen.

Also, has anyone been able to successfully install xposed on this ROM? I'm having trouble thus far trying to get it working.
[X 2014 Original Android Development] hernan078:
How can i change the haptic feedback value or how can i turn it off completely?

Edit: Another things, is it normal to experience any home screen redraw when pressing the home button? I had this problem on the original ROM based on lollipop?
[X 2014 Original Android Development] 0.0:
The status bar being pulled down on the lockscreen is normal behavior in lollipop. also, i sent a PM regarding the build (i believe you were talking to me?)
[X 2014 Original Android Development] johnnydnb:
I can do a dirty flash every release I have updated?
[X 2014 Original Android Development] 0.0:
You can turn it off in settings > sound & notification > other sounds > vibrate on touch. Also, the redraw is a lollipop RAM management bug. Google needs to fix it. There was an attempt to fix it by cm and others but it doesn't seem to work

sent from my Moto X Pure Edition

---------- Post added at 08:46 AM ---------- Previous post was at 08:45 AM ----------

Yes, you can dirty flash unless stated otherwise

sent from my Moto X Pure Edition
[X 2014 Original Android Development] 0.0:
[MENTION=3857343]crpalmer[/MENTION] under Settings > Apps, downloaded apps have the option to "move to sd card" and there is a tab where it shows apps on a sd card. however, our device does not have a sd card slot. is there a way in code to be able to not show the sd card options in that section?