hi guys,
what i have done is the following.
i unlocked the device with fast boot -> worked.
i flashed directly twrp without rebooting the boot loader.
i rebooted into recovery. there i „wiped“ everything and got the error „storage could not be mounted“.
after that everything seems to be screwed up.
i couldn’t boot anymore (stuck in boot logo)
i flashed the factory image from google
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
fastboot flash bootloader "bootloader-datei.img"
fastboot reboot-bootloader
fastboot flash radio "radio-datei.img"
fastboot reboot-bootloader
fastboot -w update "image-file.“zip
the device rebooted and is in the boot logo since 20 minutes….seems not normal..
any ideas what i can do now?
thx,
thomas
trismegistos said:
hi guys,
what i have done is the following.
i unlocked the device with fast boot -> worked.
i flashed directly twrp without rebooting the boot loader.
i rebooted into recovery. there i „wiped“ everything and got the error „storage could not be mounted“.
after that everything seems to be screwed up.
i couldn’t boot anymore (stuck in boot logo)
i flashed the factory image from google
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
fastboot flash bootloader "bootloader-datei.img"
fastboot reboot-bootloader
fastboot flash radio "radio-datei.img"
fastboot reboot-bootloader
fastboot -w update "image-file.“zip
the device rebooted and is in the boot logo since 20 minutes….seems not normal..
any ideas what i can do now?
thx,
thomas
Click to expand...
Click to collapse
Install TWRP, then wipe EVERYTHING inside of TWRP. That fixes it.
Kwongger said:
Install TWRP, then wipe EVERYTHING inside of TWRP. That fixes it.
Click to expand...
Click to collapse
THX, got a heard attack.... Works now
Gesendet von meinem Galaxy Nexus mit Tapatalk
trismegistos said:
THX, got a heard attack.... Works now
Gesendet von meinem Galaxy Nexus mit Tapatalk
Click to expand...
Click to collapse
No prob man! That's what I'm here for lmao.
Would you be interested in testing a new GUI-based Toolkit that ricky310711 and I are writing? It will have standard options along with:
Screen Record
Backup to PC
Restore from PC
build.prop Tweaks
init.d Tweaks
Build ROM from Device
and a lot MORE!!!!
It's the ****s.
Shoot me a PM if you're interested
Related
I just restored from the official google 4.4.2 images and my phone cant get past the Google screen. Please help!
bobyum said:
I just restored from the official google 4.4.2 images and my phone cant get past the Google screen. Please help!
Click to expand...
Click to collapse
You flashed the factory images?
bobyum said:
I just restored from the official google 4.4.2 images and my phone cant get past the Google screen. Please help!
Click to expand...
Click to collapse
Do a data factory reset and wipe the cache both in recovery and reboot bro.
gee2012 said:
Do a data factory reset and wipe the cache both in recovery and reboot bro.
Click to expand...
Click to collapse
Thinking the same thing. But.. I can admit getting in a hurry and flashing the wrong image! :laugh:
I made sure that I was using the right image and it still wont go past the Google screen. Any other ideas?
edit: okay the phone can't even write the recovery to the phone through fastboot! Any other thoughts?
bobyum said:
I made sure that I was using the right image and it still wont go past the Google screen. Any other ideas?
Click to expand...
Click to collapse
Long press the power button force it to reboot. As soon as the screen goes black hold down the volume down button. That will boot you into the bootloader, from there you can get to recovery. Factory reset, wipe cache.
You flashed stock recovery?
If you have stock recovery go to the bootloader like I said earlier. Choose recovery. Then you will see android laying down. Press volume up and power button at the same time. Do a factory reset.
bobyum said:
I made sure that I was using the right image and it still wont go past the Google screen. Any other ideas?
edit: okay the phone can't even write the recovery to the phone through fastboot! Any other thoughts?
Click to expand...
Click to collapse
If you flashed the whole image inclusing userdata.img it should boot usualy, never xperienced it did not personaly. So besides a wipe have no idea bro, you might try to reflash the rom again. Are you using a Toolkit?
gee2012 said:
If you flashed the whole image inclusing userdata.img it should boot usualy, never xperienced it did not personaly. So besides a wipe have no idea bro, you might try to reflash the rom again. Are you using a Toolkit?
Click to expand...
Click to collapse
I did this with the flashh-all.bat provided by the official image. I can't even do that anymore because it just gets stuck when writing the bootloader. Totally out of ideas right now. Is there any way I can reformat the partition through fastboot? Would that help?
bobyum said:
I did this with the flashh-all.bat provided by the official image. I can't even do that anymore because it just gets stuck when writing the bootloader. Totally out of ideas right now. Is there any way I can reformat the partition through fastboot? Would that help?
Click to expand...
Click to collapse
Try this:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
After that flash the rom again with flash.all.batt
maybe flash each part individually (not using flashall)
Sent from my Nexus 5 using Tapatalk
gee2012 said:
Try this:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
After that flash the rom again with flash.all.batt
Click to expand...
Click to collapse
Unfortunately, it didnt help Still stuck at writing bootloader...
beaver2233 said:
maybe flash each part individually (not using flashall)
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yup, that might work better maybe
hmm so in which order should i flash them in?
edit: I honestly think the flash storage failed. Ill just apply for RMA then. Do you guys know if I bought my phone in early December, will I still be eligible?
bobyum said:
hmm so in which order should i flash them in?
edit: I honestly think the flash storage failed. Ill just apply for RMA then. Do you guys know if I bought my phone in early December, will I still be eligible?
Click to expand...
Click to collapse
How to flash a factory image. Erasing everything in fastboot should have done the trick. Erase everything then do method 2. You have to reboot the bootloader after flashing the bootloader and again after flashing the radio. One year to RMA. .
---------- Post added at 02:14 AM ---------- Previous post was at 01:57 AM ----------
These are the commands I would use. The name of the images for the bootloader and radio are for 4.4.2.
fastboot flash bootloader bootloader-hammerhead-hhz11k.img
fastboot reboot-bootloader
fastboot flash radio radio-hammerhead-m8974a-1.0.25.0.23.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot format cache
fastboot reboot
Thanks all for the help! Will try it tomorrow. Hopefully it works
wantabe said:
How to flash a factory image. Erasing everything in fastboot should have done the trick. Erase everything then do method 2. You have to reboot the bootloader after flashing the bootloader and again after flashing the radio. One year to RMA. .
---------- Post added at 02:14 AM ---------- Previous post was at 01:57 AM ----------
These are the commands I would use. The name of the images for the bootloader and radio are for 4.4.2.
fastboot flash bootloader bootloader-hammerhead-hhz11k.img
fastboot reboot-bootloader
fastboot flash radio radio-hammerhead-m8974a-1.0.25.0.23.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot format cache
fastboot reboot
Click to expand...
Click to collapse
I'd go one better and look to do a COMPLETE reflash - userdata and all! I'd also rename bootloader-hammerhead-hhz11k.img to bootloader.img and radio-hammerhead-m8974a-1.0.25.0.23.img to radio.img as it means there's less to get wrong! SO, to recap:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
fastboot flash userdata userdata.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot reboot-bootloader
fastboot format cache
I'd then boot into the stock recovery and perform a factory reset to make sure everything is in order and then reboot. I've done this exact method a number of times on my Nexus 5 and it works every time
EddyOS said:
I'd go one better and rename bootloader-hammerhead-hhz11k.img and radio-hammerhead-m8974a-1.0.25.0.23.img to just bootloader.img and radio.img to make it easier - less to type out and get wrong!
Click to expand...
Click to collapse
I usually do the same thing too but I left the names as a hint to verify that he had the correct images.
I almost never flash userdata and recovery unless I'm selling a device. I've also never rebooted the bootloader between every image Except after the bootloader and radio images but I agree that your method is covering all the bases!
wantabe said:
I usually do the same thing too but I left the names as a hint to verify that he had the correct images.
I almost never flash userdata and recovery unless I'm selling a device. I've also never rebooted the bootloader between every image Except after the bootloader and radio images but I agree that your method is covering all the bases!
Click to expand...
Click to collapse
As I hardly have any data to backup bar some custom ring tones I always reflash the userdata partition to be thorough. As for the reboots, I've just done it from habit, again just to be thorough. If it still doesn't work after that then it's goosed!
Try using the backup bootloader. Press and hold both volume buttons with the power button. That will take you into the backup bootloader.
Thanks to everyone for helping but I could not even get past writing the bootloader to the phone. I honestly think the flash storage and failed so will be RMAing. Hopefully they will accept it...
I have anexus 5 that is stuch on the google logo or is stuck in a boot lopp than it gets frozen and when plugegd in the battery logo turns on. I can go into recovery (twrp), but everything on my phone ghas been erased so theres nothing to flash. I tried to use a Nexus 5 toolkit to stock flash but it always comes up with an error. When i try something on twrp it says unable to mount....and give like 5-6 different thinbgs that it cant mount to. Everytime i try to flaash a new bootloader or something from that toolkit the phone turns off and goes into the battery logo. When i use twrp and try to do anything the phone just restarts into recovery. Is there any way i could push factory images to the phone or something else.
BTW, i dont know mucgh in terms of doing stuff with adb and terminal and all that so please be simplistic with the answers. Thanks in advance,.
http://forum.xda-developers.com/showthread.php?t=2513701
[TUTORIAL] How to flash a factory image | Return to stock | Unroot/SAVE your Nexus 5
Sent from my Nexus 5
CRIME INC. said:
http://forum.xda-developers.com/showthread.php?t=2513701
[TUTORIAL] How to flash a factory image | Return to stock | Unroot/SAVE your Nexus 5
Sent from my Nexus 5
Click to expand...
Click to collapse
So i did this and it failes when at the bootloader and alos at the end it says failure. What to do now?
Irfdiddy said:
So i did this and it failes when at the bootloader and alos at the end it says failure. What to do now?
Click to expand...
Click to collapse
Go to twrp and factory reset it and see if it works..
Write failure means that the eMMC might have died which can only be solved by replacing the mobo.
- Sent from an IceCold Hammerhead!
Irfdiddy said:
So i did this and it failes when at the bootloader and alos at the end it says failure. What to do now?
Click to expand...
Click to collapse
You're being too vague for us to help you. What commands did you enter at the terminal? Word for word what was the error message(s) you received? Did you try flashing the factory image using both the primary and backup bootloader?
BirchBarlow said:
You're being too vague for us to help you. What commands did you enter at the terminal? Word for word what was the error message(s) you received? Did you try flashing the factory image using both the primary and backup bootloader?
Click to expand...
Click to collapse
So i followed the guide in the link posted above. This:
fastboot flash bootloader C:/image-hammerhead-krt16m/bootloader.img
fastboot reboot-bootloader
fastboot flash radio C:/image-hammerhead-krt16m/radio.img
fastboot reboot-bootloader
fastboot flash system C:/image-hammerhead-krt16m/system.img
fastboot flash userdata C:/image-hammerhead-krt16m/userdata.img
(Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked.)
fastboot flash boot C:/image-hammerhead-krt16m/boot.img
fastboot flash recovery C:/image-hammerhead-krt16m/recovery.img
fastboot erase cache
Now, i can flash the boot.img, the system.img, the radio, but it hangs up on some of the other ones and it says "erasing..." than i have to stop it casue it doesnt work. Also, when i go into recovery it shows a spinning android logo.
Edit: Ive gotten all the way to "fastboot flash system system.img", but it gets stuck on my phone and says "erasing..."
Irfdiddy said:
So i followed the guide in the link posted above. This:
fastboot flash bootloader C:/image-hammerhead-krt16m/bootloader.img
fastboot reboot-bootloader
fastboot flash radio C:/image-hammerhead-krt16m/radio.img
fastboot reboot-bootloader
fastboot flash system C:/image-hammerhead-krt16m/system.img
fastboot flash userdata C:/image-hammerhead-krt16m/userdata.img
(Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked.)
fastboot flash boot C:/image-hammerhead-krt16m/boot.img
fastboot flash recovery C:/image-hammerhead-krt16m/recovery.img
fastboot erase cache
Now, i can flash the boot.img, the system.img, the radio, but it hangs up on some of the other ones and it says "erasing..." than i have to stop it casue it doesnt work. Also, when i go into recovery it shows a spinning android logo.
Edit: Ive gotten all the way to "fastboot flash system system.img", but it gets stuck on my phone and says "erasing..."
Click to expand...
Click to collapse
It will take some minutes to cOmplete the process computer will also hang type of feeling or stop responding for couple of minutes let the program finish its task,...
Irfdiddy said:
So i followed the guide in the link posted above. This:
fastboot flash bootloader C:/image-hammerhead-krt16m/bootloader.img
fastboot reboot-bootloader
fastboot flash radio C:/image-hammerhead-krt16m/radio.img
fastboot reboot-bootloader
fastboot flash system C:/image-hammerhead-krt16m/system.img
fastboot flash userdata C:/image-hammerhead-krt16m/userdata.img
(Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked.)
fastboot flash boot C:/image-hammerhead-krt16m/boot.img
fastboot flash recovery C:/image-hammerhead-krt16m/recovery.img
fastboot erase cache
Now, i can flash the boot.img, the system.img, the radio, but it hangs up on some of the other ones and it says "erasing..." than i have to stop it casue it doesnt work. Also, when i go into recovery it shows a spinning android logo.
Edit: Ive gotten all the way to "fastboot flash system system.img", but it gets stuck on my phone and says "erasing..."
Click to expand...
Click to collapse
You're not letting it finish. That's why you're having problems. It can take a long time. It also wouldn't hurt to use the flash-all.bat script instead of flashing each individually.
will it work?
fastboot:
fastboot oem unlock
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase radio
fastboot erase userdata
fastboot flash bootloader bootloader-hammerhead-hhz11k.img
fastboot reboot-bootloader
fastboot flash radio radio-hammerhead-m8974a-2.0.50.1.16.img
fastboot reboot-bootloader
fastboot flash recovery recovery-clockwork-6.0.4.5-hammerhead.img
device:
go to recovery
recovery:
install zip from sideload
adb:
adb sideload cm-11-20141008-SNAPSHOT-M11-hammerhead.zip
adb sideload pa_gapps-stock-4.4.4-20141011-signed.zip
adb sideload ElementalX-N5-1.10-cm.zip
recovery:
install zip from sd card
install cm-11-20141008-SNAPSHOT-M11-hammerhead.zip
install pa_gapps-stock-4.4.4-20141011-signed.zip
install ElementalX-N5-1.10-cm.zip
clear cache
clear dalvik
reboot system now
profit?
Thanks in advance.
Don't erase all the partitions. Its worthless in this case
Sent from my Nexus 5 using Tapatalk
Besides the fruitless erasing, why do you want to sideload everything and then again do it in recovery??
- Sent from an IceCold Hammerhead!
vin4yak said:
Besides the fruitless erasing, why do you want to sideload everything and then again do it in recovery??
- Sent from an IceCold Hammerhead!
Click to expand...
Click to collapse
Because he didn't read the sticky threads
Sent from my Nexus 5 using Tapatalk
Apart from the erase and sideload then recovery flash stuff, I don't understand this part:
<flash recovery>
device:
go to recovery
Shouldn't he just do a fastboot reboot-recovery and flash the stuff there? Or its better for some reason to boot into it from the device? I mean I remember when 4.4. went out some people said you just couldn't flash all the stuff without booting at least once because there was some script that the stock recovery had to execute first.. this got fixed already?
RusherDude said:
Apart from the erase and sideload then recovery flash stuff, I don't understand this part:
device:
go to recovery
Shouldn't he just do a fastboot reboot-recovery and flash the stuff there? Or its better for some reason to boot into it from the device? I mean I remember when 4.4. went out some people said you just couldn't flash all the stuff without booting at least once because there was some script that the stock recovery had to execute first.. this got fixed already?
Click to expand...
Click to collapse
Never heard about this before. I've seen many guys over here who have directly flashed as soon as they got their hands on this device.
- Sent from an IceCold Hammerhead!
I remember Artem from AndroidPolice had such problem. Ill try to find the post.
There is sometimes a /system/etc/install-recovery.sh
This is sometimes used in rooted stock ROMs to provide root too.
When you unlock the bootloader, you should reboot bootloader before flashing anything.
Sent from my Nexus 5 using Tapatalk
moralex said:
profit?
Click to expand...
Click to collapse
With that many steps, I think you'll be operating at a loss.
Although my Nexus 5 is rooted with the toolkit I haven't done anything to it in months (no custom roms or anything)
My phone was working last night but when I woke up and it was in a bootloop.
so i tried fixing the problem myself, here are the things I tried:
- Hitting it (in case the buttons were sticky)
- Flash stock + unroot on the n5 toolkit
- Bootloader>Recovery>Wipe Data/Factory Reset
After that, the boot loop stopped and whenever I try turning it on it goes straight to the bootloader.
So I tried going into the wugfresh advanced utilities and i tried:
- Fastboot Erase*
- Fastboot format*
*flash stock + unroot after both
I have a little bit of hope because I can access the bootloader but I have no idea what else I can try.
Any suggestions?
thank you in advance
Does the bootloader remain unlocked?
Try manually flashing the latest marshmallow. After flashing, boot back into fastboot and run these commands:
fastboot erase userdata
fastboot flash userdata userdata.img (the userdata.img file can be extracted from the stock ROM for flashing in fastboot)
After running the 2 commands, boot back into recovery and perform a full wipe of data and cache, then reboot.
audit13 said:
Does the bootloader remain unlocked?
Try manually flashing the latest marshmallow. After flashing, boot back into fastboot and run these commands:
fastboot erase userdata
fastboot flash userdata userdata.img (the userdata.img file can be extracted from the stock ROM for flashing in fastboot)
After running the 2 commands, boot back into recovery and perform a full wipe of data and cache, then reboot.
Click to expand...
Click to collapse
How do i run the 2 command "fastboot erase userdata" and "fastboot flash userdata userdata.img"
Fastboot on Windows
shbm111 said:
How do i run the 2 command "fastboot erase userdata" and "fastboot flash userdata userdata.img"
Click to expand...
Click to collapse
Hopefully you are running windows
dottech.org/21534/how-to-install-adb-and-fastboot-on-your-windows-computer-for-use-with-your-android-phone
spacecaptain said:
Hopefully you are running windows
dottech.org/21534/how-to-install-adb-and-fastboot-on-your-windows-computer-for-use-with-your-android-phone
Click to expand...
Click to collapse
Yup, I'm running windows.
anyways I don't think the nexus toolkit works on any other platform.
spacecaptain said:
Hopefully you are running windows
dottech.org/21534/how-to-install-adb-and-fastboot-on-your-windows-computer-for-use-with-your-android-phone
Click to expand...
Click to collapse
So, I went through the method one adb setup and I still have no idea how to do the fastboot erase userdata
nvm got it.
Were you able to boot the phone?
I'm in the same situation and need help
hi
i was trying to flash twrp .. i flashed but it stucked at twrp so i tried again .. while doing i flashed vbmeta file then twrp file .. now i cant boot my phone to rom as well as twrp
pl help
pankaj_123 said:
hi
i was trying to flash twrp .. i flashed but it stucked at twrp so i tried again .. while doing i flashed vbmeta file then twrp file .. now i cant boot my phone to rom as well as twrp
pl help
Click to expand...
Click to collapse
Which twrp u r flashing? Ptwrp or offical one? Try to flash orangefox from adb it is best over all the other ones.
Sent from my Redmi Note 7 Pro using XDA Labs
Recovery twrp 3.1.1b. Something
pankaj_123 said:
hi
i was trying to flash twrp .. i flashed but it stucked at twrp so i tried again .. while doing i flashed vbmeta file then twrp file .. now i cant boot my phone to rom as well as twrp
pl help
Click to expand...
Click to collapse
After flashing twrp
Use fastboot erase userdata command via adb
Then reboot to twrp
aarush.chaurasiya said:
After flashing twrp
Use fastboot erase userdata command via adb
Then reboot to twrp
Click to expand...
Click to collapse
fastboot erase userdata
This command works!! This was amazing man , I was searching for this for the last 3 days , my phone used to get stuck at teamwin splash logo!
Thanks man! I owe you big time.
aarush.chaurasiya said:
After flashing twrp
Use fastboot erase userdata command via adb
Then reboot to twrp
Click to expand...
Click to collapse
You saved my ass (K30 5G). Thanks m8.
Thank you guys for answers. I have mi 8 lite and I've been trying to fix splash logo bug for almost 3 days. Here's what worked for me:
1. enter fastboot and enter these commands
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot erase userdata
fastboot erase cache
2. Boot into recovery using volume buttons, not fastboot.
floor_official said:
Thank you guys for answers. I have mi 8 lite and I've been trying to fix splash logo bug for almost 3 days. Here's what worked for me:
1. enter fastboot and enter these commands
fastboot erase recovery
fastboot flash recovery recovery.img
fastboot erase userdata
fastboot erase cache
2. Boot into recovery using volume buttons, not fastboot.
Click to expand...
Click to collapse
This has worked for me perfectly! Thanks!
I get this problem on my Mi 8 SPECIFICALLY after installing Pixel Experience. With other ROMs I don't have this issue.
Hi,
Question about the 'fastboot erase userdata' command : does it format the phone ? I mean, I have my phone running, Pixel Experience 12 on Oneplus 5T, and I would like to apply an update, and no way to enter in TWRP...
I wouldn't have to reinstall everything after that.
Thanks in advance
Hello Friends in dipper & PE I got this message at each time when trying to update :
adb sideload PixelExperience_dipper-12.1-20220521.zip
loading: 'PixelExperience_dipper-12.1-20220521.zip'
* cannot read 'PixelExperience_dipper-12.1-20220521.zip' *
& I don't know what to do; other recoveries get stuck on logo (TWRP, Orange fox)
I just succeed to root with magisk (by sideloading).
Is the ROM OK? I Ihoped with factory reset and changing recovery, not better...
Thanks for your help