yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] xWolf13:
Obviously, searching and looking for an answer does not help your cause here. So here it is:

CLEAN WIPE. Make sure you are on latest TWRP

Download necessary files and make sure they are on a safe spot in your internal. All of these, do not say your internet is fast enough to finish these all in a second because obviously something is either wrong with your download or you're flashing the wrong files.

STEP 1

ROM (PureNexus as you preferred)

GAPPS

TaUrUs Mr1 R39

UKM Script

OPTIONAL, but if you want to take advantage of the kernel features: SuperSU Beta 2.65

STEP 2

Boot into TWRP Recovery. Again... MAKE SURE you are on the latest version.

Go into Wipe > Advanced wipe and check the following:

Dalvik Cache, System, Data, and Cache then swipe to wipe.

STEP 3

Back out until you reach the main menu of TWRP. Now the important part, go to your download files in which you put in a safe spot and flash them in the order.

First is the ROM (PureNexus duh)

Second is the GAPPS

Third is SuperSU (I usually flash it after all the system changes)

Fourth is the kernel (Since PureNexus is AOSP base, we are flashing the AOSP version of the kernel)

Final is the UKM script.

Then REBOOT!

See, how hard was that? The black screen is probably due to you flashing the CM version of the kernel. Surprising that it even booted. Please, if there are anymore complaints, do not load the thread with it. Feel free to PM me with any further problems

EDIT: Seeing that you beat me to fixing your problem, I'll leave this here for anyone else with the same complaints and problems. Eh hem... back to reddit browsing :D
[Nexus 4 General] Emanuelefulco:
Thank you a lot, your steps are very accurate! :D
[Nexus 4 General] xmaciek82x:
Man, ever since I moved on to N5 from my N4, I sure do miss this kernel... so what do I have to do to get this developer to make a Taurus Kernel for N5? :laugh:
[Nexus 4 General] xWolf13:
Easy... Get him a Nexus 5.
[Nexus 4 General] Emanuelefulco:
Taurus kernel on my AOSP is very good. Sometimes I have freezes (when I have time, I make a logcat) when i press power button to wake up the phone. The screen remains black and it freezes. But for now this isn't a problem.

I'm happy, and happy new year to all of you
[Nexus 4 General] Fenvarien:
I'm using Taurus kernel with Minimal OS, which is AOSP too, and since more than two months I didn't have a single freeze or reboot. IMHO you should always take into account, that there may be individual settings like UV/OC or rogue apps that cause your specific problems. Please don't post here about freezes all the time, the silent majority seems to have no bigger issues so far.
[Nexus 4 General] bart.found:
Did you make a fresh installation? Clean flash the ROM and set it up from scratch without restoring apps' data? Take a logcat anyway! It's the only way someone could help you! ;)
[Nexus 4 General] paolocorpo:
HI mate,

N4 + FAKE ROM MM + CATACLYSM MOD + TAURUS R39

Governor: smartmax_eps

Undervolt: -100mV

I have one or two restart/day

Can you suggest to me something ?

TKS

Paolo
[Nexus 4 General] dragos281993:
This restarts are 120% due to the excessive undervolting. Not all the phones can take -100mV and work perfectly fine. You should try to set that to -50 or something closer to the default value. I haven't fiddled with the voltages lately so I didn't get any reboots. I set it to -30 a while back ago and everything was still absolutely stable but I haven't noticed any improvement in battery life and temperatures so I changed it back to the default values. Since then, everything is rock solid. Kudos to Txuki for that.

So, again, the answer to your problem is the undervolting.
[Nexus 4 General] paolocorpo:
I will try to set +50 mV vs today ( = -50 Mv vs default values)
[Nexus 4 General] dragos281993:
Keep in mind that you have to put your device to the same tasks/under the same scenarios you've put it when you had it set at -100mV in order to see the difference. When the phone is under stress caused by power hungry apps and intensive tasks, the CPU requires enough mV to operate properly, and refusing to supply that makes the CPU go nuts/ "faint", resulting in a reboot.

It's something like this: Imagine that the CPU is a human and the mV is the air that he breathes. Reducing the mV is like chocking the human and forcing him to breathe less air. It's not gonna be a serious problem if he doesn't do anything exhausting, but if you make him run or dig a hole/ something exhausting, he's gonna need more air to breathe, air that you limited from the beginning, and he's gonna faint cause he couldn't get enough Oxygen for his brain to work properly. I hope you understood my analogy.
[Nexus 4 General] :
I installed a few times and every time have long reboots the phone.

I use twrp recovery ( twrp-2.8.7.0-mako).
[Nexus 4 General] txuki2005:
wipe cache and wipe dalvik before installation? do you undervolted? If not kernel related. you deleted before all old kernel configurations??

bye.
[Nexus 4 General] :
yes, I do wipe cache and wipe dalvik before installation.I to go back to version R15 for CM.
[Nexus 4 General] bdasmith:
Thank you for a great kernel....I am really happy running it.
[Nexus 4 General] Italico:
Hey guys!

Switched to this kernel lately, very happy so far - but I tried it only for a couple of days, it might get... better!

Some settings, if someone is interested:

192-1512Mhz

Conservative CPU governor, -125mV UV (except 1,5Ghz at -50mV)

Intelliplug, Conservative profile

Simple GPU governor, 900mV for all frequencies

FIOPS scheduler, 4MB readahead

No swappiness (0%), all C-states activated

FSYNC & Gentle Fair Sleepers disabled (WARNING: may cause loss of data in case of system crash and reboot)

Kernel Adiutor is a very good app (fancy GUI, FTW!); however, I am always using Synapse & UKM script - even if they have some glitches, sometimes - because it allows a bit more options to be ticked...

For example, on the Tools tab of Synapse I suggest to use the 'GSM_auto' profile instead of the standard 'WCDMA_preferred', because it will always allow to auto switch between 2G and 3G BUT it will prevent to force 3G signal when its strenght is very low, and so it helps to prevent battery drain.

PS: forgot to say I have a Faster binned chip, so be careful with UV! My values are tested for... a year, at least, using hungry apps (taking photos, i.e.) and with low battery. YMMV, as we usually say.
[Nexus 4 General] chenshaoju:
Where I can find changelog?
[Nexus 4 General] Csacsifiu:
On google+
[Nexus 4 General] toyr99:
Or in the latest update post.

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 General] fr3quency:
What? Chroma uses the stock kernel. All you need is a kernel with anykernel/anykernel2 format such as ak, mirage, quanta and so on and so on. Chroma has stopped using Franco.kernel(which has a modified ramdisk, so you first had to flash stock kernel and THEN flash the kernel you wanted) since, dunno, June-July?
[Nexus 4 General] toyr99:
Yeah, that's an old post

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 General] Applesan:
Good settings! But why you disable FSYNC & Gentle Fair Sleepers? If phone will freeze and reboot some data will be crashed.

And some special question: have you a lot of msm_hsic_host wakelock? It takes a greater amount of time.
[Nexus 4 General] Bugrov:
OTG doesnt work. In World of Tanks i see too low performance, on stock kernel the game looks mutch better. But i need maybe do some tweaks on CPU, dont know, i have a stock rooted Rom.
[Nexus 4 General] toyr99:
sorry for not being online these days guys. i'm working on faq and i'm back to answer questions :)
[Nexus 4 General] Italico:
Yes, there's a risk under... But I tested it enough to use it daily with this settings.

Anyway, you're right, I will edit my post ASAP

Well, I had quite a lot of them, but... even with the option unticked, it pops out often... So it seems it is not so effective.

I do not say anything more about, because I do not know how it works... maybe we can find more info into the N4 Franco kernel, thread if needed
[Nexus 4 General] toyr99:
UPDATE: R17

Download link in first post.

Changelog:

Deleted MSM_HOTPLUG, unused yet.

Revert "intelli/msm_thermal: initial coding for Qualcomm S4 Pro devices"

Rescue old msm_thermal used (modificied by FranciscoFranco).

cfq-iosched: fix the setting of IOPS mode on SSDs

neigh: Better handling of transition to NUD_PROBE state

mm: reorder can_do_mlock to fix audit denial

mm: Add notifier framework for showing memory

lowmemorykiller: Run the lowmemory notifier when killing

lowmemorykiller: Do proper NULL checks

staging: android: lowmemorykiller: skip dying or exiting task

lowmemorykiller: set TIF_MEMDIE before send kill sig

drivers:lmk: Fix double delete issue

staging: android: lowmemorykiller: implement task's adj rbtree

staging: android: lmk: check free memory when tasks switch to background

staging: android: lmk: skip if killed by lmk

staging: android: lmk: check TIF directly

staging: android: lmk: add rcu lock while test task flag

staging:android:lmk: Use for_each_thread helper

staging:android:lmk: read rb tree root with spinlock

fs: support task's adj rbtree

lmk: wrap the lmk code with config

get rid of ->mnt_longterm
[Nexus 4 General] snacs:
I used MSM_Hotplug :crying:
[Nexus 4 General] manpildo:
Question to all: which hotplug driver (franco or faux) do you use and what are your observations? Things like performance, battery life, heat etc.
[Nexus 4 General] txuki2005:
I recommenmed Franko hotplug. I deleted msm_hotplug because is similar to Faux on some things. So if you use msm_hotplug try faux.
[Nexus 4 General] yaymalaga:
[MENTION=5598884]Italico[/MENTION] I have tried to put the gsm_auto but every time I set the option in synapse it changes to the default one. Any idea?
[Nexus 4 General] bart.found:
Thanks for the update, I'm flashing it right now! ;)
[Nexus 4 General] pourya-man:
hi i installed last version of this kernel but tap2wap is half screen and not full screen . i want full screen tap2wake . What should I do ?
[Nexus 4 General] paolocorpo:
I just now understood that the setting made with TRIKSTER MOD PRO for my mistake were not saved at boot !

SO ... the reboot cannot be seen as consequence of undervolting

ANy other idea ??

TKS

Paolo
[Nexus 4 General] dragos281993:
Nothing. It's more stable the way it is right now than if it was fullscreen.

---------- Post added at 06:08 PM ---------- Previous post was at 06:05 PM ----------

First set the mV back to stock and test the phone that way. If you still get random reboots, you've got something causing it. I've been using Taurus kernel since forever and didn't get a single random reboot, not one, so the problem is definitely caused by something on your device. I suggest you do a clean install, system + data + cache + dalvik cache wipe, install the ROM, Gapps, kernel, reboot to system and test everything the was they are, stock, then, if you still have the problem, while everything's stock, then it's ROM related.
[Nexus 4 General] pourya-man:
witch kernel has full screen tap2way for 6.0.1
[Nexus 4 General] dragos281993:
None.
[Nexus 4 General] fr3quency:
Lol I love that people want features such as tap2sleep, tap2eat, tap2work, tap2tap, tap2tap2tap2tap, tap2drive etc.

Just enable dt2w ffs. "No, I want see2wake, wavemyhand2wake, blink2wake, doubleblink2wake"
[Nexus 4 General] dragos281993:
You forgot "fart to wake", "chew with the mouth open to wake", " spit on the screen to wake" and also "read my mind 2 wake".
[Nexus 4 General] groovepeppy:
can i have tap2tap lol
[Nexus 4 General] pourya-man:
but older version have full screen tap2wake worked on 6.0.1
[Nexus 4 General] ashjas:
[MENTION=4460459]pourya-man[/MENTION]

Did you read post #787 ? Please do it once more, you will LOL so much, that you will forget about fullscreen dt2w !

I mean it.

Summary: That feature was dumped for a reason... too UNSTABLE!
[Nexus 4 General] pourya-man:
see attach . i think all of you will LOL so much . i use another kernel and now have full screen tap2wake and all of CPU core is working now . Keep giving yourself to fart for more stable. :D
[Nexus 4 General] dragos281993:
Keep using it. After some time you'll see that not even 100 taps can't turn the screen on.
[Nexus 4 General] davide@10:
Only a quick question, for battery duration is better hellsactive or smartmax_eps governor? Thank you
[Nexus 4 General] dragos281993:
Txuki said smartmax_eps a while back ago.
[Nexus 4 General] davide@10:
Thank you man, other suggestions for better battery configuration?
[Nexus 4 General] dragos281993:
Get "Kernel Adiutor" from the Play Store first.

Then open the app. Now slide from the left side of the screen to reveal the side panel and tap on the "CPU" section. Set the CPU governor to smartmax_epsand set the "CPU Maximum frequency" to 1242 MHz. Now, within the same section, navigate to "CPU governor tunables" and change these: -"boost_freq" to 918000;

-"input_boost_duration" to 50000;

-"touch_poke_freq" to 702000.

Now navigate to the "GPU" section from the side panel. Tap on "GPU Maximum Frequency" and set it to 325 MHz. Don't forget to check "Apply on boot" found at the top of every section where modifications were made. The performance will be a bit limited, but you'll have great battery life.
[Nexus 4 General] mesaj:
http://xdaforums.com/nexus-4/general/adreno-drivers-august-2015-android-5-1-1-t3184477/page5

do these drivers need any kernel level work? glitching when scrolling sometimes, but very rarely
[Nexus 4 General] dragos281993:
I don't thing that scrolling lag is caused by the drivers. It's more probable to be related to the ROM that your using. For example I'm using "Pure Nexus Project" + latest drivers + Taurus kernel. The ROM has "scrolling cache improvements" (either just "enabled" or "forced") meaning that the cache partition is used a bit more intensive in order for the scrolling experience to a smoother. And it's noticeable compared to the other ROMs that don't include this feature. If you compare the older drivers to the new ones, you won't see any visible improvements. BUT the newer ones don't offer less. And lag and stutter is present (abundantly) as it always has been. It's a Nexus 4, it's old. The hardware may still look fairly decent on paper, but the truth is that the phone is seriously outdated compared to what's on the market at the moment. There's no way you can get rid of stutter and low fps, it's just not possible. The CPU may have 4 cores, 2 more than what the IPhones have, but the quality of their "composition" is what matters and our N4 is decent for 2013. I hope I didn't talk too much rubbish and you got what I said.
[Nexus 4 General] mesaj:
I got what you say but it's not lag issue, but for example first 2 top rows in app drawer scroll ok, middle scrolls on different speed and bottom doesn't scroll at all, just display bug but menu thinks its already on different page than what can you see, its random thing, happening in random menus. I'm fine with N4 performance it's still good and I know that phones score 5x more in antutu nowadays but thats just overkill. For gaming cpu is bad, looking at for example PPSSPP performance on snapdragon cpus and adreno, but for everyday use and web browsing I'm fine.

Other thing with these gpu drivers are for example random squares showing when scrolling etc etc
[Nexus 4 General] dragos281993:
I haven't had any of your problems happily.
[Nexus 4 General] zeeBomb:
Anyone got interactive/govenor tweaks that I can use to make the experience even better? How much did y'all undervolt?
[Nexus 4 General] TIRAN20:
msm_hsic_host

txuki2005, msm_hsic_host occupies more than 10% in the statistics. I can not solve this problem. It does not help? review.cyanogenmod. org/#/c/29462/
[Nexus 4 General] codebam:
I undervolt by -100mV total. But it varies by device. I can safely undervolt -125mV but I leave it at -100mV for stability. That's 750mV at 384MHz and 1050mV at 1512MHz.

As for interactive tweaks I use the default and they seem fine. I'd be interested in hearing what other people use for interactive though.
[Nexus 4 General] zeeBomb:
Ah. What's your binning speed? Mines at fastest, and I managed to get to 725mV but did it slightly different than global mV.

For the interactive tweaks, visit soniCron guide on advanced interactive tweaks as I find it a dope way to change your turntables to get the most out of your N4...but I'm using hellsgod hellsactive as its really stable and optimized for daily use anyway.
[Nexus 4 General] Evil...:
differences between TaUrUs-Mallow-AOSP-mr1-Mako-R39 and UKM Synapse Special Editon Mako :confused::confused:
[Nexus 4 General] paolocorpo:
I supose that the first one is a kernel and the second one is an app able to set the kernel (alternative to TRIKSTER MOD or other)
[Nexus 4 General] dragos281993:
Lmao ! The best joke I've heard this year.
[Nexus 4 General] fr3quency:
I have to tell you that I love your posts. Every single one of them. We think alike but you bother giving help sometimes. I admire your courage. [emoji14]
[Nexus 4 General] txuki2005:
R40 testing..... Stay sttuned!!
[Nexus 4 General] mubaidr:
I am using Pure Nexus (MM) with this kernel and Kernel Adiutor. Everything works great! Thanks for your effort. :highfive: Looking forward for next update.
[Nexus 4 General] dragos281993:
Thank you, sir !
[Nexus 4 General] Applesan:
is it important thing for mako kernel? http://review.cyanogenmod.org/127153
[Nexus 4 General] bart.found:
Hi, just for curiosity... Could I flash the cm version of this kernel flashed on an AOSP/caf ROM?
[Nexus 4 General] pratamaaudi:
never try that

but, my advice is don't do that :p
[Nexus 4 General] dragos281993:
Nothing bad will happen if you do that. You'll only get a nice bootloop. And if by any chance the phone boots up, the colors will look a bit messed up.
[Nexus 4 General] bart.found:
Trouble is that I got messed colors flashing the AOSP version.. Anyway I already flashed the CM version even if the ROM isn't CM based... But it has some caf commits.. I was wondering if this could screw something else!!

Not a big deal though... I'll stick with this ROM only for few days cause it has a ****ty community
[Nexus 4 General] dragos281993:
Why don't you flash the AOSP version of the kernel ?
[Nexus 4 General] bart.found:
Because I got weird colors with the AOSP version! ;)
[Nexus 4 General] fr3quency:
[MENTION=5311064]txuki2005[/MENTION] check this out(kernel needs to be patched that's why I'm sharing it): https://plus.google.com/+SykoPompos/posts/gC1DCocSAoM

Sent from my Nexus 4
[Nexus 4 General] dragos281993:
Hell yeah !!! Finally, no more reboots when applying the preferred overlays.
[Nexus 4 General] mauriciognr:
N4 running Antutu Benchmark 6.0.1

Taurus r39

CyanogenMod 20160107

All on stock as out of the box.

[YOUTUBE]79xB7ojhfVU[/YOUTUBE]
[Nexus 4 General] bart.found:
not that good.. I (and other people around) got 32000 with minimal OS or Pure Nexus ;)
[Nexus 4 General] txuki2005:
R40 CM/AOSP Mr1 online

Changelog:

- Fixes Everywhere

- Workqueue 3.10.y patches

- More optimizations for stability and performance

- Compiled with Uber 5.3.X last version

- Sched patches from [MENTION=3292224]franciscofranco[/MENTION]

- Added Wakeup_reasons and Partial_Resume patches and activated. Better deep sleep

- Settings by default on ramdisk:

- Max brightness 100

- Vibrator amp 70

- GPU: Ondemand, max 400 mhz by the fault. ( OC with synapse or adiutor)

- CPU: 384-1512

- Interactive Governor by default (only on AOSP version)

- Gamma control preset: PA

:eek:Must be installed on your preferred kernel stock rom.:eek:

DOWNLOAD

AOSP

https://www.androidfilehost.com/?fid=24352994023709575

CM

https://www.androidfilehost.com/?fid=24352994023709576

:)
​
[Nexus 4 General] dragos281993:
Oooooo !!! My brother from another mother... !!! Happy to see you keeping our Nexus 4 nice and smooth with these frequent updates. :highfive::laugh::victory::good:
[Nexus 4 General] granazis:
TNX! for your new project friend.

Have a happy new year in health

Christos
[Nexus 4 General] bdasmith:
[MENTION=5311064]txuki2005[/MENTION] v40 working very good. Thank you!
[Nexus 4 General] mauriciognr:
[MENTION=5311064]txuki2005[/MENTION] r40 and CM13 Nightly 07012016 reboots itself in Kernel Adiutor when trying to change governor to hellsactive. I uninstalled KA and now im flashing CM13 10012016 and r40, i'll report back
[Nexus 4 General] Akopop:
CM13 and r40 - when i try to change governor to hellsactive in kernel adiutor, phone reboot itself.
[Nexus 4 General] dragos281993:
The last build for L was r27. CM 12 is Lollipop. Probably you meant that you're on CM 13. In that case, try wiping Kernel Adiutor's data. Did you do a cache+dalvik wipe cache before and after flashing the kernel?
[Nexus 4 General] mauriciognr:
You are right, i was kinda distracted also english is not my native language. Anyway the phone reboots itself. I uninstalled Kernel Adiutor and flashed Cm13 10012016 and r40, the problem is still there, it seems to be only with hellsactive, switching to other governors works ok.
[Nexus 4 General] granazis:
Yea right because hellsgod dint made any kernel for cm friend, and hellsactive is section from his kernel for AOSP roms

Regards
[Nexus 4 General] mauriciognr:
I see, have sense. thanks man ;)
[Nexus 4 General] txuki2005:
maybe with a good dsmeg and last_kmsg... i will see the error and maybe i will can fix it :p

I never use CM, i dont like it
[Nexus 4 General] fr3quency:
LOL, so I flashed Chroma 10/01/16 + Taurus 40. Actually the files that I flashed(in the order I specify) were:

Chroma 10/01/16

osm0sis's BusyBox .zip

A very-very heavy modified version of [MENTION=5311064]txuki2005[/MENTION]'s GApps package(back when you first released it that removed some system sounds. It really worked for me. I edited it yesterday to remove the new emojis in Chroma and flash the old ones. Basically I maintain that .zip myself(updater-script etc). I copy the .APKs from OpenGapps and/or ApkMirror and all the other needed stuff because I want the latest versions when I CLEAN flash when possible)

Taurus 40

SuperSU 2.66

Adreno Drivers - December

So, after I re-edited every setting possible and restored my user apps, I went back to sleep with 99% battery. To my surprise, when I woke up, I still had 99% battery after 7 hours(as I have installed Kernel Adiutor to edit the kernel settings for maximum performance). Yeah, it makes me extremely happy. xD

[MENTION=5311064]txuki2005[/MENTION], to make the old 6.0.1 font/emojis work(new Chroma comes with another set of Emojis) I pasted the following lines in your updater-script:

delete_recursive(
"/system/fonts/NotoColorEmoji.ttf"
);

and

set_metadata_recursive("/system/fonts", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");

I believe I did it right since I have the old emojis PLUS an updated Google Keyboard with the countries' flags(so I guess I also have the latest 6.0.1 emojis)

This is how my(yours :P) GApps look like. I'd like a comment from a GApps maintainer:

Also, I saw that Banks updated his GApps package and rebased it to the latest factory images. I saw 2 new files: one under /system/etc/sysconfig/ with the name "whitelist_com.android.omadm.service.xml" and a new folder under /system/etc/ with the name "updatecmds" which, said folder, contains a .TXT file "google_generic_update.txt". Just thought I'd let you know so you can enlighten me as well. :P

Disclaimer: I haven't distributed my heavy-modified GApps nor do I intend to in the following days/months/years. It's for personal use and personal use ONLY. Thanks for your time you put into your kernel.
[Nexus 4 General] granazis:
[MENTION=5311064]txuki2005[/MENTION], As iam also against cm based roms i did it just for trying your kernel for cm,so hopping somewhere you are going to help senting the attached file refered to RR 6.0.1 rom build ResurrectionRemix-M-v5.6.0-20151214-mako with regards by Christos.

Dont know if is the right one you need, unable to upload the logcat because of permission of sized

All the best
[Nexus 4 General] :
Works good on latest unofficial purenexus N4