i have twrp but not root (i deleted my /system directory)
how can I get root back easiest? Also I have magisk on my rom, should i just flash magisk or flash BOTH super su and magisk?
Full story:
i have twrp
wiped my /system and installed a rom clean
Think doing so wiped my root which I haven't done for years (if I remember correctly I downgraded to stock COMPLETELY then re-rooted, then re-installed TWRP etc)
Is there a less arduous process? I have TWRP but no root. I tried to flash the Magisk.zip and it didn't work. Anything else I can do?
GS5 G900T
Related
Hi Everyone,
I just followed the instruction and unlocked my bootloader.
I am in marshmallow and then used twrp to flash supersu 2.64.
When i was flashing to root twrp asked me about the partition change which i dont understand so swiped it and now i cant get past the htc one bootscreen. I have tried factory reset and wipe dalvik cache.
What do i do?
kisshell99 said:
Hi Everyone,
I just followed the instruction and unlocked my bootloader.
I am in marshmallow and then used twrp to flash supersu 2.64.
When i was flashing to root twrp asked me about the partition change which i dont understand so swiped it and now i cant get past the htc one bootscreen. I have tried factory reset and wipe dalvik cache.
What do i do?
Click to expand...
Click to collapse
Go back and change partition to read and write in twrp (I think), sounds like you set it to read only if you are getting stuck at that screen. If all else fails I'd try running the RUU then re flashing twrp , but are you s off? I've been s off since sunshine came out (which I highly recommend) and don't know how things work being s-on. Also which version of twrp are you using?
Go read up about how twrp works , that way when you are prompted with things that could prevent you from obtaining root you will know what to do. #4 in the link below might be able to help you... but once again read all the information provided.
http://forum.xda-developers.com/showpost.php?p=59745198&postcount=3
you need to update your TWRP to 3.0.0. Flash it through CMD or sdcard way, reboot to recovery, "Mount as Read Only" message swipe to right. You want it to be that way for an untouch system backup(if you wanted to do). Reflash MM ROM.
got it
The problem was twrp was asking to flash the supersu from itself even after i had flashed the su manually from twrp. i just installed badboyz and then flashed the su and did not accept the twrp option to flash supersu again and it is working again. To add more, i think i even got it dsu with the recent guide posted here which saved me few bucks. I love xda!
Hi,
I'm using CM13 on my LG d620, recently I tried installing SuperSu, and then updating binary, but normal way did not worked so I tried to install it with TWRP recovery, so my phone rebooted into recovery, supersu script automatically stared and installation was successfull. I wiped cahce, even dalvik just to be sure, and rebooted system, but it is now stuck in bootloop.
So I'm just curious if anyone would know if I can somehow fix this problem, maybe through recovery, flashing some script, or in terminal in recovery, with adb... pretty much anything just to avoid flashing new rom again and losing all of data and setings....
Thanks in advance
(btw, i'm on cm13 6.0.1, latest update to this day, twrp 3.0.0, supersu latest version on google play store i think, and also have enabled root access)
Enigma. said:
Hi,
I'm using CM13 on my LG d620, recently I tried installing SuperSu, and then updating binary, but normal way did not worked so I tried to install it with TWRP recovery, so my phone rebooted into recovery, supersu script automatically stared and installation was successfull. I wiped cahce, even dalvik just to be sure, and rebooted system, but it is now stuck in bootloop.
So I'm just curious if anyone would know if I can somehow fix this problem, maybe through recovery, flashing some script, or in terminal in recovery, with adb... pretty much anything just to avoid flashing new rom again and losing all of data and setings....
Thanks in advance
(btw, i'm on cm13 6.0.1, latest update to this day, twrp 3.0.0, supersu latest version on google play store i think, and also have enabled root access)
Click to expand...
Click to collapse
I end up with same issue now. I could have read this before flashing SuperSu. Now my device is in boot loop. Please help how to fix this without wiping data?
Rasgola said:
I end up with same issue now. I could have read this before flashing SuperSu. Now my device is in boot loop. Please help how to fix this without wiping data?
Click to expand...
Click to collapse
Just flash rom from the recovery, thats it. Let me know if it worked for you
Hi. I tried rooting my phone a few months ago, and installed TWRP and ashwin007's CyanogenMod. The rooting seems to have failed (I think I accidentally wiped something when I installed TWRP/CyanogenMod/GApps, causing me to lose the root or something. I'm not exactly sure what went wrong), but I managed to install TWRP v2.8.7.0 and CyanogenMod (on the 10th August nightly) successfully. Now I want to try rooting my phone again properly (with superuser access), and change my CROM to probably http://forum.xda-developers.com/one...m-kernel-unofficial-cyanogenmod-13-0-t3375221 (This also includes a newer version of TWRP right?)(I also want GApps!). I'm not sure which order I should do these tasks.
Should I just follow the instructions in the link?:
Installation instructions (for first-time installation):
First, perform a backup of your existing setup, and then perform a clean install (wipe /data and /system; TWRP is recommended).
If you plan on using encryption with this ROM, then flash the custom TWRP build in the Downloads section below before flashing the ROM. This custom TWRP build is needed if you want to be able to access data encrypted using this ROM while booted into recovery. Otherwise, you will not be able to access your encrypted data while your phone is in recovery mode.
Then, flash the ROM, flash a Google apps package, SuperSU if you want root access (ONLY v2.65 OR HIGHER), and then reboot.
Click to expand...
Click to collapse
A few things I want to clarify:
1. The SuperSU installation page says it requires a rooted device. As stated earlier, I'm not 100% sure whether my device is rooted or not. What should I do? Root my device (What's the best way also, KingoRoot or something else?), then follow quoted instructions?
2. For the clean install I just wipe /data and /system? Not System, Data, Cache & Dalvik?
3. After I finish wiping and installing all of those, is there any way I can restore all of my apps and associated data that I had? (I've heard something about using TitaniumBackup?)
From what I've read, I probably should:
Use my TWRP to backup all the other things (system and stuff)->
Root phone (using KingoRoot?) ->
Download and use Titanium Backup to backup Apps ->
Wipe /data and /system (or System, Data, Cache & Dalvik?)->
Flash new custom TWRP (Can I flash it using my old TWRP? The TWRP official website says you can do this with TWRP versions v2.8.4 and above, mine is v2.8.7, but that was for the official TWRP)[or should I use the android SDK tools bootloader thing?] ->
Flash new custom ROM with TWRP ->
Flash GApps with TWRP ->
Flash SuperSU with TWRP ->
Reboot phone->
Restore apps with Titanium Backup
Could someone confirm? I don't want to brick my phone Thanks a lot!
Just follow the guides for rooting and custom Recovery's. If you follow the steps you won't have any problems. First thing you must do is update your twrp. Assuming you have already unlocked your bootloader.
I have a T-Mobile LG G5, H830.
Current system is unlocked bootloader, TWRP installed, Rooted with Super SU.
Android version H83020F
Kernal 3.18.31-As hard_v4.1
How do I switch/ install to Magisk? So I can use Android pay?
The guides I found are for unrooted devices and wheren't specific to LG G5 H830 so I wanted to ask here before I try something.
buyslake said:
I have a T-Mobile LG G5, H830.
Current system is unlocked bootloader, TWRP installed, Rooted with Super SU.
Android version H83020F
Kernal 3.18.31-As hard_v4.1
How do I switch/ install to Magisk? So I can use Android pay?
The guides I found are for unrooted devices and wheren't specific to LG G5 H830 so I wanted to ask here before I try something.
Click to expand...
Click to collapse
Go into TWRP, reinstall Asgard kernel (may not be necessary but doesn't hurt) and then flash magisk v12. Reboot into system and open up SuperSU app and go into settings and click on full unroot and restart. In magisk manager make sure you enable magisk hide and don't use built in busy box (using magisk hide and built in BusyBox causes issues with root not showing up).
jeffsga88 said:
Go into TWRP, reinstall Asgard kernel (may not be necessary but doesn't hurt) and then flash magisk v12. Reboot into system and open up SuperSU app and go into settings and click on full unroot and restart. In r showing up).
Click to expand...
Click to collapse
I did what you said and it did not go well.
After many attempts, I was finally able to remove SuperSu and install Magisk and it said it was rooted.
Some how I lost all of my apps, settings, etc.
Then I went into settings and selected the option to restore to factory settings so I could get it to ask me to restore my apps from my Gmail account when it would reboot after factory reset.
HOWEVER, now it only reboots into TWRP recovery.
So I tried reinstalling Magisk and it still only boys into recovery. I tried reinstalling the kernel and it still only reboots into recovery. Then I tried installing the rom, the kernel, and Magisk and it still only boys into recovery.
Why won't it boot? In the TWRP advanced wipe... What options ships be selected to wipe before reinstalling the rom?
buyslake said:
I did what you said and it did not go well.
After many attempts, I was finally able to remove SuperSu and install Magisk and it said it was rooted.
Some how I lost all of my apps, settings, etc.
Then I went into settings and selected the option to restore to factory settings so I could get it to ask me to restore my apps from my Gmail account when it would reboot after factory reset.
HOWEVER, now it only reboots into TWRP recovery.
So I tried reinstalling Magisk and it still only boys into recovery. I tried reinstalling the kernel and it still only reboots into recovery. Then I tried installing the rom, the kernel, and Magisk and it still only boys into recovery.
Why won't it boot? In the TWRP advanced wipe... What options ships be selected to wipe before reinstalling the rom?
Click to expand...
Click to collapse
First of all, flashing magisk wouldn't make you lose any settings so not sure exactly what happened there. Secondly, never use factory reset option from phone when you have TWRP installed. Now to get out of TWRP bootloop go into TWRP, click advanced and then terminal and type the following:
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=256 count=1 conv=notrunc
Then reboot into system.
jeffsga88 said:
First of all, flashing magisk wouldn't make you lose any settings so not sure exactly what happened there. Secondly, never use factory reset option from phone when you have TWRP installed. Now to get out of TWRP bootloop go into TWRP, click advanced and then terminal and type the following:
Then reboot into system.
Click to expand...
Click to collapse
Thank you for giving me that terminal code. I am now rebooted and phone is working fine.
Help for install magisk
Can u give me step by step how to install magisk? My position on h830a, rooted, UBL, twrp.
i have xposed, busybox, gltools,
Can i directly flash magisk via twrp or flash asgard first?
Because i can't found asgard yet for H830
Thanks before
Guys currently I'm on resurrection remix 5.8.5 now I want install Pixel experience ROM.. If I install new rom do
- I loose my old data.
-i need flash SuperSU again for root ( I already flashed SuperSU)
sanvk said:
Guys currently I'm on resurrection remix 5.8.5 now I want install Pixel experience ROM.. If I install new rom do
- I loose my old data.
-i need flash SuperSU again for root ( I already flashed SuperSU)
Click to expand...
Click to collapse
No ur data will not get clear
Just select cache ,dalvik cache , system data
Dont select internal
I recommened flashing magisk for root access
rhutik said:
No ur data will not get clear
Just select cache ,dalvik cache , system data
Dont select internal
I recommened flashing magisk for root access
Click to expand...
Click to collapse
I have flashed RR ROM, nthat there was already magisk app. I checked with root checker app I found not rooted so I flashed SuperSU..
Now I have already flashed SuperSU.. now ill flash magisk and again I'll flash SuperSU remover... Is it ok to do this method... Or I need to remove SuperSU first then flash magisk
sanvk said:
I have flashed RR ROM, nthat there was already magisk app. I checked with root checker app I found not rooted so I flashed SuperSU..
Now I have already flashed SuperSU.. now ill flash magisk and again I'll flash SuperSU remover... Is it ok to do this method... Or I need to remove SuperSU first then flash magisk
Click to expand...
Click to collapse
RR comes with inbuilt magisk no need to flash supersu
If you are going to flash pixel experience rom thn flash magisk 14.0.zip with it