yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] zaclimon:
Quanta Tweaks 3.0

Hi guys, I don't know what holiday it is today. (if any) That said, I have a big announce to make. It should have been released a bit ago but I got pretty lazy/tired because of my internship. That said, because I'm upgrading my computer this weekend, I wanted to get it completed by then! :p

Without any due, I announce Quanta Tweaks 3.0, it already has been pushed in the Play Store and should be available to you in a few hours.

Changelog: (From the Play Store)

- Widgets! You can now toggle your favorites tweaks from your homescreen.

- Ext4/F2FS Converter: No more head scratching regarding how to do it.

- Nandroid backups have made their way in!

- Adapted to the latest Material Design guidelines so the app look even more "eye candy".

- Made some internal refactoring as well as some optimization to make sure everything looks and feels good.

- Misc additions/fixes.

Quirks at the moment: When in landscape, the buttons are not visible when creating a backup. I'm aware of this bug, though I wanted to respect my deadline so it will get fixed in QT 3.1. (Sorry...)

I didn't update the app yet to be compatible with M. The reason is simple, I don't have M on any of my devices LOOL XD. Though I will add support for it on 3.1. I'll now try to work on both Quanta and Tweaks as college is restarting and that I will (hopefully) have more time.

I will stop with the talking and leave you with some screenshots below. Here is the link as well if you don't have it yet:

https://play.google.com/store/apps/details?id=com.zaclimon.quantatweaks

Enjoy!! :)
[Nexus 4 Android Development] scissorscrush:
Congrats on the new app, looking forward to use it. ?

Just an update on Quanta test 3, it has again started to show little lag when using Chrome as it used to happen with little lag in the beginning. But still testing as it could be something else. But you might have to look at the comment from hells and Franco in the above post of mine to remove the commit from the kernel which fixes the chrome issue.

Cheers ?
[Nexus 4 Android Development] zaclimon:
Looks like I may have to apply that patch as well. I'm in search as of what to actually add for V7. So far it will be this patch + the removal of some patches. (that were the cause of the lags)

In case some were curious about the Ext4/F2FS conversion happening in QT, I pushed it Github here:

https://github.com/zaclimon/Quanta-Convert-FS

You can create a zip out of it and sideload it in ADB while in the recovery and it should work. (At your risk though...)
[Nexus 4 Android Development] scissorscrush:
The battery consumption with Quanta is very high, now I'm comparing it with hells coz that's the one that I used before testing the test 3. The one thing that I myself changed was the input boost to 1242000.

Are there any other changes that I can make to get more juice out of it without compromising the performance?
[Nexus 4 Android Development] yochananmarqos:
I recommend utilizing franco's Performance, Balanced & Power Saving profiles to suit your needs. Install FKU to toggle them and/or use the included intents to toggle them with Tasker. I have a screen off/on profile, really easy to do. If you're interested, I'll share my Tasker profile.
[Nexus 4 Android Development] scissorscrush:
Yeah tasker itself takes it's own share of battery, so making anything out of that would not be good option. And the franco profile is great but that has power save what I'm not looking for. I'm already using the balance profile which is draining the battery.

What I'm looking for is like keeping 1 core active when phone is not in use or something like these settings to make more perfect balance of power and battery.
[Nexus 4 Android Development] yochananmarqos:
Everything you do drains battery. Maybe it's time to replace it. I'm about to, my battery is neither charging as fast nor keeping a charge like it should. A custom kernel isn't going to magically increase battery life.
[Nexus 4 Android Development] scissorscrush:
I guess that's the reason why we all are using the custom kernel for, to have the perfect balance between the battery and performance. You missed the whole point then, android in itself have evolved so much that it does not have performance issue but they are not good with battery part. And the reason why we all are using kernels is to have that balance of battery while keeping the performance enact.

Another example is Android M's DOSE feature.
[Nexus 4 Android Development] Applesan:
Can you add a GPU voltage control into your kernel? such as in TaUrUs kernel.
[Nexus 4 Android Development] ObihoernchenDE:
Setting input_boost_freq below cpufreq_unplug_limit isn't the best idea in my opinion.

This will force the CPU to offline / online cores a lot more which consumes a lot of power.
[Nexus 4 Android Development] zaclimon:
It will be incorporated in the next update. :)

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] AndyYan:
Working good. Hell yeah, finally a solution to have DT2W on CM11 CAF :D

Hope this is updated just as often, keep it up!

EDIT: DT2W doesn't always work after deep sleep - sometimes requiring 4~5 clicks to wake up.
[Nexus 4 Android Development] zaclimon:
Hmm have you tried r212 or r211 to see if its still having the same issue? I'm thinking that it may happen because of the 192 mhz frequency I've put as deep sleep.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] AndyYan:
Tried r212, 3 successful attempts out of 5 (while r213 might be 1/5). Might be the culprit. Sticking to r212 for now. Any more ideas that need to be tested out, just tell me.

Sent from Google Nexus 4 @ CM11

[WARNING: XDA Premium 4.0.13 lacks Signature function - do not update]
[Nexus 4 Android Development] yochananmarqos:
The OP states this kernel has USB-OTG support. I've read all 9 pages of the thread and there has not yet been any other mention of it. Nothing appears in Settings > Storage nor in ES File Explorer. I also tried StickMount. Am I missing something? By the way, I've used justvarshney's kernel before & that works great.
[Nexus 4 Android Development] atulclassic:
+1

i noticed it too but forgot to mention here
[Nexus 4 Android Development] zaclimon:
The patches are definitely inside the kernel. Perhaps it hasn't been enabled, I will try to check further into this.

Also this was a feature I added into OP later but it was there since a long time.

Envoyé de mon Nexus 7 en utilisant Tapatalk

EDIT: [MENTION=5134017]atulclassic[/MENTION] have you enabled the USB-OTG via the sysfs command? The implementation of USB OTG is the same one as the one found in faux kernel.
[Nexus 4 Android Development] marcof93:
I want to enable OTG too, how can I do it? i'm not very expert, is there any guide?
[Nexus 4 Android Development] atulclassic:
no.. i thought its enabled by default..so tried to mount via stickmount which didn't worked

can you please put up a small guidance in OP how to enable OTG
[Nexus 4 Android Development] zaclimon:
It isn't enabled by default, You either need to download fauxclock and enable it there, or doing this command on a terminal/init.d script

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

Then you can usb stickmount to mount your usb drive. I will add instructions and most probably an init.d script in the next version for those who wants USB-OTG capabilities. :)
[Nexus 4 Android Development] drive2droad:
a new kernel based on franco's , looks awesome !!
[Nexus 4 Android Development] Mr_S:
Is this for stock?
[Nexus 4 Android Development] Rohit02:
you mean stock ROM? yes it works..
[Nexus 4 Android Development] zaclimon:
Hey guys, here's a little gift before the greatness of Lollipop falls upon us. It's available right now in the download folder. ;)

r213.2 (18/10/14)

- Linux 3.4.104

- Updated Faux Sound to 3.6

- Added an init.d script to enable/disable USB-OTG. (named 91otgcontrols)

- Updated F2FS with patches up to 10/10/14 (f2fs.fsck shouldn't have any issues up to this point + there should be some performance improvements)

- Compiled with Up-to-date GCC.

With this, I hope we'll be satisfied until Android 5.0. :p

Enjoy!! :)
[Nexus 4 Android Development] yochananmarqos:
I enabled the USB-OTG tweak and rebooted but my SD Card won't mount. I had previously created my own script with r213 and it didn't work, either. Am I missing something?
[Nexus 4 Android Development] zaclimon:
USB-OTG on the N4, needs an external power source in order to work. If you only plug the cable into the device, it won't work natively. Also, you may need something like stickmount to mount the SD card as well.
[Nexus 4 Android Development] yochananmarqos:
Yes, I'm using a powered OTG cable & tried StickMount. I've had USB-OTG working before with justvarshney's kernel, never with this one.
[Nexus 4 Android Development] leather.face:
Hi zaclimon :) ... Thanks for your current update but I wanted to ask if you can create for me a boot.img from your current kernel? I`ll this integrate in my Purity tweaked rom but I can not create a boot.img, unfortunately ... Thanks in advance and I wish you a nice Sunday!!

Best regards

leather.face

PS: I`m happy that you offer the R2 update from your kernel!! :good:
[Nexus 4 Android Development] yochananmarqos:
Extract the boot.img from the ZIP?
[Nexus 4 Android Development] leather.face:
Hi :) ... In the flashable zip is not the boot.img ... Only the zImage ... The right way is, insert the zImage in the boot.img and then I can this integrate in my tweaked rom ... But thanks for your answer ... ;) ... I wish a nice Sunday!!

Best regards

leather.face
[Nexus 4 Android Development] yochananmarqos:
I didn't miss the point at all. Tasker is a tool, depends what you do with it. If you think this kernel drains battery then go back to hells-Core.

---------- Post added at 08:54 AM ---------- Previous post was at 08:50 AM ----------

I missed that, good catch.
[Nexus 4 Android Development] zaclimon:
This could be an interesting feature to add. Like CPU voltage has been added why couldn't we add GPU as well? I'll think about it, thanks!
[Nexus 4 Android Development] Applesan:
It is possible to get a good economy by placing all three steps at the level of 900 mV, as shown in my screenshot. ;)

P.S. cpu version on second screenshot.
[Nexus 4 Android Development] Bastlwastl2010:
F2FS have a lot of update since May
[Nexus 4 Android Development] ashjas:
[MENTION=4217103]zaclimon[/MENTION], I tested your test3 kernel.. its far better than the official v6 but, the mem does go below 100mb at times, and the ui sttuttering starts at this point.. I switched for some time on default cm kernel, and this behaviour was not there... i just dont know how to make the actual ram to be free at 512mb at all times.. Though when i tested the cm kernel, its lowest mem went down to around 240 mb, but the stutterring never happens. :eek:
[Nexus 4 Android Development] scissorscrush:
No need to be sarcastic here...
[Nexus 4 Android Development] zaclimon:
This is really interesting, I will most likely add it in V7 then.

if those patches are available for the 3.4 kernel, fine otherwise I can't do anything about it.

Hmm I'm sure that I'm missing something if it's the case... I'll try to see if I can find something about it. Though I just upgraded my computer and I don't have linux on it yet.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] Bastlwastl2010:
So...i am not a developer.."advanced user"

Khaon make a F2FS Kernel for Nexus 10:

http://xdaforums.com/showthread.php?t=2778248

It is a 3.4 Kernel and in the commits on Github i see many F2FS Patches

https://github.com/Khaon/android_kernel_samsung_manta/commits/khaon-new
[Nexus 4 Android Development] zaclimon:
I didn't mean to be rude loool. I should have said where are the commits regarding those updates. XD

Thanks though.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] pakistanish:
Whenever I flash Quanta V6 for CM on CM 12.1 nightlies I get stopped working error on majority of my apps.
[Nexus 4 Android Development] k500zm:
zaclimon

Shame you didnt add a dark theme option in the new version of your app.

Any plans for the future ?
[Nexus 4 Android Development] zaclimon:
Have you tried to clean flash and then flash Quanta?

I bring in Exponential brightness and now you guys want dark theme? XD It will take some time but I believe that I can make it. As far as the future goes, here are my plans:

Quanta: CM is becoming annoying to maintain these days as I'm not currently running it and I don't want to fit any of CM's stuff in the kernel. That said, I didn't have a lot of time to work on the kernel during the summer which is why I haven't made V7 yet... I also want to learn C so I can try to tweak more inside the kernel and create my own governor for Quanta. (but this is a future eventual project)

Quanta Tweaks: I'll try to fix first the issues I've said when I've released 3.0 last week. After this, I'll try to bring the full kernel tweaking experience some might have been waiting for (Alongside a dark theme, unless I may have to do it before). I'm open to suggestions on this one. I don't feel like doing a "me-too" kernel manager when something like Kernel Adiutor/FKU/Insert Kernel manager already does it.
[Nexus 4 Android Development] shawnbrennan55:
The CM version is really nice as-is. Been running it on AICP. Thanks for all of your work!
[Nexus 4 Android Development] mariostar32:
[MENTION=4217103]zaclimon[/MENTION] ... if it's possible, can i try the test kernel ? ^ ^
[Nexus 4 Android Development] zaclimon:
What test kernel are you talking about? If it's for cm, I've posted one a few pages ago. Otherwise, I haven't posted anything.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] k500zm:
Thanks for the update zaclimon - I'm really loving the widgets in the new version of the app.

I've squashed 2 of them down to just 1x1 white squares which I use for toggling brightness and dt2w

on my home screen and they look pretty damn good on my blacked outness. I cant stop toggling them.

Very useful indeed :)
[Nexus 4 Android Development] k500zm:
There is a problem with the widgets though - the brightness one stops working after some time - in the last case scenario it was 6 hours while I and the phone were in deep sleep.

However the dt2w widget still works ok !? [this has happened a number of times for me]
[Nexus 4 Android Development] zaclimon:
I don't think you'll remember this but was the dt2w widget the last one you added? If so, I may have an hint regarding what's happening with the widgets.

Also, have you tried to reboot de device to see if the widgets still worked?

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] k500zm:
Yes I think dt2w was the last one added as brightness is more of a priority for me. Yes and on these occasions any type of reboot fixes the problem.
[Nexus 4 Android Development] zaclimon:
I'm just curious, do you have any other apps that uses widgets or do you change your device's orientation. I'm trying to precisely pinpoint the issue as I didn't get across it yet.

Envoyé de mon Nexus 7 en utilisant Tapatalk
[Nexus 4 Android Development] k500zm:
I only use the standard LP clock widget and very very rarely change orientation
[Nexus 4 Android Development] scissorscrush:
Look at that....
[Nexus 4 Android Development] k500zm:
mmm not bad - but check this - have had longer !
[Nexus 4 Android Development] dragos281993:
How did you use those 6 hours. I mean what did you do on the phone?
[Nexus 4 Android Development] k500zm:
Mostly playing the Tomb Raider 1 game and surfing the web -

I am getting some amazing Screen On Times with Quanta Kernel and Liquidsmooth Lollipop 5.1.1 - some serious variable undervolting going on etc. (-150mV @ 384 others more ) and per app mode in use on Franco's updater.

Also the way I have it set up If I wasnt using the phone much I could probably get 9 days without needing to charge it !! [ I have seriously tweaked behind the scenes stuff to minimise any battery use from any process I dont want ;) ]
[Nexus 4 Android Development] dragos281993:
Could you sent me a private message with those tweaks, if you don't mind? I want to compare them to mine to see what the difference is. I'm getting about 4 and 1/2 hours sot but apparently you proved that there's plenty or room left for improvement. But only if you have time to spent on writing a potential long message, considering that you've got some serious tweaking going on there.
[Nexus 4 Android Development] dcop7:
Share your tweaks to everyone :)
[Nexus 4 Android Development] jacomail95:
9 days?! What is your mako, a 10.000 mAh variant of our Google phone?! Just kidding ahah, but yeah, if you're so successful in stopping the mako generally fast draining, then you can share your experience here :thumbup::D

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Android Development] k500zm:
Guys this is seriously going off topic - this is zaclimon's thread about his great Quanta kernel - not my tweaks - so please can we keep this thread about the original topic. Thanks

I do not have a simple set of tweaks to share with anyone -It is very complicated and long and It would take me days to take you through what I do to my phone from wiping and installing everything then tweaking and that is not going to happen - the info is all on this forum - you could start here Insanely Better Battery Life When Idle - Battery Life Thread . Also Franco tweaks are dependent on your particular phone so you just have to try and see what your phone can handle - good luck ;)
[Nexus 4 Android Development] dragos281993:
Wow... just chill dude. No one forced you to give us your tweaks at gun point or whatever. We just asked nicely if you could. No one's dying if you don't want to share them.

And FYI, talking about tweaking "quanta kernel" on this thread is related to the kernel itself. You're talking about tweaking quanta, not other kernel. So it is most certainly NOT off topic.
[Nexus 4 Android Development] dcop7:
We asked for the tweaks on a kernel level, not the apps, other things you tweaked :)

What we wanted is like what io scheduler, what values of the conservative/hotplug values did you changed...
[Nexus 4 Android Development] zaclimon:
Mehh, I'm always surprised at how you guys can get that amount of SOT on a device with such a struggling battery. I don't mind that you talk how you can help the others, just be sure to keep everything on topic. XD
[Nexus 4 Android Development] atulclassic:
Forums are meant for sharing..if you don't want to help others don't expect help from others..
[Nexus 4 Android Development] dragos281993:
Very well said.
[Nexus 4 Android Development] scissorscrush:
I never understood the meaning of off topic in forums... If someone is asking for help, just help him. If you don't want to then ignore the comment and move on. Either you sit alone and have nothing to do but bashing people on websites OR you just talk to everyone like that... Even your parents.
[Nexus 4 Android Development] Flipz77:
Not to be a buzzkiller, but the SOT screen really doesn't say much as the phone could have benefited from a quick charge during the day. Without a graph we cannot judge the whole cycle.
[Nexus 4 Android Development] k500zm:
OK - Now zaclimon has said it is ok & I have some spare time I will write a guide how you can get some serious SOT with Quanta kernel and over a week standby. I need to get some files together and write it - it will be coming soon ;)
[Nexus 4 Android Development] zaclimon:
Hi guys, it's been a bit long since there has been action over here. It's nothing much, I updated Tweaks to 3.0.1. Here's the changelog from the Play Store:

3.0.1

- Updated for Android 6.0. (Marshmallow)

- Fixed the backup buttons not showing up in landscape.

- Misc tweaks and fixes.

It should be available for download in the next hours.

Enjoy!! :)
[Nexus 4 Android Development] kol1124:
Please for new version of Kernel too...

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[Nexus 4 Android Development] dragos281993:
Are you thinking of adding a "gamma control" section in your app? Just being curious.
[Nexus 4 Android Development] zaclimon:
I should be done with QT for the time being. I had an OCD because everything wasn't like I would like to so now I will focus myself on the kernel.

Gamma control will be included in QT once it will become a full fledged kernel manager.
[Nexus 4 Android Development] dragos281993:
OK. Thanks for the quick reply.
[Nexus 4 Android Development] crazynapkinman:
Question: Is fast-charge native? (Meaning i dont need to turn it on with a kernel manager)

I am using quantatweaks app to control features of this kernel and didnt see a toggle for fast charging.

Thanks!
[Nexus 4 Android Development] yochananmarqos:
You can enable it with FKU or Kernel Adiutor.
[Nexus 4 Android Development] atulclassic:
or synapse with UKM 3.8.1
[Nexus 4 Android Development] yochananmarqos:
Yes, but Synapse still doesn't work right using profiles. Buggy, ugly and unintuitive.
[Nexus 4 Android Development] dragos281993:
Ikr ? I wonder why it hasn't been updated and "blessed" with a new interface. That thing is one of the ugliest apps ever. It's even more hideous than the Steam app.
[Nexus 4 Android Development] Bastlwastl2010:
[MENTION=4217103]zaclimon[/MENTION]

Is this something for your kernel:

http://review.cyanogenmod.org/#/c/109882/
[Nexus 4 Android Development] zaclimon:
This is indeed something that can be included to the kernel. I don't know if it brings that much improvement over the already available I/O schedulers which is why I'll hold it off for the moment.
[Nexus 4 Android Development] zaclimon:
Due update!!

Hi guys, it's been a long time since Quanta have received an update. (It is officially four months today loool XD) I hope this one will please you as it may be one of the last ones before Marshmallow arrives. (Assuming there will be support for the N4) Without any other due, here it is:

V7:

- Compiled with the latest Uber 5.2 toolchain

- Linux 3.4.109

- GPU drivers reverted to a 5.1.1 state (Fixes Chrome lag while scrolling)

- Updated the F2FS drivers (Really feels smoother unless I'm feeling some sort of placebo)

- Enabled support for XPad and updated it for Xbox One controller support.

- Added Battery power saving optimizations from Nvidia.

- Misc optimizations/fixes

V7 is based upon V6 test 2 which was appreciated by a lot of people and was one of the most stable releases. I would like to thank [MENTION=3904175]ObihoernchenDE[/MENTION] for his testing in CM. :p

Both versions are available on BasketBuild. The nomenclature has changed a little bit to include the device codename. (to avoid any confusion)

Enjoy!! :)
[Nexus 4 Android Development] dragos281993:
Linux 3.4.108? I thought .109 was out. Now I don't really know what's been changed in the new version so I'm just talking and asking questions.
[Nexus 4 Android Development] zaclimon:
Ohh well, I haven't seen that 3.4.109 has been released. I'll put down V7 shortly in that case to update it to 3.4.109.
[Nexus 4 Android Development] dragos281993:
Wow, that was quick (waiting for a "that's what she said" joke from someone. lol). Thanks for replying so fast. So probably tomorrow we'll enjoy the new build, right?
[Nexus 4 Android Development] zaclimon:
It's already available on BasketBuild. Patching didn't take that much time. XD
[Nexus 4 Android Development] tarekeldeeb:
I used to have otg functionality with KitKat using a patched kernel and a y cable.

Now I updated to cm 12.1 and installed quanta v7 kernel. But otg is not working for any device.

Was this kernel tested for otg? Does the kernel require any supportive app for otg to get up?

Please advise.
[Nexus 4 Android Development] zaclimon:
Otg needs to be activated before you can use it. You can use Quanta Tweaks to get it working.

It may also be possible that you have to use stickmount in order to get any drives recognized but I believe that cm does auto-mount so it should work out of the box.

Envoyé de mon Nexus 4 en utilisant Tapatalk