yashsingh1/xdaforums huggingface dataset:
[Note Edge Android Development] AlaskaLinuxUser:
There is a new kernel thread for these roms, you can find it here:

http://xdaforums.com/note-edge/development/kernel-marshmallow-kernels-t3488126

Now includes the Nightmare governor!
[Note Edge Android Development] Stanki88:
What are the available languages in the ROM?

Wysłane z mojego SM-G935F przy użyciu Tapatalka
[Note Edge Android Development] AlaskaLinuxUser:
I will have to check the AOKP rom, I am pretty sure there are 91 languages, including Polish (Polskie). I know that Polish is an option on SlimRoms 6, but should also be in the AOKP also.
[Note Edge Android Development] chrysfire20:
Will check this out
[Note Edge Android Development] Drunken-warlord:
Flashed the newer build and the kernel from the other post . the battery backup is decent now . Using " All in One Gesture " app to remap the recently used application . on my device long pressing the back button gives me the recent screen . IMO the device is much cooler now when playing games or heavy usage . thanks a lot for improving the battery :) waiting for the next build :)

Update : experiencing random shutdowns :(
[Note Edge Android Development] AlaskaLinuxUser:
Drunken-warlord,

Thanks for the update. Yes, the battery life is much better with the new kernel.

As for the random shutdowns, I haven't seen any, but I also bounce between AOKP, PAC, and Slim roms alot as I work on them. Currently, I am on Slim 6, with the new kernel and am not experiencing unexpected reboots. However, I don't doubt that you are having trouble.

There is no such thing as random, there is only a pattern we do not yet realize. :D

That being said, could you do two things for me? Could you post your Kernel Adiutor setup? E.G., what options you have chosen, or if it is the default options.

And, do you think there is any sort of pattern? E.G., when it "randomly" reboots, I am using the ----- or doing ------ ?

After a random reboot, does the last kernel message say anything? You can find it in Kernel Adiutor, under settings --> debugging --> last kernel message.

Thanks for the help in sorting this out.
[Note Edge Android Development] Drunken-warlord:
Hello :)

Kernel auditor setting

Max freq :1497 MHz

Min freq : 300 MHz

CPU governer : nightmare

It always happens when am playing clash of clans . well I play clash of clans most of the time so am not sure if it would happen when using some other app

I am not sure what am looking for in the last kernel message so its better I look at it the next time it reboots . that way I can copy paste the last few lines for you :)

Thanks for taking the time and listening to the issue :)

Thanks and regards

Dw

Update : rebooted again while playing clash of clans ( screen freeze and then rebooted ) tried looking at the last kernel . txt

Confused ... Lol where can I find the error message

This is where the word shutdown starts appearing .. Hopefully this is what you are looking for

func:max77843_muic_shutdown

<6>[ 5474.482584] [0: init: 1] max77843-muic max77843-muic: max77843_muic_shutdown: LowPwr Enable

<6>[ 5474.483667] [0: init: 1] max77843-muic max77843-muic: max77843_muic_shutdown: JIGSet: auto detection

<6>[ 5474.484746] [0: init: 1] max77843_charger_shutdown: MAX77843 Charger driver shutdown

<6>[ 5474.487815] [0: init: 1] func:max77843_charger_shutdown

<6>[ 5474.487940] [0: init: 1] max86900_shutdown

<0>[ 5474.521381] [0: init: 1] Restarting system with command ''.

<5>[ 5474.521426] [0: init: 1] Going down for restart now

<3>[ 5474.521534] [0: init: 1] set_dload_mode <0> ( c016def4 )

<3>[ 5474.522149] [0: init: 1] msm_restart_prepare : Normal mode Mode!!

<5>[ 5474.522186] [0: init: 1] msm_restart_prepare : value of cmd is NULL.

<2>[ 5474.522316] [0: init: 1] Calling SCM to disable SPMI PMIC arbiter

{527711} sbl1_ddr_init:: ret[0xfffd]

Before the last reboot the max freq was changed to 2572 MHz .
[Note Edge Android Development] AlaskaLinuxUser:
We certainly don't want reboots while your clans are clashing.... :D

I will look this log snippet over. Did changing the max frequency up help you?

Also nightmare is not a very good governor for gaming. You may try on demand or interactive for during your game.

I need to finish adding the Lionheart governor for better gaming.
[Note Edge Android Development] AlaskaLinuxUser:
Good catch on the log, but this isn't your reboot issue. These "muic_shutdown" and "max86900_shutdown" are sensors that is part of I2C . Even my Slimroms has this while not having a reboot issue. It is just shutting down the sensor. Next time it happens, perhaps I can get the full log? Maybe that will help.

Thanks! And good report with the log. That is what I need! :D
[Note Edge Android Development] biosync:
Thank you so much for this build! :) I just hope that we can make the recents button work in the future. Two thumbs up!
[Note Edge Android Development] AlaskaLinuxUser:
By God's grace, I just now figured out how to fix the recents button. I have it working as a menu button on my phone as we speak, and I am building it into another rom update! However, if you can't wait, or want to do it yourself, it is really easy to fix:

Using ES File Explorer or similar, open /system/usr/keylayout/Generic.kl.

Go down past "key 226 HEADSETHOOK"

￼and add "key 254 MENU"

Save and close that.

Then, open /system/usr/keylayout/qwerty.kl.

Go down past "key 212 CAMERA"

￼￼and add "key 254 MENU"

Save and close that.

Then, open /system/usr/keylayout/sec_touchkey.kl.

Edit "key 254 MENU"

Save and close that.

Now, reboot your phone and the recents button will be a menu button!

Another build will be rolled out soon with this built in.
[Note Edge Android Development] Bordo_Bereli51:
That fixed the recent button. But i have random reboots when I play the game world of tanks. Sometimes bluetooth signal drop or disconnection same with wifi.

The battery life is brilliant. Got 5 hours screen on time from 100% to 7%. Surfed internet, facebook and a sometimes played games.

Last_kmsg.txt

https://drive.google.com/file/d/0B4MGirvYW2KxUXl4aWkxYWZaRTQ/view?usp=drivesdk
[Note Edge Android Development] AlaskaLinuxUser:
Great log capture. Thanks, I will take a look. Were you charging your phone at the time?

I see an error with the charger, it states unknown charger, the grants shutdown. Were you plugged in at the time, or just unplugged?

As a side note, this seems to only be affecting users on AOKP, which is odd, it should affect AOKP, PAC and Slim. That would indicate a kernel issue, but my slim has not random rebooted for the past 3 days of use. I have not heard any random reboots on PAC, which would indicate a CM base problem, but it is only AOKP. Interesting.

I will keep digging. Thanks for the logs. It would appear that the AOKP reboots happen to gamers. So, I recommend trying a different GPU governor, or a different CPU governor, or maybe a different I/o scheduler, one at a time to see if any of those make a difference.

Thanks!
[Note Edge Android Development] Drunken-warlord:
Checking PAC ROM now for reboots . I flashed RR after aokp and experienced reboots again while playing clash of clans . Will let you know after using the rom for 2 days :)
[Note Edge Android Development] Bordo_Bereli51:
Yes, I was charging using the original charger, the one, which we get out of the note edge's box.
[Note Edge Android Development] Drunken-warlord:
Same problem on pac rom too. But this time it doesn't completely reboot. No note edge screen just the pac rom bootanimation attaching log.

And I use a fast charger that came with the device..

Only happens when playing games
[Note Edge Android Development] Omel:
Hi

I can't get WiFi to work , is it because I came from 6.01 and not from 5.1.1

Great rom

My model is 915FY
[Note Edge Android Development] Drunken-warlord:
Yes I think so. Because I faced the same issue when flashing this rom on 6.0.1 accidently once . Everything works fine on 5.1.1 .
[Note Edge Android Development] w8 brick recovery:
synapse ?

does this rom have synapse support or any other equivalent cpu modding app
[Note Edge Android Development] Drunken-warlord:
A great admirer of you work but had to flash back to stock 6.0.1 due to game crash . Reboots during clash of clans is a serious issue lol . My clan mates don't like failed war attacks :p well I request you to find a solution to this problem asap ... waiting to be back on aokp/pac. ;)

---------- Post added at 04:56 PM ---------- Previous post was at 04:54 PM ----------

Yes the rom supports kernel auditor . You can download the kernels from the kernel only post created by the OP . he has included a few cpu governors which really help with the battery:)

[KERNEL][NON-TW] Marshmallow Kernels [N915T, N915G, N915F, N915FY]

http://xdaforums.com/note-edge/development/kernel-marshmallow-kernels-t3488126/page4
[Note Edge Android Development] AlaskaLinuxUser:
No problem, I completely understand.

It may be that this happens on Slim6 also. No one has reported it, and I use Slim6 as my dd. However, I do not play games on my phone, so that may be the key.

Also, from both logcat's, it appears to happen while charging. Does it ever happen when not charging the phone? Just trying to narrow it down.
[Note Edge Android Development] Drunken-warlord:
Yes it did happen once or twice. But when charging it always reboots ( 2-3 minutes into the game ) and another thing I noticed is the device gets really heated up .
[Note Edge Android Development] AlaskaLinuxUser:
To God be the glory, a new build is up with the latest fix for the Recents button, which didn't work before, and is now a working MENU button.

The OP has been updated with the latest download.
[Note Edge Android Development] PoochyX:
Nope

No it doesn't....... Kernel doesn't have UCI detection for Synapse if you absolutely need that gotta use the tekno 5.1.1 rom for the Galaxy t-mobile Note Edge

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

If you put the fix for the recent button to work as a menu button since the button is now working you can use the all in one gesture app to remap the recent button from menu to recent apps and you officially have the recent button working.... Cause using the navigation bar Is annoying with snapshot cause you won't be able to send no pictures and the pie control can't be opened on certain games or screens so you would have to press the home key first and then use pie control which is a lot of work...... Thank you for the recommendation of the all gestures app cause that and the recent button fix are doing wonders together
[Note Edge Android Development] Bordo_Bereli51:
No random reboots with old kernel, which do not have nightmare and 633mhz oc. Even when charging and playing. Just with newer builds.
[Note Edge Android Development] Drunken-warlord:
Wow that's some good news..now -OP- can compare both the kernels and check what's wrong ( not sure if it's that easy lol . But I guess like any other thing comparing helps debug . Forgive me if am wrong) waiting for your comment AlaskaLinuxUser;). Temme it's easy and can be done :D
[Note Edge Android Development] AlaskaLinuxUser:
Excellent news. Okay, so, I can do that. Now, I need one more test from you:

In kernel auduitor, with the new kernel, set

Max CPU to less than over clocked.

Max GPU to less than over clocked.

Governor to interactive.

I/o schedular to cfq.

Now charge and play your game. Does it RR?

If I made the kernel, one step at a time, would you be willing to test it? (I don't have the RR, because I don't play games I guess, or I would test it.)

Thanks!
[Note Edge Android Development] Bordo_Bereli51:
I am on AOKP. But I will test it now.
[Note Edge Android Development] Bordo_Bereli51:
Did not get any random reboots while using your recommended settings. All I tested it while charging and playing heavy games like gta sa or world of tanks blitz. For some reason i went after that test back to old kernel. Maybe we need to overvolt for 2688mhz?

Yes I can test it for you
[Note Edge Android Development] joseph.hsu:
got random reboot at this new rom and kernel~

N915G report!

thanks for your hard work!
[Note Edge Android Development] Bordo_Bereli51:
Did you follow the suggested settings, you can find it on page 7 alaskalinuxuser wrote it
[Note Edge Android Development] joseph.hsu:
Thank you,but i install older kernel already!
[Note Edge Android Development] PoochyX:
Alaska any idea why one can't go live on Facebook with the Cm builds..... On the touchwiz roms one can go live....
[Note Edge Android Development] AlaskaLinuxUser:
I am not sure. I don't use Facebook. By "go live" do you mean a form of video conferencing?
[Note Edge Android Development] AlaskaLinuxUser:
Okay, great! Now, humor me please. I try to test this myself, but I don't play those games and I don't have time to start. So, I downloaded Antutu benchmarks and tried to benchmark it into crashing and couldn't get it to crash.

So, please try this:

#1. First try.

CPU governor to Nightmare

CPU max to less than O/C.

GPU max to less than O/C.

I/O scheduler to CFQ.

#2. Second try.

CPU governor to interactive

CPU max to O/C.

GPU max to less than O/C.

I/O scheduler to CFQ.

#3. Third try.

CPU governor to interactive

CPU max to less than O/C.

GPU max to O/C.

I/O scheduler to CFQ.

#4. Fourth try.

CPU governor to interactive

CPU max to less than O/C.

GPU max to less than O/C.

I/O scheduler to ZEN.

Which one, if any or all, cause the Random Reboot when playing your game and charging your phone?

This will pinpoint which of the 4 things I have changed on the kernel to figure out where the problem is.

My technical suspicion is the NIGHTMARE governor is the problem. The O/C's are all well within tolerance, other kernels have O/C'd more for less voltage, so I don't suspect those. The I/O scheduler is not likely to be an issue, just by nature of what it does. The Nightmare governor comes from the PegasusQ/Pegasus governor, which was a little unstable. It is a really great governor for good battery and stellar performance, but that whole line has been considered "unstable" by some. So that is my educated guess, but please test and we will see what the results are.

Thanks!
[Note Edge Android Development] Bordo_Bereli51:
I will try it tomorrow.
[Note Edge Android Development] AlaskaLinuxUser:
Hey all, I edited POST #4 with the following information about random reboot problems, if you experience this, then use these tricks to make them stop, or use the baseline kernel to ensure you don't have those problems ever again.

Random Reboot issues?

If you are having random reboot issues with the new kernel, you can adjust the settings as follows:

CPU max freq. 2496 MHz

GPU max freq. 500 MHz

CPU governor interactive

GPU governor msm-adreno-tz

I/O scheduler CFQ

That should solve your issue with the kernel. If you want, you may also flash this baseline kernel:

http://www.mediafire.com/file/h9b68aaon1yvr11/aokp_pac-mm-kernel-baseline.zip

This baseline kernel will always work just fine, however the battery life and performance are not as good as the AKLU kernel.
[Note Edge Android Development] Bordo_Bereli51:
First, second and third RR after the game laggs. Even RR while surfing need to try the fourth one

Tried fourth one; It laggs because it does not hotplug. Only one core was active. I activated it all and played but the hotplug system just not turn off cores when they are not needed. It stays active even when screen is off.

Overall: Nightmare unstable. It starts to lagg then reboot but hotplug not working

Interactive hotplug not working even mpdecision is active. Ondemand same with hotplug problem.

2, 3 and 4 random reboots when only one core is on. The one core can not handle it because it is always at 729mhz or sometimes 1497mhz but mostly according to kernel auditor at 729mhz. Activating all cores stops laggimg but it laggs a bit but even when heavy load on all cores, the cores gets no high freqs mostly at 729mhz. Very rare at 1497mhz or sometimes more.

the hotplug system is not working.

It does not boost the cores on heavy load btw not activating it. It laggs even at internet browser.

Maybe we get random reboot due to heavy load on cores but hotplug not boosting the cores.

Old kernel test: hotplug works, no laggs while playing and charging. Tested the new kernel while playing gta sa , world of tanks blitz and while charging. The old kernel works perfect and i have no laggs using internet browser or games. Hotplug works just perfect.
[Note Edge Android Development] PoochyX:
Alaska why did you remove battery light option under display and lights in the new bulid
[Note Edge Android Development] AlaskaLinuxUser:
Ahh, thanks PoochyX! I didn't realize that. I see my error. I just now fixed it in this commit:

https://github.com/alaskalinuxuser/...mmit/57be16f10a0280a7eb47d841da84d8a423346c1b

Now I will rebuild it with that included. I jump back and forth between AOKP/PAC/ SLIM, and I confused the Slim files with the AOKP ones.

Also, for the group, I am planning to change the way the OP lists the release in the Downloads section of the post.

I am planning to have a release entitled "BASELINE", in this case, "aokp-tblte-tmo-xx-20161108-BASELINE.zip". This BASELINE edition will have the original kernel, with everything working as it stands. That way, any who want the modified kernel can grab it from the kernel thread, and not have to worry about it being built into the rom.

It is not posted yet, but should be before the weekend.

Thanks everybody!

I am currently working on some "edge" ideas. but at this stage they are just ideas and not much material. When that changes I will let you know. :D
[Note Edge Android Development] PoochyX:
So if I want the battery light feature I can just flash the one before this and just add the modify system files for the menu fixed with this kernel IMG file other then that both bulids the same right
[Note Edge Android Development] AlaskaLinuxUser:
To answer your question, yes. However, the new BASELINE build is posted. If you flash that the lights are fixed and the recents/menu button is working.
[Note Edge Android Development] PoochyX:
Alaska I know this the wrong OP however I just flashed the 10/24 aokp build with the 11/07 aokp kernel and my device got soft brick had to revert back via nanodroid
[Note Edge Android Development] AlaskaLinuxUser:
Yes, I recommend that everyone use the BASELINE downloads in the OP. I have tested them, and they work and are stable. I will be rebuilding the AKLU kernel from the ground up to try and make sure there are no reboot problems. :D
[Note Edge Android Development] AlaskaLinuxUser:
The newly rebuilt kernel is up in the kernel thread if you have not seen it yet. I need gamers to test for reboots if anyone has time. I will add back in more features after positive non-random-rebooting reports.
[Note Edge Android Development] PoochyX:
Will test new kernel..... I play a lot of emulation games with ppsspp and fpse so I let you know about reboots Alaska
[Note Edge Android Development] Bordo_Bereli51:
Played with the new kernel games while charging. No random reboots for 3hours.

P.s Till now no random reboots, seems more stable. No overheat etc.
[Note Edge Android Development] The_Anomalist:
I get build errors when trying to compile the non tw kernel any ideas as to y? I followed all instructions but it's a no go :(
[Note Edge Android Development] Drunken-warlord:
????

+1 I haven't faced any RR yet. Tried the recommended settings using the new kernel. Played clash of clan connected to a fast charger. No issues yet.. Been playing for a few hours now.

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

Thanks a lot mate :) no RR.... great work.
[Note Edge Android Development] Drunken-warlord:
Update : first reboot in 16 hours but this one was not like the random reboots that I usually have. 20 minutes into the game (clash of clans) was connected to the charger experienced lags and overheating and then ???? reboot. Attaching the log

Using recommended settings in Kernel Auditor
[Note Edge Android Development] AlaskaLinuxUser:
It sounds like the kernel is a lot better, so I have added back in the FIOPS and ZEN I/O schedulers. Be sure to give it a solid test to make sure that I did not re-introduce random reboots like we had before. The new kernel can be downloaded in the kernel thread.

[MENTION=7746601]Drunken-warlord[/MENTION]

The one random reboot was not "like" the previous ones, did it do that again? E.G., do you think it is a recurring problem, or just a fluke?
[Note Edge Android Development] AlaskaLinuxUser:
New Kernel is up! And we may have found the reboot issues. The 11/09 kernel worked great, per your input, and the 11/14 kernel caused reboots. So, I have removed the items from the 11/14, gone back to the 11/09, and added governors instead! You should try this one, I have updated the kernel thread and removed the I/O schedulers that were causing problems, as well as adding some new governors. Be sure to give this a good "gamer's" test!

Quote:

Change Log:

20161115

+ Added the Bioshock Governor.

￼ + Added the Lionheart Governor.

￼ + Added the Nightmare Governor.

￼ + Added the Darkness Governor.

￼ - Removed FIOPS I/O Scheduler.

￼ - Removed ZEN I/O Scheduler.

￼ Removed extra I/O schedulers due to recurrence of the random reboots.
[Note Edge Android Development] Drunken-warlord:
It was not like the RR that I faced before .

1. I could play the game for 20 minutes or more ...but usually the phone reboots in the first 1-2 minutes

2. Previously the reboots were instantaneous no signs of lags or freeze . but with the new kernel the screen Freeze's for a few seconds before rebooting

And the reboots are not as often as before ... Just had 3 reboots in 2 days . the game doesn't crash always . hope that helps
[Note Edge Android Development] frak7al:
thanks for this amazing ROM!

super fast, super stable, excellent battery life.

Quick question :

How to update? (dirty) flash zip and clear cache?
[Note Edge Android Development] AlaskaLinuxUser:
Thanks frak7al!

I always suggest making a backup first, but yes, I dirty flashed this build over the old build.
[Note Edge Android Development] The_Anomalist:
Is there any possible way to flash with 6.0.1 bootloader? Like building 6.0.1 bootloader with aokp? Idk just curious as I am Un able to flash 5.1.1 bootloader and what not
[Note Edge Android Development] Bordo_Bereli51:
i am using mickys resurrection remix rom, which is 6.0.1 MM based. So you need MM Bootloader and Modem. Seems more stable then the resurrection remix rom, which was 5.0.1 mm based bootloader and modem. No suddenly wifi drop, bluetooth drop etc.
[Note Edge Android Development] The_Anomalist:
[MENTION=2483488]alaskan[/MENTION]linuxuser, Any updates? and could u plz base the next rom wit the 6.0.1 bootloader and baseband?

---------- Post added at 08:07 AM ---------- Previous post was at 08:07 AM ----------

[/COLOR [MENTION=2483488]alaskan[/MENTION]linuxuser, Any updates? and could u plz base the next rom wit the 6.0.1 bootloader and baseband?
[Note Edge Android Development] edo101:
How is your battery life. On my Stock 6.0.1 ROM, I get on average 2.5 hr screen time
[Note Edge Android Development] AlaskaLinuxUser:
Edo101,

Thanks for dropping in!

It depends what you do, playing games or surfing the web, your activities will change that a lot.

That being said, this morning, since unplugging, I have been using the phone with 2 hours of screen on time and still have 59% battery left. Although, it is dark outside, and so I do have the screen dimmed significantly.

That was using forkhub, email, the play store, XDA, a Bible app, and a jabber chat client, as well as the WordPress app.

YMMV depending on what you do with your screen on.
[Note Edge Android Development] edo101:
I never play games on my phone.... while 6.0.1 has been cool cause of S Pen features...everything battery related has been atrocious
[Note Edge Android Development] saisrinivas:
Does it support volte
[Note Edge Android Development] AlaskaLinuxUser:
No, unfortunately, only stockish ROMs support VoLTE.
[Note Edge Android Development] frak7al:
I get great battery time. Usually a full day without charging