Samsung Galaxy A3 (2016) Stock Boot Image - Galaxy A3, A5, A7, A8, A9 Q&A, Help & Troubleshoot

I have recently rooted my A3(2016) and have been using SuperSU, since i heard about Magisk i wanted to try and install it with TWRP but I have been getting error to restore Stock Boot Image. I've tried Fully Unrooting in SuperSU app but it says it can't restore Stock Boot Image. Is there anyway to acquire Stock boot image without flashing new firmware, since I don't want to lose data.

HisBrain said:
I have recently rooted my A3(2016) and have been using SuperSU, since i heard about Magisk i wanted to try and install it with TWRP but I have been getting error to restore Stock Boot Image. I've tried Fully Unrooting in SuperSU app but it says it can't restore Stock Boot Image. Is there anyway to acquire Stock boot image without flashing new firmware, since I don't want to lose data.
Click to expand...
Click to collapse
hi , extrat boot.img from your firmware and flash with twrp also magisk v14.0>>> reboot and wait .... good luck

Related

Updating firmware and root?

Hi guys,
I know how rooting and flashing works but I've been using HTC devices since the nexus one so there are some differences I just want to make sure of. I got my 6P yesterday, I unlocked the bootloader and flashed TWRP. I wanted to gain root but Im not sure about flashing the modified boot img and the vendor thing.
My build was K but I got an OTA before unlocking the bootloader which updated to L. Anyway I don't know why I just formatted every thing in TWRP instead of the factory reset and I lost the OS X_X I tried to restore my nandroid with no luck. Anyway I got the factory img (MDB08L) from google dev and flashed used 'flash-all.bat' in the bootloader, the phone is running fine right now but I would like to update to the latest firmware 6.0.1+root since im not getting any OTA.
I would like to install CleanCore(6.0.1), the guide is
-> Flash Bootloader & Radio (as needed)
-> Flash CleanCore
-> Flash Modified Boot (named angler-xxxxxx-boot.zip)
-> Flash SuperSU or SuperSU Beta
-> Flash latest vendor.img (ROM & Vendor builds need to match!)
1. Should I use MMB29M factory img and flash 'flash-all.bat' like I did with the L build for the first step? then I flash new recovery?
-Flashing the rom through the recovery
2. so after I flash the rom I boot into the bootloader and flash the modified boot img with fastboot flash boot boot.img right?
3. then I go back to recovery and flash SU which I should download before.
4. vendor img is flashed in recovery too or fastboot?
Sorry for the hassle I just want to make sure.
One more thing, in this guide http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928 at step 9, OP flashes the factroy img files separately (bootloader,radio,etc), is there a problem with using flashall.bat?
Thanks in advance and sorry for my noobish questions.
If you want to keep your data while doing this process, then yes, using the flash-all.bat is a problem. However, if you are fine with reverting back to stock(where you have to activate Android and reinstall all of your apps) then the flash-all.bat file is just fine.
That guide in the thread you linked walks you through how to update without losing data. After doing all of that, you'll just need to install TWRP and SuperSU again(do the latest systemless supersu though)
Enddo said:
If you want to keep your data while doing this process, then yes, using the flash-all.bat is a problem. However, if you are fine with reverting back to stock(where you have to activate Android and reinstall all of your apps) then the flash-all.bat file is just fine.
That guide in the thread you linked walks you through how to update without losing data. After doing all of that, you'll just need to install TWRP and SuperSU again(do the latest systemless supersu though)
Click to expand...
Click to collapse
Thanks for the help.
I have rooted my stock rom and gained root. I also installed exposed so i'll be fine without a custom rom for some time. There has been a report that some cameras aren't working on 6.0.1 with root so I'll wait for a while.
Thanks again
mr.dj26 said:
Thanks for the help.
I have rooted my stock rom and gained root. I also installed exposed so i'll be fine without a custom rom for some time. There has been a report that some cameras aren't working on 6.0.1 with root so I'll wait for a while.
Thanks again
Click to expand...
Click to collapse
I'm pretty sure those reports are because they used the SuperSU root method that didn't auto patch the boot image(which is the version(or two versions) behind the current version of SuperSU). This is happening because people are updating to 6.0.1, but the patched SuperSU boot image is for 6.0 and the 6.0 boot image conflicts with 6.0.1
As long as you use the latest version of SuperSU then you won't have any trouble with the camera
Enddo said:
I'm pretty sure those reports are because they used the SuperSU root method that didn't auto patch the boot image(which is the version(or two versions) behind the current version of SuperSU). This is happening because people are updating to 6.0.1, but the patched SuperSU boot image is for 6.0 and the 6.0 boot image conflicts with 6.0.1
As long as you use the latest version of SuperSU then you won't have any trouble with the camera
Click to expand...
Click to collapse
Thanks for the info

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

Softbricked phone

I was trying to root my phone and I installed Supersu but than my phone refused to boot. It would open fastboot but nothing after that. I tried to revert to the stock image and i think i made it past that but, that did not fix anything i can still only boot into fastboot. Please help me I want to save my phone.
fireop958 said:
I was trying to root my phone and I installed Supersu but than my phone refused to boot. It would open fastboot but nothing after that. I tried to revert to the stock image and i think i made it past that but, that did not fix anything i can still only boot into fastboot. Please help me I want to save my phone.
Click to expand...
Click to collapse
SuperSU should have a uninstall file, try flashing that in twrp
Sent from my validus_athene using Tapatalk
fireop958 said:
I was trying to root my phone and I installed Supersu but than my phone refused to boot. It would open fastboot but nothing after that. I tried to revert to the stock image and i think i made it past that but, that did not fix anything i can still only boot into fastboot. Please help me I want to save my phone.[/Q
Flash a temporary rom and then install a stock recovery, and then boot back into stock rom by flashing stock image on pc
through fastboot mode
Click to expand...
Click to collapse
@fireop958
Installing SuperSU or any root app needs custom kernel installed, if you flash it on stock kernel then its anti-root mechanism will get activated and it will refuse to boot;
now first flash the stock rom via fast boot from here : https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138
then after its booted successfully, then flash the TWRP from fastboot and flash the ElimentalX kernel from TWRP, reboot and check the kernel info in about phone in settings; after then
simply flash SuperSU or magisk from TWRP to get root access
siddhesh9146 said:
@fireop958
Installing SuperSU or any root app needs custom kernel installed, if you flash it on stock kernel then its anti-root mechanism will get activated and it will refuse to boot;
now first flash the stock rom via fast boot from here : https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138
then after its booted successfully, then flash the TWRP from fastboot and flash the ElimentalX kernel from TWRP, reboot and check the kernel info in about phone in settings; after then
simply flash SuperSU or magisk from TWRP to get root access
Click to expand...
Click to collapse
Thank you so much. You saved my life right there.

Nexus 6P stuck on Google logo after root attempt

After trying to root my Nexus 6P I flashed TWRP and installed the lates super su through TWRP my phone stuck at Google logo
*PS*
- I have unlocked bootloader.
- I am able to get into TWRP
I know I can flash stock rom and fix it but I don't want to wipe my phone so is there any way to save my data ?
You could try to flash the factory image with the Nexus root kit.
q8i94 said:
After trying to root my Nexus 6P I flashed TWRP and installed the lates super su through TWRP my phone stuck at Google logo
*PS*
- I have unlocked bootloader.
- I am able to get into TWRP
I know I can flash stock rom and fix it but I don't want to wipe my phone so is there any way to save my data ?
Click to expand...
Click to collapse
It's real simple if you have issue with root just flash the boot.img from your firmware/ROM. If you don't have it extracted just dirty flash(no wiping). Next time get yourself magisk 16.0 zip. It's compatible with almost all builds. Just make sure with some builds you have to boot the ROM first and setup before flashing root. Or it may cause boot loop on startup.

Stuck with stock kernel

Hi
I have an issue with my s7 edge. I am unable to flash any kernel, even if it succeeds in twrp, the kernel remains stock regardless. Also, i think supersu has caused the issue as I am unable to root with magisk, it says that the boot image is already patched by an unsupported program. I literally have no idea how to get rid of this kernel. I have flashed to stock with odin and also tried a full unroot with supersu. Is anyone able to help?
Thanks
Just curious, can you flahlsh to stock, root with magisk and then flash a custom kernel in Twrp? Have you also tried a custom ROM? Good luck
In twrp , go to advance wipe and check all boxes except sd card. Wipe.
Flash whatever rom you want. Boot it up. Then go back into recovery flash a new kernel and it should work.
Sent from my SM-G935FD using Tapatalk

Categories

Resources