Clear fastboot cache without computer? - One (M7) Q&A, Help & Troubleshooting

Is this possible? It's near impossible to boot into recovery, apparently my cache is always being corrupted or something. I'm not able to get to a PC for a few hours but I need to get into recovery.

Fastboot is through the bootloader not the recovery. I'm sure you can get into the bootloader?

ArmedandDangerous said:
Fastboot is through the bootloader not the recovery. I'm sure you can get into the bootloader?
Click to expand...
Click to collapse
yes, I can get into the bootloader. But I can't use fastboot due to not being on a pc. I'm trying to get into recovery to flash something,but can't get into recovery, it starts to load, then restarts the phone.

try deleting the cache folder using a file manager

Related

[Q] fastboot flash doesn't work

I am trying to burn stock ROM images on my Nexus One. I am trying to follow instructions in this tutorial http://forum.xda-developers.com/showthread.php?t=614850 but can't get fastboot to flash my ROM with the images nor erase the userdata partition.
When trying
-> fastboot erase userdata
I get "FAILED (remote: not allowed)" message and when trying
-> fastboot flash userimage.img
I get "sending 'userdata' (837 KB)..." but nothing happens even after 10 minutes... This is the same when trying to flash system and boot partition as well.
I can see my device and reboot it using
-> fastboot devices
-> fastboot reboot-bootloader
My HBOOT version is 0.33.0012 and I have this S-ON (can't quite figure out what this means)...
Any ideas?
When in the bootloader does it say HBOOT below the green text or FASTBOOT? You will first need to navigate to the fastboot entry (I think that's what it's called) and press the power button. Your commands should then work.
Hollow.Droid said:
When in the bootloader does it say HBOOT below the green text or FASTBOOT? You will first need to navigate to the fastboot entry (I think that's what it's called) and press the power button. Your commands should then work.
Click to expand...
Click to collapse
It says FASTBOOT USB. I can see the device and do a reboot using the fastboot tool in my PC - only the erase and flash commands don't seem to work.
smichak said:
It says FASTBOOT USB. I can see the device and do a reboot using the fastboot tool in my PC - only the erase and flash commands don't seem to work.
Click to expand...
Click to collapse
Hmmm that's weird, I only got those errors when it said HBOOT. An alternative is to flash the phone using PASSIMG.zip. It will wipe the partitions you are attempting to; userdata, system, boot etc using a completely stock rom and is done via the fastboot menu.
Edit: This is assuming you have an unlocked bootloader?
Did you run 'fastboot oem unlock' first?
Rusty! said:
Did you run 'fastboot oem unlock' first?
Click to expand...
Click to collapse
I am pretty sure my phone is unlocked as I see this open lock icon whenever I reboot it.
Hollow.Droid said:
Hmmm that's weird, I only got those errors when it said HBOOT. An alternative is to flash the phone using PASSIMG.zip. It will wipe the partitions you are attempting to; userdata, system, boot etc using a completely stock rom and is done via the fastboot menu.
Edit: This is assuming you have an unlocked bootloader?
Click to expand...
Click to collapse
Is there a tutorial or something on how to do this (the PASSIMG.zip thing) ? I don't wanna mess things up...
smichak said:
Is there a tutorial or something on how to do this (the PASSIMG.zip thing) ? I don't wanna mess things up...
Click to expand...
Click to collapse
There was but I can't put my finger on it at the moment. However I used this exact method a couple of days ago so it's still fresh:
1) Download FRG33 image format from here. Versions above this as far as I know cannot use the PASSIMG.zip method.
2) Rename to PASSIMG.zip and place in the root of the sd card
3) Reboot/boot to bootloader
4) At this point the phone will recognise the zip file and check its contents.
5) When prompted press the volume button to confirm.
This will return you to stock (Minus the recovery but from the sounds of it you don't have a custom recovery image).
You have to extract the FRG33 file and then rename the new file passimg.zip
OK thanks - the PASSIMG.zip thing did the trick. Now I'm running FRG33 stock. Any tips on how I get from here as quickly as possible to Gingerbread?
smichak said:
OK thanks - the PASSIMG.zip thing did the trick. Now I'm running FRG33 stock. Any tips on how I get from here as quickly as possible to Gingerbread?
Click to expand...
Click to collapse
Using fastboot, flash the custom recovery of your choice. Using that recovery, flash the custom GB ROM of your choice.

Custom Recovery help

I used the CM app and Windows to unlock, and root my ATT One. I've tried several times to use Flashify to flash TWRP./ It will load and get me to the TWRP main menu, but it freezes and I have to hold volume down and power to get to recovery to reboot. Am I stuck with CWM?
Did you do
fastboot erase cache
?
BenPope said:
Did you do
fastboot erase cache
?
Click to expand...
Click to collapse
sorry, no I didn't. I'll give that a try.

Help! Am I screwed?

Nexus 6 - I unlocked and installed twrp recovery deleted oem files but then relocked and now phone is flashing the twrp recovery splash screen and it goes no further. What the hell do I do now? I can do fastboot but can't unlock in fastboot because it says to allow enable unlock in Developer options.
Does android boot?
I am at the bootloader, from there if I start it simply goes to the twrp recovery splash screen just flashing every couple of seconds and I'm stuck there.
MKAMWE said:
I am at the bootloader, from there if I start it simply goes to the twrp recovery splash screen just flashing every couple of seconds and I'm stuck there.
Click to expand...
Click to collapse
Use "fastboot reboot" from bootloader. Same?
What about "fastboot reboot recovery"?
fastboot reboot does the same, fastboot reboot recovery does nothing
You cannot get Into recovery at all? No way?
If I hit recovery from bootloader the twrp recovery splash just flashes
OK. Yep I think you're screwed
Can you use this http://forum.xda-developers.com/nexus-6/general/fix-fix-qhusbbulk-cm12-t3059518 in order to flash factory images using RSD Lite?
MKAMWE said:
Nexus 6 - I unlocked and installed twrp recovery deleted oem files but then relocked and now phone is flashing the twrp recovery splash screen and it goes no further. What the hell do I do now? I can do fastboot but can't unlock in fastboot because it says to allow enable unlock in Developer options.
Click to expand...
Click to collapse
well the heck did u relock your device? Makes no sense at all? Might as well do an RMA
try wiping cache and data with fastboot
How would I wipe cache and data in fastboot?
MKAMWE said:
How would I wipe cache and data in fastboot?
Click to expand...
Click to collapse
http://techbeasts.com/2014/01/05/useful-adb-and-fastboot-commands-and-how-to-them/
MKAMWE said:
How would I wipe cache and data in fastboot?
Click to expand...
Click to collapse
read up on this.
http://forum.xda-developers.com/showthread.php?t=2225405
idtheftvictim said:
Can you use this http://forum.xda-developers.com/nexus-6/general/fix-fix-qhusbbulk-cm12-t3059518 in order to flash factory images using RSD Lite?
Click to expand...
Click to collapse
No. Read the last few page
simms22 said:
try wiping cache and data with fastboot
Click to expand...
Click to collapse
Is that possible with a locked bootloader?
ok, did fastboot wipe cache and fastboot wipe data... phone is now on the swirling google dots... how long does this take?
MKAMWE said:
How would I wipe cache and data in fastboot?
Click to expand...
Click to collapse
Code:
fastboot format userdata
fastboot format cache
fastboot reboot
MKAMWE said:
ok, did fastboot wipe cache and fastboot wipe data... phone is now on the swirling google dots... how long does this take?
Click to expand...
Click to collapse
Wait a good 10-15 mins
format i meant, not wipe! but it should do the same thing..
simms22 said:
http://techbeasts.com/2014/01/05/useful-adb-and-fastboot-commands-and-how-to-them/
Click to expand...
Click to collapse
Wow, thanks for this

fastboot format boot ; fastboot reboot-bootloader

i have read that if you wipe the boot partition (not bootloader) and try to reboot before flashing a boot image. the device will not boot. i was surprised to read this because i thought as long as the bootloader was intact you would be able to get into fastboot/bootloader mode. i thought the boot partition was just the android kernel/ramdisk, and that there was a separate bootloader partition for the bootloader
but i think this is wrong
so if i run this:
Code:
fastboot format boot
fastboot reboot-bootloader
i wont be able to boot into android, but i'll still be able to get into recovery and fastboot modes, right?
gnarlycs said:
i have read that if you wipe the boot partition (not bootloader) and try to reboot before flashing a boot image. the device will not boot. i was surprised to read this because i thought as long as the bootloader was intact you would be able to get into fastboot/bootloader mode. i thought the boot partition was just the android kernel/ramdisk, and that there was a separate bootloader partition for the bootloader
but i think this is wrong
so if i run this:
Code:
fastboot format boot
fastboot reboot-bootloader
i wont be able to boot into android, but i'll still be able to get into recovery and fastboot modes, right?
Click to expand...
Click to collapse
What exactly are you trying to accomplish here?
You can wipe the boot partition, but you cannot wipe the BOOTLOADER.
If you wipe the bootloader, you'll be screwed.
The bootloader is on a partition called "aboot".
Interestingly, Nexus 6 has a second aboot partition named "abootBackup". Wonder what's up with that...?
doitright said:
You can wipe the boot partition
Click to expand...
Click to collapse
I'm curious. What would be the reason to wipe boot partition?
cam30era said:
I'm curious. What would be the reason to wipe boot partition?
Click to expand...
Click to collapse
Sometimes just to clear out anything before an install of a new kernel - if some kernel put something special there. I never do it personally but it can be done, but you should flash another kernel immediately. No need to reboot the bootloader.

Factory reset won't finish and keeps trying to erase in a loop.

I did a factory reset from within the settings of the phone, it shows the erasing android and then flickers with and image of an android with triangle. Does this several times and then just stops on the android with red triangle. I can get into stock recovery, tried resetting from there but same thing happens. Also, if I just leave the phone it reboots and then tries to erase and then I get the same loop of it trying and failing.
Any ideas how to fix this? Phone is on the stock 5.0 rom and I have the pure edition.
Thanks
Raistlin1 said:
I did a factory reset from within the settings of the phone, it shows the erasing android and then flickers with and image of an android with triangle. Does this several times and then just stops on the android with red triangle. I can get into stock recovery, tried resetting from there but same thing happens. Also, if I just leave the phone it reboots and then tries to erase and then I get the same loop of it trying and failing.
Any ideas how to fix this? Phone is on the stock 5.0 rom and I have the pure edition.
Thanks
Click to expand...
Click to collapse
I would get into bootloader mode and reflash the system.img.
JulesJam said:
I would get into bootloader mode and reflash the system.img.
Click to expand...
Click to collapse
I am having a hard time trying to flash system.img. I found the system.img for my rom version and tried using ms fast boot v2 but it just hangs in the command window. I have installed the moto drivers and computer recognizes phone when it's in fast boot mode.
I even tried using someone's toolkit to return completely stock u rooted 4.4 but that doesn't work either.
Been reading tons of threads on here but can't seem to get it to flash.
Raistlin1 said:
I am having a hard time trying to flash system.img. I found the system.img for my rom version and tried using ms fast boot v2 but it just hangs in the command window. I have installed the moto drivers and computer recognizes phone when it's in fast boot mode.
Click to expand...
Click to collapse
Are you flashing a single file system.img or sparsechunks? Do you have mfastboot version 2?
Also, you can install Motorola Device Manager on your computer and when your phone is connected in fastboot mode, run MDM and see if it detects it.
JulesJam said:
Are you flashing a single file system.img or sparsechunks? Do you have mfastboot version 2?
Also, you can install Motorola Device Manager on your computer and when your phone is connected in fastboot mode, run MDM and see if it detects it.
Click to expand...
Click to collapse
System img is a single file, I also have a zip that has sparse chunks but haven't tried them. I am pretty sure I downloaded version 2 of mfastboot.
MDM saw my phone and said it had the most recent version.
Raistlin1 said:
System img is a single file, I also have a zip that has sparse chunks but haven't tried them. I am pretty sure I downloaded version 2 of mfastboot.
MDM saw my phone and said it had the most recent version.
Click to expand...
Click to collapse
I would try flashing the sparsechunks if you can't flash the single file image.
JulesJam said:
I would try flashing the sparsechunks if you can't flash the single file image.
Click to expand...
Click to collapse
Tried them using fastboot and only the first sparsechunk worked, they rest gave some error about bootloader.
I then tried in the mfastboot folder I created and it just hangs saying waiting for device, that's why I tried using fastboot.
I am really screwing myself, now while in bootloader and I try to boot or recovery I get failed to validate. Never had these problems flashing my N5, oh well.
Raistlin1 said:
Tried them using fastboot and only the first sparsechunk worked, they rest gave some error about bootloader.
I then tried in the mfastboot folder I created and it just hangs saying waiting for device, that's why I tried using fastboot.
Click to expand...
Click to collapse
How large is your mfastboot? It should be 521KB. If it is smaller than that, you don't have the right one.
What was the bootloader error?
Also now that you have flashed 1 sparsechunk, try MDM again.
You also can try flashing the 4.4.4 system.img if you can find it and then run MDM again b/c it will try to update you.
JulesJam said:
How large is your mfastboot? It should be 521KB. If it is smaller than that, you don't have the right one.
What was the bootloader error?
Also now that you have flashed 1 sparsechunk, try MDM again.
You also can try flashing the 4.4.4 system.img if you can find it and then run MDM again b/c it will try to update you.
Click to expand...
Click to collapse
I am getting bootloader failed to erase partition, failed remote failure.
MDM says phone is on latest version. mfastboot is the size you stated.
Raistlin1 said:
I am getting bootloader failed to erase partition, failed remote failure.
Click to expand...
Click to collapse
This happened to others. One guy had an unlocked bootloader and TWRP installed as recovery and was able to format the data partition through TWRP and that solved the problem for him:
http://forum.xda-developers.com/moto-x-2014/help/xt1095-fastboot-flash-img-failed-t3098727
Can you get into recovery from the bootloader mode? I would get into recovery and wipe cache and then do a wipe data/factory reset and see what happens.
JulesJam said:
This happened to others. One guy had an unlocked bootloader and TWRP installed as recovery and was able to format the data partition through TWRP and that solved the problem for him:
http://forum.xda-developers.com/moto-x-2014/help/xt1095-fastboot-flash-img-failed-t3098727
Can you get into recovery from the bootloader mode? I would get into recovery and wipe cache and then do a wipe data/factory reset and see what happens.
Click to expand...
Click to collapse
I will check out that thread, thanks. I cannot get into recovery from bootloader because it reboots into the erasing android which fails and then I get android with triangle and then I can get into recovery. But wiping cache and factory resetting from there does nothing, it reboots into the erasing android and then it fails to erase again.
Raistlin1 said:
I will check out that thread, thanks. I cannot get into recovery from bootloader because it reboots into the erasing android which fails and then I get android with triangle and then I can get into recovery. But wiping cache and factory resetting from there does nothing, it reboots into the erasing android and then it fails to erase again.
Click to expand...
Click to collapse
Can you reflash stock recovery?
Your bootloader is locked correct?
JulesJam said:
Can you reflash stock recovery?
Your bootloader is locked correct?
Click to expand...
Click to collapse
Reflashing recovery fails like systemail and my bootloader was unlocked prior to all of this happening.
Any way I can flash TWRP in the state I am in?
Raistlin1 said:
Reflashing recovery fails like systemail and my bootloader was unlocked prior to all of this happening.
Any way I can flash TWRP in the state I am in?
Click to expand...
Click to collapse
I would certainly try it.
Also, when you are in recovery and type adb devices, does it recognize your device?
JulesJam said:
I would certainly try it.
Also, when you are in recovery and type adb devices, does it recognize your device?
Click to expand...
Click to collapse
I am spent, going to bed and will pick up again tomorrow. Thanks for helping out.
JulesJam said:
I would certainly try it.
Also, when you are in recovery and type adb devices, does it recognize your device?
Click to expand...
Click to collapse
Tried fastboot boot twrp.img but it won't boot, then tried flashing using fastboot and mfastboot but twrp won't install. Nothing will finish installing, tried flashing everything I can but it keeps failing.
Got the 4.4 image and started with flash partition gpt.bin but got bootloader failed to write primary GPT, bootloader failed to progra partition table, failed remote failure.
On phone I see incomplete boot image for booting, mismatched partition size (recovery). MDM sees my phone and says it is on the current version but I cannot get out of this factory erase looping. Nothing is flashing successfully, I remember seeing something about RSD Lite, will that help me in any way?
Thanks
Raistlin1 said:
Tried fastboot boot twrp.img but it won't boot, then tried flashing using fastboot and mfastboot but twrp won't install. Nothing will finish installing, tried flashing everything I can but it keeps failing.
Got the 4.4 image and started with flash partition gpt.bin but got bootloader failed to write primary GPT, bootloader failed to progra partition table, failed remote failure.
On phone I see incomplete boot image for booting, mismatched partition size (recovery). MDM sees my phone and says it is on the current version but I cannot get out of this factory erase looping. Nothing is flashing successfully, I remember seeing something about RSD Lite, will that help me in any way?
Thanks
Click to expand...
Click to collapse
RSDLite will just use mfastboot to flash. You definitely CANNOT downgrade the partition table - it would leave you with a bootloader partition table version mismatch. So don't attempt that.
You are on the 5.0 bootloader (60.11) correct? If so, did you try flashing the 5.0 partition table (gpt.bin)?
Is your device recognized when you are in recovery and you type in the commad:
adb devices
JulesJam said:
RSDLite will just use mfastboot to flash. You definitely CANNOT downgrade the partition table - it would leave you with a bootloader partition table version mismatch. So don't attempt that.
You are on the 5.0 bootloader (60.11) correct? If so, did you try flashing the 5.0 partition table (gpt.bin)?
Is your device recognized when you are in recovery and you type in the commad:
adb devices
Click to expand...
Click to collapse
As of now I can only get into fastboot mode, I don't believe the phone can even cycle through trying to boot any more. I tried rebooting from fastboot mode but there was an error and it failed.
I tried finding the exact image for 5.0 but I was only able to find the thread that had system, recovery and boot. Do you know a link to find the 5.0 partition table?
Raistlin1 said:
I tried finding the exact image for 5.0 but I was only able to find the thread that had system, recovery and boot. Do you know a link to find the 5.0 partition table?
Click to expand...
Click to collapse
http://www.graffixnyc.com/motox.php
JulesJam said:
http://www.graffixnyc.com/motox.php
Click to expand...
Click to collapse
Downloaded the 5.0 file from there, started flashing those files and it worked up until recovery, then I got the same bootloader message I was getting previously. Tried them over again and they all failed.
When in recovery adb devices starts the daemon and then says list of devices attached but I don't see anything after that.
I think it is fubar`d, going to have to file a warrant claim or use the moto care I purchased.

Categories

Resources