yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] Gu$houn*:
Stock behaves like AOSP so you can definitely use it (search for the proper version for 5.1.1), but without ROOT it will be hard to tweak or control it because apps to do that need ROOT access to work.

P.

[sntfrmnxsâ´]
[Nexus 4 Android Development] kirkap:
I have flashed Stock LMY48T, then flashed latest TWRP recovery, applied SU and the phone was rooted.

After I installed Quanta V20.zip and rebooted, the phone showed black screen after loading screen (color cycling circles).

I have performed wipe data\clear cache - the same result.

Why is it so?
[Nexus 4 Android Development] Gu$houn*:
I don't know, my friend, what version did you use? There is official statement of the OP [MENTION=4217103]zaclimon[/MENTION] that the latest version for lollipop is v7 as you can read here:

http://xdaforums.com/nexus-4/develo...ernel-r211-t2858561/post67580965#post67580965

So try that and you will see, as I don't use quanta anymore, I can't help in further troubleshooting.

P.
[Nexus 4 Android Development] kirkap:
Thank you! This helped me!
[Nexus 4 Android Development] joelcool69:
[MENTION=4217103]zaclimon[/MENTION], its any posibility to update your kernel to keep it working on official CM14. 1? By far its The best kernel for N4. Thanks for your hard work. :)
[Nexus 4 Android Development] Has_anDroid:
flyme os nexus 4 5.1.1 kernel please ?
[Nexus 4 Android Development] zaclimon:
Yeah I know I kept it pretty silent these days. Sorry about the lack of communication on my end. What I can say is it will come soon don't worry about it. ;)
[Nexus 4 Android Development] zaclimon:
Happy new year!

What's up everyone!

Still continuing with my trend of doing stuff in Holidays, I hope that you had the time to rest during these them. On my side, I finally had the time to work on QT. Without any other due here's the changelog for Quanta:

V21 (01/01/17):

- Support for Nougat (7.x)

- Updated to December's security patches

Note that the kernel should work on 7.0 and 7.1 builds. I also switched to AnyKernel2 for easier init scripts management. Thanks to [MENTION=4544860]osm0sis[/MENTION]!

Please flash back to your stock kernel ROM before proceeding! Quanta-Cleanup won't work if you were using Quanta V19 test.

Here's the changelog for Quanta Tweaks:

V4.3 (01/01/2017):

- Initial support for Nougat (Android 7.x)

- Deprecated Android 4.4 support

- New CPU frequency status to see the usage at a glance

- Design changes (Thanks to Kxnt for the new icon)

- Basic support for dual clusters CPU devices

- Misc fixes

Since the first release of Quanta almost 2 years ago, there hasn't been a design change so I thought it was time to give it a little refresh in that regard. I also cooperated with Kxnt to refresh the icon of the app. (Designer behind some popular icon packs like Click UI and Switch UI)

I also changed the minimum version to Lollipop. (5.0) Whilst I can see a fraction of the users using 4.4, I couldn't justify the support + it is a bit hard to do support for every single device out there. Since most of you were on a Lollipop based ROM, I decided to change the minimum version. This way, I can use some newer API's whilst you having the most animations of Material Design. ;)

You must update your QT to 4.3 if you wish to update directly from the device. If you have some issues, please try to reset the app data.

Let me know of what do you think of the changes and don't hesitate to ask if there is something not working right with either the kernel or QT.

On this, both are available through the official channels. I wish you all an happy new year with your families!

Enjoy!! :D
[Nexus 4 Android Development] Tmfz:
Thank you so much for continuing to support mako in your very limited free time!
[Nexus 4 Android Development] justmix4:
Thank you Zaclimon! Can I use V21 with Marshmallow?
[Nexus 4 Android Development] mparmpas122321:
Thanks for your effort and support to our beloved mako [MENTION=4217103]zaclimon[/MENTION]! The kernel is smooth and the battery is awesome!

In particular in Dirty Unicorn 11 unofficial the battery drain issues i was experiencing dissappeared after flashing quanta v21 and I have the same stats as in chroma 6 + quanta v20.
[Nexus 4 Android Development] zaclimon:
You should be good to go. Even though I don't recommend such setups, (you're at your own in this case) There isn't such a difference kernel-wise between Marshmallow and Nougat.
[Nexus 4 Android Development] Has_anDroid:
thanks v21
[Nexus 4 Android Development] justmix4:
Good to know, I most care about security updates. I'll try to do dirty flash. If it doesn't work I will learn how to build V20 from source with latest ASB.
[Nexus 4 Android Development] zaclimon:
I know it hasn't been released for one day but I already issued a quickfix for QT. Here's the changelog:

V4.3.1 (02/01/17):

- Blocked support for unsupported devices

- Fixed FC when restoring on boot

- Fixed text possibly not showing correctly

- Fixed updater for website changes

It should be available in the next few hours in the Play Store.

Also I changed the website link for quanta releases. It now is:

https://quantaworks.me/public/

Enjoy! :)
[Nexus 4 Android Development] deshmukhrb2000:
[MENTION=4217103]zaclimon[/MENTION]

Will it be OK, if i keep Kernal Auditor Mod and QT as well?

As till now i was using revival kernal
[Nexus 4 Android Development] zaclimon:
There should be no issues. Just be sure to not have any conflicting values when setting up the tweaks. (Like setting the same tweaks in both apps)
[Nexus 4 Android Development] deshmukhrb2000:
thanks a lot [MENTION=4217103]zaclimon[/MENTION], yes will do as you suggested.
[Nexus 4 Android Development] laxin:
[MENTION=4217103]zaclimon[/MENTION] load_threshold does not work in the latest quanta app + v21 + latest nougat build v10, i've tried to turn all cores online, but nothing happens

only 2 cores are online at all times
[Nexus 4 Android Development] nARMstrong20:
I'm able to turn all cores on with Kernel Adiutor mod compiled by spezi77 by turning load threshold to 0 (I'm assuming you can't turn on all cores with mako hot plug?)
[Nexus 4 Android Development] laxin:
same with kernel adiutor, it is a kernel issue, or the latest v10 nougat rom might have an issue
[Nexus 4 Android Development] zaclimon:
I'm running on both and load_threshold set to 0 do indeed activate all 4 cores. Do you have more than one kernel manager perhaps? Maybe the settings can conflict with each other?
[Nexus 4 Android Development] laxin:
hey zac, thanks for the fast answer, no i just have your quanta tweak app for the kernel, also i have the latest v10 nougat

---------- Post added at 07:28 PM ---------- Previous post was at 07:22 PM ----------

i have latest twrp, wiped everything, flashed v10 rom, opengapps pico, supersu latest, quanta v21,

repeated the process several times and still only 2 cores online, the other never turn on
[Nexus 4 Android Development] laxin:
i tried it with the lineage os and same problem, after installing quanta v21 only 2 cores get online and after a while another one shuts down, there is a problem definetely
[Nexus 4 Android Development] laxin:
So you have the same problem, only 2 cores get online
[Nexus 4 Android Development] laxin:
[MENTION=4217103]zaclimon[/MENTION] the stock kernel on the v10 works perfectly fine, but with quanta only 2 cores turn on at all times
[Nexus 4 Android Development] zaclimon:
His load_threshold is at 75, that's why only 2 cores are online.

Let's see if you can change it manually at least. In an adb shell, do the following:

echo "0" > /sys/devices/virtual/misc/mako_hotplug_control/load_threshold

Let me know if the 4 cores are enabled this way.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] laxin:
[MENTION=4217103]zaclimon[/MENTION] still the same, no matter what i do, after flashing quanta v21 only the first two cores get online, it's weird

---------- Post added at 03:37 PM ---------- Previous post was at 03:33 PM ----------

Other than that the combination really is perfect, thanks a lot for both the rom and the kernel!
[Nexus 4 Android Development] zaclimon:
This is normal that after flashing that 2 cores are enabled upon flashing Quanta as the default for load_threshold is 75.

About the command earlier ,were you in root when you did it? Also, could I have the output of these commands (while in root) :

cat /sys/devices/virtual/misc/mako_hotplug_control/load_threshold

ls - l /sys/devices/virtual/misc/mako_hotplug_control/load_threshold

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] cyprien T:
Hi i installed the kernel but otg does not work (i have not tested other options)
[Nexus 4 Android Development] roburtek:
Hi

In my case:

- load_threshold = 75 - two cores online

- load_threshold = 0 - four cores online

When load_threshold is 75 two cores are always offline... I think in the past on 6.0 two cores were always online and additional two cores were enable during heavy load.

-----------------------------------------------

I've checked once again and it seems that two cores "wake up" during really heavy load :)

R.
[Nexus 4 Android Development] zaclimon:
Are you using an external powered Y cable for OTG?

What load_threshold basically means is that it is the system load it takes before the hotplug activates all cores. 0 means nothing is needed so all cores will be activated at any time.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] cyprien T:
I did not know it needed a USB Y. I will buy it thank you
[Nexus 4 Android Development] zaclimon:
You do need more than that I believe. Here's the link containing the info on what you would need:

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

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] cyprien T:
I put your kernel its not enough?
[Nexus 4 Android Development] zaclimon:
For the Nexus 4, no it is not sadly. It's available but a bit harder than initially, thanks to the hardware restricted USB port.
[Nexus 4 Android Development] cyprien T:
Ok
[Nexus 4 Android Development] zeeBomb:
Quanta finally got an update! Nice. How is it? Any issues(
[Nexus 4 Android Development] Has_anDroid:
good work 4 cpu cores online thanks
[Nexus 4 Android Development] SqoLi:
Amazing work! I got 4+ hours of screen on with v21! It's unbelievable!
[Nexus 4 Android Development] Has_anDroid:
lineage os 14.1 and v21 awesome thanks :D
[Nexus 4 Android Development] S0NB:
I don't get it. How do you do this? I'm getting "can't create /sys/devices/virtual/misc/mako_hotplug_control/load_threshold: Permission denied".
[Nexus 4 Android Development] jer_ying_fd:
You need to type "su" first to get root privileges in order to do that.
[Nexus 4 Android Development] S0NB:
Ah, thank you! Now it worked.
[Nexus 4 Android Development] AndyYan:
Weird, couldn't access QuantaWorks.me regardless of hooking onto a VPN or not. BasketBuild does work so I'll take that.
[Nexus 4 Android Development] :
[MENTION=4217103]zaclimon[/MENTION] when will be the new version with 4 cores on-line?
[Nexus 4 Android Development] Has_anDroid:
Quote:

Originally Posted by zaclimon

His load_threshold is at 75, that's why only 2 cores are online.

Let's see if you can change it manually at least. In an adb shell, do the following:

echo "0" > /sys/devices/virtual/misc/mako_hotplug_control/load_threshold

Let me know if the 4 cores are enabled this way.

Envoyé de mon Nexus 7 en utilisant Tapatalk

good work 4 cpu cores online thanks
[Nexus 4 Android Development] zaclimon:
Yeah the server was down. Thanks for the notice, it should be back up! :good:

What do you mean new version? The 4 cores are enabled when the load_threshold is set to 0 in all cases. This behavior hasn't changed since mako_hotplug has been first introduced.
[Nexus 4 Android Development] aviz1911:
[MENTION=275009]ramjet73[/MENTION] Can we have your help here please.
[Nexus 4 Android Development] zaclimon:
Could it be possible that I have to add some stuff in the fstab as well as the init scripts?
[Nexus 4 Android Development] aviz1911:
Nah, I never touched any file in the ramdisk after adding those 4 otg commits from faux. So, all your files are safe. Also otg is disabled by default so I see no reason in adding the script.

If anyone want to enable it, they can go into sys/path and enable it right? Or they can use synapse.
[Nexus 4 Android Development] zaclimon:
I only put the script so people can enable it and set it up on boot as the value gets reset and so without any external app. (as the default value is 0 anyways...) Now.. why it doesn't work is weird.

Let's just wait for ramjet then. :p
[Nexus 4 Android Development] yochananmarqos:
zaclimon said he was going to remove the sysfs entry.
[Nexus 4 Android Development] aviz1911:
Its sys/module/msm_otg/parameters/otg_hack_enable
[Nexus 4 Android Development] zaclimon:
Yeah I said I was going to remove it but I can't understand why a method that's just universally works with everybody, doesn't work with me which is why I kept it like this. Also I removed I made a weird move with r215 in which I used the method that was "working" then patch it up with a sysfs entry to see if it could possibly work.

Yeah I went through some routes but I don't want to enable something that most people won't likely use at all which is why I keep the sysfs solution.
[Nexus 4 Android Development] yochananmarqos:
Tried that in Terminal Emulator with root permissions, but it said, "can't execute: Permission denied"
[Nexus 4 Android Development] zaclimon:
What command did you try in terminal?

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] yochananmarqos:
Nevermind, got it to toggle (I think). I forgot to mount /system as rw first. This appeared to work, but opening the /sys/module/msm_otg/parameters/otg_hack_enable file in a text editor still shows the value as 0:

mount -o remount,rw /system /system
echo > /sys/module/msm_otg/parameters/otg_hack_enable

I'm at work now, so I can't test it until later tonight.
[Nexus 4 Android Development] zaclimon:
The echo command would be instead

echo "1" > /sys/module/msm_otg/parameters/otg_hack_enable

Because in your case, the echo command is doing nothing. Try doing this, then after you can try to mount the USB device.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] yochananmarqos:
Doh! Yeah, forgot the 1. I'm not very good at attempting multi-tasking while at work, apparently. :silly:

EDIT: [MENTION=4217103]zaclimon[/MENTION] Just got home for work and it's working! ES File Explorer detected it immediately. It took a reboot & running the command again to get StickMount to detect it. However, TWRP 2.8.3.1 doesn't detect it in recovery with or without ziddey's recovery patch.. At least I can use Online Nandroid Backup, however I won't be able to restore a backup from recovery.
[Nexus 4 Android Development] zaclimon:
Nice to see that it's working again! :) You can use the otgcontrol.sh script inside /system/etc to control it at boot or no. You can use Synapse too to enable/disable it.

As for OTG, I believe it doesn't work in the recovery because the recovery kernel doesn't have the OTG patches. Even with the recovery patch I don't think it would work.
[Nexus 4 Android Development] AndyYan:
[MENTION=4217103]zaclimon[/MENTION]

Not even the dt2w.conf method work. I simply used the example conf file provided and modified its values to Y/N/0/0 to suit my use case, yet nothing happens after a reboot, and that parameter is still stuck in N.

The only thing that works as of now is executing a script after startup. I've added a script to my Root Explorer bookmark so that it can be less bothersome to apply it every boot.

Sent from Google Nexus 4 @ CM12

[WARNING: XDA Premium 4.0.13+ lacks Signature function - do not update]
[Nexus 4 Android Development] zaclimon:
Hmm that's weird, is root working with your device? Also Do you leave a space after entering the value you want from dt2w.conf (it doesn't work if you leave out a space)

Another last thing that is left from Mckael is that you can create a script named init.dt2w.sh inside /system/etc (in your case, it would probably only to rename your script in init.dt2w.sh and put it into /system/etc). This way it can try to apply the values on boot using a regular script if ever the dt2w.conf method doesn't work.

If it still doesn't work, I'm quite clueless hmm. :confused: I would like to see what happens when the device boots.
[Nexus 4 Android Development] AndyYan:
Yes and yes. I'm always careful about script formatting.

This does the trick. Thanks and please add it to post #2 if you think necessary :thumbup:

Sent from Google Nexus 4 @ CM12

[WARNING: XDA Premium 4.0.13+ lacks Signature function - do not update]
[Nexus 4 Android Development] zaclimon:
Alright I'll add this method to the thread. :)

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] mb88_peace:
Hey guys, sorry to bother.

On a relevant subject, a noob Q: How can we enable "DT2W"?

Just got it working via Trickster :)
[Nexus 4 Android Development] emanuele1986:
How i have to do to use f2fs with latest simple aosp?
[Nexus 4 Android Development] jimyiak:
When i install this after terminus-pa gapps-supersu via twrp,twrp gives me no OS install before restart...has anyone seen this?

sent by nexy 4
[Nexus 4 Android Development] crazyrexz:
hi , can i flash it in my stock rom 5.1.1 LMY48T? thx :)
[Nexus 4 Android Development] mparmpas122321:
I can see that all my cores go online when the load is adequate by default.
[Nexus 4 Android Development] ayyub46:
I set dt2w to enabled but after reboot, dt2w keep disabled. any solution ? Using Quanta V21 with Quanta Tweaks from PS
[Nexus 4 Android Development] mmonaghan34:
Did you go into the menu and tick "Set on boot"?
[Nexus 4 Android Development] bours:
Hi. How is battery consumption with the version 21 of Quanta kernel?
[Nexus 4 Android Development] mparmpas122321:
Amazing as always. As amazing as it can be with a 3+ years battery.
[Nexus 4 Android Development] nARMstrong20:
Very very good. I usually get 4-5 hours sot on a relatively new battery, slightly tweaked interactive and mako hot plug settings.
[Nexus 4 Android Development] Has_anDroid:
gov tuner force doze ?
[Nexus 4 Android Development] zaclimon:
I don't even know what do you mean by this but I'll take a guess. If it was related to a governor that could force doze,

There are no governors that can do it. It is a OS related component and can be modified with apps like Naptime.

Now if you mean gov tuner like adding a section in QT, it can be considered for a future version.
[Nexus 4 Android Development] Has_anDroid:
yes naptime and forcedoze app :D full work battery drain 4 years battery old govtuner 3.9.1 flash terminal works and l speed settings quanta v21 super awesome kernel :D
[Nexus 4 Android Development] ayyub46:
Yes, i tick set on boot :) . Do you have same problem ?
[Nexus 4 Android Development] mmonaghan34:
No, I'm having no issues with DT2W other than the minor annoyance that I have to unlock the screen once before it will enable DT2W after a reboot, did you have any issues with an earlier version of quanta tweaks/kernel?
[Nexus 4 Android Development] Gu$houn*:
That's pretty normal behaviour.

P.

[sntfrmnxs⁴]
[Nexus 4 Android Development] S0NB:
Is f2fs really supported (data, cache)? 'Cause I'm getting bootloops on Lineage OS.
[Nexus 4 Android Development] TechnicsKuzya:
Hi, I just install Quanta v. 21 (latest Fake Nexus Rom build) - latest Antutu benchmark ~ 30000 score - is it normal for this kernel? What the best app for get root at the Fake + Quanta?

P.S. Do I need install Quanta tweak? What can I do with it (settings for better perfomance\battery saving)? I don`t understand need I root or Quanta will work good and without it. I Install Quanta, because have a lot Sleep of Death (black screen after sleep), is Quanta with default setting help me with this trouble?
[Nexus 4 Android Development] arjundas86:
Hey [MENTION=4217103]zaclimon[/MENTION], I wanted to thank you for all your work on mako. I've used your Quanta kernel and Tweaks app a lot over the last year on my daily driver.

Makes me sad to say I'm finally moving on from my trusty Nexus 4. Performance and functionality wise, I am very happy and impressed; unfortunately, my battery is dying and simply doesn't get me through the day (not even close). But it wouldn't have lasted this long without your contributions, keep up the awesome work, it's very much appreciated!
[Nexus 4 Android Development] zaclimon:
I went for a year using exclusively f2fs on quanta and it was fine. However, It could be possible that the anykernel2 isn't good yet with f2fs. In such a case, it is on my end and I'll try to fix it once I have the time.

You don't need to if you don't want to tweak your stuff. I can't tell if it the default settings help you but you can try it and report if your issue solved.

Thanks! That's nice to read that, I know that I wasn't the most present but to know at least that the combo was good enough is reassuring! :)

May I know which device you replaced your Nexus 4 with?
[Nexus 4 Android Development] arjundas86:
As of last week, I am rocking Xiaomi Mi 5 (running LineageOS).

My preferences and selection process were (if you're curious):

- not a huge phone (5.5" seems to be the most popular these days), under 5.2" with a decent screen-body-ratio was optimal.

- preferred fingerprint sensor at the front rather than rear. I also liked Sony's implementation (on the power button)

- developer friendly, so manufacturers/chipsets that don't release kernel/source code were out (samsung/exynos, HiSilicon, MediaTek, etc.)

- that almost narrowed it down to HTC 10 (pricey), Xperia X compact (on the small end and expensive for what I get) and Mi 5.

Mi 5 won out on price big time. They are not popular around here, but for the price, I took a risk. Also the radio wasn't compatible with LTE band 4 (which is what my provider, and most in this area use), but I figured I could live with HSPA+ speeds, which is what I had on my mako. However, it turns out I am getting LTE afterall - measured 88.6/38.9 Mbps on data. Bonus!

Overall, I'm quite happy with it so far. Lineage is a great daily driver for it.
[Nexus 4 Android Development] zaclimon:
Yeah for the price it's not bad at all. I would have considered the mi5s but it is almost 100$US more from what I saw. (and perhaps all not that worth it)

Nice to know that it is working correctly! Does Lineage have any bugs/quirks? I might check the mi5 since I thought most of them had mediatek stuff.
[Nexus 4 Android Development] arjundas86:
Yeah, I considered the Mi5s vs the Mi5 too. For the price difference, what you get is Snapdragon 821 (vs 820), camera is slightly better on paper for stills but Mi5 has OIS for videos (so that's a tradeoff really), slightly larger battery. I didn't think the price difference was worth it either.

The Mi 5 cost me around CAD 400 plus CAD 30 in customs fees. For $430 CAD (tax, shipping, all in), it's definitely amazing value for a flagship phone. Arrived in under 2 weeks.

As for LOS, no major bugs. Everything is more or less functional.
[Nexus 4 Android Development] TechnicsKuzya:
Hi, all perfect now - no any SOD after Quanta kernel install.

Fake ROM with Quanta V21 (with default settings) very stable. Thank you a lot.

P. S. One bug detected - CPU Min frequency - 1026 MHz, Auditor Kernel fix this, lock it to the 384 MHz.
[Nexus 4 Android Development] nefescalanadam:
I got everytime "mount (unmount to) service is busy" message on my Nexus 4 (mako) Lineage Os 14.1 Quanta Kernel (and yes kernel support usb otg hack and i did active tweak)
[Nexus 4 Android Development] zaclimon:
Hmm something is definitely wrong. I'll try this this weekend and see if I can reproduce the issue.
[Nexus 4 Android Development] nickimsonikimsi:
Second day i never saw that issue

Thx for ur fast reply but if u can give us a update for 7.1.1

İt will be awesome!?
[Nexus 4 Android Development] zaclimon:
What if I say you can compile it yourself so you can be updated even faster this way?

Sorry in advance if it sounded rude but I already said that I most likely won't be able to work on AOSP anymore because of school/other projects.