yashsingh1/xdaforums huggingface dataset:
[HTC One Max] 5 Liter Fever:
I'm currently running a 4.4.2 stock rom, s-off, with unsecured kernel. (rooted & s-off'd with rumrunner). I flashed the version 2 zip & my external SD card won't mount. I thought I might have gotten a corrupted download so I restored my most recent back up & flashed it again with the same results. If it makes a difference, I'm using TWRP 2.6.3. Any suggestions?
[HTC One Max] Flyhalf205:
Using an older version of TWRP shouldn't be the problem. External SD was a big issue to get working. Make sure that the kernel is being flashed by looking at the system info in settings. It works for me fine. Try this kernel out. https://www.dropbox.com/s/acjiu9uqnr4jek6/FlyKernel_2.0-3.zip
[HTC One Max] 5 Liter Fever:
Thanks for the help. I flashed the 2.0-3 but I'm still getting the same results. The kernel didn't change in the settings though it went through the upgrade cycle at start up. I appreciate the effort.
[HTC One Max] Namolas:
I havent had any problems with my 64GB card but it is formatted FAT32. Is your card FAT32 or ExFat?
[HTC One Max] PHIL2577:
No issues wit my 32GB sd card here
[HTC One Max] brymaster5000:
What does your kernel read in about phone. Seems like your insecure boot is not so insecure.

Sent from my Lunar Ecliptic One.
[HTC One Max] PHIL2577:
The upgrade sequence at boot would have been due to the wipes during the attempt to flash the kernel would it not ?
[HTC One Max] Flyhalf205:
Go to System Settings > About > Software information > More > and give me the first line under Kernel version

Should ready as 3.4.10-FlyKernel_2.0-g48eaa0b ?
[HTC One Max] PHIL2577:
Hey fly ....

I have had this experience 2 times now , once just a moment ago while downloading a app from play store and another time since flashing your kernel. The phone will just completely freeze no fc of any apps just flat freezes. Both occasions I was forced to connect my phone to my pc and use adb to reboot device as holding power for like ever did nothing! phone just remained frozen ......any suggestions or ideas what the issue may-be ? Hate to do it but I'm thinking I need to do a full wipe and re-install ypur kernel again
[HTC One Max] italbomber:
Hey for the future try holding volume up and the power button for like 10 seconds or so to force reboot the max if it is frozen.
[HTC One Max] brymaster5000:
What cpu frequencies are you running? Are you over or under volting? These are all things that would cause this. Also what is your governor?

A friendly fyi to everyone, we need to know your setup to debug. And when things really go wrong a logcat or last_kmsg. It is very hard to give tips with no usage info. Thanks!

Sent from my Lunar Ecliptic One.
[HTC One Max] mustasusi:
Hey Fly,

nice work, well done! I flashed this kernel but I can't see any kernel manager came with it. Is there anything like S-tweaks for Samsung roms or Agni's kernels manager I can use with this? What do you recommend?
[HTC One Max] jerrycycle:
There have been 3 listed by name in the thread, System Tuner Pro, Trickstermod & Setcpu. I found each one to work but each has different feature sets in how the user can customize
[HTC One Max] mafyas:
Flash your kernel into Viper 4.3. Superb! Thanks Fly. Really did improve my max battery life and performance.
[HTC One Max] afuller42:
I have no problems with my 64gb card either. On the package it says to not format to anything other than exfat and fat32 may give problems.

I would just like to add also been 3 days 12 hours on battery and still at 31% :)

.
[HTC One Max] Flyhalf205:
I actually just experienced this now on stock kernel... Sense 6 rom :(
[HTC One Max] corey113888:
I had a similar thing when I ran Antutu benchmark a couple of nights ago... screen went black and i couldn't wake the phone. Power + vol up or vol down dident do anything on many attempts... Tried to get it to boot up in the morning, same thing! nothing! I thought i was needing to get a replacement because even plugging into the charger dident do anything, phone seemed dead. Went to the Verizon store and when they plugged it into their charger it booted up! I took the phone home and it worked fine the rest of the day.

Later on tried the benchmark again and same thing! Phone went black and wouldn't turn on. I figured out i had the wrong power adapter (using a belkin instead of the HTC one) once plugged in i could reboot the phone. Both times i had 30 something % battery when i tried the benchmark, maybe that was it... i don't know i just thought i would share since it was so strange.
[HTC One Max] ricky886:
I have trying to uv

but i think <1836 is not enough volt

so i recommend < 1836 +25mv

but i recommend set cpu to 162 - 1782

It's enough speed and power save:laugh:
[HTC One Max] bldysurgeon:
vipermax

any one tried it on vipermax 2.0????

do you think its compatable.
[HTC One Max] mafyas:
Absolutely working great with ViperMax 2.0.0.

6 hours already running Vipermax 2.0.0 + Fly Kernel = Superb
[HTC One Max] pyro43284:
I've been using it on the 2.0 since the kernel came out your good to go??
[HTC One Max] 5 Liter Fever:
Sorry I haven't had a chance to get back to you sooner. It's that pesky work thing that always seems to get in the way. I've since restored my most recent back up. Here's what it says:

Kernel Version

3.4.10-g156c304

root@abm020 #1

SMP PREEMPT

I've been looking around and can't seem to find what unsecured kernel version looks like. I tried to flash the unsecured kernel (boot.img) through fastboot but came up with a soft brick. The Sprint splash screen didn't load correctly & locked up at the HTC One screen, hence the restore. I've been playing around with phones for a while & I've been pretty successful so far & have been able to fix any mistakes I've made but this has me stumped a bit. I'm not really even sure if I have the unsecured kernel, I know I had to flash it when I rooted & S-off'd it but I don't have a clue what the kernel version is suppose to look like,

I'd like to be able to get this kernel but it's cool if I can't figure it out. I'm almost content with the way it is. :D

...and it's EX-FAT, dang Windows 8.1.
[HTC One Max] Flyhalf205:
[MENTION=4343403]5 Liter Fever[/MENTION]

Did you ever say what ROM you are on?
[HTC One Max] rowihel2012:
i have this kernel with vipermax 2

but the battery drain faster than vipemax 1
[HTC One Max] mafyas:
Since yesterday, it works okay with ViperMax 2.0.0. Now, it's laggy. I had to reflash ViperMax.
[HTC One Max] 5 Liter Fever:
No rom. Sprint stock rooted 4.4.2 I downloaded from this forum. I used Xposed to add a few mods.
[HTC One Max] brymaster5000:
Your kernel version is stock. Flash this then fly's kernel: https://www.dropbox.com/s/7ovv5j6lt965aak/Max_boot_init.zip

That is an unsecured boot.img that can be flashed in recovery. Let me know if it doesn't work.

Sent from my Lunar Ecliptic One.
[HTC One Max] djnikko:
<-- Verizon 4.4.2, Clean ROM 2.0. I believe I'm in need of a flashabel insecure boot.img too. Could you create a 1 for me so I can run your kernel?

enscribed on an HTC One Max
[HTC One Max] Jiggity Janx:
Use the one in OP. I had to flash it for cleanrom 2 and it worked fine.
[HTC One Max] 5 Liter Fever:
Worked like a charm. Thank you. I figured out what happened & why I had the stock kernel. I updated the firmware a while back & it reverted back to the stock kernel when I flashed it.

Really appreciate the help.
[HTC One Max] Flyhalf205:
Does the one in the OP not work for you?
[HTC One Max] djnikko:
I seen in the title of file "...t6" I assumed that may be an indicator for "international version" I didn't want to flash, and mess things.

edit. Just finished flashing boot & kernel VZW, CR2.0. works!

enscribed on an HTC One Max
[HTC One Max] mustasusi:
It works for every HTC one Max variant. It was intended for Sprint\Verizon originally but fortunately all variants share enough things in common.

What priority have you set for each profile? Have you placed one in top of the other?
[HTC One Max] bldysurgeon:
thnx

i installed it on my htc max with vipermax 2.0 rom and it is wonderful. not a single bug so far . thank you fly . and please keep working on it. still you have a long list of requist by your fans.

thnx again
[HTC One Max] ricky886:
Have you wipe data?

I use old data it the battery drain fast
[HTC One Max] JasjarMan:
Some Help Please...

I went from verizon stock 4.3 rom to the Nusense6. I flashed this kernel and it worked great for speed but watching jetflicks, netflicks and hulu was choppy, specially streaming with bluetooth stereo headset. The voice was LATE so was a terrible way to watch.

So I restored to the oem 4.3 but now i want to flash this kernel.

When I do the phone will not start ever, so I restrore again.

So far ive done:

- RESTORE

-FLASHED THE ENSECURE KERNEL (T6_Insecure_Kernel) I only found one link so downloaded that.

- AFTER I FLASHED THAT, I WENT RIGHT AHEAD AND FLASHED FLYKERNEL FOR 4.3

- I RESTARTED THE PHONE

- PHONE BOOTS UP A LITTLE AND GOES BLACK FORVER, TILL I BOOT BACK TO RECOVERY

What an I doing wrong? Wrong precedures or wrong files?
[HTC One Max] santod040:
As the title of the thread states, there's a kernel for Sense 5.5/Android 4.4.2 Kitkat, and one for 4.3 Jellybean.

Are you flashing the correct version?
[HTC One Max] xhunter187:
Have tried flashing FlyKernel couple times today with no luck. Tried flashing insecure first the Fly right after in recovery. Keeps looping. Splash screen, boot animation, lock screen, and then reboots. Have to reflash insecure to stop it. Any ideas? Running ViperMax 2.0.0 and under kernel version its reading:

3.4.10-G8A54BDA

ROOT@ABM032 #1

SMP PREEMPT
[HTC One Max] brymaster5000:
After flashing a boot.img, you need to let it boot up before going back into recovery to flash a kernel. Viper max should already have an unsecured boot.img

Sent from my Lunar Ecliptic One.
[HTC One Max] xhunter187:
Thanks. Tried again about 20 minutes ago and still no luck. Flashed insecure, booted into Android, reboot into recovery, flash flykernel 2.0, boot looped again.
[HTC One Max] Flyhalf205:
Will the stock system write kernel work for you in the OP?
[HTC One Max] xhunter187:
Haven't tried it. Will report back in a few and let you know.

Edit: That would be a big N O on the stock system write kernel.
[HTC One Max] brymaster5000:
Try the one I posted a few posts ago.

Sent from my Lunar Ecliptic One.
[HTC One Max] xhunter187:
I'm guessing you mean the one named "Max_boot_init" right? Tried and it booted so proceeded to flash Flykernel and still nothing. I am S-Off, Unlocked, and updated firmware so I have not the slightest idea what could be wrong. Using TWRP 2.7.0.0 too.
[HTC One Max] brymaster5000:
Grab the last_kmsg if it doesn't boot. Adb pull /proc/last_kmsg. I think that's the location of it.

Sent from my Lunar Ecliptic One.
[HTC One Max] xhunter187:
It boots into android before it freezes and then reboots. Here is the last_kmsg you requested.
[HTC One Max] mitchbaria:
Thanks for the unbelievable work on the rom and kernel...

http://i1284.photobucket.com/albums...creenshot_2014-05-10-21-50-59_zpsxkxxjpyq.png
[HTC One Max] JasjarMan:
Trying to flash this kernel using the cleanrom, which is FANTASTIC! I flashed the 4.3 flykernel but after I restart the screen stays black and never starts.

So I went back to the same link I got the 4.3 flykernel and I saw and downloaded and flashed the insecure kernel that was there with the 4.3 flykernel. Same problem, screen stays black and never starts. Btw, when I flashed the insecure kernel it said flashing 4.4.2???

Where can I download the right insecure kernel for the cleanrom 4.3?
[HTC One Max] Jiggity Janx:
I have one soff Verizon Max that runs this flykernel without issue on 4.4.2 cleanrom and I have one soff Verizon Max on 4.4.2 cleanrom that I had to put back to insecure kernel because flykernel just caused a lot of force close and other issues. The insecure kernel in the OP should work perfectly as a stock insecure kernel.

YMMV

I should caveat this with the fact that I did dirty flash (although I wiped cache and dalvik). A kernel shouldnt require a clean flash but stating for facts.
[HTC One Max] mitchbaria:
I tried the kernel with clean Rom and it acted a fool,,,, but with the Nusense Rom it is saWeet...maybe that observation will help fwiw.
[HTC One Max] rdeluis:
Using Flykernel on Verizon Max running nusense RC 4.

What would you suggest as the best governor setting?

---------- Post added at 02:02 AM ---------- Previous post was at 01:19 AM ----------

@flyhalf205 I am having a problem of kernel settings not sticking after a reboot.

I'm on your latest nusense RC4. Verizon htc max. Please help
[HTC One Max] mitchbaria:
I've got mine set at 2106 max and 162 min....that may not be correct,, but the phone is running terrific......all apps, and browser, all running remarkable....I can really tell a big difference in the speed with which show box loads the movie menu on start up.....so I know it's quite a big difference...battery life good, temp good..
[HTC One Max] corey113888:
Thanks for the kernel! I was playing with your source and I can compile just fine, but I wanted to help out with adding features. Any good advice on adding kernel patches to source or adding git repositories and cherry picking commits? Once I get the hang of this I am sure I can contribute some fun stuff...

:svetius:
[HTC One Max] Flyhalf205:
Well I am not really a kernel guy but be very careful making patches and things to kernel. Our WiFi is very sensitive in the kernel. One tiny wrong thing kills it.
[HTC One Max] ywliu:
Hi,

Just got my HTC One Max International (Taiwan) version. I unlocked bootloader, S-Offed, flashed Virtuous One Max ROM and FlyKernel. Looks pretty good.

However, there is one issue : no matter what tool (Kernel Tweaker, System Tuner, CPU Manager ,etc.) I use to set the maximal frequency to 1.89GHz, after resume from sleep, it always goes up to the maximum, 2.1GHz.

Is this a possible kernel bug or ROM issue ?

ywliu
[HTC One Max] ywliu:
I am using Intellliactive governor. I suspect it has built-in screen-off profile and forgot to honor the max frequency settings...

ywliu
[HTC One Max] brymaster5000:
Use an app, like trickster and make sure the settings are checked at boot.

Patches are tricky with kernels...Patches only work when every file name is the same. Furthermore, if the files aren't the same, then you have to go into it and fix the patch...can be a nightmare. However, if you find a repo that has commits that should pick clean...do got fetch "url of repo", followed by got cherry-pick "commit #".

As fly said, your Wi-Fi is very finicky...which is why I haven't uploaded my kernel yet. It's hard to include everything I want not being able to constantly test it after each commit. Which is what needs to be done for this phone unfortunately.

Sent from my Lunar Ecliptic One.
[HTC One Max] corey113888:
Sweet... there are some commits in flair2 source i think might work. I was going to try one feature, S2W or DT2W and see if I could get one working... I can test kernels if you want, one at a time or you can compile several with single features added to see where we need to concentrate our efforts.
[HTC One Max] Flyhalf205:
Just remember. HTC Max uses max1187x touchscreen. The M8 and M7 does not.
[HTC One Max] brymaster5000:
Exactly why you guys don't have it yet. I swear fly I haven't forgotten about this. Been a little busy, but once I get a moment I will try to port s2w over...going to be a bumpy road....lol

Sent from my Lunar Ecliptic One.
[HTC One Max] mido.fayad:
[MENTION=3082717]Flyhalf205[/MENTION]

Sorry for disturbance but I want to ask why do we need insecure kernel first to be able to flash this kernel in recovery

I'm coming from HTC one and I can flash kernels from your twrp 2.7 with locked bootloader

I flashed recovery on m7 from ruu mode and leave it locked with s-off and no problems at all with flashing kernels although I was using stock secure kernel

And even I was able to flash full Rom from twrp with locked bootloader

So what's the difference between HTC one max and one causing this ?

I think that s-off is enough or there is something I don't know

I will receive my one max after one week and will try to flash kernel with a-off on locked bootloader
[HTC One Max] Flyhalf205:
You don't really need a insecure boot.img to flash. Just as long as you have a boot.img that has been re-compiled by a dev other than HTC. It's a complicated process of how it works. Basically we will say if you have a stock boot.img from HTC, it will be signed so we can't use the anykernel installer I use to install the kernel.
[HTC One Max] brymaster5000:
It has nothing to do with boot loader. If your current Rom has ram disk that does not enable system write, then you can't flash a custom kernel. The insecure boot.img has modified ram disk that enables system write.

You'd have to do the same on the m7.

Sent from my Lunar Ecliptic One.
[HTC One Max] xhunter187:
Still having the same problem as before. Made sure that I have insecure boot image flashed by reflashing. Let it boot. Flash kernel in recover. Boot to Android and runs for about 15 seconds then boot loops.
[HTC One Max] mido.fayad:
I think you misunderstood the system write protection

Ramdisk disable write protection when the Rom is running only so u can't edit any system files when the Rom is running but it can't disable write protection when flashing from recovery

And u can try to root your device from recovery and it will work which means u can write to system partition

And on m7 I was on completely stock sense 6 Rom with stock boot.img, locked bootloader and s-off after applying the ota

Then flashed only twrp 2.7 through ruu mode because I didn't want to unlock the bootloader then flashed elementalx 14.8 from recovery with locked bootloader and stock boot.img and it worked without any problem

---------- Post added at 12:06 PM ---------- Previous post was at 12:02 PM ----------

So if I got it, it's something related to the installer used by your kernel

So if we used the installer used in m7 kernels , it will work ?

Sorry again for disturbance ?

Edit

So I now looked in the installer of ur kernel and I think I got it now and please tell me if i got it wrong ?

The installer repack your kernel with the ramdisk of the .img currently used by the device

And i know that the stock boot.img can't be unpacked by the installer so the installer fails to repack the kernel and so we can't use it

So in theory if u provided the kernel in boot.img format inside your installer , it will install on any Rom without any problem and no need to insecure kernel

So I hope u add boot.img inside the installer and using it when the device fails to repack the kernel ?

Thanks for ur hard work and hope to try it soon when I get this device
[HTC One Max] Flyhalf205:
[MENTION=4096521]mido.fayad[/MENTION]

Yesh. Pretty much correct. I can include a kernel installer with the boot.img files but it would include three different boot.img files because each of the variants are different. Just more of a hassle to do that. Also just in case on a custom rom and have a custom ramdisk the developer has made.
[HTC One Max] brymaster5000:
No I understand it very much. I didn't elaborate because I thought everyone knew flys kernel was in anykernel format. Which relies on edited ram disk.

Sent from my Lunar Ecliptic One.
[HTC One Max] mido.fayad:
My reply was to the write protection only because my question was about flashing the kernel from recovery and it has nothing related to system write protection ?

U said that we can't flash custom kernel if the ramdisk has system write protection and this isn't true

We can flash any kernel in .img format from recovery even with secure kernel

Anyhow i think we got it now right ?

Hope to receive my device soon because i love The large screen
[HTC One Max] brymaster5000:
Lol...I think we both misunderstood each other, but understand what's going on...haha...I usually refer to kernels as just the zImage and not a boot.img ?

Sent from my Lunar Ecliptic One.
[HTC One Max] mwebb34:
I'm on viperRom 2.0 4.4.2 --sense 5.5

I have been on viper for about a month now and I have noticed a lot of lag in the stock kernel and my battery life was starting to go down hill. I just flashed flys kernel v2.1 got it overclocked to the MAX and undervolted to the MIN. I can already tell a very big difference in the speed of my phone there's no lagging what so ever. I know it will take a day or 2 before the kernel gets settled. It's only gonna get better. [MENTION=3082717]Flyhalf205[/MENTION], ya done a pretty good job on this buddy.

I'm have Zero issues with 2.1!
[HTC One Max] mwebb34:
Just wondering what should the Tuneables be set to for max battery life and proformance. Or should I just leave them set were they are an not mess with them.
[HTC One Max] mwebb34:
Cfq control the I/O schedular tunables

All of these settings are as clear as MUD to me I have no clue on the best settings to apply. It's not that there's a lot of individual settings it's the numbers there big numbers. How long would it take to configure each tunable to the perfect number, for the perfect battery performance? There needs to be a kernel manual for "Dummies" lol.

~VZW~One MAX [viperROM] ~2.0 |Sense 5.5|
[HTC One Max] mwebb34:
Which is best schedular.

~VZW~One MAX [viperROM] ~2.0 |Sense 5.5|
[HTC One Max] Flyhalf205:
I don't do to much kernel settings on my Rom because I Rom hop so much but I usually stay with sio with ondemand and I lower my min to 216 and max I set to stock. I dint OC it
[HTC One Max] fuzzynco:
Does the 4.3 version have NTFS?

I have a stock s-off / rooted / twrp 2.7.0.0

VZW One Max with original 4.3.

I'm looking for support for NTFS at least RO

for USB-OTG self powered external HDD.

The listing says the 4.4.2 version has it, but

doesn't list what is in the 4.3 version.

T6_Insecure_Kernel.zip (update-script)

says its for 4.4.2, will that work for 4.3??

Do I flash T6_Insecure_Kernel.zip

than flash FlyKernel_4.3_2.0.zip?
[HTC One Max] Flyhalf205:
The 4.3 kernel does have NTFS support. That should work flashing insecure then the 4.3 kernel. Why are you still on 4.3 anyways?
[HTC One Max] mwebb34:
Stock is 1728 right.

~VZW~One MAX [viperROM] ~2.0 |Sense 5.5|

---------- Post added at 10:34 AM ---------- Previous post was at 10:21 AM ----------

I had mine overclocked to 2106 and undervolted to 162. My phone didnt freeze or act up, but my battery life was about the same as on stock kernel. So i overclocked back to stock which was 1728 and undervolted up a notch to 216. I also changed my schedular from cfq to sio and keep my ondemand setting. I will see how she does today, hopfully better than before.

Im still having zero problems with the kernel itself, guess its called user operator error.

~VZW~One MAX [viperROM] ~2.0 |Sense 5.5|
[HTC One Max] Flyhalf205:
Yep. I get pretty good battery life. I will switch to smartmax sometimes. But raise your low back to stock (324)
[HTC One Max] fuzzynco:
bootloop :(

I see the splash page and then black and then the splash page again.

I was able to boot into hboot though, and fastboot devices finds the

phone okay.

I'm guessing the 4.4.2 kernal from t6_insecure_kernal.zip doesn't like

the 4.3 /system OS version? Is there a VZW 4.3 insecure boot.img I

can fastboot flash ?

I figured to recover I'd RUU then reflash TWRP and restore the last

backup (yesterday)?

VZW explained to me that the reason the 4.4.2 update was not offered '

to me, was the phone is not on the tower (its not activated yet).

That's why I'm on 4.3.

-->

Did the RUU, then TWRP 2.7, then restore backup

back where I was.
[HTC One Max] mustasusi:
I experience wake up delay SOMETIMES, NOT always though, even for the tiniest doubt it might delay on wake up (about 2-5 secs since pushing the power button) I'd like to work it out. I'm using Viper max 4.4.2, set screen off profile with bfq I/O, under-clocked to 364-954mhz Lionheart governor, no under-voltage. When I deactivate this profile I get no delays at all. With this on it sometimes delay. Any ideas?
[HTC One Max] nrage23:
A 4.3 kernel will not work with 4.4.2.