GUIDE: Root With Magisk And Get TWRP For T-Mobile - Moto G7 Power Guides, News, & Discussion

Root Using Magisk + A Working TWRP T-Mobile firmware
I’m making this for people who have the T-Mobile ROM installed on their Moto G7 power (ocean) XT1955 and are looking to get root access and custom recovery with TWRP.
The firmware I started with had the Feb. 1st security update installed.
I know that T-Mobile has been giving away the Moto G7 power lately when you sign up for a new line. I do believe it is a fairly new promotion, so I expect there will be people who just got this phone and are looking to root it. That’s where I was a few days ago and I found it a little confusing reading all the other posts, but I’ve figured it out and I’ll tell you exactly what you need to do.
First things first. You need to unlock your bootloader and there is several good posts in this forum that tells you how to do that, so I’m not going into it.
Second. Download Magisk BETA v 20.4 the link is here: https://******************/magisk-beta
Make sure it is the beta version, the latest stable version won’t coexist with TWRP.
Also get the latest magisk manager app here: https://****************** (I used version 7.5.1)
Place both of these downloads onto your external SD card. Make sure it’s the external SD card because when you need these files, you will be in TWRP and the main storage is encrypted and you can’t read it without unencrypting it first. (if you don’t have an external microSD card then you’ll need to figure out how to decrypt as I didn’t want to deal with it and can’t tell you how)
Third get the latest TWRP here: https://dl.twrp.me/ocean/ get the .img and the .zip.
Make sure you get this version shown below. (NOT The 3.3.1-0 version)
twrp-installer-3.3.1-2-ocean.zip
twrp-3.3.1-2-ocean.img
put those two items on your external SD card and also put a copy of the twrp-3.3.1-2-ocean.img on your PC as well.
Fourth. You are going to need “fastboot and ADB” installed on your PC. (If you don’t know what this is then you need to Google it)
On your PC I want you to rename the twrp-3.3.1-2-ocean.img to recovery.img and then place it in the same folder where you have ADB and fastboot installed.
Next you need to reboot your device into fastboot mode. You do this by powering off your phone first and then hold the vol down key and the power key to power it on and it will boot into fastboot mode. Now connect your phone to your PC using the stock cable that came with your phone and then you want to on your PC run a command window or power shell window and navigate to your folder where you have fastboot installed. (If you don’t know what to type in the command line to navigate to your fastboot folder then you better Google it.)
Okay now in the command prompt in your fastboot folder type this:
Fastboot devices {Hit ENTER}
This is just to verify that you can access your phone, if succesuful there will be a line with your phone’s serial number on it.
If you can see your phone, then type this:
Fastboot boot recovery.img {Hit ENTER}
Now if you have done everything correctly, your phone should boot into TWRP. Once in TWRP on your phone, the first thing you need to do is go to the “advanced” tab, then install a zip, and navigate to your external sd card (choose storage) and install the twrp installer zip which will install twrp for you.
Second you want to install the Magisk zip file from your external SD card and then that will root for you.
Lastly go ahead and wipe the dalvik and reboot to your system.
Now you should be rooted. Open up your external SD card and install the Magisk Manager if you haven’t already done so. If you have done everything right, you should also be able to boot into recovery mode and get TWRP.
Now go have some fun with your rooted phone. There’s lots of good custom ROMs in this forum you might like to try.

Related

[Q] iOS System Wipe

Hey XDA Members
I know there has already been similar posts to mine on XDA as I've worn out the search button on google trying to find a solution to my problem, with no avail. So I thought I would leave a description of my own situation and see if a more tech-savvy individual could kindly help me out...
So yesterday I decided it would be a good idea to unlock my bootloader & root my device simply because I wanted to remove all the bloatware which HTC 'generously' crammed into the One X. Unlocking the bootloader was simple enough following the instructions provided. However, rooting my handset was not so effortless. The root was ineffective & I got stuck with yet another unwanted app called SuperSU! (An error message regarding missing binary codes appeared every time I tried to open the application) I tried uninstalling via both settings & google play before finally factory resetting my phone. None of these methods worked
At this point it suddenly dawned on me someone so unenlightened in the art of software development or anything android related shouldn't being toying with stuff he can't afford to break! But I figured it was too late to turn back now and continued in my moment of intellectual darkness...
In my bewildered state I accidentally 'wiped system' using CWM and now I have no iOS. My HTC will only boot until the 'quietly brilliant' slogan appear's & no further. When I connect my phone to my computer via USB I can not access the removable storage device, a removable disk appears but when clicked I am prompted to 'insert removable disk'. I am lead to believe from reading related threads that if I had access to my phones storage then installing a new iOS would be relatively straight forward. Also trying to mount in CWM just retrieves an error message reading 'CWM unable to open ums lunfile (no such directory exists)'. Where do I go from here?
Any help would be much appreciated :fingers-crossed:
Flash a newer recovery, try the latest Philz touch recovery then you should be able to mount sdcard and flash a rom
Hope it helps
if tthe above suggestion doesnt work, try this
http://www.hackmyandroid.com/comprehensive-guide-on-unbricking-the-htc-one-x/4216
I recommend you flash the latest TWRP recovery since it gives you access to the phones sdcard, if your staying stock/near stock OS you can check http://android-revolution-hd.blogspot.com/p/android-revolution-hd-mirror-site-var.html download the Download stock odexed 4.18.401.3, and just flash it in recovery or you can download w.e custom OS you like and flash it the same
Hope it helps
Thank you both for your replies :good:
m.jordan, I tried to flash TWRP onto my device (3 different versions in fact) but once entering recovery mode I was prompted to 'swipe screen to unlock' which wasn't possible because I can only use the volume controls and the power button. After that I downloaded the latest version of CWM which enables me to both use the control buttons & touch screen. I downloaded the 'stock odexed 4.18.401.3' although I have no way of flashing on my device...
I tried the method in the link you kindly provided and followed each instruction carefully. After re-unlocking my bootloader (does it matter whether the device is locked or unlocked when mounting USB storage in recovery mode?) & flashing CWM I downloaded the odexed 4.18.401.3 extracted boot.img & flashed that too. On the website you shared it then prompted me to 'mount usb storage' & my device should now be showing as 'clockworkmod' so I would be able to place the odexed 4.18.401.3.zip into the folder and then flash my handset. Unfortunately I still have no removable disks showing on my PC
My HTC One X does not have removable storage (I suppose you already knew that) & I havn't been able to get my PC to read a removable disk since the day I wiped the system.
If only I could get my computer to show an 'adb device' I'm sure this would be so much easier! I don't suppose you would know anything about that? when I use cmd prompt 'adb device' most of the time it just returns:
adb out of date. killing...
daemon started sucessfully
list of attached devices
Nothing ever shows under attached devices
Nogotaclue, my next step it to try Philz recovery & see where that takes me, i'll let you know how that goes (Although I fear it will just have the same outcome as the rest & not be able to read an sdcard)
Thanks again
well it seems if you could follow the steps on that link, then your pc is recognizing the device so there is hope. If TWRP isnt working then cool. On either the CWM or Philz there is an option called adb sideload rom, if you can't access your SD card you can always sideload and install the rom using either One_X_All-In-One_Kit or WinDroid Universal HTC Toolkit v1.1, made them available here https://www.dropbox.com/sh/fv9fun4x2c4dk2l/AABhNHvlpPUvDXUWYK5PJNhpa?dl=0
Once in recovery I believe its under the install option, you have the option to install rom from sdcard and sideload rom, just select sideload. once thats done, open either the all in one or windroid with your device connected to your pc (i recommend the all in one), select the option to sideload, and cross your fingers that it works
ProdiJay said:
Thank you both for your replies :good:
m.jordan, I tried to flash TWRP onto my device (3 different versions in fact) but once entering recovery mode I was prompted to 'swipe screen to unlock' which wasn't possible because I can only use the volume controls and the power button. After that I downloaded the latest version of CWM which enables me to both use the control buttons & touch screen. I downloaded the 'stock odexed 4.18.401.3' although I have no way of flashing on my device...
I tried the method in the link you kindly provided and followed each instruction carefully. After re-unlocking my bootloader (does it matter whether the device is locked or unlocked when mounting USB storage in recovery mode?) & flashing CWM I downloaded the odexed 4.18.401.3 extracted boot.img & flashed that too. On the website you shared it then prompted me to 'mount usb storage' & my device should now be showing as 'clockworkmod' so I would be able to place the odexed 4.18.401.3.zip into the folder and then flash my handset. Unfortunately I still have no removable disks showing on my PC
My HTC One X does not have removable storage (I suppose you already knew that) & I havn't been able to get my PC to read a removable disk since the day I wiped the system.
If only I could get my computer to show an 'adb device' I'm sure this would be so much easier! I don't suppose you would know anything about that? when I use cmd prompt 'adb device' most of the time it just returns:
adb out of date. killing...
daemon started sucessfully
list of attached devices
Nothing ever shows under attached devices
Nogotaclue, my next step it to try Philz recovery & see where that takes me, i'll let you know how that goes (Although I fear it will just have the same outcome as the rest & not be able to read an sdcard)
Thanks again
Click to expand...
Click to collapse
Man flash Philz 5.15.9 mount your sd card and you are ready to go only in this version sd card mount work no TWRP no CWM exactly Philz 5.15.9

[Q] Wifi Model, Stuck on Google Boot Up Screen, No OS Installed says TWRP, help?

Hey all,
So, my smart self was attempting to flash Marshmallow 6.0 from 4.3 (rooted)...I did the same thing that was here on this THREAD and now my tab can only go into TWRP, but there's no OS installed because I wiped (and didn't make a darn backup....), but there are a few differences from the thread I referred to:
- I can get into my Bootloader
- I can get into TWRP
- I have the current TWRP 2.8.7
- I've tried the Nexus Toolkit from HERE, my device serial is recognized, but it states that I'm offline
- Because I'm offline, I can't push any files to my device through the tool
- When I'm in TWRP, my computer will recognize my tablet and I can actually get into folders and what not, but I can't copy/paste any files to flash within TWRP and I get an error
- Anytime I power down or reboot within TWRP, it tells me that I have No OS installed
- I can't use ADB (as far as I know) because my device shows that it's offline
Is there any hope that I can recover even back to 4.3?
Any guidance would really be appreciated. I have to step away because I'm frustrated and am angry at myself that I didn't make a nandroid.
Thanks in advance.
kevs888 said:
Hey all,
So, my smart self was attempting to flash Marshmallow 6.0 from 4.3 (rooted)...I did the same thing that was here on this THREAD and now my tab can only go into TWRP, but there's no OS installed because I wiped (and didn't make a darn backup....), but there are a few differences from the thread I referred to:
- I can get into my Bootloader
- I can get into TWRP
- I have the current TWRP 2.8.7
- I've tried the Nexus Toolkit from HERE, my device serial is recognized, but it states that I'm offline
- Because I'm offline, I can't push any files to my device through the tool
- When I'm in TWRP, my computer will recognize my tablet and I can actually get into folders and what not, but I can't copy/paste any files to flash within TWRP and I get an error
- Anytime I power down or reboot within TWRP, it tells me that I have No OS installed
- I can't use ADB (as far as I know) because my device shows that it's offline
Is there any hope that I can recover even back to 4.3?
Any guidance would really be appreciated. I have to step away because I'm frustrated and am angry at myself that I didn't make a nandroid.
Thanks in advance.
Click to expand...
Click to collapse
Are you using stock rom? Because if you are, I wouldn't even try. What with the widespread knowledge that stock might brick, some people insist on it. Otherwise, if you can get to the bootloader:
(1) Make sure it's unlocked (if you're not familiar, connect tab to PC, make sure fastboot works, then enter "fastboot oem unlocked" without the quotes then follow instructions on your tab);
(2) Flash bootloader 4.05 if you haven't already;
(3) Get a USB OTG thumb drive (you might need an OTG adapter for this); and download a Marshmallow-based custom rom in the Android Development section;
(4) Get into TWRP and mount USB OTG. You should see all the files on your thumb drive;
(5) Copy all data you care about to your PC;
(6) Wipe everything except USB OTG twice. Then go to Format and do it twice too. If yours is 32GB, it will take a while (30 Mins average depending on how much data);
(7) Flash rom, then Gapps.
You should be able to boot after that. Good luck.
(4)
graphdarnell said:
Are you using stock rom? Because if you are, I wouldn't even try. What with the widespread knowledge that stock might brick, some people insist on it. Otherwise, if you can get to the bootloader:
(1) Make sure it's unlocked (if you're not familiar, connect tab to PC, make sure fastboot works, then enter "fastboot oem unlocked" without the quotes then follow instructions on your tab);
(2) Flash bootloader 4.05 if you haven't already;
(3) Get a USB OTG thumb drive (you might need an OTG adapter for this); and download a Marshmallow-based custom rom in the Android Development section;
(4) Get into TWRP and mount USB OTG. You should see all the files on your thumb drive;
(5) Copy all data you care about to your PC;
(6) Wipe everything except USB OTG twice. Then go to Format and do it twice too. If yours is 32GB, it will take a while (30 Mins average depending on how much data);
(7) Flash rom, then Gapps.
You should be able to boot after that. Good luck.
(4)
Click to expand...
Click to collapse
Thanks for this! A few questions...
- Before I wiped my OS, I was running the Smooth ROM. Does this make a difference? - Regarding fastboot, how do I get into it? I can't use adb because it lists my tablet as Offline when I type in "adb devices"...
- My lock icon is unlocked at the Google screen, but it stops there since I currently have no OS
- Would I be able to skip to your Step 4 just use the USB OTG and mount the original 4.3 OS through TWRP?
- Should I just flash the OEM 4.3? Or should I load the Smooth ROM or whatever other ROM instead of the OEM 4.3?
Thanks for your continued help!
kevs888 said:
Thanks for this! A few questions...
- Before I wiped my OS, I was running the Smooth ROM. Does this make a difference? - Regarding fastboot, how do I get into it? I can't use adb because it lists my tablet as Offline when I type in "adb devices"...
- My lock icon is unlocked at the Google screen, but it stops there since I currently have no OS
- Would I be able to skip to your Step 4 just use the USB OTG and mount the original 4.3 OS through TWRP?
- Should I just flash the OEM 4.3? Or should I load the Smooth ROM or whatever other ROM instead of the OEM 4.3?
Thanks for your continued help!
Click to expand...
Click to collapse
It shouldn't make a difference what rom you flash now so long as you wipe and format everything inside TWRP. But you must make sure you have bootloader 4.05. 4.02 will not allow you to flash LL or MM successfully, and the system does not upgrade on its own no matter what rom you're flashing now.
Since you said you couldn't get TWRP to copy anything, I suggested that you use a thumb drive. Basically, if you turn the tab totally off, hold power + volume down for a few seconds, it should take you to the fastboot page (pic). Look to see what bootloader version you have there.
From here, you can basically flash anything. I recommended that you wipe and format first with TWRP because it happened to me a few times when for some reason, wiping alone still left some residual data that interfered with flashing newer roms.
Stay away from anything stock for the moment. God knows it has bricked more than a few devices. Download SkipsoftToolKit and flash from the fastboot page if you want an automated process. It has worked wonderfully in my experience. Ask if you have more questions. Have fun.
kevs888 said:
Thanks for this! A few questions...
- Before I wiped my OS, I was running the Smooth ROM. Does this make a difference? - Regarding fastboot, how do I get into it? I can't use adb because it lists my tablet as Offline when I type in "adb devices"...
- My lock icon is unlocked at the Google screen, but it stops there since I currently have no OS
- Would I be able to skip to your Step 4 just use the USB OTG and mount the original 4.3 OS through TWRP?
- Should I just flash the OEM 4.3? Or should I load the Smooth ROM or whatever other ROM instead of the OEM 4.3?
Thanks for your continued help!
Click to expand...
Click to collapse
Fastboot page
graphdarnell said:
It shouldn't make a difference what rom you flash now so long as you wipe and format everything inside TWRP. But you must make sure you have bootloader 4.05. 4.02 will not allow you to flash LL or MM successfully, and the system does not upgrade on its own no matter what rom you're flashing now.
Since you said you couldn't get TWRP to copy anything, I suggested that you use a thumb drive. Basically, if you turn the tab totally off, hold power + volume down for a few seconds, it should take you to the fastboot page (pic). Look to see what bootloader version you have there.
From here, you can basically flash anything. I recommended that you wipe and format first with TWRP because it happened to me a few times when for some reason, wiping alone still left some residual data that interfered with flashing newer roms.
Stay away from anything stock for the moment. God knows it has bricked more than a few devices. Download SkipsoftToolKit and flash from the fastboot page if you want an automated process. It has worked wonderfully in my experience. Ask if you have more questions. Have fun.
Click to expand...
Click to collapse
This is really helpful...I think I'm almost there.
I'm on a super old Bootloader (see attachment) so I'll need to update. I downloaded the update from this XDA Thread
More questions:
- Would I be able to push the 4.05 bootloader update and custom whatever Marshmallow ROM via the toolkit instead of from a USB OTG?
- If I was rooted on 4.3, am I still rooted so that I would be able to flash the custom ROM? I don't want to risk doing further damage, lol.
- I'm not home at the moment, so I can't test this out -- I'm thinking I couldn't put anything into my tablet last night because it was running TWRP and I didn't have it on the Fastboot screen. Would being in the Fastboot screen possibly allow me to copy/paste the zip files into my tablet?
- If there's nothing I need to copy from the tablet, would I still need the USB OTG? Or could I just use the Toolkit to push everything into my tablet and flash via TWRP?
Based on your answers to the above would this be the correct order:
1. Push 4.05 bootloader update and custom ROM via toolkit to my tablet
2. Flash 4.05 bootloader update within TWRP
3. *Per your earlier advice* Wipe everything except USB OTG twice. Is this cache, dalvik, system, and data? Or literally there's an option for "wipe everything" (I don't remember what I saw)?
4. Then go to Format and do it twice, too. I have a 32GB, so I'm expecting it to take awhile for the format
5. Flash ROM, then Gapps. I don't have any apps I need to put back so much as I need an OS to load, so I can add later.
Thanks again for everything!
EDIT:
Okay, so I came home and was able to use the Toolkit to recognize the device in fastboot mode. However, I wasn't able to push anything into the phone because the Toolkit said that I needed to be booted into Android.
The last thing I saw when I was in TWRP poking around was that I saw that I could install .zip files from USB OTG. Are either of these alright for me to connect my flash drive to and be recognized inside TWRP?
Example 1
Example 2
kevs888 said:
This is really helpful...I think I'm almost there.
I'm on a super old Bootloader (see attachment) so I'll need to update. I downloaded the update from this XDA Thread
More questions:
- Would I be able to push the 4.05 bootloader update and custom whatever Marshmallow ROM via the toolkit instead of from a USB OTG?
- If I was rooted on 4.3, am I still rooted so that I would be able to flash the custom ROM? I don't want to risk doing further damage, lol.
- I'm not home at the moment, so I can't test this out -- I'm thinking I couldn't put anything into my tablet last night because it was running TWRP and I didn't have it on the Fastboot screen. Would being in the Fastboot screen possibly allow me to copy/paste the zip files into my tablet?
- If there's nothing I need to copy from the tablet, would I still need the USB OTG? Or could I just use the Toolkit to push everything into my tablet and flash via TWRP?
Based on your answers to the above would this be the correct order:
1. Push 4.05 bootloader update and custom ROM via toolkit to my tablet
2. Flash 4.05 bootloader update within TWRP
3. *Per your earlier advice* Wipe everything except USB OTG twice. Is this cache, dalvik, system, and data? Or literally there's an option for "wipe everything" (I don't remember what I saw)?
4. Then go to Format and do it twice, too. I have a 32GB, so I'm expecting it to take awhile for the format
5. Flash ROM, then Gapps. I don't have any apps I need to put back so much as I need an OS to load, so I can add later.
Thanks again for everything!
EDIT:
Okay, so I came home and was able to use the Toolkit to recognize the device in fastboot mode. However, I wasn't able to push anything into the phone because the Toolkit said that I needed to be booted into Android.
The last thing I saw when I was in TWRP poking around was that I saw that I could install .zip files from USB OTG. Are either of these alright for me to connect my flash drive to and be recognized inside TWRP?
Example 1
Example 2
Click to expand...
Click to collapse
If you're comfortable using the ToolKit, you don't need an OTG cable. Connect your tab to PC, fire up ToolKit, complete all the prelim BS, then flash the bootloader from TK. Do not use TWRP for this. To do this, open the ToolKit folder in drive C:, locate the folder therein for zips, place the zip files (4.05 bootloader; TWRP; or custom roms) in there, and start to install. I am talking off the top of my head. But give me a few minutes to check the Kit again, and I'll give specific instructions. Bear with me, as I'm on Linux at the moment and therefore cannot start ToolKit (which is in Windows).
Things to do in order:
1. Download bootloader 4.05 (flashable zip HERE); and custom rom of your choice (zip format)
2. Locate the Unified Android ToolKit on drive C: on your PC and open it;
3. Locate the folder “put zip file to sideload here” → “Nexus 7 2013” then paste
bootloader zip and Rom zip in there;
4. Fire up Toolkit with tab connected; complete all the prelim questions;
5. Follow all the steps to install TWR 2870 (pic 8, choice 6);
6. Go to TWRP, wipe and format.
7. Go back to TWRP main page → “Advanced” → “ADB sideload”;
8 Go to ToolKit (pic 8) enter choice 16 (Look at the pics that follow for the correct choices) to
sideload Bootloader;
9. Flash Bootloader.
10. Go back to TWRP main page → Reboot → Bootloader. Once there check bootloader version 4.05;
11. Get into TWRP to sideload Rom; flash it.
graphdarnell said:
Things to do in order:
1. Download bootloader 4.05 (flashable zip HERE); and custom rom of your choice (zip format)
2. Locate the Unified Android ToolKit on drive C: on your PC and open it;
3. Locate the folder “put zip file to sideload here” → “Nexus 7 2013” then paste
bootloader zip and Rom zip in there;
4. Fire up Toolkit with tab connected; complete all the prelim questions;
5. Follow all the steps to install TWR 2870 (pic 8, choice 6);
6. Go to TWRP, wipe and format.
7. Go back to TWRP main page → “Advanced” → “ADB sideload”;
8 Go to ToolKit (pic 8) enter choice 16 (Look at the pics that follow for the correct choices) to
sideload Bootloader;
9. Flash Bootloader.
10. Go back to TWRP main page → Reboot → Bootloader. Once there check bootloader version 4.05;
11. Get into TWRP to sideload Rom; flash it.
Click to expand...
Click to collapse
Wow, this is awesome. Thank you so much.
I had already flashed TWRP 2870 before I wiped the OS, but I figured I'd try again using the Toolkit, but I got an error. I stopped here just in case.
Earlier, I tried flashing the zip for the bootloader the same way you just instructed, but my serial number turned into question marks?
Please see attachments. My pics are on the right side of the comparisons and I blacked out some of my serial number just in case for the TWRP pic.
Thanks again for the continued support!
kevs888 said:
Wow, this is awesome. Thank you so much.
I had already flashed TWRP 2870 before I wiped the OS, but I figured I'd try again using the Toolkit, but I got an error. I stopped here just in case.
Earlier, I tried flashing the zip for the bootloader the same way you just instructed, but my serial number turned into question marks?
Please see attachments. My pics are on the right side of the comparisons and I blacked out some of my serial number just in case for the TWRP pic.
Thanks again for the continued support!
Click to expand...
Click to collapse
Ok. One step at a time. Since you don't have an OS installed, ToolKit cannot complete the process of sideloading because it normally would have to use ADB from within the OS (which is absent) to restart the tab into recovery mode (TWRP). But if you're already in sideload mode within TWRP, it would detect it and transfer the file over to your tab. Let's go back.
(1) Fire up ToolKit (TK), go to sideload step, type the file name and stop. Get to fastboot page on your tab. Go back to TK and hit enter. TK should detect fastboot mode, download TWRP 2.7.1.1, take the tab into TWRP, tell you to go to sideload mode. Thereafter, it should detect this mode and transfer the file over. Then TWRP would flash the bootloader 4.05 automatically. If successful, sideload the rom the same way to flash it. Then upgrade TWRP back to 2870 with TK.
(2) Failing the above (because TWRP somehow doesn't function correctly), put the tab in fastboot mode, go to TK and follow the steps to flash TWRP anew. TK should detect fastboot and begin to flash the recovery. That done, go back and restart (1) above.
(3) If that still doesn't work, we have to resort to fastboot.exe and do it by command lines. But that's far ahead. Try the above first. We'll cross that bridge if we get to it.
I can send you an automated package that would upgrade the bootloader to 4.04 that I downloaded a year ago from Scott's Roms (thanks to him). It's good enough for Lollipop 5.1. The file is about 4MB and I'm not sure how we can do this through XDA. But if we ever get there, I'm certain we'll find a way. And smile, it's only a lousy tab.
graphdarnell said:
Ok. One step at a time. Since you don't have an OS installed, ToolKit cannot complete the process of sideloading because it normally would have to use ADB from within the OS (which is absent) to restart the tab into recovery mode (TWRP). But if you're already in sideload mode within TWRP, it would detect it and transfer the file over to your tab. Let's go back.
(1) Fire up ToolKit (TK), go to sideload step, type the file name and stop. Get to fastboot page on your tab. Go back to TK and hit enter. TK should detect fastboot mode, download TWRP 2.7.1.1, take the tab into TWRP, tell you to go to sideload mode. Thereafter, it should detect this mode and transfer the file over. Then TWRP would flash the bootloader 4.05 automatically. If successful, sideload the rom the same way to flash it. Then upgrade TWRP back to 2870 with TK.
(2) Failing the above (because TWRP somehow doesn't function correctly), put the tab in fastboot mode, go to TK and follow the steps to flash TWRP anew. TK should detect fastboot and begin to flash the recovery. That done, go back and restart (1) above.
(3) If that still doesn't work, we have to resort to fastboot.exe and do it by command lines. But that's far ahead. Try the above first. We'll cross that bridge if we get to it.
I can send you an automated package that would upgrade the bootloader to 4.04 that I downloaded a year ago from Scott's Roms (thanks to him). It's good enough for Lollipop 5.1. The file is about 4MB and I'm not sure how we can do this through XDA. But if we ever get there, I'm certain we'll find a way. And smile, it's only a lousy tab.
Click to expand...
Click to collapse
Let me just say, I'm so thankful for your help in all of this. Seriously. Thank you.
I kept on tinkering with the ToolKit and Fastboot kept on stopping everytime I switched to TWRP. I got to the point where TWRP showed 2.7.1 but the ADB Sideload kept getting stuck at the "Starting Sideload" prompt.
I went out and bought a $3 OTB USG cable and figured I'd give it a go since this sounded easier (theoretically). At first, I couldn't understand why the OTG wasn't recognized within TWRP. Then, I realized I needed to mount it within TWRP.
Once it mounted, I wiped and flashed the 4.05 bootloader zip. Success.
I went back into the Fastboot screen to verify 4.05. Success.
Went back into TWRP 2.8.7 and flashed a 6.0 ROM from these boards. Success.
Flashed Gapps. Success.
Rebooted. I'm now running a custom Marshmallow ROM and it runs so smoothly now.
Seriously. Thank you.
kevs888 said:
Let me just say, I'm so thankful for your help in all of this. Seriously. Thank you.
I kept on tinkering with the ToolKit and Fastboot kept on stopping everytime I switched to TWRP. I got to the point where TWRP showed 2.7.1 but the ADB Sideload kept getting stuck at the "Starting Sideload" prompt.
I went out and bought a $3 OTB USG cable and figured I'd give it a go since this sounded easier (theoretically). At first, I couldn't understand why the OTG wasn't recognized within TWRP. Then, I realized I needed to mount it within TWRP.
Once it mounted, I wiped and flashed the 4.05 bootloader zip. Success.
I went back into the Fastboot screen to verify 4.05. Success.
Went back into TWRP 2.8.7 and flashed a 6.0 ROM from these boards. Success.
Flashed Gapps. Success.
Rebooted. I'm now running a custom Marshmallow ROM and it runs so smoothly now.
Seriously. Thank you.
Click to expand...
Click to collapse
I'm glad you got it working again. Sorry you had to make a trip to the store. You should've waited for KT to switch the tab to TWRP 2711 for you. But it was not a waste of time anyway.

Can't find my way through the many guides, could use a lil'bit of help

Hey lads!
I am trying to root my HTC One M8, so I can get a finer options for sounds (and other advantages, aswell). I found this post https://forum.xda-developers.com/htc-one-m8/help/how-to-root-htc-one-m8-android-6-0-t3420748 about rooting an M8 with android 6.0. I'm writing this post, because I don't want to screw it up, so it seemed better to ask for help, before I do something stupid and brick my phone. I tried searching the forum, but after opening like 10 tabs, I lost my way. (I am using Windows 10, legit)
So, this is what I did:
1) Downloaded the Android Studio.
2) Via the studio, I downloaded the 6.0 platform.
3) And here is my first block: tried to install ADB, via Universal Naked Driver: I downloaded the ZIP, unpacked it, and while my phone was connected, tried to update its driver via the Device Manager. I got a message that it's up to date, and even tho I picked the 'I have disk' option, it wouldn't do anything. Now, I downloaded MiniADB v_1031, and when I ran the cmd from here, I could see my device with adb devicelist. I also installed HTC Sync, and used the driver installer from adbdriver.com, and it showed that I have the needed driver.
4) From the folder where I have unpacked miniadb, was able to run adb devicelist, and adb bootloader reboot aswell. But from that point, even tho I enabled developer options in my phone, and USB debugging aswell, my PC can't see the phone, only if I reboot to normal mode. When I am in fastboot USB, adb devices just says 'list of devices' and a blank line under it.
5) Tried to unlock the bootloader, and I got my identifier token. I am good to go then, I have every driver what I need for continuing from here?
5)b) Edit: Seems like I managed to unlock the bootloader.
---------
So if I understand it well:
From now on:
---------
6) Download the EU version of TWRP 3.0 from here (I am from the EU)
7) Use the cmd 'fastboot flash recovery twrp.img'
8) The site mention a key-combo to prevent the phone to go back to basic recovery, do I need this?
9) Do a backup via TWRP (is it going to be a simple option in the recovery? How big SD card do I need? Atm, I have 12 Gb one, gonna buy a 128 one in like 1-2 month)
10) Copy the SU.zip to my SD card and use a flash option in the recovery?
Sorry for any dumb question, I'm kinda scared bricking my phone, but at the same time, I would like to get the advantages of rooting.
So anyway, did I miss out on any step, screwed up anywhere, or smth like this?
Any help is much appreciated!
My comments to your steps/questions:
4 and 5) adb and fastboot are two different, but related interfaces. Don't feel bad, it's a common mistake to mix up the two (adb and fastboot). You'll really only need fastboot for rooting the phone. The step to "adb reboot bootloader" in the TWRP install instructions can alternately be done without that command, using the button combo to get to bootloader. But I think you must have figured that out by now, if you managed to unlock the bootloader.
In summary,
adb: needs USB debugging on in phone settings, only works when phone is booted in OS or alternately when booted into TWRP (last part obviously doesn't help, if you haven't installed TWRP yet).
fastboot: only works in bootloader-fastboot mode (will not work in OS or TWRP), does not need USB debugging on in phone settings.
6) The options are for download mirror locations (US vs. Europe - literally just where the download's server location is located), and do not specifically refer to different TWRP versions. The same TWRP version works for both US and Euro M8 models. What you downloaded is fine, so my comment is just FYI.
8) No, you shouldn't need this. I believe this comment refers to newer devices, and not specifically to the M8. I literally think the TWRP team has copy/pasted this statement to instructions for every device on their website, whether it applies or not.
9) Yes, this is a clear option once booted into TWRP recovery. Literally, on the TWRP main screen, you will see a big button labeled BACKUP. Tap it, and select system (ROM or OS) and boot.img, and also backup data if you like. The backup of system and boot.img will take around 2 GB. The backup of your user data might be much more, depending on your apps, etc. Although, if you just unlocked the bootloader, the phone should have been wiped, so you may not have much (if any) user data to backup.
10) While SuperSU 2.76 (mentioned in the thread you linked) should work fine, I would suggest using the latest stable version 2.79 from here: https://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
Just put it on the phone, boot into TWRP, select INSTALL, select SuperSU 2.79.
---------- Post added at 12:42 PM ---------- Previous post was at 12:37 PM ----------
Rivyan said:
Sorry for any dumb question, I'm kinda scared bricking my phone, but at the same time, I would like to get the advantages of rooting.
Click to expand...
Click to collapse
Don't worry, you won't brick the phone (permanent damage) by unlocking the bootloader, custom recovery, root, etc.
Anything you do is recoverable/reversible, even if something goes wrong (especially if you make a TWRP backup of your current stock ROM before rooting).

device keeps rebooting to twrp

Guys,
My father got my op5t with root, I think he had oreo oxygen os rom, after a couple months, he entered twrp by accident and he whiped, he did not know what he was doing. Long story short, the device keeps rebooting to twrp bluespark 3.2.1 v8.78. When the device is in twrp, i tried to connect to the pc but it wont detect the device.
My question; how can I fix this, I downloaded (OnePlus5TOxygen_43_OTA_034_all_1804201221_5c1b6d44ac9) but I dont know how to put in the device in order to install the zip file through twrp to restore Oxygen Os.
Hold the power+volume down buttons together and don't let go until you reach the twrp load up menu.
Stick the zip file into a storage format that hooks up to the USB-C, go into twrp and switch from internal storage to USB OTG and flash it from there.
I'm not too sure about this next method but you may be able to hook your phone up to the computer and have it on TWRP, you might have to look for the setting in the menus, then find the phone from your PC and drag the file onto the phone. I assume you know the steps in how to flash a new ROM.
Just a reminder, you'll have to be on , 5.1.7 Oreo to make the jump to 9.0 pie oxygen OS. Do you know what version he was on? You might have to just go into download mode and use ADB to flash the file.
kaslopis said:
Hold the power+volume down buttons together and don't let go until you reach the twrp load up menu.
Stick the zip file into a storage format that hooks up to the USB-C, go into twrp and switch from internal storage to USB OTG and flash it from there.
I'm not too sure about this next method but you may be able to hook your phone up to the computer and have it on TWRP, you might have to look for the setting in the menus, then find the phone from your PC and drag the file onto the phone. I assume you know the steps in how to flash a new ROM.
Just a reminder, you'll have to be on , 5.1.7 Oreo to make the jump to 9.0 pie oxygen OS. Do you know what version he was on? You might have to just go into download mode and use ADB to flash the file.
Click to expand...
Click to collapse
thnx for response, but I said from the start that I believe that he was running oreo, im sure he was not on pie, it could be oreo or nougat but I think oreo. USB otg does not work for me, otherwise I would have tried that, I dont have the equipment.
The other method you mentioned about adb, If I go to twrp, click on advaned then you can click adb sideload, from there you should swipe to start sideload I believe, then open cmd in winodws and type ''adb sideload'' then drag the zip file to cmd and hit enter, however it says; cannot read 'E:\op5t restore stock\OnePlus5TOxygen_43_OTA_034_all_1804201221_5c1b6d44ac9.zip
How should I proceed ?
hold on, I found an option to enable mtp in twrp, now the pc finds the device, let me put the stock rom 5..1.1 that I downloaded and report back how it goes.
after flashing te the stock zip file, the devicr was in bootloop, then I figured I had to uninstal Magisk with the magisk uninstal zip file, after that the device booted fine.
thnx for the help anyways, really appreciated it ^^

Question How to transfer Magisk. Zip to phone in TWRP.

Hi
I do something wrong and maybe forgot add Magisk.zip to phome memory when it was possible earlier. Now I have maybe fastboot and TWRP installed, not sure because I start rooting over 2 months ago and phone died totally until today put accidentally died phone to powerbank and for surprise it start and wakeup.
But anyway how transfer Magisk to phone memory. I tried multi USB/memorycard/etc/etc plug for connect phone USB stick but it not working. No any ideas and I don't find with google any help
Hope someone can help
depends on the rom you are
for OOS there should be a patched boot.img and there is also a specific thread about
if you are on custom A12 or A13 chstom rom, i suppose you to have also a custom recovery, so when booting recovery (also twrp) just start sideloading, from pc run adb dideload magisk.zip file name
or to get it in the old manner
adb push magisk.zip file name /recovery
then from twrp, install, up, recovery, select the file yku just pushed
in any case it's better you to get practice the new approach

Categories

Resources