Related
Does anyone have the 3.4.0 beastmode kernel that's compatible with the allshare cast dongle .. reason I'm asking is because I heard that it is a "custom" kernel that connects to the all share cast dongle .. which sets my selinux status to permissive which I need for an application that I use with the dongle.. supposedly the dongle only supports stock kernels which keeps my selinux status at enforcing... I'd like to test a beastmode 3.4.0 kernel to see if the allshare cast dongle will actually screen mirror on custom kernel.. so far none of the newer version beastmode kernels work .. TIA ?
I'm on nc5d kitkat
chico260 said:
Does anyone have the 3.4.0 beastmode kernel that's compatible with the allshare cast dongle .. reason I'm asking is because I heard that it is a "custom" kernel that connects to the all share cast dongle .. which sets my selinux status to permissive which I need for an application that I use with the dongle.. supposedly the dongle only supports stock kernels which keeps my selinux status at enforcing... I'd like to test a beastmode 3.4.0 kernel to see if the allshare cast dongle will actually screen mirror on custom kernel.. so far none of the newer version beastmode kernels work .. TIA ?
I'm on nc5d kitkat
Click to expand...
Click to collapse
Latest beast kernel is version 1.6. Nothing beyond that build for TouchWiz KitKat.
Sent from my SM-N900P using Tapatalk
@chico260 could you possibly be looking for leankernel 3.4? http://forum.xda-developers.com/showthread.php?t=2488082 click the other n900x download link and get the hltespr 3.4 hope this is what your looking for. Can't test as I have nothing to cast to but leankernel is my preference over beastmode but its only a personal preference.
Thnx man !.. I'll check it out after work
So guys ive experimented a bit and found out how to compile a kernel from source. Some guys here are waiting for permissive kernel to install linux deploys etc. Here it is. Not perfect yet, but seems to work. Has nothing special features. Uses my ramdisk from my xKat Rom with init.d support. So please dont ask for more features!! Its mostly pure stock. When i try to build a custom kernel, i will make a new thread for it.
Download
Stock_KK_Permissive_Kernel_NG1-p605
Stock_KK_Permissive_Kernel_NJ1-p605
Stock_KK_Permissive_Kernel_OB1-p605
How to install
Download the file and place the Zip on your intern or extern memory.
boot into Recovery
go on install into TWRP
look for where you placed the Zip
click on the zip an slide to the right
after that go to reboot
How to set permissive?
Permissive is not activ on boot. So use the App "Terminal Emulator"
open it
type su
type setenforce 0
to check it type
getenforce
and you will see its permissive now. But only for this session. If you rebot your device it will enforcing again.
Better choice is the App "SElinux Mode Changer".
Install it from Play Store
and set on permissive
It works with any boot now.:good:
Troubleshooting
if you have trouble with WLAN, delete your connection onetime
reconnect to your accesspoint and WLAN will work again.
Picture
View attachment 2886592
Please hit "thanks" and rate this thread if you like my work or buy me a beer
Good, thanks a lot. Did you face problem like me - when compiled zImage, updated boot.img using abootimg -u -k ../../arch/arm/boot/zImage ...
I was flashed it and get into download mode. Tablet sayed - cannot boot os or something similar. Sorry for bad english.
Great job. Works fine. Thx
@Tautvaldas
Didnt tried it yet. Ive made it on windows cause my ramdisk of the NG1 kernel was there.
i made mine too, i did all the stuff like uv and zzmove gov added in,, but got problem during flash, sad
will test your thanks
Can someone build kernel with framebuffer console support - http://blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:fbcon
@hanspampel
A noob question - but it's better to be sure before start doing something
Moreover - you are the only who made a custom kernel for this device :highfive:
So: is it true I should only replace boot.img with original one (from original tar.md5 package) and change "misc" file with "ro.securestorage.support=true" to obtain zip recovery for flashing original kernel back?
Hi
Yepp it should work this way.
So added to this kernel the latest NJ1 ramdisk. Download in OP.
hanspampel said:
So added to this kernel the latest NJ1 ramdisk. Download in OP.
Click to expand...
Click to collapse
Isn't NK1 the latest one? Or no difference as for kernel part?
Yepp your right. NK1 is the latest, but my rom uses the dbt where is NJ1 the latest. But the NG1 works on NJ1 FW too. So i think there is no real modification on samsung side. Beside there is no another update from sources for p605 available. So that means, is there a modification from samsungs side, then only in ramdisk. This is why i changed it to NJ1 one. Maybe there is one who knows.
hanspampel said:
Yepp your right. NK1 is the latest, but my rom uses the dbt where is NJ1 the latest. But the NG1 works on NJ1 FW too. So i think there is no real modification on samsung side. Beside there is no another update from sources for p605 available. So that means, is there a modification from samsungs side, then only in ramdisk. This is why i changed it to NJ1 one. Maybe there is one who knows.
Click to expand...
Click to collapse
OK, and what about latest P605XXUDOB1?
Hi, sorry for late reply. So there is no newer update of kernel sources available. Only changing of ramdisk of newer fws is possible. But nobody knows if there are changes between the fws.
So added to this kernel the latest OB1 ramdisk. Download in OP.
hanspampel said:
So added to this kernel the latest OB1 ramdisk. Download in OP.
Click to expand...
Click to collapse
Thank you very much for not forgetting this project!
Just installed it - works well!
Hi hanspampel....can you help me,to make usb otg and charge make possible on the p605. I have the lavalink adapter tl-002,but wont work. Must be a kernel thing......would be phantastic.....
Gesendet von meinem SM-N9005 mit Tapatalk
hanspampel,
are you going to continue your work for 5.1.1?
Official sources for the kernel are already published here.
Yes i know. But atm i have not a building system runnig. So maybe if i found some time to setup all the stuff, we can get a new kernel. maybe. Not now, not tomorrow.
Sweep2Sleep kernel module
This module allows you to sweep across the navigation bar at the bottom of the screen to put the phone to sleep.
This works with the stock kernel and requires SuperSU
The versions for 2.7 and 3.35 bases work with EX Kernel Manager. The settings are located at /sys/sweep2sleep/sweep2sleep
Download:
3.35 base (Marshmallow)
https://www.androidfilehost.com/?fid=24369303960689725
2.7 base
https://www.androidfilehost.com/?fid=24052804347765936
1.32 and 1.40 bases
https://www.androidfilehost.com/?fid=23991606952593922
Installation:
Flash in recovery
Options:
Sweep left, sweep right or sweep either left or right to put the phone to sleep.
Do it the easy way with EX Kernel Manager or edit /system/su.d/40s2s to change sweep settings
Manual usage:
insmod /system/lib/modules/s2s_mod.ko
Source:
https://github.com/flar2/m9-sweep2sleep
XDA:DevDB Information
Sweep2Sleep for HTC One m9, Kernel for the HTC One (M9)
Contributors
flar2
Source Code: https://github.com/flar2/m9-sweep2sleep
Kernel Special Features:
Version Information
Status: Testing
Created 2015-04-29
Last Updated 2016-01-20
Thanks @flar2 much appreciated mate?
Edit: confirmed as working with my kernel
Doesn't work on my att model tried fixing permissions to match other modules .. checked to make sure module was there and script was in init.d.. anything else o could try flar?
I haven't really used this, as I just built it this morning. Let me know about the usability. I may have to adjust the sweep distances and locations.
Johnny424 said:
Doesn't work on my att model tried fixing permissions to match other modules .. checked to make sure module was there and script was in init.d.. anything else o could try flar?
Click to expand...
Click to collapse
There are a couple things.
The module probably only loads with the kernel named 3.10.49-ga24f2d5. I didn't check to see if we need to match the kernel name or modversions. Either way, if there is an error on insmod, the solution is to hexedit the module, or recompile it against the specific source of the running kernel.
To test this, in terminal, type the following:
Code:
su
insmod /system/lib/modules/s2s_mod.ko
If there is an error, look at dmesg to see what the problem is.
The "stock" stock kernel does not have init.d support, so it will not load automatically. If you've verified above that the module loads, you can search around the forums for init.d solutions. Or if you have SuperSu, you can move the script from /etc/init.d/40s2s to /system/su.d/40s2s
Using your latest..will see if it's loading
Johnny424 said:
Using your latest..will see if it's loading
Click to expand...
Click to collapse
It probably doesn't load with my kernel. I installed the stock to test it since I figured most were using stock. I haven't had time to work on my kernel, but I have plans to add complete wake/sleep gesture support to it, hopefully this weekend.
Fair enough .. thanks
Thanks for this mod, and it works for MaximusHD 1.0.0 (3.10.49-g5c16a62)
412070391 said:
Thanks for this mod, and it works for MaximusHD 1.0.0 (3.10.49-g5c16a62)
Click to expand...
Click to collapse
Thanks for the confirmation. This tells me that if kernels are released where this doesn't work, the modversions CRC values will have to be hexedited to match the symbols in the kernel.
flar2 said:
Thanks for the confirmation. This tells me that if kernels are released where this doesn't work, the modversions CRC values will have to be hexedited to match the symbols in the kernel.
Click to expand...
Click to collapse
Confirmed working brilliantly on insert coin using LeeDroids kernel. Thank you immensely
Works great. Thx flar2!
flar2 said:
Sweep2Sleep kernel module
Click to expand...
Click to collapse
Cleverly written, excellently done!
Works just as nice indeed (compiled from your sources -- and a special thank for sharing them)!
Yet you had to strip the release version you supply with the zip, hadn't you?
It'd be 20 times smaller
flar2 said:
It probably doesn't load with my kernel. I installed the stock to test it since I figured most were using stock. I haven't had time to work on my kernel, but I have plans to add complete wake/sleep gesture support to it, hopefully this weekend.
Click to expand...
Click to collapse
Does this work with you 0.2 Kernel? Thanks in advance.
jollywhitefoot said:
Does this work with you 0.2 Kernel? Thanks in advance.
Click to expand...
Click to collapse
No, but 0.3 will have it built in
flar2 said:
No, but 0.3 will have it built in
Click to expand...
Click to collapse
Thanks
nice, this mod also works on 1.40.xxx.x based rom
delete
Check OP for a new module that works with the 2.7 base
The new module is compatible with EX Kernel Manager
New 2.7 base working great on VZW Android 5.1 - 2.6.605.10 base with stock kernel, no init.d support, but simply created the su.d folder and added the module in there and works as should, thank you kindly.
complied from https://github.com/therootlord/android_kernel_motorola_msm8953
not my code, just sharing because i keep seeing people complain about magisk mods
Features:
-F2FS bug fixed (can flash magisk modules on stock)
-not sure what else
Flash in twrp
TODO:
-kexec-hardboot
-disable force-decrypt
Stock NPS26.116-45 kernel zip: Link
This was my first kernel compilation, let me know if something isn't working
Extreme-Plus-Kernel-nrdgd-1.zip compiled on nov-18-2017 Link: Google Drive
UPDATE, just found out wifi doesnt work, sorry, been traveling and didnt think to test. everything else seems to work tho.
heres an older version of the kernel not compiled by me until i figure this out
UPDATE 2 - wifi fixed
Extreme-Plus-Kernel-nrdgd-2.zip compiled on nov-19-2017 Link: Google Drive
It boots with aex 7.x - to early to say more
Phazmos said:
It boots with aex 7.x - to early to say more
Click to expand...
Click to collapse
wifi doesnt work for me, let me know if its working on yours and which model you have if you can
until then check OP for older version of the same kernel
wifi fixed
Ae3NerdGod said:
wifi doesnt work for me, let me know if its working on yours and which model you have if you can
until then check OP for older version of the same kernel
wifi fixed
Click to expand...
Click to collapse
Didn't notice it was broken - us version here.
It booted, but was very slow and laggy, even did a system cache wipe....Then restoring the default boot.img had wifi not working....Just FYI for those who want to try...Do a backup
Is the only benefit to have magisk modules on stock rom? I have XT1806 rooted TWRP r9 Gladius Magisk 14.3 flashed this kernel but kept booting straight to recovery...had to do a full restore. I'm looking for custom kernels that provide speed and power benefits. Thanks
Would you mind sharing the build sequence/commands?
THERAJ12 said:
Is the only benefit to have magisk modules on stock rom? I have XT1806 rooted TWRP r9 Gladius Magisk 14.3 flashed this kernel but kept booting straight to recovery...had to do a full restore. I'm looking for custom kernels that provide speed and power benefits. Thanks
Click to expand...
Click to collapse
Just a note on kernels
I've tested many many kernels on many devices. When they are configured the same, performance/battery is about the same. Any difference was slight enough to be considered noise in the test methods. I always suggest to learn about kernel parameters then tweak it to the way you want. Any kernel will give more performance, or battery life, or anything between - all depends on how you configure it.
Ps - same device, same twrp, supersu instead of magisc, no problems. Except seems not compatible with ex kernel manager - it doesn't apply settings. I believe it doesn't set proper permissions to be able to write. But hey, it's young and a stockish kernel, hope to see more.
Phazmos said:
Just a note on kernels
I've tested many many kernels on many devices. When they are configured the same, performance/battery is about the same. Any difference was slight enough to be considered noise in the test methods. I always suggest to learn about kernel parameters then tweak it to the way you want. Any kernel will give more performance, or battery life, or anything between - all depends on how you configure it.
Ps - same device, same twrp, supersu instead of magisc, no problems. Except seems not compatible with ex kernel manager - it doesn't apply settings. I believe it doesn't set proper permissions to be able to write. But hey, it's young and a stockish kernel, hope to see more.
Click to expand...
Click to collapse
EXKM seems to work fine on AEX rom using the butterfly governor good battery life and smooth.
revengineer said:
Would you mind sharing the build sequence/commands?
Click to expand...
Click to collapse
i had to use his toolchain, and fix a few includes for it to work. im going to try different ones to try and figure out the lag, maybe thats not whats causing it but im new at this . been reading logs all day
smokinjoe2122 said:
It booted, but was very slow and laggy, even did a system cache wipe....Then restoring the default boot.img had wifi not working....Just FYI for those who want to try...Do a backup
Click to expand...
Click to collapse
yeah, sorry. new at this. dont know if @geneticengineer wants me passing his old kernels he hasnt posted around either. if you can find his afh, he has a really old one on there thats way faster. im still learning, im working on pulling the stock modules and kernel to make a back to stock zip rn actually will post soon if you keep using it, it speeds up a tiny bit lol
THERAJ12 said:
Is the only benefit to have magisk modules on stock rom? I have XT1806 rooted TWRP r9 Gladius Magisk 14.3 flashed this kernel but kept booting straight to recovery...had to do a full restore. I'm looking for custom kernels that provide speed and power benefits. Thanks
Click to expand...
Click to collapse
planning kexec hardboot and disable force decrypt when i get the hang of this.
Phazmos said:
Just a note on kernels
Ps - same device, same twrp, supersu instead of magisc, no problems. Except seems not compatible with ex kernel manager - it doesn't apply settings. I believe it doesn't set proper permissions to be able to write. But hey, it's young and a stockish kernel, hope to see more.
Click to expand...
Click to collapse
actually i think i missed something in defconfig that enables the secondary processor, im also going to switch toolchains, expect a new kernel in a few days
Here's a link to GeneticEngineer's AFH-hosted original kernel from the TWRP thread. I don't think he'll mind it being reposted in this thread. This should tide people over until you can iron out the bugs in your build.
https://www.androidfilehost.com/?fid=745425885120765462
Thanks for picking up the baton and running with it, incidentally. I did ask GeneticEngineer to create a thread for his kernel but perhaps he missed the message.
THERAJ12 said:
Is the only benefit to have magisk modules on stock rom? I have XT1806 rooted TWRP r9 Gladius Magisk 14.3 flashed this kernel but kept booting straight to recovery...had to do a full restore. I'm looking for custom kernels that provide speed and power benefits. Thanks
Click to expand...
Click to collapse
i actually get those weird reboot to recovery bugs all the time on this device and 2 things fix it, booting to bootloader and picking "start" or a full restore
I tried version 2. I still couldn't get it to pass Magisk SafetyNet. I also noticed that this kernel breaks fingerprint gestures.
bishop0114 said:
I tried version 2. I still couldn't get it to pass Magisk SafetyNet. I also noticed that this kernel breaks fingerprint gestures.
Click to expand...
Click to collapse
GeneticEngineer's original both passes SafetyNet and leaves fingerprint gestures functional on my otherwise stock single Sim EU version:
https://www.androidfilehost.com/?fid=745425885120765462
Loccy said:
GeneticEngineer's original both passes SafetyNet and leaves fingerprint gestures functional on my otherwise stock single Sim EU version:
https://www.androidfilehost.com/?fid=745425885120765462
Click to expand...
Click to collapse
Thanks. I tried it and still wouldn't pass SafetyNet. The fingerprint gestures worked though. I am running it on a secondary ROM. Maybe that is causing the issue?
Loccy said:
GeneticEngineer's original both passes SafetyNet and leaves fingerprint gestures functional on my otherwise stock single Sim EU version:
https://www.androidfilehost.com/?fid=745425885120765462
Click to expand...
Click to collapse
I've built a fully working stock kernel which has the needed commits for Magisk modules to work correctly and passes SafetyNet [emoji6]. Need to do some more updating (upstream) but I plan on posting it soon, probably new thread (Resurrected Kernel).
bishop0114 said:
Thanks. I tried it and still wouldn't pass SafetyNet. The fingerprint gestures worked though. I am running it on a secondary ROM. Maybe that is causing the issue?
Click to expand...
Click to collapse
A stock based kernel isn't gonna play well with custom ROMs, unless your secondary ROM is a stock ROM? I plan on creating one for cm-14.1+ based ROMs too.
Jleeblanch said:
I've built a fully working stock kernel which has the needed commits for Magisk modules to work correctly and passes SafetyNet [emoji6]. Need to do some more updating (upstream) but I plan on posting it soon, probably new thread (Resurrected Kernel). A stock based kernel isn't gonna play well with custom ROMs, unless your secondary ROM is a stock ROM? I plan on creating one for cm-14.1+ based ROMs too.
Click to expand...
Click to collapse
If you need someone to beta test it, let me know. It is the only reason I am not running stock.
Features:
Based on Linux 4.19.187
kLapse
kCal
Boeffla wakelock blocker
WireGuard
Enabled a few TCP cong algos
Power efficient cores by default
Upstreamed to latest longterm 4.19.x branch
Tweaked out defconfig
much, much more.
Will add more later
No fancy installer.
Simply flash the image or zip in TWRP.
Magisk is included.
Thanks:
@flar2
@jimbo77
@arter97
@kdrag0n
@Sultanxda
@Mentalmuso
@morogoku
@elliwigy for hooking it up with the bootloader unlock service
More to come..
Source: https://github.com/freeza-inc/bm-galaxy-s20-ultra-snap-r
Releases: https://github.com/freeza-inc/bm-galaxy-s20-ultra-snap-r/releases
vR112: Linux 4.19.187
vR111: Linux 4.19.186
-April security patch level
vR110: Linux 4.19.185
vR109: Linux 4.19.184
vR108: Linux 4.19.183
vR107: Linux 4.19.182
vR106: Linux 4.19.181
-March security patch level
vR105: Linux 4.19.180
vR104: Linux 4.19.179
vR103: Linux 4.19.178
vR102: Linux 4.19.177
vR101: Linux 4.19.176
vR100: Linux 4.19.175
vR98: Linux 4.19.174
vR90: Linux 4.19.173
-Disabled MORE things in defconfig
-Security patch level to 2021-02
vR89: Linux 4.19.172
-Latest Magisk Canary
-Disabled a few things in defconfig
vR86: Linux 4.19.171
-Latest Magisk Canary
-Disabled a few things in defconfig
vR85: Linux 4.19.170
-Disabled a few things in defconfig
vR84: Linux 4.19.169
-Disabled a few things in defconfig
vR83: Linux 4.19.168
-Disabled a few things in defconfig
vR82: Linux 4.19.167
-Other cherry-picks
Congrats. The kernel is actually a beast
I thought its unified for S20 family. Went straight to twrp and flashed the kernel on my Y2Q and it bricked immediately lol. Do you plan to support the S20+ and the standard S20 on the future?
keaheng said:
I thought its unified for S20 family. Went straight to twrp and flashed the kernel on my Y2Q and it bricked immediately lol. Do you plan to support the S20+ and the standard S20 on the future?
Click to expand...
Click to collapse
Lol sorry about that! Yeah I'm definitely planning on supporting the rest of the s20 line soon.
freeza said:
Yeah I'm definitely planning on supporting the rest of the s20 line soon.
Click to expand...
Click to collapse
That is amazing news! Thanks
Nice work been running great right out of the box thank you!!
Is this for stock rom
rayraycarter4 said:
Is this for stock rom
Click to expand...
Click to collapse
Yes
freeza said:
Yes
Click to expand...
Click to collapse
I flashed it on ui 3.0 rom and got bootloops
rayraycarter4 said:
I flashed it on ui 3.0 rom and got bootloops
Click to expand...
Click to collapse
Are you stock rooted
JDBarlow said:
Are you stock rooted
Click to expand...
Click to collapse
I'm using bklyn_syed 3.0 ui rom
rayraycarter4 said:
I'm using bklyn_syed 3.0 ui rom
Click to expand...
Click to collapse
Were you coming from another custom kernel or stock kernel
I had weta kernel installed on stock and then flashed bm kernel and mine bootlooped. When I installed Ali's rom I installed bm kernel right after flashing magisk on the first boot and it booted right up..I've flashed back and forth between the 2 kernels now with no issue..
JDBarlow said:
Were you coming from another custom kernel or stock kernel
I had weta kernel installed on stock and then flashed bm kernel and mine bootlooped. When I installed Ali's rom I installed bm kernel right after flashing magisk on the first boot and it booted right up..I've flashed back and forth between the 2 kernels now with no issue..
Click to expand...
Click to collapse
Stock kernel
rayraycarter4 said:
Stock kernel
Click to expand...
Click to collapse
Did you have any security biometrics saved?
JDBarlow said:
Did you have any security biometrics saved?
Click to expand...
Click to collapse
Yes
vR82: Linux 4.19.167
-Other cherry-picks
began a feature list. will update as versions are release
rayraycarter4 said:
I flashed it on ui 3.0 rom and got bootloops
Click to expand...
Click to collapse
Could be an issue with magisk. It is using the latest canary version so make sure your magisk manager is also on the latest canary.
Also, this kernel is using security patch level 2021-01-01 so the ROM needs to also match this.
freeza said:
vR82: Linux 4.19.167
-Other cherry-picks
Click to expand...
Click to collapse
Loving it as usual running great for my needs
Removed