Trouble with unrooting and boot loops - Samsung Galaxy S7 Edge Questions and Answers

Hey there!
So i thought it would be easy to unroot my S7 Edge SM-G935F on magisk or superSU without wipe all the data.... until i wanted to do so two days ago :silly:
Problem is no matter what "official" variation i use for magisk (uninstaller flashed in twrp or full uninstall / switch images in the manager) or superSU (option in the app) im getting a boot loop. can only get out of it when i reinstall magisk or superSU via twrp.
Today i found a flashable uninstaller for superSU, used it and it workted without causing the loop but it says i needed to reflash the original boot.img. but when im flashing the boot.img that i can find within the "AP" part from the decompressed rom im using its again boot loop time.
(After that ive tried to fix the loop caused under magisk uninstaller with flashing the boot.img out of the rom under twrp afterwards... but its looping on)
i realy dont understand that and its pretty frustrating because i've tried so many different things but all the time it ends in the loop.
hope someone can help me with that! :crying: (Rom is from Sammobile G935FXXS2DRA9_G935FDBT1DQJ1_DBT)
thanks for your time and answer
greetings
Chris

Related

TWRP/CWM Method of SuperSU caused boot hang on custom rom

Hi guys, I was able to root my G900V, unlock the boot loader into Developer mode, re-write the recovery with TWRP and install AICP custom rom. It was working great, I put Titanium Backup on my phone and it warned of an old version of SU. It recommended I upgrade SuperSU, so I installed the SuperSU app. When it came up of course it detected the same thing (old version of su) and recommended update. I have never used the TWRP/CWM method so again I tried Normal mode. It asked for access and I granted it, spent some time acting like something was happening then failed. I rebooted the phone and tried again -- same thing still failed.
Since I had TWRP installed, I thought I'd give the alternative flash a try. When I chose it, it booted into recovery and flashed a zip file. When it rebooted, it tried to bring up the OS and it hangs at the AICP logo. I can still get into recovery but the OS won't fire up. I'm not sure where to go from here, I think I can start over with ODIN but I'd rather know how to repair this situation (if it's possible) since I started to get the phone set up...
EDIT: By the way, the rom was the AICP Nightly from 12/30 and TWRP of 3.0.2-2.
Solved
I downloaded chainfire's latest SuperSU zip file: https://plus.google.com/+Chainfire/posts/WrCvex7KAZR and flashed it in TWRP. Got me rollin' again.

How can I remove Magisk?

I've flashed Magisk, but because I can't get Xposed to work, I'd like to remove Magisk and install SuperSU, but I don't know how. I tried to flash the uninstaller via TWRP and it says everything is fine, but after rebooting it just stays installed. If I try to flash SuperSU anyway I get stuck on boot. I have to flash stock boot.img via TWRP and then Magisk magically reappears. I tried using MiFlash but it refuses to do anything. It says no permission.
One possible solution, I guess, would be to flash stock ROM via TWRP. Can this be done? Any other ideas? Or am I just stuck with Magisk until a new version is available?
Filip013 said:
I've flashed Magisk, but because I can't get Xposed to work, I'd like to remove Magisk and install SuperSU, but I don't know how. I tried to flash the uninstaller via TWRP and it says everything is fine, but after rebooting it just stays installed. If I try to flash SuperSU anyway I get stuck on boot. I have to flash stock boot.img via TWRP and then Magisk magically reappears. I tried using MiFlash but it refuses to do anything. It says no permission.
One possible solution, I guess, would be to flash stock ROM via TWRP. Can this be done? Any other ideas? Or am I just stuck with Magisk until a new version is available?
Click to expand...
Click to collapse
Magisk is pretty much "useless" for now. Because it is based on system-less root, and cannot be updated (because still in testing phase! Newer Xposed module from Magisk requires latest Magisk root binary, which is pretty out of option atm as we can't update to the latest binary). The only solution if you want to have proper root access is:
1. Head over to Xiaomi MIUI website and download the full stock ROM again, and then flash it via fastboot (choose flash_all_except_storage.bat if you want to preserve your data).
2. Once flashed, reboot back to bootloader and unlock it.
3. While still in bootloader flash the correct CF-Auto root boot image for your ROM (contains SuperSU 2.82 binary, https://desktop.firmware.mobi/device:1748)
4. Wait patiently and it will automatically reboot. Install SuperSU from Play Store if you want root management app.
5. If you need Xposed, download the Xposed apk from XDA and then install it normally (not via recovery).
6. ??? Profit
*DO NOT INSTALL permanent TWRP as it will cause your phone stuck in boot loop.
@soralz
Thanks for your help, but no luck. I understand what I'm supposed to do, but I can't get MiFlash to work. When I try to flash stock image I get a "Permission Denied" error. (I have unlocked my bootloader successfully). I tried flashing modified stock image from here But then I couldn't boot. My only solution is to flash stock boot.img via TWRP and I can boot, but I stay stuck with Magisk.
So far, the only options I can think of is to wait for a recovery-flashable ROM, a new software update or a new version of Magisk.
Filip013 said:
@soralz
Thanks for your help, but no luck. I understand what I'm supposed to do, but I can't get MiFlash to work. When I try to flash stock image I get a "Permission Denied" error. (I have unlocked my bootloader successfully). I tried flashing modified stock image from here But then I couldn't boot. My only solution is to flash stock boot.img via TWRP and I can boot, but I stay stuck with Magisk.
So far, the only options I can think of is to wait for a recovery-flashable ROM, a new software update or a new version of Magisk.
Click to expand...
Click to collapse
You couldn't boot, are you using permanent TWRP?
Have you tried download the Full ROM from here and run this (as attachment)?
http://en.miui.com/download-333.html
Btw, place the folder under 1 directory only eg: as attachment. (I tried in multiple directory eg: "D:\Phones\ROM\Stock ROM", it just wouldn't flash)
@soralz
OMG!!! I can't believe it. MiFlash refused to let me flash because I tried to do that from the wrong location. Weird??!!
Good. I’ve managed to follow your instructions and success!! Just a minor note, I couldn't flash the modified boot.img directly via fastboot, it still won't let me. But I just booted TWRP (without flashing) and then flashed it from there. Again, THANK YOU!
BTW, yes, I had flashed permanent TWRP and then unsuccessfully tried to remove it.
Filip013 said:
@soralz
OMG!!! I can't believe it. MiFlash refused to let me flash because I tried to do that from the wrong location. Weird??!!
Good. I’ve managed to follow your instructions and success!! Just a minor note, I couldn't flash the modified boot.img directly via fastboot, it still won't let me. But I just booted TWRP (without flashing) and then flashed it from there. Again, THANK YOU!
BTW, yes, I had flashed permanent TWRP and then unsuccessfully tried to remove it.
Click to expand...
Click to collapse
Oh you manage to fix that? Good for you then. And yes you cannot have permanent TWRP and SuperSU at the same time. The CF-auto root for me I just click root.bat and done. btw side note, you will lose root after each update, besure to check out the new patched boot image. I m sure in the future we will have automated process, don't need to re-root manually after each update

HELP! S8 won't boot up!

I've messed everything up and now I'm devastated!
My S8 stucks at the very first screen (where it says: SAMSUNG GALAXY S8 - powered by android). It doesn't boot further this very specific screen. I have tried to update Magisk and Magisk Manager but only Magisk Manager seems to get updated successfully while the app suddenly says that the latest version of Magisk Manager required Magisk V19.XX hence I've tried to install it via TWRP. According to log screen, I've managed to install magisk via TWRP but after booting up, I opened Magisk Manager where it now says that Magisk isn't installed. I therefore boot into TWRP and tried to fix it since some apps of mine that required root access wasn't working anymore. So, I thought I must have lost root access. I once again boot into recovery, I uninstalled magisk and install an older version of magisk and magisk manager and also the no_verity patch. After that my Galaxy S8 won't boot up. It just stucks at the very first screen. My S8 (international version) is still on Nougat stock samsung firmware and I can enter TWRP but the phone remains freeze and stubbornly refused to boot up.
I'm quite devastated and I hope you guys can help me fix this issue!
Thank you!
Hi, well sorry if I am stating the obvious but I would format and install one of the many custom roms available...
tosmaniac said:
Hi, well sorry if I am stating the obvious but I would format and install one of the many custom roms available...
Click to expand...
Click to collapse
Are there any solutions other than flashing a custom rom? Meanwhile, I have managed to flash Android 9 via ODIN and have TWRP installed but it won't boot up and stucks at the very first booting screens.
Any help would be appreciated!
Thanks!
cocolish said:
Are there any solutions other than flashing a custom rom? Meanwhile, I have managed to flash Android 9 via ODIN and have TWRP installed but it won't boot up and stucks at the very first booting screens.
Any help would be appreciated!
Thanks!
Click to expand...
Click to collapse
Have you tried just flashing stock rom only to see if it boots up. You may have to do a clean install.
Problem sounds like you haven't decrypted phone and flashed no verity zip file.
You won't need to flash a custom rom to fix this.
As for magisk have a look through this very helpful guide for installs and troubleshooting.
https://www.didgeridoohan.com/magisk/HomePage
I've managed to solve this issue by myself. But still, thank you so much! It's the thought that counts ? And yes, I've figured out that I haven't decrypt my S8. But everything is absolutely fine now and I feel extremely relieved. It took me 1 day to fix this major issue and I've encountered lots of difficulties while trying to fix this like bootloops, system won't boot up and managed to stuck at the very first booting screen again and the phone boot past the first booting screen and stucks at the second booting screen, and also bootloader error and stuffs like where realization hit me that I can't restore my nandroid backup while still on Nougat because after restoring it won't boot up. I therefore managed to flash Android 9 and twrp. My S8 is now on Android Pie with custom recovery and rooted (via Magisk).

T580 was working fine. Updated Magisk through MM and now I am on a bootloop

Hi Guys,
Magisk had an update so I installed in through the recommended way in the MM app. Now I am stuck in a boot loop
I tried flashing magisk unistaller to see if that could fix, and it did not
I also tried reflashing magisk and nothign has changed at all.
sjbayer3 said:
Hi Guys,
Magisk had an update so I installed in through the recommended way in the MM app. Now I am stuck in a boot loop
I tried flashing magisk unistaller to see if that could fix, and it did not
I also tried reflashing magisk and nothign has changed at all.
Click to expand...
Click to collapse
Boot to download mode and flash stock firmware

Stuck on "Downloading..." loop after Magisk Update from the Magisk Manager -RESOLVED

As the title describes, I did the probably not so smart and I tried updating Magisk from within the Magisk Manager and now I cant get out of the loop of it returning to "Downloading...".
I was using Magisk Manager 21.4 and when I tried running the uninstall Magisk zip file within TWRP, it fails cause of something in accordance to the SD card (probably where its running from) or something.
Edit: I figured it out, it does not recognize the contents of the zip files as a bootable image anymore
Now im not sure how im suppose to follow the guide from here: https://magiskmanager.com/uninstall-magisk
Do any of you have a suggestion that does require me to completely re-root my phone?
Im not sure how to remove this thread, but the issue is resolved and I probably posted it in the wrong forum place any way.
How did you resolve the problem. I'm having the same issue right now. Did you simply uninstall Magisk?
Hi @onurdz I faced the same. I solved it by removing the App, rebooting, installing the App v8.0.3 , updating the App to v22.1, and then the option to update Magisk appeared.
Thanks a lot for posting it here! I came here looking for solution for the same, without even realizing it might be caused by Magisk - update and reboot happened a good while apart.
I tried looking but couldn't find - is it a known issue with magisk, and is there a fix (in work) to solve it without removing or rolling back magisk?
Now I'm confused.
My phone wouldn't start. It's either "downloading", or TWRP.
I'm trying to uninstall magisk, by downloading the app, renaming it into uninstall.zip and installing in twrp.
It fails with an error. Not sure it's same, it says to me "unsupported/unknown image format"
AntonGut said:
Now I'm confused.
My phone wouldn't start. It's either "downloading", or TWRP.
I'm trying to uninstall magisk, by downloading the app, renaming it into uninstall.zip and installing in twrp.
It fails with an error. Not sure it's same, it says to me "unsupported/unknown image format"
Click to expand...
Click to collapse
Hi...
first...there is a Magisk Zip file you can use to uninstall with TWRP.
sec...you can flash the Stock Boot.img into boot partion
third...you can recover boot image from a backup
yeah im sure that every option will bring success
solong
speedson
to unbrick a samsung just download the Stock firmware by using Frija tool and start the into download-mode
then use Odin3 to flash the stock rom and restart into System...thats all
solong
speedson

Categories

Resources