Hi there sorry for noob question but I need to know about the following things since I have Samsung S7 Edge (SM-G935F). I was reading an article [Recovery][Exynos] Official TWRP for Galaxy S7 edge (hero2lte) where OP said the following:-
If you only want a bootable system partition:
Download the latest dm-verity and force encryption disabler zip.
Without exiting TWRP, transfer the no-verity-opt-encrypt zip to your device over MTP* and flash it using [Install] in TWRP.
Note: This does not disable the forced encryption on Bxxx firmware, only Axxx firmware due to a change in vold by Samsung.
I want to ask what are Bxxx firmware, only Axxx firmware? And can somebody provide me the download link? Can I flash this on my cell?
Regards
GearCEO
Hello XDA!
I've recently un-rooted my EE S5 (SM-G901F, kccat6) by running the unSU script to install Magisk. However, upon attempting to run the Magisk installer, I get the following error:
! Boot image patched by other programs!
! Please restore stock boot image
I know for a fact that uninstalling SuperSU 'normally' (app's built-in function) restores this file, but at the time, I didn't realise such a feature existed. Where is the stock boot.img held that this function uses, and how do I restore it, considering I have no root access? I still have access to TWRP however.
Thanks
Sam
SamTheSaminator said:
Hello XDA!
I've recently un-rooted my EE S5 (SM-G901F, kccat6) by running the unSU script to install Magisk. However, upon attempting to run the Magisk installer, I get the following error:
! Boot image patched by other programs!
! Please restore stock boot image
I know for a fact that uninstalling SuperSU 'normally' (app's built-in function) restores this file, but at the time, I didn't realise such a feature existed. Where is the stock boot.img held that this function uses, and how do I restore it, considering I have no root access? I still have access to TWRP however.
Thanks
Sam
Click to expand...
Click to collapse
Hi,
Stock Boot.img is the part of stock rom and contains kernel + ramdisk and is located after flashing in boot partition.
In my opinion the easiest way to recover stock boot.img is jast re-flashing stock kernel (boot.img) of your rom.
So im rooted on my G5Plus US can i just updated it or do i have to install in some other way?
Yes, you can!
However, it's not trivial. I'm writing a guide.
In any case, you need to use SYSTEMLESS root (for example, with Magisk), and a backup of your SYSTEM, OEM, RECOVERY & BOOT partitions.
And to complete the OEM backup with TWRP we need that some developer will update it.
Regards.
Hi guys,
I have gone thru the forum to install Magisk systemless root in S7 Edge running 8.0 but have few questions.
1. Is TWRP mandatory to install Magisk for systemless root?
2. If above point is yes, then will the device be eligible for OTA even with TWRP recovery?
3. Please provide steps to install Magisk systemless root in S7 Edge running 8.0 latest October patch
Thanks in advance.
mpadhu said:
Hi guys,
I have gone thru the forum to install Magisk systemless root in S7 Edge running 8.0 but have few questions.
1. Is TWRP mandatory to install Magisk for systemless root?
2. If above point is yes, then will the device be eligible for OTA even with TWRP recovery?
3. Please provide steps to install Magisk systemless root in S7 Edge running 8.0 latest October patch
Thanks in advance.
Click to expand...
Click to collapse
Go Here https://forum.xda-developers.com/s7-edge/how-to/guide-how-to-root-android-8-0-oreo-t3840271
1. U need TWRP for flashing Magisk.
2. When ur intentions are gaining root access, u should forgo OTA.
3. The above link has everything u need.
joeljose1001 said:
Go Here https://forum.xda-developers.com/s7-edge/how-to/guide-how-to-root-android-8-0-oreo-t3840271
1. U need TWRP for flashing Magisk.
2. When ur intentions are gaining root access, u should forgo OTA.
3. The above link has everything u need.
Click to expand...
Click to collapse
Thank you for your time and response. There is something called systemless root which will hide the root from the system and also allows official OTA updates.
mpadhu said:
Thank you for your time and response. There is something called systemless root which will hide the root from the system and also allows official OTA updates.
Click to expand...
Click to collapse
From what I know, when you download an OTA and prompt your device to install it, your Android system performs a series of checksums to ensure that your /system, /boot, /recovery, and /vendor (or /OEM) partitions are unmodified from their original stock configuration.
The benefit of Magisk is that it does not modify the system partition, but while installing Magisk, the first thing it does is patch boot image. So you might have to restore the original boot image for the OTA to work.
Also, the OTA is designed to be installed via the stock recovery which has been overwritten with TWRP. So, I think u will face a problem there too.
I'm not saying that it's impossible to get an OTA update. It just might not be as easy as u r used to.
joeljose1001 said:
From what I know, when you download an OTA and prompt your device to install it, your Android system performs a series of checksums to ensure that your /system, /boot, /recovery, and /vendor (or /OEM) partitions are unmodified from their original stock configuration.
The benefit of Magisk is that it does not modify the system partition, but while installing Magisk, the first thing it does is patch boot image. So you might have to restore the original boot image for the OTA to work.
Also, the OTA is designed to be installed via the stock recovery which has been overwritten with TWRP. So, I think u will face a problem there too.
I'm not saying that it's impossible to get an OTA update. It just might not be as easy as u r used to.
Click to expand...
Click to collapse
Got your point. Thank you. I read that Magisk can be installed without root or even custom recovery.
The below is taken from the official Magisk thread https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
How to download or extract the stock boot image file from my official ROM?
"Via Magisk Manager:
This method does not need root, and also does not require a custom recovery.
However, you MUST have a stock boot image dump beforehand, and you also have to be able to flash the patched boot image, either through fastboot/download mode or ODIN
Install the latest Magisk Manager
If you're planning to flash the patched boot image through ODIN, go to Settings > Update Settings > Patched Boot Output Format, and select .img.tar. For normal users leave it as the default .img
Press Install > Install > Patch Boot Image File, and select your stock boot image file
Magisk Manager will now patch your boot image, and store it in [Internal Storage]/Download/patched_boot.img[.tar]
Copy the patched boot image to your PC. If you can't find it via MTP, you can pull the file with ADB:
adb pull /sdcard/Download/patched_boot.img[.tar]
Flash the patched boot image to your device and reboot. Here is the command if using fastboot:
fastboot flash boot /path/to/patched_boot.img"
So i have my phone at Oreo BCTC1 Update which has no root method without downgrading to marshmellow
So since then i can't debloat apps from the system
So is there anyway using adb or a modified system.img?