So i updated to nougat by going stock via factory image and sideloading OTA zip.
i flashed the custom boot img and twrp
i flashed the latest stable supersu (2.76)
used processes here: http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
boot, when i try to use root it "grants" via the toasts, but the app fails to do it's root thing. everything i've tried to do has to do with editing system files, so maybe that's it? any help would be apreciated
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
[root]Facing issues when i root XT1643 indian variant stock ROM and flash super su and the phone hard bricks everytime.
Steps i followed
#1 Flashed TWRP in fastboot and still i can see TWRP still as default Recovery after booting many times.
#2 downloaded right version of SuperSu zip file from official website and flashed through TWRP.
#3 Bingo! Theres my phone hardbricked every time.
#4 flashed the bootloader with Blankflash file to unbrick.
The surprising thing i got is that when i flash with custom ROM and i root with the same file in the same manner then everything works fine but never works in stock ROM.
Thanks for helping.
to do root in rom stock you need a modified kernel, before installing magisk or supersu, install ElementalX
if you use SuperSu (I particularly recommend Magisk), you need to enable SYSTEMLESS, follow this tutorial: https://forum.xda-developers.com/mo...de-root-moto-g4-plus-supersu-android-t3587918
I Have SM-G5520 Nougat, I rooted it successfully here
Link: https://forum.xda-developers.com/sa...g5520-g5520zcu1brb1-nougat-root-twrp-t3772104
But, as mentioned there, I run Flashfire, Grant root access, Browse for GApps.zip and flash it, but after click on flash screen goes black and didn't show any proccess of flashing GApps.
After waiting 2 - 4 Hours, There was still a black screen like my phone is off and I restart my phone. Now there is not a single GApp installed there. Please help me to flash GApps.
I continue my research on rooting and flashing and i got some points that are below,
1. Magisk is system-less root that's why when ever i tried any app to modify system folder or root directory my phone got restart.
2. I tried SuperSU system-less but the device isn't going to root.
3. I tried King Root, Kingoapp, OneClickRoot, Dr. Phone root, iRoot and much more with and without PC but my device was not going to root but only Magisk root my device.
4. I tried CFAuto Root with all modifications but due to my phone didn't have "OEM Unlock" option, flashing CF Root cause failure.
5. I tried to push GApps into Original Firmware, but that way takes a lot time and i failed there because of security reasons (And that was my first attempt to modify "Firmware" I must failed ).
All the conclusion of my work let me know that i have to root my SM-G5520 Nougat as system root that will going to work 100% to flash GApps.
Now Please help me to root system wise and flashing GApps.
Thanks Advance
plz contact Gsm helper team
I managed to finally unlock the bootloader on my P8 lite by downgrading to Android 5. Once there, I rooted the phone with KingRoot, got the unlock code with grep and unlocked the bootloader. Then, I unrooted and flashed a rom to have Android 6. I then flashed TWRP recovery and found some zips that were supposed to give root access (named "1.zip" and "2.zip"). After flashing, SuperSU was not installed, attempts to install from apk got denied and flashing it seemed successful, but upon booting I can't find it anywhere. I even tried to sign the apk with no luck. Any ideas? I may need to re flash the root zips.
root
you need twrp--> supersu.zip install.