[Q] fastboot boot - One (M8) Q&A, Help & Troubleshooting

I'm using the Google Play Edition v1.3.0 | 4.4.2 | 1.16.1700.16 ROM by HolyAngel
The phone recovery is stock and I want to fastboot into philz modified cwm recovery.
I issue
Code:
fastboot boot philz_touch_6.25.5-m8.img
and watch the following go by
Code:
downloading 'boot.img'...
OKAY [ 1.252s]
booting...
OKAY [ 0.016s]
finished. total time: 1.268s
The phone hangs for about 10 seconds and then boots normally showing the white HTC screen with red text and then the Google splash screen.
How can I get into recovery?

croques said:
I'm using the Google Play Edition v1.3.0 | 4.4.2 | 1.16.1700.16 ROM by HolyAngel
The phone recovery is stock and I want to fastboot into philz modified cwm recovery.
I issue
Code:
fastboot boot philz_touch_6.25.5-m8.img
and watch the following go by
Code:
downloading 'boot.img'...
OKAY [ 1.252s]
booting...
OKAY [ 0.016s]
finished. total time: 1.268s
The phone hangs for about 10 seconds and then boots normally showing the white HTC screen with red text and then the Google splash screen.
How can I get into recovery?
Click to expand...
Click to collapse
If you're trying to flash a recover you should be using:
Code:
fastboot flash recovery recovery.img
Then once it's done, you can always access recovery through the bootloader. There's an option there.
If you are having problems with accessing Recovery, I would recommend doing
Code:
fastboot erase cache
Seems to fix most problems when it comes to trying to get into recovery.

Tiann said:
If you're trying to flash a recover you should be using:
Code:
fastboot flash recovery recovery.img
Then once it's done, you can always access recovery through the bootloader. There's an option there.
If you are having problems with accessing Recovery, I would recommend doing
Code:
fastboot erase cache
Seems to fix most problems when it comes to trying to get into recovery.
Click to expand...
Click to collapse
To be clear, I do not wish to flash recovery only boot into it temporarily. The method in my post worked just fine with the stock roms.
Code:
fastboot erase cache
didnt have any effect on the boot process. Thanks for trying.

croques said:
I'm using the Google Play Edition v1.3.0 | 4.4.2 | 1.16.1700.16 ROM by HolyAngel
The phone recovery is stock and I want to fastboot into philz modified cwm recovery.
I issue
Code:
fastboot boot philz_touch_6.25.5-m8.img
and watch the following go by
Code:
downloading 'boot.img'...
OKAY [ 1.252s]
booting...
OKAY [ 0.016s]
finished. total time: 1.268s
The phone hangs for about 10 seconds and then boots normally showing the white HTC screen with red text and then the Google splash screen.
How can I get into recovery?
Click to expand...
Click to collapse
Understand what you are trying to do but never tried it.
Does the phone meet all the normal requirements to run a custom recovery? (root/su etc)
You say it worked with stock roms. Where these rooted?

Correct me if I'm wrong but I think the booting into recovery command has been disabled..just like the M7 where j came from and to my knowledge the newer bootloaders disabled that ..so you couldn't just boot into recovery you'd have to flash it.
Sent from my HTC One_M8 using xda app-developers app

Booting into recovery was not disabled on the m8. I have done it many times. It didn't work on the m7. The reason why it's not working on a gpe is the boot offsets are different. If you were on a sense rom it would work just fine. For the GPE when I did the conversion I had to use an unpublished recovery that allowed me to boot recovery..
Sent from my HTC One_M8 using Tapatalk

graffixnyc said:
Booting into recovery was not disabled on the m8. I have done it many times. It didn't work on the m7. The reason why it's not working on a gpe is the boot offsets are different. If you were on a sense rom it would work just fine. For the GPE when I did the conversion I had to use an unpublished recovery that allowed me to boot recovery..
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
i've been trying to boot a custom recovery (without flashing) all night, and i'm running into the same issue here.
i have a brand new m8 harmon kardon edition on sprint, and am up to date as of today on all of the OTA updates.
i unlocked my bootloader, turned off fast boot, and rebooted to fastboot USB.
when i issue the command "fastboot boot recovery.img" i can see the loading bar in the top right corner of the phone, and then it reboots and loads normally without loading into a recovery.
all of this to say that i'm trying to create a backup of my own stock recovery, and have thus far had no luck.

Related

no devices found on list of adb attached

Hi all.
Please help me fix my HTC One X!! I am trying to restore my phone back to its former glory after a failed attempt to upgrade to Jelly Beans. I installed Clockwork Recovery by
c:\Fastboot>fastboot flash recovery recovery-clockwork-touch-5.8.2.4-endeavouru.
img
sending 'recovery' (5452 KB)... OKAY [ 0.701s]
writing 'recovery'... INFOFormat partition SOS done
OKAY [ 0.556s]
finished. total time: 1.257s
However now I can not seem to mount my sdcard!! I have tried
c:\AndroidSDK\tools\platform-tools>adb devices
List of devices attached
>>>> which lists nothing!!
I need to put the operating system back on, but I am at a loss for what to do next after hours searching fruitlessly.
Please help if you can!!
Zugz
Why would you use such an ancient version of clockworkmod? You want 5.8.4.0, then you can mount SD card from recovery. And charge. Both good things
Try to install Android revolution ,then if you want follow going to stock threat :reboot to bootloader and flash rom boot.img , erase cache , boot into recovery bootloader->hboot->recovery or if it dont work try to flash recovery again than do full wipe and flash rom.zip
You can now boot system
Sent from my HTC One X using xda app-developers app
I updated
ms0 said:
Try to install Android revolution ,then if you want follow going to stock threat :reboot to bootloader and flash rom boot.img , erase cache , boot into recovery bootloader->hboot->recovery or if it dont work try to flash recovery again than do full wipe and flash rom.zip
You can now boot system
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
I updated to
c:\Fastboot>fastboot flash recovery recovery-clockwork-5.8.4.0-endeavoru.img
sending 'recovery' (5742 KB)... OKAY [ 0.738s]
writing 'recovery'... INFOFormat partition SOS done
OKAY [ 0.564s]
finished. total time: 1.304s
But I still didn't get can't seem to mount the sd card.
c:\AndroidSDK\tools\platform-tools>adb devices
List of devices attached
>>> still finds nothing.
Please would someone mind giving me basic instructions as how to go about remounting the sd card?
@ms0, I installed the Android Revolution, but I didn't understand your instructions properly.
Thanks for the messages so far, I am still very stuck
1) go into recovery
2) mount storage as USB.
When you're in fastboot it won't show in adb - you need android running for that
Sent from my HTC One X using xda premium
Adb only work when booted in system.
Sdcard mount can work in system and recovery.
To install recovery or system you can use fastboot command in bootloader
(Phone connected to USB and in bootloader-fastboot
Tab.)
To enter bootloader just shut down your phone (hold power for 10sec)and hold both vol- and power button.
When you are in bootloader on your computer you can run
Fastboot flash recovery -filename-.img
to flash recovery
Fastboot flash boot boot.img to flash rom kernel (you must also do fastboot erase cache ).
When this is done on your phone you can go to main bootloader screen and from there you can enter recovery and flash rom itself. Now you should be able to boot system and check usb debuging in settings . You should now be able to connect to adb if this don't work make sure you have proper drivers on your computer (HTC sync manager and Android sdk.)
Sorry for bad english - i hate htc keyboard
Sent from my HTC One X using xda app-developers app

[Q] Phone loops reboot in recovery after flash

HI Guys... this is my first post here so thanks for the great forum
Here is my issue, I've installed The All-in-one tool kit to unlock my phone, all went ok for unlocking,
then i tried to flash a rom and i think i messed up pretty bad.
Just had my One X 2 weeks ago fist time flashing a One X (Did it several times with my Galaxy Ace)
Now my phone keeps on rebooting and eventually gets stuck on boot animation with the red message from CMW saying That this build is for development purposes only ect....
I cant even get in the bootloader, what are my option here?
Thanks in advance
Miamijice
it's strange that you can't go into bootloader, but anyway, can you go to recovery? if so, try to reflash. but anyway you'll need bootloader to flash boot.img ("fastboot flash boot boot.img" on cmd).
or, try to go into recovery, connect to pc, and type in cmd: "adb reboot bootloader", and you should go into bootloader, then flash boot.img
glukosio said:
it's strange that you can't go into bootloader, but anyway, can you go to recovery? if so, try to reflash. but anyway you'll need bootloader to flash boot.img ("fastboot flash boot boot.img" on cmd).
or, try to go into recovery, connect to pc, and type in cmd: "adb reboot bootloader", and you should go into bootloader, then flash boot.img
Click to expand...
Click to collapse
Ok... so i got into bootloader now (kinda tricky when phone reboots on it own.)
Once in bootloader i choose fastboot, then pc connects to phone, then i did fastboot flash boot boot.img in cmd in my c:/android folder (i have the ziped rom file in there too)
C:\Android>fastboot flash boot boot.img
sending 'boot' (4302 KB)... OKAY [ 0.953s]
writing 'boot'... OKAY [ 1.210s]
finished. total time: 2.165s
This is the result. My guess from there is to go in recovery from the bootloader. But i get stuck again rebooting and nothing happends.
I guess im missing something here... Thanks for your patience!
Reflash the recovery again and erase cache with fastboot commands, maybe it helps
Verstuurd van mijn HTC One X
Try this tool to flash recovery and boot.img http://forum.xda-developers.com/showthread.php?t=1734365
Sent from my HTC One X using xda premium
joewong1991 said:
Try this tool to flash recovery and boot.img http://forum.xda-developers.com/showthread.php?t=1734365
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
hi
i have the same problem with my SE neo ,, i dont know what is this starnge thing happening
i will try the tool and kindly suggest me what i can do now?
Enter bootloader by holding power + volm down for 10 seconds, check if your phone says ***LOCKED*** or ***UNLOCKED at the top and also check if it says 'endeavoru' or 'evita'.

[Q] Is CWM Recovery supported on HOX JB 4.1.1 ?

Hi All,
I can't get any version of CWM Recovery working on updated HOX
I'm not flashing it, just doing "fastboot boot imgname" ( this worked for me well before ), and phone hangs with white htc boot screen
I'd like to do backup before i try new Android Revolution HD
After i reset it ( pwr+voldown ), phone boots correctly and works fine, it's just recovery that is not working.
cid HTC_032, hboot 1.36
Any idea ? Am I the only one having this problem ?
Best Regards.
Edit:
fastboot shows this:
downloading 'boot.img'... OKAY
booting... OKAY
it seems like image is being correctly uploaded to memory but not executed
Flash recovery:
fastboot flash recovery imgname
Sent from my HTC One X using xda app-developers app
hahhahhaaa said:
Flash recovery:
fastboot flash recovery imgname
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Yes, but i don't want to flash it. i want to boot into cwm recovery without flashing it. This was possible before ota today.
Code:
C:\aaa>fastboot.exe
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot + recovery + system
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
getvar <variable> display a bootloader variable
[U][B] boot <kernel> [ <ramdisk> ] download and boot kernel[/B][/U]
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
reboot reboot device normally
reboot-bootloader reboot device into bootloader
options:
-w erase userdata and cache
-s <serial number> specify device serial number
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
You want to enter the stock or custom recovery ?
Do this
Fastboot erase cache
Helped many people not being able to enter the recovery
And if you want to flash a boot.img its not
Fastboot boot boot.img
But
Fastboot flash boot.img
With fastboot boot boot.img you run the phone once with that specific kernel and with a reboot its undone ! It's more used for test purposes
Your edited tekst in the op says clearly
Downloading boot.img and not recovery.img
Was your command right ?
And btw what's wrong with running the custom recovery and enter from the bootloader or directly from the os . I have a 4-way reboot (also the option to boot into recovery)
Erasing cache didn't help
What's wrong with flashing custom recovery, is that i always try read-only methods before i alter something, even if its useless but working
And I'm genuinely afraid of flashing something that seems to not work
Anyway, this is output from cmd:
Code:
C:\Users\gstawik\Desktop\Android\Flash_boot_17.x_0.1\fastboot>fastboot-windows.e
xe boot ..\..\recovery-clockwork-5.8.4.0-endeavoru.img
downloading 'boot.img'... OKAY
booting... OKAY
C:\Users\gstawik\Desktop\Android\Flash_boot_17.x_0.1\fastboot>
And it DID work many times before the HTC JellyBean OTA update.
Also, i get it, "fastboot flash recovery imgname" to flash, "fastboot boot imgname" to boot directly, now I'm sad, because i feel like my English sucks :crying:
EDIT:
Other fastboot binary versions, including newest one from SDK, do not solve this problem.
Well then i'm a bit in the dark now,.never "played" with these commands. I just flash the damn thing and enter it
I damn did flash this thing and it's working, damn thanks for help anyway
Sent from my HTC One X using xda app-developers app
staviq said:
I damn did flash this thing and it's working, damn thanks for help anyway
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
:thumbup:

Twrp disappears after loading, recovery Red Triangle NO Command

Getting confused.
Loaded Nougat on my Nexus 5x... unlocked boot loader, loaded TWRP 3.0.2-2 rebooted, saw TWRP,
Moving files to the phone to restore using TB, but have not yet done SUPERSU.. reboot back into recovery, Android Flat on back Red Triangle, No command??
Can reboot into the phone it works, just can't get back to TWRP for reasons I can't figure out.
Feels like I missing a step, but can't figure out what. Looked at a lot of pages, but nothing really stands out.
Update: Used fastboot boot [twrp imagename].img
And it got me directly to TWRP. Able to load SuperSU then.
Update #2: What I didn't make clear in this original post was I did in fact flash the TWRP recovery, it just didn't stick.
Command used originally:
Code:
C:\SDK\platform-tools>fastboot flash recovery twrp-3.0.2-2-bullhead.img
target reported max download size of 536870912 bytes
sending 'recovery' (16433 KB)...
OKAY [ 0.421s]
writing 'recovery'...
OKAY [ 0.154s]
finished. total time: 0.579s
My mistake was to then reboot where it was apparently overwritten hence the confusion.
krelvinaz said:
Getting confused.
Loaded Nougat on my Nexus 5x... unlocked boot loader, loaded TWRP 3.0.2-2 rebooted, saw TWRP,
Moving files to the phone to restore using TB, but have not yet done SUPERSU.. reboot back into recovery, Android Flat on back Red Triangle, No command??
Can reboot into the phone it works, just can't get back to TWRP for reasons I can't figure out.
Feels like I missing a step, but can't figure out what. Looked at a lot of pages, but nothing really stands out.
Update: Used fastboot boot [twrp imagename].img
And it got me directly to TWRP. Able to load SuperSU then.
Click to expand...
Click to collapse
The reason that happens is if u fastboot boot twrp.img u will only have a temporary twrp until u reboot..if u had typed fastboot flash recovery recovery twrp.img then when u reboot the recovery would be permanent...
Sent from my Nexus 5X using XDA-Developers mobile app
dog121 said:
The reason that happens is if u fastboot boot twrp.img u will only have a temporary twrp until u reboot..if u had typed fastboot flash recovery recovery twrp.img then when u reboot the recovery would be permanent...
Click to expand...
Click to collapse
Actually, I did use flash the recovery. It came up just fine. However, after a reboot, when I booted back to recovery I got the No Command.
I had to re-flash TWRP, and then reboot back to Recover from TWRP, then reboot, then it worked like it should.
The command you posted was to boot a recovery, not to flash one in the recovery partition.
Anyway, you can't just flash TWRP and boot, because the boot will replace stock recovery, you got to flash supersu/another kernel from the recovery after flashing for it to stick.
You Can try this adb command :
fastboot flash recovery twrp_3.0-2-2.img
fastboot boot twrp_3.0-2-2.img
And normaly it's ok you have twrp installed
Thanks for the other responses...
Just to confirm what I did originally (I just unrooted so that I could use Magisk and PPH Root)
Code:
C:\SDK\platform-tools>fastboot flash recovery twrp-3.0.2-2-bullhead.img
target reported max download size of 536870912 bytes
sending 'recovery' (16433 KB)...
OKAY [ 0.421s]
writing 'recovery'...
OKAY [ 0.154s]
finished. total time: 0.579s
However, If after doing this I rebooted the phone etc... TWRP was no longer there again. I had to do the same, force a boot to twrp, and then install Magisk before rebooting for it to stick.
Just in case someone else runs into this confusion.
I am now on Android 7 Nougat on a Nexus 5X with Magisk using PPH Root and can now use Root, Android Pay and some other apps which won't run with root enabled. Happy Camper for now.
The step your missing is after you fastboot flash the recovery don't reboot the phone just yet. You have to reboot the bootloader by typing fastboot reboot bootloader. After doing that use the volume up button to access recovery. Once you do that then you can start the phone.
Sent from my Nexus 5X using Tapatalk
krelvinaz said:
However, If after doing this I rebooted the phone etc... TWRP was no longer there again. I had to do the same, force a boot to twrp, and then install Magisk before rebooting for it to stick.
Click to expand...
Click to collapse
If you boot with a stock boot.img the android boot process will replace your recovery partition with stock if the SHA256 for the recovery doesn't match what it expects. The way you can stop this is to modify your boot.img, which would happen if you install SuperSU prior to first android boot after a new flash.

Cant get into Recovery (clockwordk mod / twrp)

hy!
in fastboot i unlocked the nexus 7. I then flashed recovery of clockword mod and twrp but with both i end up on "google" screen with the unlocked lock symbol. After some time it boots in to stock rom. How do i get to run recovery?
i used:
sudo fastboot flash recovery <filename>..
also i cant lock it anymore, it gives me an error.
what i am trying to do? i want to root the device via a recovery rom as towelroot does not work and i dont have a modstring for the nexus 7 for towelroot. i then want to run fstrim as the device is completely nutty slow. maybe install a custom rom- anyone has a source for a good cm?
thx!
versions i tried:
recovery-clockwork-touch-6.0.4.3-flo.img
twrp-2.6.3.1-flo.img
twrp-3.1.1-0-flo.img
update: now i somehow managed to change from the "google with unlocked symbol" screen to the "fallen android" screen. that means no recovery is found.. i dont get it. after booting into stock rom after the unlocking of the bootloader i re-enabled usb debugging of course.
recovery writing ocurs very fast and no info the nexus 7 screen is displayed:
twrp-3.1.1-0-flo.imgsending 'recovery' (8962 KB)...
OKAY [ 1.115s]
writing 'recovery'...
OKAY [ 0.367s]
finished. total time: 1.482s
i tried with v 2.4. of team win recovery, which did install and execute
ok, got it up an running, dont know why it didnt want at first, but its all ok.
used twr3xx
and lineage11
and gapps pica
works
nice tut:
https://cd-rw.org/t/resurrect-a-nexus-7-2012-to-run-as-good-as-new/141
nice rom:
https://forum.xda-developers.com/ne...fficial-build-cyanogenmod-11-0-nexus-t3174831

Categories

Resources