yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] BryanByteZ:
Thanks for the feedback I plan to make a thread as well add dt2w soon.
[Moto G Android Development] BryanByteZ:
CHANGELOG 29/4/2017

BRING BACK DT2W/S2S/S2W!!!

PLEASE LOOK AT NOTE SECTION IN OP!!!

CM/LOS 12.1

https://www.androidfilehost.com/?fid=745425885120728280 -- FALCON

https://www.androidfilehost.com/?fid=673368273298951248 -- PEREGRINE

https://www.androidfilehost.com/?fid=457095661767157578 -- TITAN/THEA

CM/LOS 13/14.1 (UNIFIED)

https://www.androidfilehost.com/?fid=673368273298951258 -- FALCON

https://www.androidfilehost.com/?fid=745425885120728287 -- PEREGRINE

https://www.androidfilehost.com/?fid=457095661767157585 -- TITAN/THEA
[Moto G Android Development] the_poolee:
Thanks [MENTION=5842893]BryanByteZ[/MENTION]. I just wanted to test this on AOSPExtended. Will it work?
[Moto G Android Development] BryanByteZ:
Probably yes but the installation script backup the boot.img just for sure.
[Moto G Android Development] BryanByteZ:
Better RAM management for FALCON/PEREGRINE/TITAN/THEA thanks to [MENTION=6147790]Pupet_Master[/MENTION]

-Download "Kernel Auditor" from the "Play Store" and open it

-Once inside, Swipe from left to right to show the side menu.

-Tap on "Low Memory Killer"

-Change to these custom settings:

Foreground Applications: 29mb
Visible applications: 61mb
Secondary Server: 157mb
Hidden Applications 227mb
Content Providers: 87mb
Empty Applications 191mb

-Swipe from left to right again and tap at the option "Virtual Memory"

-Change those settings from there:

dirty_ratio: 20
dirty_background_ratio: 5
dirty_expire_centisecs: 100
dirty_writeback_centisecs: 300
min_free_kbytes: 4096
oom_kill_allocating_task: 1
overcommit_ratio: 100
swappiness: 100
vsf_cache_pressure: 53
laptop_mode: 0
extra_free_kbytes: 24576
Z-RAM Disksize: 470mb

-Swipe from left to right again and tap at the "Profile" section

-Click at the "+" button and save the current settings on a new profile

-Holdon the new profile and choose the option "apply on boot"[/QUOTE]
[Moto G Android Development] Guillosd:
[/QUOTE]

Great! That improves multitasking, battery &/or performance?
[Moto G Android Development] BryanByteZ:
Great! That improves multitasking, battery &/or performance?[/QUOTE]

Yes I using it and for me at least was better than others values (stock and other found on net)
[Moto G Android Development] hhp_211:
Cool, I appreciate the share

that really seems to wake it up!!

one other thing I like to edit is the build.prop

to change these numbers::

dalvik.vm.heapstartsize=10m

dalvik.vm.heapgrowthlimit=160m

dalvik.vm.heapsize=352m

dalvik.vm.heapmaxfree=10m

It really seems to help keep it from getting bogged down, especially with larger apps

.
[Moto G Android Development] BryanByteZ:
Can be edited by app like KA? Will test soon.

PS: it works for ART too right?
[Moto G Android Development] hhp_211:
yes KA works and this will definitely work for ART, ive been using this setting in all the L/M/N ROMs I run, or a file manager/editor go to :: /system/build.prop and make your changes then reboot, wiping the dalvik cache and letting it rebuild probably has better effect too after this change. :good:
[Moto G Android Development] fr_jason:
Running ZER0 Byte Kernel on VANIR for Falcon 7.1.2 Nougat with Pico Gapps

B135-commotio-falcon-04-30-2017 - http://www.emccann.net/dho/3-Vanir-mirror/4-nighties/falcon/B135-commotio-falcon-04-30-2017.zip

open_gapps-arm-7.1-pico-20170503 - https://github-cloud.s3.amazonaws.com/releases/35777460/6ca5bf30-2fc2-11e7-8530-8c3e3e4d024e.zip

ZER0+Byte+Kernel+r4+CM13-14.1+N+Falcon+2017-04-29 - https://www.androidfilehost.com/?fid=673368273298951258
[Moto G Android Development] ArjunSindhya:
Great kernel, extremely smooth. However, it stutters when night mode is enabled. Am I the only one with this problem?
[Moto G Android Development] carlos12142:
Question

I'm sorry, my English is bad, so I use google translator and I do not understand very well, my question is ... Is this kernel compatible with LineageOS 14.1 in Moto G Falcon? :confused: :confused:
[Moto G Android Development] Biz92k:
It is
[Moto G Android Development] BryanByteZ:
Yes.
[Moto G Android Development] BryanByteZ:
With stock/others kernel too? Just for curiosity did you have OC and/or adreno idler on? Some others mentioned this too (but on other Moto G).
[Moto G Android Development] BryanByteZ:
Thanks for the feedback and nice theme!
[Moto G Android Development] ArjunSindhya:
Adreno idler was on, I tried turning it off and guess what? It works! Overclock is enabled and night mode works fine with it.

It's really nice how responsive you are as a dev, cheers! :)
[Moto G Android Development] BryanByteZ:
Thanks for testing.
[Moto G Android Development] TheKsprx:
I'm using the ram management configuration for kernel adiutor but for some reason it seems worse, I can not keep two apps in memory without reloading. What did I do wrong?
[Moto G Android Development] Guillosd:
Same happened to me, I went back to default configs
[Moto G Android Development] TheKsprx:
Ok good to know is not only my phone, I will go back to default.
[Moto G Android Development] BryanByteZ:
Here I keep XDA Labs, lighting, Telegram and WhatsApp without problems.
[Moto G Android Development] justjr:
What was that big quote?
[Moto G Android Development] TheNoobWolf:
can i use this with lineage OS falcon?
[Moto G Android Development] Jazz1708:
F2FS

Does this kernel support f2fs??
[Moto G Android Development] TheKsprx:
Yes.
[Moto G Android Development] BryanByteZ:
Yes, but ROMs only support it at /data.
[Moto G Android Development] Ænimal:
[MENTION=8211536]sashankvisweshwaran[/MENTION]

Please refrain from quoting the entire OP, it makes reading threads a pain in the a..
[Moto G Android Development] justjr:
[MENTION=323167]brianb[/MENTION]yteZ we need a great kernel like yours for MotoG 2015 xD

Enviado de meu MotoG3 usando Tapatalk
[Moto G Android Development] BryanByteZ:
LOL, thanks! But is very hard to make a kernel for a device that you don't have.
[Moto G Android Development] emil_515:
How do i load the Lspeed .json file?
[Moto G Android Development] Jude Aranha:
Hey OP, can you look at adding msm hotplug and impulse and yankactive governors ?

Thanks.
[Moto G Android Development] ViktorChernov:
Hi. Kernel Adiutor wants a root permission but i cant find it for a 7.1.2 rom. anyone can help me?
[Moto G Android Development] alkeshgamer:
Flash Magisk zip and you'll get the root, or if you want SuperSU flash its' zip.
[Moto G Android Development] memontalha:
How to change display settings tio mdss_dsi_mot_cmi_720p_video_v2 (FALCON) to get DT2W working.
[Moto G Android Development] BryanByteZ:
Too old just use one profile from main screen on lspeed. (Lspeed envolved too fast,)
[Moto G Android Development] BryanByteZ:
Will try on free time but yank was giving me random reboots.
[Moto G Android Development] BryanByteZ:
Changing your screen it's the only way. Instead you can try ambient display or ACDisplay.
[Moto G Android Development] Jude Aranha:
Thanks for the reply, I understand about yank, but i feel impulse is still a wise choice, if you allow me to explain, so far interactive governor is the only perfectly balanced one in terms of performance and battery backup (its been shipped as the default governor on all linux systems)

It Doesn't scale on higher frequencies unnecessarily.

Higher frequency = consumes more power (more power than previous frequency step, directly proportional)

All governors are either trying to be conservative in terms of Battery (accomplishing this by not scaling much on higher frequencies)

Or towards Performance (by scaling more on higher frequencies, but this causes unnecessary battery drain).

BUT

the only downside of interactive governor is that its latency sensitive, now this is also its plus point simultaneously.

How? It continues to scale on higher or maximum frequencies(or even on which its currently running) until load decreases (running processes in background can also be a reason of increased load), thereby making it much smoother than other governors.

But, since it continues to scale on higher frequencies it drains a lot battery which could have been saved.

Welcome Impulse Governor, it overcomes this and makes scaling more robust which helps in saving battery without any compromise on performance, though it can be tuned to make it more smoother by decreasing its robustness to an optimum level.

The decision rests unto you, OP. :)
[Moto G Android Development] Isaac47moises:
Waiting anxiously for a new kernel build, with the updated Lineage code
[Moto G Android Development] Pierre2324:
Hope you'll update it to android O nice kernel been using it since day one
[Moto G Android Development] cymBlood:
Hey man i just want to say that the work u spend making this kernel is fantastic, I am using it in my Moto xt1033 with AOSP Extended v4.4, the only problem I found is when I was playing the game CSR2 this error appears to me after flashing your kernel...

==> https://m.imgur.com/a/X1hWN
[Moto G Android Development] BryanByteZ:
My tip is that's related to the kernel itself. Sounds like Google Play Services bug.
[Moto G Android Development] cymBlood:
And what can I do about google play services to resolve this error?
[Moto G Android Development] BryanByteZ:
No idea. But you can try to clean cache of Google Play Services or search your problem on net.
[Moto G Android Development] methuselah:
Try factory restore
[Moto G Android Development] cymBlood:
Already tried this and keeps getting the error :/
[Moto G Android Development] cymBlood:
Man I want to report that this is a bug from your kernel because I need to go back to original Aosp kernel and that message never popped up to me again.
[Moto G Android Development] BryanByteZ:
Well I can't debug since I don't use Google services. Sorry. Maybe when I update you can test again.
[Moto G Android Development] koshikas:
even if it were a bug caused by the kernel, a bug report is only legitimate if only it were accompanied by logs allowing the dev to see what went wrong. of the countless people using this kernel the issue you are facing is isolated, there is no way a anyone can predict over the top of their minds what went wrong in your device.
[Moto G Android Development] koshikas:
[MENTION=5842893]BryanByteZ[/MENTION] gentle reminder to update the kernel since this is probably the last active development week for Nougat
[Moto G Android Development] BryanByteZ:
I am without a computer in the moment.
[Moto G Android Development] hateeyes:
Hi, does this kernel work with AOSP extended?
[Moto G Android Development] BryanByteZ:
It is a bit old but should anyway the zip make a backup of your current boot.img if you face any problem you can restore the boot.img by twrp.
[Moto G Android Development] hateeyes:
Great Thanks
[Moto G Android Development] hateeyes:
And last but not least, which one will work for my?:

Cyanogenmod/AOSP for Falcon:

CM14.1 (UNIFIED WITH CM13 BY NOW) - CM14.1

CM12.1 - CM12.1
[Moto G Android Development] BryanByteZ:
Probably the unified.
[Moto G Android Development] TheRoyalSeeker:
[MENTION=5842893]BryanByteZ[/MENTION] = Legend!

Thanks for this awesome kernel bro...
[Moto G Android Development] Pierre2324:
Does lineage os 14.1 kernels will work on lineage os 15? Like for marshmallow and nougat Or some adjustments will need to be made
[Moto G Android Development] kamesh_kraken:
I'm using RR 5.8.4. Let me know which one to download.
[Moto G Android Development] BryanByteZ:
Depends, probably not.
[Moto G Android Development] BryanByteZ:
CM 14.1 one.
[Moto G Android Development] rahul1892:
[MENTION=5842893]BryanByteZ[/MENTION] Will you be updating this kernel for Oreo? Thanks.
[Moto G Android Development] koshikas:
[MENTION=5842893]BryanByteZ[/MENTION]

hope you dont mind doing one final nougat kernel of the latest sources before you move into oreo
[Moto G Android Development] BryanByteZ:
We already have a official version? If yes I can try else I will have a new nightmare.

I will try but since I am without my G I can't test it.
[Moto G Android Development] koshikas:
lineage is still unofficial, but we have a new official AOSP Extended in alpha.

that is a pain, a kernel is not something you build without a device. sorry bro, thanks nevertheless.
[Moto G Android Development] Neuen1:
I really like this kernel, good work! With the latest LOS 14.1 build however it breaks rotation on my phone :c. Any fix?
[Moto G Android Development] Royalcrist:
I had the same problem with it.
[Moto G Android Development] Allstargaurav:
Upstream kernel source form los kernel [cm14.1 Branch] then compile and flash it, will fix your problem.
[Moto G Android Development] Neuen1:
Sorry, could you be a little more specific? Do I need to install Linux to do it? Thank you!
[Moto G Android Development] SparkShikhar07:
Does this work with RR 5.8.5?

I am stuck on the bootloader unlock image?
[Moto G Android Development] BryanByteZ:
Probably not too old, reflash your rom or the boot.img backup that the kernel script created.
[Moto G Android Development] SparkShikhar07:
Will over clocking do any damage??
[Moto G Android Development] SparkShikhar07:
I overclocked my phone and changed the settings like it was given for performance but I any recent app is removed from cache I it opens up again and while playing game it suddenly stops I goes to home screen ??
[Moto G Android Development] koshikas:
dude, high hopes for too little
[Moto G Android Development] :
Please, update the kernel for work on rom's oreo.
[Moto G Android Development] ZeroAlee:
+1, please
[Moto G Android Development] SparkShikhar07:
[MENTION=5842893]BryanByteZ[/MENTION] Can I use GL tools with this kernel?
[Moto G Android Development] BryanByteZ:
From the google play page its say that only requires root.
[Moto G Android Development] teshzi:
Will this ever be updated/ported to Oreo Roms?
[Moto G Android Development] koshikas:
if not you can use the Evolution kernel for the time being
[Moto G Android Development] teshzi:
Well, I just want overclocking with some more stuff to tweak on. Like D2W/S2w features with overclocking.
[Moto G Android Development] koshikas:
D2W/S2w supported

overclocking NO
[Moto G Android Development] Thawan do E1:
Bug

Screen rotation is not working in Nougat ROM... My ROM is ViperOS 7.1.2
[Moto G Android Development] jemail:
Do not quote the OP's first post (2 posts above this one) it is not useful and clutters up the thread. Please remove it.
[Moto G Android Development] koshikas:
to fix this you should know that, all ROMs built post Jan/2018 require custom kernels built post Jan/2018. for ROMs built earlier, you need old kernels built in 2017
[Moto G Android Development] insigma28:
Thank you for the update bro.
[Moto G Android Development] BryanByteZ:
Not yet i will add the ToDo's to CM13 version then update the others with the same features.
[Moto G Android Development] BryanByteZ:
I guess that KEXEC is broken again someone can test for me?
[Moto G Android Development] willizambrano01:
oh haha good, I install 0.1.1 and it works excellent, the oc run perfect, thanks
[Moto G Android Development] BryanByteZ:
I will try to make a build today with UC of GPU and some new cpu govs.

If i can fix the errors today, there will be a new version today with alucard hotplug too.
[Moto G Android Development] Pierre2324:
Cant overclock cpu when using any hotplug...I know mpdecision wont let adjust frequencies sometimes but its not working with intelliplug also...I need to disbale both to overclock the cpu...btw thanks for adding sound tweaks! Also it seems that some governors wont let the cpu go to minimal frequencies only conservative and powersave will let the cpu go down
[Moto G Android Development] BryanByteZ:
Well i tested the last version about a day and half and its working fine the OC i dont use mpdecision just intelliplug and 1.6 freq is ok.

BTW in the new version i tweaked the actual govs and the min freq is 787mhz and like the op said use the same power as 3xxmhz

Just a fast howto

On CPU

Set max freq to 1593Mhz

Set gov to interactive

On CPU Hotplug

disable mpdecision and enable intelliplug

Chose a profile (balanced is ok)

Disable touch boost

If you can use govtuner it will tune the gov and optimize the freqs use.

BTW the oc is really fast using just one core here (dont play games atm)
[Moto G Android Development] BryanByteZ:
What i will add to the new version

Underclock of GPU (100mhz)

Alucard hotplug ,msm hotplug and bricked

Lcd notify and state notifier

Adreno idler (it will be a lot better for the OC of GPU and saves battery too)

It is already builded and its working i will await to fix KEXEC and maybe add KCAL so maybe tomorrow new build is up after that i finally add some govs and d2tw and try to fix my anykernel script then port the features from cm13 version to the others. i guess thats it.
[Moto G Android Development] phpbb3:
Could I request the BioShock CPU gov?
[Moto G Android Development] Pierre2324:
Okay thanks for answering its an amazing kernel! Can you tell me why pinkkernel was released on kitkat with 1.6ghz also but it got shut down because the cpu was not really overclocking and now its possible? Also you said you were using only one core? How you do that? Do you recommand doing that? Thanks

Hope you will release it for cm14 based roms? really best kernel out here
[Moto G Android Development] BryanByteZ:
Well this the opinion too until a discussion in TWRP topic about halogen kernel and the real oc after that Kaminari implemented and it worked (seems like) the phone get more fast (more drain battery LOL) and in the benchmarks the numbers get up. Yes i using basically 1 or 2 cores (2 when really need) because i multiROM to test the others version so i dont get enough space to my games and i using the phone just to music, browser and social networks so one core is really okay for me (at 1.6Ghz).

Like you i really want cm14 for our devices, i love my falcon and dont plan to change my phones too soon my Y and G still give me what i need.
[Moto G Android Development] jb220380:
I'll give à try if dt2w is added ?.

My power button's nearly dead!

Cheers
[Moto G Android Development] BryanByteZ:
It's on the way!
[Moto G Android Development] BryanByteZ:
My power button is sensible too i will try this today already fixed tons of errors of hotplug.
[Moto G Android Development] BryanByteZ:
v0.1.2

Added Alucard,MSM,Bricked,AutoSMP hotplugs

Added UC of GPU (100Mhz)

Added Adreno idler (will save a lot of battery especially if using OC)

Added LCD Notify and State Notifier

SELinux permissive by default

Updated faux sound control v3.5

Added ARM topology and NEON

Fixed KEXEC

Link in op.

Will add dt2w tomorrow or after that i tired by today.
[Moto G Android Development] Chofito:
MSM MPDecision have a bug e.e I can't disable this :c
[Moto G Android Development] BryanByteZ:
Yeah i guess that is not working properly but just use another one for now.

I will fix it in next version.
[Moto G Android Development] BryanByteZ:
Intelliplug,Alucard,MPDecision,MSM Hotplug and AutoSMP is working in next build i will fix Bricked. Don't know yet why is displaying wrong and bugged.
[Moto G Android Development] Pierre2324:
Ok thanks and also.. how do you disable cores? I dont play games at all and if theres no benefits from multicore in apps I think I could get more battery that way. I have the 8gb version I relocated dalvik cache so I have more space if you want a little advice in return of what you are doing for us;)
[Moto G Android Development] :
Really really good kernel! The best kernel that I have never tried!
[Moto G Android Development] phpbb3:
I see that this kernel runs in permissive mode now. Why? Is it safe to switch back to enforcing using kernel adiutor?
[Moto G Android Development] ldiomedi:
This is a little OT, but how you do that? Relocate dalvik? Any place where I can see how? BTW, for gaming the kernel it's perfect. I'm using it right now playing Pokemon Go, a very heavy app for our phone, and works very well.. hope you could implement smartmax and zzmove governors. For performance those works very well for me in the past..
[Moto G Android Development] BryanByteZ:
You can use any hotplug that limits the max cpu i actually use intelliplug and Eco Conservative profile and no lag at all.

Thanks i have the 16gb version (dual sim) what kills me its multirom 4 roms and a lot of music :p .
[Moto G Android Development] BryanByteZ:
Yes you can use terminal too.

su

setenforce 1

Or if you have a rom that have a switch in config you can use it too i set it to permissive because some mods require it (ARISE !@!).
[Moto G Android Development] BryanByteZ:
I guess that later today i will remove Bricked Hotplug by now to fix and add some govs.
[Moto G Android Development] BryanByteZ:
Thanks bro!
[Moto G Android Development] BryanByteZ:
What will have in new version:

New govs

All TCP congestions

Removed Bricked to see why is not working

And if rest some time to my soul i will try to add ... DT2W
[Moto G Android Development] Pierre2324:
Just tap relocate dalvik cache moto g on google there are two threads about that on xda I personnaly use the old one that is easier in my opinion without mods ;) basically moving the dalvik from data to cache and creating a shortcut to the new dalvik folder in tge data folder using a command (note that its only working for marshmallow and kitkat...lollipop as his dalvik folder too big

---------- Post added at 04:43 PM ---------- Previous post was at 04:39 PM ----------

Oh yeah found it in latest update? suggest one or two cores for web browsing, music listening, messenger, snapchat, YouTube?

Also is it just me having problems with google app and chrome? I thibk its really slow what should I do? Kernel tweaks or other? Would like to stay with chrome tho:/
[Moto G Android Development] Pierre2324:
Dont know why sometimes my max freq goes back to 1.2ghz?
[Moto G Android Development] phpbb3:
Switch CPU hotplugs. Mpdecision refuses to accept steps over 1190 for this device.
[Moto G Android Development] BryanByteZ:
It's basically what i do (i just dont use snapchat) and i actually using just one core (i have high cpu threshold in intelliplug) and its fine i dont use the google app anymore but chrome its okay here. But remember i using one core BUT WITH OC.

Maybe i give a try to moving dalvik if it works with MM, Thanks!
[Moto G Android Development] BryanByteZ:
Double post

Sorry.
[Moto G Android Development] BryanByteZ:
Yes, if you want a simple hotplug use AutoSMP.
[Moto G Android Development] BryanByteZ:
Just a headsup people i guess there's no build for today i need to do something first and about a mirror i guess i will upload to github (the .zips already build) since i can't upload to XDA (don't ask me why it just refuses).
[Moto G Android Development] BryanByteZ:
v0.1.3

Fixed bricked hotplug

Added some govs (Yankdemand,Yankactive,Smartmax,Lionhert,Impulse,DanceDance and Bioshock)

Added NTFS support

Removed optimize for size

Currently finishing compile (tweaked a little in menuconfig).

EDIT: It will be delayed a bit something is gone wrong...
[Moto G Android Development] @halfdevil:
hi, [MENTION=5842893]BryanByteZ[/MENTION] can you add intelliactive too:D:)
[Moto G Android Development] BryanByteZ:
I will first i need to make it boot again.
[Moto G Android Development] Pierre2324:
Is it normal..? When I boot many hotplugs are already selected at the same time..
[Moto G Android Development] BryanByteZ:
No the only hutplug that is on at boot (a bug already fixed in next build) is the msm mpdecision (bricked hotplug) the mpdecision is the default.
[Moto G Android Development] FernandoJjr:
For those who are using this kernel: how is the battery backup? Better or worse?
[Moto G Android Development] BryanByteZ:
I fixing my sources and learned a lot the new version will be like a BOOM we can expect DT2W/S2W/S2S and a lot of govs.

Finally learned how cherry pick :p :D
[Moto G Android Development] BryanByteZ:
If my own opinion counts its better with 80% of battery i got 5h30m compared to 100% with cm stock kernel.

Heavy usage (Setting up the system installing apps fb whatsapp and browsing)