yashsingh1/xdaforums huggingface dataset:
[One (M9) Original Android Development] crnkoj:
Hi, have you been successful to change pnpmgr so that it doesnt enable all little cores on screen off/on and that it automatically turns off the big cores while in idle? (lets say to just have two little ones enabled (cpu0 and cpu1)

thank you sir
[One (M9) Original Android Development] Mostafa Wael:
Okay guys, here is my latest 'Profiles' for Interactive governor. I provided a battery friendly variant under the tag of [Batt] and a performance variant under the tag [Perf]

Here are the links

eclipseR2-[M9][V4A][Batt]

eclipseR2-[M9][V4A][Perf]

A recap:

Rename /system/bin/pnpmgr to /system/bin/pnpmgr.bak

Reboot

Copy the downloaded files to /sdcard/ElementalX/gov_profiles (create that folder if it does not exist)

Navigate to Governor options in EX Kernel manager app under the CPU tab. Tap on Load and select your profile from there.

By those two profiles, I declare EOL state of those profile. In other words, there will be no future updates since I have decided not to use V4A and revert to HTC's BoomSound implementation of Dolby for personal reasons. Feel free to use it if you feel that battery life/performance had improved, but I won't update them anymore, coz if you do not use V4A, simply you can resort to some of the profiles in this thread here: http://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557

I prefer eclipseR2 as you may notice ;)

So have a good time :)

Feedback are more than welcome of course
[One (M9) Original Android Development] flar2:
Only the core control is supposed to show up. The throttling setting does nothing, and the msm_thermal I think should be disabled on this device and there is no reason to ever enable it.
[One (M9) Original Android Development] Mostafa Wael:
Core control ? Is that hotplug ?
[One (M9) Original Android Development] flar2:
I haven't tested it on this device. It might stop the cores from being offlined by thermals. There is also a core control module, but I don't know what it does.
[One (M9) Original Android Development] rdmack:
I have a small question, probably dumb. Is there a benefit to running this if you're using BoomSound?

Also do you apply to both big and small cluster?

Thanks :)
[One (M9) Original Android Development] Mostafa Wael:
No it is not dumb at all.

Well I have stated it already, but to be more clear, the [Batt] profile is the bottom ending in terms of battery life if you are using V4A, especially the convolver effect

However, there is a possibility that generally you have a better battery life, even though you are using HTC's stock BoomSound. However, there may be some more profiles that can provide you better performance or battery life even better than my profiles.

TL;DR yes you can use the profile even if you do not use V4A and you should have generally better battery life, but that isn't the best profile ;) you can search for more profiles here http://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557

Or even make your own according to the guide if you are not lazy :D

Hope I answered your question :)
[One (M9) Original Android Development] rdmack:
Thank you very much! It is answered =)
[One (M9) Original Android Development] double_ofour:
Encryption External SD Card

Hi [MENTION=4684315]flar2[/MENTION],

Does your kernel support external SD card encryption? Whenever I tried to encrypt a SDcard using your kernel, the sd card will be unreadable and corrupted. (See attached snapshot). If I tried to reformat the SD card (both using android built-in format tool and windows pc) and insert it back to M9, the card will stay as corrupted.

Take note that when using stock kernel, encrypting sd card works perfectly fine.

I also attached logcat for further analysis.

1. WhenFormatting.txt -> logcat when I reformat the SD card after encryption and it will read as corrupted

2. WhenReboot.txt -> logcat when I reboot the phone when an encrypted SD card is inserted.

I'm seeing errors relating to encryption, see snippet below:

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

03-16 02:11:59.705 2449 2806 E AndroidRuntime: Caused by: java.lang.IllegalStateException: command '4 cryptfs mount_encrypt public:179,33 2 0 [scrubbed]' failed with '400 4 Command failed'

03-16 02:11:59.705 2449 2806 E AndroidRuntime: at com.android.server.MountService.mount(MountService.java)

03-16 02:11:59.705 2449 2806 E AndroidRuntime: at com.android.server.MountService.mountSdcard(MountService.java)

03-16 02:11:59.705 2449 2806 E AndroidRuntime: at com.android.server.MountService.access$2100(MountService.java)

03-16 02:11:59.705 2449 2806 E AndroidRuntime: at com.android.server.MountService$2.onReceive(MountService.java)

03-16 02:11:59.705 2449 2806 E AndroidRuntime: ... 5 more

03-16 02:11:59.705 2449 2806 E AndroidRuntime: Caused by: com.android.server.NativeDaemonConnector$NativeDaemonFailureException: command '4 cryptfs mount_encrypt public:179,33 2 0 [scrubbed]' failed with '400 4 Command failed'

03-16 02:11:59.705 2449 2806 E AndroidRuntime: at com.android.server.NativeDaemonConnector.executeForList(NativeDaemonConnector.java)

03-16 02:11:59.705 2449 2806 E AndroidRuntime: at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java)

03-16 02:11:59.705 2449 2806 E AndroidRuntime: at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java)

03-16 02:11:59.705 2449 2806 E AndroidRuntime: ... 9 more

-------------------------------------
[One (M9) Original Android Development] starbase64:
[MENTION=4684315]flar2[/MENTION]

can you add fuse driver for ums > http://xdaforums.com/android/apps-games/app-universal-mass-storage-enabler-beta-t3240097
[One (M9) Original Android Development] mick_soul:
I had a random reboot 3 times since installing ElementalX4.0 1 month ago.
[MENTION=4684315]flar2[/MENTION] is it possible, the kernel may cause the reboot?

I leave last_kmsg and logcat here, if you might want to look at it.

I installed kernel with default values, s2s and elementalx governor.

Thank you :)
[One (M9) Original Android Development] flar2:
Switch to the interactive governor. This is the first I've seen of ex governor not being stable, but that's where the error occurred.
[One (M9) Original Android Development] DeeZZ_NuuZZ:
wtf, i never had a problem with elementalx governor, no reboot or whatsoever...running ex governor now for more then 3 days.. no problems..
[One (M9) Original Android Development] flar2:
I never had a problem either, but that log shows an error.

Unless he was over clocking or changed some parameters, there is a chance it could crash, although it seems like it would only happen in some rare situation since nobody else has reported it.
[One (M9) Original Android Development] mick_soul:
Strange thing is, that all 3 times the problem happened, the screen was off and phone in deep sleep and on desk. Then suddenly I realized the reboot...

Thank you for the hint, but I think I will stay with ex governor. Since it happended so rarely, it is just a small problem for me. I wasn't shure to mention it at all ;)
[One (M9) Original Android Development] Minnesinger:
Not that it matters, but it's happened to me (spontaneous reboot) a couple times as well. I was oc'd to the max on both CPUs on EX, so I've reverted to the default settings and it hasn't happened since.

On an unrelated matter, any suggestions as to how I can keep wifi awake during sleep? Of course I have the wifi set to 'Always', but it doesn't seem to do any good. I've even tried a couple of Keep Awake apps, but still no luck. Also, I've gone back and forth b/w EX and Interactive, but the issue persists.

Lastly, is there any difference b/w setting up the kernel in aroma to 'Performance' vs 'Performance' in advanced Developer options under Settings?

Cheers
[One (M9) Original Android Development] fmedrano1977:
Is this Kernel not compatible with Tmobile US 6.0 update? I flashed it and it broke cell tower signal.

---------- Post added at 11:37 AM ---------- Previous post was at 11:34 AM ----------

But doesn't appear to be working with latest Tmobile's latest rom update as it broke my data and call capabilities.
[One (M9) Original Android Development] zachsshadow:
I can second that. I tried and couldn't even get a Wi-Fi connection with T-Mobile 6.0
[One (M9) Original Android Development] foggydew88:
Yep, and I can confirm that Stickmonut works with exFAT too.

Thanks!
[One (M9) Original Android Development] Supa64:
Edit: Never mind, I think I got it figured out. My bad.
[One (M9) Original Android Development] catogts:
Sprint
[One (M9) Original Android Development] DroidIt!:
I prefer to walk :p
[One (M9) Original Android Development] Octeen:
This worked for me too, thanks. :)
[One (M9) Original Android Development] LLegion:
hi bro [MENTION=4684315]flar2[/MENTION] just a few questions, is this kernell functioning correctly with Custom Roms like viper, hd rev, maximus, ice or leedroid, im constantly checking custom roms and to know if this is compatible.

Second...just to know if there is any more updated version tahn 4.00, ive seen someone posted something about 4.0.1 or 4.0.2? is this coreect?

Thnaks in advanced for the clarification and i do apologize for bothering you, have a a nice weekend!!!
[One (M9) Original Android Development] DeeZZ_NuuZZ:
first question, yes, as long as you have the international/unlocked phone it will work fine, not like sprint or so

second, no there isn't dunno where you've read that
[One (M9) Original Android Development] Minnesinger:
Sounds like you (or someone) might be confusing this kernel with TWRP recovery. Versions 3.0.1 and 3.0.2 of TWRP have recently been released in quick succession...
[One (M9) Original Android Development] flar2:
Yes, it works with custom ROMs. The latest is 4.00
[One (M9) Original Android Development] DroidIt!:
REALLY!! That's awesome news! I've been waiting for that! :p I'll try a custom ROM now. :)
[One (M9) Original Android Development] flar2:
Well, sense ROMs anyway.
[One (M9) Original Android Development] DroidIt!:
Lol, I know. Was just kidding...actually have you ever thought about doing a non-sense version? Just curious :)
[One (M9) Original Android Development] DeSaint2:
That would just be.... nonsense [emoji13]. I'm not sure how anyone can own HTC and not like sense but to each their own.

[MENTION=4684315]flar2[/MENTION] I'm somewhat surprised how long this kennel has remained at 4.0.0 but then again with as stable as it has been for me I'm not complaining. Hope all is well in your part of the world.
[One (M9) Original Android Development] DroidIt!:
:) Lol, ya I'm fine with what flar has. When I first got the M9 I was just comparing sense ROMs against nonsense :) but without ElX it was no contest. I've always kind of liked sense. To me, through all the years it's never seemed to be TOO heavy a skin and most of the functions are really useful. Like I said, really just curious :)
[One (M9) Original Android Development] iElvis:
Hey flar, any thoughts about the 10? I know you said you were done with HTC, but it seems like they're the only OEM that is still remotely dev-friendly. They've confirmed they're still offering dev unlocking under warranty.
[One (M9) Original Android Development] Tiges:
As far as I know flar ordered HTC 10 so we should expect some goodies from him [emoji3]
[One (M9) Original Android Development] flar2:
Despite the outrageous price, I couldn't resist, and placed my order.
[One (M9) Original Android Development] frankcck:
Just fyi, there's coupon for $100 off.
[One (M9) Original Android Development] fmedrano1977:
Through HTC only right?

HTC One M9 on T-Mobile's LTE Network
[One (M9) Original Android Development] flar2:
I used the $100 off coupon, that's what made me decide to get it.
[One (M9) Original Android Development] frankcck:
Yep, but it's compatible with most GSM providers. Such as T-Mobile in your case. They even mentioned the wifi-calling and other tmo features are supported.

It does look sweet for me as well, but I'm waiting the 0% interest Paypal credit to be even sweeter.:p
[One (M9) Original Android Development] fmedrano1977:
How do you get the coupon?
[One (M9) Original Android Development] flar2:
Update!!!

A minor update to adjust the backlight and add a min backlight setting.

Download:

ElementalX-m9-4.01

Changes:

-fix backlight dimmer

-add backlight min settings
[One (M9) Original Android Development] Hai Karate:
I have a Bell M9 that's unlocked (but S-ON) and being used with Telus. When I flash this kernel (or almost any custom kernel, for that matter) I get No Service/Unknown IMEI/Unknown Baseband version and no WiFi -- I can see and connect to a WiFi network, but no data is sent or received. The only way I can get service is by flashing a ROM's T-Mobile-compatible kernel (right now it's the one from ViperOne but I've tried ICE and LeeDroid as well). I know some people have said that such things are not kernel related, but my testing says otherwise. Changing nothing but the kernel itself is the difference between service and no service. Is anybody here using this kernel on a Bell M9 with success? I'd really like to get this kernel working as it was fantastic on my M8.
[One (M9) Original Android Development] flar2:
The problem is the source code is inconsistent and sometimes contains the necessary device tree for each carrier and sometimes not. I just don't have enough time to try to figure out what all works with each firmware. Maybe captain throwback or someone else knows.
[One (M9) Original Android Development] ZeroInfinity:
[MENTION=4684315]flar2[/MENTION], I'm not sure if this is a bug or not, or perhaps I have no idea how it works but the backlight minimum brightness setting cannot go lower than 5 in ex kernel manager (unsure about other apps), if set to any value below 5, it will change the value to 30 for some reason. Is this supposed to be normal behaviour? Thanks
[One (M9) Original Android Development] flar2:
Below 5 is completely black, 30 is the stock/default value. You can put a value between 5 and 4095 (100% brightness)
[One (M9) Original Android Development] monyozt:
Installed on lastest venom rom
[One (M9) Original Android Development] ZeroInfinity:
Right, thanks for clearing that up! I was really confused since in the app it said "default is 5" :)
[One (M9) Original Android Development] Roobwz:
Is undervolting possible with the 810 processor?

Skickat från min HTC One M9 via Tapatalk
[One (M9) Original Android Development] DroidIt!:
Heya [MENTION=4684315]flar2[/MENTION], thanks for adding that option BTW. I really like that on my nexuses and keeps the wife happy when the lights are out at night. :)
[One (M9) Original Android Development] fmedrano1977:
So you have to be with in warranty to be eligible for the coupon?

HTC One M9 on T-Mobile's LTE Network
[One (M9) Original Android Development] flar2:
Is that all it takes?

;)

I just put the code in and it worked
[One (M9) Original Android Development] DroidIt!:
Lol, I wish :) but.....usually it's "That light's too bright, you going to bed soon?" Lol
[One (M9) Original Android Development] frankcck:
No, just simply use the code. htc1008 if you are in US.
[One (M9) Original Android Development] salmanati:
Sprint support ?
[One (M9) Original Android Development] p50kombi:
Just hold your phone in the air and run very fast... If it keeps working, sprint support...

**********

Sent from a tin of baked beans using some chewing gum, tinfoil, a piece of string and a manual written by MacGyver
[One (M9) Original Android Development] DroidIt!:
You know that makes me mad :mad: I don't feel it's a worthy cause to support the Sprint! When so many things are going on in the world today we should all be supporting ending hunger or finding a cure for cancer....smh. :p
[One (M9) Original Android Development] ziaulh.ch:
Im trying to change max cpu freq with elementalx app but after I set and activate it changes back to default freq on its own within 2/3 mins. Any solution?
[One (M9) Original Android Development] xunus:
You need to turn off HTC pnpmgr.
[One (M9) Original Android Development] flar2:
Or just forget about trying to control frequencies and let the phone do its thing.
[One (M9) Original Android Development] tyraelasd:
[MENTION=298610]Flar[/MENTION] 2 I know it's very unlikely that you are going to say yes, but is there any chance to release a elemental kernel for CM13 on the HTC M9? I just love this phone, but I can't stand other rom but pure vainilla. Cheers.
[One (M9) Original Android Development] fmedrano1977:
Does is still not work with the T-Mobile US ROM?

HTC One M9 on T-Mobile's LTE Network
[One (M9) Original Android Development] mick_soul:
For your information:

I switched to interactive governor and today I had that strange reboot too. So I think it is not kernel related ;)
[One (M9) Original Android Development] lu_peng2:
and i had a other kernel installed and still got strange reboots, so for sure not kernel caused
[One (M9) Original Android Development] ziaulh.ch:
I fladhed 4.01. but my little cluster sticking at 1.5 ghz most of the time. Doesnt go below 1.3 ghz. Draining batt too much ad it shud. Ally settings are stock. Whats the prob?

And also elemental x app is behaving strange. Isnt showing the values right. And setting values by itself. Sometimes showing null in some values.

Any idea [MENTION=4684315]flar2[/MENTION] ?

---------- Post added at 03:15 PM ---------- Previous post was at 03:10 PM ----------

Even if i set min freq 384 it reset to 1344 when i turn on powersaver in elemental x app.
[One (M9) Original Android Development] flar2:
It's due to thermal throttling. Try not to mess with the frequencies. I don't touch them and I have no problems.
[One (M9) Original Android Development] roseyhead:
I've done some tweaking with my kernel and I want to reset it all back to default i.e. the same as the first time I flashed it. Is wiping the data for EX Kernel Manager and reflashing the current version all I need to do?
[One (M9) Original Android Development] Johnny424:
[MENTION=4684315]flar2[/MENTION] I believe the newest version isn't fully working with the new att 6.0 update. For some reason after flashing twice I cannot get the color settings of kcal to show under graphics. I am gonna try uninstalling ex app and re-installing to see if it fixes it. Any other suggestions?

---------- Post added at 06:58 PM ---------- Previous post was at 06:57 PM ----------

[/COLOR [MENTION=4684315]flar2[/MENTION] I believe the newest version isn't fully working with the new att 6.0 update. For some reason after flashing twice I cannot get the color settings of kcal to show under graphics. I am gonna try uninstalling ex app and re-installing to see if it fixes it. Any other suggestions?
[One (M9) Original Android Development] Johnny424:
I believe it fails to install all together on att device. Reboots before install completes and app options had me fooled into thinking kernel was ex and not stock.
[One (M9) Original Android Development] flar2:
Try wiping cache in fast boot. If it still fails. Can you send the recovery log?
[One (M9) Original Android Development] Johnny424:
No problem . I'll give it a go as soon as I get home from work
[One (M9) Original Android Development] ziaulh.ch:
Any idea why secondary doesnt show freq?
[One (M9) Original Android Development] lu_peng2:
as soon hexacore mode is enabled (automatic by i don't know what) u don't have cluster 2 values anymore
[One (M9) Original Android Development] flar2:
Thermal daemon or power save takes the cores offline, then the settings are not available.
[One (M9) Original Android Development] Hai Karate:
Can anybody please tell me the proper setup (toolchain/Linux version/etc.) and steps to compile this kernel from source? I've tried several times to compile it (and other kernels such as the LeeDroid kernel and the stock HTC one) using the Google 4.9 Aarch64 toolchain and it compiles successfully but doesn't boot. I just get an HTC logo screen, a black screen then reboot over and over. I'm obviously missing something but I'm not sure what. Any help is appreciated.
[One (M9) Original Android Development] flar2:
That's the right toolchain, your problem is likely packing the boot.img. search for AIK by [MENTION=4544860]osm0sis[/MENTION] to pack the boot.img
[One (M9) Original Android Development] flar2:
Fix any warnings that pop up during the build. But there are lots of ways for things to get broken on bleeding edge toolchains. That's why I just use the standard toolchain from Google.
[One (M9) Original Android Development] akashj17:
Does this kernel work with sprint version because when installing sim doesn't detect in the phone
[One (M9) Original Android Development] flar2:
No, it doesn't work properly on Sprint.
[One (M9) Original Android Development] creamac:
This kernel works well Sprint M9... Just downgrade radio...

I'm using it for 3 months

Downgrade 3.33.651.2 radio OK!.....

Download 3.33.651.2_fw_no_red_text.zip. Extract the radio.img

boot into Boot loader mode; not in Download mode

fastboot erase cache

fastboot flash radio radio.img

fastboot erase cache

Reboot
[One (M9) Original Android Development] calayang:
I flashed ex kernel in my ROM(MaximusHD7.1.0), but double tap to wake can't work!!
[One (M9) Original Android Development] flar2:
Update!!!

Supercharged this a bit with some optimizations from the Nexus 6P

Download:

ElementalX-m9-4.02

Changes:

-add DriveDroid support

-add XBox One controller support

-performance optimizations
[One (M9) Original Android Development] DeeZZ_NuuZZ:
should we keep pnpmgr on? or can i use non-pnp setup by [MENTION=5060769]Mostafa Wael[/MENTION] ? gonna flash it now, but was jsut asking because of the performance optimization
[One (M9) Original Android Development] Mostafa Wael:
Was about to ask the same question. Hehe :)
[One (M9) Original Android Development] flar2:
I recommend on but it's your choice. The performance enhancements are independent of that.
[One (M9) Original Android Development] DeeZZ_NuuZZ:
okay, gonna keep pnp on at first and test the days, what i can say for now is that everything seems to be faster.. app opening and loading stuff is somehow faster but there is not more heat...
[One (M9) Original Android Development] Mostafa Wael:
[MENTION=4684315]flar2[/MENTION] i see some stutters when using latest 4.02

Although everything seems faster, but there some lags here and there. Coming from EX 4.00

thanks :)
[One (M9) Original Android Development] flar2:
Where do you see the stutters?
[One (M9) Original Android Development] Mostafa Wael:
When constantly switching between apps in the recent apps, some times there is a small frame rate drop is noted. Also when you have a lot of notifications in the notifications panel, and you drag it down, it may get a bit sluggish.

I am not saying it is very unusable, but it is there. Back to 4.00 and there ain't anything from that whatsoever

P.S. tried switching to simple-ondemand GPU governor but to no avail.
[One (M9) Original Android Development] DeeZZ_NuuZZ:
i have this problem too, but not only there, even in some apps where it shouldn't lag while scrolling it lags and is slower sometimes
[One (M9) Original Android Development] flar2:
Update!!!

Increasing the tick rate seems to interfere with HTC's animations, so I changed it back.

Download:

ElementalX-m9-4.03

Changes:

-revert tick rate to 100Hz
[One (M9) Original Android Development] 1337jay:
I am getting lots of lags/micro freezes in Clash of Clans with the latest version.
[One (M9) Original Android Development] flar2:
Probably not caused by the kernel update. I already reverted the change that would mess with things like that.
[One (M9) Original Android Development] 1337jay:
Tested again and it seems to be gone now, it was probably due to overheating as I was out in the sun and the phone was very hot (forgot to check the temps though!).