"As part of the Android security model, Android uses Security-Enhanced Linux (SELinux) to enforce Mandatory Access Control (MAC) over all processes, even processes running with root/superuser privileges (a.k.a. Linux capabilities). SELinux can operate in one of two global modes: permissive mode, in which permission denials are logged but not enforced, and enforcing mode, in which permission denials are both logged and enforced." Read more here...
Requirements:
- Rooted Device
- Root/FS/ES Explorer
- busybox & init.d support
Click to expand...
Click to collapse
How to:
- Add the 01selinux script to /system/etc/init.d
- Set file permissions to 0755 (rwx r-x r-x)
- Power off, wait for a few seconds & power on
Click to expand...
Click to collapse
If you'd like to add this script to your ROM, just copy 01selinux script to /system/etc/init.d !
Downloads:
[08/21/2014] Permissive SELinux v1.0: 01selinux
Click to expand...
Click to collapse
Status:
- Fully working on NC4 Kernel - Verizon Samsung Galaxy Note 3 (N900V)
- Not working on NCG/NE9 Kernel - Verizon Samsung Galaxy S5 (G900V)
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Again, @hsbadr with something new and amazingly useful for our Note 3's! You're the man!
Sent from my SM-N900V using Tapatalk
What will this get us?
ironfisted said:
What will this get us?
Click to expand...
Click to collapse
Permissive SELinux on NC4 kernel Read OP introduction!
hsbadr said:
Permissive SELinux on NC4 kernel Read OP introduction!
Click to expand...
Click to collapse
Is that getting us closer to aosp or deep sleep issues fix?
ironfisted said:
Is that getting us closer to aosp or deep sleep issues fix?
Click to expand...
Click to collapse
Yeah I had the same question. Will this move us in the right direction? Just curious that's all
krazy_smokezalot said:
Yeah I had the same question. Will this move us in the right direction? Just curious that's all
Click to expand...
Click to collapse
I'm not an expert or developer by no means but I would say this has no effect on getting closer to having true aosp simply because until the nc4 update the selinux status has been permissive and we didn't get it then. Just my 2 cents.
Is there any advantage using the NC4 Kernel over the NC2 Kernel ?
I know right now if you are on NC4 and want a custom rom you have to flash the rom file itself and then flash the NC2 kernel to go with it or it will not work.
You saying now with this we can have custom Roms and keep NC4 Kernel without having to do the firmware flash as well?
Nc2 is permissive.
Joe92T said:
Is there any advantage using the NC4 Kernel over the NC2 Kernel ?
I know right now if you are on NC4 and want a custom rom you have to flash the rom file itself and then flash the NC2 kernel to go with it or it will not work.
You saying now with this we can have custom Roms and keep NC4 Kernel without having to do the firmware flash as well?
Click to expand...
Click to collapse
You only have to flash the nc2 kernel if you took the nc4 ota. If you flashed the patched nc4 firmware that beans whipped up you dont need to swap kernels.
if i run the commands by hand from a prompt and it doesnt switch selinux to permissive is there a point to trying to get this into init.d ?
siriom said:
if i run the commands by hand from a prompt and it doesnt switch selinux to permissive is there a point to trying to get this into init.d ?
Click to expand...
Click to collapse
Im not all that sure it will show that way. It is during boot that permissive is checked. After boot I dont think it rechecks. If your following me? Might be a appcto force close and maybe it will restart and change the about listing. Or maybe a soft reboot
I noticed you have 775 for rwx-rx-rx but 775 is rwx-rwx-rx shouldn't it be set to 755 for rwx-rx-rx?
siriom said:
if i run the commands by hand from a prompt and it doesnt switch selinux to permissive is there a point to trying to get this into init.d ?
Click to expand...
Click to collapse
you did something wrong for sure. The screenshot is from my device on NC4 kernel with permissive SELinux & all JasmineROM's users on NC4 kernel use the same script.
Zarg95ET said:
I noticed you have 775 for rwx-rx-rx but 775 is rwx-rwx-rx shouldn't it be set to 755 for rwx-rx-rx?
Click to expand...
Click to collapse
You're right. It's 0755; OP updated.
not working on N900V 4.4.4 NJ6 even with unlocked bootloader, root, busybox and init.d enabled
Related
Enable SELinux on Dorimanx LP Kernel!
All Variants (that Dorimanx LP supports)
Lollipop ONLY!
If you already installed kernel and booted ROM, script is pointless! Don't bother!
What this is:
As of Dorimanx Lollipop Kernel version 2.9, kernel defaults to completely disabled SELinux. This is done via the kernel command line. Dorimanx created a script to change the command line back and forth, thus turning SELinux on/off.
With this change, you can get some off loss of /data setting if you boot with SELinux off and then turn it ON and reboot. The way around this would be to enable SELinux before doing first boot.
This script turns SELinux on for Dorimanx!
The entire point of the script is to flash the script BEFORE you reboot after upgrading Dorimanx Kernel.
Install:
Current Kernel Versions (Script version 1.2)
(1) Flash Dorimanx LP Kernel (version >= 8.0)
(2) Download the script you want. There is a separate script for Enforcing or Permissive.
(3) Flash the script
(4) Reboot
Old Kernel Version! (Script version 1.1)
(1) Flash Dorimanx LP Kernel (version >= 2.9, and < 8.0)
(2) Flash this script
(3) Reboot
SELinux is now on. It will default to PERMISSIVE unless you have changed and saved this setting in Dorimanx app.
The entire point of the script is to flash the script BEFORE you reboot after upgrading Dorimanx Kernel.
Major Thanks to:
@dorimanx - Awesome dev!!!!
@Äptiva - Pointing out script error so I didn't have to do any work to fix the script for new versions
Download:
https://www.gregtwallace.com/lg-g2/dorimanx-selinux/
Download is under Miscellaneous.
Shameless plug for donations:
Venmo Preferred (No Fee)
Zelle, send to [email protected]
Backup (Charges Fee)
Paypal
saved1
saved2
What type of loss of / data settings? And if i dont want selinux on it is ok ?
renzo090513 said:
What type of loss of / data settings? And if i dont want selinux on it is ok ?
Click to expand...
Click to collapse
Anyway you want, Enforcing or Permissive
@blastagator. Please i need help, im on cloudy G2 3.1 LP rom and what i did is to install dorimanx kernel 2.9 then reboot to recovery and then install the doriLP-selinux-enable-v1-blastagator-signed then reboot. after reboot im stock on lg logo. how do i fix it? thanks.
Can confirm your problem @drew150931 . Was on cloudyG3 3.1 . flashed dorimanx, then flashed this script without rebooting in between. Got stuck into a bootloop. Phone model is same as you, D802.
I fixed it by going into factory reset.
____________________________
This is from dorimanx kernel thread:
BOOTLOADER 20A!
Connect USB Push PWR + Vol Down till phone reboot and you will see LG Logo!
Release and press the buttons again! till you see screen asking if you want to WIPE your device!
if you have recovery installed, then it's will just OPEN the recovery! no WIPE will happen!!!
Just push 3 time the PWR key. and you will be moved to recovery.
Install your device STOCK kernel and wait for FIX.
BOOTLOADER 20H!
To enter recovery from LG logo now have different button combo!!!
Power OFF by holding long the power button till black screen!
Press and hold power and volume down until you see the LG logo then release and press and hold the volume up and volume down buttons until reset screen appears.
it's will ask SCARY QUESTIONS!!!! if you want to hard reset your device!!!
SAY YES/YES!!!! 2 times, then its will show LG logo and boot your custom recovery! in this case the bumped TWRP.
If you have STOCK Recovery!!!! it's will WIPE your device...
___________________________________
Saying YES 2 times will not wipe your device, but will boot into TWRP. There you can wipe and flash rom again
@defynoob No need to flash ROM, just flash ORIGINAL dorimanx kernel with disabled SELinux
drew150931 said:
@blastagator. Please i need help, im on cloudy G2 3.1 LP rom and what i did is to install dorimanx kernel 2.9 then reboot to recovery and then install the doriLP-selinux-enable-v1-blastagator-signed then reboot. after reboot im stock on lg logo. how do i fix it? thanks.
Click to expand...
Click to collapse
Reflash kernel. SELinux off by default. SELinux on without proper permissions causes this error.
Hi i use dorimanx kernel on samsung galaxy s2. I reflashed kernel & then flashed script. But in setting>about it says it is desabled. What should i do? @blastagator
File download is broken.
http://www.gregtwallace.com/lgg2-projects/dorimanx.php
both of links.
dorimanx said:
File download is broken.
http://www.gregtwallace.com/lgg2-projects/dorimanx.php
both of links.
Click to expand...
Click to collapse
@blastagator Please fix.
somboons said:
@blastagator Please fix.
Click to expand...
Click to collapse
Fixed, sorry.
I'm on dori kernel 8.3 and f2fs data. How can i enable selinux?
Gesendet von meinem LG-D802 mit Tapatalk
blastagator said:
Fixed, sorry.
Click to expand...
Click to collapse
Can not download.
http://www.gregtwallace.com/_privat...gned.zip&type=dorimanx&version=selinux_enable
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
somboons said:
Can not download.
http://www.gregtwallace.com/_privat...gned.zip&type=dorimanx&version=selinux_enable
Click to expand...
Click to collapse
Ok, it was fixed, lol. Then I did upgrade of server and forgot to re-enable cUrl. Will fix after work. >.<
http://forum.xda-developers.com/showpost.php?p=64627732&postcount=2042
edit: Actually fixed. Everything should be working now.
just FYI it doesn't work anymore (at least with 8+ versions from what i can tell) @blastagator
OT-Xtreme said:
just FYI it doesn't work anymore (at least with 8+ versions from what i can tell) @blastagator
Click to expand...
Click to collapse
You need?
Or anyone else for that matter?
If so, I might look in to changing it. If not, RIP
sometimes... you choice
blastagator said:
You need?
Or anyone else for that matter?
If so, I might look in to changing it. If not, RIP
Click to expand...
Click to collapse
Hey Blastagator I'd love if you could take a look at this again. I'm trying to use magisk to get Android pay and Pokémon go working while rooted but I think Selinux being disabled is causing root to be detected.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Battery Mod Percentage + Efficiency Mode Enhancerthis is an app to Read Battery Moto Mod Details for Custom Roms (like RR, LOS)
we can use this app to see battery mod percentage until custom roms start supporting mods completely
if you guys have any idea to make this app better and more useful Please let me know
also source code is available in Github i'll appreciate any help
this app still need testers, lol
this app should work on moto z play with loaded kernel mods(greybus) drivers
Efficiency Mode Enhancer :
with this feature you can edit 80% of Efficiency Mode to any value
or even turn off battery mod (setting to 1%)
**Efficiency Mode Enhancer just need Xposed to work (official and nougat unofficial)
**Efficiency Mode Enhancer need full battery mod compatible ROM (like Stock, RR, Carbon)
TODO :
Use Nougat Tile?
Bugs :
Please Tell
Downloads :
Click on Download Tab
XDA:DevDB Information
Battery Mod Percentage + Efficiency Mode Enhancer, Device Specific App for the Moto Z
Contributors
erfanoabdi
Source Code: https://github.com/erfanoabdi/BatteryModPercentage
Version Information
Status: Stable
Current Stable Version: 1.9
Stable Release Date: 2017-08-17
Created 2017-03-19
Last Updated 2017-08-17
Don't see the download tab...
EDIT: OK I had to load it in browser to download.
I'm testing it now. Is the temperature in Kelvin?
Edit: nope... it's now showing 400 "temperature units"
lollyjay said:
I'm testing it now. Is the temperature in Kelvin?
Edit: nope... it's now showing 400 "temperature units"
Click to expand...
Click to collapse
Thanks for testing
i don't know, but I guess whatever it is, it's 10 times greater than real value, so i guess your real battery temp was 40.0°c
erfanoabdi said:
Thanks for testing
i don't know, but I guess whatever it is, it's 10 times greater than real value, so i guess your real battery temp was 40.0°c
Click to expand...
Click to collapse
Yes that would make sense
New app uploaded
Version 1.3
+Now battery level is on notification
+Battery Level Toast
+Next goal is nougat tile !?
Version 1.3.5
+Fix Notification Bugs
+Add Battery Status in Notification
/sub
I downloaded 1.3.5; testing now. Looks good. Battery mod percentage is showing. This is very helpful to have for all of the CM based ROMs. :good:
PS any luck with the temperature reading fix?
lollyjay said:
I downloaded 1.3.5; testing now. Looks good. Battery mod percentage is showing. This is very helpful to have for all of the CM based ROMs. :good:
PS any luck with the temperature reading fix?
Click to expand...
Click to collapse
Thanks again
Yeah I'll look on it as soon as i figure out what is exactly format of temperature
erfanoabdi said:
Thanks again
Yeah I'll look on it as soon as i figure out what is exactly format of temperature
Click to expand...
Click to collapse
Everything is working well. I posted a link on the AOKP forum along with a link to the SELinux permissive boot.img
Do you think it is a good idea to have the boot.img link in your OP?
Does this work on stock u nrooted?
Sent from my XT1650 using XDA Free mobile app
I notice that the notification shows 73% while the app shows 43%
lollyjay said:
Everything is working well. I posted a link on the AOKP forum along with a link to the SELinux permissive boot.img
Do you think it is a good idea to have the boot.img link in your OP?
Click to expand...
Click to collapse
Thanks for post
To make your selinux peremisive you can only use this command on every boot or init.d :
setenforce 0
Or simply use selinux changer apps
I don't recommend boot.img cause it's old kernel
westers035 said:
Does this work on stock u nrooted?
Click to expand...
Click to collapse
Unfortunately Unrooted stock has enforced selinux
lollyjay said:
I notice that the notification shows 73% while the app shows 43%
Click to expand...
Click to collapse
Looks something killed app(like memory wiping)
I have idea for this, hopefully in next update is gonna be OK
erfanoabdi said:
Thanks for post
To make your selinux peremisive you can only use this command on every boot or init.d :
setenforce 0
Or simply use selinux changer apps
I don't recommend boot.img cause it's old kernel
Unfortunately Unrooted stock has enforced selinux
Looks something killed app(like memory wiping)
I have idea for this, hopefully in next update is gonna be OK
Click to expand...
Click to collapse
Thanks for your suggestion. Which SELinux changing app?
I think that the percentage problem was because I disconnected the battery mod and reconnected it
lollyjay said:
Thanks for your suggestion. Which SELinux changing app?
I think that the percentage problem was because I disconnected the battery mod and reconnected it
Click to expand...
Click to collapse
Check this out : https://forum.xda-developers.com/android/apps-games/app-selinuxtoggler-t3574688
erfanoabdi said:
Check this out : https://forum.xda-developers.com/android/apps-games/app-selinuxtoggler-t3574688
Click to expand...
Click to collapse
Thanks it works very well. I also changed my post on the AOKP forum
Any plan to make this work without permissive boot ?
vache said:
Any plan to make this work without permissive boot ?
Click to expand...
Click to collapse
Yes i should use root access to read mod percentage
I'll fix it soon
erfanoabdi said:
Yes i should use root access to read mod percentage
I'll fix it soon
Click to expand...
Click to collapse
Do you mind if we ship it in device tree for custom ROM ?
It will then be installed as system app and will not need root to work.
vache said:
Do you mind if we ship it in device tree for custom ROM ?
It will then be installed as system app and will not need root to work.
Click to expand...
Click to collapse
do you think LineageOS will accept this app on device tree ?
this app doesn't need root on permissive selinux (now we can deny root access prompt)
and in enforced selinux it can work by addressing this denials :
Code:
I/rymodpercentage: type=1400 audit(0.0:746): avc: denied { read } for uid=10266 name="gb_battery" dev="sysfs" ino=50256 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs_greybus:s0 tclass=dir permissive=1
I/rymodpercentage: type=1400 audit(0.0:747): avc: denied { open } for uid=10266 path="/sys/devices/platform/mods_ap/greybus1/1-3/1-3.1/power_supply/gb_battery" dev="sysfs" ino=50256 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs_greybus:s0 tclass=dir permissive=1
but for now i'm trying to read with root
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
BlueFly Kernel is yet another custom kernel, designed for stability & performance. As the name, my goal is unleash devices real performance and bringing more stability without reducing one of these.
This kernel is a newer version of NDataX Kernel, which is discontinued.
Features:
• Improved CPU/GPU
• Disabled kernel panic
• WireGuard support
• Changeable SELinux state (default is enforcing)
• Support for exFAT in GSI/Custom ROM [UNTESTED]
• Disabled Gentle Fair Sleepers for better UI performance
• Fsync support on/off
• CPU-boost
• Kali NetHunter support (Wi-Fi adapter v2-v3 not supported)
• DriveDroid & HID support
• Changeable CRC (default to disabled)
• Fixed MTP in GSI/Custom ROM
• Disabled some of samsung security which forbid us to modify the device.
Mod Edit: DL link remove.
Requirement(s):
TWRP / OrangeFox recovery installed.
DM-Verity disabler
Installation:
Reboot to recovery
Flash the kernel as usual. Flash IMG if it is IMG, flash ZIP if it is ZIP.
Important: flash DM-Verity disabler.
Reboot & enjoy
No, I don't need it. I'm not being rude, don't want to be helped, or whatever.
Don't donate to me, donate to other people that more need donation. Like charity or other. This kernel is builded in my free time, so I don't do this for job, but just my hobby.
Additionally, if you want to say thanks, then just like this thread and/or click thanks button. That will be very appreciated!
Source: https://github.com/hdr-mn/BlueFly_9611
Defconfig: bluefly_<devicecodename>_defconfig
Clang: AOSP clang 4639204
Toolchain: AOSP gcc aarch64-linux-android [branch ndk-release-r18]
Feel free to fork it / use it for your project. No need to ask permission, but please insert my username as credit. It will very appreciated!
Allah SWT.
My beloved parents and my family.
Linux; Samsung for the source
@Synt4x.93 for commits reference
@Yillié for support
@el0xren for promoting
@osm0sis , @nathanchance , @kdrag0n , kerneltoast (dunno his username, sorry) , @jesec for much references
@Johannj22 for base logo
And more! Feel free to comment if I forgot something, hehe.
Thank you for using my kernel, hope you like it. Regards, stay healthy!
Reserved: Changelog
JOIN OUR A51 GROUP: https://t.me/samsunga51 .
Hey! I have a question. why can I install the first version, and when installing version 2, an error pops up unsupported device, custom firmware
bumb0ha said:
Hey! I have a question. why can I install the first version, and when installing version 2, an error pops up unsupported device, custom firmware
Click to expand...
Click to collapse
Use TWRP for now.
Zzroth said:
I couldn't install using OrangeFox Recovery. It says "unsupported device". Could you please make kernel compatible to flashing with OrangeFox Recovery? Because TWRP doesn't have any security option like gesture key or PIN code.
Click to expand...
Click to collapse
Hi! Sorry about that issue. Sure, I'll create my own scripts for installing BlueFly. Maybe it's combination of .zip & .img. If anything goes right, will upload it in v2.5.
For anyone who facing error in OrangeFox, use this version: https://t.me/samsunga51/44175. It's same version, adapted for OrangeFox support. Thanks to @Yilliee
Hello.
My TWRP says "Unsupported device" when I want to install v 2.0
Do I do something wrong?
EDIT: nvm, I used BlueFly_2.0_a51nsxx and is working good.
Thanks for the kernel!
Regards.
abialic said:
Hello.
My TWRP says "Unsupported device" when I want to install v 2.0
Do I do something wrong?
Regards.
Click to expand...
Click to collapse
Hi!
I'm sorry for that. Yes this is known issue, everyone face this.
Temporary fix is to flash https://t.me/samsunga51/44175, with OrangeFox.
V3 will nuke this issue. Thanks!
After install BlueFly_2.0_a51nsxx.zip screen rotation is not working anymore.
Anyone else affecting this issue?
Regards.
abialic said:
After install BlueFly_2.0_a51nsxx.zip screen rotation is not working anymore.
Anyone else affecting this issue?
Regards.
Click to expand...
Click to collapse
No, the a51 member not facing this. May I know what ROM you're in?
hendramanu said:
No, the a51 member not facing this. May I know what ROM you're in?
Click to expand...
Click to collapse
Ressurection Remix 8.6.7 GSI.
abialic said:
Ressurection Remix 8.6.7 GSI.
Click to expand...
Click to collapse
I guess the ROM bug. Some user reported in telegram group that some GSI has rotation bug, if i recall correctly
hendramanu said:
I guess the ROM bug. Some user reported in telegram group that some GSI has rotation bug, if i recall correctly
Click to expand...
Click to collapse
I will try to install LineageOS-17.1-20210317-UNOFFICIAL-a51 from Yillie.
Thanks.
I installed LineageOS-17.1-20210317-UNOFFICIAL-a51 and everything was working fine, but when I install BlueFly_2.0_a51nsxx screen rotation is not working again.
Looks like it's not ROM bug.
Regards.
Hi, does anyone know if the kernel is compatible with this rom? https://forum.xda-developers.com/t/rom-a515x-refinedui-v1-5-oneui2-5-android10.4224045/
abialic said:
I installed LineageOS-17.1-20210317-UNOFFICIAL-a51 and everything was working fine, but when I install BlueFly_2.0_a51nsxx screen rotation is not working again.
Looks like it's not ROM bug.
Regards.
Click to expand...
Click to collapse
Oh I just figured that you in Android 10. This kernel only support Android 11.
Anyway lineage already comes with BlueFly.
Nachopincha said:
Hi, does anyone know if the kernel is compatible with this rom? https://forum.xda-developers.com/t/rom-a515x-refinedui-v1-5-oneui2-5-android10.4224045/
Click to expand...
Click to collapse
No, refined v1.5 use Android 10 OneUI 2.x as base. But BlueFly only support Android 11.
Anyway refined v2 Android 11 compatible with this kernel ^_^
do we need to reinstall magisk after flashing this kernel?
Amardika said:
do we need to reinstall magisk after flashing this kernel?
Click to expand...
Click to collapse
No, but if you not sure then flash again
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
I am not responsible if flashing this ROM bricks your phone or causes thermonuclear war
and ends the world as we know it.
You have been warned
- OneUI and GSI build.
- Upstreamed from 4.19.190 to 4.19.191
- Enabled all Native Governers
- SElinux enforcing.
- Some code related optimization
- Compiled with Proton clang.
MTP ig in GSI, will fix it by time.
14-05-2021
- Initial release.
Download
Support Group: Channel | Support/Spam
Source: Github
@Astrako : For helping me in my each and every project
@DAvinash97 : For guiding me through his knowledge
@Chatur27 : for his help and with kernel
@el0xren and @RealVelosh : always supporting me in my everything | also thanks for this template and banner
@hendramanu @nathanchance , @kdrag0n , @jesec for their work references
@osm0sis : for his Awesome work with Anykernel
@renoxtv for his work with A71 kernel
Also special thanks to
@ShaDisNX255 and @redymedan for their huge help with testing
If I forgot to mentioned you please do let me know by PMing me on telegram @neel0210.
FAQ1.How to install?
A: Download your device's zip
Reboot in Recovery Mode
Flash the Kernel Zip
2. Does it support root?
A: Yes it does, make sure you flash latest magisk after flashing kernel
3 .Kernel is enforcing or permissive?
A: It is Enforcing.
Download
kakarotKernel-UNI-1-A52/72 - 14/05/2021
Kernel : Github
Note: Hit thnx and join my group and channel for help and updates. also hit thnx there
Reserved
Great work! Kudos to you x)
This too
el0xren said:
Great work! Kudos to you x)
Click to expand...
Click to collapse
Great work! you are unstoppable (in the good way)
Astrako said:
Great work! you are unstoppable (in the good way)
Click to expand...
Click to collapse
XDDD
Can you say in short what does all those features mean to guy who is not an expert, in comparison to stock?
- OneUI and GSI build.
- Upstreamed from 4.19.190 to 4.19.191
- Enabled all Native Governers
- SElinux enforcing.
I read about SElinux enforcing I know it is security feature that I saw in ASOP rom on different device.
Also question about flashing. How do I do it, as it is not a fully compiled rom, just a kernel?
With Odin as AP?
I have already rooted my device with Magisk.
Thanks!
madseason.live said:
Can you say in short what does all those features mean to guy who is not an expert, in comparison to stock?
- OneUI and GSI build.
- Upstreamed from 4.19.190 to 4.19.191
- Enabled all Native Governers
- SElinux enforcing.
I read about SElinux enforcing I know it is security feature that I saw in ASOP rom on different device.
Also question about flashing. How do I do it, as it is not a fully compiled rom, just a kernel?
With Odin as AP?
I have already rooted my device with Magisk.
Thanks!
Click to expand...
Click to collapse
hey, sure I would be glad to elaborate
1: that this kernel working in both ONEUI based ROM as well as GSIs
2: Upstreaming kernel: in short words it about to making kernel better by merging latest changes
3: Governors are kind of profiles if you want performance you can use that governer, if want low performance and good battery life you can go for that, is up to you. its basically tweak CPU to work on full potential or on its lowest according to your governors
About Flashing I have mentioned steps here read them.
neel0210 said:
hey, sure I would be glad to elaborate
1: that this kernel working in both ONEUI based ROM as well as GSIs
2: Upstreaming kernel: in short words it about to making kernel better by merging latest changes
3: Governors are kind of profiles if you want performance you can use that governer, if want low performance and good battery life you can go for that, is up to you. its basically tweak CPU to work on full potential or on its lowest according to your governors
About Flashing I have mentioned steps here read them.
Click to expand...
Click to collapse
Thanks!
Just tried it and no luck for now.
madseason.live said:
Thanks!
Just tried it and no luck for now.
Click to expand...
Click to collapse
It is stock recovery, you must have custom recovery like TWRP in order to install.
So, it is not possible right now? There is no support for this device from twrp as I just checked. How did you manage to install it?
Same question. I'm dying to try this out!
madseason.live said:
Thanks!
Just tried it and no luck for now.
Click to expand...
Click to collapse
You need to flash TWRP first
madseason.live said:
So, it is not possible right now? There is no support for this device from twrp as I just checked. How did you manage to install it?
Click to expand...
Click to collapse
Deleted Account in Samsung Galaxy A72 || Official
t.me
here is the test recovery, you can try this.
madseason.live said:
So, it is not possible right now? There is no support for this device from twrp as I just checked. How did you manage to install it?
Click to expand...
Click to collapse
fairylights said:
Same question. I'm dying to try this out!
Click to expand...
Click to collapse
Install recovery and you will be able to flash
TWRP installed, Kakarot as well
madseason.live said:
TWRP installed, Kakarot as well
Click to expand...
Click to collapse
Nice
how can I backup and restore old kernel?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
*Disclaimer
*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
What is KernelSU?
KernelSU is working in Linux kernel mode, it has more control over userspace applications.
Only App that is granted root permission can access `su`, other apps cannot perceive su.
KernelSU supports modify /system systemlessly by overlayfs, it can even make system writable.
More information: KernelSU Official Website.
Click to expand...
Click to collapse
Will banking apps detect root?
If you do not use modules or only use simple modules, KernelSU is not detected by default. You don't need to worry about hiding root, because the default is hiding.
Click to expand...
Click to collapse
Will Magisk Modules work?
Well yes... But not all of them work. This is still experimental. For modules that require zygisk you need to Install Zygisk in KernelSU.
Click to expand...
Click to collapse
Features of Kernel
KernelSU included.
Uses faster zram compression method.
Samsung knox debloated from kernel.
Issues?
None
Click to expand...
Click to collapse
Status:
Based on: A325FXXS3CWB3
This kernel has been tested on One ui 5.1 firmware. It should work on one ui 5 as well. It may work on one ui 4.1. It will not work on one ui 3.1
TAKE BACKUP OF BOOT IN CASE SOMETHING GOES WRONG.
Tested on:
SM-A325F (by me)
other models unkown
KernelSU version: v0.6.1
Downloads
Download KernelSU Manager
(click show all assets if you cant find the apk.
Newer version of apk can also be used on older kernelSU version.)NOTE:
This kernel is based on this source that i have applied tweaks to from various other developers (credits goes to them). you can view it here. I have used KernelSU's auto applying patch script from this guide
Credits:
The KernelSU team for this project
@KrutosVIP for his experimental lineage kernel.
Everyone Involved in making all this work
Thanks for keeping this phone alive!!!!
Thanks!!
anyone with sm-a325m has tested that? also- does it work on gsis, or only stock rom?
jvictorlim4h said:
anyone with sm-a325m has tested that? also- does it work on gsis, or only stock rom?
Click to expand...
Click to collapse
try and see. Backup boot partition from twrp. Incase you encounter a boot loop or any problem. restore that boot backup you created. it will restore orignal kernel and everything will work again if something goes wrong
New update!
updated KernelSU to version v0.5.7
Download here.
hope someday this will help with fod on gsis
jvictorlim4h said:
hope someday this will help with fod on gsis
Click to expand...
Click to collapse
it wont.. thats all up to trebledroid developers
Captain_cookie_200 said:
it wont.. thats all up to trebledroid developers
Click to expand...
Click to collapse
they r too sarcastic to help us w that. no one in that group is actually whilling to help even when i try to be the most usefull i can be
jvictorlim4h said:
they r too sarcastic to help us w that. no one in that group is actually whilling to help even when i try to be the most usefull i can be
Click to expand...
Click to collapse
welp.
Where's the Source Code for this Kernel?
Zillion said:
Where's the Source Code for this Kernel?
Click to expand...
Click to collapse
oops sorry. i am using my tweaked kernel which is infact on github. and i am using kernelsu's auto patch script. i'll link both in my op and the GitHub page. thanks for reminding
Zillion said:
Where's the Source Code for this Kernel?
Click to expand...
Click to collapse
i have updated op and added links. i'll add proper source to github when i do the next update.
New update!
updated KernelSU to version v0.6.0
Download here.
Captain_cookie_200 said:
New update!
updated KernelSU to version v0.6.0
Download here.
Click to expand...
Click to collapse
To update is just to flash the zip in twrp? (I already have kernel su 0.5.7 installed)
gabriel5730l said:
To update is just to flash the zip in twrp? (I already have kernel su 0.5.7 installed)
Click to expand...
Click to collapse
yes
New update!
updated KernelSU to version v0.6.1
Download here.
EDIT: builds deleted. please wait a while. they were not working properly
Edit: Builds reuploaded