Accidentally deleted internal storage. Pls help! - Nexus 4 Q&A, Help & Troubleshooting

I have TWRP recovery and before installing new ROM I accidentally deleted my internal storage. I can go into recovery but have nothing in storage to reboot to. Can someone help me as to how I can load a new ROM into phone to flash and reboot my phone. Thanks.

Use the return to stock thread stickied in general. You can use fastboot to flash back to stock.
I did this a few weeks ago. Good learning experience! :thumbup:

adb push nameofrom.zip /sdcard/
Sent from my Nexus 7 using xda premium

El Daddy said:
adb push nameofrom.zip /sdcard/
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
That's too easy!

estallings15 said:
That's too easy!
Click to expand...
Click to collapse
Yes it is.
Sent from my Nexus 7 using xda premium

El Daddy said:
Yes it is.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Thanks to all of you but I have not made any progress. The sticky thread on loading stock rom, I am sure, is very basic level but not for me unfortunately. How do I make my macbook terminal recognize the phone to follow the commands in the sticky thread.
EDIT: found the fastboot in google search.

joomlafreak said:
Thanks to all of you but I have not made any progress. The sticky thread on loading stock rom, I am sure, is very basic level but not for me unfortunately. How do I make my macbook terminal recognize the phone to follow the commands in the sticky thread.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=9842005
Start there.
Of course this would all be worlds easier if you were running Windows. Then you could just download the Nexus 4 Toolbox and be done with it.

Simpleast. In twrp there is sideload under advanced settings to load a file. I loaded rom zip and flashed it. Done. THANKS TO YOU ALL GOOD PEOPLE.

i have the same problem, and when i type fastboot devices in cmd, it says that its not recognized

spookykidmt said:
i have the same problem, and when i type fastboot devices in cmd, it says that its not recognized
Click to expand...
Click to collapse
Use adb. Not fastboot.
Sent from my Nexus 4 using xda premium

My android's internal storage is gone
It removed it and only left the ext sd card.... The internal storage was 16GB how do i fix this?
When i check how much space left it says -14.85gb...... with the "-"

Related

Strange Root Issue

When I saw the port for ICS come out I got really excited and flashed it right away. Then I realized for whatever reason I didnt have SU permissions so I couldn't tether to my computer. I was disappointed but I thought, "no biggie, I'll just restore from my back up." When I flashed my back up the SU app was in my app drawer but I still couldn't tether. As a matter of fact I can't do anything that requires SU but the bootloader still reads unlocked. WTF?
I can't flash a new recovery either. I tried installing from ROM manager, I tried pushing it from my computer but I can't get to the recovery any more. ROM manager says that I have CWM 5.0.2.0 currently installed but I can't get to it at all. Again, WTF?
Sent from my Nexus S 4G using XDA App
^clearly the phone is working perfectly fine with the stock ROM from the back up but obviously I want my SU back.
Root your phone and read the development thread versus making blog posts.
Sent from my Nexus S 4G using xda premium
Flash this http://www.tylerwatt12.com/XDA/ics/root_and_theme.zip and please post in right section
Sent from my Nexus S 4G using xda premium
Thanks for not answering my questions. The bootloader is unlocked but I don't have root and I don't have access to recovery mode even tho ROM Manager says I have Clockwork Mod 5.0.2.0 currently installed. I cannot access the recovery mode AT ALL. I cannot flash or push a new recovery but it fully boots into Gingerbread w/o any issues. What is wrong with my phone and how do I fix it.
Sent from my Nexus S 4G using XDA App
Try from rom manager to reinstall a previous recovery version.
Sent from my LG-P920 using XDA App
That doesn't work either. It goes through the prompts but it doesn't actually reboot do the installation.
I just tried unrooting and then re - rooting but that didn't work and I think that actually wiped my phone completely. I don't even know where an SD card would get into this thing.
Sent from my Nexus S 4G using XDA App
Use adb on your computer and push a clockworkmod recovery.img. And we are trying to help u no need for the sarcasm
Sent from my Xoom using xda premium
I'm sorry but I'm just really frustrated right now. Nothing I have tried has worked. Maybe its my commands? To push that recovery image what would I type?
Sent from my Nexus S 4G using XDA App
I also I can't download that zip you linked to. Every time I try it just says failed.
Sent from my Nexus S 4G using XDA App
obsydian2k7 said:
I'm sorry but I'm just really frustrated right now. Nothing I have tried has worked. Maybe its my commands? To push that recovery image what would I type?
Sent from my Nexus S 4G using XDA App
Click to expand...
Click to collapse
I get it
Fastboot flash recovery recovery-xxxxxxxxx.img and hit enter
Sent from my Xoom using xda premium
Esteway.619 said:
I get it
Fastboot flash recovery recovery-xxxxxxxxx.img and hit enter
Sent from my Xoom using xda premium
Click to expand...
Click to collapse
Get cwm image from here CWM Recovery
Sent from my Xoom using xda premium
relock the phone then unlock it again i had the same problem
I tried relocking and unlocking again then pushed the recovery I just (finally) downloaded but it didn't work. Terminal says error cannot load 'recovery-clockwork-5.0.2.0-crespo4g.img'
Sent from my Nexus S 4G using XDA App
obsydian2k7 said:
I tried relocking and unlocking again then pushed the recovery I just (finally) downloaded but it didn't work. Terminal says error cannot load 'recovery-clockwork-5.0.2.0-crespo4g.img'
Sent from my Nexus S 4G using XDA App
Click to expand...
Click to collapse
Is that the right name of the recovery img? Try renaming it to just recovery and see if that works.
Edit: make sure your phone is in debugging mode. And uninstall then reinstall the drivers on your computer
Sent from my Nexus S 4G using xda premium
Esteway.619 said:
Is that the right name of the recovery img? Try renaming it to just recovery and see if that works.
Edit: make sure your phone is in debugging mode. And uninstall then reinstall the drivers on your computer
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
manually go into recovery with volume down and power flash the su.zip and u should be good to go that wat I did
Sent from my Nexus S 4G using xda premium
No suggestions have worked so far. It does not matter what the recovery image name is, whenever I try the flash it Terminal says that it cannot load "***.img" or if I try an install command it says that it cannot find "***.zip" I'm on a snow leopard iMac so I don't need drivers n such.
Let me pose the question like this, what would I do to completely restore the phone to factory condition and try to root it again? Like I said before, the bootloader says that it is unlocked but I do not have any root privileges, could not access the recovery I had before nor install a new recovery after having locked the unlocked the phone's bootloader again.
Sent from my Nexus S 4G using XDA App
http://forum.xda-developers.com/showpost.php?p=13773677&postcount=1
go to the link above and follow the directions for returning to stock.
find yourself a one-click root method on XDA that includes superuser, busybox, and CWM.
EDIT: Also, double check the md5 sum for the CWM .zip. use
Code:
md5 recovery-aaaaaa.img
in the terminal and make sure the output matches whatever is given on the CWM site. if they dont have one up, ask for it
NS4g one-click root app:
http://www.mediafire.com/?2jx8xtx2602hi23
this will:
unlock the bootloader
install cwm 5.0.2.0
root
No commands, no messing with pushing files manually, etc. This thing has already saved me from major headaches while restoring my phone once and I've only had it for 3 weeks lol
hp420 said:
NS4g one-click root app:
http://www.mediafire.com/?2jx8xtx2602hi23
this will:
unlock the bootloader
install cwm 5.0.2.0
root
No commands, no messing with pushing files manually, etc. This thing has already saved me from major headaches while restoring my phone once and I've only had it for 3 weeks lol
Click to expand...
Click to collapse
im assuming this is for windows. he said he has a mac so that wouldnt work for him. here this is for mac http://forum.xda-developers.com/showthread.php?t=1129759 just copy and past everything thats there in terminal
Esteway.619 said:
im assuming this is for windows. he said he has a mac so that wouldnt work for him. here this is for mac http://forum.xda-developers.com/showthread.php?t=1129759 just copy and past everything thats there in terminal
Click to expand...
Click to collapse
I missed that...my mistake

Sdcard troubles

I've searched a little and I didn't find what I wanted.
Here's my problem- flashed back to stock via Google developer site and fast boot (I use only Linux).
Installed touch cwm 6
installed cm10 + gapps
I have a 16gb nexus....but now I only have 5+GB of free space. Anyone help? Please and thank you!
Sent from my Nexus 7 using xda premium
what I did was,
extract the stock image and pull recovery, userdata, boot, system
fastboot flash each of them
boot into stock recovery and u will get stuck at the laying android
push volume up + power til it enters stock recovery
do factory reset and u should be good to go.
reflash custom recovery, and reflash custom rom.
Sent from my Nexus 7 using xda premium
Yea you flashed a rom specifically setup as a 8gb. I've seen this before. No worries. You just have to flash all the above like the poster above said.
Sent from my Nexus 7 using XDA Premium HD app
player911 said:
Yea you flashed a rom specifically setup as a 8gb. I've seen this before. No worries. You just have to flash all the above like the poster above said.
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
the rom is universal. I think the issue is the sdcard not being wiped first. maybe even a fastboot erase userdata will do it bit I haven't tried.
Sent from my Nexus 7 using xda premium
smirkis said:
what I did was,
extract the stock image and pull recovery, userdata, boot, system
fastboot flash each of them
boot into stock recovery and u will get stuck at the laying android
push volume up + power til it enters stock recovery
do factory reset and u should be good to go.
reflash custom recovery, and reflash custom rom.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Love you. Lol
Sent from my Galaxy Nexus using xda premium
andrewp3481 said:
Love you. Lol
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Had the same problem few weeks back, running the flash-all.sh will do.
Will the next nexus have a longer screen?
Anyone think this will help with my apps not being able to access internal memory? ie dropbox pictures won't load, can't save a picture from camera, amazon books won't download.
Mach3.2 said:
Had the same problem few weeks back, running the flash-all.sh will do.
Will the next nexus have a longer screen?
Click to expand...
Click to collapse
i haven't figured out how to use the flash-all.sh lol. care to explain that a bit more? plus im more of a do it manually kind of guy.
and, will the next nexus have a longer screen? who knows lol
it's pretty simple just run sudo bash flash-all.sh from the console, that's all there is to it
brando56894 said:
it's pretty simple just run sudo bash flash-all.sh from the console, that's all there is to it
Click to expand...
Click to collapse
hmm, so for us windows users, do we just extract the zip, open a command prompt in that unzipped fold and do bash flash-all.sh?
smirkis said:
hmm, so for us windows users, do we just extract the zip, open a command prompt in that unzipped fold and do bash flash-all.sh?
Click to expand...
Click to collapse
No, the 'sh' files are for Linux operating systems only.
On Windows, just extract the ZIP, make sure platform-tools is in %path%, then open flash-all.bat
If you're on Windows, you don't need a command prompt. You can just open the bat file, because Windows already has bat files registered under the defaults program thingy.

N7 has no OS, help!!!!

I was trying to flash a rom and I guess I accidentally wiped EVERYTHING and now when I try to boot it says no OS is installed ): any helpp will be appreciated. I still have access to fastboot and recovery, adb also recognises it when connected
Use the toolkit http://forum.xda-developers.com/showthread.php?t=1809195 and flash a factory image. :good:
eljefe1018 said:
I was trying to flash a rom and I guess I accidentally wiped EVERYTHING and now when I try to boot it says no OS is installed ): any helpp will be appreciated. I still have access to fastboot and recovery, adb also recognises it when connected
Click to expand...
Click to collapse
Is this the stock recovery?
If you have access to fastboot, then flash a factory os. That simple.
Sent from my Nexus 7 using xda premium
rebel1699 said:
If you have access to fastboot, then flash a factory os. That simple.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Yeah. This.
What's so hard about doing this?
rebel1699 said:
If you have access to fastboot, then flash a factory os. That simple.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
I've tried to using two different toolkits and niether will accomplish the task. Is there an alternative way? i.e manually doing it using ADB?
And thanks for helping
eljefe1018 said:
I've tried to using two different toolkits and niether will accomplish the task. Is there an alternative way? i.e manually doing it using ADB?
And thanks for helping
Click to expand...
Click to collapse
As I said, use fastboot. Google "restore Nexus 7 with fastboot"
Sent from my Nexus 7 using xda premium
rebel1699 said:
As I said, use fastboot. Google "restore Nexus 7 with fastboot"
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
I decided to make another attempt with the toolkit, as I was reading the command line I saw that the Factory Image wasn't properly donwloading so I downloaded it manually and put it in the necessary folder and my baby just robooted back thanks for everything
eljefe1018 said:
I decided to make another attempt with the toolkit, as I was reading the command line I saw that the Factory Image wasn't properly donwloading so I downloaded it manually and put it in the necessary folder and my baby just robooted back thanks for everything
Click to expand...
Click to collapse
Glad you are back up and going!
Sent from my Nexus 7 using xda premium

Superwipe script wiped everything. HELP

Ok. I used a super wipe script. Now my device has nothing but the boot loader and twrp is still installed. I was on the new ota 4.2.2. I also have 4.18 boot loader. I have no os and all of my backups are gone so I can't restore anything. How can I install this from a computer and push it to my device? I really need help. I'm not brand new. But I've never been in this situation. Thanks to anyone who can help make my device operable again.
Sent from my EVO using xda app-developers app
If TWRP is installed and you can boot in TWRP, try to mount the usb and copy the backup to the device. I'm not sure, but you could use adb push in the recovery, too
Otherwise just boot into bootloader, flash the stock rom, boot, root, copy the backup on the sdcard, flash TWRP, restore it
Sent from my SK17i running Android 4.1.2
mihahn said:
If TWRP is installed and you can boot in TWRP, try to mount the usb and copy the backup to the device. I'm not sure, but you could use adb push in the recovery, too
Otherwise just boot into bootloader, flash the stock rom, boot, root, copy the backup on the sdcard, flash TWRP, restore it
Sent from my SK17i running Android 4.1.2
Click to expand...
Click to collapse
The problem is I don't have the backup saved to a computer. It was only on the device. Now it's gone. And I don't understand what you mean by booting into bootloader and flashing the stock Rom. I'm so lost. Please continue to try to help me through this. Thank you
Sent from my EVO using xda app-developers app
Follow this guide. It will get you back to stock.
treIII said:
The problem is I don't have the backup saved to a computer. It was only on the device. Now it's gone. And I don't understand what you mean by booting into bootloader and flashing the stock Rom. I'm so lost. Please continue to try to help me through this. Thank you
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
I thought you had a backup on your PC, if not you will loose all your data
Do it like the guy above said, or just download the stock image (for your device) from here, extract everything and just run the flash-all.bat (if you are on windows). This will flash the stock rom so you should be able to boot your device again
mihahn said:
I thought you had a backup on your PC, if not you will loose all your data
Do it like the guy above said, or just download the stock image (for your device) from here, extract everything and just run the flash-all.bat (if you are on windows). This will flash the stock rom so you should be able to boot your device again
Click to expand...
Click to collapse
It seems like for me downloading the stock image and running the flash all bat would be the best solution for my level of experience. I just don't know what you mean by running the flash all bat. Do I need sdk or something to do that? I need the most simple solution possible with my level of experience. But thanks a million.
Sent from my EVO using xda app-developers app
treIII said:
It seems like for me downloading the stock image and running the flash all bat would be the best solution for my level of experience. I just don't know what you mean by running the flash all bat. Do I need sdk or something to do that? I need the most simple solution possible with my level of experience. But thanks a million.
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
No need to install anything! Just download the package for your device and extract it. Now open the archive and there is a file called flash-all.bat.
Now you hold power and volume down on your nexus 7 to get into fasboot mode (the bootloader). If you are there, plug the nexus via usb in your pc.
Now just double click the flash-all.bat and it will flash the stock rom
If this won't work, because windows can't detect the device, download the Nexus 7 Toolkit, install it and open it. There's an option to install the drivers
Sent from my Nexus 7 running Android 4.2.2
mihahn said:
No need to install anything! Just download the package for your device and extract it. Now open the archive and there is a file called flash-all.bat.
Now you hold power and volume down on your nexus 7 to get into fasboot mode (the bootloader). If you are there, plug the nexus via usb in your pc.
Now just double click the flash-all.bat and it will flash the stock rom
If this won't work, because windows can't detect the device, download the Nexus 7 Toolkit, install it and open it. There's an option to install the drivers
Sent from my Nexus 7 running Android 4.2.2
Click to expand...
Click to collapse
Thanks. I'll be doing this later. I'll let you know what happens. Will it put more on the 4.2.1 or 4.2.2? I really screwed up and didn't understand the op.
Sent from my EVO using xda app-developers app
mihahn said:
No need to install anything! Just download the package for your device and extract it. Now open the archive and there is a file called flash-all.bat.
Now you hold power and volume down on your nexus 7 to get into fasboot mode (the bootloader). If you are there, plug the nexus via usb in your pc.
Now just double click the flash-all.bat and it will flash the stock rom
If this won't work, because windows can't detect the device, download the Nexus 7 Toolkit, install it and open it. There's an option to install the drivers
Sent from my Nexus 7 running Android 4.2.2
Click to expand...
Click to collapse
Ok. Can you post a link for the package for my device? Its a WiFi nexus 7. I can't find the toolkit. I'm so lost. I'm laughing at myself. You have to admit. It's funny when someone does something this stupid.
Sent from my EVO using xda app-developers app
treIII said:
Ok. Can you post a link for the package for my device? Its a WiFi nexus 7. I can't find the toolkit. I'm so lost. I'm laughing at myself. You have to admit. It's funny when someone does something this stupid.
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
See the link I posted earlier, there you can find the 4.2.2 image for the nexus 7 wifi only (grouper/nakasi)
I'm on phone right now so I can't post the link, just search for nexus 7 toolkit on Google, or see the general/development section. It should be pinned there
Sent from my SK17i running Android 4.1.2
mihahn said:
No need to install anything! Just download the package for your device and extract it. Now open the archive and there is a file called flash-all.bat.
Now you hold power and volume down on your nexus 7 to get into fasboot mode (the bootloader). If you are there, plug the nexus via usb in your pc.
Now just double click the flash-all.bat and it will flash the stock rom
If this won't work, because windows can't detect the device, download the Nexus 7 Toolkit, install it and open it. There's an option to install the drivers
Sent from my Nexus 7 running Android 4.2.2
Click to expand...
Click to collapse
Where should I put this package? And will flash all.bat do everything for me?
Leonhan said:
Where should I put this package? And will flash all.bat do everything for me?
Click to expand...
Click to collapse
Just download it and extract it. Then you go in the extracted folder and you can see some files and the flash-all.bat. This will do everything for you. No need to place the package anywhere, just do it like I said and it should work. Try it
Sent from my SK17i running Android 4.1.2
I'd like to say thank you for everyone he contributed for helping me do this. I followed the directions using the Nexus 7 toolkit and everything went well. I installed jelly bean 4.2 .1 and now I will use voodoo OT a route keeper in order to accept the update to 4.2 .2
Sent from my EVO using xda app-developers app
treIII said:
I'd like to say thank you for everyone he contributed for helping me do this. I followed the directions using the Nexus 7 toolkit and everything went well. I installed jelly bean 4.2 .1 and now I will use voodoo OT a route keeper in order to accept the update to 4.2 .2
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
Great to hear it works again. Btw there's a button for that
Sent from my SK17i running Android 4.1.2
mihahn said:
Great to hear it works again. Btw there's a button for that
Sent from my SK17i running Android 4.1.2
Click to expand...
Click to collapse
I'm aware.
Sent from my EVO using xda app-developers app

Bricked nexus 10? Help mee

Okay So I unlocked bootloader via NRT..
So after unlocking I got into recovery and earsed the data(as mentioned in the instructions)..
Now basically the tablet doesn't boot up to home.
First. Dont use toolkits. No disrespect to the dev but it is way better to do it manually.
Second which recovery did you use?
Third what exactly did you wipe?
Sent from my Galaxy Nexus using XDA Premium HD app
mrgnex said:
First. Dont use toolkits. No disrespect to the dev but it is way better to do it manually.
Second which recovery did you use?
Third what exactly did you wipe?
Sent from my Galaxy Nexus using XDA Premium HD app
Click to expand...
Click to collapse
I wiped everything..
There is no OS in my tablet now.. :/
theserpent said:
Okay So I unlocked bootloader via NRT..
So after unlocking I got into recovery and earsed the data(as mentioned in the instructions)..
Now basically the tablet doesn't boot up to home.
Click to expand...
Click to collapse
You can re install the rom by going to https://developers.google.com/android/nexus/images#mantaraykot49h and picking the image you need.
Just hold the power button and the both volume buttons down at the same time to get into the fastboot mode before you run the image restore
program. I hope this helps. Good Luck
Make sure you go down to the Factory Images "mantaray" for Nexus 10.
braider said:
You can re install the rom by going to https://developers.google.com/android/nexus/images#mantaraykot49h and picking the image you need.
Just hold the power button and the both volume buttons down at the same time to get into the fastboot mode before you run the image restore
program. I hope this helps. Good Luck
Make sure you go down to the Factory Images "mantaray" for Nexus 10.
Click to expand...
Click to collapse
I'm sorry im a complete noob in all this..
Sorry to trouble you,but how do I
run the image restore
program
Click to expand...
Click to collapse
You download the file from Google and unzip the *.tgz into a folder on the computer, then you run the flash-all.bat from the folder you unzipped the file in.
Sent from my Nexus 10 using xda app-developers app
Good advice but for a noob needs a bit more about being in command line with the adb and fastboot commands in path. I use Linux desktop. I bricked a n7 last week due to a dodgy connector socket/cable during a flash and had to type the flash-all script commands myself a few times til it worked.
Sent from my Nexus 4 using Tapatalk
braider said:
You download the file from Google and unzip the *.tgz into a folder on the computer, then you run the flash-all.bat from the folder you unzipped the file in.
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
Okay,Did that But sending system is not completing at all,I waited for like 2-3 hours No USE :/
theserpent said:
Okay,Did that But sending system is not completing at all,I waited for like 2-3 hours No USE :/
Click to expand...
Click to collapse
On my bricked N7 I pulled cable reinserted and retried. Keep retrying each command in the script. Worked eventually for me.
nigelhealy said:
On my bricked N7 I pulled cable reinserted and retried. Keep retrying each command in the script. Worked eventually for me.
Click to expand...
Click to collapse
Will give it a few last trys.
Last option,I'll send my nexus 10 with my uncle back to USA.
Will they charge to fix it?
Hi,
You may want to seek for the guide in the Nexus 10 Q&A regarding flashing stock again.
Can you please go a little further in details about how "bricked" it actually is? What exactly happened? There seem to be missing some important info regarding your issue.
Please be a little more descriptive and maybe I can help you .
~Lord
"All I Ever Needed Was A Little Piece of Hope" - World of Fantasy (Helloween)
Sent from my monstrous Xperia Z1
Thanks for all the help guys,The tablet booted
i'm ok
the same problem, but perfect, i see the reply, and my device is ok new!:good::good:

Categories

Resources