Hello everybody. I'm having some problems flashing TWRP after unlocking the bootloader.
First of all, after unlocking the BL, I have flashed back the stock logo using
Code:
fastboot flash logo logo.bin
Then I tried flashing TWRP.
Code:
fastboot flash recovery recovery.img
Everything is successful, but booting to recovery from bootloader turns the phone off, and using
Code:
adb reboot recovery
brings about a 'dead android' screen with 'No command' written below it. I had to force reboot.
The phone itself works fine, and I was able to boot to TWRP, using the same .img file,
Code:
fastboot boot recovery.img
, and flash SU and whatever.
I don't really have a clue about what's going on here, can anybody point me in the right direction?
Thanks in advance
Nevermind, solved using TWRP manager app, and flashing the recovery from Android. Still don't know why I wasn't able to flash recovery from fastboot.
totalnoob34 said:
Nevermind, solved using TWRP manager app, and flashing the recovery from Android. Still don't know why I wasn't able to flash recovery from fastboot.
Click to expand...
Click to collapse
I think you should use mfastboot instead of fastboot
Sent from my XT1068 using XDA Free mobile app
ggunzio said:
I think you should use mfastboot instead of fastboot
Sent from my XT1068 using XDA Free mobile app
Click to expand...
Click to collapse
Mfastboot? I am using Linux, I think that it's for Windows only. Anyway, I don't think the problem is on computer side, since the commands were successful both on the pc and the phone.
ggunzio said:
I think you should use mfastboot instead of fastboot
Sent from my XT1068 using XDA Free mobile app
Click to expand...
Click to collapse
I used fastboot for the same thing and it worked flawlessly.
Related
I was unrooting/locking bootloader/S-on'n in order to sell my One today. The process ran smoothly. I was preparing to use The RUU but I got an error that the version I am on is current. I should have ran it while I had S-off. I then flashed the firmware in fastboot using the fastboot oem rebootRUU and it flashed successfully. The phone will not boot past the HTC One logo screen nor can I access files through abd nor flash anything through fastboot. I can't even use any RUUs. I don't know what to do. Can someone please help me or direct me where I should look?
live_in_the_sky06 said:
I was unrooting/locking bootloader/S-on'n in order to sell my One today. The process ran smoothly. I was preparing to use The RUU but I got an error that the version I am on is current. I should have ran it while I had S-off. I then flashed the firmware in fastboot using the fastboot oem rebootRUU and it flashed successfully. The phone will not boot past the HTC One logo screen nor can I access files through abd nor flash anything through fastboot. I can't even use any RUUs. I don't know what to do. Can someone please help me or direct me where I should look?
Click to expand...
Click to collapse
What error are you getting when you try to flash a recovery via fastboot USB?
Sent from my One using xda app-developers app
MrFixit007 said:
What error are you getting when you try to flash a recovery via fastboot USB?
Sent from my One using xda app-developers app
Click to expand...
Click to collapse
I was getting a remote: not found or remote 43 type of errors
I have managed to flash a ROM using clockwork mod usb otg. but the touch screen is now unresponsive. The buttons work but the touchscreen does not,
live_in_the_sky06 said:
I was getting a remote: not found or remote 43 type of errors
I have managed to flash a ROM using clockwork mod usb otg. but the touch screen is now unresponsive. The buttons work but the touchscreen does not,
Click to expand...
Click to collapse
Flash the latest version of TWRP TWRP 2.6.3.0
easiest way in my opinion is through fastboot.
TWRP 2.6 - HTC One (Sprint USA) Download to your android SDK folder then open a comand prompt cd to your android sdk dir and type
fastboot flash recovery recoveryfilename.img (Change recoveryfilename.img to whatevery the recovery.img name is).
I have a friend who unlocked his phone rooted it installed viper and after install went to reboot and it just boots back into boot loader then when you reboot phone it brings up fastboot menu so I try to hit recovery and it just reboots back into fadtboot can't get into recovery so I use fastboot flash recovery to flash recovery back .. that works no problem but now there's nothing on the phone I tried to push files using adb to push a Rom back on the phone but it says device not found I have installed and uninstalled the drivers hundereds of times
How else can I get files on the phone without adb? Is it a Windows 7 issue? I'm stuck no phone
Sent from my HTC One_M8 using XDA Free mobile app
weedolo9y said:
I have a friend who unlocked his phone rooted it installed viper and after install went to reboot and it just boots back into boot loader then when you reboot phone it brings up fastboot menu so I try to hit recovery and it just reboots back into fadtboot can't get into recovery so I use fastboot flash recovery to flash recovery back .. that works no problem but now there's nothing on the phone I tried to push files using adb to push a Rom back on the phone but it says device not found I have installed and uninstalled the drivers hundereds of times
How else can I get files on the phone without adb? Is it a Windows 7 issue? I'm stuck no phone
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
If your sure your drivers are working fine it should work. Adb only works in recovery though. You are using adb in the recovery, Not the bootloader?
Sent from my HTC One M7 - ARHD 81.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
I have twrp do I adb sideload or just do it at the main twrp screen?
Fastboot it recognized the phone but not adb
Sent from my HTC One_M8 using XDA Free mobile app
weedolo9y said:
I have twrp do I adb sideload or just do it at the main twrp screen?
Fastboot it recognized the phone but not adb
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
See post #2 of nkk71 superguide on fixing your driver issue
http://forum.xda-developers.com/showthread.php?t=2541082
Unlock the bootloader at HTCDEV
then from fastboot USB
Flash recovery TWRP 2.6.3.3
http://techerrata.com/browse/twrp2/m7
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
then sideload this Rom to your phone
http://www.androidrevolution.org/downloader/download.php?file=Android_Revolution_HD-One_71.1.zip
TWRP / Advanced / ADB Sideload - swipe to sideload
From PC adb / fastboot folder
you use
adb sideload name-of-rom.zip
make sure the rom is in the same folder as adb / fastboot
Click to expand...
Click to collapse
Can anyone advise me off the fastboot command to save a copy of my recovery image before I flash the new one please.
Burtrum57 said:
Can anyone advise me off the fastboot command to save a copy of my recovery image before I flash the new one please.
Click to expand...
Click to collapse
You can't "pull" from fastboot. The protocol doesn't work like that sadly. What you can do though, is download a kernel from the forums here on xda and:
Flash recovery image to boot partition:
fastboot flash boot <recovery.img>
Battery pull (or reboot) and do a normal boot
It'll boot into recovery.
Backup recovery parition.
Reboot to fastboot
Flash kernel back:
fastboot flash boot <kernel boot.img>
Flash recovery to correct spot:
fastboot flash recovery <recovery.img>
Sent from my 0PCV1 using XDA Free mobile app
Many thanks for that. It worked and now I have CWM recovery. And the first thing I did with it was ???? Make a backup and save that on my computer for just in case!!
Something like this
Code:
dd if=/dev/block/mmcblk0p41 of=/mnt/media_rw/ext_sd/recovery.img
should do it.
Burtrum57 said:
Can anyone advise me off the fastboot command to save a copy of my recovery image before I flash the new one please.
Click to expand...
Click to collapse
Burtrum57 said:
Many thanks for that. It worked and now I have CWM recovery. And the first thing I did with it was ???? Make a backup and save that on my computer for just in case!!
Click to expand...
Click to collapse
do you have it on Desire 510 64 bit ?
how i can get it ?
i have been trying to flash the system.img manually and with the script. all i get is cant find the system.img and i get the wrong size reported back when trying to flash it. i am at a loss.. and my system has been erased so all i can do is boot into the bootloader....any help would be GREATLY appreciated...im so pissed i did this and have no phone right now..
thank you
FYI, Verizon N6 on 5.1 , unlocked, and rooted
dvigue said:
i have been trying to flash the system.img manually and with the script. all i get is cant find the system.img and i get the wrong size reported back when trying to flash it. i am at a loss.. and my system has been erased so all i can do is boot into the bootloader....any help would be GREATLY appreciated...im so pissed i did this and have no phone right now..
thank you
FYI, Verizon N6 on 5.1 , unlocked, and rooted
Click to expand...
Click to collapse
Flash all bat doesn't work. Did you unzip the second folder and find actual system.img. Then fastboot flash system system.img.
dvigue said:
i have been trying to flash the system.img manually and with the script. all i get is cant find the system.img and i get the wrong size reported back when trying to flash it. i am at a loss.. and my system has been erased so all i can do is boot into the bootloader....any help would be GREATLY appreciated...im so pissed i did this and have no phone right now..
thank you
FYI, Verizon N6 on 5.1 , unlocked, and rooted
Click to expand...
Click to collapse
dont use the flash-all script. flash each partition separately.
yes...i have tried it manaully..i keep getting "cannot find system.img" and my fastboot, adb and the .img files are all in the same folder... what the heck am i doing wrong...it also shows and i always get an "target allowed MAX download size of 536870912 when ever i try to flash system.img
dvigue said:
yes...i have tried it manaully..i keep getting "cannot find system.img" and my fastboot, adb and the .img files are all in the same folder... what the heck am i doing wrong...it also shows and i always get an "target allowed MAX download size of 536870912 when ever i try to flash system.img
Click to expand...
Click to collapse
Open command prompt. type fastboot flash system (drag and drop system img here)
I had this happen on my n5 with the first preview, honestly what worked for me(and really hate even recommending using toolkits) but NRT with force flash enable fixed it a flashed all files.
Again don't even know if n6 can use NRT but if it helps it helps lol
Sent from my Nexus 5 using XDA Free mobile app
todorcim said:
I had this happen on my n5 with the first preview, honestly what worked for me(and really hate even recommending using toolkits) but NRT with force flash enable fixed it a flashed all files.
Again don't even know if n6 can use NRT but if it helps it helps lol
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Shouldn't use toolkit till understand how it should work manually. Can get into trouble and not know how to fix.
ok..NRT worked!!!! yes...thank god...thanks for all your help
Here are all the manual commands.
Drag and Drop or Copy/Paste Images to {}
STEP #1
fastboot flash bootloader {bootloader.img}
fastboot reboot-bootloader
fastboot flash radio {radio.img}
Step #2
fastboot erase recovery
fastboot erase system
fastboot erase boot
fastboot format vendor {don't need for phone}
fastboot format cache
fastboot format userdata {optional}
Step#3
fastboot flash recovery {recovery.img}
fastboot flash system {system.img}
fastboot flash boot {boot.img}
fastboot flash vendor {vendor.img}
fastboot flash cache {cache.img}
fastboot flash userdata {userdata.img}
fastboot reboot
prdog1 said:
Shouldn't use toolkit till understand how it should work manually. Can get into trouble and not know how to fix.
Click to expand...
Click to collapse
Yep totally agree, notice my brackets?
Good I'm glad it worked!!
Sent from my Nexus 5 using XDA Free mobile app
---------- Post added at 08:23 AM ---------- Previous post was at 08:18 AM ----------
dvigue said:
ok..NRT worked!!!! yes...thank god...thanks for all your help
Click to expand...
Click to collapse
Don't rely on the toolkits tho, I personally think you need to know and understand the manual flash and Woking with adb/fastboot, I only used it because I spent a good hour trying every other possible fix to flash system (on both windows & Ubuntu).
But again I'm glad it work
Sent from my Nexus 5 using XDA Free mobile app
Hello,
I recently flashed the latest TWRP beta for the OxygenOS 4.0.1 on my phone which has an unlocked bootloader. I managed to boot into recovery immediately after flashing the .img through my PC, so that's how I was able to install my SuperSU.
However, since I booted into the OS, anytime I'm trying to enter the TRWP recovery again, I'm stuck in the stock recovery which doesn't let me install anything. So the only way for me to boot into TWRP recovery is using my PC. Can anybody help me to fix that?
Thanks!
What command are you using to install TWRP to your bootpartition?
I think the correct one is something like:
Code:
fastboot flash recovery (file name).img
kwoad said:
What command are you using to install TWRP to your bootpartition?
I think the correct one is something like:
Code:
fastboot flash recovery (file name).img
Click to expand...
Click to collapse
Thanks for your reply! Exactly. And after installing it, I used the command 'fastboot boot TWRP.img", and that brought me into TWRP recovery. But I could only get there this way and still had the stock recovery.
Yuniboy said:
Thanks for your reply! Exactly. And after installing it, I used the command 'fastboot boot TWRP.img", and that brought me into TWRP recovery. But I could only get there this way and still had the stock recovery.
Click to expand...
Click to collapse
did you unlock bootloader first
Yuniboy said:
Thanks for your reply! Exactly. And after installing it, I used the command 'fastboot boot TWRP.img", and that brought me into TWRP recovery. But I could only get there this way and still had the stock recovery.
Click to expand...
Click to collapse
From what I understand, the command 'fastboot boot twrp.img' will boot the specified recovery once, but won't flash it to the device. So it has nothing to do with the recovery that is actually on your device. Perhaps something went wrong when you actually flashed twrp and it wasn't written at all.
xabat said:
did you unlock bootloader first
Click to expand...
Click to collapse
Thanks for both your replies. Yes, I did. An indicator is also that every time I boot up my system it even warns me that the bootloader is unlocked.
freepenguin84 said:
From what I understand, the command 'fastboot boot twrp.img' will boot the specified recovery once, but won't flash it to the device. So it has nothing to do with the recovery that is actually on your device. Perhaps something went wrong when you actually flashed twrp and it wasn't written at all.
Click to expand...
Click to collapse
Well, I flashed the twrp by booting into fastboot mode and then typing 'fastboot flash recovery twrp.img'. I don't know what's wrong there, so maybe you could help me out?
Yuniboy said:
Well, I flashed the twrp by booting into fastboot mode and then typing 'fastboot flash recovery twrp.img'. I don't know what's wrong there, so maybe you could help me out?
Click to expand...
Click to collapse
Unfortunately then I don't know how to help Because that's exactly what I did and I got TWRP running without any problem. If you flash via 'fastboot flash recovery' command will it be on the device after you reboot for the first time?
i remember, once i couldn't boot into recovery either when i used fastboot command. Then I flash recovery using tool below and it worked for me.
https://forum.xda-developers.com/oneplus-3t/development/toolkit-oneplus-3t-toolkit-unlock-t3507729
freepenguin84 said:
Unfortunately then I don't know how to help Because that's exactly what I did and I got TWRP running without any problem. If you flash via 'fastboot flash recovery' command will it be on the device after you reboot for the first time?
Click to expand...
Click to collapse
Apparently, you were right. I just wiped my device (accidentaly ) and flashed TWRP again, basically did the same steps as before, but now it works. Seems like somehow the installation of TWRP just failed on the first try. Thanks for your help!
xabat said:
i remember, once i couldn't boot into recovery either when i used fastboot command. Then I flash recovery using tool below and it worked for me.
https://forum.xda-developers.com/oneplus-3t/development/toolkit-oneplus-3t-toolkit-unlock-t3507729
Click to expand...
Click to collapse
Fortunately, it wasn't that bad. So the installation of TWRP failed somehow and I just reinstalled it. Thanks for your help!
kwoad said:
What command are you using to install TWRP to your bootpartition?
I think the correct one is something like:
Code:
fastboot flash recovery (file name).img
Click to expand...
Click to collapse
And For Samsung devices, any method via using ODIN
(Samsung E7/E700H)
freepenguin84 said:
Unfortunately then I don't know how to help Because that's exactly what I did and I got TWRP running without any problem. If you flash via 'fastboot flash recovery' command will it be on the device after you reboot for the first time?
Click to expand...
Click to collapse
Apparently "yes". Source this xda article- https://www.xda-developers.com/how-to-install-twrp/