yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] tarekeldeeb:
Thanks [MENTION=4217103]zaclimon[/MENTION],

I activated the tweak and was able to use mouse/keyboard.

On Kitkat, I used to work with my USB-UART bridge device, basically it's a simple cp2102 chip. Now it's not working. Did you filter out some device classes from OTG?
[Nexus 4 Android Development] zaclimon:
The port is configured to work for OTG. That said, you need to have the drivers for your device. I can see that the kernel doesn't have the cp210x driver required for your chip to work. I'll send you shortly a PM regarding this matter.
[Nexus 4 Android Development] k500zm:
Hey zaclimon - Loving v7 - working great over here.

Dig the xpad support - needed it to finish the final level of Tomb raider UB which would have been impossible without a real controller !

Thanks ;)
[Nexus 4 Android Development] zaclimon:
I wouldn't have thought possible for people to use a controller in a device that requires external power for Otg. After seeing some people needing you kernel compiled with xpad, I tought that maybe it would be nice to include it as well.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] Bastlwastl2010:
V7 works like a charme on CM

And just curiuos:

Battery draining from Google Play Service on mobile connection is gone for me....sine update kernel

Dont now why....to many options: (new kernel, new Play Service, new CM nightly)
[Nexus 4 Android Development] ahoyboyhoy:
What CM nightly and GAPPS package are you running? I just installed 10/01 and Banks 09/30 GAPPs
[Nexus 4 Android Development] Bastlwastl2010:
cm-12.1-20150926-NIGHTLY-mako.zip

http://xdaforums.com/android/software/gapps-google-apps-minimal-edition-t2943330
[Nexus 4 Android Development] Applesan:
Please use gapps from this thread: http://xdaforums.com/android/software/tk-gapps-t3116347
[Nexus 4 Android Development] ahoyboyhoy:
I'm just now noticing a bad msm_hsic_wakelock whenever I'm on WiFi. I monitored using Wakelock Detector today and had this wakelock 4 hours of 12, primarily while at home on WiFi. The wakelock was almost non existent while I was out and using cellular data. I tried toggling the wakelock preventer, but the wakelock persists on WiFi. Any ideas? Is there anything else to look into other than kernel?
[Nexus 4 Android Development] k500zm:
LiquidSmooth v4.1 Rom has msm_hsic_wakelock prevention built into the rom - regardless of if you change the kernel ;)

Observe in settings/performance/ kernel settings misc
[Nexus 4 Android Development] dragos281993:
Try "Doze" from the Play Store. It's supposed to stop the apps or everything else when the phone goes to sleep. You can choose which apps can connect to the internet if you wanna receive notification, emails, news,etc.
[Nexus 4 Android Development] ahoyboyhoy:
Thanks for the suggestions, but I'm under the impression that msm_hsic_host wake lock is an issue with Kernel code and that it has little to do with my app activity or ROM. On average, I have about 10 minutes of CPU wake lock a day as I've done quite a bit to curb what apps are allowed to wake up or keep awake the phone through CyanogenMod's Privacy Guard. FWIW, today I only had about 40 minutes of msm_hsic_host wake lock.
[Nexus 4 Android Development] dragos281993:
I've never had a problem caused by the msm_hic_host before, at least not with this phone. In 12 hours since I unplugged the phone, msm_hic only stayed awake 1 minute and 32 seconds. Given the fact that you have this problem and I don't, I can only assume that something else other than the kernel is causing it, most probably an app or something.

I'm on crDroid ROM + Quanta v7 (the smoothest experience I've had so far)
[Nexus 4 Android Development] zaclimon:
You're the first one that I see to report the msm_hsic_host wakelock for Mako. I do know that you can disable the wakelock either by using FKU or doing this command (if you haven't done so already):

echo "N" > /sys/module/wakeup/parameters/enable_msm_hsic_ws

It was made in the beginning for those having this issue on the N6.
[Nexus 4 Android Development] ahoyboyhoy:
I've tried toggling that kernel parameter and it doesn't seen to have any effect. I examined my battery usage yesterday evening though I noticed that some red in my mobile network signal strength which I believe indicates searching for signal. Would that be activating the wake lock? If nobody seems to be having this problem, perhaps it's not a kernel problem at all, but just a lack of signal where I live occasionally?
[Nexus 4 Android Development] Applesan:
I have this issue too, on various kernels. And even if msm_hsic_host wakelock is on. :(
[Nexus 4 Android Development] ahoyboyhoy:
Yesterday I thought this wake lock was coinciding with poor network signal or no network signal, where the phone was searching for signal and therefore necessarily awake, but today I have more than two hours of wake lock with great signal. I don't have any misbehaving apps and even if I did, I've been connected to WiFi all day. I've attached screenshots of my network signal strength from today, the kernel wake locks I've had and the CPU wake locks (just to show that nothing is out of control there, Hangouts was a call that I was on, everything else are reasonable auto-syncing).

Any ideas? Today prevent msm_hsic_host wake lock has been set to the default "On".
[Nexus 4 Android Development] mr_new_guy:
I had this msm_hsic_host wake problem too. In battery stats, some apps had mobile radio active far longer than the time i used the apps.

Xposed module mobileactiveradiofix fixed it for me. It featured in xda home before.
[Nexus 4 Android Development] nimbold:
i just wanted to thank you for this kernel. after 2 years of using this device i could get 5 hours of SOT again!

using latest version.
[Nexus 4 Android Development] sandy7874:
hello guys,

i want to use this Kernel to use USB OTG. I have stick mount app installed and Minimal OS Rom.

I have Y cable as well. how can I do this? I flashed this installed UKM as well but in Kernel Auditor no USB option showing up.
[Nexus 4 Android Development] yochananmarqos:
Use Quanta Tweaks. You have UKM installed, did you check Synapse? I forgot if it has the option, it should. No use having UKM installed without Synapse. Kernel Adiutor does not utilize UKM.
[Nexus 4 Android Development] sandy7874:
Thank you for response. Quanta Tweaks to be installed from Play Store right?

I guess I have to install CM version of Quanta for Minimal Rom right?
[Nexus 4 Android Development] yochananmarqos:
Yes.

Don't know, read the the Minimal OS OP.
[Nexus 4 Android Development] sandy7874:
Thanks again, I flashed CM version, rebooted. Opened Quanta Tweaks, clicked OTG Hack.

Opened Stick Mount - downloaded required files, clicked mount, nothing happens.

It shows Active Mounts: None.

Any idea?

Am I doing smthing wrong?
[Nexus 4 Android Development] bart.found:
msm_hsic_host wakelock is network related! I don't mean related to a bad network coverage, I mean just network related, stop!

My experience: back in kitkat days I never had this kind of issue on my Mako... but since Lollipop update i started to have huge drain due to this wakelock!!! The weirdest thing is that it happened only in a specific location (unfortunately my home) that has full signal coverage with my provider (H3G)!!! When I was in another city for work the wakelock disappeared! I tried every type of workaround I tried to turn off mobile data, wifi always scanning, wifi itself, location services but that damn wakelock was always there!!!!! Later I discovered that if I force my mobile to stay in roaming with another mobile operator (TIM in my case) the wakelock stops bothering me!!!

Now, that wakelock is present in every location even on full signal coverage (thank you H3G)... I tried to flash an old kitkat modem (1.03) with no luck, I tried to downgrade to kitkat to see if it was Lollipop related... and it isn't!

Do you really want to get rid of msm_hsic_host wakelock?? CHANGE YOUR MOBILE OPERATOR.. or if you don't believe me, try to put a different SIM in your mobile for a night...
[Nexus 4 Android Development] shawnbrennan55:
May be a problem with the ROM. Try running USB Host Diagnostics.

https://play.google.com/store/apps/details?id=eu.chainfire.usbhostdiagnostics
[Nexus 4 Android Development] Bastlwastl2010:
[MENTION=4217103]zaclimon[/MENTION]

This

http://review.cyanogenmod.org/#/c/110959/

can be intrested for people with replacement display
[Nexus 4 Android Development] ahoyboyhoy:
Perhaps it is more present at my home and less present in other locations, but I'll continue to test this hypothesis. It's a real bummer to hear that you never found a viable solution short of changing network operator because I'm very fond on mine. Last night I had an 8 hour wake lock!
[Nexus 4 Android Development] bart.found:
I didn't find any solution till now.. however, try to put another SIM in your phone and see what happens.. just a curiosity! ;)
[Nexus 4 Android Development] BesoC:
msm_hsic_host wakelock can be disabled in Franco Kernel Updater => Kernel Settings
[Nexus 4 Android Development] bart.found:
If you have that issue kernel tweaks don't help that much.. it's frustrating.. but you have to live with it or switch carrier.. :(
[Nexus 4 Android Development] zaclimon:
Thanks for the suggestion, I'll add it for V8 on Marshmallow.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] :
when can we expect a V8 ?
[Nexus 4 Android Development] dragos281993:
Most certainly after M becomes a bit more common and stable cause at this point it's more of an experimental experience with the AOSP version available.
[Nexus 4 Android Development] BesoC:
I've used Franco.Kernel updater with Temasek's rom and Temasek's rom + Quanta v7. I noticed that with Quanta kernel, ondemand governor is replaced by conservative. From cpu monitor it seems that conservative governor keeps active at least 2 cores , while with ondemand only one core is active. I suppose that ondemand is more energy-efficient then conservative, so, why replace it?
[Nexus 4 Android Development] zaclimon:
There's a few reasons for this:

1. Franco optimized interactive and conservative to be a balance between power saving and performance.

2. Seeing ondemand requiring 1 core at standby doesn't necessarily offer a better battery life.

You should try it and see which governors offer you the best battery life/performance ratio. I believe that Franco offers the best ratio for both.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] coderzs:
Here is m support commit for kernel https://github.com/vocoderism/kernel_google_msm/commit/aa07d4fca07d8370b77f044f1ec596c963f8babf

Написан с Nexus 4. Работает на XDA Forums
[Nexus 4 Android Development] zaclimon:
Thanks for the suggestion. Though, I'll make a clean rebase and add Flo commits while rebasing. :)
[Nexus 4 Android Development] dragos281993:
Any ETA? Just asking. The smoothness of M is making me very excited.
[Nexus 4 Android Development] zaclimon:
Not yet, I'll probably upgrade to marshmallow this weekend so it might not be long after this.

Also, I'm working on the update almost everyone with QT is waiting for. Though it can take some time as well.

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Android Development] dragos281993:
[MENTION=4217103]zaclimon[/MENTION] , here's some great news:

https://plus.google.com/u/0/+AldrinHolmes20/posts/PqDUbg1XUi4
[Nexus 4 Android Development] zaclimon:
Meehhh looks like [MENTION=4450732]CallMeAldy[/MENTION] made all the fun work XD. Thanks dude!!
[Nexus 4 Android Development] dragos281993:
When users of the new Nexus devices will receive their units, they'll be like "We're the first ones to " taste" Marshmallow !" , while Nexus 4 users well be like "We're already >sick< of it, friends". LOL. And I thought we'd get M around 2 months after the official release.

Our devs are the best.
[Nexus 4 Android Development] AndyYan:
For popular devices, devs are always awesome. Back when KK was just released, just as the GNex users were complaining that they were abandoned, their AOSP KK builds dropped even earlier than N4...

Sent from Google Nexus 4 @ CM12.1

[WARNING: XDA Premium 4.0.13+ lacks Signature function - do not update]
[Nexus 4 Android Development] dragos281993:
Any news about quanta for M around here?
[Nexus 4 Android Development] zaclimon:
I'm switching to marshmallow this week. I'll try to get Quanta working this weekend. (no guarantees as I have to see those selinux changes)

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Android Development] zaclimon:
All abord the V8 train choo choo!!

I know my deadlines aren't the best of the world but patching Marshmallow was a bit a pain this weekend. Anyways, I'm happy to say that the train just arrived so don't miss it out this time! ;)

V8(25/10/15)

- Initial Android 6.0 (Marshmallow) release

- Linux 3.4.110

- Removed Franco sound tweaks (They weren't as powerful as Faux Sound so it might just be better to remove them)

- Updated the F2FS drivers

- Updated android-keyboard-gadget

I've tried it with Chroma, and I'm impressed so far considering I'm on Ext4.

The sources, and both releases are available on BasketBuild.

Enjoy!! :)
[Nexus 4 Android Development] :
the new version V8 will run on CM 12.1 ??
[Nexus 4 Android Development] dragos281993:
It already says in the comment above that it's for M, so it's not compatible with L.
[Nexus 4 Android Development] zaclimon:
Although it has been made for M, because there are no ramdisk changes, it "should" work on Lollipop. That said, it isn't something that I'll support in any way...

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] ObihoernchenDE:
V8 is working fine with CM 12.1. No issues at all :)
[Nexus 4 Android Development] SubNoizey:
[MENTION=4217103]zaclimon[/MENTION]

Is this AOSP Bug Kernel or Rom level? http://xdaforums.com/nexus-4/orig-d...sm-nexus-4-t2385619/post63295876#post63295876 The post says "Kernel wakelock"

If you use the flashlight quick settings tile, a kernel wakelock (msm_camera) will keep your device awake indefinitely afterwards.

Workaround

* After using the flashlight toggle, open and close the Camera app to clear kernel wakelock, or

* Apply hotfix attached

If it's Kernel can you port the fix from the post I linked?
[Nexus 4 Android Development] dragos281993:
It's Gapps related. It has something to do with the permissions. Google is gonna release stable official Gapps without these annoying bugs at some point.
[Nexus 4 Android Development] SubNoizey:
So if I'm using Chroma and Quanta do I ask Chroma to patch it or do I ask Quanta?
[Nexus 4 Android Development] dragos281993:
There's a fix on this page:

http://xdaforums.com/showthread.php?p=63295876

Download the zip that's under the "Credits". It's got around 600 KB. Get that and flash it.

Another fix is to open the camera app, then close it.

Sent from Serenity using a blender.
[Nexus 4 Android Development] xWolf13:
Neither.
[Nexus 4 Android Development] zaclimon:
From what I'm seeing, it looks like an AOSP bug, zephiK seems to have incorpored that fix on October 23th so I believe that it should be on the latest official build. You can still try the hotfix to see if it works or not.
[Nexus 4 Android Development] SubNoizey:
Thanks very much, Thanks everyone else who answered but it's always nice to hear it from the OP
[Nexus 4 Android Development] Cristiano Lira:
If I convert the filesystem to f2fs data/media would be wiped too?
[Nexus 4 Android Development] shawnbrennan55:
Yes, /data/media (a.k.a sdcard0) will be erased.
[Nexus 4 Android Development] axsdenied1:
Anybody else experiencing Chrome locking up for up to 5 seconds while scrolling? Running Quanta v8 on Chroma MM.

Edit: cleared Chrome data with Titanium backup and all is good now.

Very happy now!!! Excellent work and thank you.
[Nexus 4 Android Development] Bastlwastl2010:
Firefox closed immediately after start with no errors

Back to V7

No problems
[Nexus 4 Android Development] Alex91Sc:
My Nexus 4 did not detect the pendrive :(
[Nexus 4 Android Development] zaclimon:
Could you get a logcat/dmesg so I can see what's going on? I don't guarantee that it'll be fixed but it would be good to know what's wrong.

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Android Development] Bastlwastl2010:
You say, its a marshmallow kernel, so i hope its work on marshmallow, i installed it on CM 12.1 :cowboy:

Also i must complete delete the FKU data and reboot, otherwise the installation from playstore dont work.

What logs do you need?

"Normal" logcat

kernel.log

Last_kmsg ?

But i am on a little vacation this weekend. I think monday...
[Nexus 4 Android Development] zaclimon:
Ahh I thought you were on CM13. In such a case, I won't give any support for this. XD

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Android Development] KcLKcL:
How stable is f2fs now? Last year I used f2fs and it was really unstable, had freezes now and then..
[Nexus 4 Android Development] ObihoernchenDE:
Using it for about 1 year now without major issues. Had some but that was mostly because of Cyanogenmod. Since a few months no issues at all.
[Nexus 4 Android Development] 777.300:
Just flashed the v8 on my son's N4 over Chroma M and found that Firefox is crashing. Flashed Chroma again and Firefox runs now. Just a small bug, all other things running fine.

Thanks for this great M kernel
[Nexus 4 Android Development] jimyiak:
With this kernel on cataclysm clean install root explorer crashes..can't run it at all..

sent by nexy 4
[Nexus 4 Android Development] AndyYan:
Same here on CM. Using the phone as a daily driver, so couldn't get a log as of now. Just letting people know.

Sent from Google Nexus 4 @ CM12.1
[Nexus 4 Android Development] zaclimon:
Alright I thought the problem was related to the rom itself but it is a problem in quanta. I'll try to see what's wrong with the Root Explorer/Firefox issue.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] arjundas86:
I'm using Quanta V7 with CM12.1, and I find that frequency settings that I make (with Synapse or Kernel Aduitor) don't stick on reboot. Is this because CM overrides the kernel frequency settings from the app, or am I not using the apps properly?
[Nexus 4 Android Development] 777.300:
Already an idea what is causing the issue?
[Nexus 4 Android Development] zaclimon:
Currently investigating right now, I'm rebasing Quanta to see where I may have failed. So far, without updating the Linux version, both apps are working great.
[Nexus 4 Android Development] 777.300:
So I don't have to waste effort on reporting a issue to Firefox?

Thanks for spending time to investigate the issue, much appreciated.

The N4 is working great with your kernel minus this FF error.

Sent from my Nexus 7
[Nexus 4 Android Development] zaclimon:
Nope you won't have to. :)

After considering that the error was due to some modification occured during the kernel version upgrade, I'm considering to see if I'll let the kernel be only at 3.4. (Like it always been at stock) As the kernel's motto is Simple, Powerful, Stable, I'm already seeing 2 of those 3 aspects not being respected.

I'll try to patch the kernel myself directly through the Linux kernel source but if it isn't satisfying, I'll most likely revert back to 3.4.0 and apply the Quanta related patches.
[Nexus 4 Android Development] yochananmarqos:
Status update? Chrome freezing was always the problem I had with Quanta on L. I'm sticking with the stock Chroma M kernel (CallMeAldy's base kernel before he ported AK to M) for now to avoid issues I've had in the past. I haven't even tried hells-Core or AK yet. I miss FauxSound, dt2w & USB-OTG so I'll give in at some point.
[Nexus 4 Android Development] axsdenied1:
It was actually still freezing. Resetting chrome settings may have helped (freezing seemed to be shorter) but it could just have been me.

I did a clean install of chroma last night, will try quanta again in the next few days and report.
[Nexus 4 Android Development] zaclimon:
Mehh I'll try something in the next few days and I may have to need some testers for this.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] Alex91Sc:
Sorry, you can be able to read the storage USB?
[Nexus 4 Android Development] zaclimon:
Reboot time

Hi guys, sorry for the boring/random text that's going to follow this but it's time to reconsiderate one aspect of Quanta. When I first decided to move over from SM-Franco, I wanted the kernel that I wanted to build to be simple. Over the time, I wanted to add more and more features without checking if it was really stable. Because of this, some apps began to break in Marshmallow. (Mainly Root Explorer and Firefox)

That's why, for Marshmallow, I'll reboot and base the kernel upon stock Google source (3.4.0) without any Linux kernel upgrades. V9 is also based on it. The same features that you know (and probably love?) are still here minus the massive untested patches from the Linux version upgrades.

V9 (09/11/15):

- Rebased from Google 3.4.0 sources

- Compiled with the latest UberTC 5.2 optimized for Cortex-A15 CPU's

Both builds are available on BasketBuild. I've still left V8 for some adventurous people lool XD. If possible, I would like to get some feedback and see what do you guys think of it.

Enjoy!! :)
[Nexus 4 Android Development] jimyiak:
Thanks for the kernel...v9 is only for M right?

sent by nexy 4
[Nexus 4 Android Development] 777.300:
Great update, thanks for all your work on this kernel. Firefox bug is fixed.
[Nexus 4 Android Development] zaclimon:
You can use USB-OTG on the device but you need to have a USB-Y cable in order to use the feature on the device.

Well as it is an AnyKernel and that the ramdisk hasn't really changed between Lollipop and Marshmallow, I suppose you can flash it on Lollipop and it would still work. That said, I won't provide any support for Lollipop as it wasn't meant to be flashed on it anyway.
[Nexus 4 Android Development] HiM@L:
it's been only a day but kernel is running smooth with Cataclysm M... really can't comment on battery life for now... let's see how it goes in few days. thank you.
[Nexus 4 Android Development] dimaka1256:
lollipop aosp works ok (terminus rom, 511)

usb otg on y cable also ok!
[Nexus 4 Android Development] yochananmarqos:
[MENTION=4217103]zaclimon[/MENTION] What's the shell command to toggle exponential brightness? I'm thinking of making a Quick Settings button for it with Quick Tasks (Tasker plugin).
[Nexus 4 Android Development] zaclimon:
echo 0 > /sys/devices/i2c-0/0-0038/lm3530_br_mode (Exponential mode)

echo 1 > /sys/devices/i2c-0/0-0038/lm3530_br_mode (Linear mode, normal if you want)

Hope it helps!
[Nexus 4 Android Development] yochananmarqos:
Thanks!

Is FauxSound working for anyone else? The values don't change switching sound profiles. I can set them manually, but there's no difference in sound at all. I tried FauxSound and Synapse.

Also, the CPU Max Freq displays 1242 MHz, yet the input_boost_Freq is 1512 MHz. Huh?
[Nexus 4 Android Development] zaclimon:
That's weird, I can set them manually just fine with QT. Also for the CPU Max freq, what happens if you set it back up to 1512 Mhz? Does it still go back to 1242?
[Nexus 4 Android Development] shawnbrennan55:
Thanks for the info! I've been trying to find a good list of all the file locations for Mako kernel parameters in order to create an init.d script. Do you happen to know of a good reference?
[Nexus 4 Android Development] yochananmarqos:
I set it to 1512 and it stuck. Not sure why it was being quirky. After dirty flashing the 11/11 Chroma build over 11/8 and another reboot later on, everything seems to be fine now including FauxSound.
[Nexus 4 Android Development] zaclimon:
You can find many of them here:

https://github.com/apbaxel/UKM/blob/UKM-Enhanced/data/UKM/device/mako.sh

I don't think there are all of them but it should have everything you need.
[Nexus 4 Android Development] :
Please confirm v9 works well on CM12.1 ??
[Nexus 4 Android Development] Mrcactuseater:
Just try it