yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] pables123:
Is this normal? [MENTION=1316336]defconoi[/MENTION]

View attachment 2935194
[Nexus 4 Original Android Development] manueltts:
No it isn't. Which kernel version? Clean install?
[Nexus 4 Original Android Development] defconoi:
I had this happen with the older UKM 3.4.3 is available, also reinstall SuperSU 2.02 and ukm and kernel, fixed it for me.
[Nexus 4 Original Android Development] shadeMe:
Kernel panic with the latest build (u85r2), kmesg. I should note that this is the first time I've had a NULL pointer crash of this sort with this kernel. Used to plague me when I was using AK. I'm on Paranoid Android 4.6 Beta 1.
[Nexus 4 Original Android Development] pables123:
Im using 85 r2 build
[Nexus 4 Original Android Development] manueltts:
Well, [MENTION=1316336]defconoi[/MENTION]'s answer is the best I could give. I forgot to ask you about UKM. 3.4.3 has important improvements and fixes. If you have an older version, do the update.

Remember reflashing ROM/

andallyoursystemstaff after.
[Nexus 4 Original Android Development] defconoi:
Thanks for the log, looking it over.
[Nexus 4 Original Android Development] edilber:
I can send log with synapse?

I do not know much about logcat, dmesg or kmsg.

I want to contribute in the best way possible.
[Nexus 4 Original Android Development] shadeMe:
Another NULL pointer crash (reboot reason is set to watchdog again), kmesg. Same build of the kernel as last time (u85r2). Will try out the newest build.
[Nexus 4 Original Android Development] Sblast:
Sweet mother of Kernels, Nice kernel :D [MENTION=1316336]defconoi[/MENTION] Any chance to add support to Wake Gestures?

Thanks!
[Nexus 4 Original Android Development] defconoi:
I fixed some bugs in the newest build try that :)
[Nexus 4 Original Android Development] jacomail95:
+1 :D and, if i can ask again without bothering you, can be added the custom fastcharge voltage option from Faux kernel? Thanks again for reading :thumbup:

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] defconoi:
Sure, I'll add it asap, let me know guys of any other features you all would like to see. Thanks

defcon
[Nexus 4 Original Android Development] BigCrisco39:
A griddle! Be able to flip this bad boy over and cook some bacon and pancakes!

Thanks Def!

Sent from my LeXus⁴
[Nexus 4 Original Android Development] defconoi:
Your welcome, it's a privilege, since I'm stuck with the n4 for a while I figured let's get this baby as current as possible. This kernel has allot of Linux 3.14 stuff in it, since I made the feature list in the op most things have been completely upgraded and changed, one of these days I gotta spend a few hours updating the features lol
[Nexus 4 Original Android Development] ijayesh:
Do I need to reflash the rom m coming from 85u ...

Plz reply fast. Ty for the kernel ?

Mahdi and aosp version kernel
[Nexus 4 Original Android Development] sykopompos:
I second a griddle!!
[Nexus 4 Original Android Development] defconoi:
No just flash
[Nexus 4 Original Android Development] kimerawph2:
Hi man! You commited about hellsactive in the last version (86u), but it's not available yet, right?

Any news about it?

Thanks in advance.
[Nexus 4 Original Android Development] defconoi:
It has some stability issues with my new workqueue and Linux 3.14+ backports, it causes random kernel panics, once its updated I will enable it.
[Nexus 4 Original Android Development] upilguebu:
Your new kernel (86u) are the best! Using it on my liquidsmooth with f2fs, really can save my battery when idle. I can't find that on other kernel :( And for gaming this kernel is great as Ak kernel :D continue developing this awesome stuff dude.
[Nexus 4 Original Android Development] a g bell:
[MENTION=1316336]defconoi[/MENTION],strange things disappearing from synapse.

On 86u could you take a look at these logs if you get Chance

Thanks https://www.dropbox.com/sh/0fwnh1lmtzg107p/AABrtmEGsjFHShAM-Rc_w0Mma?dl=0
[Nexus 4 Original Android Development] Defferex:
I think there are problems with hotplug in 86u, latest UKM and Synapse.

After boot my CPU doesn't go down 918 Mhz.

I have 81 Mhz as Min Frequency and darkness governor.

All works fine after selecting MSM Hotplug and then IntelliPlug back (I use it as default one).

Any suggestions?
[Nexus 4 Original Android Development] defconoi:
Which hotplug? I switched to darkness to test using intelliplug and it scaled down correctly, CPU touch boost boosts at 918, change that.
[Nexus 4 Original Android Development] defconoi:
I too experienced some weirdness with synapse, I had to clear and uninstall synapse, was also using the beta SuperSU and clearing synapse cleared root access and had to reroot, I kid u not... Clear everything, reinstall ukm 3.4.3 and synapse.
[Nexus 4 Original Android Development] shadeMe:
More kernel panics with the latest build. Logs attached.
[Nexus 4 Original Android Development] edilber:
thanks

All is well in this kernel (86u) with my setup. thanks for this contribution, great job.
[Nexus 4 Original Android Development] defconoi:
Kernel Update

ion-storm - update version to 87u

ion-storm - f2fs: vfs: Rename end_writeback() to clear_inode()
Wanpeng Li - writeback: Fix some comment errors
Richard Kennedy - fs: remove 8 bytes of padding from struct writeback_control on 64 bit builds
H Hartley Sweeten - mm: page-writeback.c: local functions should not be exposed globally
Jan Kara - writeback: Avoid iput() from flusher thread
Jan Kara - vfs: Rename end_writeback() to clear_inode()
Jan Kara - vfs: Move waiting for inode writeback from end_writeback() to evict_inode()
Jan Kara - writeback: Refactor writeback_single_inode()
Jan Kara - writeback: Remove wb->list_lock from writeback_single_inode()
Jan Kara - writeback: Separate inode requeueing after writeback
Jan Kara - writeback: Move I_DIRTY_PAGES handling
Jan Kara - writeback: Move requeueing when I_SYNC set to writeback_sb_inodes()
Jan Kara - writeback: Move clearing of I_SYNC into inode_sync_complete()
Fengguang Wu - writeback: initialize global_dirty_limit
ion-storm - Revert "vfs: Rename end_writeback() to clear_inode()"
ion-storm - import Faux123's fastcharge: initial adaptation for Nexus 4
Jan Kara - vfs: Rename end_writeback() to clear_inode()
Sankara Muthukrishnan - irq: Set CPU affinity right on thread creation
Chris Fries - ARM: smp: Wait just 1 second for other CPU to halt
Mel Gorman - mm: vmscan: If kswapd has been running too long, allow it to sleep
franciscofranco - msm: fb: Little hack to allow the lowest brightness value to be as low as possible.
Ravi Joshi - msm: Create shadow files under /sys/kernel/ipv4
Ravi Joshi - WLAN subsystem: Sysctl support for key TCP/IP parameters
Paul Reioux - Sound Control: add line gain to cached and register lock
Paul Reioux - Sound Control: fix copy and paste error for separate record lock
Satya Krishna Pindiproli - ASoC: qcom: qdsp6v2: fix crash due to asynchronous read/write
Paul Reioux - Sound Control: MSM8960DT/APQ8064 ONLY: Fix logic derp
Laura Abbott - cma: Remove potential deadlock situation
ion-storm - Sync w/@alucard24
ion-storm - Revert "Revert "workqueue: gut system_nrt[_freezable]_wq()""
ion-storm - Revert "Revert: "System adapted to new workqueue 3.7" (reverted from commit d21d9625172f90c6ac69494fc1442043cd961693)"
Thomas Gleixner - futex: Unlock hb->lock in futex_wait_requeue_pi() error path
Nicolas Iooss - eventpoll: fix uninitialized variable in epoll_ctl
Tetsuo Handa - kthread: fix return value of kthread_create() upon SIGKILL.
Nishanth Aravamudan - kthread: ensure locality of task_struct allocations
Tetsuo Handa - kthread: make kthread_create() killable
Li Zefan - cgroup: fix exit() vs rmdir() race
Srivatsa S. Bhat - CPU hotplug, cpusets, suspend: Don't modify cpusets during suspend/resume

AOSP/L

CM11
[Nexus 4 Original Android Development] defconoi:
I am reverting a couple of old changes that may be causing an issue, its related to HTC's Asyncronous Fsync, going to revert them and let you test. Their has been allot of reports upstream of stability issues and others have reverted it. What exactly are you doing when this happens? I have not had any bug reports or experiences with this issue (yet)
[Nexus 4 Original Android Development] defconoi:
rolling out another kernel will be ready soon with allot more updates and bug fixes
[Nexus 4 Original Android Development] defconoi:
I need some hard core testing of this kernel done, audio/video, games, multitasking, want to make sure this baby is stable, so far so good, this incorporates allot more updates no other kernel for the N4 has yet. We are in uncharted waters ;) dmesg/kmsg/logcats are welcome if any issues arise
[Nexus 4 Original Android Development] edilber:
Friend the dmesg / kmsg / logcats saved with synapse can help ?, am new to this but I see that the best way to contribute if an error comes to arise. excuse my English

---------- Post added 16th September 2014 at 12:05 AM ---------- Previous post was 15th September 2014 at 11:22 PM ----------

Friend by now have seen that graphics performance is good but has one major flaw, presents a great loss of frame rate, when not touching the screen (low fps immediately).
[Nexus 4 Original Android Development] ivanich:
Have some strange behavior with smartmax and synapse/UKM, steps to reproduce:

1.Set smartmax in synapse, save

2. Reboot phone and wait till it boot and dispay goes off

3. Try to unlock

Result: Phone doesn't wake up

Other governors I've tried(HYPER, interactive, slim) works fine after reboot. Can't provide last_kmsg for now:(
[Nexus 4 Original Android Development] a g bell:
Kernel panic ouch!? https://www.dropbox.com/sh/0fwnh1lmtzg107p/AABrtmEGsjFHShAM-Rc_w0Mma?dl=0
[Nexus 4 Original Android Development] chineel:
I had tried same 86r2 with same result it seems screen wake was fail but phone was on my logs are attached here with
[Nexus 4 Original Android Development] Sir_gpm:
The stock setting of this kernel is fine for balanced battery/performance or we need to tune it?.
[Nexus 4 Original Android Development] shadeMe:
On both occasions, I was playing back some media file. The first time was when I was scrubbing/seeking a voice note in whatsapp. The second was when I was seeking a video file in MXPlayer. And just few minutes ago, I had the phone hanging up fully when attempting to play another video file, even the adb wasn't detected in this state. I'll try out the latest version.
[Nexus 4 Original Android Development] defconoi:
This is a HW error adjust your voltage/clock speed a bit
[Nexus 4 Original Android Development] defconoi:
is this only with smartmax?
[Nexus 4 Original Android Development] shadeMe:
Kernel panic with the latest build. Also seem to be getting random FCs with apps. Fwiw, u84 was the last stable build for me.
[Nexus 4 Original Android Development] BelzIgoh:
I have this problem too. Yes only with smartmax.

This problem occurred too with AK kernel when I use it last time.

All kernel settings are default, only change the governor to smartmax.
[Nexus 4 Original Android Development] chineel:
Yes. do you need me to test Same with 87ur1? I did downloaded the kernel but was very busy today so i was not being able to flash that.
[Nexus 4 Original Android Development] shadeMe:
Yet another random kernel panic. I'm afraid I'm gonna have to switch back to u84 for the time being, sorry.
[Nexus 4 Original Android Development] a g bell:
OK thanks☺
[Nexus 4 Original Android Development] defconoi:
what kernel aosp or CM? Im compiling a test kernel for you with some bug fixes

ion-storm - update to 87u-r2 to fix a few bugs
ion-storm - sync: base: bug fixes
Jeff Boody - base: sync: signal a sync pt when not adding to the active_list
Erik Gilling - sync: allow async waits to be canceled
Prakash Kamliya - sync: Limit logging to particular fence on timeout and error
Viresh Kumar - cpufreq: Improve debug prints
Junjie Wu - cpufreq: interactive: Round up timer_rate to match jiffy
Paul Reioux - sched/cpuidle: reduce IPI store. Backport upstream 3.16 scheduler updates
ion-storm - Revert "vfs: Rename end_writeback() to clear_inode()"

AOSP/L

CM11
[Nexus 4 Original Android Development] shadeMe:
Aosp. I'm on PA.4.6beta1.
[Nexus 4 Original Android Development] defconoi:
Try that kernel, will have to play some videos in MX player to test, I couldn't reproduce it with the few videos I just played.
[Nexus 4 Original Android Development] defconoi:
fixed smartmax, uploading 87u-r3 to fix that :) thanks for reporting an issue
[Nexus 4 Original Android Development] defconoi:
donations

got a few donations, thanks guys, make sure you add your nick name so I can thank you properly and post your name on a donation board in the op.
[Nexus 4 Original Android Development] Sonoo:
Lz4 compression for z ram, resets it to zero!

E.G. Set z ram to 1024. Set lz4. Z ram resets to 0

---------- Post added at 12:35 AM ---------- Previous post was at 12:33 AM ----------

Lz4 compression for z ram, resets it to zero!

E.G. Set z ram to 1024. Set lz4. Z ram resets to 0
[Nexus 4 Original Android Development] defconoi:
thats expected behavior, first move ram to 0 then set lz4 save, then move mb to 1024 and save, what happens is changing those settings disables zram, so you gotta save lz4 first then set disk size
[Nexus 4 Original Android Development] Sonoo:
Noted. Thanks.
[Nexus 4 Original Android Development] gorilla p:
I'm running latest version with hyper governor and its working great so far

---------- Post added at 04:24 PM ---------- Previous post was at 03:36 PM ----------

I added a battery profile for latest version
[Nexus 4 Original Android Development] frikakwa:
Same governor on mine and I must admit how smoooooth it is! Really good job [MENTION=1316336]defconoi[/MENTION]! I think I will stay on this version for a long long time! (Android L preview on N4 inside!) :good:
[Nexus 4 Original Android Development] defconoi:
My settings
[Nexus 4 Original Android Development] BelzIgoh:
Thanks [MENTION=1316336]defconoi[/MENTION]

Smartmax bug fixed. This kernel getting more awesome.
[Nexus 4 Original Android Development] Aaron_Knowles:
I feel like I'm having an issue. I'm not sure if its the kernel or a setting, but it feels somewhat unresponsive, I'm not sure how to explain but I have to really push down on the screen hard in order for touch screen to be responsive. The vibration is also really weak even though I've set it to 100%.

It actually hurts my hands to type right now with the force I have to use.

[MENTION=1316336]defconoi[/MENTION] is there a setting within synapse to change to make touch screen feel more responsive?

I clean flashed CM11 M10 tonight and originally tries HD kernel but used the uninstaller first to flash this, so I don't believe its anything I've done incorrectly. Also using the settings the kernel came with. Not changed anything.
[Nexus 4 Original Android Development] BelzIgoh:
Try to wipe system, then flash your ROM and GApps again. Let it boot.

Then go to recovery again, flash UKM and this kernel.
[Nexus 4 Original Android Development] defconoi:
I believe cm changed some things in M10 that adjusts the screen sensitivity(glove mode). I have not checked it yet. But temasek cm11 and L work for me. As for the vibrations you can adjust them higher in synapse, I cut the voltage down in the vibrator to save battery and it might be a lil less.
[Nexus 4 Original Android Development] loveuhp:
[MENTION=1316336]defconoi[/MENTION]: can you have relaese OTA update app ?
[Nexus 4 Original Android Development] montbazon:
You can check this thread day by day.
[Nexus 4 Original Android Development] shadeMe:
Still getting kernel paging crashes with the latest build. Once again, was watching a video. The crash happened some 15 odd minutes into it.
[Nexus 4 Original Android Development] keverall:
Defconoi,

Can you add your settings post to the Op at the start please?

http://xdaforums.com/showpost.php?p=55493446&postcount=1556
[Nexus 4 Original Android Development] defconoi:
Thanks, I'll get this fixed asap.
[Nexus 4 Original Android Development] shadeMe:
More shenanigans. The phone got hung up once again during video playback, only this time, it didn't end in a kernel panic. The screen froze up although some touch events were working. I could put the phone to sleep with the power button as well but it'd keep turning itself on, and shortly thereafter, back to sleep again. Was using the zen io scheduler, if it's useful. 3mb read ahead buffer.

I'm gonna be travelling tomorrow, so I'm falling back on u84r1. I shan't be able to test new builds for awhile.
[Nexus 4 Original Android Development] johnb380:
Have you tried wiping everything and clean flashing your ROM gapps and kernel and then running the kernel at default settings?

Maybe something you tweaked is causing the issues cuz I've never had crashes... Also what is your CPU binning? Could be the voltages?
[Nexus 4 Original Android Development] defconoi:
actually im going to revert the rbtree updates that are causing this crash, double checked the code and its good, could be an upstream issue that isnt fixed yet, I still need you to test if its fixed after the revert, I'd appreciate it if you could do that since I am unable to reproduce, it could be the type encoding of the video your playing or the player doing something unique, regardlessly i'd like to get it fixed even if it effects one person.
[Nexus 4 Original Android Development] defconoi:
I trust that he is having a geniune issue, im working on it, I appreciate his help providing logs very much ;)
[Nexus 4 Original Android Development] cfrank38:
flo kernel ?

Your work is incredible, i like very much this kernel.

Some time ago you mentioned that you are working on a flo kernel for the nexus7 2013 ?

AAny alpha version available ?

would be freaking awesome to have a great kernel for flo .....

Thanks and many thanks for all the things
[Nexus 4 Original Android Development] defconoi:
I am working on one currently, no alphas yet, I'm working on getting it identical to this one. Once its fully synced to this one and running good I'll post it up :)
[Nexus 4 Original Android Development] defconoi:
This is a bug fix update for a random crash when playing video in MX Player:

87u-r4:

AOSP/L

CM11
[Nexus 4 Original Android Development] defconoi:
[MENTION=5116699]shadeMe[/MENTION] check this out and let me know how this works for you, specificially, if you can play that video for a while, let me know, or let me know which video so I can debug it locally I'd appreciate it.
[Nexus 4 Original Android Development] defconoi:
i played a few videos over plex, working good for me on L, now trying bubble upnp and dlna streaming with mx player HW+, not having issues, will let HD movie play an hr or so to test stability.
[Nexus 4 Original Android Development] shadeMe:
Thanks for running along with me. I'll give it a shot.
[Nexus 4 Original Android Development] TA123:
Something keeps the phone awake.
[Nexus 4 Original Android Development] TA123:
I'm using r3.
[Nexus 4 Original Android Development] defconoi:
use wakelock detector and greenify, im not experiencing any issues, been getting 4-5hrs screen on time
[Nexus 4 Original Android Development] :
Extra init Scripts

I received a Hangouts updated from 1Mobile Market but not sure what really changed from 2.3.70 to 2.3.75589790.

Oops! Forgot Google Play Services 6.1 :cool:

On to more pressing matters

[MENTION=1316336]defconoi[/MENTION] Why is it generating init scripts on the device? :confused:
[Nexus 4 Original Android Development] defconoi:
that's the ramdisk contents
[Nexus 4 Original Android Development] :
[Delete]

So, exactly which one's can I delete?

Right now 87u-r3>>87u-r4!

Long boot up times! Noticeable sluggishness even with CPU tweaks.

I don't believe Z-RAM is working correctly because while installing updates there's a noticeable drop in performance on everything.

App updates will hang, opening apps while others are updating takes longer than it should, overall responsiveness of the screen is not to my liking.

At the moment, I disabled Z-RAM!
[Nexus 4 Original Android Development] defconoi:
Something is messed up, don't touch them files or you may softbrick, I actually noticed a increase in performance from r3-r4. Nothing of significance changed, only 1 file rbtree.c so that wouldn't cause those issues. I use zram with lz4 1024 MB, try and clear your settings or any interfering apps.
[Nexus 4 Original Android Development] :
Z-RAM Hype? Not!

On 87u-r4, granting apps superuser access took so much longer than on 87u-r3 during boot!

LZ4 never sticks! Even when you ✓ LZ4, have it reset your Z-RAM, set it up to 1024 MB and swappiness, once you reopen Synapse it's defaulted back to LZO.

I'll give it one more whirl, but I'm not holding my breath. Full wipe and force close of apps, and go from there...
[Nexus 4 Original Android Development] BelzIgoh:
Maybe can check if u use Xposed Unbounce. I use it lately to reduce GPS wake lock, but got bug my nexus never enter deep sleep.

Without it my nexus sleep like a baby. Using 87u r4.
[Nexus 4 Original Android Development] TheNerd:]:
So if I turn off intelliplug , autosmp gets turned on?
[Nexus 4 Original Android Development] txuki2005:
Miles thanks [MENTION=1316336]defconoi[/MENTION] , great stuff!!

But... my problem is... freeze and reboot everytime, default settings on synapse.

If you want a "log".... tell me

My bin is slow and Mahdi Fresh install without nothing anormal.

Anyway...great work!!
[Nexus 4 Original Android Development] kalpik:
I haven't changed voltages or clock speeds. This is all stock.
[Nexus 4 Original Android Development] defconoi:
You may want to do a clean install, something seems left over that is modifying voltage table or cpufreq
[Nexus 4 Original Android Development] defconoi:
Don't turn off intelliplug, autoamp was removed because of the extreme battery usage and improper unplugging of cores
[Nexus 4 Original Android Development] defconoi:
Kernel Update 69u

Ultimate Unleashed 69u Kernel Update

Added Faux zram

Lowmemorykiller optimizations

Dynamic Fsync optimizations

Android Zram optimizations

lz4 zRam speed boost

frontswap optimizations

zcache optimizations

zmalloc optimizations

touch_wake: Fix always-awake with sweep2wake/sweep2sleep enabled

touch_wake: Replace deprecated earlysuspend hooks with lcd notify

lge_touch_core: Replace deprecated earlysuspend hooks with lcd notify

https://www.mediafire.com/folder/2bf59z88j41yz87,x2e6my1vee62lm8,jty1xx6f6yap3ub/shared
[Nexus 4 Original Android Development] defconoi:
by default we are undervolted a little bit, may have to revert that, if you can provide a logcat that would be great so I can confirm voltages are your issue or something else.
[Nexus 4 Original Android Development] pables123:
What the default cores boosted in hotplug?
[Nexus 4 Original Android Development] defconoi:
I think I set it to 3, you can check by clearing synapse
[Nexus 4 Original Android Development] flakinarist:
Are there other colors in v69? ;)
[Nexus 4 Original Android Development] manueltts:
I only see L and CM11 versions, no anykernel version?

Edit: I'm using temasek's cm11... But isn't CAF.
[Nexus 4 Original Android Development] The Tox:
http://www.mediafire.com/download/x2e6my1vee62lm8/defcon-69u-unleashed-AnyKernel_mako.zip
[Nexus 4 Original Android Development] defconoi:
Kernel Update

Updated Kernel 69u-r2:

Added HYPER cpu governor

Tweaked HYPER for performance/battery

https://www.mediafire.com/folder/6t2x6d3m27wcj2h,kfxvv9j4mh0y755,cnijxpghqaa6ebv/shared
[Nexus 4 Original Android Development] kalpik:
I was on a clean install. Is the kernel under volted by default? If so, you might want to revert that?

---------- Post added at 07:58 AM ---------- Previous post was at 07:38 AM ----------

Okay, I tried comparing voltages with hells doctor (which runs stable on my device). And I see that hells doctor is more undervolted by default. The only difference I notice was that hells doctor has 81mhz, 192mhz and 384mhz. This kernel has 81mhz, 162mhz, 270mhz and 384mhz. Maybe some devices don't like 162mhz or 270mhz?

I don't know, just trying to figure out the problem.

I've changed minimum frequency to 384mhz, and haven't had a crash yet. That's what I'm basing my conjecture on :)