Wiped my Internal Storage before install a new rom - Nexus 4 Q&A, Help & Troubleshooting

Guys, i made the bumbest thing on universe, as title says, i wiped my internal storage before install the new rom, so i lost my files, my OS, everything! What do i do? . Im on Recovery Mode now but im stuck!
Help me :crying:

this has been covered many times..... use a nexus 4 toolkit and flash stock image

Mashed_Potatoes said:
this has been covered many times..... use a nexus 4 toolkit and flash stock image
Click to expand...
Click to collapse
I used Wugfresh to root and stuff on my N4, but now i have a different computer, no backups, no drivers, please, please, guide me to solve my problem, i'm completly lost here

dantezinn said:
I used Wugfresh to root and stuff on my N4, but now i have a different computer, no backups, no drivers, please, please, guide me to solve my problem, i'm completly lost here
Click to expand...
Click to collapse
Flash stock images via fastboot

karthi89 said:
Flash stock images via fastboot
Click to expand...
Click to collapse
I tried to follow this tutorial, but i can't install the drivers, since my phone is bricked, any recomendation?
:crying:

dantezinn said:
I tried to follow this tutorial, but i can't install the drivers, since my phone is bricked, any recomendation?
:crying:
Click to expand...
Click to collapse
Install Universal adb driver by koushik dutta.. Also download latest twrp, u can access mtp with the latest version.

1. Plug your device to your pc.
2. Install universal adb driver.
3. Open cmd, type in 'adb devices -l'. Your device should be listed
4. 'adb push filexy.zip/sdcard' to copy any file to your device's sdcard
[emoji106]

Related

[Q] Did I brick my Nexus 4?

Hi,
Last night i was playing with my N4 (with some root applications) and an app asked for a reboot. I just pressed yes so that the phone will reboot (I have done this earlier without any issues). Suddenly the device doesn't boot up. My N4 is stuck at a black screen. While trying to boot up, the Google logo appears and then a black screen. It doesn't advance to the 'X' logo. I'm running on stock, rooted phone (used N4 toolkit by Wugfresh to root).
I'm able to boot into recovery although. I tried all the possible means, wiped cache, dalvik cache, did a factory reset, backed up the system and tried to restore the same. Nothing happened.
Then i tried the "Back to Stock" option in the N4 toolkit and chose the option "Soft-brick/Bootloop" to recover my N4. These are what happened:
Downloaded the 4.2.2 image from Google servers and tried to flash in the device with prior instruction from the toolkit. Everything went fine until the flashing process. In the last step the CMD window opens up saying it is unrooting and flashing stock and immediately it'll bring up a complete message saying the flashing is complete and to wait until the device boots up. But nothing happens again.
I tried the automatic flashing and on the downloading window it saying download failed and hash checks failed meaning its not downloading.
I searched all the possible threads in a day to find a similar problem but in vain. I'm not a noob but i'm too lazy . But i would do anything to bring my N4 back to life. Anyone please show me a direction.
In short:
Status: Soft-Bricked (guess so), black screen after Google logo
Version: Stock 4.2.2 (rooted+busybox+supersu+twrp)
Able to boot to recovering: Yes, bootable to recovery and bootloader.
Tried Nexus toolkit recovery: Yes but in vain.
Gave up: No and never, I'm searching and searching for answers and I'm worried if I'll end up in a hard brick. :crying:
Guys, please help.
Thank You!
Aghil
I'm just taking a wild guess here - I'm not responsible if anything bad happens, and you might want to wait to someone else seconds my suggestion in any case (although I can't imagine things getting worse as long as you flash N4 stuff). But have you tried flashing a new boot.img/reset kernel from recovery or via fastboot/toolkit?
ameinild said:
I'm just taking a wild guess here - I'm not responsible if anything bad happens, and you might want to wait to someone else seconds my suggestion in any case (although I can't imagine things getting worse as long as you flash N4 stuff). But have you tried flashing a new boot.img/reset kernel from recovery or via fastboot/toolkit?
Click to expand...
Click to collapse
Err...nope I haven't tried any and will wait until someone seconds you. Meanwhile I have wiped off the ROM through the option in recovery. Still will I be able to do what you said? Also if could direct me to a "how-to" thread would be great. Just that I don't wanna mess up again.
Also, is there a way to transfer a ROM to N4 through fastboot? So that I can install the ROM through TWRP.
aghilvr said:
Err...nope I haven't tried any and will wait until someone seconds you. Meanwhile I have wiped off the ROM through the option in recovery. Still will I be able to do what you said? Also if could direct me to a "how-to" thread would be great. Just that I don't wanna mess up again.
Click to expand...
Click to collapse
No, my suggestion would require that the ROM is still on the phone, so you should restore your ROM prior to my suggestion. And I'm by no means an expert (therefore the disclaimer), but I *think* that since it's a bootup problem, it could be solved by flashing a new boot.img (which is essentially flashing a new kernel to the system).
But yeah, let's see if others think this might help, haven't researched it, is at work right now. Just throwing in a suggestion, that's all...
Also, is there a way to transfer a ROM to N4 through fastboot? So that I can install the ROM through TWRP.
Click to expand...
Click to collapse
I *think* (again, I'm totally not sure about this, as I haven't tried it) that you can sideload a ROM via zip file from recovery, but since I haven't tried it I'm not sure - can anybody confirm???
EDIT: Chromium's suggestion is better, by pushing the ROM.zip to the device and flashing from recovery (check md5 first, just in case).
aghilvr said:
Also, is there a way to transfer a ROM to N4 through fastboot? So that I can install the ROM through TWRP.
Click to expand...
Click to collapse
Yes there is. Your nexus is not bricked and this is why you shouldnt use toolkits to do things. This is honestly an extremely easy and simple fix. Use adb to push a rom onto the n4.
Code:
adb push \path\to\rom.zip /sdcard
Boot into recovery, do a full wipe, and flash the rom.
You said you downloaded the Google images.
Just boot your phone into the bootloader and run the flashall.bat that is in the Google image folder.
Note this will probably fully wipe you're phone in the process
Sent from my Nexus 4 using xda app-developers app
try this it may help u this toolkit is damn easy to use :
http://forum.xda-developers.com/showthread.php?t=1995688
Okay, thanks guys. I'm on it. Will let you know when I'm done.
That same thing happened to me once. I had to extract the google file and look for the 4 img files(bootloader, system, userdata, recovery) and flash them with toolkit manually and it fixed it, but it erased everything on my sd
I tried to load the file "occam-jdq39-factory-345dc199.tar" into my phone using the ADB sideload feature in the toolkit. I don't have the SDK installed hence I depended the tool again. But now the tool only loads .zip file and not .tar as the one that i downloaded. Am I doing it right?
aghilvr said:
I tried to load the file "occam-jdq39-factory-345dc199.tar" into my phone using the ADB sideload feature in the toolkit. I don't have the SDK installed hence I depended the tool again. But now the tool only loads .zip file and not .tar as the one that i downloaded. Am I doing it right?
Click to expand...
Click to collapse
K if you have a custom recovery installed, there isnt much you need to do to fix the issue.
First setup adb/fastboot by reading this
Then boot the phone into recovery, and plug it into the computer. Open a new command prompt window and use adb like this:
Code:
adb push \path\to\rom.zip /sdcard
Then you can unplug the phone. From recovery go to the install menu, find the rom that you just pushed, and flash it.
chromium96 said:
K if you have a custom recovery installed, there isnt much you need to do to fix the issue.
First setup adb/fastboot by reading this
Then boot the phone into recovery, and plug it into the computer. Open a new command prompt window and use adb like this:
Code:
adb push \path\to\rom.zip /sdcard
Then you can unplug the phone. From recovery go to the install menu, find the rom that you just pushed, and flash it.
Click to expand...
Click to collapse
Okay, installing the SDK. And the command saying "rom.zip", the file that I have is like "rom.tar". Does it matter? I downloaded the rom from here https://developers.google.com/android/nexus/images
aghilvr said:
Okay, installing the SDK. And the command saying "rom.zip", the file that I have is like "rom.tar". Does it matter? I downloaded the rom from here https://developers.google.com/android/nexus/images
Click to expand...
Click to collapse
No the tar wont work through recovery. You should download a rom from here or here.
If you want to flash the stock rom through recovery you can download it here.
chromium96 said:
No the tar wont work through recovery. You should download a rom from here or here.
If you want to flash the stock rom through recovery you can download it here.
Click to expand...
Click to collapse
Oh that's why it didn't work all the time
Thanks chromium :fingers-crossed:
Hey thanks guys, my device is back to normal. Chromium a special thanks for you for helping me out. See you guys with my next problem/queris!

[Q] Another bricked device. Please help!

Hi! I bought the new Nexus for myself today, and decided to unroot and reset my old one to factory image to give to my young kids.
The situation right now is that I have no OS so I can't enable USB debugging to sideload anything. I can get into TWRP, but ADB sideload fails.
Any ideas?
Any help would be greatly appreciated.
Thanks!
StrangerWeather said:
Hi! I bought the new Nexus for myself today, and decided to unroot and reset my old one to factory image to give to my young kids.
The situation right now is that I have no OS so I can't enable USB debugging to sideload anything. I can get into TWRP, but ADB sideload fails.
Any ideas?
Any help would be greatly appreciated.
Thanks!
Click to expand...
Click to collapse
Without an OS you are going to need to flash either a rom or stock image. Fastboot & adb pushed from PC should work. If you have a zip of a rom on file on your device you can flash that from TWRP. Really don't think push from PC would work without USB debugging turned on though. Does your PC see your device for file transfer? If so you could download a zip file of a rom to your PC & transfer to device then TWRP to flash it. Don't know if USB debugging can be enabled remotely somehow. You have no Nandroids? Can't factory reset?
Sorry, guess I wasn't much help
Sent from my Hyperdriven Dev Edition Vzw SCH-I545 with KT kernel using Tapatalk 4
wtherrell said:
Without an OS you are going to need to flash either a rom or stock image. Fastboot & adb pushed from PC should work. If you have a zip of a rom on file on your device you can flash that from TWRP. Really don't think push from PC would work without USB debugging turned on though. Does your PC see your device for file transfer? If so you could download a zip file of a rom to your PC & transfer to device then TWRP to flash it. Don't know if USB debugging can be enabled remotely somehow. You have no Nandroids? Can't factory reset?
Sorry, guess I wasn't much help
Sent from my Hyperdriven Dev Edition Vzw SCH-I545 with KT kernel using Tapatalk 4
Click to expand...
Click to collapse
Thanks for your help, I have a nandroid on my pc but am not sure what to do with it. I am downloading a rom on my pc right now to try and push it onto my sd card.
Any more help welcome!
PS: Sorry, out of thanks for the day...
StrangerWeather said:
Thanks for your help, I have a nandroid on my pc but am not sure what to do with it. I am downloading a rom on my pc right now to try and push it onto my sd card.
Any more help welcome!
PS: Sorry, out of thanks for the day...
Click to expand...
Click to collapse
Thanks again, I managed to fastboot flash all the images. So it's now all working and good as new!:good:
FYI. USB debugging only applies to a running os. All custom recoveries have adb daemon running allowing you to use adb commands while in recovery.
USB debugging DOES NOT APPLY nor is it necessary while in fast boot or custom recovery.

[Q] Tried to update ATT G2 booted into TWRP, unable leave TWRP or go to Download mode

When I got my ATT G2 I rooted it, and installed TWRP custom Recovery. A week ago I got a system update notification, without thinking I updated the phone. It rebooted into TWRP recovery, and all I can do is navigate around the Recovery. I factory restored my phone, so I don't have SU, and I can't enter download mode. Any ideas on how I can fix my phone, or go about getting it replace?
SpectralFlames said:
When I got my ATT G2 I rooted it, and installed TWRP custom Recovery. A week ago I got a system update notification, without thinking I updated the phone. It rebooted into TWRP recovery, and all I can do is navigate around the Recovery. I factory restored my phone, so I don't have SU, and I can't enter download mode. Any ideas on how I can fix my phone, or go about getting it replace?
Click to expand...
Click to collapse
You could try pushing a rom to twrp from adb if your PC doesn't recognize try Koush universal drivers to make it recognize
RubbleTea said:
You could try pushing a rom to twrp from adb if your PC doesn't recognize try Koush universal drivers to make it recognize
Click to expand...
Click to collapse
Could you give me instructinos on how I would do that?
I was having the same issue after accidentally installing an update on my VZW G2. I tried evey solution for 9 hours with no luck including the Koush universal drivers. The only way I could get the phone to be recognized by any computer was to use ubuntu. Once I had the JDK and SDK installed I ran the commands from this tutorial - http://forum.xda-developers.com/showthread.php?t=2451696
I hope this helps someone out
if you dont have ubuntu installed on a computer you could always make a live cd and run it from that
CoryFNM said:
I was having the same issue after accidentally installing an update on my VZW G2. I tried evey solution for 9 hours with no luck including the Koush universal drivers. The only way I could get the phone to be recognized by any computer was to use ubuntu. Once I had the JDK and SDK installed I ran the commands from this tutorial - http://forum.xda-developers.com/showthread.php?t=2451696
I hope this helps someone out
if you dont have ubuntu installed on a computer you could always make a live cd and run it from that
Click to expand...
Click to collapse
MATE you saved my day...thanks so much....got the stock image back working again with the help of the command in the thread you where mentioning.
thanks once more.
best.
upage

[Q] Nexus stuck.

Hello.
I was suggested to clean install the ROM I have been using because of a problem.
I did a backup and then I formated the phone, with the ZIP file .
Now, I tried to flash stock through the Nexus Root Toolkit but It won't find the fastboot device although i'm in the fastboot state, so my phone is kinda stuck like that..
What can I do?
Help?
I tried everything, nothing works .
Do you have the drivers and the Android SKD installed?
Erovia said:
Do you have the drivers and the Android SKD installed?
Click to expand...
Click to collapse
Yes.
Thank you, I already fixed it.

Please help. Bricked. cant enter download mode after 4.4.2

I flashed Malladus stock 4.4.2 rom on my VS980 but wanted to try AOSP. I was watching tv when I was wiping everything to prepare the AOSP rom flash. I accidentally formatted internal storage and now I cant restore my backup file or flash any other rom i had stored on my phone or go into download mode. I think I really bricked my G2 this time. If anyone knows how to fix this please help me out thank you!
hi
http://forum.xda-developers.com/showthread.php?t=2432476 (pinned)
gl
On PhilZ you can use a usb drive to flash your rom... Or if you have a less functional recovery you can just use LGflash to restart from the start.. you are far from bricked dude..
whoamanwtf said:
On PhilZ you can use a usb drive to flash your rom... Or if you have a less functional recovery you can just use LGflash to restart from the start.. you are far from bricked dude..[/QU
I have TWRP 2.7.0.0. Which is the only screen i can boot into at this point. I do have the LG Flash tool installed on my pc that i have used before to get out of trouble. But since i flashed the 24a bootstack and rom, now i cant get into download mode so the the flash tool does not recognize my phone. is there a different method to go about it using the lf flash tool? There is a file that i should have flashed that allows me to get back my download mode after flashing 24a bootstack, but i never flashed it and now my whole storage is wiped. I appreciate your help.
Click to expand...
Click to collapse
fmrtz said:
whoamanwtf said:
On PhilZ you can use a usb drive to flash your rom... Or if you have a less functional recovery you can just use LGflash to restart from the start.. you are far from bricked dude..[/QU
I have TWRP 2.7.0.0. Which is the only screen i can boot into at this point. I do have the LG Flash tool installed on my pc that i have used before to get out of trouble. But since i flashed the 24a bootstack and rom, now i cant get into download mode so the the flash tool does not recognize my phone. is there a different method to go about it using the lf flash tool? There is a file that i should have flashed that allows me to get back my download mode after flashing 24a bootstack, but i never flashed it and now my whole storage is wiped. I appreciate your help.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2582142
Click to expand...
Click to collapse
x10tom said:
hi
http://forum.xda-developers.com/showthread.php?t=2432476 (pinned)
gl
Click to expand...
Click to collapse
I read the thread but doesnt this require you to boot in to download mode? How else would you run this method. sorry if I missed something.
fmrtz said:
I read the thread but doesnt this require you to boot in to download mode? How else would you run this method. sorry if I missed something.
Click to expand...
Click to collapse
Why don't you sideload/push a rom and install it ?
bender_007 said:
Why don't you sideload/push a rom and install it ?
Click to expand...
Click to collapse
ok I am new to this sideload but did some research and managed to figure it out. But now when I type in adb sideload romiwanttointall.zip it tells me *cannot read the zip file. I tried doing it with an APK file and it sideloaded fine. just the zip files it says it cannot read. Any ideas of how i can get past this? thanks alot i wasnt even aware of this feature.
fmrtz said:
ok I am new to this sideload but did some research and managed to figure it out. But now when I type in adb sideload romiwanttointall.zip it tells me *cannot read the zip file. I tried doing it with an APK file and it sideloaded fine. just the zip files it says it cannot read. Any ideas of how i can get past this? thanks alot i wasnt even aware of this feature.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2747964
try with this
fmrtz said:
whoamanwtf said:
On PhilZ you can use a usb drive to flash your rom... Or if you have a less functional recovery you can just use LGflash to restart from the start.. you are far from bricked dude..[/QU
I have TWRP 2.7.0.0. Which is the only screen i can boot into at this point. I do have the LG Flash tool installed on my pc that i have used before to get out of trouble. But since i flashed the 24a bootstack and rom, now i cant get into download mode so the the flash tool does not recognize my phone. is there a different method to go about it using the lf flash tool? There is a file that i should have flashed that allows me to get back my download mode after flashing 24a bootstack, but i never flashed it and now my whole storage is wiped. I appreciate your help.
Click to expand...
Click to collapse
TWRP + ADB SIDELOAD
http://forum.xda-developers.com/showthread.php?t=2746585
Click to expand...
Click to collapse
x10tom said:
fmrtz said:
TWRP + ADB SIDELOAD
http://forum.xda-developers.com/showthread.php?t=2746585
Click to expand...
Click to collapse
I installed the SDK and everything is showing up correctly such as when i type adb device it shows sideload. but once i enter "adb sideload malladus-vs980-2.0.2.zip" it says *cannot read malladus-vs980-2.0.2.zip*. Im stuck on this step. Tried sideloading the gapps package as well but get the same error. If I do an APK file it works fine.
Click to expand...
Click to collapse
fmrtz said:
x10tom said:
I installed the SDK and everything is showing up correctly such as when i type adb device it shows sideload. but once i enter "adb sideload malladus-vs980-2.0.2.zip" it says *cannot read malladus-vs980-2.0.2.zip*. Im stuck on this step. Tried sideloading the gapps package as well but get the same error. If I do an APK file it works fine.
Click to expand...
Click to collapse
did you select "adb sideload" in twrp
if not, then type "adb push malladus-vs980-2.0.2.zip /sdcard/malladus.zip"
Click to expand...
Click to collapse
bender_007 said:
fmrtz said:
did you select "adb sideload" in twrp
if not, then type "adb push malladus-vs980-2.0.2.zip /sdcard/malladus.zip"
Click to expand...
Click to collapse
Yes. adb sideload is running on the device. like I said, I sideloaded an APK just to see what would happen and it worked. Just when I push zip files it says cannot read
Click to expand...
Click to collapse
fmrtz said:
bender_007 said:
Yes. adb sideload is running on the device. like I said, I sideloaded an APK just to see what would happen and it worked. Just when I push zip files it says cannot read
Click to expand...
Click to collapse
try putting the rom.zip on c:\
then type adb push c:\rom.zip /sdcard/rom.zip
(turn off sideloading)
Click to expand...
Click to collapse

Categories

Resources