I'm unable to install SuperSU - P8lite Q&A, Help & Troubleshooting

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.

Related

How I can get root acess? I have unlocked bootloader & flashed TWRP

Hello, there, today I've unlocked bootloader with QFIL utility, my phone rebooted, then I rebooted to bootloader and flashed TWRP. But I still don't have root access in my phone, what should I do? Thanks
S277_151029_ROW
//Edit Okay now I found in TWRP when I wanna reboot my phone if I want to install SU binary I swipe to install, but still no root installed
On stock rom just flash SuperSU zip in TWRP. It will install everything required, including an control app called SuperSU where you can manage root app's permissions.
Latest stable version: http://download.chainfire.eu/supersu-stable

Motorola Moto X pure stuck on bootloop after failed root attempt, HELP!!

Hey everyone I just recently got a Moto X Pure with TWRP recovery already installed and the bootloader unlocked, unrooted. The phone was stuck on Marshmallow so I went to update and it would take me to TWRP recovery every time and when I reboot back into the system, I'm still stuck on Marshmallow. So I downloaded an app that would make me download OTA updates while still having TWRP recovery but it needed root access, which I didn't have. I tried all of the one-click root apps but non worked then I stumbled across an easy root method: ( oops it said I can't post links, but basically I downloaded a supersu zip and flashed it) which I followed very precisely and I'm pretty sure I did nothing wrong. But when I flashed the ZIP using TWRP and booted back into system it was stuck on the Motorola logo which I'm assuming is bootloop. I was going to download a stock recovery using fastboot but I discovered that it would relock the bootloader, which would render the device useless to me so I can't. I also tried wiping the Dalvrik Cache but it always failed. I'm new to all of this so please guys I'm desperate for help. Thanks in advance
You can flash with fastboot the newest stock(the same version or upper) without commands "...oem..." at start and the end.
Or
The newest downloadable without commands "..oem, bootloader, gpt, oem...". @Philo0o
BL will be still unlocked.
Do you have a tutorial on how to do that please?
https://forum.xda-developers.com/mo...de-return-to-stock-relock-bootloader-t3489110 @Philo0o
More accurately you need to flash boot.img which is the kernel , in the case where root was being installed using systemless mode.
Otherwise, if you tried an old SuperSU version (where systemless didn't existed or the ones that failed to detect to install using systemless method on this phone) you'll need to reflash the whole system partition (using Firmware system chunks or custom ROM zip file).

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

No fastboot, no Erecovery, no recovery, no root.... But unlocked bootloader & bricked

No fastboot, no Erecovery, no recovery, no root.... But unlocked bootloader & bricked
fixed
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hello there. I recently unlocked my bootloader, everything went fine.
I rooted, installed twrp, everything worked.
Then i wanted magisk instead of supersu, so i clicked on choose other app in supersu and that didnt work so i tried to remove supersu with flashing a file that removes it
then my phone got bricked,
I can't enter fastboot, i cantenter recovery, i cant eneter erecovery, and when i try something as flashify, it tells me i have no root acces.
only solution: wait for an app like kingoroot to make my device able to root, install flashify and reinstall rom etc
but i currently can't wait because im already late on system updates and im scared my device will just stop working after all
extra things i encountered: system apps dissapearing, not beeing able to install system update, can't change the theme etc....
I really need help, thanks <3
Update: I can get into eRecovery now but when i try ti get new recovery it says getting package info failed...

SM-G5520 Nougat Not Flashing GApps with Flashfire after rooting with magisk, Help me

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

Categories

Resources