Redmi K30S Permissive Problem - General Questions and Answers

on my phone(redmi k30s) has a kernel works very well and the author release gki version but without permissive, dute to "Encryption not fully working" @erfanoabdi's Permissiver.zip dont work and I tried to add "patch_cmdline androidboot.selinux androidboot.selinux=permissive" to anykernel.sh also failed. is there any other way to solve the permissive problem.

Why not use this GKI
[Kernel GS RAVIOLE] [07.06.2023][ Android 14 Beta 3 ]
Kernel GS android14 BETA 3 The Generic Kernel Image (GKI) project addresses kernel fragmentation by unifying the core kernel and moving SoC and board support out of the core kernel into loadable vendor modules. GKI also presents a stable Kernel...
forum.xda-developers.com

Related

[KERNEL][6.0.1] Judo Chop! Kernel for Galaxy Tab E 9.6 SM-T560NU running TouchWiz MM

Judo Chop! Kernel for Galaxy Tab E 9.6 SM-T560NU (Snapdragon 410)
** BY FLASHING THIS KERNEL YOU ASSUME ALL RISKS TO YOUR DEVICE!!!
** BOOTING WITH THIS KERNEL INSTALLED WILL TRIP YOUR KNOX COUNTER AND MAY VOID YOUR WARRANTY
** PRACTICE SAFE FLASHING AND BACKUP YOUR DEVICE WHILE YOU CAN
** HAI KARATE SEZ: BE CAREFUL HOW YOU USE IT!
This kernel is for the Samsung Galaxy Tab E 9.6 SM-T560NU (Qualcomm Snapdragon 410) running TouchWiz Marshmallow 6.0.1. It is based on the T560NUUES1BPL1 source code, and most of the features were ported from corsicanu's hadesKernel 2.5 source code. The vast amount of the credit for this should go to him and, by extension, to those who contributed to his kernel.
After comparing my Tab E 9.6 with my wife's Tab A 8.0 and seeing the Tab E's woefully inferior colour fidelity, I set out to compile a permissive kernel with KCAL support (I bump the saturation up to 40, by the way) but when I found corsicanu's source code I incorporated as many of his features as I could.
Some supported features:
KCAL colour calibration
Adreno Idler 1.1
USB fast charge
intelli_thermal 3.0
Powersuspend
Prima WLAN driver
SELinux permissive
init.d support
Frandom
ZEN/SIO/FIOPS IO schedulers
ADB insecure
DM-Verity disabled
Various optimizations
Compiled with Uber Toolchain 4.9
Sorry, this kernel DOES NOT and CAN NOT support the Spreadtrum-based SM-T560. The architecture is completely different.
Kernel Adiutor is the only app I have tested for adjusting the various settings of this kernel.
To install, download the .zip file and flash it in your custom recovery of choice. I have only tested this with the TWRP 3.0.2-0 version created by ashyx.
May 9, 2017: Initial public release 1.1
Source code:
https://github.com/Hai-Karate/Judo-Chop-Kernel-for-T560NU

How to add my own linux kernel module to Pixel2?

I have written a linux kernel module for my Pixel2, and compile it under AOSP source: kernel/msm.git android-msm-wahoo-4.4-oreo-dr1
But when I insmod my module, dmesg reports "disagrees about version of symbol module_layout".
Google told me that the kernel source version I used to compile my kernel module is not corresponding to the kernel source version used to building the official Pixel2 kernel.
Where can I find the kernel source version/branch of AOSP used to build the official Pixel2 kernel?
https://android.googlesource.com/device/google/wahoo-kernel/
Thanks, but this link only has some binaries used for pixel device.
I want to have the kernel source location and its branch and version used to build the pixel 2 official kernel.

[KERNEL] [BETA] [P/Q] Pendulum Kernel for Note 7 Pro [2020-02-26]

DISCLAIMER
Code:
[B][SIZE="3"]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.
Please read completely this thread before using for minimize FAQ.
If you coming from other custom kernel, please restore to stock boot.img or dirty flash your rom before flash this!
[/SIZE][/B]
This is my personal kernel, based LA.UM.8.9.r1-07700-SM6xx CAF tags with android-linux-stable merged in (currently on v4.14.170).
Feels free to use, testing and bugs report to me (Telegram group exist for bugs report).
Requirements:
BACKUP your Boot.img and ROM Before flash this Kernel.
Unlock Bootloader as well.
Latest TWRP (recommend OrangeFox).
No need Wipe dalvik/art cache.
Main Features:
Kernel based on LA.UM.8.9.r1-08100-SM6xx CAF tags.
Linux v4.14.171.
Kernel compiled with Clang 11.0.0.
Compiled with Link Time Optimization (LTO) enabled.
Compiled with Control Flow Integrity (CFI) enabled.
Compiled with Shadow Call Stack (SCS) enabled.
F2FS supported.
Kernel scheduler is based on PELT implementation by Google on their Pixel 4's series kernels.
Security SElinux performance improvements.
Backported vmalloc performance improvement from mainline.
Android Low Memory Killer TNG from Sony Open Devices Kernel (test).
Network Signal Guru app compatible (maybe?).
Compiled with -O3 optimizations.
And many more, you can check at my Git.
Many thanks to:
Nathan Chancellor for maintaining android-linux-stable.
Park Ju Hyung
Francisco Franco
Sultan Alsawaf
Danny Lin
All of developers contributions which i picked from.
Downloads
Google Drive (2020-02-26)
XDA:DevDB Information
Pendulum Kernel, Kernel for the Xiaomi Redmi Note 7 Pro
Contributors
Yousef Algadri
Source Code: https://github.com/Haseo97/msm-4.14
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 666
Beta Release Date: 2020-02-26
Created 2020-02-12
Last Updated 2020-02-26
Reserved
Reserved
Kernel testing and bugs report group: https://t.me/joinchat/JKuKP0W5A__lg2rVeQxNfw
MIUI not tested.
NOTE: You don't need to reflash Magisk right after flashing kernel, AnyKernel3 has preserved it on their latest AK3.
Yousef Algadri said:
NOTE: You don't need to reflash Magisk right after flashing kernel, AnyKernel3 has preserved it on their latest AK3.
Click to expand...
Click to collapse
does safety net pass with this kernel pro
just internal error after boot on crdroid 6.2
plesit said:
just internal error after boot on crdroid 6.2
Click to expand...
Click to collapse
Yeah my bad, it'll be fixed soon
New update is out.
Changes:
Merged linux v4.14.171.
Merged CAF 'LA.UM.8.9.r1-08100-SM6xx.0' tags.
Kernel now compiled with LTO and LLD as an linker.
Enabled RELR relocation (LLD support it).
Enable Shadow Call Stack (SCS).
Enable BPF Jit.
Improved PELT performances.
Added slab sanitization kernel hardening and enabled it.
Inline with aosp-common android-4.14.
Fixed internal error message every boot.
Fixed sensor issues.
miui.eu 11 (beta rom) supported or not??
rkm8955389 said:
miui.eu 11 (beta rom) supported or not??
Click to expand...
Click to collapse
Read 5th post
Well me jabra fan sir ??
Here are the test results:
Kernel tested: Pendulum-BETA-violet-20200215-#610
ROM: Custom AOSP based on PE
Android version: Q/10
Magisk present, Root access present
Recovery: Peter's TWRP
Post flashing: No issues/errors seen, all working fine thus far.
Its time for big updates!
Changes for #666 build:
- Kernel is LTO, CFI and SCS enabled.
- RCU's update from msm-4.19.
- Compiled only Adreno 6xx driver.
- VLA avoidance.
- Disabled audit.
- Disabled unused erratums debugging.
- Use virtually mapped shadow call stacks.
- A few memory leaks fixes.
- Patch SafetyNet flags.
- Cleaned up FTS and NVT and disable ESD for NVT panel.
- Experimental New Pass Manager on LLD.
- Enabled RCU boost.
- Fixed wcd937x dmesg warnings.
- Force rcu_normal rather than rcu_expedited (ignored dts setting).
- Imported exFAT from k5.4 and enable it.
- Convert few drivers to new i_version API.
- F2fs upstream from f2fs-stable.
NOTE: Encrypted F2FS don't flash this, having a issues.
* FKM flasher integration now supported, get Franco Kernel Manager on Play Store any get Pendulum updates automatically! Paste this LINK! to import kernel configuration.
FKM screenshots.
How's the battery charging on this one? Qc 3.0-4?
Confirmed not working in miui 10
Confirm not working on havoc os 9

Development [Kernel][5.4.128] WETA Kernel R5.03 (snapdragon) G996 [t2q]

WETA Kernel SM-G996U/U1/0 Snapdragon only
*** This will only work on Snapdragon devices with an unlocked bootloader..
SM-G996U/U1 - SM-G9960
Telegram thread
See post #2 for install steps
Changelog...
R5.03
Upstreamed to 5.4.128
Enabled all tcp cong
Westwood tcp default
Disabled unneeded platforms
merged in AUE3 source
R5.02
Telegram thread merged into N20.S20 group, check new links.
Upstreamed to 5.4.127
all modules now inlined, no need for magisk helper module.
added wireguard
Power usage tweaks
More
R4.04
Upstreamed to 5.4.123
R4.03
Upstreamed to 5.4.122
R4.02
Upstreamed to 5.4.121
R4.01
Upstreamed to 5.4.120
R4
Testing phase complete
Upstreamed to 5.4.119
R3
Rebased off UAG source code
R2
Upstreamed to 5.4.118
Fixed Torch/Flash
R1
built using CU8 kernel source
Upstreamed to 5.4.117
Fully permissive
KNOX disabled
Wireguard
Misc debugging disabled
Kernel Downloads
Telegram thread
--------------------->
Beer fund
XDA:DevDB Information
Kernel for the Samsung Galaxy S21 Ultra
Contributors
Mentalmuso, mentalmuso
Source Code: - Kernel Source
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R1
Created 2021-05-10
Last Updated 2020-05-10
*** Be aware, there may be a need to wipe data if you desire to go back to stock kernel, my suggestion is to backup your stock BOOT partition and DATA before flashing. This way you can return to your original setup easily. It is unknown at this stage what data is causing an issue going back to stock. If you find it, be sure to share.
* You must have bootloader unlocked and rooted your device with Magisk before flashing this kernel. Magisk is essential for camera and wacom.
* Boot times are approx 60-75sec at the moment, itll sit on the yellow triangle splash for approx 60sec and the bootanimation for 5sec.
* When flashing this kernel, an AnyKernel helper module is installed. This is a Magisk Module that is essential for the operation of Camera and Wacom. Removal of this module while running this kernel will break camera and spen.
* Kernel zip labels have either a P or E in them, P=Fully Permissive, E=Enforcing (switchable)
To install
download and flash the kernel installer zip in TWRP or any custom recovery
--->
mine2
Mentalmuso said:
mine2
Click to expand...
Click to collapse
Will there be any plan to support exynos?
Mrxyzl said:
Will there be any plan to support exynos?
Click to expand...
Click to collapse
Not without owning an exynos device, no.
Mentalmuso said:
Not without owning an exynos device, no.
Click to expand...
Click to collapse
Sad
Will Banking apps still work after unlocking + magisk + this kernel ? Anyone uses Transferwise or Revolut here ? What about crypto exchanges

[Kernel Request] SELinux Permissive(ed) kernel with drivers of Honor 6X (Hi6250)

Original stock kernel cannot be permissive, therefore I have been trying different kernels of Hi6250 of different devices and could not find a stable one without issue.
Next, I tried to build the kernel, but it threw many errors.
As novice in development, I want some good guy to build a kernel for me using Official Huawei BLN for me using the official EMIUI8 sources.
Link to the source:
Honor 6X, BLN, EMUI8.0, Android8.0
Thank you in advance.

Categories

Resources