Remove root/eng kernel without wiping? - T-Mobile Samsung Galaxy S7 Edge Questions & Answer

I have rooted my phone, installed AdBlock hosts file, and changed the stupid S7 emojis to stock Nougat emojis. now, is there any way I can remove root and replace the kernel back with the original stock kernel, without wiping my phone? so basically I want unrooted just with the mods I made to /system. haven't seen this mentioned anywhere..

xVermicide said:
I have rooted my phone, installed AdBlock hosts file, and changed the stupid S7 emojis to stock Nougat emojis. now, is there any way I can remove root and replace the kernel back with the original stock kernel, without wiping my phone? so basically I want unrooted just with the mods I made to /system. haven't seen this mentioned anywhere..
Click to expand...
Click to collapse
You could... but it wouldn't boot because the bootloader and kernel would detect a customized system partition.

xVermicide said:
I have rooted my phone, installed AdBlock hosts file, and changed the stupid S7 emojis to stock Nougat emojis. now, is there any way I can remove root and replace the kernel back with the original stock kernel, without wiping my phone? so basically I want unrooted just with the mods I made to /system. haven't seen this mentioned anywhere..
Click to expand...
Click to collapse
You can always try. Worst off you have to reflash the system partition as well. I went back to stock system and kernel without wiping the device and everything is working except Samsung Pay, but I think that's because I pin encrypted the boot (which I guess has no plans to support).
To flash just the kernel download your current release from one of the dev mirrors and extract the tar. Re-tar just the kernel (and the system if you want to revert both) and flash in the AP slot. Just as a safety measure, I would enable the "OEM Unlock" in Developer options, but that might not do anything for us.

Related

systemless root question

So with systemless root, as far as getting back to a state where I could receive an OTA, I would just have to have stock recovery, /system partion back to stock, and stock kernel?
I root my android phones mainly for the option to use viper4android and sometimes modify the mixer_paths.xml file to get more headphone volume.
In this process, busybox is installd and thats on the /system location right?
so if an OTA came through, I would have to have made a stock backup of the mixer_paths and replace the edited one, flash stock kernel, and uninstall busybox?
I just want to be able to tinker with my phone without having to reflash everything in between OTA's.
thanks
Or can I just flash new /system image when ota's come out? Leave data intact?

Can't Unroot S4?

So, i tried to Root my GF's I9506 with CF-Autoroot.
Safteynet fails and PokemonGo doesn't work, login problems.
I Unrooted trough SuperSU, restarted the phone a couple of times but PoGo still wont login.
She's on Stock Samsung Rom with Stock Recovery.
What can i do?
I was able to Re-Root with SuperSU for some reason. Had to update the binary tho. That's strange...
Shouldnt work if SuperSU unrooted in the first place?
Maybe it leaves files behind. If you're interested, there are ways to hide root from the game.
Anyway, the only sure way to remove root would probably be the flashing of a stock ROM.
Pwnycorn said:
Maybe it leaves files behind. If you're interested, there are ways to hide root from the game.
Anyway, the only sure way to remove root would probably be the flashing of a stock ROM.
Click to expand...
Click to collapse
Hmm. She really dosen't want to do a factory reset. so i guess i have to hide it then..
I think there are a few options i think all of them needs another recovery though:
Magisk + Magiskhide + phh
SuperSu, Suhide
Something called iSu.
Might it help to root again, remove anu "Su" files and folders trough ES Filexplorer? Then unroot from SuperSu?
If the phone is running a stock ROM, flashing a stock ROM usually leaves all of the data intact.
Dallebull85 said:
Hmm. She really dosen't want to do a factory reset. so i guess i have to hide it then..
I think there are a few options i think all of them needs another recovery though:
Magisk + Magiskhide + phh
SuperSu, Suhide
Something called iSu.
Might it help to root again, remove anu "Su" files and folders trough ES Filexplorer? Then unroot from SuperSu?
Click to expand...
Click to collapse
Removing any root file live might break root, which in turn won't let you remove any of the other files left.
Besides, you don't even know what files to look for.
Having a custom recovery won't affect her usage of the phone, nor the game. Besides, it gives you the benefit of making a Nandroid backup.
Ty for all the answers. So a custom Recovery doesn't trigger Saftynet?
Might as well install TWRP, backup and try to reflash stock rom from there.
Samsung Galaxy S4 International Qualcomm (jfltexx)
Samsung Galaxy S4 LTE Advanced i9506 (ks01lte)
Which one? i suppose its the 9506, flashhing my old CF-autoroot for my 9505(jfltexx) didn't work.
To flash a stock ROM, you need Odin, Samsung phone drivers, and the stock ROM from sammobile.com.
OK. But i'll do a backup on twrp first. Ty ty
Fixed it! Reflashed stock Rom with Odin and now Pogo works again!
Ty a lot for all the help. you guys are the best!

What is the correct way/order to flash a kernel?

Hey. So this might sound super noobish, but I rooted my S7 Edge and downloaded Lucky Patcher etc etc. Turns out Lucky Patcher isn't exactly working on Nougat for the time being (not sure of reason) but there's a fix listed on here that involves flashing a kernel which supposedly fixes Lucky Patcher somehow. So I went ahead and flashed the kernel from TWRP and it seemed like everything was cool but when my phone rebooted it lost its root status (reliably confirmed by root checker app).
Is there some order that I am supposed to do this in? Was I supposed to flash the kernel via odin instead of TWRP or have I made an error somewhere. I used the method of flashing no-verity-opt-encrypt and then SuperSU via TWRP in order to root my device, if that makes any difference. I feel like I'm missing an easy step here and I'd appreciate it if someone could sort me out.
Cheers
Ozzymandais said:
Hey. So this might sound super noobish, but I rooted my S7 Edge and downloaded Lucky Patcher etc etc. Turns out Lucky Patcher isn't exactly working on Nougat for the time being (not sure of reason) but there's a fix listed on here that involves flashing a kernel which supposedly fixes Lucky Patcher somehow. So I went ahead and flashed the kernel from TWRP and it seemed like everything was cool but when my phone rebooted it lost its root status (reliably confirmed by root checker app).
Is there some order that I am supposed to do this in? Was I supposed to flash the kernel via odin instead of TWRP or have I made an error somewhere. I used the method of flashing no-verity-opt-encrypt and then SuperSU via TWRP in order to root my device, if that makes any difference. I feel like I'm missing an easy step here and I'd appreciate it if someone could sort me out.
Cheers
Click to expand...
Click to collapse
Flashing a custom or stock kernel removes root. You should flash in twrp your root method zip file right after flashing the kernel and then reboot the system.

Supersu to Magisk

Hi, i am rooted with supersu since i have my oneplus 5. i have a kernel installed on stock OOS. But now i want to try Magisk. What is the way to uninstall properly supersu and flash magisk please? thanks for your help
edit: i already tried to supress the root with supersu option ang got a bootloop after...
Uninstall SuperSU (there should be an unroot option somewhere) and flash Magisk.
Or flash the stock OxygenOS kernel, that should remove root.
are you sure flashing stock kernel remove root...? (i have a backup of the sock kernel just in case of..)
brunsman6229 said:
are you sure flashing stock kernel remove root...? (i have a backup of the sock kernel just in case of..)
Click to expand...
Click to collapse
Yes it will remove root, but not very cleanly. Some files will be left over (/data/su.img and /data/stock_boot*). These leftover files shouldn't cause any harm except eating disk space, but you may want to remove them if you want to re-root from a clean slate.
As I said, SuperSU should have a "full unroot" option somewhere in its settings. Use that, reboot; flash Magisk.

Stock ROM+custom kernel+magisk

Perhaps, someone knows what problem can be caused by the connective, mentioned in the thread name and how to fix it...
So, what I have experienced myself: I flashed a modified kernel, magisk from twrp and used the phone happily..
After some time I got a system message about that my phone was ready for security patch updating. I deleted update files from Ota-packages folder, but after an occasional reboot I found that the phone had already been updated, I had no root, twrp and the custom kernel anymore.
Does anyone know the reason of such behaviour? What exactly cause it? How to reflash the custom kernel correctly? How to avoid subsequent system updates, which can rebuild the ROM with the stock kerner instead of the custom one?
Does it matter when to obtain root via magisk providing I use a custom kernel?

Categories

Resources