cm13 recovery and root - ONE Q&A, Help & Troubleshooting

okay i feel i was forced to upgrade to android 6.0 and now i need to get twrp and root again, any guides ?
I have adb on my windows 10 computer now but it does not recognize my oneplus one, any help on that would get me going again.

okay i am now able to flash twrp but it didnt replace the recovery

Enable developer's options and checkout update cyanogen recovery and enable usb debugging and connect to pc
In cmd
adb devices
One pop up seen in phone click√ and ok
adb reboot bootloader
Phone in fastboot mode
fastboot flash recovery twrp.img
After flash recovery don't reboot switch off your phone and reboot to recovery by pressing power button and volume down simultaneously and you will enter twrp do a backup then do whatever you want.

yay it worked i have twrp now
lets see if i can install superSU
edit: yay it all worked, you are the man

Related

TWRP install problem

I run for a problem to install custom recovery.
Running CO12s with bootloader unlocked. have installed on my windows 7 all necessary sdk tools and packages, on windows command i checked adb version and fastboot all is good.
Now after put device to fastboot mode trying flash TWRP, window command saying that write process ok but still no recovery installed, in developer options I did uncheck recovery update. now if I go to recovery (CO12 recovery) in recovery log I can see that recovery update mode is still "true" how i can turn this off, looks like is blocking access to install custom recovery or is any other solution??
Go to the FAQ:
http://forum.xda-developers.com/oneplus-one/help/faq-oneplus-one-frequently-questions-t2895136
Last question.
Transmitted via Bacon
thank you
Dble check command syntax & Use force recovery boot
djcody said:
I run for a problem to install custom recovery.
Running CO12s with bootloader unlocked. have installed on my windows 7 all necessary sdk tools and packages, on windows command i checked adb version and fastboot all is good.
Now after put device to fastboot mode trying flash TWRP, window command saying that write process ok but still no recovery installed, in developer options I did uncheck recovery update. now if I go to recovery (CO12 recovery) in recovery log I can see that recovery update mode is still "true" how i can turn this off, looks like is blocking access to install custom recovery or is any other solution??
Click to expand...
Click to collapse
Just had similiar issue, my solution provided by timmaaa:
Flash TWRP again & don't do a normal reboot. After flashing is complete disconnect usb while in fastboot mode, use power + volume down to boot directly into recovery.
Also during command process make sure to use code: fastboot flash recovery recovery.img then skip the fastboot reboot & follow timmaaa's instructions above. Worked for me.
Force reboot to recovery fixed problem

[Nexus 5] TWRP Install No Root

Hi,
Is it possible to install TWRP v3.0.0.0 on a LG Nexus 5 HAMMERHEAD v6.0.1 (MMB29Q) without rooting? Not that it's something I absolutely need to do but by browsing through different sites and tutorials, it seems possible although my own tests prove the contrary...
Firstly, on TWRP official website, it's written that you can:
Fastboot Install Method (No Root Required):
You will need the platform-tools from the Android SDK on your computer. Find the SDK Only section on the page linked and install the SDK and download only the platform-tools to get adb and fastboot binaries.
Windows users will need proper drivers installed on your computer. You can try the Naked ADB drivers or the Universal ADB drivers if you don't already have a working driver installed
On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:
adb reboot bootloader
You should now be in fastboot mode. Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:
fastboot flash recovery twrp.img
fastboot reboot
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
Click to expand...
Click to collapse
I tried this method but it didn't work at all:
After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP.
Click to expand...
Click to collapse
Even I booted directly to TWRP recovery mode after I manually flashed it, it obviously didn't patched the stock ROM since after I later booted the phone normally in Android system and rebooted in recovery mode, the stock recovery mode was back, no TWRP!
Secondly, when I used Nexus Root Toolkit (NRT) v2.1.4, I had no choice but to root if I wanted to flash the custom recovery (TWRP). I successfully rooted and installed TWRP permanently using the tool.
Therefore, is installing TWRP without rooting some kind of myth that maybe worked with previous Android build and TWRP versions or is there actually really a way to do so?
I just did it yesterday on the March patch but had to flash twrp twice. The first time it bypassed recovery and booted into the os. After booting back into the bootloader and flashing twrp again it did boot into twrp.
Sent from my Nexus 5X using XDA Free mobile app
To install TWRP, the phone needs to have an unlocked bootloader, not root.
You can flash TWRP using fastboot commands. After flashing TWRP in fastboot, use the volume and power button to boot directly into recovery.

Mi4c wont boot twrp anymore

SUMMARY OF PROBLEM WHAT HAPPENED:
1.Flashed an miui 8 stable rom from xiaomi.eu not official rom so it shouldn't lock bootloader.
2.Cant boot into any recovery i just get miui boot up logo then then it turns off.
3.Cant root via kingroot and other root apps ect to flash twrp via flashify.
4. Cant manually enter fastboot due to damaged volume down button not working *(The plastic​ film. On the button ripped off)*
5.Don't know other way to enter fast boot please help!
:crying:
Fix your volume button first
By flashing MIUI you most likely updated your bootloader to nougat, which removed TWRP. You need to apply for xiaomi permission to unlock bootloader and then reflash TWRP in fastboot. If you can't go into fastboot you should be able to use ADB commands or a terminal app.
Edit: Terminal app requires root to reboot so that's not an option. I can't try adb because I don't have access to PC right now.

TWRP recovery menu not showing

hi, im new in this android arena and this is my first time using smartphone so please forgive my noobness.
i want to root my phone Xiaomi Redmi 5A and i follow some tutorial on youtube where he told to use Minimal ADB & fastboot, TWRP, lazyflasher noverity and lastly Magisk.
im flashing my phone using this command on ADB:
fastboot devices
fastboot flash recovery twrp.img
fastboot reboot
i guess this is it so im rebooting my phone to get into twrp recovery mode by pressing volume up+power but it showed xiaomi stock recovery instead not twrp recovery.
so what i do wrong that i cannot get into twrp recovery menu?
please help me
Don't type fastboot reboot command after flashing, reboot to recovery manually
StillrunsKK said:
Don't type fastboot reboot command after flashing, reboot to recovery manually
Click to expand...
Click to collapse
i type that command after the first try not working (without fastboot reboot command)
it still gave me the same problem even not typing fastboot reboot command
Is the TWRP flash successful?
Ensure that your mobile drivers are installed properly on your pc and that you've enabled USB debugging.
Now after connecting your device to the computer :
1)open adb
2)type adb devices, if it shows a serial number then proceed
3)adb reboot bootloader
4)fastboot flash recovery xxxx.img
After this, remove the USB and reboot to recovery by Holding the appropriate combination of keys.
If you reboot your device first, and then power off and reboot to recovery, you will still get stock recovery.
StillrunsKK said:
Is the TWRP flash successful?
Ensure that your mobile drivers are installed properly on your pc and that you've enabled USB debugging.
Now after connecting your device to the computer :
1)open adb
2)type adb devices, if it shows a serial number then proceed
3)adb reboot bootloader
4)fastboot flash recovery xxxx.img
After this, remove the USB and reboot to recovery by Holding the appropriate combination of keys.
If you reboot your device first, and then power off and reboot to recovery, you will still get stock recovery.
Click to expand...
Click to collapse
Ensure that your mobile drivers are installed properly
Click to expand...
Click to collapse
i dont know where to find this drivers
i've enable the usb debugging
and while flashing it didn't gave any error
im using adb from this thread https://forum.xda-developers.com/showthread.php?t=2317790
where it didn't show any devices when typing adb devices but it showed my devices when typing fastboot devices

[GUIDE] [TA-1032] How to unlock bootloader, install TWRP and Magisk

Code:
TRY THIS AT YOUR OWN RISK! This could brick your phone. It shouldn't but it can. If you brick your phone, or anything stops working on your phone, YOU are responsible.
Reboot combinations:
Fastboot: Shutdown and with USB cable hold power and volume down until it says FASTBOOT MODE at the bottom
Recovery: Shutdown and with USB cable hold power and volume down until the
Code:
Please release key to power off *
dissapears.
Unlocking Bootloader
Code:
Note: This will delete all user data! Backup all your data before doing this!
This part of the guide is part of the tutorial made by @Arin59 at https://forum.xda-developers.com/nokia-3/how-to/method-to-unlock-bootloader-nokia-3-pie-t4012285
First of all convert your serial number (should look like NE1*************) to MD5 Hash and enable OEM Unlock in developer options.
Then reboot to fastboot and type
Code:
fastboot oem key {HASH}
then type
Code:
fastboot flashing unlock
.
To reboot to Android, run fastboot reboot.
Installing TWRP
Code:
This will delete your user data, but it should be already deleted.
You can use any TWRP image made for this device but I had the most success with https://forum.xda-developers.com/nokia-3/development/twrp-teamwin-recovery-nokia-3-t3762512 .
Flash your TWRP Image chosen with
Code:
fastboot flash recovery your-recovery-image.img
and then reboot to recovery.
In TWRP go to Wipe and then Format Data and type yes.
Install Magisk
Install Magisk normally.
< waiting for device >
I put the phone in fastboot mode and ran fastboot with the oem key md5 hash command but it just said "< waiting for device >". I think it might be because I forgot to install the Nokia 3 USB drivers. I'm using a linux computer, do I need to find OS specific drivers?
edit: And now my phone is stuck in fastboot mode and for some reason will not shutdown no matter how long I hold down the power button for.
Totalitor said:
I put the phone in fastboot mode and ran fastboot with the oem key md5 hash command but it just said "< waiting for device >". I think it might be because I forgot to install the Nokia 3 USB drivers. I'm using a linux computer, do I need to find OS specific drivers?
edit: And now my phone is stuck in fastboot mode and for some reason will not shutdown no matter how long I hold down the power button for.
Click to expand...
Click to collapse
If you're using a linux computer, you should try running the command with sudo.
If it doesn't work, try with another cable (or computer if it doesn't work) and try again.
#AC said:
If you're using a linux computer, you should try running the command with sudo.
If it doesn't work, try with another cable (or computer if it doesn't work) and try again.
Click to expand...
Click to collapse
Thanks. I've since got it working. For some reason I had to use the -i argument (the interface argument) along with the code for the device (0x2e04) "fastboot -i 0x2e04 <command>".
However, I've recently bypassed the "NO COMMAND" screen and gained access to TWRP custom recovery but in trying to shut down the phone, it shuts down fine but only boots up in fastboot mode. Even using the fastboot reboot command from adb tools boots it up in fastboot mode. This is a problem as I need to boot it in its normal mode so I can download the magisk.zip file required for installing magisk but I seem to be unable to do so.
Totalitor said:
Thanks. I've since got it working. For some reason I had to use the -i argument (the interface argument) along with the code for the device (0x2e04) "fastboot -i 0x2e04 <command>".
However, I've recently bypassed the "NO COMMAND" screen and gained access to TWRP custom recovery but in trying to shut down the phone, it shuts down fine but only boots up in fastboot mode. Even using the fastboot reboot command from adb tools boots it up in fastboot mode. This is a problem as I need to boot it in its normal mode so I can download the magisk.zip file required for installing magisk but I seem to be unable to do so.
Click to expand...
Click to collapse
Try holding volume up and down at the same time while holding the power button.
#AC said:
Try holding volume up and down at the same time while holding the power button.
Click to expand...
Click to collapse
Thanks, it worked.
Though I tried wiping, but it didn't solve the booting issue. Unsure how to proceed at this point. I feel like I've tried everything. Actually, I just checked my /boot folder and it's empty...is that why it's always booting into fastboot?
I tried using adb to sideload the magisk.zip file but then the phone rebooted into stock recovery??
Any and all guides on this say to download the magisk.apk either into the SD card or internal storage, but I don't have a micro SD card and I can't access the normal mode of the phone to download anything.
What can I do?
I've flashed TWRP successfully but forgot to download the magisk.apk. Now whenever I boot up my phone, it boots into stock recovery mode automatically, even if I tell TWRP to reboot into system it reboots into Stock Android recovery. I can still access TWRP by holding down the up + power buttons on boot though, but I can't access the normal mode of the phone anymore.
I tried using TWRP's sideload feature with ADB tools to sideload Magisk.zip and it said it succeeded but in using TWRP's install feature to find the zip file, it wasn't in /sideload/ or /storage/ as both were empty.
How can I temporarily restore normal functionality so I can simply download the Magisk manager.apk?

Categories

Resources