yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] Burn02:
Hello, could you explain how to compile it?

That is to say how to update the source to get the last patch of kernel and then compile?

I really thank you for your work, your kernel is just great....
[Nexus 4 Android Development] mparmpas122321:
Hello! For your information the kernel works great with Dirty Unicorns 7.1.1 for mako.
[Nexus 4 Android Development] saleiro:
And also great with latest SAOSP.
[Nexus 4 Android Development] harsh.ea:
Amazing kernel. The only kernel till now which don't cause sleep of death on my device. Thanks dev
[Nexus 4 Android Development] justmix4:
[MENTION=4217103]zaclimon[/MENTION] Could you give us a final release v20 for Marshmallow with dirty cow security updates?

Okay, I'm a total noob, but I'll try to somehow figure out it on Windows 7, that will be funny.
[Nexus 4 Android Development] poondog:
Hi,

You can try it in a virtual box in Windows, or installing linux (eg. Ubuntu) is easy and free.

Once you have Linux setup, I found this guide very useful when I started:

https://xdaforums.com/showthread.php?t=1966751

Alternatively these days a lot of developers compile using a build script. If you take a look in the git of many kernels, you'll see the build script - just edit the paths to match your own and you should be good to go.

Good luck - Poondog
[Nexus 4 Android Development] zaclimon:
Let's see if you can do it first using a VM. I can try to help you if ever something breaks up. :p
[Nexus 4 Android Development] dcshallot:
I flashed your kernel again, seems the minimal frequent normal. But, deep sleep miss?
[Nexus 4 Android Development] dcshallot:
Sorry.... Minimal lock 1026 again...... Please fix it when you have time, thanks a lot!
[Nexus 4 Android Development] zaclimon:
[MENTION=4689205]dcshallot[/MENTION] and [MENTION=5860885]nickimsonikimsi[/MENTION] what is the rom you're currently using because from what I see it isn't a simple AOSP one. I could try to replicate the bug to see where it comes from. Do you guys also have any wakelocks?

At the same time, could I have your init.mako.rc files?

[MENTION=7293348]xim4[/MENTION] Have you managed to compile the kernel in the end?
[Nexus 4 Android Development] nickimsonikimsi:
Dear [MENTION=4217103]zaclimon[/MENTION]

İ use latest 7.1.1 pure nexus

Now with its stock kernel
[Nexus 4 Android Development] dcshallot:
I use lineage os 14.1. nightly 0222
[Nexus 4 Android Development] Burn02:
Hello, same for me on lineageOs. I have changed it and set "set on boot" it seems to be ok.

And for the moment it seems that i have got the sameproblem, no deep sleep (but i am charging it so perhaps it's normal, il will see tomorrow...

EDIT: after unplugged i have got deep sleep. So it'seems to be normal and only when plugged.
[Nexus 4 Android Development] zaclimon:
Hey guys, I'm aware of the situation with QT crashing when internet is enabled. The cause is that the domain name period has expired and that I need to update it. (was using some kind of old school email so I didn't get the notice properly)

I'll take a look this weekend and keep you updated on the situation.
[Nexus 4 Android Development] dcshallot:
How about the frequency lock issue...?
[Nexus 4 Android Development] zaclimon:
Sadly I nearly don't have the time to check it compared to the QT issue + I won't have my Nexus 4 for some while. (I'll pass it to somebody)

If I can manage to have time to properly debug this, I'll probably ask for help from you or the others.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] dcshallot:
It's OK, and I'll wait for your updates. Thanks, anyway.
[Nexus 4 Android Development] zaclimon:
What's up guys, here's the hotfix update for QT:

4.3.4:

- Fix FC's when QuantaWorks is down

- Adapt for the new QuantaWorks website

- Misc fixes

The update should be shortly available in the Play Store.

EDIT: By the way, the link for QuantaWorks is now quantaworks.io. (not .me anymore) The OP has been updated to reflect the change.

Enjoy! :)
[Nexus 4 Android Development] nAFutro:
[MENTION=4217103]zaclimon[/MENTION] Thank you for building an awesome kernel for my Nexus 4 and 7 but I've got the feeling that v21 isn't working great on the latest Chroma 6.1 rom. I've used you kernels with Chroma for more then a year and with the last one i couldn't get much more then 1 day out of the battery. I've got no clock issues like some people mention on 7.1.1. Sadly I have no idea where the draining takes place but it was there. I'm using the 7.1.1 rom now and battery life is more then 1,5 day again.
[Nexus 4 Android Development] TechnicsKuzya:
Same trouble after using Quanta Kernel, min frequency 1026 MHz, change it to 384 MHz by QT, after some minutes it lock to 1026 MHz!? Install Kernel Auditor, change by it to 384 Mhz, all perfect now, by night 0% battery consumpion with Greenify (aggrsive Doze enabled) and Wi-Fi auto off apps.
[Nexus 4 Android Development] dcshallot:
DT2W works?

Edit: works normally.
[Nexus 4 Android Development] TechnicsKuzya:
I don`t activate this function. I have two Nexus 4 - 1026 MHz bug at the both (Fake Nexus ROM + Quanta kernel v.21, one with root, second - without root). CPU stats - after reboot, all perfect - frequency 0.3 GHz when it idle, I launch Chrome, some browsing and CPU stats show the CPU FQ 1.0 GHz!? I open Quanta Tweaks at the rooted N4 and I see that min frequency 1026 Mhz? Try to set 384 MHz, some minutes and CPU stats show 1.0 GHz again!? Open Quanta Tweaks - Min FQ 1026 MHz.... Now I install Kernel Auditor - set Min FQ - 384 MHz by this app, and IT LOCKED now, CPU stats show 0.3 GHz even after browsing, but after that Quanta Tweak can`t setup Min/Max frequency, may be Kernerl Auditor change some permissions!!!???

P.S. And one more - when min frequency set 1026 MHz, Kernel Auditors graphs show that only zero (first from fours) core locked MIN FQ to 1026 MHz, second show periodically 0.3-0.7 GHz, third-four - stopped, when I setup MIN FQ by Kernel Auditor - both CPU core show periodically 0.3-0.7 GHz.

---------- Post added at 09:09 AM ---------- Previous post was at 08:10 AM ----------

Try to use Kernel Auditor from play market, it really lock MIN CPU FQ for me!

---------- Post added at 09:23 AM ---------- Previous post was at 09:09 AM ----------

You can change this with Kernel Auditor too.
[Nexus 4 Android Development] dcshallot:
I'm using now. Quanta kernel is smoother than hellspawn. Maybe because of ksm.
[Nexus 4 Android Development] TechnicsKuzya:
CPU-Z and many other same apps didn`t show activity for last 2 cores (sometimes 3 cores and only restart help to show activity first 2 cores), it`s always stopped, same time CPU Stats and Kernel Auditors - shows all 4 cores when it used. Why?

---------- Post added at 09:40 AM ---------- Previous post was at 09:26 AM ----------

I liked Quanta it solves SoD for me, but stability of battery life not so good, sometimes 0-1% at night, sometimes 5-10% lost... Now I test it with Greenify (with Force Doze) and locked by the Kernel Auditor MIN frequency if OK, then root second Nexus 4 (my wife) and I will be happy.
[Nexus 4 Android Development] kirkap:
Nexus 4 with stock LMY48T, Rooted, Quanta #7, Quanta tweaks-->OTG hack enabled.

No sound goes to USB.

I connect Oppo HA-2SE DAC\Amplifier (charged) with microUSB to USB cable. Headphones are connected to DAC\Amplifier.

When playing any song from either Google Music or AIMP - the sound goes via phone's speaker instead of USB...

What can be the cause?
[Nexus 4 Android Development] Sage:
oops wrong thread.
[Nexus 4 Android Development] TacoLoco:
Hey guys, I destroyed glass and touch screen.. I'm on lineage 14.1.. Can I activate USB otg by simply flashing this kernel and control the device using Logitech k400 keyboard and touch pad? I already have the right y USB cable.. Best regards!
[Nexus 4 Android Development] TacoLoco:
Now I tried to flash V21 CM Version but without success:

- with TWRP I cannot install because my Touchscreen isn't working (maybe there is a way to get into sideload mode?)

- with CWM I always get "Status 6" when installing

Please help :)
[Nexus 4 Android Development] Burn02:
Hello.

No news about this great kernel? :)
[Nexus 4 Android Development] dcshallot:
I have a question, whether quanta kernel does replace the origin kernel? Or just do some extra features? If lineage os commit some kernel patches, quanta would overwrite them?
[Nexus 4 Android Development] hauckk@sfreserves.org:
You can also try semaphore manager works with quanta because quanta is a semaphore based kernel semaphore manager app is on google play store
[Nexus 4 Android Development] dcop7:
Yes, it replaces. It is a different kernel

It noy based on semaphore. Early was based on Franco, if I'm not mistaken. I don't used a mako anymore ( :( ), but this is what I remember and made a quick search. If I'm wrong, correct me.
[Nexus 4 Android Development] hauckk@sfreserves.org:
Your right I was mistaken it is based on franco
[Nexus 4 Android Development] hauckk@sfreserves.org:
I have a bug

I was trying to sync my fitbit blaze smartwatch to fitbit app and Bluetooth is very unreliable couldn't sync fitbit app kept telling me to restart Bluetooth

happened on mm and nougat using quanta v21 aosp on unlegacy mako 5-9-17 build 6.0.1 build

and on nitrogen os 7.1.2 5-11-17 build

On nitrogen os 5-11-17 build switched to n4 revival kernel and Bluetooth syncing worked just fine so I know it is an issue with your kernel sorry to say
[Nexus 4 Android Development] jazzcat81:
So will I extend my daily battery life simply by installing this, or does it need to be tweaked? Sorry, I'm new to kernel mods. Is there a guide for tweaking ? Thanks in advance :)
[Nexus 4 Android Development] hauckk@sfreserves.org:
Use kernel auditor mod apk available here

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

Enable apply on boot for every tab where you change a value

Set max CPU to 1026

Set Min CPU to 384

set max screen off frequency for cpu to 702

Set minimum cpu online to 1

GPU set max to 200

Use conservative or on demand governor for CPU

and simple governor or on demand governor for GPU

Turn off io stats

Turn on fsync

Set rq affinity to 1

Disable all wakelocks under wakelocks tab

Turn on software CRC control

Turn off android logging

Turn on fast charge and arch power

Turn on ksm and deferred timer

Leave everything else at default settings

Some more good apps to check out is hebf optimizer and l speed both are avaliable on google play

If you want more info send me a pm I don't want to clutter this thread
[Nexus 4 Android Development] jazzcat81:
Thank you so much for your help. Just a quick question. Will this help extend the batter significantly, or just a bit? And will performance be affected, or not really?

Thanks again!
[Nexus 4 Android Development] hauckk@sfreserves.org:
Depending on your usage it may cause some performance decreases heavy games may lag but a moderate increase in battery life I consider it a good trade off
[Nexus 4 Android Development] justmix4:
Be careful with fast charge, I've heard of cases of burning a mini USB port while charging with fast charge enabled.
[Nexus 4 Android Development] dcshallot:
would you please merge recent lineage os kernel updates into your work in these days?
[Nexus 4 Android Development] *Jonny*:
Yes but it seems to me that it has stopped supporting this device :(
[Nexus 4 Android Development] KitsuneFoxy:
Hello

What is the last version to support Marshmellow 6.0.1? I use Chroma on my nexus 4.

I do not want nougat. And i dont want to use another rom.

Thank you
[Nexus 4 Android Development] cpt-harlock:
[MENTION=6245194]KitsuneFoxy[/MENTION]

V20 is the last Marshmallow release.
[Nexus 4 Android Development] KitsuneFoxy:
Thank you very much.
[Nexus 4 Android Development] katzelad:
Hi,

I have installed V21 on N4 stock 5.1.1 and get "Android version currently not supported" in Quanta Tweaks.

Do I need an older version? Which one?

Thanks
[Nexus 4 Android Development] KitsuneFoxy:
Hi again. I tried this, and i noticed it does not have MPdecision which is the stock hotplug

nor the stock thermal control. (I use Chroma Rom)

I'm not terribly literate with those types of settings, so i was wondering if they can be put in?

Sorry if i am mistaken
[Nexus 4 Android Development] Suhu007:
Can i flash it in oreo rom?
[Nexus 4 Android Development] bgoel4132:
i have been using last nougat bult 6 December fake nexus nexus 4 with quanta v21 and its very smooth even my tock starts to hang a bit whatever i try it doesn't seem to hang except for while playing high end games which are not meant for nexus 4

and even i had not faced any sod till yet and battery life is also impressive so quanta v21 and 6 dec built seems to be perfect combo out there for our nexus 4

i do.tried the hellspawn r05 cpuset but i experience a bit scroll lag often snd battery life was almost same in hellsapwn the bug i found is that the caller screen appears to load slow and even apps take a while to open or say a lag is there which is absolutely not in quanta v21

i used both the kernels without any tweak or modification
[Nexus 4 Android Development] katzelad:
Any plans for Oreo support?
[Nexus 4 Android Development] ericcorp:
Figured I'd ask, but I have an N4, touch on it doesn't work. The phone is factory defaulted, with bootloader unlocked. It just boots to the setup screen. I'd like to be able to use a keyboard and mouse for it, but of course I need to enable all this OTG goodness. Curious if I can just flash the kernel, and then use a Y cable? I'm messing with it now.
[Nexus 4 Android Development] twisteroid:
Anyone still have the files around?
[Nexus 4 Android Development] ze7zez:
Ready to download.
[Nexus 4 Android Development] cloneman1:
Is any good Kernel Compatible with Android P 9.0 on Nexus 4 Mako? Looking for d2tw feature
[Nexus 4 Android Development] Echosen:
Links are broken
[Nexus 4 Android Development] mrmrchoice:
Did you get this working at all? I'm in the same boat as you.
[Nexus 4 Android Development] ze7zez:
Try it this way.

First get a Bluetooth mouse. Look for someone nearby who has N4 with TWRP.

Ask him to install the ROM, enable BT and pair the mouse.

Do not turn off BT!

Make a backup on that N4 in TWRP and copy the directory to Your N4.

Restore the backup with the same version of TWRP and check if the mouse works.

In my opinion, it should work, because I did so several times to go the installation process of google application on N4 with an inactive area of the touch screen. I was restoring a backup with a working BT and a paired mouse on my N4 and it works fine. I didn't check if it would work on another device.

If you check that it works, write here to help others in the future.

.
[Nexus 4 Android Development] KitsuneFoxy:
Can anyone edit the kernel to support swap? I keep getting "kernel doesn't support swap" and ive been trying to enable it. ive also never gotten zram to work either. I have a copy of the v20 kernel, since its the last to support marshmallow.
[Nexus 4 Android Development] zaclimon:
You would need to change the FS type inside TWRP (Be aware that it will wipe all your data)

Also, you would need to change the fs type in the updater-script of the SimpleAOSP within the format function. (replace the ext4 by f2fs) This way, it won't format /system back to ext4.

The zip or kernel shouldn't affect the ROM in any way. The only thing the zip does is to install the otgcontrol.sh inside the system, though it should work even after installing directly a ROM. Have you tried installing the ROM, then after a full boot installing the kernel?
[Nexus 4 Android Development] jacoghi:
This is a rom problem, the developer doesn't unmount the system on his updater-script, so you have to do it manually before installing anything.
[Nexus 4 Android Development] foz54:
maybe center dt2w better (strostak)
[Nexus 4 Android Development] zaclimon:
There's already a center dt2w option that is available from within this implementation:

http://lilotux.net/~mikael/pub/android/kernel/N4/README_dt2w.txt

I won't replace anything if it does work. (if it's not broken, don't fix it. :p )
[Nexus 4 Android Development] foz54:
thanks :good:

i set doubletap_to_wake Y, doubletap_area 3 ok. but how set on boot?
[Nexus 4 Android Development] gharrrrrr:
[MENTION=5200734]foz54[/MENTION], post three of this thread has the directions on how to use and setup dt2w.

http://xdaforums.com/showpost.php?p=55053031&postcount=3
[Nexus 4 Android Development] Firmino Neto:
This kernel is compatible with multirom? Te oficial is not for the moment.

Enviado de meu Nexus 4 usando Tapatalk
[Nexus 4 Android Development] zaclimon:
The kernel do have kexec support, you should be able to use multirom wihtout any problems. :)
[Nexus 4 Android Development] skyld92:
I have my Nexus 4 with 5.0.1 rooted and franco.kernel, I want to have the double tap to wake up, how can I do it?
[Nexus 4 Android Development] lafuri13:
You can start by search a little reading the first page of this topic...
[Nexus 4 Android Development] skyld92:
"As this kernel is based off franco.Kernel, it is recommended to download franco.Kernel Updater in order to have the best experience."

So... just install .zip on the CWM recovery and I am good to go?
[Nexus 4 Android Development] zaclimon:
Not to be rude but you could have read the third section of the first post which clearly state "installation"

To answer to your question, yes you're good to go with only flashing via CWM.

Btw for features that aren't implemented in FKU, you can read about them in the third post. :)

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] skyld92:
Working, thank you. :) This is the same as the one installed by the FKUpdater right? Just with the mods.
[Nexus 4 Android Development] zaclimon:
Yep. :p

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] nellorocca:
Hi guys, I have problem with dt2w: I can activate it with trickester but not with dt2w.conf. It simply doesn't work and I don't know why! I downloaded it from Windows cause I can't download it from android's chrome, put it in sdcard/ and modified it with the ES note editor but with no luck... What can I do to solve my problem?

Inviato dal mio Nexus 4
[Nexus 4 Android Development] MtG92:
Do the other options work though, through the script?
[Nexus 4 Android Development] nellorocca:
No... For example I can tap on the entire screen even though I have selected area 3 in the .conf

Inviato dal mio Nexus 4
[Nexus 4 Android Development] zaclimon:
Did you reboot your device after modifying the dt2w.conf? You need to reboot it in order for the changes to take effect. Either this or execute the script inside /sbin if you want the change to be applied immediately.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] nellorocca:
Yes I've rebooted... I'll try to execute the script then.

Inviato dal mio Nexus 4

EDIT: I've executed the .sh and it worked!! Why doesn't it run at boot?
[Nexus 4 Android Development] zaclimon:
It is supposed to run at boot... Something must have went wrong. What rom are you using?

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] nellorocca:
I'm running stock.

Inviato dal mio Nexus 4
[Nexus 4 Android Development] zaclimon:
Can I see a screenshot of your /sbin folder? Or is supersu has been set to run at boot?

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] nellorocca:
Yes and yes.

Inviato dal mio Nexus 4
[Nexus 4 Android Development] zaclimon:
Ohh lool thought you had root explorer... Could you do this on an adb shell:

ls -l /sbin

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] yochananmarqos:
...or in ES File Explorer there he can tap View & choose Medium Detail.
[Nexus 4 Android Development] zaclimon:
Lool this also ^
[Nexus 4 Android Development] nellorocca:
Here it is.. thank you for spending your time helping me anyway :)

Inviato dal mio Nexus 4
[Nexus 4 Android Development] nellorocca:
Of course it does :)

Inviato dal mio Nexus 9
[Nexus 4 Android Development] zaclimon:
Nothing looks weird so far. Have you tried to flash the stock kernel, then go flash the SM-Franco?

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] nellorocca:
It worked. Thank you so much, you made my day ;)

Inviato dal mio Nexus 4
[Nexus 4 Android Development] nick2503:
A great FK kernel with some crazy necessary tweaks.

1. DT2W

2.OTG

I don't know about the rest of the features, just an end user but I had a great experience and an amazing standby battery life.

Looking forward for more of this kernel.....wish if you could just suggest me a kernel tweaking app other than Trickster Mod because a lot of things are paid!?!?!?!?

I know you have recommended FK updater but that doesn't have the above two necessary options!!
[Nexus 4 Android Development] zaclimon:
Well for first, I don't think that a lot of things are paid. Most are free... Only FKU and perhaps faux sound are paid so far. Also I think that without the devs initial work, you wouldn't have this great kernel. This is why I think that the least I can do is recommending their apps even though it is paid. XD

There's no kernel tweaking app that has all the features but I recommended FKU because it has the majority of features. If I can recall, there's synapse that can help you. I also included scripts so you can modify some features without using an actual app. (like dt2w and OTG for example) :)

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] nick2503:
Sorry to say this but SYNAPSE ain't working with this kernel....I used it with unleashed but when I switched to this kernel it is not working. Shows the loading sign that's it!

And a noob question....does this kernel support Multirom by Tassadar?

I mean whether it has a kexec-hardboot patch?
[Nexus 4 Android Development] zaclimon:
Ohh, well in that case, you only have either trickster or FKU or maybe semaphore manager.

And yes the kernel have the kexec patch built-in so you can use multirom without issue.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] nick2503:
Thanks a lot for solving all my noob questions! Sorry if I did waste time....

Great Kernel??
[Nexus 4 Android Development] nick2503:
I seem to be experiencing just one issue on my synapse app.....& I need a different app altogether just to enable the DT2W option.

Can somebody help me please!
[Nexus 4 Android Development] zaclimon:
If you only need an app to enable dt2w, you can use trickster, it works well.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] aviz1911:
Attached a modified UKM zip. Flash this instead of Official UKM and you will have dt2w tunables :)

Just these two tunables: dt2w enable/disable and dt2w area.
[Nexus 4 Android Development] GorfDroid:
Got 5 hours of on screen time which included a 2hour high definition movie played through WiFi and browsing.

Nothing can beat this kernel.

:D
[Nexus 4 Android Development] bv31top:
Does this work with the official CM12 Nightly? Can I update CM after I flash this kernel? Thx in advance! :)
[Nexus 4 Android Development] TheDarkDefender:
Yes it works.

You can update, but you need to flash this kernel again every time you flash a nightly.
[Nexus 4 Android Development] bv31top:
Ok. Thanks a lot!
[Nexus 4 Android Development] nellorocca:
I have a problem: often, when I receive a notification and I try to unlock the phone, the touchscreen become crazy and there are ghost touches/swipes. The only thing I can do is shutdown the phone. Could it be dt2w related?
[Nexus 4 Android Development] TheDarkDefender:
If you have ambient display enabled, turn it off. Looks like d2w doesn't behave well with it.
[Nexus 4 Android Development] MtG92:
I thought dt2w worked fine with ambient display in this kernel. As far as I know the conflict is with stratosk dt2w...
[Nexus 4 Android Development] quentin2260:
Awesome kernel :)

But someone can explain me how enable Ambient Display in settings for this kernel ? I cannot find this option in FKU.

Thanks
[Nexus 4 Android Development] aviz1911:
It's a ROM feature.
[Nexus 4 Android Development] quentin2260:
Not on stock 5.0.1 ?