[Question] Galaxy s6 kernel from source code & ROOT - Android Q&A, Help & Troubleshooting

Hi, i have success compiled kernel for Galaxy S6 (G9200 HK). For 5.0.2 is full working can root via pingpongroot.
BUT now i use 5.1.1 and have problem.
Have compiled kernel for 5.1.1 without ROOT it working good on stock ROM but i can't root my ROM.
After i try root via TWRP, i tried use (SuperSU v2.52 and another versions)
After i root my ROM i have bootloop and frezzes.
I too tried use custom kernels with integrated root and it working good!
But i need have selfcompiled kernel, because i want have mac80211 support.
Now i have question.
How i can compile kernel with root inside without have bootloop.??
My selfcompiled kernels for 5.1.1 working good but without root. I must have root :/
Samsung have special security lock rooted phone in kernel another than the one below?
Or my problem is i don't know how compile kernel with unchecked restriction feature?
I know that in source code are options in menuconfig is
Kernel hacking --->
[*] Samsung Rooting Restriction Feature
but i can't uncheck this, because without it can't compile kernel :/
Bootloop is too when i try root STOCK kernel 5.1.1 or try back to Stock kernel when i used custom 5.1.1 rooted kernel.
and small question Comunicat "kernel is not seandroid" don't make problem, but in custom kernels compiled by another people it don't appear how i can remove it from my kernels?
I hope someone can help me
SLOVED:
TIMA security removed in kernel
and
in build.plop
security storage = false

Related

[Q] Custom ROM without root

Hello there. It is possible to flash SGS2 by custom rom without root? One of my favorite app not working on rooted devices thats why i need to unroot my SGS2
Just use RootCloak Xposed module - hides root from specific apps.
RootCloack not working on MIUI v5
You can try aosp neatrom v8 rom which awesomely works with ota root keeper!! Was looking something like this for ages!

Can you Root Android M with the Kexec kernel you have to install to run MultiRom

Is Kexec a custom rom?
I have MultiRom and i believe it had to install a custom kernel or a modded one. Well i be able to root M with that or do i have to use Despair

How to build pre-rooted ROM?

My phone is Samsung J1 (2016). There is no custom recovery for this model so far.
I never built Android or recovery from source, but I can compile kernel and repack ROM.
What should be modified to achieve pre-rooted ROM?

[HELP] Building rom from kernel source code.?

Hello there,
I am trying to build a rom from scratch for xolo black device. The problem is that they have uploaded only kernel source.
Therefore, I can't figure out how to build the device tree and other things to make a working rom package. If I want to port cm12 to my qualcomm device (unsupported), then what I need to download and the order to executing the commands. I downloaded cm 12 sources but after that cant figure out how to compile other sources and libraries when all I have is kernel source code.
I want to use normal official google version of lollipop/marshmallow as the stock firmware UI is laggy and full of bugs.
I just cant seem to get a straight guide to make a rom from scratch with custom apps and launcher while using the kernel provided by the vendor.
Please help me out.
Thanks.

Bad performance with custom kernel

Hello, I have compiled a custom kernel from LineageOS sources for my device (Galaxy A5 2017). My device is running crDroid 5.8, the kernel is build from the same sources as my custom kernel.
I only added a governor to my kernel and flashed the boot.img in TWRP.
But the problem is that the performance is really bad (phone is laggy, apps need 10 secs+ to start), even when NOT using the added governor.
Restoring the stock boot.img didnt fix the problem.
Any ideas?

Categories

Resources