yashsingh1/xdaforums huggingface dataset:
[Moto Maxx Android Development] IonAphis:
I think this is similar to what happened to me.

I tried reflashing all to stock 5.0.2 a few nights ago. Installed TWRP and root and then installed fresh RR with open gApps. Booted, did the login thing, then rebooted to install kernel and the same problem comes back.

It says updating resources, the screen goes black and after the phone heats up a lot and it reboots, goes back into android and again shows "updating resources" until eventually it gets stuck in a bootloop.

At this point I have no idea what could be the problem and why it doesnt want to work with my phone. I have an XT1225 bought in SP, Brazil and the rest is as I said above (TWRP, root, unlocked bootloader and etc)...
[Moto Maxx Android Development] fgl27:
I never get any boot loop after flashing the kernel I released, If the android is update/optimizing Is because you or install some app before reboot to recovery or flash some thing besides the kernel or wipe dalvik cache.

So what you did to cause the android is update/optimizing? the kernel change doesn't cause that you don't need to wipe any thing on kernel update.
[Moto Maxx Android Development] fgl27:
Test build

BHB27-Kernel-V124-CM-RR-test-05.zip​

So I did one more test build to resolve all the minor bug and include some need update before releasing a final stable.

If no bugs found this will be the final version and changelog will released stable on next Monday Tuesday :good:

Full changelog:

* V.1.2.4

* This version have over 140 individual commit's to included all changes below.

* Linux 3.10.95 Update

* Linux 3.10.95 Fix (this one came with some bugs from linux)

* Moto/Google bug fix for Shamu/Nexus 6 improve STREAM behavior with fragmented memory

* Fix GPU frequency table, it was bug from the start, that comes from moto kernel, now the GPU can use the 27Mhz frequency that moto included but doesn't work, plus the ability to set frequency by the GPU is improved.

* Reduce frequency Of the GPU on boot 266 MHz to 166 MHz

* I2C frequency improve.

* Devfreq: Use high priority workqueue

* Fix potential memory leak in path_lookupat

* Int_sqrt: Correction square root algo with naming/ Improve 3x faster integer sqrt

* Add a new flag for suspend time from timekeeping

* Remove SMARTASS2 CPU gov to improve zzmoove and cpufreq.c

* Add wake gestures Sweep2wake and Doubletap2wake

* Re enable PowerSuspend now v1.7, before I used 1.5 this must have resolved all the bugs.

* Wakeup: add userspace knob's to enable/disable wakelock's.

* Add a interface to Enable/Disable CRC can be enable disable via Kernel auditor, recommend to leave enable.

* Simple_ondemand GPU governor Fix and improves

* Update and merge intellithermal to the kernel so it can use all the thermal tool's made by moto/linux for default MSM Thermal and moto blobs.

* CPU, Indle, GPU and Load average Fix's and improves

* Improve the kernel build process

* Rework optimization flags remove most as they are not bring improves.

* Use Stock google GCC 4.8 to build the kernel to keep the modules and kernel close to stock blobs.

* + Some minor updates and fix for this whole package work.
[Moto Maxx Android Development] hpbrasil:
Não tem jeito, novamente tentei instalar o kernel na cyanogen..

Fiz o flash rom+gapps+kernel e reiniciei ou ele fica tela preta ou depois que aparece otimizando aplicativos e iniciando ele reinicia do nada.

O que será que teve:confused::confused::confused:
[Moto Maxx Android Development] fgl27:
1° you must use english, if your english is not that good use the PT-BR thread.

http://www.androidpit.com.br/forum/...oto-maxx-bhb27-kernel-5-x-x-cm-base-s/page/19

what did you do to find the problem?

you must do a clean install, flash the ROM if boot ok go back to recovery and flash only the gapps if boot ok go back to recovery and flash the kernel.

If no good clean install

flash the ROM if boot ok go back to recovery and flash the kernel.

you must find the problem if is the gapps or the kernel even if is the ROM.
[Moto Maxx Android Development] fgl27:
Kernel update! BHB27-Kernel-V1.2.4​

Recommended to Clear data of yours Kernel app and reboot to many changes on this version.

Flash via TWRP no wipe is need.

Check the 1# and 2# post for help and recommendations..

* Download

BHB27 Kernel For CM-RR

BHB27 Kernel For Mokee

*KernelAuditor Downloads update

NX ROM have not updated they source to support the new kernel.

The Changelog

Notes:

All the new features was tests with the help of the user that download the v124 test version. So all the features here are 100% stable.

Some user have reported that the kernel can't be installed with the ROM in a clena install, I have test in all ROM that this have support, flash clean install ROM + Kernel no wipe and reboot to system the device boot just fine in all test, I only recommend to clean install like this do not recommend flash a gapps with ROM and Kernel do not flash gapps xposed any other zip with ROM and kernel in a clean install, this is the only way to find with zip is causing the problem.

In the final stable version after checking some minor error and bugs from power and suspend, I decide to remove PowerSuspend of Yank555.lu, and update moto Power suspend using Nexus 6 changes, Moto/google did a lot of improves to nexus in my test all the bugs and error are gone, the changes bring a great improve to the suspend time.

To enable doubletap2wake you need to enable first some option of Sweep2wake if you don't it will not work, in kernel auditor only enable doubletap2wake and Sweep2wake other features there are fake unremovel check the pics, to use Sweep2wake you can only enable that .

Wake features under misc on Kernel auditor are WIP, disable the wakelock's under there may couse bugs on those features Wifi, sensor, so try but if you have problem let all enabled, in the future will have more option there on kernel auditor as I enable Bluetooth wakelock too but kernel auditor doesn't have that yet, but disabling Bluetooth on setting will disable all Bluetooth wakelock.

Bug report: make with in the most accurate description possible, do not spare words, screens and logs, a bug that i can't understand can't reproduce I can't fix.
[Moto Maxx Android Development] fgl27:
2# post update to include Wake gestures Sweep2wake and Doubletap2wake Help.

remember when in trouble check the help I have almost all the help need there...
[Moto Maxx Android Development] pedrohxn:
V1.2.4 working flawlessly on RR V5.5.9 20160110 with performance tweaks.

Thank you [MENTION=5747496]baybutcher27[/MENTION]! [emoji16]
[Moto Maxx Android Development] lkthomas:
May I know if this kernel is suitable for daily driver? is it stable enough?
[Moto Maxx Android Development] iiWoodstocK:
I use this kernel on my daily, and it hasn't failed me.
[Moto Maxx Android Development] lkthomas:
Can you feel the performance gain?
[Moto Maxx Android Development] fgl27:
Kernel update! BHB27-Kernel-V1.2.5​

Recommended to clear data of yours Kernel app and reboot if encounter bug after flash.

Flash via TWRP no wipe is need.

Check the 1# and 2# post for help and recommendations..

* Download

BHB27 Kernel For CM-RR

BHB27 Kernel For Mokee

*KernelAuditor Downloads update

NX ROM have not updated they source to support the new kernel.

The Changelog

This version is to support the changes made on RR to better support Netflix and other video app.

Bug report: make with in the most accurate description possible, do not spare words, screens and logs, a bug that i can't understand can't reproduce I can't fix.
[Moto Maxx Android Development] pedrohxn:
Just flashed with kernel 1.2.5.

Working fine.

[MENTION=5747496]baybutcher27[/MENTION] which CPU governor you believe is most battery friendly and more agressive when demanded? zzmove profiles 9/10 or interactiveX?

Is there any other governor you know that works better than these two?

I've been using zzmove profile 9 for a while and I like it. Just want to know if there is another one you recommend...

And what about GPU governors?

Your kernel is amazing and works like a charm.

And thanks for DT2W! The feature I always wanted hahah
[Moto Maxx Android Development] iiWoodstocK:
I don't use performance oriented CPU & GPU governor, so no, I don't notice performance gain. I use balanced CPU governor (I switch between bioshock and yankactive), and simple_ondemand GPU governor.

[MENTION=5747496]baybutcher27[/MENTION] wake controls work wonderfully! And I haven't noticed any battery drain from having dt2w enabled
[Moto Maxx Android Development] kitcostantino:
as i reported in the Res Remix thread, on this kernel, Netflix now works flawlessly with zero user mods needed. Amazing, amazing work by [MENTION=5747496]baybutcher27[/MENTION] . Thank you for the continued amazing work!!!
[Moto Maxx Android Development] fgl27:
Test build

BHB27-Kernel-V126-CM-RR-Test-01.zip​

I have started a test build for v126...

Download RR-CM only

Clear data of yours Kernel app and reboot if encounter bug after flash.

Flash via TWRP no wipe is need.

Check the 1# and 2# post for help and recommendations..

Changes:

The changes may change :silly: in the final stable version.

* Major update on Random: entropy tweaks, random generation optimization including e/frandom support

* Major update of RCU, included improves to power, sleep and deep sleep tools

* PM / sleep: use asynchronous threads to improve the overall sleep/resume

* Misc/sched: Add controls for sched features gentle_fair_sleepers

This last featuring "gentle_fair_sleepers" can put the device in a deep deep sleep, and in some test of my after the device is 1+ hours with the screen of, the only thing that wakes up the screen is the power button and with a delay, so D2TW may not work after hours sleeping.

Bug report: make with in the most accurate description possible, do not spare words, screens and logs, a bug that i can't understand can't reproduce I can't fix.

Is not necessary to post that none bug was found, only report bugs please...
[Moto Maxx Android Development] fgl27:
Kernel Auditor update

KernelAdiutor-0.9.9.3.+01.BHB27-Mod.apk​

I have started to make a personalized Kernel Auditor to better support my kernel, as some part of Kernel Auditor is bug on quark, and those parts are necessary to other devices I can't remove they from official app, but as Kernel Auditor is open source I can make my on and fallow the official one but making updates to better support all features on BHB27-kernel.

The version will be always the same from play but I will included a +01 (+02, +03...etc) this number will be the local version, This will be visible on the zip or apk file and on android app info on setting.

Use my version will not stop the user from use the one from play if a update comes but That one will be different and I will keep this up to date.

Download Kernel auditor

APK or ZIP?

If you have building Kernel auditor like in RR you must use the zip.

If you don't if install it from play you must use the apk, if using the apk please uninstall your version first.

To install the zip just flash via TWRP, no wipe is need

Clear data of yours Kernel auditor app and reboot if encounter bug after flash.

Changes:

All the changes of 0.9.9.3 present on play version plus:

* intelliplug: profile_summary Fix the parentheses indicates the amount of cores

* misc: Fix Broken Fsync Toggle

* Fix wake features that couse bug, remove T2W and sleep option

Use my version of kernel auditor to better support this Kernel.

If there is something else to update on kernel auditor please let me know.
[Moto Maxx Android Development] kitcostantino:
brother, just when i think this can't get much better, it does. thank you [MENTION=5747496]baybutcher27[/MENTION] !!!
[Moto Maxx Android Development] bubblesd306:
Everything works, much appreciated.
[Moto Maxx Android Development] lkthomas:
Two problems, 1. When my phone connect or disconnect WiFi , it seems lag or stop responding; 2. When I tried to rollback to RR stock kernel, my WiFi signal disappeared, I have to flash back this kernel. Any idea?
[Moto Maxx Android Development] fgl27:
I never notes this, and I enable disable the wifi a lot. What lag is this? I don't understand...

This kernel is not just a boot.img, you can't flash stock boot and make it work. To revert to stock you need to dirty flash the ROM you are using, by do so your system will be clean and force you to flash any zip that you use that made a change to the system, like gapps and xpose.
[Moto Maxx Android Development] lkthomas:
Thanks, let me test the WiFi to see if stock kernel have any of these issue.
[Moto Maxx Android Development] duowing:
Yes, make sure you don't do what I did. I was extracting the boot.img and using flashify to flash just that. It was leaving out the libraries among other things and causing issues that wouldn't have existed had I just flashed the zip
[Moto Maxx Android Development] fgl27:
Kernel Auditor update

KernelAdiutor-0.9.9.3.+02.BHB27-Mod.apk​

Download Kernel auditor

APK or ZIP?

If you have building Kernel auditor like in RR you must use the zip.

If you don't if install it from play you must use the apk, if using the apk please uninstall your version first.

To install the zip just flash via TWRP, no wipe is need

Clear data of yours Kernel auditor app and reboot if encounter bug after flash.

Changelog

Use my version of kernel auditor to better support this Kernel.

If there is something else to update on kernel auditor please let me know.
[Moto Maxx Android Development] fgl27:
Test build

BHB27-Kernel-V126-CM-RR-Test-02.zip​

Changes:

The above +.

* Update Linux to 3.10.96

* Added State notifier driver for proper suspend-resume routines of multiple drivers. (port from neobuddy89)

* Added MSM Limiter Driver - Per CPU Total Control, The limiter's primary job is to maintain max-min frequency, and help thermal-engine to maintains the freq on the set value by the user, test will know if this improves lags, and situation were the freq gets too low and doesn't not comes back.(port from neobuddy89)

* Improve/refine the kernel in general, Improve/refine to:

* cpufreq/cpu-boost, cpufreq/stats, qcom-cpufreq, thermal-engine, CPU gov's, Hotplugs, frequency handling in general.

This update will not bring more performance, what I expect is that it will just give a more regular performance without lags cause by throttle down of clock, of course this is not magic the clock need to throttle down so the device don't burn, but it will be better now, if the user config is right.
[Moto Maxx Android Development] iiWoodstocK:
I flashed the 02.zip and the 01.zip, but nothing changed. I'm on RR.
[Moto Maxx Android Development] RSDamasceno:
Click on uninstall updates. ;)

--

Moto Maxx - XT1225

Xposed RR Rom 5.1.1
[Moto Maxx Android Development] iiWoodstocK:
Ah yes, I forgot the .zip is installing the base system app. Thank you!
[Moto Maxx Android Development] fndpena:
What are the pros on using the custom kernel adiutor from the dev?
[Moto Maxx Android Development] kitcostantino:
it is tweaked to "better support [his] kernel"
[Moto Maxx Android Development] fgl27:
Kernel Auditor update

KernelAdiutor-0.9.9.3.+03.BHB27-Mod.apk​

Download Kernel auditor

APK or ZIP?

If you have building Kernel auditor like in RR you must use the zip.

If you don't if install it from play you must use the apk, if using the apk please uninstall your version first.

To install the zip uninstall updates of Kernel auditor made from Play flash via TWRP, no wipe is need.

Clear data of yours Kernel auditor app and reboot if encounter bug after flash.

Changelog

Use my version of kernel auditor to better support this Kernel.

If there is something else to update on kernel auditor please let me know.
[Moto Maxx Android Development] fgl27:
Test build

BHB27-Kernel-V126-CM-RR-Test-03.zip​

Changes:

The above +.

Revert some of the changes from 124, regards Power and sleep, + all the below from test 02 they they was not working 100 % together...

* Revert Added State notifier driver for proper suspend-resume routines of multiple drivers. (port from neobuddy89)

* Revert Added MSM Limiter Driver - Per CPU Total Control, The limiter's primary job is to maintain max-min frequency, and help thermal-engine to maintains the freq on the set value by the user, test will know if this improves lags, and situation were the freq gets too low and doesn't not comes back.(port from neobuddy89)

* Revert Improve/refine the kernel in general, Improve/refine to:

* Revert cpufreq/cpu-boost, cpufreq/stats, qcom-cpufreq, thermal-engine, CPU gov's, Hotplugs, frequency handling in general.

Included new features:

* Re-enable optimization for the kernel

* Compile the Kernel using UBERTC-4.8.5-20160203

* Update included the latest change for CPU_GOV interactive, yankactive and conservative

* Improve custom Hotplugs

* Add conservativex, wheatley, darkness, nightmare and pegasusq cpu gov

* Use CPUFREQ_RELATION_C for all CPU GOV (It selects the frequency with the minimum euclidean distance to target.)

* Removing some debug clean the Kernel

* Improve Misc/Wakelock features of kernel auditor

* Improve Wake/sleep/suspend features of the Kernel.

Full CPU_GOV and Kernel etc descriptions

I believed this changes make the kernel 100% stable and if no bug is found I will released this in a few days as the next stable.
[Moto Maxx Android Development] Latiken:
I've flashed the new version just today and so far everything is working well without any complaints.

Excellent work.
[Moto Maxx Android Development] neur0tk:
1.2.6 test 3 running smooth zzmove profile 5 wake up boost and undervolted -25 global offset have no issues yet!! Keep up good work BayButcher
[Moto Maxx Android Development] fndpena:
Is MPdecision better for battery life than IntelliPlug? I'm using zzmoove / profile 5 btw...

I'm asking this because the dev recommended the first, but Intelliplug used to be default on kernels that I used in the past.

Or simply intelliplug and zzmoove are not a good match at all?
[Moto Maxx Android Development] kitcostantino:
works great on minr. zzmove battery plus (profile 5) as well.
[Moto Maxx Android Development] fndpena:
In your opinion and experience so far, do you think intelliplug performs better than mpdecision? What about battery life?
[Moto Maxx Android Development] kitcostantino:
i think the exact, specific instructions baybutcher gave in post 2 yielded amazing battery life. idr if he specified to use it or not. my battery life could be better, but i tend to use my phone a crap load. also, just in case anyone missed it, TWRP has a new version out. we can thank [MENTION=5747496]baybutcher27[/MENTION] for that too. Thank you, brother.
[Moto Maxx Android Development] fndpena:
Does anybody knows a script to keep the kernel through cm updates?
[Moto Maxx Android Development] kitcostantino:
not that i know of, but in all honesty, its best just to reflash it or use a kernel app (like kernel aidutor) because a cm update could make it incompatible. in other words, it could leave you with an unbootable device in that *unlikely* scenario if a nightly or release of cm were to become incompatible.

dont get me wrong, it would save a step on every flash. ;)
[Moto Maxx Android Development] fgl27:
Test build

BHB27-Kernel-V126-CM-RR-Test-04.zip​

I find some minor things missing on the kernel, I have made on more to fix that + I add some new improves.

I have find some problem when using Misc featuring of kernel auditor, gentle fair sleepers and the wakealocke, they may cause some over discharge of the battery, so I remove they I don't see much gain on using they and in some random case they may cause the opposite from what they are supposed to do.

Changes:

The above +.

* Revert gentle fair sleepers and the wakelock

* Improve i/o scheduler, cgroup, cache, memory, Sound, Net, STREAM, USB, GPU and CPU.

* Improved power efficiency and CPU idle, replaces normal workqueues with power efficient version in a lot parts of the kernel.

* Fix Suspended/resume log and error's, improve even more the suspended latency.

If no bug is found I will released this in a few days as the next stable.
[Moto Maxx Android Development] kitcostantino:
[MENTION=7109882]iiWoodstocK[/MENTION] it seems you always find the good news first. (when there is a nee rom or kernel update. lol)
[Moto Maxx Android Development] iiWoodstocK:
Haha, lol. I spend WAY too much time on XDA and Reddit.
[Moto Maxx Android Development] Shooting Star Max:
Oh, so that might have caused a problem I had. Some days ago, my phone discharged until it turned off. Then I couldn't turn it on even after trying to charge it (it showed the empty battery picture, and the green LED*turned on). It finally turned on after messing a bit with it.
[Moto Maxx Android Development] kitcostantino:
Wow. That battery state is actually common for Motorolas. The Quark is actually set to never get that low by default.

When and if you get it that low, you pretty much have to let it charge for a good 15 min or so and then try to boot. When they are in that state, sometimes it is easier to boot to fastboot than to power on. Glad youre up and running, though. ;)
[Moto Maxx Android Development] quangv:
Thanks for your hardwork [MENTION=5747496]baybutcher27[/MENTION], I have a question: can you change the Selinux from enforcing to permissive or show me how to do it, I need it to use extreme music mod (viperaudio mod)
[Moto Maxx Android Development] fgl27:
there is this on RR thread...
[Moto Maxx Android Development] fgl27:
Test build

BHB27-Kernel-V126-CM-RR-Test-04-M.zip​

Marshmallow only.

This version is basically my V1.2.6 ported to work on M minor changes have be made will post the changelog latter.

Same recommendation as for L

Download BHB27-Kernel for M

Check my RR marshmallow Thread WIP
[Moto Maxx Android Development] fgl27:
Marshmallow score with this kernel...

M bring a nice improve on the GPU performance on antutu need to see if this will be of good use on games

#1 on antutu and world record for a Quark :victory: not bad for a 2014 device...

The scores are now in sync with Nexus 6.
[Moto Maxx Android Development] juliogama:
Here "just" 74705 [emoji16]

Enviado de meu Moto MAXX usando Tapatalk

---------- Post added at 20:09 ---------- Previous post was at 20:08 ----------

CPU and GPU in performance

Enviado de meu Moto MAXX usando Tapatalk
[Moto Maxx Android Development] fgl27:
I have a Chuck Norris Quark :silly:

I use the recommendations that are on the OP they are hide, fsync must be disable...
[Moto Maxx Android Development] MazinDLX:
I'm on Verizon you think it would hurt to flash that test kernel?
[Moto Maxx Android Development] fgl27:
The V 126 test 4 is the stable one, I just too busy to make a post with completed changelog, but that one is the next stable one. Just download the right OS version.
[Moto Maxx Android Development] xboxbr:
did you install Marshmallow?
[Moto Maxx Android Development] kitcostantino:
MM rom and kernel running great. thank you [MENTION=5747496]baybutcher27[/MENTION] !!!

edit: the only thing i cant find is a way to edit which Quick Settings tiles are in the Notification bar. Great features in this rom. really glad to swe development push forward on my Droid Turbo. ;)
[Moto Maxx Android Development] kitcostantino:
edit 2: figured it out. ;) score!!
[Moto Maxx Android Development] juliogama:
Yes, Ressurection Remix 5.6.3

Android M 6.0.1

Enviado de meu Moto MAXX usando Tapatalk
[Moto Maxx Android Development] neur0tk:
Running good here also!!!
[Moto Maxx Android Development] GreaterLesser:
Got pretty close on more everyday, all-day usable settings :good: (Not using the the performance scheduler on the CPU or GPU and few other tweaks)
[Moto Maxx Android Development] juliogama:
Wow, is awesome, I love ours Moto Maxx/ Droid Turbo
[Moto Maxx Android Development] juliogama:
Testing RR M 6.0.1 to 2 days and so far very good, very.
[Moto Maxx Android Development] fgl27:
Test build

BHB27-Kernel-V126-CM-RR-Test-05-M.zip​

Marshmallow only.

Made some minor FIX to M kernel, so use this with the latest Marshmallow ROM...

Download BHB27-Kernel for M

Check my RR marshmallow Thread WIP
[Moto Maxx Android Development] Ivan_Conde:
So far

Good now in zz move, inzane option

Enviado desde mi Moto MAXX mediante Tapatalk