This is my first time trying to root my android.
I have successfully unlocked oem but can't seem to flash twrp.
I have downloaded twrp 3.2.1 on my desktop and renamed it to "recovery".
Entered fastboot on phone, used the command "fastboot flash recovery recovery.img" but it just says "error: cannot open 'recovery.img' "
Can anyone please tell me how to get twrp installed?
Related
I used the WonderHowTo site incorrectly to flash a nexus 5 version of twrp unto my nexus 4.
My device at this point booted to a blank screen. It could still boot the boot loader at this point.
To "fix" this I found the correct version of twrp for my device and proceeded to flash that unto my device.
This has appeared to work since I can access twrp on my device but it is only thing I can access on the phone. When I attempt to boot to system through twrp I am sent back into twrp.
I have attempted to use the wugfresh root tool kit to unroot and return to stock using both soft bricked and phone is still working normally options with no success.
It can still boot to the boot loader currently.
I have logs from the toolkit if these can shed more light on my issue.
Is there anyway I can return my device to stock? Thanks for any response
Flash factory image
https://developers.google.com/android/nexus/images#occam
attempted
attempted to flash stock and got the following error message
error: neither -p product specified nor ANDROID_PRODUCT_OUT set
Seems like you flashed TWRP to /boot. Easy fix is to download your ROM zip. Extract the boot.img and "fastboot flash boot boot.img". Then flash TWRP with "fastboot flash recovery twrp.img"
The locations and filenames of the files may vary. But hopefully you get the idea.
codebam said:
Seems like you flashed TWRP to /boot. Easy fix is to download your ROM zip. Extract the boot.img and "fastboot flash boot boot.img". Then flash TWRP with "fastboot flash recovery twrp.img"
The locations and filenames of the files may vary. But hopefully you get the idea.
Click to expand...
Click to collapse
I flashed a boot image for mako_KTU84P and flashed recovery again with twrp but I'm still system booting into twrp.
My bootloader version is MAKOZ30f if that is any help
I probably flashed the incorrect boot image. Could you point me in the direction of reliable ROM zip's if that is the case.
MrTalk said:
I flashed a boot image for mako_KTU84P and flashed recovery again with twrp but I'm still system booting into twrp.
My bootloader version is MAKOZ30f if that is any help
I probably flashed the incorrect boot image. Could you point me in the direction of reliable ROM zip's if that is the case.
Click to expand...
Click to collapse
Okay adb push a cyanogenmod zip from here and flash it in recovery. It should automatically install a working boot image. You should also flash the latest bootloader in the factory image with "fastboot flash bootloader bootloader.img" if you're using an outdated bootloader.
used the advice
I pushed the zip file using cmd and it appears to have been successful since I was given the summary of data transferred and how long it took once the process was finished.
I can't find the zip file in twrp to attempt to flash it.. Is there any reason the file name would change inside the device once it has been pushed?
Is there a way to flash the zip in question without pushing it unto the device?
I'm trying to root my huawei p smart
I have unlocked bootloader
I tried installing trwp with ADB. I used this command at first: 'fastboot flash recovery recovery_twrp_Psmart.img' It gave me this error: 'FAILED (remote: partition lenght get error)' after that I used: 'fastboot flash recovery_ramdisk recovery_twrp_Psmart.img' it looked like it worked, but I can't seem to get twrp open
So I don't know what I'm doing wrong
Any suggestions?
KirppuAapo said:
I'm trying to root my huawei p smart
I have unlocked bootloader
I tried installing trwp with ADB. I used this command at first: 'fastboot flash recovery recovery_twrp_Psmart.img' It gave me this error: 'FAILED (remote: partition lenght get error)' after that I used: 'fastboot flash recovery_ramdisk recovery_twrp_Psmart.img' it looked like it worked, but I can't seem to get twrp open
So I don't know what I'm doing wrong
Any suggestions?
Click to expand...
Click to collapse
rename the .img file to recovery.img and put in adb folder the run command *
fastboot flash recovery_ramdisk recovery.img
KevMetal said:
rename the .img file to recovery.img and put in adb folder the run command *
fastboot flash recovery_ramdisk recovery.img
Click to expand...
Click to collapse
Hmm still doesn't seem to work
It opens the Huawei eRecovery
KirppuAapo said:
Hmm still doesn't seem to work
It opens the Huawei eRecovery
Click to expand...
Click to collapse
what do uou mean it "opens" eRecovery
after flashing the recovery you have to unplug the phone from the pc and manually boot twrp ..by holding power button and volume up ..
*if you don't stock recovery will replace twrp wirh original recovery ...
*also are you sure you are flashing twrp & not stock recovery ... usually posts about rooting post both
I accidentally flashed a magisk_patched.img thinking that it is going to Install Magisk into my phone.
I entered the following command: fastboot flash boot magisk_patched.img (Not specifying the boot slots)
Once I rebooted, it says system UI is not responding.
I went back to fastboot mode, and entered the following commands knowing it had worked previously before:
fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img
I tried switching boot slots, but both shows the same error once I am rebooted "System UI not responding".
I have no TWRP installed and I just want to start FRESH. I have the OOS 10.3.1 Zip file ready. I just do not know how to install it.
It also seems like my phone does not want to boot into recovery mode. It is currently stuck in fastboot. Both slots have this error.
Pleasee help me out!
Use MSMDownloadTool to reflash stock image. Follow directions of that. Can be found easily here on forums.
Alternatively, since fastboot is working you can try and use a fastboot version of OOS rom and flash without relocking bootloader.
AdlietMeyer said:
I accidentally flashed a magisk_patched.img thinking that it is going to Install Magisk into my phone.
I entered the following command: fastboot flash boot magisk_patched.img (Not specifying the boot slots)
Once I rebooted, it says system UI is not responding.
I went back to fastboot mode, and entered the following commands knowing it had worked previously before:
fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img
I tried switching boot slots, but both shows the same error once I am rebooted "System UI not responding".
I have no TWRP installed and I just want to start FRESH. I have the OOS 10.3.1 Zip file ready. I just do not know how to install it.
It also seems like my phone does not want to boot into recovery mode. It is currently stuck in fastboot. Both slots have this error.
Pleasee help me out!
Click to expand...
Click to collapse
I still don't understand why people are so eagerly desperately searching to use patch img method.... We have a working TWRP you just have to fastboot boot temporarily twrp and flash Magisk zip installer....
Anyway, why did you mess with slots? 90% of time it leads to soft brick. You don't need to specify slot when fastbooting an img, it's flashed automatically on active one.
In your situation, try to fastboot flash the ROM, there is a thread in Guide News section providing OOS in fastboot format.
Or use MSMdownload to put your phone in factory fresh state, there is a thread in same section about that it's called 'collection of unbrick tools'
And my thread in same section explains how to root 10.3.1
After flashing from adb, shows twrp image not signed or corrupt
but when give command fastboot boot twrp it take to twrp.
From bootloader cant reach to twrp again, shows no command.
what to do?
pls help
markmywordz said:
After flashing from adb, shows twrp image not signed or corrupt
but when give command fastboot boot twrp it take to twrp.
From bootloader cant reach to twrp again, shows no command.
what to do?
pls help
Click to expand...
Click to collapse
The message not signed or corrupt is normal because TWRP is signed with an not official signed key.
After flashing official TWRP by fastboot
Code:
fastboot flash recovery name-of-recovery.img
you should immediately boot again to TWRP to make it stick.
You can do that by typing
Code:
fastboot reboot recovery
or if that doesn't work by the key command (power and vol down).
Hi! My goal is to install twrp recovery on my Oneplus 6t but when i flash it with the command fastboot flash boot twrp.img it does just boot into fastboot mode and the OS is deleted. i can’t use the command fastboot flash recovery twrp.img because i believe i have an A/B Partitioned device because everytime i use this command it says soemthing like: can’t find recovery_a. I can‘t use the command fastboot boot twrp.img because everytime i use this command the phone is stuck on the fastboot splash screen. I need help!
You should flash a fastboot rom of your device to fix this problem
The command is fastboot boot twrp.img. You can only boot it not flash it from fastboot. Once In twrp you can make it permanent in the settings