yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] [deXter]:
[Request] TTL Target patch

[MENTION=6842057]The Flash[/MENTION] Any chance you could include the TTL Target patch in your next release please?

If you're not familiar with this patch, this enables users to change the TTL values, bypassing the tethering limitations enforced by some carriers. The command for this looks like "iptables -t mangle -A POSTROUTING -j TTL --ttl-set 65". Right now, running this command under your/stock kernel gives the error "iptables: No chain/target/match by that name." To fix this, the TARGET TTL patch for netfilter needs to be compiled in. The options when building the kernel looks like this: https://habrastorage.org/files/a29/df9/4d0/a29df94d0c6a4926ba0343422717d2d9.png

Would really appreciate it if you could please consider this request. Thanks in advance!
[Nexus 6P Android Development] nathanchance:
Sure I'll look into it.
[Nexus 6P Android Development] nathanchance:
Update!

Small maintenance update, see changelog for more info :) Enjoy!

Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP). If you want to be a tester and get builds before they are released here or just hangout, feel free to stop by Telegram!

Short changelog

Enable TTL control

Add Blueborne kernel patch (still need September security update to be fully secure)

Updated toolchain

Updated AnyKernel

Downloads

Kernel: http://nchancellor.net/Downloads/Kernels/angler/Flash-Angler-v3.1.zip

MD5: http://nchancellor.net/Downloads/Kernels/angler/Flash-Angler-v3.1.zip.md5

Changelog: http://nchancellor.net/Downloads/Kernels/angler/Flash-Angler-v3.1-changelog.txt

Commits

Kernel: https://github.com/nathanchance/angler/commits/8.0.0-flash

AnyKernel: https://github.com/nathanchance/AnyKernel2/commits/angler-flash-public-8.0.0
[Nexus 6P Android Development] yung40oz84:
Can u let me know of any other files, logs, etc. I can get you to fix that reboot issue I brought up before. I flashed 3.1 on ABC and NirogenOS O variants and same on both, as soon as it boots and screen comes up it auto reboots and just keeps doing it over and over.
[Nexus 6P Android Development] nathanchance:
No, I'm probably just going to discontinue Flash support. I need to focus on DU O and I barely have enough time to do that.

I'm going to sleep on it and make a decision tomorrow.
[Nexus 6P Android Development] yung40oz84:
Ah! K bud, no problem
[Nexus 6P Android Development] nathanchance:
The end of an era

It's with a heavy heart that I announce the end of Flash Kernel development for the Nexus 6P. I simply do not have the time to support this, DU for the 6P, and Flash Kernel for the OnePlus 5. I didn't want it to come to this but the recent issues with pretty much all custom ROMs has caused me to make this decision. For the record, I don't think these issues are because of the kernel but to eliminate it as a factor, I'd need to rebase the kernel from scratch and there is zero way I'm going to be able to do that. Rather than give you guys false hope or tarnish the kernel's name, I am just going to bow out. Joe Maples is most likely going to continue working on Electron so if you want a good kernel to migrate to, that one is it. However (and I say this having loved my time on the device), I would highly consider upgrading your device. The 810 was really a terrible chip in the long run and either an 821 or 835 device is going to make a HUGE improvement. I can consistently get 5-6 hrs of SOT without any issues on the OnePlus 5; I only did that in the first couple of months with this device. The Pixels (1 and 2), Essential Phone (once they get kernel source released and maybe shore up some camera issues), and the OnePlus 5 are all awesome destinations and should hold up much better than this device.

It was great learning and talking with you guys in here. You're always welcome in Telegram (I will leave this chat open) or in my other threads.

The Flash (Nathan)
[Nexus 6P Android Development] stajerc:
Yeah, I have problems too. I can hardly change any CPU settings and they're all set very abnormal, very unlike stock. Is this a common bug on the latest kernel or app release?
[Nexus 6P Android Development] kyzn:
No need for multiple posts of the same issue in different threads. So now I'm confused, what kernel are you using? ElementalX or Ninja?

I have no issue on both.

As for your problem, first thing I can think of let your phone calm the F down. A custom kernel shuts down and drops frequencies because of high heat.

---------- Post added at 04:37 PM ---------- Previous post was at 04:00 PM ----------

I just noticed this now. Mine also has the clusters reversed.
[Nexus 6P Android Development] stajerc:
Yeah sorry for that, didn't realise I wasn't in EX thread as I had multiple tabs open. Now I can't delete the damn thing here, so again sorry, I've been lurking on XDA since forever, I just usually don't write stuff here.
[Nexus 6P Android Development] HTC_Phone:
I know it's been mentioned a few times, but I found another solution to what seems to be a common problem.

If EXKM is showing that your cores are "0-5,7" or any other configuration of cores being offline, just toggle the Hexacore mode on and then back off. This seems to fix it for me during the occasional times I've noticed cores offline.

Great work on the kernel, looking forward to the rebase, and loving 7.0 so far. Going to stay with the 6P I think, even after the new Nexii. Such a strong community here. :good:
[Nexus 6P Android Development] kantjer:
Yep, they are reverted for me also

Sent from my Nexus 6P
[Nexus 6P Android Development] nathanchance:
Yes, I am not maintaining more than one branch. I am thrilled N got released as I will be doing one more M kernel (with the security updates for September) then only managing one branch going forward.

Yeah noticed that the other day, kind of funny haha.

Yes I do. You can actually see my current current settings on Github: https://raw.githubusercontent.com/n...el/n-personal/anykernel/ramdisk/init.ninja.rc

Yup, that will work or toggling the cores that are offline. Only one that seems to be truly finicky is core 7, which is why I wrote my script.
[Nexus 6P Android Development] sandman1234:
What's up with nougat? Everyone happy with just stock rom and ninja kernel?
[Nexus 6P Android Development] mitchdickson:
I'm really digging the Chill governor.
[Nexus 6P Android Development] bgboii:
With the full ota images for official 7.0 how would I go about flashing those? Could I use flashfire and use the old modded dp5 boot.img and place it in the ota zip?
[Nexus 6P Android Development] mitchdickson:
Why would you when there is a modded boot.img for the official release?
[Nexus 6P Android Development] nathanchance:
I am too. [MENTION=5051294]frap129[/MENTION] worked with [MENTION=5037435]REV3NT3CH[/MENTION] to get an issue resolved where the governor would stick the clusters at the minimum frequencies so it will be even better when I release my rebase.
[Nexus 6P Android Development] sandman1234:
Nathan I think I'm just gonna mimic your 6p usage experience haha.

Right now on PN+Ninja 1.3.

Need to wait for my laptop charger so I can flash stock rom...

Could you link me to the android n image?
[Nexus 6P Android Development] drharder:
There is a guide out there in the general section by Heisenberg that will walk you through going back to stock and then upgrading to N. Its what I followed and am rocking N with Ninja.
[Nexus 6P Android Development] nathanchance:
I am personally waiting for the factory images to be out before fully setting everything up.

In the meantime, you can use this OTA zip or [MENTION=5284958]tupac4u[/MENTION]'s flashable version here
[Nexus 6P Android Development] bgboii:
I figured it out thanks. Did you flash the Nexus launcher?
[Nexus 6P Android Development] Galaxysm:
I'm on PN atm, and wanna try N...which zip do I flash?
[Nexus 6P Android Development] nathanchance:
Up to you. tupac's zip is debloated and pre-rooted, the other one is full N.
[Nexus 6P Android Development] Galaxysm:
I'll take the rooted one lol, but do I just flash it. Or need vendors IMG or anything else?
[Nexus 6P Android Development] nathanchance:
Vendor is included in that zip.
[Nexus 6P Android Development] Sheetzie03:
I'm already rooted on dp5

Could I just use this method then simply flash SuperSU to get root back? Then flash Ninja ?

Thanks
[Nexus 6P Android Development] elevatorguy:
I have noticed the same thing thought I was going insane. Since other people see the same I'm back to being just crazy.
[Nexus 6P Android Development] Sheetzie03:
Would you recommend the OTA zip or the ROM from tupac4u

Or does it not matter?
[Nexus 6P Android Development] elevatorguy:
Where would I find this governor which thread? I've looked around a bit can't seem to find it. Thanks
[Nexus 6P Android Development] indian84:
The governor is built-in to the kernel.
[Nexus 6P Android Development] nathanchance:
flar2 said this would be fixed in an update tonight.

It really doesn't matter, I stated the difference (tupac's is debloated and pre-rooted).

It's already in the kernel but if you are looking to add it elsewhere, the commits are on my Github or frap129's
[Nexus 6P Android Development] kantjer:
tried to add, what looked 2 simple commits, to the mm kernel but it resulted in a build error.
[Nexus 6P Android Development] nathanchance:
You need this commit: https://github.com/franciscofranco/angler/commit/59f0d1a63ac97f65618b600032ec842c95182fed

Threw me for a loop too but he is based on Franco so he already had it lol.
[Nexus 6P Android Development] owngaurav:
Hi Nathan.... should I wait for ur new update on Android N or I may flash the 2.4?
[Nexus 6P Android Development] Kappa Lamda:
I think DP5 and stable kernel source are the same so probably you won't have a problem. Correct me if I am wrong.

However Nathan already working on a new version
[Nexus 6P Android Development] Toutatis_:
I'm using 1.4 along with NRD90M by [MENTION=5284958]tupac4u[/MENTION], no issue
[Nexus 6P Android Development] drharder:
I installed it and it seems fine but I went back to Nova.
[Nexus 6P Android Development] bgboii:
I also installed it but I love Nexus launcher so i stayed with it. working great!
[Nexus 6P Android Development] nathanchance:
I hope you mean 2.4 :p

I hope to have 3.0 out by the end of the week, just testing some weird issues I am having.
[Nexus 6P Android Development] Toutatis_:
2.4 of course, my bad, I've been mistaken with Marshmallow version. :)
[Nexus 6P Android Development] Reuben_skelz92:
Does battery life seem better than n stock?
[Nexus 6P Android Development] jonathanh221999:
Hi Nathan,

Thanks for the great work, loving the kernel on my 6P running final 7.0.

Just had a random reboot, I've attached the logcat and last_kmsg. I'm no expert at reading these so maybe you could figure out what went wrong :). Currently running Ninja 2.4 on Android N final.

Thanks for your effort and best of luck in the upcoming school year.

Logcat: https://drive.google.com/file/d/0B_fnfm2qQvThX0pFeWdrZ3V2UWM/view?usp=drivesdkhttps://drive.google.com/file/d/0B_fnfm2qQvThX0pFeWdrZ3V2UWM/view?usp=drivesdk

Last_kmsg: https://drive.google.com/file/d/0B_fnfm2qQvThb2Exc01wSnFrNms/view?usp=drivesdkhttps://drive.google.com/file/d/0B_fnfm2qQvThb2Exc01wSnFrNms/view?usp=drivesdk
[Nexus 6P Android Development] nathanchance:
Thanks for the logs. Nothing appears off in your last_kmsg. What were you doing when the reboot happened? Did you see the Google logo or did it go straight to the boot animation?

Another thing is that I will be releasing v3.0 here in a few hours, you may give that a shot and see if the same thing happens.
[Nexus 6P Android Development] jonathanh221999:
Thanks for the quick reply. My phone was actually just laying in the passenger seat while i was driving home from work, not connected to Bluetooth or anything.

I'll give v3.0 a shot when it comes out and let you know if I've any other issues.
[Nexus 6P Android Development] nathanchance:
Update for N!

Download: v3.0 for Nougat

Version 3.0 is here. I spent a while rebasing this on fresh N DP5 source (which I believe will be identical to the official source, based on the tag in the official N kernel version and the Nexus 5X's official source), adding up fixed upstream Linux and cleaning up AK's commit history as well as my own. However, to the end user, this is basically v2.4 with the following changes: (feel free to check out Github for a more in-depth view)

Changed toolchain from Linaro 6.1 to Linaro 4.9 (slightly more stable)

Removed Maple I/O scheduler (had some issues with lockups, I am sure Joe will iron them out)

Adreno Idler

Power Suspend

Rebased (code clean up) on DP5 source

Added an init.rc file to set some settings at startup (specifically, sioplus at 256kb and stock frequencies)

I have been having pretty good results on N so far (idle has been better than active, which is good I suppose). If release N source is drastically different than DP5, I will release a rebased 3.1; otherwise, expect this to be the only major release for a couple of weeks unless something massive changes.

The OP has been updated with quite a bit of information, I suggest you give it a good reading! Enjoy, let me know if there are any issues with the process in the OP.

As for M users, I will be doing one last update if Google pushes a September security update. If not, consider v1.4 to be my last release. I will soon be deleting those branches so fork my repo if you want them to stick around. Sorry if it feels like I am cutting you guys off so soon but I am sure N ROMs will start cropping up here in a week or so and it is getting a little annoying maintaining three branches (M, N, and my personal branch). I highly encourage you to try out N stock for a little bit just to get a feel for it, I am pretty proud of this release and I think it makes the N experience that much better.
[Nexus 6P Android Development] bgboii:
Double tap to wake doesn't seem to work even when I enable it. I'm on Android 7.0.
[Nexus 6P Android Development] nathanchance:
Is this just after a reboot or even just toggling it normally?
[Nexus 6P Android Development] bgboii:
This is just toggling it normally
[Nexus 6P Android Development] nathanchance:
Hmmm I just tested and it works fine for me. I would try reflashing the kernel and see if that helps.
[Nexus 6P Android Development] bgboii:
I'll give it a try and get back to you.
[Nexus 6P Android Development] nathanchance:
Also, what do you get when you type this into a terminal emulator after enabling it?

su
cd /sys/android_touch
for i in $(ls); do echo "$i: $(cat $i)"; done
ls -l

You can screenshot it or type it, I just want to see what it says.

Example:
[Nexus 6P Android Development] Lobster$:
Dt2w works for me, I was noticing wifi disconnects on the 5ghz so I enabled those two settings in the misc on EXKM and it seems to be more stable, I think only 1 disconnect.
[Nexus 6P Android Development] mannyalba:
Dt2w working fine here.
[Nexus 6P Android Development] ariefabuzaky:
Working fine to
[Nexus 6P Android Development] desireaftergod:
Is the profile:

CPU:

CPU governor: Interactive

CPU governor (Cluster 2): Interactive

Stock governor profile

Max CPU frequency: 1708 MHz

Min CPU frequency: 384 MHz

Max CPU frequency (Cluster 2): 2054 MHz

Min CPU frequency (Cluster 2): 633 MHz

Input boost frequency: 0:768000 1:0 2:0 3:0 4:0 5:0 6:0 7:0

Input boot milliseconds: 60

msm_thermal: Enabled

core_control: Disabled

Graphics:

No modifications

Gestures:

Sweep2Wake: Up, Down

Camera launch gesture: Enabled

Sound:

No modifications

Memory:

No modifications

Miscellaneous:

No modifications

still what you use? (on 3.0)?
[Nexus 6P Android Development] nathanchance:
My current settings are listed above those.
[Nexus 6P Android Development] desireaftergod:
Thanks....One observation so far...I am using substratum, I am having various apps force close including "about" in settings...When I revert to default in substratum everything works fine...Any thoughts?
[Nexus 6P Android Development] ariefabuzaky:
Yeah iam using first setting to and iam very impressed with how fast my nexus and not facing lag anymore,

Yeah i know its early to judge batt life but seems its good compare to previous kernel
[Nexus 6P Android Development] Toutatis_:
I can't tell since I flashed 2.4 right after tupac4u N ROM, so no cycle with stock kernel.

I'm getting pretty similar battery life compared to Marshmallow though.

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

D2TW works perfectly here as well
[Nexus 6P Android Development] desireaftergod:
Anybody know how i can get my kernel settings to stick through a reboot (I am using EXKM)?
[Nexus 6P Android Development] Toutatis_:
Make sure you press the button at the right of each setting, it's the toggle to make them stick at boot. If it's blue, it's enabled, if it's grey, it's disabled.
[Nexus 6P Android Development] kantjer:
I made an updated mm kernel.

It's based on your latest bleeding edge m personal build.

I updated the chill governor and init.rc (now the same as in your N build)

Also build with Linaro 4.9 for stability and removed Maple I/O scheduler (I also had issues on mm with it)

Most of the other changes in your released N build were already added to you personal m build so they are also included.

If it's OK with you I can upload my modded AK/NC 1.4.1 build ;), that will give mm users something to play with.
[Nexus 6P Android Development] JaylanPHNX:
Probably the theme. Try a different one and see if the same happens. Either way, certainly not a kernel issue.

From my Tab Pro 8.4
[Nexus 6P Android Development] desireaftergod:
I did try another one and it seems fine...Thanks
[Nexus 6P Android Development] Lobster$:
Update: still having 5ghz disconnects even with those 2 settings turned on to 8 in EXKM.
[Nexus 6P Android Development] bgboii:
Did I do something wrong?
[Nexus 6P Android Development] kantjer:
It looks you didn't enter after each command

su <enter>
cd /sys/android_touch <enter>
for i in $(ls); do echo "$i: $(cat $i)"; done <enter>
ls -l <enter>
[Nexus 6P Android Development] yung40oz84:
That's a theme issue, happening to me in mono
[Nexus 6P Android Development] bgboii:
Ahh thanks I'll try that.
[Nexus 6P Android Development] bgboii:
I got it! :)
[Nexus 6P Android Development] Ofthecats:
[MENTION=6842057]nathanchance[/MENTION] Im beginning to believe ninja kernel is responsible for the best SOT I've gotten on Angler. By at least 30 minutes.

I'll need more testing as I first tried ninja with a new ROM, servicely, and [MENTION=5886947]soniCron[/MENTION] hawktail and glassfish governor profiles.

But, now I'm on official N debloated with 2.4 and early findings are promising.

1hr 45min SOT at 75%.
[Nexus 6P Android Development] SlyUK:
Is Glassfish newer than Hawktail ?

Edit:

I guess it is :)

http://xdaforums.com/showpost.php?p=68330029&postcount=4418
[Nexus 6P Android Development] nathanchance:
Let your themer know about the force close.

Press the little blue power icon next to each setting.

Go for it :D

Get me a logcat and dmesg then but honestly, I don't have many additional Wi-Fi commits from stock.

Put a space in between in and $(ls) then you got it :)

Man that is awesome, that's what I am going for.
[Nexus 6P Android Development] kantjer:
NINJA-v1.4.1 - updated marshmallow build

change-log is about the same as [MENTION=6842057]nathanchance[/MENTION] N build

Changed toolchain from Linaro 6.1 to Linaro 4.9 (slightly more stable)

Removed Maple I/O scheduler (had some issues with lockups)

Adreno Idler

Power Suspend

updated chill governor (Use native display_state instead of PowerSuspend)

Added an init.rc file to set some settings at startup (specifically, sioplus at 256kb and stock frequencies)
[Nexus 6P Android Development] bgboii:
I got it!
[Nexus 6P Android Development] Prattham:
Lol i just flashed v1. 4 :D

---------- Post added at 05:37 PM ---------- Previous post was at 05:30 PM ----------

@nathanchance why do you have started over clocking? Any significant difference using the high freq and not the default ones?
[Nexus 6P Android Development] kantjer:
[emoji1]

I suggest to remove the apply on boot for all CPU and I/O settings to take advantage of the excellent stock settlings and start tweaking from there.

Sent from my Nexus 6P
[Nexus 6P Android Development] nathanchance:
Perfect! Now is dt2w enable in that screenshot?

The performance of this phone does not drastically increase by overclocking. I decided to bring the kernel into more of a "stock" package in terms of CPU settings as most people tweak how they want.
[Nexus 6P Android Development] xperator:
Hey how has been your experiences with chill governor so far ? How does it differ from the DeadPool setup?

[MENTION=3306843]kantjer[/MENTION] thanks mate going to flash your build

[MENTION=5426778]Prattham[/MENTION] Using higher clocks is actually a good/efficient way of handling tasks and could benefit the battery life and the performance. But it should be set up in a way that it doesn't get hit all the time as it causes overheat and affect the battery negatively. So it's a bit tricky to pull this off
[Nexus 6P Android Development] nathanchance:
It's been solid. Performance is snappy but battery life has also been good. I am considering trying out soniCron's new profile GlassFish, may do that within the next day or so.
[Nexus 6P Android Development] bgboii:
No it's not do you need me to turn it on?

Edit: just did it again with it enabled and shows the same as the last picture I posted
[Nexus 6P Android Development] masri1987:
thank you!
[Nexus 6P Android Development] nathanchance:
If it is the same, that means that EXKM is not properly enabling double tap to wake, as the value next to doubletaptowake should be 1.
[Nexus 6P Android Development] bgboii:
Well I'm using kernel adiutor does it matter?
[Nexus 6P Android Development] nathanchance:
Are you using the halfscreen option?
[Nexus 6P Android Development] xperator:
[MENTION=3306843]kantjer[/MENTION] Did you use Xthermal mod in the 1.4.1 build you uploaded for us ?
[Nexus 6P Android Development] Balino:
The kernel is running very well. Good job!
[Nexus 6P Android Development] bgboii:
I'm using full screen
[Nexus 6P Android Development] mitchdickson:
In case you couldn't tell by the question, use half screen.
[Nexus 6P Android Development] nathanchance:
You need to use half screen as that sys path only takes a 0 or 1; full screen echos 2.
[Nexus 6P Android Development] bgboii:
Ahh okay I got it working with the half screen. Thanks!
[Nexus 6P Android Development] kantjer:
yes

https://github.com/kantjer/Ninja-Kernel/blob/personal/anykernel/tools/thermal-engine.conf
[Nexus 6P Android Development] xperator:
I see... Well I had issues with that mod. Fast charging works yeah but my battery percentage just freezes. Like after I plug the charger, the battery wont drop for like 15mins or so. And it just reports different number for long period of time.
[Nexus 6P Android Development] kantjer:
I have been using the mod for a few weeks now, no issues at all
[Nexus 6P Android Development] nathanchance:
So that is what causes it? I figured that was an N bug lol. I'll have to remove it and test then, thanks for the heads up.
[Nexus 6P Android Development] xperator:
Yeah its really annoying and it doesn't let me evaluate my profiles
[Nexus 6P Android Development] kantjer:
I can make a build with it removed tomorrow if you want
[Nexus 6P Android Development] xperator:
That would be great! Thanks mate :angel:
[Nexus 6P Android Development] guyderam:
Nathan a quick question, This is still the previous unofficial ak kernel rite? coz im on the previous version 066-8. Dont wana mess things up while flashing
[Nexus 6P Android Development] nathanchance:
Yes, you should be okay with dirty flashing. Just do a clean kernel flash if you run into issues.
[Nexus 6P Android Development] OmegaBlaze:
Camera not working on 3.0 for me.
[Nexus 6P Android Development] E30Nova:
I'm on 7.0 with the 3.0 kernel and just took a picture. Works fine for me.

I'm using google camera.