Related
Is there any way to root without TWRP? I'll be doing this for a family member, and want to keep it as stock as possible. I just want root to remove some stock apps they don't need, then probably unroot. Is there any way to do so? Otherwise I was thinking of flashing TWRP, rooting, then flashing back the stock recovery.
Purplezigar said:
Is there any way to root without TWRP? I'll be doing this for a family member, and want to keep it as stock as possible. I just want root to remove some stock apps they don't need, then probably unroot. Is there any way to do so? Otherwise I was thinking of flashing TWRP, rooting, then flashing back the stock recovery.
Click to expand...
Click to collapse
You can boot into twrp.
Use "fastboot boot twrp-recovery-file location"
Then you can just use the root shell from twrp to make changes, no need to flash SuperSU if you want the ROM unrooted.
mrmazak said:
You can boot into twrp.
Use "fastboot boot twrp-recovery-file location"
Then you can just use the root shell from twrp to make changes, no need to flash SuperSU if you want the ROM unrooted.
Click to expand...
Click to collapse
I'm not quite sure what you're saying, but it sounds like you're saying that I can boot into the TWRP image while I'm connected with fastboot, without actually installing TWRP?
Purplezigar said:
I'm not quite sure what you're saying, but it sounds like you're saying that I can boot into the TWRP image while I'm connected with fastboot, without actually installing TWRP?
Click to expand...
Click to collapse
That's right. You can just boot twrp instead of flashing it.
And when twrp is booted you can connect to phone with adb, you will have a shell with root privileges.
mrmazak said:
That's right. You can just boot twrp instead of flashing it.
And when twrp is booted you can connect to phone with adb, you will have a shell with root privileges.
Click to expand...
Click to collapse
Cool! So then I can just remove system installed apps that I don't want (e.g. Google Play Movies and Books)?
Purplezigar said:
Cool! So then I can just remove system installed apps that I don't want (e.g. Google Play Movies and Books)?
Click to expand...
Click to collapse
You could also read this thread as see if the twrp packages there are what you want to do.
They can all be run from the booted twrp.
https://forum.xda-developers.com/r1-hd/how-to/guide-ad-removal-debloat-block-ota-easy-t3429555
mrmazak said:
You could also read this thread as see if the twrp packages there are what you want to do.
They can all be run from the booted twrp.
https://forum.xda-developers.com/r1-hd/how-to/guide-ad-removal-debloat-block-ota-easy-t3429555
Click to expand...
Click to collapse
Awesome, thanks!
Hi everyone. I am rooted, with TWRP, version B170 and Magisk installed. Also some Magisk modules like Viper4Android, audio modification library and Busybox.
I want to uninstall it and install SuperSu, as some stuff like the adblock isn't working and didn't have problems in the past with SuperSu.
How may I proceed? Is it safe to do it or should I should I make a factory reset?
Thanks!
Flash this unSu by TWRP:
https://mega.nz/#!spkAgITB!GvlQWc8peSjcyWIkjUJhE6GEF4lcklDzMBY06qqzOsw
Restore the stock boot.img. Flash by adb.
https://mega.nz/#!Flk20Tga!-oQ6I630JHr167R9WfUS7n-zkS2T4ZRf4qtSDZMPkpQ
Then root again with this SuperSu.
https://mega.nz/#!R5011SQA!i7PBLfoWXPD1Jgz1SsJ03cCk85cFKyKpvxrpmxlY5sU
ChinHon said:
Flash this unSu by TWRP:
https://mega.nz/#!spkAgITB!GvlQWc8peSjcyWIkjUJhE6GEF4lcklDzMBY06qqzOsw
Restore the stock boot.img. Flash by adb.
https://mega.nz/#!Flk20Tga!-oQ6I630JHr167R9WfUS7n-zkS2T4ZRf4qtSDZMPkpQ
Then root again with this SuperSu.
https://mega.nz/#!R5011SQA!i7PBLfoWXPD1Jgz1SsJ03cCk85cFKyKpvxrpmxlY5sU
Click to expand...
Click to collapse
UnSu works for Magisk? The magisk app has an uninstall button, but don't know if that is safe.
The SuperSu zip has to be installed in TWRP right?
Thanks for the answer.
Enviado desde mi PRA-LX1 mediante Tapatalk
metabolito said:
UnSu works for Magisk? The magisk app has an uninstall button, but don't know if that is safe.
The SuperSu zip has to be installed in TWRP right?
Thanks for the answer.
Enviado desde mi PRA-LX1 mediante Tapatalk
Click to expand...
Click to collapse
I think magisk uninstall button is safe.
Or you could just re-flash boot.img. (Also I think magisk takes back-up of your boot.img and uninstall restores it. Not 100% sure but I think I read that from soemwhere.)
ChinHon said:
Flash this unSu by TWRP:
https://mega.nz/#!spkAgITB!GvlQWc8peSjcyWIkjUJhE6GEF4lcklDzMBY06qqzOsw
Restore the stock boot.img. Flash by adb.
https://mega.nz/#!Flk20Tga!-oQ6I630JHr167R9WfUS7n-zkS2T4ZRf4qtSDZMPkpQ
Then root again with this SuperSu.
https://mega.nz/#!R5011SQA!i7PBLfoWXPD1Jgz1SsJ03cCk85cFKyKpvxrpmxlY5sU
Click to expand...
Click to collapse
Man I did that and now I am stuck at "Your device is booting now...", what could go wrong?
No panic. Flash again the unSu, then the magisk uninstall by TWRP. Then restore again the stock kernel and flash superSu.
If this does not help:
Restore the stock kernel, flash magisk, uninstall magisk, restore again the stock kernel and flash superSu.
ChinHon said:
No panic. Flash again the unSu, then the magisk uninstall by TWRP. Then restore again the stock kernel and flash superSu.
If this does not help:
Restore the stock kernel, flash magisk, uninstall magisk, restore again the stock kernel and flash superSu.
Click to expand...
Click to collapse
It is not working, still stuck in the same place.
metabolito said:
It is not working, still stuck in the same place.
Click to expand...
Click to collapse
Do not have a backup which you can restore?
ChinHon said:
Do not have a backup which you can restore?
Click to expand...
Click to collapse
I don't have it. I don't care making a factory reset and then installing SuperSu, but how can I do that without bricking it?
Thanks for your time.
You must flash the stock kernel and the stock recovery. Then you can make a factory reset without worry.
ChinHon said:
You must flash the stock kernel and the stock recovery. Then you can make a factory reset without worry.
Click to expand...
Click to collapse
Did that, but the factory reset stays at 99%, and I have to force a reset, then it seems to end the factory reset, but it bootloops 1 time and then doesn't boot anymore...
Any other way to do it?
Oh men I miss my Moto G
Repeat the Factoryreset and have patience. The last% can take up to 30 minutes. If you still do not come to 100, repeat this in TWRP.
ChinHon said:
You must flash the stock kernel and the stock recovery. Then you can make a factory reset without worry.
Click to expand...
Click to collapse
Waited for at least 45 minutes, but still in 99%.
Then installed TWRP and did factory reset but no luck, still it seems to boot but after the bootanimation it restarts and goes to eRecovery, then doesn't even try to boot.
What is the next step? Maybe I am not using the right boot.img? I am using the one you provided me.
Any unbrick tutorial to follow?
Thank you again..
The only chance for you is [How to unbrick] in the root tutorial. Please read through everything and follow the instructions exactly.
https://forum.xda-developers.com/p8...ei-p8-lite-2017-android-t3582179#post71670716
ChinHon said:
The only chance for you is [How to unbrick] in the root tutorial. Please read through everything and follow the instructions exactly.
https://forum.xda-developers.com/p8...ei-p8-lite-2017-android-t3582179#post71670716
Click to expand...
Click to collapse
That worked. I knew what I was risking with all this, so no problem. Now I am updating to B170 and then will install SuperSu,
Thank you for everything.
Sorry.... is it rooted?
JMO_Brown said:
Sorry.... is it rooted?
Click to expand...
Click to collapse
You mean after updating to B170? Yes I installed SuperSu with no problem.
metabolito said:
You mean after updating to B170? Yes I installed SuperSu with no problem.
Click to expand...
Click to collapse
Thanks man... Will try it tonight
JMO_Brown said:
Thanks man... Will try it tonight
Click to expand...
Click to collapse
Facing error mode!
jmo_brown said:
facing error mode!
Click to expand...
Click to collapse
big problem here
I am upgrading my OP3T from 5.0.1 to 5.0.3. My device is rooted using magisk and I have TWRP installed.
The system updates says -
"Root is detected, system will begin dowloading the full package. Your device will be un-rooted once the upgrade is completed."
Now my questions are
1. How to install the upgrade (5.0.3) without unrooting it ?
2. As it says it'll un-root my device, does it also mean it'll wipe my data as well ?
EDIT - I read about Dirty flashing the version I want but I can't find 5.0.3 image on Oneplus website.
shantam2 said:
The system updates says -
"Root is detected, system will begin dowloading the full package. Your device will be un-rooted once the upgrade is completed."
Now my questions are
1. How to install the upgrade (5.0.3) without unrooting it ?
2. As it says it'll un-root my device, does it also mean it'll wipe my data as well ?.
Click to expand...
Click to collapse
1. You can't.
2. No, but you can re-root it using TWRP (which will need to be reflashed via fastboot).
przemcio510 said:
1. You can't.
2. No, but you can re-root it using TWRP (which will need to be reflashed via fastboot).
Click to expand...
Click to collapse
Re-flashing magisk via TWRP will keep my data ?
It's the same as with all previous updates.
Go to TWRP, flash the whole rom,.don't exit,.flash latest Magisk,.done.
Everything will be as before, with the new system installed
Unleashed by my rooted OP3T on 8.0
RASTAVIPER said:
It's the same as with all previous updates.
Go to TWRP, flash the whole rom,.don't exit,.flash latest Magisk,.done.
Everything will be as before, with the new system installed
Unleashed by my rooted OP3T on 8.0
Click to expand...
Click to collapse
Can you elaborate more on this ?
After I upgrade (and it becomes unrooted). I immediately flash magisk via TWRP ?
I didn't get the part "flash the whole rom and don't exit" ?
Also, Will I lose any data in the process ?
shantam2 said:
Re-flashing magisk via TWRP will keep my data ?
Click to expand...
Click to collapse
Nothing will be lost even if you don't flash Magisk, so yes.
And Rastaviper meant that when you flash the update via TWRP, you don't reboot, but right after flashing the ROM you flash Magisk and then reboot, this way you will stay rooted.
przemcio510 said:
Nothing will be lost even if you don't flash Magisk, so yes.
And Rastaviper meant that when you flash the update via TWRP, you don't reboot, but right after flashing the ROM you flash Magisk and then reboot, this way you will stay rooted.
Click to expand...
Click to collapse
So no need to fastboot flash recovery?
Correct me if I'm wrong, so you dl the zip, you flash it, you then flash magisk zip? Then what? You boot up and install twrp manager in order to change recovery?
b4bass said:
So no need to fastboot flash recovery?
Correct me if I'm wrong, so you dl the zip, you flash it, you then flash magisk zip? Then what? You boot up and install twrp manager in order to change recovery?
Click to expand...
Click to collapse
If you flash the update downloaded as zip from downloads.oneplus.com via TWRP, then no, there will be no need to flash it again via fastboot and no need to install TWRP Manager.
Boot to TWRP
Flash 5.0.3 zip
Flash Magisk
Reboot & enjoy
OK thanks! I thought the recovery would go back to stock after flashing the rom
And guys, if other members help you with their posts, don't forget to thank them.
Unleashed by my rooted OP3T on 8.0
b4bass said:
OK thanks! I thought the recovery would go back to stock after flashing the rom
Click to expand...
Click to collapse
That only happens if you reboot the phone while on the stock boot image. If you use a patched boot image, or a custom kernel, or Magisk, then the stock recovery doesn't overwrite the current recovery.
Sent from my OnePlus3T using XDA Labs
BillGoss said:
That only happens if you reboot the phone while on the stock boot image. If you use a patched boot image, or a custom kernel, or Magisk, then the stock recovery doesn't overwrite the current recovery.
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
So magisk is patching bootloader? I thought it was it point not to
Though this method is saving me some serious time!
b4bass said:
So magisk is patching boot, I thought I was it point not to
Though this method is saving me some serious time!
Click to expand...
Click to collapse
Magisk makes a point of not touching the system partition but a lot of its magic is done by changing the boot image.
Sent from my OnePlus3T using XDA Labs
OK thx ! First time I replaced supersu to pet magisk. Will have to find more details on this subject
b4bass said:
So magisk is patching bootloader? I thought it was it point not to
Click to expand...
Click to collapse
Boot image is kernel and ramdisk. Boot image is not the same as bootloader!
I am going to make a complete backup for my Moto X4 before flashing TWRP and Magisk, that can help me to restore my Moto X4 to the stock and get OTA updates easily.
But I know no ideas. Could someone help me?
thank you so much
You don't have to flash twrp, you can boot to an image from fastboot for one time use.
fastboot boot twrp-x.x.x-x-payton.img
Click to expand...
Click to collapse
This enables you to use twrp to create a backup of an unmodified phone
Doranku said:
You don't have to flash twrp, you can boot to an image from fastboot for one time use.
This enables you to use twrp to create a backup of an unmodified phone
Click to expand...
Click to collapse
Thank you for replying
Someone reported booting into TWRP without installing TWRP will break OTA.
Is this real?
If yes, does that mean I can't get the OTA updates if I restore the backup made by booted TWRP?
Thank you so much
What I have:
custom version of TWRP recovery made for the oneplus 3t
unlocked bootloader (the message that pops up upon boot is annoying but tolerable)
I believe dm-verity is not triggered
flashed xposed installer version 88.1
SuperSu v2.82 also flashed
on Nougat 7.1.1 and Oxygen 4.5.1 (I realize these are dated but I would be fine staying on these)
What Im trying to do:
Pass safetynet so I can use my snapchat app again
keep the custom recovery
keep my bootloader unlocked
keep dm-verity untriggered
not lose any of my data
get xposed working on magisk so I can continue using the modules like adblock, fingerprint on reboot, and youtube background play
not brick my phone lol
Can someone please walk me through how to best do this? Since I flashed both supersu and xposed through the recovery would I have to uninstall those the same way or can I use the uninstall feature found in both? I was looking through the magisk thread and Im seeing things about flashing a boot image before flashing that but I read I dont HAVE to do that. Would I be better off doing this, and what happens to my data if I do. I've messed with a lot of things since rooting the phone last year so I dont know what will mess up this transition nor do I remember all the things I like on my phone as a result of rooting.
Im sorry that this thread is a mess, I hope someone can help me out, I would appreciate it.
my supersu is systemless if that makes a difference
Please can someone help me
JayTheKid said:
Please can someone help me
Click to expand...
Click to collapse
I don't use xposed so I can't help with that.
I would:
- remove Su using unSU from https://forum.xda-developers.com/showthread.php?t=2239421&p=40409356
- flash your rom again to ensure that you have the original boot image
- flash Magisk (the latest version)
Do these three steps in TWRP without rebooting your phone in between or you'll lose TWRP.
Of course, take a backup before you start.
Sent from my OnePlus3T using XDA Labs
BillGoss said:
I don't use xposed so I can't help with that.
I would:
- remove Su using unSU from https://forum.xda-developers.com/showthread.php?t=2239421&p=40409356
- flash your rom again to ensure that you have the original boot image
- flash Magisk (the latest version)
Do these three steps in TWRP without rebooting your phone in between or you'll lose TWRP.
Of course, take a backup before you start.
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
Couldn't I just flash the boot image without flashing the entire rom?
Also can all 3 of those files be flashed at once or do I do them in the order you specified? I'm assuming the phone won't restart after any of those steps unless I specify correct?
Thanks so much for the response by the way!
Also noob question but when making a backup, are you referring to nandroid? Which things should be checked on the backup list when doing a backup like that?
JayTheKid said:
Also noob question but when making a backup, are you referring to nandroid? Which things should be checked on the backup list when doing a backup like that?
Click to expand...
Click to collapse
Yes, in referring to nandroid. Backup boot, system, and data.
You can flash just the boot image if you have it rather than the full rom.
The order has to be the way I listed them because unSu may restore your original boot image, and you need your original boot image for Magisk to patch it.
So, while you technically may not need to flash your original boot image, I'm just playing safe.
Sent from my OnePlus3T using XDA Labs
BillGoss said:
Yes, in referring to nandroid. Backup boot, system, and data.
You can flash just the boot image if you have it rather than the full rom.
The order has to be the way I listed them because unSu may restore your original boot image, and you need your original boot image for Magisk to patch it.
So, while you technically may not need to flash your original boot image, I'm just playing safe.
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
Thanks so much, this seems a lot easier than what I thought I'd have to do!
BillGoss said:
Yes, in referring to nandroid. Backup boot, system, and data.
You can flash just the boot image if you have it rather than the full rom.
The order has to be the way I listed them because unSu may restore your original boot image, and you need your original boot image for Magisk to patch it.
So, while you technically may not need to flash your original boot image, I'm just playing safe.
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
One last question! What step do I remove xposed from my device? I flashed it with twrp so would I remove it the same way after UnSu?
JayTheKid said:
One last question! What step do I remove xposed from my device? I flashed it with twrp so would I remove it the same way after UnSu?
Click to expand...
Click to collapse
Just get the xposed uninstaller for your particular build: https://dl-xda.xposed.info/framework/uninstaller/
reilus said:
Just get the xposed uninstaller for your particular build: https://dl-xda.xposed.info/framework/uninstaller/
Click to expand...
Click to collapse
I've accomplished everything and no issues! magisk and safetynet are good. I even have access to google pay finally.
I miss my xposed modules though