HI Guys,
Just wiped my internal storage while flashing...
Right now nothing is in my phone
all the partition are gone..
Any way to recover internal storage???
FASTBOOT
innocentwoolf said:
HI Guys,
Just wiped my internal storage while flashing...
Right now nothing is in my phone
all the partition are gone..
Any way to recover internal storage???
Click to expand...
Click to collapse
Yeah dere is a way. I also wiped my internal storage during flashing.
Only way to recover your internal storage is via fastboot mode.
Steps
Enter your phone into fastboot mode.
Then type ~w
This command will restore your internal storage then you can flash your Rom through sideload.
Hope it helps.
Vaibhunk786 said:
Yeah dere is a way. I also wiped my internal storage during flashing.
Only way to recover your internal storage is via fastboot mode.
Steps
Enter your phone into fastboot mode.
Then type ~w
This command will restore your internal storage then you can flash your Rom through sideload.
Hope it helps.
Click to expand...
Click to collapse
thanks bro appreciated!!!
Vaibhunk786 said:
Yeah dere is a way. I also wiped my internal storage during flashing.
Only way to recover your internal storage is via fastboot mode.
Steps
Enter your phone into fastboot mode.
Then type ~w
This command will restore your internal storage then you can flash your Rom through sideload.
Hope it helps.
Click to expand...
Click to collapse
Nice advise, did not know this
Vaibhunk786 said:
Yeah dere is a way. I also wiped my internal storage during flashing.
Only way to recover your internal storage is via fastboot mode.
Steps
Enter your phone into fastboot mode.
Then type ~w
This command will restore your internal storage then you can flash your Rom through sideload.
Hope it helps.
Click to expand...
Click to collapse
Where do I have to type ~w ???
Thanks in advance
david.fittizio said:
Where do I have to type ~w ???
Thanks in advance
Click to expand...
Click to collapse
You need to type this command in fastboot mode.
Vaibhunk786 said:
You need to type this command in fastboot mode.
Click to expand...
Click to collapse
Thank you...just to explain to others who, like me, are not so experts: turn the phone on in fastboot mode (power + vol up), connect to the pc, open a command line (Press Shift + Right Click anywhere on the screen and select Open Command Window here) and type "fastboot -w"
david.fittizio said:
Thank you...just to explain to others who, like me, are not so experts: turn the phone on in fastboot mode (power + vol up), connect to the pc, open a command line (Press Shift + Right Click anywhere on the screen and select Open Command Window here) and type "fastboot -w"
Click to expand...
Click to collapse
I am sorry if i was not clear earlier , though i have already written the steps above .
Vaibhunk786 said:
I am sorry if i was not clear earlier , though i have already written the steps above .
Click to expand...
Click to collapse
No problem, it was me...I'm not so expert, so I took some time to realize....
Related
Hi guys, first of thanks for taking the time to consider helping me.
Basically, last night randomly my g1 just switched off. When i try to boot up, goes to g1 screen, then boot image, then blank screen.
Boot into recovery, and it doesnt register i have an sd card in it, i wanted to wipe and reflash cm, or nandroid restore. - but cant do either as it doesnt think i have an sd card inserted.
Any ideas how to fix?
Many thanks
Try mounting it on your computer, copying everything over and formatting. You can either put the card in an external reader or try to mount it via usb in recovery using 'ums_enable' and 'ums_disable'.
AdrianK said:
Try mounting it on your computer, copying everything over and formatting. You can either put the card in an external reader or try to mount it via usb in recovery using 'ums_enable' and 'ums_disable'.
Click to expand...
Click to collapse
thanks Adrian. it wont let me mount it though, because it doesnt recognice that there is an sd card inserted. iv tried 3 different sd card, and it doesnt recognice that any of them have been inserted, so i figure its not my sd. :/
APEX.7 said:
thanks Adrian. it wont let me mount it though, because it doesnt recognice that there is an sd card inserted. iv tried 3 different sd card, and it doesnt recognice that any of them have been inserted, so i figure its not my sd. :/
Click to expand...
Click to collapse
Hmmm... I guess the only thing left to try is formatting it externally and trying again.
AdrianK said:
Hmmm... I guess the only thing left to try is formatting it externally and trying again.
Click to expand...
Click to collapse
righto. urm, noob question, is it possible to apply an update.zip via a different method? since its not recognising sd cards, can i flash a different way? thanks
APEX.7 said:
righto. urm, noob question, is it possible to apply an update.zip via a different method? since its not recognising sd cards, can i flash a different way? thanks
Click to expand...
Click to collapse
i think an sdcard is necessary to apply an update.zip .. however if you have access to a nandroid backup you could fastboot flash the system, data, and boot .img's without an sdcard
xidominicanoix said:
i think an sdcard is necessary to apply an update.zip .. however if you have access to a nandroid backup you could fastboot flash the system, data, and boot .img's without an sdcard
Click to expand...
Click to collapse
thanks, how would i go about doing this?
APEX.7 said:
thanks, how would i go about doing this?
Click to expand...
Click to collapse
Do a search in android development. It should be under Nandroid backup.
Basically you boot into fastboot and do these commands via adb:
fastboot flash system system.img
fastboot flash userdata data.img
fastboot flash boot boot.img
fastboot reboot.
Look for the thread, though. It's been a while since I've used fastboot.
APEX.7 said:
thanks, how would i go about doing this?
Click to expand...
Click to collapse
Using fastboot you can flash each part seperatly via usb, problem is ROMs are never distributed as seperate img's, just one update.zip. Buuuuuuut if your sd card will mount in your computer and you can find your nandroid folder, you will see that they are saved as multiple img's.
Once you have fastboot set up (instructions here) put the boot .img in the same directory as the fastboot executable. Boot the phone in to the SPL (home + camera) and enable fastboot. Then 'cd' to the fastboot directory in the command prompt or terminal (depending on OS) and type:
Code:
fastboot flash system system.img
If you're on a unix based OS, you maybe need to put a './' before that command.
Afterwards reboot your phone using 'fastboot reboot' (again you may need the './').
thanks guys i really apreciate this. il report back after iv had a go.
Almost forgot, make sure you clear the cache and data partitions first:
Code:
fastboot erase cache
fastboot erase userdata
Ok so I booted into Recovery, did Wipe Data/Factory Reset then went into Mounts and Storage and did format /system. I stupidly did all this without copying a custom Rom to my internal SD card first. The phone now doesn't boot, I can't mount USB storage in recovery because there is no option to do so and the RUU isnt available.
Any suggestions would be greatly appreciated. Thanks!
PS. Yes I know I should have done a Nandroid backup first and yes I know I'm an idiot.
dr9722 said:
Ok so I booted into Recovery, did Wipe Data/Factory Reset then went into Mounts and Storage and did format /system. I stupidly did all this without copying a custom Rom to my internal SD card first. The phone now doesn't boot, I can't mount USB storage in recovery because there is no option to do so and the RUU isnt available.
Any suggestions would be greatly appreciated. Thanks!
PS. Yes I know I should have done a Nandroid backup first and yes I know I'm an idiot.
Click to expand...
Click to collapse
can you not push the rom onto the sdcard with fastboot using ADB from your pc?
jcb1985 said:
can you not push the rom onto the sdcard with fastboot using ADB from your pc?
Click to expand...
Click to collapse
Managed to sideload the Rom via ADB. Thanks
I am using clockworkmod recovery but I cannot mount storage. Am I missing something? Drivers in place. Fastboot abd both work. But I cannot mount the storage. I am not new to this just new to the phone.
bongo264 said:
I am using clockworkmod recovery but I cannot mount storage. Am I missing something? Drivers in place. Fastboot abd both work. But I cannot mount the storage. I am not new to this just new to the phone.
Click to expand...
Click to collapse
Is there a way to get a ROM on via fastboot or something?
bongo264 said:
Is there a way to get a ROM on via fastboot or something?
Click to expand...
Click to collapse
When you hit the mount button should the storage show up as a drive? It worked on my old phone with external storage. What am I doing wrong?
bongo264 said:
When you hit the mount button should the storage show up as a drive? It worked on my old phone with external storage. What am I doing wrong?
Click to expand...
Click to collapse
Doesn't work for phones with internal storage from recovery, cannot mount in recovery. Something to do with how internal storage works with the MTP
dgtiii said:
Doesn't work for phones with internal storage from recovery, cannot mount in recovery. Something to do with how internal storage works with the MTP
Click to expand...
Click to collapse
Thank you for the reply. I had a friend bring over his phone that was only booting to bootloader and had no ROM's in storage. I managed to get it back by fastboot flashing a boot.img from the viper ROM that was installed on his phone before. Normally I would have just copied a good ROM to the storage through recovery and flashed it. Afterwords I made a backup and warned him not to delete it.
Thanks again everyone for all the support this site provides!
bongo264 said:
Thank you for the reply. I had a friend bring over his phone that was only booting to bootloader and had no ROM's in storage. I managed to get it back by fastboot flashing a boot.img from the viper ROM that was installed on his phone before. Normally I would have just copied a good ROM to the storage through recovery and flashed it. Afterwords I made a backup and warned him not to delete it.
Thanks again everyone for all the support this site provides!
Click to expand...
Click to collapse
If you need to send a rom or anything to your internal storage from recovery just do : adb push rom.zip /data/media/0/
cuyo11 said:
If you need to send a rom or anything to your internal storage from recovery just do : adb push rom.zip /data/media/0/
Click to expand...
Click to collapse
+1
Easiest way is to get a 4 $ OTG cable from Amazon and a SanDisk 16 GB USB stick. Then choose in recovery 'install zip from external SD card'
I also keep a Nandroid on there. In recovery there is the option 'back up to external SD card'
Really gives a peace of mind!
Sent from my HTC One using xda app-developers app
hi dears,
i lost my sdcard then in twrp i wipe internal storage my sd card (now have 26GBs free) turned back
but after flash any rom , sense UI Stopped , even i cant access to my sdcard via PC
whats wrong ?? help quick if you can plz :|
armindelavari said:
hi dears,
i lost my sdcard then in twrp i wipe internal storage my sd card (now have 26GBs free) turned back
but after flash any rom , sense UI Stopped , even i cant access to my sdcard via PC
whats wrong ?? help quick if you can plz :|
Click to expand...
Click to collapse
Which recovery version? Have you tried "Format Data" reboot recovery. adb push and install rom?
If your with TWRP 2.8.4.0 you can use MTP instead of push
Reply
Danny201281 said:
Which recovery version? Have you tried "Format Data" reboot recovery. adb push and install rom?
If your with TWRP 2.8.4.0 you can use MTP instead of push
Click to expand...
Click to collapse
TWRP 2.6.3.3, yes i try wipe internal storage and no i dont try push rom ? how can i push rom ??
armindelavari said:
TWRP 2.6.3.3, yes i try wipe internal storage and no i dont try push rom ? how can i push rom ??
Click to expand...
Click to collapse
I don't mean wipe internal storage. "Format Data" is not the same as Wiping Internal Storage. Format Data will wipe everything by deleting the System Data and Boot Partition. You must reboot recovery after format to write the new partition structure then push a new Rom to the phone with adb.
In twrp go to "Wipe" then "Format Data" you will be prompted to type yes to confirm.
When it's done go to the reboot menu and reboot recovery. You will get the No OS installed message. Reboot anyway, you will also be prompted to root the device say No.
When your back in recovery connect your usb cable. Put your Rom in your fastboot folder and rename it rom.zip
In the command window type.
Code:
adb push rom.zip /sdcard
The command window will appear unresponsive until the push complete (Several Minutes) When it's done Install the Rom with twrp :good:
@armindelavari Check the adb push command. I noticed I had a space missing. I have edited it so it's correct now :good:
Danny201281 said:
I don't mean wipe internal storage. "Format Data" is not the same as Wiping Internal Storage. Format Data will wipe everything by deleting the System Data and Boot Partition. You must reboot recovery after format to write the new partition structure then push a new Rom to the phone with adb.
In twrp go to "Wipe" then "Format Data" you will be prompted to type yes to confirm.
When it's done go to the reboot menu and reboot recovery. You will get the No OS installed message. Reboot anyway, you will also be prompted to root the device say No.
When your back in recovery connect your usb cable. Put your Rom in your fastboot folder and rename it rom.zip
In the command window type.
Code:
adb push rom.zip/sdcsrd
The command window will appear unresponsive until the push complete (Several Minutes) When it's done Install the Rom with twrp :good:
Click to expand...
Click to collapse
wow , tnx for your complete Reply
ok , i do these step right now
Will I be able to get into fastboot after full wipe (including internal storage) in TWRP? I made a huge mistake and I can't go into /sdcard via PC to push .zip file to flash it. ADB sideload doesn't work, only shows "error: closed".
Hope that friends have OTG to put smth on disk, but I don't have for this right now :crying: Any ideas?
mop3c said:
Will I be able to get into fastboot after full wipe (including internal storage) in TWRP? I made a huge mistake and I can't go into /sdcard via PC to push .zip file to flash it. ADB sideload doesn't work, only shows "error: closed".
Hope that friends have OTG to put smth on disk, but I don't have for this right now :crying: Any ideas?
Click to expand...
Click to collapse
Yes you can.. do you mean you can't connect as mtp to pc while in twrp..?, anyway what twrp version you're using it..?, did you already mount internal before connect it to pc..?
You should be able to flash the MIUI fastboot roms still.
@JJeamy:
Well, I've managed to flash TWRP once again and I had access to everything. Propably full wipe messed priviliges to access Thanks for help ?