yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
Hi [MENTION=3279788]ZaneZam[/MENTION], if you ever make a new build, could you please pick this from Acroresier - allows Magisk safetynet hiding to work...

cheers!

Buff
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
[MENTION=3279788]ZaneZam[/MENTION]

I have now Cm 13 with latest boeffla kernel.

In Config App I checked Selinux option to have "selinux enforcing" but every time I reboot my tablet, Selinux switched to Permissive.

Is there a way to set "Selinux enforcing" definitely?
[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
hm should not be, but there was a problem some time ago which i fixed but in recent cm14 kernel if i remember right (not sure tho).

i would need to check but anyway the cm13 kernel is eol sooo there might not be an update anymore. cm14 not an option for u?
[Galaxy Note 8.0 (Tablet) Android Development] Newcostumer:
@ zanezam

Hello

First thank you for you work i really love it.

I have an issue the Bluetooth connection don't work with my New gaming controller, all other Bluetooth devices works. If i flash RR without your kernel the connection with the controller works, but i want this kernel you know. ?

I use the snakebyte idroid controller if it helps to repair that little bug hopefully thanks a lot.

PS, sorry for the Bad english
[Galaxy Note 8.0 (Tablet) Android Development] luckysoul777:
[MENTION=3279788]ZaneZam[/MENTION],

Thank you for developing this kernel for N5120. I am actually running it on SGH-I467M with LOS 14.1. The 2 tablets are very similar, both Note 8.0, except for different radio bands, N5120 has two MIC, an ear piece and proximity sensor whereas I467M has only 1 MIC, no ear piece or proximity sensor. The resulting problem is I get no audio input (I assume the kernel is looking for the MIC that I don't have and no brightness adjustment). I can't explain why Bluetooth doesn't work either. Everything else works great. I even get LTE connection! If you ever want to develop an SGH-I467M version for it, I would be happy to be your beta tester. Thank you
[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
hey buff, many thx for linking! patch is in testing phase ;)

uh difficult because of 3 things: it didn't happen without any logs :) driver did not got changed by me so i guess its happeneing with stock kernel too and last but not least bluetooth issues are always ugly.

anyways if i have time i might have a look into RR kernel source maybe there is something to pick related to bluetooth. but as said u better don't touch bluetooth driver because u might open up hell.

thank u for letting me know. the "issues" are somehow expected as there IS a difference between the devices so there is a difference in particular functions and therefore in settings/drivers in kernel.

thx for the offer but nope that won't happen, u can't develop for a device u don't have lying in front of u. even with a motivated tester this is pure pita and partially even not possible. or should i debug with a veeeeeeeeeeeeeery long cable to your devce? *gg*) anyway i wish much fun with the functions which are working on the SGH-I467M.
[Galaxy Note 8.0 (Tablet) Android Development] Newcostumer:
uh difficult because of 3 things: it didn't happen without any logs :) driver did not got changed by me so i guess its happeneing with stock kernel too and last but not least bluetooth issues are always ugly.

anyways if i have time i might have a look into RR kernel source maybe there is something to pick related to bluetooth. but as said u better don't touch bluetooth driver because u might open up hell.

Well okay I don't know anything about logs. I only have that Bluetooth problem with this gaming controller, all other Bluetooth connection with my phone or amp works. Probably the connection works also with another controller, so well it is a pity to bought the one which doesn't work with the kernel. But if you can do something it would be nice otherwise I have to test another controller or waiting for if I get bored to gaming.

Another thing is the wifi connection stops if the screen is off, and I listening some music via YouTube background playback.

This is more important than the Bluetooth I guess that WiFi don't stops in sleep mode.
[Galaxy Note 8.0 (Tablet) Android Development] luckysoul777:
Do you live in the San Francisco bay area?
[Galaxy Note 8.0 (Tablet) Android Development] luckysoul777:
[MENTION=3279788]ZaneZam[/MENTION],

I made some progress in the last few days. Now I've learned how to compile a LineageOS ROM in addition to changing the config file for a kernel, compiling and dropping it into AnyKernel. However, making the kernel to look for the right MIC or do light sensing without bothering with proximity sensor doesn't appear to be something that can be accomplished by modifying the config file. Would you please kindly nudge me in the right direction? Thank you

By the way, what are the differences between these branches on github? For example, boeffla14.1_n5120 vs boeffla14.1_n5120_u800 vs u721, etc...
[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
nope, i'm even not on your continent :)

oh nice man bravo keep it up, that's the way things start for people here. u want something no one did/want to do and u just start DIY and maybe share it later then :)

ehm:

1.) yes to fix the problems it might be more than just adjusting the kernel config file. unfortunately. the GT-N51x0 source tree might miss some drivers or your device is using different ones (most likely that).

u would need to find a stock source tree to compare it with the GT-N51x0 one or even better would be to use the latest stock source tree of your device and rebase boeffla changes on it. ;)

2.) the branches are for my "other project" 'im building lord boefflas sources (almost all kernels) with different toolchains/flags. lets say it's some kind of fine tuning. these builds tend to be faster/smoother than the "stock ones".

the "u800" means this branch is used for building with the Uber toolchain v8.0.0 the u721 with Uber v7.2.1 etc. the *l* ones are the Linaro toolchain variants.
[Galaxy Note 8.0 (Tablet) Android Development] luckysoul777:
Thank you so much for the tip!

---------- Post added at 01:24 AM ---------- Previous post was at 12:52 AM ----------

What toolchain is used for boeffla14.1-n5120? It doesn't have the U or L suffix. In my particular case, which toolchain would you recommend? Thank you
[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
yes these are the branches to use with stock google toolchain. back then it was a gcc v4.7 but meanwhile it's v4.8 u can use this https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8 and u should be good to go, its the one i use. for the rom i can't give advice, never did build one ;) good luck and fun.
[Galaxy Note 8.0 (Tablet) Android Development] luckysoul777:
Thanks!

By the way, did you change something for the radio when you created the Boeffla kernel for N5120? The 'stock' LineageOS ROM wouldn't detect the SIM in my I467M, but the Boeffla kernel does!
[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
not entirely sure anymore it's too long ago but i think the diff between the n51x0 variants in this case is really "just" the kernel config. the rest was in the rom done by rgib ;)

maybe i've enabled/disabled something (which influences the modem) for this boeffla kernel which the stock kernel doesn't have enbabled/disabled. but this is then just a

coincidence that it works for your device. in short: no i think not. ;)
[Galaxy Note 8.0 (Tablet) Android Development] luckysoul777:
Thanks! Truly enjoying this coincidence! Haha
[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
hehe yah im not gonna "fix that" in this case :)
[Galaxy Note 8.0 (Tablet) Android Development] Buff99:
[MENTION=6478116]luckysoul777[/MENTION] - diff is your friend...
[Galaxy Note 8.0 (Tablet) Android Development] luckysoul777:
Thanks! I'll try it out...
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
Try to install latest rom of rgib and then switch selinux to permissive.Do not change kernel. Is the Sim detected?
[Galaxy Note 8.0 (Tablet) Android Development] luckysoul777:
This is MAGIC! Thank you!

Yes, the LATEST ROM (March 17, 2018) + selinux = permissive detects the SIM!

ZaneZam isn't sure what he did in the Boeffla kernel to make the SIM detectable since it's coincidence. Selinux = permissive could be the reason.

---------- Post added at 07:10 AM ---------- Previous post was at 07:04 AM ----------

@Giowi,

Now I can't help asking this question. Why is selinux = permissive necessary to detect a SIM? Most phones have it in enforce mode after all!

Thanks
[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
New Release!

Hi Guys,

A new maintenance LOS14.1 update is available for GT-N5100/GT-N5110/GT-N5120 with following Changelog:

Version 4.0-beta11

21.03.2018

Update: Updated with latest official LineageOS kernel commits up to 19.01.18 (ZaneZam)

Important: I meanwhile advice to switch ext4 tweaks and dynamic fsync to off for optimal data integrity. Use these two options on own risk.(Lord Boeffla)

Change: Internal kernel busybox updated to latest version 1.28.1 (self-compiled from sources, www.busybox.net)(Lord Boeffla)

Change: Improved support for "Magisk Hide" functionality (credits to Ярик)(Lord Boeffla)enjoy!

Enjoy!

ZZ
[Galaxy Note 8.0 (Tablet) Android Development] luckysoul777:
Do you mean CM14.1 instead?
[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
of course c/p error :) thx fixed!
[Galaxy Note 8.0 (Tablet) Android Development] Newcostumer:
Still the best battery drain with performance very awesome. ;)
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
Can you share your kernel profile?
[Galaxy Note 8.0 (Tablet) Android Development] Newcostumer:
At the moment I don't using the kernel I can give you some settings.

Governor/ zzmoove, profil/ moderate or pegasusq, profil pegasus moderate (for me zzmoove is very good)

Scheduler/ zen

CPU TWEAKS/ IDLE + LPA, undervolting -25

GPU Frequenzy 160/266 undervolting -25

With governor profil you can also try battery and battery yank just make some tests. Undervolting saves a lot but in some cases I don't think it is necessary you can also try light undervolting.

You can safe that profile as battery friendly, it was a further profile preset already in the konfig app.

With these settings I have around six hours battery life and it is enough for two movies 4 hours. My battery is nearly 5 years old if you have a new battery it could be around 10 hours and 3 movies. For sure it depends how you using your tab.

I use my n5110 every day for everything so I'm a good tester I think. ;)
[Galaxy Note 8.0 (Tablet) Android Development] luckysoul777:
Hello ZaneZam,

A "stock" LineageOS N5120 kernel cannot detect the SIM in SGH-I467M. However, if I manually change Selinux to permissive, the SIM is then detected.

Since Boeffla kernel can detect the SIM out of the box, I thought perhaps you changed the Selinux setting in the kernel defconfig file. However, when I compare it to the one in N5120, anything related to Selinux is identical between the two. I know you didn't purposely engineer Boeffla to support I467M, but can you think of anything in Boeflla making the SIM in I467M detectable? Thank you
[Galaxy Note 8.0 (Tablet) Android Development] Giowi:
deleted
[Galaxy Note 8.0 (Tablet) Android Development] Nesstoy:
Hello everyone!! I want to thank the developers of this kernel for their wonderful work accomplished.

It's a wonder I installed Magisk for root with lineage 14.1 and, it runs super no problem at the moment.:bien:

Continue, I intend to buy the app on google playstore to support you.

Courage to you.
[Galaxy Note 8.0 (Tablet) Android Development] glockman4519:
I have been running this kernel as far back as I can remember. If it supported my device, Boeffla kernel is on it. I recommend this kernel to everyone with this tablet and now, in nougat, this is the way to go for installing Magisk effortlessly. [MENTION=3279788]ZaneZam[/MENTION] has done a great job putting his own spin on the Great [MENTION=832014]lod[/MENTION]Boeffla kernel. So I have to agree totally with you. Many thanks to the devs for keeping this aging tablet up to date.
[Galaxy Note 8.0 (Tablet) Android Development] vuut:
Which Rom you running with it

Gửi từ SM-A510F của tôi bằng cách sử dụng Tapatalk
[Galaxy Note 8.0 (Tablet) Android Development] glockman4519:
Right now, Lineage 14.1. But I was on RR, both N and MM versions and Boeffla works great on them as well. I also recommend it on any of the stock builds too.

"Chance Favors the Prepared"
[Galaxy Note 8.0 (Tablet) Android Development] vuut:
can U share me Rom and kenel using it ( me too My battery is nearly 5 years old )
[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
Stable Final Release!

Hi Guys,

A bit delayed after [MENTION=947981]Lord Boeffla[/MENTION] made his i9300 Kernel EOL it's finally time to close this chapter here too with a final LOS14.1 version

for the good old GT-N5100/GT-N5110/GT-N5120 and with following Changelog:

Version 4.0 Stable Final

26.08.2018

Update: Sync with latest with latest official LineageOS kernel commits (ZaneZam)

Change: Ext4 tweaks and dynamic fsync are disabled be default (Lord Boeffla)

Change: Build script enhancements (Lord Boeffla)

This kernel is end-of-life now and marks the end of my support for LineageOS.

There will be no LineageOS 15 kernel anymore.

NOTE: downloads and changelogs were moved into the "Downloads/EOL Kernel" area of the homepage www.boeffla.de

Enjoy!

ZZ
[Galaxy Note 8.0 (Tablet) Android Development] :
Thank you for the update, although it is sad to see the only (mostly) working Android 7.x kernel for n5120 go EOL.

The kernel from LineageOS is buggy and requires to be recompiled with SELinux set to permissive for mobile network to work at all. This one is already set to permissive, so it does connect to the network, but the network type is stuck at LTE and cannot be changed to anything else.
[Galaxy Note 8.0 (Tablet) Android Development] glockman4519:
Latest build build running great. Many thanks for keeping this tablet relevant. It's getting long in the tooth but still a great little tablet.
[Galaxy Note 8.0 (Tablet) Android Development] ctrlaltdel:
random reboot

I may have done something wrong as I kept getting random reboot after flashing this kernel. I only flashed the following in order to my N5120

1 - Official LineageOS 14.1 by rgib (lineage-14.1-20181006-nightly-n5120-signed.zip )

2 - Latest OpenGApp pico for Android 7.1

3 - Boeffla Kernel CM 14.1 4.0

4 - Magisk v17.1

Random reboot normally happens when the device is idle ... the device is stable if I not flashing the Kernel. I tried the RR rom and same happens, random reboot when idle once adding the kernel to the setup
[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
nothing wrong as i think i can confirm that (would need to check again as i had no time to do anything - less time these days) had that too couple of roms ago but it stabilized again after flashing a certain rom. not sure if it helps but can u try to reset boeffla kernel app settings and be sure that u do use the 200mhz lowest cpu freq instead of the 100mhz and the default governor interactive. all i can quickly advice atm. will have a look when i have time.
[Galaxy Note 8.0 (Tablet) Android Development] lohtse:
what is the very latest version of this kernal for los14.1??? theres a few differnt ones on the hosted pages but no suggestion whats is the news..
[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
that would be the version 4.0 for all devices for example: https://kernel.boeffla.de/zanezam/n5110/boeffla-kernel/Stable_cm14.1/ for the n5110, exchange "n5110" to the device u need.

be aware the website is going down soon. but u can get the images also from here: https://androidfilehost.com/?w=files&flid=151063 or u can use also the optimized builds i provide from here:

https://xdaforums.com/galaxy-s3/dev...ro-zzmoove-t2629184/post49879602#post49879602
[Galaxy Note 8.0 (Tablet) Android Development] Recyo:
Why cant download that art,?? i've n5100 with cm13 i need download link plz
[Galaxy Note 8.0 (Tablet) Android Development] locce:
+1

Gesendet vom Note 8 / Brown /3g
[Galaxy Note 8.0 (Tablet) Android Development] Romcrazguy:
[MENTION=3279788]ZaneZam[/MENTION] I followed your instructions to set to boot but it doesnt stick also my samsung bootanination has disappeared as I am getting a black screen as well which isn't a big deal ..What do you suggest to do and is anyone else settings sticking
[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
no boot animation? that's really strange ok can u please do following: in config app under "action" tap on "create debug file" and mail it to support-zz@boeffla-kernel.de - you can find the file on your internal sdcard in the folder /boeffla-kernel-data that gives me an overview about your system settings, boeffla kernel and app log etc. maybe i can find the problem for u then ;)
[Galaxy Note 8.0 (Tablet) Android Development] Romcrazguy:
Sent?
[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
Ok thanks Romcrazguy, and i already found something :)

i post it here because i think it's also important for others with similar problems:

you have following init scripts in your /etc/init.d folder, some of them can overwrite boeffla config settings:

saw some of them in civz kernel, do you use also civatos rom?

00test -> this is for testing if init.d folder works

01darky_zipalign -> is for zipaligning apk's during boot up -> suggestion from me: such a process during boot can produce massive problems if its somehow interrupted so it's NOT recommended to do that during boot up but it will anyway not be executed by boeffla kernel init process - Lord Boeffla made an exception here because of troubles in the past ;)

02initD -> sets right permissions for scripts in init.d

04_diskio_fixup -> optimized remount for data and cache therefore influences ext4 setting in boeffla config!

05get-gps-lto -> GPS lto fix

99SuperSUDaemon -> starts super su daemon

99ktcputweaks -> assuming that it sets cpu tweaks so it might overwrite boeffla config settings!)

99ktgputweaks -> assuming that it sets gpu tweaks so it might overwrite boeffla config settings!)

99ktmisctweaks -> might overwrite boeffla config settings!

99ktsysctl -> might overwrite boeffla config settings!

99ktvoltage -> might overwrite boeffla config settings!

i would suggest that you delete/move the red ones and see if boeffla config values are sticking afterwards.

about the boot animation: you were using a custom boot animation (maybe provided by the rom?) and it's not playing for any reason hence the "black" screen, so if u want to have stock animation back just delete/move the file /data/local/bootanimation.zip or /system/media/bootanimation.zip ;) i will check that for next versions because honestly i got the same problem and never got an custom boot animation

running with boeffla kernel yet.

EDIT: ah and i forgot one important thing in addition in case of civatos rom: dunno if that it the case but if synapse has any auto apply functionality after boot, disable that or uninstall/freeze the app!

good luck ;)
[Galaxy Note 8.0 (Tablet) Android Development] Romcrazguy:
ZaneZam I deleted all initd files rebooted and BAM it worked!!! Everything is sticking ...Thank you!! Any recommendation of schedulers that's battery friendly with no lag
[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
Fine, very well! Deleting all of them was not really nessesary but ok mission accomplished :)

I think scheduler's has a very little impact on battery but yes in terms of "lagginess" u can see diffences. I was a long term zen/zzmoove (governor combination counts here too!) Then a mid long term row fan. but due to write problems which can accure with row (and are normal with this scheduler) when writing much data (for example when recording videos) i'm meanwhile back again on cfq :) but at the end as always u have to try and see which one "feels" best for u. But as mentioned governor combination counts too. Im naturally zzmoove affected *g* and cant say much about other combos ;)
[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
So and now i found the problem with the bootanimations a stubit mistake i forgot to add something important :o

will be fixed in next version!
[Galaxy Note 8.0 (Tablet) Android Development] glockman4519:
Working great now. Had some initial lock ups of the system itself upon the first boot. But finally smoothed out. Running Torek Nor rom and some Xposed modules. No boot animation but completed the boot just fine. Nice work.

---------- Post added at 02:00 AM ---------- Previous post was at 01:25 AM ----------

This really make music sound great. I can't believe the difference.
[Galaxy Note 8.0 (Tablet) Android Development] jewnersey:
Flashed and my internal storage disappeared , or is unmounted. Saw there are ums options in kernel (or at least in the faqs) but don't necessarily think that applies to internal storage and can't see it in the app. Help?

It's mounted at data/media/0 but the note doesn't seem to understand. Trying to download from browser reports "no SD card"
[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
great if it's working now! you talked about system/framework freezes/restarts right after bootup, well i have them too and that for a long time now and not only on the Note i have the same (almost exactly the same) freezes from time to time also on my S3. i also use xposed on both devices which i suspect to be the cause maybe just in combination with boeffla config but i didn't investigate yet ;)

beside of that did u check if your rom has any init scripts included? as stated in recent posts i recommend (not only i lord boeffla does the same *g*) to clean out init.d and see if the problems are gone then, some of them might clash with boeffla config as you can read above ;)

and yesss boeffla sound is definitely great! kudos to my friend Andi! :D

eeeh sounds not so good if run into such mount problems! :( can u plz shed some light for me and make a debug log file in config app and send it to support-zz@boeffla-kernel.de. maybe we can catch that problem, for me it works well meanwhile but i had similar troubles right after update from JB->KK so lets see if i can use that experience to find something.

and no UMS mode is not possible on our device (at least the "hack" is not working atm.) and is disabled (u can see it but not enable it in config app) so this can not influence mounting ;)
[Galaxy Note 8.0 (Tablet) Android Development] jewnersey:
happy to grab a log. But is there anything specific you'd like me to do. And basically my log knowledge is limited to using catlog...running a few things (in this case I might just try to download since that is the only time it reports no sd)... And then saving it.

BTW if I flash back to a different kernel everything gets restored to normal.
[Galaxy Note 8.0 (Tablet) Android Development] ZaneZam:
no no there is no need to dig araound for logs with boeffla kernel just do following like here: http://xdaforums.com/showpost.php?p=54401234&postcount=43

then i have an overview and might be able to get some information about the issue, great thing such a all-in-one debug file creation originated by lord boeffla, again kudos! :D

EDIT: wait i just recognised that u have no internal storage available! argh then it would be difficult to create that file because it would be stored there , and the issue that i had was with exfat respectively with the external sdcard so another one! Ok then the hard way :D i'll get back to you per PN but earliest tomorrow have to take a nap beforehand :)