Custom Kernel Without Root - OnePlus 7 Pro Questions & Answers

Is it possible to run a custom Kernel Without installing magisk? I love all the features I get with a custom Kernel in terms of performance and such but I've been using magisk off and on since OOS 9.5.3 and every time I flashed magisk and started using it the stability of the phone drastically decreased, random app crashes and random glitches here and there that I could never explain. So I'm wondering if it's possible to use a custom kernel without root

No

TacoTuco said:
Is it possible to run a custom Kernel Without installing magisk? I love all the features I get with a custom Kernel in terms of performance and such but I've been using magisk off and on since OOS 9.5.3 and every time I flashed magisk and started using it the stability of the phone drastically decreased, random app crashes and random glitches here and there that I could never explain. So I'm wondering if it's possible to use a custom kernel without root
Click to expand...
Click to collapse
Yes you can. U will need just twrp , flash kernel and you are good to go. You should use kernels which are "flash and forgett" . You will just not be able to use all tweaks in apps like ex kernel manger or franco kernel app.

gogoffm said:
Yes you can. U will need just twrp , flash kernel and you are good to go. You should use kernels which are "flash and forgett" . You will just not be able to use all tweaks in apps like ex kernel manger or franco kernel app.
Click to expand...
Click to collapse
Thank you so much

TacoTuco said:
Thank you so much
Click to expand...
Click to collapse
Welcome. You don't even need to install twrp if you want to leave the stock recovery, just boot twrp.img , flash kernel and reboot.

gogoffm said:
Welcome. You don't even need to install twrp if you want to leave the stock recovery, just boot twrp.img , flash kernel and reboot.
Click to expand...
Click to collapse
That is correct.
No need to root to run a custom kernel. I like ElementalX.
It also hide the bootloader unlock state.

I accidentally installed custom kernel without rooting on oxygen os op7 port can i flash magsic after this to get root access any problems?

gogoffm said:
Welcome. You don't even need to install twrp if you want to leave the stock recovery, just boot twrp.img , flash kernel and reboot.
Click to expand...
Click to collapse
how to boot twrp without installing it?/

BoyMantis18 said:
how to boot twrp without installing it?/
Click to expand...
Click to collapse
fastboot boot twrp.img

hammered58 said:
fastboot boot twrp.img
Click to expand...
Click to collapse
kindly teach me sir, my lhourdh,,.. i would like to try the ryzen kernel on my redmi note 9 pro with EEA 12.5.6 miui

BoyMantis18 said:
kindly teach me sir, my lhourdh,,.. i would like to try the ryzen kernel on my redmi note 9 pro with EEA 12.5.6 miui
Click to expand...
Click to collapse
You might want to try going to the remi note 9 forum if there is one and ask there. I myself always use a app called Ex Kernal Manager to flash kernels that way you can make a back up of the old one and reflash back in case things don't work out. I have never used twrp to flash a kernel but I would imagine the commands would be the same
Fastboot boot twrp.img
Once your in TWRP find the adb sideload toggle, activate then enter
Adb sideload Kernal.zip
Maybe some one that has tried using TWRP to flash kernels will help . Good luck

gogoffm said:
Yes you can. U will need just twrp , flash kernel and you are good to go. You should use kernels which are "flash and forgett" . You will just not be able to use all tweaks in apps like ex kernel manger or franco kernel app.
Click to expand...
Click to collapse
Hello I am also looking a custom kernels, without root.
My question is: Can a custom kernel with a unrooted device, with no (kernel) app and no root access provide any benefits, such as better battery life? I am using a lineage os and using the kernel provided.
Thank you, I look forward to your response.

Related

[Q] Stock 5.0 on N5, rooting question (do not want kernel modification)

When using WugFresh it says it flashes a custom kernel in order to root, is this pretty normal? I like to run as stock as possible, so I don't want a different kernel, just stock 5.0 and root with TWRP, what are my options here for that? Thanks!
CorneliousJD said:
When using WugFresh it says it flashes a custom kernel in order to root, is this pretty normal? I like to run as stock as possible, so I don't want a different kernel, just stock 5.0 and root with TWRP, what are my options here for that? Thanks!
Click to expand...
Click to collapse
Theres a SElinux mode changer on the playstore, see if that works for you. Credit to mrchezco1995 in post #142 in this thread
http://forum.xda-developers.com/nex...lus-huawei-t2687470/post56797079#post56797079
I have not personally tried this.
Maybe I'm just not following but I'm trying to get SuperSU and TWRP on my phone without any kernel modifications, not sure how that app helps? Thanks!
CorneliousJD said:
Maybe I'm just not following but I'm trying to get SuperSU and TWRP on my phone without any kernel modifications, not sure how that app helps? Thanks!
Click to expand...
Click to collapse
You can't. You MUST modify the kernel.
You either:
1) Modify with chain fire to allow root at boot
2) flash permissive kernel for SElinux permissions
3) PIE patch
After the process put the mobile in Bootloader menu and then type in the fastboot command
fastboot flash boot boot.img
this is flash the stock kernel for you.
What's with all the necroposting?
Sent from my Nexus 5 using Tapatalk

magisk

Anyone uses magisk ? Is it worth??
cline2 said:
Anyone uses magisk ? Is it worth??
Click to expand...
Click to collapse
Why yes. If you use apps that needs SafetyNet to pass. If not you can stay on SuperSU
ante0 said:
Why yes. If you use apps that needs SafetyNet to pass. If not you can stay on SuperSU
Click to expand...
Click to collapse
Ok. Too much pain to do. I will stay with SuperSU
ante0 said:
Why yes. If you use apps that needs SafetyNet to pass. If not you can stay on SuperSU
Click to expand...
Click to collapse
How do I root with magisk? I've looked all over for a method but I can't find one that makes since. I'd rather no rebrand, root I can get with phh superuser or Supersport but i like magisk, it works great on my LG G4.,
McRoberts said:
How do I root with magisk? I've looked all over for a method but I can't find one that makes since. I'd rather no rebrand, root I can get with phh superuser or Supersport but i like magisk, it works great on my LG G4.,
Click to expand...
Click to collapse
What are you rooted with now? And what build is your firmware?
ante0 said:
What are you rooted with now? And what build is your firmware?
Click to expand...
Click to collapse
I'm rooted with phh, and I'm on L29-567-190. Thanks a ton for the help.
McRoberts said:
How do I root with magisk? I've looked all over for a method but I can't find one that makes since. I'd rather no rebrand, root I can get with phh superuser or Supersport but i like magisk, it works great on my LG G4.,
Click to expand...
Click to collapse
If you want to root with magisk, just flash the zip and you are done.
Powerlated said:
If you want to root with magisk, just flash the zip and you are done.
Click to expand...
Click to collapse
It does not work. I've tryed every version from 13 to 13.3 half way thru the flash it just jumps out of recovery and boots by its self. It doesn't bootloop or hurt anything I can tell but it just doesn't install. Ever heard of that?
McRoberts said:
It does not work. I've tryed every version from 13 to 13.3 half way thru the flash it just jumps out of recovery and boots by its self. It doesn't bootloop or hurt anything I can tell but it just doesn't install. Ever heard of that?
Click to expand...
Click to collapse
You need to be on recovery 3.0.1-1
albertobom said:
You need to be on recovery 3.0.1-1
Click to expand...
Click to collapse
3.1.0-1 actually. And if Phh/supersu is flashed you need to flash stock boot image, else it will complain about boot image.
ante0 said:
3.1.0-1 actually. And if Phh/supersu is flashed you need to flash stock boot image, else it will complain about boot image.
Click to expand...
Click to collapse
Well I decided to flash the Shield Rom and it's actually running like a dream so before I go back and start over. Is there any way I can make Magisk work on this Rom. I'm haveing the same issue. I'm going to change my TWRP now. Thanks for the help.
McRoberts said:
Well I decided to flash the Shield Rom and it's actually running like a dream so before I go back and start over. Is there any way I can make Magisk work on this Rom. I'm haveing the same issue. I'm going to change my TWRP now. Thanks for the help.
Click to expand...
Click to collapse
You need to be on firmware B182+ (which you are)
You need to have twrp 3.1.0+
You need to flash stock boot image before Magisk.
You can get stock boot either from rom zip (boot.img) or stock firmware (update.app) and extract boot using Huawei Update extractor. Then flash boot image manually.

can i flash custom kernel and then revert to stock???

can i do that ?
Yes You Can!
Yes. Just backup the boot partition before you flash a custom kernel in TWRP.
memocatcher said:
Yes. Just backup the boot partition before you flash a custom kernel in TWRP.
Click to expand...
Click to collapse
so if i want to go back to stock kernel i restore onlly the boot part and restart?
Yep, dass eet!
memocatcher said:
Yes. Just backup the boot partition before you flash a custom kernel in TWRP.
Click to expand...
Click to collapse
is that the Boot [x] in the option backup in twrp recovery?
ired17 said:
is that the Boot [x] in the option backup in twrp recovery?
Click to expand...
Click to collapse
Yup
whizeguy said:
Yup
Click to expand...
Click to collapse
okay, so i've already had a backup of my stock thru that thing, i only tick that box for Boot when backing up before i install a custom kernel(Clean slate). So if i want to revert to stock kernel, i will just flash that backup thru twrp? and done?
ired17 said:
okay, so i've already had a backup of my stock thru that thing, i only tick that box for Boot when backing up before i install a custom kernel(Clean slate). So if i want to revert to stock kernel, i will just flash that backup thru twrp? and done?
Click to expand...
Click to collapse
Not flash, restore. Option to this is dirty flash the ROM your on,but restoring boot.img is enough.
whizeguy said:
Not flash, restore. Option to this is dirty flash the ROM your on,but restoring boot.img is enough.
Click to expand...
Click to collapse
restore i mean, my bad haha. it'll gona work, right? haha, yes i've read that i can also dirty flash the stock rom, i still have the full rom zip (OOS 9.0.3), so you mean the other option is flashing that full rom zip, right? ofcousrse, all mods will be revert to stock, am i right? haha just wanna be sure, Thank you!
P.S. i'm on oos 9.0.3 anyway before i flash the custom kernel haha
ired17 said:
restore i mean, my bad haha. it'll gona work, right? haha, yes i've read that i can also dirty flash the stock rom, i still have the full rom zip (OOS 9.0.3), so you mean the other option is flashing that full rom zip, right? ofcousrse, all mods will be revert to stock, am i right? haha just wanna be sure, Thank you!
P.S. i'm on oos 9.0.3 anyway before i flash the custom kernel haha
Click to expand...
Click to collapse
Yupp.
Yupp.
And yupp all mods lost also ofc I have to flash twrp reboot to twrp flash magisk After the ROM,but that's standard for this device because of the A/B slots
As for kernel, I highly recommend render or smurf! Very solid
I see. Thanks a alot
So in terms of battery performance, render or smurf?
ired17 said:
I see. Thanks a alot
So in terms of battery performance, render or smurf?
Click to expand...
Click to collapse
Both are about same. Got great results on both rocking Smurf now
whizeguy said:
Both are about same. Got great results on both rocking Smurf now
Click to expand...
Click to collapse
Gonna try that. Any idea if it is good also if partner it with havoc os or with xxx no limits rom? Haha
ired17 said:
Gonna try that. Any idea if it is good also if partner it with havoc os or with xxx no limits rom? Haha
Click to expand...
Click to collapse
I used havoc before. Some camera issue within Instagram when swapping front/back camera made me go oos again, I think Smurf has kernel for custom ROMs aswell. Haven't used xxx In a while, I just use the debloat script "light" from tomatot (think I'm messing up his name)
whizeguy said:
I used havoc before. Some camera issue within Instagram when swapping front/back camera made me go oos again, I think Smurf has kernel for custom ROMs aswell. Haven't used xxx In a while, I just use the debloat script "light" from tomatot (think I'm messing up his name)
Click to expand...
Click to collapse
Yes i saw that debloating method, i'm planning also to try it also. Thanks a lot sir.
whizeguy said:
I used havoc before. Some camera issue within Instagram when swapping front/back camera made me go oos again, I think Smurf has kernel for custom ROMs aswell. Haven't used xxx In a while, I just use the debloat script "light" from tomatot (think I'm messing up his name)
Click to expand...
Click to collapse
Btw, what build no./version of smurf you are using?

Can modified boot.img be flashed while oxygen 5.1.8 is running?

I'm running 5.8.1 stock rom Franco Kernel. The app says it can, is this true?
Also is there a stock 5.1.8 boot.img file that has TWRP installed into it that can be flashed by Francos app.
Any info appreciated
What you need to do exactly?
lgvoelkernet said:
I'm running 5.8.1 stock rom Franco Kernel. The app says it can, is this true?
Also is there a stock 5.1.8 boot.img file that has TWRP installed into it that can be flashed by Francos app.
Any info appreciated
Click to expand...
Click to collapse
The kennels can be flashed while system is running because it's a different partition and when it flashes, it keeps TWRP and magisk in tact.
mikex8593 said:
The kennels can be flashed while system is running because it's a different partition and when it flashes, it keeps TWRP and magisk in tact.
Click to expand...
Click to collapse
Thanks. Now for a stock boot.img modified only with TWRP in it
Hitman478™ said:
What you need to do exactly?
Click to expand...
Click to collapse
I need to flash 5.1.8 boot.img, one that has TWRP in it.
I DON'T HAVE ACCESS TO A PC so adb and fastboot are out.
And I have stock recovery, can't flash from there ?
That's what's up. ?
lgvoelkernet said:
I need to flash 5.1.8 boot.img, one that has TWRP in it.
I DON'T HAVE ACCESS TO A PC so adb and fastboot are out.
And I have stock recovery, can't flash from there
That's what's up.
Click to expand...
Click to collapse
You need custom recovery or fastboot, otherwise, impossible, as far as I know.
lgvoelkernet said:
I need to flash 5.1.8 boot.img, one that has TWRP in it.
I DON'T HAVE ACCESS TO A PC so adb and fastboot are out.
And I have stock recovery, can't flash from there
That's what's up.
Click to expand...
Click to collapse
Have you asked Franco if this is possible? You can flash kernels while booted, so I don't see a reason you couldn't also flash recovery. The kernel, recovery, and magisk are all in the boot partition together.
However, I have no idea if the kernel flashers (EXKM can also do it) can flash a full boot.img properly.
iElvis said:
Have you asked Franco if this is possible? You can flash kernels while booted, so I don't see a reason you couldn't also flash recovery. The kernel, recovery, and magisk are all in the boot partition together.
However, I have no idea if the kernel flashers (EXKM can also do it) can flash a full boot.img properly.
Click to expand...
Click to collapse
Best idea so far, will check.!

Bootloop headache

Hello All
Just got my OP 6...coming from 5T I have 5.1.9 installed
I unlocked bootloader
Installed twrp 3.2.2.0
Installed boot.img.... From Max Lee site
Installed Magisk 16.4
All good went to reboot system and now stuck in bootloop??
Is the boot.img different for 5.1.9?
Anybody have any ideas to help? Thanks in advance!
skyeking69 said:
Hello All
Just got my OP 6...coming from 5T I have 5.1.9 installed
I unlocked bootloader
Installed twrp 3.2.2.0
Installed boot.img.... From Max Lee site
Installed Magisk 16.4
All good went to reboot system and now stuck in bootloop??
Is the boot.img different for 5.1.9?
Anybody have any ideas to help? Thanks in advance!
Click to expand...
Click to collapse
why would you install boot.img from some site that may or may not be for our phone.
you could just reinstall stock boot or choose custom kernel from the forms here and get something that works like
cleanslate https://forum.xda-developers.com/oneplus-6/development/kernel-cleanslate-v1-7-0-oo-t3797668
elementalx https://forum.xda-developers.com/oneplus-6/development/kernel-elementalx-op6-1-00-t3799054
flash kernel https://forum.xda-developers.com/oneplus-6/development/op6-flash-kernel-1-00-t3801652
these are some of the custom kernels for our OP 6.
MrSteelX said:
why would you install boot.img from some site that may or may not be for our phone.
you could just reinstall stock boot or choose custom kernel from the forms here and get something that works like
cleanslate https://forum.xda-developers.com/oneplus-6/development/kernel-cleanslate-v1-7-0-oo-t3797668
elementalx https://forum.xda-developers.com/oneplus-6/development/kernel-elementalx-op6-1-00-t3799054
flash kernel https://forum.xda-developers.com/oneplus-6/development/op6-flash-kernel-1-00-t3801652
these are some of the custom kernels for our OP 6.
Click to expand...
Click to collapse
Max's site is "High on Android" I followed his boot loader unlock and OP 6 root plan.....it was for the OP6....but I don't know
if the image is the same on 5.1.7 to 5.1.9 ? That's the only thing that my novice mind can thing the problem is?
I don't really want a custom kernel..I keep things stock, just root for a few apps adaway, TI backup...... But thanks!
skyeking69 said:
Max's site is "High on Android" I followed his boot loader unlock and OP 6 root plan.....it was for the OP6....but I don't know
if the image is the same on 5.1.7 to 5.1.9 ? That's the only thing that my novice mind can thing the problem is?
I don't really want a custom kernel..I keep things stock, just root for a few apps adaway, TI backup...... But thanks!
Click to expand...
Click to collapse
Use your backup then? Or are you another one that didn't do any? :s (yes we had a few last couple of days)
https://androidfilehost.com/?fid=5862345805528053217
Stock kernel, latest
whizeguy said:
Use your backup then? Or are you another one that didn't do any? :s (yes we had a few last couple of days)
https://androidfilehost.com/?fid=5862345805528053217
Stock kernel, latest
Click to expand...
Click to collapse
YES!! I was that guy!!! Funny I always made a backup on my 5t...but this was new nothing on it I wasn't thinking!!
Geez now my twrp is freezing on the opening screen???
Thanks!!
**** happens I guess
Try a newer version of twrp if you can, via fastboot first and then flash (like you did before)
whizeguy said:
**** happens I guess
Try a newer version of twrp if you can, via fastboot first and then flash (like you did before)
Click to expand...
Click to collapse
what is the newest version ?
https://dl.twrp.me/enchilada/
Just saw that that was the latest.. That you had installed before.. Hmm.
whizeguy said:
https://dl.twrp.me/enchilada/
Click to expand...
Click to collapse
Thank you very much!!!! worked!! it must have been the boot.img Cheers!!!!
skyeking69 said:
Thank you very much!!!! worked!! it must have been the boot.img Cheers!!!!
Click to expand...
Click to collapse
This phone does not work like the 5T or other phones without A/B partitions. There is a lot of bad advice out there. You're better off sticking with the guides posted here.
iElvis said:
This phone does not work like the 5T or other phones without A/B partitions. There is a lot of bad advice out there. You're better off sticking with the guides posted here.
Click to expand...
Click to collapse
I don't really understand the a/b partitions? I know its for seamless updates, but don't really understand. Advice here is the best for sure.
Max Lee's method works but he had an outdated boot.img ...once I got the correct one for 5.1.9 all went well...twrp, magisk...
plus and I hate to say this..all I have now is a Macbook and he had directions for that...
skyeking69 said:
I don't really understand the a/b partitions? I know its for seamless updates, but don't really understand. Advice here is the best for sure.
Max Lee's method works but he had an outdated boot.img ...once I got the correct one for 5.1.9 all went well...twrp, magisk...
plus and I hate to say this..all I have now is a Macbook and he had directions for that...
Click to expand...
Click to collapse
All you need to know about A/B is here: https://forum.xda-developers.com/oneplus-6/how-to/guide-noobs-guide-to-b-partitions-op6-t3816123
This phone is really not that hard to mod, even with a MacBook. I've used Macs for years for rooting. It's just a matter of knowing how to use Terminal . . . that's it.
why are you flashing the boot img?...
Because the boot.img I originally use wasn't for 5.1.9..
I flashed the correct one and all good...
skyeking69 said:
Because the boot.img I originally use wasn't for 5.1.9..
I flashed the correct one and all good...
Click to expand...
Click to collapse
The reason we ask about boot.Img is b/c flashing magisk would have patched your boot.img. The only reason for flashing boot is for custom kernels.
MrSteelX said:
The reason we ask about boot.Img is b/c flashing magisk would have patched your boot.img. The only reason for flashing boot is for custom kernels.
Click to expand...
Click to collapse
I'm not sure... But when I installed the boot.img for 5.1.9 then Magisk 16.4 it fixed the bootloop
skyeking69 said:
I'm not sure... But when I installed the boot.img for 5.1.9 then Magisk 16.4 it fixed the bootloop
Click to expand...
Click to collapse
Everyone else here know that the reason for the boot loop is b/c you flashed an older boot.img then the system was expecting. What we are trying to say is if you did not flash that boot.img in the first place, This problem never would have happened.

Categories

Resources