yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] rebretz000:
Both my wife and myself had random reboots while on stock on Verizons Network. We both had two different Nexus 6. All 4 were from Motorola. All had issues on Verizon.

I got them even with Lean kernel. Her phone was unmodified.

Since moving to AT&T we did not have one reboot at all. Neither on stock or AOSP.
[Nexus 6  Original Android Development] Cy_n_ic:
Thats interesting. Never heard of reboots related to what carrier one uses. Wouldnt it have to be radio/signal related i suppose...?
[Nexus 6  Original Android Development] PhilDX:
I've had my Nexus since mid-november. VZW, stock OS, rooted, encrypted, both stock and Lean kernel. almost no random reboots (maybe 4 or 5) and not one delayed wake/SOD in 2 1/2 months.
[Nexus 6  Original Android Development] lainemac:
Hey imo how do you run your personal phone? I know you use stock rom(as do I) but wanted to know how you set up your kernel?
[Nexus 6  Original Android Development] old_fart:
Sir, ( a.k.a. [MENTION=3357040]Imoseyon[/MENTION] ) tell me about the additions / support you added into the kernel for "usb otg ( on the go )" . . . Um, if i go into 'es file explorer' to snoop around . . . where is it at ? what is its name ? And probably, most importantly, twrp ( newest ) has no problem seeing it ? ? ?

.

dig, dig, dig, in explorer, off the root, there's a folder called"oem" . . hmm ?

.

tried copying a twrp nandroid ( a tiny 650 megger ) to there and it got half way, and then it was stuck and doing naadaa . . . . . . i let it sit being in the 'stuck' mode and it eventually rebooted itself, all by itself . . . so, there is an error log somewhere ( hiding ) illuminating about the copy crash ? ? ?

.

destination was a 8 gigabyte sandisk formatted ( with sdformatter ) as fat32 . . . is the maximum of a loop counter 'minus one' or 65535 ?
[Nexus 6  Original Android Development] pantmunu:
Chrome. I blame chrome.
[Nexus 6  Original Android Development] flyinj54:
Is this something you have experienced? Just out of curiosity how was chrome related did you remove the program and see the rr's disappear?
[Nexus 6  Original Android Development] SilkyJohnson:
No.

OEM folder is what was created on these carrier phones (and possibly GPE ones? Not sure) for the carriers to stuff their bloatware, aka rings and boot animations. Guess it was a concession Google had to accept to get these everywhere (yeah yeah).

I've never owned a USB OTG, but I imagine it would be here, next to the other storage options:

That's in 'storage' off of root

P.S. Lean is running clean. Sips so little juice with the conservative terminal tweak that I feel like I'm gaining battery. Lol.

Sent from my Nexus 6
[Nexus 6  Original Android Development] jfcooley:
My USB stick shows as a folder on my SD card.

Open your SD card with a file explorer and look through your folders. Its USB something or another.

You may need an app to mount it. I use stick mount, there are others.

Edit: You will have to use an app and mount it before you see it.
[Nexus 6  Original Android Development] Krunk83:
I'm not really good at reading BBS and knowing what to look for for battery drain. Does this seem normal to have a higher 300 MHz processor percentage than deep sleep? If not, what do I need to eliminate/fix/look for to improve battery?

Nexus 6
[Nexus 6  Original Android Development] tundra35:
Does anyone ever get a wake lock called Icing. Next time I get I'll screenshot through BBS.
[Nexus 6  Original Android Development] mugendon:
Nope you don't need an app like stickmounts. I think since lollipop it works out of the box (everything stock). In File Managers like ES File Explorer it will just selectable as another volume.

The folder on the SD Card is a feature of stickmount :)

See here (usb 3002 is my usb stick):
[Nexus 6  Original Android Development] __NBH__:
Depends what you have been doing on your phone. If there is an app running in the background like listening to music it won't deep sleep. You need to show us all the pages from BBS to get a picture of what is going on.

---------- Post added at 03:21 PM ---------- Previous post was at 03:18 PM ----------

Yes but its 2 seconds out of 6 hours so not an issue. How long was the wake lock for?
[Nexus 6  Original Android Development] tundra35:
I had it last night for 2 hours. It keeps the phone awake and won't let it sleep
[Nexus 6  Original Android Development] Krunk83:
Copy

Nexus 6
[Nexus 6  Original Android Development] old_fart:
Can [MENTION=3357040]Imoseyon[/MENTION] tell us whether or not the 'code and support' that he installed at the kernel level is "sufficient" in itself to make the usb otg directory spot ? . . I think not . . . I think you "have to" use a rom space app to carry the football the rest of the way to the goal post . . . . . A couple daze ago I did a triple wipe (data, system, cache) to learn more about the bootup swipe stagger.

I am using the euphoria rom ( they just added in their L.E.D. control ), and I think I don't know how to set it up yet, cause gmail light came on and then a day later, gmail light doesn't come on ? ? ?

.

If its not 'oem' then I don't got a folder at all.

.

And then there is the question : why go half way and stall and reboot ? ? ? I did a google and LOTS of people say that a copy goes half way ! ! !

.

I'm going to go read up on [MENTION=631273]Chainfire[/MENTION]'s stickmount. . He is a ( busy ) super, heavy weight dev . . . . Maybe he hasn't gotten around to patching his app for lollipop ?
[Nexus 6  Original Android Development] __NBH__:
I see you have the sensor_Ind wake lock which is why your CPU wasn't deep sleeping and staying at 300mhz.
[Nexus 6  Original Android Development] Krunk83:
Is that for the dt2w feature?

Nexus 6
[Nexus 6  Original Android Development] old_fart:
Um, for your image, I get 404 error - not found. Am running the latest chrome beta.
[Nexus 6  Original Android Development] Imoseyon:
I don't actually keep my phone at a specific setting for long, I rotate between lkconfig options periodically to make sure that at least some of leankernel features continue to work. I do stick to stock ROM, stock frequencies, and only undervolt 300mhz.

I haven't tested USB OTG myself so I don't know if stock supports OTG out of the box. I do see some OTG support code in the USB driver though.
[Nexus 6  Original Android Development] __NBH__:
Unfortunately I think this is a lollipop bug, there are lots of other threads talking about the issue. People say it's too do with adaptive brightness, ambient display etc but I have both turned on and never have a problem with the wake lock.
[Nexus 6  Original Android Development] rignfool:
No one knows what triggers it for sure...

However... The 2 leading theories I've seen are hangouts (just the app... Freeze it if you don't use it) and ambient display/adaptive brightness (turn them off completely in settings)

Sent from my Nexus 6
[Nexus 6  Original Android Development] r1ndr3w:
F2FS

I see that this kernel supports F2FS. Looking for feedback from anyone who took the plunge and moved to F2FS.

Pros/Cons?

Thanks.
[Nexus 6  Original Android Development] Imoseyon:
I talked about sensor_ind wakelock before here. Unfortunately this wakelock is not activated from the kernel - it's a ROM wakelock caused by /vendor/lib/hw/sensors.msm8084.so. I can probably disable that wakelock from the kernel since the kernel sees it when it gets registered but I bet that will have some undesirable consequences.

Do we have recoveries supporting f2fs yet? I tested f2fs when I first got my n6, it did not provide any performance benefits for me.
[Nexus 6  Original Android Development] Krunk83:
I don't use either.

I'll freeze hangouts. Thanks.

Nexus 6
[Nexus 6  Original Android Development] rignfool:
Supposedly... I haven't tested...

dhacker released TWRP 2.8.4.1 with F2FS support...

I'd attach a copy... But Tapatalk sucks

Sent from my Nexus 6
[Nexus 6  Original Android Development] Imoseyon:
I'd love to try BTRFS myself. I haven't been too impressed with F2FS - I have it enabled in all my kernels currently and only nexus7 users have reported noticeable improvement (but then anything is an improvement on nexus 7).
[Nexus 6  Original Android Development] r1ndr3w:
Thanks for the quick reply. I'll do some more investigating to see if it makes sense.
[Nexus 6  Original Android Development] akellar:
FYI there's some new sepolicy stuff to add for CM compatibility.
[Nexus 6  Original Android Development] old_fart:
Android Police is talking ( more wondering than facts ) about ( almost ) released Lollipop 5.1 - - - new kernel ?
[Nexus 6  Original Android Development] akellar:
It would have to exist before imo would worry about a kernel for it
[Nexus 6  Original Android Development] Imoseyon:
Thanks for the heads up - feel free to test v1.11.1 in the test folder which includes the CM sepolicy changes.

For sure, when it's released. It should be leanKernel v2.x. Merging new 5.1 kernel source will be a major pain in the butt due to all the upstream CAF commits I merged so far. Franco is going to have his hands full too I'm sure. :D
[Nexus 6  Original Android Development] akellar:
So far so good
[Nexus 6  Original Android Development] HaRdC0r3:
I've tested the recovery and f2fs but am only using it on my cache
[Nexus 6  Original Android Development] redskinsfan:
I know I'm coming late to the stutter conversation but the one kernel I haven't noticed any unlock stutter is the unicornblood kernel that is shipped with dirty unicorn.
[Nexus 6  Original Android Development] Imoseyon:
Good. Next step: data!

The unlock stutter was caused by a single commit from google, which was in any custom kernel that had that commit merged. I removed it from leankernel starting v1.10.1 so as long as you flash the latest you shouldn't see it anymore.
[Nexus 6  Original Android Development] redskinsfan:
Thanks. Running 1.11 that comes with temasek's custom version of CM12.
[Nexus 6  Original Android Development] Krunk83:
I used to have the stutter, but ever since flashing 1.10.1 and 1.11 I've had nothing but the smoothness and it's glorious.
[Nexus 6  Original Android Development] redskinsfan:
Although now there is another issue, at least on Temasek's CM12. While the stutter is gone, there is a lag when waking the screen by pressing the power button. Seems several others on the Temasek thread are also reporting it. Not sure if is Kernel or CM12 related.
[Nexus 6  Original Android Development] old_fart:
( delete )
[Nexus 6  Original Android Development] Cy_n_ic:
I love watching movies while on the clock :) over three hours screen on and still above half charge left! I even boosted screen brightness way up there, and was using bluetooth earbuds.

Btw the new hobbit movie was pretty good too :P
[Nexus 6  Original Android Development] Smallsmx3:
[MENTION=3357040]Imoseyon[/MENTION] had both wake gestures enabled all day today.. Obviously I had problems with phone calls. I had one psuedo SODn trying to wake from the lock screen. Yesterday only had dt2w not any issues
[Nexus 6  Original Android Development] akellar:
Edit, never mind ;)
[Nexus 6  Original Android Development] Yank555:
Just gave a quick look in my repo (been ROM side for a month, but this caught my attention ;)), I don't see that commit ? Neither in stock Google repo ? Was that a CAF commit ?

JP.
[Nexus 6  Original Android Development] mugendon:
I think you guys missed my post here:

USB OTG works with stock rom and stock kernel (and so of course with leankernel) without any additional support apps (like stickmount). So I guess only if a custom rom messes something up, it won't work.
[Nexus 6  Original Android Development] merouleau:
The 2/4/2015 update to Light Flow works with LK1.8 and LK1.9+ without reinstallation, so I think the developer implemented the solution we arrived at some pages back in this thread.
[Nexus 6  Original Android Development] SilkyJohnson:
[MENTION=3357040]Imoseyon[/MENTION]

How difficult would it be to make a separate kernel WITHOUT faux sound? I have no idea, that's why I'm asking - and you always seem really cool with answering questions.

Been running your stuff for years and I love it. Thank you.

Sent from my Nexus 6
[Nexus 6  Original Android Development] rauschkugl:
Why would you want it? It's just code that the app will work. If you don't have it you'll never notice any difference between a kernel with or without the support for faux sound.

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  Original Android Development] SilkyJohnson:
Alright, so maybe I'm an idiot. I'll tell you why and feel free to steer me in the proper direction if you know:

I use Viper4Android. I'm a recent convert and I'm a big fan. I mostly use it through my SYNC in my car. V4A + Franco = wow. Lean + V4A = kinda of distorted and doesn't sound near as good.

Now I'm not going to bring a Viper discussion into here based on respect for Imo, but I assumed the faux sound may have something to do with it. Maybe not.

Still staying lean cause the ish runs clean.

Sent from my Nexus 6
[Nexus 6  Original Android Development] grayskul:
I had a random reboot earlier while the phone was just sitting on my table. This screenshot was around the time it occurred.
[Nexus 6  Original Android Development] mugendon:
Have you tried leankernel 1.09? Because this and prior versions don't have faux sound. So if the issues persists with 1.09, it is not related to faux sound.
[Nexus 6  Original Android Development] SilkyJohnson:
Good call and excellent troubleshooting, will try now.

Usually I'm better than this. Lol. Sorry.

UPDATE: 100% difference, no joke. I used to use faux sound years back (galaxy nexus?) and it always seemed like an amplifier to me. Anyways, I'm good now.

Sent from my Nexus 6
[Nexus 6  Original Android Development] RoadXY:
I'm afraid that your picture isn't usable for debugging.

You can export to a text/CSV file, but I guess it's to late, lol.

---------- Post added at 11:30 AM ---------- Previous post was at 11:29 AM ----------

Any specific settings you did or flash and enjoy?
[Nexus 6  Original Android Development] adrman:
Thanks for the update. I tried setting it up 3 days ago and couldn't get it to work, so I refunded from the Play Store. I'll give it another go. What settings are you using in LF, the ones the dev mentioned several pages back?
[Nexus 6  Original Android Development] Franzie3:
So i have a weird issue. on 1.11. If im in Snapchat, view a snap or whatever and once the phoen times out and turns off. Device reboots. Going to try and grab a logcat now if i can reproduce a 3rd time.

And then on boot it takes 1 minute or 2 until network kicks in

Edit: im guessing its the app. might try and revert to 1.10 and see

I tried to get a logcat, but the app aLogcat isnt giving me nothign but 1 line. frustrating
[Nexus 6  Original Android Development] magnum870:
I had this yesterday also. No clue what causes it, but I've never had it before yesterday....
[Nexus 6  Original Android Development] smclaughlin3:
Does anybody using viper4android on stock rom the only way i have been able to set the kernel to permissive is with aosp base roms but with stock rom it says unable to grant root access with se linux mode changer. Its the only thing keeping me from stock rom as you all know viper is a game changer when it comes to audio
[Nexus 6  Original Android Development] mjohnson4580:
Is there a way to set selinux to permissive or disable it all together. And is it OK to do so?
[Nexus 6  Original Android Development] merouleau:
Here are the settings that work for me:

General settings

Enable Light Flow

Show LED in Priority Mode

Enable "Clear All"

Accessibility check

Version upgrade reminder

LED Control Style

On battery - Cycle all - Fast

On charge - Cycle all - Fast

Persistent Icon - uncheck Run in foreground

Device Settings and Root

Direct mode

Root mode

Run every command as root

Nexus 5 force LED reset

After testing all of the color combinations available with the LED Mixer, I decided to leave LED Mixer unchecked in all of my notifications and refrain from using even the pre-configured blends like cyan, orange, white, and purple. I think all of the color mixes look like kludges - red, green, and blue are the only settings that I find to be identifiable at a glance on the Nexus 6. Also, while I think it has worked in the past with charging LED on in lkconfig, I have been leaving that kernel setting off to avoid semantically overloading green. (I use green for non-urgent notifications like personal email and social media updates, blue for text messages and business email, and red for reminders, voice messages, and emergencies.)
[Nexus 6  Original Android Development] jackpollard:
https://play.google.com/store/apps/details?id=com.mrbimc.selinux and if you change it to permissive it works just fine.
[Nexus 6  Original Android Development] Imoseyon:
It's in google android repo, not in stock:

https://github.com/imoseyon/leanKernel-shamu/commit/014a1efb2a670f652530d4daba7eeca8282d2c7d

You got a PM!

Does it reboot all the way (cold reboot), or is it a hot reboot? Either way see if you can pull files from /sys/fs/pstore after it reboots.
[Nexus 6  Original Android Development] Franzie3:
using the same duplication steps?
[Nexus 6  Original Android Development] Franzie3:
all the way. Google screen and all. I can duplicate it on demand. Attached dmesg
[Nexus 6  Original Android Development] old_fart:
My core_1 is stuck "on" at 1.72 Giga Hertz again. I am running 1.11ucoc and the last time this showed the core_1 was because of cpu boost. With the new version, I do not have control over boost ( that I can see / understand . . . ) with the core control now "in there" calling the shots. From this last version / last charge . . . I have noticed the battery drain has been higher.

.

If I go into trickster and turn mpdecision "off" ! ! ! . . . then core_1 is no longer stuck( for me ) . . . yeah !
[Nexus 6  Original Android Development] jackpollard:
Would the 1.11.1 potentially fix the issues some are having with the newer rom builds? I've tried 2 roms and both systemui fc. Some comments around the newer theme engine and the kernels seem to be an issue. thanks!
[Nexus 6  Original Android Development] Cy_n_ic:
Most of the recent instability present in custom roms is from trying to implement nav bar button customization and or theme engine/layers. Its going to take a while to work all the bugs out. alot of roms are available but they are still nightly/alpha builds. Even roms with lean baked in are experiencing these issues.
[Nexus 6  Original Android Development] Franzie3:
damn everyone for wanting new functionality and things to run 100%.....lol
[Nexus 6  Original Android Development] magnum870:
Yeah, I was actually in the process of signing back into Snapchat, and had to put the phone away to do something else and a few seconds later I felt a vibration and it was rebooting.

Seems like a full restart to me too. Asks for my encryption PIN and such. I didn't see it do the Google screen, but thats cuz it was in my pocket when the boot process started.
[Nexus 6  Original Android Development] old_fart:
I did not miss your post. . . I haven't been stock for two months. I am running the euphoria rom ( its great - its a keeper . . . )

I have found that the kernel puts in the "hooks" but the rom and then the app do all of the job.

I loaded in chainfire's stickmount and then up-graded to pro and I have a "spot" after ( not before ! ! ! ) it mounts the sdcard.

Hmmm, it reboots ( just now ) if I plug in the sdcard when I have the esfile explorer app running . . . woo hoo !

So, when it is mounted, abberra kadabber, hookus pookus, there is a NEW sub-directory called 'usbStorage'. . And I can copy the WHOLE nandroid to it. . . . A couple of weeks ago, it did not allow copying the whole ( big ) file, so something changed from then and now.
[Nexus 6  Original Android Development] Imoseyon:
It might - give it a shot? It's in the test folder

[MENTION=2988226]Franzie3[/MENTION] and [MENTION=3528164]magnum870[/MENTION], can you guys PM me or email me at imoseyon@gmail.com? I will have a few test builds for you. Thanks.
[Nexus 6  Original Android Development] Franzie3:
Sent you an email
[Nexus 6  Original Android Development] Imoseyon:
Thanks to franzie3 I can reproduce the problem now. Let me fix this and release 1.12 today.
[Nexus 6  Original Android Development] elite_gamer04:
Just wondering what's actually modified when wake gesture control from flar2, modified for leankernel is mentioned [MENTION=3357040]Imoseyon[/MENTION] :)?
[Nexus 6  Original Android Development] magnum870:
Awesome, sorry I wasn't able to respond in time to help. Thanks for taking time to fix things for us.
[Nexus 6  Original Android Development] RampageRR:
I can't answer your question, but I will say that the swipe to wake functionality is glorious. As is the much more reliable dt2w that comes along with it. I hope it stays baked in.
[Nexus 6  Original Android Development] tansuperman:
Have you tried copying to the otg USB? It says unsupported operation when I try. Going from the USB otg to phone is fine. I wonder if it has to be formatted a certain way.
[Nexus 6  Original Android Development] Imoseyon:
Ah off top of head, one of the enhancements I made was to optimize it so it uses a bit less kernel resources.
[Nexus 6  Original Android Development] lainemac:
Does it impact battery a lot?
[Nexus 6  Original Android Development] Cy_n_ic:
I dont find it noticeable myself. Whatever the impact actually is, i find it an acceptable tradeoff.
[Nexus 6  Original Android Development] Imoseyon:
v1.12 is up: https://github.com/imoseyon/leanKernel-shamu/wiki/Lollipop-ChangeLog

I had to accelerate the release a bit because it's got a couple of urgent fixes: 1) camera related reboots are now fixed, and 2) merged cm selinux commits to avoid system ui fc's.

Faux soundcontrol is now disabled by default and can be enable by lkconfig (or sysfs).

There's also a third option in the core control script requested by someone earlier. :)
[Nexus 6  Original Android Development] flyinj54:
When enabling fauxsound how do you actual control this? I've never tried it before. I see in trickster you can adjust the sound output but even raising sound to speaker +10 I don't notice a sound boost. Any suggestions?
[Nexus 6  Original Android Development] slickie88:
You have to run lkconfig from a terminal session.

https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en

su

lkconfig

Change settings as you like.
[Nexus 6  Original Android Development] flyinj54:
Ya I turned it on but that is the only option via lk config. Is that all you can do just turn it on or can you actually tweak the sound in some way? Doesn't seem to do anything just turning it on
[Nexus 6  Original Android Development] slickie88:
Sorry, my bad. Didn't catch your original question. I don't use it, but think you might need to have the FauxSound app installed. Play Store has it. Someone else might have a better answer for you.
[Nexus 6  Original Android Development] Cy_n_ic:
This is correct. You should also be able to terminal to sys/kernel/sound_control_3 and change them that way but i dont think it would survive a reboot so a script would be needed for that. On top of figuring out what controls what exactly in sound_control_3 folder. All things the FauxSound app makes alot easier on the end user
[Nexus 6  Original Android Development] Imoseyon:
That's right. The lkconfig option for soundcontrol is to enable and disable it only. I had to modify faux's code to do this, otherwise his sound control is active by default and can cause issues with speaker volume. (Thanks to [MENTION=5950417]SilkyJohnson[/MENTION] for testing this for me).

This soundcontrol feature is, I believe, designed to be used with the faux app, so most likely I won't add the actual controls for it to lkconfig. There are sysfs nodes in /sys/kernel/sound_control_3 that folks can test (or even write up some init.d scripts for it) - interesting ones are probably gpl_headphone_gain and gpl_speaker_gain sysfs nodes.

I don't use it. ;)