yashsingh1/xdaforums huggingface dataset:
[HTC One Max] appro77:
Thanks. I got it working. Any reason the frequencies won't stick after a reboot?
[HTC One Max] Flyhalf205:
You have them set to remember on boot? They are sticking fine for me.
[HTC One Max] rhs013232:
Hi,

Does this kernel support sweep2wake?
[HTC One Max] jerrycycle:
No
[HTC One Max] mafyas:
Not yet, i believe sooner it will support s2w
[HTC One Max] appro77:
That would be awesome.

---------- Post added at 10:56 PM ---------- Previous post was at 10:53 PM ----------

I thought I did that but I'll look at it again. Thanks for your great work on this kernel. Small donation made: 58G066833C467702E
[HTC One Max] djnikko:
RED TEXT (Splash Screen)

Every time after flashing a fresh new ROM, the RED TEXT Disappears (Cool I'm Happy)

After I flash the Insecure Boot.img, the RED TEXT at splash screen returns? Is there any way to update the Insecure Boot.img to fix the issue?
[HTC One Max] Flyhalf205:
What red text you talking about? On the white HTC logo? That has nothing to do with kernel but it's your HBOOT/FASTBOOT
[HTC One Max] djnikko:
Yes, on the Splash Screen (Pre Boot-Animation) Its the HBOOT? Im Running ...

HBOOT 2.49.00

S-OFF

I just figured I would throw this up there. I Used TWRP 2.7.1.1/ Factory Reset / Installed Stock_Rooted_VZW_3.08.605.2 (ROM) / Booted up (No Red Text Appeared) / Rebooted to Recovery / Installed the Insecure Boot.img / FlyKernel 2.3... Than the Red Developer Text appeared on every boot. Any ideas? Comments, or Help in removing Red Text?:good:

THE REASON I ASK IS...-Found Here-

:: This Step Removed the RED TEXT (After Flashing Insecure & FlyKernel)

fastboot flash zip NoRedText-t6vzw_2.16.605.2_hboot.zip (as stated above, this is optional, but why not?)

fastboot reboot

::
[HTC One Max] sachinaik:
Hi Flyhalf,

My Inteenational HTC One Max has below conf :

Model : T6ULA

Security : S-ON

cid : BS_US001

Hboot : 2.49

Boot loader : Unlocked state

Recovery : CWM 6.0.5.0

Current Rom : stock , rooted, 3.15.1540.1 sense 6.

Do you think I can safeley flash the insecure boot.img on my phone ?

Since its insecure boot.img, hopefully now firewater will be able to S-OFF my device ?
[HTC One Max] Flyhalf205:
Nope. Because you are s-on.

Well you won't be able to flash it in recovery. Take the boot.img out of the zip and flash it with fastboot flash boot boot.img
[HTC One Max] sachinaik:
Hi Flyhalf,

I installed the kernel but it wasn't stable for me because of overclock. Can u pls make overclocking optional, stultifying I can choose during flash.... Or Cpu/gpu speeds are at stock and if user wants it then he can enable it via some configuration file ?
[HTC One Max] brymaster5000:
Over clock can be set with a kernel tuner app, such as trickster, fauxclock, etc. This will enable you to set all the features to your liking.

Sent from my Lunar Ecliptic One.
[HTC One Max] -<sal3h>-:
hey mate

which is the best apk for managment your kernel?

i currently use faux kernel but synapse dont support by this kernel.

can i ask you to active touch booster for this kernel.i like this so much.

tnx for your great job mate.:good:
[HTC One Max] jazz995756:
Quick question I read through all the pages but is Sprint supported? I don't know what T6 variants is as I barely switched to this phone
[HTC One Max] Flyhalf205:
Yes. Sprint is.
[HTC One Max] sachinaik:
Hi Flyhalf,

Off-topic. Didn't know whom to ask.

I used the insecure kernel as you told.

1. S-OFF'ed via Firewater.

2. Supercid'ed phone.

3. To get fingerprint scanner: locked boot loader and removed tampered flag.

Everything working fine except Max doesn't recognise my 128GB external sdcard.

It recognises my 64GB extSdCard though.

Is it because of CID change ?

Pls help me....
[HTC One Max] brymaster5000:
What format is your 128, and what is your 64?

Sent from my Lunar Ecliptic One.
[HTC One Max] sachinaik:
I had flashed insecure kernel which doesn't support my 128gb extSdCard (exFat) I think.

Changed the kernel and sdcard is recognised.

Thanks for trying to solve my problem though...
[HTC One Max] -<sal3h>-:
please answer to me.

tnx
[HTC One Max] mafyas:
Btw, I use Trickster Mod. Works perfect.
[HTC One Max] -<sal3h>-:
what is that mode?

i can't understand dude.please explain to me.

i have a little lag at somewhere and this is Abuse me.:(
[HTC One Max] mafyas:
It's a simple and easy app to setup and config kernel options. Put the search on google.
[HTC One Max] -<sal3h>-:
tnx mate

i got it from blackmart;)

but what is your setting on this kernel?

and one more question:does fast charge have any damage to my battery device?

tnx bro
[HTC One Max] mafyas:
I set undervoltage, underclock screen off, overclock screen on, on demand governor, sio 1024
[HTC One Max] -<sal3h>-:
tnx

can you give me screenshot?

sorry for that!:o

and you didnt tell me that fast charger is hurmfull for my battery or not?

tnx mate:good:
[HTC One Max] mafyas:
Fast charging does no harm. It means, usb fast charging without media transfer. It charging like on wall plug.

Just explore the apps, you will know what in there.
[HTC One Max] Flyhalf205:
Minor kernel update :good:
[HTC One Max] mafyas:
Thanks Fly..

Btw, some typo in changelog version, suppose to be 2.3.1 instead of 3.2.1. Lol..
[HTC One Max] thayl0:
I push the kernal and it bootloops?
[HTC One Max] Flyhalf205:
Push? Need to flash it in recovery?
[HTC One Max] corey113888:
Boots fine for me on vipermax 2 flashed via recovery. I don't know what would happen if you adb push just the boot image or boot image + ramdisk... if that is what you are doing.
[HTC One Max] mafyas:
Just flashed. It works! No issue for the time being. 10min running with v2.3.1 on t6ul.

Sorry for late report. Really busy few days, open house eid mubarak. Btw, great work Fly!
[HTC One Max] sachinaik:
Hi Flyhalf,

I'm in trouble :(

I flashed the kernel, upon boot it was unstable and it rebooted. I kept the phone out of site for 5 minutes.

When I came back it was showing me "Enter password to decrypt phone"....!!!!!!!

Its not accepting any password, its not counting down the 30 attempts and erasing data. I'm locked out of my phone.

Neither from recovery, nor via fastboot, nor via adb, /data is erasable. Recovery is unable to mount /data !!!

Changed recovery to 6.0.4.8 to get access to external sdcard atleast. For that I had to unlock bootloader. (2 days ago I SOFF'ed and locked bootloader to get fingerprint scanner working)

I dont know what to do.

please help me...
[HTC One Max] Adrioid:
[MENTION=3082717]Flyhalf205[/MENTION] will this work with your GPE Rom?

Edit:

Tried it and it works! :thumbup:
[HTC One Max] sachinaik:
After much trial and errors, solved this issue.

I installed TWRP and tried to format /data. But as usual /data was unmountable.

So I changed the format method to use "rm -rf" instead of format command.

It was able to do rm -rf /data.

Then unchecked "use rm -rf...." option and wiped the device. It was able to wipe the device now.

Then got rid of TWRP and installed CWM 6.4.0.8. Flashed rom which was present in external sdcard.

The rom booted successfully...

Just keeping this reply and orignal post to make sure that if anybody faces such issue, it will be helpful...
[HTC One Max] corey113888:
Sounds like you might of had the phone storage encrypted? It's an option in the security settings. I don't have a lot of experience between flashing roms and kernels with encrypted data... I encrypt hard drives alot and sometimes have to take special measures when things go bad..

Also CWM version is 6.0.5.0 so maybe you are using the wrong recovery. You should be fine with the latest TWRP
[HTC One Max] Flyhalf205:
sdcard still reads fine? I know you never had any issue

[MENTION=4124536]sachinaik[/MENTION]

Glad you got it figured out. If your encrypting your data. Don't switch kernels
[HTC One Max] thayl0:
Yeah I flashed the insecure in recovery. Restarted. Then flash the kernal zip. Then after the Kernal zip it bootloops
[HTC One Max] sachinaik:
No encryption done by me.

After boot, phone tries to clock cpu max, it was unstable. So it rebooted once. Then I was doing some work, phone was out of sight but I heard sound, so I can say it rebooted again and landed on the "enter encryption password" screen!

It's pretty dangerous as it doesn't not count down the number of retries as it shows. So basically you are locked out indefinitely. All we can now do is to wipe data, by any means...
[HTC One Max] mafyas:
Just some feedback after 24hours on FlyKernel.

My battery life killing me a bit faster as previously im on Lunar kernel. Saying this according to gsam battery stat. But this may too early to say. Let see what happen a few days later..

In term of performance, it gets better from previous version. Audio sounds nice, really noticed. ?
[HTC One Max] xhunter187:
Hi I'm running NuSense 6 without any kind of SetCPU app or anything on VZW. I did a clean install 2 days ago and after the Play Store restored all my apps I tried flashing your 2.3.1 kernel (nandroid first of course). I get past the splash screen/boot animation/lockscreen and get to play with the phone for a little bit before it freezes, then restarts. I have flashed many kernels in the past with the DNA/Rezound/Thunderbolt/Incredible so I am boggled lol. Any insight?
[HTC One Max] brymaster5000:
Grab an app like trickster. I can't remember if fly set the stock clocks at boot. What's probably going on is you have min and max at 128 and 2100 for cpu freqs and this is causing it. Try that, if it still reboots, let him know.

Sent from my Lunar Ecliptic One.
[HTC One Max] xhunter187:
Downloaded SetCpu since I paid for it already and set min and max before flashing. Still rebooting. Any advice Flyhalf205?
[HTC One Max] corey113888:
What recovery are you using? You shouldn't have any issues with the latest TWRP 2.7.1.1
[HTC One Max] xhunter187:
Think I'm using 2.7.1.0 will flash latest and report back.
[HTC One Max] mafyas:
Btw, I still with twrp 2.7.0.0. No problems, i use trickster mod. I dont think its related to recovery.
[HTC One Max] xhunter187:
Ok flashed latest TWRP with Trickster installed prior to flashing kernel. Had clock values preset so max was slightly under stock speed and min was set to stock. Made sure settings were set to kick on upon booting. Still looping. I guess stock kernel is the life for me. Have not been able to successfully run any custom kernel on my Max. Oh well. Thanks to all for trying to help.
[HTC One Max] corey113888:
Are you s-off? Or is your phone storage encrypted? It's definitely strange... Maybe fix permissions in recovery and delete your download of the kernel & download again.
[HTC One Max] xhunter187:
Only one way to be....S-OFF! Haha! I remember the hassle of flashing kernels being S-ON with my Rezound and DNA. Phone storage unencrypted. Will re-download and fix permissions. I'll let you know how it goes.
[HTC One Max] HiddenKnight:
Hey Fly, is it at all possible to see any wake gestures?
[HTC One Max] mafyas:
Omg.. My battery killing me.. 4th day running with 2.3.1 Flykernel.. Anyone having this issue?
[HTC One Max] xhunter187:
I think I know what part of the problem is. I have tried System Tuner Pro, SetCPU, and Trickster Mod. Settings do not stick after reboot on anyone of them.
[HTC One Max] brymaster5000:
They all should have a toggle for apply settings on reboot.

Lol, look at your screen on time... I think you are using the phone too much.[emoji14]

To truly know, grab a screenshot of kernel wake locks with an app like better battery stats.

Sent from my Lunar Ecliptic One.
[HTC One Max] xhunter187:
I made sure to check or toggle the setting to "apply on boot"
[HTC One Max] brymaster5000:
Next time it reboots, grab the last_kmsg. Adb pull /proc/last_kmsg

Or use a root explorer to get it out of that location.

Sent from my Lunar Ecliptic One.
[HTC One Max] mafyas:
[MENTION=4428185]brymaster5000[/MENTION] , Haha. My max average Screen On time 5hours. Abuse my max badly. Will be back in a few days later with betterbatterystats screenshot.

P/s : i miss lunar, :p haha
[HTC One Max] xhunter187:
Here you go!
[HTC One Max] mafyas:
[MENTION=4428185]brymaster5000[/MENTION] , here the screenshots of betterbatterystats. Looks normal in my noob view. Lol. Maybe it's just me abuse my max badly. :p
[HTC One Max] Flyhalf205:
Probably not
[HTC One Max] mido.fayad:
[MENTION=3082717]Flyhalf205[/MENTION]

Can u please update to the latest kernel source of sense 6 to get extreme power saving and high performance mode working as they doesn't work as expected because the kernel is based on old sources

Every thing else works great but I don't know why I get 1500 point in I/o storage benchmark in antut with cm while with sense I get only 600 and sometimes 1100 in rare cases

I think ramdisk in the insecure kernel needs to be updated to the latest ramdisk of sense 6

Thanks for ur great work
[HTC One Max] Flyhalf205:
[MENTION=4096521]mido.fayad[/MENTION]

Can you link me to the latest sense 6 source?

The insecure kernel does have the sense 6 ramdisk+kernel already in it.

Anything else?
[HTC One Max] mido.fayad:
So the link in the op is new with sense 6 ramdisk

Sorry as I thought it has the old sense 5.5 ramdisk as u haven't changed the name of the zip

About latest sense 6 source , it's present in htcdev site
[HTC One Max] Flyhalf205:
Any chance you could be more specific. The only Sense 6 kernel source out is Sprints. Majority of it is already merged into FlyKernel.
[HTC One Max] mido.fayad:
Ok thanks and sorry for disturbance

Yes I'm talking about the sense 6 source of Sprint as I thought that it may help in fix these issues about extreme power saving and even normal power saver mode and also high performance mode

Any way we now wait for latest sources for international variant and hope it will come shortly

Thanks for ur great work [emoji2]
[HTC One Max] Flyhalf205:
Try this kernel. https://www.dropbox.com/s/0yi3dlj0498d579/FlyKernel_Sense6_Stock.zip
[HTC One Max] Naddict:
^^^ This ^^^ Recovery has not much, if any, bearing when flashing...make sure you clean cache, dalvik, and fix permissions after flashing kernel...then let it sit/settle for a day or two...jm2c
[HTC One Max] mido.fayad:
Thanks will try it now

Is it based on the latest sources ?

My device is developer edition which is similar to international one

Will report later [emoji2]
[HTC One Max] Flyhalf205:
2.4 is a quick redo with the newer Sprint kernel. Let me know if you have any issues.
[HTC One Max] mido.fayad:
Every thing works perfectly but still no power saving mode or high performance mode

But I can use trickster to change governer to performance and it will lock the device to high speed so no problems with it but hope u can fix power saver mode

N.B I used the stock version u posted above not the new one in the op

Will try the new version in the op 2.4 now but hope that u haven't underclocked the gpu to 128 as 200 mhz makes the device more smoother and no effect on battery

Will try the new version now and report later

Edit

Also hope u can add gpu overclocking to 505 as in flar's kernel for HTC one
[HTC One Max] Flyhalf205:
[MENTION=4096521]mido.fayad[/MENTION]

So do you not have the options for power save or they just don't work for you?
[HTC One Max] mido.fayad:
I have the option for power saving mode and even extreme power saving mode and they works perfect with stock kernel

And normal power saving mode underclocks the device to 1137 mhz without any problem

But with ur kernel , I have the option and can select it but when I choose normal power saving mode , and open trickster then I can see that the device still go up to maximum frequency not underclocled to 1137 mhz but all other functions of power saving mode as lowering brightness works without problems
[HTC One Max] mido.fayad:
[MENTION=3082717]Flyhalf205[/MENTION]

Tested the new version in the op v2.4

It runs great and everything works as expected except power saving and high performance mode

I think that both of them rely on pnpmanager so have u disabled it in the kernel

Also about gpu underclock to 128 .. it makes the phone less smoother in games and so we can't get the best performance of our device except by selecting performance governor for gpu so that it will stay in highest frequency and also u should select performance governer for cpu in trickster to get maximum performance

For example in some games :

With stock kernel ..

Real drift games gives me 60 fps with game bench app without any tweaks

With flykernel v2.4

Real drift game gives me 56 fps although gpu should run with 478 instead of 400 with stock kernel

While after selecting performance governed for cpu and gpu in trickster , it will then go up again to 60 fps

Tested also a lot of games and all of them give me lower performance with fly kernel but after selecting performance governed all of them gives better performance again

Also about gpu governers .. we can select only on-demand and performance governers

But simple and interactive return to the current governed as if u didn't choose anything

Hope u will remove the underclocking for gpu and activating pnpmanager again to get best performance

Also init.d in the kernel doesn't work and kernel still use all frequencies although I can see the flykernel script in init.d folder but doesn't't have any effect

While they works in lunar kernel as I haven't tested them with it precious kernel so can't comment on it

Thanks for ur hard work :)
[HTC One Max] -<sal3h>-:
i can't install this kernel on last build number of taiwan.my phone is s-off alredy but after flash this kernel from recovery my wi-fi were down(can't to start) and nothing happen!
[HTC One Max] Flyhalf205:
Did you read where you need an insecure kernel before flashing? Probably didn't. Flash insecure kernel then FlyKernel.
[HTC One Max] -<sal3h>-:
yes.you are right.sorry for that.i will test it and tell you the result.:rolleyes:

edit:i work!

tnx for replying!
[HTC One Max] bumbarush:
+1 gaming performance on default settings is worse than stock kernel and Lunar
[HTC One Max] brymaster5000:
Fly...Check my init.d script, that may help.

Sent from my Lunar Ecliptic One.
[HTC One Max] mido.fayad:
It's already the same as the one in your kernel but it doesn't work and also the script will reduce performance if worked correctly because it tunes kernel to give more battery but we here talking about getting more performance than stock kernel [emoji2]
[HTC One Max] Flyhalf205:
Are you referring to the 216000 as min freq in the init.d script? If so then you need to take a look int your post.boot.sh script in etc and you can see why the min freq is not being set by my init.d script.

And I am wanting more battery with my kernel. If you want performance, this kernel isn't for you. This kernel will remain how it is. You are free to fork my git and change and build whatever you would like.
[HTC One Max] mido.fayad:
No , I'm not talking about minimum cpu freq

I was talking about minimum gpu frequency

Also about init.d script .. it doesn't apply any settings as it should cap maximum freq to 1782000 mhz but it still go up to 2106000 mhz and also it set some variables to get better battery life but when I see these files by root explorer , I can find them not changed

So about ur point that this kernel is to get better battery life but this will be true when init.d works right to set kernel variables for best battery life

Any how thanks for ur work and all this was just to comment about my findings to help in making this kernel better not to argue
[HTC One Max] Flyhalf205:
Does your boot ramdisk support init.d support?
[HTC One Max] mido.fayad:
Yes it supports init.d and flashed lunar kernel with the same ramdisk and init.d worked perfect

I'm using the insecure kernel from the first post in this thread
[HTC One Max] brymaster5000:
Make sure you look into your system/etc/init.d folder and delete all other init.d kernel scripts (ie. Lunar), make sure fly's has 777 permissions (everything rwx). Reboot. Maybe that's the issue. If so, [MENTION=3082717]Flyhalf205[/MENTION] you should add a line in your install script to delete my init.d.

Sent from my Lunar Ecliptic One.
[HTC One Max] mido.fayad:
I already deleted this file and fly script is the only one in my init.d folder
[HTC One Max] mido.fayad:
[MENTION=3082717]Flyhalf205[/MENTION]

Tested again the kernel now and fixed permissions for the script and made it 777 and then restarted and all settings inside it applied correctly except cpu ax freq settings

So although the script set the max freq to 1782000 mhz but it still 2106000 mhz

While gpu freq applied correctly to 400 and ondemand cpu governer settings also applied correctly and also io read ahead applied without problems

So now it's only cpu max freq which doesn't work

Edit

Also another annoying problem with this kernel :

After flashing the kernel , u won't be able to see home button settings in display and gestures in settings as home options will disappear so u will stuck with the settings that u have applied before flashing the kernel

Tested this problem 2 times and have the same results after every flash

Edit 2 :

Fixed now all init.d problems and now cpu max freq settings also applied correctly

The problem was that the owner and group were set to root : root but it should be root : shell and also permissions should be 777

Now all settings applied correctly [emoji6]

But still hope u add the option to choose min gpu frequency because it makes some problems in games

And also fixing power saving mode as cpu frequencies still at the maximum even with power saving on

Thanks [emoji3]
[HTC One Max] Flyhalf205:
[MENTION=4096521]mido.fayad[/MENTION]

Did button settings disappear in the new 2.4 or were they there in 2.3.1?
[HTC One Max] mido.fayad:
I noticed it in 2.4 and can't restore button settings except by restoring stock kernel again by restoring system and boot from my twrp backup
[HTC One Max] travlincablguy:
I am using a Sprint one max on t mobile and this kernel borked my Wi-Fi... I ain't real concerned as 2.3 works fine for me, but I don't mind gathering info if it would help. The development on this phone is light as it is, I don't mind helping.
[HTC One Max] Flyhalf205:
I'm falling back to 2.3.1. I don't like 2.4
[HTC One Max] Flyhalf205:
[MENTION=4096521]mido.fayad[/MENTION]

This is funny. https://github.com/Flyhalf205/andro...el-4.4.2/arch/arm/configs/t6wl_defconfig#L729

Lunar kernel delete("/system/bin/pnpmgr");

So if you flashed my kernel after flashing his. It will definitely not work for sure.
[HTC One Max] brymaster5000:
Absolutely. I delete pnpmgr because it cannot handle the extra cpu table size. If you levee the cpu clocks at stock frequencies, then it should remain...that's my two sense. So if yours doesn't delete it you should pull it out of the Rom set permissions and reboot.

Sent from my Lunar Ecliptic One.
[HTC One Max] pyro43284:
Has the kernel been rebased of the new update for Verizon?? Or has the source code not dropped yet??? Just curiosity
[HTC One Max] Flyhalf205:
Hasn't dropped yet. I do check the htcdev website daily waiting on it. Thinking of putting a small update out today.
[HTC One Max] pyro43284:
Okay thanks wasn't sure if it had
[HTC One Max] DHD22800:
Hi.

[MENTION=3082717]Flyhalf205[/MENTION]

Do you downloaded the x.xx.401.x source ?

Thanks :D

---edit---

Do these sources (https://github.com/Flyhalf205/android_kernel_htc_t6) are 4.4.2 + Sense 6 ?

Thanks again :D
[HTC One Max] Flyhalf205:
I have the Verizon phone so I like to keep it with Verizon source. So no.

edi

The source there is based off Sense 5 + 4.4.2. But it is almost identical. 4.4.2 + Sense 6 will be out soon.
[HTC One Max] Flyhalf205:
You can try v2.3.2 if you want. http://xdaforums.com/devdb/project/dl/?id=8716
[HTC One Max] mido.fayad:
[MENTION=3082717]Flyhalf205[/MENTION] the source for the latest sense 6 dev edition kernel is there and it's for the latest base which is out one week ago 3.23.1540.1

hope u will rebase the kernel on it as i feel that the device has very very good performace with this base and also i get more tham 7 hours screen on with it with heavy usage so it has both best performance and battery ?