yashsingh1/xdaforums huggingface dataset:
[Moto Maxx Android Development] fgl27:
not a problem that everyone is complaint is it?

Maybe you config is not good for game, you may be trying to pull too much from the device making it too hot quickly and that is a problem.

when I play games the device gets hot, I notice it and perforce should be affected if is too hot but here I don't get lost of performance as I not try to use a performance config as it is not necessary, as the device is a beast in performance a normal config goes very well.

you have the kernel app to do yours on kernel tweak, you have many pure aosp ROM's to chose, because they are all aosp and they are all pure this is not a samsung aosp source that we use, is the aosp base source with caf changes to add the support to all device, with extra customization options those options don't add lags or things related, they add featuring that you can chose to use or not, and those using or not they don't affect the use of a game or any app, when a app is open the focus is on that app mainly on a game there isn't crazy none aosp changes running on the background that doesn't happen that is usually associated to bloatware app that are not add on custom ROM even if they was you can easily remove them any app that you don't use or like just remove it.
[Moto Maxx Android Development] pedrohxn:
As our dev [MENTION=5747496]bhb27[/MENTION] said, this device is a beast... Even more if overclocked @ 2880mhz.

I used to have this problem of low FPS when heavy gaming, then I realized that's hotplug driver's fault.

When you have big/heavy CPU loads, the hotplug driver tends to wake up other cores to "distribute" the load, so it won't overload only one/two cores. So, instead of running 2 cores @ 2880mhz, it will run 4 cores — hypothetically, @ 1497mhz.

This is why I like the newly featured hotplug driver by Alucard.

I tweaked it up to run dual-core most of time if running few tasks or, if it takes more than X miliseconds to do the job, it will plug in the 3rd and 4th core.

When gaming, Android prioritize the foreground app, and it keeps only 2 cores online. Allowing to reach the max_freq_scale and do not distribute the load into other cores, losing "speed".

A real-world example, that occurs to me:

Sometimes I play Vainglory or Asphalt, both runs heavy 3D graphics.

By monitoring CPUs, I see it running dual-core @ 2880mhz... and running butter smooth.

I use SDMaid app, which cleans caches, optimizes databases, control apps and stuff (that's the only cleaner app I'd recommend, btw), and I'm able to run four or more tasks at the same time, and that's when it plugs in all four cores until one of them completes.

For my usage, I achieved the best setup I've ever got with Alucard combo, governor + hotplug driver.

I'm that kind of guy always near a charger if needed, that's why I don't give a f*** to battery. I want it fast as possible.

But this combo has an impressive battery life despite it's performance.

And yes, it does heats up @ 2880mhz, even worse if plugged into a turbo charger, heats up pretty quick.

That's why I don't use 2880mhz for gaming. I get a pretty good performance in most games @ 2265mhz ~ 2496mhz. Off charger, it takes a bit longer to heat up until the BCL driver takes over and decrease max_freq_scale to prevent overheating and, possibly, damaging your device.
[Moto Maxx Android Development] rhcreed:
Just flashed this kernel on your RR7 Rom, are there updated battery recommendations for this phone?

Thanks!
[Moto Maxx Android Development] fgl27:
No, I update that post when I have it (time and thoughts).
[Moto Maxx Android Development] dougsampaio:
After I installed the latest version (6.1) of this kernel my phone only charge slowly. I don't know if it's a coincidence or it's related. Anyone had the same problem?

I've tried different plugs, cables, turbo chargers and nothing changed.

P.s. Turbo toast says the turbo charger is connected.

Thanks in advance!
[Moto Maxx Android Development] fgl27:
Kernel Adiutor update

KernelAdiutor-Quark.45.BHB27-Mod.apk​

Download Kernel auditor

Changelog

Installation

Just Install the apk on any ROM enjoy it.

If encounter any problem:

Clear data of yours BHB27 Kernel Adiutor app + deleted the KernelAdiutor and KA_profiles folder from internal memory (if not possible by the android file manager use TWRP one), reboot to recovery and clean/wipe Dalvik and cache before reporting things.

You can make a copy of profiles.json file inside KA_profiles folder (in case you save a profile), after the reboot place it back on the folder then apply the setting on the app, if encounter problem after the apply the profile is the problem deleted it and redo the cleaning and don't use it again...

This helps when the apps functions are odd, misbehaving and or slow to load/display.

Sharing profiles

The only thing need to share a profile is the file profile.json in side KA_profiles folder, it can be just simple copy and past to another devices, the file is very small and easy to share.

Use my version of Kernel Adiutor to better support this Kernel. :good:

[IMG="XDA Labs"]https://img.xda-cdn.com/oshFRo1rSEHTP5__wCXMO3e3u-I=/http%3A%2F%2Fimgs.xda-labs.com%2F0621sigs%2Flarge%2Fcontributor.png[/IMG]
[Moto Maxx Android Development] fgl27:
Use the KA app Power and Battery to read battery status and Current in... others tool from others app or in ROM tools, may not be able to read correctly as the KA app can.

If the charge is 80+% the current will be lower and lower as it get close to 100%, if the device or the battery is hot the current will also be lower...

I'm registering 2.4A here with is the max supported.
[Moto Maxx Android Development] fgl27:
BHB27-Kernel-V62​

For Nougat and Marshmallow, Custom and Stock ROM.

Download BHB27-Kernel Click here

Changelog Click here

Note:

Use this with the latest version of my mod KernelAdiutor-Quark.45 or up to control the many featuring of the kernel.

Download Kernel Adiutor App

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

Always post a bug with [MENTION=5747496]bhb27[/MENTION] and a log .zip

BHB27 Kernel Adiutor > Logs > One click all Logs to a ZIP

If the device Random reboot all the logs are lost so just described like I ask above
[Moto Maxx Android Development] dougsampaio:
Here it keeps oscillating, I'm getting a Max of 1.9A and a min of 0.3A.

I'm thinking it could be a problem with my mini USB connector, maybe some rust or something.
[Moto Maxx Android Development] fgl27:
doesn't happens to me not kernel related, continuous and constant 2,4A but that is not a ruel it can oscillate a little, up to were the charge is getting high and the currentc goes down under 1A.

anything over 1A is turbo charging, if the Battery charging mode is oscillating from Turbo to normal, may have a cable or charger problem, if not and is above 1A all good.
[Moto Maxx Android Development] FlavioV:
[MENTION=5747496]bhb27[/MENTION] clean installed both latest RR and custom kernel yesterday, safetynet fails once again in Magisk. The universal safetynet patch works but only if I downgrade kernel to v61.
[Moto Maxx Android Development] fgl27:
BHB27-Kernel-V63​

For Nougat and Marshmallow, Custom and Stock ROM.

Download BHB27-Kernel Click here

Changelog Click here

Note:

Use this with the latest version of my mod KernelAdiutor-Quark.45 or up to control the many featuring of the kernel.

Download Kernel Adiutor App

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

Always post a bug with [MENTION=5747496]bhb27[/MENTION] and a log .zip

BHB27 Kernel Adiutor > Logs > One click all Logs to a ZIP

If the device Random reboot all the logs are lost so just described like I ask above
[Moto Maxx Android Development] fgl27:
fix it :good:
[Moto Maxx Android Development] Ducadim:
I haven't problems with SafetyNet on your last RR and V62 kernel (Magisk 13.3 without any fixes), I'll try v63...

Отправлено с моего Moto MAXX через Tapatalk
[Moto Maxx Android Development] fgl27:
amazing!!!

way post Instead of reading the changelog? or the previously post to yours, says fix it there maybe I'm just Joking :laugh::silly::laugh:
[Moto Maxx Android Development] Ducadim:
I saw changelog and decided to comment)))

Отправлено с моего Moto MAXX через Tapatalk
[Moto Maxx Android Development] fgl27:
comment if it fail or not on latest, a post of not working repeatedly is not necessary. one post of a problem is enough.
[Moto Maxx Android Development] Ducadim:
ОК:laugh:
[Moto Maxx Android Development] Einheit-101:
Hello [MENTION=5747496]bhb27[/MENTION] !

Question 1

Is my camera destroyed? :(

The logs tell something about faulty signal from qcom camera daemon.

http://i.imgur.com/L7NCS42.png

Question 2

Phone gets very hot again. Which wakelocks are those?

http://i.imgur.com/e3ifLZa.png

Logs:

https://www.dropbox.com/s/embs4j8ilim9m9f/logs_Sep_01_2017_15_28.zip?dl=0
[Moto Maxx Android Development] fgl27:
when you have a general problem open a general thread and @ others users.

don't know what the problem is, clean install must solve the camera and second may be because the camera also as it is trying to work but it can't then keeps doing to the infinite and beyond. if the clean install doesn't resolved is hw problem, if it came back after some flash/change you get it...
[Moto Maxx Android Development] Einheit-101:
I will try to wipe the whole storage and install a custom ROM, the default 6.0 stock is too flawed. I hoped I can circumvent this, since it's a lot of work to set everything up again.

I hope it's not a HW fault... I took a picture and the camera started lagging, plus Pokemon GO AR mode started being unplayable because the camera lagged extremely, an hour later I got the camera busy error, no life sign since then, not even the flashlight works.
[Moto Maxx Android Development] fgl27:
clean install is not all storage, is just a clenup of data without internal memory, it just erase app and they data, that can be saved and restore using backup app like titanium that even has a flashable zip creator, but there is the chance that one app may be the cause of the problem, so caution with what you restore and how.
[Moto Maxx Android Development] Ducadim:
I have no any problem on new v63 kernel with SafetyNet ( RR, Magisk 13.3 without any SN fix modules)

Отправлено с моего Moto MAXX через Tapatalk
[Moto Maxx Android Development] Einheit-101:
Resurrection remix 7.1.2 fixed the camera issue and works extremely (!) Good, the only thing missing is ambient display, it simply doesn't work. But that's another story. Battery life seems insane compared with "hot" stock.
[Moto Maxx Android Development] Mario0550mg:
Check on Settings app > Settings > Interface > Ambient Display
[Moto Maxx Android Development] Nido221:
[MENTION=5747496]bhb27[/MENTION]

Don't know but the link provided seems to be invalid. Tried many times

Updated Note : Mirror found after some time. May be some server fault at that time.
[Moto Maxx Android Development] fgl27:
afh some times have problems, I just tested here link ok, 5 mirrors showing

tested with the below download just fine...

primary download

mirror: (Europe) Germany
[Moto Maxx Android Development] LifeAsADroid:
Flashed new version (v63) of kernel, flashed SuperSU v2.82, everything looked like it installed fine. Rebooted phone, "about phone" not showing updated kernel information. What gives?
[Moto Maxx Android Development] fgl27:
SU flasher conflict, flash kernel only reboot to system, check then back to recovery and flash SU, reboot. must work that way.
[Moto Maxx Android Development] GeekyTanuj:
requesting a suggestion

Greetings Mr [MENTION=5747496]bhb27[/MENTION];I had a question regarding the kernel.sir,may I know what configuration would you recommend to achieve the best battery life out of quark while maintaining the stable performance?

Example:-Moto z play like configuration giving a huge lot power without much of sipping!
[Moto Maxx Android Development] fgl27:
No I have none recommendation, I leave that for the user, a lot of option in the app you just need to make one that you like.:good:
[Moto Maxx Android Development] z4ck1n:
How is default profile/config? Just like stock ?
[Moto Maxx Android Development] fgl27:
No
[Moto Maxx Android Development] fgl27:
Kernel Adiutor update

KernelAdiutor-Quark.46.BHB27-Mod.apk​

Download Kernel auditor

Changelog

Installation

Just Install the apk on any ROM enjoy it.

If encounter any problem:

Clear data of yours BHB27 Kernel Adiutor app + deleted the KernelAdiutor and KA_profiles folder from internal memory (if not possible by the android file manager use TWRP one), reboot to recovery and clean/wipe Dalvik and cache before reporting things.

You can make a copy of profiles.json file inside KA_profiles folder (in case you save a profile), after the reboot place it back on the folder then apply the setting on the app, if encounter problem after the apply the profile is the problem deleted it and redo the cleaning and don't use it again...

This helps when the apps functions are odd, misbehaving and or slow to load/display.

Sharing profiles

The only thing need to share a profile is the file profile.json in side KA_profiles folder, it can be just simple copy and past to another devices, the file is very small and easy to share.

Use my version of Kernel Adiutor to better support this Kernel. :good:

[IMG="XDA Labs"]https://img.xda-cdn.com/oshFRo1rSEHTP5__wCXMO3e3u-I=/http%3A%2F%2Fimgs.xda-labs.com%2F0621sigs%2Flarge%2Fcontributor.png[/IMG]
[Moto Maxx Android Development] fgl27:
BHB27-Kernel-V64​

For Nougat and Marshmallow, Custom and Stock ROM.

Download BHB27-Kernel Click here

Changelog Click here

Note:

Use this with the latest version of my mod KernelAdiutor-Quark.46 or up to control the many featuring of the kernel.

Download Kernel Adiutor App

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

Always post a bug with [MENTION=5747496]bhb27[/MENTION] and a log .zip

BHB27 Kernel Adiutor > Logs > One click all Logs to a ZIP

If the device Random reboot all the logs are lost so just described like I ask above
[Moto Maxx Android Development] fgl27:
BHB27-Kernel-V65​

For Nougat and Marshmallow, Custom and Stock ROM.

Download BHB27-Kernel Click here

Changelog Click here

Note:

Use this with the latest version of my mod KernelAdiutor-Quark.46 or up to control the many featuring of the kernel.

Download Kernel Adiutor App

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

Always post a bug with [MENTION=5747496]bhb27[/MENTION] and a log .zip

BHB27 Kernel Adiutor > Logs > One click all Logs to a ZIP

If the device Random reboot all the logs are lost so just described like I ask above
[Moto Maxx Android Development] calsurferpunk:
Hi [MENTION=5747496]bhb27[/MENTION]. I just have a quick question.

Have you looked into modifying / adapting your kernel to work with Android 8.0 at all? I was trying to use the "base" / "stock" kernel you wrote along with a Lineage 15 compilation, but it looks like SELinux policies have changed quite a bit. I was able to alter some basic path references (mostly CM -> Lineage and some extra #include 's) in order to get it to compile up until that point, but it is way over my current understanding past that.

No rush or expectations, but I just wondered if you had or have any plans to do so. Sorry if I'm being a bit vague since I don't have any screen captures or other notes. Thanks again for all of your hard work getting all of us up to this point already.
[Moto Maxx Android Development] fgl27:
No I did not, will not try until there is stable "ish" ROM released to other devices AKA the source is ready to use, today it is not so I personally don't wast my time trying to fix a problem on a kernel or anything related to a device when the problem is with the source be changed 100 times a day. after all there is many things that can be done to improve the stable ROM that we have today any improve done on N will be used on O or wherever comes next, makes much more sense to me.
[Moto Maxx Android Development] calsurferpunk:
Understandable. Thanks for the feedback and the work. I agree that it could be a nightmare since it's far from stable right now. I'm still happy using / flashing your current version with Nougat too.
[Moto Maxx Android Development] Ultimate˜¤:
Hi [MENTION=5747496]bhb27[/MENTION] ,I just want to ask that why your latest kernel v65 locked the charging speed to 1500ma?
[Moto Maxx Android Development] gangrenius:
[MENTION=5747496]bhb27[/MENTION] PATCH FOR THIS?

https://techcrunch.com/2017/09/12/new-bluetooth-vulnerability-can-hack-a-phone-in-ten-seconds/
[Moto Maxx Android Development] adrihdez21:
I don't thing is a kernel problem
[Moto Maxx Android Development] fgl27:
you are probably not using the app to read the battery status check post above, some ROM tools or third party battery app can't read it correctly.
[Moto Maxx Android Development] fgl27:
I don't see there a real proof, any one can make a video like that, I need status from linux android developer team and real security linux analyzes recognizing the problem, that is just a click me news site, yes I may be wrong but I don't see any info informing on at least how to know you have that problem or not. Linux and android updates will address it if is necessary on the future.
[Moto Maxx Android Development] newbe1droidx:
I read a couple articles on this and one said it had been patched for newer phones and newer os, but there will be no patch for older phones an os. Dont remember where i read it off hand, if i remember will post
[Moto Maxx Android Development] ChazzMatt:
[MENTION=5747496]bhb27[/MENTION], my Wi-Fi keeps turning on even when I turn it off. Has happened half a dozen times today. V65.

The only thing I've changed recently is the kernel, that I can think of...

There's times I do not want to use a specific Wi-Fi network, but I don't want to "forget" the network. There's just times I do not want to use it, for security reasons.

Is this a new kernel feature? I've even turned off Wi-Fi network scanning.
[Moto Maxx Android Development] fgl27:
Some people had complain about that on ROM threads, Linux or the drivers it self can't enable the wifi without any request from system or from the android side, so is the system enabling probably because a app requested it...

you can check in privacy guard advanced what it app is doing is hard to find what is enabling as there isn't a option to just check for wifi related you need to go one by one, for a example Google play service has permission to "Togle Wi-Fi" and "Wi-Fi Scan", there you can see if the app has used the option and prevent if from use...

anyone has reported what app is causing it, if you find out with let us know.
[Moto Maxx Android Development] ChazzMatt:
Found it. I had installed a WiFi password viewer app because there's some older passwords I don't remember, and I want to see them. (Requires root to work.)

It has some default settings I had not even looked at, because it had nothing to do with viewing the saved Wi-Fi network passwords. Instead, those other settings actually managed the Wi-Fi settings on my phone! I have now disabled those app setting. "When device gets unlocked" was checkmarked! Not any more.

Excellent app, just did more than I wanted!
[Moto Maxx Android Development] newbe1droidx:
Latest article i have on this

http://www.techrepublic.com/article...of-cyberattack/?ftag=TREa988f1c&bhid=12189951
[Moto Maxx Android Development] adrihdez21:
Fixed up in the september security patch
[Moto Maxx Android Development] newbe1droidx:
I thought it had been, older phones are the vunerable ones now
[Moto Maxx Android Development] fgl27:
Kernel Adiutor update

KernelAdiutor-Quark.47.BHB27-Mod.apk​

Download Kernel auditor

Changelog

Installation

Just Install the apk on any ROM enjoy it.

If encounter any problem:

Clear data of yours BHB27 Kernel Adiutor app + deleted the KernelAdiutor and KA_profiles folder from internal memory (if not possible by the android file manager use TWRP one), reboot to recovery and clean/wipe Dalvik and cache before reporting things.

You can make a copy of profiles.json file inside KA_profiles folder (in case you save a profile), after the reboot place it back on the folder then apply the setting on the app, if encounter problem after the apply the profile is the problem deleted it and redo the cleaning and don't use it again...

This helps when the apps functions are odd, misbehaving and or slow to load/display.

Sharing profiles

The only thing need to share a profile is the file profile.json in side KA_profiles folder, it can be just simple copy and past to another devices, the file is very small and easy to share.

Use my version of Kernel Adiutor to better support this Kernel. :good:

[IMG="XDA Labs"]https://img.xda-cdn.com/oshFRo1rSEHTP5__wCXMO3e3u-I=/http%3A%2F%2Fimgs.xda-labs.com%2F0621sigs%2Flarge%2Fcontributor.png[/IMG]
[Moto Maxx Android Development] fgl27:
BHB27-Kernel-V66​

For Nougat and Marshmallow, Custom and Stock ROM.

Download BHB27-Kernel Click here

Changelog Click here

Note:

Use this with the latest version of my mod KernelAdiutor-Quark.47 or up to control the many featuring of the kernel.

Download Kernel Adiutor App

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

Always post a bug with [MENTION=5747496]bhb27[/MENTION] and a log .zip

BHB27 Kernel Adiutor > Logs > One click all Logs to a ZIP

If the device Random reboot all the logs are lost so just described like I ask above
[Moto Maxx Android Development] z4ck1n:
[MENTION=5747496]bhb27[/MENTION]

Tried v63 with

supersu SR4-SuperSU-v2.82-SR4-20170918204844.zip in systemmode

xposed 87

XT1225 Stock MM MPG24.107-70.2

Old Logs attached..

Wifi stopped working. Basically it was not getting switched ON.

Reverted back to stock kernel & supersu SR4-SuperSU-v2.82-SR4-20170918204844.zip in systemmode. Wifi is working back again.
[Moto Maxx Android Development] fgl27:
you can't flash super su and the kernel at the same time, need to be one, reboot let the device boot then the other, supersu change something that causes that problem, so basically you can now just flash the latest version of the kernel with is 6.6 not 6.3 and will work.
[Moto Maxx Android Development] z4ck1n:
I had installed it after reboot.

Can i flash boot.img and system.img from Motorola's stock zip using twrp ? Wanted to test kernel on the fresh stock.

Thinking of sequence .. Check if this is correct.

Stock Boot.img and system.img

Reboot

bhb27 kernel

Reboot

Magisk

Reboot
[Moto Maxx Android Development] fgl27:
twrp can install a boot or recovery img, but it can't install any other by it self, for that you need the .img file and a zip that can do that for the .img file you have... for complete restore of kernel related you need to install the boot.img and restore the folder system/lib/modules is not needed all the system, if you have that folder backup you can just use it but don't change the file system/lib/modules/wlan.ko only all the others...
[Moto Maxx Android Development] fgl27:
BHB27-Kernel-V67​

For Nougat and Marshmallow, Custom and Stock ROM.

Download BHB27-Kernel Click here

Changelog Click here

Note:

Use this with the latest version of my mod KernelAdiutor-Quark.47 or up to control the many featuring of the kernel.

Download Kernel Adiutor App

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

Always post a bug with [MENTION=5747496]bhb27[/MENTION] and a log .zip

BHB27 Kernel Adiutor > Logs > One click all Logs to a ZIP

If the device Random reboot all the logs are lost so just described like I ask above